UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

27 lines (23 loc) 590 B
/** * Gmail Node - Version 1 * Discriminator: resource=draft, operation=delete */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV1DraftDeleteParams = { resource: 'draft'; operation: 'delete'; authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>; /** * Draft ID */ messageId?: string | Expression<string> | PlaceholderValue; }; export type GmailV1DraftDeleteNode = { type: 'n8n-nodes-base.gmail'; version: 1; credentials?: Credentials; config: NodeConfig<GmailV1DraftDeleteParams>; };