n8n-nodes-base
Version:
Base nodes of n8n
43 lines (39 loc) • 1.2 kB
text/typescript
/**
* Google Slides Node - Version 1
* Discriminator: resource=presentation, operation=getSlides
*/
interface Credentials {
googleApi: CredentialReference;
googleSlidesOAuth2Api: CredentialReference;
}
/** Get presentation slides */
export type GoogleSlidesV1PresentationGetSlidesParams = {
resource: 'presentation';
operation: 'getSlides';
/**
* Authentication
* @default serviceAccount
*/
authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
* 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<string> | PlaceholderValue;
/**
* Whether to return all results or only up to a given limit
* @default false
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 100
*/
limit?: number | Expression<number>;
};
export type GoogleSlidesV1PresentationGetSlidesNode = {
type: 'n8n-nodes-base.googleSlides';
version: 1;
credentials?: Credentials;
config: NodeConfig<GoogleSlidesV1PresentationGetSlidesParams>;
};