/**
 * 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>;
};