/**
 * 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<string>;
/**
 * Label Name
 */
    name?: string | Expression<string> | PlaceholderValue;
/**
 * The visibility of the label in the label list in the Gmail web interface
 * @default labelShow
 */
    labelListVisibility?: 'labelHide' | 'labelShow' | 'labelShowIfUnread' | Expression<string>;
/**
 * The visibility of messages with this label in the message list in the Gmail web interface
 * @default show
 */
    messageListVisibility?: 'hide' | 'show' | Expression<string>;
};

export type GmailV1LabelCreateNode = {
  type: 'n8n-nodes-base.gmail';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<GmailV1LabelCreateParams>;
};