/** * Salesforce Node - Version 1 * Discriminator: resource=account, operation=create */ interface Credentials { salesforceOAuth2Api: CredentialReference; salesforceJwtApi: CredentialReference; } /** Represents an individual account, which is an organization or person involved with your business (such as customers, competitors, and partners) */ export type SalesforceV1AccountCreateParams = { resource: 'account'; operation: 'create'; /** * OAuth Authorization Flow * @default oAuth2 */ authentication?: 'oAuth2' | 'jwt' | Expression; /** * Name of the account. Maximum size is 255 characters. */ name?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Account number assigned to this account (not the unique ID). Maximum size is 40 characters. */ accountNumber?: string | Expression | PlaceholderValue; /** Estimated annual revenue of the account */ annualRevenue?: number | Expression; /** The source of the account record. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ accountSource?: string | Expression; /** Details for the billing address of this account. Maximum size is 40 characters. */ billingCity?: string | Expression | PlaceholderValue; /** Details for the billing address of this account. Maximum size is 80 characters. */ billingCountry?: string | Expression | PlaceholderValue; /** Details for the billing address of this account. Maximum size is 20 characters. */ billingPostalCode?: string | Expression | PlaceholderValue; /** Details for the billing address of this account. Maximum size is 80 characters. */ billingState?: string | Expression | PlaceholderValue; /** Street address for the billing address of this account */ billingStreet?: string | Expression | PlaceholderValue; /** Filter by custom fields * @default {} */ customFieldsUi?: { /** Custom Field */ customFieldsValues?: Array<{ /** The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ fieldId?: string | Expression; /** The value to set on custom field */ value?: string | Expression | PlaceholderValue; }>; }; /** Text description of the account. Limited to 32,000 KB. */ description?: string | Expression | PlaceholderValue; /** Fax number for the account */ fax?: string | Expression | PlaceholderValue; /** References the ID of a company in Data.com */ jigsaw?: string | Expression | PlaceholderValue; /** The website of this account. Maximum of 255 characters. */ industry?: string | Expression | PlaceholderValue; /** Number Of Employees */ numberOfEmployees?: number | Expression; /** The owner of the account. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ owner?: string | Expression; /** ID of the parent object, if any */ parentId?: string | Expression | PlaceholderValue; /** Phone number for the account */ phone?: string | Expression | PlaceholderValue; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ recordTypeId?: string | Expression; /** A brief description of an organization’s line of business, based on its SIC code */ sicDesc?: string | Expression | PlaceholderValue; /** Type of account. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ type?: string | Expression; /** Details of the shipping address for this account. City maximum size is 40 characters. */ shippingCity?: string | Expression | PlaceholderValue; /** Details of the shipping address for this account. Country maximum size is 80 characters. */ shippingCountry?: string | Expression | PlaceholderValue; /** Details of the shipping address for this account. Postal code maximum size is 20 characters. */ shippingPostalCode?: string | Expression | PlaceholderValue; /** Details of the shipping address for this account. State maximum size is 80 characters. */ shippingState?: string | Expression | PlaceholderValue; /** The street address of the shipping address for this account. Maximum of 255 characters. */ shippingStreet?: string | Expression | PlaceholderValue; /** The website of this account. Maximum of 255 characters. */ website?: string | Expression | PlaceholderValue; }; }; export type SalesforceV1AccountCreateOutput = { id?: string; success?: boolean; }; export type SalesforceV1AccountCreateNode = { type: 'n8n-nodes-base.salesforce'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };