UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

49 lines (45 loc) 1.18 kB
/** * Google Books Node - Version 1 * Discriminator: resource=bookshelf, operation=getAll */ interface Credentials { googleApi: CredentialReference; googleBooksOAuth2Api: CredentialReference; } /** Get many public bookshelf resource for the specified user */ export type GoogleBooksV1BookshelfGetAllParams = { resource: 'bookshelf'; operation: 'getAll'; /** * Authentication * @default serviceAccount */ authentication?: 'serviceAccount' | 'oAuth2' | Expression<string>; /** * My Library * @default false */ myLibrary?: boolean | Expression<boolean>; /** * ID of user * @displayOptions.hide { myLibrary: [true] } */ userId?: string | Expression<string> | PlaceholderValue; /** * 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 40 */ limit?: number | Expression<number>; }; export type GoogleBooksV1BookshelfGetAllNode = { type: 'n8n-nodes-base.googleBooks'; version: 1; credentials?: Credentials; config: NodeConfig<GoogleBooksV1BookshelfGetAllParams>; };