/** * Zammad Node - Version 1 * Discriminator: resource=ticket, operation=create */ interface Credentials { zammadBasicAuthApi: CredentialReference; zammadTokenAuthApi: CredentialReference; } /** Create a group */ export type ZammadV1TicketCreateParams = { resource: 'ticket'; operation: 'create'; authentication?: 'basicAuth' | 'tokenAuth' | Expression; /** * Title of the ticket to create */ title?: string | Expression | PlaceholderValue; /** * Group that will own the ticket to create. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ group?: string | Expression; /** * Email address of the customer concerned in the ticket to create. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ customer?: string | Expression; /** * Article * @default {} */ article?: { /** Article Details */ articleDetails?: { /** Subject */ subject?: string | Expression | PlaceholderValue; /** Body */ body?: string | Expression | PlaceholderValue; /** Visibility * @default internal */ visibility?: 'external' | 'internal' | Expression; /** Sender * @default Agent */ sender?: 'Agent' | 'Customer' | 'System' | Expression; /** Article Type * @default note */ type?: 'chat' | 'email' | 'fax' | 'note' | 'phone' | 'sms' | Expression; /** Reply To */ reply_to?: string | Expression | PlaceholderValue; }; }; /** * Additional Fields * @default {} */ additionalFields?: { /** 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 ZammadV1TicketCreateNode = { type: 'n8n-nodes-base.zammad'; version: 1; credentials?: Credentials; config: NodeConfig; };