UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

78 lines (73 loc) 1.9 kB
/** * Salesforce Node - Version 1 * Discriminator: resource=user, operation=getAll */ interface Credentials { salesforceOAuth2Api: CredentialReference; salesforceJwtApi: CredentialReference; } /** Represents a person, which is one user in system */ export type SalesforceV1UserGetAllParams = { resource: 'user'; operation: 'getAll'; /** * OAuth Authorization Flow * @default oAuth2 */ authentication?: 'oAuth2' | 'jwt' | Expression<string>; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression<boolean>; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression<number>; /** * 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 &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. */ field?: string | Expression<string>; /** Operation * @default equal */ operation?: '<' | '<=' | 'equal' | '>' | '>=' | Expression<string>; /** Value */ value?: string | Expression<string> | PlaceholderValue; }>; }; /** Fields to include separated by , */ fields?: string | Expression<string> | PlaceholderValue; }; }; export type SalesforceV1UserGetAllOutput = { attributes?: { type?: string; url?: string; }; Email?: string; Id?: string; Name?: string; }; export type SalesforceV1UserGetAllNode = { type: 'n8n-nodes-base.salesforce'; version: 1; credentials?: Credentials; config: NodeConfig<SalesforceV1UserGetAllParams>; output?: Items<SalesforceV1UserGetAllOutput>; };