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