import{ck as r,cl as t}from"./index-CxvxTWuH.js";const e="https://dashboard.jetprintapp.com",n=r({id:"store",state:()=>({user:JSON.parse(localStorage.getItem("user")),returnUrl:null}),actions:{async shopList(s){return await t.post(`${e}/shopapi/shop/list`,s)},async setShopName(s){return await t.post(`${e}/shopapi/shop/name/set`,s)},async shopChange(s){return await t.post(`${e}/shopapi/shop/change`,s)},async productAllBatch(s){return await t.post(`${e}/shopapi/custom/product/all/batch`,s)},async disconnect(s){return await t.post(`${e}/shopapi/shop/disconnect`,s)},async removeStore(s){return await t.post(`${e}/shopapi/shop/remove`,s)},async shopifyUrlGet(s){return await t.post(`${e}/shopapi/shop/shopify/connect/url/get`,s)},async connectStatus(s){return await t.post(`${e}/shopapi/shop/woocommerce/connect/status`,s)},async woocommerceUrlGet(s){return await t.post(`${e}/shopapi/shop/woocommerce/connect/url/get`,s)},async getEtsyConnectUrl(s){return await t.post(`${e}/shopapi/shop/etsy/connect/url/get`,s)},async submitEtsyConnect(s){return await t.post(`${e}/shopapi/shop/etsy/connect/submit`,s)}}});export{n as s};