/** * 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 { WebitelChatGetAgentChatsResponse } from '../api'; /** * AgentChatServiceApi - axios parameter creator * @export */ export declare const AgentChatServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {number} [size] default * @param {number} [page] * @param {string} [q] * @param {Array} [fields] * @param {string} [sort] * @param {boolean} [onlyClosed] filter * @param {boolean} [onlyUnprocessed] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAgentChats: (size?: number, page?: number, q?: string, fields?: Array, sort?: string, onlyClosed?: boolean, onlyUnprocessed?: boolean, options?: any) => Promise; /** * * @param {string} chatId * @param {*} [options] Override http request option. * @throws {RequiredError} */ markChatProcessed: (chatId: string, options?: any) => Promise; }; /** * AgentChatServiceApi - functional programming interface * @export */ export declare const AgentChatServiceApiFp: (configuration?: Configuration) => { /** * * @param {number} [size] default * @param {number} [page] * @param {string} [q] * @param {Array} [fields] * @param {string} [sort] * @param {boolean} [onlyClosed] filter * @param {boolean} [onlyUnprocessed] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAgentChats(size?: number, page?: number, q?: string, fields?: Array, sort?: string, onlyClosed?: boolean, onlyUnprocessed?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} chatId * @param {*} [options] Override http request option. * @throws {RequiredError} */ markChatProcessed(chatId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AgentChatServiceApi - factory interface * @export */ export declare const AgentChatServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {number} [size] default * @param {number} [page] * @param {string} [q] * @param {Array} [fields] * @param {string} [sort] * @param {boolean} [onlyClosed] filter * @param {boolean} [onlyUnprocessed] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAgentChats(size?: number, page?: number, q?: string, fields?: Array, sort?: string, onlyClosed?: boolean, onlyUnprocessed?: boolean, options?: any): AxiosPromise; /** * * @param {string} chatId * @param {*} [options] Override http request option. * @throws {RequiredError} */ markChatProcessed(chatId: string, options?: any): AxiosPromise; }; /** * AgentChatServiceApi - object-oriented interface * @export * @class AgentChatServiceApi * @extends {BaseAPI} */ export declare class AgentChatServiceApi extends BaseAPI { /** * * @param {number} [size] default * @param {number} [page] * @param {string} [q] * @param {Array} [fields] * @param {string} [sort] * @param {boolean} [onlyClosed] filter * @param {boolean} [onlyUnprocessed] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentChatServiceApi */ getAgentChats(size?: number, page?: number, q?: string, fields?: Array, sort?: string, onlyClosed?: boolean, onlyUnprocessed?: boolean, options?: any): Promise>; /** * * @param {string} chatId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AgentChatServiceApi */ markChatProcessed(chatId: string, options?: any): Promise>; } //# sourceMappingURL=agent-chat-service-api.d.ts.map