/** * Freshservice Node - Version 1 * Discriminator: resource=department, operation=update */ interface Credentials { freshserviceApi: CredentialReference; } /** Update an agent */ export type FreshserviceV1DepartmentUpdateParams = { resource: 'department'; operation: 'update'; /** * ID of the department to update */ departmentId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Description */ description?: string | Expression | PlaceholderValue; /** Comma-separated email domains associated with the department */ domains?: string | Expression | PlaceholderValue; /** Name */ name?: string | Expression | PlaceholderValue; }; }; export type FreshserviceV1DepartmentUpdateNode = { type: 'n8n-nodes-base.freshservice'; version: 1; credentials?: Credentials; config: NodeConfig; };