/** * Salesforce Node - Version 1 * Discriminator: resource=task, operation=getAll */ 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 SalesforceV1TaskGetAllParams = { resource: 'task'; operation: 'getAll'; /** * OAuth Authorization Flow * @default oAuth2 */ authentication?: 'oAuth2' | 'jwt' | Expression; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; /** * Options * @default {} */ options?: { /** The condition to set * @default {} */ conditionsUi?: { /** Condition */ conditionValues?: Array<{ /** For date, number, or boolean, please use expressions. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ field?: string | Expression; /** Operation * @default equal */ operation?: '<' | '<=' | 'equal' | '>' | '>=' | Expression; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; /** Fields to include separated by , */ fields?: string | Expression | PlaceholderValue; }; }; export type SalesforceV1TaskGetAllOutput = { attributes?: { type?: string; url?: string; }; Id?: string; }; export type SalesforceV1TaskGetAllNode = { type: 'n8n-nodes-base.salesforce'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };