/** * Gmail Node - Version 2.2 * Discriminator: resource=thread, operation=untrash */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV22ThreadUntrashParams = { resource: 'thread'; operation: 'untrash'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * The ID of the thread you are operating on */ threadId?: string | Expression | PlaceholderValue; }; export type GmailV22ThreadUntrashNode = { type: 'n8n-nodes-base.gmail'; version: 2.2; credentials?: Credentials; config: NodeConfig; };