/** * Webitel API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 24.04.0 * Contact: support@webitel.com * * 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 { EngineCreatePresetQueryRequest } from '../api'; import { EngineListPresetQuery } from '../api'; import { EnginePresetQuery } from '../api'; import { EnginePresetQueryServicePatchPresetQueryBody } from '../api'; import { EnginePresetQueryServiceUpdatePresetQueryBody } from '../api'; /** * PresetQueryServiceApi - axios parameter creator * @export */ export declare const PresetQueryServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {EngineCreatePresetQueryRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPresetQuery: (body: EngineCreatePresetQueryRequest, options?: any) => Promise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePresetQuery: (id: number, options?: any) => Promise; /** * * @param {number} id * @param {EnginePresetQueryServicePatchPresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchPresetQuery: (id: number, body: EnginePresetQueryServicePatchPresetQueryBody, options?: any) => Promise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readPresetQuery: (id: number, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [section] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchPresetQuery: (page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, section?: Array, options?: any) => Promise; /** * * @param {number} id * @param {EnginePresetQueryServiceUpdatePresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePresetQuery: (id: number, body: EnginePresetQueryServiceUpdatePresetQueryBody, options?: any) => Promise; }; /** * PresetQueryServiceApi - functional programming interface * @export */ export declare const PresetQueryServiceApiFp: (configuration?: Configuration) => { /** * * @param {EngineCreatePresetQueryRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPresetQuery(body: EngineCreatePresetQueryRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePresetQuery(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {EnginePresetQueryServicePatchPresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchPresetQuery(id: number, body: EnginePresetQueryServicePatchPresetQueryBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readPresetQuery(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [section] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchPresetQuery(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, section?: Array, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {EnginePresetQueryServiceUpdatePresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePresetQuery(id: number, body: EnginePresetQueryServiceUpdatePresetQueryBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * PresetQueryServiceApi - factory interface * @export */ export declare const PresetQueryServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {EngineCreatePresetQueryRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createPresetQuery(body: EngineCreatePresetQueryRequest, options?: any): AxiosPromise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deletePresetQuery(id: number, options?: any): AxiosPromise; /** * * @param {number} id * @param {EnginePresetQueryServicePatchPresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchPresetQuery(id: number, body: EnginePresetQueryServicePatchPresetQueryBody, options?: any): AxiosPromise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readPresetQuery(id: number, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [section] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchPresetQuery(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, section?: Array, options?: any): AxiosPromise; /** * * @param {number} id * @param {EnginePresetQueryServiceUpdatePresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePresetQuery(id: number, body: EnginePresetQueryServiceUpdatePresetQueryBody, options?: any): AxiosPromise; }; /** * PresetQueryServiceApi - object-oriented interface * @export * @class PresetQueryServiceApi * @extends {BaseAPI} */ export declare class PresetQueryServiceApi extends BaseAPI { /** * * @param {EngineCreatePresetQueryRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PresetQueryServiceApi */ createPresetQuery(body: EngineCreatePresetQueryRequest, options?: any): Promise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PresetQueryServiceApi */ deletePresetQuery(id: number, options?: any): Promise>; /** * * @param {number} id * @param {EnginePresetQueryServicePatchPresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PresetQueryServiceApi */ patchPresetQuery(id: number, body: EnginePresetQueryServicePatchPresetQueryBody, options?: any): Promise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PresetQueryServiceApi */ readPresetQuery(id: number, options?: any): Promise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {Array} [section] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PresetQueryServiceApi */ searchPresetQuery(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, section?: Array, options?: any): Promise>; /** * * @param {number} id * @param {EnginePresetQueryServiceUpdatePresetQueryBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PresetQueryServiceApi */ updatePresetQuery(id: number, body: EnginePresetQueryServiceUpdatePresetQueryBody, options?: any): Promise>; } //# sourceMappingURL=preset-query-service-api.d.ts.map