(add-import-batch! client id records)
(authenticate config)
(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.
(build-state config)
(close-import-job! client id)
(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.
(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.
(create-import-job! client type operation)
(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.
(derive-host config)
(describe! client type)
(describe-action! client action)
Describes the action at the given path.
Describes the action at the given path.
(get-batch-results! client job-id batch-id)
(import! client type records)
(json-request method headers url params)
(limits! client)
(list! client type)
(list-actions! client path)
Lists actions that can be performed at the given path.
Lists actions that can be performed at the given path.
(objects! client)
(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
(request state method service url params)
(request! client method service url params)
Issue the given request using the given client
Issue the given request using the given client
(take-action! client action inputs)
(try-authentication state)
(try-to-find-latest-version state)
(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.
(versions url)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close