n8n-nodes-base
Version:
Base nodes of n8n
36 lines (32 loc) • 957 B
text/typescript
/**
* Google Slides Node - Version 1
* Discriminator: resource=page, operation=get
*/
interface Credentials {
googleApi: CredentialReference;
googleSlidesOAuth2Api: CredentialReference;
}
/** Get a presentation */
export type GoogleSlidesV1PageGetParams = {
resource: 'page';
operation: 'get';
/**
* 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;
/**
* ID of the page object to retrieve
*/
pageObjectId?: string | Expression<string> | PlaceholderValue;
};
export type GoogleSlidesV1PageGetNode = {
type: 'n8n-nodes-base.googleSlides';
version: 1;
credentials?: Credentials;
config: NodeConfig<GoogleSlidesV1PageGetParams>;
};