import"./index-DdWwwZXu.js";import{a as t}from"./vendor-utils-BveVE6Uf.js";const p=()=>({addServiceDetailAsync:async e=>(await t.post("Services/AddServiceDetail",e)).data,getServiceDetailsAsync:async e=>(await t.get("Services/GetServiceDetails",{params:e})).data,editServiceDetailAsync:async e=>(await t.put(`Services/EditServiceDetail/${e.id}`,e)).data,deleteServiceDetailAsync:async(e,s,c)=>{const i=s?`Services/DeleteServiceDetail/${e}?clinicId=${s}`:`Services/DeleteServiceDetail/${e}?officeId=${c}`;return(await t.delete(i)).data},getResultTypesAsync:async()=>(await t.get("Services/ResultType")).data});export{p as s};
