import{g3 as c}from"./index-IP_FWtso.js";import{a as o}from"./vendor-utils-BveVE6Uf.js";const G=()=>({addContactGroupAsync:async t=>(t.title=c(t.title),(await o.post("Contact/AddContactGroup",t)).data),getContacGroupsAsync:async(t,n,e)=>(await o.get("Contact/GetContactGroups",{params:{clinicId:t,officeId:n,name:e||null}})).data,getContactGroupByIdAsync:async t=>(await o.get(`Contact/GetContactGroupById/${t}`)).data,updateContactGroupAsync:async t=>(t.title=c(t.title),(await o.put(`Contact/UpdateContactGroup/${t.id}`,t)).data),deleteContactGroupAsync:async t=>{o.delete(`Contact/DeleteContactGroup/${t}`)}});export{G as c};
