UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

48 lines (44 loc) 1.38 kB
/** * Google Slides Node - Version 1 * Discriminator: resource=page, operation=getThumbnail */ interface Credentials { googleApi: CredentialReference; googleSlidesOAuth2Api: CredentialReference; } /** Get a thumbnail */ export type GoogleSlidesV1PageGetThumbnailParams = { resource: 'page'; operation: 'getThumbnail'; /** * Authentication * @default serviceAccount */ authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>; /** * ID of the presentation to retrieve. Found in the presentation URL: &lt;code&gt;https://docs.google.com/presentation/d/PRESENTATION_ID/edit&lt;/code&gt; */ presentationId?: string | Expression<string> | PlaceholderValue; /** * ID of the page object to retrieve */ pageObjectId?: string | Expression<string> | PlaceholderValue; /** * Name of the binary property to which to write the data of the read page * @default false */ download?: boolean | Expression<boolean>; /** * Put Output File in Field * @hint The name of the output binary field to put the file in * @displayOptions.show { download: [true] } * @default data */ binaryProperty?: string | Expression<string> | PlaceholderValue; }; export type GoogleSlidesV1PageGetThumbnailNode = { type: 'n8n-nodes-base.googleSlides'; version: 1; credentials?: Credentials; config: NodeConfig<GoogleSlidesV1PageGetThumbnailParams>; };