/** * 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 { WebitelChatChatMessages } from '../api'; /** * CasesChatCatalogApi - axios parameter creator * @export */ export declare const CasesChatCatalogApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} caseId Contact identificator * @param {string} chatId Unique chat dialog * @param {string} [offsetId] Messages ONLY starting from the specified message ID * @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli). * @param {number} [size] Number of messages to return. * @param {number} [page] * @param {string} [q] Search term: message.text * @param {Array} [fields] Fields to return into result. * @param {string} [groupString] This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCaseChatHistory: (caseId: string, chatId: string, offsetId?: string, offsetDate?: string, size?: number, page?: number, q?: string, fields?: Array, groupString?: string, options?: any) => Promise; }; /** * CasesChatCatalogApi - functional programming interface * @export */ export declare const CasesChatCatalogApiFp: (configuration?: Configuration) => { /** * * @param {string} caseId Contact identificator * @param {string} chatId Unique chat dialog * @param {string} [offsetId] Messages ONLY starting from the specified message ID * @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli). * @param {number} [size] Number of messages to return. * @param {number} [page] * @param {string} [q] Search term: message.text * @param {Array} [fields] Fields to return into result. * @param {string} [groupString] This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCaseChatHistory(caseId: string, chatId: string, offsetId?: string, offsetDate?: string, size?: number, page?: number, q?: string, fields?: Array, groupString?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CasesChatCatalogApi - factory interface * @export */ export declare const CasesChatCatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} caseId Contact identificator * @param {string} chatId Unique chat dialog * @param {string} [offsetId] Messages ONLY starting from the specified message ID * @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli). * @param {number} [size] Number of messages to return. * @param {number} [page] * @param {string} [q] Search term: message.text * @param {Array} [fields] Fields to return into result. * @param {string} [groupString] This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCaseChatHistory(caseId: string, chatId: string, offsetId?: string, offsetDate?: string, size?: number, page?: number, q?: string, fields?: Array, groupString?: string, options?: any): AxiosPromise; }; /** * CasesChatCatalogApi - object-oriented interface * @export * @class CasesChatCatalogApi * @extends {BaseAPI} */ export declare class CasesChatCatalogApi extends BaseAPI { /** * * @param {string} caseId Contact identificator * @param {string} chatId Unique chat dialog * @param {string} [offsetId] Messages ONLY starting from the specified message ID * @param {string} [offsetDate] Messages ONLY been sent before the specified epochtime(milli). * @param {number} [size] Number of messages to return. * @param {number} [page] * @param {string} [q] Search term: message.text * @param {Array} [fields] Fields to return into result. * @param {string} [groupString] This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18 * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CasesChatCatalogApi */ getCaseChatHistory(caseId: string, chatId: string, offsetId?: string, offsetDate?: string, size?: number, page?: number, q?: string, fields?: Array, groupString?: string, options?: any): Promise>; } //# sourceMappingURL=cases-chat-catalog-api.d.ts.map