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