/** * Gmail Node - Version 2.2 * Discriminator: resource=thread, operation=removeLabels */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV22ThreadRemoveLabelsParams = { resource: 'thread'; operation: 'removeLabels'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Thread ID */ threadId?: 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 GmailV22ThreadRemoveLabelsOutput = { id?: string; messages?: Array<{ id?: string; labelIds?: Array; threadId?: string; }>; }; export type GmailV22ThreadRemoveLabelsNode = { type: 'n8n-nodes-base.gmail'; version: 2.2; credentials?: Credentials; config: NodeConfig; output?: Items; };