/** * Freshservice Node - Version 1 * Discriminator: resource=ticket, operation=update */ interface Credentials { freshserviceApi: CredentialReference; } /** Update an agent */ export type FreshserviceV1TicketUpdateParams = { resource: 'ticket'; operation: 'update'; /** * ID of the ticket to update */ ticketId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** ID of the department to which this ticket has been assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ department_id?: string | Expression; /** HTML supported */ description?: string | Expression | PlaceholderValue; /** Email address of the ticket author */ email?: string | Expression | PlaceholderValue; /** ID of the group to which the ticket has been assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ group_id?: string | Expression; /** Impact * @default 1 */ impact?: 1 | 2 | 3 | Expression; /** Name of the ticket author */ name?: string | Expression | PlaceholderValue; /** Phone */ phone?: string | Expression | PlaceholderValue; /** Priority of the ticket * @default 1 */ priority?: 1 | 2 | 3 | 4 | Expression; /** Status * @default 2 */ status?: 2 | 3 | 4 | 5 | Expression; /** Subject */ subject?: string | Expression | PlaceholderValue; }; }; export type FreshserviceV1TicketUpdateNode = { type: 'n8n-nodes-base.freshservice'; version: 1; credentials?: Credentials; config: NodeConfig; };