/** * Salesforce Node - Version 1 * Discriminator: resource=customObject, operation=update */ interface Credentials { salesforceOAuth2Api: CredentialReference; salesforceJwtApi: CredentialReference; } /** Represents a custom object */ export type SalesforceV1CustomObjectUpdateParams = { resource: 'customObject'; operation: 'update'; /** * OAuth Authorization Flow * @default oAuth2 */ authentication?: 'oAuth2' | 'jwt' | Expression; /** * Name of the custom object. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ customObject?: string | Expression; /** * Record ID to be updated */ recordId?: string | Expression | PlaceholderValue; /** * Filter by custom fields * @default {} */ customFieldsUi?: { /** Custom Field */ customFieldsValues?: Array<{ /** The ID of the field. 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; }>; }; /** * Update Fields * @default {} */ updateFields?: { /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ recordTypeId?: string | Expression; }; }; export type SalesforceV1CustomObjectUpdateOutput = { success?: boolean; }; export type SalesforceV1CustomObjectUpdateNode = { type: 'n8n-nodes-base.salesforce'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };