import"./index-DdWwwZXu.js";import{a as i}from"./vendor-utils-BveVE6Uf.js";class r{constructor(){this.addAsync=async a=>{const t=await i.post("ParaClinicReportType",a);return t==null?void 0:t.data},this.updateAsync=async a=>{const t=await i.put(`ParaClinicReportType/${a.id}`,a);return t==null?void 0:t.data},this.getAsync=async()=>{const a=await i.get("ParaClinicReportType");return a==null?void 0:a.data},this.getByIdAsync=async a=>{const t=await i.get(`ParaClinicReportType/${a}`);return t==null?void 0:t.data},this.getSelectListAsync=async()=>{const a=await i.get("ParaClinicReportType/SelectList");return a==null?void 0:a.data},this.deleteAsync=async a=>{const t=await i.delete(`ParaClinicReportType/${a}`);return t==null?void 0:t.data},this.toggledAsync=async a=>{const t=await i.post(`ParaClinicReportType/${a}/Toggle`);return t==null?void 0:t.data}}}export{r as P};
