/** * Zammad Node - Version 1 * Discriminator: resource=ticket, operation=update */ interface Credentials { zammadBasicAuthApi: CredentialReference; zammadTokenAuthApi: CredentialReference; } /** Update a group */ export type ZammadV1TicketUpdateParams = { resource: 'ticket'; operation: 'update'; authentication?: 'basicAuth' | 'tokenAuth' | Expression; /** * Ticket to update. Specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ id?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Title of the ticket */ title?: string | Expression | PlaceholderValue; /** Group that will own the ticket. Choose from the list, or specify a name using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ group?: string | Expression; /** State of the ticket. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ state_id?: string | Expression; /** Date and time when the pending ticket should be activated (required for pending reminder, pending close, and snooze states) */ pending_time?: string | Expression; /** Priority of the ticket. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ priority_id?: string | Expression; /** Agent responsible for the ticket. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ owner_id?: string | Expression; /** Customer associated with the ticket. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ customer_id?: string | Expression; /** Internal note for the ticket */ note?: string | Expression | PlaceholderValue; /** Custom Fields * @default {} */ customFieldsUi?: { /** Custom Field */ customFieldPairs?: Array<{ /** Internal name of the custom field to set. Choose from the list, or specify a name using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ name?: string | Expression; /** Value to set on the custom field */ value?: string | Expression | PlaceholderValue; }>; }; }; }; export type ZammadV1TicketUpdateNode = { type: 'n8n-nodes-base.zammad'; version: 1; credentials?: Credentials; config: NodeConfig; };