import{am as a}from"./index.js";const s="/v1/system/authority",r=t=>a.post({url:`${s}/`,data:t}),l=(t,e=!1)=>a.put({url:`${s}/`,data:t,params:{updateAllFields:e}}),c=t=>a.delete({url:`${s}/${t}`}),u=t=>a.get({url:`${s}/search`,params:t}),d=t=>a.get({url:`${s}/all`,params:t}),p=t=>a.get({url:`${s}/${t}`}),$=t=>a.post({url:`${s}/batch-delete`,data:t});export{r as a,$ as b,d as c,p as g,c as r,u as s,l as u};
