/** * Gmail Node - Version 2.2 * Discriminator: resource=label, operation=create */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV22LabelCreateParams = { resource: 'label'; operation: 'create'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Label Name */ name?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** The visibility of the label in the label list in the Gmail web interface * @default labelShow */ labelListVisibility?: 'labelHide' | 'labelShow' | 'labelShowIfUnread' | Expression; /** The visibility of messages with this label in the message list in the Gmail web interface * @default show */ messageListVisibility?: 'hide' | 'show' | Expression; }; }; export type GmailV22LabelCreateOutput = { id?: string; labelListVisibility?: string; messageListVisibility?: string; name?: string; }; export type GmailV22LabelCreateNode = { type: 'n8n-nodes-base.gmail'; version: 2.2; credentials?: Credentials; config: NodeConfig; output?: Items; };