import{a as s}from"./chunk-KXX3UDJ3.js";import{j as p}from"./chunk-GQAU5ACB.js";import{la as i,pa as a}from"./chunk-ISMRT7VU.js";import{a as o}from"./chunk-M5TX2NVG.js";var h=(()=>{class e{constructor(t){this._http=t}getRoles(t){return this._http.post("/api/role/all",t,{headers:s})}createRole(t){return this._http.post("/api/role",o({},t))}getRoleById(t){return this._http.get(`/api/role/${t}`)}updateRoleById(t,r){return this._http.put(`/api/role/${r}`,o({},t))}removeRoleById(t){return this._http.delete(`/api/role/${t}`)}static{this.\u0275fac=function(r){return new(r||e)(a(p))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{h as a};
//# sourceMappingURL=chunk-LTPVUE67.js.map
