import{t as e}from"./client-hbcFGf8j.js";import{t}from"./endpoints-Bdye5CiX.js";var n={async list(n){let{data:r}=await e.get(t.ROLES,{params:n});return r},async get(n){let{data:r}=await e.get(`${t.ROLES}/${n}`);return r},async create(n){let{data:r}=await e.post(t.ROLES,n);return r},async update(n,r){let{data:i}=await e.put(`${t.ROLES}/${n}`,r);return i},async delete(n){let{data:r}=await e.delete(`${t.ROLES}/${n}`);return r},async getAbilities(n){let{data:r}=await e.get(t.ABILITIES,{params:n});return r}};export{n as t};