import{b as s}from"./system.1703796278973.js";const n=e=>s.patch("/menu/iot/_all",e),c=e=>s.post("/role",e),a=e=>s.get(`/menu/role/${e}/_grant/tree`),r=(e,t)=>s.put(`/menu/role/${e}/_grant`,t),i=()=>s.post("/user/settings/init",{init:!0}),p=()=>s.get("/user/settings/init"),g=()=>s.get("/system/resources/permission"),u=e=>s.post("/system/config/scope/_save",e),l=()=>s.get("/network/resources/alive/_current"),v=e=>s.post("/network/config",e),d=()=>s.post("/protocol/default-protocol/_save"),m=e=>s.post("/gateway/device",e),y=e=>s.post("/device/product",e),f=e=>s.post("/device/instance",e),_=(e,t)=>s.post(`/device-instance/${e}/deploy`,t),k=e=>s.post(`/device-product/${e}/deploy`),w=()=>s.get("/protocol/_query/no-paging?paging=false");export{u as a,c as b,a as c,g as d,n as e,l as f,p as g,v as h,d as i,w as j,m as k,y as l,f as m,k as n,_ as o,i as s,r as u};
