UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

51 lines (47 loc) 1.4 kB
/** * ServiceNow Node - Version 1 * Discriminator: resource=incident, operation=get */ interface Credentials { serviceNowOAuth2Api: CredentialReference; serviceNowBasicApi: CredentialReference; } /** Get an attachment */ export type ServiceNowV1IncidentGetParams = { resource: 'incident'; operation: 'get'; /** * Authentication method to use * @default oAuth2 */ authentication?: 'basicAuth' | 'oAuth2' | Expression<string>; /** * Unique identifier of the incident */ id?: string | Expression<string> | PlaceholderValue; /** * Options * @default {} */ options?: { /** Whether to exclude Table API links for reference fields * @default false */ sysparm_exclude_reference_link?: boolean | Expression<boolean>; /** A list of fields to return. Choose from the list, or specify IDs using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. * @hint String of comma separated values or an array of strings can be set in an expression * @default [] */ sysparm_fields?: string[]; /** Choose which values to return * @default false */ sysparm_display_value?: 'false' | 'all' | 'true' | Expression<string>; }; }; export type ServiceNowV1IncidentGetNode = { type: 'n8n-nodes-base.serviceNow'; version: 1; credentials?: Credentials; config: NodeConfig<ServiceNowV1IncidentGetParams>; };