Private ReadonlyconnectionReadonlydeployPrivate ReadonlyfsPrivate ReadonlyloggerReadonlylogsReadonlylookupPrivate ReadonlynamespaceReadonlyprofilesPrivate ReadonlyqueryReadonlyschemaCompiles the specified class bodies on the server
APEX classes to compile
Delete one or more records by ID
list of IDs
Delete one or more records based on a SOQL filter condition. Returns array of deleted record-ids
SObject type to delete
Optionalfilter: string | object | (string | object)[]Object filter or where-conditional selecting the records to delete
Number of records to delete in a single call
Executes the specified APEX using the SOAP API and returns the result.
APEX code to execute
Optionaloptions: { logLevels?: SoapDebuggingHeader; updateNamespace?: boolean }OptionallogLevels?: SoapDebuggingHeaderOptional debug log levels to use
OptionalupdateNamespace?: booleanReplace namespace placeholders with the actual namespace
Get the version of the current Salesforce connection
Get a list of available API version on the connected server
Gets basic details about the user for the current connection
Get the content of the specified content version object based on the content version Id
Content Version object Id
Get metadata info about any file; returns metadata type and name or undefined if the specified type is not a Metadata source.
Source file path
Get metadata info about any file; returns metadata type and name or undefined if the specified type is not a Metadata source.
When the metadata type is a known metadata type return the type.
Get the list of supported metadata types for the current organization merged with static metadata from the SFDX registry
PrivategetInsert one or more records into Salesforce; by default uses the standard collections api but switches to bulk API when there are more then 50 records to be inserted.
Record types to insert
record data and references
OptionalcancelToken: CancellationTokenoptional cancellation token
Get all static resources matching the specified name, the body of the resource is retrieved when required. The body of the static resource is cached
Name of the static resource
Optionalfilter: { contentType?: string; namespace?: string }Load all known Salesforce profiles in the current workspace with the *.profile-meta.xml and the *.profile extension from the file system
Query multiple records based on the where condition. The filter condition can either be a string or a complex filter object.
Returns a list of records. All records are mapped to record proxy object
SOQL Query to execute
OptionaluseCache: booleanName of the APEX page which exposes the requested class/controller
Name of the class including namespace when a namespace is required
Name of the method to call on the controller
Data to pass to the controller
PrivatesoapOptionaldebuggingHeader: SoapDebuggingHeaderUpdate one or more records in Salesforce using the ID field as foreign key; by default uses the standard collections api but switches to bulk API when there.
Record types to updated; all data should have an ID field
record data and references
Optionaloptions: Partial<{ bulkApiThreshold: number; chunkSize: number; useBulkApi: boolean }> & {Optional record batch options
Optional cancellation token
OptionalcancelToken?: CancellationTokenOptional cancellation token
Updates the namespace used for Salesforce operations.
The new namespace value to set
A promise that resolves when the namespace has been updated
This interface describes objects that can provide JSForce connections, it provides some abstraction from whom the class that providing the connection which is usefull