import{a as l}from"./chunk-JUPKAJPM.js";import{i as s}from"./chunk-Z2AWIQRI.js";import{ia as a,na as p}from"./chunk-C2QKZJOP.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-QE3N22AC.js.map
