Files
appco_dist/.output/public/_nuxt/B22gJD8Q.js
T
2026-02-01 17:38:39 +03:30

2 lines
702 B
JavaScript

import{ap as e,aq as s}from"./D9_UoUeZ.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}),i=async(t=1,r=10)=>await e.post("/order/get-store-orders",{page:t,limit:r}),u=async t=>await e.post("/order",t),y=async(t,r)=>await e.post(`/order/start-transaction/${t}`,{method:r}),p=async(t,r)=>await e.post(`/order/verify/${t}?${r}`),g=async(t,r)=>s.fetch("orders_status","update",{data:r,field:"id",value:t}),w=async t=>await e.post(`/order/change-status/${t.order_id}`,{title:t.title});export{d as a,i as b,w as c,c as d,u as e,y as f,n as g,g as u,p as v};