UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (27 loc) 709 B
/** * Gmail Node - Version 2.1 * Discriminator: resource=draft, operation=delete */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV21DraftDeleteParams = { resource: 'draft'; operation: 'delete'; authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>; /** * Draft ID */ messageId?: string | Expression<string> | PlaceholderValue; }; export type GmailV21DraftDeleteOutput = { success?: boolean; }; export type GmailV21DraftDeleteNode = { type: 'n8n-nodes-base.gmail'; version: 2.1; credentials?: Credentials; config: NodeConfig<GmailV21DraftDeleteParams>; output?: Items<GmailV21DraftDeleteOutput>; };