import"./index-IP_FWtso.js";import{a as r}from"./vendor-utils-BveVE6Uf.js";const C=()=>({addTariffAsync:async e=>(await r.post("CenterTariff/AddTariff",e)).data,updateTariffAsync:async e=>(await r.put(`CenterTariff/UpdateTariff/${e.id}`,e)).data,deleteTariffAsync:async e=>(await r.delete(`CenterTariff/DeleteTariff/${e}`)).data,calculateServicesPriceAsync:async e=>(await r.post("CenterTariff/CalculateServicesPrice",e)).data,getTariffsAsync:async e=>(await r.get("CenterTariff/GetTariffs",{params:e})).data,getTariffByIdAsync:async e=>(await r.get(`CenterTariff/GetTariff/${e}`)).data,getCenterTariffServicesAsync:async e=>(await r.get("CenterTariff/GetCenterTariffServices",{params:e})).data,deleteCenterTariffServiceAsync:async(e,t)=>(await r.delete(`CenterTariff/${e}/Service/${t}`)).data,getCenterTariffServicesWithoutPaginationAsync:async e=>(await r.get("CenterTariff/GetCenterTariffServicesWithoutPagination",{params:e})).data,toggleActive:async e=>(await r.post(`CenterTariff/ToggleActive/${e}/ToggleActive`)).data});export{C};
