UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

34 lines (30 loc) 786 B
/** * Gmail Node - Version 1 * Discriminator: resource=label, operation=getAll */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV1LabelGetAllParams = { resource: 'label'; operation: 'getAll'; authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression<boolean>; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression<number>; }; export type GmailV1LabelGetAllNode = { type: 'n8n-nodes-base.gmail'; version: 1; credentials?: Credentials; config: NodeConfig<GmailV1LabelGetAllParams>; };