/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { GetPageThemeResponse, ListPageThemesResponse, PageThemesServiceUpdatePageThemeBody, UpdatePageThemeResponse } from '../models/index'; export interface PageThemesServiceGetPageThemeRequest { id: string; } export interface PageThemesServiceUpdatePageThemeRequest { id: string; pageThemesServiceUpdatePageThemeBody: PageThemesServiceUpdatePageThemeBody; } /** * PageThemesApi - interface * * @export * @interface PageThemesApiInterface */ export interface PageThemesApiInterface { /** * Creates request options for pageThemesServiceGetPageTheme without sending the request * @param {string} id Page theme ID to retrieve * @throws {RequiredError} * @memberof PageThemesApiInterface */ pageThemesServiceGetPageThemeRequestOpts(requestParameters: PageThemesServiceGetPageThemeRequest): Promise; /** * Retrieves a specific page theme by ID. * @summary Get a page theme * @param {string} id Page theme ID to retrieve * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PageThemesApiInterface */ pageThemesServiceGetPageThemeRaw(requestParameters: PageThemesServiceGetPageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves a specific page theme by ID. * Get a page theme */ pageThemesServiceGetPageTheme(requestParameters: PageThemesServiceGetPageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for pageThemesServiceListPageThemes without sending the request * @throws {RequiredError} * @memberof PageThemesApiInterface */ pageThemesServiceListPageThemesRequestOpts(): Promise; /** * Retrieves all page themes belonging to the caller\'s workspace. * @summary List page themes for the current workspace * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PageThemesApiInterface */ pageThemesServiceListPageThemesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves all page themes belonging to the caller\'s workspace. * List page themes for the current workspace */ pageThemesServiceListPageThemes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for pageThemesServiceUpdatePageTheme without sending the request * @param {string} id Page theme ID to update * @param {PageThemesServiceUpdatePageThemeBody} pageThemesServiceUpdatePageThemeBody * @throws {RequiredError} * @memberof PageThemesApiInterface */ pageThemesServiceUpdatePageThemeRequestOpts(requestParameters: PageThemesServiceUpdatePageThemeRequest): Promise; /** * Updates an existing page theme. Cannot update page themes that are currently attached to links. * @summary Update a page theme * @param {string} id Page theme ID to update * @param {PageThemesServiceUpdatePageThemeBody} pageThemesServiceUpdatePageThemeBody * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PageThemesApiInterface */ pageThemesServiceUpdatePageThemeRaw(requestParameters: PageThemesServiceUpdatePageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates an existing page theme. Cannot update page themes that are currently attached to links. * Update a page theme */ pageThemesServiceUpdatePageTheme(requestParameters: PageThemesServiceUpdatePageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class PageThemesApi extends runtime.BaseAPI implements PageThemesApiInterface { /** * Creates request options for pageThemesServiceGetPageTheme without sending the request */ pageThemesServiceGetPageThemeRequestOpts(requestParameters: PageThemesServiceGetPageThemeRequest): Promise; /** * Retrieves a specific page theme by ID. * Get a page theme */ pageThemesServiceGetPageThemeRaw(requestParameters: PageThemesServiceGetPageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves a specific page theme by ID. * Get a page theme */ pageThemesServiceGetPageTheme(requestParameters: PageThemesServiceGetPageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for pageThemesServiceListPageThemes without sending the request */ pageThemesServiceListPageThemesRequestOpts(): Promise; /** * Retrieves all page themes belonging to the caller\'s workspace. * List page themes for the current workspace */ pageThemesServiceListPageThemesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Retrieves all page themes belonging to the caller\'s workspace. * List page themes for the current workspace */ pageThemesServiceListPageThemes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates request options for pageThemesServiceUpdatePageTheme without sending the request */ pageThemesServiceUpdatePageThemeRequestOpts(requestParameters: PageThemesServiceUpdatePageThemeRequest): Promise; /** * Updates an existing page theme. Cannot update page themes that are currently attached to links. * Update a page theme */ pageThemesServiceUpdatePageThemeRaw(requestParameters: PageThemesServiceUpdatePageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Updates an existing page theme. Cannot update page themes that are currently attached to links. * Update a page theme */ pageThemesServiceUpdatePageTheme(requestParameters: PageThemesServiceUpdatePageThemeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }