/** * Gmail Node - Version 2.1 * Discriminator: resource=label, operation=get */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV21LabelGetParams = { resource: 'label'; operation: 'get'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * The ID of the label */ labelId?: string | Expression | PlaceholderValue; }; export type GmailV21LabelGetOutput = { id?: string; labelListVisibility?: string; messageListVisibility?: string; messagesTotal?: number; messagesUnread?: number; name?: string; threadsTotal?: number; threadsUnread?: number; type?: string; }; export type GmailV21LabelGetNode = { type: 'n8n-nodes-base.gmail'; version: 2.1; credentials?: Credentials; config: NodeConfig; output?: Items; };