import"./index-DdWwwZXu.js";import{a as e}from"./vendor-utils-BveVE6Uf.js";const u=()=>({getPrescribeGroupAsync:async()=>{const r=await e.get("/PrescribeGroup");return r==null?void 0:r.data},addPrescribeGroupAsync:async r=>{const c=await e.post("/PrescribeGroup",r);return c==null?void 0:c.data},editPrescribeGroupAsync:async r=>{const c=await e.put(`/PrescribeGroup/${r.id}`,r);return c==null?void 0:c.data},deletePrescribeGroupAsync:async r=>{const c=await e.delete(`/PrescribeGroup/${r}`);return c==null?void 0:c.data}}),P=()=>({getPrescribeGroupDrugsAsync:async a=>{const r=await e.get("/PrescribeGroupDrug",{params:a});return r==null?void 0:r.data},addPrescribeGroupDrugsAsync:async a=>{const r=await e.post("/PrescribeGroupDrug",a);return r==null?void 0:r.data},deletePrescribeGroupDrugsAsync:async a=>{const r=await e.delete(`/PrescribeGroupDrug/${a}`);return r==null?void 0:r.data}}),p=()=>({addPrescribeGroupSalamatParaClinicAsync:async a=>{const r=await e.post("PrescribeGroupSalamatParaClinic",a);return r==null?void 0:r.data},getPrescribeGroupSalamatParaClinicAsync:async a=>{const r=await e.get("PrescribeGroupSalamatParaClinic",{params:a});return r==null?void 0:r.data},deletePrescribeGroupSalamatParaClinicAsync:async a=>{const r=await e.delete(`PrescribeGroupSalamatParaClinic/${a}`);return r==null?void 0:r.data}}),b=()=>({addPrescribeGroupTaminParaClinicAsync:async a=>{const r=await e.post("PrescribeGroupTaminParaClinic",a);return r==null?void 0:r.data},deletePrescribeGroupTaminParaClinicAsync:async a=>{const r=await e.delete(`PrescribeGroupTaminParaClinic/${a}`);return r==null?void 0:r.data},getPrescribeGroupTaminParaClinicAsync:async a=>{const r=await e.get("PrescribeGroupTaminParaClinic",{params:a});return r==null?void 0:r.data}});export{P as a,p as b,b as c,u};
