/**
 * Gmail Node - Version 2
 * Discriminator: resource=message, operation=delete
 */


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

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

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

export type GmailV2MessageDeleteNode = {
  type: 'n8n-nodes-base.gmail';
  version: 2;
  credentials?: Credentials;
  config: NodeConfig<GmailV2MessageDeleteParams>;
  output?: Items<GmailV2MessageDeleteOutput>;
};