import{a as i}from"./chunk-KXX3UDJ3.js";import{j as c}from"./chunk-GQAU5ACB.js";import{la as a,pa as n}from"./chunk-ISMRT7VU.js";var o=(()=>{class r{constructor(t){this._http=t}getAll(t){return this._http.post("/api/admin/service-centers/all",t,{headers:i})}getById(t){return this._http.get(`/api/admin/service-center/${t}`)}create(t){return this._http.post("/api/admin/service-center",t)}delete(t){return this._http.delete(`/api/admin/service-center/${t}`)}changeOverdraft(t,e){return this._http.put(`/api/admin/service-center/${t}/overdraft`,{overdraft:e})}changeBalance(t,e){return this._http.put(`/api/admin/service-center/${t}/balance`,e)}balanceHistory(t,e){return this._http.post(`/api/admin/service-center/${t}/balance-history`,e,{headers:i})}getAllDataView(t){return this._http.post("/api/service-center/clients",t,{headers:i})}static{this.\u0275fac=function(e){return new(e||r)(n(c))}}static{this.\u0275prov=a({token:r,factory:r.\u0275fac})}}return r})();export{o as a};
//# sourceMappingURL=chunk-V4WESMSJ.js.map
