/** * Freshservice Node - Version 1 * Discriminator: resource=ticket, operation=getAll */ interface Credentials { freshserviceApi: CredentialReference; } /** Retrieve many agents */ export type FreshserviceV1TicketGetAllParams = { resource: 'ticket'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** ID of the agent to whom the tickets have been assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ agent_id?: string | Expression; /** ID of the group to which the tickets have 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; /** Priority * @default 1 */ priority?: 1 | 2 | 3 | 4 | Expression; /** Status * @default 2 */ status?: 2 | 3 | 4 | 5 | Expression; /** Date when the ticket was created */ created_at?: string | Expression; /** Date when the ticket is due to be resolved */ due_by?: string | Expression; }; }; export type FreshserviceV1TicketGetAllNode = { type: 'n8n-nodes-base.freshservice'; version: 1; credentials?: Credentials; config: NodeConfig; };