import{a as l}from"./chunk-P5XIDEFS.js";import{i as s}from"./chunk-CO3WTSA4.js";import{ea as a,ja as p}from"./chunk-DYUFV4HF.js";import{a as i}from"./chunk-B7YGBANW.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-7655FHZJ.js.map
