/** * Gmail Node - Version 2.2 * Discriminator: resource=message, operation=delete */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV22MessageDeleteParams = { resource: 'message'; operation: 'delete'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Message ID */ messageId?: string | Expression | PlaceholderValue; }; export type GmailV22MessageDeleteOutput = { success?: boolean; }; export type GmailV22MessageDeleteNode = { type: 'n8n-nodes-base.gmail'; version: 2.2; credentials?: Credentials; config: NodeConfig; output?: Items; };