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