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