import{cancelSubscription as e,getPricing as t,getSubscription as n}from"../controllers/stripe.controller.mjs";const r=`/api/stripe`,i=()=>`${process.env.BACKEND_URL}${r}`,a=()=>({getPricing:{urlModel:`/pricing`,url:`${i()}/pricing`,method:`POST`},createSubscription:{urlModel:`/create-subscription`,url:`${i()}/create-subscription`,method:`POST`},cancelSubscription:{urlModel:`/cancel-subscription`,url:`${i()}/cancel-subscription`,method:`POST`}}),o=async r=>{r.post(a().getPricing.urlModel,t),r.post(a().createSubscription.urlModel,n),r.post(a().cancelSubscription.urlModel,e)};export{a as getStripeRoutes,r as stripeRoute,o as stripeRouter};
//# sourceMappingURL=stripe.routes.mjs.map