/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import axios from '@aliasedDeps/api-services/axios'; import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios'; import type { CasesChatCatalogGetCaseChatHistoryParams, WebitelChatChatMessages, } from '../_models'; // --- header start // export const // --- title start getCasesChatCatalog = // --- title end (axiosInstance: AxiosInstance = axios) => { // --- header end const casesChatCatalogGetCaseChatHistory = ( caseId: string, chatId: string, params?: CasesChatCatalogGetCaseChatHistoryParams, options?: AxiosRequestConfig, ): Promise> => { return axiosInstance.get(`/cases/${caseId}/chat/${chatId}/messages`, { ...options, params: { ...params, ...options?.params, }, }); }; // --- footer start return { casesChatCatalogGetCaseChatHistory, }; }; export type CasesChatCatalogGetCaseChatHistoryResult = AxiosResponse; // --- footer end