/** * 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 { CounterDto } from '../models'; import { CounterPageDto } from '../models'; import { CounterSearchResultPageDto } from '../models'; import { SearchRequestDto } from '../models'; /** * CountersApi - axios parameter creator * @export */ export declare const CountersApiAxiosParamCreator: (axiosClientConfiguration?: Configuration) => { /** * This is a very performant method for checking if a Counter exists. * @summary Check if Counter exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ counterExists: (id: string, options?: any) => Promise; /** * * @param {CounterDto} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCounter: (counter: CounterDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCounter: (id: string, translate?: string, options?: any) => Promise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyCounters: (ids: Array, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCounter: (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} */ getCounters: (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} */ getCountersCount: (page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {any} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCounter: (id: string, counter: any, translate?: string, options?: any) => Promise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performCounterSearch: (searchRequest: SearchRequestDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {CounterDto} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putCounter: (id: string, counter: CounterDto, translate?: string, options?: any) => Promise; }; /** * CountersApi - functional programming interface * @export */ export declare const CountersApiFp: (axiosClientConfiguration?: Configuration) => { /** * This is a very performant method for checking if a Counter exists. * @summary Check if Counter exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ counterExists(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {CounterDto} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCounter(counter: CounterDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCounter(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} */ deleteManyCounters(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} */ getCounter(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} */ getCounters(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} */ getCountersCount(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} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCounter(id: string, counter: 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} */ performCounterSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {CounterDto} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putCounter(id: string, counter: CounterDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CountersApi - factory interface * @export */ export declare const CountersApiFactory: (axiosClientConfiguration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * This is a very performant method for checking if a Counter exists. * @summary Check if Counter exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ counterExists(id: string, options?: any): AxiosPromise; /** * * @param {CounterDto} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createCounter(counter: CounterDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCounter(id: string, translate?: string, options?: any): AxiosPromise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyCounters(ids: Array, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCounter(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} */ getCounters(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} */ getCountersCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {any} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchCounter(id: string, counter: any, translate?: string, options?: any): AxiosPromise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performCounterSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {CounterDto} counter * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putCounter(id: string, counter: CounterDto, translate?: string, options?: any): AxiosPromise; }; /** * Request parameters for counterExists operation in CountersApi. * @export * @interface CountersApiCounterExistsRequest */ export interface CountersApiCounterExistsRequest { /** * * @type {string} * @memberof CountersApiCounterExists */ readonly id: string; } /** * Request parameters for createCounter operation in CountersApi. * @export * @interface CountersApiCreateCounterRequest */ export interface CountersApiCreateCounterRequest { /** * * @type {CounterDto} * @memberof CountersApiCreateCounter */ readonly counter: CounterDto; /** * * @type {string} * @memberof CountersApiCreateCounter */ readonly translate?: string; } /** * Request parameters for deleteCounter operation in CountersApi. * @export * @interface CountersApiDeleteCounterRequest */ export interface CountersApiDeleteCounterRequest { /** * * @type {string} * @memberof CountersApiDeleteCounter */ readonly id: string; /** * * @type {string} * @memberof CountersApiDeleteCounter */ readonly translate?: string; } /** * Request parameters for deleteManyCounters operation in CountersApi. * @export * @interface CountersApiDeleteManyCountersRequest */ export interface CountersApiDeleteManyCountersRequest { /** * * @type {Array} * @memberof CountersApiDeleteManyCounters */ readonly ids: Array; /** * * @type {string} * @memberof CountersApiDeleteManyCounters */ readonly translate?: string; } /** * Request parameters for getCounter operation in CountersApi. * @export * @interface CountersApiGetCounterRequest */ export interface CountersApiGetCounterRequest { /** * * @type {string} * @memberof CountersApiGetCounter */ readonly id: string; /** * * @type {string} * @memberof CountersApiGetCounter */ readonly translate?: string; } /** * Request parameters for getCounters operation in CountersApi. * @export * @interface CountersApiGetCountersRequest */ export interface CountersApiGetCountersRequest { /** * * @type {number} * @memberof CountersApiGetCounters */ readonly page?: number; /** * * @type {number} * @memberof CountersApiGetCounters */ readonly size?: number; /** * * @type {string} * @memberof CountersApiGetCounters */ readonly translate?: string; /** * * @type {boolean} * @memberof CountersApiGetCounters */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof CountersApiGetCounters */ readonly sort?: string; /** * * @type {string} * @memberof CountersApiGetCounters */ readonly search?: string; } /** * Request parameters for getCountersCount operation in CountersApi. * @export * @interface CountersApiGetCountersCountRequest */ export interface CountersApiGetCountersCountRequest { /** * * @type {number} * @memberof CountersApiGetCountersCount */ readonly page?: number; /** * * @type {number} * @memberof CountersApiGetCountersCount */ readonly size?: number; /** * * @type {string} * @memberof CountersApiGetCountersCount */ readonly sort?: string; /** * * @type {string} * @memberof CountersApiGetCountersCount */ readonly search?: string; /** * * @type {boolean} * @memberof CountersApiGetCountersCount */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof CountersApiGetCountersCount */ readonly translate?: string; } /** * Request parameters for patchCounter operation in CountersApi. * @export * @interface CountersApiPatchCounterRequest */ export interface CountersApiPatchCounterRequest { /** * * @type {string} * @memberof CountersApiPatchCounter */ readonly id: string; /** * * @type {any} * @memberof CountersApiPatchCounter */ readonly counter: any; /** * * @type {string} * @memberof CountersApiPatchCounter */ readonly translate?: string; } /** * Request parameters for performCounterSearch operation in CountersApi. * @export * @interface CountersApiPerformCounterSearchRequest */ export interface CountersApiPerformCounterSearchRequest { /** * * @type {SearchRequestDto} * @memberof CountersApiPerformCounterSearch */ readonly searchRequest: SearchRequestDto; /** * * @type {string} * @memberof CountersApiPerformCounterSearch */ readonly translate?: string; } /** * Request parameters for putCounter operation in CountersApi. * @export * @interface CountersApiPutCounterRequest */ export interface CountersApiPutCounterRequest { /** * * @type {string} * @memberof CountersApiPutCounter */ readonly id: string; /** * * @type {CounterDto} * @memberof CountersApiPutCounter */ readonly counter: CounterDto; /** * * @type {string} * @memberof CountersApiPutCounter */ readonly translate?: string; } /** * CountersApi - object-oriented interface * @export * @class CountersApi * @extends {BaseAPI} */ export declare class CountersApi extends BaseAPI { /** * This is a very performant method for checking if a Counter exists. * @summary Check if Counter exists * @param {CountersApiCounterExistsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ counterExists(requestParameters: CountersApiCounterExistsRequest, options?: any): Promise>; /** * * @param {CountersApiCreateCounterRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ createCounter(requestParameters: CountersApiCreateCounterRequest, options?: any): Promise>; /** * * @param {CountersApiDeleteCounterRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ deleteCounter(requestParameters: CountersApiDeleteCounterRequest, options?: any): Promise>; /** * * @param {CountersApiDeleteManyCountersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ deleteManyCounters(requestParameters: CountersApiDeleteManyCountersRequest, options?: any): Promise>; /** * * @param {CountersApiGetCounterRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ getCounter(requestParameters: CountersApiGetCounterRequest, options?: any): Promise>; /** * * @param {CountersApiGetCountersRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ getCounters(requestParameters?: CountersApiGetCountersRequest, options?: any): Promise>; /** * * @param {CountersApiGetCountersCountRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ getCountersCount(requestParameters?: CountersApiGetCountersCountRequest, options?: any): Promise>; /** * * @param {CountersApiPatchCounterRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ patchCounter(requestParameters: CountersApiPatchCounterRequest, options?: any): Promise>; /** * * @param {CountersApiPerformCounterSearchRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ performCounterSearch(requestParameters: CountersApiPerformCounterSearchRequest, options?: any): Promise>; /** * * @param {CountersApiPutCounterRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CountersApi */ putCounter(requestParameters: CountersApiPutCounterRequest, options?: any): Promise>; }