@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.
Files changed (1200) hide show
  1. package/.medusa/server/src/admin/index.js +38862 -0
  2. package/.medusa/server/src/admin/index.mjs +38846 -0
  3. package/.medusa/server/src/api/admin/attributes/[id]/route.d.ts +177 -0
  4. package/.medusa/server/src/api/admin/attributes/[id]/route.js +240 -0
  5. package/.medusa/server/src/api/admin/attributes/[id]/values/[value_id]/route.d.ts +116 -0
  6. package/.medusa/server/src/api/admin/attributes/[id]/values/[value_id]/route.js +152 -0
  7. package/.medusa/server/src/api/admin/attributes/[id]/values/route.d.ts +111 -0
  8. package/.medusa/server/src/api/admin/attributes/[id]/values/route.js +151 -0
  9. package/.medusa/server/src/api/admin/attributes/middlewares.d.ts +2 -0
  10. package/.medusa/server/src/api/admin/attributes/middlewares.js +102 -0
  11. package/.medusa/server/src/api/admin/attributes/query-config.d.ts +20 -0
  12. package/.medusa/server/src/api/admin/attributes/query-config.js +41 -0
  13. package/.medusa/server/src/api/admin/attributes/route.d.ts +194 -0
  14. package/.medusa/server/src/api/admin/attributes/route.js +241 -0
  15. package/.medusa/server/src/api/admin/attributes/validators.d.ts +497 -0
  16. package/.medusa/server/src/api/admin/attributes/validators.js +80 -0
  17. package/.medusa/server/src/api/admin/configuration/[id]/route.d.ts +37 -0
  18. package/.medusa/server/src/api/admin/configuration/[id]/route.js +47 -0
  19. package/.medusa/server/src/api/admin/configuration/middlewares.d.ts +2 -0
  20. package/.medusa/server/src/api/admin/configuration/middlewares.js +23 -0
  21. package/.medusa/server/src/api/admin/configuration/route.d.ts +77 -0
  22. package/.medusa/server/src/api/admin/configuration/route.js +102 -0
  23. package/.medusa/server/src/api/admin/configuration/validators.d.ts +59 -0
  24. package/.medusa/server/src/api/admin/configuration/validators.js +18 -0
  25. package/.medusa/server/src/api/admin/middlewares.d.ts +2 -0
  26. package/.medusa/server/src/api/admin/middlewares.js +16 -0
  27. package/.medusa/server/src/api/admin/notifications/route.d.ts +55 -0
  28. package/.medusa/server/src/api/admin/notifications/route.js +67 -0
  29. package/.medusa/server/src/api/admin/order-sets/[id]/route.d.ts +47 -0
  30. package/.medusa/server/src/api/admin/order-sets/[id]/route.js +61 -0
  31. package/.medusa/server/src/api/admin/order-sets/middlewares.d.ts +2 -0
  32. package/.medusa/server/src/api/admin/order-sets/middlewares.js +23 -0
  33. package/.medusa/server/src/api/admin/order-sets/query-config.d.ts +11 -0
  34. package/.medusa/server/src/api/admin/order-sets/query-config.js +68 -0
  35. package/.medusa/server/src/api/admin/order-sets/route.d.ts +60 -0
  36. package/.medusa/server/src/api/admin/order-sets/route.js +97 -0
  37. package/.medusa/server/src/api/admin/order-sets/validators.d.ts +24 -0
  38. package/.medusa/server/src/api/admin/order-sets/validators.js +12 -0
  39. package/.medusa/server/src/api/admin/orders/[id]/route.d.ts +4 -0
  40. package/.medusa/server/src/api/admin/orders/[id]/route.js +20 -0
  41. package/.medusa/server/src/api/admin/products/[id]/applicable-attributes/route.d.ts +50 -0
  42. package/.medusa/server/src/api/admin/products/[id]/applicable-attributes/route.js +58 -0
  43. package/.medusa/server/src/api/admin/products/middlewares.d.ts +2 -0
  44. package/.medusa/server/src/api/admin/products/middlewares.js +16 -0
  45. package/.medusa/server/src/api/admin/products/query-config.d.ts +10 -0
  46. package/.medusa/server/src/api/admin/products/query-config.js +24 -0
  47. package/.medusa/server/src/api/admin/products/validators.d.ts +1803 -0
  48. package/.medusa/server/src/api/admin/products/validators.js +236 -0
  49. package/.medusa/server/src/api/admin/sellers/[id]/customer-groups/route.d.ts +73 -0
  50. package/.medusa/server/src/api/admin/sellers/[id]/customer-groups/route.js +100 -0
  51. package/.medusa/server/src/api/admin/sellers/[id]/orders/route.d.ts +73 -0
  52. package/.medusa/server/src/api/admin/sellers/[id]/orders/route.js +113 -0
  53. package/.medusa/server/src/api/admin/sellers/[id]/products/route.d.ts +73 -0
  54. package/.medusa/server/src/api/admin/sellers/[id]/products/route.js +100 -0
  55. package/.medusa/server/src/api/admin/sellers/[id]/route.d.ts +134 -0
  56. package/.medusa/server/src/api/admin/sellers/[id]/route.js +167 -0
  57. package/.medusa/server/src/api/admin/sellers/invite/route.d.ts +52 -0
  58. package/.medusa/server/src/api/admin/sellers/invite/route.js +61 -0
  59. package/.medusa/server/src/api/admin/sellers/middlewares.d.ts +2 -0
  60. package/.medusa/server/src/api/admin/sellers/middlewares.js +58 -0
  61. package/.medusa/server/src/api/admin/sellers/query-config.d.ts +31 -0
  62. package/.medusa/server/src/api/admin/sellers/query-config.js +43 -0
  63. package/.medusa/server/src/api/admin/sellers/route.d.ts +54 -0
  64. package/.medusa/server/src/api/admin/sellers/route.js +71 -0
  65. package/.medusa/server/src/api/admin/sellers/validators.d.ts +134 -0
  66. package/.medusa/server/src/api/admin/sellers/validators.js +45 -0
  67. package/.medusa/server/src/api/admin/stock-locations/route.d.ts +2 -0
  68. package/.medusa/server/src/api/admin/stock-locations/route.js +21 -0
  69. package/.medusa/server/src/api/admin/talk-js/route.d.ts +2 -0
  70. package/.medusa/server/src/api/admin/talk-js/route.js +9 -0
  71. package/.medusa/server/src/api/hooks/middlewares.d.ts +2 -0
  72. package/.medusa/server/src/api/hooks/middlewares.js +11 -0
  73. package/.medusa/server/src/api/hooks/payouts/route.d.ts +2 -0
  74. package/.medusa/server/src/api/hooks/payouts/route.js +22 -0
  75. package/.medusa/server/src/api/middlewares.d.ts +2 -0
  76. package/.medusa/server/src/api/middlewares.js +10 -0
  77. package/.medusa/server/src/api/openapi/admin/attribute.d.ts +106 -0
  78. package/.medusa/server/src/api/openapi/admin/attribute.js +108 -0
  79. package/.medusa/server/src/api/openapi/admin/commission.d.ts +177 -0
  80. package/.medusa/server/src/api/openapi/admin/commission.js +179 -0
  81. package/.medusa/server/src/api/openapi/admin/configuration.d.ts +16 -0
  82. package/.medusa/server/src/api/openapi/admin/configuration.js +18 -0
  83. package/.medusa/server/src/api/openapi/admin/notification.d.ts +33 -0
  84. package/.medusa/server/src/api/openapi/admin/notification.js +35 -0
  85. package/.medusa/server/src/api/openapi/admin/order-set.d.ts +78 -0
  86. package/.medusa/server/src/api/openapi/admin/order-set.js +80 -0
  87. package/.medusa/server/src/api/openapi/admin/request.d.ts +45 -0
  88. package/.medusa/server/src/api/openapi/admin/request.js +47 -0
  89. package/.medusa/server/src/api/openapi/admin/return-request.d.ts +86 -0
  90. package/.medusa/server/src/api/openapi/admin/return-request.js +88 -0
  91. package/.medusa/server/src/api/openapi/admin/seller.d.ts +97 -0
  92. package/.medusa/server/src/api/openapi/admin/seller.js +99 -0
  93. package/.medusa/server/src/api/openapi/store/order-set.d.ts +78 -0
  94. package/.medusa/server/src/api/openapi/store/order-set.js +80 -0
  95. package/.medusa/server/src/api/openapi/store/return.d.ts +111 -0
  96. package/.medusa/server/src/api/openapi/store/return.js +113 -0
  97. package/.medusa/server/src/api/openapi/store/seller.d.ts +64 -0
  98. package/.medusa/server/src/api/openapi/store/seller.js +66 -0
  99. package/.medusa/server/src/api/openapi/store/wishlist.d.ts +146 -0
  100. package/.medusa/server/src/api/openapi/store/wishlist.js +148 -0
  101. package/.medusa/server/src/api/openapi/vendor/attribute.d.ts +73 -0
  102. package/.medusa/server/src/api/openapi/vendor/attribute.js +75 -0
  103. package/.medusa/server/src/api/openapi/vendor/auth.d.ts +129 -0
  104. package/.medusa/server/src/api/openapi/vendor/auth.js +131 -0
  105. package/.medusa/server/src/api/openapi/vendor/campaign.d.ts +87 -0
  106. package/.medusa/server/src/api/openapi/vendor/campaign.js +89 -0
  107. package/.medusa/server/src/api/openapi/vendor/commission.d.ts +177 -0
  108. package/.medusa/server/src/api/openapi/vendor/commission.js +179 -0
  109. package/.medusa/server/src/api/openapi/vendor/customer.d.ts +48 -0
  110. package/.medusa/server/src/api/openapi/vendor/customer.js +50 -0
  111. package/.medusa/server/src/api/openapi/vendor/fulfillment.d.ts +463 -0
  112. package/.medusa/server/src/api/openapi/vendor/fulfillment.js +465 -0
  113. package/.medusa/server/src/api/openapi/vendor/marketplace.d.ts +26 -0
  114. package/.medusa/server/src/api/openapi/vendor/marketplace.js +28 -0
  115. package/.medusa/server/src/api/openapi/vendor/notification.d.ts +33 -0
  116. package/.medusa/server/src/api/openapi/vendor/notification.js +35 -0
  117. package/.medusa/server/src/api/openapi/vendor/onboarding.d.ts +39 -0
  118. package/.medusa/server/src/api/openapi/vendor/onboarding.js +41 -0
  119. package/.medusa/server/src/api/openapi/vendor/order.d.ts +1521 -0
  120. package/.medusa/server/src/api/openapi/vendor/order.js +1523 -0
  121. package/.medusa/server/src/api/openapi/vendor/payout.d.ts +110 -0
  122. package/.medusa/server/src/api/openapi/vendor/payout.js +112 -0
  123. package/.medusa/server/src/api/openapi/vendor/price-list.d.ts +124 -0
  124. package/.medusa/server/src/api/openapi/vendor/price-list.js +126 -0
  125. package/.medusa/server/src/api/openapi/vendor/price-preference.d.ts +47 -0
  126. package/.medusa/server/src/api/openapi/vendor/price-preference.js +49 -0
  127. package/.medusa/server/src/api/openapi/vendor/product.d.ts +467 -0
  128. package/.medusa/server/src/api/openapi/vendor/product.js +469 -0
  129. package/.medusa/server/src/api/openapi/vendor/promotion.d.ts +165 -0
  130. package/.medusa/server/src/api/openapi/vendor/promotion.js +167 -0
  131. package/.medusa/server/src/api/openapi/vendor/region.d.ts +58 -0
  132. package/.medusa/server/src/api/openapi/vendor/region.js +60 -0
  133. package/.medusa/server/src/api/openapi/vendor/request.d.ts +38 -0
  134. package/.medusa/server/src/api/openapi/vendor/request.js +40 -0
  135. package/.medusa/server/src/api/openapi/vendor/reservation.d.ts +54 -0
  136. package/.medusa/server/src/api/openapi/vendor/reservation.js +56 -0
  137. package/.medusa/server/src/api/openapi/vendor/return-request.d.ts +72 -0
  138. package/.medusa/server/src/api/openapi/vendor/return-request.js +74 -0
  139. package/.medusa/server/src/api/openapi/vendor/return.d.ts +111 -0
  140. package/.medusa/server/src/api/openapi/vendor/return.js +113 -0
  141. package/.medusa/server/src/api/openapi/vendor/review.d.ts +28 -0
  142. package/.medusa/server/src/api/openapi/vendor/review.js +30 -0
  143. package/.medusa/server/src/api/openapi/vendor/sales-channels.d.ts +44 -0
  144. package/.medusa/server/src/api/openapi/vendor/sales-channels.js +46 -0
  145. package/.medusa/server/src/api/openapi/vendor/seller.d.ts +170 -0
  146. package/.medusa/server/src/api/openapi/vendor/seller.js +172 -0
  147. package/.medusa/server/src/api/openapi/vendor/store.d.ts +54 -0
  148. package/.medusa/server/src/api/openapi/vendor/store.js +56 -0
  149. package/.medusa/server/src/api/store/carts/[id]/complete/route.d.ts +2 -0
  150. package/.medusa/server/src/api/store/carts/[id]/complete/route.js +20 -0
  151. package/.medusa/server/src/api/store/carts/[id]/line-items/[line_id]/route.d.ts +3 -0
  152. package/.medusa/server/src/api/store/carts/[id]/line-items/[line_id]/route.js +17 -0
  153. package/.medusa/server/src/api/store/carts/[id]/shipping-methods/route.d.ts +5 -0
  154. package/.medusa/server/src/api/store/carts/[id]/shipping-methods/route.js +43 -0
  155. package/.medusa/server/src/api/store/carts/middlewares.d.ts +2 -0
  156. package/.medusa/server/src/api/store/carts/middlewares.js +60 -0
  157. package/.medusa/server/src/api/store/carts/validators.d.ts +9 -0
  158. package/.medusa/server/src/api/store/carts/validators.js +8 -0
  159. package/.medusa/server/src/api/store/middlewares.d.ts +2 -0
  160. package/.medusa/server/src/api/store/middlewares.js +27 -0
  161. package/.medusa/server/src/api/store/order-set/[id]/route.d.ts +2 -0
  162. package/.medusa/server/src/api/store/order-set/[id]/route.js +15 -0
  163. package/.medusa/server/src/api/store/order-set/middlewares.d.ts +2 -0
  164. package/.medusa/server/src/api/store/order-set/middlewares.js +23 -0
  165. package/.medusa/server/src/api/store/order-set/query-config.d.ts +11 -0
  166. package/.medusa/server/src/api/store/order-set/query-config.js +50 -0
  167. package/.medusa/server/src/api/store/order-set/route.d.ts +76 -0
  168. package/.medusa/server/src/api/store/order-set/route.js +104 -0
  169. package/.medusa/server/src/api/store/order-set/validators.d.ts +19 -0
  170. package/.medusa/server/src/api/store/order-set/validators.js +9 -0
  171. package/.medusa/server/src/api/store/returns/[id]/route.d.ts +2 -0
  172. package/.medusa/server/src/api/store/returns/[id]/route.js +22 -0
  173. package/.medusa/server/src/api/store/returns/middlewares.d.ts +2 -0
  174. package/.medusa/server/src/api/store/returns/middlewares.js +23 -0
  175. package/.medusa/server/src/api/store/returns/query-config.d.ts +11 -0
  176. package/.medusa/server/src/api/store/returns/query-config.js +29 -0
  177. package/.medusa/server/src/api/store/returns/route.d.ts +76 -0
  178. package/.medusa/server/src/api/store/returns/route.js +102 -0
  179. package/.medusa/server/src/api/store/returns/validators.d.ts +19 -0
  180. package/.medusa/server/src/api/store/returns/validators.js +9 -0
  181. package/.medusa/server/src/api/store/seller/[handle]/route.d.ts +36 -0
  182. package/.medusa/server/src/api/store/seller/[handle]/route.js +53 -0
  183. package/.medusa/server/src/api/store/seller/middlewares.d.ts +2 -0
  184. package/.medusa/server/src/api/store/seller/middlewares.js +23 -0
  185. package/.medusa/server/src/api/store/seller/query-config.d.ts +11 -0
  186. package/.medusa/server/src/api/store/seller/query-config.js +27 -0
  187. package/.medusa/server/src/api/store/seller/route.d.ts +53 -0
  188. package/.medusa/server/src/api/store/seller/route.js +71 -0
  189. package/.medusa/server/src/api/store/seller/validators.d.ts +21 -0
  190. package/.medusa/server/src/api/store/seller/validators.js +9 -0
  191. package/.medusa/server/src/api/store/shipping-options/middlewares.d.ts +2 -0
  192. package/.medusa/server/src/api/store/shipping-options/middlewares.js +24 -0
  193. package/.medusa/server/src/api/store/shipping-options/query-config.d.ts +10 -0
  194. package/.medusa/server/src/api/store/shipping-options/query-config.js +14 -0
  195. package/.medusa/server/src/api/store/shipping-options/return/route.d.ts +50 -0
  196. package/.medusa/server/src/api/store/shipping-options/return/route.js +65 -0
  197. package/.medusa/server/src/api/store/shipping-options/route.d.ts +2 -0
  198. package/.medusa/server/src/api/store/shipping-options/route.js +14 -0
  199. package/.medusa/server/src/api/store/shipping-options/validators.d.ts +77 -0
  200. package/.medusa/server/src/api/store/shipping-options/validators.js +28 -0
  201. package/.medusa/server/src/api/store/wishlist/[id]/product/[reference_id]/route.d.ts +46 -0
  202. package/.medusa/server/src/api/store/wishlist/[id]/product/[reference_id]/route.js +61 -0
  203. package/.medusa/server/src/api/store/wishlist/middlewares.d.ts +2 -0
  204. package/.medusa/server/src/api/store/wishlist/middlewares.js +39 -0
  205. package/.medusa/server/src/api/store/wishlist/query-config.d.ts +11 -0
  206. package/.medusa/server/src/api/store/wishlist/query-config.js +43 -0
  207. package/.medusa/server/src/api/store/wishlist/route.d.ts +103 -0
  208. package/.medusa/server/src/api/store/wishlist/route.js +152 -0
  209. package/.medusa/server/src/api/store/wishlist/validators.d.ts +63 -0
  210. package/.medusa/server/src/api/store/wishlist/validators.js +45 -0
  211. package/.medusa/server/src/api/vendor/attributes/[id]/route.d.ts +48 -0
  212. package/.medusa/server/src/api/vendor/attributes/[id]/route.js +65 -0
  213. package/.medusa/server/src/api/vendor/attributes/middlewares.d.ts +2 -0
  214. package/.medusa/server/src/api/vendor/attributes/middlewares.js +56 -0
  215. package/.medusa/server/src/api/vendor/attributes/query-config.d.ts +20 -0
  216. package/.medusa/server/src/api/vendor/attributes/query-config.js +40 -0
  217. package/.medusa/server/src/api/vendor/attributes/route.d.ts +80 -0
  218. package/.medusa/server/src/api/vendor/attributes/route.js +99 -0
  219. package/.medusa/server/src/api/vendor/attributes/validators.d.ts +34 -0
  220. package/.medusa/server/src/api/vendor/attributes/validators.js +16 -0
  221. package/.medusa/server/src/api/vendor/campaigns/[id]/route.d.ts +116 -0
  222. package/.medusa/server/src/api/vendor/campaigns/[id]/route.js +161 -0
  223. package/.medusa/server/src/api/vendor/campaigns/middlewares.d.ts +2 -0
  224. package/.medusa/server/src/api/vendor/campaigns/middlewares.js +63 -0
  225. package/.medusa/server/src/api/vendor/campaigns/query-config.d.ts +11 -0
  226. package/.medusa/server/src/api/vendor/campaigns/query-config.js +27 -0
  227. package/.medusa/server/src/api/vendor/campaigns/route.d.ts +90 -0
  228. package/.medusa/server/src/api/vendor/campaigns/route.js +138 -0
  229. package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +206 -0
  230. package/.medusa/server/src/api/vendor/campaigns/validators.js +63 -0
  231. package/.medusa/server/src/api/vendor/configuration/route.d.ts +26 -0
  232. package/.medusa/server/src/api/vendor/configuration/route.js +48 -0
  233. package/.medusa/server/src/api/vendor/cors.d.ts +2 -0
  234. package/.medusa/server/src/api/vendor/cors.js +18 -0
  235. package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.d.ts +37 -0
  236. package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.js +62 -0
  237. package/.medusa/server/src/api/vendor/customer-groups/[id]/route.d.ts +109 -0
  238. package/.medusa/server/src/api/vendor/customer-groups/[id]/route.js +159 -0
  239. package/.medusa/server/src/api/vendor/customer-groups/middlewares.d.ts +2 -0
  240. package/.medusa/server/src/api/vendor/customer-groups/middlewares.js +75 -0
  241. package/.medusa/server/src/api/vendor/customer-groups/query-config.d.ts +11 -0
  242. package/.medusa/server/src/api/vendor/customer-groups/query-config.js +25 -0
  243. package/.medusa/server/src/api/vendor/customer-groups/route.d.ts +80 -0
  244. package/.medusa/server/src/api/vendor/customer-groups/route.js +123 -0
  245. package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +65 -0
  246. package/.medusa/server/src/api/vendor/customer-groups/validators.js +21 -0
  247. package/.medusa/server/src/api/vendor/customers/[id]/customer-groups/route.d.ts +37 -0
  248. package/.medusa/server/src/api/vendor/customers/[id]/customer-groups/route.js +65 -0
  249. package/.medusa/server/src/api/vendor/customers/[id]/orders/route.d.ts +60 -0
  250. package/.medusa/server/src/api/vendor/customers/[id]/orders/route.js +90 -0
  251. package/.medusa/server/src/api/vendor/customers/[id]/route.d.ts +31 -0
  252. package/.medusa/server/src/api/vendor/customers/[id]/route.js +48 -0
  253. package/.medusa/server/src/api/vendor/customers/middlewares.d.ts +2 -0
  254. package/.medusa/server/src/api/vendor/customers/middlewares.js +38 -0
  255. package/.medusa/server/src/api/vendor/customers/query-config.d.ts +23 -0
  256. package/.medusa/server/src/api/vendor/customers/query-config.js +70 -0
  257. package/.medusa/server/src/api/vendor/customers/route.d.ts +51 -0
  258. package/.medusa/server/src/api/vendor/customers/route.js +69 -0
  259. package/.medusa/server/src/api/vendor/customers/utils.d.ts +2 -0
  260. package/.medusa/server/src/api/vendor/customers/utils.js +27 -0
  261. package/.medusa/server/src/api/vendor/customers/validators.d.ts +68 -0
  262. package/.medusa/server/src/api/vendor/customers/validators.js +18 -0
  263. package/.medusa/server/src/api/vendor/fulfillment-providers/[id]/options/route.d.ts +38 -0
  264. package/.medusa/server/src/api/vendor/fulfillment-providers/[id]/options/route.js +49 -0
  265. package/.medusa/server/src/api/vendor/fulfillment-providers/middlewares.d.ts +2 -0
  266. package/.medusa/server/src/api/vendor/fulfillment-providers/middlewares.js +16 -0
  267. package/.medusa/server/src/api/vendor/fulfillment-providers/query-config.d.ts +11 -0
  268. package/.medusa/server/src/api/vendor/fulfillment-providers/query-config.js +15 -0
  269. package/.medusa/server/src/api/vendor/fulfillment-providers/route.d.ts +53 -0
  270. package/.medusa/server/src/api/vendor/fulfillment-providers/route.js +71 -0
  271. package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +21 -0
  272. package/.medusa/server/src/api/vendor/fulfillment-providers/validators.js +9 -0
  273. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/route.d.ts +40 -0
  274. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/route.js +63 -0
  275. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/[zone_id]/route.d.ts +88 -0
  276. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/[zone_id]/route.js +132 -0
  277. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/route.d.ts +37 -0
  278. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/route.js +60 -0
  279. package/.medusa/server/src/api/vendor/fulfillment-sets/helpers.d.ts +5 -0
  280. package/.medusa/server/src/api/vendor/fulfillment-sets/helpers.js +10 -0
  281. package/.medusa/server/src/api/vendor/fulfillment-sets/middlewares.d.ts +2 -0
  282. package/.medusa/server/src/api/vendor/fulfillment-sets/middlewares.js +71 -0
  283. package/.medusa/server/src/api/vendor/fulfillment-sets/query-config.d.ts +11 -0
  284. package/.medusa/server/src/api/vendor/fulfillment-sets/query-config.js +24 -0
  285. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +433 -0
  286. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.js +205 -0
  287. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.d.ts +65 -0
  288. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.js +115 -0
  289. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/batch/route.d.ts +30 -0
  290. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/batch/route.js +70 -0
  291. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/route.d.ts +53 -0
  292. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/route.js +98 -0
  293. package/.medusa/server/src/api/vendor/inventory-items/[id]/route.d.ts +53 -0
  294. package/.medusa/server/src/api/vendor/inventory-items/[id]/route.js +95 -0
  295. package/.medusa/server/src/api/vendor/inventory-items/location-levels/batch/route.d.ts +23 -0
  296. package/.medusa/server/src/api/vendor/inventory-items/location-levels/batch/route.js +52 -0
  297. package/.medusa/server/src/api/vendor/inventory-items/middlewares.d.ts +2 -0
  298. package/.medusa/server/src/api/vendor/inventory-items/middlewares.js +114 -0
  299. package/.medusa/server/src/api/vendor/inventory-items/query-config.d.ts +22 -0
  300. package/.medusa/server/src/api/vendor/inventory-items/query-config.js +52 -0
  301. package/.medusa/server/src/api/vendor/inventory-items/route.d.ts +18 -0
  302. package/.medusa/server/src/api/vendor/inventory-items/route.js +45 -0
  303. package/.medusa/server/src/api/vendor/inventory-items/utils.d.ts +15 -0
  304. package/.medusa/server/src/api/vendor/inventory-items/utils.js +74 -0
  305. package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +381 -0
  306. package/.medusa/server/src/api/vendor/inventory-items/validators.js +86 -0
  307. package/.medusa/server/src/api/vendor/invites/accept/route.d.ts +37 -0
  308. package/.medusa/server/src/api/vendor/invites/accept/route.js +56 -0
  309. package/.medusa/server/src/api/vendor/invites/middlewares.d.ts +2 -0
  310. package/.medusa/server/src/api/vendor/invites/middlewares.js +34 -0
  311. package/.medusa/server/src/api/vendor/invites/query-config.d.ts +11 -0
  312. package/.medusa/server/src/api/vendor/invites/query-config.js +21 -0
  313. package/.medusa/server/src/api/vendor/invites/route.d.ts +85 -0
  314. package/.medusa/server/src/api/vendor/invites/route.js +140 -0
  315. package/.medusa/server/src/api/vendor/invites/validators.d.ts +74 -0
  316. package/.medusa/server/src/api/vendor/invites/validators.js +23 -0
  317. package/.medusa/server/src/api/vendor/me/middlewares.d.ts +2 -0
  318. package/.medusa/server/src/api/vendor/me/middlewares.js +16 -0
  319. package/.medusa/server/src/api/vendor/me/route.d.ts +25 -0
  320. package/.medusa/server/src/api/vendor/me/route.js +37 -0
  321. package/.medusa/server/src/api/vendor/members/[id]/route.d.ts +104 -0
  322. package/.medusa/server/src/api/vendor/members/[id]/route.js +145 -0
  323. package/.medusa/server/src/api/vendor/members/middlewares.d.ts +2 -0
  324. package/.medusa/server/src/api/vendor/members/middlewares.js +48 -0
  325. package/.medusa/server/src/api/vendor/members/query-config.d.ts +11 -0
  326. package/.medusa/server/src/api/vendor/members/query-config.js +24 -0
  327. package/.medusa/server/src/api/vendor/members/route.d.ts +62 -0
  328. package/.medusa/server/src/api/vendor/members/route.js +82 -0
  329. package/.medusa/server/src/api/vendor/members/validators.d.ts +58 -0
  330. package/.medusa/server/src/api/vendor/members/validators.js +18 -0
  331. package/.medusa/server/src/api/vendor/middlewares.d.ts +2 -0
  332. package/.medusa/server/src/api/vendor/middlewares.js +115 -0
  333. package/.medusa/server/src/api/vendor/notifications/middlewares.d.ts +2 -0
  334. package/.medusa/server/src/api/vendor/notifications/middlewares.js +16 -0
  335. package/.medusa/server/src/api/vendor/notifications/query-config.d.ts +11 -0
  336. package/.medusa/server/src/api/vendor/notifications/query-config.js +23 -0
  337. package/.medusa/server/src/api/vendor/notifications/route.d.ts +83 -0
  338. package/.medusa/server/src/api/vendor/notifications/route.js +107 -0
  339. package/.medusa/server/src/api/vendor/notifications/validators.d.ts +21 -0
  340. package/.medusa/server/src/api/vendor/notifications/validators.js +10 -0
  341. package/.medusa/server/src/api/vendor/orders/[id]/cancel/route.d.ts +31 -0
  342. package/.medusa/server/src/api/vendor/orders/[id]/cancel/route.js +56 -0
  343. package/.medusa/server/src/api/vendor/orders/[id]/changes/route.d.ts +39 -0
  344. package/.medusa/server/src/api/vendor/orders/[id]/changes/route.js +54 -0
  345. package/.medusa/server/src/api/vendor/orders/[id]/complete/route.d.ts +31 -0
  346. package/.medusa/server/src/api/vendor/orders/[id]/complete/route.js +55 -0
  347. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.d.ts +37 -0
  348. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.js +61 -0
  349. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.d.ts +37 -0
  350. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.js +57 -0
  351. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.d.ts +43 -0
  352. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.js +67 -0
  353. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.d.ts +37 -0
  354. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.js +52 -0
  355. package/.medusa/server/src/api/vendor/orders/[id]/route.d.ts +31 -0
  356. package/.medusa/server/src/api/vendor/orders/[id]/route.js +50 -0
  357. package/.medusa/server/src/api/vendor/orders/middlewares.d.ts +2 -0
  358. package/.medusa/server/src/api/vendor/orders/middlewares.js +135 -0
  359. package/.medusa/server/src/api/vendor/orders/query-config.d.ts +22 -0
  360. package/.medusa/server/src/api/vendor/orders/query-config.js +97 -0
  361. package/.medusa/server/src/api/vendor/orders/route.d.ts +96 -0
  362. package/.medusa/server/src/api/vendor/orders/route.js +138 -0
  363. package/.medusa/server/src/api/vendor/orders/validators.d.ts +250 -0
  364. package/.medusa/server/src/api/vendor/orders/validators.js +75 -0
  365. package/.medusa/server/src/api/vendor/payout-account/middlewares.d.ts +2 -0
  366. package/.medusa/server/src/api/vendor/payout-account/middlewares.js +35 -0
  367. package/.medusa/server/src/api/vendor/payout-account/onboarding/route.d.ts +30 -0
  368. package/.medusa/server/src/api/vendor/payout-account/onboarding/route.js +56 -0
  369. package/.medusa/server/src/api/vendor/payout-account/query-config.d.ts +7 -0
  370. package/.medusa/server/src/api/vendor/payout-account/query-config.js +18 -0
  371. package/.medusa/server/src/api/vendor/payout-account/route.d.ts +59 -0
  372. package/.medusa/server/src/api/vendor/payout-account/route.js +100 -0
  373. package/.medusa/server/src/api/vendor/payout-account/sync/route.d.ts +54 -0
  374. package/.medusa/server/src/api/vendor/payout-account/sync/route.js +77 -0
  375. package/.medusa/server/src/api/vendor/payout-account/utils.d.ts +2 -0
  376. package/.medusa/server/src/api/vendor/payout-account/utils.js +19 -0
  377. package/.medusa/server/src/api/vendor/payout-account/validators.d.ts +43 -0
  378. package/.medusa/server/src/api/vendor/payout-account/validators.js +35 -0
  379. package/.medusa/server/src/api/vendor/payouts/middlewares.d.ts +2 -0
  380. package/.medusa/server/src/api/vendor/payouts/middlewares.js +18 -0
  381. package/.medusa/server/src/api/vendor/payouts/query-config.d.ts +7 -0
  382. package/.medusa/server/src/api/vendor/payouts/query-config.js +11 -0
  383. package/.medusa/server/src/api/vendor/payouts/route.d.ts +86 -0
  384. package/.medusa/server/src/api/vendor/payouts/route.js +119 -0
  385. package/.medusa/server/src/api/vendor/payouts/validators.d.ts +21 -0
  386. package/.medusa/server/src/api/vendor/payouts/validators.js +9 -0
  387. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/[price_id]/route.d.ts +44 -0
  388. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/[price_id]/route.js +75 -0
  389. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/route.d.ts +43 -0
  390. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/route.js +69 -0
  391. package/.medusa/server/src/api/vendor/price-lists/[id]/products/route.d.ts +102 -0
  392. package/.medusa/server/src/api/vendor/price-lists/[id]/products/route.js +164 -0
  393. package/.medusa/server/src/api/vendor/price-lists/[id]/route.d.ts +111 -0
  394. package/.medusa/server/src/api/vendor/price-lists/[id]/route.js +154 -0
  395. package/.medusa/server/src/api/vendor/price-lists/middlewares.d.ts +2 -0
  396. package/.medusa/server/src/api/vendor/price-lists/middlewares.js +109 -0
  397. package/.medusa/server/src/api/vendor/price-lists/query-config.d.ts +22 -0
  398. package/.medusa/server/src/api/vendor/price-lists/query-config.js +52 -0
  399. package/.medusa/server/src/api/vendor/price-lists/route.d.ts +87 -0
  400. package/.medusa/server/src/api/vendor/price-lists/route.js +124 -0
  401. package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +412 -0
  402. package/.medusa/server/src/api/vendor/price-lists/validators.js +85 -0
  403. package/.medusa/server/src/api/vendor/price-preferences/middlewares.d.ts +2 -0
  404. package/.medusa/server/src/api/vendor/price-preferences/middlewares.js +16 -0
  405. package/.medusa/server/src/api/vendor/price-preferences/query-config.d.ts +9 -0
  406. package/.medusa/server/src/api/vendor/price-preferences/query-config.js +21 -0
  407. package/.medusa/server/src/api/vendor/price-preferences/route.d.ts +92 -0
  408. package/.medusa/server/src/api/vendor/price-preferences/route.js +111 -0
  409. package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +52 -0
  410. package/.medusa/server/src/api/vendor/price-preferences/validators.js +19 -0
  411. package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.d.ts +2 -0
  412. package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.js +24 -0
  413. package/.medusa/server/src/api/vendor/product-categories/[id]/route.d.ts +36 -0
  414. package/.medusa/server/src/api/vendor/product-categories/[id]/route.js +51 -0
  415. package/.medusa/server/src/api/vendor/product-categories/middlewares.d.ts +2 -0
  416. package/.medusa/server/src/api/vendor/product-categories/middlewares.js +32 -0
  417. package/.medusa/server/src/api/vendor/product-categories/query-config.d.ts +22 -0
  418. package/.medusa/server/src/api/vendor/product-categories/query-config.js +47 -0
  419. package/.medusa/server/src/api/vendor/product-categories/route.d.ts +53 -0
  420. package/.medusa/server/src/api/vendor/product-categories/route.js +72 -0
  421. package/.medusa/server/src/api/vendor/product-categories/utils.d.ts +5 -0
  422. package/.medusa/server/src/api/vendor/product-categories/utils.js +30 -0
  423. package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +57 -0
  424. package/.medusa/server/src/api/vendor/product-categories/validators.js +11 -0
  425. package/.medusa/server/src/api/vendor/product-collections/[id]/products/route.d.ts +2 -0
  426. package/.medusa/server/src/api/vendor/product-collections/[id]/products/route.js +24 -0
  427. package/.medusa/server/src/api/vendor/product-collections/[id]/route.d.ts +36 -0
  428. package/.medusa/server/src/api/vendor/product-collections/[id]/route.js +51 -0
  429. package/.medusa/server/src/api/vendor/product-collections/middlewares.d.ts +2 -0
  430. package/.medusa/server/src/api/vendor/product-collections/middlewares.js +32 -0
  431. package/.medusa/server/src/api/vendor/product-collections/query-config.d.ts +22 -0
  432. package/.medusa/server/src/api/vendor/product-collections/query-config.js +42 -0
  433. package/.medusa/server/src/api/vendor/product-collections/route.d.ts +53 -0
  434. package/.medusa/server/src/api/vendor/product-collections/route.js +72 -0
  435. package/.medusa/server/src/api/vendor/product-collections/utils.d.ts +5 -0
  436. package/.medusa/server/src/api/vendor/product-collections/utils.js +29 -0
  437. package/.medusa/server/src/api/vendor/product-collections/validators.d.ts +42 -0
  438. package/.medusa/server/src/api/vendor/product-collections/validators.js +13 -0
  439. package/.medusa/server/src/api/vendor/product-tags/[id]/route.d.ts +36 -0
  440. package/.medusa/server/src/api/vendor/product-tags/[id]/route.js +51 -0
  441. package/.medusa/server/src/api/vendor/product-tags/middlewares.d.ts +2 -0
  442. package/.medusa/server/src/api/vendor/product-tags/middlewares.js +23 -0
  443. package/.medusa/server/src/api/vendor/product-tags/query-config.d.ts +11 -0
  444. package/.medusa/server/src/api/vendor/product-tags/query-config.js +21 -0
  445. package/.medusa/server/src/api/vendor/product-tags/route.d.ts +53 -0
  446. package/.medusa/server/src/api/vendor/product-tags/route.js +66 -0
  447. package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +82 -0
  448. package/.medusa/server/src/api/vendor/product-tags/validators.js +25 -0
  449. package/.medusa/server/src/api/vendor/product-types/[id]/route.d.ts +36 -0
  450. package/.medusa/server/src/api/vendor/product-types/[id]/route.js +51 -0
  451. package/.medusa/server/src/api/vendor/product-types/middlewares.d.ts +2 -0
  452. package/.medusa/server/src/api/vendor/product-types/middlewares.js +23 -0
  453. package/.medusa/server/src/api/vendor/product-types/query-config.d.ts +11 -0
  454. package/.medusa/server/src/api/vendor/product-types/query-config.js +21 -0
  455. package/.medusa/server/src/api/vendor/product-types/route.d.ts +53 -0
  456. package/.medusa/server/src/api/vendor/product-types/route.js +71 -0
  457. package/.medusa/server/src/api/vendor/product-types/validators.d.ts +21 -0
  458. package/.medusa/server/src/api/vendor/product-types/validators.js +9 -0
  459. package/.medusa/server/src/api/vendor/products/[id]/applicable-attributes/route.d.ts +69 -0
  460. package/.medusa/server/src/api/vendor/products/[id]/applicable-attributes/route.js +115 -0
  461. package/.medusa/server/src/api/vendor/products/[id]/options/[option_id]/route.d.ts +92 -0
  462. package/.medusa/server/src/api/vendor/products/[id]/options/[option_id]/route.js +157 -0
  463. package/.medusa/server/src/api/vendor/products/[id]/options/route.d.ts +43 -0
  464. package/.medusa/server/src/api/vendor/products/[id]/options/route.js +86 -0
  465. package/.medusa/server/src/api/vendor/products/[id]/route.d.ts +116 -0
  466. package/.medusa/server/src/api/vendor/products/[id]/route.js +175 -0
  467. package/.medusa/server/src/api/vendor/products/[id]/status/route.d.ts +43 -0
  468. package/.medusa/server/src/api/vendor/products/[id]/status/route.js +69 -0
  469. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +92 -0
  470. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +161 -0
  471. package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +43 -0
  472. package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +89 -0
  473. package/.medusa/server/src/api/vendor/products/export/route.d.ts +2 -0
  474. package/.medusa/server/src/api/vendor/products/export/route.js +17 -0
  475. package/.medusa/server/src/api/vendor/products/import/route.d.ts +2 -0
  476. package/.medusa/server/src/api/vendor/products/import/route.js +24 -0
  477. package/.medusa/server/src/api/vendor/products/middlewares.d.ts +2 -0
  478. package/.medusa/server/src/api/vendor/products/middlewares.js +174 -0
  479. package/.medusa/server/src/api/vendor/products/query-config.d.ts +11 -0
  480. package/.medusa/server/src/api/vendor/products/query-config.js +50 -0
  481. package/.medusa/server/src/api/vendor/products/route.d.ts +89 -0
  482. package/.medusa/server/src/api/vendor/products/route.js +153 -0
  483. package/.medusa/server/src/api/vendor/products/utils.d.ts +5 -0
  484. package/.medusa/server/src/api/vendor/products/utils.js +33 -0
  485. package/.medusa/server/src/api/vendor/products/validators.d.ts +1642 -0
  486. package/.medusa/server/src/api/vendor/products/validators.js +231 -0
  487. package/.medusa/server/src/api/vendor/promotions/[id]/[rule_type]/route.d.ts +56 -0
  488. package/.medusa/server/src/api/vendor/promotions/[id]/[rule_type]/route.js +160 -0
  489. package/.medusa/server/src/api/vendor/promotions/[id]/buy-rules/batch/route.d.ts +37 -0
  490. package/.medusa/server/src/api/vendor/promotions/[id]/buy-rules/batch/route.js +66 -0
  491. package/.medusa/server/src/api/vendor/promotions/[id]/route.d.ts +110 -0
  492. package/.medusa/server/src/api/vendor/promotions/[id]/route.js +157 -0
  493. package/.medusa/server/src/api/vendor/promotions/[id]/rules/batch/route.d.ts +37 -0
  494. package/.medusa/server/src/api/vendor/promotions/[id]/rules/batch/route.js +66 -0
  495. package/.medusa/server/src/api/vendor/promotions/[id]/target-rules/batch/route.d.ts +37 -0
  496. package/.medusa/server/src/api/vendor/promotions/[id]/target-rules/batch/route.js +66 -0
  497. package/.medusa/server/src/api/vendor/promotions/middlewares.d.ts +2 -0
  498. package/.medusa/server/src/api/vendor/promotions/middlewares.js +124 -0
  499. package/.medusa/server/src/api/vendor/promotions/query-config.d.ts +27 -0
  500. package/.medusa/server/src/api/vendor/promotions/query-config.js +54 -0
  501. package/.medusa/server/src/api/vendor/promotions/route.d.ts +83 -0
  502. package/.medusa/server/src/api/vendor/promotions/route.js +128 -0
  503. package/.medusa/server/src/api/vendor/promotions/rule-attribute-options/[rule_type]/route.d.ts +64 -0
  504. package/.medusa/server/src/api/vendor/promotions/rule-attribute-options/[rule_type]/route.js +80 -0
  505. package/.medusa/server/src/api/vendor/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.d.ts +64 -0
  506. package/.medusa/server/src/api/vendor/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.js +133 -0
  507. package/.medusa/server/src/api/vendor/promotions/utils.d.ts +72 -0
  508. package/.medusa/server/src/api/vendor/promotions/utils.js +123 -0
  509. package/.medusa/server/src/api/vendor/promotions/validators.d.ts +625 -0
  510. package/.medusa/server/src/api/vendor/promotions/validators.js +140 -0
  511. package/.medusa/server/src/api/vendor/regions/[id]/route.d.ts +36 -0
  512. package/.medusa/server/src/api/vendor/regions/[id]/route.js +51 -0
  513. package/.medusa/server/src/api/vendor/regions/middlewares.d.ts +2 -0
  514. package/.medusa/server/src/api/vendor/regions/middlewares.js +23 -0
  515. package/.medusa/server/src/api/vendor/regions/query-config.d.ts +11 -0
  516. package/.medusa/server/src/api/vendor/regions/query-config.js +25 -0
  517. package/.medusa/server/src/api/vendor/regions/route.d.ts +53 -0
  518. package/.medusa/server/src/api/vendor/regions/route.js +72 -0
  519. package/.medusa/server/src/api/vendor/regions/validators.d.ts +21 -0
  520. package/.medusa/server/src/api/vendor/regions/validators.js +9 -0
  521. package/.medusa/server/src/api/vendor/reservations/[id]/route.d.ts +116 -0
  522. package/.medusa/server/src/api/vendor/reservations/[id]/route.js +180 -0
  523. package/.medusa/server/src/api/vendor/reservations/middlewares.d.ts +2 -0
  524. package/.medusa/server/src/api/vendor/reservations/middlewares.js +121 -0
  525. package/.medusa/server/src/api/vendor/reservations/query-config.d.ts +11 -0
  526. package/.medusa/server/src/api/vendor/reservations/query-config.js +26 -0
  527. package/.medusa/server/src/api/vendor/reservations/route.d.ts +90 -0
  528. package/.medusa/server/src/api/vendor/reservations/route.js +135 -0
  529. package/.medusa/server/src/api/vendor/reservations/validators.d.ts +89 -0
  530. package/.medusa/server/src/api/vendor/reservations/validators.js +26 -0
  531. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/[action_id]/route.d.ts +91 -0
  532. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/[action_id]/route.js +138 -0
  533. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/route.d.ts +43 -0
  534. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/route.js +65 -0
  535. package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.d.ts +39 -0
  536. package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.js +65 -0
  537. package/.medusa/server/src/api/vendor/returns/[id]/receive/route.d.ts +45 -0
  538. package/.medusa/server/src/api/vendor/returns/[id]/receive/route.js +70 -0
  539. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/[action_id]/route.d.ts +91 -0
  540. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/[action_id]/route.js +138 -0
  541. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/route.d.ts +43 -0
  542. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/route.js +65 -0
  543. package/.medusa/server/src/api/vendor/returns/[id]/route.d.ts +37 -0
  544. package/.medusa/server/src/api/vendor/returns/[id]/route.js +54 -0
  545. package/.medusa/server/src/api/vendor/returns/middlewares.d.ts +2 -0
  546. package/.medusa/server/src/api/vendor/returns/middlewares.js +126 -0
  547. package/.medusa/server/src/api/vendor/returns/query-config.d.ts +11 -0
  548. package/.medusa/server/src/api/vendor/returns/query-config.js +35 -0
  549. package/.medusa/server/src/api/vendor/returns/route.d.ts +54 -0
  550. package/.medusa/server/src/api/vendor/returns/route.js +82 -0
  551. package/.medusa/server/src/api/vendor/returns/validators.d.ts +152 -0
  552. package/.medusa/server/src/api/vendor/returns/validators.js +30 -0
  553. package/.medusa/server/src/api/vendor/sales-channels/middlewares.d.ts +2 -0
  554. package/.medusa/server/src/api/vendor/sales-channels/middlewares.js +16 -0
  555. package/.medusa/server/src/api/vendor/sales-channels/query-config.d.ts +11 -0
  556. package/.medusa/server/src/api/vendor/sales-channels/query-config.js +24 -0
  557. package/.medusa/server/src/api/vendor/sales-channels/route.d.ts +35 -0
  558. package/.medusa/server/src/api/vendor/sales-channels/route.js +54 -0
  559. package/.medusa/server/src/api/vendor/sales-channels/validators.d.ts +9 -0
  560. package/.medusa/server/src/api/vendor/sales-channels/validators.js +6 -0
  561. package/.medusa/server/src/api/vendor/sellers/me/onboarding/route.d.ts +47 -0
  562. package/.medusa/server/src/api/vendor/sellers/me/onboarding/route.js +81 -0
  563. package/.medusa/server/src/api/vendor/sellers/me/route.d.ts +53 -0
  564. package/.medusa/server/src/api/vendor/sellers/me/route.js +78 -0
  565. package/.medusa/server/src/api/vendor/sellers/middlewares.d.ts +2 -0
  566. package/.medusa/server/src/api/vendor/sellers/middlewares.js +39 -0
  567. package/.medusa/server/src/api/vendor/sellers/query-config.d.ts +18 -0
  568. package/.medusa/server/src/api/vendor/sellers/query-config.js +43 -0
  569. package/.medusa/server/src/api/vendor/sellers/route.d.ts +30 -0
  570. package/.medusa/server/src/api/vendor/sellers/route.js +74 -0
  571. package/.medusa/server/src/api/vendor/sellers/validators.d.ts +251 -0
  572. package/.medusa/server/src/api/vendor/sellers/validators.js +47 -0
  573. package/.medusa/server/src/api/vendor/shipping-options/[id]/route.d.ts +106 -0
  574. package/.medusa/server/src/api/vendor/shipping-options/[id]/route.js +151 -0
  575. package/.medusa/server/src/api/vendor/shipping-options/middlewares.d.ts +2 -0
  576. package/.medusa/server/src/api/vendor/shipping-options/middlewares.js +69 -0
  577. package/.medusa/server/src/api/vendor/shipping-options/query-config.d.ts +11 -0
  578. package/.medusa/server/src/api/vendor/shipping-options/query-config.js +29 -0
  579. package/.medusa/server/src/api/vendor/shipping-options/route.d.ts +64 -0
  580. package/.medusa/server/src/api/vendor/shipping-options/route.js +128 -0
  581. package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +301 -0
  582. package/.medusa/server/src/api/vendor/shipping-options/validators.js +127 -0
  583. package/.medusa/server/src/api/vendor/shipping-profiles/[id]/route.d.ts +114 -0
  584. package/.medusa/server/src/api/vendor/shipping-profiles/[id]/route.js +157 -0
  585. package/.medusa/server/src/api/vendor/shipping-profiles/middlewares.d.ts +2 -0
  586. package/.medusa/server/src/api/vendor/shipping-profiles/middlewares.js +63 -0
  587. package/.medusa/server/src/api/vendor/shipping-profiles/query-config.d.ts +11 -0
  588. package/.medusa/server/src/api/vendor/shipping-profiles/query-config.js +22 -0
  589. package/.medusa/server/src/api/vendor/shipping-profiles/route.d.ts +67 -0
  590. package/.medusa/server/src/api/vendor/shipping-profiles/route.js +129 -0
  591. package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +82 -0
  592. package/.medusa/server/src/api/vendor/shipping-profiles/validators.js +24 -0
  593. package/.medusa/server/src/api/vendor/statistics/middlewares.d.ts +2 -0
  594. package/.medusa/server/src/api/vendor/statistics/middlewares.js +13 -0
  595. package/.medusa/server/src/api/vendor/statistics/route.d.ts +39 -0
  596. package/.medusa/server/src/api/vendor/statistics/route.js +56 -0
  597. package/.medusa/server/src/api/vendor/statistics/validators.d.ts +24 -0
  598. package/.medusa/server/src/api/vendor/statistics/validators.js +17 -0
  599. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-providers/route.d.ts +53 -0
  600. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-providers/route.js +84 -0
  601. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-sets/route.d.ts +42 -0
  602. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-sets/route.js +75 -0
  603. package/.medusa/server/src/api/vendor/stock-locations/[id]/route.d.ts +115 -0
  604. package/.medusa/server/src/api/vendor/stock-locations/[id]/route.js +175 -0
  605. package/.medusa/server/src/api/vendor/stock-locations/[id]/sales-channels/route.d.ts +53 -0
  606. package/.medusa/server/src/api/vendor/stock-locations/[id]/sales-channels/route.js +78 -0
  607. package/.medusa/server/src/api/vendor/stock-locations/middlewares.d.ts +2 -0
  608. package/.medusa/server/src/api/vendor/stock-locations/middlewares.js +92 -0
  609. package/.medusa/server/src/api/vendor/stock-locations/query-config.d.ts +11 -0
  610. package/.medusa/server/src/api/vendor/stock-locations/query-config.js +30 -0
  611. package/.medusa/server/src/api/vendor/stock-locations/route.d.ts +67 -0
  612. package/.medusa/server/src/api/vendor/stock-locations/route.js +129 -0
  613. package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +297 -0
  614. package/.medusa/server/src/api/vendor/stock-locations/validators.js +136 -0
  615. package/.medusa/server/src/api/vendor/stores/[id]/route.d.ts +36 -0
  616. package/.medusa/server/src/api/vendor/stores/[id]/route.js +53 -0
  617. package/.medusa/server/src/api/vendor/stores/middlewares.d.ts +2 -0
  618. package/.medusa/server/src/api/vendor/stores/middlewares.js +23 -0
  619. package/.medusa/server/src/api/vendor/stores/query-config.d.ts +11 -0
  620. package/.medusa/server/src/api/vendor/stores/query-config.js +27 -0
  621. package/.medusa/server/src/api/vendor/stores/route.d.ts +53 -0
  622. package/.medusa/server/src/api/vendor/stores/route.js +72 -0
  623. package/.medusa/server/src/api/vendor/stores/validators.d.ts +9 -0
  624. package/.medusa/server/src/api/vendor/stores/validators.js +6 -0
  625. package/.medusa/server/src/api/vendor/talkjs/route.d.ts +2 -0
  626. package/.medusa/server/src/api/vendor/talkjs/route.js +28 -0
  627. package/.medusa/server/src/api/vendor/uploads/middlewares.d.ts +2 -0
  628. package/.medusa/server/src/api/vendor/uploads/middlewares.js +16 -0
  629. package/.medusa/server/src/api/vendor/uploads/route.d.ts +3 -0
  630. package/.medusa/server/src/api/vendor/uploads/route.js +24 -0
  631. package/.medusa/server/src/jobs/daily-payouts-summary.d.ts +6 -0
  632. package/.medusa/server/src/jobs/daily-payouts-summary.js +56 -0
  633. package/.medusa/server/src/jobs/daily-payouts.d.ts +6 -0
  634. package/.medusa/server/src/jobs/daily-payouts.js +51 -0
  635. package/.medusa/server/src/links/category-attribute.d.ts +2 -0
  636. package/.medusa/server/src/links/category-attribute.js +16 -0
  637. package/.medusa/server/src/links/category-taxcode.d.ts +2 -0
  638. package/.medusa/server/src/links/category-taxcode.js +13 -0
  639. package/.medusa/server/src/links/customer-wishlist.d.ts +2 -0
  640. package/.medusa/server/src/links/customer-wishlist.js +14 -0
  641. package/.medusa/server/src/links/order-payout.d.ts +2 -0
  642. package/.medusa/server/src/links/order-payout.js +13 -0
  643. package/.medusa/server/src/links/order-set-order.d.ts +2 -0
  644. package/.medusa/server/src/links/order-set-order.js +13 -0
  645. package/.medusa/server/src/links/order-set-readonly-links.d.ts +1 -0
  646. package/.medusa/server/src/links/order-set-readonly-links.js +52 -0
  647. package/.medusa/server/src/links/order-split-order-payment.d.ts +2 -0
  648. package/.medusa/server/src/links/order-split-order-payment.js +10 -0
  649. package/.medusa/server/src/links/product-attribute-value.d.ts +2 -0
  650. package/.medusa/server/src/links/product-attribute-value.js +16 -0
  651. package/.medusa/server/src/links/seller-campaign.d.ts +2 -0
  652. package/.medusa/server/src/links/seller-campaign.js +13 -0
  653. package/.medusa/server/src/links/seller-customer-group.d.ts +2 -0
  654. package/.medusa/server/src/links/seller-customer-group.js +13 -0
  655. package/.medusa/server/src/links/seller-fulfillment-set.d.ts +2 -0
  656. package/.medusa/server/src/links/seller-fulfillment-set.js +13 -0
  657. package/.medusa/server/src/links/seller-inventory-item.d.ts +2 -0
  658. package/.medusa/server/src/links/seller-inventory-item.js +13 -0
  659. package/.medusa/server/src/links/seller-order.d.ts +2 -0
  660. package/.medusa/server/src/links/seller-order.js +13 -0
  661. package/.medusa/server/src/links/seller-payout-account.d.ts +2 -0
  662. package/.medusa/server/src/links/seller-payout-account.js +10 -0
  663. package/.medusa/server/src/links/seller-price-list.d.ts +2 -0
  664. package/.medusa/server/src/links/seller-price-list.js +13 -0
  665. package/.medusa/server/src/links/seller-product.d.ts +2 -0
  666. package/.medusa/server/src/links/seller-product.js +13 -0
  667. package/.medusa/server/src/links/seller-promotion.d.ts +2 -0
  668. package/.medusa/server/src/links/seller-promotion.js +13 -0
  669. package/.medusa/server/src/links/seller-return.d.ts +2 -0
  670. package/.medusa/server/src/links/seller-return.js +13 -0
  671. package/.medusa/server/src/links/seller-service-zone.d.ts +2 -0
  672. package/.medusa/server/src/links/seller-service-zone.js +13 -0
  673. package/.medusa/server/src/links/seller-shipping-option.d.ts +2 -0
  674. package/.medusa/server/src/links/seller-shipping-option.js +13 -0
  675. package/.medusa/server/src/links/seller-shipping-profile.d.ts +2 -0
  676. package/.medusa/server/src/links/seller-shipping-profile.js +13 -0
  677. package/.medusa/server/src/links/seller-stock-location.d.ts +2 -0
  678. package/.medusa/server/src/links/seller-stock-location.js +13 -0
  679. package/.medusa/server/src/links/wishlist-product.d.ts +2 -0
  680. package/.medusa/server/src/links/wishlist-product.js +14 -0
  681. package/.medusa/server/src/modules/attribute/index.d.ts +50 -0
  682. package/.medusa/server/src/modules/attribute/index.js +14 -0
  683. package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.d.ts +5 -0
  684. package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.js +30 -0
  685. package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.d.ts +5 -0
  686. package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.js +14 -0
  687. package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.d.ts +5 -0
  688. package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.js +14 -0
  689. package/.medusa/server/src/modules/attribute/models/attribute-possible-value.d.ts +25 -0
  690. package/.medusa/server/src/modules/attribute/models/attribute-possible-value.js +26 -0
  691. package/.medusa/server/src/modules/attribute/models/attribute-value.d.ts +25 -0
  692. package/.medusa/server/src/modules/attribute/models/attribute-value.js +18 -0
  693. package/.medusa/server/src/modules/attribute/models/attribute.d.ts +26 -0
  694. package/.medusa/server/src/modules/attribute/models/attribute.js +29 -0
  695. package/.medusa/server/src/modules/attribute/service.d.ts +111 -0
  696. package/.medusa/server/src/modules/attribute/service.js +77 -0
  697. package/.medusa/server/src/modules/configuration/index.d.ts +23 -0
  698. package/.medusa/server/src/modules/configuration/index.js +16 -0
  699. package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.d.ts +5 -0
  700. package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.js +16 -0
  701. package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.d.ts +5 -0
  702. package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.js +16 -0
  703. package/.medusa/server/src/modules/configuration/models/configuration-rule.d.ts +5 -0
  704. package/.medusa/server/src/modules/configuration/models/configuration-rule.js +17 -0
  705. package/.medusa/server/src/modules/configuration/models/index.d.ts +1 -0
  706. package/.medusa/server/src/modules/configuration/models/index.js +18 -0
  707. package/.medusa/server/src/modules/configuration/service.d.ts +12 -0
  708. package/.medusa/server/src/modules/configuration/service.js +17 -0
  709. package/.medusa/server/src/modules/marketplace/index.d.ts +22 -0
  710. package/.medusa/server/src/modules/marketplace/index.js +14 -0
  711. package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.d.ts +5 -0
  712. package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.js +15 -0
  713. package/.medusa/server/src/modules/marketplace/models/index.d.ts +1 -0
  714. package/.medusa/server/src/modules/marketplace/models/index.js +18 -0
  715. package/.medusa/server/src/modules/marketplace/models/order-set.d.ts +8 -0
  716. package/.medusa/server/src/modules/marketplace/models/order-set.js +13 -0
  717. package/.medusa/server/src/modules/marketplace/service.d.ts +13 -0
  718. package/.medusa/server/src/modules/marketplace/service.js +10 -0
  719. package/.medusa/server/src/modules/payout/index.d.ts +64 -0
  720. package/.medusa/server/src/modules/payout/index.js +14 -0
  721. package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.d.ts +5 -0
  722. package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.js +28 -0
  723. package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.d.ts +5 -0
  724. package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.js +18 -0
  725. package/.medusa/server/src/modules/payout/models/index.d.ts +4 -0
  726. package/.medusa/server/src/modules/payout/models/index.js +21 -0
  727. package/.medusa/server/src/modules/payout/models/onboarding.d.ts +27 -0
  728. package/.medusa/server/src/modules/payout/models/onboarding.js +14 -0
  729. package/.medusa/server/src/modules/payout/models/payout-account.d.ts +33 -0
  730. package/.medusa/server/src/modules/payout/models/payout-account.js +17 -0
  731. package/.medusa/server/src/modules/payout/models/payout-reversal.d.ts +32 -0
  732. package/.medusa/server/src/modules/payout/models/payout-reversal.js +15 -0
  733. package/.medusa/server/src/modules/payout/models/payout.d.ts +32 -0
  734. package/.medusa/server/src/modules/payout/models/payout.js +17 -0
  735. package/.medusa/server/src/modules/payout/service.d.ts +443 -0
  736. package/.medusa/server/src/modules/payout/service.js +164 -0
  737. package/.medusa/server/src/modules/payout/services/index.d.ts +1 -0
  738. package/.medusa/server/src/modules/payout/services/index.js +18 -0
  739. package/.medusa/server/src/modules/payout/services/provider.d.ts +29 -0
  740. package/.medusa/server/src/modules/payout/services/provider.js +137 -0
  741. package/.medusa/server/src/modules/seller/index.d.ts +65 -0
  742. package/.medusa/server/src/modules/seller/index.js +27 -0
  743. package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.d.ts +5 -0
  744. package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.js +28 -0
  745. package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.d.ts +5 -0
  746. package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.js +20 -0
  747. package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.d.ts +5 -0
  748. package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.js +26 -0
  749. package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.d.ts +5 -0
  750. package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.js +18 -0
  751. package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.d.ts +5 -0
  752. package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.js +16 -0
  753. package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.d.ts +5 -0
  754. package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.js +19 -0
  755. package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.d.ts +5 -0
  756. package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.js +14 -0
  757. package/.medusa/server/src/modules/seller/models/index.d.ts +4 -0
  758. package/.medusa/server/src/modules/seller/models/index.js +21 -0
  759. package/.medusa/server/src/modules/seller/models/invite.d.ts +51 -0
  760. package/.medusa/server/src/modules/seller/models/invite.js +16 -0
  761. package/.medusa/server/src/modules/seller/models/member.d.ts +51 -0
  762. package/.medusa/server/src/modules/seller/models/member.js +17 -0
  763. package/.medusa/server/src/modules/seller/models/onboarding.d.ts +43 -0
  764. package/.medusa/server/src/modules/seller/models/onboarding.js +14 -0
  765. package/.medusa/server/src/modules/seller/models/seller.d.ts +51 -0
  766. package/.medusa/server/src/modules/seller/models/seller.js +28 -0
  767. package/.medusa/server/src/modules/seller/service.d.ts +268 -0
  768. package/.medusa/server/src/modules/seller/service.js +110 -0
  769. package/.medusa/server/src/modules/seller/utils.d.ts +23 -0
  770. package/.medusa/server/src/modules/seller/utils.js +78 -0
  771. package/.medusa/server/src/modules/split-order-payment/index.d.ts +22 -0
  772. package/.medusa/server/src/modules/split-order-payment/index.js +14 -0
  773. package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.d.ts +5 -0
  774. package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.js +15 -0
  775. package/.medusa/server/src/modules/split-order-payment/models/split-order-payment.d.ts +9 -0
  776. package/.medusa/server/src/modules/split-order-payment/models/split-order-payment.js +14 -0
  777. package/.medusa/server/src/modules/split-order-payment/service.d.ts +14 -0
  778. package/.medusa/server/src/modules/split-order-payment/service.js +10 -0
  779. package/.medusa/server/src/modules/taxcode/index.d.ts +22 -0
  780. package/.medusa/server/src/modules/taxcode/index.js +14 -0
  781. package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.d.ts +5 -0
  782. package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.js +16 -0
  783. package/.medusa/server/src/modules/taxcode/models/taxcode.d.ts +7 -0
  784. package/.medusa/server/src/modules/taxcode/models/taxcode.js +11 -0
  785. package/.medusa/server/src/modules/taxcode/service.d.ts +18 -0
  786. package/.medusa/server/src/modules/taxcode/service.js +30 -0
  787. package/.medusa/server/src/modules/wishlist/index.d.ts +23 -0
  788. package/.medusa/server/src/modules/wishlist/index.js +29 -0
  789. package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.d.ts +5 -0
  790. package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.js +15 -0
  791. package/.medusa/server/src/modules/wishlist/models/wishlist.d.ts +4 -0
  792. package/.medusa/server/src/modules/wishlist/models/wishlist.js +9 -0
  793. package/.medusa/server/src/modules/wishlist/service.d.ts +9 -0
  794. package/.medusa/server/src/modules/wishlist/service.js +10 -0
  795. package/.medusa/server/src/modules/wishlist/utils.d.ts +42 -0
  796. package/.medusa/server/src/modules/wishlist/utils.js +48 -0
  797. package/.medusa/server/src/shared/infra/http/middlewares/apply-reference-filter.d.ts +6 -0
  798. package/.medusa/server/src/shared/infra/http/middlewares/apply-reference-filter.js +15 -0
  799. package/.medusa/server/src/shared/infra/http/middlewares/apply-request-status-filter.d.ts +6 -0
  800. package/.medusa/server/src/shared/infra/http/middlewares/apply-request-status-filter.js +15 -0
  801. package/.medusa/server/src/shared/infra/http/middlewares/apply-request-type-filter.d.ts +6 -0
  802. package/.medusa/server/src/shared/infra/http/middlewares/apply-request-type-filter.js +15 -0
  803. package/.medusa/server/src/shared/infra/http/middlewares/check-configuration-rule.d.ts +5 -0
  804. package/.medusa/server/src/shared/infra/http/middlewares/check-configuration-rule.js +23 -0
  805. package/.medusa/server/src/shared/infra/http/middlewares/check-customer-ownership.d.ts +9 -0
  806. package/.medusa/server/src/shared/infra/http/middlewares/check-customer-ownership.js +34 -0
  807. package/.medusa/server/src/shared/infra/http/middlewares/check-ownership.d.ts +34 -0
  808. package/.medusa/server/src/shared/infra/http/middlewares/check-ownership.js +66 -0
  809. package/.medusa/server/src/shared/infra/http/middlewares/check-seller-approved.d.ts +3 -0
  810. package/.medusa/server/src/shared/infra/http/middlewares/check-seller-approved.js +23 -0
  811. package/.medusa/server/src/shared/infra/http/middlewares/filter-by-seller-id.d.ts +6 -0
  812. package/.medusa/server/src/shared/infra/http/middlewares/filter-by-seller-id.js +15 -0
  813. package/.medusa/server/src/shared/infra/http/middlewares/index.d.ts +9 -0
  814. package/.medusa/server/src/shared/infra/http/middlewares/index.js +26 -0
  815. package/.medusa/server/src/shared/infra/http/middlewares/store-active-guard.d.ts +9 -0
  816. package/.medusa/server/src/shared/infra/http/middlewares/store-active-guard.js +24 -0
  817. package/.medusa/server/src/shared/infra/http/utils/admin.d.ts +2 -0
  818. package/.medusa/server/src/shared/infra/http/utils/admin.js +14 -0
  819. package/.medusa/server/src/shared/infra/http/utils/hosts.d.ts +23 -0
  820. package/.medusa/server/src/shared/infra/http/utils/hosts.js +43 -0
  821. package/.medusa/server/src/shared/infra/http/utils/index.d.ts +5 -0
  822. package/.medusa/server/src/shared/infra/http/utils/index.js +22 -0
  823. package/.medusa/server/src/shared/infra/http/utils/products.d.ts +5 -0
  824. package/.medusa/server/src/shared/infra/http/utils/products.js +52 -0
  825. package/.medusa/server/src/shared/infra/http/utils/seller.d.ts +3 -0
  826. package/.medusa/server/src/shared/infra/http/utils/seller.js +19 -0
  827. package/.medusa/server/src/shared/infra/http/utils/unless-base-url.d.ts +10 -0
  828. package/.medusa/server/src/shared/infra/http/utils/unless-base-url.js +20 -0
  829. package/.medusa/server/src/shared/infra/http/utils/zod.d.ts +8 -0
  830. package/.medusa/server/src/shared/infra/http/utils/zod.js +8 -0
  831. package/.medusa/server/src/shared/utils/index.d.ts +1 -0
  832. package/.medusa/server/src/shared/utils/index.js +18 -0
  833. package/.medusa/server/src/shared/utils/money.d.ts +16 -0
  834. package/.medusa/server/src/shared/utils/money.js +68 -0
  835. package/.medusa/server/src/subscribers/algolia-fulfillment-set-changed.d.ts +5 -0
  836. package/.medusa/server/src/subscribers/algolia-fulfillment-set-changed.js +45 -0
  837. package/.medusa/server/src/subscribers/algolia-inventory-item.changed.d.ts +5 -0
  838. package/.medusa/server/src/subscribers/algolia-inventory-item.changed.js +31 -0
  839. package/.medusa/server/src/subscribers/algolia-service-zone-changed.d.ts +5 -0
  840. package/.medusa/server/src/subscribers/algolia-service-zone-changed.js +45 -0
  841. package/.medusa/server/src/subscribers/algolia-shipping-option-changed.d.ts +5 -0
  842. package/.medusa/server/src/subscribers/algolia-shipping-option-changed.js +45 -0
  843. package/.medusa/server/src/subscribers/algolia-stock-location-changed.d.ts +5 -0
  844. package/.medusa/server/src/subscribers/algolia-stock-location-changed.js +45 -0
  845. package/.medusa/server/src/subscribers/notification-admin-new-order-set.d.ts +5 -0
  846. package/.medusa/server/src/subscribers/notification-admin-new-order-set.js +41 -0
  847. package/.medusa/server/src/subscribers/notification-seller-new-order.d.ts +5 -0
  848. package/.medusa/server/src/subscribers/notification-seller-new-order.js +53 -0
  849. package/.medusa/server/src/subscribers/order-set-placed-payment-capture.d.ts +6 -0
  850. package/.medusa/server/src/subscribers/order-set-placed-payment-capture.js +49 -0
  851. package/.medusa/server/src/subscribers/payout-order.d.ts +5 -0
  852. package/.medusa/server/src/subscribers/payout-order.js +23 -0
  853. package/.medusa/server/src/subscribers/payout-webhook.d.ts +4 -0
  854. package/.medusa/server/src/subscribers/payout-webhook.js +31 -0
  855. package/.medusa/server/src/subscribers/seller-creation-request-accepted.d.ts +4 -0
  856. package/.medusa/server/src/subscribers/seller-creation-request-accepted.js +27 -0
  857. package/.medusa/server/src/subscribers/seller-status-changed.d.ts +7 -0
  858. package/.medusa/server/src/subscribers/seller-status-changed.js +38 -0
  859. package/.medusa/server/src/subscribers/split-payment-payment-captured.d.ts +5 -0
  860. package/.medusa/server/src/subscribers/split-payment-payment-captured.js +24 -0
  861. package/.medusa/server/src/workflows/attribute/index.d.ts +2 -0
  862. package/.medusa/server/src/workflows/attribute/index.js +19 -0
  863. package/.medusa/server/src/workflows/attribute/steps/create-attribute-possible-values.d.ts +38 -0
  864. package/.medusa/server/src/workflows/attribute/steps/create-attribute-possible-values.js +18 -0
  865. package/.medusa/server/src/workflows/attribute/steps/create-attribute-value.d.ts +37 -0
  866. package/.medusa/server/src/workflows/attribute/steps/create-attribute-value.js +21 -0
  867. package/.medusa/server/src/workflows/attribute/steps/create-attributes.d.ts +5 -0
  868. package/.medusa/server/src/workflows/attribute/steps/create-attributes.js +32 -0
  869. package/.medusa/server/src/workflows/attribute/steps/delete-attribute-value.d.ts +2 -0
  870. package/.medusa/server/src/workflows/attribute/steps/delete-attribute-value.js +18 -0
  871. package/.medusa/server/src/workflows/attribute/steps/delete-attribute.d.ts +6 -0
  872. package/.medusa/server/src/workflows/attribute/steps/delete-attribute.js +31 -0
  873. package/.medusa/server/src/workflows/attribute/steps/index.d.ts +8 -0
  874. package/.medusa/server/src/workflows/attribute/steps/index.js +25 -0
  875. package/.medusa/server/src/workflows/attribute/steps/update-attribute-possible-value.d.ts +37 -0
  876. package/.medusa/server/src/workflows/attribute/steps/update-attribute-possible-value.js +18 -0
  877. package/.medusa/server/src/workflows/attribute/steps/update-attributes.d.ts +20 -0
  878. package/.medusa/server/src/workflows/attribute/steps/update-attributes.js +37 -0
  879. package/.medusa/server/src/workflows/attribute/steps/validate-attribute-value.d.ts +3 -0
  880. package/.medusa/server/src/workflows/attribute/steps/validate-attribute-value.js +53 -0
  881. package/.medusa/server/src/workflows/attribute/utils/index.d.ts +3 -0
  882. package/.medusa/server/src/workflows/attribute/utils/index.js +20 -0
  883. package/.medusa/server/src/workflows/attribute/utils/products-created-handler.d.ts +6 -0
  884. package/.medusa/server/src/workflows/attribute/utils/products-created-handler.js +35 -0
  885. package/.medusa/server/src/workflows/attribute/utils/products-updated-handler.d.ts +7 -0
  886. package/.medusa/server/src/workflows/attribute/utils/products-updated-handler.js +64 -0
  887. package/.medusa/server/src/workflows/attribute/utils/validate-attribute-values-to-link.d.ts +7 -0
  888. package/.medusa/server/src/workflows/attribute/utils/validate-attribute-values-to-link.js +43 -0
  889. package/.medusa/server/src/workflows/attribute/workflows/create-attribute-possible-values.d.ts +37 -0
  890. package/.medusa/server/src/workflows/attribute/workflows/create-attribute-possible-values.js +11 -0
  891. package/.medusa/server/src/workflows/attribute/workflows/create-attribute-value.d.ts +37 -0
  892. package/.medusa/server/src/workflows/attribute/workflows/create-attribute-value.js +32 -0
  893. package/.medusa/server/src/workflows/attribute/workflows/create-attributes.d.ts +7 -0
  894. package/.medusa/server/src/workflows/attribute/workflows/create-attributes.js +40 -0
  895. package/.medusa/server/src/workflows/attribute/workflows/delete-attribute-value.d.ts +3 -0
  896. package/.medusa/server/src/workflows/attribute/workflows/delete-attribute-value.js +38 -0
  897. package/.medusa/server/src/workflows/attribute/workflows/delete-attribute.d.ts +6 -0
  898. package/.medusa/server/src/workflows/attribute/workflows/delete-attribute.js +10 -0
  899. package/.medusa/server/src/workflows/attribute/workflows/index.d.ts +7 -0
  900. package/.medusa/server/src/workflows/attribute/workflows/index.js +24 -0
  901. package/.medusa/server/src/workflows/attribute/workflows/update-attribute-possible-value.d.ts +37 -0
  902. package/.medusa/server/src/workflows/attribute/workflows/update-attribute-possible-value.js +11 -0
  903. package/.medusa/server/src/workflows/attribute/workflows/update-attributes.d.ts +23 -0
  904. package/.medusa/server/src/workflows/attribute/workflows/update-attributes.js +68 -0
  905. package/.medusa/server/src/workflows/campaigns/index.d.ts +1 -0
  906. package/.medusa/server/src/workflows/campaigns/index.js +18 -0
  907. package/.medusa/server/src/workflows/campaigns/workflows/create-vendor-campaign.d.ts +5 -0
  908. package/.medusa/server/src/workflows/campaigns/workflows/create-vendor-campaign.js +27 -0
  909. package/.medusa/server/src/workflows/campaigns/workflows/index.d.ts +1 -0
  910. package/.medusa/server/src/workflows/campaigns/workflows/index.js +18 -0
  911. package/.medusa/server/src/workflows/cart/index.d.ts +2 -0
  912. package/.medusa/server/src/workflows/cart/index.js +19 -0
  913. package/.medusa/server/src/workflows/cart/steps/create-order-set.d.ts +13 -0
  914. package/.medusa/server/src/workflows/cart/steps/create-order-set.js +14 -0
  915. package/.medusa/server/src/workflows/cart/steps/filter-seller-shipping-options.d.ts +26 -0
  916. package/.medusa/server/src/workflows/cart/steps/filter-seller-shipping-options.js +56 -0
  917. package/.medusa/server/src/workflows/cart/steps/index.d.ts +4 -0
  918. package/.medusa/server/src/workflows/cart/steps/index.js +21 -0
  919. package/.medusa/server/src/workflows/cart/steps/validate-cart-sellers.d.ts +6 -0
  920. package/.medusa/server/src/workflows/cart/steps/validate-cart-sellers.js +29 -0
  921. package/.medusa/server/src/workflows/cart/steps/validate-cart-shipping-options.d.ts +9 -0
  922. package/.medusa/server/src/workflows/cart/steps/validate-cart-shipping-options.js +48 -0
  923. package/.medusa/server/src/workflows/cart/utils/complete-cart-fields.d.ts +1 -0
  924. package/.medusa/server/src/workflows/cart/utils/complete-cart-fields.js +76 -0
  925. package/.medusa/server/src/workflows/cart/utils/index.d.ts +3 -0
  926. package/.medusa/server/src/workflows/cart/utils/index.js +20 -0
  927. package/.medusa/server/src/workflows/cart/utils/prepare-confirm-inventory-input.d.ts +15 -0
  928. package/.medusa/server/src/workflows/cart/utils/prepare-confirm-inventory-input.js +92 -0
  929. package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.d.ts +40 -0
  930. package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.js +82 -0
  931. package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.d.ts +9 -0
  932. package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.js +78 -0
  933. package/.medusa/server/src/workflows/cart/workflows/delete-seller-line-item.d.ts +6 -0
  934. package/.medusa/server/src/workflows/cart/workflows/delete-seller-line-item.js +50 -0
  935. package/.medusa/server/src/workflows/cart/workflows/index.d.ts +6 -0
  936. package/.medusa/server/src/workflows/cart/workflows/index.js +23 -0
  937. package/.medusa/server/src/workflows/cart/workflows/list-seller-return-shipping-options-for-order.d.ts +3 -0
  938. package/.medusa/server/src/workflows/cart/workflows/list-seller-return-shipping-options-for-order.js +27 -0
  939. package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.d.ts +25 -0
  940. package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.js +17 -0
  941. package/.medusa/server/src/workflows/cart/workflows/remove-cart-shipping-method.d.ts +5 -0
  942. package/.medusa/server/src/workflows/cart/workflows/remove-cart-shipping-method.js +9 -0
  943. package/.medusa/server/src/workflows/cart/workflows/split-and-complete-cart.d.ts +9 -0
  944. package/.medusa/server/src/workflows/cart/workflows/split-and-complete-cart.js +246 -0
  945. package/.medusa/server/src/workflows/common/index.d.ts +1 -0
  946. package/.medusa/server/src/workflows/common/index.js +18 -0
  947. package/.medusa/server/src/workflows/common/steps/emit-multiple-events-step.d.ts +6 -0
  948. package/.medusa/server/src/workflows/common/steps/emit-multiple-events-step.js +12 -0
  949. package/.medusa/server/src/workflows/common/steps/index.d.ts +1 -0
  950. package/.medusa/server/src/workflows/common/steps/index.js +18 -0
  951. package/.medusa/server/src/workflows/configuration/index.d.ts +2 -0
  952. package/.medusa/server/src/workflows/configuration/index.js +19 -0
  953. package/.medusa/server/src/workflows/configuration/steps/create-configuration-rule.d.ts +9 -0
  954. package/.medusa/server/src/workflows/configuration/steps/create-configuration-rule.js +14 -0
  955. package/.medusa/server/src/workflows/configuration/steps/index.d.ts +2 -0
  956. package/.medusa/server/src/workflows/configuration/steps/index.js +19 -0
  957. package/.medusa/server/src/workflows/configuration/steps/update-configuration-rule.d.ts +9 -0
  958. package/.medusa/server/src/workflows/configuration/steps/update-configuration-rule.js +11 -0
  959. package/.medusa/server/src/workflows/configuration/workflows/create-configuration-rule.d.ts +9 -0
  960. package/.medusa/server/src/workflows/configuration/workflows/create-configuration-rule.js +9 -0
  961. package/.medusa/server/src/workflows/configuration/workflows/index.d.ts +2 -0
  962. package/.medusa/server/src/workflows/configuration/workflows/index.js +19 -0
  963. package/.medusa/server/src/workflows/configuration/workflows/update-configuration-rule.d.ts +9 -0
  964. package/.medusa/server/src/workflows/configuration/workflows/update-configuration-rule.js +9 -0
  965. package/.medusa/server/src/workflows/customer-groups/index.d.ts +1 -0
  966. package/.medusa/server/src/workflows/customer-groups/index.js +18 -0
  967. package/.medusa/server/src/workflows/customer-groups/workflows/create-seller-customer-group.d.ts +7 -0
  968. package/.medusa/server/src/workflows/customer-groups/workflows/create-seller-customer-group.js +29 -0
  969. package/.medusa/server/src/workflows/customer-groups/workflows/index.d.ts +1 -0
  970. package/.medusa/server/src/workflows/customer-groups/workflows/index.js +18 -0
  971. package/.medusa/server/src/workflows/fulfillment-set/create-location-fulfillment-set-and-associate-with-seller.d.ts +10 -0
  972. package/.medusa/server/src/workflows/fulfillment-set/create-location-fulfillment-set-and-associate-with-seller.js +36 -0
  973. package/.medusa/server/src/workflows/fulfillment-set/create-vendor-service-zone.d.ts +7 -0
  974. package/.medusa/server/src/workflows/fulfillment-set/create-vendor-service-zone.js +30 -0
  975. package/.medusa/server/src/workflows/fulfillment-set/delete-vendor-service-zone.d.ts +6 -0
  976. package/.medusa/server/src/workflows/fulfillment-set/delete-vendor-service-zone.js +34 -0
  977. package/.medusa/server/src/workflows/fulfillment-set/index.d.ts +3 -0
  978. package/.medusa/server/src/workflows/fulfillment-set/index.js +20 -0
  979. package/.medusa/server/src/workflows/hooks/order-shipment-created.d.ts +1 -0
  980. package/.medusa/server/src/workflows/hooks/order-shipment-created.js +31 -0
  981. package/.medusa/server/src/workflows/hooks/product-collections-updated.d.ts +1 -0
  982. package/.medusa/server/src/workflows/hooks/product-collections-updated.js +19 -0
  983. package/.medusa/server/src/workflows/hooks/product-created.d.ts +1 -0
  984. package/.medusa/server/src/workflows/hooks/product-created.js +111 -0
  985. package/.medusa/server/src/workflows/hooks/product-deleted.d.ts +1 -0
  986. package/.medusa/server/src/workflows/hooks/product-deleted.js +12 -0
  987. package/.medusa/server/src/workflows/hooks/product-options-updated.d.ts +1 -0
  988. package/.medusa/server/src/workflows/hooks/product-options-updated.js +16 -0
  989. package/.medusa/server/src/workflows/hooks/product-tags-updated.d.ts +1 -0
  990. package/.medusa/server/src/workflows/hooks/product-tags-updated.js +19 -0
  991. package/.medusa/server/src/workflows/hooks/product-updated.d.ts +1 -0
  992. package/.medusa/server/src/workflows/hooks/product-updated.js +18 -0
  993. package/.medusa/server/src/workflows/hooks/product-variant-created.d.ts +1 -0
  994. package/.medusa/server/src/workflows/hooks/product-variant-created.js +42 -0
  995. package/.medusa/server/src/workflows/hooks/product-variants-updated.d.ts +1 -0
  996. package/.medusa/server/src/workflows/hooks/product-variants-updated.js +16 -0
  997. package/.medusa/server/src/workflows/index.d.ts +14 -0
  998. package/.medusa/server/src/workflows/index.js +31 -0
  999. package/.medusa/server/src/workflows/order/index.d.ts +2 -0
  1000. package/.medusa/server/src/workflows/order/index.js +19 -0
  1001. package/.medusa/server/src/workflows/order/steps/calculate-payout-for-order.d.ts +3 -0
  1002. package/.medusa/server/src/workflows/order/steps/calculate-payout-for-order.js +34 -0
  1003. package/.medusa/server/src/workflows/order/steps/calculate-total-commission.d.ts +6 -0
  1004. package/.medusa/server/src/workflows/order/steps/calculate-total-commission.js +28 -0
  1005. package/.medusa/server/src/workflows/order/steps/create-payout.d.ts +5 -0
  1006. package/.medusa/server/src/workflows/order/steps/create-payout.js +21 -0
  1007. package/.medusa/server/src/workflows/order/steps/index.d.ts +4 -0
  1008. package/.medusa/server/src/workflows/order/steps/index.js +21 -0
  1009. package/.medusa/server/src/workflows/order/steps/validate-no-existing-payout-for-order.d.ts +1 -0
  1010. package/.medusa/server/src/workflows/order/steps/validate-no-existing-payout-for-order.js +23 -0
  1011. package/.medusa/server/src/workflows/order/steps/validate-seller-payout-account.d.ts +2 -0
  1012. package/.medusa/server/src/workflows/order/steps/validate-seller-payout-account.js +15 -0
  1013. package/.medusa/server/src/workflows/order/utils/aggregate-status.d.ts +2 -0
  1014. package/.medusa/server/src/workflows/order/utils/aggregate-status.js +69 -0
  1015. package/.medusa/server/src/workflows/order/workflows/cancel-order.d.ts +4 -0
  1016. package/.medusa/server/src/workflows/order/workflows/cancel-order.js +56 -0
  1017. package/.medusa/server/src/workflows/order/workflows/get-vendor-order-list.d.ts +3 -0
  1018. package/.medusa/server/src/workflows/order/workflows/get-vendor-order-list.js +41 -0
  1019. package/.medusa/server/src/workflows/order/workflows/index.d.ts +3 -0
  1020. package/.medusa/server/src/workflows/order/workflows/index.js +20 -0
  1021. package/.medusa/server/src/workflows/order/workflows/process-payout-for-order.d.ts +5 -0
  1022. package/.medusa/server/src/workflows/order/workflows/process-payout-for-order.js +82 -0
  1023. package/.medusa/server/src/workflows/order-set/index.d.ts +1 -0
  1024. package/.medusa/server/src/workflows/order-set/index.js +18 -0
  1025. package/.medusa/server/src/workflows/order-set/utils/format-order-sets.d.ts +4 -0
  1026. package/.medusa/server/src/workflows/order-set/utils/format-order-sets.js +75 -0
  1027. package/.medusa/server/src/workflows/order-set/utils/index.d.ts +1 -0
  1028. package/.medusa/server/src/workflows/order-set/utils/index.js +18 -0
  1029. package/.medusa/server/src/workflows/order-set/workflows/get-formatted-order-set-list.d.ts +12 -0
  1030. package/.medusa/server/src/workflows/order-set/workflows/get-formatted-order-set-list.js +62 -0
  1031. package/.medusa/server/src/workflows/order-set/workflows/index.d.ts +1 -0
  1032. package/.medusa/server/src/workflows/order-set/workflows/index.js +18 -0
  1033. package/.medusa/server/src/workflows/payout/index.d.ts +2 -0
  1034. package/.medusa/server/src/workflows/payout/index.js +19 -0
  1035. package/.medusa/server/src/workflows/payout/steps/create-payout-reversal.d.ts +8 -0
  1036. package/.medusa/server/src/workflows/payout/steps/create-payout-reversal.js +25 -0
  1037. package/.medusa/server/src/workflows/payout/steps/index.d.ts +2 -0
  1038. package/.medusa/server/src/workflows/payout/steps/index.js +19 -0
  1039. package/.medusa/server/src/workflows/payout/steps/update-payout-account.d.ts +2 -0
  1040. package/.medusa/server/src/workflows/payout/steps/update-payout-account.js +15 -0
  1041. package/.medusa/server/src/workflows/payout/workflows/index.d.ts +1 -0
  1042. package/.medusa/server/src/workflows/payout/workflows/index.js +18 -0
  1043. package/.medusa/server/src/workflows/payout/workflows/process-payout-webhook-action.d.ts +7 -0
  1044. package/.medusa/server/src/workflows/payout/workflows/process-payout-webhook-action.js +20 -0
  1045. package/.medusa/server/src/workflows/price-list/index.d.ts +2 -0
  1046. package/.medusa/server/src/workflows/price-list/index.js +19 -0
  1047. package/.medusa/server/src/workflows/price-list/steps/index.d.ts +1 -0
  1048. package/.medusa/server/src/workflows/price-list/steps/index.js +18 -0
  1049. package/.medusa/server/src/workflows/price-list/steps/validate-vendor-price-list-prices.d.ts +7 -0
  1050. package/.medusa/server/src/workflows/price-list/steps/validate-vendor-price-list-prices.js +60 -0
  1051. package/.medusa/server/src/workflows/price-list/workflows/batch-vendor-price-list-prices.d.ts +10 -0
  1052. package/.medusa/server/src/workflows/price-list/workflows/batch-vendor-price-list-prices.js +26 -0
  1053. package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list-prices.d.ts +6 -0
  1054. package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list-prices.js +21 -0
  1055. package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list.d.ts +5 -0
  1056. package/.medusa/server/src/workflows/price-list/workflows/create-vendor-price-list.js +34 -0
  1057. package/.medusa/server/src/workflows/price-list/workflows/index.d.ts +3 -0
  1058. package/.medusa/server/src/workflows/price-list/workflows/index.js +20 -0
  1059. package/.medusa/server/src/workflows/product/index.d.ts +2 -0
  1060. package/.medusa/server/src/workflows/product/index.js +19 -0
  1061. package/.medusa/server/src/workflows/product/steps/index.d.ts +1 -0
  1062. package/.medusa/server/src/workflows/product/steps/index.js +18 -0
  1063. package/.medusa/server/src/workflows/product/steps/update-product-status.d.ts +5 -0
  1064. package/.medusa/server/src/workflows/product/steps/update-product-status.js +13 -0
  1065. package/.medusa/server/src/workflows/product/workflows/index.d.ts +1 -0
  1066. package/.medusa/server/src/workflows/product/workflows/index.js +18 -0
  1067. package/.medusa/server/src/workflows/product/workflows/update-product-status.d.ts +5 -0
  1068. package/.medusa/server/src/workflows/product/workflows/update-product-status.js +9 -0
  1069. package/.medusa/server/src/workflows/promotions/index.d.ts +2 -0
  1070. package/.medusa/server/src/workflows/promotions/index.js +19 -0
  1071. package/.medusa/server/src/workflows/promotions/steps/index.d.ts +4 -0
  1072. package/.medusa/server/src/workflows/promotions/steps/index.js +21 -0
  1073. package/.medusa/server/src/workflows/promotions/steps/register-usage-step.d.ts +3 -0
  1074. package/.medusa/server/src/workflows/promotions/steps/register-usage-step.js +21 -0
  1075. package/.medusa/server/src/workflows/promotions/steps/verify-vendor-campaign.d.ts +6 -0
  1076. package/.medusa/server/src/workflows/promotions/steps/verify-vendor-campaign.js +27 -0
  1077. package/.medusa/server/src/workflows/promotions/steps/verify-vendor-promotion.d.ts +5 -0
  1078. package/.medusa/server/src/workflows/promotions/steps/verify-vendor-promotion.js +12 -0
  1079. package/.medusa/server/src/workflows/promotions/steps/verify-vendor-target-promotion-rules.d.ts +5 -0
  1080. package/.medusa/server/src/workflows/promotions/steps/verify-vendor-target-promotion-rules.js +31 -0
  1081. package/.medusa/server/src/workflows/promotions/workflows/batch-vendor-promotion-rules.d.ts +5 -0
  1082. package/.medusa/server/src/workflows/promotions/workflows/batch-vendor-promotion-rules.js +18 -0
  1083. package/.medusa/server/src/workflows/promotions/workflows/create-vendor-promotion.d.ts +5 -0
  1084. package/.medusa/server/src/workflows/promotions/workflows/create-vendor-promotion.js +48 -0
  1085. package/.medusa/server/src/workflows/promotions/workflows/index.d.ts +3 -0
  1086. package/.medusa/server/src/workflows/promotions/workflows/index.js +20 -0
  1087. package/.medusa/server/src/workflows/promotions/workflows/update-vendor-promotion.d.ts +5 -0
  1088. package/.medusa/server/src/workflows/promotions/workflows/update-vendor-promotion.js +16 -0
  1089. package/.medusa/server/src/workflows/seller/index.d.ts +2 -0
  1090. package/.medusa/server/src/workflows/seller/index.js +19 -0
  1091. package/.medusa/server/src/workflows/seller/steps/create-member-invites.d.ts +2 -0
  1092. package/.medusa/server/src/workflows/seller/steps/create-member-invites.js +14 -0
  1093. package/.medusa/server/src/workflows/seller/steps/create-member.d.ts +2 -0
  1094. package/.medusa/server/src/workflows/seller/steps/create-member.js +14 -0
  1095. package/.medusa/server/src/workflows/seller/steps/create-payment-account.d.ts +45 -0
  1096. package/.medusa/server/src/workflows/seller/steps/create-payment-account.js +17 -0
  1097. package/.medusa/server/src/workflows/seller/steps/create-payout-onboarding.d.ts +45 -0
  1098. package/.medusa/server/src/workflows/seller/steps/create-payout-onboarding.js +11 -0
  1099. package/.medusa/server/src/workflows/seller/steps/create-seller-onboarding.d.ts +59 -0
  1100. package/.medusa/server/src/workflows/seller/steps/create-seller-onboarding.js +13 -0
  1101. package/.medusa/server/src/workflows/seller/steps/create-seller-shipping-profile.d.ts +2 -0
  1102. package/.medusa/server/src/workflows/seller/steps/create-seller-shipping-profile.js +30 -0
  1103. package/.medusa/server/src/workflows/seller/steps/create-seller.d.ts +2 -0
  1104. package/.medusa/server/src/workflows/seller/steps/create-seller.js +21 -0
  1105. package/.medusa/server/src/workflows/seller/steps/delete-member-invite.d.ts +1 -0
  1106. package/.medusa/server/src/workflows/seller/steps/delete-member-invite.js +14 -0
  1107. package/.medusa/server/src/workflows/seller/steps/delete-member.d.ts +1 -0
  1108. package/.medusa/server/src/workflows/seller/steps/delete-member.js +20 -0
  1109. package/.medusa/server/src/workflows/seller/steps/delete-seller.d.ts +1 -0
  1110. package/.medusa/server/src/workflows/seller/steps/delete-seller.js +14 -0
  1111. package/.medusa/server/src/workflows/seller/steps/get-seller-products.d.ts +2 -0
  1112. package/.medusa/server/src/workflows/seller/steps/get-seller-products.js +55 -0
  1113. package/.medusa/server/src/workflows/seller/steps/index.d.ts +21 -0
  1114. package/.medusa/server/src/workflows/seller/steps/index.js +38 -0
  1115. package/.medusa/server/src/workflows/seller/steps/recalculate-onboarding.d.ts +58 -0
  1116. package/.medusa/server/src/workflows/seller/steps/recalculate-onboarding.js +84 -0
  1117. package/.medusa/server/src/workflows/seller/steps/send-invitation-email.d.ts +2 -0
  1118. package/.medusa/server/src/workflows/seller/steps/send-invitation-email.js +31 -0
  1119. package/.medusa/server/src/workflows/seller/steps/sync-stripe-account.d.ts +44 -0
  1120. package/.medusa/server/src/workflows/seller/steps/sync-stripe-account.js +11 -0
  1121. package/.medusa/server/src/workflows/seller/steps/update-member-invite.d.ts +2 -0
  1122. package/.medusa/server/src/workflows/seller/steps/update-member-invite.js +18 -0
  1123. package/.medusa/server/src/workflows/seller/steps/update-member.d.ts +2 -0
  1124. package/.medusa/server/src/workflows/seller/steps/update-member.js +15 -0
  1125. package/.medusa/server/src/workflows/seller/steps/update-seller.d.ts +2 -0
  1126. package/.medusa/server/src/workflows/seller/steps/update-seller.js +34 -0
  1127. package/.medusa/server/src/workflows/seller/steps/validate-member-invites.d.ts +59 -0
  1128. package/.medusa/server/src/workflows/seller/steps/validate-member-invites.js +11 -0
  1129. package/.medusa/server/src/workflows/seller/steps/validate-no-existing-payout-account-for-seller.d.ts +1 -0
  1130. package/.medusa/server/src/workflows/seller/steps/validate-no-existing-payout-account-for-seller.js +21 -0
  1131. package/.medusa/server/src/workflows/seller/steps/validate-payout-account-exists-for-seller.d.ts +3 -0
  1132. package/.medusa/server/src/workflows/seller/steps/validate-payout-account-exists-for-seller.js +24 -0
  1133. package/.medusa/server/src/workflows/seller/steps/validate-products-to-import.d.ts +70 -0
  1134. package/.medusa/server/src/workflows/seller/steps/validate-products-to-import.js +16 -0
  1135. package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.d.ts +64 -0
  1136. package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.js +27 -0
  1137. package/.medusa/server/src/workflows/seller/workflows/create-onboarding-for-seller.d.ts +50 -0
  1138. package/.medusa/server/src/workflows/seller/workflows/create-onboarding-for-seller.js +14 -0
  1139. package/.medusa/server/src/workflows/seller/workflows/create-payout-account-for-seller.d.ts +50 -0
  1140. package/.medusa/server/src/workflows/seller/workflows/create-payout-account-for-seller.js +27 -0
  1141. package/.medusa/server/src/workflows/seller/workflows/create-seller.d.ts +10 -0
  1142. package/.medusa/server/src/workflows/seller/workflows/create-seller.js +27 -0
  1143. package/.medusa/server/src/workflows/seller/workflows/delete-member-invite.d.ts +1 -0
  1144. package/.medusa/server/src/workflows/seller/workflows/delete-member-invite.js +9 -0
  1145. package/.medusa/server/src/workflows/seller/workflows/delete-member.d.ts +1 -0
  1146. package/.medusa/server/src/workflows/seller/workflows/delete-member.js +9 -0
  1147. package/.medusa/server/src/workflows/seller/workflows/delete-seller.d.ts +1 -0
  1148. package/.medusa/server/src/workflows/seller/workflows/delete-seller.js +9 -0
  1149. package/.medusa/server/src/workflows/seller/workflows/export-seller-products.d.ts +1 -0
  1150. package/.medusa/server/src/workflows/seller/workflows/export-seller-products.js +18 -0
  1151. package/.medusa/server/src/workflows/seller/workflows/import-seller-products.d.ts +5 -0
  1152. package/.medusa/server/src/workflows/seller/workflows/import-seller-products.js +39 -0
  1153. package/.medusa/server/src/workflows/seller/workflows/index.d.ts +15 -0
  1154. package/.medusa/server/src/workflows/seller/workflows/index.js +32 -0
  1155. package/.medusa/server/src/workflows/seller/workflows/invite-member.d.ts +2 -0
  1156. package/.medusa/server/src/workflows/seller/workflows/invite-member.js +9 -0
  1157. package/.medusa/server/src/workflows/seller/workflows/invite-seller.d.ts +2 -0
  1158. package/.medusa/server/src/workflows/seller/workflows/invite-seller.js +9 -0
  1159. package/.medusa/server/src/workflows/seller/workflows/recalculate-onboarding.d.ts +58 -0
  1160. package/.medusa/server/src/workflows/seller/workflows/recalculate-onboarding.js +9 -0
  1161. package/.medusa/server/src/workflows/seller/workflows/sync-stripe-account.d.ts +44 -0
  1162. package/.medusa/server/src/workflows/seller/workflows/sync-stripe-account.js +9 -0
  1163. package/.medusa/server/src/workflows/seller/workflows/update-member.d.ts +2 -0
  1164. package/.medusa/server/src/workflows/seller/workflows/update-member.js +9 -0
  1165. package/.medusa/server/src/workflows/seller/workflows/update-seller.d.ts +2 -0
  1166. package/.medusa/server/src/workflows/seller/workflows/update-seller.js +9 -0
  1167. package/.medusa/server/src/workflows/split-order-payment/index.d.ts +2 -0
  1168. package/.medusa/server/src/workflows/split-order-payment/index.js +19 -0
  1169. package/.medusa/server/src/workflows/split-order-payment/steps/create-split-order-payments.d.ts +2 -0
  1170. package/.medusa/server/src/workflows/split-order-payment/steps/create-split-order-payments.js +35 -0
  1171. package/.medusa/server/src/workflows/split-order-payment/steps/index.d.ts +3 -0
  1172. package/.medusa/server/src/workflows/split-order-payment/steps/index.js +20 -0
  1173. package/.medusa/server/src/workflows/split-order-payment/steps/update-split-order-payment.d.ts +16 -0
  1174. package/.medusa/server/src/workflows/split-order-payment/steps/update-split-order-payment.js +17 -0
  1175. package/.medusa/server/src/workflows/split-order-payment/steps/validate-refund-split-order-payment.d.ts +6 -0
  1176. package/.medusa/server/src/workflows/split-order-payment/steps/validate-refund-split-order-payment.js +27 -0
  1177. package/.medusa/server/src/workflows/split-order-payment/workflows/index.d.ts +3 -0
  1178. package/.medusa/server/src/workflows/split-order-payment/workflows/index.js +20 -0
  1179. package/.medusa/server/src/workflows/split-order-payment/workflows/mark-split-order-payments-as-captured.d.ts +15 -0
  1180. package/.medusa/server/src/workflows/split-order-payment/workflows/mark-split-order-payments-as-captured.js +28 -0
  1181. package/.medusa/server/src/workflows/split-order-payment/workflows/partial-payment-refund.d.ts +8 -0
  1182. package/.medusa/server/src/workflows/split-order-payment/workflows/partial-payment-refund.js +77 -0
  1183. package/.medusa/server/src/workflows/split-order-payment/workflows/refund-split-order-payment.d.ts +16 -0
  1184. package/.medusa/server/src/workflows/split-order-payment/workflows/refund-split-order-payment.js +16 -0
  1185. package/.medusa/server/src/workflows/wishlist/index.d.ts +2 -0
  1186. package/.medusa/server/src/workflows/wishlist/index.js +19 -0
  1187. package/.medusa/server/src/workflows/wishlist/steps/create-wishlist.d.ts +2 -0
  1188. package/.medusa/server/src/workflows/wishlist/steps/create-wishlist.js +37 -0
  1189. package/.medusa/server/src/workflows/wishlist/steps/delete-wishlist.d.ts +5 -0
  1190. package/.medusa/server/src/workflows/wishlist/steps/delete-wishlist.js +22 -0
  1191. package/.medusa/server/src/workflows/wishlist/steps/index.d.ts +2 -0
  1192. package/.medusa/server/src/workflows/wishlist/steps/index.js +19 -0
  1193. package/.medusa/server/src/workflows/wishlist/workflows/create-wishlist.d.ts +2 -0
  1194. package/.medusa/server/src/workflows/wishlist/workflows/create-wishlist.js +11 -0
  1195. package/.medusa/server/src/workflows/wishlist/workflows/delete-wishlist.d.ts +5 -0
  1196. package/.medusa/server/src/workflows/wishlist/workflows/delete-wishlist.js +11 -0
  1197. package/.medusa/server/src/workflows/wishlist/workflows/index.d.ts +2 -0
  1198. package/.medusa/server/src/workflows/wishlist/workflows/index.js +19 -0
  1199. package/README.md +22 -0
  1200. package/package.json +86 -0
@@ -0,0 +1,1803 @@
1
+ import { z } from 'zod';
2
+ import { AdditionalData } from '@medusajs/framework/types';
3
+ export type VendorGetProductParamsType = z.infer<typeof VendorGetProductParams>;
4
+ export declare const VendorGetProductParams: z.ZodEffects<z.ZodObject<{
5
+ [x: string]: any;
6
+ [x: number]: any;
7
+ [x: symbol]: any;
8
+ sales_channel_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
9
+ q: z.ZodOptional<z.ZodString>;
10
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
11
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
12
+ handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
13
+ is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
14
+ category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
15
+ external_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
16
+ collection_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
17
+ tag_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
18
+ type_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
19
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
20
+ $eq: any;
21
+ $ne: any;
22
+ $in: any;
23
+ $nin: any;
24
+ $like: any;
25
+ $ilike: any;
26
+ $re: any;
27
+ $contains: any;
28
+ $gt: any;
29
+ $gte: any;
30
+ $lt: any;
31
+ $lte: any;
32
+ }, "strip", z.ZodTypeAny, {
33
+ $eq?: any;
34
+ $ne?: any;
35
+ $in?: any;
36
+ $nin?: any;
37
+ $like?: any;
38
+ $ilike?: any;
39
+ $re?: any;
40
+ $contains?: any;
41
+ $gt?: any;
42
+ $gte?: any;
43
+ $lt?: any;
44
+ $lte?: any;
45
+ }, {
46
+ $eq?: any;
47
+ $ne?: any;
48
+ $in?: any;
49
+ $nin?: any;
50
+ $like?: any;
51
+ $ilike?: any;
52
+ $re?: any;
53
+ $contains?: any;
54
+ $gt?: any;
55
+ $gte?: any;
56
+ $lt?: any;
57
+ $lte?: any;
58
+ }>]>>;
59
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
60
+ $eq: any;
61
+ $ne: any;
62
+ $in: any;
63
+ $nin: any;
64
+ $like: any;
65
+ $ilike: any;
66
+ $re: any;
67
+ $contains: any;
68
+ $gt: any;
69
+ $gte: any;
70
+ $lt: any;
71
+ $lte: any;
72
+ }, "strip", z.ZodTypeAny, {
73
+ $eq?: any;
74
+ $ne?: any;
75
+ $in?: any;
76
+ $nin?: any;
77
+ $like?: any;
78
+ $ilike?: any;
79
+ $re?: any;
80
+ $contains?: any;
81
+ $gt?: any;
82
+ $gte?: any;
83
+ $lt?: any;
84
+ $lte?: any;
85
+ }, {
86
+ $eq?: any;
87
+ $ne?: any;
88
+ $in?: any;
89
+ $nin?: any;
90
+ $like?: any;
91
+ $ilike?: any;
92
+ $re?: any;
93
+ $contains?: any;
94
+ $gt?: any;
95
+ $gte?: any;
96
+ $lt
97
+ /**
98
+ * @schema CreateProduct
99
+ * type: object
100
+ * required:
101
+ * - title
102
+ * properties:
103
+ * title:
104
+ * type: string
105
+ * description: The title of the product.
106
+ * subtitle:
107
+ * type: string
108
+ * description: The subtitle of the product.
109
+ * description:
110
+ * type: string
111
+ * description: The description of the product.
112
+ * is_giftcard:
113
+ * type: boolean
114
+ * description: Whether the product is a gift card.
115
+ * default: false
116
+ * discountable:
117
+ * type: boolean
118
+ * description: Whether the product can be discounted.
119
+ * default: true
120
+ * images:
121
+ * type: array
122
+ * description: Images of the product.
123
+ * items:
124
+ * type: object
125
+ * required:
126
+ * - url
127
+ * properties:
128
+ * url:
129
+ * type: string
130
+ * thumbnail:
131
+ * type: string
132
+ * description: The thumbnail of the product.
133
+ * handle:
134
+ * type: string
135
+ * description: A unique handle to identify the product.
136
+ * status:
137
+ * type: string
138
+ * enum: [draft, proposed]
139
+ * description: The status of the product.
140
+ * default: draft
141
+ * external_id:
142
+ * type: string
143
+ * description: The external ID of the product.
144
+ * type_id:
145
+ * type: string
146
+ * description: The ID of the product type.
147
+ * collection_id:
148
+ * type: string
149
+ * description: The ID of the collection the product belongs to.
150
+ * categories:
151
+ * type: array
152
+ * description: Categories the product belongs to.
153
+ * items:
154
+ * type: object
155
+ * required:
156
+ * - id
157
+ * properties:
158
+ * id:
159
+ * type: string
160
+ * tags:
161
+ * type: array
162
+ * description: Tags associated with the product.
163
+ * items:
164
+ * type: object
165
+ * required:
166
+ * - id
167
+ * properties:
168
+ * id:
169
+ * type: string
170
+ * options:
171
+ * type: array
172
+ * description: Product options.
173
+ * items:
174
+ * $ref: "#/components/schemas/CreateProductOption"
175
+ * variants:
176
+ * type: array
177
+ * description: Product variants.
178
+ * items:
179
+ * $ref: "#/components/schemas/CreateProductVariant"
180
+ * weight:
181
+ * type: number
182
+ * description: The weight of the product.
183
+ * length:
184
+ * type: number
185
+ * description: The length of the product.
186
+ * height:
187
+ * type: number
188
+ * description: The height of the product.
189
+ * width:
190
+ * type: number
191
+ * description: The width of the product.
192
+ * hs_code:
193
+ * type: string
194
+ * description: The HS code of the product.
195
+ * mid_code:
196
+ * type: string
197
+ * description: The MID code of the product.
198
+ * origin_country:
199
+ * type: string
200
+ * description: The country of origin of the product.
201
+ * material:
202
+ * type: string
203
+ * description: The material composition of the product.
204
+ * metadata:
205
+ * type: object
206
+ * description: Additional metadata for the product.
207
+ * sales_channels:
208
+ * type: array
209
+ * description: Sales channels to associate the product with.
210
+ * items:
211
+ * type: object
212
+ * required:
213
+ * - id
214
+ * properties:
215
+ * id:
216
+ * type: string
217
+ */
218
+ ? /**
219
+ * @schema CreateProduct
220
+ * type: object
221
+ * required:
222
+ * - title
223
+ * properties:
224
+ * title:
225
+ * type: string
226
+ * description: The title of the product.
227
+ * subtitle:
228
+ * type: string
229
+ * description: The subtitle of the product.
230
+ * description:
231
+ * type: string
232
+ * description: The description of the product.
233
+ * is_giftcard:
234
+ * type: boolean
235
+ * description: Whether the product is a gift card.
236
+ * default: false
237
+ * discountable:
238
+ * type: boolean
239
+ * description: Whether the product can be discounted.
240
+ * default: true
241
+ * images:
242
+ * type: array
243
+ * description: Images of the product.
244
+ * items:
245
+ * type: object
246
+ * required:
247
+ * - url
248
+ * properties:
249
+ * url:
250
+ * type: string
251
+ * thumbnail:
252
+ * type: string
253
+ * description: The thumbnail of the product.
254
+ * handle:
255
+ * type: string
256
+ * description: A unique handle to identify the product.
257
+ * status:
258
+ * type: string
259
+ * enum: [draft, proposed]
260
+ * description: The status of the product.
261
+ * default: draft
262
+ * external_id:
263
+ * type: string
264
+ * description: The external ID of the product.
265
+ * type_id:
266
+ * type: string
267
+ * description: The ID of the product type.
268
+ * collection_id:
269
+ * type: string
270
+ * description: The ID of the collection the product belongs to.
271
+ * categories:
272
+ * type: array
273
+ * description: Categories the product belongs to.
274
+ * items:
275
+ * type: object
276
+ * required:
277
+ * - id
278
+ * properties:
279
+ * id:
280
+ * type: string
281
+ * tags:
282
+ * type: array
283
+ * description: Tags associated with the product.
284
+ * items:
285
+ * type: object
286
+ * required:
287
+ * - id
288
+ * properties:
289
+ * id:
290
+ * type: string
291
+ * options:
292
+ * type: array
293
+ * description: Product options.
294
+ * items:
295
+ * $ref: "#/components/schemas/CreateProductOption"
296
+ * variants:
297
+ * type: array
298
+ * description: Product variants.
299
+ * items:
300
+ * $ref: "#/components/schemas/CreateProductVariant"
301
+ * weight:
302
+ * type: number
303
+ * description: The weight of the product.
304
+ * length:
305
+ * type: number
306
+ * description: The length of the product.
307
+ * height:
308
+ * type: number
309
+ * description: The height of the product.
310
+ * width:
311
+ * type: number
312
+ * description: The width of the product.
313
+ * hs_code:
314
+ * type: string
315
+ * description: The HS code of the product.
316
+ * mid_code:
317
+ * type: string
318
+ * description: The MID code of the product.
319
+ * origin_country:
320
+ * type: string
321
+ * description: The country of origin of the product.
322
+ * material:
323
+ * type: string
324
+ * description: The material composition of the product.
325
+ * metadata:
326
+ * type: object
327
+ * description: Additional metadata for the product.
328
+ * sales_channels:
329
+ * type: array
330
+ * description: Sales channels to associate the product with.
331
+ * items:
332
+ * type: object
333
+ * required:
334
+ * - id
335
+ * properties:
336
+ * id:
337
+ * type: string
338
+ */: any;
339
+ $lte?: any;
340
+ }>]>>;
341
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
342
+ $eq: any;
343
+ $ne: any;
344
+ $in: any;
345
+ $nin: any;
346
+ $like: any;
347
+ $ilike: any;
348
+ $re: any;
349
+ $contains: any;
350
+ $gt: any;
351
+ $gte: any;
352
+ $lt: any;
353
+ $lte: any;
354
+ }, "strip", z.ZodTypeAny, {
355
+ $eq?: any;
356
+ $ne?: any;
357
+ $in?: any;
358
+ $nin?: any;
359
+ $like?: any;
360
+ $ilike?: any;
361
+ $re?: any;
362
+ $contains?: any;
363
+ $gt?: any;
364
+ $gte?: any;
365
+ $lt?: any;
366
+ $lte?: any;
367
+ }, {
368
+ $eq?: any;
369
+ $ne?: any;
370
+ $in?: any;
371
+ $nin?: any;
372
+ $like?: any;
373
+ $ilike?: any;
374
+ $re?: any;
375
+ $contains?: any;
376
+ $gt?: any;
377
+ $gte?: any;
378
+ $lt?: any;
379
+ $lte?: any;
380
+ }>]>>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ [x: string]: any;
383
+ [x: number]: any;
384
+ [x: symbol]: any;
385
+ sales_channel_id?: string | string[] | undefined;
386
+ q?: string | undefined;
387
+ id?: string | string[] | undefined;
388
+ title?: string | string[] | undefined;
389
+ handle?: string | string[] | undefined;
390
+ is_giftcard?: boolean | undefined;
391
+ category_id?: string | string[] | undefined;
392
+ external_id?: string | string[] | undefined;
393
+ collection_id?: string | string[] | undefined;
394
+ tag_id?: string | string[] | undefined;
395
+ type_id?: string | string[] | undefined;
396
+ created_at?: any;
397
+ updated_at?: any;
398
+ deleted_at?: any;
399
+ }, {
400
+ [x: string]: any;
401
+ [x: number]: any;
402
+ [x: symbol]: any;
403
+ sales_channel_id?: string | string[] | undefined;
404
+ q?: string | undefined;
405
+ id?: string | string[] | undefined;
406
+ title?: string | string[] | undefined;
407
+ handle?: string | string[] | undefined;
408
+ is_giftcard?: string | boolean | undefined;
409
+ category_id?: string | string[] | undefined;
410
+ external_id?: string | string[] | undefined;
411
+ collection_id?: string | string[] | undefined;
412
+ tag_id?: string | string[] | undefined;
413
+ type_id?: string | string[] | undefined;
414
+ created_at?: any;
415
+ updated_at?: any;
416
+ deleted_at?: any;
417
+ }>, import("@medusajs/framework/types").FilterableProductProps, {
418
+ [x: string]: any;
419
+ [x: number]: any;
420
+ [x: symbol]: any;
421
+ sales_channel_id?: string | string[] | undefined;
422
+ q?: string | undefined;
423
+ id?: string | string[] | undefined;
424
+ title?: string | string[] | undefined;
425
+ handle?: string | string[] | undefined;
426
+ is_giftcard?: string | boolean | undefined;
427
+ category_id?: string | string[] | undefined;
428
+ external_id?: string | string[] | undefined;
429
+ collection_id?: string | string[] | undefined;
430
+ tag_id?: string | string[] | undefined;
431
+ type_id?: string | string[] | undefined;
432
+ created_at?: any;
433
+ updated_at?: any;
434
+ deleted_at?: any;
435
+ }>;
436
+ /**
437
+ * @schema CreateProductOption
438
+ * type: object
439
+ * required:
440
+ * - title
441
+ * - values
442
+ * properties:
443
+ * title:
444
+ * type: string
445
+ * description: The title of the product option (e.g. "Size", "Color").
446
+ * values:
447
+ * type: array
448
+ * description: The values that the product option can take (e.g. ["Small", "Medium", "Large"]).
449
+ * items:
450
+ * type: string
451
+ */
452
+ export type CreateProductOptionType = z.infer<typeof CreateProductOption>;
453
+ export declare const CreateProductOption: z.ZodObject<{
454
+ title: z.ZodString;
455
+ values: z.ZodArray<z.ZodString, "many">;
456
+ }, "strip", z.ZodTypeAny, {
457
+ values: string[];
458
+ title: string;
459
+ }, {
460
+ values: string[];
461
+ title: string;
462
+ }>;
463
+ /**
464
+ * @schema VendorAssignBrandName
465
+ * type: object
466
+ * required:
467
+ * - brand_name
468
+ * properties:
469
+ * brand_name:
470
+ * type: string
471
+ * description: The name of the brand.
472
+ */
473
+ export type VendorAssignBrandNameType = z.infer<typeof VendorAssignBrandName>;
474
+ export declare const VendorAssignBrandName: z.ZodObject<{
475
+ brand_name: z.ZodString;
476
+ }, "strip", z.ZodTypeAny, {
477
+ brand_name: string;
478
+ }, {
479
+ brand_name: string;
480
+ }>;
481
+ /**
482
+ * @schema UpdateProductOption
483
+ * type: object
484
+ * properties:
485
+ * id:
486
+ * type: string
487
+ * description: The ID of the option to update.
488
+ * title:
489
+ * type: string
490
+ * description: The title of the product option (e.g. "Size", "Color").
491
+ * values:
492
+ * type: array
493
+ * description: The values that the product option can take (e.g. ["Small", "Medium", "Large"]).
494
+ * items:
495
+ * type: string
496
+ */
497
+ export type UpdateProductOptionType = z.infer<typeof UpdateProductOption>;
498
+ export declare const UpdateProductOption: z.ZodObject<{
499
+ id: z.ZodOptional<z.ZodString>;
500
+ title: z.ZodOptional<z.ZodString>;
501
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ id?: string | undefined;
504
+ title?: string | undefined;
505
+ values?: string[] | undefined;
506
+ }, {
507
+ id?: string | undefined;
508
+ title?: string | undefined;
509
+ values?: string[] | undefined;
510
+ }>;
511
+ /**
512
+ * @schema CreateProductVariant
513
+ * type: object
514
+ * properties:
515
+ * title:
516
+ * type: string
517
+ * description: The title of the variant.
518
+ * sku:
519
+ * type: string
520
+ * description: The unique SKU for the variant.
521
+ * ean:
522
+ * type: string
523
+ * description: The EAN number of the variant.
524
+ * upc:
525
+ * type: string
526
+ * description: The UPC number of the variant.
527
+ * barcode:
528
+ * type: string
529
+ * description: The barcode of the variant.
530
+ * hs_code:
531
+ * type: string
532
+ * description: The HS code of the variant.
533
+ * mid_code:
534
+ * type: string
535
+ * description: The MID code of the variant.
536
+ * allow_backorder:
537
+ * type: boolean
538
+ * description: Whether the variant can be backordered.
539
+ * default: false
540
+ * manage_inventory:
541
+ * type: boolean
542
+ * description: Whether Medusa should keep track of inventory for this variant.
543
+ * default: true
544
+ * variant_rank:
545
+ * type: number
546
+ * description: The rank of the variant.
547
+ * weight:
548
+ * type: number
549
+ * description: The weight of the variant.
550
+ * length:
551
+ * type: number
552
+ * description: The length of the variant.
553
+ * height:
554
+ * type: number
555
+ * description: The height of the variant.
556
+ * width:
557
+ * type: number
558
+ * description: The width of the variant.
559
+ * origin_country:
560
+ * type: string
561
+ * description: The country of origin of the variant.
562
+ * material:
563
+ * type: string
564
+ * description: The material composition of the variant.
565
+ * metadata:
566
+ * type: object
567
+ * description: Additional metadata for the variant.
568
+ * prices:
569
+ * type: array
570
+ * description: The prices of the variant.
571
+ * items:
572
+ * $ref: "#/components/schemas/CreateVariantPrice"
573
+ * options:
574
+ * type: object
575
+ * description: The options of the variant.
576
+ * inventory_items:
577
+ * type: array
578
+ * description: The inventory items of the variant.
579
+ * items:
580
+ * type: object
581
+ * properties:
582
+ * inventory_item_id:
583
+ * type: string
584
+ * required_quantity:
585
+ * type: number
586
+ */
587
+ export type CreateProductVariantType = z.infer<typeof CreateProductVariant>;
588
+ export declare const CreateProductVariant: z.ZodObject<{
589
+ title: z.ZodString;
590
+ sku: z.ZodOptional<z.ZodString>;
591
+ ean: z.ZodOptional<z.ZodString>;
592
+ upc: z.ZodOptional<z.ZodString>;
593
+ barcode: z.ZodOptional<z.ZodString>;
594
+ hs_code: z.ZodOptional<z.ZodString>;
595
+ mid_code: z.ZodOptional<z.ZodString>;
596
+ allow_backorder: z.ZodDefault<z.ZodOptional<z.ZodLiteral<false>>>;
597
+ manage_inventory: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
598
+ variant_rank: z.ZodOptional<z.ZodNumber>;
599
+ weight: z.ZodOptional<z.ZodNumber>;
600
+ length: z.ZodOptional<z.ZodNumber>;
601
+ height: z.ZodOptional<z.ZodNumber>;
602
+ width: z.ZodOptional<z.ZodNumber>;
603
+ origin_country: z.ZodOptional<z.ZodString>;
604
+ material: z.ZodOptional<z.ZodString>;
605
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
606
+ prices: z.ZodArray<z.ZodObject<{
607
+ currency_code: z.ZodString;
608
+ amount: z.ZodNumber;
609
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
610
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
611
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ currency_code: string;
614
+ amount: number;
615
+ min_quantity?: number | null | undefined;
616
+ max_quantity?: number | null | undefined;
617
+ rules?: Record<string, string> | undefined;
618
+ }, {
619
+ currency_code: string;
620
+ amount: number;
621
+ min_quantity?: number | null | undefined;
622
+ max_quantity?: number | null | undefined;
623
+ rules?: Record<string, string> | undefined;
624
+ }>, "many">;
625
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
626
+ inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
627
+ inventory_item_id: z.ZodString;
628
+ required_quantity: z.ZodNumber;
629
+ }, "strip", z.ZodTypeAny, {
630
+ inventory_item_id: string;
631
+ required_quantity: number;
632
+ }, {
633
+ inventory_item_id: string;
634
+ required_quantity: number;
635
+ }>, "many">>;
636
+ }, "strict", z.ZodTypeAny, {
637
+ title: string;
638
+ prices: {
639
+ currency_code: string;
640
+ amount: number;
641
+ min_quantity?: number | null | undefined;
642
+ max_quantity?: number | null | undefined;
643
+ rules?: Record<string, string> | undefined;
644
+ }[];
645
+ allow_backorder: false;
646
+ manage_inventory: true;
647
+ sku?: string | undefined;
648
+ ean?: string | undefined;
649
+ upc?: string | undefined;
650
+ barcode?: string | undefined;
651
+ hs_code?: string | undefined;
652
+ mid_code?: string | undefined;
653
+ variant_rank?: number | undefined;
654
+ weight?: number | undefined;
655
+ length?: number | undefined;
656
+ height?: number | undefined;
657
+ width?: number | undefined;
658
+ origin_country?: string | undefined;
659
+ material?: string | undefined;
660
+ metadata?: Record<string, unknown> | undefined;
661
+ options?: Record<string, string> | undefined;
662
+ inventory_items?: {
663
+ inventory_item_id: string;
664
+ required_quantity: number;
665
+ }[] | undefined;
666
+ }, {
667
+ title: string;
668
+ prices: {
669
+ currency_code: string;
670
+ amount: number;
671
+ min_quantity?: number | null | undefined;
672
+ max_quantity?: number | null | undefined;
673
+ rules?: Record<string, string> | undefined;
674
+ }[];
675
+ sku?: string | undefined;
676
+ ean?: string | undefined;
677
+ upc?: string | undefined;
678
+ barcode?: string | undefined;
679
+ hs_code?: string | undefined;
680
+ mid_code?: string | undefined;
681
+ allow_backorder?: false | undefined;
682
+ manage_inventory?: true | undefined;
683
+ variant_rank?: number | undefined;
684
+ weight?: number | undefined;
685
+ length?: number | undefined;
686
+ height?: number | undefined;
687
+ width?: number | undefined;
688
+ origin_country?: string | undefined;
689
+ material?: string | undefined;
690
+ metadata?: Record<string, unknown> | undefined;
691
+ options?: Record<string, string> | undefined;
692
+ inventory_items?: {
693
+ inventory_item_id: string;
694
+ required_quantity: number;
695
+ }[] | undefined;
696
+ }>;
697
+ /**
698
+ * @schema UpdateProductVariant
699
+ * type: object
700
+ * properties:
701
+ * id:
702
+ * type: string
703
+ * description: The ID of the variant to update.
704
+ * title:
705
+ * type: string
706
+ * description: The title of the variant.
707
+ * prices:
708
+ * type: array
709
+ * description: The prices of the variant.
710
+ * items:
711
+ * $ref: "#/components/schemas/UpdateVariantPrice"
712
+ * sku:
713
+ * type: string
714
+ * nullable: true
715
+ * description: The unique SKU for the variant.
716
+ * ean:
717
+ * type: string
718
+ * nullable: true
719
+ * description: The EAN number of the variant.
720
+ * upc:
721
+ * type: string
722
+ * nullable: true
723
+ * description: The UPC number of the variant.
724
+ * barcode:
725
+ * type: string
726
+ * nullable: true
727
+ * description: A generic GTIN field for the variant.
728
+ * hs_code:
729
+ * type: string
730
+ * nullable: true
731
+ * description: The Harmonized System code of the variant.
732
+ * mid_code:
733
+ * type: string
734
+ * nullable: true
735
+ * description: The Manufacturer Identification code of the variant.
736
+ * allow_backorder:
737
+ * type: boolean
738
+ * description: Whether the variant can be backordered.
739
+ * manage_inventory:
740
+ * type: boolean
741
+ * description: Whether Medusa should keep track of the inventory of this variant.
742
+ * variant_rank:
743
+ * type: number
744
+ * description: The rank of the variant when presented in a list of variants.
745
+ * weight:
746
+ * type: number
747
+ * nullable: true
748
+ * description: The weight of the variant.
749
+ * length:
750
+ * type: number
751
+ * nullable: true
752
+ * description: The length of the variant.
753
+ * height:
754
+ * type: number
755
+ * nullable: true
756
+ * description: The height of the variant.
757
+ * width:
758
+ * type: number
759
+ * nullable: true
760
+ * description: The width of the variant.
761
+ * origin_country:
762
+ * type: string
763
+ * nullable: true
764
+ * description: The country of origin of the variant.
765
+ * material:
766
+ * type: string
767
+ * nullable: true
768
+ * description: The material composition of the variant.
769
+ * metadata:
770
+ * type: object
771
+ * nullable: true
772
+ * description: An optional set of key-value pairs with additional information.
773
+ * options:
774
+ * type: object
775
+ * description: The options of the variant.
776
+ * additionalProperties:
777
+ * type: string
778
+ */
779
+ export type UpdateProductVariantType = z.infer<typeof UpdateProductVariant>;
780
+ export declare const UpdateProductVariant: z.ZodObject<{
781
+ id: z.ZodOptional<z.ZodString>;
782
+ title: z.ZodOptional<z.ZodString>;
783
+ prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
784
+ id: z.ZodOptional<z.ZodString>;
785
+ currency_code: z.ZodOptional<z.ZodString>;
786
+ amount: z.ZodOptional<z.ZodNumber>;
787
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
788
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
789
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
790
+ }, "strip", z.ZodTypeAny, {
791
+ id?: string | undefined;
792
+ currency_code?: string | undefined;
793
+ amount?: number | undefined;
794
+ min_quantity?: number | null | undefined;
795
+ max_quantity?: number | null | undefined;
796
+ rules?: Record<string, string> | undefined;
797
+ }, {
798
+ id?: string | undefined;
799
+ currency_code?: string | undefined;
800
+ amount?: number | undefined;
801
+ min_quantity?: number | null | undefined;
802
+ max_quantity?: number | null | undefined;
803
+ rules?: Record<string, string> | undefined;
804
+ }>, "many">>;
805
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
806
+ ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
808
+ barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
809
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
811
+ allow_backorder: z.ZodOptional<z.ZodBoolean>;
812
+ manage_inventory: z.ZodOptional<z.ZodBoolean>;
813
+ variant_rank: z.ZodOptional<z.ZodNumber>;
814
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
815
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
816
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
817
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
818
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
819
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
820
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
821
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
822
+ }, "strict", z.ZodTypeAny, {
823
+ id?: string | undefined;
824
+ title?: string | undefined;
825
+ prices?: {
826
+ id?: string | undefined;
827
+ currency_code?: string | undefined;
828
+ amount?: number | undefined;
829
+ min_quantity?: number | null | undefined;
830
+ max_quantity?: number | null | undefined;
831
+ rules?: Record<string, string> | undefined;
832
+ }[] | undefined;
833
+ sku?: string | null | undefined;
834
+ ean?: string | null | undefined;
835
+ upc?: string | null | undefined;
836
+ barcode?: string | null | undefined;
837
+ hs_code?: string | null | undefined;
838
+ mid_code?: string | null | undefined;
839
+ allow_backorder?: boolean | undefined;
840
+ manage_inventory?: boolean | undefined;
841
+ variant_rank?: number | undefined;
842
+ weight?: number | null | undefined;
843
+ length?: number | null | undefined;
844
+ height?: number | null | undefined;
845
+ width?: number | null | undefined;
846
+ origin_country?: string | null | undefined;
847
+ material?: string | null | undefined;
848
+ metadata?: Record<string, unknown> | null | undefined;
849
+ options?: Record<string, string> | undefined;
850
+ }, {
851
+ id?: string | undefined;
852
+ title?: string | undefined;
853
+ prices?: {
854
+ id?: string | undefined;
855
+ currency_code?: string | undefined;
856
+ amount?: number | undefined;
857
+ min_quantity?: number | null | undefined;
858
+ max_quantity?: number | null | undefined;
859
+ rules?: Record<string, string> | undefined;
860
+ }[] | undefined;
861
+ sku?: string | null | undefined;
862
+ ean?: string | null | undefined;
863
+ upc?: string | null | undefined;
864
+ barcode?: string | null | undefined;
865
+ hs_code?: string | null | undefined;
866
+ mid_code?: string | null | undefined;
867
+ allow_backorder?: boolean | undefined;
868
+ manage_inventory?: boolean | undefined;
869
+ variant_rank?: number | undefined;
870
+ weight?: number | null | undefined;
871
+ length?: number | null | undefined;
872
+ height?: number | null | undefined;
873
+ width?: number | null | undefined;
874
+ origin_country?: string | null | undefined;
875
+ material?: string | null | undefined;
876
+ metadata?: Record<string, unknown> | null | undefined;
877
+ options?: Record<string, string> | undefined;
878
+ }>;
879
+ /**
880
+ * @schema CreateProduct
881
+ * type: object
882
+ * required:
883
+ * - title
884
+ * properties:
885
+ * title:
886
+ * type: string
887
+ * description: The title of the product.
888
+ * subtitle:
889
+ * type: string
890
+ * description: The subtitle of the product.
891
+ * description:
892
+ * type: string
893
+ * description: The description of the product.
894
+ * is_giftcard:
895
+ * type: boolean
896
+ * description: Whether the product is a gift card.
897
+ * default: false
898
+ * discountable:
899
+ * type: boolean
900
+ * description: Whether the product can be discounted.
901
+ * default: true
902
+ * images:
903
+ * type: array
904
+ * description: Images of the product.
905
+ * items:
906
+ * type: object
907
+ * required:
908
+ * - url
909
+ * properties:
910
+ * url:
911
+ * type: string
912
+ * thumbnail:
913
+ * type: string
914
+ * description: The thumbnail of the product.
915
+ * handle:
916
+ * type: string
917
+ * description: A unique handle to identify the product.
918
+ * status:
919
+ * type: string
920
+ * enum: [draft, proposed]
921
+ * description: The status of the product.
922
+ * default: draft
923
+ * external_id:
924
+ * type: string
925
+ * description: The external ID of the product.
926
+ * type_id:
927
+ * type: string
928
+ * description: The ID of the product type.
929
+ * collection_id:
930
+ * type: string
931
+ * description: The ID of the collection the product belongs to.
932
+ * categories:
933
+ * type: array
934
+ * description: Categories the product belongs to.
935
+ * items:
936
+ * type: object
937
+ * required:
938
+ * - id
939
+ * properties:
940
+ * id:
941
+ * type: string
942
+ * tags:
943
+ * type: array
944
+ * description: Tags associated with the product.
945
+ * items:
946
+ * type: object
947
+ * required:
948
+ * - id
949
+ * properties:
950
+ * id:
951
+ * type: string
952
+ * options:
953
+ * type: array
954
+ * description: Product options.
955
+ * items:
956
+ * $ref: "#/components/schemas/CreateProductOption"
957
+ * variants:
958
+ * type: array
959
+ * description: Product variants.
960
+ * items:
961
+ * $ref: "#/components/schemas/CreateProductVariant"
962
+ * weight:
963
+ * type: number
964
+ * description: The weight of the product.
965
+ * length:
966
+ * type: number
967
+ * description: The length of the product.
968
+ * height:
969
+ * type: number
970
+ * description: The height of the product.
971
+ * width:
972
+ * type: number
973
+ * description: The width of the product.
974
+ * hs_code:
975
+ * type: string
976
+ * description: The HS code of the product.
977
+ * mid_code:
978
+ * type: string
979
+ * description: The MID code of the product.
980
+ * origin_country:
981
+ * type: string
982
+ * description: The country of origin of the product.
983
+ * material:
984
+ * type: string
985
+ * description: The material composition of the product.
986
+ * metadata:
987
+ * type: object
988
+ * description: Additional metadata for the product.
989
+ * sales_channels:
990
+ * type: array
991
+ * description: Sales channels to associate the product with.
992
+ * items:
993
+ * type: object
994
+ * required:
995
+ * - id
996
+ * properties:
997
+ * id:
998
+ * type: string
999
+ */
1000
+ export type VendorCreateProductType = z.infer<typeof CreateProduct> & AdditionalData;
1001
+ export declare const CreateProduct: z.ZodObject<{
1002
+ title: z.ZodString;
1003
+ subtitle: z.ZodOptional<z.ZodString>;
1004
+ description: z.ZodOptional<z.ZodString>;
1005
+ is_giftcard: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1006
+ discountable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1007
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1008
+ url: z.ZodString;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ url: string;
1011
+ }, {
1012
+ url: string;
1013
+ }>, "many">>;
1014
+ thumbnail: z.ZodOptional<z.ZodString>;
1015
+ handle: z.ZodOptional<z.ZodString>;
1016
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["draft", "proposed"]>>>;
1017
+ external_id: z.ZodOptional<z.ZodString>;
1018
+ type_id: z.ZodOptional<z.ZodString>;
1019
+ collection_id: z.ZodOptional<z.ZodString>;
1020
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1021
+ id: z.ZodString;
1022
+ }, "strip", z.ZodTypeAny, {
1023
+ id: string;
1024
+ }, {
1025
+ id: string;
1026
+ }>, "many">>;
1027
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1028
+ id: z.ZodString;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ id: string;
1031
+ }, {
1032
+ id: string;
1033
+ }>, "many">>;
1034
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1035
+ title: z.ZodString;
1036
+ values: z.ZodArray<z.ZodString, "many">;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ values: string[];
1039
+ title: string;
1040
+ }, {
1041
+ values: string[];
1042
+ title: string;
1043
+ }>, "many">>;
1044
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1045
+ title: z.ZodString;
1046
+ sku: z.ZodOptional<z.ZodString>;
1047
+ ean: z.ZodOptional<z.ZodString>;
1048
+ upc: z.ZodOptional<z.ZodString>;
1049
+ barcode: z.ZodOptional<z.ZodString>;
1050
+ hs_code: z.ZodOptional<z.ZodString>;
1051
+ mid_code: z.ZodOptional<z.ZodString>;
1052
+ allow_backorder: z.ZodDefault<z.ZodOptional<z.ZodLiteral<false>>>;
1053
+ manage_inventory: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
1054
+ variant_rank: z.ZodOptional<z.ZodNumber>;
1055
+ weight: z.ZodOptional<z.ZodNumber>;
1056
+ length: z.ZodOptional<z.ZodNumber>;
1057
+ height: z.ZodOptional<z.ZodNumber>;
1058
+ width: z.ZodOptional<z.ZodNumber>;
1059
+ origin_country: z.ZodOptional<z.ZodString>;
1060
+ material: z.ZodOptional<z.ZodString>;
1061
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1062
+ prices: z.ZodArray<z.ZodObject<{
1063
+ currency_code: z.ZodString;
1064
+ amount: z.ZodNumber;
1065
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1066
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1067
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ currency_code: string;
1070
+ amount: number;
1071
+ min_quantity?: number | null | undefined;
1072
+ max_quantity?: number | null | undefined;
1073
+ rules?: Record<string, string> | undefined;
1074
+ }, {
1075
+ currency_code: string;
1076
+ amount: number;
1077
+ min_quantity?: number | null | undefined;
1078
+ max_quantity?: number | null | undefined;
1079
+ rules?: Record<string, string> | undefined;
1080
+ }>, "many">;
1081
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1082
+ inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
1083
+ inventory_item_id: z.ZodString;
1084
+ required_quantity: z.ZodNumber;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ inventory_item_id: string;
1087
+ required_quantity: number;
1088
+ }, {
1089
+ inventory_item_id: string;
1090
+ required_quantity: number;
1091
+ }>, "many">>;
1092
+ }, "strict", z.ZodTypeAny, {
1093
+ title: string;
1094
+ prices: {
1095
+ currency_code: string;
1096
+ amount: number;
1097
+ min_quantity?: number | null | undefined;
1098
+ max_quantity?: number | null | undefined;
1099
+ rules?: Record<string, string> | undefined;
1100
+ }[];
1101
+ allow_backorder: false;
1102
+ manage_inventory: true;
1103
+ sku?: string | undefined;
1104
+ ean?: string | undefined;
1105
+ upc?: string | undefined;
1106
+ barcode?: string | undefined;
1107
+ hs_code?: string | undefined;
1108
+ mid_code?: string | undefined;
1109
+ variant_rank?: number | undefined;
1110
+ weight?: number | undefined;
1111
+ length?: number | undefined;
1112
+ height?: number | undefined;
1113
+ width?: number | undefined;
1114
+ origin_country?: string | undefined;
1115
+ material?: string | undefined;
1116
+ metadata?: Record<string, unknown> | undefined;
1117
+ options?: Record<string, string> | undefined;
1118
+ inventory_items?: {
1119
+ inventory_item_id: string;
1120
+ required_quantity: number;
1121
+ }[] | undefined;
1122
+ }, {
1123
+ title: string;
1124
+ prices: {
1125
+ currency_code: string;
1126
+ amount: number;
1127
+ min_quantity?: number | null | undefined;
1128
+ max_quantity?: number | null | undefined;
1129
+ rules?: Record<string, string> | undefined;
1130
+ }[];
1131
+ sku?: string | undefined;
1132
+ ean?: string | undefined;
1133
+ upc?: string | undefined;
1134
+ barcode?: string | undefined;
1135
+ hs_code?: string | undefined;
1136
+ mid_code?: string | undefined;
1137
+ allow_backorder?: false | undefined;
1138
+ manage_inventory?: true | undefined;
1139
+ variant_rank?: number | undefined;
1140
+ weight?: number | undefined;
1141
+ length?: number | undefined;
1142
+ height?: number | undefined;
1143
+ width?: number | undefined;
1144
+ origin_country?: string | undefined;
1145
+ material?: string | undefined;
1146
+ metadata?: Record<string, unknown> | undefined;
1147
+ options?: Record<string, string> | undefined;
1148
+ inventory_items?: {
1149
+ inventory_item_id: string;
1150
+ required_quantity: number;
1151
+ }[] | undefined;
1152
+ }>, "many">>;
1153
+ weight: z.ZodOptional<z.ZodNumber>;
1154
+ length: z.ZodOptional<z.ZodNumber>;
1155
+ height: z.ZodOptional<z.ZodNumber>;
1156
+ width: z.ZodOptional<z.ZodNumber>;
1157
+ hs_code: z.ZodOptional<z.ZodString>;
1158
+ mid_code: z.ZodOptional<z.ZodString>;
1159
+ origin_country: z.ZodOptional<z.ZodString>;
1160
+ material: z.ZodOptional<z.ZodString>;
1161
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1162
+ sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1163
+ id: z.ZodString;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ id: string;
1166
+ }, {
1167
+ id: string;
1168
+ }>, "many">>;
1169
+ brand_name: z.ZodOptional<z.ZodString>;
1170
+ }, "strict", z.ZodTypeAny, {
1171
+ status: "draft" | "proposed";
1172
+ title: string;
1173
+ is_giftcard: boolean;
1174
+ discountable: boolean;
1175
+ subtitle?: string | undefined;
1176
+ description?: string | undefined;
1177
+ images?: {
1178
+ url: string;
1179
+ }[] | undefined;
1180
+ thumbnail?: string | undefined;
1181
+ handle?: string | undefined;
1182
+ external_id?: string | undefined;
1183
+ type_id?: string | undefined;
1184
+ collection_id?: string | undefined;
1185
+ categories?: {
1186
+ id: string;
1187
+ }[] | undefined;
1188
+ tags?: {
1189
+ id: string;
1190
+ }[] | undefined;
1191
+ options?: {
1192
+ values: string[];
1193
+ title: string;
1194
+ }[] | undefined;
1195
+ variants?: {
1196
+ title: string;
1197
+ prices: {
1198
+ currency_code: string;
1199
+ amount: number;
1200
+ min_quantity?: number | null | undefined;
1201
+ max_quantity?: number | null | undefined;
1202
+ rules?: Record<string, string> | undefined;
1203
+ }[];
1204
+ allow_backorder: false;
1205
+ manage_inventory: true;
1206
+ sku?: string | undefined;
1207
+ ean?: string | undefined;
1208
+ upc?: string | undefined;
1209
+ barcode?: string | undefined;
1210
+ hs_code?: string | undefined;
1211
+ mid_code?: string | undefined;
1212
+ variant_rank?: number | undefined;
1213
+ weight?: number | undefined;
1214
+ length?: number | undefined;
1215
+ height?: number | undefined;
1216
+ width?: number | undefined;
1217
+ origin_country?: string | undefined;
1218
+ material?: string | undefined;
1219
+ metadata?: Record<string, unknown> | undefined;
1220
+ options?: Record<string, string> | undefined;
1221
+ inventory_items?: {
1222
+ inventory_item_id: string;
1223
+ required_quantity: number;
1224
+ }[] | undefined;
1225
+ }[] | undefined;
1226
+ weight?: number | undefined;
1227
+ length?: number | undefined;
1228
+ height?: number | undefined;
1229
+ width?: number | undefined;
1230
+ hs_code?: string | undefined;
1231
+ mid_code?: string | undefined;
1232
+ origin_country?: string | undefined;
1233
+ material?: string | undefined;
1234
+ metadata?: Record<string, unknown> | undefined;
1235
+ sales_channels?: {
1236
+ id: string;
1237
+ }[] | undefined;
1238
+ brand_name?: string | undefined;
1239
+ }, {
1240
+ title: string;
1241
+ subtitle?: string | undefined;
1242
+ description?: string | undefined;
1243
+ is_giftcard?: boolean | undefined;
1244
+ discountable?: boolean | undefined;
1245
+ images?: {
1246
+ url: string;
1247
+ }[] | undefined;
1248
+ thumbnail?: string | undefined;
1249
+ handle?: string | undefined;
1250
+ status?: "draft" | "proposed" | undefined;
1251
+ external_id?: string | undefined;
1252
+ type_id?: string | undefined;
1253
+ collection_id?: string | undefined;
1254
+ categories?: {
1255
+ id: string;
1256
+ }[] | undefined;
1257
+ tags?: {
1258
+ id: string;
1259
+ }[] | undefined;
1260
+ options?: {
1261
+ values: string[];
1262
+ title: string;
1263
+ }[] | undefined;
1264
+ variants?: {
1265
+ title: string;
1266
+ prices: {
1267
+ currency_code: string;
1268
+ amount: number;
1269
+ min_quantity?: number | null | undefined;
1270
+ max_quantity?: number | null | undefined;
1271
+ rules?: Record<string, string> | undefined;
1272
+ }[];
1273
+ sku?: string | undefined;
1274
+ ean?: string | undefined;
1275
+ upc?: string | undefined;
1276
+ barcode?: string | undefined;
1277
+ hs_code?: string | undefined;
1278
+ mid_code?: string | undefined;
1279
+ allow_backorder?: false | undefined;
1280
+ manage_inventory?: true | undefined;
1281
+ variant_rank?: number | undefined;
1282
+ weight?: number | undefined;
1283
+ length?: number | undefined;
1284
+ height?: number | undefined;
1285
+ width?: number | undefined;
1286
+ origin_country?: string | undefined;
1287
+ material?: string | undefined;
1288
+ metadata?: Record<string, unknown> | undefined;
1289
+ options?: Record<string, string> | undefined;
1290
+ inventory_items?: {
1291
+ inventory_item_id: string;
1292
+ required_quantity: number;
1293
+ }[] | undefined;
1294
+ }[] | undefined;
1295
+ weight?: number | undefined;
1296
+ length?: number | undefined;
1297
+ height?: number | undefined;
1298
+ width?: number | undefined;
1299
+ hs_code?: string | undefined;
1300
+ mid_code?: string | undefined;
1301
+ origin_country?: string | undefined;
1302
+ material?: string | undefined;
1303
+ metadata?: Record<string, unknown> | undefined;
1304
+ sales_channels?: {
1305
+ id: string;
1306
+ }[] | undefined;
1307
+ brand_name?: string | undefined;
1308
+ }>;
1309
+ /**
1310
+ * @schema VendorCreateProduct
1311
+ * type: object
1312
+ * allOf:
1313
+ * - $ref: "#/components/schemas/CreateProduct"
1314
+ * - type: object
1315
+ * properties:
1316
+ * additional_data:
1317
+ * type: object
1318
+ * description: Additional data to use in products hooks.
1319
+ * additionalProperties: true
1320
+ *
1321
+ */
1322
+ export declare const VendorCreateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1323
+ [x: string]: any;
1324
+ }, {
1325
+ [x: string]: any;
1326
+ }> | z.ZodEffects<any, any, any>;
1327
+ /**
1328
+ * @schema UpdateProduct
1329
+ * type: object
1330
+ * properties:
1331
+ * title:
1332
+ * type: string
1333
+ * description: The title of the product.
1334
+ * discountable:
1335
+ * type: boolean
1336
+ * description: Whether the product can be discounted.
1337
+ * is_giftcard:
1338
+ * type: boolean
1339
+ * description: Whether the product is a gift card.
1340
+ * options:
1341
+ * type: array
1342
+ * description: The product options to update.
1343
+ * items:
1344
+ * $ref: "#/components/schemas/UpdateProductOption"
1345
+ * variants:
1346
+ * type: array
1347
+ * description: The product variants to update.
1348
+ * items:
1349
+ * $ref: "#/components/schemas/UpdateProductVariant"
1350
+ * subtitle:
1351
+ * type: string
1352
+ * nullable: true
1353
+ * description: The subtitle of the product.
1354
+ * description:
1355
+ * type: string
1356
+ * nullable: true
1357
+ * description: The description of the product.
1358
+ * images:
1359
+ * type: array
1360
+ * description: Images of the product.
1361
+ * items:
1362
+ * type: object
1363
+ * properties:
1364
+ * url:
1365
+ * type: string
1366
+ * thumbnail:
1367
+ * type: string
1368
+ * nullable: true
1369
+ * description: The thumbnail of the product.
1370
+ * handle:
1371
+ * type: string
1372
+ * nullable: true
1373
+ * description: The handle of the product.
1374
+ * type_id:
1375
+ * type: string
1376
+ * nullable: true
1377
+ * description: The ID of the product type.
1378
+ * external_id:
1379
+ * type: string
1380
+ * nullable: true
1381
+ * description: The external ID of the product.
1382
+ * collection_id:
1383
+ * type: string
1384
+ * nullable: true
1385
+ * description: The ID of the collection the product belongs to.
1386
+ * categories:
1387
+ * type: array
1388
+ * description: Product category IDs to associate with the product.
1389
+ * items:
1390
+ * type: object
1391
+ * required:
1392
+ * - id
1393
+ * properties:
1394
+ * id:
1395
+ * type: string
1396
+ * tags:
1397
+ * type: array
1398
+ * description: Product tag IDs to associate with the product.
1399
+ * items:
1400
+ * type: object
1401
+ * required:
1402
+ * - id
1403
+ * properties:
1404
+ * id:
1405
+ * type: string
1406
+ * weight:
1407
+ * type: number
1408
+ * nullable: true
1409
+ * description: The weight of the product.
1410
+ * length:
1411
+ * type: number
1412
+ * nullable: true
1413
+ * description: The length of the product.
1414
+ * height:
1415
+ * type: number
1416
+ * nullable: true
1417
+ * description: The height of the product.
1418
+ * width:
1419
+ * type: number
1420
+ * nullable: true
1421
+ * description: The width of the product.
1422
+ * hs_code:
1423
+ * type: string
1424
+ * nullable: true
1425
+ * description: The HS code of the product.
1426
+ * mid_code:
1427
+ * type: string
1428
+ * nullable: true
1429
+ * description: The MID code of the product.
1430
+ * origin_country:
1431
+ * type: string
1432
+ * nullable: true
1433
+ * description: The country of origin of the product.
1434
+ * material:
1435
+ * type: string
1436
+ * nullable: true
1437
+ * description: The material composition of the product.
1438
+ * metadata:
1439
+ * type: object
1440
+ * nullable: true
1441
+ * description: Additional metadata for the product.
1442
+ * sales_channels:
1443
+ * type: array
1444
+ * description: Sales channels to associate the product with.
1445
+ * items:
1446
+ * type: object
1447
+ * required:
1448
+ * - id
1449
+ * properties:
1450
+ * id:
1451
+ * type: string
1452
+ */
1453
+ export type VendorUpdateProductType = z.infer<typeof UpdateProduct> & AdditionalData;
1454
+ export declare const UpdateProduct: z.ZodObject<{
1455
+ title: z.ZodOptional<z.ZodString>;
1456
+ discountable: z.ZodOptional<z.ZodBoolean>;
1457
+ is_giftcard: z.ZodOptional<z.ZodBoolean>;
1458
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1459
+ id: z.ZodOptional<z.ZodString>;
1460
+ title: z.ZodOptional<z.ZodString>;
1461
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ id?: string | undefined;
1464
+ title?: string | undefined;
1465
+ values?: string[] | undefined;
1466
+ }, {
1467
+ id?: string | undefined;
1468
+ title?: string | undefined;
1469
+ values?: string[] | undefined;
1470
+ }>, "many">>;
1471
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1472
+ id: z.ZodOptional<z.ZodString>;
1473
+ title: z.ZodOptional<z.ZodString>;
1474
+ prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
1475
+ id: z.ZodOptional<z.ZodString>;
1476
+ currency_code: z.ZodOptional<z.ZodString>;
1477
+ amount: z.ZodOptional<z.ZodNumber>;
1478
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1479
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1480
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ id?: string | undefined;
1483
+ currency_code?: string | undefined;
1484
+ amount?: number | undefined;
1485
+ min_quantity?: number | null | undefined;
1486
+ max_quantity?: number | null | undefined;
1487
+ rules?: Record<string, string> | undefined;
1488
+ }, {
1489
+ id?: string | undefined;
1490
+ currency_code?: string | undefined;
1491
+ amount?: number | undefined;
1492
+ min_quantity?: number | null | undefined;
1493
+ max_quantity?: number | null | undefined;
1494
+ rules?: Record<string, string> | undefined;
1495
+ }>, "many">>;
1496
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1497
+ ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1498
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1499
+ barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1500
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1501
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1502
+ allow_backorder: z.ZodOptional<z.ZodBoolean>;
1503
+ manage_inventory: z.ZodOptional<z.ZodBoolean>;
1504
+ variant_rank: z.ZodOptional<z.ZodNumber>;
1505
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1506
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1507
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1508
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1509
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1510
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1511
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1512
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1513
+ }, "strict", z.ZodTypeAny, {
1514
+ id?: string | undefined;
1515
+ title?: string | undefined;
1516
+ prices?: {
1517
+ id?: string | undefined;
1518
+ currency_code?: string | undefined;
1519
+ amount?: number | undefined;
1520
+ min_quantity?: number | null | undefined;
1521
+ max_quantity?: number | null | undefined;
1522
+ rules?: Record<string, string> | undefined;
1523
+ }[] | undefined;
1524
+ sku?: string | null | undefined;
1525
+ ean?: string | null | undefined;
1526
+ upc?: string | null | undefined;
1527
+ barcode?: string | null | undefined;
1528
+ hs_code?: string | null | undefined;
1529
+ mid_code?: string | null | undefined;
1530
+ allow_backorder?: boolean | undefined;
1531
+ manage_inventory?: boolean | undefined;
1532
+ variant_rank?: number | undefined;
1533
+ weight?: number | null | undefined;
1534
+ length?: number | null | undefined;
1535
+ height?: number | null | undefined;
1536
+ width?: number | null | undefined;
1537
+ origin_country?: string | null | undefined;
1538
+ material?: string | null | undefined;
1539
+ metadata?: Record<string, unknown> | null | undefined;
1540
+ options?: Record<string, string> | undefined;
1541
+ }, {
1542
+ id?: string | undefined;
1543
+ title?: string | undefined;
1544
+ prices?: {
1545
+ id?: string | undefined;
1546
+ currency_code?: string | undefined;
1547
+ amount?: number | undefined;
1548
+ min_quantity?: number | null | undefined;
1549
+ max_quantity?: number | null | undefined;
1550
+ rules?: Record<string, string> | undefined;
1551
+ }[] | undefined;
1552
+ sku?: string | null | undefined;
1553
+ ean?: string | null | undefined;
1554
+ upc?: string | null | undefined;
1555
+ barcode?: string | null | undefined;
1556
+ hs_code?: string | null | undefined;
1557
+ mid_code?: string | null | undefined;
1558
+ allow_backorder?: boolean | undefined;
1559
+ manage_inventory?: boolean | undefined;
1560
+ variant_rank?: number | undefined;
1561
+ weight?: number | null | undefined;
1562
+ length?: number | null | undefined;
1563
+ height?: number | null | undefined;
1564
+ width?: number | null | undefined;
1565
+ origin_country?: string | null | undefined;
1566
+ material?: string | null | undefined;
1567
+ metadata?: Record<string, unknown> | null | undefined;
1568
+ options?: Record<string, string> | undefined;
1569
+ }>, "many">>;
1570
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1571
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1572
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1573
+ url: z.ZodString;
1574
+ }, "strip", z.ZodTypeAny, {
1575
+ url: string;
1576
+ }, {
1577
+ url: string;
1578
+ }>, "many">>;
1579
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1580
+ handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1581
+ type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1582
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1583
+ collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1584
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1585
+ id: z.ZodString;
1586
+ }, "strip", z.ZodTypeAny, {
1587
+ id: string;
1588
+ }, {
1589
+ id: string;
1590
+ }>, "many">>;
1591
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1592
+ id: z.ZodString;
1593
+ }, "strip", z.ZodTypeAny, {
1594
+ id: string;
1595
+ }, {
1596
+ id: string;
1597
+ }>, "many">>;
1598
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1599
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1600
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1601
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1602
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1603
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1605
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1607
+ sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1608
+ id: z.ZodString;
1609
+ }, "strip", z.ZodTypeAny, {
1610
+ id: string;
1611
+ }, {
1612
+ id: string;
1613
+ }>, "many">>;
1614
+ }, "strict", z.ZodTypeAny, {
1615
+ title?: string | undefined;
1616
+ discountable?: boolean | undefined;
1617
+ is_giftcard?: boolean | undefined;
1618
+ options?: {
1619
+ id?: string | undefined;
1620
+ title?: string | undefined;
1621
+ values?: string[] | undefined;
1622
+ }[] | undefined;
1623
+ variants?: {
1624
+ id?: string | undefined;
1625
+ title?: string | undefined;
1626
+ prices?: {
1627
+ id?: string | undefined;
1628
+ currency_code?: string | undefined;
1629
+ amount?: number | undefined;
1630
+ min_quantity?: number | null | undefined;
1631
+ max_quantity?: number | null | undefined;
1632
+ rules?: Record<string, string> | undefined;
1633
+ }[] | undefined;
1634
+ sku?: string | null | undefined;
1635
+ ean?: string | null | undefined;
1636
+ upc?: string | null | undefined;
1637
+ barcode?: string | null | undefined;
1638
+ hs_code?: string | null | undefined;
1639
+ mid_code?: string | null | undefined;
1640
+ allow_backorder?: boolean | undefined;
1641
+ manage_inventory?: boolean | undefined;
1642
+ variant_rank?: number | undefined;
1643
+ weight?: number | null | undefined;
1644
+ length?: number | null | undefined;
1645
+ height?: number | null | undefined;
1646
+ width?: number | null | undefined;
1647
+ origin_country?: string | null | undefined;
1648
+ material?: string | null | undefined;
1649
+ metadata?: Record<string, unknown> | null | undefined;
1650
+ options?: Record<string, string> | undefined;
1651
+ }[] | undefined;
1652
+ subtitle?: string | null | undefined;
1653
+ description?: string | null | undefined;
1654
+ images?: {
1655
+ url: string;
1656
+ }[] | undefined;
1657
+ thumbnail?: string | null | undefined;
1658
+ handle?: string | null | undefined;
1659
+ type_id?: string | null | undefined;
1660
+ external_id?: string | null | undefined;
1661
+ collection_id?: string | null | undefined;
1662
+ categories?: {
1663
+ id: string;
1664
+ }[] | undefined;
1665
+ tags?: {
1666
+ id: string;
1667
+ }[] | undefined;
1668
+ weight?: number | null | undefined;
1669
+ length?: number | null | undefined;
1670
+ height?: number | null | undefined;
1671
+ width?: number | null | undefined;
1672
+ hs_code?: string | null | undefined;
1673
+ mid_code?: string | null | undefined;
1674
+ origin_country?: string | null | undefined;
1675
+ material?: string | null | undefined;
1676
+ metadata?: Record<string, unknown> | null | undefined;
1677
+ sales_channels?: {
1678
+ id: string;
1679
+ }[] | undefined;
1680
+ }, {
1681
+ title?: string | undefined;
1682
+ discountable?: boolean | undefined;
1683
+ is_giftcard?: boolean | undefined;
1684
+ options?: {
1685
+ id?: string | undefined;
1686
+ title?: string | undefined;
1687
+ values?: string[] | undefined;
1688
+ }[] | undefined;
1689
+ variants?: {
1690
+ id?: string | undefined;
1691
+ title?: string | undefined;
1692
+ prices?: {
1693
+ id?: string | undefined;
1694
+ currency_code?: string | undefined;
1695
+ amount?: number | undefined;
1696
+ min_quantity?: number | null | undefined;
1697
+ max_quantity?: number | null | undefined;
1698
+ rules?: Record<string, string> | undefined;
1699
+ }[] | undefined;
1700
+ sku?: string | null | undefined;
1701
+ ean?: string | null | undefined;
1702
+ upc?: string | null | undefined;
1703
+ barcode?: string | null | undefined;
1704
+ hs_code?: string | null | undefined;
1705
+ mid_code?: string | null | undefined;
1706
+ allow_backorder?: boolean | undefined;
1707
+ manage_inventory?: boolean | undefined;
1708
+ variant_rank?: number | undefined;
1709
+ weight?: number | null | undefined;
1710
+ length?: number | null | undefined;
1711
+ height?: number | null | undefined;
1712
+ width?: number | null | undefined;
1713
+ origin_country?: string | null | undefined;
1714
+ material?: string | null | undefined;
1715
+ metadata?: Record<string, unknown> | null | undefined;
1716
+ options?: Record<string, string> | undefined;
1717
+ }[] | undefined;
1718
+ subtitle?: string | null | undefined;
1719
+ description?: string | null | undefined;
1720
+ images?: {
1721
+ url: string;
1722
+ }[] | undefined;
1723
+ thumbnail?: string | null | undefined;
1724
+ handle?: string | null | undefined;
1725
+ type_id?: string | null | undefined;
1726
+ external_id?: string | null | undefined;
1727
+ collection_id?: string | null | undefined;
1728
+ categories?: {
1729
+ id: string;
1730
+ }[] | undefined;
1731
+ tags?: {
1732
+ id: string;
1733
+ }[] | undefined;
1734
+ weight?: number | null | undefined;
1735
+ length?: number | null | undefined;
1736
+ height?: number | null | undefined;
1737
+ width?: number | null | undefined;
1738
+ hs_code?: string | null | undefined;
1739
+ mid_code?: string | null | undefined;
1740
+ origin_country?: string | null | undefined;
1741
+ material?: string | null | undefined;
1742
+ metadata?: Record<string, unknown> | null | undefined;
1743
+ sales_channels?: {
1744
+ id: string;
1745
+ }[] | undefined;
1746
+ }>;
1747
+ /**
1748
+ * @schema VendorUpdateProduct
1749
+ * type: object
1750
+ * allOf:
1751
+ * - $ref: "#/components/schemas/UpdateProduct"
1752
+ * - type: object
1753
+ * properties:
1754
+ * additional_data:
1755
+ * type: object
1756
+ * description: Additional data to use in products hooks.
1757
+ * additionalProperties: true
1758
+ *
1759
+ */
1760
+ export declare const VendorUpdateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1761
+ [x: string]: any;
1762
+ }, {
1763
+ [x: string]: any;
1764
+ }> | z.ZodEffects<any, any, any>;
1765
+ /**
1766
+ * @schema VendorUpdateProductStatus
1767
+ * type: object
1768
+ * required:
1769
+ * - title
1770
+ * properties:
1771
+ * status:
1772
+ * type: string
1773
+ * enum: [draft, proposed, published]
1774
+ * description: The status of the product.
1775
+ */
1776
+ export type VendorUpdateProductStatusType = z.infer<typeof VendorUpdateProductStatus>;
1777
+ export declare const VendorUpdateProductStatus: z.ZodObject<{
1778
+ status: z.ZodEnum<["draft", "proposed", "published"]>;
1779
+ }, "strip", z.ZodTypeAny, {
1780
+ status: "draft" | "proposed" | "published";
1781
+ }, {
1782
+ status: "draft" | "proposed" | "published";
1783
+ }>;
1784
+ export type AdminGetAttributesParamsType = z.infer<typeof AdminGetAttributesParams>;
1785
+ export declare const AdminGetAttributesParams: z.ZodObject<{
1786
+ fields: z.ZodOptional<z.ZodString>;
1787
+ offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
1788
+ limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
1789
+ order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
1790
+ with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
1791
+ }, "strip", z.ZodTypeAny, {
1792
+ offset: number;
1793
+ limit: number;
1794
+ fields?: string | undefined;
1795
+ order?: string | undefined;
1796
+ with_deleted?: boolean | undefined;
1797
+ }, {
1798
+ fields?: string | undefined;
1799
+ offset?: unknown;
1800
+ limit?: unknown;
1801
+ order?: string | undefined;
1802
+ with_deleted?: unknown;
1803
+ }>;