2 lines
641 B
JavaScript
2 lines
641 B
JavaScript
import{az as s,ay as e}from"./vNwORUzZ.js";const n=async t=>await e.get(`/order/${t}`),c=async(t=1,r=10)=>await e.post("/order/get-orders",{page:t,limit:r}),d=async(t,r=1,a=10)=>await e.post(`/order/get-user-orders/${t}`,{page:r,limit:a}),u=async(t=1,r=10)=>await e.post("/order/get-store-orders",{page:t,limit:r}),i=async t=>await e.post("/order",t),p=async(t,r)=>await e.post(`/order/start-transaction/${t}`,{method:r}),y=async(t,r)=>s.fetch("orders_status","update",{data:r,field:"id",value:t}),g=async t=>await e.post(`/order/change-status/${t.order_id}`,{title:t.title});export{d as a,u as b,g as c,c as d,i as e,p as f,n as g,y as u};
|