import { httpDeleteInterceptor, httpGetInterceptor, httpPutInterceptor } from "./http-config/http-interceptor-service"; export async function deleteUserLevel(id: number) { const url = `user-levels/${id}`; return await httpDeleteInterceptor(url); } export async function updateUserLevel(id: number, data: any) { const url = `user-levels/${id}`; return httpPutInterceptor(url, data); } export async function getUserLevelDetail(id: number) { const url = `user-levels/${id}`; return httpGetInterceptor(url); }