/** * Gmail Node - Version 1 * Discriminator: resource=messageLabel, operation=remove */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV1MessageLabelRemoveParams = { resource: 'messageLabel'; operation: 'remove'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Message ID */ messageId?: string | Expression | PlaceholderValue; /** * The ID of the label. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ labelIds?: string[]; }; export type GmailV1MessageLabelRemoveNode = { type: 'n8n-nodes-base.gmail'; version: 1; credentials?: Credentials; config: NodeConfig; };