/** * Gmail Node - Version 1 * Discriminator: resource=label, operation=create */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV1LabelCreateParams = { resource: 'label'; operation: 'create'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Label Name */ name?: string | Expression | PlaceholderValue; /** * 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 GmailV1LabelCreateNode = { type: 'n8n-nodes-base.gmail'; version: 1; credentials?: Credentials; config: NodeConfig; };