/** * Cloud API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { CmsPageDto } from '../models'; import { CmsPagePageDto } from '../models'; import { CmsPageSearchResultPageDto } from '../models'; import { SearchRequestDto } from '../models'; /** * CMSApi - axios parameter creator * @export */ export declare const CMSApiAxiosParamCreator: (axiosClientConfiguration?: Configuration) => { /** * This is a very performant method for checking if a CmsPage exists. * @summary Check if CmsPage exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmsPageExists: (id: string, options?: any) => Promise; /** * * @param {CmsPageDto} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCmsPage: (cmsPage: CmsPageDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCmsPage: (id: string, translate?: string, options?: any) => Promise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyCmsPages: (ids: Array, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPage: (id: string, translate?: string, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [translate] * @param {boolean} [withReplacements] * @param {string} [sort] * @param {string} [search] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPages: (page?: number, size?: number, translate?: string, withReplacements?: boolean, sort?: string, search?: string, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {string} [search] * @param {boolean} [withReplacements] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPagesCount: (page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {any} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCmsPage: (id: string, cmsPage: any, translate?: string, options?: any) => Promise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performCmsPageSearch: (searchRequest: SearchRequestDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {CmsPageDto} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putCmsPage: (id: string, cmsPage: CmsPageDto, translate?: string, options?: any) => Promise; }; /** * CMSApi - functional programming interface * @export */ export declare const CMSApiFp: (axiosClientConfiguration?: Configuration) => { /** * This is a very performant method for checking if a CmsPage exists. * @summary Check if CmsPage exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmsPageExists(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {CmsPageDto} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCmsPage(cmsPage: CmsPageDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCmsPage(id: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyCmsPages(ids: Array, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPage(id: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [translate] * @param {boolean} [withReplacements] * @param {string} [sort] * @param {string} [search] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPages(page?: number, size?: number, translate?: string, withReplacements?: boolean, sort?: string, search?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {string} [search] * @param {boolean} [withReplacements] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPagesCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {any} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCmsPage(id: string, cmsPage: any, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performCmsPageSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {CmsPageDto} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putCmsPage(id: string, cmsPage: CmsPageDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CMSApi - factory interface * @export */ export declare const CMSApiFactory: (axiosClientConfiguration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * This is a very performant method for checking if a CmsPage exists. * @summary Check if CmsPage exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ cmsPageExists(id: string, options?: any): AxiosPromise; /** * * @param {CmsPageDto} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCmsPage(cmsPage: CmsPageDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCmsPage(id: string, translate?: string, options?: any): AxiosPromise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyCmsPages(ids: Array, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPage(id: string, translate?: string, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [translate] * @param {boolean} [withReplacements] * @param {string} [sort] * @param {string} [search] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPages(page?: number, size?: number, translate?: string, withReplacements?: boolean, sort?: string, search?: string, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {string} [search] * @param {boolean} [withReplacements] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCmsPagesCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {any} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCmsPage(id: string, cmsPage: any, translate?: string, options?: any): AxiosPromise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performCmsPageSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {CmsPageDto} cmsPage * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putCmsPage(id: string, cmsPage: CmsPageDto, translate?: string, options?: any): AxiosPromise; }; /** * Request parameters for cmsPageExists operation in CMSApi. * @export * @interface CMSApiCmsPageExistsRequest */ export interface CMSApiCmsPageExistsRequest { /** * * @type {string} * @memberof CMSApiCmsPageExists */ readonly id: string; } /** * Request parameters for createCmsPage operation in CMSApi. * @export * @interface CMSApiCreateCmsPageRequest */ export interface CMSApiCreateCmsPageRequest { /** * * @type {CmsPageDto} * @memberof CMSApiCreateCmsPage */ readonly cmsPage: CmsPageDto; /** * * @type {string} * @memberof CMSApiCreateCmsPage */ readonly translate?: string; } /** * Request parameters for deleteCmsPage operation in CMSApi. * @export * @interface CMSApiDeleteCmsPageRequest */ export interface CMSApiDeleteCmsPageRequest { /** * * @type {string} * @memberof CMSApiDeleteCmsPage */ readonly id: string; /** * * @type {string} * @memberof CMSApiDeleteCmsPage */ readonly translate?: string; } /** * Request parameters for deleteManyCmsPages operation in CMSApi. * @export * @interface CMSApiDeleteManyCmsPagesRequest */ export interface CMSApiDeleteManyCmsPagesRequest { /** * * @type {Array} * @memberof CMSApiDeleteManyCmsPages */ readonly ids: Array; /** * * @type {string} * @memberof CMSApiDeleteManyCmsPages */ readonly translate?: string; } /** * Request parameters for getCmsPage operation in CMSApi. * @export * @interface CMSApiGetCmsPageRequest */ export interface CMSApiGetCmsPageRequest { /** * * @type {string} * @memberof CMSApiGetCmsPage */ readonly id: string; /** * * @type {string} * @memberof CMSApiGetCmsPage */ readonly translate?: string; } /** * Request parameters for getCmsPages operation in CMSApi. * @export * @interface CMSApiGetCmsPagesRequest */ export interface CMSApiGetCmsPagesRequest { /** * * @type {number} * @memberof CMSApiGetCmsPages */ readonly page?: number; /** * * @type {number} * @memberof CMSApiGetCmsPages */ readonly size?: number; /** * * @type {string} * @memberof CMSApiGetCmsPages */ readonly translate?: string; /** * * @type {boolean} * @memberof CMSApiGetCmsPages */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof CMSApiGetCmsPages */ readonly sort?: string; /** * * @type {string} * @memberof CMSApiGetCmsPages */ readonly search?: string; } /** * Request parameters for getCmsPagesCount operation in CMSApi. * @export * @interface CMSApiGetCmsPagesCountRequest */ export interface CMSApiGetCmsPagesCountRequest { /** * * @type {number} * @memberof CMSApiGetCmsPagesCount */ readonly page?: number; /** * * @type {number} * @memberof CMSApiGetCmsPagesCount */ readonly size?: number; /** * * @type {string} * @memberof CMSApiGetCmsPagesCount */ readonly sort?: string; /** * * @type {string} * @memberof CMSApiGetCmsPagesCount */ readonly search?: string; /** * * @type {boolean} * @memberof CMSApiGetCmsPagesCount */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof CMSApiGetCmsPagesCount */ readonly translate?: string; } /** * Request parameters for patchCmsPage operation in CMSApi. * @export * @interface CMSApiPatchCmsPageRequest */ export interface CMSApiPatchCmsPageRequest { /** * * @type {string} * @memberof CMSApiPatchCmsPage */ readonly id: string; /** * * @type {any} * @memberof CMSApiPatchCmsPage */ readonly cmsPage: any; /** * * @type {string} * @memberof CMSApiPatchCmsPage */ readonly translate?: string; } /** * Request parameters for performCmsPageSearch operation in CMSApi. * @export * @interface CMSApiPerformCmsPageSearchRequest */ export interface CMSApiPerformCmsPageSearchRequest { /** * * @type {SearchRequestDto} * @memberof CMSApiPerformCmsPageSearch */ readonly searchRequest: SearchRequestDto; /** * * @type {string} * @memberof CMSApiPerformCmsPageSearch */ readonly translate?: string; } /** * Request parameters for putCmsPage operation in CMSApi. * @export * @interface CMSApiPutCmsPageRequest */ export interface CMSApiPutCmsPageRequest { /** * * @type {string} * @memberof CMSApiPutCmsPage */ readonly id: string; /** * * @type {CmsPageDto} * @memberof CMSApiPutCmsPage */ readonly cmsPage: CmsPageDto; /** * * @type {string} * @memberof CMSApiPutCmsPage */ readonly translate?: string; } /** * CMSApi - object-oriented interface * @export * @class CMSApi * @extends {BaseAPI} */ export declare class CMSApi extends BaseAPI { /** * This is a very performant method for checking if a CmsPage exists. * @summary Check if CmsPage exists * @param {CMSApiCmsPageExistsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ cmsPageExists(requestParameters: CMSApiCmsPageExistsRequest, options?: any): Promise>; /** * * @param {CMSApiCreateCmsPageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ createCmsPage(requestParameters: CMSApiCreateCmsPageRequest, options?: any): Promise>; /** * * @param {CMSApiDeleteCmsPageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ deleteCmsPage(requestParameters: CMSApiDeleteCmsPageRequest, options?: any): Promise>; /** * * @param {CMSApiDeleteManyCmsPagesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ deleteManyCmsPages(requestParameters: CMSApiDeleteManyCmsPagesRequest, options?: any): Promise>; /** * * @param {CMSApiGetCmsPageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ getCmsPage(requestParameters: CMSApiGetCmsPageRequest, options?: any): Promise>; /** * * @param {CMSApiGetCmsPagesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ getCmsPages(requestParameters?: CMSApiGetCmsPagesRequest, options?: any): Promise>; /** * * @param {CMSApiGetCmsPagesCountRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ getCmsPagesCount(requestParameters?: CMSApiGetCmsPagesCountRequest, options?: any): Promise>; /** * * @param {CMSApiPatchCmsPageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ patchCmsPage(requestParameters: CMSApiPatchCmsPageRequest, options?: any): Promise>; /** * * @param {CMSApiPerformCmsPageSearchRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ performCmsPageSearch(requestParameters: CMSApiPerformCmsPageSearchRequest, options?: any): Promise>; /** * * @param {CMSApiPutCmsPageRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CMSApi */ putCmsPage(requestParameters: CMSApiPutCmsPageRequest, options?: any): Promise>; }