/** * Freshservice Node - Version 1 * Discriminator: resource=agentGroup, operation=create */ interface Credentials { freshserviceApi: CredentialReference; } /** Create an agent */ export type FreshserviceV1AgentGroupCreateParams = { resource: 'agentGroup'; operation: 'create'; /** * Name */ name?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Description */ description?: string | Expression | PlaceholderValue; /** ID of the user to whom an escalation email is sent if a ticket in this group is unassigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ escalate_to?: string | Expression; /** Comma-separated IDs of agents who are members of this group. Choose from the list or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ members?: string[]; /** Comma-separated agent IDs who are observers of this group. Choose from the list or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ observers?: string[]; /** Time after which an escalation email is sent if a ticket in the group remains unassigned * @default 30m */ unassigned_for?: '1d' | '1h' | '12h' | '2d' | '2h' | '3d' | '30m' | '8h' | Expression; }; }; export type FreshserviceV1AgentGroupCreateNode = { type: 'n8n-nodes-base.freshservice'; version: 1; credentials?: Credentials; config: NodeConfig; };