/** * 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 { CreateFeedbackParams, EngineFeedback, GetFeedbackParams, } from '../_models'; // --- header start // export const // --- title start getFeedbackService = // --- title end (axiosInstance: AxiosInstance = axios) => { // --- header end const getFeedback = ( params?: GetFeedbackParams, options?: AxiosRequestConfig, ): Promise> => { return axiosInstance.get(`/feedback`, { ...options, params: { ...params, ...options?.params, }, }); }; const createFeedback = ( params?: CreateFeedbackParams, options?: AxiosRequestConfig, ): Promise> => { return axiosInstance.post(`/feedback`, undefined, { ...options, params: { ...params, ...options?.params, }, }); }; // --- footer start return { getFeedback, createFeedback, }; }; export type GetFeedbackResult = AxiosResponse; export type CreateFeedbackResult = AxiosResponse; // --- footer end