/** * Google Slides Node - Version 2 * Discriminator: resource=page, operation=getThumbnail */ interface Credentials { googleApi: CredentialReference; googleSlidesOAuth2Api: CredentialReference; } /** Get a thumbnail */ export type GoogleSlidesV2PageGetThumbnailParams = { resource: 'page'; operation: 'getThumbnail'; /** * Authentication * @default oAuth2 */ authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * ID of the presentation to retrieve. Found in the presentation URL: <code>https://docs.google.com/presentation/d/PRESENTATION_ID/edit</code> */ presentationId?: string | Expression | PlaceholderValue; /** * ID of the page object to retrieve */ pageObjectId?: string | Expression | PlaceholderValue; /** * Name of the binary property to which to write the data of the read page * @default false */ download?: boolean | Expression; /** * 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 | PlaceholderValue; }; export type GoogleSlidesV2PageGetThumbnailOutput = { contentUrl?: string; height?: number; width?: number; }; export type GoogleSlidesV2PageGetThumbnailNode = { type: 'n8n-nodes-base.googleSlides'; version: 2; credentials?: Credentials; config: NodeConfig; output?: Items; };