2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
import{aq as r}from"./bootstrap-dXw-kJha.js";import"../jse/index-index-CZKOWp-q.js";var n;(e=>{(t=>{t.BUSY="BUSY",t.IDLE="IDLE",t.OFFLINE="OFFLINE",t.PAUSED="PAUSED"})(e.BadgeStatus||(e.BadgeStatus={})),(t=>{t.VIBRATE="VIBRATE",t.VOICE="VOICE"})(e.NotifyType||(e.NotifyType={}))})(n||(n={}));function u(e){return r.post("/ops/clean/device/notify",e)}function i(e){return r.get("/ops/clean/badge/list",{params:e})}function s(e){return r.get(`/ops/clean/order/timeline/${e}`)}function c(e){return r.get(`/ops/clean/badge/realtime/${e}`)}function l(e,t){return r.post("/ops/clean/order/manual-complete",{orderId:e,remark:t})}function p(e){return r.get(`/ops/order/business-logs/${e}`)}function d(e){return r.post("/ops/clean/order/manual-create",e)}function m(e){return r.post("/ops/clean/order/manual-dispatch",e)}function f(e){return r.post("/ops/clean/order/manual-cancel",e)}function g(e){return r.post("/ops/clean/order/manual-upgrade-priority",e)}export{n as OpsCleaningApi,c as getBadgeRealtimeStatus,i as getBadgeStatusList,p as getOrderBusinessLogs,s as getOrderTimeline,f as manualCancelOrder,l as manualCompleteOrder,d as manualCreateOrder,m as manualDispatchOrder,g as manualUpgradePriority,u as sendDeviceNotify};
|