import{a as l}from"./chunk-7N232KV6.js";import{i as s}from"./chunk-NDLDFKR2.js";import{fa as a,ka as p}from"./chunk-PVUKHE45.js";import{a as i}from"./chunk-MZPAXKJS.js";var u=(()=>{let e=class e{constructor(t){this._http=t}getRoles(t){return this._http.post("/api/role/all",t,{headers:l})}createRole(t){return this._http.post("/api/role",i({},t))}getRoleById(t){return this._http.get(`/api/role/${t}`)}updateRoleById(t,o){return this._http.put(`/api/role/${o}`,i({},t))}removeRoleById(t){return this._http.delete(`/api/role/${t}`)}};e.\u0275fac=function(o){return new(o||e)(p(s))},e.\u0275prov=a({token:e,factory:e.\u0275fac});let r=e;return r})();export{u as a};
//# sourceMappingURL=chunk-A36A3X5V.js.map
