/** * Harvest Node - Version 1 * Discriminator: resource=contact, operation=update */ interface Credentials { harvestApi: CredentialReference; harvestOAuth2Api: CredentialReference; } /** Update a client */ export type HarvestV1ContactUpdateParams = { resource: 'contact'; operation: 'update'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ accountId?: string | Expression; /** * The ID of the contact want to update */ id?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** The ID of the client associated with this contact */ client_id?: string | Expression | PlaceholderValue; /** The contact’s email address */ email?: string | Expression | PlaceholderValue; /** The contact’s fax number */ fax?: string | Expression | PlaceholderValue; /** The first name of the contact */ first_name?: string | Expression | PlaceholderValue; /** The last name of the contact */ last_name?: string | Expression | PlaceholderValue; /** The contact’s mobile phone number */ phone_mobile?: string | Expression | PlaceholderValue; /** The contact’s office phone number */ phone_office?: string | Expression | PlaceholderValue; /** The title of the contact */ title?: string | Expression | PlaceholderValue; }; }; export type HarvestV1ContactUpdateNode = { type: 'n8n-nodes-base.harvest'; version: 1; credentials?: Credentials; config: NodeConfig; };