/** * 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 { PriceZoneDto } from '../models'; import { PriceZonePageDto } from '../models'; import { PriceZoneSearchResultPageDto } from '../models'; import { SearchRequestDto } from '../models'; /** * PriceZonesApi - axios parameter creator * @export */ export declare const PriceZonesApiAxiosParamCreator: (axiosClientConfiguration?: Configuration) => { /** * * @param {PriceZoneDto} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPriceZone: (priceZone: PriceZoneDto, translate?: string, options?: any) => Promise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyPriceZones: (ids: Array, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePriceZone: (id: string, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPriceZone: (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} */ getPriceZones: (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} */ getPriceZonesCount: (page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {any} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchPriceZone: (id: string, priceZone: any, translate?: string, options?: any) => Promise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performPriceZoneSearch: (searchRequest: SearchRequestDto, translate?: string, options?: any) => Promise; /** * This is a very performant method for checking if a PriceZone exists. * @summary Check if PriceZone exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ priceZoneExists: (id: string, options?: any) => Promise; /** * * @param {string} id * @param {PriceZoneDto} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putPriceZone: (id: string, priceZone: PriceZoneDto, translate?: string, options?: any) => Promise; }; /** * PriceZonesApi - functional programming interface * @export */ export declare const PriceZonesApiFp: (axiosClientConfiguration?: Configuration) => { /** * * @param {PriceZoneDto} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPriceZone(priceZone: PriceZoneDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyPriceZones(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} */ deletePriceZone(id: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPriceZone(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} */ getPriceZones(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} */ getPriceZonesCount(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} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchPriceZone(id: string, priceZone: 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} */ performPriceZoneSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This is a very performant method for checking if a PriceZone exists. * @summary Check if PriceZone exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ priceZoneExists(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {PriceZoneDto} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putPriceZone(id: string, priceZone: PriceZoneDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PriceZonesApi - factory interface * @export */ export declare const PriceZonesApiFactory: (axiosClientConfiguration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {PriceZoneDto} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPriceZone(priceZone: PriceZoneDto, translate?: string, options?: any): AxiosPromise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyPriceZones(ids: Array, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePriceZone(id: string, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPriceZone(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} */ getPriceZones(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} */ getPriceZonesCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {any} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchPriceZone(id: string, priceZone: any, translate?: string, options?: any): AxiosPromise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performPriceZoneSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): AxiosPromise; /** * This is a very performant method for checking if a PriceZone exists. * @summary Check if PriceZone exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ priceZoneExists(id: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {PriceZoneDto} priceZone * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putPriceZone(id: string, priceZone: PriceZoneDto, translate?: string, options?: any): AxiosPromise; }; /** * Request parameters for createPriceZone operation in PriceZonesApi. * @export * @interface PriceZonesApiCreatePriceZoneRequest */ export interface PriceZonesApiCreatePriceZoneRequest { /** * * @type {PriceZoneDto} * @memberof PriceZonesApiCreatePriceZone */ readonly priceZone: PriceZoneDto; /** * * @type {string} * @memberof PriceZonesApiCreatePriceZone */ readonly translate?: string; } /** * Request parameters for deleteManyPriceZones operation in PriceZonesApi. * @export * @interface PriceZonesApiDeleteManyPriceZonesRequest */ export interface PriceZonesApiDeleteManyPriceZonesRequest { /** * * @type {Array} * @memberof PriceZonesApiDeleteManyPriceZones */ readonly ids: Array; /** * * @type {string} * @memberof PriceZonesApiDeleteManyPriceZones */ readonly translate?: string; } /** * Request parameters for deletePriceZone operation in PriceZonesApi. * @export * @interface PriceZonesApiDeletePriceZoneRequest */ export interface PriceZonesApiDeletePriceZoneRequest { /** * * @type {string} * @memberof PriceZonesApiDeletePriceZone */ readonly id: string; /** * * @type {string} * @memberof PriceZonesApiDeletePriceZone */ readonly translate?: string; } /** * Request parameters for getPriceZone operation in PriceZonesApi. * @export * @interface PriceZonesApiGetPriceZoneRequest */ export interface PriceZonesApiGetPriceZoneRequest { /** * * @type {string} * @memberof PriceZonesApiGetPriceZone */ readonly id: string; /** * * @type {string} * @memberof PriceZonesApiGetPriceZone */ readonly translate?: string; } /** * Request parameters for getPriceZones operation in PriceZonesApi. * @export * @interface PriceZonesApiGetPriceZonesRequest */ export interface PriceZonesApiGetPriceZonesRequest { /** * * @type {number} * @memberof PriceZonesApiGetPriceZones */ readonly page?: number; /** * * @type {number} * @memberof PriceZonesApiGetPriceZones */ readonly size?: number; /** * * @type {string} * @memberof PriceZonesApiGetPriceZones */ readonly translate?: string; /** * * @type {boolean} * @memberof PriceZonesApiGetPriceZones */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof PriceZonesApiGetPriceZones */ readonly sort?: string; /** * * @type {string} * @memberof PriceZonesApiGetPriceZones */ readonly search?: string; } /** * Request parameters for getPriceZonesCount operation in PriceZonesApi. * @export * @interface PriceZonesApiGetPriceZonesCountRequest */ export interface PriceZonesApiGetPriceZonesCountRequest { /** * * @type {number} * @memberof PriceZonesApiGetPriceZonesCount */ readonly page?: number; /** * * @type {number} * @memberof PriceZonesApiGetPriceZonesCount */ readonly size?: number; /** * * @type {string} * @memberof PriceZonesApiGetPriceZonesCount */ readonly sort?: string; /** * * @type {string} * @memberof PriceZonesApiGetPriceZonesCount */ readonly search?: string; /** * * @type {boolean} * @memberof PriceZonesApiGetPriceZonesCount */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof PriceZonesApiGetPriceZonesCount */ readonly translate?: string; } /** * Request parameters for patchPriceZone operation in PriceZonesApi. * @export * @interface PriceZonesApiPatchPriceZoneRequest */ export interface PriceZonesApiPatchPriceZoneRequest { /** * * @type {string} * @memberof PriceZonesApiPatchPriceZone */ readonly id: string; /** * * @type {any} * @memberof PriceZonesApiPatchPriceZone */ readonly priceZone: any; /** * * @type {string} * @memberof PriceZonesApiPatchPriceZone */ readonly translate?: string; } /** * Request parameters for performPriceZoneSearch operation in PriceZonesApi. * @export * @interface PriceZonesApiPerformPriceZoneSearchRequest */ export interface PriceZonesApiPerformPriceZoneSearchRequest { /** * * @type {SearchRequestDto} * @memberof PriceZonesApiPerformPriceZoneSearch */ readonly searchRequest: SearchRequestDto; /** * * @type {string} * @memberof PriceZonesApiPerformPriceZoneSearch */ readonly translate?: string; } /** * Request parameters for priceZoneExists operation in PriceZonesApi. * @export * @interface PriceZonesApiPriceZoneExistsRequest */ export interface PriceZonesApiPriceZoneExistsRequest { /** * * @type {string} * @memberof PriceZonesApiPriceZoneExists */ readonly id: string; } /** * Request parameters for putPriceZone operation in PriceZonesApi. * @export * @interface PriceZonesApiPutPriceZoneRequest */ export interface PriceZonesApiPutPriceZoneRequest { /** * * @type {string} * @memberof PriceZonesApiPutPriceZone */ readonly id: string; /** * * @type {PriceZoneDto} * @memberof PriceZonesApiPutPriceZone */ readonly priceZone: PriceZoneDto; /** * * @type {string} * @memberof PriceZonesApiPutPriceZone */ readonly translate?: string; } /** * PriceZonesApi - object-oriented interface * @export * @class PriceZonesApi * @extends {BaseAPI} */ export declare class PriceZonesApi extends BaseAPI { /** * * @param {PriceZonesApiCreatePriceZoneRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ createPriceZone(requestParameters: PriceZonesApiCreatePriceZoneRequest, options?: any): Promise>; /** * * @param {PriceZonesApiDeleteManyPriceZonesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ deleteManyPriceZones(requestParameters: PriceZonesApiDeleteManyPriceZonesRequest, options?: any): Promise>; /** * * @param {PriceZonesApiDeletePriceZoneRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ deletePriceZone(requestParameters: PriceZonesApiDeletePriceZoneRequest, options?: any): Promise>; /** * * @param {PriceZonesApiGetPriceZoneRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ getPriceZone(requestParameters: PriceZonesApiGetPriceZoneRequest, options?: any): Promise>; /** * * @param {PriceZonesApiGetPriceZonesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ getPriceZones(requestParameters?: PriceZonesApiGetPriceZonesRequest, options?: any): Promise>; /** * * @param {PriceZonesApiGetPriceZonesCountRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ getPriceZonesCount(requestParameters?: PriceZonesApiGetPriceZonesCountRequest, options?: any): Promise>; /** * * @param {PriceZonesApiPatchPriceZoneRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ patchPriceZone(requestParameters: PriceZonesApiPatchPriceZoneRequest, options?: any): Promise>; /** * * @param {PriceZonesApiPerformPriceZoneSearchRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ performPriceZoneSearch(requestParameters: PriceZonesApiPerformPriceZoneSearchRequest, options?: any): Promise>; /** * This is a very performant method for checking if a PriceZone exists. * @summary Check if PriceZone exists * @param {PriceZonesApiPriceZoneExistsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ priceZoneExists(requestParameters: PriceZonesApiPriceZoneExistsRequest, options?: any): Promise>; /** * * @param {PriceZonesApiPutPriceZoneRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PriceZonesApi */ putPriceZone(requestParameters: PriceZonesApiPutPriceZoneRequest, options?: any): Promise>; }