n8n-nodes-base
Version:
Base nodes of n8n
27 lines (23 loc) • 602 B
text/typescript
/**
* Gmail Node - Version 1
* Discriminator: resource=message, operation=delete
*/
interface Credentials {
googleApi: CredentialReference;
gmailOAuth2: CredentialReference;
}
export type GmailV1MessageDeleteParams = {
resource: 'message';
operation: 'delete';
authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
* Message ID
*/
messageId?: string | Expression<string> | PlaceholderValue;
};
export type GmailV1MessageDeleteNode = {
type: 'n8n-nodes-base.gmail';
version: 1;
credentials?: Credentials;
config: NodeConfig<GmailV1MessageDeleteParams>;
};