import{b as o}from"./system.1703796278973.js";const t=e=>o.post("/dueros/product/_query",e),r=e=>o.post("/device-product/_query/no-paging",{paging:!1,terms:e?[{column:"id$dueros-product$not",value:1},{column:"id",type:"or",value:e}]:[{column:"id$dueros-product$not",value:1}],sorts:[{name:"createTime",order:"desc"}]}),u=()=>o.get("/dueros/product/types"),d=e=>o.patch("/dueros/product",e),c=e=>o.get(`/dueros/product/${e}`),a=e=>o.remove(`/dueros/product/${e}`),p=e=>o.post(`/dueros/product/${e}/_enable`),n=e=>o.post(`/dueros/product/${e}/_disable`);export{n as _,u as a,t as b,p as c,c as d,a as e,r as q,d as s};
