import { httpDeleteInterceptor, httpGet, httpPost } from "./http-config/axios-base-service"; export async function listMasterUsers() { const headers = { "content-type": "application/json", }; return await httpGet(`/users`, headers); } export async function createMasterUser(data: any) { const headers = { "content-type": "application/json", }; const pathUrl = `/users`; return await httpPost(pathUrl, headers, data); } export async function deleteMasterUser(id: string) { return await httpDeleteInterceptor(`/users/${id}`); }