/** * 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 { ApiSearchPermissionResponse, GetPermissionsParams, } from '../_models'; // --- header start // export const // --- title start getPermissions = // --- title end (axiosInstance: AxiosInstance = axios) => { // --- header end /** * @summary GetPermissions list available from application */ const getPermissions = ( params?: GetPermissionsParams, options?: AxiosRequestConfig, ): Promise> => { return axiosInstance.get(`/permissions`, { ...options, params: { ...params, ...options?.params, }, }); }; // --- footer start return { getPermissions, }; }; export type GetPermissionsResult = AxiosResponse; // --- footer end