/** * Freshservice Node - Version 1 * Discriminator: resource=change, operation=create */ interface Credentials { freshserviceApi: CredentialReference; } /** Create an agent */ export type FreshserviceV1ChangeCreateParams = { resource: 'change'; operation: 'create'; /** * ID of the requester of the change. Choose from the list or specify an ID. You can also specify the ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ requesterId?: string | Expression; /** * Subject */ subject?: string | Expression | PlaceholderValue; /** * Planned Start Date */ plannedStartDate?: string | Expression; /** * Planned End Date */ plannedEndDate?: string | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** ID of the agent to whom the change is 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; /** Change Type * @default 1 */ change_type?: 1 | 2 | 3 | 4 | Expression; /** ID of the department requesting the change. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ department_id?: string | Expression; /** HTML supported */ description?: string | Expression | PlaceholderValue; /** ID of the agent group to which the change is 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; /** Risk * @default 1 */ risk?: 1 | 2 | 3 | 4 | Expression; /** Status * @default 1 */ status?: 1 | 2 | 3 | 4 | 5 | 6 | Expression; /** Subject */ subject?: string | Expression | PlaceholderValue; }; }; export type FreshserviceV1ChangeCreateNode = { type: 'n8n-nodes-base.freshservice'; version: 1; credentials?: Credentials; config: NodeConfig; };