import{r as e}from"./index.BKEMpsLA.js";const r="/api/system/device/";function n(t){return e({url:r,method:"get",params:t})}function s(t){return e({url:`/api/system/device/${t}/borrow_records/`,method:"get"})}function o(t){return e({url:`/api/system/device/${t}/maintenance_history/`,method:"get"})}function u(t){return e({url:r,method:"post",data:t})}function d(t){return e({url:r+t.id+"/",method:"put",data:t})}function i(t){return e({url:r+t.id+"/change_status/",method:"post",data:t})}function c(t){return e({url:r+t+"/",method:"delete",data:{id:t}})}export{u as A,c as D,n as G,d as U,s as a,i as b,o as g};
