@mercurjs/core 2.1.0-canary.4

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 (1239) hide show
  1. package/.medusa/server/src/api/admin/attributes/[id]/route.d.ts +5 -0
  2. package/.medusa/server/src/api/admin/attributes/[id]/route.js +68 -0
  3. package/.medusa/server/src/api/admin/attributes/[id]/values/[value_id]/route.d.ts +4 -0
  4. package/.medusa/server/src/api/admin/attributes/[id]/values/[value_id]/route.js +40 -0
  5. package/.medusa/server/src/api/admin/attributes/[id]/values/route.d.ts +4 -0
  6. package/.medusa/server/src/api/admin/attributes/[id]/values/route.js +44 -0
  7. package/.medusa/server/src/api/admin/attributes/middlewares.d.ts +2 -0
  8. package/.medusa/server/src/api/admin/attributes/middlewares.js +102 -0
  9. package/.medusa/server/src/api/admin/attributes/query-config.d.ts +20 -0
  10. package/.medusa/server/src/api/admin/attributes/query-config.js +41 -0
  11. package/.medusa/server/src/api/admin/attributes/route.d.ts +4 -0
  12. package/.medusa/server/src/api/admin/attributes/route.js +51 -0
  13. package/.medusa/server/src/api/admin/attributes/validators.d.ts +793 -0
  14. package/.medusa/server/src/api/admin/attributes/validators.js +92 -0
  15. package/.medusa/server/src/api/admin/commission-rates/[id]/route.d.ts +6 -0
  16. package/.medusa/server/src/api/admin/commission-rates/[id]/route.js +43 -0
  17. package/.medusa/server/src/api/admin/commission-rates/[id]/rules/route.d.ts +4 -0
  18. package/.medusa/server/src/api/admin/commission-rates/[id]/rules/route.js +21 -0
  19. package/.medusa/server/src/api/admin/commission-rates/middlewares.d.ts +2 -0
  20. package/.medusa/server/src/api/admin/commission-rates/middlewares.js +51 -0
  21. package/.medusa/server/src/api/admin/commission-rates/query-config.d.ts +11 -0
  22. package/.medusa/server/src/api/admin/commission-rates/query-config.js +32 -0
  23. package/.medusa/server/src/api/admin/commission-rates/route.d.ts +5 -0
  24. package/.medusa/server/src/api/admin/commission-rates/route.js +35 -0
  25. package/.medusa/server/src/api/admin/commission-rates/validators.d.ts +271 -0
  26. package/.medusa/server/src/api/admin/commission-rates/validators.js +61 -0
  27. package/.medusa/server/src/api/admin/middlewares.d.ts +2 -0
  28. package/.medusa/server/src/api/admin/middlewares.js +65 -0
  29. package/.medusa/server/src/api/admin/order-groups/[id]/route.d.ts +3 -0
  30. package/.medusa/server/src/api/admin/order-groups/[id]/route.js +15 -0
  31. package/.medusa/server/src/api/admin/order-groups/middlewares.d.ts +2 -0
  32. package/.medusa/server/src/api/admin/order-groups/middlewares.js +23 -0
  33. package/.medusa/server/src/api/admin/order-groups/query-config.d.ts +11 -0
  34. package/.medusa/server/src/api/admin/order-groups/query-config.js +22 -0
  35. package/.medusa/server/src/api/admin/order-groups/route.d.ts +3 -0
  36. package/.medusa/server/src/api/admin/order-groups/route.js +26 -0
  37. package/.medusa/server/src/api/admin/order-groups/validators.d.ts +133 -0
  38. package/.medusa/server/src/api/admin/order-groups/validators.js +20 -0
  39. package/.medusa/server/src/api/admin/orders/[id]/order-group/route.d.ts +3 -0
  40. package/.medusa/server/src/api/admin/orders/[id]/order-group/route.js +28 -0
  41. package/.medusa/server/src/api/admin/orders/route.d.ts +4 -0
  42. package/.medusa/server/src/api/admin/orders/route.js +3 -0
  43. package/.medusa/server/src/api/admin/orders/validators.d.ts +289 -0
  44. package/.medusa/server/src/api/admin/orders/validators.js +34 -0
  45. package/.medusa/server/src/api/admin/payouts/[id]/route.d.ts +3 -0
  46. package/.medusa/server/src/api/admin/payouts/[id]/route.js +18 -0
  47. package/.medusa/server/src/api/admin/payouts/middlewares.d.ts +2 -0
  48. package/.medusa/server/src/api/admin/payouts/middlewares.js +23 -0
  49. package/.medusa/server/src/api/admin/payouts/query-config.d.ts +11 -0
  50. package/.medusa/server/src/api/admin/payouts/query-config.js +29 -0
  51. package/.medusa/server/src/api/admin/payouts/route.d.ts +3 -0
  52. package/.medusa/server/src/api/admin/payouts/route.js +21 -0
  53. package/.medusa/server/src/api/admin/payouts/validators.d.ts +124 -0
  54. package/.medusa/server/src/api/admin/payouts/validators.js +17 -0
  55. package/.medusa/server/src/api/admin/products/route.d.ts +4 -0
  56. package/.medusa/server/src/api/admin/products/route.js +3 -0
  57. package/.medusa/server/src/api/admin/products/validators.d.ts +828 -0
  58. package/.medusa/server/src/api/admin/products/validators.js +9 -0
  59. package/.medusa/server/src/api/admin/sellers/[id]/address/route.d.ts +4 -0
  60. package/.medusa/server/src/api/admin/sellers/[id]/address/route.js +22 -0
  61. package/.medusa/server/src/api/admin/sellers/[id]/approve/route.d.ts +3 -0
  62. package/.medusa/server/src/api/admin/sellers/[id]/approve/route.js +21 -0
  63. package/.medusa/server/src/api/admin/sellers/[id]/members/[member_id]/route.d.ts +2 -0
  64. package/.medusa/server/src/api/admin/sellers/[id]/members/[member_id]/route.js +19 -0
  65. package/.medusa/server/src/api/admin/sellers/[id]/members/invite/route.d.ts +3 -0
  66. package/.medusa/server/src/api/admin/sellers/[id]/members/invite/route.js +18 -0
  67. package/.medusa/server/src/api/admin/sellers/[id]/members/invites/route.d.ts +2 -0
  68. package/.medusa/server/src/api/admin/sellers/[id]/members/invites/route.js +23 -0
  69. package/.medusa/server/src/api/admin/sellers/[id]/members/route.d.ts +4 -0
  70. package/.medusa/server/src/api/admin/sellers/[id]/members/route.js +35 -0
  71. package/.medusa/server/src/api/admin/sellers/[id]/payment-details/route.d.ts +4 -0
  72. package/.medusa/server/src/api/admin/sellers/[id]/payment-details/route.js +22 -0
  73. package/.medusa/server/src/api/admin/sellers/[id]/products/route.d.ts +4 -0
  74. package/.medusa/server/src/api/admin/sellers/[id]/products/route.js +40 -0
  75. package/.medusa/server/src/api/admin/sellers/[id]/professional-details/route.d.ts +5 -0
  76. package/.medusa/server/src/api/admin/sellers/[id]/professional-details/route.js +37 -0
  77. package/.medusa/server/src/api/admin/sellers/[id]/route.d.ts +5 -0
  78. package/.medusa/server/src/api/admin/sellers/[id]/route.js +38 -0
  79. package/.medusa/server/src/api/admin/sellers/[id]/suspend/route.d.ts +4 -0
  80. package/.medusa/server/src/api/admin/sellers/[id]/suspend/route.js +22 -0
  81. package/.medusa/server/src/api/admin/sellers/[id]/terminate/route.d.ts +4 -0
  82. package/.medusa/server/src/api/admin/sellers/[id]/terminate/route.js +22 -0
  83. package/.medusa/server/src/api/admin/sellers/[id]/unsuspend/route.d.ts +3 -0
  84. package/.medusa/server/src/api/admin/sellers/[id]/unsuspend/route.js +21 -0
  85. package/.medusa/server/src/api/admin/sellers/[id]/unterminate/route.d.ts +3 -0
  86. package/.medusa/server/src/api/admin/sellers/[id]/unterminate/route.js +21 -0
  87. package/.medusa/server/src/api/admin/sellers/middlewares.d.ts +2 -0
  88. package/.medusa/server/src/api/admin/sellers/middlewares.js +166 -0
  89. package/.medusa/server/src/api/admin/sellers/query-config.d.ts +34 -0
  90. package/.medusa/server/src/api/admin/sellers/query-config.js +95 -0
  91. package/.medusa/server/src/api/admin/sellers/route.d.ts +5 -0
  92. package/.medusa/server/src/api/admin/sellers/route.js +37 -0
  93. package/.medusa/server/src/api/admin/sellers/validators.d.ts +496 -0
  94. package/.medusa/server/src/api/admin/sellers/validators.js +116 -0
  95. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/[override_id]/route.d.ts +6 -0
  96. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/[override_id]/route.js +43 -0
  97. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/route.d.ts +4 -0
  98. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/route.js +24 -0
  99. package/.medusa/server/src/api/admin/subscription-plans/[id]/route.d.ts +6 -0
  100. package/.medusa/server/src/api/admin/subscription-plans/[id]/route.js +43 -0
  101. package/.medusa/server/src/api/admin/subscription-plans/middlewares.d.ts +2 -0
  102. package/.medusa/server/src/api/admin/subscription-plans/middlewares.js +81 -0
  103. package/.medusa/server/src/api/admin/subscription-plans/query-config.d.ts +17 -0
  104. package/.medusa/server/src/api/admin/subscription-plans/query-config.js +43 -0
  105. package/.medusa/server/src/api/admin/subscription-plans/route.d.ts +5 -0
  106. package/.medusa/server/src/api/admin/subscription-plans/route.js +35 -0
  107. package/.medusa/server/src/api/admin/subscription-plans/validators.d.ts +117 -0
  108. package/.medusa/server/src/api/admin/subscription-plans/validators.js +42 -0
  109. package/.medusa/server/src/api/hooks/middlewares.d.ts +2 -0
  110. package/.medusa/server/src/api/hooks/middlewares.js +11 -0
  111. package/.medusa/server/src/api/hooks/payout/route.d.ts +2 -0
  112. package/.medusa/server/src/api/hooks/payout/route.js +26 -0
  113. package/.medusa/server/src/api/middlewares.d.ts +2 -0
  114. package/.medusa/server/src/api/middlewares.js +40 -0
  115. package/.medusa/server/src/api/store/carts/[id]/complete/query-config.d.ts +5 -0
  116. package/.medusa/server/src/api/store/carts/[id]/complete/query-config.js +17 -0
  117. package/.medusa/server/src/api/store/carts/[id]/complete/route.d.ts +4 -0
  118. package/.medusa/server/src/api/store/carts/[id]/complete/route.js +50 -0
  119. package/.medusa/server/src/api/store/carts/[id]/complete/validators.d.ts +9 -0
  120. package/.medusa/server/src/api/store/carts/[id]/complete/validators.js +6 -0
  121. package/.medusa/server/src/api/store/carts/[id]/promotions/route.d.ts +3 -0
  122. package/.medusa/server/src/api/store/carts/[id]/promotions/route.js +23 -0
  123. package/.medusa/server/src/api/store/carts/[id]/shipping-methods/route.d.ts +3 -0
  124. package/.medusa/server/src/api/store/carts/[id]/shipping-methods/route.js +19 -0
  125. package/.medusa/server/src/api/store/carts/helpers.d.ts +3 -0
  126. package/.medusa/server/src/api/store/carts/helpers.js +147 -0
  127. package/.medusa/server/src/api/store/carts/middlewares.d.ts +2 -0
  128. package/.medusa/server/src/api/store/carts/middlewares.js +16 -0
  129. package/.medusa/server/src/api/store/middlewares.d.ts +2 -0
  130. package/.medusa/server/src/api/store/middlewares.js +12 -0
  131. package/.medusa/server/src/api/store/order-groups/[id]/route.d.ts +3 -0
  132. package/.medusa/server/src/api/store/order-groups/[id]/route.js +22 -0
  133. package/.medusa/server/src/api/store/order-groups/middlewares.d.ts +2 -0
  134. package/.medusa/server/src/api/store/order-groups/middlewares.js +25 -0
  135. package/.medusa/server/src/api/store/order-groups/query-config.d.ts +13 -0
  136. package/.medusa/server/src/api/store/order-groups/query-config.js +32 -0
  137. package/.medusa/server/src/api/store/order-groups/route.d.ts +3 -0
  138. package/.medusa/server/src/api/store/order-groups/route.js +25 -0
  139. package/.medusa/server/src/api/store/order-groups/validators.d.ts +118 -0
  140. package/.medusa/server/src/api/store/order-groups/validators.js +15 -0
  141. package/.medusa/server/src/api/store/sellers/[id]/route.d.ts +4 -0
  142. package/.medusa/server/src/api/store/sellers/[id]/route.js +22 -0
  143. package/.medusa/server/src/api/store/sellers/middlewares.d.ts +2 -0
  144. package/.medusa/server/src/api/store/sellers/middlewares.js +66 -0
  145. package/.medusa/server/src/api/store/sellers/query-config.d.ts +8 -0
  146. package/.medusa/server/src/api/store/sellers/query-config.js +30 -0
  147. package/.medusa/server/src/api/store/sellers/route.d.ts +4 -0
  148. package/.medusa/server/src/api/store/sellers/route.js +21 -0
  149. package/.medusa/server/src/api/store/sellers/validators.d.ts +130 -0
  150. package/.medusa/server/src/api/store/sellers/validators.js +20 -0
  151. package/.medusa/server/src/api/store/shipping-options/route.d.ts +4 -0
  152. package/.medusa/server/src/api/store/shipping-options/route.js +17 -0
  153. package/.medusa/server/src/api/utils/ensure-seller-middleware.d.ts +2 -0
  154. package/.medusa/server/src/api/utils/ensure-seller-middleware.js +38 -0
  155. package/.medusa/server/src/api/utils/filter-by-seller-id.d.ts +2 -0
  156. package/.medusa/server/src/api/utils/filter-by-seller-id.js +10 -0
  157. package/.medusa/server/src/api/utils/index.d.ts +5 -0
  158. package/.medusa/server/src/api/utils/index.js +22 -0
  159. package/.medusa/server/src/api/utils/scan-unauthenticated-routes.d.ts +1 -0
  160. package/.medusa/server/src/api/utils/scan-unauthenticated-routes.js +65 -0
  161. package/.medusa/server/src/api/utils/unless-base-url.d.ts +10 -0
  162. package/.medusa/server/src/api/utils/unless-base-url.js +22 -0
  163. package/.medusa/server/src/api/utils/vendor-cors-middleware.d.ts +2 -0
  164. package/.medusa/server/src/api/utils/vendor-cors-middleware.js +18 -0
  165. package/.medusa/server/src/api/vendor/attributes/middlewares.d.ts +2 -0
  166. package/.medusa/server/src/api/vendor/attributes/middlewares.js +32 -0
  167. package/.medusa/server/src/api/vendor/attributes/route.d.ts +2 -0
  168. package/.medusa/server/src/api/vendor/attributes/route.js +20 -0
  169. package/.medusa/server/src/api/vendor/campaigns/[id]/promotions/route.d.ts +4 -0
  170. package/.medusa/server/src/api/vendor/campaigns/[id]/promotions/route.js +21 -0
  171. package/.medusa/server/src/api/vendor/campaigns/[id]/route.d.ts +6 -0
  172. package/.medusa/server/src/api/vendor/campaigns/[id]/route.js +42 -0
  173. package/.medusa/server/src/api/vendor/campaigns/helpers.d.ts +3 -0
  174. package/.medusa/server/src/api/vendor/campaigns/helpers.js +30 -0
  175. package/.medusa/server/src/api/vendor/campaigns/middlewares.d.ts +2 -0
  176. package/.medusa/server/src/api/vendor/campaigns/middlewares.js +63 -0
  177. package/.medusa/server/src/api/vendor/campaigns/query-config.d.ts +11 -0
  178. package/.medusa/server/src/api/vendor/campaigns/query-config.js +27 -0
  179. package/.medusa/server/src/api/vendor/campaigns/route.d.ts +5 -0
  180. package/.medusa/server/src/api/vendor/campaigns/route.js +35 -0
  181. package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +191 -0
  182. package/.medusa/server/src/api/vendor/campaigns/validators.js +70 -0
  183. package/.medusa/server/src/api/vendor/collections/[id]/products/route.d.ts +3 -0
  184. package/.medusa/server/src/api/vendor/collections/[id]/products/route.js +23 -0
  185. package/.medusa/server/src/api/vendor/collections/[id]/route.d.ts +3 -0
  186. package/.medusa/server/src/api/vendor/collections/[id]/route.js +25 -0
  187. package/.medusa/server/src/api/vendor/collections/helpers.d.ts +4 -0
  188. package/.medusa/server/src/api/vendor/collections/helpers.js +29 -0
  189. package/.medusa/server/src/api/vendor/collections/middlewares.d.ts +2 -0
  190. package/.medusa/server/src/api/vendor/collections/middlewares.js +32 -0
  191. package/.medusa/server/src/api/vendor/collections/query-config.d.ts +9 -0
  192. package/.medusa/server/src/api/vendor/collections/query-config.js +20 -0
  193. package/.medusa/server/src/api/vendor/collections/route.d.ts +4 -0
  194. package/.medusa/server/src/api/vendor/collections/route.js +26 -0
  195. package/.medusa/server/src/api/vendor/collections/validators.d.ts +169 -0
  196. package/.medusa/server/src/api/vendor/collections/validators.js +19 -0
  197. package/.medusa/server/src/api/vendor/currencies/[code]/route.d.ts +3 -0
  198. package/.medusa/server/src/api/vendor/currencies/[code]/route.js +19 -0
  199. package/.medusa/server/src/api/vendor/currencies/middlewares.d.ts +2 -0
  200. package/.medusa/server/src/api/vendor/currencies/middlewares.js +23 -0
  201. package/.medusa/server/src/api/vendor/currencies/query-config.d.ts +12 -0
  202. package/.medusa/server/src/api/vendor/currencies/query-config.js +23 -0
  203. package/.medusa/server/src/api/vendor/currencies/route.d.ts +4 -0
  204. package/.medusa/server/src/api/vendor/currencies/route.js +21 -0
  205. package/.medusa/server/src/api/vendor/currencies/validators.d.ts +46 -0
  206. package/.medusa/server/src/api/vendor/currencies/validators.js +15 -0
  207. package/.medusa/server/src/api/vendor/customers/[id]/route.d.ts +3 -0
  208. package/.medusa/server/src/api/vendor/customers/[id]/route.js +21 -0
  209. package/.medusa/server/src/api/vendor/customers/helpers.d.ts +2 -0
  210. package/.medusa/server/src/api/vendor/customers/helpers.js +20 -0
  211. package/.medusa/server/src/api/vendor/customers/middlewares.d.ts +2 -0
  212. package/.medusa/server/src/api/vendor/customers/middlewares.js +33 -0
  213. package/.medusa/server/src/api/vendor/customers/query-config.d.ts +11 -0
  214. package/.medusa/server/src/api/vendor/customers/query-config.js +28 -0
  215. package/.medusa/server/src/api/vendor/customers/route.d.ts +3 -0
  216. package/.medusa/server/src/api/vendor/customers/route.js +21 -0
  217. package/.medusa/server/src/api/vendor/customers/validators.d.ts +127 -0
  218. package/.medusa/server/src/api/vendor/customers/validators.js +19 -0
  219. package/.medusa/server/src/api/vendor/feature-flags/route.d.ts +5 -0
  220. package/.medusa/server/src/api/vendor/feature-flags/route.js +16 -0
  221. package/.medusa/server/src/api/vendor/fulfillment-providers/middlewares.d.ts +2 -0
  222. package/.medusa/server/src/api/vendor/fulfillment-providers/middlewares.js +16 -0
  223. package/.medusa/server/src/api/vendor/fulfillment-providers/query-config.d.ts +7 -0
  224. package/.medusa/server/src/api/vendor/fulfillment-providers/query-config.js +11 -0
  225. package/.medusa/server/src/api/vendor/fulfillment-providers/route.d.ts +3 -0
  226. package/.medusa/server/src/api/vendor/fulfillment-providers/route.js +21 -0
  227. package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +35 -0
  228. package/.medusa/server/src/api/vendor/fulfillment-providers/validators.js +18 -0
  229. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/route.d.ts +3 -0
  230. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/route.js +20 -0
  231. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/[zone_id]/route.d.ts +6 -0
  232. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/[zone_id]/route.js +61 -0
  233. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/route.d.ts +4 -0
  234. package/.medusa/server/src/api/vendor/fulfillment-sets/[id]/service-zones/route.js +25 -0
  235. package/.medusa/server/src/api/vendor/fulfillment-sets/helpers.d.ts +3 -0
  236. package/.medusa/server/src/api/vendor/fulfillment-sets/helpers.js +40 -0
  237. package/.medusa/server/src/api/vendor/fulfillment-sets/middlewares.d.ts +2 -0
  238. package/.medusa/server/src/api/vendor/fulfillment-sets/middlewares.js +44 -0
  239. package/.medusa/server/src/api/vendor/fulfillment-sets/query-config.d.ts +13 -0
  240. package/.medusa/server/src/api/vendor/fulfillment-sets/query-config.js +34 -0
  241. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +365 -0
  242. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.js +56 -0
  243. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.d.ts +5 -0
  244. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/[location_id]/route.js +48 -0
  245. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/batch/route.d.ts +4 -0
  246. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/batch/route.js +30 -0
  247. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/route.d.ts +5 -0
  248. package/.medusa/server/src/api/vendor/inventory-items/[id]/location-levels/route.js +42 -0
  249. package/.medusa/server/src/api/vendor/inventory-items/[id]/route.d.ts +6 -0
  250. package/.medusa/server/src/api/vendor/inventory-items/[id]/route.js +42 -0
  251. package/.medusa/server/src/api/vendor/inventory-items/helpers.d.ts +3 -0
  252. package/.medusa/server/src/api/vendor/inventory-items/helpers.js +30 -0
  253. package/.medusa/server/src/api/vendor/inventory-items/location-levels/batch/route.d.ts +4 -0
  254. package/.medusa/server/src/api/vendor/inventory-items/location-levels/batch/route.js +22 -0
  255. package/.medusa/server/src/api/vendor/inventory-items/middlewares.d.ts +2 -0
  256. package/.medusa/server/src/api/vendor/inventory-items/middlewares.js +100 -0
  257. package/.medusa/server/src/api/vendor/inventory-items/query-config.d.ts +22 -0
  258. package/.medusa/server/src/api/vendor/inventory-items/query-config.js +58 -0
  259. package/.medusa/server/src/api/vendor/inventory-items/route.d.ts +5 -0
  260. package/.medusa/server/src/api/vendor/inventory-items/route.js +35 -0
  261. package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +773 -0
  262. package/.medusa/server/src/api/vendor/inventory-items/validators.js +117 -0
  263. package/.medusa/server/src/api/vendor/members/invites/accept/route.d.ts +3 -0
  264. package/.medusa/server/src/api/vendor/members/invites/accept/route.js +16 -0
  265. package/.medusa/server/src/api/vendor/members/me/route.d.ts +3 -0
  266. package/.medusa/server/src/api/vendor/members/me/route.js +24 -0
  267. package/.medusa/server/src/api/vendor/members/middlewares.d.ts +2 -0
  268. package/.medusa/server/src/api/vendor/members/middlewares.js +38 -0
  269. package/.medusa/server/src/api/vendor/members/validators.d.ts +9 -0
  270. package/.medusa/server/src/api/vendor/members/validators.js +8 -0
  271. package/.medusa/server/src/api/vendor/middlewares.d.ts +2 -0
  272. package/.medusa/server/src/api/vendor/middlewares.js +112 -0
  273. package/.medusa/server/src/api/vendor/orders/[id]/cancel/route.d.ts +3 -0
  274. package/.medusa/server/src/api/vendor/orders/[id]/cancel/route.js +26 -0
  275. package/.medusa/server/src/api/vendor/orders/[id]/changes/route.d.ts +3 -0
  276. package/.medusa/server/src/api/vendor/orders/[id]/changes/route.js +21 -0
  277. package/.medusa/server/src/api/vendor/orders/[id]/complete/route.d.ts +3 -0
  278. package/.medusa/server/src/api/vendor/orders/[id]/complete/route.js +25 -0
  279. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.d.ts +3 -0
  280. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.js +27 -0
  281. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.d.ts +3 -0
  282. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.js +26 -0
  283. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.d.ts +4 -0
  284. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.js +28 -0
  285. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.d.ts +4 -0
  286. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.js +20 -0
  287. package/.medusa/server/src/api/vendor/orders/[id]/preview/route.d.ts +3 -0
  288. package/.medusa/server/src/api/vendor/orders/[id]/preview/route.js +15 -0
  289. package/.medusa/server/src/api/vendor/orders/[id]/route.d.ts +3 -0
  290. package/.medusa/server/src/api/vendor/orders/[id]/route.js +19 -0
  291. package/.medusa/server/src/api/vendor/orders/helpers.d.ts +2 -0
  292. package/.medusa/server/src/api/vendor/orders/helpers.js +23 -0
  293. package/.medusa/server/src/api/vendor/orders/middlewares.d.ts +2 -0
  294. package/.medusa/server/src/api/vendor/orders/middlewares.js +88 -0
  295. package/.medusa/server/src/api/vendor/orders/query-config.d.ts +18 -0
  296. package/.medusa/server/src/api/vendor/orders/query-config.js +58 -0
  297. package/.medusa/server/src/api/vendor/orders/route.d.ts +3 -0
  298. package/.medusa/server/src/api/vendor/orders/route.js +29 -0
  299. package/.medusa/server/src/api/vendor/orders/validators.d.ts +225 -0
  300. package/.medusa/server/src/api/vendor/orders/validators.js +45 -0
  301. package/.medusa/server/src/api/vendor/payments/[id]/capture/route.d.ts +4 -0
  302. package/.medusa/server/src/api/vendor/payments/[id]/capture/route.js +21 -0
  303. package/.medusa/server/src/api/vendor/payments/[id]/refund/route.d.ts +4 -0
  304. package/.medusa/server/src/api/vendor/payments/[id]/refund/route.js +21 -0
  305. package/.medusa/server/src/api/vendor/payments/[id]/route.d.ts +3 -0
  306. package/.medusa/server/src/api/vendor/payments/[id]/route.js +12 -0
  307. package/.medusa/server/src/api/vendor/payments/helpers.d.ts +3 -0
  308. package/.medusa/server/src/api/vendor/payments/helpers.js +30 -0
  309. package/.medusa/server/src/api/vendor/payments/middlewares.d.ts +2 -0
  310. package/.medusa/server/src/api/vendor/payments/middlewares.js +56 -0
  311. package/.medusa/server/src/api/vendor/payments/payment-providers/route.d.ts +3 -0
  312. package/.medusa/server/src/api/vendor/payments/payment-providers/route.js +21 -0
  313. package/.medusa/server/src/api/vendor/payments/query-config.d.ts +18 -0
  314. package/.medusa/server/src/api/vendor/payments/query-config.js +37 -0
  315. package/.medusa/server/src/api/vendor/payments/route.d.ts +3 -0
  316. package/.medusa/server/src/api/vendor/payments/route.js +21 -0
  317. package/.medusa/server/src/api/vendor/payments/validators.d.ts +174 -0
  318. package/.medusa/server/src/api/vendor/payments/validators.js +37 -0
  319. package/.medusa/server/src/api/vendor/payout-accounts/[id]/onboarding/route.d.ts +4 -0
  320. package/.medusa/server/src/api/vendor/payout-accounts/[id]/onboarding/route.js +26 -0
  321. package/.medusa/server/src/api/vendor/payout-accounts/[id]/route.d.ts +3 -0
  322. package/.medusa/server/src/api/vendor/payout-accounts/[id]/route.js +18 -0
  323. package/.medusa/server/src/api/vendor/payout-accounts/helpers.d.ts +2 -0
  324. package/.medusa/server/src/api/vendor/payout-accounts/helpers.js +20 -0
  325. package/.medusa/server/src/api/vendor/payout-accounts/middlewares.d.ts +2 -0
  326. package/.medusa/server/src/api/vendor/payout-accounts/middlewares.js +49 -0
  327. package/.medusa/server/src/api/vendor/payout-accounts/query-config.d.ts +18 -0
  328. package/.medusa/server/src/api/vendor/payout-accounts/query-config.js +40 -0
  329. package/.medusa/server/src/api/vendor/payout-accounts/route.d.ts +5 -0
  330. package/.medusa/server/src/api/vendor/payout-accounts/route.js +40 -0
  331. package/.medusa/server/src/api/vendor/payout-accounts/validators.d.ts +52 -0
  332. package/.medusa/server/src/api/vendor/payout-accounts/validators.js +23 -0
  333. package/.medusa/server/src/api/vendor/payouts/[id]/route.d.ts +3 -0
  334. package/.medusa/server/src/api/vendor/payouts/[id]/route.js +21 -0
  335. package/.medusa/server/src/api/vendor/payouts/helpers.d.ts +2 -0
  336. package/.medusa/server/src/api/vendor/payouts/helpers.js +20 -0
  337. package/.medusa/server/src/api/vendor/payouts/middlewares.d.ts +2 -0
  338. package/.medusa/server/src/api/vendor/payouts/middlewares.js +33 -0
  339. package/.medusa/server/src/api/vendor/payouts/query-config.d.ts +11 -0
  340. package/.medusa/server/src/api/vendor/payouts/query-config.js +24 -0
  341. package/.medusa/server/src/api/vendor/payouts/route.d.ts +3 -0
  342. package/.medusa/server/src/api/vendor/payouts/route.js +21 -0
  343. package/.medusa/server/src/api/vendor/payouts/validators.d.ts +118 -0
  344. package/.medusa/server/src/api/vendor/payouts/validators.js +15 -0
  345. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/batch/route.d.ts +5 -0
  346. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/batch/route.js +48 -0
  347. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/route.d.ts +3 -0
  348. package/.medusa/server/src/api/vendor/price-lists/[id]/prices/route.js +27 -0
  349. package/.medusa/server/src/api/vendor/price-lists/[id]/products/route.d.ts +4 -0
  350. package/.medusa/server/src/api/vendor/price-lists/[id]/products/route.js +31 -0
  351. package/.medusa/server/src/api/vendor/price-lists/[id]/route.d.ts +6 -0
  352. package/.medusa/server/src/api/vendor/price-lists/[id]/route.js +40 -0
  353. package/.medusa/server/src/api/vendor/price-lists/helpers.d.ts +5 -0
  354. package/.medusa/server/src/api/vendor/price-lists/helpers.js +71 -0
  355. package/.medusa/server/src/api/vendor/price-lists/middlewares.d.ts +2 -0
  356. package/.medusa/server/src/api/vendor/price-lists/middlewares.js +111 -0
  357. package/.medusa/server/src/api/vendor/price-lists/query-config.d.ts +14 -0
  358. package/.medusa/server/src/api/vendor/price-lists/query-config.js +44 -0
  359. package/.medusa/server/src/api/vendor/price-lists/route.d.ts +5 -0
  360. package/.medusa/server/src/api/vendor/price-lists/route.js +40 -0
  361. package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +285 -0
  362. package/.medusa/server/src/api/vendor/price-lists/validators.js +58 -0
  363. package/.medusa/server/src/api/vendor/price-preferences/[id]/route.d.ts +3 -0
  364. package/.medusa/server/src/api/vendor/price-preferences/[id]/route.js +20 -0
  365. package/.medusa/server/src/api/vendor/price-preferences/middlewares.d.ts +2 -0
  366. package/.medusa/server/src/api/vendor/price-preferences/middlewares.js +23 -0
  367. package/.medusa/server/src/api/vendor/price-preferences/query-config.d.ts +10 -0
  368. package/.medusa/server/src/api/vendor/price-preferences/query-config.js +21 -0
  369. package/.medusa/server/src/api/vendor/price-preferences/route.d.ts +3 -0
  370. package/.medusa/server/src/api/vendor/price-preferences/route.js +21 -0
  371. package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +43 -0
  372. package/.medusa/server/src/api/vendor/price-preferences/validators.js +16 -0
  373. package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.d.ts +3 -0
  374. package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.js +27 -0
  375. package/.medusa/server/src/api/vendor/product-categories/[id]/route.d.ts +3 -0
  376. package/.medusa/server/src/api/vendor/product-categories/[id]/route.js +20 -0
  377. package/.medusa/server/src/api/vendor/product-categories/helpers.d.ts +2 -0
  378. package/.medusa/server/src/api/vendor/product-categories/helpers.js +24 -0
  379. package/.medusa/server/src/api/vendor/product-categories/middlewares.d.ts +2 -0
  380. package/.medusa/server/src/api/vendor/product-categories/middlewares.js +65 -0
  381. package/.medusa/server/src/api/vendor/product-categories/query-config.d.ts +9 -0
  382. package/.medusa/server/src/api/vendor/product-categories/query-config.js +27 -0
  383. package/.medusa/server/src/api/vendor/product-categories/route.d.ts +3 -0
  384. package/.medusa/server/src/api/vendor/product-categories/route.js +21 -0
  385. package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +58 -0
  386. package/.medusa/server/src/api/vendor/product-categories/validators.js +22 -0
  387. package/.medusa/server/src/api/vendor/product-tags/[id]/route.d.ts +3 -0
  388. package/.medusa/server/src/api/vendor/product-tags/[id]/route.js +20 -0
  389. package/.medusa/server/src/api/vendor/product-tags/middlewares.d.ts +2 -0
  390. package/.medusa/server/src/api/vendor/product-tags/middlewares.js +23 -0
  391. package/.medusa/server/src/api/vendor/product-tags/query-config.d.ts +11 -0
  392. package/.medusa/server/src/api/vendor/product-tags/query-config.js +21 -0
  393. package/.medusa/server/src/api/vendor/product-tags/route.d.ts +3 -0
  394. package/.medusa/server/src/api/vendor/product-tags/route.js +21 -0
  395. package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +60 -0
  396. package/.medusa/server/src/api/vendor/product-tags/validators.js +19 -0
  397. package/.medusa/server/src/api/vendor/product-types/[id]/route.d.ts +3 -0
  398. package/.medusa/server/src/api/vendor/product-types/[id]/route.js +20 -0
  399. package/.medusa/server/src/api/vendor/product-types/middlewares.d.ts +2 -0
  400. package/.medusa/server/src/api/vendor/product-types/middlewares.js +23 -0
  401. package/.medusa/server/src/api/vendor/product-types/query-config.d.ts +11 -0
  402. package/.medusa/server/src/api/vendor/product-types/query-config.js +21 -0
  403. package/.medusa/server/src/api/vendor/product-types/route.d.ts +3 -0
  404. package/.medusa/server/src/api/vendor/product-types/route.js +21 -0
  405. package/.medusa/server/src/api/vendor/product-types/validators.d.ts +40 -0
  406. package/.medusa/server/src/api/vendor/product-types/validators.js +15 -0
  407. package/.medusa/server/src/api/vendor/product-variants/middlewares.d.ts +2 -0
  408. package/.medusa/server/src/api/vendor/product-variants/middlewares.js +26 -0
  409. package/.medusa/server/src/api/vendor/product-variants/query-config.d.ts +12 -0
  410. package/.medusa/server/src/api/vendor/product-variants/query-config.js +41 -0
  411. package/.medusa/server/src/api/vendor/product-variants/route.d.ts +3 -0
  412. package/.medusa/server/src/api/vendor/product-variants/route.js +21 -0
  413. package/.medusa/server/src/api/vendor/product-variants/validators.d.ts +128 -0
  414. package/.medusa/server/src/api/vendor/product-variants/validators.js +21 -0
  415. package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.d.ts +4 -0
  416. package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.js +149 -0
  417. package/.medusa/server/src/api/vendor/products/[id]/attributes/route.d.ts +3 -0
  418. package/.medusa/server/src/api/vendor/products/[id]/attributes/route.js +111 -0
  419. package/.medusa/server/src/api/vendor/products/[id]/attributes/utils.d.ts +7 -0
  420. package/.medusa/server/src/api/vendor/products/[id]/attributes/utils.js +16 -0
  421. package/.medusa/server/src/api/vendor/products/[id]/options/[option_id]/route.d.ts +5 -0
  422. package/.medusa/server/src/api/vendor/products/[id]/options/[option_id]/route.js +74 -0
  423. package/.medusa/server/src/api/vendor/products/[id]/options/route.d.ts +4 -0
  424. package/.medusa/server/src/api/vendor/products/[id]/options/route.js +34 -0
  425. package/.medusa/server/src/api/vendor/products/[id]/route.d.ts +6 -0
  426. package/.medusa/server/src/api/vendor/products/[id]/route.js +62 -0
  427. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/media/route.d.ts +3 -0
  428. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/media/route.js +20 -0
  429. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +6 -0
  430. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +57 -0
  431. package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +5 -0
  432. package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +55 -0
  433. package/.medusa/server/src/api/vendor/products/helpers.d.ts +2 -0
  434. package/.medusa/server/src/api/vendor/products/helpers.js +20 -0
  435. package/.medusa/server/src/api/vendor/products/middlewares.d.ts +2 -0
  436. package/.medusa/server/src/api/vendor/products/middlewares.js +142 -0
  437. package/.medusa/server/src/api/vendor/products/query-config.d.ts +22 -0
  438. package/.medusa/server/src/api/vendor/products/query-config.js +64 -0
  439. package/.medusa/server/src/api/vendor/products/route.d.ts +5 -0
  440. package/.medusa/server/src/api/vendor/products/route.js +43 -0
  441. package/.medusa/server/src/api/vendor/products/utils/transform-product-attributes.d.ts +34 -0
  442. package/.medusa/server/src/api/vendor/products/utils/transform-product-attributes.js +71 -0
  443. package/.medusa/server/src/api/vendor/products/validators.d.ts +2352 -0
  444. package/.medusa/server/src/api/vendor/products/validators.js +213 -0
  445. package/.medusa/server/src/api/vendor/promotions/[id]/[rule_type]/route.d.ts +4 -0
  446. package/.medusa/server/src/api/vendor/promotions/[id]/[rule_type]/route.js +103 -0
  447. package/.medusa/server/src/api/vendor/promotions/[id]/buy-rules/batch/route.d.ts +5 -0
  448. package/.medusa/server/src/api/vendor/promotions/[id]/buy-rules/batch/route.js +23 -0
  449. package/.medusa/server/src/api/vendor/promotions/[id]/route.d.ts +6 -0
  450. package/.medusa/server/src/api/vendor/promotions/[id]/route.js +42 -0
  451. package/.medusa/server/src/api/vendor/promotions/[id]/rules/batch/route.d.ts +5 -0
  452. package/.medusa/server/src/api/vendor/promotions/[id]/rules/batch/route.js +23 -0
  453. package/.medusa/server/src/api/vendor/promotions/[id]/target-rules/batch/route.d.ts +5 -0
  454. package/.medusa/server/src/api/vendor/promotions/[id]/target-rules/batch/route.js +23 -0
  455. package/.medusa/server/src/api/vendor/promotions/helpers.d.ts +13 -0
  456. package/.medusa/server/src/api/vendor/promotions/helpers.js +70 -0
  457. package/.medusa/server/src/api/vendor/promotions/middlewares.d.ts +2 -0
  458. package/.medusa/server/src/api/vendor/promotions/middlewares.js +100 -0
  459. package/.medusa/server/src/api/vendor/promotions/query-config.d.ts +29 -0
  460. package/.medusa/server/src/api/vendor/promotions/query-config.js +60 -0
  461. package/.medusa/server/src/api/vendor/promotions/route.d.ts +5 -0
  462. package/.medusa/server/src/api/vendor/promotions/route.js +35 -0
  463. package/.medusa/server/src/api/vendor/promotions/rule-attribute-options/[rule_type]/route.d.ts +4 -0
  464. package/.medusa/server/src/api/vendor/promotions/rule-attribute-options/[rule_type]/route.js +18 -0
  465. package/.medusa/server/src/api/vendor/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.d.ts +4 -0
  466. package/.medusa/server/src/api/vendor/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.js +54 -0
  467. package/.medusa/server/src/api/vendor/promotions/utils/index.d.ts +5 -0
  468. package/.medusa/server/src/api/vendor/promotions/utils/index.js +22 -0
  469. package/.medusa/server/src/api/vendor/promotions/utils/operators-map.d.ts +18 -0
  470. package/.medusa/server/src/api/vendor/promotions/utils/operators-map.js +22 -0
  471. package/.medusa/server/src/api/vendor/promotions/utils/rule-attributes-map.d.ts +11 -0
  472. package/.medusa/server/src/api/vendor/promotions/utils/rule-attributes-map.js +155 -0
  473. package/.medusa/server/src/api/vendor/promotions/utils/rule-query-configuration.d.ts +5 -0
  474. package/.medusa/server/src/api/vendor/promotions/utils/rule-query-configuration.js +61 -0
  475. package/.medusa/server/src/api/vendor/promotions/utils/validate-rule-attribute.d.ts +8 -0
  476. package/.medusa/server/src/api/vendor/promotions/utils/validate-rule-attribute.js +18 -0
  477. package/.medusa/server/src/api/vendor/promotions/utils/validate-rule-type.d.ts +1 -0
  478. package/.medusa/server/src/api/vendor/promotions/utils/validate-rule-type.js +12 -0
  479. package/.medusa/server/src/api/vendor/promotions/validators.d.ts +1082 -0
  480. package/.medusa/server/src/api/vendor/promotions/validators.js +134 -0
  481. package/.medusa/server/src/api/vendor/refund-reasons/[id]/route.d.ts +3 -0
  482. package/.medusa/server/src/api/vendor/refund-reasons/[id]/route.js +20 -0
  483. package/.medusa/server/src/api/vendor/refund-reasons/middlewares.d.ts +2 -0
  484. package/.medusa/server/src/api/vendor/refund-reasons/middlewares.js +23 -0
  485. package/.medusa/server/src/api/vendor/refund-reasons/query-config.d.ts +11 -0
  486. package/.medusa/server/src/api/vendor/refund-reasons/query-config.js +22 -0
  487. package/.medusa/server/src/api/vendor/refund-reasons/route.d.ts +3 -0
  488. package/.medusa/server/src/api/vendor/refund-reasons/route.js +21 -0
  489. package/.medusa/server/src/api/vendor/refund-reasons/validators.d.ts +121 -0
  490. package/.medusa/server/src/api/vendor/refund-reasons/validators.js +16 -0
  491. package/.medusa/server/src/api/vendor/regions/[id]/route.d.ts +3 -0
  492. package/.medusa/server/src/api/vendor/regions/[id]/route.js +18 -0
  493. package/.medusa/server/src/api/vendor/regions/middlewares.d.ts +2 -0
  494. package/.medusa/server/src/api/vendor/regions/middlewares.js +23 -0
  495. package/.medusa/server/src/api/vendor/regions/query-config.d.ts +11 -0
  496. package/.medusa/server/src/api/vendor/regions/query-config.js +24 -0
  497. package/.medusa/server/src/api/vendor/regions/route.d.ts +3 -0
  498. package/.medusa/server/src/api/vendor/regions/route.js +21 -0
  499. package/.medusa/server/src/api/vendor/regions/validators.d.ts +127 -0
  500. package/.medusa/server/src/api/vendor/regions/validators.js +18 -0
  501. package/.medusa/server/src/api/vendor/return-reasons/[id]/route.d.ts +3 -0
  502. package/.medusa/server/src/api/vendor/return-reasons/[id]/route.js +20 -0
  503. package/.medusa/server/src/api/vendor/return-reasons/middlewares.d.ts +2 -0
  504. package/.medusa/server/src/api/vendor/return-reasons/middlewares.js +23 -0
  505. package/.medusa/server/src/api/vendor/return-reasons/query-config.d.ts +12 -0
  506. package/.medusa/server/src/api/vendor/return-reasons/query-config.js +28 -0
  507. package/.medusa/server/src/api/vendor/return-reasons/route.d.ts +3 -0
  508. package/.medusa/server/src/api/vendor/return-reasons/route.js +21 -0
  509. package/.medusa/server/src/api/vendor/return-reasons/validators.d.ts +133 -0
  510. package/.medusa/server/src/api/vendor/return-reasons/validators.js +22 -0
  511. package/.medusa/server/src/api/vendor/returns/[id]/cancel/route.d.ts +4 -0
  512. package/.medusa/server/src/api/vendor/returns/[id]/cancel/route.js +19 -0
  513. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/[action_id]/route.d.ts +5 -0
  514. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/[action_id]/route.js +56 -0
  515. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/route.d.ts +4 -0
  516. package/.medusa/server/src/api/vendor/returns/[id]/dismiss-items/route.js +28 -0
  517. package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.d.ts +4 -0
  518. package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.js +31 -0
  519. package/.medusa/server/src/api/vendor/returns/[id]/receive/route.d.ts +5 -0
  520. package/.medusa/server/src/api/vendor/returns/[id]/receive/route.js +51 -0
  521. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/[action_id]/route.d.ts +5 -0
  522. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/[action_id]/route.js +56 -0
  523. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/route.d.ts +4 -0
  524. package/.medusa/server/src/api/vendor/returns/[id]/receive-items/route.js +28 -0
  525. package/.medusa/server/src/api/vendor/returns/[id]/request/route.d.ts +5 -0
  526. package/.medusa/server/src/api/vendor/returns/[id]/request/route.js +46 -0
  527. package/.medusa/server/src/api/vendor/returns/[id]/request-items/[action_id]/route.d.ts +5 -0
  528. package/.medusa/server/src/api/vendor/returns/[id]/request-items/[action_id]/route.js +56 -0
  529. package/.medusa/server/src/api/vendor/returns/[id]/request-items/route.d.ts +4 -0
  530. package/.medusa/server/src/api/vendor/returns/[id]/request-items/route.js +28 -0
  531. package/.medusa/server/src/api/vendor/returns/[id]/route.d.ts +5 -0
  532. package/.medusa/server/src/api/vendor/returns/[id]/route.js +45 -0
  533. package/.medusa/server/src/api/vendor/returns/[id]/shipping-method/[action_id]/route.d.ts +5 -0
  534. package/.medusa/server/src/api/vendor/returns/[id]/shipping-method/[action_id]/route.js +56 -0
  535. package/.medusa/server/src/api/vendor/returns/[id]/shipping-method/route.d.ts +4 -0
  536. package/.medusa/server/src/api/vendor/returns/[id]/shipping-method/route.js +28 -0
  537. package/.medusa/server/src/api/vendor/returns/helpers.d.ts +2 -0
  538. package/.medusa/server/src/api/vendor/returns/helpers.js +21 -0
  539. package/.medusa/server/src/api/vendor/returns/middlewares.d.ts +2 -0
  540. package/.medusa/server/src/api/vendor/returns/middlewares.js +189 -0
  541. package/.medusa/server/src/api/vendor/returns/query-config.d.ts +12 -0
  542. package/.medusa/server/src/api/vendor/returns/query-config.js +38 -0
  543. package/.medusa/server/src/api/vendor/returns/route.d.ts +5 -0
  544. package/.medusa/server/src/api/vendor/returns/route.js +52 -0
  545. package/.medusa/server/src/api/vendor/returns/validators.d.ts +439 -0
  546. package/.medusa/server/src/api/vendor/returns/validators.js +91 -0
  547. package/.medusa/server/src/api/vendor/sales-channels/[id]/products/route.d.ts +4 -0
  548. package/.medusa/server/src/api/vendor/sales-channels/[id]/products/route.js +24 -0
  549. package/.medusa/server/src/api/vendor/sales-channels/[id]/route.d.ts +3 -0
  550. package/.medusa/server/src/api/vendor/sales-channels/[id]/route.js +20 -0
  551. package/.medusa/server/src/api/vendor/sales-channels/helpers.d.ts +2 -0
  552. package/.medusa/server/src/api/vendor/sales-channels/helpers.js +14 -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 +32 -0
  555. package/.medusa/server/src/api/vendor/sales-channels/query-config.d.ts +10 -0
  556. package/.medusa/server/src/api/vendor/sales-channels/query-config.js +22 -0
  557. package/.medusa/server/src/api/vendor/sales-channels/route.d.ts +3 -0
  558. package/.medusa/server/src/api/vendor/sales-channels/route.js +21 -0
  559. package/.medusa/server/src/api/vendor/sales-channels/validators.d.ts +43 -0
  560. package/.medusa/server/src/api/vendor/sales-channels/validators.js +17 -0
  561. package/.medusa/server/src/api/vendor/sellers/[id]/address/route.d.ts +4 -0
  562. package/.medusa/server/src/api/vendor/sellers/[id]/address/route.js +22 -0
  563. package/.medusa/server/src/api/vendor/sellers/[id]/members/[member_id]/route.d.ts +4 -0
  564. package/.medusa/server/src/api/vendor/sellers/[id]/members/[member_id]/route.js +29 -0
  565. package/.medusa/server/src/api/vendor/sellers/[id]/members/invites/route.d.ts +3 -0
  566. package/.medusa/server/src/api/vendor/sellers/[id]/members/invites/route.js +24 -0
  567. package/.medusa/server/src/api/vendor/sellers/[id]/members/me/route.d.ts +3 -0
  568. package/.medusa/server/src/api/vendor/sellers/[id]/members/me/route.js +22 -0
  569. package/.medusa/server/src/api/vendor/sellers/[id]/members/route.d.ts +4 -0
  570. package/.medusa/server/src/api/vendor/sellers/[id]/members/route.js +35 -0
  571. package/.medusa/server/src/api/vendor/sellers/[id]/payment-details/route.d.ts +4 -0
  572. package/.medusa/server/src/api/vendor/sellers/[id]/payment-details/route.js +22 -0
  573. package/.medusa/server/src/api/vendor/sellers/[id]/professional-details/route.d.ts +5 -0
  574. package/.medusa/server/src/api/vendor/sellers/[id]/professional-details/route.js +37 -0
  575. package/.medusa/server/src/api/vendor/sellers/[id]/route.d.ts +5 -0
  576. package/.medusa/server/src/api/vendor/sellers/[id]/route.js +35 -0
  577. package/.medusa/server/src/api/vendor/sellers/me/route.d.ts +5 -0
  578. package/.medusa/server/src/api/vendor/sellers/me/route.js +27 -0
  579. package/.medusa/server/src/api/vendor/sellers/middlewares.d.ts +2 -0
  580. package/.medusa/server/src/api/vendor/sellers/middlewares.js +259 -0
  581. package/.medusa/server/src/api/vendor/sellers/query-config.d.ts +25 -0
  582. package/.medusa/server/src/api/vendor/sellers/query-config.js +73 -0
  583. package/.medusa/server/src/api/vendor/sellers/route.d.ts +5 -0
  584. package/.medusa/server/src/api/vendor/sellers/route.js +50 -0
  585. package/.medusa/server/src/api/vendor/sellers/select/route.d.ts +3 -0
  586. package/.medusa/server/src/api/vendor/sellers/select/route.js +24 -0
  587. package/.medusa/server/src/api/vendor/sellers/validators.d.ts +324 -0
  588. package/.medusa/server/src/api/vendor/sellers/validators.js +103 -0
  589. package/.medusa/server/src/api/vendor/shipping-option-types/[id]/route.d.ts +3 -0
  590. package/.medusa/server/src/api/vendor/shipping-option-types/[id]/route.js +14 -0
  591. package/.medusa/server/src/api/vendor/shipping-option-types/helpers.d.ts +2 -0
  592. package/.medusa/server/src/api/vendor/shipping-option-types/helpers.js +15 -0
  593. package/.medusa/server/src/api/vendor/shipping-option-types/middlewares.d.ts +2 -0
  594. package/.medusa/server/src/api/vendor/shipping-option-types/middlewares.js +23 -0
  595. package/.medusa/server/src/api/vendor/shipping-option-types/query-config.d.ts +12 -0
  596. package/.medusa/server/src/api/vendor/shipping-option-types/query-config.js +23 -0
  597. package/.medusa/server/src/api/vendor/shipping-option-types/route.d.ts +3 -0
  598. package/.medusa/server/src/api/vendor/shipping-option-types/route.js +21 -0
  599. package/.medusa/server/src/api/vendor/shipping-option-types/validators.d.ts +130 -0
  600. package/.medusa/server/src/api/vendor/shipping-option-types/validators.js +19 -0
  601. package/.medusa/server/src/api/vendor/shipping-options/[id]/route.d.ts +6 -0
  602. package/.medusa/server/src/api/vendor/shipping-options/[id]/route.js +46 -0
  603. package/.medusa/server/src/api/vendor/shipping-options/[id]/rules/batch/route.d.ts +5 -0
  604. package/.medusa/server/src/api/vendor/shipping-options/[id]/rules/batch/route.js +26 -0
  605. package/.medusa/server/src/api/vendor/shipping-options/helpers.d.ts +12 -0
  606. package/.medusa/server/src/api/vendor/shipping-options/helpers.js +64 -0
  607. package/.medusa/server/src/api/vendor/shipping-options/middlewares.d.ts +2 -0
  608. package/.medusa/server/src/api/vendor/shipping-options/middlewares.js +63 -0
  609. package/.medusa/server/src/api/vendor/shipping-options/query-config.d.ts +22 -0
  610. package/.medusa/server/src/api/vendor/shipping-options/query-config.js +47 -0
  611. package/.medusa/server/src/api/vendor/shipping-options/route.d.ts +5 -0
  612. package/.medusa/server/src/api/vendor/shipping-options/route.js +35 -0
  613. package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +860 -0
  614. package/.medusa/server/src/api/vendor/shipping-options/validators.js +130 -0
  615. package/.medusa/server/src/api/vendor/shipping-profiles/[id]/route.d.ts +6 -0
  616. package/.medusa/server/src/api/vendor/shipping-profiles/[id]/route.js +38 -0
  617. package/.medusa/server/src/api/vendor/shipping-profiles/helpers.d.ts +3 -0
  618. package/.medusa/server/src/api/vendor/shipping-profiles/helpers.js +30 -0
  619. package/.medusa/server/src/api/vendor/shipping-profiles/middlewares.d.ts +2 -0
  620. package/.medusa/server/src/api/vendor/shipping-profiles/middlewares.js +54 -0
  621. package/.medusa/server/src/api/vendor/shipping-profiles/query-config.d.ts +11 -0
  622. package/.medusa/server/src/api/vendor/shipping-profiles/query-config.js +22 -0
  623. package/.medusa/server/src/api/vendor/shipping-profiles/route.d.ts +5 -0
  624. package/.medusa/server/src/api/vendor/shipping-profiles/route.js +35 -0
  625. package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +155 -0
  626. package/.medusa/server/src/api/vendor/shipping-profiles/validators.js +32 -0
  627. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-providers/route.d.ts +4 -0
  628. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-providers/route.js +30 -0
  629. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-sets/route.d.ts +4 -0
  630. package/.medusa/server/src/api/vendor/stock-locations/[id]/fulfillment-sets/route.js +23 -0
  631. package/.medusa/server/src/api/vendor/stock-locations/[id]/route.d.ts +6 -0
  632. package/.medusa/server/src/api/vendor/stock-locations/[id]/route.js +43 -0
  633. package/.medusa/server/src/api/vendor/stock-locations/[id]/sales-channels/route.d.ts +4 -0
  634. package/.medusa/server/src/api/vendor/stock-locations/[id]/sales-channels/route.js +22 -0
  635. package/.medusa/server/src/api/vendor/stock-locations/helpers.d.ts +3 -0
  636. package/.medusa/server/src/api/vendor/stock-locations/helpers.js +30 -0
  637. package/.medusa/server/src/api/vendor/stock-locations/middlewares.d.ts +2 -0
  638. package/.medusa/server/src/api/vendor/stock-locations/middlewares.js +79 -0
  639. package/.medusa/server/src/api/vendor/stock-locations/query-config.d.ts +11 -0
  640. package/.medusa/server/src/api/vendor/stock-locations/query-config.js +30 -0
  641. package/.medusa/server/src/api/vendor/stock-locations/route.d.ts +5 -0
  642. package/.medusa/server/src/api/vendor/stock-locations/route.js +35 -0
  643. package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +287 -0
  644. package/.medusa/server/src/api/vendor/stock-locations/validators.js +47 -0
  645. package/.medusa/server/src/api/vendor/stores/middlewares.d.ts +2 -0
  646. package/.medusa/server/src/api/vendor/stores/middlewares.js +16 -0
  647. package/.medusa/server/src/api/vendor/stores/query-config.d.ts +11 -0
  648. package/.medusa/server/src/api/vendor/stores/query-config.js +26 -0
  649. package/.medusa/server/src/api/vendor/stores/route.d.ts +3 -0
  650. package/.medusa/server/src/api/vendor/stores/route.js +21 -0
  651. package/.medusa/server/src/api/vendor/stores/validators.d.ts +40 -0
  652. package/.medusa/server/src/api/vendor/stores/validators.js +15 -0
  653. package/.medusa/server/src/api/vendor/subscription/middlewares.d.ts +2 -0
  654. package/.medusa/server/src/api/vendor/subscription/middlewares.js +28 -0
  655. package/.medusa/server/src/api/vendor/subscription/route.d.ts +3 -0
  656. package/.medusa/server/src/api/vendor/subscription/route.js +31 -0
  657. package/.medusa/server/src/api/vendor/uploads/middlewares.d.ts +2 -0
  658. package/.medusa/server/src/api/vendor/uploads/middlewares.js +16 -0
  659. package/.medusa/server/src/api/vendor/uploads/route.d.ts +3 -0
  660. package/.medusa/server/src/api/vendor/uploads/route.js +24 -0
  661. package/.medusa/server/src/feature-flags/seller-registration.d.ts +3 -0
  662. package/.medusa/server/src/feature-flags/seller-registration.js +10 -0
  663. package/.medusa/server/src/links/campaign-seller-link.d.ts +2 -0
  664. package/.medusa/server/src/links/campaign-seller-link.js +10 -0
  665. package/.medusa/server/src/links/category-attribute-link.d.ts +2 -0
  666. package/.medusa/server/src/links/category-attribute-link.js +16 -0
  667. package/.medusa/server/src/links/fulfillment-set-seller-link.d.ts +2 -0
  668. package/.medusa/server/src/links/fulfillment-set-seller-link.js +10 -0
  669. package/.medusa/server/src/links/inventory-item-seller-link.d.ts +2 -0
  670. package/.medusa/server/src/links/inventory-item-seller-link.js +10 -0
  671. package/.medusa/server/src/links/line-item-commission-line-link.d.ts +2 -0
  672. package/.medusa/server/src/links/line-item-commission-line-link.js +21 -0
  673. package/.medusa/server/src/links/order-group-cart-link.d.ts +2 -0
  674. package/.medusa/server/src/links/order-group-cart-link.js +15 -0
  675. package/.medusa/server/src/links/order-group-order-link.d.ts +2 -0
  676. package/.medusa/server/src/links/order-group-order-link.js +14 -0
  677. package/.medusa/server/src/links/order-payout-link.d.ts +2 -0
  678. package/.medusa/server/src/links/order-payout-link.js +13 -0
  679. package/.medusa/server/src/links/order-seller-link.d.ts +2 -0
  680. package/.medusa/server/src/links/order-seller-link.js +10 -0
  681. package/.medusa/server/src/links/payout-seller-link.d.ts +2 -0
  682. package/.medusa/server/src/links/payout-seller-link.js +13 -0
  683. package/.medusa/server/src/links/price-list-seller-link.d.ts +2 -0
  684. package/.medusa/server/src/links/price-list-seller-link.js +10 -0
  685. package/.medusa/server/src/links/product-attribute-value-link.d.ts +2 -0
  686. package/.medusa/server/src/links/product-attribute-value-link.js +16 -0
  687. package/.medusa/server/src/links/product-seller-link.d.ts +2 -0
  688. package/.medusa/server/src/links/product-seller-link.js +10 -0
  689. package/.medusa/server/src/links/product-vendor-product-attribute-link.d.ts +2 -0
  690. package/.medusa/server/src/links/product-vendor-product-attribute-link.js +16 -0
  691. package/.medusa/server/src/links/promotion-seller-link.d.ts +2 -0
  692. package/.medusa/server/src/links/promotion-seller-link.js +10 -0
  693. package/.medusa/server/src/links/seller-attribute-link.d.ts +2 -0
  694. package/.medusa/server/src/links/seller-attribute-link.js +13 -0
  695. package/.medusa/server/src/links/seller-attribute-value-link.d.ts +2 -0
  696. package/.medusa/server/src/links/seller-attribute-value-link.js +13 -0
  697. package/.medusa/server/src/links/seller-customer-link.d.ts +2 -0
  698. package/.medusa/server/src/links/seller-customer-link.js +10 -0
  699. package/.medusa/server/src/links/seller-member-rbac-role.d.ts +2 -0
  700. package/.medusa/server/src/links/seller-member-rbac-role.js +13 -0
  701. package/.medusa/server/src/links/seller-payout-account-link.d.ts +2 -0
  702. package/.medusa/server/src/links/seller-payout-account-link.js +10 -0
  703. package/.medusa/server/src/links/seller-vendor-product-attribute-link.d.ts +2 -0
  704. package/.medusa/server/src/links/seller-vendor-product-attribute-link.js +13 -0
  705. package/.medusa/server/src/links/service-zone-seller-link.d.ts +2 -0
  706. package/.medusa/server/src/links/service-zone-seller-link.js +10 -0
  707. package/.medusa/server/src/links/shipping-option-seller-link.d.ts +2 -0
  708. package/.medusa/server/src/links/shipping-option-seller-link.js +10 -0
  709. package/.medusa/server/src/links/shipping-profile-seller-link.d.ts +2 -0
  710. package/.medusa/server/src/links/shipping-profile-seller-link.js +10 -0
  711. package/.medusa/server/src/links/stock-location-seller-link.d.ts +2 -0
  712. package/.medusa/server/src/links/stock-location-seller-link.js +10 -0
  713. package/.medusa/server/src/modules/admin-ui/index.d.ts +5 -0
  714. package/.medusa/server/src/modules/admin-ui/index.js +12 -0
  715. package/.medusa/server/src/modules/admin-ui/services/admin-ui-module-service.d.ts +6 -0
  716. package/.medusa/server/src/modules/admin-ui/services/admin-ui-module-service.js +14 -0
  717. package/.medusa/server/src/modules/attribute/index.d.ts +51 -0
  718. package/.medusa/server/src/modules/attribute/index.js +15 -0
  719. package/.medusa/server/src/modules/attribute/migrations/Migration20260325000000.d.ts +5 -0
  720. package/.medusa/server/src/modules/attribute/migrations/Migration20260325000000.js +32 -0
  721. package/.medusa/server/src/modules/attribute/models/attribute-possible-value.d.ts +27 -0
  722. package/.medusa/server/src/modules/attribute/models/attribute-possible-value.js +26 -0
  723. package/.medusa/server/src/modules/attribute/models/attribute-value.d.ts +27 -0
  724. package/.medusa/server/src/modules/attribute/models/attribute-value.js +26 -0
  725. package/.medusa/server/src/modules/attribute/models/attribute.d.ts +28 -0
  726. package/.medusa/server/src/modules/attribute/models/attribute.js +36 -0
  727. package/.medusa/server/src/modules/attribute/models/index.d.ts +3 -0
  728. package/.medusa/server/src/modules/attribute/models/index.js +13 -0
  729. package/.medusa/server/src/modules/attribute/service.d.ts +105 -0
  730. package/.medusa/server/src/modules/attribute/service.js +74 -0
  731. package/.medusa/server/src/modules/codegen/index.d.ts +5 -0
  732. package/.medusa/server/src/modules/codegen/index.js +12 -0
  733. package/.medusa/server/src/modules/codegen/services/codegen-module-service.d.ts +13 -0
  734. package/.medusa/server/src/modules/codegen/services/codegen-module-service.js +51 -0
  735. package/.medusa/server/src/modules/commission/index.d.ts +49 -0
  736. package/.medusa/server/src/modules/commission/index.js +12 -0
  737. package/.medusa/server/src/modules/commission/migrations/Migration20260130132817.d.ts +5 -0
  738. package/.medusa/server/src/modules/commission/migrations/Migration20260130132817.js +26 -0
  739. package/.medusa/server/src/modules/commission/models/commission-line.d.ts +10 -0
  740. package/.medusa/server/src/modules/commission/models/commission-line.js +14 -0
  741. package/.medusa/server/src/modules/commission/models/commission-rate.d.ts +21 -0
  742. package/.medusa/server/src/modules/commission/models/commission-rate.js +26 -0
  743. package/.medusa/server/src/modules/commission/models/commission-rule.d.ts +20 -0
  744. package/.medusa/server/src/modules/commission/models/commission-rule.js +17 -0
  745. package/.medusa/server/src/modules/commission/models/index.d.ts +3 -0
  746. package/.medusa/server/src/modules/commission/models/index.js +13 -0
  747. package/.medusa/server/src/modules/commission/service.d.ts +63 -0
  748. package/.medusa/server/src/modules/commission/service.js +184 -0
  749. package/.medusa/server/src/modules/custom-fields/index.d.ts +8 -0
  750. package/.medusa/server/src/modules/custom-fields/index.js +15 -0
  751. package/.medusa/server/src/modules/custom-fields/loaders.d.ts +2 -0
  752. package/.medusa/server/src/modules/custom-fields/loaders.js +129 -0
  753. package/.medusa/server/src/modules/custom-fields/services/custom-fields-module-service.d.ts +27 -0
  754. package/.medusa/server/src/modules/custom-fields/services/custom-fields-module-service.js +139 -0
  755. package/.medusa/server/src/modules/custom-fields/utils/generate-entity.d.ts +13 -0
  756. package/.medusa/server/src/modules/custom-fields/utils/generate-entity.js +111 -0
  757. package/.medusa/server/src/modules/payout/index.d.ts +49 -0
  758. package/.medusa/server/src/modules/payout/index.js +14 -0
  759. package/.medusa/server/src/modules/payout/loaders/provider.d.ts +5 -0
  760. package/.medusa/server/src/modules/payout/loaders/provider.js +28 -0
  761. package/.medusa/server/src/modules/payout/migrations/Migration20260130132816.d.ts +5 -0
  762. package/.medusa/server/src/modules/payout/migrations/Migration20260130132816.js +42 -0
  763. package/.medusa/server/src/modules/payout/migrations/Migration20260216152209.d.ts +5 -0
  764. package/.medusa/server/src/modules/payout/migrations/Migration20260216152209.js +14 -0
  765. package/.medusa/server/src/modules/payout/migrations/Migration20260317000000.d.ts +5 -0
  766. package/.medusa/server/src/modules/payout/migrations/Migration20260317000000.js +26 -0
  767. package/.medusa/server/src/modules/payout/migrations/Migration20260323170925.d.ts +5 -0
  768. package/.medusa/server/src/modules/payout/migrations/Migration20260323170925.js +24 -0
  769. package/.medusa/server/src/modules/payout/models/index.d.ts +3 -0
  770. package/.medusa/server/src/modules/payout/models/index.js +10 -0
  771. package/.medusa/server/src/modules/payout/models/onboarding.d.ts +21 -0
  772. package/.medusa/server/src/modules/payout/models/onboarding.js +14 -0
  773. package/.medusa/server/src/modules/payout/models/payout-account.d.ts +27 -0
  774. package/.medusa/server/src/modules/payout/models/payout-account.js +20 -0
  775. package/.medusa/server/src/modules/payout/models/payout.d.ts +27 -0
  776. package/.medusa/server/src/modules/payout/models/payout.js +18 -0
  777. package/.medusa/server/src/modules/payout/providers/index.d.ts +1 -0
  778. package/.medusa/server/src/modules/payout/providers/index.js +6 -0
  779. package/.medusa/server/src/modules/payout/providers/system.d.ts +8 -0
  780. package/.medusa/server/src/modules/payout/providers/system.js +32 -0
  781. package/.medusa/server/src/modules/payout/services/index.d.ts +2 -0
  782. package/.medusa/server/src/modules/payout/services/index.js +24 -0
  783. package/.medusa/server/src/modules/payout/services/payout-module-service.d.ts +106 -0
  784. package/.medusa/server/src/modules/payout/services/payout-module-service.js +156 -0
  785. package/.medusa/server/src/modules/payout/services/provider-service.d.ts +17 -0
  786. package/.medusa/server/src/modules/payout/services/provider-service.js +32 -0
  787. package/.medusa/server/src/modules/seller/index.d.ts +119 -0
  788. package/.medusa/server/src/modules/seller/index.js +14 -0
  789. package/.medusa/server/src/modules/seller/loaders/register-feature-flags.d.ts +8 -0
  790. package/.medusa/server/src/modules/seller/loaders/register-feature-flags.js +18 -0
  791. package/.medusa/server/src/modules/seller/migrations/Migration20260324104737.d.ts +5 -0
  792. package/.medusa/server/src/modules/seller/migrations/Migration20260324104737.js +67 -0
  793. package/.medusa/server/src/modules/seller/migrations/Migration20260330093053.d.ts +5 -0
  794. package/.medusa/server/src/modules/seller/migrations/Migration20260330093053.js +16 -0
  795. package/.medusa/server/src/modules/seller/migrations/Migration20260331113435.d.ts +5 -0
  796. package/.medusa/server/src/modules/seller/migrations/Migration20260331113435.js +15 -0
  797. package/.medusa/server/src/modules/seller/migrations/Migration20260401093720.d.ts +5 -0
  798. package/.medusa/server/src/modules/seller/migrations/Migration20260401093720.js +16 -0
  799. package/.medusa/server/src/modules/seller/migrations/Migration20260410120000.d.ts +5 -0
  800. package/.medusa/server/src/modules/seller/migrations/Migration20260410120000.js +16 -0
  801. package/.medusa/server/src/modules/seller/models/address.d.ts +71 -0
  802. package/.medusa/server/src/modules/seller/models/address.js +26 -0
  803. package/.medusa/server/src/modules/seller/models/index.d.ts +8 -0
  804. package/.medusa/server/src/modules/seller/models/index.js +23 -0
  805. package/.medusa/server/src/modules/seller/models/member-invite.d.ts +71 -0
  806. package/.medusa/server/src/modules/seller/models/member-invite.js +33 -0
  807. package/.medusa/server/src/modules/seller/models/member.d.ts +71 -0
  808. package/.medusa/server/src/modules/seller/models/member.js +29 -0
  809. package/.medusa/server/src/modules/seller/models/order-group.d.ts +9 -0
  810. package/.medusa/server/src/modules/seller/models/order-group.js +13 -0
  811. package/.medusa/server/src/modules/seller/models/payment-details.d.ts +71 -0
  812. package/.medusa/server/src/modules/seller/models/payment-details.js +22 -0
  813. package/.medusa/server/src/modules/seller/models/professional-details.d.ts +71 -0
  814. package/.medusa/server/src/modules/seller/models/professional-details.js +18 -0
  815. package/.medusa/server/src/modules/seller/models/seller-member.d.ts +147 -0
  816. package/.medusa/server/src/modules/seller/models/seller-member.js +29 -0
  817. package/.medusa/server/src/modules/seller/models/seller.d.ts +72 -0
  818. package/.medusa/server/src/modules/seller/models/seller.js +83 -0
  819. package/.medusa/server/src/modules/seller/repositories/index.d.ts +1 -0
  820. package/.medusa/server/src/modules/seller/repositories/index.js +6 -0
  821. package/.medusa/server/src/modules/seller/repositories/order-group.d.ts +18 -0
  822. package/.medusa/server/src/modules/seller/repositories/order-group.js +179 -0
  823. package/.medusa/server/src/modules/seller/service.d.ts +603 -0
  824. package/.medusa/server/src/modules/seller/service.js +252 -0
  825. package/.medusa/server/src/modules/subscription/index.d.ts +35 -0
  826. package/.medusa/server/src/modules/subscription/index.js +12 -0
  827. package/.medusa/server/src/modules/subscription/migrations/Migration20260324135903.d.ts +5 -0
  828. package/.medusa/server/src/modules/subscription/migrations/Migration20260324135903.js +24 -0
  829. package/.medusa/server/src/modules/subscription/models/index.d.ts +2 -0
  830. package/.medusa/server/src/modules/subscription/models/index.js +11 -0
  831. package/.medusa/server/src/modules/subscription/models/subscription-override.d.ts +20 -0
  832. package/.medusa/server/src/modules/subscription/models/subscription-override.js +36 -0
  833. package/.medusa/server/src/modules/subscription/models/subscription-plan.d.ts +20 -0
  834. package/.medusa/server/src/modules/subscription/models/subscription-plan.js +32 -0
  835. package/.medusa/server/src/modules/subscription/service.d.ts +49 -0
  836. package/.medusa/server/src/modules/subscription/service.js +17 -0
  837. package/.medusa/server/src/modules/vendor-product-attribute/index.d.ts +23 -0
  838. package/.medusa/server/src/modules/vendor-product-attribute/index.js +15 -0
  839. package/.medusa/server/src/modules/vendor-product-attribute/migrations/Migration20260325000000.d.ts +5 -0
  840. package/.medusa/server/src/modules/vendor-product-attribute/migrations/Migration20260325000000.js +16 -0
  841. package/.medusa/server/src/modules/vendor-product-attribute/models/vendor-product-attribute.d.ts +11 -0
  842. package/.medusa/server/src/modules/vendor-product-attribute/models/vendor-product-attribute.js +24 -0
  843. package/.medusa/server/src/modules/vendor-product-attribute/service.d.ts +14 -0
  844. package/.medusa/server/src/modules/vendor-product-attribute/service.js +13 -0
  845. package/.medusa/server/src/modules/vendor-ui/index.d.ts +5 -0
  846. package/.medusa/server/src/modules/vendor-ui/index.js +12 -0
  847. package/.medusa/server/src/modules/vendor-ui/services/vendor-ui-module-service.d.ts +6 -0
  848. package/.medusa/server/src/modules/vendor-ui/services/vendor-ui-module-service.js +14 -0
  849. package/.medusa/server/src/policies/seller.d.ts +1 -0
  850. package/.medusa/server/src/policies/seller.js +22 -0
  851. package/.medusa/server/src/subscribers/payout-webhook.d.ts +4 -0
  852. package/.medusa/server/src/subscribers/payout-webhook.js +27 -0
  853. package/.medusa/server/src/types/seller-context.d.ts +11 -0
  854. package/.medusa/server/src/types/seller-context.js +3 -0
  855. package/.medusa/server/src/utils/dashboard/dashboard-base.d.ts +31 -0
  856. package/.medusa/server/src/utils/dashboard/dashboard-base.js +141 -0
  857. package/.medusa/server/src/with-mercur.d.ts +11 -0
  858. package/.medusa/server/src/with-mercur.js +44 -0
  859. package/.medusa/server/src/workflows/attribute/index.d.ts +2 -0
  860. package/.medusa/server/src/workflows/attribute/index.js +19 -0
  861. package/.medusa/server/src/workflows/attribute/steps/create-attribute-possible-values.d.ts +40 -0
  862. package/.medusa/server/src/workflows/attribute/steps/create-attribute-possible-values.js +18 -0
  863. package/.medusa/server/src/workflows/attribute/steps/create-attributes.d.ts +5 -0
  864. package/.medusa/server/src/workflows/attribute/steps/create-attributes.js +32 -0
  865. package/.medusa/server/src/workflows/attribute/steps/delete-attribute.d.ts +6 -0
  866. package/.medusa/server/src/workflows/attribute/steps/delete-attribute.js +31 -0
  867. package/.medusa/server/src/workflows/attribute/steps/index.d.ts +7 -0
  868. package/.medusa/server/src/workflows/attribute/steps/index.js +24 -0
  869. package/.medusa/server/src/workflows/attribute/steps/update-attribute-possible-value.d.ts +39 -0
  870. package/.medusa/server/src/workflows/attribute/steps/update-attribute-possible-value.js +18 -0
  871. package/.medusa/server/src/workflows/attribute/steps/update-attributes.d.ts +21 -0
  872. package/.medusa/server/src/workflows/attribute/steps/update-attributes.js +37 -0
  873. package/.medusa/server/src/workflows/attribute/steps/validate-attribute-delete.d.ts +6 -0
  874. package/.medusa/server/src/workflows/attribute/steps/validate-attribute-delete.js +50 -0
  875. package/.medusa/server/src/workflows/attribute/steps/validate-possible-values-removal.d.ts +7 -0
  876. package/.medusa/server/src/workflows/attribute/steps/validate-possible-values-removal.js +70 -0
  877. package/.medusa/server/src/workflows/attribute/workflows/create-attribute-possible-values.d.ts +39 -0
  878. package/.medusa/server/src/workflows/attribute/workflows/create-attribute-possible-values.js +11 -0
  879. package/.medusa/server/src/workflows/attribute/workflows/create-attributes.d.ts +7 -0
  880. package/.medusa/server/src/workflows/attribute/workflows/create-attributes.js +40 -0
  881. package/.medusa/server/src/workflows/attribute/workflows/delete-attribute.d.ts +6 -0
  882. package/.medusa/server/src/workflows/attribute/workflows/delete-attribute.js +11 -0
  883. package/.medusa/server/src/workflows/attribute/workflows/index.d.ts +5 -0
  884. package/.medusa/server/src/workflows/attribute/workflows/index.js +22 -0
  885. package/.medusa/server/src/workflows/attribute/workflows/update-attribute-possible-value.d.ts +39 -0
  886. package/.medusa/server/src/workflows/attribute/workflows/update-attribute-possible-value.js +11 -0
  887. package/.medusa/server/src/workflows/attribute/workflows/update-attributes.d.ts +24 -0
  888. package/.medusa/server/src/workflows/attribute/workflows/update-attributes.js +69 -0
  889. package/.medusa/server/src/workflows/campaign/index.d.ts +2 -0
  890. package/.medusa/server/src/workflows/campaign/index.js +19 -0
  891. package/.medusa/server/src/workflows/campaign/steps/index.d.ts +1 -0
  892. package/.medusa/server/src/workflows/campaign/steps/index.js +18 -0
  893. package/.medusa/server/src/workflows/campaign/steps/link-seller-campaign.d.ts +6 -0
  894. package/.medusa/server/src/workflows/campaign/steps/link-seller-campaign.js +36 -0
  895. package/.medusa/server/src/workflows/campaign/workflows/create-seller-campaigns.d.ts +7 -0
  896. package/.medusa/server/src/workflows/campaign/workflows/create-seller-campaigns.js +20 -0
  897. package/.medusa/server/src/workflows/campaign/workflows/index.d.ts +1 -0
  898. package/.medusa/server/src/workflows/campaign/workflows/index.js +18 -0
  899. package/.medusa/server/src/workflows/cart/index.d.ts +2 -0
  900. package/.medusa/server/src/workflows/cart/index.js +19 -0
  901. package/.medusa/server/src/workflows/cart/steps/index.d.ts +2 -0
  902. package/.medusa/server/src/workflows/cart/steps/index.js +19 -0
  903. package/.medusa/server/src/workflows/cart/steps/prepare-adjustments-from-promotion-actions.d.ts +6 -0
  904. package/.medusa/server/src/workflows/cart/steps/prepare-adjustments-from-promotion-actions.js +106 -0
  905. package/.medusa/server/src/workflows/cart/steps/validate-seller-cart-items.d.ts +15 -0
  906. package/.medusa/server/src/workflows/cart/steps/validate-seller-cart-items.js +17 -0
  907. package/.medusa/server/src/workflows/cart/steps/validate-seller-cart-shipping.d.ts +18 -0
  908. package/.medusa/server/src/workflows/cart/steps/validate-seller-cart-shipping.js +18 -0
  909. package/.medusa/server/src/workflows/cart/utils/fields.d.ts +3 -0
  910. package/.medusa/server/src/workflows/cart/utils/fields.js +154 -0
  911. package/.medusa/server/src/workflows/cart/utils/index.d.ts +4 -0
  912. package/.medusa/server/src/workflows/cart/utils/index.js +21 -0
  913. package/.medusa/server/src/workflows/cart/utils/prepare-confirm-inventory-input.d.ts +28 -0
  914. package/.medusa/server/src/workflows/cart/utils/prepare-confirm-inventory-input.js +165 -0
  915. package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.d.ts +71 -0
  916. package/.medusa/server/src/workflows/cart/utils/prepare-line-item-data.js +90 -0
  917. package/.medusa/server/src/workflows/cart/utils/schemas.d.ts +3 -0
  918. package/.medusa/server/src/workflows/cart/utils/schemas.js +7 -0
  919. package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.d.ts +7 -0
  920. package/.medusa/server/src/workflows/cart/workflows/add-seller-shipping-method-to-cart.js +130 -0
  921. package/.medusa/server/src/workflows/cart/workflows/complete-cart-with-split-orders.d.ts +13 -0
  922. package/.medusa/server/src/workflows/cart/workflows/complete-cart-with-split-orders.js +379 -0
  923. package/.medusa/server/src/workflows/cart/workflows/index.d.ts +4 -0
  924. package/.medusa/server/src/workflows/cart/workflows/index.js +21 -0
  925. package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.d.ts +21 -0
  926. package/.medusa/server/src/workflows/cart/workflows/list-seller-shipping-options-for-cart.js +217 -0
  927. package/.medusa/server/src/workflows/cart/workflows/update-cart-seller-promotions.d.ts +5 -0
  928. package/.medusa/server/src/workflows/cart/workflows/update-cart-seller-promotions.js +74 -0
  929. package/.medusa/server/src/workflows/commission/index.d.ts +2 -0
  930. package/.medusa/server/src/workflows/commission/index.js +19 -0
  931. package/.medusa/server/src/workflows/commission/steps/create-commission-rates.d.ts +30 -0
  932. package/.medusa/server/src/workflows/commission/steps/create-commission-rates.js +17 -0
  933. package/.medusa/server/src/workflows/commission/steps/create-commission-rules.d.ts +34 -0
  934. package/.medusa/server/src/workflows/commission/steps/create-commission-rules.js +21 -0
  935. package/.medusa/server/src/workflows/commission/steps/delete-commission-rates.d.ts +2 -0
  936. package/.medusa/server/src/workflows/commission/steps/delete-commission-rates.js +17 -0
  937. package/.medusa/server/src/workflows/commission/steps/delete-commission-rules.d.ts +2 -0
  938. package/.medusa/server/src/workflows/commission/steps/delete-commission-rules.js +24 -0
  939. package/.medusa/server/src/workflows/commission/steps/get-commission-lines.d.ts +3 -0
  940. package/.medusa/server/src/workflows/commission/steps/get-commission-lines.js +15 -0
  941. package/.medusa/server/src/workflows/commission/steps/index.d.ts +8 -0
  942. package/.medusa/server/src/workflows/commission/steps/index.js +25 -0
  943. package/.medusa/server/src/workflows/commission/steps/update-commission-rates.d.ts +30 -0
  944. package/.medusa/server/src/workflows/commission/steps/update-commission-rates.js +17 -0
  945. package/.medusa/server/src/workflows/commission/steps/update-commission-rules.d.ts +30 -0
  946. package/.medusa/server/src/workflows/commission/steps/update-commission-rules.js +24 -0
  947. package/.medusa/server/src/workflows/commission/steps/upsert-commission-lines.d.ts +7 -0
  948. package/.medusa/server/src/workflows/commission/steps/upsert-commission-lines.js +12 -0
  949. package/.medusa/server/src/workflows/commission/workflows/batch-commission-rules.d.ts +9 -0
  950. package/.medusa/server/src/workflows/commission/workflows/batch-commission-rules.js +19 -0
  951. package/.medusa/server/src/workflows/commission/workflows/create-commission-rates.d.ts +30 -0
  952. package/.medusa/server/src/workflows/commission/workflows/create-commission-rates.js +11 -0
  953. package/.medusa/server/src/workflows/commission/workflows/delete-commission-rates.d.ts +8 -0
  954. package/.medusa/server/src/workflows/commission/workflows/delete-commission-rates.js +16 -0
  955. package/.medusa/server/src/workflows/commission/workflows/index.d.ts +5 -0
  956. package/.medusa/server/src/workflows/commission/workflows/index.js +22 -0
  957. package/.medusa/server/src/workflows/commission/workflows/refresh-order-commission-lines.d.ts +6 -0
  958. package/.medusa/server/src/workflows/commission/workflows/refresh-order-commission-lines.js +79 -0
  959. package/.medusa/server/src/workflows/commission/workflows/update-commission-rates.d.ts +30 -0
  960. package/.medusa/server/src/workflows/commission/workflows/update-commission-rates.js +11 -0
  961. package/.medusa/server/src/workflows/custom-fields/index.d.ts +1 -0
  962. package/.medusa/server/src/workflows/custom-fields/index.js +18 -0
  963. package/.medusa/server/src/workflows/custom-fields/steps/delete-custom-fields.d.ts +6 -0
  964. package/.medusa/server/src/workflows/custom-fields/steps/delete-custom-fields.js +11 -0
  965. package/.medusa/server/src/workflows/custom-fields/steps/index.d.ts +2 -0
  966. package/.medusa/server/src/workflows/custom-fields/steps/index.js +19 -0
  967. package/.medusa/server/src/workflows/custom-fields/steps/upsert-custom-fields.d.ts +15 -0
  968. package/.medusa/server/src/workflows/custom-fields/steps/upsert-custom-fields.js +11 -0
  969. package/.medusa/server/src/workflows/events.d.ts +36 -0
  970. package/.medusa/server/src/workflows/events.js +40 -0
  971. package/.medusa/server/src/workflows/hooks/product-created.d.ts +1 -0
  972. package/.medusa/server/src/workflows/hooks/product-created.js +75 -0
  973. package/.medusa/server/src/workflows/hooks/product-variant-created.d.ts +1 -0
  974. package/.medusa/server/src/workflows/hooks/product-variant-created.js +50 -0
  975. package/.medusa/server/src/workflows/index.d.ts +15 -0
  976. package/.medusa/server/src/workflows/index.js +32 -0
  977. package/.medusa/server/src/workflows/inventory-item/index.d.ts +2 -0
  978. package/.medusa/server/src/workflows/inventory-item/index.js +19 -0
  979. package/.medusa/server/src/workflows/inventory-item/steps/index.d.ts +1 -0
  980. package/.medusa/server/src/workflows/inventory-item/steps/index.js +18 -0
  981. package/.medusa/server/src/workflows/inventory-item/steps/link-seller-inventory-item.d.ts +6 -0
  982. package/.medusa/server/src/workflows/inventory-item/steps/link-seller-inventory-item.js +36 -0
  983. package/.medusa/server/src/workflows/inventory-item/workflows/create-seller-inventory-items.d.ts +7 -0
  984. package/.medusa/server/src/workflows/inventory-item/workflows/create-seller-inventory-items.js +20 -0
  985. package/.medusa/server/src/workflows/inventory-item/workflows/index.d.ts +1 -0
  986. package/.medusa/server/src/workflows/inventory-item/workflows/index.js +18 -0
  987. package/.medusa/server/src/workflows/order-group/index.d.ts +3 -0
  988. package/.medusa/server/src/workflows/order-group/index.js +20 -0
  989. package/.medusa/server/src/workflows/order-group/steps/create-order-group.d.ts +12 -0
  990. package/.medusa/server/src/workflows/order-group/steps/create-order-group.js +17 -0
  991. package/.medusa/server/src/workflows/order-group/steps/index.d.ts +1 -0
  992. package/.medusa/server/src/workflows/order-group/steps/index.js +18 -0
  993. package/.medusa/server/src/workflows/order-group/utils/aggregate-status.d.ts +3 -0
  994. package/.medusa/server/src/workflows/order-group/utils/aggregate-status.js +141 -0
  995. package/.medusa/server/src/workflows/order-group/workflows/get-order-group-detail.d.ts +6 -0
  996. package/.medusa/server/src/workflows/order-group/workflows/get-order-group-detail.js +61 -0
  997. package/.medusa/server/src/workflows/order-group/workflows/get-order-groups-list.d.ts +10 -0
  998. package/.medusa/server/src/workflows/order-group/workflows/get-order-groups-list.js +67 -0
  999. package/.medusa/server/src/workflows/payout/index.d.ts +2 -0
  1000. package/.medusa/server/src/workflows/payout/index.js +19 -0
  1001. package/.medusa/server/src/workflows/payout/steps/create-onboarding.d.ts +2 -0
  1002. package/.medusa/server/src/workflows/payout/steps/create-onboarding.js +11 -0
  1003. package/.medusa/server/src/workflows/payout/steps/create-payout-account.d.ts +2 -0
  1004. package/.medusa/server/src/workflows/payout/steps/create-payout-account.js +11 -0
  1005. package/.medusa/server/src/workflows/payout/steps/create-payout.d.ts +3 -0
  1006. package/.medusa/server/src/workflows/payout/steps/create-payout.js +12 -0
  1007. package/.medusa/server/src/workflows/payout/steps/index.d.ts +6 -0
  1008. package/.medusa/server/src/workflows/payout/steps/index.js +23 -0
  1009. package/.medusa/server/src/workflows/payout/steps/update-payout-account.d.ts +35 -0
  1010. package/.medusa/server/src/workflows/payout/steps/update-payout-account.js +27 -0
  1011. package/.medusa/server/src/workflows/payout/steps/update-payout.d.ts +35 -0
  1012. package/.medusa/server/src/workflows/payout/steps/update-payout.js +27 -0
  1013. package/.medusa/server/src/workflows/payout/steps/validate-seller-payout-account.d.ts +5 -0
  1014. package/.medusa/server/src/workflows/payout/steps/validate-seller-payout-account.js +21 -0
  1015. package/.medusa/server/src/workflows/payout/workflows/create-onboarding.d.ts +2 -0
  1016. package/.medusa/server/src/workflows/payout/workflows/create-onboarding.js +10 -0
  1017. package/.medusa/server/src/workflows/payout/workflows/create-payout-account.d.ts +6 -0
  1018. package/.medusa/server/src/workflows/payout/workflows/create-payout-account.js +28 -0
  1019. package/.medusa/server/src/workflows/payout/workflows/create-payout.d.ts +6 -0
  1020. package/.medusa/server/src/workflows/payout/workflows/create-payout.js +70 -0
  1021. package/.medusa/server/src/workflows/payout/workflows/index.d.ts +4 -0
  1022. package/.medusa/server/src/workflows/payout/workflows/index.js +21 -0
  1023. package/.medusa/server/src/workflows/payout/workflows/process-payout-for-webhook.d.ts +5 -0
  1024. package/.medusa/server/src/workflows/payout/workflows/process-payout-for-webhook.js +67 -0
  1025. package/.medusa/server/src/workflows/price-list/index.d.ts +2 -0
  1026. package/.medusa/server/src/workflows/price-list/index.js +19 -0
  1027. package/.medusa/server/src/workflows/price-list/steps/index.d.ts +1 -0
  1028. package/.medusa/server/src/workflows/price-list/steps/index.js +18 -0
  1029. package/.medusa/server/src/workflows/price-list/steps/link-seller-price-list.d.ts +6 -0
  1030. package/.medusa/server/src/workflows/price-list/steps/link-seller-price-list.js +36 -0
  1031. package/.medusa/server/src/workflows/price-list/workflows/create-seller-price-lists.d.ts +7 -0
  1032. package/.medusa/server/src/workflows/price-list/workflows/create-seller-price-lists.js +20 -0
  1033. package/.medusa/server/src/workflows/price-list/workflows/index.d.ts +1 -0
  1034. package/.medusa/server/src/workflows/price-list/workflows/index.js +18 -0
  1035. package/.medusa/server/src/workflows/product-attribute/steps/create-attribute-value.d.ts +39 -0
  1036. package/.medusa/server/src/workflows/product-attribute/steps/create-attribute-value.js +21 -0
  1037. package/.medusa/server/src/workflows/product-attribute/steps/create-attribute-values.d.ts +12 -0
  1038. package/.medusa/server/src/workflows/product-attribute/steps/create-attribute-values.js +24 -0
  1039. package/.medusa/server/src/workflows/product-attribute/steps/create-vendor-product-attribute.d.ts +14 -0
  1040. package/.medusa/server/src/workflows/product-attribute/steps/create-vendor-product-attribute.js +18 -0
  1041. package/.medusa/server/src/workflows/product-attribute/steps/delete-attribute-value.d.ts +2 -0
  1042. package/.medusa/server/src/workflows/product-attribute/steps/delete-attribute-value.js +18 -0
  1043. package/.medusa/server/src/workflows/product-attribute/steps/index.d.ts +7 -0
  1044. package/.medusa/server/src/workflows/product-attribute/steps/index.js +24 -0
  1045. package/.medusa/server/src/workflows/product-attribute/steps/restore-variant-image-associations.d.ts +10 -0
  1046. package/.medusa/server/src/workflows/product-attribute/steps/restore-variant-image-associations.js +49 -0
  1047. package/.medusa/server/src/workflows/product-attribute/steps/save-variant-image-associations.d.ts +8 -0
  1048. package/.medusa/server/src/workflows/product-attribute/steps/save-variant-image-associations.js +29 -0
  1049. package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-value.d.ts +3 -0
  1050. package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-value.js +59 -0
  1051. package/.medusa/server/src/workflows/product-attribute/utils/find-or-create-vendor-attribute.d.ts +13 -0
  1052. package/.medusa/server/src/workflows/product-attribute/utils/find-or-create-vendor-attribute.js +56 -0
  1053. package/.medusa/server/src/workflows/product-attribute/utils/get-applicable-attributes.d.ts +2 -0
  1054. package/.medusa/server/src/workflows/product-attribute/utils/get-applicable-attributes.js +58 -0
  1055. package/.medusa/server/src/workflows/product-attribute/utils/products-created-handler.d.ts +8 -0
  1056. package/.medusa/server/src/workflows/product-attribute/utils/products-created-handler.js +100 -0
  1057. package/.medusa/server/src/workflows/product-attribute/workflows/convert-attribute-to-option.d.ts +3 -0
  1058. package/.medusa/server/src/workflows/product-attribute/workflows/convert-attribute-to-option.js +46 -0
  1059. package/.medusa/server/src/workflows/product-attribute/workflows/convert-option-to-attribute.d.ts +3 -0
  1060. package/.medusa/server/src/workflows/product-attribute/workflows/convert-option-to-attribute.js +29 -0
  1061. package/.medusa/server/src/workflows/product-attribute/workflows/create-and-link-attribute-values.d.ts +16 -0
  1062. package/.medusa/server/src/workflows/product-attribute/workflows/create-and-link-attribute-values.js +72 -0
  1063. package/.medusa/server/src/workflows/product-attribute/workflows/create-attribute-value.d.ts +39 -0
  1064. package/.medusa/server/src/workflows/product-attribute/workflows/create-attribute-value.js +35 -0
  1065. package/.medusa/server/src/workflows/product-attribute/workflows/create-vendor-product-attribute.d.ts +24 -0
  1066. package/.medusa/server/src/workflows/product-attribute/workflows/create-vendor-product-attribute.js +42 -0
  1067. package/.medusa/server/src/workflows/product-attribute/workflows/delete-attribute-value.d.ts +3 -0
  1068. package/.medusa/server/src/workflows/product-attribute/workflows/delete-attribute-value.js +59 -0
  1069. package/.medusa/server/src/workflows/product-attribute/workflows/index.d.ts +8 -0
  1070. package/.medusa/server/src/workflows/product-attribute/workflows/index.js +25 -0
  1071. package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-values.d.ts +20 -0
  1072. package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-values.js +67 -0
  1073. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-with-variant-images.d.ts +11 -0
  1074. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-with-variant-images.js +34 -0
  1075. package/.medusa/server/src/workflows/promotion/index.d.ts +2 -0
  1076. package/.medusa/server/src/workflows/promotion/index.js +19 -0
  1077. package/.medusa/server/src/workflows/promotion/steps/index.d.ts +2 -0
  1078. package/.medusa/server/src/workflows/promotion/steps/index.js +19 -0
  1079. package/.medusa/server/src/workflows/promotion/steps/link-seller-promotion.d.ts +6 -0
  1080. package/.medusa/server/src/workflows/promotion/steps/link-seller-promotion.js +36 -0
  1081. package/.medusa/server/src/workflows/promotion/steps/register-usage.d.ts +11 -0
  1082. package/.medusa/server/src/workflows/promotion/steps/register-usage.js +27 -0
  1083. package/.medusa/server/src/workflows/promotion/workflows/create-seller-promotions.d.ts +7 -0
  1084. package/.medusa/server/src/workflows/promotion/workflows/create-seller-promotions.js +20 -0
  1085. package/.medusa/server/src/workflows/promotion/workflows/index.d.ts +1 -0
  1086. package/.medusa/server/src/workflows/promotion/workflows/index.js +18 -0
  1087. package/.medusa/server/src/workflows/seller/index.d.ts +2 -0
  1088. package/.medusa/server/src/workflows/seller/index.js +19 -0
  1089. package/.medusa/server/src/workflows/seller/steps/create-member-invites.d.ts +8 -0
  1090. package/.medusa/server/src/workflows/seller/steps/create-member-invites.js +17 -0
  1091. package/.medusa/server/src/workflows/seller/steps/create-seller-default-roles.d.ts +2 -0
  1092. package/.medusa/server/src/workflows/seller/steps/create-seller-default-roles.js +88 -0
  1093. package/.medusa/server/src/workflows/seller/steps/create-seller-member.d.ts +200 -0
  1094. package/.medusa/server/src/workflows/seller/steps/create-seller-member.js +17 -0
  1095. package/.medusa/server/src/workflows/seller/steps/create-seller.d.ts +2 -0
  1096. package/.medusa/server/src/workflows/seller/steps/create-seller.js +17 -0
  1097. package/.medusa/server/src/workflows/seller/steps/delete-member-invite.d.ts +1 -0
  1098. package/.medusa/server/src/workflows/seller/steps/delete-member-invite.js +11 -0
  1099. package/.medusa/server/src/workflows/seller/steps/delete-seller-member.d.ts +1 -0
  1100. package/.medusa/server/src/workflows/seller/steps/delete-seller-member.js +11 -0
  1101. package/.medusa/server/src/workflows/seller/steps/delete-seller-professional-details.d.ts +3 -0
  1102. package/.medusa/server/src/workflows/seller/steps/delete-seller-professional-details.js +28 -0
  1103. package/.medusa/server/src/workflows/seller/steps/delete-seller.d.ts +1 -0
  1104. package/.medusa/server/src/workflows/seller/steps/delete-seller.js +17 -0
  1105. package/.medusa/server/src/workflows/seller/steps/index.d.ts +23 -0
  1106. package/.medusa/server/src/workflows/seller/steps/index.js +40 -0
  1107. package/.medusa/server/src/workflows/seller/steps/send-invitation-email.d.ts +6 -0
  1108. package/.medusa/server/src/workflows/seller/steps/send-invitation-email.js +62 -0
  1109. package/.medusa/server/src/workflows/seller/steps/update-payment-details.d.ts +5 -0
  1110. package/.medusa/server/src/workflows/seller/steps/update-payment-details.js +36 -0
  1111. package/.medusa/server/src/workflows/seller/steps/update-seller-address.d.ts +5 -0
  1112. package/.medusa/server/src/workflows/seller/steps/update-seller-address.js +36 -0
  1113. package/.medusa/server/src/workflows/seller/steps/update-seller-member.d.ts +200 -0
  1114. package/.medusa/server/src/workflows/seller/steps/update-seller-member.js +19 -0
  1115. package/.medusa/server/src/workflows/seller/steps/update-seller-professional-details.d.ts +5 -0
  1116. package/.medusa/server/src/workflows/seller/steps/update-seller-professional-details.js +36 -0
  1117. package/.medusa/server/src/workflows/seller/steps/update-seller.d.ts +7 -0
  1118. package/.medusa/server/src/workflows/seller/steps/update-seller.js +18 -0
  1119. package/.medusa/server/src/workflows/seller/steps/upsert-member.d.ts +3 -0
  1120. package/.medusa/server/src/workflows/seller/steps/upsert-member.js +11 -0
  1121. package/.medusa/server/src/workflows/seller/steps/validate-approve-seller.d.ts +4 -0
  1122. package/.medusa/server/src/workflows/seller/steps/validate-approve-seller.js +12 -0
  1123. package/.medusa/server/src/workflows/seller/steps/validate-member-invite-token.d.ts +1 -0
  1124. package/.medusa/server/src/workflows/seller/steps/validate-member-invite-token.js +11 -0
  1125. package/.medusa/server/src/workflows/seller/steps/validate-not-owner.d.ts +1 -0
  1126. package/.medusa/server/src/workflows/seller/steps/validate-not-owner.js +14 -0
  1127. package/.medusa/server/src/workflows/seller/steps/validate-remove-seller-member.d.ts +3 -0
  1128. package/.medusa/server/src/workflows/seller/steps/validate-remove-seller-member.js +14 -0
  1129. package/.medusa/server/src/workflows/seller/steps/validate-suspend-seller.d.ts +4 -0
  1130. package/.medusa/server/src/workflows/seller/steps/validate-suspend-seller.js +15 -0
  1131. package/.medusa/server/src/workflows/seller/steps/validate-terminate-seller.d.ts +4 -0
  1132. package/.medusa/server/src/workflows/seller/steps/validate-terminate-seller.js +15 -0
  1133. package/.medusa/server/src/workflows/seller/steps/validate-unsuspend-seller.d.ts +4 -0
  1134. package/.medusa/server/src/workflows/seller/steps/validate-unsuspend-seller.js +12 -0
  1135. package/.medusa/server/src/workflows/seller/steps/validate-unterminate-seller.d.ts +4 -0
  1136. package/.medusa/server/src/workflows/seller/steps/validate-unterminate-seller.js +12 -0
  1137. package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.d.ts +8 -0
  1138. package/.medusa/server/src/workflows/seller/workflows/accept-member-invite.js +32 -0
  1139. package/.medusa/server/src/workflows/seller/workflows/add-seller-member.d.ts +202 -0
  1140. package/.medusa/server/src/workflows/seller/workflows/add-seller-member.js +25 -0
  1141. package/.medusa/server/src/workflows/seller/workflows/approve-seller.d.ts +8 -0
  1142. package/.medusa/server/src/workflows/seller/workflows/approve-seller.js +36 -0
  1143. package/.medusa/server/src/workflows/seller/workflows/create-member-invites.d.ts +8 -0
  1144. package/.medusa/server/src/workflows/seller/workflows/create-member-invites.js +17 -0
  1145. package/.medusa/server/src/workflows/seller/workflows/create-seller-account.d.ts +15 -0
  1146. package/.medusa/server/src/workflows/seller/workflows/create-seller-account.js +72 -0
  1147. package/.medusa/server/src/workflows/seller/workflows/create-seller-defaults.d.ts +2 -0
  1148. package/.medusa/server/src/workflows/seller/workflows/create-seller-defaults.js +11 -0
  1149. package/.medusa/server/src/workflows/seller/workflows/create-sellers.d.ts +3 -0
  1150. package/.medusa/server/src/workflows/seller/workflows/create-sellers.js +31 -0
  1151. package/.medusa/server/src/workflows/seller/workflows/delete-seller-professional-details.d.ts +8 -0
  1152. package/.medusa/server/src/workflows/seller/workflows/delete-seller-professional-details.js +17 -0
  1153. package/.medusa/server/src/workflows/seller/workflows/delete-seller.d.ts +6 -0
  1154. package/.medusa/server/src/workflows/seller/workflows/delete-seller.js +18 -0
  1155. package/.medusa/server/src/workflows/seller/workflows/index.d.ts +20 -0
  1156. package/.medusa/server/src/workflows/seller/workflows/index.js +37 -0
  1157. package/.medusa/server/src/workflows/seller/workflows/invite-seller.d.ts +6 -0
  1158. package/.medusa/server/src/workflows/seller/workflows/invite-seller.js +10 -0
  1159. package/.medusa/server/src/workflows/seller/workflows/remove-seller-member.d.ts +7 -0
  1160. package/.medusa/server/src/workflows/seller/workflows/remove-seller-member.js +21 -0
  1161. package/.medusa/server/src/workflows/seller/workflows/suspend-seller.d.ts +9 -0
  1162. package/.medusa/server/src/workflows/seller/workflows/suspend-seller.js +36 -0
  1163. package/.medusa/server/src/workflows/seller/workflows/terminate-seller.d.ts +9 -0
  1164. package/.medusa/server/src/workflows/seller/workflows/terminate-seller.js +36 -0
  1165. package/.medusa/server/src/workflows/seller/workflows/unsuspend-seller.d.ts +8 -0
  1166. package/.medusa/server/src/workflows/seller/workflows/unsuspend-seller.js +36 -0
  1167. package/.medusa/server/src/workflows/seller/workflows/unterminate-seller.d.ts +8 -0
  1168. package/.medusa/server/src/workflows/seller/workflows/unterminate-seller.js +36 -0
  1169. package/.medusa/server/src/workflows/seller/workflows/update-member-role.d.ts +7 -0
  1170. package/.medusa/server/src/workflows/seller/workflows/update-member-role.js +22 -0
  1171. package/.medusa/server/src/workflows/seller/workflows/update-seller-address.d.ts +3 -0
  1172. package/.medusa/server/src/workflows/seller/workflows/update-seller-address.js +17 -0
  1173. package/.medusa/server/src/workflows/seller/workflows/update-seller-payment-details.d.ts +3 -0
  1174. package/.medusa/server/src/workflows/seller/workflows/update-seller-payment-details.js +17 -0
  1175. package/.medusa/server/src/workflows/seller/workflows/update-seller-professional-details.d.ts +3 -0
  1176. package/.medusa/server/src/workflows/seller/workflows/update-seller-professional-details.js +17 -0
  1177. package/.medusa/server/src/workflows/seller/workflows/update-seller.d.ts +3 -0
  1178. package/.medusa/server/src/workflows/seller/workflows/update-seller.js +22 -0
  1179. package/.medusa/server/src/workflows/shipping-option/index.d.ts +2 -0
  1180. package/.medusa/server/src/workflows/shipping-option/index.js +19 -0
  1181. package/.medusa/server/src/workflows/shipping-option/steps/index.d.ts +1 -0
  1182. package/.medusa/server/src/workflows/shipping-option/steps/index.js +18 -0
  1183. package/.medusa/server/src/workflows/shipping-option/steps/link-seller-shipping-option.d.ts +6 -0
  1184. package/.medusa/server/src/workflows/shipping-option/steps/link-seller-shipping-option.js +36 -0
  1185. package/.medusa/server/src/workflows/shipping-option/workflows/create-seller-shipping-options.d.ts +7 -0
  1186. package/.medusa/server/src/workflows/shipping-option/workflows/create-seller-shipping-options.js +18 -0
  1187. package/.medusa/server/src/workflows/shipping-option/workflows/index.d.ts +1 -0
  1188. package/.medusa/server/src/workflows/shipping-option/workflows/index.js +18 -0
  1189. package/.medusa/server/src/workflows/shipping-profile/index.d.ts +2 -0
  1190. package/.medusa/server/src/workflows/shipping-profile/index.js +19 -0
  1191. package/.medusa/server/src/workflows/shipping-profile/steps/index.d.ts +1 -0
  1192. package/.medusa/server/src/workflows/shipping-profile/steps/index.js +18 -0
  1193. package/.medusa/server/src/workflows/shipping-profile/steps/link-seller-shipping-profile.d.ts +6 -0
  1194. package/.medusa/server/src/workflows/shipping-profile/steps/link-seller-shipping-profile.js +36 -0
  1195. package/.medusa/server/src/workflows/shipping-profile/workflows/create-seller-shipping-profiles.d.ts +9 -0
  1196. package/.medusa/server/src/workflows/shipping-profile/workflows/create-seller-shipping-profiles.js +20 -0
  1197. package/.medusa/server/src/workflows/shipping-profile/workflows/index.d.ts +1 -0
  1198. package/.medusa/server/src/workflows/shipping-profile/workflows/index.js +18 -0
  1199. package/.medusa/server/src/workflows/stock-location/index.d.ts +2 -0
  1200. package/.medusa/server/src/workflows/stock-location/index.js +19 -0
  1201. package/.medusa/server/src/workflows/stock-location/steps/index.d.ts +1 -0
  1202. package/.medusa/server/src/workflows/stock-location/steps/index.js +18 -0
  1203. package/.medusa/server/src/workflows/stock-location/steps/link-seller-stock-location.d.ts +6 -0
  1204. package/.medusa/server/src/workflows/stock-location/steps/link-seller-stock-location.js +36 -0
  1205. package/.medusa/server/src/workflows/stock-location/workflows/create-seller-stock-locations.d.ts +7 -0
  1206. package/.medusa/server/src/workflows/stock-location/workflows/create-seller-stock-locations.js +20 -0
  1207. package/.medusa/server/src/workflows/stock-location/workflows/index.d.ts +1 -0
  1208. package/.medusa/server/src/workflows/stock-location/workflows/index.js +18 -0
  1209. package/.medusa/server/src/workflows/subscription/index.d.ts +2 -0
  1210. package/.medusa/server/src/workflows/subscription/index.js +19 -0
  1211. package/.medusa/server/src/workflows/subscription/steps/create-subscription-overrides.d.ts +31 -0
  1212. package/.medusa/server/src/workflows/subscription/steps/create-subscription-overrides.js +17 -0
  1213. package/.medusa/server/src/workflows/subscription/steps/create-subscription-plans.d.ts +31 -0
  1214. package/.medusa/server/src/workflows/subscription/steps/create-subscription-plans.js +17 -0
  1215. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-overrides.d.ts +2 -0
  1216. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-overrides.js +17 -0
  1217. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-plans.d.ts +2 -0
  1218. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-plans.js +17 -0
  1219. package/.medusa/server/src/workflows/subscription/steps/index.d.ts +6 -0
  1220. package/.medusa/server/src/workflows/subscription/steps/index.js +23 -0
  1221. package/.medusa/server/src/workflows/subscription/steps/update-subscription-overrides.d.ts +31 -0
  1222. package/.medusa/server/src/workflows/subscription/steps/update-subscription-overrides.js +17 -0
  1223. package/.medusa/server/src/workflows/subscription/steps/update-subscription-plans.d.ts +31 -0
  1224. package/.medusa/server/src/workflows/subscription/steps/update-subscription-plans.js +17 -0
  1225. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-overrides.d.ts +31 -0
  1226. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-overrides.js +11 -0
  1227. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-plans.d.ts +31 -0
  1228. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-plans.js +11 -0
  1229. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-overrides.d.ts +5 -0
  1230. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-overrides.js +11 -0
  1231. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-plans.d.ts +5 -0
  1232. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-plans.js +11 -0
  1233. package/.medusa/server/src/workflows/subscription/workflows/index.d.ts +6 -0
  1234. package/.medusa/server/src/workflows/subscription/workflows/index.js +23 -0
  1235. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-overrides.d.ts +31 -0
  1236. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-overrides.js +11 -0
  1237. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-plans.d.ts +31 -0
  1238. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-plans.js +11 -0
  1239. package/package.json +98 -0
@@ -0,0 +1,2352 @@
1
+ import { ProductStatus } from "@medusajs/framework/utils";
2
+ import { z } from "zod";
3
+ import { AdditionalData } from "@medusajs/framework/types";
4
+ export type VendorGetProductParamsType = z.infer<typeof VendorGetProductParams>;
5
+ export declare const VendorGetProductParams: z.ZodObject<{
6
+ fields: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ fields?: string | undefined;
9
+ }, {
10
+ fields?: string | undefined;
11
+ }>;
12
+ export type VendorGetProductVariantParamsType = z.infer<typeof VendorGetProductVariantParams>;
13
+ export declare const VendorGetProductVariantParams: z.ZodObject<{
14
+ fields: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ fields?: string | undefined;
17
+ }, {
18
+ fields?: string | undefined;
19
+ }>;
20
+ export type VendorGetProductOptionParamsType = z.infer<typeof VendorGetProductOptionParams>;
21
+ export declare const VendorGetProductOptionParams: z.ZodObject<{
22
+ fields: z.ZodOptional<z.ZodString>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ fields?: string | undefined;
25
+ }, {
26
+ fields?: string | undefined;
27
+ }>;
28
+ export type VendorGetProductsParamsType = z.infer<typeof VendorGetProductsParams>;
29
+ export declare const VendorGetProductsParams: z.ZodEffects<z.ZodObject<{
30
+ [x: string]: any;
31
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
32
+ variants: z.ZodOptional<z.ZodObject<{} & {
33
+ [x: string]: any;
34
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
35
+ q: z.ZodOptional<z.ZodString>;
36
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
37
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
38
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
39
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
40
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
41
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
42
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
43
+ $eq: any;
44
+ $ne: any;
45
+ $in: any;
46
+ $nin: any;
47
+ $like: any;
48
+ $ilike: any;
49
+ $re: any;
50
+ $contains: any;
51
+ $gt: any;
52
+ $gte: any;
53
+ $lt: any;
54
+ $lte: any;
55
+ }, "strip", z.ZodTypeAny, {
56
+ $eq?: any;
57
+ $ne?: any;
58
+ $in?: any;
59
+ $nin?: any;
60
+ $like?: any;
61
+ $ilike?: any;
62
+ $re?: any;
63
+ $contains?: any;
64
+ $gt?: any;
65
+ $gte?: any;
66
+ $lt?: any;
67
+ $lte?: any;
68
+ }, {
69
+ $eq?: any;
70
+ $ne?: any;
71
+ $in?: any;
72
+ $nin?: any;
73
+ $like?: any;
74
+ $ilike?: any;
75
+ $re?: any;
76
+ $contains?: any;
77
+ $gt?: any;
78
+ $gte?: any;
79
+ $lt?: any;
80
+ $lte?: any;
81
+ }>]>>;
82
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
83
+ $eq: any;
84
+ $ne: any;
85
+ $in: any;
86
+ $nin: any;
87
+ $like: any;
88
+ $ilike: any;
89
+ $re: any;
90
+ $contains: any;
91
+ $gt: any;
92
+ $gte: any;
93
+ $lt: any;
94
+ $lte: any;
95
+ }, "strip", z.ZodTypeAny, {
96
+ $eq?: any;
97
+ $ne?: any;
98
+ $in?: any;
99
+ $nin?: any;
100
+ $like?: any;
101
+ $ilike?: any;
102
+ $re?: any;
103
+ $contains?: any;
104
+ $gt?: any;
105
+ $gte?: any;
106
+ $lt?: any;
107
+ $lte?: any;
108
+ }, {
109
+ $eq?: any;
110
+ $ne?: any;
111
+ $in?: any;
112
+ $nin?: any;
113
+ $like?: any;
114
+ $ilike?: any;
115
+ $re?: any;
116
+ $contains?: any;
117
+ $gt?: any;
118
+ $gte?: any;
119
+ $lt?: any;
120
+ $lte?: any;
121
+ }>]>>;
122
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
123
+ $eq: any;
124
+ $ne: any;
125
+ $in: any;
126
+ $nin: any;
127
+ $like: any;
128
+ $ilike: any;
129
+ $re: any;
130
+ $contains: any;
131
+ $gt: any;
132
+ $gte: any;
133
+ $lt: any;
134
+ $lte: any;
135
+ }, "strip", z.ZodTypeAny, {
136
+ $eq?: any;
137
+ $ne?: any;
138
+ $in?: any;
139
+ $nin?: any;
140
+ $like?: any;
141
+ $ilike?: any;
142
+ $re?: any;
143
+ $contains?: any;
144
+ $gt?: any;
145
+ $gte?: any;
146
+ $lt?: any;
147
+ $lte?: any;
148
+ }, {
149
+ $eq?: any;
150
+ $ne?: any;
151
+ $in?: any;
152
+ $nin?: any;
153
+ $like?: any;
154
+ $ilike?: any;
155
+ $re?: any;
156
+ $contains?: any;
157
+ $gt?: any;
158
+ $gte?: any;
159
+ $lt?: any;
160
+ $lte?: any;
161
+ }>]>>;
162
+ }, "q">, "strip", z.ZodTypeAny, {
163
+ id?: string | string[] | undefined;
164
+ created_at?: any;
165
+ updated_at?: any;
166
+ deleted_at?: any;
167
+ barcode?: string | string[] | undefined;
168
+ allow_backorder?: boolean | undefined;
169
+ ean?: string | string[] | undefined;
170
+ upc?: string | string[] | undefined;
171
+ manage_inventory?: boolean | undefined;
172
+ }, {
173
+ id?: string | string[] | undefined;
174
+ created_at?: any;
175
+ updated_at?: any;
176
+ deleted_at?: any;
177
+ barcode?: string | string[] | undefined;
178
+ allow_backorder?: string | boolean | undefined;
179
+ ean?: string | string[] | undefined;
180
+ upc?: string | string[] | undefined;
181
+ manage_inventory?: string | boolean | undefined;
182
+ }>, "many">>>;
183
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
184
+ q: z.ZodOptional<z.ZodString>;
185
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
186
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
187
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
188
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
189
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
190
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
191
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
192
+ $eq: any;
193
+ $ne: any;
194
+ $in: any;
195
+ $nin: any;
196
+ $like: any;
197
+ $ilike: any;
198
+ $re: any;
199
+ $contains: any;
200
+ $gt: any;
201
+ $gte: any;
202
+ $lt: any;
203
+ $lte: any;
204
+ }, "strip", z.ZodTypeAny, {
205
+ $eq?: any;
206
+ $ne?: any;
207
+ $in?: any;
208
+ $nin?: any;
209
+ $like?: any;
210
+ $ilike?: any;
211
+ $re?: any;
212
+ $contains?: any;
213
+ $gt?: any;
214
+ $gte?: any;
215
+ $lt?: any;
216
+ $lte?: any;
217
+ }, {
218
+ $eq?: any;
219
+ $ne?: any;
220
+ $in?: any;
221
+ $nin?: any;
222
+ $like?: any;
223
+ $ilike?: any;
224
+ $re?: any;
225
+ $contains?: any;
226
+ $gt?: any;
227
+ $gte?: any;
228
+ $lt?: any;
229
+ $lte?: any;
230
+ }>]>>;
231
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
232
+ $eq: any;
233
+ $ne: any;
234
+ $in: any;
235
+ $nin: any;
236
+ $like: any;
237
+ $ilike: any;
238
+ $re: any;
239
+ $contains: any;
240
+ $gt: any;
241
+ $gte: any;
242
+ $lt: any;
243
+ $lte: any;
244
+ }, "strip", z.ZodTypeAny, {
245
+ $eq?: any;
246
+ $ne?: any;
247
+ $in?: any;
248
+ $nin?: any;
249
+ $like?: any;
250
+ $ilike?: any;
251
+ $re?: any;
252
+ $contains?: any;
253
+ $gt?: any;
254
+ $gte?: any;
255
+ $lt?: any;
256
+ $lte?: any;
257
+ }, {
258
+ $eq?: any;
259
+ $ne?: any;
260
+ $in?: any;
261
+ $nin?: any;
262
+ $like?: any;
263
+ $ilike?: any;
264
+ $re?: any;
265
+ $contains?: any;
266
+ $gt?: any;
267
+ $gte?: any;
268
+ $lt?: any;
269
+ $lte?: any;
270
+ }>]>>;
271
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
272
+ $eq: any;
273
+ $ne: any;
274
+ $in: any;
275
+ $nin: any;
276
+ $like: any;
277
+ $ilike: any;
278
+ $re: any;
279
+ $contains: any;
280
+ $gt: any;
281
+ $gte: any;
282
+ $lt: any;
283
+ $lte: any;
284
+ }, "strip", z.ZodTypeAny, {
285
+ $eq?: any;
286
+ $ne?: any;
287
+ $in?: any;
288
+ $nin?: any;
289
+ $like?: any;
290
+ $ilike?: any;
291
+ $re?: any;
292
+ $contains?: any;
293
+ $gt?: any;
294
+ $gte?: any;
295
+ $lt?: any;
296
+ $lte?: any;
297
+ }, {
298
+ $eq?: any;
299
+ $ne?: any;
300
+ $in?: any;
301
+ $nin?: any;
302
+ $like?: any;
303
+ $ilike?: any;
304
+ $re?: any;
305
+ $contains?: any;
306
+ $gt?: any;
307
+ $gte?: any;
308
+ $lt?: any;
309
+ $lte?: any;
310
+ }>]>>;
311
+ }, "q">, "strip", z.ZodTypeAny, {
312
+ id?: string | string[] | undefined;
313
+ created_at?: any;
314
+ updated_at?: any;
315
+ deleted_at?: any;
316
+ barcode?: string | string[] | undefined;
317
+ allow_backorder?: boolean | undefined;
318
+ ean?: string | string[] | undefined;
319
+ upc?: string | string[] | undefined;
320
+ manage_inventory?: boolean | undefined;
321
+ }, {
322
+ id?: string | string[] | undefined;
323
+ created_at?: any;
324
+ updated_at?: any;
325
+ deleted_at?: any;
326
+ barcode?: string | string[] | undefined;
327
+ allow_backorder?: string | boolean | undefined;
328
+ ean?: string | string[] | undefined;
329
+ upc?: string | string[] | undefined;
330
+ manage_inventory?: string | boolean | undefined;
331
+ }>, "many">>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ [x: string]: any;
334
+ $and?: unknown;
335
+ $or?: unknown;
336
+ }, {
337
+ [x: string]: any;
338
+ $and?: unknown;
339
+ $or?: unknown;
340
+ }>>;
341
+ status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ variants?: {
344
+ [x: string]: any;
345
+ $and?: unknown;
346
+ $or?: unknown;
347
+ } | undefined;
348
+ status?: ProductStatus[] | undefined;
349
+ }, {
350
+ variants?: {
351
+ [x: string]: any;
352
+ $and?: unknown;
353
+ $or?: unknown;
354
+ } | undefined;
355
+ status?: ProductStatus[] | undefined;
356
+ }>, "many">>>;
357
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
358
+ variants: z.ZodOptional<z.ZodObject<{} & {
359
+ [x: string]: any;
360
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
361
+ q: z.ZodOptional<z.ZodString>;
362
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
363
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
364
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
365
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
366
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
367
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
368
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
369
+ $eq: any;
370
+ $ne: any;
371
+ $in: any;
372
+ $nin: any;
373
+ $like: any;
374
+ $ilike: any;
375
+ $re: any;
376
+ $contains: any;
377
+ $gt: any;
378
+ $gte: any;
379
+ $lt: any;
380
+ $lte: any;
381
+ }, "strip", z.ZodTypeAny, {
382
+ $eq?: any;
383
+ $ne?: any;
384
+ $in?: any;
385
+ $nin?: any;
386
+ $like?: any;
387
+ $ilike?: any;
388
+ $re?: any;
389
+ $contains?: any;
390
+ $gt?: any;
391
+ $gte?: any;
392
+ $lt?: any;
393
+ $lte?: any;
394
+ }, {
395
+ $eq?: any;
396
+ $ne?: any;
397
+ $in?: any;
398
+ $nin?: any;
399
+ $like?: any;
400
+ $ilike?: any;
401
+ $re?: any;
402
+ $contains?: any;
403
+ $gt?: any;
404
+ $gte?: any;
405
+ $lt?: any;
406
+ $lte?: any;
407
+ }>]>>;
408
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
409
+ $eq: any;
410
+ $ne: any;
411
+ $in: any;
412
+ $nin: any;
413
+ $like: any;
414
+ $ilike: any;
415
+ $re: any;
416
+ $contains: any;
417
+ $gt: any;
418
+ $gte: any;
419
+ $lt: any;
420
+ $lte: any;
421
+ }, "strip", z.ZodTypeAny, {
422
+ $eq?: any;
423
+ $ne?: any;
424
+ $in?: any;
425
+ $nin?: any;
426
+ $like?: any;
427
+ $ilike?: any;
428
+ $re?: any;
429
+ $contains?: any;
430
+ $gt?: any;
431
+ $gte?: any;
432
+ $lt?: any;
433
+ $lte?: any;
434
+ }, {
435
+ $eq?: any;
436
+ $ne?: any;
437
+ $in?: any;
438
+ $nin?: any;
439
+ $like?: any;
440
+ $ilike?: any;
441
+ $re?: any;
442
+ $contains?: any;
443
+ $gt?: any;
444
+ $gte?: any;
445
+ $lt?: any;
446
+ $lte?: any;
447
+ }>]>>;
448
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
449
+ $eq: any;
450
+ $ne: any;
451
+ $in: any;
452
+ $nin: any;
453
+ $like: any;
454
+ $ilike: any;
455
+ $re: any;
456
+ $contains: any;
457
+ $gt: any;
458
+ $gte: any;
459
+ $lt: any;
460
+ $lte: any;
461
+ }, "strip", z.ZodTypeAny, {
462
+ $eq?: any;
463
+ $ne?: any;
464
+ $in?: any;
465
+ $nin?: any;
466
+ $like?: any;
467
+ $ilike?: any;
468
+ $re?: any;
469
+ $contains?: any;
470
+ $gt?: any;
471
+ $gte?: any;
472
+ $lt?: any;
473
+ $lte?: any;
474
+ }, {
475
+ $eq?: any;
476
+ $ne?: any;
477
+ $in?: any;
478
+ $nin?: any;
479
+ $like?: any;
480
+ $ilike?: any;
481
+ $re?: any;
482
+ $contains?: any;
483
+ $gt?: any;
484
+ $gte?: any;
485
+ $lt?: any;
486
+ $lte?: any;
487
+ }>]>>;
488
+ }, "q">, "strip", z.ZodTypeAny, {
489
+ id?: string | string[] | undefined;
490
+ created_at?: any;
491
+ updated_at?: any;
492
+ deleted_at?: any;
493
+ barcode?: string | string[] | undefined;
494
+ allow_backorder?: boolean | undefined;
495
+ ean?: string | string[] | undefined;
496
+ upc?: string | string[] | undefined;
497
+ manage_inventory?: boolean | undefined;
498
+ }, {
499
+ id?: string | string[] | undefined;
500
+ created_at?: any;
501
+ updated_at?: any;
502
+ deleted_at?: any;
503
+ barcode?: string | string[] | undefined;
504
+ allow_backorder?: string | boolean | undefined;
505
+ ean?: string | string[] | undefined;
506
+ upc?: string | string[] | undefined;
507
+ manage_inventory?: string | boolean | undefined;
508
+ }>, "many">>>;
509
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<Omit<{
510
+ q: z.ZodOptional<z.ZodString>;
511
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
512
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
513
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
514
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
515
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
516
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
517
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
518
+ $eq: any;
519
+ $ne: any;
520
+ $in: any;
521
+ $nin: any;
522
+ $like: any;
523
+ $ilike: any;
524
+ $re: any;
525
+ $contains: any;
526
+ $gt: any;
527
+ $gte: any;
528
+ $lt: any;
529
+ $lte: any;
530
+ }, "strip", z.ZodTypeAny, {
531
+ $eq?: any;
532
+ $ne?: any;
533
+ $in?: any;
534
+ $nin?: any;
535
+ $like?: any;
536
+ $ilike?: any;
537
+ $re?: any;
538
+ $contains?: any;
539
+ $gt?: any;
540
+ $gte?: any;
541
+ $lt?: any;
542
+ $lte?: any;
543
+ }, {
544
+ $eq?: any;
545
+ $ne?: any;
546
+ $in?: any;
547
+ $nin?: any;
548
+ $like?: any;
549
+ $ilike?: any;
550
+ $re?: any;
551
+ $contains?: any;
552
+ $gt?: any;
553
+ $gte?: any;
554
+ $lt?: any;
555
+ $lte?: any;
556
+ }>]>>;
557
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
558
+ $eq: any;
559
+ $ne: any;
560
+ $in: any;
561
+ $nin: any;
562
+ $like: any;
563
+ $ilike: any;
564
+ $re: any;
565
+ $contains: any;
566
+ $gt: any;
567
+ $gte: any;
568
+ $lt: any;
569
+ $lte: any;
570
+ }, "strip", z.ZodTypeAny, {
571
+ $eq?: any;
572
+ $ne?: any;
573
+ $in?: any;
574
+ $nin?: any;
575
+ $like?: any;
576
+ $ilike?: any;
577
+ $re?: any;
578
+ $contains?: any;
579
+ $gt?: any;
580
+ $gte?: any;
581
+ $lt?: any;
582
+ $lte?: any;
583
+ }, {
584
+ $eq?: any;
585
+ $ne?: any;
586
+ $in?: any;
587
+ $nin?: any;
588
+ $like?: any;
589
+ $ilike?: any;
590
+ $re?: any;
591
+ $contains?: any;
592
+ $gt?: any;
593
+ $gte?: any;
594
+ $lt?: any;
595
+ $lte?: any;
596
+ }>]>>;
597
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
598
+ $eq: any;
599
+ $ne: any;
600
+ $in: any;
601
+ $nin: any;
602
+ $like: any;
603
+ $ilike: any;
604
+ $re: any;
605
+ $contains: any;
606
+ $gt: any;
607
+ $gte: any;
608
+ $lt: any;
609
+ $lte: any;
610
+ }, "strip", z.ZodTypeAny, {
611
+ $eq?: any;
612
+ $ne?: any;
613
+ $in?: any;
614
+ $nin?: any;
615
+ $like?: any;
616
+ $ilike?: any;
617
+ $re?: any;
618
+ $contains?: any;
619
+ $gt?: any;
620
+ $gte?: any;
621
+ $lt?: any;
622
+ $lte?: any;
623
+ }, {
624
+ $eq?: any;
625
+ $ne?: any;
626
+ $in?: any;
627
+ $nin?: any;
628
+ $like?: any;
629
+ $ilike?: any;
630
+ $re?: any;
631
+ $contains?: any;
632
+ $gt?: any;
633
+ $gte?: any;
634
+ $lt?: any;
635
+ $lte?: any;
636
+ }>]>>;
637
+ }, "q">, "strip", z.ZodTypeAny, {
638
+ id?: string | string[] | undefined;
639
+ created_at?: any;
640
+ updated_at?: any;
641
+ deleted_at?: any;
642
+ barcode?: string | string[] | undefined;
643
+ allow_backorder?: boolean | undefined;
644
+ ean?: string | string[] | undefined;
645
+ upc?: string | string[] | undefined;
646
+ manage_inventory?: boolean | undefined;
647
+ }, {
648
+ id?: string | string[] | undefined;
649
+ created_at?: any;
650
+ updated_at?: any;
651
+ deleted_at?: any;
652
+ barcode?: string | string[] | undefined;
653
+ allow_backorder?: string | boolean | undefined;
654
+ ean?: string | string[] | undefined;
655
+ upc?: string | string[] | undefined;
656
+ manage_inventory?: string | boolean | undefined;
657
+ }>, "many">>>;
658
+ }, "strip", z.ZodTypeAny, {
659
+ [x: string]: any;
660
+ $and?: unknown;
661
+ $or?: unknown;
662
+ }, {
663
+ [x: string]: any;
664
+ $and?: unknown;
665
+ $or?: unknown;
666
+ }>>;
667
+ status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ variants?: {
670
+ [x: string]: any;
671
+ $and?: unknown;
672
+ $or?: unknown;
673
+ } | undefined;
674
+ status?: ProductStatus[] | undefined;
675
+ }, {
676
+ variants?: {
677
+ [x: string]: any;
678
+ $and?: unknown;
679
+ $or?: unknown;
680
+ } | undefined;
681
+ status?: ProductStatus[] | undefined;
682
+ }>, "many">>>;
683
+ sales_channel_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
684
+ q: z.ZodOptional<z.ZodString>;
685
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
686
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
687
+ handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
688
+ is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
689
+ category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
690
+ external_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
691
+ collection_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
692
+ tag_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
693
+ type_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
694
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
695
+ $eq: any;
696
+ $ne: any;
697
+ $in: any;
698
+ $nin: any;
699
+ $like: any;
700
+ $ilike: any;
701
+ $re: any;
702
+ $contains: any;
703
+ $gt: any;
704
+ $gte: any;
705
+ $lt: any;
706
+ $lte: any;
707
+ }, "strip", z.ZodTypeAny, {
708
+ $eq?: any;
709
+ $ne?: any;
710
+ $in?: any;
711
+ $nin?: any;
712
+ $like?: any;
713
+ $ilike?: any;
714
+ $re?: any;
715
+ $contains?: any;
716
+ $gt?: any;
717
+ $gte?: any;
718
+ $lt?: any;
719
+ $lte?: any;
720
+ }, {
721
+ $eq?: any;
722
+ $ne?: any;
723
+ $in?: any;
724
+ $nin?: any;
725
+ $like?: any;
726
+ $ilike?: any;
727
+ $re?: any;
728
+ $contains?: any;
729
+ $gt?: any;
730
+ $gte?: any;
731
+ $lt?: any;
732
+ $lte?: any;
733
+ }>]>>;
734
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
735
+ $eq: any;
736
+ $ne: any;
737
+ $in: any;
738
+ $nin: any;
739
+ $like: any;
740
+ $ilike: any;
741
+ $re: any;
742
+ $contains: any;
743
+ $gt: any;
744
+ $gte: any;
745
+ $lt: any;
746
+ $lte: any;
747
+ }, "strip", z.ZodTypeAny, {
748
+ $eq?: any;
749
+ $ne?: any;
750
+ $in?: any;
751
+ $nin?: any;
752
+ $like?: any;
753
+ $ilike?: any;
754
+ $re?: any;
755
+ $contains?: any;
756
+ $gt?: any;
757
+ $gte?: any;
758
+ $lt?: any;
759
+ $lte?: any;
760
+ }, {
761
+ $eq?: any;
762
+ $ne?: any;
763
+ $in?: any;
764
+ $nin?: any;
765
+ $like?: any;
766
+ $ilike?: any;
767
+ $re?: any;
768
+ $contains?: any;
769
+ $gt?: any;
770
+ $gte?: any;
771
+ $lt?: any;
772
+ $lte?: any;
773
+ }>]>>;
774
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
775
+ $eq: any;
776
+ $ne: any;
777
+ $in: any;
778
+ $nin: any;
779
+ $like: any;
780
+ $ilike: any;
781
+ $re: any;
782
+ $contains: any;
783
+ $gt: any;
784
+ $gte: any;
785
+ $lt: any;
786
+ $lte: any;
787
+ }, "strip", z.ZodTypeAny, {
788
+ $eq?: any;
789
+ $ne?: any;
790
+ $in?: any;
791
+ $nin?: any;
792
+ $like?: any;
793
+ $ilike?: any;
794
+ $re?: any;
795
+ $contains?: any;
796
+ $gt?: any;
797
+ $gte?: any;
798
+ $lt?: any;
799
+ $lte?: any;
800
+ }, {
801
+ $eq?: any;
802
+ $ne?: any;
803
+ $in?: any;
804
+ $nin?: any;
805
+ $like?: any;
806
+ $ilike?: any;
807
+ $re?: any;
808
+ $contains?: any;
809
+ $gt?: any;
810
+ $gte?: any;
811
+ $lt?: any;
812
+ $lte?: any;
813
+ }>]>>;
814
+ }, "strip", z.ZodTypeAny, {
815
+ [x: string]: any;
816
+ $and?: unknown;
817
+ $or?: unknown;
818
+ sales_channel_id?: unknown;
819
+ q?: unknown;
820
+ id?: unknown;
821
+ title?: unknown;
822
+ handle?: unknown;
823
+ is_giftcard?: unknown;
824
+ category_id?: unknown;
825
+ external_id?: unknown;
826
+ collection_id?: unknown;
827
+ tag_id?: unknown;
828
+ type_id?: unknown;
829
+ created_at?: unknown;
830
+ updated_at?: unknown;
831
+ deleted_at?: unknown;
832
+ }, {
833
+ [x: string]: any;
834
+ $and?: unknown;
835
+ $or?: unknown;
836
+ sales_channel_id?: unknown;
837
+ q?: unknown;
838
+ id?: unknown;
839
+ title?: unknown;
840
+ handle?: unknown;
841
+ is_giftcard?: unknown;
842
+ category_id?: unknown;
843
+ external_id?: unknown;
844
+ collection_id?: unknown;
845
+ tag_id?: unknown;
846
+ type_id?: unknown;
847
+ created_at?: unknown;
848
+ updated_at?: unknown;
849
+ deleted_at?: unknown;
850
+ }>, unknown, {
851
+ [x: string]: any;
852
+ $and?: unknown;
853
+ $or?: unknown;
854
+ sales_channel_id?: unknown;
855
+ q?: unknown;
856
+ id?: unknown;
857
+ title?: unknown;
858
+ handle?: unknown;
859
+ is_giftcard?: unknown;
860
+ category_id?: unknown;
861
+ external_id?: unknown;
862
+ collection_id?: unknown;
863
+ tag_id?: unknown;
864
+ type_id?: unknown;
865
+ created_at?: unknown;
866
+ updated_at?: unknown;
867
+ deleted_at?: unknown;
868
+ }>;
869
+ export type VendorGetProductVariantsParamsType = z.infer<typeof VendorGetProductVariantsParams>;
870
+ export declare const VendorGetProductVariantsParams: z.ZodObject<{
871
+ [x: string]: any;
872
+ $and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
873
+ q: z.ZodOptional<z.ZodString>;
874
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
875
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
876
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
877
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
878
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
879
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
880
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
881
+ $eq: any;
882
+ $ne: any;
883
+ $in: any;
884
+ $nin: any;
885
+ $like: any;
886
+ $ilike: any;
887
+ $re: any;
888
+ $contains: any;
889
+ $gt: any;
890
+ $gte: any;
891
+ $lt: any;
892
+ $lte: any;
893
+ }, "strip", z.ZodTypeAny, {
894
+ $eq?: any;
895
+ $ne?: any;
896
+ $in?: any;
897
+ $nin?: any;
898
+ $like?: any;
899
+ $ilike?: any;
900
+ $re?: any;
901
+ $contains?: any;
902
+ $gt?: any;
903
+ $gte?: any;
904
+ $lt?: any;
905
+ $lte?: any;
906
+ }, {
907
+ $eq?: any;
908
+ $ne?: any;
909
+ $in?: any;
910
+ $nin?: any;
911
+ $like?: any;
912
+ $ilike?: any;
913
+ $re?: any;
914
+ $contains?: any;
915
+ $gt?: any;
916
+ $gte?: any;
917
+ $lt?: any;
918
+ $lte?: any;
919
+ }>]>>;
920
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
921
+ $eq: any;
922
+ $ne: any;
923
+ $in: any;
924
+ $nin: any;
925
+ $like: any;
926
+ $ilike: any;
927
+ $re: any;
928
+ $contains: any;
929
+ $gt: any;
930
+ $gte: any;
931
+ $lt: any;
932
+ $lte: any;
933
+ }, "strip", z.ZodTypeAny, {
934
+ $eq?: any;
935
+ $ne?: any;
936
+ $in?: any;
937
+ $nin?: any;
938
+ $like?: any;
939
+ $ilike?: any;
940
+ $re?: any;
941
+ $contains?: any;
942
+ $gt?: any;
943
+ $gte?: any;
944
+ $lt?: any;
945
+ $lte?: any;
946
+ }, {
947
+ $eq?: any;
948
+ $ne?: any;
949
+ $in?: any;
950
+ $nin?: any;
951
+ $like?: any;
952
+ $ilike?: any;
953
+ $re?: any;
954
+ $contains?: any;
955
+ $gt?: any;
956
+ $gte?: any;
957
+ $lt?: any;
958
+ $lte?: any;
959
+ }>]>>;
960
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
961
+ $eq: any;
962
+ $ne: any;
963
+ $in: any;
964
+ $nin: any;
965
+ $like: any;
966
+ $ilike: any;
967
+ $re: any;
968
+ $contains: any;
969
+ $gt: any;
970
+ $gte: any;
971
+ $lt: any;
972
+ $lte: any;
973
+ }, "strip", z.ZodTypeAny, {
974
+ $eq?: any;
975
+ $ne?: any;
976
+ $in?: any;
977
+ $nin?: any;
978
+ $like?: any;
979
+ $ilike?: any;
980
+ $re?: any;
981
+ $contains?: any;
982
+ $gt?: any;
983
+ $gte?: any;
984
+ $lt?: any;
985
+ $lte?: any;
986
+ }, {
987
+ $eq?: any;
988
+ $ne?: any;
989
+ $in?: any;
990
+ $nin?: any;
991
+ $like?: any;
992
+ $ilike?: any;
993
+ $re?: any;
994
+ $contains?: any;
995
+ $gt?: any;
996
+ $gte?: any;
997
+ $lt?: any;
998
+ $lte?: any;
999
+ }>]>>;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ id?: string | string[] | undefined;
1002
+ created_at?: any;
1003
+ updated_at?: any;
1004
+ deleted_at?: any;
1005
+ q?: string | undefined;
1006
+ barcode?: string | string[] | undefined;
1007
+ allow_backorder?: boolean | undefined;
1008
+ ean?: string | string[] | undefined;
1009
+ upc?: string | string[] | undefined;
1010
+ manage_inventory?: boolean | undefined;
1011
+ }, {
1012
+ id?: string | string[] | undefined;
1013
+ created_at?: any;
1014
+ updated_at?: any;
1015
+ deleted_at?: any;
1016
+ q?: string | undefined;
1017
+ barcode?: string | string[] | undefined;
1018
+ allow_backorder?: string | boolean | undefined;
1019
+ ean?: string | string[] | undefined;
1020
+ upc?: string | string[] | undefined;
1021
+ manage_inventory?: string | boolean | undefined;
1022
+ }>, "many">>>;
1023
+ $or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
1024
+ q: z.ZodOptional<z.ZodString>;
1025
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1026
+ manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1027
+ allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
1028
+ ean: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1029
+ upc: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1030
+ barcode: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1031
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1032
+ $eq: any;
1033
+ $ne: any;
1034
+ $in: any;
1035
+ $nin: any;
1036
+ $like: any;
1037
+ $ilike: any;
1038
+ $re: any;
1039
+ $contains: any;
1040
+ $gt: any;
1041
+ $gte: any;
1042
+ $lt: any;
1043
+ $lte: any;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ $eq?: any;
1046
+ $ne?: any;
1047
+ $in?: any;
1048
+ $nin?: any;
1049
+ $like?: any;
1050
+ $ilike?: any;
1051
+ $re?: any;
1052
+ $contains?: any;
1053
+ $gt?: any;
1054
+ $gte?: any;
1055
+ $lt?: any;
1056
+ $lte?: any;
1057
+ }, {
1058
+ $eq?: any;
1059
+ $ne?: any;
1060
+ $in?: any;
1061
+ $nin?: any;
1062
+ $like?: any;
1063
+ $ilike?: any;
1064
+ $re?: any;
1065
+ $contains?: any;
1066
+ $gt?: any;
1067
+ $gte?: any;
1068
+ $lt?: any;
1069
+ $lte?: any;
1070
+ }>]>>;
1071
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1072
+ $eq: any;
1073
+ $ne: any;
1074
+ $in: any;
1075
+ $nin: any;
1076
+ $like: any;
1077
+ $ilike: any;
1078
+ $re: any;
1079
+ $contains: any;
1080
+ $gt: any;
1081
+ $gte: any;
1082
+ $lt: any;
1083
+ $lte: any;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ $eq?: any;
1086
+ $ne?: any;
1087
+ $in?: any;
1088
+ $nin?: any;
1089
+ $like?: any;
1090
+ $ilike?: any;
1091
+ $re?: any;
1092
+ $contains?: any;
1093
+ $gt?: any;
1094
+ $gte?: any;
1095
+ $lt?: any;
1096
+ $lte?: any;
1097
+ }, {
1098
+ $eq?: any;
1099
+ $ne?: any;
1100
+ $in?: any;
1101
+ $nin?: any;
1102
+ $like?: any;
1103
+ $ilike?: any;
1104
+ $re?: any;
1105
+ $contains?: any;
1106
+ $gt?: any;
1107
+ $gte?: any;
1108
+ $lt?: any;
1109
+ $lte?: any;
1110
+ }>]>>;
1111
+ deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1112
+ $eq: any;
1113
+ $ne: any;
1114
+ $in: any;
1115
+ $nin: any;
1116
+ $like: any;
1117
+ $ilike: any;
1118
+ $re: any;
1119
+ $contains: any;
1120
+ $gt: any;
1121
+ $gte: any;
1122
+ $lt: any;
1123
+ $lte: any;
1124
+ }, "strip", z.ZodTypeAny, {
1125
+ $eq?: any;
1126
+ $ne?: any;
1127
+ $in?: any;
1128
+ $nin?: any;
1129
+ $like?: any;
1130
+ $ilike?: any;
1131
+ $re?: any;
1132
+ $contains?: any;
1133
+ $gt?: any;
1134
+ $gte?: any;
1135
+ $lt?: any;
1136
+ $lte?: any;
1137
+ }, {
1138
+ $eq?: any;
1139
+ $ne?: any;
1140
+ $in?: any;
1141
+ $nin?: any;
1142
+ $like?: any;
1143
+ $ilike?: any;
1144
+ $re?: any;
1145
+ $contains?: any;
1146
+ $gt?: any;
1147
+ $gte?: any;
1148
+ $lt?: any;
1149
+ $lte?: any;
1150
+ }>]>>;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ id?: string | string[] | undefined;
1153
+ created_at?: any;
1154
+ updated_at?: any;
1155
+ deleted_at?: any;
1156
+ q?: string | undefined;
1157
+ barcode?: string | string[] | undefined;
1158
+ allow_backorder?: boolean | undefined;
1159
+ ean?: string | string[] | undefined;
1160
+ upc?: string | string[] | undefined;
1161
+ manage_inventory?: boolean | undefined;
1162
+ }, {
1163
+ id?: string | string[] | undefined;
1164
+ created_at?: any;
1165
+ updated_at?: any;
1166
+ deleted_at?: any;
1167
+ q?: string | undefined;
1168
+ barcode?: string | string[] | undefined;
1169
+ allow_backorder?: string | boolean | undefined;
1170
+ ean?: string | string[] | undefined;
1171
+ upc?: string | string[] | undefined;
1172
+ manage_inventory?: string | boolean | undefined;
1173
+ }>, "many">>>;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ [x: string]: any;
1176
+ $and?: unknown;
1177
+ $or?: unknown;
1178
+ }, {
1179
+ [x: string]: any;
1180
+ $and?: unknown;
1181
+ $or?: unknown;
1182
+ }>;
1183
+ export type VendorGetProductOptionsParamsType = z.infer<typeof VendorGetProductOptionsParams>;
1184
+ export declare const VendorGetProductOptionsParams: z.ZodObject<{
1185
+ fields: z.ZodOptional<z.ZodString>;
1186
+ } & {
1187
+ offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
1188
+ limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
1189
+ order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
1190
+ with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
1191
+ } & {
1192
+ q: z.ZodOptional<z.ZodString>;
1193
+ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1194
+ title: z.ZodOptional<z.ZodString>;
1195
+ created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1196
+ $eq: any;
1197
+ $ne: any;
1198
+ $in: any;
1199
+ $nin: any;
1200
+ $like: any;
1201
+ $ilike: any;
1202
+ $re: any;
1203
+ $contains: any;
1204
+ $gt: any;
1205
+ $gte: any;
1206
+ $lt: any;
1207
+ $lte: any;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ $eq?: any;
1210
+ $ne?: any;
1211
+ $in?: any;
1212
+ $nin?: any;
1213
+ $like?: any;
1214
+ $ilike?: any;
1215
+ $re?: any;
1216
+ $contains?: any;
1217
+ $gt?: any;
1218
+ $gte?: any;
1219
+ $lt?: any;
1220
+ $lte?: any;
1221
+ }, {
1222
+ $eq?: any;
1223
+ $ne?: any;
1224
+ $in?: any;
1225
+ $nin?: any;
1226
+ $like?: any;
1227
+ $ilike?: any;
1228
+ $re?: any;
1229
+ $contains?: any;
1230
+ $gt?: any;
1231
+ $gte?: any;
1232
+ $lt?: any;
1233
+ $lte?: any;
1234
+ }>]>>;
1235
+ updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
1236
+ $eq: any;
1237
+ $ne: any;
1238
+ $in: any;
1239
+ $nin: any;
1240
+ $like: any;
1241
+ $ilike: any;
1242
+ $re: any;
1243
+ $contains: any;
1244
+ $gt: any;
1245
+ $gte: any;
1246
+ $lt: any;
1247
+ $lte: any;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ $eq?: any;
1250
+ $ne?: any;
1251
+ $in?: any;
1252
+ $nin?: any;
1253
+ $like?: any;
1254
+ $ilike?: any;
1255
+ $re?: any;
1256
+ $contains?: any;
1257
+ $gt?: any;
1258
+ $gte?: any;
1259
+ $lt?: any;
1260
+ $lte?: any;
1261
+ }, {
1262
+ $eq?: any;
1263
+ $ne?: any;
1264
+ $in?: any;
1265
+ $nin?: any;
1266
+ $like?: any;
1267
+ $ilike?: any;
1268
+ $re?: any;
1269
+ $contains?: any;
1270
+ $gt?: any;
1271
+ $gte?: any;
1272
+ $lt?: any;
1273
+ $lte?: any;
1274
+ }>]>>;
1275
+ }, "strip", z.ZodTypeAny, {
1276
+ offset: number;
1277
+ limit: number;
1278
+ id?: string | string[] | undefined;
1279
+ created_at?: any;
1280
+ updated_at?: any;
1281
+ q?: string | undefined;
1282
+ fields?: string | undefined;
1283
+ order?: string | undefined;
1284
+ with_deleted?: boolean | undefined;
1285
+ title?: string | undefined;
1286
+ }, {
1287
+ id?: string | string[] | undefined;
1288
+ created_at?: any;
1289
+ updated_at?: any;
1290
+ offset?: unknown;
1291
+ limit?: unknown;
1292
+ q?: string | undefined;
1293
+ fields?: string | undefined;
1294
+ order?: string | undefined;
1295
+ with_deleted?: unknown;
1296
+ title?: string | undefined;
1297
+ }>;
1298
+ export type VendorCreateVariantPriceType = z.infer<typeof VendorCreateVariantPrice>;
1299
+ export declare const VendorCreateVariantPrice: z.ZodObject<{
1300
+ currency_code: z.ZodString;
1301
+ amount: z.ZodNumber;
1302
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1303
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1304
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ amount: number;
1307
+ currency_code: string;
1308
+ rules?: Record<string, string> | undefined;
1309
+ min_quantity?: number | null | undefined;
1310
+ max_quantity?: number | null | undefined;
1311
+ }, {
1312
+ amount: number;
1313
+ currency_code: string;
1314
+ rules?: Record<string, string> | undefined;
1315
+ min_quantity?: number | null | undefined;
1316
+ max_quantity?: number | null | undefined;
1317
+ }>;
1318
+ export type VendorCreateProductOptionType = z.infer<typeof CreateProductOption> & AdditionalData;
1319
+ export declare const CreateProductOption: z.ZodObject<{
1320
+ title: z.ZodString;
1321
+ values: z.ZodArray<z.ZodString, "many">;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ values: string[];
1324
+ title: string;
1325
+ }, {
1326
+ values: string[];
1327
+ title: string;
1328
+ }>;
1329
+ export declare const VendorCreateProductOption: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1330
+ [x: string]: any;
1331
+ }, {
1332
+ [x: string]: any;
1333
+ }> | z.ZodEffects<any, any, any>;
1334
+ export type VendorUpdateProductOptionType = z.infer<typeof UpdateProductOption> & AdditionalData;
1335
+ export declare const UpdateProductOption: z.ZodObject<{
1336
+ id: z.ZodOptional<z.ZodString>;
1337
+ title: z.ZodOptional<z.ZodString>;
1338
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1339
+ convert_to_attribute: z.ZodOptional<z.ZodBoolean>;
1340
+ }, "strip", z.ZodTypeAny, {
1341
+ values?: string[] | undefined;
1342
+ id?: string | undefined;
1343
+ title?: string | undefined;
1344
+ convert_to_attribute?: boolean | undefined;
1345
+ }, {
1346
+ values?: string[] | undefined;
1347
+ id?: string | undefined;
1348
+ title?: string | undefined;
1349
+ convert_to_attribute?: boolean | undefined;
1350
+ }>;
1351
+ export declare const VendorUpdateProductOption: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1352
+ [x: string]: any;
1353
+ }, {
1354
+ [x: string]: any;
1355
+ }> | z.ZodEffects<any, any, any>;
1356
+ export type VendorCreateProductVariantType = z.infer<typeof CreateProductVariant> & AdditionalData;
1357
+ export declare const CreateProductVariant: z.ZodObject<{
1358
+ title: z.ZodString;
1359
+ sku: z.ZodOptional<z.ZodString>;
1360
+ ean: z.ZodOptional<z.ZodString>;
1361
+ upc: z.ZodOptional<z.ZodString>;
1362
+ barcode: z.ZodOptional<z.ZodString>;
1363
+ hs_code: z.ZodOptional<z.ZodString>;
1364
+ mid_code: z.ZodOptional<z.ZodString>;
1365
+ allow_backorder: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1366
+ manage_inventory: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1367
+ variant_rank: z.ZodOptional<z.ZodNumber>;
1368
+ weight: z.ZodOptional<z.ZodNumber>;
1369
+ length: z.ZodOptional<z.ZodNumber>;
1370
+ height: z.ZodOptional<z.ZodNumber>;
1371
+ width: z.ZodOptional<z.ZodNumber>;
1372
+ origin_country: z.ZodOptional<z.ZodString>;
1373
+ material: z.ZodOptional<z.ZodString>;
1374
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1375
+ prices: z.ZodArray<z.ZodObject<{
1376
+ currency_code: z.ZodString;
1377
+ amount: z.ZodNumber;
1378
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1379
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1380
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1381
+ }, "strip", z.ZodTypeAny, {
1382
+ amount: number;
1383
+ currency_code: string;
1384
+ rules?: Record<string, string> | undefined;
1385
+ min_quantity?: number | null | undefined;
1386
+ max_quantity?: number | null | undefined;
1387
+ }, {
1388
+ amount: number;
1389
+ currency_code: string;
1390
+ rules?: Record<string, string> | undefined;
1391
+ min_quantity?: number | null | undefined;
1392
+ max_quantity?: number | null | undefined;
1393
+ }>, "many">;
1394
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1395
+ inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
1396
+ inventory_item_id: z.ZodString;
1397
+ required_quantity: z.ZodNumber;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ inventory_item_id: string;
1400
+ required_quantity: number;
1401
+ }, {
1402
+ inventory_item_id: string;
1403
+ required_quantity: number;
1404
+ }>, "many">>;
1405
+ }, "strict", z.ZodTypeAny, {
1406
+ title: string;
1407
+ prices: {
1408
+ amount: number;
1409
+ currency_code: string;
1410
+ rules?: Record<string, string> | undefined;
1411
+ min_quantity?: number | null | undefined;
1412
+ max_quantity?: number | null | undefined;
1413
+ }[];
1414
+ allow_backorder: boolean;
1415
+ manage_inventory: boolean;
1416
+ options?: Record<string, string> | undefined;
1417
+ length?: number | undefined;
1418
+ metadata?: Record<string, unknown> | undefined;
1419
+ sku?: string | undefined;
1420
+ origin_country?: string | undefined;
1421
+ hs_code?: string | undefined;
1422
+ mid_code?: string | undefined;
1423
+ material?: string | undefined;
1424
+ weight?: number | undefined;
1425
+ height?: number | undefined;
1426
+ width?: number | undefined;
1427
+ ean?: string | undefined;
1428
+ upc?: string | undefined;
1429
+ barcode?: string | undefined;
1430
+ variant_rank?: number | undefined;
1431
+ inventory_items?: {
1432
+ inventory_item_id: string;
1433
+ required_quantity: number;
1434
+ }[] | undefined;
1435
+ }, {
1436
+ title: string;
1437
+ prices: {
1438
+ amount: number;
1439
+ currency_code: string;
1440
+ rules?: Record<string, string> | undefined;
1441
+ min_quantity?: number | null | undefined;
1442
+ max_quantity?: number | null | undefined;
1443
+ }[];
1444
+ options?: Record<string, string> | undefined;
1445
+ length?: number | undefined;
1446
+ metadata?: Record<string, unknown> | undefined;
1447
+ sku?: string | undefined;
1448
+ origin_country?: string | undefined;
1449
+ hs_code?: string | undefined;
1450
+ mid_code?: string | undefined;
1451
+ material?: string | undefined;
1452
+ weight?: number | undefined;
1453
+ height?: number | undefined;
1454
+ width?: number | undefined;
1455
+ ean?: string | undefined;
1456
+ upc?: string | undefined;
1457
+ barcode?: string | undefined;
1458
+ allow_backorder?: boolean | undefined;
1459
+ manage_inventory?: boolean | undefined;
1460
+ variant_rank?: number | undefined;
1461
+ inventory_items?: {
1462
+ inventory_item_id: string;
1463
+ required_quantity: number;
1464
+ }[] | undefined;
1465
+ }>;
1466
+ export declare const VendorCreateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1467
+ [x: string]: any;
1468
+ }, {
1469
+ [x: string]: any;
1470
+ }> | z.ZodEffects<any, any, any>;
1471
+ export type VendorUpdateProductVariantType = z.infer<typeof UpdateProductVariant> & AdditionalData;
1472
+ export declare const UpdateProductVariant: z.ZodObject<{
1473
+ id: z.ZodOptional<z.ZodString>;
1474
+ title: z.ZodOptional<z.ZodString>;
1475
+ prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
1476
+ currency_code: z.ZodString;
1477
+ amount: 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
+ amount: number;
1483
+ currency_code: string;
1484
+ rules?: Record<string, string> | undefined;
1485
+ min_quantity?: number | null | undefined;
1486
+ max_quantity?: number | null | undefined;
1487
+ }, {
1488
+ amount: number;
1489
+ currency_code: string;
1490
+ rules?: Record<string, string> | undefined;
1491
+ min_quantity?: number | null | undefined;
1492
+ max_quantity?: number | null | undefined;
1493
+ }>, "many">>;
1494
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1495
+ ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1496
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1497
+ barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1498
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1499
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1500
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1501
+ allow_backorder: z.ZodOptional<z.ZodBoolean>;
1502
+ manage_inventory: z.ZodOptional<z.ZodBoolean>;
1503
+ variant_rank: z.ZodOptional<z.ZodNumber>;
1504
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1505
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1506
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1507
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1508
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1509
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1510
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1511
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1512
+ }, "strict", z.ZodTypeAny, {
1513
+ options?: Record<string, string> | undefined;
1514
+ length?: number | null | undefined;
1515
+ id?: string | undefined;
1516
+ metadata?: Record<string, unknown> | null | undefined;
1517
+ title?: string | undefined;
1518
+ thumbnail?: string | null | undefined;
1519
+ sku?: string | null | undefined;
1520
+ origin_country?: string | null | undefined;
1521
+ hs_code?: string | null | undefined;
1522
+ mid_code?: string | null | undefined;
1523
+ material?: string | null | undefined;
1524
+ weight?: number | null | undefined;
1525
+ height?: number | null | undefined;
1526
+ width?: number | null | undefined;
1527
+ prices?: {
1528
+ amount: number;
1529
+ currency_code: string;
1530
+ rules?: Record<string, string> | undefined;
1531
+ min_quantity?: number | null | undefined;
1532
+ max_quantity?: number | null | undefined;
1533
+ }[] | undefined;
1534
+ ean?: string | null | undefined;
1535
+ upc?: string | null | undefined;
1536
+ barcode?: string | null | undefined;
1537
+ allow_backorder?: boolean | undefined;
1538
+ manage_inventory?: boolean | undefined;
1539
+ variant_rank?: number | undefined;
1540
+ }, {
1541
+ options?: Record<string, string> | undefined;
1542
+ length?: number | null | undefined;
1543
+ id?: string | undefined;
1544
+ metadata?: Record<string, unknown> | null | undefined;
1545
+ title?: string | undefined;
1546
+ thumbnail?: string | null | undefined;
1547
+ sku?: string | null | undefined;
1548
+ origin_country?: string | null | undefined;
1549
+ hs_code?: string | null | undefined;
1550
+ mid_code?: string | null | undefined;
1551
+ material?: string | null | undefined;
1552
+ weight?: number | null | undefined;
1553
+ height?: number | null | undefined;
1554
+ width?: number | null | undefined;
1555
+ prices?: {
1556
+ amount: number;
1557
+ currency_code: string;
1558
+ rules?: Record<string, string> | undefined;
1559
+ min_quantity?: number | null | undefined;
1560
+ max_quantity?: number | null | undefined;
1561
+ }[] | undefined;
1562
+ ean?: string | null | undefined;
1563
+ upc?: string | null | undefined;
1564
+ barcode?: string | null | undefined;
1565
+ allow_backorder?: boolean | undefined;
1566
+ manage_inventory?: boolean | undefined;
1567
+ variant_rank?: number | undefined;
1568
+ }>;
1569
+ export declare const VendorUpdateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1570
+ [x: string]: any;
1571
+ }, {
1572
+ [x: string]: any;
1573
+ }> | z.ZodEffects<any, any, any>;
1574
+ export type VendorCreateProductType = z.infer<typeof CreateProduct> & AdditionalData;
1575
+ export declare const CreateProduct: z.ZodObject<{
1576
+ title: z.ZodString;
1577
+ subtitle: z.ZodOptional<z.ZodString>;
1578
+ description: z.ZodOptional<z.ZodString>;
1579
+ is_giftcard: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1580
+ discountable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1581
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1582
+ url: z.ZodString;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ url: string;
1585
+ }, {
1586
+ url: string;
1587
+ }>, "many">>;
1588
+ thumbnail: z.ZodOptional<z.ZodString>;
1589
+ handle: z.ZodOptional<z.ZodString>;
1590
+ status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>>;
1591
+ external_id: z.ZodOptional<z.ZodString>;
1592
+ type_id: z.ZodOptional<z.ZodString>;
1593
+ collection_id: z.ZodOptional<z.ZodString>;
1594
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
1595
+ id: z.ZodString;
1596
+ }, "strip", z.ZodTypeAny, {
1597
+ id: string;
1598
+ }, {
1599
+ id: string;
1600
+ }>, "many">>;
1601
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1602
+ id: z.ZodString;
1603
+ }, "strip", z.ZodTypeAny, {
1604
+ id: string;
1605
+ }, {
1606
+ id: string;
1607
+ }>, "many">>;
1608
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1609
+ title: z.ZodString;
1610
+ values: z.ZodArray<z.ZodString, "many">;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ values: string[];
1613
+ title: string;
1614
+ }, {
1615
+ values: string[];
1616
+ title: string;
1617
+ }>, "many">>;
1618
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1619
+ title: z.ZodString;
1620
+ sku: z.ZodOptional<z.ZodString>;
1621
+ ean: z.ZodOptional<z.ZodString>;
1622
+ upc: z.ZodOptional<z.ZodString>;
1623
+ barcode: z.ZodOptional<z.ZodString>;
1624
+ hs_code: z.ZodOptional<z.ZodString>;
1625
+ mid_code: z.ZodOptional<z.ZodString>;
1626
+ allow_backorder: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1627
+ manage_inventory: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1628
+ variant_rank: z.ZodOptional<z.ZodNumber>;
1629
+ weight: z.ZodOptional<z.ZodNumber>;
1630
+ length: z.ZodOptional<z.ZodNumber>;
1631
+ height: z.ZodOptional<z.ZodNumber>;
1632
+ width: z.ZodOptional<z.ZodNumber>;
1633
+ origin_country: z.ZodOptional<z.ZodString>;
1634
+ material: z.ZodOptional<z.ZodString>;
1635
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1636
+ prices: z.ZodArray<z.ZodObject<{
1637
+ currency_code: z.ZodString;
1638
+ amount: z.ZodNumber;
1639
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1640
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1641
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ amount: number;
1644
+ currency_code: string;
1645
+ rules?: Record<string, string> | undefined;
1646
+ min_quantity?: number | null | undefined;
1647
+ max_quantity?: number | null | undefined;
1648
+ }, {
1649
+ amount: number;
1650
+ currency_code: string;
1651
+ rules?: Record<string, string> | undefined;
1652
+ min_quantity?: number | null | undefined;
1653
+ max_quantity?: number | null | undefined;
1654
+ }>, "many">;
1655
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1656
+ inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
1657
+ inventory_item_id: z.ZodString;
1658
+ required_quantity: z.ZodNumber;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ inventory_item_id: string;
1661
+ required_quantity: number;
1662
+ }, {
1663
+ inventory_item_id: string;
1664
+ required_quantity: number;
1665
+ }>, "many">>;
1666
+ }, "strict", z.ZodTypeAny, {
1667
+ title: string;
1668
+ prices: {
1669
+ amount: number;
1670
+ currency_code: string;
1671
+ rules?: Record<string, string> | undefined;
1672
+ min_quantity?: number | null | undefined;
1673
+ max_quantity?: number | null | undefined;
1674
+ }[];
1675
+ allow_backorder: boolean;
1676
+ manage_inventory: boolean;
1677
+ options?: Record<string, string> | undefined;
1678
+ length?: number | undefined;
1679
+ metadata?: Record<string, unknown> | undefined;
1680
+ sku?: string | undefined;
1681
+ origin_country?: string | undefined;
1682
+ hs_code?: string | undefined;
1683
+ mid_code?: string | undefined;
1684
+ material?: string | undefined;
1685
+ weight?: number | undefined;
1686
+ height?: number | undefined;
1687
+ width?: number | undefined;
1688
+ ean?: string | undefined;
1689
+ upc?: string | undefined;
1690
+ barcode?: string | undefined;
1691
+ variant_rank?: number | undefined;
1692
+ inventory_items?: {
1693
+ inventory_item_id: string;
1694
+ required_quantity: number;
1695
+ }[] | undefined;
1696
+ }, {
1697
+ title: string;
1698
+ prices: {
1699
+ amount: number;
1700
+ currency_code: string;
1701
+ rules?: Record<string, string> | undefined;
1702
+ min_quantity?: number | null | undefined;
1703
+ max_quantity?: number | null | undefined;
1704
+ }[];
1705
+ options?: Record<string, string> | undefined;
1706
+ length?: number | undefined;
1707
+ metadata?: Record<string, unknown> | undefined;
1708
+ sku?: string | undefined;
1709
+ origin_country?: string | undefined;
1710
+ hs_code?: string | undefined;
1711
+ mid_code?: string | undefined;
1712
+ material?: string | undefined;
1713
+ weight?: number | undefined;
1714
+ height?: number | undefined;
1715
+ width?: number | undefined;
1716
+ ean?: string | undefined;
1717
+ upc?: string | undefined;
1718
+ barcode?: string | undefined;
1719
+ allow_backorder?: boolean | undefined;
1720
+ manage_inventory?: boolean | undefined;
1721
+ variant_rank?: number | undefined;
1722
+ inventory_items?: {
1723
+ inventory_item_id: string;
1724
+ required_quantity: number;
1725
+ }[] | undefined;
1726
+ }>, "many">>;
1727
+ sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1728
+ id: z.ZodString;
1729
+ }, "strip", z.ZodTypeAny, {
1730
+ id: string;
1731
+ }, {
1732
+ id: string;
1733
+ }>, "many">>;
1734
+ shipping_profile_id: z.ZodOptional<z.ZodString>;
1735
+ weight: z.ZodOptional<z.ZodNumber>;
1736
+ length: z.ZodOptional<z.ZodNumber>;
1737
+ height: z.ZodOptional<z.ZodNumber>;
1738
+ width: z.ZodOptional<z.ZodNumber>;
1739
+ hs_code: z.ZodOptional<z.ZodString>;
1740
+ mid_code: z.ZodOptional<z.ZodString>;
1741
+ origin_country: z.ZodOptional<z.ZodString>;
1742
+ material: z.ZodOptional<z.ZodString>;
1743
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1744
+ }, "strict", z.ZodTypeAny, {
1745
+ status: ProductStatus;
1746
+ title: string;
1747
+ is_giftcard: boolean;
1748
+ discountable: boolean;
1749
+ options?: {
1750
+ values: string[];
1751
+ title: string;
1752
+ }[] | undefined;
1753
+ length?: number | undefined;
1754
+ handle?: string | undefined;
1755
+ description?: string | undefined;
1756
+ external_id?: string | undefined;
1757
+ metadata?: Record<string, unknown> | undefined;
1758
+ thumbnail?: string | undefined;
1759
+ collection_id?: string | undefined;
1760
+ type_id?: string | undefined;
1761
+ origin_country?: string | undefined;
1762
+ hs_code?: string | undefined;
1763
+ mid_code?: string | undefined;
1764
+ material?: string | undefined;
1765
+ weight?: number | undefined;
1766
+ height?: number | undefined;
1767
+ width?: number | undefined;
1768
+ subtitle?: string | undefined;
1769
+ images?: {
1770
+ url: string;
1771
+ }[] | undefined;
1772
+ categories?: {
1773
+ id: string;
1774
+ }[] | undefined;
1775
+ tags?: {
1776
+ id: string;
1777
+ }[] | undefined;
1778
+ variants?: {
1779
+ title: string;
1780
+ prices: {
1781
+ amount: number;
1782
+ currency_code: string;
1783
+ rules?: Record<string, string> | undefined;
1784
+ min_quantity?: number | null | undefined;
1785
+ max_quantity?: number | null | undefined;
1786
+ }[];
1787
+ allow_backorder: boolean;
1788
+ manage_inventory: boolean;
1789
+ options?: Record<string, string> | undefined;
1790
+ length?: number | undefined;
1791
+ metadata?: Record<string, unknown> | undefined;
1792
+ sku?: string | undefined;
1793
+ origin_country?: string | undefined;
1794
+ hs_code?: string | undefined;
1795
+ mid_code?: string | undefined;
1796
+ material?: string | undefined;
1797
+ weight?: number | undefined;
1798
+ height?: number | undefined;
1799
+ width?: number | undefined;
1800
+ ean?: string | undefined;
1801
+ upc?: string | undefined;
1802
+ barcode?: string | undefined;
1803
+ variant_rank?: number | undefined;
1804
+ inventory_items?: {
1805
+ inventory_item_id: string;
1806
+ required_quantity: number;
1807
+ }[] | undefined;
1808
+ }[] | undefined;
1809
+ sales_channels?: {
1810
+ id: string;
1811
+ }[] | undefined;
1812
+ shipping_profile_id?: string | undefined;
1813
+ }, {
1814
+ title: string;
1815
+ options?: {
1816
+ values: string[];
1817
+ title: string;
1818
+ }[] | undefined;
1819
+ length?: number | undefined;
1820
+ status?: ProductStatus | undefined;
1821
+ handle?: string | undefined;
1822
+ description?: string | undefined;
1823
+ external_id?: string | undefined;
1824
+ metadata?: Record<string, unknown> | undefined;
1825
+ thumbnail?: string | undefined;
1826
+ collection_id?: string | undefined;
1827
+ type_id?: string | undefined;
1828
+ origin_country?: string | undefined;
1829
+ hs_code?: string | undefined;
1830
+ mid_code?: string | undefined;
1831
+ material?: string | undefined;
1832
+ weight?: number | undefined;
1833
+ height?: number | undefined;
1834
+ width?: number | undefined;
1835
+ subtitle?: string | undefined;
1836
+ is_giftcard?: boolean | undefined;
1837
+ discountable?: boolean | undefined;
1838
+ images?: {
1839
+ url: string;
1840
+ }[] | undefined;
1841
+ categories?: {
1842
+ id: string;
1843
+ }[] | undefined;
1844
+ tags?: {
1845
+ id: string;
1846
+ }[] | undefined;
1847
+ variants?: {
1848
+ title: string;
1849
+ prices: {
1850
+ amount: number;
1851
+ currency_code: string;
1852
+ rules?: Record<string, string> | undefined;
1853
+ min_quantity?: number | null | undefined;
1854
+ max_quantity?: number | null | undefined;
1855
+ }[];
1856
+ options?: Record<string, string> | undefined;
1857
+ length?: number | undefined;
1858
+ metadata?: Record<string, unknown> | undefined;
1859
+ sku?: string | undefined;
1860
+ origin_country?: string | undefined;
1861
+ hs_code?: string | undefined;
1862
+ mid_code?: string | undefined;
1863
+ material?: string | undefined;
1864
+ weight?: number | undefined;
1865
+ height?: number | undefined;
1866
+ width?: number | undefined;
1867
+ ean?: string | undefined;
1868
+ upc?: string | undefined;
1869
+ barcode?: string | undefined;
1870
+ allow_backorder?: boolean | undefined;
1871
+ manage_inventory?: boolean | undefined;
1872
+ variant_rank?: number | undefined;
1873
+ inventory_items?: {
1874
+ inventory_item_id: string;
1875
+ required_quantity: number;
1876
+ }[] | undefined;
1877
+ }[] | undefined;
1878
+ sales_channels?: {
1879
+ id: string;
1880
+ }[] | undefined;
1881
+ shipping_profile_id?: string | undefined;
1882
+ }>;
1883
+ export declare const VendorCreateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
1884
+ [x: string]: any;
1885
+ }, {
1886
+ [x: string]: any;
1887
+ }> | z.ZodEffects<any, any, any>;
1888
+ export type VendorUpdateProductType = z.infer<typeof UpdateProduct> & AdditionalData;
1889
+ export declare const UpdateProduct: z.ZodObject<{
1890
+ title: z.ZodOptional<z.ZodString>;
1891
+ discountable: z.ZodOptional<z.ZodBoolean>;
1892
+ is_giftcard: z.ZodOptional<z.ZodBoolean>;
1893
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1894
+ id: z.ZodOptional<z.ZodString>;
1895
+ title: z.ZodOptional<z.ZodString>;
1896
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1897
+ convert_to_attribute: z.ZodOptional<z.ZodBoolean>;
1898
+ }, "strip", z.ZodTypeAny, {
1899
+ values?: string[] | undefined;
1900
+ id?: string | undefined;
1901
+ title?: string | undefined;
1902
+ convert_to_attribute?: boolean | undefined;
1903
+ }, {
1904
+ values?: string[] | undefined;
1905
+ id?: string | undefined;
1906
+ title?: string | undefined;
1907
+ convert_to_attribute?: boolean | undefined;
1908
+ }>, "many">>;
1909
+ variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
1910
+ id: z.ZodOptional<z.ZodString>;
1911
+ title: z.ZodOptional<z.ZodString>;
1912
+ prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
1913
+ currency_code: z.ZodString;
1914
+ amount: z.ZodNumber;
1915
+ min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1916
+ max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1917
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ amount: number;
1920
+ currency_code: string;
1921
+ rules?: Record<string, string> | undefined;
1922
+ min_quantity?: number | null | undefined;
1923
+ max_quantity?: number | null | undefined;
1924
+ }, {
1925
+ amount: number;
1926
+ currency_code: string;
1927
+ rules?: Record<string, string> | undefined;
1928
+ min_quantity?: number | null | undefined;
1929
+ max_quantity?: number | null | undefined;
1930
+ }>, "many">>;
1931
+ sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1932
+ ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1933
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1934
+ barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1935
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1936
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1937
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1938
+ allow_backorder: z.ZodOptional<z.ZodBoolean>;
1939
+ manage_inventory: z.ZodOptional<z.ZodBoolean>;
1940
+ variant_rank: z.ZodOptional<z.ZodNumber>;
1941
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1942
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1943
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1944
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1945
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1947
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1948
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1949
+ }, "strict", z.ZodTypeAny, {
1950
+ options?: Record<string, string> | undefined;
1951
+ length?: number | null | undefined;
1952
+ id?: string | undefined;
1953
+ metadata?: Record<string, unknown> | null | undefined;
1954
+ title?: string | undefined;
1955
+ thumbnail?: string | null | undefined;
1956
+ sku?: string | null | undefined;
1957
+ origin_country?: string | null | undefined;
1958
+ hs_code?: string | null | undefined;
1959
+ mid_code?: string | null | undefined;
1960
+ material?: string | null | undefined;
1961
+ weight?: number | null | undefined;
1962
+ height?: number | null | undefined;
1963
+ width?: number | null | undefined;
1964
+ prices?: {
1965
+ amount: number;
1966
+ currency_code: string;
1967
+ rules?: Record<string, string> | undefined;
1968
+ min_quantity?: number | null | undefined;
1969
+ max_quantity?: number | null | undefined;
1970
+ }[] | undefined;
1971
+ ean?: string | null | undefined;
1972
+ upc?: string | null | undefined;
1973
+ barcode?: string | null | undefined;
1974
+ allow_backorder?: boolean | undefined;
1975
+ manage_inventory?: boolean | undefined;
1976
+ variant_rank?: number | undefined;
1977
+ }, {
1978
+ options?: Record<string, string> | undefined;
1979
+ length?: number | null | undefined;
1980
+ id?: string | undefined;
1981
+ metadata?: Record<string, unknown> | null | undefined;
1982
+ title?: string | undefined;
1983
+ thumbnail?: string | null | undefined;
1984
+ sku?: string | null | undefined;
1985
+ origin_country?: string | null | undefined;
1986
+ hs_code?: string | null | undefined;
1987
+ mid_code?: string | null | undefined;
1988
+ material?: string | null | undefined;
1989
+ weight?: number | null | undefined;
1990
+ height?: number | null | undefined;
1991
+ width?: number | null | undefined;
1992
+ prices?: {
1993
+ amount: number;
1994
+ currency_code: string;
1995
+ rules?: Record<string, string> | undefined;
1996
+ min_quantity?: number | null | undefined;
1997
+ max_quantity?: number | null | undefined;
1998
+ }[] | undefined;
1999
+ ean?: string | null | undefined;
2000
+ upc?: string | null | undefined;
2001
+ barcode?: string | null | undefined;
2002
+ allow_backorder?: boolean | undefined;
2003
+ manage_inventory?: boolean | undefined;
2004
+ variant_rank?: number | undefined;
2005
+ }>, "many">>;
2006
+ status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
2007
+ subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2008
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2009
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
2010
+ id: z.ZodOptional<z.ZodString>;
2011
+ url: z.ZodString;
2012
+ }, "strip", z.ZodTypeAny, {
2013
+ url: string;
2014
+ id?: string | undefined;
2015
+ }, {
2016
+ url: string;
2017
+ id?: string | undefined;
2018
+ }>, "many">>;
2019
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2020
+ handle: z.ZodOptional<z.ZodString>;
2021
+ type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2022
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2023
+ collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2024
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
2025
+ id: z.ZodString;
2026
+ }, "strip", z.ZodTypeAny, {
2027
+ id: string;
2028
+ }, {
2029
+ id: string;
2030
+ }>, "many">>;
2031
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2032
+ id: z.ZodString;
2033
+ }, "strip", z.ZodTypeAny, {
2034
+ id: string;
2035
+ }, {
2036
+ id: string;
2037
+ }>, "many">>;
2038
+ sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
2039
+ id: z.ZodString;
2040
+ }, "strip", z.ZodTypeAny, {
2041
+ id: string;
2042
+ }, {
2043
+ id: string;
2044
+ }>, "many">>;
2045
+ shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2046
+ weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2047
+ length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2048
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2049
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2050
+ hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2051
+ mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2052
+ origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2053
+ material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2054
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2055
+ additional_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2056
+ }, "strip", z.ZodTypeAny, {
2057
+ options?: {
2058
+ values?: string[] | undefined;
2059
+ id?: string | undefined;
2060
+ title?: string | undefined;
2061
+ convert_to_attribute?: boolean | undefined;
2062
+ }[] | undefined;
2063
+ length?: number | null | undefined;
2064
+ status?: ProductStatus | undefined;
2065
+ handle?: string | undefined;
2066
+ description?: string | null | undefined;
2067
+ external_id?: string | null | undefined;
2068
+ metadata?: Record<string, unknown> | null | undefined;
2069
+ title?: string | undefined;
2070
+ thumbnail?: string | null | undefined;
2071
+ collection_id?: string | null | undefined;
2072
+ type_id?: string | null | undefined;
2073
+ origin_country?: string | null | undefined;
2074
+ hs_code?: string | null | undefined;
2075
+ mid_code?: string | null | undefined;
2076
+ material?: string | null | undefined;
2077
+ weight?: number | null | undefined;
2078
+ height?: number | null | undefined;
2079
+ width?: number | null | undefined;
2080
+ subtitle?: string | null | undefined;
2081
+ is_giftcard?: boolean | undefined;
2082
+ discountable?: boolean | undefined;
2083
+ images?: {
2084
+ url: string;
2085
+ id?: string | undefined;
2086
+ }[] | undefined;
2087
+ categories?: {
2088
+ id: string;
2089
+ }[] | undefined;
2090
+ tags?: {
2091
+ id: string;
2092
+ }[] | undefined;
2093
+ variants?: {
2094
+ options?: Record<string, string> | undefined;
2095
+ length?: number | null | undefined;
2096
+ id?: string | undefined;
2097
+ metadata?: Record<string, unknown> | null | undefined;
2098
+ title?: string | undefined;
2099
+ thumbnail?: string | null | undefined;
2100
+ sku?: string | null | undefined;
2101
+ origin_country?: string | null | undefined;
2102
+ hs_code?: string | null | undefined;
2103
+ mid_code?: string | null | undefined;
2104
+ material?: string | null | undefined;
2105
+ weight?: number | null | undefined;
2106
+ height?: number | null | undefined;
2107
+ width?: number | null | undefined;
2108
+ prices?: {
2109
+ amount: number;
2110
+ currency_code: string;
2111
+ rules?: Record<string, string> | undefined;
2112
+ min_quantity?: number | null | undefined;
2113
+ max_quantity?: number | null | undefined;
2114
+ }[] | undefined;
2115
+ ean?: string | null | undefined;
2116
+ upc?: string | null | undefined;
2117
+ barcode?: string | null | undefined;
2118
+ allow_backorder?: boolean | undefined;
2119
+ manage_inventory?: boolean | undefined;
2120
+ variant_rank?: number | undefined;
2121
+ }[] | undefined;
2122
+ sales_channels?: {
2123
+ id: string;
2124
+ }[] | undefined;
2125
+ shipping_profile_id?: string | null | undefined;
2126
+ additional_data?: Record<string, unknown> | null | undefined;
2127
+ }, {
2128
+ options?: {
2129
+ values?: string[] | undefined;
2130
+ id?: string | undefined;
2131
+ title?: string | undefined;
2132
+ convert_to_attribute?: boolean | undefined;
2133
+ }[] | undefined;
2134
+ length?: number | null | undefined;
2135
+ status?: ProductStatus | undefined;
2136
+ handle?: string | undefined;
2137
+ description?: string | null | undefined;
2138
+ external_id?: string | null | undefined;
2139
+ metadata?: Record<string, unknown> | null | undefined;
2140
+ title?: string | undefined;
2141
+ thumbnail?: string | null | undefined;
2142
+ collection_id?: string | null | undefined;
2143
+ type_id?: string | null | undefined;
2144
+ origin_country?: string | null | undefined;
2145
+ hs_code?: string | null | undefined;
2146
+ mid_code?: string | null | undefined;
2147
+ material?: string | null | undefined;
2148
+ weight?: number | null | undefined;
2149
+ height?: number | null | undefined;
2150
+ width?: number | null | undefined;
2151
+ subtitle?: string | null | undefined;
2152
+ is_giftcard?: boolean | undefined;
2153
+ discountable?: boolean | undefined;
2154
+ images?: {
2155
+ url: string;
2156
+ id?: string | undefined;
2157
+ }[] | undefined;
2158
+ categories?: {
2159
+ id: string;
2160
+ }[] | undefined;
2161
+ tags?: {
2162
+ id: string;
2163
+ }[] | undefined;
2164
+ variants?: {
2165
+ options?: Record<string, string> | undefined;
2166
+ length?: number | null | undefined;
2167
+ id?: string | undefined;
2168
+ metadata?: Record<string, unknown> | null | undefined;
2169
+ title?: string | undefined;
2170
+ thumbnail?: string | null | undefined;
2171
+ sku?: string | null | undefined;
2172
+ origin_country?: string | null | undefined;
2173
+ hs_code?: string | null | undefined;
2174
+ mid_code?: string | null | undefined;
2175
+ material?: string | null | undefined;
2176
+ weight?: number | null | undefined;
2177
+ height?: number | null | undefined;
2178
+ width?: number | null | undefined;
2179
+ prices?: {
2180
+ amount: number;
2181
+ currency_code: string;
2182
+ rules?: Record<string, string> | undefined;
2183
+ min_quantity?: number | null | undefined;
2184
+ max_quantity?: number | null | undefined;
2185
+ }[] | undefined;
2186
+ ean?: string | null | undefined;
2187
+ upc?: string | null | undefined;
2188
+ barcode?: string | null | undefined;
2189
+ allow_backorder?: boolean | undefined;
2190
+ manage_inventory?: boolean | undefined;
2191
+ variant_rank?: number | undefined;
2192
+ }[] | undefined;
2193
+ sales_channels?: {
2194
+ id: string;
2195
+ }[] | undefined;
2196
+ shipping_profile_id?: string | null | undefined;
2197
+ additional_data?: Record<string, unknown> | null | undefined;
2198
+ }>;
2199
+ export declare const VendorUpdateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
2200
+ [x: string]: any;
2201
+ }, {
2202
+ [x: string]: any;
2203
+ }> | z.ZodEffects<any, any, any>;
2204
+ export type AdminAttributeInputType = z.infer<typeof AdminAttributeInput>;
2205
+ export declare const AdminAttributeInput: z.ZodObject<{
2206
+ attribute_id: z.ZodString;
2207
+ values: z.ZodArray<z.ZodString, "many">;
2208
+ use_for_variations: z.ZodBoolean;
2209
+ }, "strip", z.ZodTypeAny, {
2210
+ values: string[];
2211
+ attribute_id: string;
2212
+ use_for_variations: boolean;
2213
+ }, {
2214
+ values: string[];
2215
+ attribute_id: string;
2216
+ use_for_variations: boolean;
2217
+ }>;
2218
+ export type VendorAttributeInputType = z.infer<typeof VendorAttributeInput>;
2219
+ export declare const VendorAttributeInput: z.ZodObject<{
2220
+ name: z.ZodString;
2221
+ values: z.ZodArray<z.ZodString, "many">;
2222
+ use_for_variations: z.ZodBoolean;
2223
+ ui_component: z.ZodOptional<z.ZodEnum<["select", "multivalue", "unit", "toggle", "text_area", "color_picker"]>>;
2224
+ extends_attribute_id: z.ZodOptional<z.ZodString>;
2225
+ }, "strip", z.ZodTypeAny, {
2226
+ values: string[];
2227
+ name: string;
2228
+ use_for_variations: boolean;
2229
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2230
+ extends_attribute_id?: string | undefined;
2231
+ }, {
2232
+ values: string[];
2233
+ name: string;
2234
+ use_for_variations: boolean;
2235
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2236
+ extends_attribute_id?: string | undefined;
2237
+ }>;
2238
+ export type ProductAttributesAdditionalDataType = z.infer<typeof ProductAttributesAdditionalData>;
2239
+ export declare const ProductAttributesAdditionalData: z.ZodObject<{
2240
+ admin_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2241
+ attribute_id: z.ZodString;
2242
+ values: z.ZodArray<z.ZodString, "many">;
2243
+ use_for_variations: z.ZodBoolean;
2244
+ }, "strip", z.ZodTypeAny, {
2245
+ values: string[];
2246
+ attribute_id: string;
2247
+ use_for_variations: boolean;
2248
+ }, {
2249
+ values: string[];
2250
+ attribute_id: string;
2251
+ use_for_variations: boolean;
2252
+ }>, "many">>;
2253
+ vendor_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2254
+ name: z.ZodString;
2255
+ values: z.ZodArray<z.ZodString, "many">;
2256
+ use_for_variations: z.ZodBoolean;
2257
+ ui_component: z.ZodOptional<z.ZodEnum<["select", "multivalue", "unit", "toggle", "text_area", "color_picker"]>>;
2258
+ extends_attribute_id: z.ZodOptional<z.ZodString>;
2259
+ }, "strip", z.ZodTypeAny, {
2260
+ values: string[];
2261
+ name: string;
2262
+ use_for_variations: boolean;
2263
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2264
+ extends_attribute_id?: string | undefined;
2265
+ }, {
2266
+ values: string[];
2267
+ name: string;
2268
+ use_for_variations: boolean;
2269
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2270
+ extends_attribute_id?: string | undefined;
2271
+ }>, "many">>;
2272
+ }, "strip", z.ZodTypeAny, {
2273
+ admin_attributes?: {
2274
+ values: string[];
2275
+ attribute_id: string;
2276
+ use_for_variations: boolean;
2277
+ }[] | undefined;
2278
+ vendor_attributes?: {
2279
+ values: string[];
2280
+ name: string;
2281
+ use_for_variations: boolean;
2282
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2283
+ extends_attribute_id?: string | undefined;
2284
+ }[] | undefined;
2285
+ }, {
2286
+ admin_attributes?: {
2287
+ values: string[];
2288
+ attribute_id: string;
2289
+ use_for_variations: boolean;
2290
+ }[] | undefined;
2291
+ vendor_attributes?: {
2292
+ values: string[];
2293
+ name: string;
2294
+ use_for_variations: boolean;
2295
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2296
+ extends_attribute_id?: string | undefined;
2297
+ }[] | undefined;
2298
+ }>;
2299
+ export type VendorAddProductAttributeType = z.infer<typeof VendorAddProductAttribute>;
2300
+ export declare const VendorAddProductAttribute: z.ZodObject<{
2301
+ attribute_id: z.ZodOptional<z.ZodString>;
2302
+ name: z.ZodOptional<z.ZodString>;
2303
+ values: z.ZodArray<z.ZodString, "many">;
2304
+ use_for_variations: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2305
+ ui_component: z.ZodOptional<z.ZodEnum<["select", "multivalue", "unit", "toggle", "text_area", "color_picker"]>>;
2306
+ rank: z.ZodOptional<z.ZodNumber>;
2307
+ }, "strip", z.ZodTypeAny, {
2308
+ values: string[];
2309
+ use_for_variations: boolean;
2310
+ name?: string | undefined;
2311
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2312
+ rank?: number | undefined;
2313
+ attribute_id?: string | undefined;
2314
+ }, {
2315
+ values: string[];
2316
+ name?: string | undefined;
2317
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2318
+ rank?: number | undefined;
2319
+ attribute_id?: string | undefined;
2320
+ use_for_variations?: boolean | undefined;
2321
+ }>;
2322
+ export type VendorUpdateProductAttributeType = z.infer<typeof VendorUpdateProductAttribute>;
2323
+ export declare const VendorUpdateProductAttribute: z.ZodObject<{
2324
+ name: z.ZodOptional<z.ZodString>;
2325
+ ui_component: z.ZodOptional<z.ZodEnum<["select", "multivalue", "unit", "toggle", "text_area", "color_picker"]>>;
2326
+ values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2327
+ use_for_variations: z.ZodOptional<z.ZodBoolean>;
2328
+ rank: z.ZodOptional<z.ZodNumber>;
2329
+ }, "strip", z.ZodTypeAny, {
2330
+ values?: string[] | undefined;
2331
+ name?: string | undefined;
2332
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2333
+ rank?: number | undefined;
2334
+ use_for_variations?: boolean | undefined;
2335
+ }, {
2336
+ values?: string[] | undefined;
2337
+ name?: string | undefined;
2338
+ ui_component?: "select" | "multivalue" | "unit" | "toggle" | "text_area" | "color_picker" | undefined;
2339
+ rank?: number | undefined;
2340
+ use_for_variations?: boolean | undefined;
2341
+ }>;
2342
+ export type VendorBatchVariantImagesType = z.infer<typeof VendorBatchVariantImages>;
2343
+ export declare const VendorBatchVariantImages: z.ZodObject<{
2344
+ add: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2345
+ remove: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2346
+ }, "strip", z.ZodTypeAny, {
2347
+ add?: string[] | undefined;
2348
+ remove?: string[] | undefined;
2349
+ }, {
2350
+ add?: string[] | undefined;
2351
+ remove?: string[] | undefined;
2352
+ }>;