n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 743 B
text/typescript
/**
* Google Books Node - Version 2
* Discriminator: resource=volume, operation=get
*/
interface Credentials {
googleApi: CredentialReference;
googleBooksOAuth2Api: CredentialReference;
}
/** Retrieve a specific bookshelf resource for the specified user */
export type GoogleBooksV2VolumeGetParams = {
resource: 'volume';
operation: 'get';
/**
* Authentication
* @default oAuth2
*/
authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
* ID of the volume
*/
volumeId?: string | Expression<string> | PlaceholderValue;
};
export type GoogleBooksV2VolumeGetNode = {
type: 'n8n-nodes-base.googleBooks';
version: 2;
credentials?: Credentials;
config: NodeConfig<GoogleBooksV2VolumeGetParams>;
};