import{av as r,aI as e}from"./index-CEcR2aOZ.js";const a="https://dashboard.jetprintapp.com",n=r({id:"pay",state:()=>({}),actions:{async createSetupIntent(t){return await e.post(`${a}/shopapi/pay/stripe/createSetupIntent`,t)},async publicKey(t){return await e.post(`${a}/shopapi/pay/stripe/publicKey`,t)},async querySetupIntent(t){return await e.post(`${a}/shopapi/pay/stripe/querySetupIntent`,t)},async payMsg(t){return await e.post(`${a}/shopapi/merchant/payment/info`,t)},async updatePayMsg(t){return await e.post(`${a}/shopapi/merchant/payment/info/update`,t)},async createPaypal(t){return await e.post(`${a}/shopapi/pay/paypal/create`,t)},async executePaypal(t){return await e.post(`${a}/shopapi/pay/paypal/execute`,t)},async createPaymentIntent(t){return await e.post(`${a}/shopapi/pay/stripe/createPaymentIntent`,t)},async recaptchaValid(t){return await e.post(`${a}/shopapi/common/recaptchaValid`,t)},async createPaymentIntentStatus(t){return await e.post(`${a}/shopapi/pay/stripe/createPaymentIntent/status`,t)},async couponCodeBatchUpdate(t){return await e.post(`${a}/shopapi/order/coupon_code/batch_update`,t)},async couponCdeUpdate(t){return await e.post(`${a}/shopapi/order/coupon_code/update`,t)},async calculateForOrder(t){return await e.post(`${a}/shopapi/order/price/calculateForOrderForLogisticsMethod`,t)}}});export{n as p};