n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 862 B
text/typescript
/**
* Salesforce Node - Version 1
* Discriminator: resource=task, operation=delete
*/
interface Credentials {
salesforceOAuth2Api: CredentialReference;
salesforceJwtApi: CredentialReference;
}
/** Represents a business activity such as making a phone call or other to-do items. In the user interface, and records are collectively referred to as activities. */
export type SalesforceV1TaskDeleteParams = {
resource: 'task';
operation: 'delete';
/**
* OAuth Authorization Flow
* @default oAuth2
*/
authentication?: 'oAuth2' | 'jwt' | Expression<string>;
/**
* ID of task that needs to be fetched
*/
taskId?: string | Expression<string> | PlaceholderValue;
};
export type SalesforceV1TaskDeleteNode = {
type: 'n8n-nodes-base.salesforce';
version: 1;
credentials?: Credentials;
config: NodeConfig<SalesforceV1TaskDeleteParams>;
};