/**
 * Gmail Node - Version 2.2
 * Discriminator: resource=draft, operation=delete
 */


interface Credentials {
  googleApi: CredentialReference;
  gmailOAuth2: CredentialReference;
}

export type GmailV22DraftDeleteParams = {
  resource: 'draft';
  operation: 'delete';
  authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
 * Draft ID
 */
    messageId?: string | Expression<string> | PlaceholderValue;
};

export type GmailV22DraftDeleteOutput = {
  success?: boolean;
};

export type GmailV22DraftDeleteNode = {
  type: 'n8n-nodes-base.gmail';
  version: 2.2;
  credentials?: Credentials;
  config: NodeConfig<GmailV22DraftDeleteParams>;
  output?: Items<GmailV22DraftDeleteOutput>;
};