@mercurjs/core 2.2.0-canary.1 → 2.2.0-canary.11

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 (837) hide show
  1. package/.medusa/server/src/api/admin/claims/[id]/outbound/items/route.d.ts +20 -0
  2. package/.medusa/server/src/api/admin/claims/[id]/outbound/items/route.js +66 -0
  3. package/.medusa/server/src/api/admin/claims/[id]/request/route.d.ts +10 -0
  4. package/.medusa/server/src/api/admin/claims/[id]/request/route.js +80 -0
  5. package/.medusa/server/src/api/admin/commission-rates/validators.d.ts +4 -4
  6. package/.medusa/server/src/api/admin/exchanges/[id]/outbound/items/route.d.ts +22 -0
  7. package/.medusa/server/src/api/admin/exchanges/[id]/outbound/items/route.js +68 -0
  8. package/.medusa/server/src/api/admin/exchanges/[id]/request/route.d.ts +10 -0
  9. package/.medusa/server/src/api/admin/exchanges/[id]/request/route.js +81 -0
  10. package/.medusa/server/src/api/admin/members/validators.d.ts +2 -2
  11. package/.medusa/server/src/api/admin/middlewares.js +25 -38
  12. package/.medusa/server/src/api/admin/offers/query-config.js +8 -8
  13. package/.medusa/server/src/api/admin/offers/validators.d.ts +8 -8
  14. package/.medusa/server/src/api/admin/order-edits/[id]/items/route.d.ts +26 -0
  15. package/.medusa/server/src/api/admin/order-edits/[id]/items/route.js +57 -0
  16. package/.medusa/server/src/api/admin/order-groups/apply-request-filter.d.ts +2 -0
  17. package/.medusa/server/src/api/admin/order-groups/apply-request-filter.js +140 -0
  18. package/.medusa/server/src/api/admin/order-groups/middlewares.js +3 -1
  19. package/.medusa/server/src/api/admin/order-groups/validators.d.ts +7 -4
  20. package/.medusa/server/src/api/admin/order-groups/validators.js +7 -1
  21. package/.medusa/server/src/api/admin/orders/middlewares.d.ts +2 -0
  22. package/.medusa/server/src/api/admin/orders/middlewares.js +42 -0
  23. package/.medusa/server/src/api/admin/orders/resolve-order-seller-id.d.ts +11 -0
  24. package/.medusa/server/src/api/admin/orders/resolve-order-seller-id.js +24 -0
  25. package/.medusa/server/src/api/admin/orders/validators.d.ts +73 -27
  26. package/.medusa/server/src/api/admin/orders/validators.js +9 -29
  27. package/.medusa/server/src/api/admin/payouts/validators.d.ts +2 -2
  28. package/.medusa/server/src/api/admin/product-attributes/[id]/route.js +3 -3
  29. package/.medusa/server/src/api/admin/product-attributes/[id]/values/[value_id]/route.js +3 -3
  30. package/.medusa/server/src/api/admin/product-attributes/[id]/values/route.js +2 -2
  31. package/.medusa/server/src/api/admin/product-attributes/middlewares.js +15 -1
  32. package/.medusa/server/src/api/admin/product-attributes/query-config.js +1 -2
  33. package/.medusa/server/src/api/admin/product-attributes/route.js +6 -3
  34. package/.medusa/server/src/api/admin/product-attributes/validators.d.ts +5 -9
  35. package/.medusa/server/src/api/admin/product-attributes/validators.js +2 -15
  36. package/.medusa/server/src/api/admin/product-categories/[id]/products/route.js +3 -3
  37. package/.medusa/server/src/api/admin/product-categories/[id]/route.js +8 -7
  38. package/.medusa/server/src/api/admin/product-categories/query-config.js +1 -2
  39. package/.medusa/server/src/api/admin/product-categories/route.js +4 -4
  40. package/.medusa/server/src/api/admin/product-categories/validators.d.ts +8 -8
  41. package/.medusa/server/src/api/admin/product-changes/[id]/cancel/route.js +5 -6
  42. package/.medusa/server/src/api/admin/product-changes/[id]/confirm/route.js +5 -5
  43. package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.d.ts +10 -4
  44. package/.medusa/server/src/api/admin/products/[id]/attributes/[attribute_id]/route.js +60 -23
  45. package/.medusa/server/src/api/admin/products/[id]/attributes/batch/route.d.ts +3 -2
  46. package/.medusa/server/src/api/admin/products/[id]/attributes/batch/route.js +11 -22
  47. package/.medusa/server/src/api/admin/products/[id]/attributes/route.d.ts +2 -3
  48. package/.medusa/server/src/api/admin/products/[id]/attributes/route.js +40 -25
  49. package/.medusa/server/src/api/admin/products/[id]/confirm/route.d.ts +12 -0
  50. package/.medusa/server/src/api/admin/products/[id]/confirm/route.js +16 -6
  51. package/.medusa/server/src/api/admin/products/[id]/preview/route.d.ts +8 -1
  52. package/.medusa/server/src/api/admin/products/[id]/preview/route.js +20 -7
  53. package/.medusa/server/src/api/admin/products/[id]/reject/route.d.ts +8 -0
  54. package/.medusa/server/src/api/admin/products/[id]/reject/route.js +13 -8
  55. package/.medusa/server/src/api/admin/products/[id]/request-changes/route.d.ts +9 -0
  56. package/.medusa/server/src/api/admin/products/[id]/request-changes/route.js +16 -10
  57. package/.medusa/server/src/api/admin/products/[id]/route.js +6 -6
  58. package/.medusa/server/src/api/admin/products/[id]/variants/[variant_id]/route.js +5 -5
  59. package/.medusa/server/src/api/admin/products/[id]/variants/route.js +22 -4
  60. package/.medusa/server/src/api/admin/products/middlewares.js +8 -4
  61. package/.medusa/server/src/api/admin/products/query-config.js +12 -18
  62. package/.medusa/server/src/api/admin/products/route.js +4 -9
  63. package/.medusa/server/src/api/admin/products/validators.d.ts +1049 -205
  64. package/.medusa/server/src/api/admin/products/validators.js +114 -16
  65. package/.medusa/server/src/api/admin/returns/[id]/receive/confirm/route.d.ts +9 -0
  66. package/.medusa/server/src/api/admin/returns/[id]/receive/confirm/route.js +35 -0
  67. package/.medusa/server/src/api/admin/sellers/validators.d.ts +14 -14
  68. package/.medusa/server/src/api/admin/shipping-options/middlewares.d.ts +2 -0
  69. package/.medusa/server/src/api/admin/shipping-options/middlewares.js +46 -0
  70. package/.medusa/server/src/api/admin/shipping-profiles/middlewares.d.ts +2 -0
  71. package/.medusa/server/src/api/admin/shipping-profiles/middlewares.js +46 -0
  72. package/.medusa/server/src/api/{vendor/product-brands → admin/stock-locations}/middlewares.d.ts +1 -1
  73. package/.medusa/server/src/api/admin/stock-locations/middlewares.js +46 -0
  74. package/.medusa/server/src/api/store/carts/[id]/line-items/route.js +23 -5
  75. package/.medusa/server/src/api/store/carts/[id]/line-items/validators.d.ts +0 -3
  76. package/.medusa/server/src/api/store/carts/[id]/line-items/validators.js +1 -2
  77. package/.medusa/server/src/api/store/middlewares.js +7 -9
  78. package/.medusa/server/src/api/store/order-groups/validators.d.ts +2 -2
  79. package/.medusa/server/src/api/store/products/[id]/route.js +3 -18
  80. package/.medusa/server/src/api/store/products/middlewares.js +1 -7
  81. package/.medusa/server/src/api/store/products/query-config.d.ts +1 -3
  82. package/.medusa/server/src/api/store/products/query-config.js +14 -17
  83. package/.medusa/server/src/api/store/products/route.js +3 -19
  84. package/.medusa/server/src/api/store/products/validators.d.ts +0 -6
  85. package/.medusa/server/src/api/store/products/validators.js +1 -2
  86. package/.medusa/server/src/api/store/sellers/validators.d.ts +2 -2
  87. package/.medusa/server/src/api/utils/filter-attributes-by-category-link.d.ts +17 -0
  88. package/.medusa/server/src/api/utils/filter-attributes-by-category-link.js +58 -0
  89. package/.medusa/server/src/api/utils/format-product-attributes.d.ts +51 -5
  90. package/.medusa/server/src/api/utils/format-product-attributes.js +176 -31
  91. package/.medusa/server/src/api/utils/index.d.ts +1 -0
  92. package/.medusa/server/src/api/utils/index.js +2 -1
  93. package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +2 -2
  94. package/.medusa/server/src/api/vendor/claims/[id]/cancel/route.d.ts +4 -0
  95. package/.medusa/server/src/api/vendor/claims/[id]/cancel/route.js +17 -0
  96. package/.medusa/server/src/api/vendor/claims/[id]/claim-items/[action_id]/route.d.ts +9 -0
  97. package/.medusa/server/src/api/vendor/claims/[id]/claim-items/[action_id]/route.js +32 -0
  98. package/.medusa/server/src/api/vendor/claims/[id]/claim-items/route.d.ts +6 -0
  99. package/.medusa/server/src/api/vendor/claims/[id]/claim-items/route.js +15 -0
  100. package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/[action_id]/route.d.ts +9 -0
  101. package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/[action_id]/route.js +46 -0
  102. package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/route.d.ts +6 -0
  103. package/.medusa/server/src/api/vendor/claims/[id]/inbound/items/route.js +26 -0
  104. package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/[action_id]/route.d.ts +9 -0
  105. package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/[action_id]/route.js +39 -0
  106. package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/route.d.ts +6 -0
  107. package/.medusa/server/src/api/vendor/claims/[id]/inbound/shipping-method/route.js +26 -0
  108. package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/[action_id]/route.d.ts +9 -0
  109. package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/[action_id]/route.js +32 -0
  110. package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.d.ts +12 -0
  111. package/.medusa/server/src/api/vendor/claims/[id]/outbound/items/route.js +47 -0
  112. package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/[action_id]/route.d.ts +9 -0
  113. package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/[action_id]/route.js +32 -0
  114. package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/route.d.ts +6 -0
  115. package/.medusa/server/src/api/vendor/claims/[id]/outbound/shipping-method/route.js +15 -0
  116. package/.medusa/server/src/api/vendor/claims/[id]/request/route.d.ts +6 -0
  117. package/.medusa/server/src/api/vendor/claims/[id]/request/route.js +34 -0
  118. package/.medusa/server/src/api/vendor/claims/[id]/route.d.ts +3 -0
  119. package/.medusa/server/src/api/vendor/claims/[id]/route.js +19 -0
  120. package/.medusa/server/src/api/vendor/claims/helpers.d.ts +2 -0
  121. package/.medusa/server/src/api/vendor/claims/helpers.js +19 -0
  122. package/.medusa/server/src/api/vendor/claims/middlewares.d.ts +2 -0
  123. package/.medusa/server/src/api/vendor/claims/middlewares.js +184 -0
  124. package/.medusa/server/src/api/vendor/claims/query-config.d.ts +12 -0
  125. package/.medusa/server/src/api/vendor/claims/query-config.js +31 -0
  126. package/.medusa/server/src/api/vendor/claims/route.d.ts +5 -0
  127. package/.medusa/server/src/api/vendor/claims/route.js +35 -0
  128. package/.medusa/server/src/api/vendor/claims/validators.d.ts +378 -0
  129. package/.medusa/server/src/api/vendor/claims/validators.js +89 -0
  130. package/.medusa/server/src/api/vendor/collections/validators.d.ts +2 -2
  131. package/.medusa/server/src/api/vendor/currencies/validators.d.ts +2 -2
  132. package/.medusa/server/src/api/vendor/customers/validators.d.ts +2 -2
  133. package/.medusa/server/src/api/vendor/exchanges/[id]/cancel/route.d.ts +4 -0
  134. package/.medusa/server/src/api/vendor/exchanges/[id]/cancel/route.js +17 -0
  135. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/[action_id]/route.d.ts +9 -0
  136. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/[action_id]/route.js +46 -0
  137. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/route.d.ts +6 -0
  138. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/items/route.js +26 -0
  139. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/[action_id]/route.d.ts +9 -0
  140. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/[action_id]/route.js +45 -0
  141. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/route.d.ts +6 -0
  142. package/.medusa/server/src/api/vendor/exchanges/[id]/inbound/shipping-method/route.js +26 -0
  143. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/[action_id]/route.d.ts +9 -0
  144. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/[action_id]/route.js +32 -0
  145. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.d.ts +12 -0
  146. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/items/route.js +47 -0
  147. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/[action_id]/route.d.ts +9 -0
  148. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/[action_id]/route.js +32 -0
  149. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/route.d.ts +6 -0
  150. package/.medusa/server/src/api/vendor/exchanges/[id]/outbound/shipping-method/route.js +15 -0
  151. package/.medusa/server/src/api/vendor/exchanges/[id]/request/route.d.ts +6 -0
  152. package/.medusa/server/src/api/vendor/exchanges/[id]/request/route.js +34 -0
  153. package/.medusa/server/src/api/vendor/exchanges/helpers.d.ts +2 -0
  154. package/.medusa/server/src/api/vendor/exchanges/helpers.js +19 -0
  155. package/.medusa/server/src/api/vendor/exchanges/middlewares.d.ts +2 -0
  156. package/.medusa/server/src/api/vendor/exchanges/middlewares.js +155 -0
  157. package/.medusa/server/src/api/vendor/exchanges/query-config.d.ts +7 -0
  158. package/.medusa/server/src/api/vendor/exchanges/query-config.js +23 -0
  159. package/.medusa/server/src/api/vendor/exchanges/route.d.ts +5 -0
  160. package/.medusa/server/src/api/vendor/exchanges/route.js +35 -0
  161. package/.medusa/server/src/api/vendor/exchanges/validators.d.ts +313 -0
  162. package/.medusa/server/src/api/vendor/exchanges/validators.js +71 -0
  163. package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +2 -2
  164. package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +16 -16
  165. package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +8 -8
  166. package/.medusa/server/src/api/vendor/middlewares.js +77 -71
  167. package/.medusa/server/src/api/vendor/offers/query-config.js +8 -8
  168. package/.medusa/server/src/api/vendor/offers/validators.d.ts +10 -10
  169. package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.d.ts +9 -0
  170. package/.medusa/server/src/api/vendor/order-edits/[id]/confirm/route.js +24 -0
  171. package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.d.ts +14 -0
  172. package/.medusa/server/src/api/vendor/order-edits/[id]/items/[action_id]/route.js +41 -0
  173. package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.d.ts +10 -0
  174. package/.medusa/server/src/api/vendor/order-edits/[id]/items/item/[item_id]/route.js +30 -0
  175. package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.d.ts +16 -0
  176. package/.medusa/server/src/api/vendor/order-edits/[id]/items/route.js +45 -0
  177. package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.d.ts +10 -0
  178. package/.medusa/server/src/api/vendor/order-edits/[id]/request/route.js +25 -0
  179. package/.medusa/server/src/api/vendor/order-edits/[id]/route.d.ts +10 -0
  180. package/.medusa/server/src/api/vendor/order-edits/[id]/route.js +26 -0
  181. package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.d.ts +14 -0
  182. package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/[action_id]/route.js +41 -0
  183. package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.d.ts +9 -0
  184. package/.medusa/server/src/api/vendor/order-edits/[id]/shipping-method/route.js +20 -0
  185. package/.medusa/server/src/api/vendor/order-edits/middlewares.d.ts +2 -0
  186. package/.medusa/server/src/api/vendor/order-edits/middlewares.js +106 -0
  187. package/.medusa/server/src/api/vendor/order-edits/route.d.ts +10 -0
  188. package/.medusa/server/src/api/vendor/order-edits/route.js +21 -0
  189. package/.medusa/server/src/api/vendor/order-edits/validators.d.ts +166 -0
  190. package/.medusa/server/src/api/vendor/order-edits/validators.js +50 -0
  191. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.js +3 -3
  192. package/.medusa/server/src/api/vendor/orders/[id]/fulfillments/route.js +3 -3
  193. package/.medusa/server/src/api/vendor/orders/apply-request-filter.d.ts +2 -0
  194. package/.medusa/server/src/api/vendor/orders/apply-request-filter.js +99 -0
  195. package/.medusa/server/src/api/vendor/orders/middlewares.js +3 -1
  196. package/.medusa/server/src/api/vendor/orders/query-config.js +34 -11
  197. package/.medusa/server/src/api/vendor/orders/resolve-offer-items.d.ts +40 -0
  198. package/.medusa/server/src/api/vendor/orders/resolve-offer-items.js +66 -0
  199. package/.medusa/server/src/api/vendor/orders/validators.d.ts +7 -4
  200. package/.medusa/server/src/api/vendor/orders/validators.js +7 -1
  201. package/.medusa/server/src/api/vendor/payment-collections/[id]/mark-as-paid/route.d.ts +3 -0
  202. package/.medusa/server/src/api/vendor/payment-collections/[id]/mark-as-paid/route.js +25 -0
  203. package/.medusa/server/src/api/vendor/payment-collections/helpers.d.ts +3 -0
  204. package/.medusa/server/src/api/vendor/payment-collections/helpers.js +30 -0
  205. package/.medusa/server/src/api/vendor/payment-collections/middlewares.d.ts +2 -0
  206. package/.medusa/server/src/api/vendor/payment-collections/middlewares.js +17 -0
  207. package/.medusa/server/src/api/vendor/payment-collections/query-config.d.ts +7 -0
  208. package/.medusa/server/src/api/vendor/payment-collections/query-config.js +26 -0
  209. package/.medusa/server/src/api/vendor/payment-collections/validators.d.ts +17 -0
  210. package/.medusa/server/src/api/vendor/payment-collections/validators.js +12 -0
  211. package/.medusa/server/src/api/vendor/payments/helpers.d.ts +9 -0
  212. package/.medusa/server/src/api/vendor/payments/helpers.js +23 -8
  213. package/.medusa/server/src/api/vendor/payments/validators.d.ts +4 -4
  214. package/.medusa/server/src/api/vendor/payouts/validators.d.ts +2 -2
  215. package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +2 -2
  216. package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +2 -2
  217. package/.medusa/server/src/api/vendor/product-attributes/middlewares.js +15 -1
  218. package/.medusa/server/src/api/vendor/product-attributes/route.js +4 -1
  219. package/.medusa/server/src/api/vendor/product-attributes/validators.d.ts +3 -7
  220. package/.medusa/server/src/api/vendor/product-attributes/validators.js +2 -15
  221. package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.d.ts +4 -0
  222. package/.medusa/server/src/api/vendor/product-categories/[id]/products/route.js +36 -0
  223. package/.medusa/server/src/api/vendor/product-categories/middlewares.js +9 -1
  224. package/.medusa/server/src/api/vendor/product-categories/query-config.js +1 -2
  225. package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +21 -4
  226. package/.medusa/server/src/api/vendor/product-categories/validators.js +7 -2
  227. package/.medusa/server/src/api/vendor/product-types/validators.d.ts +2 -2
  228. package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.d.ts +18 -5
  229. package/.medusa/server/src/api/vendor/products/[id]/attributes/[attribute_id]/route.js +77 -17
  230. package/.medusa/server/src/api/vendor/products/[id]/attributes/batch/route.d.ts +12 -0
  231. package/.medusa/server/src/api/vendor/products/[id]/attributes/batch/route.js +46 -0
  232. package/.medusa/server/src/api/vendor/products/[id]/attributes/route.d.ts +10 -6
  233. package/.medusa/server/src/api/vendor/products/[id]/attributes/route.js +58 -25
  234. package/.medusa/server/src/api/vendor/products/[id]/cancel/route.d.ts +5 -7
  235. package/.medusa/server/src/api/vendor/products/[id]/cancel/route.js +12 -15
  236. package/.medusa/server/src/api/vendor/products/[id]/route.d.ts +18 -9
  237. package/.medusa/server/src/api/vendor/products/[id]/route.js +32 -16
  238. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.d.ts +11 -9
  239. package/.medusa/server/src/api/vendor/products/[id]/variants/[variant_id]/route.js +40 -21
  240. package/.medusa/server/src/api/vendor/products/[id]/variants/route.d.ts +9 -5
  241. package/.medusa/server/src/api/vendor/products/[id]/variants/route.js +28 -10
  242. package/.medusa/server/src/api/vendor/products/helpers.d.ts +8 -0
  243. package/.medusa/server/src/api/vendor/products/helpers.js +26 -0
  244. package/.medusa/server/src/api/vendor/products/middlewares.js +34 -5
  245. package/.medusa/server/src/api/vendor/products/query-config.js +12 -17
  246. package/.medusa/server/src/api/vendor/products/route.d.ts +11 -1
  247. package/.medusa/server/src/api/vendor/products/route.js +25 -12
  248. package/.medusa/server/src/api/vendor/products/validators.d.ts +389 -70
  249. package/.medusa/server/src/api/vendor/products/validators.js +115 -14
  250. package/.medusa/server/src/api/vendor/promotions/validators.d.ts +4 -4
  251. package/.medusa/server/src/api/vendor/refund-reasons/validators.d.ts +2 -2
  252. package/.medusa/server/src/api/vendor/regions/validators.d.ts +4 -4
  253. package/.medusa/server/src/api/vendor/reservations/[id]/route.d.ts +5 -0
  254. package/.medusa/server/src/api/vendor/reservations/[id]/route.js +39 -0
  255. package/.medusa/server/src/api/vendor/reservations/helpers.d.ts +2 -0
  256. package/.medusa/server/src/api/vendor/reservations/helpers.js +21 -0
  257. package/.medusa/server/src/api/{admin/product-brands → vendor/reservations}/middlewares.d.ts +1 -1
  258. package/.medusa/server/src/api/vendor/reservations/middlewares.js +61 -0
  259. package/.medusa/server/src/api/vendor/reservations/query-config.d.ts +19 -0
  260. package/.medusa/server/src/api/vendor/reservations/query-config.js +48 -0
  261. package/.medusa/server/src/api/vendor/reservations/route.d.ts +4 -0
  262. package/.medusa/server/src/api/vendor/reservations/route.js +35 -0
  263. package/.medusa/server/src/api/vendor/reservations/validators.d.ts +296 -0
  264. package/.medusa/server/src/api/vendor/reservations/validators.js +40 -0
  265. package/.medusa/server/src/api/vendor/return-reasons/validators.d.ts +2 -2
  266. package/.medusa/server/src/api/vendor/returns/[id]/receive/confirm/route.js +3 -3
  267. package/.medusa/server/src/api/vendor/returns/validators.d.ts +4 -4
  268. package/.medusa/server/src/api/vendor/sales-channels/validators.d.ts +2 -2
  269. package/.medusa/server/src/api/vendor/sellers/validators.d.ts +4 -4
  270. package/.medusa/server/src/api/vendor/shipping-option-types/validators.d.ts +2 -2
  271. package/.medusa/server/src/api/vendor/shipping-options/middlewares.js +13 -1
  272. package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +43 -40
  273. package/.medusa/server/src/api/vendor/shipping-options/validators.js +2 -1
  274. package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +4 -4
  275. package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +2 -2
  276. package/.medusa/server/src/api/vendor/stores/validators.d.ts +2 -2
  277. package/.medusa/server/src/links/cart-line-item-offer-link.js +9 -2
  278. package/.medusa/server/src/links/category-seller-link.js +2 -2
  279. package/.medusa/server/src/links/offer-price-link.js +13 -0
  280. package/.medusa/server/src/links/offer-variant-link.js +2 -2
  281. package/.medusa/server/src/links/order-line-item-offer-link.js +10 -2
  282. package/.medusa/server/src/links/product-attribute-category-link.d.ts +16 -0
  283. package/.medusa/server/src/links/product-attribute-category-link.js +40 -0
  284. package/.medusa/server/src/links/product-attribute-product-link.d.ts +10 -0
  285. package/.medusa/server/src/links/product-attribute-product-link.js +29 -0
  286. package/.medusa/server/src/links/product-attribute-value-link.d.ts +22 -0
  287. package/.medusa/server/src/links/product-attribute-value-link.js +46 -0
  288. package/.medusa/server/src/links/product-change-link.d.ts +8 -0
  289. package/.medusa/server/src/links/product-change-link.js +27 -0
  290. package/.medusa/server/src/links/product-seller-link.js +2 -2
  291. package/.medusa/server/src/links/product-variant-attribute-link.js +21 -0
  292. package/.medusa/server/src/links/product-variant-attribute-value-link.d.ts +2 -0
  293. package/.medusa/server/src/links/product-variant-attribute-value-link.js +21 -0
  294. package/.medusa/server/src/modules/{product/migrations/Migration20260414141012.d.ts → offer/migrations/Migration20260526000000.d.ts} +1 -1
  295. package/.medusa/server/src/modules/offer/migrations/Migration20260526000000.js +16 -0
  296. package/.medusa/server/src/modules/offer/models/offer.d.ts +0 -1
  297. package/.medusa/server/src/modules/offer/models/offer.js +1 -7
  298. package/.medusa/server/src/modules/offer/service.d.ts +0 -1
  299. package/.medusa/server/src/modules/product-attribute/index.d.ts +36 -0
  300. package/.medusa/server/src/modules/product-attribute/index.js +14 -0
  301. package/.medusa/server/src/modules/product-attribute/joiner-config.d.ts +1 -0
  302. package/.medusa/server/src/modules/product-attribute/joiner-config.js +17 -0
  303. package/.medusa/server/src/modules/{product/migrations/Migration20260415151424.d.ts → product-attribute/migrations/Migration20260601000000.d.ts} +1 -1
  304. package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000000.js +62 -0
  305. package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000001.d.ts +11 -0
  306. package/.medusa/server/src/modules/product-attribute/migrations/Migration20260601000001.js +29 -0
  307. package/.medusa/server/src/modules/product-attribute/models/index.d.ts +2 -0
  308. package/.medusa/server/src/modules/product-attribute/models/index.js +11 -0
  309. package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.d.ts +25 -0
  310. package/.medusa/server/src/modules/product-attribute/models/product-attribute-value.js +29 -0
  311. package/.medusa/server/src/modules/product-attribute/models/product-attribute.d.ts +26 -0
  312. package/.medusa/server/src/modules/product-attribute/models/product-attribute.js +53 -0
  313. package/.medusa/server/src/modules/product-attribute/service.d.ts +55 -0
  314. package/.medusa/server/src/modules/product-attribute/service.js +15 -0
  315. package/.medusa/server/src/modules/product-edit/index.d.ts +36 -0
  316. package/.medusa/server/src/modules/{subscription → product-edit}/index.js +4 -2
  317. package/.medusa/server/src/modules/product-edit/joiner-config.d.ts +1 -0
  318. package/.medusa/server/src/modules/product-edit/joiner-config.js +17 -0
  319. package/.medusa/server/src/modules/{product/migrations/Migration20260416104248.d.ts → product-edit/migrations/Migration20260601130000.d.ts} +1 -1
  320. package/.medusa/server/src/modules/product-edit/migrations/Migration20260601130000.js +78 -0
  321. package/.medusa/server/src/modules/product-edit/models/index.d.ts +2 -0
  322. package/.medusa/server/src/modules/product-edit/models/index.js +11 -0
  323. package/.medusa/server/src/modules/product-edit/models/product-change-action.d.ts +49 -0
  324. package/.medusa/server/src/modules/{product → product-edit}/models/product-change-action.js +1 -1
  325. package/.medusa/server/src/modules/product-edit/models/product-change.d.ts +31 -0
  326. package/.medusa/server/src/modules/product-edit/models/product-change.js +52 -0
  327. package/.medusa/server/src/modules/product-edit/service.d.ts +84 -0
  328. package/.medusa/server/src/modules/product-edit/service.js +15 -0
  329. package/.medusa/server/src/subscribers/link-order-line-items-to-offers.d.ts +6 -0
  330. package/.medusa/server/src/subscribers/link-order-line-items-to-offers.js +94 -0
  331. package/.medusa/server/src/subscribers/order-edit-confirmed.d.ts +5 -0
  332. package/.medusa/server/src/subscribers/order-edit-confirmed.js +22 -0
  333. package/.medusa/server/src/types/cart-line-item.d.ts +0 -9
  334. package/.medusa/server/src/utils/disable-medusa-middlewares.js +5 -1
  335. package/.medusa/server/src/with-mercur.js +1 -6
  336. package/.medusa/server/src/workflows/cart/hooks/before-refreshing-payment-collection.js +36 -0
  337. package/.medusa/server/src/workflows/cart/hooks/index.d.ts +3 -2
  338. package/.medusa/server/src/workflows/cart/hooks/index.js +4 -3
  339. package/.medusa/server/src/workflows/cart/hooks/set-pricing-context.js +94 -0
  340. package/.medusa/server/src/workflows/cart/hooks/validate.d.ts +1 -0
  341. package/.medusa/server/src/workflows/cart/hooks/validate.js +107 -0
  342. package/.medusa/server/src/workflows/cart/steps/index.d.ts +0 -3
  343. package/.medusa/server/src/workflows/cart/steps/index.js +1 -4
  344. package/.medusa/server/src/workflows/cart/utils/fields.js +29 -2
  345. package/.medusa/server/src/workflows/cart/workflows/complete-cart-with-split-orders.js +29 -3
  346. package/.medusa/server/src/workflows/cart/workflows/index.d.ts +0 -2
  347. package/.medusa/server/src/workflows/cart/workflows/index.js +1 -3
  348. package/.medusa/server/src/workflows/index.d.ts +1 -1
  349. package/.medusa/server/src/workflows/index.js +2 -2
  350. package/.medusa/server/src/workflows/offer/steps/add-offer-prices.d.ts +22 -0
  351. package/.medusa/server/src/workflows/offer/steps/add-offer-prices.js +64 -0
  352. package/.medusa/server/src/workflows/offer/steps/create-offers.d.ts +0 -1
  353. package/.medusa/server/src/workflows/offer/steps/delete-offers.d.ts +6 -1
  354. package/.medusa/server/src/workflows/offer/steps/delete-offers.js +10 -6
  355. package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.d.ts +15 -0
  356. package/.medusa/server/src/workflows/offer/steps/ensure-variant-price-sets.js +61 -0
  357. package/.medusa/server/src/workflows/offer/steps/index.d.ts +4 -1
  358. package/.medusa/server/src/workflows/offer/steps/index.js +5 -2
  359. package/.medusa/server/src/workflows/offer/steps/remove-offer-prices.d.ts +3 -0
  360. package/.medusa/server/src/workflows/offer/steps/remove-offer-prices.js +15 -0
  361. package/.medusa/server/src/workflows/offer/steps/update-offers.d.ts +0 -1
  362. package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.d.ts +17 -0
  363. package/.medusa/server/src/workflows/offer/utils/assert-offer-price-ownership.js +27 -0
  364. package/.medusa/server/src/workflows/offer/utils/index.d.ts +1 -0
  365. package/.medusa/server/src/workflows/offer/utils/index.js +2 -1
  366. package/.medusa/server/src/workflows/offer/workflows/batch-offer-inventory-items.d.ts +17 -31
  367. package/.medusa/server/src/workflows/offer/workflows/batch-offer-inventory-items.js +1 -1
  368. package/.medusa/server/src/workflows/offer/workflows/create-offers.d.ts +12 -111
  369. package/.medusa/server/src/workflows/offer/workflows/create-offers.js +98 -45
  370. package/.medusa/server/src/workflows/offer/workflows/delete-offers.js +2 -2
  371. package/.medusa/server/src/workflows/offer/workflows/update-offers.d.ts +21 -116
  372. package/.medusa/server/src/workflows/offer/workflows/update-offers.js +136 -20
  373. package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.d.ts +1 -1
  374. package/.medusa/server/src/workflows/order/workflows/cancel-order-fulfillment.js +3 -4
  375. package/.medusa/server/src/workflows/order/workflows/confirm-claim-request.d.ts +7 -0
  376. package/.medusa/server/src/workflows/order/workflows/confirm-claim-request.js +151 -0
  377. package/.medusa/server/src/workflows/order/workflows/confirm-exchange-request.d.ts +7 -0
  378. package/.medusa/server/src/workflows/order/workflows/confirm-exchange-request.js +159 -0
  379. package/.medusa/server/src/workflows/order/workflows/confirm-return-receive.d.ts +1 -1
  380. package/.medusa/server/src/workflows/order/workflows/confirm-return-receive.js +3 -4
  381. package/.medusa/server/src/workflows/order/workflows/create-order-fulfillment.d.ts +10 -33
  382. package/.medusa/server/src/workflows/order/workflows/create-order-fulfillment.js +3 -4
  383. package/.medusa/server/src/workflows/order/workflows/index.d.ts +2 -0
  384. package/.medusa/server/src/workflows/order/workflows/index.js +3 -1
  385. package/.medusa/server/src/workflows/product/events.d.ts +5 -47
  386. package/.medusa/server/src/workflows/product/events.js +7 -49
  387. package/.medusa/server/src/workflows/product/index.d.ts +1 -1
  388. package/.medusa/server/src/workflows/product/index.js +2 -2
  389. package/.medusa/server/src/workflows/product/steps/index.d.ts +3 -28
  390. package/.medusa/server/src/workflows/product/steps/index.js +4 -29
  391. package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.d.ts +28 -0
  392. package/.medusa/server/src/workflows/product/steps/replace-product-attribute-value-links.js +72 -0
  393. package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.d.ts +90 -0
  394. package/.medusa/server/src/workflows/product/steps/resolve-attribute-refs.js +185 -0
  395. package/.medusa/server/src/workflows/product/steps/validate-products-status.d.ts +19 -0
  396. package/.medusa/server/src/workflows/product/steps/validate-products-status.js +28 -0
  397. package/.medusa/server/src/workflows/product/steps/validate-seller-product-permissions.d.ts +0 -1
  398. package/.medusa/server/src/workflows/product/steps/validate-seller-product-permissions.js +2 -21
  399. package/.medusa/server/src/workflows/product/workflows/confirm-products.d.ts +13 -1
  400. package/.medusa/server/src/workflows/product/workflows/confirm-products.js +41 -30
  401. package/.medusa/server/src/workflows/product/workflows/create-products.d.ts +59 -3
  402. package/.medusa/server/src/workflows/product/workflows/create-products.js +202 -16
  403. package/.medusa/server/src/workflows/product/workflows/index.d.ts +3 -26
  404. package/.medusa/server/src/workflows/product/workflows/index.js +4 -27
  405. package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.d.ts +1 -1
  406. package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-category.js +3 -4
  407. package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.d.ts +1 -1
  408. package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product.js +3 -4
  409. package/.medusa/server/src/workflows/product/workflows/reject-product.d.ts +8 -1
  410. package/.medusa/server/src/workflows/product/workflows/reject-product.js +42 -38
  411. package/.medusa/server/src/workflows/product/workflows/request-product-change.d.ts +25 -0
  412. package/.medusa/server/src/workflows/product/workflows/request-product-change.js +69 -0
  413. package/.medusa/server/src/workflows/product/workflows/update-products.d.ts +39 -3
  414. package/.medusa/server/src/workflows/product/workflows/update-products.js +148 -10
  415. package/.medusa/server/src/workflows/product-attribute/events.d.ts +19 -0
  416. package/.medusa/server/src/workflows/product-attribute/events.js +23 -0
  417. package/.medusa/server/src/workflows/{subscription → product-attribute}/index.d.ts +1 -0
  418. package/.medusa/server/src/workflows/{subscription → product-attribute}/index.js +2 -1
  419. package/.medusa/server/src/workflows/product-attribute/steps/create-product-attribute-values.d.ts +37 -0
  420. package/.medusa/server/src/workflows/product-attribute/steps/create-product-attribute-values.js +18 -0
  421. package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.d.ts +44 -0
  422. package/.medusa/server/src/workflows/product-attribute/steps/create-product-attributes.js +18 -0
  423. package/.medusa/server/src/workflows/{product → product-attribute}/steps/delete-product-attribute-values.d.ts +1 -0
  424. package/.medusa/server/src/workflows/product-attribute/steps/delete-product-attribute-values.js +18 -0
  425. package/.medusa/server/src/workflows/{product → product-attribute}/steps/delete-product-attributes.d.ts +1 -0
  426. package/.medusa/server/src/workflows/product-attribute/steps/delete-product-attributes.js +18 -0
  427. package/.medusa/server/src/workflows/product-attribute/steps/index.d.ts +10 -0
  428. package/.medusa/server/src/workflows/product-attribute/steps/index.js +27 -0
  429. package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.d.ts +38 -0
  430. package/.medusa/server/src/workflows/product-attribute/steps/update-product-attribute-values.js +23 -0
  431. package/.medusa/server/src/workflows/product-attribute/steps/update-product-attributes.d.ts +38 -0
  432. package/.medusa/server/src/workflows/{product → product-attribute}/steps/update-product-attributes.js +7 -6
  433. package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.d.ts +43 -0
  434. package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-attribute-values.js +51 -0
  435. package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.d.ts +7 -0
  436. package/.medusa/server/src/workflows/product-attribute/steps/upsert-product-options-for-axis.js +59 -0
  437. package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.d.ts +6 -0
  438. package/.medusa/server/src/workflows/product-attribute/steps/validate-attribute-accepts-values.js +20 -0
  439. package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.d.ts +7 -0
  440. package/.medusa/server/src/workflows/product-attribute/steps/validate-product-attribute-input.js +20 -0
  441. package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.d.ts +52 -0
  442. package/.medusa/server/src/workflows/product-attribute/workflows/add-product-attribute.js +120 -0
  443. package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.d.ts +23 -0
  444. package/.medusa/server/src/workflows/product-attribute/workflows/batch-product-attribute-values.js +252 -0
  445. package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attribute-values.d.ts +18 -0
  446. package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attribute-values.js +26 -0
  447. package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attributes.d.ts +19 -0
  448. package/.medusa/server/src/workflows/product-attribute/workflows/create-product-attributes.js +64 -0
  449. package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attribute-values.d.ts +16 -0
  450. package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attribute-values.js +40 -0
  451. package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.d.ts +23 -0
  452. package/.medusa/server/src/workflows/product-attribute/workflows/delete-product-attributes.js +31 -0
  453. package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.d.ts +17 -0
  454. package/.medusa/server/src/workflows/product-attribute/workflows/detach-product-attribute.js +62 -0
  455. package/.medusa/server/src/workflows/product-attribute/workflows/index.d.ts +13 -0
  456. package/.medusa/server/src/workflows/product-attribute/workflows/index.js +30 -0
  457. package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.d.ts +135 -0
  458. package/.medusa/server/src/workflows/product-attribute/workflows/materialize-product-attributes.js +43 -0
  459. package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.d.ts +24 -0
  460. package/.medusa/server/src/workflows/product-attribute/workflows/sync-product-attribute-options.js +27 -0
  461. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute-values.d.ts +18 -0
  462. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute-values.js +27 -0
  463. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute.d.ts +23 -0
  464. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attribute.js +67 -0
  465. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes.d.ts +18 -0
  466. package/.medusa/server/src/workflows/product-attribute/workflows/update-product-attributes.js +27 -0
  467. package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.d.ts +18 -0
  468. package/.medusa/server/src/workflows/product-attribute/workflows/upsert-product-attribute-values.js +26 -0
  469. package/.medusa/server/src/workflows/product-edit/events.d.ts +13 -0
  470. package/.medusa/server/src/workflows/product-edit/events.js +17 -0
  471. package/.medusa/server/src/workflows/product-edit/index.d.ts +1 -0
  472. package/.medusa/server/src/workflows/product-edit/index.js +2 -1
  473. package/.medusa/server/src/workflows/product-edit/steps/add-product-change-action.d.ts +38 -0
  474. package/.medusa/server/src/workflows/product-edit/steps/add-product-change-action.js +18 -0
  475. package/.medusa/server/src/workflows/product-edit/steps/cancel-product-change.d.ts +38 -2
  476. package/.medusa/server/src/workflows/product-edit/steps/cancel-product-change.js +28 -10
  477. package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.d.ts +15 -0
  478. package/.medusa/server/src/workflows/product-edit/steps/confirm-product-change-validation.js +25 -0
  479. package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.d.ts +46 -3
  480. package/.medusa/server/src/workflows/product-edit/steps/confirm-product-changes.js +44 -7
  481. package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.d.ts +41 -14
  482. package/.medusa/server/src/workflows/product-edit/steps/create-product-change-actions.js +20 -11
  483. package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.d.ts +46 -16
  484. package/.medusa/server/src/workflows/product-edit/steps/create-product-changes.js +11 -18
  485. package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.d.ts +44 -3
  486. package/.medusa/server/src/workflows/product-edit/steps/decline-product-change.js +37 -10
  487. package/.medusa/server/src/workflows/product-edit/steps/index.d.ts +5 -3
  488. package/.medusa/server/src/workflows/product-edit/steps/index.js +6 -4
  489. package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.d.ts +49 -0
  490. package/.medusa/server/src/workflows/product-edit/steps/update-product-change-actions.js +34 -0
  491. package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.d.ts +7 -7
  492. package/.medusa/server/src/workflows/product-edit/steps/validate-no-pending-product-change.js +29 -13
  493. package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-is-pending.d.ts +10 -0
  494. package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-is-pending.js +14 -0
  495. package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.d.ts +23 -0
  496. package/.medusa/server/src/workflows/product-edit/workflows/apply-product-attribute-change-actions.js +139 -0
  497. package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.d.ts +38 -0
  498. package/.medusa/server/src/workflows/product-edit/workflows/apply-product-change-actions.js +191 -0
  499. package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.d.ts +14 -13
  500. package/.medusa/server/src/workflows/product-edit/workflows/auto-confirm-product-change.js +14 -22
  501. package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-change.d.ts +17 -0
  502. package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-change.js +35 -0
  503. package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.d.ts +30 -0
  504. package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-change.js +55 -0
  505. package/.medusa/server/src/workflows/product-edit/workflows/create-product-change.d.ts +17 -0
  506. package/.medusa/server/src/workflows/product-edit/workflows/create-product-change.js +26 -0
  507. package/.medusa/server/src/workflows/product-edit/workflows/index.d.ts +10 -8
  508. package/.medusa/server/src/workflows/product-edit/workflows/index.js +11 -9
  509. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.d.ts +14 -17
  510. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-delete-product.js +21 -46
  511. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.d.ts +55 -0
  512. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-attributes.js +198 -0
  513. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.d.ts +22 -15
  514. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-fields.js +126 -50
  515. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.d.ts +35 -0
  516. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variants.js +108 -0
  517. package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.d.ts +36 -0
  518. package/.medusa/server/src/workflows/product-edit/workflows/record-product-audit-change.js +53 -0
  519. package/.medusa/server/src/workflows/product-edit/workflows/reject-product-change.d.ts +18 -0
  520. package/.medusa/server/src/workflows/product-edit/workflows/reject-product-change.js +36 -0
  521. package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.d.ts +35 -0
  522. package/.medusa/server/src/workflows/product-edit/workflows/stage-product-change.js +57 -0
  523. package/.medusa/server/src/workflows/seller/workflows/create-sellers.d.ts +20 -2
  524. package/.medusa/server/src/workflows/seller/workflows/create-sellers.js +1 -1
  525. package/.medusa/server/src/workflows/seller/workflows/update-seller-address.d.ts +14 -2
  526. package/.medusa/server/src/workflows/seller/workflows/update-seller-address.js +1 -1
  527. package/.medusa/server/src/workflows/seller/workflows/update-seller-payment-details.d.ts +14 -2
  528. package/.medusa/server/src/workflows/seller/workflows/update-seller-payment-details.js +1 -1
  529. package/.medusa/server/src/workflows/seller/workflows/update-seller-professional-details.d.ts +14 -2
  530. package/.medusa/server/src/workflows/seller/workflows/update-seller-professional-details.js +1 -1
  531. package/.medusa/server/src/workflows/seller/workflows/update-seller.d.ts +14 -2
  532. package/.medusa/server/src/workflows/seller/workflows/update-seller.js +1 -1
  533. package/package.json +1 -1
  534. package/.medusa/server/src/api/admin/product-brands/[id]/route.d.ts +0 -7
  535. package/.medusa/server/src/api/admin/product-brands/[id]/route.js +0 -51
  536. package/.medusa/server/src/api/admin/product-brands/[id]/sellers/route.d.ts +0 -3
  537. package/.medusa/server/src/api/admin/product-brands/[id]/sellers/route.js +0 -20
  538. package/.medusa/server/src/api/admin/product-brands/middlewares.js +0 -49
  539. package/.medusa/server/src/api/admin/product-brands/query-config.d.ts +0 -12
  540. package/.medusa/server/src/api/admin/product-brands/query-config.js +0 -24
  541. package/.medusa/server/src/api/admin/product-brands/route.d.ts +0 -6
  542. package/.medusa/server/src/api/admin/product-brands/route.js +0 -38
  543. package/.medusa/server/src/api/admin/product-brands/validators.d.ts +0 -284
  544. package/.medusa/server/src/api/admin/product-brands/validators.js +0 -41
  545. package/.medusa/server/src/api/admin/products/batch/route.d.ts +0 -4
  546. package/.medusa/server/src/api/admin/products/batch/route.js +0 -36
  547. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/[override_id]/route.d.ts +0 -6
  548. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/[override_id]/route.js +0 -43
  549. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/route.d.ts +0 -4
  550. package/.medusa/server/src/api/admin/subscription-plans/[id]/overrides/route.js +0 -24
  551. package/.medusa/server/src/api/admin/subscription-plans/[id]/route.d.ts +0 -6
  552. package/.medusa/server/src/api/admin/subscription-plans/[id]/route.js +0 -43
  553. package/.medusa/server/src/api/admin/subscription-plans/middlewares.d.ts +0 -2
  554. package/.medusa/server/src/api/admin/subscription-plans/middlewares.js +0 -81
  555. package/.medusa/server/src/api/admin/subscription-plans/query-config.d.ts +0 -17
  556. package/.medusa/server/src/api/admin/subscription-plans/query-config.js +0 -43
  557. package/.medusa/server/src/api/admin/subscription-plans/route.d.ts +0 -5
  558. package/.medusa/server/src/api/admin/subscription-plans/route.js +0 -35
  559. package/.medusa/server/src/api/admin/subscription-plans/validators.d.ts +0 -117
  560. package/.medusa/server/src/api/admin/subscription-plans/validators.js +0 -42
  561. package/.medusa/server/src/api/store/product-brands/[id]/route.d.ts +0 -2
  562. package/.medusa/server/src/api/store/product-brands/[id]/route.js +0 -18
  563. package/.medusa/server/src/api/store/product-brands/middlewares.d.ts +0 -2
  564. package/.medusa/server/src/api/store/product-brands/middlewares.js +0 -23
  565. package/.medusa/server/src/api/store/product-brands/query-config.d.ts +0 -12
  566. package/.medusa/server/src/api/store/product-brands/query-config.js +0 -23
  567. package/.medusa/server/src/api/store/product-brands/route.d.ts +0 -2
  568. package/.medusa/server/src/api/store/product-brands/route.js +0 -21
  569. package/.medusa/server/src/api/store/product-brands/validators.d.ts +0 -215
  570. package/.medusa/server/src/api/store/product-brands/validators.js +0 -21
  571. package/.medusa/server/src/api/utils/wrap-variants-with-offers-inventory.d.ts +0 -12
  572. package/.medusa/server/src/api/utils/wrap-variants-with-offers-inventory.js +0 -165
  573. package/.medusa/server/src/api/utils/wrap-variants-with-offers-prices.d.ts +0 -12
  574. package/.medusa/server/src/api/utils/wrap-variants-with-offers-prices.js +0 -64
  575. package/.medusa/server/src/api/vendor/product-brands/[id]/route.d.ts +0 -3
  576. package/.medusa/server/src/api/vendor/product-brands/[id]/route.js +0 -18
  577. package/.medusa/server/src/api/vendor/product-brands/middlewares.js +0 -23
  578. package/.medusa/server/src/api/vendor/product-brands/query-config.d.ts +0 -12
  579. package/.medusa/server/src/api/vendor/product-brands/query-config.js +0 -24
  580. package/.medusa/server/src/api/vendor/product-brands/route.d.ts +0 -3
  581. package/.medusa/server/src/api/vendor/product-brands/route.js +0 -21
  582. package/.medusa/server/src/api/vendor/product-brands/validators.d.ts +0 -221
  583. package/.medusa/server/src/api/vendor/product-brands/validators.js +0 -22
  584. package/.medusa/server/src/api/vendor/subscription/middlewares.d.ts +0 -2
  585. package/.medusa/server/src/api/vendor/subscription/middlewares.js +0 -28
  586. package/.medusa/server/src/api/vendor/subscription/route.d.ts +0 -3
  587. package/.medusa/server/src/api/vendor/subscription/route.js +0 -31
  588. package/.medusa/server/src/links/brand-seller-link.js +0 -16
  589. package/.medusa/server/src/links/offer-price-set-link.js +0 -15
  590. package/.medusa/server/src/modules/product/index.d.ts +0 -7
  591. package/.medusa/server/src/modules/product/index.js +0 -14
  592. package/.medusa/server/src/modules/product/migrations/Migration20260414141012.js +0 -169
  593. package/.medusa/server/src/modules/product/migrations/Migration20260415151424.js +0 -14
  594. package/.medusa/server/src/modules/product/migrations/Migration20260416104248.js +0 -14
  595. package/.medusa/server/src/modules/product/migrations/Migration20260416105443.d.ts +0 -5
  596. package/.medusa/server/src/modules/product/migrations/Migration20260416105443.js +0 -16
  597. package/.medusa/server/src/modules/product/migrations/Migration20260421093258.d.ts +0 -5
  598. package/.medusa/server/src/modules/product/migrations/Migration20260421093258.js +0 -22
  599. package/.medusa/server/src/modules/product/migrations/Migration20260422105949.d.ts +0 -5
  600. package/.medusa/server/src/modules/product/migrations/Migration20260422105949.js +0 -32
  601. package/.medusa/server/src/modules/product/migrations/Migration20260422112250.d.ts +0 -5
  602. package/.medusa/server/src/modules/product/migrations/Migration20260422112250.js +0 -16
  603. package/.medusa/server/src/modules/product/migrations/Migration20260424120000.d.ts +0 -5
  604. package/.medusa/server/src/modules/product/migrations/Migration20260424120000.js +0 -16
  605. package/.medusa/server/src/modules/product/migrations/Migration20260427140959.d.ts +0 -5
  606. package/.medusa/server/src/modules/product/migrations/Migration20260427140959.js +0 -20
  607. package/.medusa/server/src/modules/product/migrations/Migration20260427141021.d.ts +0 -5
  608. package/.medusa/server/src/modules/product/migrations/Migration20260427141021.js +0 -16
  609. package/.medusa/server/src/modules/product/migrations/Migration20260428115720.d.ts +0 -5
  610. package/.medusa/server/src/modules/product/migrations/Migration20260428115720.js +0 -16
  611. package/.medusa/server/src/modules/product/migrations/Migration20260430143600.d.ts +0 -5
  612. package/.medusa/server/src/modules/product/migrations/Migration20260430143600.js +0 -15
  613. package/.medusa/server/src/modules/product/migrations/Migration20260430144500.d.ts +0 -5
  614. package/.medusa/server/src/modules/product/migrations/Migration20260430144500.js +0 -23
  615. package/.medusa/server/src/modules/product/migrations/Migration20260430150000.d.ts +0 -5
  616. package/.medusa/server/src/modules/product/migrations/Migration20260430150000.js +0 -14
  617. package/.medusa/server/src/modules/product/migrations/Migration20260520120000.d.ts +0 -5
  618. package/.medusa/server/src/modules/product/migrations/Migration20260520120000.js +0 -16
  619. package/.medusa/server/src/modules/product/models/index.d.ts +0 -13
  620. package/.medusa/server/src/modules/product/models/index.js +0 -33
  621. package/.medusa/server/src/modules/product/models/product-attribute-value.d.ts +0 -1676
  622. package/.medusa/server/src/modules/product/models/product-attribute-value.js +0 -38
  623. package/.medusa/server/src/modules/product/models/product-attribute.d.ts +0 -1597
  624. package/.medusa/server/src/modules/product/models/product-attribute.js +0 -57
  625. package/.medusa/server/src/modules/product/models/product-brand.d.ts +0 -539
  626. package/.medusa/server/src/modules/product/models/product-brand.js +0 -34
  627. package/.medusa/server/src/modules/product/models/product-category.d.ts +0 -1658
  628. package/.medusa/server/src/modules/product/models/product-category.js +0 -55
  629. package/.medusa/server/src/modules/product/models/product-change-action.d.ts +0 -1081
  630. package/.medusa/server/src/modules/product/models/product-change.d.ts +0 -547
  631. package/.medusa/server/src/modules/product/models/product-change.js +0 -50
  632. package/.medusa/server/src/modules/product/models/product-collection.d.ts +0 -540
  633. package/.medusa/server/src/modules/product/models/product-collection.js +0 -27
  634. package/.medusa/server/src/modules/product/models/product-image.d.ts +0 -1733
  635. package/.medusa/server/src/modules/product/models/product-image.js +0 -51
  636. package/.medusa/server/src/modules/product/models/product-tag.d.ts +0 -549
  637. package/.medusa/server/src/modules/product/models/product-tag.js +0 -26
  638. package/.medusa/server/src/modules/product/models/product-type.d.ts +0 -541
  639. package/.medusa/server/src/modules/product/models/product-type.js +0 -26
  640. package/.medusa/server/src/modules/product/models/product-variant-product-image.d.ts +0 -3352
  641. package/.medusa/server/src/modules/product/models/product-variant-product-image.js +0 -19
  642. package/.medusa/server/src/modules/product/models/product-variant.d.ts +0 -1617
  643. package/.medusa/server/src/modules/product/models/product-variant.js +0 -84
  644. package/.medusa/server/src/modules/product/models/product.d.ts +0 -547
  645. package/.medusa/server/src/modules/product/models/product.js +0 -137
  646. package/.medusa/server/src/modules/product/repositories/product-category.d.ts +0 -53
  647. package/.medusa/server/src/modules/product/repositories/product-category.js +0 -381
  648. package/.medusa/server/src/modules/product/service.d.ts +0 -11013
  649. package/.medusa/server/src/modules/product/service.js +0 -1471
  650. package/.medusa/server/src/modules/product/services/product-category.d.ts +0 -37
  651. package/.medusa/server/src/modules/product/services/product-category.js +0 -166
  652. package/.medusa/server/src/modules/subscription/index.d.ts +0 -35
  653. package/.medusa/server/src/modules/subscription/migrations/Migration20260324135903.d.ts +0 -5
  654. package/.medusa/server/src/modules/subscription/migrations/Migration20260324135903.js +0 -24
  655. package/.medusa/server/src/modules/subscription/models/index.d.ts +0 -2
  656. package/.medusa/server/src/modules/subscription/models/index.js +0 -11
  657. package/.medusa/server/src/modules/subscription/models/subscription-override.d.ts +0 -20
  658. package/.medusa/server/src/modules/subscription/models/subscription-override.js +0 -36
  659. package/.medusa/server/src/modules/subscription/models/subscription-plan.d.ts +0 -20
  660. package/.medusa/server/src/modules/subscription/models/subscription-plan.js +0 -32
  661. package/.medusa/server/src/modules/subscription/service.d.ts +0 -49
  662. package/.medusa/server/src/modules/subscription/service.js +0 -17
  663. package/.medusa/server/src/workflows/cart/hooks/validate-add-to-cart-stock.js +0 -52
  664. package/.medusa/server/src/workflows/cart/hooks/validate-update-line-item-stock.js +0 -60
  665. package/.medusa/server/src/workflows/cart/steps/calculate-offer-prices.d.ts +0 -19
  666. package/.medusa/server/src/workflows/cart/steps/calculate-offer-prices.js +0 -39
  667. package/.medusa/server/src/workflows/cart/steps/decorate-line-item-with-offer.d.ts +0 -8
  668. package/.medusa/server/src/workflows/cart/steps/decorate-line-item-with-offer.js +0 -45
  669. package/.medusa/server/src/workflows/cart/steps/get-line-item-actions.d.ts +0 -21
  670. package/.medusa/server/src/workflows/cart/steps/get-line-item-actions.js +0 -85
  671. package/.medusa/server/src/workflows/cart/workflows/add-to-cart.d.ts +0 -12
  672. package/.medusa/server/src/workflows/cart/workflows/add-to-cart.js +0 -235
  673. package/.medusa/server/src/workflows/cart/workflows/update-line-item-in-cart.d.ts +0 -16
  674. package/.medusa/server/src/workflows/cart/workflows/update-line-item-in-cart.js +0 -87
  675. package/.medusa/server/src/workflows/product/steps/associate-sellers-with-product-brand.d.ts +0 -8
  676. package/.medusa/server/src/workflows/product/steps/associate-sellers-with-product-brand.js +0 -26
  677. package/.medusa/server/src/workflows/product/steps/batch-link-products-in-category.d.ts +0 -7
  678. package/.medusa/server/src/workflows/product/steps/batch-link-products-in-category.js +0 -61
  679. package/.medusa/server/src/workflows/product/steps/batch-product-attributes.d.ts +0 -11
  680. package/.medusa/server/src/workflows/product/steps/batch-product-attributes.js +0 -16
  681. package/.medusa/server/src/workflows/product/steps/create-product-attribute-values.d.ts +0 -6
  682. package/.medusa/server/src/workflows/product/steps/create-product-attribute-values.js +0 -17
  683. package/.medusa/server/src/workflows/product/steps/create-product-attributes.d.ts +0 -2
  684. package/.medusa/server/src/workflows/product/steps/create-product-attributes.js +0 -17
  685. package/.medusa/server/src/workflows/product/steps/create-product-brands.d.ts +0 -2
  686. package/.medusa/server/src/workflows/product/steps/create-product-brands.js +0 -17
  687. package/.medusa/server/src/workflows/product/steps/create-product-categories.d.ts +0 -1548
  688. package/.medusa/server/src/workflows/product/steps/create-product-categories.js +0 -18
  689. package/.medusa/server/src/workflows/product/steps/create-product-variants.d.ts +0 -2
  690. package/.medusa/server/src/workflows/product/steps/create-product-variants.js +0 -18
  691. package/.medusa/server/src/workflows/product/steps/create-products.d.ts +0 -2
  692. package/.medusa/server/src/workflows/product/steps/create-products.js +0 -17
  693. package/.medusa/server/src/workflows/product/steps/delete-product-attribute-values.js +0 -17
  694. package/.medusa/server/src/workflows/product/steps/delete-product-attributes.js +0 -17
  695. package/.medusa/server/src/workflows/product/steps/delete-product-brands.d.ts +0 -1
  696. package/.medusa/server/src/workflows/product/steps/delete-product-brands.js +0 -17
  697. package/.medusa/server/src/workflows/product/steps/delete-product-categories.d.ts +0 -1
  698. package/.medusa/server/src/workflows/product/steps/delete-product-categories.js +0 -17
  699. package/.medusa/server/src/workflows/product/steps/delete-product-variants.d.ts +0 -1
  700. package/.medusa/server/src/workflows/product/steps/delete-product-variants.js +0 -17
  701. package/.medusa/server/src/workflows/product/steps/delete-products.d.ts +0 -1
  702. package/.medusa/server/src/workflows/product/steps/delete-products.js +0 -17
  703. package/.medusa/server/src/workflows/product/steps/detach-sellers-from-product-brand.d.ts +0 -8
  704. package/.medusa/server/src/workflows/product/steps/detach-sellers-from-product-brand.js +0 -26
  705. package/.medusa/server/src/workflows/product/steps/remove-attribute-from-product.d.ts +0 -6
  706. package/.medusa/server/src/workflows/product/steps/remove-attribute-from-product.js +0 -11
  707. package/.medusa/server/src/workflows/product/steps/update-product-attribute-values.d.ts +0 -7
  708. package/.medusa/server/src/workflows/product/steps/update-product-attribute-values.js +0 -22
  709. package/.medusa/server/src/workflows/product/steps/update-product-attributes.d.ts +0 -7
  710. package/.medusa/server/src/workflows/product/steps/update-product-brands.d.ts +0 -7
  711. package/.medusa/server/src/workflows/product/steps/update-product-brands.js +0 -28
  712. package/.medusa/server/src/workflows/product/steps/update-product-categories.d.ts +0 -1552
  713. package/.medusa/server/src/workflows/product/steps/update-product-categories.js +0 -20
  714. package/.medusa/server/src/workflows/product/steps/update-product-variants.d.ts +0 -10
  715. package/.medusa/server/src/workflows/product/steps/update-product-variants.js +0 -32
  716. package/.medusa/server/src/workflows/product/steps/update-products.d.ts +0 -10
  717. package/.medusa/server/src/workflows/product/steps/update-products.js +0 -33
  718. package/.medusa/server/src/workflows/product/steps/upsert-product-attribute-values.d.ts +0 -5
  719. package/.medusa/server/src/workflows/product/steps/upsert-product-attribute-values.js +0 -30
  720. package/.medusa/server/src/workflows/product/steps/validate-attribute-accepts-values.d.ts +0 -5
  721. package/.medusa/server/src/workflows/product/steps/validate-attribute-accepts-values.js +0 -19
  722. package/.medusa/server/src/workflows/product/steps/validate-confirm-products.d.ts +0 -3
  723. package/.medusa/server/src/workflows/product/steps/validate-confirm-products.js +0 -14
  724. package/.medusa/server/src/workflows/product/steps/validate-delete-product-attribute-values.d.ts +0 -5
  725. package/.medusa/server/src/workflows/product/steps/validate-delete-product-attribute-values.js +0 -19
  726. package/.medusa/server/src/workflows/product/steps/validate-delete-product-attributes.d.ts +0 -5
  727. package/.medusa/server/src/workflows/product/steps/validate-delete-product-attributes.js +0 -30
  728. package/.medusa/server/src/workflows/product/steps/validate-reject-product.d.ts +0 -3
  729. package/.medusa/server/src/workflows/product/steps/validate-reject-product.js +0 -12
  730. package/.medusa/server/src/workflows/product/steps/validate-request-changes.d.ts +0 -3
  731. package/.medusa/server/src/workflows/product/steps/validate-request-changes.js +0 -12
  732. package/.medusa/server/src/workflows/product/steps/validate-resubmit-product.d.ts +0 -3
  733. package/.medusa/server/src/workflows/product/steps/validate-resubmit-product.js +0 -12
  734. package/.medusa/server/src/workflows/product/workflows/batch-link-products-in-category.d.ts +0 -8
  735. package/.medusa/server/src/workflows/product/workflows/batch-link-products-in-category.js +0 -10
  736. package/.medusa/server/src/workflows/product/workflows/batch-product-attributes.d.ts +0 -12
  737. package/.medusa/server/src/workflows/product/workflows/batch-product-attributes.js +0 -23
  738. package/.medusa/server/src/workflows/product/workflows/batch-products.d.ts +0 -3
  739. package/.medusa/server/src/workflows/product/workflows/batch-products.js +0 -86
  740. package/.medusa/server/src/workflows/product/workflows/create-product-attribute-values.d.ts +0 -8
  741. package/.medusa/server/src/workflows/product/workflows/create-product-attribute-values.js +0 -21
  742. package/.medusa/server/src/workflows/product/workflows/create-product-attributes.d.ts +0 -7
  743. package/.medusa/server/src/workflows/product/workflows/create-product-attributes.js +0 -18
  744. package/.medusa/server/src/workflows/product/workflows/create-product-brands.d.ts +0 -7
  745. package/.medusa/server/src/workflows/product/workflows/create-product-brands.js +0 -19
  746. package/.medusa/server/src/workflows/product/workflows/create-product-categories.d.ts +0 -1553
  747. package/.medusa/server/src/workflows/product/workflows/create-product-categories.js +0 -18
  748. package/.medusa/server/src/workflows/product/workflows/create-product-variants.d.ts +0 -3
  749. package/.medusa/server/src/workflows/product/workflows/create-product-variants.js +0 -25
  750. package/.medusa/server/src/workflows/product/workflows/delete-product-attribute-values.d.ts +0 -6
  751. package/.medusa/server/src/workflows/product/workflows/delete-product-attribute-values.js +0 -20
  752. package/.medusa/server/src/workflows/product/workflows/delete-product-attributes.d.ts +0 -6
  753. package/.medusa/server/src/workflows/product/workflows/delete-product-attributes.js +0 -20
  754. package/.medusa/server/src/workflows/product/workflows/delete-product-brands.d.ts +0 -6
  755. package/.medusa/server/src/workflows/product/workflows/delete-product-brands.js +0 -19
  756. package/.medusa/server/src/workflows/product/workflows/delete-product-categories.d.ts +0 -6
  757. package/.medusa/server/src/workflows/product/workflows/delete-product-categories.js +0 -18
  758. package/.medusa/server/src/workflows/product/workflows/delete-product-variants.d.ts +0 -8
  759. package/.medusa/server/src/workflows/product/workflows/delete-product-variants.js +0 -24
  760. package/.medusa/server/src/workflows/product/workflows/delete-products.d.ts +0 -6
  761. package/.medusa/server/src/workflows/product/workflows/delete-products.js +0 -19
  762. package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-brand.d.ts +0 -14
  763. package/.medusa/server/src/workflows/product/workflows/link-sellers-to-product-brand.js +0 -21
  764. package/.medusa/server/src/workflows/product/workflows/remove-attribute-from-product.d.ts +0 -7
  765. package/.medusa/server/src/workflows/product/workflows/remove-attribute-from-product.js +0 -20
  766. package/.medusa/server/src/workflows/product/workflows/request-product-changes.d.ts +0 -11
  767. package/.medusa/server/src/workflows/product/workflows/request-product-changes.js +0 -61
  768. package/.medusa/server/src/workflows/product/workflows/resubmit-product.d.ts +0 -8
  769. package/.medusa/server/src/workflows/product/workflows/resubmit-product.js +0 -48
  770. package/.medusa/server/src/workflows/product/workflows/submit-seller-products.d.ts +0 -3
  771. package/.medusa/server/src/workflows/product/workflows/submit-seller-products.js +0 -76
  772. package/.medusa/server/src/workflows/product/workflows/update-product-attribute-values.d.ts +0 -8
  773. package/.medusa/server/src/workflows/product/workflows/update-product-attribute-values.js +0 -18
  774. package/.medusa/server/src/workflows/product/workflows/update-product-attributes.d.ts +0 -8
  775. package/.medusa/server/src/workflows/product/workflows/update-product-attributes.js +0 -18
  776. package/.medusa/server/src/workflows/product/workflows/update-product-brands.d.ts +0 -8
  777. package/.medusa/server/src/workflows/product/workflows/update-product-brands.js +0 -19
  778. package/.medusa/server/src/workflows/product/workflows/update-product-categories.d.ts +0 -1555
  779. package/.medusa/server/src/workflows/product/workflows/update-product-categories.js +0 -18
  780. package/.medusa/server/src/workflows/product/workflows/update-product-variants.d.ts +0 -3
  781. package/.medusa/server/src/workflows/product/workflows/update-product-variants.js +0 -36
  782. package/.medusa/server/src/workflows/product/workflows/upsert-product-attribute-values.d.ts +0 -8
  783. package/.medusa/server/src/workflows/product/workflows/upsert-product-attribute-values.js +0 -21
  784. package/.medusa/server/src/workflows/product-edit/steps/retrieve-product-with-change.d.ts +0 -5
  785. package/.medusa/server/src/workflows/product-edit/steps/retrieve-product-with-change.js +0 -11
  786. package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-pending.d.ts +0 -11
  787. package/.medusa/server/src/workflows/product-edit/steps/validate-product-change-pending.js +0 -21
  788. package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-edit.d.ts +0 -19
  789. package/.medusa/server/src/workflows/product-edit/workflows/cancel-product-edit.js +0 -40
  790. package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-edit.d.ts +0 -21
  791. package/.medusa/server/src/workflows/product-edit/workflows/confirm-product-edit.js +0 -44
  792. package/.medusa/server/src/workflows/product-edit/workflows/decline-product-edit.d.ts +0 -16
  793. package/.medusa/server/src/workflows/product-edit/workflows/decline-product-edit.js +0 -42
  794. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-attribute.d.ts +0 -19
  795. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-attribute.js +0 -66
  796. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-variant.d.ts +0 -17
  797. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-add-variant.js +0 -58
  798. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-attribute.d.ts +0 -17
  799. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-attribute.js +0 -62
  800. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-variant.d.ts +0 -16
  801. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-remove-variant.js +0 -68
  802. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variant.d.ts +0 -21
  803. package/.medusa/server/src/workflows/product-edit/workflows/product-edit-update-variant.js +0 -89
  804. package/.medusa/server/src/workflows/subscription/steps/create-subscription-overrides.d.ts +0 -31
  805. package/.medusa/server/src/workflows/subscription/steps/create-subscription-overrides.js +0 -17
  806. package/.medusa/server/src/workflows/subscription/steps/create-subscription-plans.d.ts +0 -31
  807. package/.medusa/server/src/workflows/subscription/steps/create-subscription-plans.js +0 -17
  808. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-overrides.d.ts +0 -2
  809. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-overrides.js +0 -17
  810. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-plans.d.ts +0 -2
  811. package/.medusa/server/src/workflows/subscription/steps/delete-subscription-plans.js +0 -17
  812. package/.medusa/server/src/workflows/subscription/steps/index.d.ts +0 -6
  813. package/.medusa/server/src/workflows/subscription/steps/index.js +0 -23
  814. package/.medusa/server/src/workflows/subscription/steps/update-subscription-overrides.d.ts +0 -31
  815. package/.medusa/server/src/workflows/subscription/steps/update-subscription-overrides.js +0 -17
  816. package/.medusa/server/src/workflows/subscription/steps/update-subscription-plans.d.ts +0 -31
  817. package/.medusa/server/src/workflows/subscription/steps/update-subscription-plans.js +0 -17
  818. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-overrides.d.ts +0 -31
  819. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-overrides.js +0 -11
  820. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-plans.d.ts +0 -31
  821. package/.medusa/server/src/workflows/subscription/workflows/create-subscription-plans.js +0 -11
  822. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-overrides.d.ts +0 -5
  823. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-overrides.js +0 -11
  824. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-plans.d.ts +0 -5
  825. package/.medusa/server/src/workflows/subscription/workflows/delete-subscription-plans.js +0 -11
  826. package/.medusa/server/src/workflows/subscription/workflows/index.d.ts +0 -6
  827. package/.medusa/server/src/workflows/subscription/workflows/index.js +0 -23
  828. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-overrides.d.ts +0 -31
  829. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-overrides.js +0 -11
  830. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-plans.d.ts +0 -31
  831. package/.medusa/server/src/workflows/subscription/workflows/update-subscription-plans.js +0 -11
  832. package/.medusa/server/src/workflows/utils/override-workflow.d.ts +0 -12
  833. package/.medusa/server/src/workflows/utils/override-workflow.js +0 -21
  834. /package/.medusa/server/src/links/{brand-seller-link.d.ts → offer-price-link.d.ts} +0 -0
  835. /package/.medusa/server/src/links/{offer-price-set-link.d.ts → product-variant-attribute-link.d.ts} +0 -0
  836. /package/.medusa/server/src/workflows/cart/hooks/{validate-add-to-cart-stock.d.ts → before-refreshing-payment-collection.d.ts} +0 -0
  837. /package/.medusa/server/src/workflows/cart/hooks/{validate-update-line-item-stock.d.ts → set-pricing-context.d.ts} +0 -0
@@ -1,1555 +0,0 @@
1
- import { UpdateProductCategoryDTO } from "@mercurjs/types";
2
- export declare const updateProductCategoriesWorkflowId = "update-product-categories";
3
- type UpdateProductCategoriesWorkflowInput = {
4
- categories: (UpdateProductCategoryDTO & {
5
- id: string;
6
- })[];
7
- };
8
- export declare const updateProductCategoriesWorkflow: import("@medusajs/framework/workflows-sdk").ReturnWorkflow<UpdateProductCategoriesWorkflowInput, {
9
- id: string;
10
- name: string;
11
- description: string;
12
- handle: string;
13
- mpath: string;
14
- is_active: boolean;
15
- is_internal: boolean;
16
- is_restricted: boolean;
17
- rank: number;
18
- metadata: Record<string, unknown> | null;
19
- parent_category: /*elided*/ any;
20
- category_children: /*elided*/ any[];
21
- products: {
22
- id: string;
23
- title: string;
24
- handle: string;
25
- subtitle: string | null;
26
- description: string | null;
27
- is_giftcard: boolean;
28
- thumbnail: string | null;
29
- weight: string | null;
30
- length: string | null;
31
- height: string | null;
32
- width: string | null;
33
- origin_country: string | null;
34
- hs_code: string | null;
35
- mid_code: string | null;
36
- material: string | null;
37
- discountable: boolean;
38
- external_id: string | null;
39
- metadata: Record<string, unknown> | null;
40
- status: import("@mercurjs/types").ProductStatus;
41
- is_restricted: boolean;
42
- created_by: string | null;
43
- created_by_actor: string | null;
44
- variants: {
45
- id: string;
46
- title: string;
47
- barcode: string | null;
48
- sku: string | null;
49
- ean: string | null;
50
- upc: string | null;
51
- hs_code: string | null;
52
- origin_country: string | null;
53
- mid_code: string | null;
54
- material: string | null;
55
- weight: number | null;
56
- length: number | null;
57
- height: number | null;
58
- width: number | null;
59
- metadata: Record<string, unknown> | null;
60
- variant_rank: number | null;
61
- thumbnail: string | null;
62
- product: /*elided*/ any;
63
- images: {
64
- id: string;
65
- url: string;
66
- metadata: Record<string, unknown> | null;
67
- rank: number;
68
- product: /*elided*/ any;
69
- variants: /*elided*/ any[];
70
- created_at: Date;
71
- updated_at: Date;
72
- deleted_at: Date | null;
73
- product_id: string;
74
- }[];
75
- attribute_values: {
76
- id: string;
77
- handle: string | null;
78
- name: string;
79
- rank: number;
80
- is_active: boolean;
81
- metadata: Record<string, unknown> | null;
82
- attribute: {
83
- id: string;
84
- handle: string | null;
85
- name: string;
86
- description: string | null;
87
- type: import("@mercurjs/types").AttributeType;
88
- is_required: boolean;
89
- is_filterable: boolean;
90
- is_variant_axis: boolean;
91
- rank: number;
92
- is_active: boolean;
93
- created_by: string | null;
94
- metadata: Record<string, unknown> | null;
95
- values: /*elided*/ any[];
96
- categories: /*elided*/ any[];
97
- product: /*elided*/ any;
98
- variant_products: /*elided*/ any[];
99
- created_at: Date;
100
- updated_at: Date;
101
- deleted_at: Date | null;
102
- product_id: string | null;
103
- };
104
- variants: /*elided*/ any[];
105
- products: /*elided*/ any[];
106
- created_at: Date;
107
- updated_at: Date;
108
- deleted_at: Date | null;
109
- attribute_id: string;
110
- }[];
111
- raw_weight: Record<string, unknown> | null;
112
- raw_length: Record<string, unknown> | null;
113
- raw_height: Record<string, unknown> | null;
114
- raw_width: Record<string, unknown> | null;
115
- raw_variant_rank: Record<string, unknown> | null;
116
- created_at: Date;
117
- updated_at: Date;
118
- deleted_at: Date | null;
119
- product_id: string | null;
120
- }[];
121
- type: {
122
- id: string;
123
- value: string;
124
- metadata: Record<string, unknown> | null;
125
- products: /*elided*/ any[];
126
- created_at: Date;
127
- updated_at: Date;
128
- deleted_at: Date | null;
129
- };
130
- brand: {
131
- id: string;
132
- name: string;
133
- handle: string;
134
- is_restricted: boolean;
135
- metadata: Record<string, unknown> | null;
136
- products: /*elided*/ any[];
137
- created_at: Date;
138
- updated_at: Date;
139
- deleted_at: Date | null;
140
- };
141
- tags: {
142
- id: string;
143
- value: string;
144
- metadata: Record<string, unknown> | null;
145
- products: /*elided*/ any[];
146
- created_at: Date;
147
- updated_at: Date;
148
- deleted_at: Date | null;
149
- }[];
150
- images: {
151
- id: string;
152
- url: string;
153
- metadata: Record<string, unknown> | null;
154
- rank: number;
155
- product: /*elided*/ any;
156
- variants: {
157
- id: string;
158
- title: string;
159
- barcode: string | null;
160
- sku: string | null;
161
- ean: string | null;
162
- upc: string | null;
163
- hs_code: string | null;
164
- origin_country: string | null;
165
- mid_code: string | null;
166
- material: string | null;
167
- weight: number | null;
168
- length: number | null;
169
- height: number | null;
170
- width: number | null;
171
- metadata: Record<string, unknown> | null;
172
- variant_rank: number | null;
173
- thumbnail: string | null;
174
- product: /*elided*/ any;
175
- images: /*elided*/ any[];
176
- attribute_values: {
177
- id: string;
178
- handle: string | null;
179
- name: string;
180
- rank: number;
181
- is_active: boolean;
182
- metadata: Record<string, unknown> | null;
183
- attribute: {
184
- id: string;
185
- handle: string | null;
186
- name: string;
187
- description: string | null;
188
- type: import("@mercurjs/types").AttributeType;
189
- is_required: boolean;
190
- is_filterable: boolean;
191
- is_variant_axis: boolean;
192
- rank: number;
193
- is_active: boolean;
194
- created_by: string | null;
195
- metadata: Record<string, unknown> | null;
196
- values: /*elided*/ any[];
197
- categories: /*elided*/ any[];
198
- product: /*elided*/ any;
199
- variant_products: /*elided*/ any[];
200
- created_at: Date;
201
- updated_at: Date;
202
- deleted_at: Date | null;
203
- product_id: string | null;
204
- };
205
- variants: /*elided*/ any[];
206
- products: /*elided*/ any[];
207
- created_at: Date;
208
- updated_at: Date;
209
- deleted_at: Date | null;
210
- attribute_id: string;
211
- }[];
212
- raw_weight: Record<string, unknown> | null;
213
- raw_length: Record<string, unknown> | null;
214
- raw_height: Record<string, unknown> | null;
215
- raw_width: Record<string, unknown> | null;
216
- raw_variant_rank: Record<string, unknown> | null;
217
- created_at: Date;
218
- updated_at: Date;
219
- deleted_at: Date | null;
220
- product_id: string | null;
221
- }[];
222
- created_at: Date;
223
- updated_at: Date;
224
- deleted_at: Date | null;
225
- product_id: string;
226
- }[];
227
- collection: {
228
- id: string;
229
- title: string;
230
- handle: string;
231
- metadata: Record<string, unknown> | null;
232
- products: /*elided*/ any[];
233
- created_at: Date;
234
- updated_at: Date;
235
- deleted_at: Date | null;
236
- };
237
- categories: /*elided*/ any[];
238
- variant_attributes: {
239
- id: string;
240
- handle: string | null;
241
- name: string;
242
- description: string | null;
243
- type: import("@mercurjs/types").AttributeType;
244
- is_required: boolean;
245
- is_filterable: boolean;
246
- is_variant_axis: boolean;
247
- rank: number;
248
- is_active: boolean;
249
- created_by: string | null;
250
- metadata: Record<string, unknown> | null;
251
- values: {
252
- id: string;
253
- handle: string | null;
254
- name: string;
255
- rank: number;
256
- is_active: boolean;
257
- metadata: Record<string, unknown> | null;
258
- attribute: /*elided*/ any;
259
- variants: {
260
- id: string;
261
- title: string;
262
- barcode: string | null;
263
- sku: string | null;
264
- ean: string | null;
265
- upc: string | null;
266
- hs_code: string | null;
267
- origin_country: string | null;
268
- mid_code: string | null;
269
- material: string | null;
270
- weight: number | null;
271
- length: number | null;
272
- height: number | null;
273
- width: number | null;
274
- metadata: Record<string, unknown> | null;
275
- variant_rank: number | null;
276
- thumbnail: string | null;
277
- product: /*elided*/ any;
278
- images: {
279
- id: string;
280
- url: string;
281
- metadata: Record<string, unknown> | null;
282
- rank: number;
283
- product: /*elided*/ any;
284
- variants: /*elided*/ any[];
285
- created_at: Date;
286
- updated_at: Date;
287
- deleted_at: Date | null;
288
- product_id: string;
289
- }[];
290
- attribute_values: /*elided*/ any[];
291
- raw_weight: Record<string, unknown> | null;
292
- raw_length: Record<string, unknown> | null;
293
- raw_height: Record<string, unknown> | null;
294
- raw_width: Record<string, unknown> | null;
295
- raw_variant_rank: Record<string, unknown> | null;
296
- created_at: Date;
297
- updated_at: Date;
298
- deleted_at: Date | null;
299
- product_id: string | null;
300
- }[];
301
- products: /*elided*/ any[];
302
- created_at: Date;
303
- updated_at: Date;
304
- deleted_at: Date | null;
305
- attribute_id: string;
306
- }[];
307
- categories: /*elided*/ any[];
308
- product: /*elided*/ any;
309
- variant_products: /*elided*/ any[];
310
- created_at: Date;
311
- updated_at: Date;
312
- deleted_at: Date | null;
313
- product_id: string | null;
314
- }[];
315
- custom_attributes: {
316
- id: string;
317
- handle: string | null;
318
- name: string;
319
- description: string | null;
320
- type: import("@mercurjs/types").AttributeType;
321
- is_required: boolean;
322
- is_filterable: boolean;
323
- is_variant_axis: boolean;
324
- rank: number;
325
- is_active: boolean;
326
- created_by: string | null;
327
- metadata: Record<string, unknown> | null;
328
- values: {
329
- id: string;
330
- handle: string | null;
331
- name: string;
332
- rank: number;
333
- is_active: boolean;
334
- metadata: Record<string, unknown> | null;
335
- attribute: /*elided*/ any;
336
- variants: {
337
- id: string;
338
- title: string;
339
- barcode: string | null;
340
- sku: string | null;
341
- ean: string | null;
342
- upc: string | null;
343
- hs_code: string | null;
344
- origin_country: string | null;
345
- mid_code: string | null;
346
- material: string | null;
347
- weight: number | null;
348
- length: number | null;
349
- height: number | null;
350
- width: number | null;
351
- metadata: Record<string, unknown> | null;
352
- variant_rank: number | null;
353
- thumbnail: string | null;
354
- product: /*elided*/ any;
355
- images: {
356
- id: string;
357
- url: string;
358
- metadata: Record<string, unknown> | null;
359
- rank: number;
360
- product: /*elided*/ any;
361
- variants: /*elided*/ any[];
362
- created_at: Date;
363
- updated_at: Date;
364
- deleted_at: Date | null;
365
- product_id: string;
366
- }[];
367
- attribute_values: /*elided*/ any[];
368
- raw_weight: Record<string, unknown> | null;
369
- raw_length: Record<string, unknown> | null;
370
- raw_height: Record<string, unknown> | null;
371
- raw_width: Record<string, unknown> | null;
372
- raw_variant_rank: Record<string, unknown> | null;
373
- created_at: Date;
374
- updated_at: Date;
375
- deleted_at: Date | null;
376
- product_id: string | null;
377
- }[];
378
- products: /*elided*/ any[];
379
- created_at: Date;
380
- updated_at: Date;
381
- deleted_at: Date | null;
382
- attribute_id: string;
383
- }[];
384
- categories: /*elided*/ any[];
385
- product: /*elided*/ any;
386
- variant_products: /*elided*/ any[];
387
- created_at: Date;
388
- updated_at: Date;
389
- deleted_at: Date | null;
390
- product_id: string | null;
391
- }[];
392
- attribute_values: {
393
- id: string;
394
- handle: string | null;
395
- name: string;
396
- rank: number;
397
- is_active: boolean;
398
- metadata: Record<string, unknown> | null;
399
- attribute: {
400
- id: string;
401
- handle: string | null;
402
- name: string;
403
- description: string | null;
404
- type: import("@mercurjs/types").AttributeType;
405
- is_required: boolean;
406
- is_filterable: boolean;
407
- is_variant_axis: boolean;
408
- rank: number;
409
- is_active: boolean;
410
- created_by: string | null;
411
- metadata: Record<string, unknown> | null;
412
- values: /*elided*/ any[];
413
- categories: /*elided*/ any[];
414
- product: /*elided*/ any;
415
- variant_products: /*elided*/ any[];
416
- created_at: Date;
417
- updated_at: Date;
418
- deleted_at: Date | null;
419
- product_id: string | null;
420
- };
421
- variants: {
422
- id: string;
423
- title: string;
424
- barcode: string | null;
425
- sku: string | null;
426
- ean: string | null;
427
- upc: string | null;
428
- hs_code: string | null;
429
- origin_country: string | null;
430
- mid_code: string | null;
431
- material: string | null;
432
- weight: number | null;
433
- length: number | null;
434
- height: number | null;
435
- width: number | null;
436
- metadata: Record<string, unknown> | null;
437
- variant_rank: number | null;
438
- thumbnail: string | null;
439
- product: /*elided*/ any;
440
- images: {
441
- id: string;
442
- url: string;
443
- metadata: Record<string, unknown> | null;
444
- rank: number;
445
- product: /*elided*/ any;
446
- variants: /*elided*/ any[];
447
- created_at: Date;
448
- updated_at: Date;
449
- deleted_at: Date | null;
450
- product_id: string;
451
- }[];
452
- attribute_values: /*elided*/ any[];
453
- raw_weight: Record<string, unknown> | null;
454
- raw_length: Record<string, unknown> | null;
455
- raw_height: Record<string, unknown> | null;
456
- raw_width: Record<string, unknown> | null;
457
- raw_variant_rank: Record<string, unknown> | null;
458
- created_at: Date;
459
- updated_at: Date;
460
- deleted_at: Date | null;
461
- product_id: string | null;
462
- }[];
463
- products: /*elided*/ any[];
464
- created_at: Date;
465
- updated_at: Date;
466
- deleted_at: Date | null;
467
- attribute_id: string;
468
- }[];
469
- changes: {
470
- id: string;
471
- product: /*elided*/ any;
472
- status: import("@mercurjs/types").ProductChangeStatus;
473
- internal_note: string | null;
474
- external_note: string | null;
475
- created_by: string | null;
476
- confirmed_by: string | null;
477
- confirmed_at: Date | null;
478
- declined_by: string | null;
479
- declined_at: Date | null;
480
- declined_reason: string | null;
481
- canceled_by: string | null;
482
- canceled_at: Date | null;
483
- metadata: Record<string, unknown> | null;
484
- actions: {
485
- id: string;
486
- product_id: string;
487
- ordering: number;
488
- action: string;
489
- details: Record<string, unknown>;
490
- internal_note: string | null;
491
- applied: boolean;
492
- product_change: /*elided*/ any;
493
- created_at: Date;
494
- updated_at: Date;
495
- deleted_at: Date | null;
496
- product_change_id: string | null;
497
- }[];
498
- created_at: Date;
499
- updated_at: Date;
500
- deleted_at: Date | null;
501
- product_id: string;
502
- }[];
503
- created_at: Date;
504
- updated_at: Date;
505
- deleted_at: Date | null;
506
- type_id: string | null;
507
- brand_id: string | null;
508
- collection_id: string | null;
509
- }[];
510
- attributes: {
511
- id: string;
512
- handle: string | null;
513
- name: string;
514
- description: string | null;
515
- type: import("@mercurjs/types").AttributeType;
516
- is_required: boolean;
517
- is_filterable: boolean;
518
- is_variant_axis: boolean;
519
- rank: number;
520
- is_active: boolean;
521
- created_by: string | null;
522
- metadata: Record<string, unknown> | null;
523
- values: {
524
- id: string;
525
- handle: string | null;
526
- name: string;
527
- rank: number;
528
- is_active: boolean;
529
- metadata: Record<string, unknown> | null;
530
- attribute: /*elided*/ any;
531
- variants: {
532
- id: string;
533
- title: string;
534
- barcode: string | null;
535
- sku: string | null;
536
- ean: string | null;
537
- upc: string | null;
538
- hs_code: string | null;
539
- origin_country: string | null;
540
- mid_code: string | null;
541
- material: string | null;
542
- weight: number | null;
543
- length: number | null;
544
- height: number | null;
545
- width: number | null;
546
- metadata: Record<string, unknown> | null;
547
- variant_rank: number | null;
548
- thumbnail: string | null;
549
- product: {
550
- id: string;
551
- title: string;
552
- handle: string;
553
- subtitle: string | null;
554
- description: string | null;
555
- is_giftcard: boolean;
556
- thumbnail: string | null;
557
- weight: string | null;
558
- length: string | null;
559
- height: string | null;
560
- width: string | null;
561
- origin_country: string | null;
562
- hs_code: string | null;
563
- mid_code: string | null;
564
- material: string | null;
565
- discountable: boolean;
566
- external_id: string | null;
567
- metadata: Record<string, unknown> | null;
568
- status: import("@mercurjs/types").ProductStatus;
569
- is_restricted: boolean;
570
- created_by: string | null;
571
- created_by_actor: string | null;
572
- variants: /*elided*/ any[];
573
- type: {
574
- id: string;
575
- value: string;
576
- metadata: Record<string, unknown> | null;
577
- products: /*elided*/ any[];
578
- created_at: Date;
579
- updated_at: Date;
580
- deleted_at: Date | null;
581
- };
582
- brand: {
583
- id: string;
584
- name: string;
585
- handle: string;
586
- is_restricted: boolean;
587
- metadata: Record<string, unknown> | null;
588
- products: /*elided*/ any[];
589
- created_at: Date;
590
- updated_at: Date;
591
- deleted_at: Date | null;
592
- };
593
- tags: {
594
- id: string;
595
- value: string;
596
- metadata: Record<string, unknown> | null;
597
- products: /*elided*/ any[];
598
- created_at: Date;
599
- updated_at: Date;
600
- deleted_at: Date | null;
601
- }[];
602
- images: {
603
- id: string;
604
- url: string;
605
- metadata: Record<string, unknown> | null;
606
- rank: number;
607
- product: /*elided*/ any;
608
- variants: /*elided*/ any[];
609
- created_at: Date;
610
- updated_at: Date;
611
- deleted_at: Date | null;
612
- product_id: string;
613
- }[];
614
- collection: {
615
- id: string;
616
- title: string;
617
- handle: string;
618
- metadata: Record<string, unknown> | null;
619
- products: /*elided*/ any[];
620
- created_at: Date;
621
- updated_at: Date;
622
- deleted_at: Date | null;
623
- };
624
- categories: /*elided*/ any[];
625
- variant_attributes: /*elided*/ any[];
626
- custom_attributes: /*elided*/ any[];
627
- attribute_values: /*elided*/ any[];
628
- changes: {
629
- id: string;
630
- product: /*elided*/ any;
631
- status: import("@mercurjs/types").ProductChangeStatus;
632
- internal_note: string | null;
633
- external_note: string | null;
634
- created_by: string | null;
635
- confirmed_by: string | null;
636
- confirmed_at: Date | null;
637
- declined_by: string | null;
638
- declined_at: Date | null;
639
- declined_reason: string | null;
640
- canceled_by: string | null;
641
- canceled_at: Date | null;
642
- metadata: Record<string, unknown> | null;
643
- actions: {
644
- id: string;
645
- product_id: string;
646
- ordering: number;
647
- action: string;
648
- details: Record<string, unknown>;
649
- internal_note: string | null;
650
- applied: boolean;
651
- product_change: /*elided*/ any;
652
- created_at: Date;
653
- updated_at: Date;
654
- deleted_at: Date | null;
655
- product_change_id: string | null;
656
- }[];
657
- created_at: Date;
658
- updated_at: Date;
659
- deleted_at: Date | null;
660
- product_id: string;
661
- }[];
662
- created_at: Date;
663
- updated_at: Date;
664
- deleted_at: Date | null;
665
- type_id: string | null;
666
- brand_id: string | null;
667
- collection_id: string | null;
668
- };
669
- images: {
670
- id: string;
671
- url: string;
672
- metadata: Record<string, unknown> | null;
673
- rank: number;
674
- product: {
675
- id: string;
676
- title: string;
677
- handle: string;
678
- subtitle: string | null;
679
- description: string | null;
680
- is_giftcard: boolean;
681
- thumbnail: string | null;
682
- weight: string | null;
683
- length: string | null;
684
- height: string | null;
685
- width: string | null;
686
- origin_country: string | null;
687
- hs_code: string | null;
688
- mid_code: string | null;
689
- material: string | null;
690
- discountable: boolean;
691
- external_id: string | null;
692
- metadata: Record<string, unknown> | null;
693
- status: import("@mercurjs/types").ProductStatus;
694
- is_restricted: boolean;
695
- created_by: string | null;
696
- created_by_actor: string | null;
697
- variants: /*elided*/ any[];
698
- type: {
699
- id: string;
700
- value: string;
701
- metadata: Record<string, unknown> | null;
702
- products: /*elided*/ any[];
703
- created_at: Date;
704
- updated_at: Date;
705
- deleted_at: Date | null;
706
- };
707
- brand: {
708
- id: string;
709
- name: string;
710
- handle: string;
711
- is_restricted: boolean;
712
- metadata: Record<string, unknown> | null;
713
- products: /*elided*/ any[];
714
- created_at: Date;
715
- updated_at: Date;
716
- deleted_at: Date | null;
717
- };
718
- tags: {
719
- id: string;
720
- value: string;
721
- metadata: Record<string, unknown> | null;
722
- products: /*elided*/ any[];
723
- created_at: Date;
724
- updated_at: Date;
725
- deleted_at: Date | null;
726
- }[];
727
- images: /*elided*/ any[];
728
- collection: {
729
- id: string;
730
- title: string;
731
- handle: string;
732
- metadata: Record<string, unknown> | null;
733
- products: /*elided*/ any[];
734
- created_at: Date;
735
- updated_at: Date;
736
- deleted_at: Date | null;
737
- };
738
- categories: /*elided*/ any[];
739
- variant_attributes: /*elided*/ any[];
740
- custom_attributes: /*elided*/ any[];
741
- attribute_values: /*elided*/ any[];
742
- changes: {
743
- id: string;
744
- product: /*elided*/ any;
745
- status: import("@mercurjs/types").ProductChangeStatus;
746
- internal_note: string | null;
747
- external_note: string | null;
748
- created_by: string | null;
749
- confirmed_by: string | null;
750
- confirmed_at: Date | null;
751
- declined_by: string | null;
752
- declined_at: Date | null;
753
- declined_reason: string | null;
754
- canceled_by: string | null;
755
- canceled_at: Date | null;
756
- metadata: Record<string, unknown> | null;
757
- actions: {
758
- id: string;
759
- product_id: string;
760
- ordering: number;
761
- action: string;
762
- details: Record<string, unknown>;
763
- internal_note: string | null;
764
- applied: boolean;
765
- product_change: /*elided*/ any;
766
- created_at: Date;
767
- updated_at: Date;
768
- deleted_at: Date | null;
769
- product_change_id: string | null;
770
- }[];
771
- created_at: Date;
772
- updated_at: Date;
773
- deleted_at: Date | null;
774
- product_id: string;
775
- }[];
776
- created_at: Date;
777
- updated_at: Date;
778
- deleted_at: Date | null;
779
- type_id: string | null;
780
- brand_id: string | null;
781
- collection_id: string | null;
782
- };
783
- variants: /*elided*/ any[];
784
- created_at: Date;
785
- updated_at: Date;
786
- deleted_at: Date | null;
787
- product_id: string;
788
- }[];
789
- attribute_values: /*elided*/ any[];
790
- raw_weight: Record<string, unknown> | null;
791
- raw_length: Record<string, unknown> | null;
792
- raw_height: Record<string, unknown> | null;
793
- raw_width: Record<string, unknown> | null;
794
- raw_variant_rank: Record<string, unknown> | null;
795
- created_at: Date;
796
- updated_at: Date;
797
- deleted_at: Date | null;
798
- product_id: string | null;
799
- }[];
800
- products: {
801
- id: string;
802
- title: string;
803
- handle: string;
804
- subtitle: string | null;
805
- description: string | null;
806
- is_giftcard: boolean;
807
- thumbnail: string | null;
808
- weight: string | null;
809
- length: string | null;
810
- height: string | null;
811
- width: string | null;
812
- origin_country: string | null;
813
- hs_code: string | null;
814
- mid_code: string | null;
815
- material: string | null;
816
- discountable: boolean;
817
- external_id: string | null;
818
- metadata: Record<string, unknown> | null;
819
- status: import("@mercurjs/types").ProductStatus;
820
- is_restricted: boolean;
821
- created_by: string | null;
822
- created_by_actor: string | null;
823
- variants: {
824
- id: string;
825
- title: string;
826
- barcode: string | null;
827
- sku: string | null;
828
- ean: string | null;
829
- upc: string | null;
830
- hs_code: string | null;
831
- origin_country: string | null;
832
- mid_code: string | null;
833
- material: string | null;
834
- weight: number | null;
835
- length: number | null;
836
- height: number | null;
837
- width: number | null;
838
- metadata: Record<string, unknown> | null;
839
- variant_rank: number | null;
840
- thumbnail: string | null;
841
- product: /*elided*/ any;
842
- images: {
843
- id: string;
844
- url: string;
845
- metadata: Record<string, unknown> | null;
846
- rank: number;
847
- product: /*elided*/ any;
848
- variants: /*elided*/ any[];
849
- created_at: Date;
850
- updated_at: Date;
851
- deleted_at: Date | null;
852
- product_id: string;
853
- }[];
854
- attribute_values: /*elided*/ any[];
855
- raw_weight: Record<string, unknown> | null;
856
- raw_length: Record<string, unknown> | null;
857
- raw_height: Record<string, unknown> | null;
858
- raw_width: Record<string, unknown> | null;
859
- raw_variant_rank: Record<string, unknown> | null;
860
- created_at: Date;
861
- updated_at: Date;
862
- deleted_at: Date | null;
863
- product_id: string | null;
864
- }[];
865
- type: {
866
- id: string;
867
- value: string;
868
- metadata: Record<string, unknown> | null;
869
- products: /*elided*/ any[];
870
- created_at: Date;
871
- updated_at: Date;
872
- deleted_at: Date | null;
873
- };
874
- brand: {
875
- id: string;
876
- name: string;
877
- handle: string;
878
- is_restricted: boolean;
879
- metadata: Record<string, unknown> | null;
880
- products: /*elided*/ any[];
881
- created_at: Date;
882
- updated_at: Date;
883
- deleted_at: Date | null;
884
- };
885
- tags: {
886
- id: string;
887
- value: string;
888
- metadata: Record<string, unknown> | null;
889
- products: /*elided*/ any[];
890
- created_at: Date;
891
- updated_at: Date;
892
- deleted_at: Date | null;
893
- }[];
894
- images: {
895
- id: string;
896
- url: string;
897
- metadata: Record<string, unknown> | null;
898
- rank: number;
899
- product: /*elided*/ any;
900
- variants: {
901
- id: string;
902
- title: string;
903
- barcode: string | null;
904
- sku: string | null;
905
- ean: string | null;
906
- upc: string | null;
907
- hs_code: string | null;
908
- origin_country: string | null;
909
- mid_code: string | null;
910
- material: string | null;
911
- weight: number | null;
912
- length: number | null;
913
- height: number | null;
914
- width: number | null;
915
- metadata: Record<string, unknown> | null;
916
- variant_rank: number | null;
917
- thumbnail: string | null;
918
- product: /*elided*/ any;
919
- images: /*elided*/ any[];
920
- attribute_values: /*elided*/ any[];
921
- raw_weight: Record<string, unknown> | null;
922
- raw_length: Record<string, unknown> | null;
923
- raw_height: Record<string, unknown> | null;
924
- raw_width: Record<string, unknown> | null;
925
- raw_variant_rank: Record<string, unknown> | null;
926
- created_at: Date;
927
- updated_at: Date;
928
- deleted_at: Date | null;
929
- product_id: string | null;
930
- }[];
931
- created_at: Date;
932
- updated_at: Date;
933
- deleted_at: Date | null;
934
- product_id: string;
935
- }[];
936
- collection: {
937
- id: string;
938
- title: string;
939
- handle: string;
940
- metadata: Record<string, unknown> | null;
941
- products: /*elided*/ any[];
942
- created_at: Date;
943
- updated_at: Date;
944
- deleted_at: Date | null;
945
- };
946
- categories: /*elided*/ any[];
947
- variant_attributes: /*elided*/ any[];
948
- custom_attributes: /*elided*/ any[];
949
- attribute_values: /*elided*/ any[];
950
- changes: {
951
- id: string;
952
- product: /*elided*/ any;
953
- status: import("@mercurjs/types").ProductChangeStatus;
954
- internal_note: string | null;
955
- external_note: string | null;
956
- created_by: string | null;
957
- confirmed_by: string | null;
958
- confirmed_at: Date | null;
959
- declined_by: string | null;
960
- declined_at: Date | null;
961
- declined_reason: string | null;
962
- canceled_by: string | null;
963
- canceled_at: Date | null;
964
- metadata: Record<string, unknown> | null;
965
- actions: {
966
- id: string;
967
- product_id: string;
968
- ordering: number;
969
- action: string;
970
- details: Record<string, unknown>;
971
- internal_note: string | null;
972
- applied: boolean;
973
- product_change: /*elided*/ any;
974
- created_at: Date;
975
- updated_at: Date;
976
- deleted_at: Date | null;
977
- product_change_id: string | null;
978
- }[];
979
- created_at: Date;
980
- updated_at: Date;
981
- deleted_at: Date | null;
982
- product_id: string;
983
- }[];
984
- created_at: Date;
985
- updated_at: Date;
986
- deleted_at: Date | null;
987
- type_id: string | null;
988
- brand_id: string | null;
989
- collection_id: string | null;
990
- }[];
991
- created_at: Date;
992
- updated_at: Date;
993
- deleted_at: Date | null;
994
- attribute_id: string;
995
- }[];
996
- categories: /*elided*/ any[];
997
- product: {
998
- id: string;
999
- title: string;
1000
- handle: string;
1001
- subtitle: string | null;
1002
- description: string | null;
1003
- is_giftcard: boolean;
1004
- thumbnail: string | null;
1005
- weight: string | null;
1006
- length: string | null;
1007
- height: string | null;
1008
- width: string | null;
1009
- origin_country: string | null;
1010
- hs_code: string | null;
1011
- mid_code: string | null;
1012
- material: string | null;
1013
- discountable: boolean;
1014
- external_id: string | null;
1015
- metadata: Record<string, unknown> | null;
1016
- status: import("@mercurjs/types").ProductStatus;
1017
- is_restricted: boolean;
1018
- created_by: string | null;
1019
- created_by_actor: string | null;
1020
- variants: {
1021
- id: string;
1022
- title: string;
1023
- barcode: string | null;
1024
- sku: string | null;
1025
- ean: string | null;
1026
- upc: string | null;
1027
- hs_code: string | null;
1028
- origin_country: string | null;
1029
- mid_code: string | null;
1030
- material: string | null;
1031
- weight: number | null;
1032
- length: number | null;
1033
- height: number | null;
1034
- width: number | null;
1035
- metadata: Record<string, unknown> | null;
1036
- variant_rank: number | null;
1037
- thumbnail: string | null;
1038
- product: /*elided*/ any;
1039
- images: {
1040
- id: string;
1041
- url: string;
1042
- metadata: Record<string, unknown> | null;
1043
- rank: number;
1044
- product: /*elided*/ any;
1045
- variants: /*elided*/ any[];
1046
- created_at: Date;
1047
- updated_at: Date;
1048
- deleted_at: Date | null;
1049
- product_id: string;
1050
- }[];
1051
- attribute_values: {
1052
- id: string;
1053
- handle: string | null;
1054
- name: string;
1055
- rank: number;
1056
- is_active: boolean;
1057
- metadata: Record<string, unknown> | null;
1058
- attribute: /*elided*/ any;
1059
- variants: /*elided*/ any[];
1060
- products: /*elided*/ any[];
1061
- created_at: Date;
1062
- updated_at: Date;
1063
- deleted_at: Date | null;
1064
- attribute_id: string;
1065
- }[];
1066
- raw_weight: Record<string, unknown> | null;
1067
- raw_length: Record<string, unknown> | null;
1068
- raw_height: Record<string, unknown> | null;
1069
- raw_width: Record<string, unknown> | null;
1070
- raw_variant_rank: Record<string, unknown> | null;
1071
- created_at: Date;
1072
- updated_at: Date;
1073
- deleted_at: Date | null;
1074
- product_id: string | null;
1075
- }[];
1076
- type: {
1077
- id: string;
1078
- value: string;
1079
- metadata: Record<string, unknown> | null;
1080
- products: /*elided*/ any[];
1081
- created_at: Date;
1082
- updated_at: Date;
1083
- deleted_at: Date | null;
1084
- };
1085
- brand: {
1086
- id: string;
1087
- name: string;
1088
- handle: string;
1089
- is_restricted: boolean;
1090
- metadata: Record<string, unknown> | null;
1091
- products: /*elided*/ any[];
1092
- created_at: Date;
1093
- updated_at: Date;
1094
- deleted_at: Date | null;
1095
- };
1096
- tags: {
1097
- id: string;
1098
- value: string;
1099
- metadata: Record<string, unknown> | null;
1100
- products: /*elided*/ any[];
1101
- created_at: Date;
1102
- updated_at: Date;
1103
- deleted_at: Date | null;
1104
- }[];
1105
- images: {
1106
- id: string;
1107
- url: string;
1108
- metadata: Record<string, unknown> | null;
1109
- rank: number;
1110
- product: /*elided*/ any;
1111
- variants: {
1112
- id: string;
1113
- title: string;
1114
- barcode: string | null;
1115
- sku: string | null;
1116
- ean: string | null;
1117
- upc: string | null;
1118
- hs_code: string | null;
1119
- origin_country: string | null;
1120
- mid_code: string | null;
1121
- material: string | null;
1122
- weight: number | null;
1123
- length: number | null;
1124
- height: number | null;
1125
- width: number | null;
1126
- metadata: Record<string, unknown> | null;
1127
- variant_rank: number | null;
1128
- thumbnail: string | null;
1129
- product: /*elided*/ any;
1130
- images: /*elided*/ any[];
1131
- attribute_values: {
1132
- id: string;
1133
- handle: string | null;
1134
- name: string;
1135
- rank: number;
1136
- is_active: boolean;
1137
- metadata: Record<string, unknown> | null;
1138
- attribute: /*elided*/ any;
1139
- variants: /*elided*/ any[];
1140
- products: /*elided*/ any[];
1141
- created_at: Date;
1142
- updated_at: Date;
1143
- deleted_at: Date | null;
1144
- attribute_id: string;
1145
- }[];
1146
- raw_weight: Record<string, unknown> | null;
1147
- raw_length: Record<string, unknown> | null;
1148
- raw_height: Record<string, unknown> | null;
1149
- raw_width: Record<string, unknown> | null;
1150
- raw_variant_rank: Record<string, unknown> | null;
1151
- created_at: Date;
1152
- updated_at: Date;
1153
- deleted_at: Date | null;
1154
- product_id: string | null;
1155
- }[];
1156
- created_at: Date;
1157
- updated_at: Date;
1158
- deleted_at: Date | null;
1159
- product_id: string;
1160
- }[];
1161
- collection: {
1162
- id: string;
1163
- title: string;
1164
- handle: string;
1165
- metadata: Record<string, unknown> | null;
1166
- products: /*elided*/ any[];
1167
- created_at: Date;
1168
- updated_at: Date;
1169
- deleted_at: Date | null;
1170
- };
1171
- categories: /*elided*/ any[];
1172
- variant_attributes: /*elided*/ any[];
1173
- custom_attributes: /*elided*/ any[];
1174
- attribute_values: {
1175
- id: string;
1176
- handle: string | null;
1177
- name: string;
1178
- rank: number;
1179
- is_active: boolean;
1180
- metadata: Record<string, unknown> | null;
1181
- attribute: /*elided*/ any;
1182
- variants: {
1183
- id: string;
1184
- title: string;
1185
- barcode: string | null;
1186
- sku: string | null;
1187
- ean: string | null;
1188
- upc: string | null;
1189
- hs_code: string | null;
1190
- origin_country: string | null;
1191
- mid_code: string | null;
1192
- material: string | null;
1193
- weight: number | null;
1194
- length: number | null;
1195
- height: number | null;
1196
- width: number | null;
1197
- metadata: Record<string, unknown> | null;
1198
- variant_rank: number | null;
1199
- thumbnail: string | null;
1200
- product: /*elided*/ any;
1201
- images: {
1202
- id: string;
1203
- url: string;
1204
- metadata: Record<string, unknown> | null;
1205
- rank: number;
1206
- product: /*elided*/ any;
1207
- variants: /*elided*/ any[];
1208
- created_at: Date;
1209
- updated_at: Date;
1210
- deleted_at: Date | null;
1211
- product_id: string;
1212
- }[];
1213
- attribute_values: /*elided*/ any[];
1214
- raw_weight: Record<string, unknown> | null;
1215
- raw_length: Record<string, unknown> | null;
1216
- raw_height: Record<string, unknown> | null;
1217
- raw_width: Record<string, unknown> | null;
1218
- raw_variant_rank: Record<string, unknown> | null;
1219
- created_at: Date;
1220
- updated_at: Date;
1221
- deleted_at: Date | null;
1222
- product_id: string | null;
1223
- }[];
1224
- products: /*elided*/ any[];
1225
- created_at: Date;
1226
- updated_at: Date;
1227
- deleted_at: Date | null;
1228
- attribute_id: string;
1229
- }[];
1230
- changes: {
1231
- id: string;
1232
- product: /*elided*/ any;
1233
- status: import("@mercurjs/types").ProductChangeStatus;
1234
- internal_note: string | null;
1235
- external_note: string | null;
1236
- created_by: string | null;
1237
- confirmed_by: string | null;
1238
- confirmed_at: Date | null;
1239
- declined_by: string | null;
1240
- declined_at: Date | null;
1241
- declined_reason: string | null;
1242
- canceled_by: string | null;
1243
- canceled_at: Date | null;
1244
- metadata: Record<string, unknown> | null;
1245
- actions: {
1246
- id: string;
1247
- product_id: string;
1248
- ordering: number;
1249
- action: string;
1250
- details: Record<string, unknown>;
1251
- internal_note: string | null;
1252
- applied: boolean;
1253
- product_change: /*elided*/ any;
1254
- created_at: Date;
1255
- updated_at: Date;
1256
- deleted_at: Date | null;
1257
- product_change_id: string | null;
1258
- }[];
1259
- created_at: Date;
1260
- updated_at: Date;
1261
- deleted_at: Date | null;
1262
- product_id: string;
1263
- }[];
1264
- created_at: Date;
1265
- updated_at: Date;
1266
- deleted_at: Date | null;
1267
- type_id: string | null;
1268
- brand_id: string | null;
1269
- collection_id: string | null;
1270
- };
1271
- variant_products: {
1272
- id: string;
1273
- title: string;
1274
- handle: string;
1275
- subtitle: string | null;
1276
- description: string | null;
1277
- is_giftcard: boolean;
1278
- thumbnail: string | null;
1279
- weight: string | null;
1280
- length: string | null;
1281
- height: string | null;
1282
- width: string | null;
1283
- origin_country: string | null;
1284
- hs_code: string | null;
1285
- mid_code: string | null;
1286
- material: string | null;
1287
- discountable: boolean;
1288
- external_id: string | null;
1289
- metadata: Record<string, unknown> | null;
1290
- status: import("@mercurjs/types").ProductStatus;
1291
- is_restricted: boolean;
1292
- created_by: string | null;
1293
- created_by_actor: string | null;
1294
- variants: {
1295
- id: string;
1296
- title: string;
1297
- barcode: string | null;
1298
- sku: string | null;
1299
- ean: string | null;
1300
- upc: string | null;
1301
- hs_code: string | null;
1302
- origin_country: string | null;
1303
- mid_code: string | null;
1304
- material: string | null;
1305
- weight: number | null;
1306
- length: number | null;
1307
- height: number | null;
1308
- width: number | null;
1309
- metadata: Record<string, unknown> | null;
1310
- variant_rank: number | null;
1311
- thumbnail: string | null;
1312
- product: /*elided*/ any;
1313
- images: {
1314
- id: string;
1315
- url: string;
1316
- metadata: Record<string, unknown> | null;
1317
- rank: number;
1318
- product: /*elided*/ any;
1319
- variants: /*elided*/ any[];
1320
- created_at: Date;
1321
- updated_at: Date;
1322
- deleted_at: Date | null;
1323
- product_id: string;
1324
- }[];
1325
- attribute_values: {
1326
- id: string;
1327
- handle: string | null;
1328
- name: string;
1329
- rank: number;
1330
- is_active: boolean;
1331
- metadata: Record<string, unknown> | null;
1332
- attribute: /*elided*/ any;
1333
- variants: /*elided*/ any[];
1334
- products: /*elided*/ any[];
1335
- created_at: Date;
1336
- updated_at: Date;
1337
- deleted_at: Date | null;
1338
- attribute_id: string;
1339
- }[];
1340
- raw_weight: Record<string, unknown> | null;
1341
- raw_length: Record<string, unknown> | null;
1342
- raw_height: Record<string, unknown> | null;
1343
- raw_width: Record<string, unknown> | null;
1344
- raw_variant_rank: Record<string, unknown> | null;
1345
- created_at: Date;
1346
- updated_at: Date;
1347
- deleted_at: Date | null;
1348
- product_id: string | null;
1349
- }[];
1350
- type: {
1351
- id: string;
1352
- value: string;
1353
- metadata: Record<string, unknown> | null;
1354
- products: /*elided*/ any[];
1355
- created_at: Date;
1356
- updated_at: Date;
1357
- deleted_at: Date | null;
1358
- };
1359
- brand: {
1360
- id: string;
1361
- name: string;
1362
- handle: string;
1363
- is_restricted: boolean;
1364
- metadata: Record<string, unknown> | null;
1365
- products: /*elided*/ any[];
1366
- created_at: Date;
1367
- updated_at: Date;
1368
- deleted_at: Date | null;
1369
- };
1370
- tags: {
1371
- id: string;
1372
- value: string;
1373
- metadata: Record<string, unknown> | null;
1374
- products: /*elided*/ any[];
1375
- created_at: Date;
1376
- updated_at: Date;
1377
- deleted_at: Date | null;
1378
- }[];
1379
- images: {
1380
- id: string;
1381
- url: string;
1382
- metadata: Record<string, unknown> | null;
1383
- rank: number;
1384
- product: /*elided*/ any;
1385
- variants: {
1386
- id: string;
1387
- title: string;
1388
- barcode: string | null;
1389
- sku: string | null;
1390
- ean: string | null;
1391
- upc: string | null;
1392
- hs_code: string | null;
1393
- origin_country: string | null;
1394
- mid_code: string | null;
1395
- material: string | null;
1396
- weight: number | null;
1397
- length: number | null;
1398
- height: number | null;
1399
- width: number | null;
1400
- metadata: Record<string, unknown> | null;
1401
- variant_rank: number | null;
1402
- thumbnail: string | null;
1403
- product: /*elided*/ any;
1404
- images: /*elided*/ any[];
1405
- attribute_values: {
1406
- id: string;
1407
- handle: string | null;
1408
- name: string;
1409
- rank: number;
1410
- is_active: boolean;
1411
- metadata: Record<string, unknown> | null;
1412
- attribute: /*elided*/ any;
1413
- variants: /*elided*/ any[];
1414
- products: /*elided*/ any[];
1415
- created_at: Date;
1416
- updated_at: Date;
1417
- deleted_at: Date | null;
1418
- attribute_id: string;
1419
- }[];
1420
- raw_weight: Record<string, unknown> | null;
1421
- raw_length: Record<string, unknown> | null;
1422
- raw_height: Record<string, unknown> | null;
1423
- raw_width: Record<string, unknown> | null;
1424
- raw_variant_rank: Record<string, unknown> | null;
1425
- created_at: Date;
1426
- updated_at: Date;
1427
- deleted_at: Date | null;
1428
- product_id: string | null;
1429
- }[];
1430
- created_at: Date;
1431
- updated_at: Date;
1432
- deleted_at: Date | null;
1433
- product_id: string;
1434
- }[];
1435
- collection: {
1436
- id: string;
1437
- title: string;
1438
- handle: string;
1439
- metadata: Record<string, unknown> | null;
1440
- products: /*elided*/ any[];
1441
- created_at: Date;
1442
- updated_at: Date;
1443
- deleted_at: Date | null;
1444
- };
1445
- categories: /*elided*/ any[];
1446
- variant_attributes: /*elided*/ any[];
1447
- custom_attributes: /*elided*/ any[];
1448
- attribute_values: {
1449
- id: string;
1450
- handle: string | null;
1451
- name: string;
1452
- rank: number;
1453
- is_active: boolean;
1454
- metadata: Record<string, unknown> | null;
1455
- attribute: /*elided*/ any;
1456
- variants: {
1457
- id: string;
1458
- title: string;
1459
- barcode: string | null;
1460
- sku: string | null;
1461
- ean: string | null;
1462
- upc: string | null;
1463
- hs_code: string | null;
1464
- origin_country: string | null;
1465
- mid_code: string | null;
1466
- material: string | null;
1467
- weight: number | null;
1468
- length: number | null;
1469
- height: number | null;
1470
- width: number | null;
1471
- metadata: Record<string, unknown> | null;
1472
- variant_rank: number | null;
1473
- thumbnail: string | null;
1474
- product: /*elided*/ any;
1475
- images: {
1476
- id: string;
1477
- url: string;
1478
- metadata: Record<string, unknown> | null;
1479
- rank: number;
1480
- product: /*elided*/ any;
1481
- variants: /*elided*/ any[];
1482
- created_at: Date;
1483
- updated_at: Date;
1484
- deleted_at: Date | null;
1485
- product_id: string;
1486
- }[];
1487
- attribute_values: /*elided*/ any[];
1488
- raw_weight: Record<string, unknown> | null;
1489
- raw_length: Record<string, unknown> | null;
1490
- raw_height: Record<string, unknown> | null;
1491
- raw_width: Record<string, unknown> | null;
1492
- raw_variant_rank: Record<string, unknown> | null;
1493
- created_at: Date;
1494
- updated_at: Date;
1495
- deleted_at: Date | null;
1496
- product_id: string | null;
1497
- }[];
1498
- products: /*elided*/ any[];
1499
- created_at: Date;
1500
- updated_at: Date;
1501
- deleted_at: Date | null;
1502
- attribute_id: string;
1503
- }[];
1504
- changes: {
1505
- id: string;
1506
- product: /*elided*/ any;
1507
- status: import("@mercurjs/types").ProductChangeStatus;
1508
- internal_note: string | null;
1509
- external_note: string | null;
1510
- created_by: string | null;
1511
- confirmed_by: string | null;
1512
- confirmed_at: Date | null;
1513
- declined_by: string | null;
1514
- declined_at: Date | null;
1515
- declined_reason: string | null;
1516
- canceled_by: string | null;
1517
- canceled_at: Date | null;
1518
- metadata: Record<string, unknown> | null;
1519
- actions: {
1520
- id: string;
1521
- product_id: string;
1522
- ordering: number;
1523
- action: string;
1524
- details: Record<string, unknown>;
1525
- internal_note: string | null;
1526
- applied: boolean;
1527
- product_change: /*elided*/ any;
1528
- created_at: Date;
1529
- updated_at: Date;
1530
- deleted_at: Date | null;
1531
- product_change_id: string | null;
1532
- }[];
1533
- created_at: Date;
1534
- updated_at: Date;
1535
- deleted_at: Date | null;
1536
- product_id: string;
1537
- }[];
1538
- created_at: Date;
1539
- updated_at: Date;
1540
- deleted_at: Date | null;
1541
- type_id: string | null;
1542
- brand_id: string | null;
1543
- collection_id: string | null;
1544
- }[];
1545
- created_at: Date;
1546
- updated_at: Date;
1547
- deleted_at: Date | null;
1548
- product_id: string | null;
1549
- }[];
1550
- created_at: Date;
1551
- updated_at: Date;
1552
- deleted_at: Date | null;
1553
- parent_category_id: string | null;
1554
- }[], []>;
1555
- export {};