n8n-nodes-base
Version:
Base nodes of n8n
27 lines (23 loc) • 634 B
text/typescript
/**
* Gmail Node - Version 2.2
* Discriminator: resource=thread, operation=delete
*/
interface Credentials {
googleApi: CredentialReference;
gmailOAuth2: CredentialReference;
}
export type GmailV22ThreadDeleteParams = {
resource: 'thread';
operation: 'delete';
authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
* The ID of the thread you are operating on
*/
threadId?: string | Expression<string> | PlaceholderValue;
};
export type GmailV22ThreadDeleteNode = {
type: 'n8n-nodes-base.gmail';
version: 2.2;
credentials?: Credentials;
config: NodeConfig<GmailV22ThreadDeleteParams>;
};