/** * Freshdesk Node - Version 1 * Discriminator: resource=contact, operation=update */ interface Credentials { freshdeskApi: CredentialReference; } /** Update a ticket */ export type FreshdeskV1ContactUpdateParams = { resource: 'contact'; operation: 'update'; /** * Contact ID */ contactId?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Address of the contact */ address?: string | Expression | PlaceholderValue; /** ID of the primary company to which this contact belongs */ company_id?: number | Expression; /** Key value pairs containing the name and value of the custom field. Only dates in the format YYYY-MM-DD are accepted as input for custom date fields. * @default [] */ customFields?: { /** Custom Field */ customField?: Array<{ /** Custom Field's name */ name?: string | Expression | PlaceholderValue; /** Custom Field's values */ value?: string | Expression | PlaceholderValue; }>; }; /** A small description of the contact */ description?: string | Expression | PlaceholderValue; /** Primary email address of the contact. If you want to associate additional email(s) with this contact, use the other_emails attribute. */ email?: string | Expression | PlaceholderValue; /** Job title of the contact */ job_title?: string | Expression | PlaceholderValue; /** Language of the contact. Default language is "en". This attribute can only be set if the Multiple Language feature is enabled (Garden plan and above). */ language?: string | Expression | PlaceholderValue; /** Mobile number of the contact */ mobile?: string | Expression | PlaceholderValue; /** Name of the contact */ name?: string | Expression | PlaceholderValue; /** Additional companies associated with the contact. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above). * @default [] */ other_companies?: string | Expression | PlaceholderValue; /** Additional emails associated with the contact * @default [] */ other_emails?: string | Expression | PlaceholderValue; /** Telephone number of the contact */ phone?: string | Expression | PlaceholderValue; /** Tags associated with this contact * @default [] */ tags?: string | Expression | PlaceholderValue; /** Time zone of the contact. Default value is the time zone of the domain. This attribute can only be set if the Multiple Time Zone feature is enabled (Garden plan and above). */ time_zone?: string | Expression | PlaceholderValue; /** Twitter handle of the contact */ twitter_id?: string | Expression | PlaceholderValue; /** External ID of the contact */ unique_external_id?: string | Expression | PlaceholderValue; /** Whether the contact can see all the tickets that are associated with the company to which they belong * @default false */ view_all_tickets?: boolean | Expression; }; }; export type FreshdeskV1ContactUpdateNode = { type: 'n8n-nodes-base.freshdesk'; version: 1; credentials?: Credentials; config: NodeConfig; };