/** * ServiceNow Node - Version 1 * Discriminator: resource=attachment, operation=get */ interface Credentials { serviceNowOAuth2Api: CredentialReference; serviceNowBasicApi: CredentialReference; } /** Get an attachment */ export type ServiceNowV1AttachmentGetParams = { resource: 'attachment'; operation: 'get'; /** * Authentication method to use * @default oAuth2 */ authentication?: 'basicAuth' | 'oAuth2' | Expression; /** * Sys_id value of the attachment to delete */ attachmentId?: string | Expression | PlaceholderValue; /** * Download Attachments * @default false */ download?: boolean | Expression; /** * Field name where downloaded data will be placed * @displayOptions.show { download: [true] } * @default data */ outputField?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** An encoded query string used to filter the results * @hint All parameters are case-sensitive. Queries can contain more than one entry. <a href="https://developer.servicenow.com/dev.do#!/learn/learning-plans/quebec/servicenow_application_developer/app_store_learnv2_rest_quebec_more_about_query_parameters">More information</a>. */ queryFilter?: string | Expression | PlaceholderValue; }; }; export type ServiceNowV1AttachmentGetNode = { type: 'n8n-nodes-base.serviceNow'; version: 1; credentials?: Credentials; config: NodeConfig; };