/** * Freshservice Node - Version 1 * Discriminator: resource=ticket, operation=create */ interface Credentials { freshserviceApi: CredentialReference; } /** Create an agent */ export type FreshserviceV1TicketCreateParams = { resource: 'ticket'; operation: 'create'; /** * Email address of the ticket author */ email?: string | Expression | PlaceholderValue; /** * Subject */ subject?: string | Expression | PlaceholderValue; /** * HTML supported */ description?: string | Expression | PlaceholderValue; /** * Priority * @default 1 */ priority?: 1 | 2 | 3 | 4 | Expression; /** * Status * @default 2 */ status?: 2 | 3 | 4 | 5 | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Comma-separated email addresses to add in the CC field of the ticket email */ cc_emails?: string | Expression | PlaceholderValue; /** ID of the department to which this ticket belongs. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ department_id?: string | Expression; /** 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; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ requester_id?: string | Expression; }; }; export type FreshserviceV1TicketCreateNode = { type: 'n8n-nodes-base.freshservice'; version: 1; credentials?: Credentials; config: NodeConfig; };