import{av as a,aI as e}from"./index-DZAIUlH9.js";const s="https://dashboard.jetprintapp.com",p=a({id:"order",state:()=>({user:JSON.parse(localStorage.getItem("user")),returnUrl:null}),actions:{async shopapiOrderPage(r){return await e.post(`${s}/shopapi/order/page`,r)},async createFromCart(r){return await e.post(`${s}/shopapi/order/createFromCart`,r)},async updateShopping(r){return await e.post(`${s}/shopapi/order/shipping/update`,r)},async importOrder(r){return await e.post(`${s}/shopapi/order/importOrder`,r)},async orderDetail(r){return await e.post(`${s}/shopapi/order/detail`,r)},async orderOnHold(r){return await e.post(`${s}/shopapi/order/onHold`,r)},async orderCancel(r){return await e.post(`${s}/shopapi/order/cancel`,r)},async productPage(r){return await e.post(`${s}/shopapi/custom/product/page`,r)},async createOrder(r){return await e.post(`${s}/shopapi/order/create`,r)}}});export{p as o};