/** * Gmail Node - Version 2.2 * Discriminator: resource=message, operation=removeLabels */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV22MessageRemoveLabelsParams = { resource: 'message'; operation: 'removeLabels'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Message ID */ messageId?: string | Expression | PlaceholderValue; /** * Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ labelIds?: string[]; }; export type GmailV22MessageRemoveLabelsOutput = { id?: string; labelIds?: Array; threadId?: string; }; export type GmailV22MessageRemoveLabelsNode = { type: 'n8n-nodes-base.gmail'; version: 2.2; credentials?: Credentials; config: NodeConfig; output?: Items; };