@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,1523 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @schema VendorOrderCommissionValue
|
|
4
|
+
* type: object
|
|
5
|
+
* properties:
|
|
6
|
+
* amount:
|
|
7
|
+
* type: number
|
|
8
|
+
* title: amount
|
|
9
|
+
* description: Total commission value of the order
|
|
10
|
+
* currency_code:
|
|
11
|
+
* type: string
|
|
12
|
+
* title: currency_code
|
|
13
|
+
* description: The order's currency code.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
/**
|
|
17
|
+
* @schema VendorOrderCommissionLine
|
|
18
|
+
* type: object
|
|
19
|
+
* properties:
|
|
20
|
+
* id:
|
|
21
|
+
* type: string
|
|
22
|
+
* description: Commission line id
|
|
23
|
+
* item_line_id:
|
|
24
|
+
* type: string
|
|
25
|
+
* description: Order line item id that commission line relates to
|
|
26
|
+
* amount:
|
|
27
|
+
* type: number
|
|
28
|
+
* title: amount
|
|
29
|
+
* description: Commission value of the order line
|
|
30
|
+
* currency_code:
|
|
31
|
+
* type: string
|
|
32
|
+
* title: currency_code
|
|
33
|
+
* description: The currency code.
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* @schema VendorSplitOrderPayment
|
|
37
|
+
* type: object
|
|
38
|
+
* properties:
|
|
39
|
+
* id:
|
|
40
|
+
* type: string
|
|
41
|
+
* description: Split order payment id
|
|
42
|
+
* status:
|
|
43
|
+
* type: string
|
|
44
|
+
* description: Payment status
|
|
45
|
+
* authorized_amount:
|
|
46
|
+
* type: number
|
|
47
|
+
* title: amount
|
|
48
|
+
* description: Authorized amount
|
|
49
|
+
* captured_amount:
|
|
50
|
+
* type: number
|
|
51
|
+
* title: amount
|
|
52
|
+
* description: Captured amount
|
|
53
|
+
* refunded_amount:
|
|
54
|
+
* type: number
|
|
55
|
+
* title: amount
|
|
56
|
+
* description: Refunded amount
|
|
57
|
+
* currency_code:
|
|
58
|
+
* type: string
|
|
59
|
+
* title: currency_code
|
|
60
|
+
* description: The currency code.
|
|
61
|
+
*/
|
|
62
|
+
/**
|
|
63
|
+
* @schema VendorOrderDetails
|
|
64
|
+
* type: object
|
|
65
|
+
* description: The order's details.
|
|
66
|
+
* properties:
|
|
67
|
+
* split_order_payment:
|
|
68
|
+
* $ref: '#/components/schemas/VendorSplitOrderPayment'
|
|
69
|
+
* fulfillments:
|
|
70
|
+
* type: array
|
|
71
|
+
* description: The order's fulfillments.
|
|
72
|
+
* items:
|
|
73
|
+
* $ref: '#/components/schemas/VendorOrderFulfillment'
|
|
74
|
+
* shipping_address:
|
|
75
|
+
* $ref: '#/components/schemas/VendorOrderAddress'
|
|
76
|
+
* billing_address:
|
|
77
|
+
* $ref: '#/components/schemas/VendorOrderAddress'
|
|
78
|
+
* id:
|
|
79
|
+
* type: string
|
|
80
|
+
* title: id
|
|
81
|
+
* description: The order's ID.
|
|
82
|
+
* version:
|
|
83
|
+
* type: number
|
|
84
|
+
* title: version
|
|
85
|
+
* description: The order's version.
|
|
86
|
+
* region_id:
|
|
87
|
+
* type: string
|
|
88
|
+
* title: region_id
|
|
89
|
+
* description: The ID of the region associated with the order.
|
|
90
|
+
* customer_id:
|
|
91
|
+
* type: string
|
|
92
|
+
* title: customer_id
|
|
93
|
+
* description: The ID of the customer that placed the order.
|
|
94
|
+
* sales_channel_id:
|
|
95
|
+
* type: string
|
|
96
|
+
* title: sales_channel_id
|
|
97
|
+
* description: The ID of the sales channel the order is placed in.
|
|
98
|
+
* email:
|
|
99
|
+
* type: string
|
|
100
|
+
* title: email
|
|
101
|
+
* description: The email of the customer that placed the order.
|
|
102
|
+
* format: email
|
|
103
|
+
* currency_code:
|
|
104
|
+
* type: string
|
|
105
|
+
* title: currency_code
|
|
106
|
+
* description: The order's currency code.
|
|
107
|
+
* display_id:
|
|
108
|
+
* type: number
|
|
109
|
+
* title: display_id
|
|
110
|
+
* description: The order's display ID.
|
|
111
|
+
* items:
|
|
112
|
+
* type: array
|
|
113
|
+
* description: The order's items.
|
|
114
|
+
* items:
|
|
115
|
+
* $ref: '#/components/schemas/VendorOrderLineItem'
|
|
116
|
+
* shipping_methods:
|
|
117
|
+
* type: array
|
|
118
|
+
* description: The order's shipping methods.
|
|
119
|
+
* items:
|
|
120
|
+
* $ref: '#/components/schemas/VendorOrderShippingMethod'
|
|
121
|
+
* commission_value:
|
|
122
|
+
* $ref: '#/components/schemas/VendorOrderCommissionValue'
|
|
123
|
+
* commission_lines:
|
|
124
|
+
* type: array
|
|
125
|
+
* description: The commission breakdown.
|
|
126
|
+
* items:
|
|
127
|
+
* $ref: '#/components/schemas/VendorOrderCommissionLine'
|
|
128
|
+
* payment_status:
|
|
129
|
+
* type: string
|
|
130
|
+
* description: The order's payment status.
|
|
131
|
+
* enum:
|
|
132
|
+
* - canceled
|
|
133
|
+
* - pending
|
|
134
|
+
* - not_paid
|
|
135
|
+
* - awaiting
|
|
136
|
+
* - authorized
|
|
137
|
+
* - partially_authorized
|
|
138
|
+
* - captured
|
|
139
|
+
* - partially_refunded
|
|
140
|
+
* - refunded
|
|
141
|
+
* - requires_action
|
|
142
|
+
* fulfillment_status:
|
|
143
|
+
* type: string
|
|
144
|
+
* description: The order's fulfillment status.
|
|
145
|
+
* enum:
|
|
146
|
+
* - canceled
|
|
147
|
+
* - not_fulfilled
|
|
148
|
+
* - partially_fulfilled
|
|
149
|
+
* - fulfilled
|
|
150
|
+
* - partially_shipped
|
|
151
|
+
* - shipped
|
|
152
|
+
* - partially_delivered
|
|
153
|
+
* - delivered
|
|
154
|
+
* summary:
|
|
155
|
+
* $ref: '#/components/schemas/VendorOrderSummary'
|
|
156
|
+
* metadata:
|
|
157
|
+
* type: object
|
|
158
|
+
* description: The order's metadata, can hold custom key-value pairs.
|
|
159
|
+
* created_at:
|
|
160
|
+
* type: string
|
|
161
|
+
* format: date-time
|
|
162
|
+
* title: created_at
|
|
163
|
+
* description: The date the order was created.
|
|
164
|
+
* updated_at:
|
|
165
|
+
* type: string
|
|
166
|
+
* format: date-time
|
|
167
|
+
* title: updated_at
|
|
168
|
+
* description: The date the order was updated.
|
|
169
|
+
* original_item_total:
|
|
170
|
+
* type: number
|
|
171
|
+
* title: original_item_total
|
|
172
|
+
* description: The total of the order's items including taxes, excluding promotions.
|
|
173
|
+
* original_item_subtotal:
|
|
174
|
+
* type: number
|
|
175
|
+
* title: original_item_subtotal
|
|
176
|
+
* description: The total of the order's items excluding taxes, including promotions.
|
|
177
|
+
* original_item_tax_total:
|
|
178
|
+
* type: number
|
|
179
|
+
* title: original_item_tax_total
|
|
180
|
+
* description: The tax total of the order's items excluding promotions.
|
|
181
|
+
* item_total:
|
|
182
|
+
* type: number
|
|
183
|
+
* title: item_total
|
|
184
|
+
* description: The total of the order's items including taxes and promotions.
|
|
185
|
+
* item_subtotal:
|
|
186
|
+
* type: number
|
|
187
|
+
* title: item_subtotal
|
|
188
|
+
* description: The total of the order's items excluding taxes, including promotions.
|
|
189
|
+
* item_tax_total:
|
|
190
|
+
* type: number
|
|
191
|
+
* title: item_tax_total
|
|
192
|
+
* description: The tax total of the order's items including promotions.
|
|
193
|
+
* original_total:
|
|
194
|
+
* type: number
|
|
195
|
+
* title: original_total
|
|
196
|
+
* description: The order's total excluding promotions, including taxes.
|
|
197
|
+
* original_subtotal:
|
|
198
|
+
* type: number
|
|
199
|
+
* title: original_subtotal
|
|
200
|
+
* description: The order's total excluding taxes, including promotions.
|
|
201
|
+
* original_tax_total:
|
|
202
|
+
* type: number
|
|
203
|
+
* title: original_tax_total
|
|
204
|
+
* description: The order's tax total, excluding promotions.
|
|
205
|
+
* total:
|
|
206
|
+
* type: number
|
|
207
|
+
* title: total
|
|
208
|
+
* description: The order's total including taxes and promotions.
|
|
209
|
+
* subtotal:
|
|
210
|
+
* type: number
|
|
211
|
+
* title: subtotal
|
|
212
|
+
* description: The order's total excluding taxes, including promotions.
|
|
213
|
+
* tax_total:
|
|
214
|
+
* type: number
|
|
215
|
+
* title: tax_total
|
|
216
|
+
* description: The order's tax total including promotions.
|
|
217
|
+
* discount_total:
|
|
218
|
+
* type: number
|
|
219
|
+
* title: discount_total
|
|
220
|
+
* description: The order's discount or promotions total.
|
|
221
|
+
* discount_tax_total:
|
|
222
|
+
* type: number
|
|
223
|
+
* title: discount_tax_total
|
|
224
|
+
* description: The tax total of order's discount or promotion.
|
|
225
|
+
* gift_card_total:
|
|
226
|
+
* type: number
|
|
227
|
+
* title: gift_card_total
|
|
228
|
+
* description: The order's gift card total.
|
|
229
|
+
* gift_card_tax_total:
|
|
230
|
+
* type: number
|
|
231
|
+
* title: gift_card_tax_total
|
|
232
|
+
* description: The tax total of the order's gift card.
|
|
233
|
+
* shipping_total:
|
|
234
|
+
* type: number
|
|
235
|
+
* title: shipping_total
|
|
236
|
+
* description: The order's shipping total including taxes and promotions.
|
|
237
|
+
* shipping_subtotal:
|
|
238
|
+
* type: number
|
|
239
|
+
* title: shipping_subtotal
|
|
240
|
+
* description: The order's shipping total excluding taxes, including promotions.
|
|
241
|
+
* shipping_tax_total:
|
|
242
|
+
* type: number
|
|
243
|
+
* title: shipping_tax_total
|
|
244
|
+
* description: The tax total of the order's shipping.
|
|
245
|
+
* original_shipping_total:
|
|
246
|
+
* type: number
|
|
247
|
+
* title: original_shipping_total
|
|
248
|
+
* description: The order's shipping total including taxes, excluding promotions.
|
|
249
|
+
* original_shipping_subtotal:
|
|
250
|
+
* type: number
|
|
251
|
+
* title: original_shipping_subtotal
|
|
252
|
+
* description: The order's shipping total excluding taxes, including promotions.
|
|
253
|
+
* original_shipping_tax_total:
|
|
254
|
+
* type: number
|
|
255
|
+
* title: original_shipping_tax_total
|
|
256
|
+
* description: The tax total of the order's shipping excluding promotions.
|
|
257
|
+
*/
|
|
258
|
+
/**
|
|
259
|
+
* @schema VendorOrderAddress
|
|
260
|
+
* title: "VendorOrderAddress"
|
|
261
|
+
* type: object
|
|
262
|
+
* description: An order address.
|
|
263
|
+
* properties:
|
|
264
|
+
* id:
|
|
265
|
+
* type: string
|
|
266
|
+
* title: id
|
|
267
|
+
* description: The address's ID.
|
|
268
|
+
* customer_id:
|
|
269
|
+
* type: string
|
|
270
|
+
* title: customer_id
|
|
271
|
+
* description: The ID of the customer this address belongs to.
|
|
272
|
+
* first_name:
|
|
273
|
+
* type: string
|
|
274
|
+
* title: first_name
|
|
275
|
+
* description: The address's first name.
|
|
276
|
+
* last_name:
|
|
277
|
+
* type: string
|
|
278
|
+
* title: last_name
|
|
279
|
+
* description: The address's last name.
|
|
280
|
+
* phone:
|
|
281
|
+
* type: string
|
|
282
|
+
* title: phone
|
|
283
|
+
* description: The address's phone.
|
|
284
|
+
* company:
|
|
285
|
+
* type: string
|
|
286
|
+
* title: company
|
|
287
|
+
* description: The address's company.
|
|
288
|
+
* address_1:
|
|
289
|
+
* type: string
|
|
290
|
+
* title: address_1
|
|
291
|
+
* description: The address's first line.
|
|
292
|
+
* address_2:
|
|
293
|
+
* type: string
|
|
294
|
+
* title: address_2
|
|
295
|
+
* description: The address's second line.
|
|
296
|
+
* city:
|
|
297
|
+
* type: string
|
|
298
|
+
* title: city
|
|
299
|
+
* description: The address's city.
|
|
300
|
+
* country_code:
|
|
301
|
+
* type: string
|
|
302
|
+
* title: country_code
|
|
303
|
+
* description: The address's country code.
|
|
304
|
+
* example: us
|
|
305
|
+
* country:
|
|
306
|
+
* $ref: '#/components/schemas/VendorOrderCountryCode'
|
|
307
|
+
* province:
|
|
308
|
+
* type: string
|
|
309
|
+
* title: province
|
|
310
|
+
* description: The address's province.
|
|
311
|
+
* postal_code:
|
|
312
|
+
* type: string
|
|
313
|
+
* title: postal_code
|
|
314
|
+
* description: The address's postal code.
|
|
315
|
+
* metadata:
|
|
316
|
+
* type: object
|
|
317
|
+
* description: The address's metadata, can hold custom key-value pairs.
|
|
318
|
+
* created_at:
|
|
319
|
+
* type: string
|
|
320
|
+
* format: date-time
|
|
321
|
+
* title: created_at
|
|
322
|
+
* description: The date the address was created.
|
|
323
|
+
* updated_at:
|
|
324
|
+
* type: string
|
|
325
|
+
* format: date-time
|
|
326
|
+
* title: updated_at
|
|
327
|
+
* description: The date the address was updated.
|
|
328
|
+
*/
|
|
329
|
+
/**
|
|
330
|
+
* @schema VendorOrderCountryCode
|
|
331
|
+
* title: "VendorOrderCountryCode"
|
|
332
|
+
* type: object
|
|
333
|
+
* description: The country's details.
|
|
334
|
+
* properties:
|
|
335
|
+
* id:
|
|
336
|
+
* type: string
|
|
337
|
+
* title: id
|
|
338
|
+
* description: The country's ID.
|
|
339
|
+
* iso_2:
|
|
340
|
+
* type: string
|
|
341
|
+
* title: iso_2
|
|
342
|
+
* description: The country's iso 2.
|
|
343
|
+
* example: us
|
|
344
|
+
* iso_3:
|
|
345
|
+
* type: string
|
|
346
|
+
* title: iso_3
|
|
347
|
+
* description: The country's iso 3.
|
|
348
|
+
* example: usa
|
|
349
|
+
* num_code:
|
|
350
|
+
* type: string
|
|
351
|
+
* title: num_code
|
|
352
|
+
* description: The country's num code.
|
|
353
|
+
* example: 840
|
|
354
|
+
* name:
|
|
355
|
+
* type: string
|
|
356
|
+
* title: name
|
|
357
|
+
* description: The country's name.
|
|
358
|
+
* display_name:
|
|
359
|
+
* type: string
|
|
360
|
+
* title: display_name
|
|
361
|
+
* description: The country's display name.
|
|
362
|
+
*/
|
|
363
|
+
/**
|
|
364
|
+
* @schema VendorSalesChannel
|
|
365
|
+
* title: "VendorSalesChannel"
|
|
366
|
+
* type: object
|
|
367
|
+
* description: The sales channel's details.
|
|
368
|
+
* properties:
|
|
369
|
+
* id:
|
|
370
|
+
* type: string
|
|
371
|
+
* title: id
|
|
372
|
+
* description: The sales channel's ID.
|
|
373
|
+
* name:
|
|
374
|
+
* type: string
|
|
375
|
+
* title: name
|
|
376
|
+
* description: The sales channel's name.
|
|
377
|
+
* description:
|
|
378
|
+
* type: string
|
|
379
|
+
* title: description
|
|
380
|
+
* description: The sales channel's description.
|
|
381
|
+
* is_disabled:
|
|
382
|
+
* type: boolean
|
|
383
|
+
* title: is_disabled
|
|
384
|
+
* description: Whether the sales channel is disabled.
|
|
385
|
+
* metadata:
|
|
386
|
+
* type: object
|
|
387
|
+
* description: The sales channel's metadata, can hold custom key-value pairs.
|
|
388
|
+
* created_at:
|
|
389
|
+
* type: string
|
|
390
|
+
* format: date-time
|
|
391
|
+
* title: created_at
|
|
392
|
+
* description: The date the sales channel was created.
|
|
393
|
+
* updated_at:
|
|
394
|
+
* type: string
|
|
395
|
+
* format: date-time
|
|
396
|
+
* title: updated_at
|
|
397
|
+
* description: The date the sales channel was updated.
|
|
398
|
+
*/
|
|
399
|
+
/**
|
|
400
|
+
* @schema VendorOrderPaymentCollection
|
|
401
|
+
* title: "VendorOrderPaymentCollection"
|
|
402
|
+
* type: object
|
|
403
|
+
* description: The payment collection's details.
|
|
404
|
+
* properties:
|
|
405
|
+
* id:
|
|
406
|
+
* type: string
|
|
407
|
+
* title: id
|
|
408
|
+
* description: The payment collection's ID.
|
|
409
|
+
* currency_code:
|
|
410
|
+
* type: string
|
|
411
|
+
* title: currency_code
|
|
412
|
+
* description: The payment collection's currency code.
|
|
413
|
+
* region_id:
|
|
414
|
+
* type: string
|
|
415
|
+
* title: region_id
|
|
416
|
+
* description: The ID of the region this payment collection is associated with.
|
|
417
|
+
* amount:
|
|
418
|
+
* type: number
|
|
419
|
+
* title: amount
|
|
420
|
+
* description: The total amount to be paid.
|
|
421
|
+
* authorized_amount:
|
|
422
|
+
* type: number
|
|
423
|
+
* title: authorized_amount
|
|
424
|
+
* description: The total authorized amount of the collection's payments.
|
|
425
|
+
* captured_amount:
|
|
426
|
+
* type: number
|
|
427
|
+
* title: captured_amount
|
|
428
|
+
* description: The total captured amount of the collection's payments.
|
|
429
|
+
* refunded_amount:
|
|
430
|
+
* type: number
|
|
431
|
+
* title: refunded_amount
|
|
432
|
+
* description: The total refunded amount of the collection's payments.
|
|
433
|
+
* completed_at:
|
|
434
|
+
* type: string
|
|
435
|
+
* format: date-time
|
|
436
|
+
* title: completed_at
|
|
437
|
+
* description: The date the payment collection was completed.
|
|
438
|
+
* created_at:
|
|
439
|
+
* type: string
|
|
440
|
+
* format: date-time
|
|
441
|
+
* title: created_at
|
|
442
|
+
* description: The date the payment collection was created.
|
|
443
|
+
* updated_at:
|
|
444
|
+
* type: string
|
|
445
|
+
* format: date-time
|
|
446
|
+
* title: updated_at
|
|
447
|
+
* description: The date the payment collection was updated.
|
|
448
|
+
* metadata:
|
|
449
|
+
* type: object
|
|
450
|
+
* description: The payment collection's metadata, can hold custom key-value pairs.
|
|
451
|
+
* status:
|
|
452
|
+
* type: string
|
|
453
|
+
* description: The payment collection's status.
|
|
454
|
+
* enum:
|
|
455
|
+
* - canceled
|
|
456
|
+
* - not_paid
|
|
457
|
+
* - awaiting
|
|
458
|
+
* - authorized
|
|
459
|
+
* - partially_authorized
|
|
460
|
+
*/
|
|
461
|
+
/**
|
|
462
|
+
* @schema VendorOrderSummary
|
|
463
|
+
* title: "VendorOrderSummary"
|
|
464
|
+
* type: object
|
|
465
|
+
* description: The order's summary details.
|
|
466
|
+
* properties:
|
|
467
|
+
* total:
|
|
468
|
+
* type: number
|
|
469
|
+
* title: total
|
|
470
|
+
* description: The order's total including taxes and promotions.
|
|
471
|
+
* subtotal:
|
|
472
|
+
* type: number
|
|
473
|
+
* title: subtotal
|
|
474
|
+
* description: The order's total excluding taxes, including promotions.
|
|
475
|
+
* total_tax:
|
|
476
|
+
* type: number
|
|
477
|
+
* title: total_tax
|
|
478
|
+
* description: The order's total taxes.
|
|
479
|
+
* ordered_total:
|
|
480
|
+
* type: number
|
|
481
|
+
* title: ordered_total
|
|
482
|
+
* description: The order's total when it was placed.
|
|
483
|
+
* fulfilled_total:
|
|
484
|
+
* type: number
|
|
485
|
+
* title: fulfilled_total
|
|
486
|
+
* description: The total of the fulfilled items of the order.
|
|
487
|
+
* returned_total:
|
|
488
|
+
* type: number
|
|
489
|
+
* title: returned_total
|
|
490
|
+
* description: The total of the order's returned items.
|
|
491
|
+
* return_request_total:
|
|
492
|
+
* type: number
|
|
493
|
+
* title: return_request_total
|
|
494
|
+
* description: The total of the items requested to be returned.
|
|
495
|
+
* write_off_total:
|
|
496
|
+
* type: number
|
|
497
|
+
* title: write_off_total
|
|
498
|
+
* description: The total of the items removed from the order.
|
|
499
|
+
* paid_total:
|
|
500
|
+
* type: number
|
|
501
|
+
* title: paid_total
|
|
502
|
+
* description: The total amount paid.
|
|
503
|
+
* refunded_total:
|
|
504
|
+
* type: number
|
|
505
|
+
* title: refunded_total
|
|
506
|
+
* description: The total amount refunded.
|
|
507
|
+
*/
|
|
508
|
+
/**
|
|
509
|
+
* @schema VendorOrderFulfillment
|
|
510
|
+
* title: "VendorOrderFulfillment"
|
|
511
|
+
* type: object
|
|
512
|
+
* description: The fulfillment's details.
|
|
513
|
+
* properties:
|
|
514
|
+
* id:
|
|
515
|
+
* type: string
|
|
516
|
+
* title: id
|
|
517
|
+
* description: The fulfillment's ID.
|
|
518
|
+
* location_id:
|
|
519
|
+
* type: string
|
|
520
|
+
* title: location_id
|
|
521
|
+
* description: The ID of the location the fulfillment's items are shipped from.
|
|
522
|
+
* provider_id:
|
|
523
|
+
* type: string
|
|
524
|
+
* title: provider_id
|
|
525
|
+
* description: The ID of the fulfillment provider handling this fulfillment.
|
|
526
|
+
* shipping_option_id:
|
|
527
|
+
* type: string
|
|
528
|
+
* title: shipping_option_id
|
|
529
|
+
* description: The ID of the shipping option this fulfillment is created for.
|
|
530
|
+
* provider:
|
|
531
|
+
* $ref: '#/components/schemas/VendorFulfillmentProvider'
|
|
532
|
+
* delivery_address:
|
|
533
|
+
* $ref: '#/components/schemas/VendorFulfillmentAddress'
|
|
534
|
+
* items:
|
|
535
|
+
* type: array
|
|
536
|
+
* description: The fulfillment's items.
|
|
537
|
+
* items:
|
|
538
|
+
* $ref: '#/components/schemas/VendorFulfillmentItem'
|
|
539
|
+
* labels:
|
|
540
|
+
* type: array
|
|
541
|
+
* description: The fulfillment's shipment labels.
|
|
542
|
+
* items:
|
|
543
|
+
* $ref: '#/components/schemas/VendorFulfillmentLabel'
|
|
544
|
+
* packed_at:
|
|
545
|
+
* type: string
|
|
546
|
+
* title: packed_at
|
|
547
|
+
* description: The date the fulfillment was packed at.
|
|
548
|
+
* shipped_at:
|
|
549
|
+
* type: string
|
|
550
|
+
* title: shipped_at
|
|
551
|
+
* description: The date the fulfillment was shipped at.
|
|
552
|
+
* delivered_at:
|
|
553
|
+
* type: string
|
|
554
|
+
* title: delivered_at
|
|
555
|
+
* description: The date the fulfillment was delivered at.
|
|
556
|
+
* canceled_at:
|
|
557
|
+
* type: string
|
|
558
|
+
* title: canceled_at
|
|
559
|
+
* description: The date the fulfillment was canceled at.
|
|
560
|
+
* data:
|
|
561
|
+
* type: object
|
|
562
|
+
* description: The fulfillment's data, useful for the third-party provider handling the fulfillment.
|
|
563
|
+
* externalDocs:
|
|
564
|
+
* url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property
|
|
565
|
+
* metadata:
|
|
566
|
+
* type: object
|
|
567
|
+
* description: The fulfillment's metadata, can hold custom key-value pairs.
|
|
568
|
+
* created_at:
|
|
569
|
+
* type: string
|
|
570
|
+
* format: date-time
|
|
571
|
+
* title: created_at
|
|
572
|
+
* description: The date the fulfillment was created at.
|
|
573
|
+
* updated_at:
|
|
574
|
+
* type: string
|
|
575
|
+
* format: date-time
|
|
576
|
+
* title: updated_at
|
|
577
|
+
* description: The date the fulfillment was updated at.
|
|
578
|
+
* deleted_at:
|
|
579
|
+
* type: string
|
|
580
|
+
* format: date-time
|
|
581
|
+
* title: deleted_at
|
|
582
|
+
* description: The date the fulfillment was deleted at.
|
|
583
|
+
*/
|
|
584
|
+
/**
|
|
585
|
+
* @schema VendorFulfillmentItem
|
|
586
|
+
* title: "VendorFulfillmentItem"
|
|
587
|
+
* type: object
|
|
588
|
+
* description: The details of a fulfillment's item.
|
|
589
|
+
* properties:
|
|
590
|
+
* id:
|
|
591
|
+
* type: string
|
|
592
|
+
* title: id
|
|
593
|
+
* description: The item's ID.
|
|
594
|
+
* title:
|
|
595
|
+
* type: string
|
|
596
|
+
* title: title
|
|
597
|
+
* description: The item's title.
|
|
598
|
+
* quantity:
|
|
599
|
+
* type: number
|
|
600
|
+
* title: quantity
|
|
601
|
+
* description: The item's quantity to be fulfilled.
|
|
602
|
+
* sku:
|
|
603
|
+
* type: string
|
|
604
|
+
* title: sku
|
|
605
|
+
* description: The item's SKU.
|
|
606
|
+
* barcode:
|
|
607
|
+
* type: string
|
|
608
|
+
* title: barcode
|
|
609
|
+
* description: The item's barcode.
|
|
610
|
+
* line_item_id:
|
|
611
|
+
* type: string
|
|
612
|
+
* title: line_item_id
|
|
613
|
+
* description: The ID of the order's line item to be fulfilled.
|
|
614
|
+
* inventory_item_id:
|
|
615
|
+
* type: string
|
|
616
|
+
* title: inventory_item_id
|
|
617
|
+
* description: The ID of the inventory item of the underlying product variant.
|
|
618
|
+
* fulfillment_id:
|
|
619
|
+
* type: string
|
|
620
|
+
* title: fulfillment_id
|
|
621
|
+
* description: The ID of the fulfillment the item belongs to.
|
|
622
|
+
* created_at:
|
|
623
|
+
* type: string
|
|
624
|
+
* format: date-time
|
|
625
|
+
* title: created_at
|
|
626
|
+
* description: The date the item was created.
|
|
627
|
+
* updated_at:
|
|
628
|
+
* type: string
|
|
629
|
+
* format: date-time
|
|
630
|
+
* title: updated_at
|
|
631
|
+
* description: The date the item was updated.
|
|
632
|
+
* deleted_at:
|
|
633
|
+
* type: string
|
|
634
|
+
* format: date-time
|
|
635
|
+
* title: deleted_at
|
|
636
|
+
* description: The date the item was deleted.
|
|
637
|
+
*/
|
|
638
|
+
/**
|
|
639
|
+
* @schema VendorFulfillmentLabel
|
|
640
|
+
* title: "VendorFulfillmentLabel"
|
|
641
|
+
* type: object
|
|
642
|
+
* description: The details of a fulfillmet's shipment label.
|
|
643
|
+
* properties:
|
|
644
|
+
* id:
|
|
645
|
+
* type: string
|
|
646
|
+
* title: id
|
|
647
|
+
* description: The label's ID.
|
|
648
|
+
* tracking_number:
|
|
649
|
+
* type: string
|
|
650
|
+
* title: tracking_number
|
|
651
|
+
* description: The label's tracking number.
|
|
652
|
+
* tracking_url:
|
|
653
|
+
* type: string
|
|
654
|
+
* title: tracking_url
|
|
655
|
+
* description: The label's tracking URL.
|
|
656
|
+
* label_url:
|
|
657
|
+
* type: string
|
|
658
|
+
* title: label_url
|
|
659
|
+
* description: The label's URL.
|
|
660
|
+
* fulfillment_id:
|
|
661
|
+
* type: string
|
|
662
|
+
* title: fulfillment_id
|
|
663
|
+
* description: The ID of the fulfillment the label is associated with.
|
|
664
|
+
* created_at:
|
|
665
|
+
* type: string
|
|
666
|
+
* format: date-time
|
|
667
|
+
* title: created_at
|
|
668
|
+
* description: The date the label was created.
|
|
669
|
+
* updated_at:
|
|
670
|
+
* type: string
|
|
671
|
+
* format: date-time
|
|
672
|
+
* title: updated_at
|
|
673
|
+
* description: The date the label was updated.
|
|
674
|
+
* deleted_at:
|
|
675
|
+
* type: string
|
|
676
|
+
* format: date-time
|
|
677
|
+
* title: deleted_at
|
|
678
|
+
* description: The date the label was deleted.
|
|
679
|
+
*/
|
|
680
|
+
/**
|
|
681
|
+
* @schema VendorFulfillmentProvider
|
|
682
|
+
* title: "VendorFulfillmentProvider"
|
|
683
|
+
* type: object
|
|
684
|
+
* description: The fulfillment provider's details.
|
|
685
|
+
* properties:
|
|
686
|
+
* id:
|
|
687
|
+
* type: string
|
|
688
|
+
* title: id
|
|
689
|
+
* description: The provider's ID.
|
|
690
|
+
* is_enabled:
|
|
691
|
+
* type: boolean
|
|
692
|
+
* title: is_enabled
|
|
693
|
+
* description: The provider's is enabled.
|
|
694
|
+
*/
|
|
695
|
+
/**
|
|
696
|
+
* @schema VendorFulfillmentAddress
|
|
697
|
+
* title: "VendorFulfillmentAddress"
|
|
698
|
+
* type: object
|
|
699
|
+
* description: An address's details.
|
|
700
|
+
* properties:
|
|
701
|
+
* id:
|
|
702
|
+
* type: string
|
|
703
|
+
* title: id
|
|
704
|
+
* description: The address's ID.
|
|
705
|
+
* company:
|
|
706
|
+
* type: string
|
|
707
|
+
* title: company
|
|
708
|
+
* description: The address's company.
|
|
709
|
+
* first_name:
|
|
710
|
+
* type: string
|
|
711
|
+
* title: first_name
|
|
712
|
+
* description: The address's first name.
|
|
713
|
+
* last_name:
|
|
714
|
+
* type: string
|
|
715
|
+
* title: last_name
|
|
716
|
+
* description: The address's last name.
|
|
717
|
+
* address_1:
|
|
718
|
+
* type: string
|
|
719
|
+
* title: address_1
|
|
720
|
+
* description: The address's first line.
|
|
721
|
+
* address_2:
|
|
722
|
+
* type: string
|
|
723
|
+
* title: address_2
|
|
724
|
+
* description: The address's second line.
|
|
725
|
+
* city:
|
|
726
|
+
* type: string
|
|
727
|
+
* title: city
|
|
728
|
+
* description: The address's city.
|
|
729
|
+
* country_code:
|
|
730
|
+
* type: string
|
|
731
|
+
* title: country_code
|
|
732
|
+
* description: The address's country code.
|
|
733
|
+
* province:
|
|
734
|
+
* type: string
|
|
735
|
+
* title: province
|
|
736
|
+
* description: The address's province.
|
|
737
|
+
* postal_code:
|
|
738
|
+
* type: string
|
|
739
|
+
* title: postal_code
|
|
740
|
+
* description: The address's postal code.
|
|
741
|
+
* phone:
|
|
742
|
+
* type: string
|
|
743
|
+
* title: phone
|
|
744
|
+
* description: The address's phone.
|
|
745
|
+
* metadata:
|
|
746
|
+
* type: object
|
|
747
|
+
* description: The address's metadata, can hold custom key-value pairs.
|
|
748
|
+
* created_at:
|
|
749
|
+
* type: string
|
|
750
|
+
* format: date-time
|
|
751
|
+
* title: created_at
|
|
752
|
+
* description: The date the address was created.
|
|
753
|
+
* updated_at:
|
|
754
|
+
* type: string
|
|
755
|
+
* format: date-time
|
|
756
|
+
* title: updated_at
|
|
757
|
+
* description: The date the address was updated.
|
|
758
|
+
* deleted_at:
|
|
759
|
+
* type: string
|
|
760
|
+
* format: date-time
|
|
761
|
+
* title: deleted_at
|
|
762
|
+
* description: The date the address was deleted.
|
|
763
|
+
*/
|
|
764
|
+
/**
|
|
765
|
+
* @schema VendorOrderShippingMethod
|
|
766
|
+
* title: "VendorOrderShippingMethod"
|
|
767
|
+
* type: object
|
|
768
|
+
* description: The shipping method's details.
|
|
769
|
+
* properties:
|
|
770
|
+
* id:
|
|
771
|
+
* type: string
|
|
772
|
+
* title: id
|
|
773
|
+
* description: The shipping method's ID.
|
|
774
|
+
* name:
|
|
775
|
+
* type: string
|
|
776
|
+
* title: name
|
|
777
|
+
* description: The shipping method's name.
|
|
778
|
+
* description:
|
|
779
|
+
* type: string
|
|
780
|
+
* title: description
|
|
781
|
+
* description: The shipping method's description.
|
|
782
|
+
* amount:
|
|
783
|
+
* type: number
|
|
784
|
+
* title: amount
|
|
785
|
+
* description: The shipping method's amount.
|
|
786
|
+
* is_tax_inclusive:
|
|
787
|
+
* type: boolean
|
|
788
|
+
* title: is_tax_inclusive
|
|
789
|
+
* description: Whether the shipping method's amount includes applied taxes.
|
|
790
|
+
* shipping_option_id:
|
|
791
|
+
* type: string
|
|
792
|
+
* title: shipping_option_id
|
|
793
|
+
* description: The ID of the shipping option this method was created from.
|
|
794
|
+
* data:
|
|
795
|
+
* type: object
|
|
796
|
+
* description: The shipping method's data, useful for fulfillment provider handling its fulfillment.
|
|
797
|
+
* externalDocs:
|
|
798
|
+
* url: https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property
|
|
799
|
+
* metadata:
|
|
800
|
+
* type: object
|
|
801
|
+
* description: The shipping method's metadata, can hold custom key-value pairs.
|
|
802
|
+
* original_total:
|
|
803
|
+
* type: number
|
|
804
|
+
* title: original_total
|
|
805
|
+
* description: The shipping method's total including taxes, excluding promotions.
|
|
806
|
+
* original_subtotal:
|
|
807
|
+
* type: number
|
|
808
|
+
* title: original_subtotal
|
|
809
|
+
* description: The shipping method's total excluding taxes, including promotions.
|
|
810
|
+
* original_tax_total:
|
|
811
|
+
* type: number
|
|
812
|
+
* title: original_tax_total
|
|
813
|
+
* description: The shipping method's total taxes excluding promotions.
|
|
814
|
+
* total:
|
|
815
|
+
* type: number
|
|
816
|
+
* title: total
|
|
817
|
+
* description: The shipping method's total including taxes and promotions.
|
|
818
|
+
* subtotal:
|
|
819
|
+
* type: number
|
|
820
|
+
* title: subtotal
|
|
821
|
+
* description: The shipping method's total excluding taxes, including promotions.
|
|
822
|
+
* tax_total:
|
|
823
|
+
* type: number
|
|
824
|
+
* title: tax_total
|
|
825
|
+
* description: The shipping method's tax total including promotions.
|
|
826
|
+
* discount_total:
|
|
827
|
+
* type: number
|
|
828
|
+
* title: discount_total
|
|
829
|
+
* description: The total discounts applied on the shipping method.
|
|
830
|
+
* discount_tax_total:
|
|
831
|
+
* type: number
|
|
832
|
+
* title: discount_tax_total
|
|
833
|
+
* description: The taxes applied on the discount amount.
|
|
834
|
+
* created_at:
|
|
835
|
+
* type: string
|
|
836
|
+
* format: date-time
|
|
837
|
+
* title: created_at
|
|
838
|
+
* description: The date the shipping method was created.
|
|
839
|
+
* updated_at:
|
|
840
|
+
* type: string
|
|
841
|
+
* format: date-time
|
|
842
|
+
* title: updated_at
|
|
843
|
+
* description: The date the shipping method was updated.
|
|
844
|
+
*/
|
|
845
|
+
/**
|
|
846
|
+
* @schema VendorOrderLineItem
|
|
847
|
+
* title: "VendorOrderLineItem"
|
|
848
|
+
* type: object
|
|
849
|
+
* description: The item's details.
|
|
850
|
+
* properties:
|
|
851
|
+
* id:
|
|
852
|
+
* type: string
|
|
853
|
+
* title: id
|
|
854
|
+
* description: The item's ID.
|
|
855
|
+
* title:
|
|
856
|
+
* type: string
|
|
857
|
+
* title: title
|
|
858
|
+
* description: The item's title.
|
|
859
|
+
* subtitle:
|
|
860
|
+
* type: string
|
|
861
|
+
* title: subtitle
|
|
862
|
+
* description: The item's subtitle.
|
|
863
|
+
* thumbnail:
|
|
864
|
+
* type: string
|
|
865
|
+
* title: thumbnail
|
|
866
|
+
* description: The URL of the item's thumbnail.
|
|
867
|
+
* variant:
|
|
868
|
+
* $ref: '#/components/schemas/VendorProductVariant'
|
|
869
|
+
* variant_id:
|
|
870
|
+
* type: string
|
|
871
|
+
* title: variant_id
|
|
872
|
+
* description: The ID of the associated variant.
|
|
873
|
+
* product:
|
|
874
|
+
* $ref: '#/components/schemas/VendorProduct'
|
|
875
|
+
* product_id:
|
|
876
|
+
* type: string
|
|
877
|
+
* title: product_id
|
|
878
|
+
* description: The ID of the associated product.
|
|
879
|
+
* product_title:
|
|
880
|
+
* type: string
|
|
881
|
+
* title: product_title
|
|
882
|
+
* description: The item's product title.
|
|
883
|
+
* product_description:
|
|
884
|
+
* type: string
|
|
885
|
+
* title: product_description
|
|
886
|
+
* description: The item's product description.
|
|
887
|
+
* product_subtitle:
|
|
888
|
+
* type: string
|
|
889
|
+
* title: product_subtitle
|
|
890
|
+
* description: The item's product subtitle.
|
|
891
|
+
* product_type:
|
|
892
|
+
* type: string
|
|
893
|
+
* title: product_type
|
|
894
|
+
* description: The item's product type.
|
|
895
|
+
* product_collection:
|
|
896
|
+
* type: string
|
|
897
|
+
* title: product_collection
|
|
898
|
+
* description: The ID of the collection the item's product belongs to.
|
|
899
|
+
* product_handle:
|
|
900
|
+
* type: string
|
|
901
|
+
* title: product_handle
|
|
902
|
+
* description: The item's product handle.
|
|
903
|
+
* variant_sku:
|
|
904
|
+
* type: string
|
|
905
|
+
* title: variant_sku
|
|
906
|
+
* description: The item's variant SKU.
|
|
907
|
+
* variant_barcode:
|
|
908
|
+
* type: string
|
|
909
|
+
* title: variant_barcode
|
|
910
|
+
* description: The item's variant barcode.
|
|
911
|
+
* variant_title:
|
|
912
|
+
* type: string
|
|
913
|
+
* title: variant_title
|
|
914
|
+
* description: The item's variant title.
|
|
915
|
+
* variant_option_values:
|
|
916
|
+
* type: object
|
|
917
|
+
* description: The values of the item variant's options.
|
|
918
|
+
* example:
|
|
919
|
+
* Color: Blue
|
|
920
|
+
* requires_shipping:
|
|
921
|
+
* type: boolean
|
|
922
|
+
* title: requires_shipping
|
|
923
|
+
* description: Whether the item requires shipping.
|
|
924
|
+
* is_discountable:
|
|
925
|
+
* type: boolean
|
|
926
|
+
* title: is_discountable
|
|
927
|
+
* description: Whether the item is discountable.
|
|
928
|
+
* is_tax_inclusive:
|
|
929
|
+
* type: boolean
|
|
930
|
+
* title: is_tax_inclusive
|
|
931
|
+
* description: Whether the item is tax inclusive.
|
|
932
|
+
* compare_at_unit_price:
|
|
933
|
+
* type: number
|
|
934
|
+
* title: compare_at_unit_price
|
|
935
|
+
* description: The original price of the item before a promotion or sale.
|
|
936
|
+
* unit_price:
|
|
937
|
+
* type: number
|
|
938
|
+
* title: unit_price
|
|
939
|
+
* description: The item's unit price.
|
|
940
|
+
* quantity:
|
|
941
|
+
* type: number
|
|
942
|
+
* title: quantity
|
|
943
|
+
* description: The item's quantity.
|
|
944
|
+
* detail:
|
|
945
|
+
* type: object
|
|
946
|
+
* created_at:
|
|
947
|
+
* type: string
|
|
948
|
+
* format: date-time
|
|
949
|
+
* title: created_at
|
|
950
|
+
* description: The date the item was created.
|
|
951
|
+
* updated_at:
|
|
952
|
+
* type: string
|
|
953
|
+
* format: date-time
|
|
954
|
+
* title: updated_at
|
|
955
|
+
* description: The date the item was updated.
|
|
956
|
+
* metadata:
|
|
957
|
+
* type: object
|
|
958
|
+
* description: The item's metadata, can hold custom key-value pairs.
|
|
959
|
+
* original_total:
|
|
960
|
+
* type: number
|
|
961
|
+
* title: original_total
|
|
962
|
+
* description: The item's total including taxes, excluding promotions.
|
|
963
|
+
* original_subtotal:
|
|
964
|
+
* type: number
|
|
965
|
+
* title: original_subtotal
|
|
966
|
+
* description: The item's total excluding taxes, including promotions.
|
|
967
|
+
* original_tax_total:
|
|
968
|
+
* type: number
|
|
969
|
+
* title: original_tax_total
|
|
970
|
+
* description: The total taxes of the item, excluding promotions.
|
|
971
|
+
* item_total:
|
|
972
|
+
* type: number
|
|
973
|
+
* title: item_total
|
|
974
|
+
* description: The total taxes of the item, including promotions.
|
|
975
|
+
* item_subtotal:
|
|
976
|
+
* type: number
|
|
977
|
+
* title: item_subtotal
|
|
978
|
+
* description: The item's total excluding taxes, including promotions.
|
|
979
|
+
* item_tax_total:
|
|
980
|
+
* type: number
|
|
981
|
+
* title: item_tax_total
|
|
982
|
+
* description: The total taxes of the item, including promotions.
|
|
983
|
+
* total:
|
|
984
|
+
* type: number
|
|
985
|
+
* title: total
|
|
986
|
+
* description: The item's total, including taxes and promotions.
|
|
987
|
+
* subtotal:
|
|
988
|
+
* type: number
|
|
989
|
+
* title: subtotal
|
|
990
|
+
* description: The item's subtotal excluding taxes, including promotions.
|
|
991
|
+
* tax_total:
|
|
992
|
+
* type: number
|
|
993
|
+
* title: tax_total
|
|
994
|
+
* description: The tax total of the item including promotions.
|
|
995
|
+
* discount_total:
|
|
996
|
+
* type: number
|
|
997
|
+
* title: discount_total
|
|
998
|
+
* description: The total discount amount of the item.
|
|
999
|
+
* discount_tax_total:
|
|
1000
|
+
* type: number
|
|
1001
|
+
* title: discount_tax_total
|
|
1002
|
+
* description: The total taxes applied on the discounted amount.
|
|
1003
|
+
* refundable_total:
|
|
1004
|
+
* type: number
|
|
1005
|
+
* title: refundable_total
|
|
1006
|
+
* description: The total refundable amount of the item's total.
|
|
1007
|
+
* refundable_total_per_unit:
|
|
1008
|
+
* type: number
|
|
1009
|
+
* title: refundable_total_per_unit
|
|
1010
|
+
* description: The total refundable amount of the item's total for a single quantity.
|
|
1011
|
+
* product_type_id:
|
|
1012
|
+
* type: string
|
|
1013
|
+
* title: product_type_id
|
|
1014
|
+
* description: The ID of the associated product's type.
|
|
1015
|
+
*/
|
|
1016
|
+
/**
|
|
1017
|
+
* @schema VendorProductVariant
|
|
1018
|
+
* title: "VendorProductVariant"
|
|
1019
|
+
* type: object
|
|
1020
|
+
* description: The product variant's details.
|
|
1021
|
+
* properties:
|
|
1022
|
+
* prices:
|
|
1023
|
+
* type: array
|
|
1024
|
+
* description: The variant's prices.
|
|
1025
|
+
* items:
|
|
1026
|
+
* type: object
|
|
1027
|
+
* id:
|
|
1028
|
+
* type: string
|
|
1029
|
+
* title: id
|
|
1030
|
+
* description: The variant's ID.
|
|
1031
|
+
* title:
|
|
1032
|
+
* type: string
|
|
1033
|
+
* title: title
|
|
1034
|
+
* description: The variant's title.
|
|
1035
|
+
* sku:
|
|
1036
|
+
* type: string
|
|
1037
|
+
* title: sku
|
|
1038
|
+
* description: The variant's SKU.
|
|
1039
|
+
* barcode:
|
|
1040
|
+
* type: string
|
|
1041
|
+
* title: barcode
|
|
1042
|
+
* description: The variant's barcode.
|
|
1043
|
+
* ean:
|
|
1044
|
+
* type: string
|
|
1045
|
+
* title: ean
|
|
1046
|
+
* description: The variant's EAN code.
|
|
1047
|
+
* upc:
|
|
1048
|
+
* type: string
|
|
1049
|
+
* title: upc
|
|
1050
|
+
* description: The variant's UPC.
|
|
1051
|
+
* allow_backorder:
|
|
1052
|
+
* type: boolean
|
|
1053
|
+
* title: allow_backorder
|
|
1054
|
+
* description: Whether the variant can be ordered even if it's out of stock.
|
|
1055
|
+
* manage_inventory:
|
|
1056
|
+
* type: boolean
|
|
1057
|
+
* title: manage_inventory
|
|
1058
|
+
* description: Whether the Medusa application manages the variant's inventory quantity and availablility. If disabled, the variant is always considered in stock.
|
|
1059
|
+
* inventory_quantity:
|
|
1060
|
+
* type: number
|
|
1061
|
+
* title: inventory_quantity
|
|
1062
|
+
* description: The variant's inventory quantity. This is only included if you pass in the `fields` query parameter a `+variants.inventory_quantity` parameter.
|
|
1063
|
+
* hs_code:
|
|
1064
|
+
* type: string
|
|
1065
|
+
* title: hs_code
|
|
1066
|
+
* description: The variant's HS code.
|
|
1067
|
+
* origin_country:
|
|
1068
|
+
* type: string
|
|
1069
|
+
* title: origin_country
|
|
1070
|
+
* description: The variant's origin country.
|
|
1071
|
+
* mid_code:
|
|
1072
|
+
* type: string
|
|
1073
|
+
* title: mid_code
|
|
1074
|
+
* description: The variant's MID code.
|
|
1075
|
+
* material:
|
|
1076
|
+
* type: string
|
|
1077
|
+
* title: material
|
|
1078
|
+
* description: The variant's material.
|
|
1079
|
+
* weight:
|
|
1080
|
+
* type: number
|
|
1081
|
+
* title: weight
|
|
1082
|
+
* description: The variant's weight.
|
|
1083
|
+
* length:
|
|
1084
|
+
* type: number
|
|
1085
|
+
* title: length
|
|
1086
|
+
* description: The variant's length.
|
|
1087
|
+
* height:
|
|
1088
|
+
* type: number
|
|
1089
|
+
* title: height
|
|
1090
|
+
* description: The variant's height.
|
|
1091
|
+
* width:
|
|
1092
|
+
* type: number
|
|
1093
|
+
* title: width
|
|
1094
|
+
* description: The variant's width.
|
|
1095
|
+
* variant_rank:
|
|
1096
|
+
* type: number
|
|
1097
|
+
* title: variant_rank
|
|
1098
|
+
* description: The variant's rank among its sibling variants.
|
|
1099
|
+
* options:
|
|
1100
|
+
* type: array
|
|
1101
|
+
* description: The variant's option values.
|
|
1102
|
+
* items:
|
|
1103
|
+
* type: object
|
|
1104
|
+
* product:
|
|
1105
|
+
* type: object
|
|
1106
|
+
* product_id:
|
|
1107
|
+
* type: string
|
|
1108
|
+
* title: product_id
|
|
1109
|
+
* description: The ID of the product that the variant belongs to.
|
|
1110
|
+
* calculated_price:
|
|
1111
|
+
* type: object
|
|
1112
|
+
* created_at:
|
|
1113
|
+
* type: string
|
|
1114
|
+
* format: date-time
|
|
1115
|
+
* title: created_at
|
|
1116
|
+
* description: The date the variant was created.
|
|
1117
|
+
* updated_at:
|
|
1118
|
+
* type: string
|
|
1119
|
+
* format: date-time
|
|
1120
|
+
* title: updated_at
|
|
1121
|
+
* description: The date the variant was updated.
|
|
1122
|
+
* deleted_at:
|
|
1123
|
+
* type: string
|
|
1124
|
+
* format: date-time
|
|
1125
|
+
* title: deleted_at
|
|
1126
|
+
* description: The date the variant was deleted.
|
|
1127
|
+
* metadata:
|
|
1128
|
+
* type: object
|
|
1129
|
+
* description: The variant's metadata, can hold custom key-value pairs.
|
|
1130
|
+
*/
|
|
1131
|
+
/**
|
|
1132
|
+
* @schema VendorProduct
|
|
1133
|
+
* title: "VendorProduct"
|
|
1134
|
+
* type: object
|
|
1135
|
+
* description: The product's details.
|
|
1136
|
+
* properties:
|
|
1137
|
+
* length:
|
|
1138
|
+
* type: number
|
|
1139
|
+
* title: length
|
|
1140
|
+
* description: The product's length.
|
|
1141
|
+
* title:
|
|
1142
|
+
* type: string
|
|
1143
|
+
* title: title
|
|
1144
|
+
* description: The product's title.
|
|
1145
|
+
* status:
|
|
1146
|
+
* type: string
|
|
1147
|
+
* description: The product's status.
|
|
1148
|
+
* enum:
|
|
1149
|
+
* - draft
|
|
1150
|
+
* - proposed
|
|
1151
|
+
* - published
|
|
1152
|
+
* - rejected
|
|
1153
|
+
* description:
|
|
1154
|
+
* type: string
|
|
1155
|
+
* title: description
|
|
1156
|
+
* description: The product's description.
|
|
1157
|
+
* id:
|
|
1158
|
+
* type: string
|
|
1159
|
+
* title: id
|
|
1160
|
+
* description: The product's ID.
|
|
1161
|
+
* metadata:
|
|
1162
|
+
* type: object
|
|
1163
|
+
* description: The product's metadata, can hold custom key-value pairs.
|
|
1164
|
+
* created_at:
|
|
1165
|
+
* type: string
|
|
1166
|
+
* format: date-time
|
|
1167
|
+
* title: created_at
|
|
1168
|
+
* description: The date the product was created.
|
|
1169
|
+
* updated_at:
|
|
1170
|
+
* type: string
|
|
1171
|
+
* format: date-time
|
|
1172
|
+
* title: updated_at
|
|
1173
|
+
* description: The date the product was updated.
|
|
1174
|
+
* handle:
|
|
1175
|
+
* type: string
|
|
1176
|
+
* title: handle
|
|
1177
|
+
* description: The product's unique handle.
|
|
1178
|
+
* subtitle:
|
|
1179
|
+
* type: string
|
|
1180
|
+
* title: subtitle
|
|
1181
|
+
* description: The product's subtitle.
|
|
1182
|
+
* is_giftcard:
|
|
1183
|
+
* type: boolean
|
|
1184
|
+
* title: is_giftcard
|
|
1185
|
+
* description: Whether the product is a gift card.
|
|
1186
|
+
* thumbnail:
|
|
1187
|
+
* type: string
|
|
1188
|
+
* title: thumbnail
|
|
1189
|
+
* description: The product's thumbnail.
|
|
1190
|
+
* width:
|
|
1191
|
+
* type: number
|
|
1192
|
+
* title: width
|
|
1193
|
+
* description: The product's width.
|
|
1194
|
+
* weight:
|
|
1195
|
+
* type: number
|
|
1196
|
+
* title: weight
|
|
1197
|
+
* description: The product's weight.
|
|
1198
|
+
* height:
|
|
1199
|
+
* type: number
|
|
1200
|
+
* title: height
|
|
1201
|
+
* description: The product's height.
|
|
1202
|
+
* origin_country:
|
|
1203
|
+
* type: string
|
|
1204
|
+
* title: origin_country
|
|
1205
|
+
* description: The product's origin country.
|
|
1206
|
+
* hs_code:
|
|
1207
|
+
* type: string
|
|
1208
|
+
* title: hs_code
|
|
1209
|
+
* description: The product's HS code.
|
|
1210
|
+
* mid_code:
|
|
1211
|
+
* type: string
|
|
1212
|
+
* title: mid_code
|
|
1213
|
+
* description: The product's MID code.
|
|
1214
|
+
* material:
|
|
1215
|
+
* type: string
|
|
1216
|
+
* title: material
|
|
1217
|
+
* description: The product's material.
|
|
1218
|
+
* collection_id:
|
|
1219
|
+
* type: string
|
|
1220
|
+
* title: collection_id
|
|
1221
|
+
* description: The ID of the collection that the product belongs to.
|
|
1222
|
+
* type_id:
|
|
1223
|
+
* type: string
|
|
1224
|
+
* title: type_id
|
|
1225
|
+
* description: The ID of the product's type.
|
|
1226
|
+
* images:
|
|
1227
|
+
* type: array
|
|
1228
|
+
* description: The product's images.
|
|
1229
|
+
* items:
|
|
1230
|
+
* $ref: '#/components/schemas/VendorProductImage'
|
|
1231
|
+
* discountable:
|
|
1232
|
+
* type: boolean
|
|
1233
|
+
* title: discountable
|
|
1234
|
+
* description: Whether discounts can be applied on the product.
|
|
1235
|
+
* external_id:
|
|
1236
|
+
* type: string
|
|
1237
|
+
* title: external_id
|
|
1238
|
+
* description: The ID of a product in an external system, such as an ERP or CMS.
|
|
1239
|
+
* deleted_at:
|
|
1240
|
+
* type: string
|
|
1241
|
+
* format: date-time
|
|
1242
|
+
* title: deleted_at
|
|
1243
|
+
* description: The date the product was deleted.
|
|
1244
|
+
*/
|
|
1245
|
+
/**
|
|
1246
|
+
* @schema VendorProductImage
|
|
1247
|
+
* title: "ProductImage"
|
|
1248
|
+
* type: object
|
|
1249
|
+
* description: The image's details.
|
|
1250
|
+
* properties:
|
|
1251
|
+
* id:
|
|
1252
|
+
* type: string
|
|
1253
|
+
* title: id
|
|
1254
|
+
* description: The image's ID.
|
|
1255
|
+
* url:
|
|
1256
|
+
* type: string
|
|
1257
|
+
* title: url
|
|
1258
|
+
* description: The image's URL.
|
|
1259
|
+
* created_at:
|
|
1260
|
+
* type: string
|
|
1261
|
+
* format: date-time
|
|
1262
|
+
* title: created_at
|
|
1263
|
+
* description: The date the image was created.
|
|
1264
|
+
* updated_at:
|
|
1265
|
+
* type: string
|
|
1266
|
+
* format: date-time
|
|
1267
|
+
* title: updated_at
|
|
1268
|
+
* description: The date the image was updated.
|
|
1269
|
+
* deleted_at:
|
|
1270
|
+
* type: string
|
|
1271
|
+
* format: date-time
|
|
1272
|
+
* title: deleted_at
|
|
1273
|
+
* description: The date the image was deleted.
|
|
1274
|
+
*/
|
|
1275
|
+
/**
|
|
1276
|
+
* @schema VendorCustomerOrderOverview
|
|
1277
|
+
* type: object
|
|
1278
|
+
* description: The order's overview.
|
|
1279
|
+
* properties:
|
|
1280
|
+
* id:
|
|
1281
|
+
* type: string
|
|
1282
|
+
* title: id
|
|
1283
|
+
* description: The order's ID.
|
|
1284
|
+
* version:
|
|
1285
|
+
* type: number
|
|
1286
|
+
* title: version
|
|
1287
|
+
* description: The order's version.
|
|
1288
|
+
* region_id:
|
|
1289
|
+
* type: string
|
|
1290
|
+
* title: region_id
|
|
1291
|
+
* description: The ID of the region associated with the order.
|
|
1292
|
+
* status:
|
|
1293
|
+
* type: string
|
|
1294
|
+
* title: status
|
|
1295
|
+
* description: The status of the order.
|
|
1296
|
+
* customer_id:
|
|
1297
|
+
* type: string
|
|
1298
|
+
* title: customer_id
|
|
1299
|
+
* description: The ID of the customer that placed the order.
|
|
1300
|
+
* sales_channel_id:
|
|
1301
|
+
* type: string
|
|
1302
|
+
* title: sales_channel_id
|
|
1303
|
+
* description: The ID of the sales channel the order is placed in.
|
|
1304
|
+
* email:
|
|
1305
|
+
* type: string
|
|
1306
|
+
* title: email
|
|
1307
|
+
* description: The email of the customer that placed the order.
|
|
1308
|
+
* format: email
|
|
1309
|
+
* currency_code:
|
|
1310
|
+
* type: string
|
|
1311
|
+
* title: currency_code
|
|
1312
|
+
* description: The order's currency code.
|
|
1313
|
+
* display_id:
|
|
1314
|
+
* type: number
|
|
1315
|
+
* title: display_id
|
|
1316
|
+
* description: The order's display ID.
|
|
1317
|
+
* is_draft_order:
|
|
1318
|
+
* type: boolean
|
|
1319
|
+
* title: is_draft_order
|
|
1320
|
+
* description: Indicates if order is draft.
|
|
1321
|
+
* metadata:
|
|
1322
|
+
* type: object
|
|
1323
|
+
* description: The order's metadata, can hold custom key-value pairs.
|
|
1324
|
+
* created_at:
|
|
1325
|
+
* type: string
|
|
1326
|
+
* format: date-time
|
|
1327
|
+
* title: created_at
|
|
1328
|
+
* description: The date the order was created.
|
|
1329
|
+
* updated_at:
|
|
1330
|
+
* type: string
|
|
1331
|
+
* format: date-time
|
|
1332
|
+
* title: updated_at
|
|
1333
|
+
* description: The date the order was updated.
|
|
1334
|
+
*/
|
|
1335
|
+
/**
|
|
1336
|
+
* @schema VendorOrderChange
|
|
1337
|
+
* type: object
|
|
1338
|
+
* description: The order's change.
|
|
1339
|
+
* x-schemaName: VendorOrderChange
|
|
1340
|
+
* properties:
|
|
1341
|
+
* id:
|
|
1342
|
+
* type: string
|
|
1343
|
+
* title: id
|
|
1344
|
+
* description: The order change's ID.
|
|
1345
|
+
* version:
|
|
1346
|
+
* type: number
|
|
1347
|
+
* title: version
|
|
1348
|
+
* description: >-
|
|
1349
|
+
* The order change's version. This will be the order's version when the
|
|
1350
|
+
* change is applied.
|
|
1351
|
+
* change_type:
|
|
1352
|
+
* type: string
|
|
1353
|
+
* description: The order change's type.
|
|
1354
|
+
* enum:
|
|
1355
|
+
* - return
|
|
1356
|
+
* - exchange
|
|
1357
|
+
* - claim
|
|
1358
|
+
* - edit
|
|
1359
|
+
* order_id:
|
|
1360
|
+
* type: string
|
|
1361
|
+
* title: order_id
|
|
1362
|
+
* description: The ID of the order this change applies on.
|
|
1363
|
+
* return_id:
|
|
1364
|
+
* type: string
|
|
1365
|
+
* title: return_id
|
|
1366
|
+
* description: The ID of the associated return.
|
|
1367
|
+
* exchange_id:
|
|
1368
|
+
* type: string
|
|
1369
|
+
* title: exchange_id
|
|
1370
|
+
* description: The ID of the associated exchange.
|
|
1371
|
+
* claim_id:
|
|
1372
|
+
* type: string
|
|
1373
|
+
* title: claim_id
|
|
1374
|
+
* description: The ID of the associated claim.
|
|
1375
|
+
* actions:
|
|
1376
|
+
* type: array
|
|
1377
|
+
* description: The order change's actions.
|
|
1378
|
+
* items:
|
|
1379
|
+
* $ref: '#/components/schemas/VendorOrderChangeAction'
|
|
1380
|
+
* status:
|
|
1381
|
+
* type: string
|
|
1382
|
+
* description: The order change's status.
|
|
1383
|
+
* enum:
|
|
1384
|
+
* - canceled
|
|
1385
|
+
* - requested
|
|
1386
|
+
* - pending
|
|
1387
|
+
* - confirmed
|
|
1388
|
+
* - declined
|
|
1389
|
+
* requested_by:
|
|
1390
|
+
* type: string
|
|
1391
|
+
* title: requested_by
|
|
1392
|
+
* description: The ID of the user that requested the change.
|
|
1393
|
+
* requested_at:
|
|
1394
|
+
* type: string
|
|
1395
|
+
* title: requested_at
|
|
1396
|
+
* description: The date the order change was requested.
|
|
1397
|
+
* format: date-time
|
|
1398
|
+
* confirmed_by:
|
|
1399
|
+
* type: string
|
|
1400
|
+
* title: confirmed_by
|
|
1401
|
+
* description: The ID of the user that confirmed the order change.
|
|
1402
|
+
* confirmed_at:
|
|
1403
|
+
* type: string
|
|
1404
|
+
* title: confirmed_at
|
|
1405
|
+
* description: The date the order change was confirmed.
|
|
1406
|
+
* format: date-time
|
|
1407
|
+
* declined_by:
|
|
1408
|
+
* type: string
|
|
1409
|
+
* title: declined_by
|
|
1410
|
+
* description: The ID of the user that declined the order change.
|
|
1411
|
+
* declined_reason:
|
|
1412
|
+
* type: string
|
|
1413
|
+
* title: declined_reason
|
|
1414
|
+
* description: The reason the order change was declined.
|
|
1415
|
+
* metadata:
|
|
1416
|
+
* type: object
|
|
1417
|
+
* description: The order change's metadata, can hold custom key-value pairs.
|
|
1418
|
+
* declined_at:
|
|
1419
|
+
* type: string
|
|
1420
|
+
* title: declined_at
|
|
1421
|
+
* description: The date the order change was declined.
|
|
1422
|
+
* format: date-time
|
|
1423
|
+
* canceled_by:
|
|
1424
|
+
* type: string
|
|
1425
|
+
* title: canceled_by
|
|
1426
|
+
* description: The ID of the user that canceled the order change.
|
|
1427
|
+
* canceled_at:
|
|
1428
|
+
* type: string
|
|
1429
|
+
* title: canceled_at
|
|
1430
|
+
* description: The date the order change was canceled.
|
|
1431
|
+
* format: date-time
|
|
1432
|
+
* created_at:
|
|
1433
|
+
* type: string
|
|
1434
|
+
* format: date-time
|
|
1435
|
+
* title: created_at
|
|
1436
|
+
* description: The date the order change was created.
|
|
1437
|
+
* updated_at:
|
|
1438
|
+
* type: string
|
|
1439
|
+
* format: date-time
|
|
1440
|
+
* title: updated_at
|
|
1441
|
+
* description: The date the order change was updated.
|
|
1442
|
+
*/
|
|
1443
|
+
/**
|
|
1444
|
+
* @schema VendorOrderChangeAction
|
|
1445
|
+
* type: object
|
|
1446
|
+
* description: The order change action's details.
|
|
1447
|
+
* x-schemaName: VendorOrderChangeAction
|
|
1448
|
+
* properties:
|
|
1449
|
+
* id:
|
|
1450
|
+
* type: string
|
|
1451
|
+
* title: id
|
|
1452
|
+
* description: The action's ID.
|
|
1453
|
+
* order_change_id:
|
|
1454
|
+
* type: string
|
|
1455
|
+
* title: order_change_id
|
|
1456
|
+
* description: The ID of the order change that the action belongs to.
|
|
1457
|
+
* order_id:
|
|
1458
|
+
* type: string
|
|
1459
|
+
* title: order_id
|
|
1460
|
+
* description: The ID of the order the associated change is for.
|
|
1461
|
+
* return_id:
|
|
1462
|
+
* type: string
|
|
1463
|
+
* title: return_id
|
|
1464
|
+
* description: The ID of the associated return.
|
|
1465
|
+
* claim_id:
|
|
1466
|
+
* type: string
|
|
1467
|
+
* title: claim_id
|
|
1468
|
+
* description: The ID of the associated claim.
|
|
1469
|
+
* exchange_id:
|
|
1470
|
+
* type: string
|
|
1471
|
+
* title: exchange_id
|
|
1472
|
+
* description: The ID of the associated exchange.
|
|
1473
|
+
* reference:
|
|
1474
|
+
* type: string
|
|
1475
|
+
* title: reference
|
|
1476
|
+
* description: The name of the table this action applies on.
|
|
1477
|
+
* enum:
|
|
1478
|
+
* - claim
|
|
1479
|
+
* - exchange
|
|
1480
|
+
* - return
|
|
1481
|
+
* - order_shipping_method
|
|
1482
|
+
* reference_id:
|
|
1483
|
+
* type: string
|
|
1484
|
+
* title: reference_id
|
|
1485
|
+
* description: The ID of the record in the referenced table.
|
|
1486
|
+
* action:
|
|
1487
|
+
* type: string
|
|
1488
|
+
* description: The applied action.
|
|
1489
|
+
* enum:
|
|
1490
|
+
* - CANCEL_RETURN_ITEM
|
|
1491
|
+
* - FULFILL_ITEM
|
|
1492
|
+
* - DELIVER_ITEM
|
|
1493
|
+
* - CANCEL_ITEM_FULFILLMENT
|
|
1494
|
+
* - ITEM_ADD
|
|
1495
|
+
* - ITEM_REMOVE
|
|
1496
|
+
* - ITEM_UPDATE
|
|
1497
|
+
* - RECEIVE_DAMAGED_RETURN_ITEM
|
|
1498
|
+
* - RECEIVE_RETURN_ITEM
|
|
1499
|
+
* - RETURN_ITEM
|
|
1500
|
+
* - SHIPPING_ADD
|
|
1501
|
+
* - SHIPPING_REMOVE
|
|
1502
|
+
* - SHIP_ITEM
|
|
1503
|
+
* - WRITE_OFF_ITEM
|
|
1504
|
+
* - REINSTATE_ITEM
|
|
1505
|
+
* details:
|
|
1506
|
+
* type: object
|
|
1507
|
+
* description: The action's details.
|
|
1508
|
+
* internal_note:
|
|
1509
|
+
* type: string
|
|
1510
|
+
* title: internal_note
|
|
1511
|
+
* description: A note that's viewed only by admin users.
|
|
1512
|
+
* created_at:
|
|
1513
|
+
* type: string
|
|
1514
|
+
* format: date-time
|
|
1515
|
+
* title: created_at
|
|
1516
|
+
* description: The date the action was created.
|
|
1517
|
+
* updated_at:
|
|
1518
|
+
* type: string
|
|
1519
|
+
* format: date-time
|
|
1520
|
+
* title: updated_at
|
|
1521
|
+
* description: The date the action was updated.
|
|
1522
|
+
*/
|
|
1523
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBpL29wZW5hcGkvdmVuZG9yL29yZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7Ozs7Ozs7Ozs7O0dBWUc7O0FBRUg7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtCRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTBCRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FtTUc7QUFFSDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNFRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FpQ0c7QUFFSDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FtQ0c7QUFFSDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTZERztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBOENHO0FBRUg7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTJFRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXFERztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXlDRztBQUVIOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUg7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBb0VHO0FBRUg7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBZ0ZHO0FBRUg7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBMEtHO0FBRUg7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWtIRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWlIRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTZCRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTJERztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTJHRztBQUVIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBK0VHIn0=
|