/** * Google Slides Node - Version 1 * Discriminator: resource=presentation, operation=replaceText */ interface Credentials { googleApi: CredentialReference; googleSlidesOAuth2Api: CredentialReference; } /** Replace text in a presentation */ export type GoogleSlidesV1PresentationReplaceTextParams = { resource: 'presentation'; operation: 'replaceText'; /** * Authentication * @default serviceAccount */ 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; /** * Texts To Replace * @default {} */ textUi?: { /** Text */ textValues?: Array<{ /** Whether the search should respect case. True : the search is case sensitive. False : the search is case insensitive. * @default false */ matchCase?: boolean | Expression; /** If non-empty, limits the matches to slide elements only on the given slides. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ pageObjectIds?: string[]; /** The text to search for in the slide */ text?: string | Expression | PlaceholderValue; /** The text that will replace the matched text */ replaceText?: string | Expression | PlaceholderValue; }>; }; /** * Options * @default {} */ options?: { /** The revision ID of the presentation required for the write request. If specified and the requiredRevisionId doesn't exactly match the presentation's current revisionId, the request will not be processed and will return a 400 bad request error. */ revisionId?: string | Expression | PlaceholderValue; }; }; export type GoogleSlidesV1PresentationReplaceTextNode = { type: 'n8n-nodes-base.googleSlides'; version: 1; credentials?: Credentials; config: NodeConfig; };