import{t as e}from"./index.Df8UJ10K.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 i(t){return e({url:`/api/system/device/${t}/maintenance_history/`,method:"get"})}function o(t){return e({url:`/api/system/device/${t}/maintenance_records/`,method:"get"})}function u(t){return e({url:`/api/system/device/${t}/statistics/`,method:"get"})}function d(t){return e({url:r,method:"post",data:t})}function c(t){return e({url:r+t.id+"/",method:"put",data:t})}function m(t){return e({url:r+t.id+"/change_status/",method:"post",data:t})}function p(t){return e({url:r+t+"/",method:"delete",data:{id:t}})}export{d as A,p as D,n as G,c as U,o as a,i as b,s as c,m as d,u as g};
