/** * Salesforce Node - Version 1 * Discriminator: resource=contact, operation=update */ interface Credentials { salesforceOAuth2Api: CredentialReference; salesforceJwtApi: CredentialReference; } /** Represents a contact, which is an individual associated with an account */ export type SalesforceV1ContactUpdateParams = { resource: 'contact'; operation: 'update'; /** * OAuth Authorization Flow * @default oAuth2 */ authentication?: 'oAuth2' | 'jwt' | Expression; /** * ID of contact that needs to be fetched */ contactId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** ID of the account that is the parent of this contact. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ acconuntId?: string | Expression; /** The name of the assistant */ assistantName?: string | Expression | PlaceholderValue; /** The telephone number of the assistant */ 'Assistant Phone'?: string | Expression | PlaceholderValue; /** The birth date of the contact */ birthdate?: string | Expression; /** 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; }>; }; /** The department of the contact */ department?: string | Expression | PlaceholderValue; /** A description of the contact. Label is Contact Description. Limit: 32 KB. */ description?: string | Expression | PlaceholderValue; /** Email address for the contact */ email?: string | Expression | PlaceholderValue; /** If bounce management is activated and an email sent to the contact bounces, the date and time the bounce occurred */ emailBouncedDate?: string | Expression; /** If bounce management is activated and an email sent to the contact bounces, the reason the bounce occurred */ emailBouncedReason?: string | Expression | PlaceholderValue; /** Fax number for the contact. Label is Business Fax. */ fax?: string | Expression | PlaceholderValue; /** First name of the contact. Maximum size is 40 characters. */ firstName?: string | Expression | PlaceholderValue; /** Home telephone number for the contact */ homePhone?: string | Expression | PlaceholderValue; /** References the ID of a contact in Data.com. If a contact has a value in this field, it means that a contact was imported as a contact from Data.com. */ jigsaw?: string | Expression | PlaceholderValue; /** Last name of the contact. Limited to 80 characters. */ lastName?: string | Expression | PlaceholderValue; /** Source from which the lead was obtained. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ leadSource?: string | Expression; /** Mailing City */ mailingCity?: string | Expression | PlaceholderValue; /** Mailing Country */ mailingCountry?: string | Expression | PlaceholderValue; /** Mailing State */ mailingState?: string | Expression | PlaceholderValue; /** Street address for mailing address */ mailingStreet?: string | Expression | PlaceholderValue; /** Mailing Postal Code */ mailingPostalCode?: string | Expression | PlaceholderValue; /** Contact’s mobile phone number */ mobilePhone?: string | Expression | PlaceholderValue; /** Other City */ otherCity?: string | Expression | PlaceholderValue; /** Other Country */ otherCountry?: string | Expression | PlaceholderValue; /** Telephone for alternate address */ otherPhone?: string | Expression | PlaceholderValue; /** Other Postal Code */ otherPostalCode?: string | Expression | PlaceholderValue; /** Other State */ otherState?: string | Expression | PlaceholderValue; /** Street for alternate address */ otherStreet?: string | Expression | PlaceholderValue; /** The owner of the contact. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ owner?: string | Expression; /** Phone number for the contact */ 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; /** Honorific abbreviation, word, or phrase to be used in front of name in greetings, such as Dr. or Mrs. */ salutation?: string | Expression | PlaceholderValue; /** Title of the contact such as CEO or Vice President */ title?: string | Expression | PlaceholderValue; }; }; export type SalesforceV1ContactUpdateOutput = { success?: boolean; }; export type SalesforceV1ContactUpdateNode = { type: 'n8n-nodes-base.salesforce'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };