import"./index-IP_FWtso.js";import{a as c}from"./vendor-utils-BveVE6Uf.js";class n{constructor(){this.addAsync=async e=>{const t=await c.post("ReceptionServiceGroup",e);return t==null?void 0:t.data},this.updateAsync=async e=>{const t=await c.put(`ReceptionServiceGroup/${e.id}`,e);return t==null?void 0:t.data},this.deleteAsync=async e=>{const t=await c.delete(`ReceptionServiceGroup/${e}`);return t==null?void 0:t.data},this.toggleAsync=async e=>{const t=await c.post(`ReceptionServiceGroup/${e}/Toggle`);return t==null?void 0:t.data},this.getByIdAsync=async e=>{const t=await c.get(`ReceptionServiceGroup/${e}`);return t==null?void 0:t.data},this.getAsync=async e=>{const t=await c.get("ReceptionServiceGroup",{params:e});return t==null?void 0:t.data},this.getSelectListAsync=async e=>{const t=await c.get("ReceptionServiceGroup/SelectList",{params:e});return t==null?void 0:t.data}}}class o{constructor(){this.updateAsync=async e=>{const t=await c.put("ReceptionServiceGroupService",e);return t==null?void 0:t.data},this.deleteAsync=async e=>{const t=await c.delete(`ReceptionServiceGroupService/${e}`);return t==null?void 0:t.data},this.toggleAsync=async e=>{const t=await c.post(`ReceptionServiceGroupService/${e}/Toggle`);return t==null?void 0:t.data},this.getAsync=async e=>{const t=await c.get("ReceptionServiceGroupService",{params:e});return t==null?void 0:t.data},this.getSelectListAsync=async e=>{const t=await c.get("ReceptionServiceGroupService/SelectList",{params:e});return t==null?void 0:t.data}}}export{n as R,o as a};
