/** * ServiceNow Node - Version 1 * Discriminator: resource=incident, operation=update */ interface Credentials { serviceNowOAuth2Api: CredentialReference; serviceNowBasicApi: CredentialReference; } export type ServiceNowV1IncidentUpdateParams = { resource: 'incident'; operation: 'update'; /** * Authentication method to use * @default oAuth2 */ authentication?: 'basicAuth' | 'oAuth2' | Expression; /** * Unique identifier of the incident */ id?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Which user is the incident assigned to. Requires the selection of an assignment group. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ assigned_to?: string | Expression; /** The assignment group of the incident. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ assignment_group?: string | Expression; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ business_service?: string | Expression; /** The unique identifier of the caller of the incident */ caller_id?: string | Expression | PlaceholderValue; /** The category of the incident. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ category?: string | Expression; /** The close notes for the incident */ close_notes?: string | Expression | PlaceholderValue; /** Configuration Items, 'cmdb_ci' in metadata. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ cmdb_ci?: string[]; /** Contact Type */ contact_type?: 'email' | 'phone' | 'self-service' | 'walk-in' | Expression; /** The description of the incident */ description?: string | Expression | PlaceholderValue; /** The impact of the incident * @default 1 */ impact?: 3 | 2 | 1 | Expression; /** The resolution code of the incident. 'close_code' in metadata. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ close_code?: string | Expression; /** The on hold reason for the incident. It applies if the state is <code>On Hold</code>. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ hold_reason?: string | Expression; /** The state of the incident. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ state?: string | Expression; /** The subcategory of the incident. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ subcategory?: string | Expression; /** The urgency of the incident * @default 1 */ urgency?: 3 | 2 | 1 | Expression; /** Work notes for the incident */ work_notes?: string | Expression | PlaceholderValue; }; }; export type ServiceNowV1IncidentUpdateNode = { type: 'n8n-nodes-base.serviceNow'; version: 1; credentials?: Credentials; config: NodeConfig; };