@mercurjs/b2c-core 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.medusa/server/src/admin/index.js +38862 -0
- package/.medusa/server/src/admin/index.mjs +38846 -0
- package/.medusa/server/src/api/admin/attributes/[id]/route.d.ts +177 -0
- package/.medusa/server/src/api/admin/attributes/[id]/route.js +240 -0
- package/.medusa/server/src/api/admin/attributes/[id]/values/[value_id]/route.d.ts +116 -0
- package/.medusa/server/src/api/admin/attributes/[id]/values/[value_id]/route.js +152 -0
- package/.medusa/server/src/api/admin/attributes/[id]/values/route.d.ts +111 -0
- package/.medusa/server/src/api/admin/attributes/[id]/values/route.js +151 -0
- package/.medusa/server/src/api/admin/attributes/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/attributes/middlewares.js +102 -0
- package/.medusa/server/src/api/admin/attributes/query-config.d.ts +20 -0
- package/.medusa/server/src/api/admin/attributes/query-config.js +41 -0
- package/.medusa/server/src/api/admin/attributes/route.d.ts +194 -0
- package/.medusa/server/src/api/admin/attributes/route.js +241 -0
- package/.medusa/server/src/api/admin/attributes/validators.d.ts +497 -0
- package/.medusa/server/src/api/admin/attributes/validators.js +80 -0
- package/.medusa/server/src/api/admin/configuration/[id]/route.d.ts +37 -0
- package/.medusa/server/src/api/admin/configuration/[id]/route.js +47 -0
- package/.medusa/server/src/api/admin/configuration/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/configuration/middlewares.js +23 -0
- package/.medusa/server/src/api/admin/configuration/route.d.ts +77 -0
- package/.medusa/server/src/api/admin/configuration/route.js +102 -0
- package/.medusa/server/src/api/admin/configuration/validators.d.ts +59 -0
- package/.medusa/server/src/api/admin/configuration/validators.js +18 -0
- package/.medusa/server/src/api/admin/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/middlewares.js +16 -0
- package/.medusa/server/src/api/admin/notifications/route.d.ts +55 -0
- package/.medusa/server/src/api/admin/notifications/route.js +67 -0
- package/.medusa/server/src/api/admin/order-sets/[id]/route.d.ts +47 -0
- package/.medusa/server/src/api/admin/order-sets/[id]/route.js +61 -0
- package/.medusa/server/src/api/admin/order-sets/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/order-sets/middlewares.js +23 -0
- package/.medusa/server/src/api/admin/order-sets/query-config.d.ts +11 -0
- package/.medusa/server/src/api/admin/order-sets/query-config.js +68 -0
- package/.medusa/server/src/api/admin/order-sets/route.d.ts +60 -0
- package/.medusa/server/src/api/admin/order-sets/route.js +97 -0
- package/.medusa/server/src/api/admin/order-sets/validators.d.ts +24 -0
- package/.medusa/server/src/api/admin/order-sets/validators.js +12 -0
- package/.medusa/server/src/api/admin/orders/[id]/route.d.ts +4 -0
- package/.medusa/server/src/api/admin/orders/[id]/route.js +20 -0
- package/.medusa/server/src/api/admin/products/[id]/applicable-attributes/route.d.ts +50 -0
- package/.medusa/server/src/api/admin/products/[id]/applicable-attributes/route.js +58 -0
- package/.medusa/server/src/api/admin/products/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/products/middlewares.js +16 -0
- package/.medusa/server/src/api/admin/products/query-config.d.ts +10 -0
- package/.medusa/server/src/api/admin/products/query-config.js +24 -0
- package/.medusa/server/src/api/admin/products/validators.d.ts +1803 -0
- package/.medusa/server/src/api/admin/products/validators.js +236 -0
- package/.medusa/server/src/api/admin/sellers/[id]/customer-groups/route.d.ts +73 -0
- package/.medusa/server/src/api/admin/sellers/[id]/customer-groups/route.js +100 -0
- package/.medusa/server/src/api/admin/sellers/[id]/orders/route.d.ts +73 -0
- package/.medusa/server/src/api/admin/sellers/[id]/orders/route.js +113 -0
- package/.medusa/server/src/api/admin/sellers/[id]/products/route.d.ts +73 -0
- package/.medusa/server/src/api/admin/sellers/[id]/products/route.js +100 -0
- package/.medusa/server/src/api/admin/sellers/[id]/route.d.ts +134 -0
- package/.medusa/server/src/api/admin/sellers/[id]/route.js +167 -0
- package/.medusa/server/src/api/admin/sellers/invite/route.d.ts +52 -0
- package/.medusa/server/src/api/admin/sellers/invite/route.js +61 -0
- package/.medusa/server/src/api/admin/sellers/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/sellers/middlewares.js +58 -0
- package/.medusa/server/src/api/admin/sellers/query-config.d.ts +31 -0
- package/.medusa/server/src/api/admin/sellers/query-config.js +43 -0
- package/.medusa/server/src/api/admin/sellers/route.d.ts +54 -0
- package/.medusa/server/src/api/admin/sellers/route.js +71 -0
- package/.medusa/server/src/api/admin/sellers/validators.d.ts +134 -0
- package/.medusa/server/src/api/admin/sellers/validators.js +45 -0
- package/.medusa/server/src/api/admin/stock-locations/route.d.ts +2 -0
- package/.medusa/server/src/api/admin/stock-locations/route.js +21 -0
- package/.medusa/server/src/api/admin/talk-js/route.d.ts +2 -0
- package/.medusa/server/src/api/admin/talk-js/route.js +9 -0
- package/.medusa/server/src/api/hooks/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/hooks/middlewares.js +11 -0
- package/.medusa/server/src/api/hooks/payouts/route.d.ts +2 -0
- package/.medusa/server/src/api/hooks/payouts/route.js +22 -0
- package/.medusa/server/src/api/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/middlewares.js +10 -0
- package/.medusa/server/src/api/openapi/admin/attribute.d.ts +106 -0
- package/.medusa/server/src/api/openapi/admin/attribute.js +108 -0
- package/.medusa/server/src/api/openapi/admin/commission.d.ts +177 -0
- package/.medusa/server/src/api/openapi/admin/commission.js +179 -0
- package/.medusa/server/src/api/openapi/admin/configuration.d.ts +16 -0
- package/.medusa/server/src/api/openapi/admin/configuration.js +18 -0
- package/.medusa/server/src/api/openapi/admin/notification.d.ts +33 -0
- package/.medusa/server/src/api/openapi/admin/notification.js +35 -0
- package/.medusa/server/src/api/openapi/admin/order-set.d.ts +78 -0
- package/.medusa/server/src/api/openapi/admin/order-set.js +80 -0
- package/.medusa/server/src/api/openapi/admin/request.d.ts +45 -0
- package/.medusa/server/src/api/openapi/admin/request.js +47 -0
- package/.medusa/server/src/api/openapi/admin/return-request.d.ts +86 -0
- package/.medusa/server/src/api/openapi/admin/return-request.js +88 -0
- package/.medusa/server/src/api/openapi/admin/seller.d.ts +97 -0
- package/.medusa/server/src/api/openapi/admin/seller.js +99 -0
- package/.medusa/server/src/api/openapi/store/order-set.d.ts +78 -0
- package/.medusa/server/src/api/openapi/store/order-set.js +80 -0
- package/.medusa/server/src/api/openapi/store/return.d.ts +111 -0
- package/.medusa/server/src/api/openapi/store/return.js +113 -0
- package/.medusa/server/src/api/openapi/store/seller.d.ts +64 -0
- package/.medusa/server/src/api/openapi/store/seller.js +66 -0
- package/.medusa/server/src/api/openapi/store/wishlist.d.ts +146 -0
- package/.medusa/server/src/api/openapi/store/wishlist.js +148 -0
- package/.medusa/server/src/api/openapi/vendor/attribute.d.ts +73 -0
- package/.medusa/server/src/api/openapi/vendor/attribute.js +75 -0
- package/.medusa/server/src/api/openapi/vendor/auth.d.ts +129 -0
- package/.medusa/server/src/api/openapi/vendor/auth.js +131 -0
- package/.medusa/server/src/api/openapi/vendor/campaign.d.ts +87 -0
- package/.medusa/server/src/api/openapi/vendor/campaign.js +89 -0
- package/.medusa/server/src/api/openapi/vendor/commission.d.ts +177 -0
- package/.medusa/server/src/api/openapi/vendor/commission.js +179 -0
- package/.medusa/server/src/api/openapi/vendor/customer.d.ts +48 -0
- package/.medusa/server/src/api/openapi/vendor/customer.js +50 -0
- package/.medusa/server/src/api/openapi/vendor/fulfillment.d.ts +463 -0
- package/.medusa/server/src/api/openapi/vendor/fulfillment.js +465 -0
- package/.medusa/server/src/api/openapi/vendor/marketplace.d.ts +26 -0
- package/.medusa/server/src/api/openapi/vendor/marketplace.js +28 -0
- package/.medusa/server/src/api/openapi/vendor/notification.d.ts +33 -0
- package/.medusa/server/src/api/openapi/vendor/notification.js +35 -0
- package/.medusa/server/src/api/openapi/vendor/onboarding.d.ts +39 -0
- package/.medusa/server/src/api/openapi/vendor/onboarding.js +41 -0
- package/.medusa/server/src/api/openapi/vendor/order.d.ts +1521 -0
- package/.medusa/server/src/api/openapi/vendor/order.js +1523 -0
- package/.medusa/server/src/api/openapi/vendor/payout.d.ts +110 -0
- package/.medusa/server/src/api/openapi/vendor/payout.js +112 -0
- package/.medusa/server/src/api/openapi/vendor/price-list.d.ts +124 -0
- package/.medusa/server/src/api/openapi/vendor/price-list.js +126 -0
- package/.medusa/server/src/api/openapi/vendor/price-preference.d.ts +47 -0
- package/.medusa/server/src/api/openapi/vendor/price-preference.js +49 -0
- package/.medusa/server/src/api/openapi/vendor/product.d.ts +467 -0
- package/.medusa/server/src/api/openapi/vendor/product.js +469 -0
- package/.medusa/server/src/api/openapi/vendor/promotion.d.ts +165 -0
- package/.medusa/server/src/api/openapi/vendor/promotion.js +167 -0
- package/.medusa/server/src/api/openapi/vendor/region.d.ts +58 -0
- package/.medusa/server/src/api/openapi/vendor/region.js +60 -0
- package/.medusa/server/src/api/openapi/vendor/request.d.ts +38 -0
- package/.medusa/server/src/api/openapi/vendor/request.js +40 -0
- package/.medusa/server/src/api/openapi/vendor/reservation.d.ts +54 -0
- package/.medusa/server/src/api/openapi/vendor/reservation.js +56 -0
- package/.medusa/server/src/api/openapi/vendor/return-request.d.ts +72 -0
- package/.medusa/server/src/api/openapi/vendor/return-request.js +74 -0
- package/.medusa/server/src/api/openapi/vendor/return.d.ts +111 -0
- package/.medusa/server/src/api/openapi/vendor/return.js +113 -0
- package/.medusa/server/src/api/openapi/vendor/review.d.ts +28 -0
- package/.medusa/server/src/api/openapi/vendor/review.js +30 -0
- package/.medusa/server/src/api/openapi/vendor/sales-channels.d.ts +44 -0
- package/.medusa/server/src/api/openapi/vendor/sales-channels.js +46 -0
- package/.medusa/server/src/api/openapi/vendor/seller.d.ts +170 -0
- package/.medusa/server/src/api/openapi/vendor/seller.js +172 -0
- package/.medusa/server/src/api/openapi/vendor/store.d.ts +54 -0
- package/.medusa/server/src/api/openapi/vendor/store.js +56 -0
- package/.medusa/server/src/api/store/carts/[id]/complete/route.d.ts +2 -0
- package/.medusa/server/src/api/store/carts/[id]/complete/route.js +20 -0
- package/.medusa/server/src/api/store/carts/[id]/line-items/[line_id]/route.d.ts +3 -0
- package/.medusa/server/src/api/store/carts/[id]/line-items/[line_id]/route.js +17 -0
- package/.medusa/server/src/api/store/carts/[id]/shipping-methods/route.d.ts +5 -0
- package/.medusa/server/src/api/store/carts/[id]/shipping-methods/route.js +43 -0
- package/.medusa/server/src/api/store/carts/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/carts/middlewares.js +60 -0
- package/.medusa/server/src/api/store/carts/validators.d.ts +9 -0
- package/.medusa/server/src/api/store/carts/validators.js +8 -0
- package/.medusa/server/src/api/store/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/middlewares.js +27 -0
- package/.medusa/server/src/api/store/order-set/[id]/route.d.ts +2 -0
- package/.medusa/server/src/api/store/order-set/[id]/route.js +15 -0
- package/.medusa/server/src/api/store/order-set/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/order-set/middlewares.js +23 -0
- package/.medusa/server/src/api/store/order-set/query-config.d.ts +11 -0
- package/.medusa/server/src/api/store/order-set/query-config.js +50 -0
- package/.medusa/server/src/api/store/order-set/route.d.ts +76 -0
- package/.medusa/server/src/api/store/order-set/route.js +104 -0
- package/.medusa/server/src/api/store/order-set/validators.d.ts +19 -0
- package/.medusa/server/src/api/store/order-set/validators.js +9 -0
- package/.medusa/server/src/api/store/returns/[id]/route.d.ts +2 -0
- package/.medusa/server/src/api/store/returns/[id]/route.js +22 -0
- package/.medusa/server/src/api/store/returns/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/returns/middlewares.js +23 -0
- package/.medusa/server/src/api/store/returns/query-config.d.ts +11 -0
- package/.medusa/server/src/api/store/returns/query-config.js +29 -0
- package/.medusa/server/src/api/store/returns/route.d.ts +76 -0
- package/.medusa/server/src/api/store/returns/route.js +102 -0
- package/.medusa/server/src/api/store/returns/validators.d.ts +19 -0
- package/.medusa/server/src/api/store/returns/validators.js +9 -0
- package/.medusa/server/src/api/store/seller/[handle]/route.d.ts +36 -0
- package/.medusa/server/src/api/store/seller/[handle]/route.js +53 -0
- package/.medusa/server/src/api/store/seller/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/seller/middlewares.js +23 -0
- package/.medusa/server/src/api/store/seller/query-config.d.ts +11 -0
- package/.medusa/server/src/api/store/seller/query-config.js +27 -0
- package/.medusa/server/src/api/store/seller/route.d.ts +53 -0
- package/.medusa/server/src/api/store/seller/route.js +71 -0
- package/.medusa/server/src/api/store/seller/validators.d.ts +21 -0
- package/.medusa/server/src/api/store/seller/validators.js +9 -0
- package/.medusa/server/src/api/store/shipping-options/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/shipping-options/middlewares.js +24 -0
- package/.medusa/server/src/api/store/shipping-options/query-config.d.ts +10 -0
- package/.medusa/server/src/api/store/shipping-options/query-config.js +14 -0
- package/.medusa/server/src/api/store/shipping-options/return/route.d.ts +50 -0
- package/.medusa/server/src/api/store/shipping-options/return/route.js +65 -0
- package/.medusa/server/src/api/store/shipping-options/route.d.ts +2 -0
- package/.medusa/server/src/api/store/shipping-options/route.js +14 -0
- package/.medusa/server/src/api/store/shipping-options/validators.d.ts +77 -0
- package/.medusa/server/src/api/store/shipping-options/validators.js +28 -0
- package/.medusa/server/src/api/store/wishlist/[id]/product/[reference_id]/route.d.ts +46 -0
- package/.medusa/server/src/api/store/wishlist/[id]/product/[reference_id]/route.js +61 -0
- package/.medusa/server/src/api/store/wishlist/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/wishlist/middlewares.js +39 -0
- package/.medusa/server/src/api/store/wishlist/query-config.d.ts +11 -0
- package/.medusa/server/src/api/store/wishlist/query-config.js +43 -0
- package/.medusa/server/src/api/store/wishlist/route.d.ts +103 -0
- package/.medusa/server/src/api/store/wishlist/route.js +152 -0
- package/.medusa/server/src/api/store/wishlist/validators.d.ts +63 -0
- package/.medusa/server/src/api/store/wishlist/validators.js +45 -0
- package/.medusa/server/src/api/vendor/attributes/[id]/route.d.ts +48 -0
- package/.medusa/server/src/api/vendor/attributes/[id]/route.js +65 -0
- package/.medusa/server/src/api/vendor/attributes/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/attributes/middlewares.js +56 -0
- package/.medusa/server/src/api/vendor/attributes/query-config.d.ts +20 -0
- package/.medusa/server/src/api/vendor/attributes/query-config.js +40 -0
- package/.medusa/server/src/api/vendor/attributes/route.d.ts +80 -0
- package/.medusa/server/src/api/vendor/attributes/route.js +99 -0
- package/.medusa/server/src/api/vendor/attributes/validators.d.ts +34 -0
- package/.medusa/server/src/api/vendor/attributes/validators.js +16 -0
- package/.medusa/server/src/api/vendor/campaigns/[id]/route.d.ts +116 -0
- package/.medusa/server/src/api/vendor/campaigns/[id]/route.js +161 -0
- package/.medusa/server/src/api/vendor/campaigns/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/campaigns/middlewares.js +63 -0
- package/.medusa/server/src/api/vendor/campaigns/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/campaigns/query-config.js +27 -0
- package/.medusa/server/src/api/vendor/campaigns/route.d.ts +90 -0
- package/.medusa/server/src/api/vendor/campaigns/route.js +138 -0
- package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +206 -0
- package/.medusa/server/src/api/vendor/campaigns/validators.js +63 -0
- package/.medusa/server/src/api/vendor/configuration/route.d.ts +26 -0
- package/.medusa/server/src/api/vendor/configuration/route.js +48 -0
- package/.medusa/server/src/api/vendor/cors.d.ts +2 -0
- package/.medusa/server/src/api/vendor/cors.js +18 -0
- package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.js +62 -0
- package/.medusa/server/src/api/vendor/customer-groups/[id]/route.d.ts +109 -0
- package/.medusa/server/src/api/vendor/customer-groups/[id]/route.js +159 -0
- package/.medusa/server/src/api/vendor/customer-groups/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/customer-groups/middlewares.js +75 -0
- package/.medusa/server/src/api/vendor/customer-groups/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/customer-groups/query-config.js +25 -0
- package/.medusa/server/src/api/vendor/customer-groups/route.d.ts +80 -0
- package/.medusa/server/src/api/vendor/customer-groups/route.js +123 -0
- package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +65 -0
- package/.medusa/server/src/api/vendor/customer-groups/validators.js +21 -0
- package/.medusa/server/src/api/vendor/customers/[id]/customer-groups/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/customers/[id]/customer-groups/route.js +65 -0
- package/.medusa/server/src/api/vendor/customers/[id]/orders/route.d.ts +60 -0
- package/.medusa/server/src/api/vendor/customers/[id]/orders/route.js +90 -0
- package/.medusa/server/src/api/vendor/customers/[id]/route.d.ts +31 -0
- package/.medusa/server/src/api/vendor/customers/[id]/route.js +48 -0
- package/.medusa/server/src/api/vendor/customers/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/customers/middlewares.js +38 -0
- package/.medusa/server/src/api/vendor/customers/query-config.d.ts +23 -0
- package/.medusa/server/src/api/vendor/customers/query-config.js +70 -0
- package/.medusa/server/src/api/vendor/customers/route.d.ts +51 -0
- package/.medusa/server/src/api/vendor/customers/route.js +69 -0
- package/.medusa/server/src/api/vendor/customers/utils.d.ts +2 -0
- package/.medusa/server/src/api/vendor/customers/utils.js +27 -0
- package/.medusa/server/src/api/vendor/customers/validators.d.ts +68 -0
- package/.medusa/server/src/api/vendor/customers/validators.js +18 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/[id]/options/route.d.ts +38 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/[id]/options/route.js +49 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/middlewares.js +16 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/query-config.js +15 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/route.js +71 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +21 -0
- package/.medusa/server/src/api/vendor/fulfillment-providers/validators.js +9 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/route.d.ts +40 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/route.js +63 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/[zone_id]/route.d.ts +88 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/[zone_id]/route.js +132 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/route.js +60 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/helpers.d.ts +5 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/helpers.js +10 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/middlewares.js +71 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/query-config.js +24 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +433 -0
- package/.medusa/server/src/api/vendor/fulfillment-sets/validators.js +205 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.d.ts +65 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.js +115 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/batch/route.d.ts +30 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/batch/route.js +70 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/route.js +98 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/route.js +95 -0
- package/.medusa/server/src/api/vendor/inventory-items/location-levels/batch/route.d.ts +23 -0
- package/.medusa/server/src/api/vendor/inventory-items/location-levels/batch/route.js +52 -0
- package/.medusa/server/src/api/vendor/inventory-items/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/inventory-items/middlewares.js +114 -0
- package/.medusa/server/src/api/vendor/inventory-items/query-config.d.ts +22 -0
- package/.medusa/server/src/api/vendor/inventory-items/query-config.js +52 -0
- package/.medusa/server/src/api/vendor/inventory-items/route.d.ts +18 -0
- package/.medusa/server/src/api/vendor/inventory-items/route.js +45 -0
- package/.medusa/server/src/api/vendor/inventory-items/utils.d.ts +15 -0
- package/.medusa/server/src/api/vendor/inventory-items/utils.js +74 -0
- package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +381 -0
- package/.medusa/server/src/api/vendor/inventory-items/validators.js +86 -0
- package/.medusa/server/src/api/vendor/invites/accept/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/invites/accept/route.js +56 -0
- package/.medusa/server/src/api/vendor/invites/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/invites/middlewares.js +34 -0
- package/.medusa/server/src/api/vendor/invites/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/invites/query-config.js +21 -0
- package/.medusa/server/src/api/vendor/invites/route.d.ts +85 -0
- package/.medusa/server/src/api/vendor/invites/route.js +140 -0
- package/.medusa/server/src/api/vendor/invites/validators.d.ts +74 -0
- package/.medusa/server/src/api/vendor/invites/validators.js +23 -0
- package/.medusa/server/src/api/vendor/me/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/me/middlewares.js +16 -0
- package/.medusa/server/src/api/vendor/me/route.d.ts +25 -0
- package/.medusa/server/src/api/vendor/me/route.js +37 -0
- package/.medusa/server/src/api/vendor/members/[id]/route.d.ts +104 -0
- package/.medusa/server/src/api/vendor/members/[id]/route.js +145 -0
- package/.medusa/server/src/api/vendor/members/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/members/middlewares.js +48 -0
- package/.medusa/server/src/api/vendor/members/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/members/query-config.js +24 -0
- package/.medusa/server/src/api/vendor/members/route.d.ts +62 -0
- package/.medusa/server/src/api/vendor/members/route.js +82 -0
- package/.medusa/server/src/api/vendor/members/validators.d.ts +58 -0
- package/.medusa/server/src/api/vendor/members/validators.js +18 -0
- package/.medusa/server/src/api/vendor/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/middlewares.js +115 -0
- package/.medusa/server/src/api/vendor/notifications/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/notifications/middlewares.js +16 -0
- package/.medusa/server/src/api/vendor/notifications/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/notifications/query-config.js +23 -0
- package/.medusa/server/src/api/vendor/notifications/route.d.ts +83 -0
- package/.medusa/server/src/api/vendor/notifications/route.js +107 -0
- package/.medusa/server/src/api/vendor/notifications/validators.d.ts +21 -0
- package/.medusa/server/src/api/vendor/notifications/validators.js +10 -0
- package/.medusa/server/src/api/vendor/orders/[id]/cancel/route.d.ts +31 -0
- package/.medusa/server/src/api/vendor/orders/[id]/cancel/route.js +56 -0
- package/.medusa/server/src/api/vendor/orders/[id]/changes/route.d.ts +39 -0
- package/.medusa/server/src/api/vendor/orders/[id]/changes/route.js +54 -0
- package/.medusa/server/src/api/vendor/orders/[id]/complete/route.d.ts +31 -0
- package/.medusa/server/src/api/vendor/orders/[id]/complete/route.js +55 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.js +61 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.js +57 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.d.ts +43 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.js +67 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.js +52 -0
- package/.medusa/server/src/api/vendor/orders/[id]/route.d.ts +31 -0
- package/.medusa/server/src/api/vendor/orders/[id]/route.js +50 -0
- package/.medusa/server/src/api/vendor/orders/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/orders/middlewares.js +135 -0
- package/.medusa/server/src/api/vendor/orders/query-config.d.ts +22 -0
- package/.medusa/server/src/api/vendor/orders/query-config.js +97 -0
- package/.medusa/server/src/api/vendor/orders/route.d.ts +96 -0
- package/.medusa/server/src/api/vendor/orders/route.js +138 -0
- package/.medusa/server/src/api/vendor/orders/validators.d.ts +250 -0
- package/.medusa/server/src/api/vendor/orders/validators.js +75 -0
- package/.medusa/server/src/api/vendor/payout-account/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/payout-account/middlewares.js +35 -0
- package/.medusa/server/src/api/vendor/payout-account/onboarding/route.d.ts +30 -0
- package/.medusa/server/src/api/vendor/payout-account/onboarding/route.js +56 -0
- package/.medusa/server/src/api/vendor/payout-account/query-config.d.ts +7 -0
- package/.medusa/server/src/api/vendor/payout-account/query-config.js +18 -0
- package/.medusa/server/src/api/vendor/payout-account/route.d.ts +59 -0
- package/.medusa/server/src/api/vendor/payout-account/route.js +100 -0
- package/.medusa/server/src/api/vendor/payout-account/sync/route.d.ts +54 -0
- package/.medusa/server/src/api/vendor/payout-account/sync/route.js +77 -0
- package/.medusa/server/src/api/vendor/payout-account/utils.d.ts +2 -0
- package/.medusa/server/src/api/vendor/payout-account/utils.js +19 -0
- package/.medusa/server/src/api/vendor/payout-account/validators.d.ts +43 -0
- package/.medusa/server/src/api/vendor/payout-account/validators.js +35 -0
- package/.medusa/server/src/api/vendor/payouts/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/payouts/middlewares.js +18 -0
- package/.medusa/server/src/api/vendor/payouts/query-config.d.ts +7 -0
- package/.medusa/server/src/api/vendor/payouts/query-config.js +11 -0
- package/.medusa/server/src/api/vendor/payouts/route.d.ts +86 -0
- package/.medusa/server/src/api/vendor/payouts/route.js +119 -0
- package/.medusa/server/src/api/vendor/payouts/validators.d.ts +21 -0
- package/.medusa/server/src/api/vendor/payouts/validators.js +9 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/prices/[price_id]/route.d.ts +44 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/prices/[price_id]/route.js +75 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/prices/route.d.ts +43 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/prices/route.js +69 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/products/route.d.ts +102 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/products/route.js +164 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/route.d.ts +111 -0
- package/.medusa/server/src/api/vendor/price-lists/[id]/route.js +154 -0
- package/.medusa/server/src/api/vendor/price-lists/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/price-lists/middlewares.js +109 -0
- package/.medusa/server/src/api/vendor/price-lists/query-config.d.ts +22 -0
- package/.medusa/server/src/api/vendor/price-lists/query-config.js +52 -0
- package/.medusa/server/src/api/vendor/price-lists/route.d.ts +87 -0
- package/.medusa/server/src/api/vendor/price-lists/route.js +124 -0
- package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +412 -0
- package/.medusa/server/src/api/vendor/price-lists/validators.js +85 -0
- package/.medusa/server/src/api/vendor/price-preferences/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/price-preferences/middlewares.js +16 -0
- package/.medusa/server/src/api/vendor/price-preferences/query-config.d.ts +9 -0
- package/.medusa/server/src/api/vendor/price-preferences/query-config.js +21 -0
- package/.medusa/server/src/api/vendor/price-preferences/route.d.ts +92 -0
- package/.medusa/server/src/api/vendor/price-preferences/route.js +111 -0
- package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +52 -0
- package/.medusa/server/src/api/vendor/price-preferences/validators.js +19 -0
- package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.d.ts +2 -0
- package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.js +24 -0
- package/.medusa/server/src/api/vendor/product-categories/[id]/route.d.ts +36 -0
- package/.medusa/server/src/api/vendor/product-categories/[id]/route.js +51 -0
- package/.medusa/server/src/api/vendor/product-categories/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/product-categories/middlewares.js +32 -0
- package/.medusa/server/src/api/vendor/product-categories/query-config.d.ts +22 -0
- package/.medusa/server/src/api/vendor/product-categories/query-config.js +47 -0
- package/.medusa/server/src/api/vendor/product-categories/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/product-categories/route.js +72 -0
- package/.medusa/server/src/api/vendor/product-categories/utils.d.ts +5 -0
- package/.medusa/server/src/api/vendor/product-categories/utils.js +30 -0
- package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +57 -0
- package/.medusa/server/src/api/vendor/product-categories/validators.js +11 -0
- package/.medusa/server/src/api/vendor/product-collections/[id]/products/route.d.ts +2 -0
- package/.medusa/server/src/api/vendor/product-collections/[id]/products/route.js +24 -0
- package/.medusa/server/src/api/vendor/product-collections/[id]/route.d.ts +36 -0
- package/.medusa/server/src/api/vendor/product-collections/[id]/route.js +51 -0
- package/.medusa/server/src/api/vendor/product-collections/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/product-collections/middlewares.js +32 -0
- package/.medusa/server/src/api/vendor/product-collections/query-config.d.ts +22 -0
- package/.medusa/server/src/api/vendor/product-collections/query-config.js +42 -0
- package/.medusa/server/src/api/vendor/product-collections/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/product-collections/route.js +72 -0
- package/.medusa/server/src/api/vendor/product-collections/utils.d.ts +5 -0
- package/.medusa/server/src/api/vendor/product-collections/utils.js +29 -0
- package/.medusa/server/src/api/vendor/product-collections/validators.d.ts +42 -0
- package/.medusa/server/src/api/vendor/product-collections/validators.js +13 -0
- package/.medusa/server/src/api/vendor/product-tags/[id]/route.d.ts +36 -0
- package/.medusa/server/src/api/vendor/product-tags/[id]/route.js +51 -0
- package/.medusa/server/src/api/vendor/product-tags/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/product-tags/middlewares.js +23 -0
- package/.medusa/server/src/api/vendor/product-tags/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/product-tags/query-config.js +21 -0
- package/.medusa/server/src/api/vendor/product-tags/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/product-tags/route.js +66 -0
- package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +82 -0
- package/.medusa/server/src/api/vendor/product-tags/validators.js +25 -0
- package/.medusa/server/src/api/vendor/product-types/[id]/route.d.ts +36 -0
- package/.medusa/server/src/api/vendor/product-types/[id]/route.js +51 -0
- package/.medusa/server/src/api/vendor/product-types/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/product-types/middlewares.js +23 -0
- package/.medusa/server/src/api/vendor/product-types/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/product-types/query-config.js +21 -0
- package/.medusa/server/src/api/vendor/product-types/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/product-types/route.js +71 -0
- package/.medusa/server/src/api/vendor/product-types/validators.d.ts +21 -0
- package/.medusa/server/src/api/vendor/product-types/validators.js +9 -0
- package/.medusa/server/src/api/vendor/products/[id]/applicable-attributes/route.d.ts +69 -0
- package/.medusa/server/src/api/vendor/products/[id]/applicable-attributes/route.js +115 -0
- package/.medusa/server/src/api/vendor/products/[id]/options/[option_id]/route.d.ts +92 -0
- package/.medusa/server/src/api/vendor/products/[id]/options/[option_id]/route.js +157 -0
- package/.medusa/server/src/api/vendor/products/[id]/options/route.d.ts +43 -0
- package/.medusa/server/src/api/vendor/products/[id]/options/route.js +86 -0
- package/.medusa/server/src/api/vendor/products/[id]/route.d.ts +116 -0
- package/.medusa/server/src/api/vendor/products/[id]/route.js +175 -0
- package/.medusa/server/src/api/vendor/products/[id]/status/route.d.ts +43 -0
- package/.medusa/server/src/api/vendor/products/[id]/status/route.js +69 -0
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +92 -0
- package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +161 -0
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +43 -0
- package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +89 -0
- package/.medusa/server/src/api/vendor/products/export/route.d.ts +2 -0
- package/.medusa/server/src/api/vendor/products/export/route.js +17 -0
- package/.medusa/server/src/api/vendor/products/import/route.d.ts +2 -0
- package/.medusa/server/src/api/vendor/products/import/route.js +24 -0
- package/.medusa/server/src/api/vendor/products/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/products/middlewares.js +174 -0
- package/.medusa/server/src/api/vendor/products/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/products/query-config.js +50 -0
- package/.medusa/server/src/api/vendor/products/route.d.ts +89 -0
- package/.medusa/server/src/api/vendor/products/route.js +153 -0
- package/.medusa/server/src/api/vendor/products/utils.d.ts +5 -0
- package/.medusa/server/src/api/vendor/products/utils.js +33 -0
- package/.medusa/server/src/api/vendor/products/validators.d.ts +1642 -0
- package/.medusa/server/src/api/vendor/products/validators.js +231 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/[rule_type]/route.d.ts +56 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/[rule_type]/route.js +160 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/buy-rules/batch/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/buy-rules/batch/route.js +66 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/route.d.ts +110 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/route.js +157 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/rules/batch/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/rules/batch/route.js +66 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/target-rules/batch/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/promotions/[id]/target-rules/batch/route.js +66 -0
- package/.medusa/server/src/api/vendor/promotions/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/promotions/middlewares.js +124 -0
- package/.medusa/server/src/api/vendor/promotions/query-config.d.ts +27 -0
- package/.medusa/server/src/api/vendor/promotions/query-config.js +54 -0
- package/.medusa/server/src/api/vendor/promotions/route.d.ts +83 -0
- package/.medusa/server/src/api/vendor/promotions/route.js +128 -0
- package/.medusa/server/src/api/vendor/promotions/rule-attribute-options/[rule_type]/route.d.ts +64 -0
- package/.medusa/server/src/api/vendor/promotions/rule-attribute-options/[rule_type]/route.js +80 -0
- package/.medusa/server/src/api/vendor/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.d.ts +64 -0
- package/.medusa/server/src/api/vendor/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.js +133 -0
- package/.medusa/server/src/api/vendor/promotions/utils.d.ts +72 -0
- package/.medusa/server/src/api/vendor/promotions/utils.js +123 -0
- package/.medusa/server/src/api/vendor/promotions/validators.d.ts +625 -0
- package/.medusa/server/src/api/vendor/promotions/validators.js +140 -0
- package/.medusa/server/src/api/vendor/regions/[id]/route.d.ts +36 -0
- package/.medusa/server/src/api/vendor/regions/[id]/route.js +51 -0
- package/.medusa/server/src/api/vendor/regions/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/regions/middlewares.js +23 -0
- package/.medusa/server/src/api/vendor/regions/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/regions/query-config.js +25 -0
- package/.medusa/server/src/api/vendor/regions/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/regions/route.js +72 -0
- package/.medusa/server/src/api/vendor/regions/validators.d.ts +21 -0
- package/.medusa/server/src/api/vendor/regions/validators.js +9 -0
- package/.medusa/server/src/api/vendor/reservations/[id]/route.d.ts +116 -0
- package/.medusa/server/src/api/vendor/reservations/[id]/route.js +180 -0
- package/.medusa/server/src/api/vendor/reservations/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/reservations/middlewares.js +121 -0
- package/.medusa/server/src/api/vendor/reservations/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/reservations/query-config.js +26 -0
- package/.medusa/server/src/api/vendor/reservations/route.d.ts +90 -0
- package/.medusa/server/src/api/vendor/reservations/route.js +135 -0
- package/.medusa/server/src/api/vendor/reservations/validators.d.ts +89 -0
- package/.medusa/server/src/api/vendor/reservations/validators.js +26 -0
- package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/[action_id]/route.d.ts +91 -0
- package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/[action_id]/route.js +138 -0
- package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/route.d.ts +43 -0
- package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/route.js +65 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.d.ts +39 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.js +65 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive/route.d.ts +45 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive/route.js +70 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive-items/[action_id]/route.d.ts +91 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive-items/[action_id]/route.js +138 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive-items/route.d.ts +43 -0
- package/.medusa/server/src/api/vendor/returns/[id]/receive-items/route.js +65 -0
- package/.medusa/server/src/api/vendor/returns/[id]/route.d.ts +37 -0
- package/.medusa/server/src/api/vendor/returns/[id]/route.js +54 -0
- package/.medusa/server/src/api/vendor/returns/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/returns/middlewares.js +126 -0
- package/.medusa/server/src/api/vendor/returns/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/returns/query-config.js +35 -0
- package/.medusa/server/src/api/vendor/returns/route.d.ts +54 -0
- package/.medusa/server/src/api/vendor/returns/route.js +82 -0
- package/.medusa/server/src/api/vendor/returns/validators.d.ts +152 -0
- package/.medusa/server/src/api/vendor/returns/validators.js +30 -0
- package/.medusa/server/src/api/vendor/sales-channels/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/sales-channels/middlewares.js +16 -0
- package/.medusa/server/src/api/vendor/sales-channels/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/sales-channels/query-config.js +24 -0
- package/.medusa/server/src/api/vendor/sales-channels/route.d.ts +35 -0
- package/.medusa/server/src/api/vendor/sales-channels/route.js +54 -0
- package/.medusa/server/src/api/vendor/sales-channels/validators.d.ts +9 -0
- package/.medusa/server/src/api/vendor/sales-channels/validators.js +6 -0
- package/.medusa/server/src/api/vendor/sellers/me/onboarding/route.d.ts +47 -0
- package/.medusa/server/src/api/vendor/sellers/me/onboarding/route.js +81 -0
- package/.medusa/server/src/api/vendor/sellers/me/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/sellers/me/route.js +78 -0
- package/.medusa/server/src/api/vendor/sellers/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/sellers/middlewares.js +39 -0
- package/.medusa/server/src/api/vendor/sellers/query-config.d.ts +18 -0
- package/.medusa/server/src/api/vendor/sellers/query-config.js +43 -0
- package/.medusa/server/src/api/vendor/sellers/route.d.ts +30 -0
- package/.medusa/server/src/api/vendor/sellers/route.js +74 -0
- package/.medusa/server/src/api/vendor/sellers/validators.d.ts +251 -0
- package/.medusa/server/src/api/vendor/sellers/validators.js +47 -0
- package/.medusa/server/src/api/vendor/shipping-options/[id]/route.d.ts +106 -0
- package/.medusa/server/src/api/vendor/shipping-options/[id]/route.js +151 -0
- package/.medusa/server/src/api/vendor/shipping-options/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/shipping-options/middlewares.js +69 -0
- package/.medusa/server/src/api/vendor/shipping-options/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/shipping-options/query-config.js +29 -0
- package/.medusa/server/src/api/vendor/shipping-options/route.d.ts +64 -0
- package/.medusa/server/src/api/vendor/shipping-options/route.js +128 -0
- package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +301 -0
- package/.medusa/server/src/api/vendor/shipping-options/validators.js +127 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/[id]/route.d.ts +114 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/[id]/route.js +157 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/middlewares.js +63 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/query-config.js +22 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/route.d.ts +67 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/route.js +129 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +82 -0
- package/.medusa/server/src/api/vendor/shipping-profiles/validators.js +24 -0
- package/.medusa/server/src/api/vendor/statistics/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/statistics/middlewares.js +13 -0
- package/.medusa/server/src/api/vendor/statistics/route.d.ts +39 -0
- package/.medusa/server/src/api/vendor/statistics/route.js +56 -0
- package/.medusa/server/src/api/vendor/statistics/validators.d.ts +24 -0
- package/.medusa/server/src/api/vendor/statistics/validators.js +17 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-providers/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-providers/route.js +84 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-sets/route.d.ts +42 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-sets/route.js +75 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/route.d.ts +115 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/route.js +175 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/sales-channels/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/stock-locations/[id]/sales-channels/route.js +78 -0
- package/.medusa/server/src/api/vendor/stock-locations/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/stock-locations/middlewares.js +92 -0
- package/.medusa/server/src/api/vendor/stock-locations/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/stock-locations/query-config.js +30 -0
- package/.medusa/server/src/api/vendor/stock-locations/route.d.ts +67 -0
- package/.medusa/server/src/api/vendor/stock-locations/route.js +129 -0
- package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +297 -0
- package/.medusa/server/src/api/vendor/stock-locations/validators.js +136 -0
- package/.medusa/server/src/api/vendor/stores/[id]/route.d.ts +36 -0
- package/.medusa/server/src/api/vendor/stores/[id]/route.js +53 -0
- package/.medusa/server/src/api/vendor/stores/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/stores/middlewares.js +23 -0
- package/.medusa/server/src/api/vendor/stores/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/stores/query-config.js +27 -0
- package/.medusa/server/src/api/vendor/stores/route.d.ts +53 -0
- package/.medusa/server/src/api/vendor/stores/route.js +72 -0
- package/.medusa/server/src/api/vendor/stores/validators.d.ts +9 -0
- package/.medusa/server/src/api/vendor/stores/validators.js +6 -0
- package/.medusa/server/src/api/vendor/talkjs/route.d.ts +2 -0
- package/.medusa/server/src/api/vendor/talkjs/route.js +28 -0
- package/.medusa/server/src/api/vendor/uploads/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/uploads/middlewares.js +16 -0
- package/.medusa/server/src/api/vendor/uploads/route.d.ts +3 -0
- package/.medusa/server/src/api/vendor/uploads/route.js +24 -0
- package/.medusa/server/src/jobs/daily-payouts-summary.d.ts +6 -0
- package/.medusa/server/src/jobs/daily-payouts-summary.js +56 -0
- package/.medusa/server/src/jobs/daily-payouts.d.ts +6 -0
- package/.medusa/server/src/jobs/daily-payouts.js +51 -0
- package/.medusa/server/src/links/category-attribute.d.ts +2 -0
- package/.medusa/server/src/links/category-attribute.js +16 -0
- package/.medusa/server/src/links/category-taxcode.d.ts +2 -0
- package/.medusa/server/src/links/category-taxcode.js +13 -0
- package/.medusa/server/src/links/customer-wishlist.d.ts +2 -0
- package/.medusa/server/src/links/customer-wishlist.js +14 -0
- package/.medusa/server/src/links/order-payout.d.ts +2 -0
- package/.medusa/server/src/links/order-payout.js +13 -0
- package/.medusa/server/src/links/order-set-order.d.ts +2 -0
- package/.medusa/server/src/links/order-set-order.js +13 -0
- package/.medusa/server/src/links/order-set-readonly-links.d.ts +1 -0
- package/.medusa/server/src/links/order-set-readonly-links.js +52 -0
- package/.medusa/server/src/links/order-split-order-payment.d.ts +2 -0
- package/.medusa/server/src/links/order-split-order-payment.js +10 -0
- package/.medusa/server/src/links/product-attribute-value.d.ts +2 -0
- package/.medusa/server/src/links/product-attribute-value.js +16 -0
- package/.medusa/server/src/links/seller-campaign.d.ts +2 -0
- package/.medusa/server/src/links/seller-campaign.js +13 -0
- package/.medusa/server/src/links/seller-customer-group.d.ts +2 -0
- package/.medusa/server/src/links/seller-customer-group.js +13 -0
- package/.medusa/server/src/links/seller-fulfillment-set.d.ts +2 -0
- package/.medusa/server/src/links/seller-fulfillment-set.js +13 -0
- package/.medusa/server/src/links/seller-inventory-item.d.ts +2 -0
- package/.medusa/server/src/links/seller-inventory-item.js +13 -0
- package/.medusa/server/src/links/seller-order.d.ts +2 -0
- package/.medusa/server/src/links/seller-order.js +13 -0
- package/.medusa/server/src/links/seller-payout-account.d.ts +2 -0
- package/.medusa/server/src/links/seller-payout-account.js +10 -0
- package/.medusa/server/src/links/seller-price-list.d.ts +2 -0
- package/.medusa/server/src/links/seller-price-list.js +13 -0
- package/.medusa/server/src/links/seller-product.d.ts +2 -0
- package/.medusa/server/src/links/seller-product.js +13 -0
- package/.medusa/server/src/links/seller-promotion.d.ts +2 -0
- package/.medusa/server/src/links/seller-promotion.js +13 -0
- package/.medusa/server/src/links/seller-return.d.ts +2 -0
- package/.medusa/server/src/links/seller-return.js +13 -0
- package/.medusa/server/src/links/seller-service-zone.d.ts +2 -0
- package/.medusa/server/src/links/seller-service-zone.js +13 -0
- package/.medusa/server/src/links/seller-shipping-option.d.ts +2 -0
- package/.medusa/server/src/links/seller-shipping-option.js +13 -0
- package/.medusa/server/src/links/seller-shipping-profile.d.ts +2 -0
- package/.medusa/server/src/links/seller-shipping-profile.js +13 -0
- package/.medusa/server/src/links/seller-stock-location.d.ts +2 -0
- package/.medusa/server/src/links/seller-stock-location.js +13 -0
- package/.medusa/server/src/links/wishlist-product.d.ts +2 -0
- package/.medusa/server/src/links/wishlist-product.js +14 -0
- package/.medusa/server/src/modules/attribute/index.d.ts +50 -0
- package/.medusa/server/src/modules/attribute/index.js +14 -0
- package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.d.ts +5 -0
- package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.js +30 -0
- package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.d.ts +5 -0
- package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.js +14 -0
- package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.d.ts +5 -0
- package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.js +14 -0
- package/.medusa/server/src/modules/attribute/models/attribute-possible-value.d.ts +25 -0
- package/.medusa/server/src/modules/attribute/models/attribute-possible-value.js +26 -0
- package/.medusa/server/src/modules/attribute/models/attribute-value.d.ts +25 -0
- package/.medusa/server/src/modules/attribute/models/attribute-value.js +18 -0
- package/.medusa/server/src/modules/attribute/models/attribute.d.ts +26 -0
- package/.medusa/server/src/modules/attribute/models/attribute.js +29 -0
- package/.medusa/server/src/modules/attribute/service.d.ts +111 -0
- package/.medusa/server/src/modules/attribute/service.js +77 -0
- package/.medusa/server/src/modules/configuration/index.d.ts +23 -0
- package/.medusa/server/src/modules/configuration/index.js +16 -0
- package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.d.ts +5 -0
- package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.js +16 -0
- package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.d.ts +5 -0
- package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.js +16 -0
- package/.medusa/server/src/modules/configuration/models/configuration-rule.d.ts +5 -0
- package/.medusa/server/src/modules/configuration/models/configuration-rule.js +17 -0
- package/.medusa/server/src/modules/configuration/models/index.d.ts +1 -0
- package/.medusa/server/src/modules/configuration/models/index.js +18 -0
- package/.medusa/server/src/modules/configuration/service.d.ts +12 -0
- package/.medusa/server/src/modules/configuration/service.js +17 -0
- package/.medusa/server/src/modules/marketplace/index.d.ts +22 -0
- package/.medusa/server/src/modules/marketplace/index.js +14 -0
- package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.d.ts +5 -0
- package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.js +15 -0
- package/.medusa/server/src/modules/marketplace/models/index.d.ts +1 -0
- package/.medusa/server/src/modules/marketplace/models/index.js +18 -0
- package/.medusa/server/src/modules/marketplace/models/order-set.d.ts +8 -0
- package/.medusa/server/src/modules/marketplace/models/order-set.js +13 -0
- package/.medusa/server/src/modules/marketplace/service.d.ts +13 -0
- package/.medusa/server/src/modules/marketplace/service.js +10 -0
- package/.medusa/server/src/modules/payout/index.d.ts +64 -0
- package/.medusa/server/src/modules/payout/index.js +14 -0
- package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.d.ts +5 -0
- package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.js +28 -0
- package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.d.ts +5 -0
- package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.js +18 -0
- package/.medusa/server/src/modules/payout/models/index.d.ts +4 -0
- package/.medusa/server/src/modules/payout/models/index.js +21 -0
- package/.medusa/server/src/modules/payout/models/onboarding.d.ts +27 -0
- package/.medusa/server/src/modules/payout/models/onboarding.js +14 -0
- package/.medusa/server/src/modules/payout/models/payout-account.d.ts +33 -0
- package/.medusa/server/src/modules/payout/models/payout-account.js +17 -0
- package/.medusa/server/src/modules/payout/models/payout-reversal.d.ts +32 -0
- package/.medusa/server/src/modules/payout/models/payout-reversal.js +15 -0
- package/.medusa/server/src/modules/payout/models/payout.d.ts +32 -0
- package/.medusa/server/src/modules/payout/models/payout.js +17 -0
- package/.medusa/server/src/modules/payout/service.d.ts +443 -0
- package/.medusa/server/src/modules/payout/service.js +164 -0
- package/.medusa/server/src/modules/payout/services/index.d.ts +1 -0
- package/.medusa/server/src/modules/payout/services/index.js +18 -0
- package/.medusa/server/src/modules/payout/services/provider.d.ts +29 -0
- package/.medusa/server/src/modules/payout/services/provider.js +137 -0
- package/.medusa/server/src/modules/seller/index.d.ts +65 -0
- package/.medusa/server/src/modules/seller/index.js +27 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.js +28 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.js +20 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.js +26 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.js +18 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.js +16 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.js +19 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.d.ts +5 -0
- package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.js +14 -0
- package/.medusa/server/src/modules/seller/models/index.d.ts +4 -0
- package/.medusa/server/src/modules/seller/models/index.js +21 -0
- package/.medusa/server/src/modules/seller/models/invite.d.ts +51 -0
- package/.medusa/server/src/modules/seller/models/invite.js +16 -0
- package/.medusa/server/src/modules/seller/models/member.d.ts +51 -0
- package/.medusa/server/src/modules/seller/models/member.js +17 -0
- package/.medusa/server/src/modules/seller/models/onboarding.d.ts +43 -0
- package/.medusa/server/src/modules/seller/models/onboarding.js +14 -0
- package/.medusa/server/src/modules/seller/models/seller.d.ts +51 -0
- package/.medusa/server/src/modules/seller/models/seller.js +28 -0
- package/.medusa/server/src/modules/seller/service.d.ts +268 -0
- package/.medusa/server/src/modules/seller/service.js +110 -0
- package/.medusa/server/src/modules/seller/utils.d.ts +23 -0
- package/.medusa/server/src/modules/seller/utils.js +78 -0
- package/.medusa/server/src/modules/split-order-payment/index.d.ts +22 -0
- package/.medusa/server/src/modules/split-order-payment/index.js +14 -0
- package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.d.ts +5 -0
- package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.js +15 -0
- package/.medusa/server/src/modules/split-order-payment/models/split-order-payment.d.ts +9 -0
- package/.medusa/server/src/modules/split-order-payment/models/split-order-payment.js +14 -0
- package/.medusa/server/src/modules/split-order-payment/service.d.ts +14 -0
- package/.medusa/server/src/modules/split-order-payment/service.js +10 -0
- package/.medusa/server/src/modules/taxcode/index.d.ts +22 -0
- package/.medusa/server/src/modules/taxcode/index.js +14 -0
- package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.d.ts +5 -0
- package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.js +16 -0
- package/.medusa/server/src/modules/taxcode/models/taxcode.d.ts +7 -0
- package/.medusa/server/src/modules/taxcode/models/taxcode.js +11 -0
- package/.medusa/server/src/modules/taxcode/service.d.ts +18 -0
- package/.medusa/server/src/modules/taxcode/service.js +30 -0
- package/.medusa/server/src/modules/wishlist/index.d.ts +23 -0
- package/.medusa/server/src/modules/wishlist/index.js +29 -0
- package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.d.ts +5 -0
- package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.js +15 -0
- package/.medusa/server/src/modules/wishlist/models/wishlist.d.ts +4 -0
- package/.medusa/server/src/modules/wishlist/models/wishlist.js +9 -0
- package/.medusa/server/src/modules/wishlist/service.d.ts +9 -0
- package/.medusa/server/src/modules/wishlist/service.js +10 -0
- package/.medusa/server/src/modules/wishlist/utils.d.ts +42 -0
- package/.medusa/server/src/modules/wishlist/utils.js +48 -0
- package/.medusa/server/src/shared/infra/http/middlewares/apply-reference-filter.d.ts +6 -0
- package/.medusa/server/src/shared/infra/http/middlewares/apply-reference-filter.js +15 -0
- package/.medusa/server/src/shared/infra/http/middlewares/apply-request-status-filter.d.ts +6 -0
- package/.medusa/server/src/shared/infra/http/middlewares/apply-request-status-filter.js +15 -0
- package/.medusa/server/src/shared/infra/http/middlewares/apply-request-type-filter.d.ts +6 -0
- package/.medusa/server/src/shared/infra/http/middlewares/apply-request-type-filter.js +15 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-configuration-rule.d.ts +5 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-configuration-rule.js +23 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-customer-ownership.d.ts +9 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-customer-ownership.js +34 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-ownership.d.ts +34 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-ownership.js +66 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-seller-approved.d.ts +3 -0
- package/.medusa/server/src/shared/infra/http/middlewares/check-seller-approved.js +23 -0
- package/.medusa/server/src/shared/infra/http/middlewares/filter-by-seller-id.d.ts +6 -0
- package/.medusa/server/src/shared/infra/http/middlewares/filter-by-seller-id.js +15 -0
- package/.medusa/server/src/shared/infra/http/middlewares/index.d.ts +9 -0
- package/.medusa/server/src/shared/infra/http/middlewares/index.js +26 -0
- package/.medusa/server/src/shared/infra/http/middlewares/store-active-guard.d.ts +9 -0
- package/.medusa/server/src/shared/infra/http/middlewares/store-active-guard.js +24 -0
- package/.medusa/server/src/shared/infra/http/utils/admin.d.ts +2 -0
- package/.medusa/server/src/shared/infra/http/utils/admin.js +14 -0
- package/.medusa/server/src/shared/infra/http/utils/hosts.d.ts +23 -0
- package/.medusa/server/src/shared/infra/http/utils/hosts.js +43 -0
- package/.medusa/server/src/shared/infra/http/utils/index.d.ts +5 -0
- package/.medusa/server/src/shared/infra/http/utils/index.js +22 -0
- package/.medusa/server/src/shared/infra/http/utils/products.d.ts +5 -0
- package/.medusa/server/src/shared/infra/http/utils/products.js +52 -0
- package/.medusa/server/src/shared/infra/http/utils/seller.d.ts +3 -0
- package/.medusa/server/src/shared/infra/http/utils/seller.js +19 -0
- package/.medusa/server/src/shared/infra/http/utils/unless-base-url.d.ts +10 -0
- package/.medusa/server/src/shared/infra/http/utils/unless-base-url.js +20 -0
- package/.medusa/server/src/shared/infra/http/utils/zod.d.ts +8 -0
- package/.medusa/server/src/shared/infra/http/utils/zod.js +8 -0
- package/.medusa/server/src/shared/utils/index.d.ts +1 -0
- package/.medusa/server/src/shared/utils/index.js +18 -0
- package/.medusa/server/src/shared/utils/money.d.ts +16 -0
- package/.medusa/server/src/shared/utils/money.js +68 -0
- package/.medusa/server/src/subscribers/algolia-fulfillment-set-changed.d.ts +5 -0
- package/.medusa/server/src/subscribers/algolia-fulfillment-set-changed.js +45 -0
- package/.medusa/server/src/subscribers/algolia-inventory-item.changed.d.ts +5 -0
- package/.medusa/server/src/subscribers/algolia-inventory-item.changed.js +31 -0
- package/.medusa/server/src/subscribers/algolia-service-zone-changed.d.ts +5 -0
- package/.medusa/server/src/subscribers/algolia-service-zone-changed.js +45 -0
- package/.medusa/server/src/subscribers/algolia-shipping-option-changed.d.ts +5 -0
- package/.medusa/server/src/subscribers/algolia-shipping-option-changed.js +45 -0
- package/.medusa/server/src/subscribers/algolia-stock-location-changed.d.ts +5 -0
- package/.medusa/server/src/subscribers/algolia-stock-location-changed.js +45 -0
- package/.medusa/server/src/subscribers/notification-admin-new-order-set.d.ts +5 -0
- package/.medusa/server/src/subscribers/notification-admin-new-order-set.js +41 -0
- package/.medusa/server/src/subscribers/notification-seller-new-order.d.ts +5 -0
- package/.medusa/server/src/subscribers/notification-seller-new-order.js +53 -0
- package/.medusa/server/src/subscribers/order-set-placed-payment-capture.d.ts +6 -0
- package/.medusa/server/src/subscribers/order-set-placed-payment-capture.js +49 -0
- package/.medusa/server/src/subscribers/payout-order.d.ts +5 -0
- package/.medusa/server/src/subscribers/payout-order.js +23 -0
- package/.medusa/server/src/subscribers/payout-webhook.d.ts +4 -0
- package/.medusa/server/src/subscribers/payout-webhook.js +31 -0
- package/.medusa/server/src/subscribers/seller-creation-request-accepted.d.ts +4 -0
- package/.medusa/server/src/subscribers/seller-creation-request-accepted.js +27 -0
- package/.medusa/server/src/subscribers/seller-status-changed.d.ts +7 -0
- package/.medusa/server/src/subscribers/seller-status-changed.js +38 -0
- package/.medusa/server/src/subscribers/split-payment-payment-captured.d.ts +5 -0
- package/.medusa/server/src/subscribers/split-payment-payment-captured.js +24 -0
- package/.medusa/server/src/workflows/attribute/index.d.ts +2 -0
- package/.medusa/server/src/workflows/attribute/index.js +19 -0
- package/.medusa/server/src/workflows/attribute/steps/create-attribute-possible-values.d.ts +38 -0
- package/.medusa/server/src/workflows/attribute/steps/create-attribute-possible-values.js +18 -0
- package/.medusa/server/src/workflows/attribute/steps/create-attribute-value.d.ts +37 -0
- package/.medusa/server/src/workflows/attribute/steps/create-attribute-value.js +21 -0
- package/.medusa/server/src/workflows/attribute/steps/create-attributes.d.ts +5 -0
- package/.medusa/server/src/workflows/attribute/steps/create-attributes.js +32 -0
- package/.medusa/server/src/workflows/attribute/steps/delete-attribute-value.d.ts +2 -0
- package/.medusa/server/src/workflows/attribute/steps/delete-attribute-value.js +18 -0
- package/.medusa/server/src/workflows/attribute/steps/delete-attribute.d.ts +6 -0
- package/.medusa/server/src/workflows/attribute/steps/delete-attribute.js +31 -0
- package/.medusa/server/src/workflows/attribute/steps/index.d.ts +8 -0
- package/.medusa/server/src/workflows/attribute/steps/index.js +25 -0
- package/.medusa/server/src/workflows/attribute/steps/update-attribute-possible-value.d.ts +37 -0
- package/.medusa/server/src/workflows/attribute/steps/update-attribute-possible-value.js +18 -0
- package/.medusa/server/src/workflows/attribute/steps/update-attributes.d.ts +20 -0
- package/.medusa/server/src/workflows/attribute/steps/update-attributes.js +37 -0
- package/.medusa/server/src/workflows/attribute/steps/validate-attribute-value.d.ts +3 -0
- package/.medusa/server/src/workflows/attribute/steps/validate-attribute-value.js +53 -0
- package/.medusa/server/src/workflows/attribute/utils/index.d.ts +3 -0
- package/.medusa/server/src/workflows/attribute/utils/index.js +20 -0
- package/.medusa/server/src/workflows/attribute/utils/products-created-handler.d.ts +6 -0
- package/.medusa/server/src/workflows/attribute/utils/products-created-handler.js +35 -0
- package/.medusa/server/src/workflows/attribute/utils/products-updated-handler.d.ts +7 -0
- package/.medusa/server/src/workflows/attribute/utils/products-updated-handler.js +64 -0
- package/.medusa/server/src/workflows/attribute/utils/validate-attribute-values-to-link.d.ts +7 -0
- package/.medusa/server/src/workflows/attribute/utils/validate-attribute-values-to-link.js +43 -0
- package/.medusa/server/src/workflows/attribute/workflows/create-attribute-possible-values.d.ts +37 -0
- package/.medusa/server/src/workflows/attribute/workflows/create-attribute-possible-values.js +11 -0
- package/.medusa/server/src/workflows/attribute/workflows/create-attribute-value.d.ts +37 -0
- package/.medusa/server/src/workflows/attribute/workflows/create-attribute-value.js +32 -0
- package/.medusa/server/src/workflows/attribute/workflows/create-attributes.d.ts +7 -0
- package/.medusa/server/src/workflows/attribute/workflows/create-attributes.js +40 -0
- package/.medusa/server/src/workflows/attribute/workflows/delete-attribute-value.d.ts +3 -0
- package/.medusa/server/src/workflows/attribute/workflows/delete-attribute-value.js +38 -0
- package/.medusa/server/src/workflows/attribute/workflows/delete-attribute.d.ts +6 -0
- package/.medusa/server/src/workflows/attribute/workflows/delete-attribute.js +10 -0
- package/.medusa/server/src/workflows/attribute/workflows/index.d.ts +7 -0
- package/.medusa/server/src/workflows/attribute/workflows/index.js +24 -0
- package/.medusa/server/src/workflows/attribute/workflows/update-attribute-possible-value.d.ts +37 -0
- package/.medusa/server/src/workflows/attribute/workflows/update-attribute-possible-value.js +11 -0
- package/.medusa/server/src/workflows/attribute/workflows/update-attributes.d.ts +23 -0
- package/.medusa/server/src/workflows/attribute/workflows/update-attributes.js +68 -0
- package/.medusa/server/src/workflows/campaigns/index.d.ts +1 -0
- package/.medusa/server/src/workflows/campaigns/index.js +18 -0
- package/.medusa/server/src/workflows/campaigns/workflows/create-vendor-campaign.d.ts +5 -0
- package/.medusa/server/src/workflows/campaigns/workflows/create-vendor-campaign.js +27 -0
- package/.medusa/server/src/workflows/campaigns/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/campaigns/workflows/index.js +18 -0
- package/.medusa/server/src/workflows/cart/index.d.ts +2 -0
- package/.medusa/server/src/workflows/cart/index.js +19 -0
- package/.medusa/server/src/workflows/cart/steps/create-order-set.d.ts +13 -0
- package/.medusa/server/src/workflows/cart/steps/create-order-set.js +14 -0
- package/.medusa/server/src/workflows/cart/steps/filter-seller-shipping-options.d.ts +26 -0
- package/.medusa/server/src/workflows/cart/steps/filter-seller-shipping-options.js +56 -0
- package/.medusa/server/src/workflows/cart/steps/index.d.ts +4 -0
- package/.medusa/server/src/workflows/cart/steps/index.js +21 -0
- package/.medusa/server/src/workflows/cart/steps/validate-cart-sellers.d.ts +6 -0
- package/.medusa/server/src/workflows/cart/steps/validate-cart-sellers.js +29 -0
- package/.medusa/server/src/workflows/cart/steps/validate-cart-shipping-options.d.ts +9 -0
- package/.medusa/server/src/workflows/cart/steps/validate-cart-shipping-options.js +48 -0
- package/.medusa/server/src/workflows/cart/utils/complete-cart-fields.d.ts +1 -0
- package/.medusa/server/src/workflows/cart/utils/complete-cart-fields.js +76 -0
- package/.medusa/server/src/workflows/cart/utils/index.d.ts +3 -0
- package/.medusa/server/src/workflows/cart/utils/index.js +20 -0
- package/.medusa/server/src/workflows/cart/utils/prepare-confirm-inventory-input.d.ts +15 -0
- package/.medusa/server/src/workflows/cart/utils/prepare-confirm-inventory-input.js +92 -0
- package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.d.ts +40 -0
- package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.js +82 -0
- package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.d.ts +9 -0
- package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.js +78 -0
- package/.medusa/server/src/workflows/cart/workflows/delete-seller-line-item.d.ts +6 -0
- package/.medusa/server/src/workflows/cart/workflows/delete-seller-line-item.js +50 -0
- package/.medusa/server/src/workflows/cart/workflows/index.d.ts +6 -0
- package/.medusa/server/src/workflows/cart/workflows/index.js +23 -0
- package/.medusa/server/src/workflows/cart/workflows/list-seller-return-shipping-options-for-order.d.ts +3 -0
- package/.medusa/server/src/workflows/cart/workflows/list-seller-return-shipping-options-for-order.js +27 -0
- package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.d.ts +25 -0
- package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.js +17 -0
- package/.medusa/server/src/workflows/cart/workflows/remove-cart-shipping-method.d.ts +5 -0
- package/.medusa/server/src/workflows/cart/workflows/remove-cart-shipping-method.js +9 -0
- package/.medusa/server/src/workflows/cart/workflows/split-and-complete-cart.d.ts +9 -0
- package/.medusa/server/src/workflows/cart/workflows/split-and-complete-cart.js +246 -0
- package/.medusa/server/src/workflows/common/index.d.ts +1 -0
- package/.medusa/server/src/workflows/common/index.js +18 -0
- package/.medusa/server/src/workflows/common/steps/emit-multiple-events-step.d.ts +6 -0
- package/.medusa/server/src/workflows/common/steps/emit-multiple-events-step.js +12 -0
- package/.medusa/server/src/workflows/common/steps/index.d.ts +1 -0
- package/.medusa/server/src/workflows/common/steps/index.js +18 -0
- package/.medusa/server/src/workflows/configuration/index.d.ts +2 -0
- package/.medusa/server/src/workflows/configuration/index.js +19 -0
- package/.medusa/server/src/workflows/configuration/steps/create-configuration-rule.d.ts +9 -0
- package/.medusa/server/src/workflows/configuration/steps/create-configuration-rule.js +14 -0
- package/.medusa/server/src/workflows/configuration/steps/index.d.ts +2 -0
- package/.medusa/server/src/workflows/configuration/steps/index.js +19 -0
- package/.medusa/server/src/workflows/configuration/steps/update-configuration-rule.d.ts +9 -0
- package/.medusa/server/src/workflows/configuration/steps/update-configuration-rule.js +11 -0
- package/.medusa/server/src/workflows/configuration/workflows/create-configuration-rule.d.ts +9 -0
- package/.medusa/server/src/workflows/configuration/workflows/create-configuration-rule.js +9 -0
- package/.medusa/server/src/workflows/configuration/workflows/index.d.ts +2 -0
- package/.medusa/server/src/workflows/configuration/workflows/index.js +19 -0
- package/.medusa/server/src/workflows/configuration/workflows/update-configuration-rule.d.ts +9 -0
- package/.medusa/server/src/workflows/configuration/workflows/update-configuration-rule.js +9 -0
- package/.medusa/server/src/workflows/customer-groups/index.d.ts +1 -0
- package/.medusa/server/src/workflows/customer-groups/index.js +18 -0
- package/.medusa/server/src/workflows/customer-groups/workflows/create-seller-customer-group.d.ts +7 -0
- package/.medusa/server/src/workflows/customer-groups/workflows/create-seller-customer-group.js +29 -0
- package/.medusa/server/src/workflows/customer-groups/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/customer-groups/workflows/index.js +18 -0
- package/.medusa/server/src/workflows/fulfillment-set/create-location-fulfillment-set-and-associate-with-seller.d.ts +10 -0
- package/.medusa/server/src/workflows/fulfillment-set/create-location-fulfillment-set-and-associate-with-seller.js +36 -0
- package/.medusa/server/src/workflows/fulfillment-set/create-vendor-service-zone.d.ts +7 -0
- package/.medusa/server/src/workflows/fulfillment-set/create-vendor-service-zone.js +30 -0
- package/.medusa/server/src/workflows/fulfillment-set/delete-vendor-service-zone.d.ts +6 -0
- package/.medusa/server/src/workflows/fulfillment-set/delete-vendor-service-zone.js +34 -0
- package/.medusa/server/src/workflows/fulfillment-set/index.d.ts +3 -0
- package/.medusa/server/src/workflows/fulfillment-set/index.js +20 -0
- package/.medusa/server/src/workflows/hooks/order-shipment-created.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/order-shipment-created.js +31 -0
- package/.medusa/server/src/workflows/hooks/product-collections-updated.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-collections-updated.js +19 -0
- package/.medusa/server/src/workflows/hooks/product-created.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-created.js +111 -0
- package/.medusa/server/src/workflows/hooks/product-deleted.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-deleted.js +12 -0
- package/.medusa/server/src/workflows/hooks/product-options-updated.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-options-updated.js +16 -0
- package/.medusa/server/src/workflows/hooks/product-tags-updated.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-tags-updated.js +19 -0
- package/.medusa/server/src/workflows/hooks/product-updated.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-updated.js +18 -0
- package/.medusa/server/src/workflows/hooks/product-variant-created.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-variant-created.js +42 -0
- package/.medusa/server/src/workflows/hooks/product-variants-updated.d.ts +1 -0
- package/.medusa/server/src/workflows/hooks/product-variants-updated.js +16 -0
- package/.medusa/server/src/workflows/index.d.ts +14 -0
- package/.medusa/server/src/workflows/index.js +31 -0
- package/.medusa/server/src/workflows/order/index.d.ts +2 -0
- package/.medusa/server/src/workflows/order/index.js +19 -0
- package/.medusa/server/src/workflows/order/steps/calculate-payout-for-order.d.ts +3 -0
- package/.medusa/server/src/workflows/order/steps/calculate-payout-for-order.js +34 -0
- package/.medusa/server/src/workflows/order/steps/calculate-total-commission.d.ts +6 -0
- package/.medusa/server/src/workflows/order/steps/calculate-total-commission.js +28 -0
- package/.medusa/server/src/workflows/order/steps/create-payout.d.ts +5 -0
- package/.medusa/server/src/workflows/order/steps/create-payout.js +21 -0
- package/.medusa/server/src/workflows/order/steps/index.d.ts +4 -0
- package/.medusa/server/src/workflows/order/steps/index.js +21 -0
- package/.medusa/server/src/workflows/order/steps/validate-no-existing-payout-for-order.d.ts +1 -0
- package/.medusa/server/src/workflows/order/steps/validate-no-existing-payout-for-order.js +23 -0
- package/.medusa/server/src/workflows/order/steps/validate-seller-payout-account.d.ts +2 -0
- package/.medusa/server/src/workflows/order/steps/validate-seller-payout-account.js +15 -0
- package/.medusa/server/src/workflows/order/utils/aggregate-status.d.ts +2 -0
- package/.medusa/server/src/workflows/order/utils/aggregate-status.js +69 -0
- package/.medusa/server/src/workflows/order/workflows/cancel-order.d.ts +4 -0
- package/.medusa/server/src/workflows/order/workflows/cancel-order.js +56 -0
- package/.medusa/server/src/workflows/order/workflows/get-vendor-order-list.d.ts +3 -0
- package/.medusa/server/src/workflows/order/workflows/get-vendor-order-list.js +41 -0
- package/.medusa/server/src/workflows/order/workflows/index.d.ts +3 -0
- package/.medusa/server/src/workflows/order/workflows/index.js +20 -0
- package/.medusa/server/src/workflows/order/workflows/process-payout-for-order.d.ts +5 -0
- package/.medusa/server/src/workflows/order/workflows/process-payout-for-order.js +82 -0
- package/.medusa/server/src/workflows/order-set/index.d.ts +1 -0
- package/.medusa/server/src/workflows/order-set/index.js +18 -0
- package/.medusa/server/src/workflows/order-set/utils/format-order-sets.d.ts +4 -0
- package/.medusa/server/src/workflows/order-set/utils/format-order-sets.js +75 -0
- package/.medusa/server/src/workflows/order-set/utils/index.d.ts +1 -0
- package/.medusa/server/src/workflows/order-set/utils/index.js +18 -0
- package/.medusa/server/src/workflows/order-set/workflows/get-formatted-order-set-list.d.ts +12 -0
- package/.medusa/server/src/workflows/order-set/workflows/get-formatted-order-set-list.js +62 -0
- package/.medusa/server/src/workflows/order-set/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/order-set/workflows/index.js +18 -0
- package/.medusa/server/src/workflows/payout/index.d.ts +2 -0
- package/.medusa/server/src/workflows/payout/index.js +19 -0
- package/.medusa/server/src/workflows/payout/steps/create-payout-reversal.d.ts +8 -0
- package/.medusa/server/src/workflows/payout/steps/create-payout-reversal.js +25 -0
- package/.medusa/server/src/workflows/payout/steps/index.d.ts +2 -0
- package/.medusa/server/src/workflows/payout/steps/index.js +19 -0
- package/.medusa/server/src/workflows/payout/steps/update-payout-account.d.ts +2 -0
- package/.medusa/server/src/workflows/payout/steps/update-payout-account.js +15 -0
- package/.medusa/server/src/workflows/payout/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/payout/workflows/index.js +18 -0
- package/.medusa/server/src/workflows/payout/workflows/process-payout-webhook-action.d.ts +7 -0
- package/.medusa/server/src/workflows/payout/workflows/process-payout-webhook-action.js +20 -0
- package/.medusa/server/src/workflows/price-list/index.d.ts +2 -0
- package/.medusa/server/src/workflows/price-list/index.js +19 -0
- package/.medusa/server/src/workflows/price-list/steps/index.d.ts +1 -0
- package/.medusa/server/src/workflows/price-list/steps/index.js +18 -0
- package/.medusa/server/src/workflows/price-list/steps/validate-vendor-price-list-prices.d.ts +7 -0
- package/.medusa/server/src/workflows/price-list/steps/validate-vendor-price-list-prices.js +60 -0
- package/.medusa/server/src/workflows/price-list/workflows/batch-vendor-price-list-prices.d.ts +10 -0
- package/.medusa/server/src/workflows/price-list/workflows/batch-vendor-price-list-prices.js +26 -0
- package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list-prices.d.ts +6 -0
- package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list-prices.js +21 -0
- package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list.d.ts +5 -0
- package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list.js +34 -0
- package/.medusa/server/src/workflows/price-list/workflows/index.d.ts +3 -0
- package/.medusa/server/src/workflows/price-list/workflows/index.js +20 -0
- package/.medusa/server/src/workflows/product/index.d.ts +2 -0
- package/.medusa/server/src/workflows/product/index.js +19 -0
- package/.medusa/server/src/workflows/product/steps/index.d.ts +1 -0
- package/.medusa/server/src/workflows/product/steps/index.js +18 -0
- package/.medusa/server/src/workflows/product/steps/update-product-status.d.ts +5 -0
- package/.medusa/server/src/workflows/product/steps/update-product-status.js +13 -0
- package/.medusa/server/src/workflows/product/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/product/workflows/index.js +18 -0
- package/.medusa/server/src/workflows/product/workflows/update-product-status.d.ts +5 -0
- package/.medusa/server/src/workflows/product/workflows/update-product-status.js +9 -0
- package/.medusa/server/src/workflows/promotions/index.d.ts +2 -0
- package/.medusa/server/src/workflows/promotions/index.js +19 -0
- package/.medusa/server/src/workflows/promotions/steps/index.d.ts +4 -0
- package/.medusa/server/src/workflows/promotions/steps/index.js +21 -0
- package/.medusa/server/src/workflows/promotions/steps/register-usage-step.d.ts +3 -0
- package/.medusa/server/src/workflows/promotions/steps/register-usage-step.js +21 -0
- package/.medusa/server/src/workflows/promotions/steps/verify-vendor-campaign.d.ts +6 -0
- package/.medusa/server/src/workflows/promotions/steps/verify-vendor-campaign.js +27 -0
- package/.medusa/server/src/workflows/promotions/steps/verify-vendor-promotion.d.ts +5 -0
- package/.medusa/server/src/workflows/promotions/steps/verify-vendor-promotion.js +12 -0
- package/.medusa/server/src/workflows/promotions/steps/verify-vendor-target-promotion-rules.d.ts +5 -0
- package/.medusa/server/src/workflows/promotions/steps/verify-vendor-target-promotion-rules.js +31 -0
- package/.medusa/server/src/workflows/promotions/workflows/batch-vendor-promotion-rules.d.ts +5 -0
- package/.medusa/server/src/workflows/promotions/workflows/batch-vendor-promotion-rules.js +18 -0
- package/.medusa/server/src/workflows/promotions/workflows/create-vendor-promotion.d.ts +5 -0
- package/.medusa/server/src/workflows/promotions/workflows/create-vendor-promotion.js +48 -0
- package/.medusa/server/src/workflows/promotions/workflows/index.d.ts +3 -0
- package/.medusa/server/src/workflows/promotions/workflows/index.js +20 -0
- package/.medusa/server/src/workflows/promotions/workflows/update-vendor-promotion.d.ts +5 -0
- package/.medusa/server/src/workflows/promotions/workflows/update-vendor-promotion.js +16 -0
- package/.medusa/server/src/workflows/seller/index.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/index.js +19 -0
- package/.medusa/server/src/workflows/seller/steps/create-member-invites.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/create-member-invites.js +14 -0
- package/.medusa/server/src/workflows/seller/steps/create-member.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/create-member.js +14 -0
- package/.medusa/server/src/workflows/seller/steps/create-payment-account.d.ts +45 -0
- package/.medusa/server/src/workflows/seller/steps/create-payment-account.js +17 -0
- package/.medusa/server/src/workflows/seller/steps/create-payout-onboarding.d.ts +45 -0
- package/.medusa/server/src/workflows/seller/steps/create-payout-onboarding.js +11 -0
- package/.medusa/server/src/workflows/seller/steps/create-seller-onboarding.d.ts +59 -0
- package/.medusa/server/src/workflows/seller/steps/create-seller-onboarding.js +13 -0
- package/.medusa/server/src/workflows/seller/steps/create-seller-shipping-profile.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/create-seller-shipping-profile.js +30 -0
- package/.medusa/server/src/workflows/seller/steps/create-seller.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/create-seller.js +21 -0
- package/.medusa/server/src/workflows/seller/steps/delete-member-invite.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/steps/delete-member-invite.js +14 -0
- package/.medusa/server/src/workflows/seller/steps/delete-member.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/steps/delete-member.js +20 -0
- package/.medusa/server/src/workflows/seller/steps/delete-seller.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/steps/delete-seller.js +14 -0
- package/.medusa/server/src/workflows/seller/steps/get-seller-products.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/get-seller-products.js +55 -0
- package/.medusa/server/src/workflows/seller/steps/index.d.ts +21 -0
- package/.medusa/server/src/workflows/seller/steps/index.js +38 -0
- package/.medusa/server/src/workflows/seller/steps/recalculate-onboarding.d.ts +58 -0
- package/.medusa/server/src/workflows/seller/steps/recalculate-onboarding.js +84 -0
- package/.medusa/server/src/workflows/seller/steps/send-invitation-email.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/send-invitation-email.js +31 -0
- package/.medusa/server/src/workflows/seller/steps/sync-stripe-account.d.ts +44 -0
- package/.medusa/server/src/workflows/seller/steps/sync-stripe-account.js +11 -0
- package/.medusa/server/src/workflows/seller/steps/update-member-invite.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/update-member-invite.js +18 -0
- package/.medusa/server/src/workflows/seller/steps/update-member.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/update-member.js +15 -0
- package/.medusa/server/src/workflows/seller/steps/update-seller.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/steps/update-seller.js +34 -0
- package/.medusa/server/src/workflows/seller/steps/validate-member-invites.d.ts +59 -0
- package/.medusa/server/src/workflows/seller/steps/validate-member-invites.js +11 -0
- package/.medusa/server/src/workflows/seller/steps/validate-no-existing-payout-account-for-seller.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/steps/validate-no-existing-payout-account-for-seller.js +21 -0
- package/.medusa/server/src/workflows/seller/steps/validate-payout-account-exists-for-seller.d.ts +3 -0
- package/.medusa/server/src/workflows/seller/steps/validate-payout-account-exists-for-seller.js +24 -0
- package/.medusa/server/src/workflows/seller/steps/validate-products-to-import.d.ts +70 -0
- package/.medusa/server/src/workflows/seller/steps/validate-products-to-import.js +16 -0
- package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.d.ts +64 -0
- package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.js +27 -0
- package/.medusa/server/src/workflows/seller/workflows/create-onboarding-for-seller.d.ts +50 -0
- package/.medusa/server/src/workflows/seller/workflows/create-onboarding-for-seller.js +14 -0
- package/.medusa/server/src/workflows/seller/workflows/create-payout-account-for-seller.d.ts +50 -0
- package/.medusa/server/src/workflows/seller/workflows/create-payout-account-for-seller.js +27 -0
- package/.medusa/server/src/workflows/seller/workflows/create-seller.d.ts +10 -0
- package/.medusa/server/src/workflows/seller/workflows/create-seller.js +27 -0
- package/.medusa/server/src/workflows/seller/workflows/delete-member-invite.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/workflows/delete-member-invite.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/delete-member.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/workflows/delete-member.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/delete-seller.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/workflows/delete-seller.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/export-seller-products.d.ts +1 -0
- package/.medusa/server/src/workflows/seller/workflows/export-seller-products.js +18 -0
- package/.medusa/server/src/workflows/seller/workflows/import-seller-products.d.ts +5 -0
- package/.medusa/server/src/workflows/seller/workflows/import-seller-products.js +39 -0
- package/.medusa/server/src/workflows/seller/workflows/index.d.ts +15 -0
- package/.medusa/server/src/workflows/seller/workflows/index.js +32 -0
- package/.medusa/server/src/workflows/seller/workflows/invite-member.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/workflows/invite-member.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/invite-seller.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/workflows/invite-seller.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/recalculate-onboarding.d.ts +58 -0
- package/.medusa/server/src/workflows/seller/workflows/recalculate-onboarding.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/sync-stripe-account.d.ts +44 -0
- package/.medusa/server/src/workflows/seller/workflows/sync-stripe-account.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/update-member.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/workflows/update-member.js +9 -0
- package/.medusa/server/src/workflows/seller/workflows/update-seller.d.ts +2 -0
- package/.medusa/server/src/workflows/seller/workflows/update-seller.js +9 -0
- package/.medusa/server/src/workflows/split-order-payment/index.d.ts +2 -0
- package/.medusa/server/src/workflows/split-order-payment/index.js +19 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/create-split-order-payments.d.ts +2 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/create-split-order-payments.js +35 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/index.d.ts +3 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/index.js +20 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/update-split-order-payment.d.ts +16 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/update-split-order-payment.js +17 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/validate-refund-split-order-payment.d.ts +6 -0
- package/.medusa/server/src/workflows/split-order-payment/steps/validate-refund-split-order-payment.js +27 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/index.d.ts +3 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/index.js +20 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/mark-split-order-payments-as-captured.d.ts +15 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/mark-split-order-payments-as-captured.js +28 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/partial-payment-refund.d.ts +8 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/partial-payment-refund.js +77 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/refund-split-order-payment.d.ts +16 -0
- package/.medusa/server/src/workflows/split-order-payment/workflows/refund-split-order-payment.js +16 -0
- package/.medusa/server/src/workflows/wishlist/index.d.ts +2 -0
- package/.medusa/server/src/workflows/wishlist/index.js +19 -0
- package/.medusa/server/src/workflows/wishlist/steps/create-wishlist.d.ts +2 -0
- package/.medusa/server/src/workflows/wishlist/steps/create-wishlist.js +37 -0
- package/.medusa/server/src/workflows/wishlist/steps/delete-wishlist.d.ts +5 -0
- package/.medusa/server/src/workflows/wishlist/steps/delete-wishlist.js +22 -0
- package/.medusa/server/src/workflows/wishlist/steps/index.d.ts +2 -0
- package/.medusa/server/src/workflows/wishlist/steps/index.js +19 -0
- package/.medusa/server/src/workflows/wishlist/workflows/create-wishlist.d.ts +2 -0
- package/.medusa/server/src/workflows/wishlist/workflows/create-wishlist.js +11 -0
- package/.medusa/server/src/workflows/wishlist/workflows/delete-wishlist.d.ts +5 -0
- package/.medusa/server/src/workflows/wishlist/workflows/delete-wishlist.js +11 -0
- package/.medusa/server/src/workflows/wishlist/workflows/index.d.ts +2 -0
- package/.medusa/server/src/workflows/wishlist/workflows/index.js +19 -0
- package/README.md +22 -0
- package/package.json +86 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { RuleOperator } from '@medusajs/framework/utils';
|
|
3
|
+
export type VendorGetShippingParamsType = z.infer<typeof VendorGetShippingFindParams>;
|
|
4
|
+
export declare const VendorGetShippingFindParams: z.ZodObject<{
|
|
5
|
+
fields: z.ZodOptional<z.ZodString>;
|
|
6
|
+
offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
7
|
+
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
8
|
+
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
offset: number;
|
|
12
|
+
limit: number;
|
|
13
|
+
fields?: string | undefined;
|
|
14
|
+
order?: string | undefined;
|
|
15
|
+
with_deleted?: boolean | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
fields?: string | undefined;
|
|
18
|
+
offset?: unknown;
|
|
19
|
+
limit?: unknown;
|
|
20
|
+
order?: string | undefined;
|
|
21
|
+
with_deleted?: unknown;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* @schema CreateShippingOptionPriceWithRegion
|
|
25
|
+
* type: object
|
|
26
|
+
* required:
|
|
27
|
+
* - region_id
|
|
28
|
+
* - amount
|
|
29
|
+
* properties:
|
|
30
|
+
* region_id:
|
|
31
|
+
* type: string
|
|
32
|
+
* description: The region ID for the price.
|
|
33
|
+
* amount:
|
|
34
|
+
* type: number
|
|
35
|
+
* description: The amount of the price.
|
|
36
|
+
*/
|
|
37
|
+
export declare const CreateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
38
|
+
region_id: z.ZodString;
|
|
39
|
+
amount: z.ZodNumber;
|
|
40
|
+
}, "strict", z.ZodTypeAny, {
|
|
41
|
+
region_id: string;
|
|
42
|
+
amount: number;
|
|
43
|
+
}, {
|
|
44
|
+
region_id: string;
|
|
45
|
+
amount: number;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* @schema VendorCreateShippingOption
|
|
49
|
+
* type: object
|
|
50
|
+
* required:
|
|
51
|
+
* - name
|
|
52
|
+
* - shipping_profile_id
|
|
53
|
+
* - provider_id
|
|
54
|
+
* - prices
|
|
55
|
+
* - type
|
|
56
|
+
* properties:
|
|
57
|
+
* name:
|
|
58
|
+
* type: string
|
|
59
|
+
* description: The name of the shipping option.
|
|
60
|
+
* shipping_profile_id:
|
|
61
|
+
* type: string
|
|
62
|
+
* description: The ID of the shipping profile.
|
|
63
|
+
* provider_id:
|
|
64
|
+
* type: string
|
|
65
|
+
* description: The ID of the fulfillment provider.
|
|
66
|
+
* prices:
|
|
67
|
+
* type: array
|
|
68
|
+
* description: The prices of the shipping option.
|
|
69
|
+
* items:
|
|
70
|
+
* oneOf:
|
|
71
|
+
* - $ref: "#/components/schemas/CreateShippingOptionPriceWithCurrency"
|
|
72
|
+
* - $ref: "#/components/schemas/CreateShippingOptionPriceWithRegion"
|
|
73
|
+
* rules:
|
|
74
|
+
* type: array
|
|
75
|
+
* items:
|
|
76
|
+
* $ref: "#/components/schemas/VendorCreateShippingOptionRule"
|
|
77
|
+
* type:
|
|
78
|
+
* $ref: "#/components/schemas/CreateShippingOptionTypeObject"
|
|
79
|
+
*/
|
|
80
|
+
export type VendorCreateShippingOptionType = z.infer<typeof VendorCreateShippingOption>;
|
|
81
|
+
export declare const VendorCreateShippingOption: z.ZodObject<{
|
|
82
|
+
name: z.ZodString;
|
|
83
|
+
service_zone_id: z.ZodString;
|
|
84
|
+
shipping_profile_id: z.ZodString;
|
|
85
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
86
|
+
provider_id: z.ZodString;
|
|
87
|
+
prices: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
88
|
+
currency_code: z.ZodString;
|
|
89
|
+
amount: z.ZodNumber;
|
|
90
|
+
}, "strict", z.ZodTypeAny, {
|
|
91
|
+
currency_code: string;
|
|
92
|
+
amount: number;
|
|
93
|
+
}, {
|
|
94
|
+
currency_code: string;
|
|
95
|
+
amount: number;
|
|
96
|
+
}>, z.ZodObject<{
|
|
97
|
+
region_id: z.ZodString;
|
|
98
|
+
amount: z.ZodNumber;
|
|
99
|
+
}, "strict", z.ZodTypeAny, {
|
|
100
|
+
region_id: string;
|
|
101
|
+
amount: number;
|
|
102
|
+
}, {
|
|
103
|
+
region_id: string;
|
|
104
|
+
amount: number;
|
|
105
|
+
}>]>, "many">;
|
|
106
|
+
type: z.ZodObject<{
|
|
107
|
+
label: z.ZodString;
|
|
108
|
+
description: z.ZodString;
|
|
109
|
+
code: z.ZodString;
|
|
110
|
+
}, "strict", z.ZodTypeAny, {
|
|
111
|
+
code: string;
|
|
112
|
+
description: string;
|
|
113
|
+
label: string;
|
|
114
|
+
}, {
|
|
115
|
+
code: string;
|
|
116
|
+
description: string;
|
|
117
|
+
label: string;
|
|
118
|
+
}>;
|
|
119
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
120
|
+
operator: z.ZodNativeEnum<typeof RuleOperator>;
|
|
121
|
+
attribute: z.ZodString;
|
|
122
|
+
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
123
|
+
}, "strict", z.ZodTypeAny, {
|
|
124
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
125
|
+
attribute: string;
|
|
126
|
+
operator: RuleOperator;
|
|
127
|
+
}, {
|
|
128
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
129
|
+
attribute: string;
|
|
130
|
+
operator: RuleOperator;
|
|
131
|
+
}>, "many">>;
|
|
132
|
+
}, "strict", z.ZodTypeAny, {
|
|
133
|
+
type: {
|
|
134
|
+
code: string;
|
|
135
|
+
description: string;
|
|
136
|
+
label: string;
|
|
137
|
+
};
|
|
138
|
+
name: string;
|
|
139
|
+
service_zone_id: string;
|
|
140
|
+
prices: ({
|
|
141
|
+
currency_code: string;
|
|
142
|
+
amount: number;
|
|
143
|
+
} | {
|
|
144
|
+
region_id: string;
|
|
145
|
+
amount: number;
|
|
146
|
+
})[];
|
|
147
|
+
provider_id: string;
|
|
148
|
+
shipping_profile_id: string;
|
|
149
|
+
data?: Record<string, unknown> | undefined;
|
|
150
|
+
rules?: {
|
|
151
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
152
|
+
attribute: string;
|
|
153
|
+
operator: RuleOperator;
|
|
154
|
+
}[] | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
type: {
|
|
157
|
+
code: string;
|
|
158
|
+
description: string;
|
|
159
|
+
label: string;
|
|
160
|
+
};
|
|
161
|
+
name: string;
|
|
162
|
+
service_zone_id: string;
|
|
163
|
+
prices: ({
|
|
164
|
+
currency_code: string;
|
|
165
|
+
amount: number;
|
|
166
|
+
} | {
|
|
167
|
+
region_id: string;
|
|
168
|
+
amount: number;
|
|
169
|
+
})[];
|
|
170
|
+
provider_id: string;
|
|
171
|
+
shipping_profile_id: string;
|
|
172
|
+
data?: Record<string, unknown> | undefined;
|
|
173
|
+
rules?: {
|
|
174
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
175
|
+
attribute: string;
|
|
176
|
+
operator: RuleOperator;
|
|
177
|
+
}[] | undefined;
|
|
178
|
+
}>;
|
|
179
|
+
/**
|
|
180
|
+
* @schema VendorUpdateShippingOption
|
|
181
|
+
* type: object
|
|
182
|
+
* properties:
|
|
183
|
+
* name:
|
|
184
|
+
* type: string
|
|
185
|
+
* description: The name of the shipping option.
|
|
186
|
+
* shipping_profile_id:
|
|
187
|
+
* type: string
|
|
188
|
+
* description: The ID of the shipping profile.
|
|
189
|
+
* provider_id:
|
|
190
|
+
* type: string
|
|
191
|
+
* description: The ID of the fulfillment provider.
|
|
192
|
+
* prices:
|
|
193
|
+
* type: array
|
|
194
|
+
* description: The prices of the shipping option.
|
|
195
|
+
* items:
|
|
196
|
+
* oneOf:
|
|
197
|
+
* - $ref: "#/components/schemas/CreateShippingOptionPriceWithCurrency"
|
|
198
|
+
* - $ref: "#/components/schemas/CreateShippingOptionPriceWithRegion"
|
|
199
|
+
* rules:
|
|
200
|
+
* type: array
|
|
201
|
+
* items:
|
|
202
|
+
* $ref: "#/components/schemas/VendorCreateShippingOptionRule"
|
|
203
|
+
* type:
|
|
204
|
+
* $ref: "#/components/schemas/CreateShippingOptionTypeObject"
|
|
205
|
+
*/
|
|
206
|
+
export type VendorUpdateShippingOptionType = z.infer<typeof VendorUpdateShippingOption>;
|
|
207
|
+
export declare const VendorUpdateShippingOption: z.ZodObject<{
|
|
208
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
209
|
+
name: z.ZodOptional<z.ZodString>;
|
|
210
|
+
shipping_profile_id: z.ZodOptional<z.ZodString>;
|
|
211
|
+
provider_id: z.ZodOptional<z.ZodString>;
|
|
212
|
+
prices: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
213
|
+
currency_code: z.ZodString;
|
|
214
|
+
amount: z.ZodNumber;
|
|
215
|
+
}, "strict", z.ZodTypeAny, {
|
|
216
|
+
currency_code: string;
|
|
217
|
+
amount: number;
|
|
218
|
+
}, {
|
|
219
|
+
currency_code: string;
|
|
220
|
+
amount: number;
|
|
221
|
+
}>, z.ZodObject<{
|
|
222
|
+
region_id: z.ZodString;
|
|
223
|
+
amount: z.ZodNumber;
|
|
224
|
+
}, "strict", z.ZodTypeAny, {
|
|
225
|
+
region_id: string;
|
|
226
|
+
amount: number;
|
|
227
|
+
}, {
|
|
228
|
+
region_id: string;
|
|
229
|
+
amount: number;
|
|
230
|
+
}>]>, "many">>;
|
|
231
|
+
type: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
label: z.ZodString;
|
|
233
|
+
description: z.ZodString;
|
|
234
|
+
code: z.ZodString;
|
|
235
|
+
}, "strict", z.ZodTypeAny, {
|
|
236
|
+
code: string;
|
|
237
|
+
description: string;
|
|
238
|
+
label: string;
|
|
239
|
+
}, {
|
|
240
|
+
code: string;
|
|
241
|
+
description: string;
|
|
242
|
+
label: string;
|
|
243
|
+
}>>;
|
|
244
|
+
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
245
|
+
operator: z.ZodNativeEnum<typeof RuleOperator>;
|
|
246
|
+
attribute: z.ZodString;
|
|
247
|
+
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
248
|
+
}, "strict", z.ZodTypeAny, {
|
|
249
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
250
|
+
attribute: string;
|
|
251
|
+
operator: RuleOperator;
|
|
252
|
+
}, {
|
|
253
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
254
|
+
attribute: string;
|
|
255
|
+
operator: RuleOperator;
|
|
256
|
+
}>, "many">>;
|
|
257
|
+
}, "strict", z.ZodTypeAny, {
|
|
258
|
+
data?: Record<string, unknown> | undefined;
|
|
259
|
+
name?: string | undefined;
|
|
260
|
+
shipping_profile_id?: string | undefined;
|
|
261
|
+
provider_id?: string | undefined;
|
|
262
|
+
prices?: ({
|
|
263
|
+
currency_code: string;
|
|
264
|
+
amount: number;
|
|
265
|
+
} | {
|
|
266
|
+
region_id: string;
|
|
267
|
+
amount: number;
|
|
268
|
+
})[] | undefined;
|
|
269
|
+
type?: {
|
|
270
|
+
code: string;
|
|
271
|
+
description: string;
|
|
272
|
+
label: string;
|
|
273
|
+
} | undefined;
|
|
274
|
+
rules?: {
|
|
275
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
276
|
+
attribute: string;
|
|
277
|
+
operator: RuleOperator;
|
|
278
|
+
}[] | undefined;
|
|
279
|
+
}, {
|
|
280
|
+
data?: Record<string, unknown> | undefined;
|
|
281
|
+
name?: string | undefined;
|
|
282
|
+
shipping_profile_id?: string | undefined;
|
|
283
|
+
provider_id?: string | undefined;
|
|
284
|
+
prices?: ({
|
|
285
|
+
currency_code: string;
|
|
286
|
+
amount: number;
|
|
287
|
+
} | {
|
|
288
|
+
region_id: string;
|
|
289
|
+
amount: number;
|
|
290
|
+
})[] | undefined;
|
|
291
|
+
type?: {
|
|
292
|
+
code: string;
|
|
293
|
+
description: string;
|
|
294
|
+
label: string;
|
|
295
|
+
} | undefined;
|
|
296
|
+
rules?: {
|
|
297
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
298
|
+
attribute: string;
|
|
299
|
+
operator: RuleOperator;
|
|
300
|
+
}[] | undefined;
|
|
301
|
+
}>;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VendorUpdateShippingOption = exports.VendorCreateShippingOption = exports.CreateShippingOptionPriceWithRegion = exports.VendorGetShippingFindParams = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const utils_1 = require("@medusajs/framework/utils");
|
|
6
|
+
const validators_1 = require("@medusajs/medusa/api/utils/validators");
|
|
7
|
+
exports.VendorGetShippingFindParams = (0, validators_1.createFindParams)({
|
|
8
|
+
offset: 0,
|
|
9
|
+
limit: 50
|
|
10
|
+
});
|
|
11
|
+
/* Shipping options */
|
|
12
|
+
/**
|
|
13
|
+
* @schema CreateShippingOptionPriceWithCurrency
|
|
14
|
+
* type: object
|
|
15
|
+
* required:
|
|
16
|
+
* - currency_code
|
|
17
|
+
* - amount
|
|
18
|
+
* properties:
|
|
19
|
+
* currency_code:
|
|
20
|
+
* type: string
|
|
21
|
+
* description: The currency code for the price.
|
|
22
|
+
* amount:
|
|
23
|
+
* type: number
|
|
24
|
+
* description: The amount of the price.
|
|
25
|
+
*/
|
|
26
|
+
const CreateShippingOptionPriceWithCurrency = zod_1.z
|
|
27
|
+
.object({
|
|
28
|
+
currency_code: zod_1.z.string(),
|
|
29
|
+
amount: zod_1.z.number()
|
|
30
|
+
})
|
|
31
|
+
.strict();
|
|
32
|
+
/**
|
|
33
|
+
* @schema CreateShippingOptionPriceWithRegion
|
|
34
|
+
* type: object
|
|
35
|
+
* required:
|
|
36
|
+
* - region_id
|
|
37
|
+
* - amount
|
|
38
|
+
* properties:
|
|
39
|
+
* region_id:
|
|
40
|
+
* type: string
|
|
41
|
+
* description: The region ID for the price.
|
|
42
|
+
* amount:
|
|
43
|
+
* type: number
|
|
44
|
+
* description: The amount of the price.
|
|
45
|
+
*/
|
|
46
|
+
exports.CreateShippingOptionPriceWithRegion = zod_1.z
|
|
47
|
+
.object({
|
|
48
|
+
region_id: zod_1.z.string(),
|
|
49
|
+
amount: zod_1.z.number()
|
|
50
|
+
})
|
|
51
|
+
.strict();
|
|
52
|
+
/**
|
|
53
|
+
* @schema CreateShippingOptionTypeObject
|
|
54
|
+
* type: object
|
|
55
|
+
* required:
|
|
56
|
+
* - label
|
|
57
|
+
* - description
|
|
58
|
+
* - code
|
|
59
|
+
* properties:
|
|
60
|
+
* label:
|
|
61
|
+
* type: string
|
|
62
|
+
* description: The label of the shipping option type.
|
|
63
|
+
* description:
|
|
64
|
+
* type: string
|
|
65
|
+
* description: The description of the shipping option type.
|
|
66
|
+
* code:
|
|
67
|
+
* type: string
|
|
68
|
+
* description: The code of the shipping option type.
|
|
69
|
+
*/
|
|
70
|
+
const CreateShippingOptionTypeObject = zod_1.z
|
|
71
|
+
.object({
|
|
72
|
+
label: zod_1.z.string(),
|
|
73
|
+
description: zod_1.z.string(),
|
|
74
|
+
code: zod_1.z.string()
|
|
75
|
+
})
|
|
76
|
+
.strict();
|
|
77
|
+
/**
|
|
78
|
+
* @schema VendorCreateShippingOptionRule
|
|
79
|
+
* type: object
|
|
80
|
+
* required:
|
|
81
|
+
* - operator
|
|
82
|
+
* - attribute
|
|
83
|
+
* - value
|
|
84
|
+
* properties:
|
|
85
|
+
* operator:
|
|
86
|
+
* type: string
|
|
87
|
+
* description: The operator of the rule.
|
|
88
|
+
* attribute:
|
|
89
|
+
* type: string
|
|
90
|
+
* description: The attribute of the rule.
|
|
91
|
+
* value:
|
|
92
|
+
* type: string
|
|
93
|
+
* description: The value of the rule.
|
|
94
|
+
*/
|
|
95
|
+
const VendorCreateShippingOptionRule = zod_1.z
|
|
96
|
+
.object({
|
|
97
|
+
operator: zod_1.z.nativeEnum(utils_1.RuleOperator),
|
|
98
|
+
attribute: zod_1.z.string(),
|
|
99
|
+
value: zod_1.z.string().or(zod_1.z.array(zod_1.z.string()))
|
|
100
|
+
})
|
|
101
|
+
.strict();
|
|
102
|
+
exports.VendorCreateShippingOption = zod_1.z
|
|
103
|
+
.object({
|
|
104
|
+
name: zod_1.z.string(),
|
|
105
|
+
service_zone_id: zod_1.z.string(),
|
|
106
|
+
shipping_profile_id: zod_1.z.string(),
|
|
107
|
+
data: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
108
|
+
provider_id: zod_1.z.string(),
|
|
109
|
+
prices: CreateShippingOptionPriceWithCurrency.or(exports.CreateShippingOptionPriceWithRegion).array(),
|
|
110
|
+
type: CreateShippingOptionTypeObject,
|
|
111
|
+
rules: VendorCreateShippingOptionRule.array().optional()
|
|
112
|
+
})
|
|
113
|
+
.strict();
|
|
114
|
+
exports.VendorUpdateShippingOption = zod_1.z
|
|
115
|
+
.object({
|
|
116
|
+
data: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
117
|
+
name: zod_1.z.string().optional(),
|
|
118
|
+
shipping_profile_id: zod_1.z.string().optional(),
|
|
119
|
+
provider_id: zod_1.z.string().optional(),
|
|
120
|
+
prices: CreateShippingOptionPriceWithCurrency.or(exports.CreateShippingOptionPriceWithRegion)
|
|
121
|
+
.array()
|
|
122
|
+
.optional(),
|
|
123
|
+
type: CreateShippingOptionTypeObject.optional(),
|
|
124
|
+
rules: VendorCreateShippingOptionRule.array().optional()
|
|
125
|
+
})
|
|
126
|
+
.strict();
|
|
127
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdG9ycy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcGkvdmVuZG9yL3NoaXBwaW5nLW9wdGlvbnMvdmFsaWRhdG9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBdUI7QUFFdkIscURBQXdEO0FBQ3hELHNFQUF3RTtBQU0zRCxRQUFBLDJCQUEyQixHQUFHLElBQUEsNkJBQWdCLEVBQUM7SUFDMUQsTUFBTSxFQUFFLENBQUM7SUFDVCxLQUFLLEVBQUUsRUFBRTtDQUNWLENBQUMsQ0FBQTtBQUVGLHNCQUFzQjtBQUV0Qjs7Ozs7Ozs7Ozs7OztHQWFHO0FBQ0gsTUFBTSxxQ0FBcUMsR0FBRyxPQUFDO0tBQzVDLE1BQU0sQ0FBQztJQUNOLGFBQWEsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ3pCLE1BQU0sRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0NBQ25CLENBQUM7S0FDRCxNQUFNLEVBQUUsQ0FBQTtBQUVYOzs7Ozs7Ozs7Ozs7O0dBYUc7QUFDVSxRQUFBLG1DQUFtQyxHQUFHLE9BQUM7S0FDakQsTUFBTSxDQUFDO0lBQ04sU0FBUyxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7SUFDckIsTUFBTSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7Q0FDbkIsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBRVg7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBaUJHO0FBQ0gsTUFBTSw4QkFBOEIsR0FBRyxPQUFDO0tBQ3JDLE1BQU0sQ0FBQztJQUNOLEtBQUssRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ2pCLFdBQVcsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ3ZCLElBQUksRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0NBQ2pCLENBQUM7S0FDRCxNQUFNLEVBQUUsQ0FBQTtBQUVYOzs7Ozs7Ozs7Ozs7Ozs7OztHQWlCRztBQUNILE1BQU0sOEJBQThCLEdBQUcsT0FBQztLQUNyQyxNQUFNLENBQUM7SUFDTixRQUFRLEVBQUUsT0FBQyxDQUFDLFVBQVUsQ0FBQyxvQkFBWSxDQUFDO0lBQ3BDLFNBQVMsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ3JCLEtBQUssRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxDQUFDLE9BQUMsQ0FBQyxLQUFLLENBQUMsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUM7Q0FDMUMsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBc0NFLFFBQUEsMEJBQTBCLEdBQUcsT0FBQztLQUN4QyxNQUFNLENBQUM7SUFDTixJQUFJLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtJQUNoQixlQUFlLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtJQUMzQixtQkFBbUIsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQy9CLElBQUksRUFBRSxPQUFDLENBQUMsTUFBTSxDQUFDLE9BQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDLFFBQVEsRUFBRTtJQUN0QyxXQUFXLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtJQUN2QixNQUFNLEVBQUUscUNBQXFDLENBQUMsRUFBRSxDQUM5QywyQ0FBbUMsQ0FDcEMsQ0FBQyxLQUFLLEVBQUU7SUFDVCxJQUFJLEVBQUUsOEJBQThCO0lBQ3BDLEtBQUssRUFBRSw4QkFBOEIsQ0FBQyxLQUFLLEVBQUUsQ0FBQyxRQUFRLEVBQUU7Q0FDekQsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBO0FBZ0NFLFFBQUEsMEJBQTBCLEdBQUcsT0FBQztLQUN4QyxNQUFNLENBQUM7SUFDTixJQUFJLEVBQUUsT0FBQyxDQUFDLE1BQU0sQ0FBQyxPQUFDLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQyxRQUFRLEVBQUU7SUFDdEMsSUFBSSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7SUFDM0IsbUJBQW1CLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLFFBQVEsRUFBRTtJQUMxQyxXQUFXLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLFFBQVEsRUFBRTtJQUNsQyxNQUFNLEVBQUUscUNBQXFDLENBQUMsRUFBRSxDQUM5QywyQ0FBbUMsQ0FDcEM7U0FDRSxLQUFLLEVBQUU7U0FDUCxRQUFRLEVBQUU7SUFDYixJQUFJLEVBQUUsOEJBQThCLENBQUMsUUFBUSxFQUFFO0lBQy9DLEtBQUssRUFBRSw4QkFBOEIsQ0FBQyxLQUFLLEVBQUUsQ0FBQyxRQUFRLEVBQUU7Q0FDekQsQ0FBQztLQUNELE1BQU0sRUFBRSxDQUFBIn0=
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { AuthenticatedMedusaRequest, MedusaResponse } from '@medusajs/framework';
|
|
2
|
+
import { VendorUpdateShippingProfileType } from '../validators';
|
|
3
|
+
/**
|
|
4
|
+
* @oas [get] /vendor/shipping-profiles/{id}
|
|
5
|
+
* operationId: "VendorGetShippingProfile"
|
|
6
|
+
* summary: "Get shipping profile"
|
|
7
|
+
* description: "Retrieves a shipping profile by id."
|
|
8
|
+
* x-authenticated: true
|
|
9
|
+
* parameters:
|
|
10
|
+
* - in: path
|
|
11
|
+
* name: id
|
|
12
|
+
* required: true
|
|
13
|
+
* description: The ID of the shipping profile
|
|
14
|
+
* schema:
|
|
15
|
+
* type: string
|
|
16
|
+
* - in: query
|
|
17
|
+
* name: fields
|
|
18
|
+
* description: The comma-separated fields to include in the response
|
|
19
|
+
* schema:
|
|
20
|
+
* type: string
|
|
21
|
+
* responses:
|
|
22
|
+
* "200":
|
|
23
|
+
* description: OK
|
|
24
|
+
* content:
|
|
25
|
+
* application/json:
|
|
26
|
+
* schema:
|
|
27
|
+
* type: object
|
|
28
|
+
* properties:
|
|
29
|
+
* shipping_profile:
|
|
30
|
+
* $ref: "#/components/schemas/VendorShippingProfile"
|
|
31
|
+
* tags:
|
|
32
|
+
* - Vendor Shipping Profiles
|
|
33
|
+
* security:
|
|
34
|
+
* - api_token: []
|
|
35
|
+
* - cookie_auth: []
|
|
36
|
+
*/
|
|
37
|
+
export declare const GET: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* @oas [post] /vendor/shipping-profiles/{id}
|
|
40
|
+
* operationId: "VendorUpdateShippingProfile"
|
|
41
|
+
* summary: "Update a Shipping profile"
|
|
42
|
+
* description: "Updates a Shipping profile."
|
|
43
|
+
* x-authenticated: true
|
|
44
|
+
* parameters:
|
|
45
|
+
* - in: path
|
|
46
|
+
* name: id
|
|
47
|
+
* required: true
|
|
48
|
+
* description: The ID of the shipping profile
|
|
49
|
+
* schema:
|
|
50
|
+
* type: string
|
|
51
|
+
* - in: query
|
|
52
|
+
* name: fields
|
|
53
|
+
* description: The comma-separated fields to include in the response
|
|
54
|
+
* schema:
|
|
55
|
+
* type: string
|
|
56
|
+
* requestBody:
|
|
57
|
+
* content:
|
|
58
|
+
* application/json:
|
|
59
|
+
* schema:
|
|
60
|
+
* $ref: "#/components/schemas/VendorUpdateShippingProfile"
|
|
61
|
+
* responses:
|
|
62
|
+
* "200":
|
|
63
|
+
* description: OK
|
|
64
|
+
* content:
|
|
65
|
+
* application/json:
|
|
66
|
+
* schema:
|
|
67
|
+
* type: object
|
|
68
|
+
* properties:
|
|
69
|
+
* shipping_profile:
|
|
70
|
+
* $ref: "#/components/schemas/VendorShippingProfile"
|
|
71
|
+
* tags:
|
|
72
|
+
* - Vendor Shipping Profiles
|
|
73
|
+
* security:
|
|
74
|
+
* - api_token: []
|
|
75
|
+
* - cookie_auth: []
|
|
76
|
+
*/
|
|
77
|
+
export declare const POST: (req: AuthenticatedMedusaRequest<VendorUpdateShippingProfileType>, res: MedusaResponse) => Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* @oas [delete] /vendor/shipping-profiles/{id}
|
|
80
|
+
* operationId: "VendorDeleteShippingProfileById"
|
|
81
|
+
* summary: "Delete shipping profile"
|
|
82
|
+
* description: "Deletes shipping profile by id for the authenticated vendor."
|
|
83
|
+
* x-authenticated: true
|
|
84
|
+
* parameters:
|
|
85
|
+
* - in: path
|
|
86
|
+
* name: id
|
|
87
|
+
* required: true
|
|
88
|
+
* description: The ID of the shipping profile.
|
|
89
|
+
* schema:
|
|
90
|
+
* type: string
|
|
91
|
+
* responses:
|
|
92
|
+
* "200":
|
|
93
|
+
* description: OK
|
|
94
|
+
* content:
|
|
95
|
+
* application/json:
|
|
96
|
+
* schema:
|
|
97
|
+
* type: object
|
|
98
|
+
* properties:
|
|
99
|
+
* id:
|
|
100
|
+
* type: string
|
|
101
|
+
* description: The ID of the deleted resource
|
|
102
|
+
* object:
|
|
103
|
+
* type: string
|
|
104
|
+
* description: The type of the object that was deleted
|
|
105
|
+
* deleted:
|
|
106
|
+
* type: boolean
|
|
107
|
+
* description: Whether or not the items were deleted
|
|
108
|
+
* tags:
|
|
109
|
+
* - Vendor Shipping Profiles
|
|
110
|
+
* security:
|
|
111
|
+
* - api_token: []
|
|
112
|
+
* - cookie_auth: []
|
|
113
|
+
*/
|
|
114
|
+
export declare const DELETE: (req: AuthenticatedMedusaRequest, res: MedusaResponse) => Promise<void>;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DELETE = exports.POST = exports.GET = void 0;
|
|
4
|
+
const utils_1 = require("@medusajs/framework/utils");
|
|
5
|
+
const core_flows_1 = require("@medusajs/medusa/core-flows");
|
|
6
|
+
/**
|
|
7
|
+
* @oas [get] /vendor/shipping-profiles/{id}
|
|
8
|
+
* operationId: "VendorGetShippingProfile"
|
|
9
|
+
* summary: "Get shipping profile"
|
|
10
|
+
* description: "Retrieves a shipping profile by id."
|
|
11
|
+
* x-authenticated: true
|
|
12
|
+
* parameters:
|
|
13
|
+
* - in: path
|
|
14
|
+
* name: id
|
|
15
|
+
* required: true
|
|
16
|
+
* description: The ID of the shipping profile
|
|
17
|
+
* schema:
|
|
18
|
+
* type: string
|
|
19
|
+
* - in: query
|
|
20
|
+
* name: fields
|
|
21
|
+
* description: The comma-separated fields to include in the response
|
|
22
|
+
* schema:
|
|
23
|
+
* type: string
|
|
24
|
+
* responses:
|
|
25
|
+
* "200":
|
|
26
|
+
* description: OK
|
|
27
|
+
* content:
|
|
28
|
+
* application/json:
|
|
29
|
+
* schema:
|
|
30
|
+
* type: object
|
|
31
|
+
* properties:
|
|
32
|
+
* shipping_profile:
|
|
33
|
+
* $ref: "#/components/schemas/VendorShippingProfile"
|
|
34
|
+
* tags:
|
|
35
|
+
* - Vendor Shipping Profiles
|
|
36
|
+
* security:
|
|
37
|
+
* - api_token: []
|
|
38
|
+
* - cookie_auth: []
|
|
39
|
+
*/
|
|
40
|
+
const GET = async (req, res) => {
|
|
41
|
+
const query = req.scope.resolve(utils_1.ContainerRegistrationKeys.QUERY);
|
|
42
|
+
const { data: [shipping_profile] } = await query.graph({
|
|
43
|
+
entity: 'shipping_profile',
|
|
44
|
+
fields: req.queryConfig.fields,
|
|
45
|
+
filters: {
|
|
46
|
+
id: req.params.id
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
res.json({ shipping_profile });
|
|
50
|
+
};
|
|
51
|
+
exports.GET = GET;
|
|
52
|
+
/**
|
|
53
|
+
* @oas [post] /vendor/shipping-profiles/{id}
|
|
54
|
+
* operationId: "VendorUpdateShippingProfile"
|
|
55
|
+
* summary: "Update a Shipping profile"
|
|
56
|
+
* description: "Updates a Shipping profile."
|
|
57
|
+
* x-authenticated: true
|
|
58
|
+
* parameters:
|
|
59
|
+
* - in: path
|
|
60
|
+
* name: id
|
|
61
|
+
* required: true
|
|
62
|
+
* description: The ID of the shipping profile
|
|
63
|
+
* schema:
|
|
64
|
+
* type: string
|
|
65
|
+
* - in: query
|
|
66
|
+
* name: fields
|
|
67
|
+
* description: The comma-separated fields to include in the response
|
|
68
|
+
* schema:
|
|
69
|
+
* type: string
|
|
70
|
+
* requestBody:
|
|
71
|
+
* content:
|
|
72
|
+
* application/json:
|
|
73
|
+
* schema:
|
|
74
|
+
* $ref: "#/components/schemas/VendorUpdateShippingProfile"
|
|
75
|
+
* responses:
|
|
76
|
+
* "200":
|
|
77
|
+
* description: OK
|
|
78
|
+
* content:
|
|
79
|
+
* application/json:
|
|
80
|
+
* schema:
|
|
81
|
+
* type: object
|
|
82
|
+
* properties:
|
|
83
|
+
* shipping_profile:
|
|
84
|
+
* $ref: "#/components/schemas/VendorShippingProfile"
|
|
85
|
+
* tags:
|
|
86
|
+
* - Vendor Shipping Profiles
|
|
87
|
+
* security:
|
|
88
|
+
* - api_token: []
|
|
89
|
+
* - cookie_auth: []
|
|
90
|
+
*/
|
|
91
|
+
const POST = async (req, res) => {
|
|
92
|
+
const query = req.scope.resolve(utils_1.ContainerRegistrationKeys.QUERY);
|
|
93
|
+
const { id } = req.params;
|
|
94
|
+
await core_flows_1.updateShippingProfilesWorkflow.run({
|
|
95
|
+
container: req.scope,
|
|
96
|
+
input: { selector: { id }, update: req.validatedBody }
|
|
97
|
+
});
|
|
98
|
+
const { data: [shipping_profile] } = await query.graph({
|
|
99
|
+
entity: 'shipping_profile',
|
|
100
|
+
fields: req.queryConfig.fields,
|
|
101
|
+
filters: {
|
|
102
|
+
id
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
res.json({ shipping_profile });
|
|
106
|
+
};
|
|
107
|
+
exports.POST = POST;
|
|
108
|
+
/**
|
|
109
|
+
* @oas [delete] /vendor/shipping-profiles/{id}
|
|
110
|
+
* operationId: "VendorDeleteShippingProfileById"
|
|
111
|
+
* summary: "Delete shipping profile"
|
|
112
|
+
* description: "Deletes shipping profile by id for the authenticated vendor."
|
|
113
|
+
* x-authenticated: true
|
|
114
|
+
* parameters:
|
|
115
|
+
* - in: path
|
|
116
|
+
* name: id
|
|
117
|
+
* required: true
|
|
118
|
+
* description: The ID of the shipping profile.
|
|
119
|
+
* schema:
|
|
120
|
+
* type: string
|
|
121
|
+
* responses:
|
|
122
|
+
* "200":
|
|
123
|
+
* description: OK
|
|
124
|
+
* content:
|
|
125
|
+
* application/json:
|
|
126
|
+
* schema:
|
|
127
|
+
* type: object
|
|
128
|
+
* properties:
|
|
129
|
+
* id:
|
|
130
|
+
* type: string
|
|
131
|
+
* description: The ID of the deleted resource
|
|
132
|
+
* object:
|
|
133
|
+
* type: string
|
|
134
|
+
* description: The type of the object that was deleted
|
|
135
|
+
* deleted:
|
|
136
|
+
* type: boolean
|
|
137
|
+
* description: Whether or not the items were deleted
|
|
138
|
+
* tags:
|
|
139
|
+
* - Vendor Shipping Profiles
|
|
140
|
+
* security:
|
|
141
|
+
* - api_token: []
|
|
142
|
+
* - cookie_auth: []
|
|
143
|
+
*/
|
|
144
|
+
const DELETE = async (req, res) => {
|
|
145
|
+
const { id } = req.params;
|
|
146
|
+
await core_flows_1.deleteShippingProfileWorkflow.run({
|
|
147
|
+
container: req.scope,
|
|
148
|
+
input: { ids: [id] }
|
|
149
|
+
});
|
|
150
|
+
res.json({
|
|
151
|
+
id,
|
|
152
|
+
object: 'shipping_profile',
|
|
153
|
+
deleted: true
|
|
154
|
+
});
|
|
155
|
+
};
|
|
156
|
+
exports.DELETE = DELETE;
|
|
157
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBpL3ZlbmRvci9zaGlwcGluZy1wcm9maWxlcy9baWRdL3JvdXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLHFEQUFxRTtBQUNyRSw0REFHb0M7QUFJcEM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWlDRztBQUNJLE1BQU0sR0FBRyxHQUFHLEtBQUssRUFDdEIsR0FBK0IsRUFDL0IsR0FBbUIsRUFDbkIsRUFBRTtJQUNGLE1BQU0sS0FBSyxHQUFHLEdBQUcsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLGlDQUF5QixDQUFDLEtBQUssQ0FBQyxDQUFBO0lBRWhFLE1BQU0sRUFDSixJQUFJLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQyxFQUN6QixHQUFHLE1BQU0sS0FBSyxDQUFDLEtBQUssQ0FBQztRQUNwQixNQUFNLEVBQUUsa0JBQWtCO1FBQzFCLE1BQU0sRUFBRSxHQUFHLENBQUMsV0FBVyxDQUFDLE1BQU07UUFDOUIsT0FBTyxFQUFFO1lBQ1AsRUFBRSxFQUFFLEdBQUcsQ0FBQyxNQUFNLENBQUMsRUFBRTtTQUNsQjtLQUNGLENBQUMsQ0FBQTtJQUVGLEdBQUcsQ0FBQyxJQUFJLENBQUMsRUFBRSxnQkFBZ0IsRUFBRSxDQUFDLENBQUE7QUFDaEMsQ0FBQyxDQUFBO0FBakJZLFFBQUEsR0FBRyxPQWlCZjtBQUVEOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNDRztBQUNJLE1BQU0sSUFBSSxHQUFHLEtBQUssRUFDdkIsR0FBZ0UsRUFDaEUsR0FBbUIsRUFDbkIsRUFBRTtJQUNGLE1BQU0sS0FBSyxHQUFHLEdBQUcsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLGlDQUF5QixDQUFDLEtBQUssQ0FBQyxDQUFBO0lBQ2hFLE1BQU0sRUFBRSxFQUFFLEVBQUUsR0FBRyxHQUFHLENBQUMsTUFBTSxDQUFBO0lBRXpCLE1BQU0sMkNBQThCLENBQUMsR0FBRyxDQUFDO1FBQ3ZDLFNBQVMsRUFBRSxHQUFHLENBQUMsS0FBSztRQUNwQixLQUFLLEVBQUUsRUFBRSxRQUFRLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxNQUFNLEVBQUUsR0FBRyxDQUFDLGFBQWEsRUFBRTtLQUN2RCxDQUFDLENBQUE7SUFFRixNQUFNLEVBQ0osSUFBSSxFQUFFLENBQUMsZ0JBQWdCLENBQUMsRUFDekIsR0FBRyxNQUFNLEtBQUssQ0FBQyxLQUFLLENBQUM7UUFDcEIsTUFBTSxFQUFFLGtCQUFrQjtRQUMxQixNQUFNLEVBQUUsR0FBRyxDQUFDLFdBQVcsQ0FBQyxNQUFNO1FBQzlCLE9BQU8sRUFBRTtZQUNQLEVBQUU7U0FDSDtLQUNGLENBQUMsQ0FBQTtJQUVGLEdBQUcsQ0FBQyxJQUFJLENBQUMsRUFBRSxnQkFBZ0IsRUFBRSxDQUFDLENBQUE7QUFDaEMsQ0FBQyxDQUFBO0FBdkJZLFFBQUEsSUFBSSxRQXVCaEI7QUFFRDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FtQ0c7QUFDSSxNQUFNLE1BQU0sR0FBRyxLQUFLLEVBQ3pCLEdBQStCLEVBQy9CLEdBQW1CLEVBQ25CLEVBQUU7SUFDRixNQUFNLEVBQUUsRUFBRSxFQUFFLEdBQUcsR0FBRyxDQUFDLE1BQU0sQ0FBQTtJQUV6QixNQUFNLDBDQUE2QixDQUFDLEdBQUcsQ0FBQztRQUN0QyxTQUFTLEVBQUUsR0FBRyxDQUFDLEtBQUs7UUFDcEIsS0FBSyxFQUFFLEVBQUUsR0FBRyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUU7S0FDckIsQ0FBQyxDQUFBO0lBRUYsR0FBRyxDQUFDLElBQUksQ0FBQztRQUNQLEVBQUU7UUFDRixNQUFNLEVBQUUsa0JBQWtCO1FBQzFCLE9BQU8sRUFBRSxJQUFJO0tBQ2QsQ0FBQyxDQUFBO0FBQ0osQ0FBQyxDQUFBO0FBaEJZLFFBQUEsTUFBTSxVQWdCbEIifQ==
|