n8n-nodes-base
Version:
Base nodes of n8n
43 lines (39 loc) • 1.05 kB
text/typescript
/**
* Google Books Node - Version 2
* Discriminator: resource=volume, operation=getAll
*/
interface Credentials {
googleApi: CredentialReference;
googleBooksOAuth2Api: CredentialReference;
}
/** Get many public bookshelf resource for the specified user */
export type GoogleBooksV2VolumeGetAllParams = {
resource: 'volume';
operation: 'getAll';
/**
* Authentication
* @default oAuth2
*/
authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
* Full-text search query string
*/
searchQuery?: 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 GoogleBooksV2VolumeGetAllNode = {
type: 'n8n-nodes-base.googleBooks';
version: 2;
credentials?: Credentials;
config: NodeConfig<GoogleBooksV2VolumeGetAllParams>;
};