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