Liking cljdoc? Tell your friends :D

sails-forth.http


add-import-batch!clj

(add-import-batch! client id records)

authenticateclj

(authenticate config)

build-client!clj

(build-client! config)

Creates a stateful Salesforce client from the given config. The client authenticates lazily and uses the latest Salesforce version if none is specified. If an authenticated request receives an invalid authentication response, the client will try to reauthenticate and retry the request.

The client may be used concurrently, but it may unnecessarily attempt to authenticate concurrently and may not update its internal request count correctly.

This fn explicitly makes no guarantees regarding the type of the client entity, other than it can be used with the user-facing fns in this ns.

Creates a stateful Salesforce client from the given config. The client
authenticates lazily and uses the latest Salesforce version if none is
specified. If an authenticated request receives an invalid authentication
response, the client will try to reauthenticate and retry the request.

The client may be used concurrently, but it may unnecessarily attempt
to authenticate concurrently and may not update its internal request count
correctly.

This fn explicitly makes no guarantees regarding the type of the client
entity, other than it can be used with the user-facing fns in this ns.
raw docstring

build-stateclj

(build-state config)

close-import-job!clj

(close-import-job! client id)

count!clj

(count! client query)

Executes the given query and returns the total number of results. This is intended for use with COUNT() queries.

Executes the given query and returns the total number of results.
This is intended for use with COUNT() queries.
raw docstring

create!clj

(create! client type attrs)

Creates an object of the given type and attrs using the given salesforce client. If salesforce responds successfully, this returns the object's id, otherwise this raises an exception.

Creates an object of the given type and attrs using the given salesforce
client. If salesforce responds successfully, this returns the object's id,
otherwise this raises an exception.
raw docstring

create-import-job!clj

(create-import-job! client type operation)

delete!clj

(delete! client type id)

Deletes the object of the given type with the given id. This returns true if it succeeds and raises an exception otherwise.

Deletes the object of the given type with the given id. This returns true
if it succeeds and raises an exception otherwise.
raw docstring

derive-hostclj

(derive-host config)

describe!clj

(describe! client type)

describe-action!clj

(describe-action! client action)

Describes the action at the given path.

Describes the action at the given path.
raw docstring

get-batch-results!clj

(get-batch-results! client job-id batch-id)

http-methodsclj


import!clj

(import! client type records)

import-poll-timeout-msclj


import-total-triesclj


json-requestclj

(json-request method headers url params)

limits!clj

(limits! client)

list!clj

(list! client type)

list-actions!clj

(list-actions! client path)

Lists actions that can be performed at the given path.

Lists actions that can be performed at the given path.
raw docstring

objects!clj

(objects! client)

query!clj

(query! client query)

Executes the given query and returns all results, eagerly fetching if there is pagination

Executes the given query and returns all results, eagerly fetching if there
is pagination
raw docstring

requestclj

(request state method service url params)

request!clj

(request! client method service url params)

Issue the given request using the given client

Issue the given request using the given client
raw docstring

take-action!clj

(take-action! client action inputs)

try-authenticationclj

(try-authentication state)

try-to-find-latest-versionclj

(try-to-find-latest-version state)

update!clj

(update! client type id attrs)

Updates the object of the given type with the given id. This returns true if it succeeds and raises an exception otherwise.

Updates the object of the given type with the given id. This returns true
if it succeeds and raises an exception otherwise.
raw docstring

versionsclj

(versions url)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close