/** * 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 { EngineChatPlan } from '../api'; import { EngineCreateChatPlanRequest } from '../api'; import { EngineListChatPlan } from '../api'; import { EngineRoutingChatPlanServicePatchChatPlanBody } from '../api'; import { EngineRoutingChatPlanServiceUpdateChatPlanBody } from '../api'; /** * RoutingChatPlanServiceApi - axios parameter creator * @export */ export declare const RoutingChatPlanServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {EngineCreateChatPlanRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createChatPlan: (body: EngineCreateChatPlanRequest, options?: any) => Promise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteChatPlan: (id: number, options?: any) => Promise; /** * * @param {number} id * @param {EngineRoutingChatPlanServicePatchChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchChatPlan: (id: number, body: EngineRoutingChatPlanServicePatchChatPlanBody, options?: any) => Promise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readChatPlan: (id: number, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {string} [name] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchChatPlan: (page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, name?: string, enabled?: boolean, options?: any) => Promise; /** * * @param {number} id * @param {EngineRoutingChatPlanServiceUpdateChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateChatPlan: (id: number, body: EngineRoutingChatPlanServiceUpdateChatPlanBody, options?: any) => Promise; }; /** * RoutingChatPlanServiceApi - functional programming interface * @export */ export declare const RoutingChatPlanServiceApiFp: (configuration?: Configuration) => { /** * * @param {EngineCreateChatPlanRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createChatPlan(body: EngineCreateChatPlanRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteChatPlan(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {EngineRoutingChatPlanServicePatchChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchChatPlan(id: number, body: EngineRoutingChatPlanServicePatchChatPlanBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readChatPlan(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 {string} [name] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchChatPlan(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, name?: string, enabled?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} id * @param {EngineRoutingChatPlanServiceUpdateChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateChatPlan(id: number, body: EngineRoutingChatPlanServiceUpdateChatPlanBody, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * RoutingChatPlanServiceApi - factory interface * @export */ export declare const RoutingChatPlanServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {EngineCreateChatPlanRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createChatPlan(body: EngineCreateChatPlanRequest, options?: any): AxiosPromise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteChatPlan(id: number, options?: any): AxiosPromise; /** * * @param {number} id * @param {EngineRoutingChatPlanServicePatchChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchChatPlan(id: number, body: EngineRoutingChatPlanServicePatchChatPlanBody, options?: any): AxiosPromise; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ readChatPlan(id: number, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {string} [name] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchChatPlan(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, name?: string, enabled?: boolean, options?: any): AxiosPromise; /** * * @param {number} id * @param {EngineRoutingChatPlanServiceUpdateChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateChatPlan(id: number, body: EngineRoutingChatPlanServiceUpdateChatPlanBody, options?: any): AxiosPromise; }; /** * RoutingChatPlanServiceApi - object-oriented interface * @export * @class RoutingChatPlanServiceApi * @extends {BaseAPI} */ export declare class RoutingChatPlanServiceApi extends BaseAPI { /** * * @param {EngineCreateChatPlanRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RoutingChatPlanServiceApi */ createChatPlan(body: EngineCreateChatPlanRequest, options?: any): Promise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RoutingChatPlanServiceApi */ deleteChatPlan(id: number, options?: any): Promise>; /** * * @param {number} id * @param {EngineRoutingChatPlanServicePatchChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RoutingChatPlanServiceApi */ patchChatPlan(id: number, body: EngineRoutingChatPlanServicePatchChatPlanBody, options?: any): Promise>; /** * * @param {number} id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RoutingChatPlanServiceApi */ readChatPlan(id: number, options?: any): Promise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {string} [name] * @param {boolean} [enabled] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RoutingChatPlanServiceApi */ searchChatPlan(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, name?: string, enabled?: boolean, options?: any): Promise>; /** * * @param {number} id * @param {EngineRoutingChatPlanServiceUpdateChatPlanBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof RoutingChatPlanServiceApi */ updateChatPlan(id: number, body: EngineRoutingChatPlanServiceUpdateChatPlanBody, options?: any): Promise>; } //# sourceMappingURL=routing-chat-plan-service-api.d.ts.map