n8n-nodes-base
Version:
Base nodes of n8n
42 lines (38 loc) • 976 B
text/typescript
/**
* Google Books Node - Version 2
* Discriminator: resource=bookshelf, operation=get
*/
interface Credentials {
googleApi: CredentialReference;
googleBooksOAuth2Api: CredentialReference;
}
/** Retrieve a specific bookshelf resource for the specified user */
export type GoogleBooksV2BookshelfGetParams = {
resource: 'bookshelf';
operation: 'get';
/**
* Authentication
* @default oAuth2
*/
authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
* My Library
* @default false
*/
myLibrary?: boolean | Expression<boolean>;
/**
* ID of user
* @displayOptions.hide { myLibrary: [true] }
*/
userId?: string | Expression<string> | PlaceholderValue;
/**
* ID of the bookshelf
*/
shelfId?: string | Expression<string> | PlaceholderValue;
};
export type GoogleBooksV2BookshelfGetNode = {
type: 'n8n-nodes-base.googleBooks';
version: 2;
credentials?: Credentials;
config: NodeConfig<GoogleBooksV2BookshelfGetParams>;
};