@medusajs/types 1.12.0-snapshot-20240531102054 → 1.12.0-snapshot-20240701122250

Sign up to get free protection for your applications and to get access to all the features.
Files changed (764) hide show
  1. package/dist/api-key/service.d.ts +24 -24
  2. package/dist/api-key/service.d.ts.map +1 -1
  3. package/dist/auth/common/auth-identity.d.ts +77 -21
  4. package/dist/auth/common/auth-identity.d.ts.map +1 -1
  5. package/dist/auth/common/provider.d.ts +2 -1
  6. package/dist/auth/common/provider.d.ts.map +1 -1
  7. package/dist/auth/provider.d.ts +6 -3
  8. package/dist/auth/provider.d.ts.map +1 -1
  9. package/dist/auth/service.d.ts +30 -30
  10. package/dist/auth/service.d.ts.map +1 -1
  11. package/dist/bundles.d.ts +2 -1
  12. package/dist/bundles.d.ts.map +1 -1
  13. package/dist/bundles.js +3 -2
  14. package/dist/bundles.js.map +1 -1
  15. package/dist/cart/mutations.d.ts +8 -0
  16. package/dist/cart/mutations.d.ts.map +1 -1
  17. package/dist/cart/mutations.js.map +1 -1
  18. package/dist/cart/service.d.ts +30 -52
  19. package/dist/cart/service.d.ts.map +1 -1
  20. package/dist/common/batch.d.ts +3 -3
  21. package/dist/common/batch.d.ts.map +1 -1
  22. package/dist/common/common.d.ts +6 -1
  23. package/dist/common/common.d.ts.map +1 -1
  24. package/dist/currency/service.d.ts +9 -9
  25. package/dist/currency/service.d.ts.map +1 -1
  26. package/dist/customer/mutations.d.ts +27 -26
  27. package/dist/customer/mutations.d.ts.map +1 -1
  28. package/dist/customer/service.d.ts +40 -43
  29. package/dist/customer/service.d.ts.map +1 -1
  30. package/dist/dal/repository-service.d.ts +15 -3
  31. package/dist/dal/repository-service.d.ts.map +1 -1
  32. package/dist/dml/index.d.ts +161 -0
  33. package/dist/dml/index.d.ts.map +1 -0
  34. package/dist/dml/index.js +5 -0
  35. package/dist/dml/index.js.map +1 -0
  36. package/dist/event-bus/common.d.ts +17 -25
  37. package/dist/event-bus/common.d.ts.map +1 -1
  38. package/dist/event-bus/event-bus-module.d.ts +4 -4
  39. package/dist/event-bus/event-bus-module.d.ts.map +1 -1
  40. package/dist/event-bus/event-bus.d.ts +2 -4
  41. package/dist/event-bus/event-bus.d.ts.map +1 -1
  42. package/dist/file/provider.d.ts +1 -8
  43. package/dist/file/provider.d.ts.map +1 -1
  44. package/dist/file/service.d.ts +12 -12
  45. package/dist/file/service.d.ts.map +1 -1
  46. package/dist/fulfillment/mutations/fulfillment.d.ts +3 -1
  47. package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
  48. package/dist/fulfillment/mutations/service-zone.d.ts +3 -3
  49. package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
  50. package/dist/fulfillment/mutations/shipping-option.d.ts +0 -22
  51. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  52. package/dist/fulfillment/mutations/shipping-profile.d.ts +20 -2
  53. package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
  54. package/dist/fulfillment/service.d.ts +71 -32
  55. package/dist/fulfillment/service.d.ts.map +1 -1
  56. package/dist/http/currency/admin/entities.d.ts +14 -0
  57. package/dist/http/currency/admin/entities.d.ts.map +1 -0
  58. package/dist/http/{fulfillment/admin/geo-zone.js → currency/admin/entities.js} +1 -1
  59. package/dist/http/currency/admin/entities.js.map +1 -0
  60. package/dist/http/currency/admin/index.d.ts +2 -0
  61. package/dist/http/currency/admin/index.d.ts.map +1 -0
  62. package/dist/http/{tax → currency}/admin/index.js +1 -2
  63. package/dist/http/currency/admin/index.js.map +1 -0
  64. package/dist/http/currency/index.d.ts.map +1 -0
  65. package/dist/http/currency/index.js.map +1 -0
  66. package/dist/http/file/admin.d.ts +5 -0
  67. package/dist/http/file/admin.d.ts.map +1 -0
  68. package/dist/http/{product → file}/admin.js.map +1 -1
  69. package/dist/http/file/common.d.ts +11 -0
  70. package/dist/http/file/common.d.ts.map +1 -0
  71. package/dist/{inventory → http/file}/common.js.map +1 -1
  72. package/dist/http/file/index.d.ts +3 -0
  73. package/dist/http/file/index.d.ts.map +1 -0
  74. package/dist/{inventory/bundle.js → http/file/index.js} +3 -3
  75. package/dist/http/file/index.js.map +1 -0
  76. package/dist/http/file/store.d.ts +4 -0
  77. package/dist/http/file/store.d.ts.map +1 -0
  78. package/dist/http/{product → file}/store.js.map +1 -1
  79. package/dist/http/fulfillment/admin/entitites.d.ts +62 -0
  80. package/dist/http/fulfillment/admin/entitites.d.ts.map +1 -0
  81. package/dist/http/fulfillment/admin/entitites.js +3 -0
  82. package/dist/http/fulfillment/admin/entitites.js.map +1 -0
  83. package/dist/http/fulfillment/admin/index.d.ts +3 -12
  84. package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
  85. package/dist/http/fulfillment/admin/index.js +3 -12
  86. package/dist/http/fulfillment/admin/index.js.map +1 -1
  87. package/dist/http/fulfillment/admin/payloads.d.ts +41 -0
  88. package/dist/http/fulfillment/admin/payloads.d.ts.map +1 -0
  89. package/dist/http/fulfillment/admin/payloads.js +3 -0
  90. package/dist/http/fulfillment/admin/payloads.js.map +1 -0
  91. package/dist/http/fulfillment/admin/responses.d.ts +5 -0
  92. package/dist/http/fulfillment/admin/responses.d.ts.map +1 -0
  93. package/dist/http/fulfillment/admin/responses.js +3 -0
  94. package/dist/http/fulfillment/admin/responses.js.map +1 -0
  95. package/dist/http/fulfillment-provider/admin/entities.d.ts +5 -0
  96. package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -0
  97. package/dist/http/fulfillment-provider/admin/entities.js +3 -0
  98. package/dist/http/fulfillment-provider/admin/entities.js.map +1 -0
  99. package/dist/http/fulfillment-provider/admin/index.d.ts +4 -0
  100. package/dist/http/fulfillment-provider/admin/index.d.ts.map +1 -0
  101. package/dist/http/fulfillment-provider/admin/index.js +20 -0
  102. package/dist/http/fulfillment-provider/admin/index.js.map +1 -0
  103. package/dist/http/fulfillment-provider/admin/queries.d.ts +7 -0
  104. package/dist/http/fulfillment-provider/admin/queries.d.ts.map +1 -0
  105. package/dist/http/{pricing/price.js → fulfillment-provider/admin/queries.js} +1 -1
  106. package/dist/http/fulfillment-provider/admin/queries.js.map +1 -0
  107. package/dist/http/fulfillment-provider/admin/responses.d.ts +7 -0
  108. package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -0
  109. package/dist/http/{inventory/inventory.js → fulfillment-provider/admin/responses.js} +1 -1
  110. package/dist/http/fulfillment-provider/admin/responses.js.map +1 -0
  111. package/dist/http/fulfillment-provider/index.d.ts +2 -0
  112. package/dist/http/fulfillment-provider/index.d.ts.map +1 -0
  113. package/dist/{region__legacy → http/fulfillment-provider}/index.js +1 -1
  114. package/dist/http/fulfillment-provider/index.js.map +1 -0
  115. package/dist/http/fulfillment-set/admin/entities.d.ts +33 -0
  116. package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -0
  117. package/dist/http/fulfillment-set/admin/entities.js +3 -0
  118. package/dist/http/fulfillment-set/admin/entities.js.map +1 -0
  119. package/dist/http/fulfillment-set/admin/index.d.ts +4 -0
  120. package/dist/http/fulfillment-set/admin/index.d.ts.map +1 -0
  121. package/dist/http/fulfillment-set/admin/index.js +20 -0
  122. package/dist/http/fulfillment-set/admin/index.js.map +1 -0
  123. package/dist/http/fulfillment-set/admin/payloads.d.ts +56 -0
  124. package/dist/http/fulfillment-set/admin/payloads.d.ts.map +1 -0
  125. package/dist/http/fulfillment-set/admin/payloads.js +3 -0
  126. package/dist/http/fulfillment-set/admin/payloads.js.map +1 -0
  127. package/dist/http/fulfillment-set/admin/queries.d.ts +12 -0
  128. package/dist/http/fulfillment-set/admin/queries.d.ts.map +1 -0
  129. package/dist/http/{product/admin.js → fulfillment-set/admin/queries.js} +1 -1
  130. package/dist/http/fulfillment-set/admin/queries.js.map +1 -0
  131. package/dist/http/fulfillment-set/admin/responses.d.ts +13 -0
  132. package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -0
  133. package/dist/http/fulfillment-set/admin/responses.js +3 -0
  134. package/dist/http/fulfillment-set/admin/responses.js.map +1 -0
  135. package/dist/http/fulfillment-set/index.d.ts +2 -0
  136. package/dist/http/fulfillment-set/index.d.ts.map +1 -0
  137. package/dist/http/fulfillment-set/index.js +18 -0
  138. package/dist/http/fulfillment-set/index.js.map +1 -0
  139. package/dist/http/index.d.ts +12 -1
  140. package/dist/http/index.d.ts.map +1 -1
  141. package/dist/http/index.js +12 -1
  142. package/dist/http/index.js.map +1 -1
  143. package/dist/http/inventory/{inventory.d.ts → admin/entities.d.ts} +2 -10
  144. package/dist/http/inventory/admin/entities.d.ts.map +1 -0
  145. package/dist/http/inventory/admin/entities.js +3 -0
  146. package/dist/http/inventory/admin/entities.js.map +1 -0
  147. package/dist/http/inventory/admin/index.d.ts +5 -0
  148. package/dist/http/inventory/admin/index.d.ts.map +1 -0
  149. package/dist/http/inventory/admin/index.js +21 -0
  150. package/dist/http/inventory/admin/index.js.map +1 -0
  151. package/dist/http/inventory/admin/payloads.d.ts +19 -0
  152. package/dist/http/inventory/admin/payloads.d.ts.map +1 -0
  153. package/dist/http/inventory/admin/payloads.js +3 -0
  154. package/dist/http/inventory/admin/payloads.js.map +1 -0
  155. package/dist/http/inventory/admin/queries.d.ts +18 -0
  156. package/dist/http/inventory/admin/queries.d.ts.map +1 -0
  157. package/dist/http/inventory/admin/queries.js +3 -0
  158. package/dist/http/inventory/admin/queries.js.map +1 -0
  159. package/dist/http/inventory/admin/responses.d.ts +10 -0
  160. package/dist/http/inventory/admin/responses.d.ts.map +1 -0
  161. package/dist/http/inventory/admin/responses.js +3 -0
  162. package/dist/http/inventory/admin/responses.js.map +1 -0
  163. package/dist/http/inventory/index.d.ts +1 -2
  164. package/dist/http/inventory/index.d.ts.map +1 -1
  165. package/dist/http/inventory/index.js +1 -2
  166. package/dist/http/inventory/index.js.map +1 -1
  167. package/dist/http/inventory-level/admin/entities.d.ts +11 -0
  168. package/dist/http/inventory-level/admin/entities.d.ts.map +1 -0
  169. package/dist/http/inventory-level/admin/entities.js +3 -0
  170. package/dist/http/inventory-level/admin/entities.js.map +1 -0
  171. package/dist/http/inventory-level/admin/index.d.ts +5 -0
  172. package/dist/http/inventory-level/admin/index.d.ts.map +1 -0
  173. package/dist/http/inventory-level/admin/index.js +21 -0
  174. package/dist/http/inventory-level/admin/index.js.map +1 -0
  175. package/dist/http/inventory-level/admin/payloads.d.ts +15 -0
  176. package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -0
  177. package/dist/http/inventory-level/admin/payloads.js +3 -0
  178. package/dist/http/inventory-level/admin/payloads.js.map +1 -0
  179. package/dist/http/inventory-level/admin/queries.d.ts +5 -0
  180. package/dist/http/inventory-level/admin/queries.d.ts.map +1 -0
  181. package/dist/http/inventory-level/admin/queries.js +3 -0
  182. package/dist/http/inventory-level/admin/queries.js.map +1 -0
  183. package/dist/http/inventory-level/admin/responses.d.ts +9 -0
  184. package/dist/http/inventory-level/admin/responses.d.ts.map +1 -0
  185. package/dist/http/inventory-level/admin/responses.js +3 -0
  186. package/dist/http/inventory-level/admin/responses.js.map +1 -0
  187. package/dist/http/inventory-level/index.d.ts +2 -0
  188. package/dist/http/inventory-level/index.d.ts.map +1 -0
  189. package/dist/http/inventory-level/index.js +18 -0
  190. package/dist/http/inventory-level/index.js.map +1 -0
  191. package/dist/http/order/admin.d.ts +15 -1
  192. package/dist/http/order/admin.d.ts.map +1 -1
  193. package/dist/http/order/common.d.ts +2 -0
  194. package/dist/http/order/common.d.ts.map +1 -1
  195. package/dist/http/price-list/admin/entities.d.ts +21 -0
  196. package/dist/http/price-list/admin/entities.d.ts.map +1 -0
  197. package/dist/http/price-list/admin/entities.js +3 -0
  198. package/dist/http/price-list/admin/entities.js.map +1 -0
  199. package/dist/http/price-list/admin/index.d.ts +5 -0
  200. package/dist/http/price-list/admin/index.d.ts.map +1 -0
  201. package/dist/http/price-list/admin/index.js +21 -0
  202. package/dist/http/price-list/admin/index.js.map +1 -0
  203. package/dist/http/price-list/admin/payloads.d.ts +46 -0
  204. package/dist/http/price-list/admin/payloads.d.ts.map +1 -0
  205. package/dist/http/price-list/admin/payloads.js +3 -0
  206. package/dist/http/price-list/admin/payloads.js.map +1 -0
  207. package/dist/http/price-list/admin/queries.d.ts +14 -0
  208. package/dist/http/price-list/admin/queries.d.ts.map +1 -0
  209. package/dist/http/price-list/admin/queries.js +3 -0
  210. package/dist/http/price-list/admin/queries.js.map +1 -0
  211. package/dist/http/price-list/admin/responses.d.ts +12 -0
  212. package/dist/http/price-list/admin/responses.d.ts.map +1 -0
  213. package/dist/http/price-list/admin/responses.js +3 -0
  214. package/dist/http/price-list/admin/responses.js.map +1 -0
  215. package/dist/http/price-list/index.d.ts +2 -0
  216. package/dist/http/price-list/index.d.ts.map +1 -0
  217. package/dist/http/price-list/index.js +18 -0
  218. package/dist/http/price-list/index.js.map +1 -0
  219. package/dist/http/pricing/admin/entities.d.ts +32 -0
  220. package/dist/http/pricing/admin/entities.d.ts.map +1 -0
  221. package/dist/http/pricing/admin/entities.js +3 -0
  222. package/dist/http/pricing/admin/entities.js.map +1 -0
  223. package/dist/http/pricing/admin/index.d.ts +2 -0
  224. package/dist/http/pricing/admin/index.d.ts.map +1 -0
  225. package/dist/http/pricing/admin/index.js +18 -0
  226. package/dist/http/pricing/admin/index.js.map +1 -0
  227. package/dist/http/pricing/index.d.ts +1 -1
  228. package/dist/http/pricing/index.js +1 -1
  229. package/dist/http/product/admin/entitites.d.ts +26 -0
  230. package/dist/http/product/admin/entitites.d.ts.map +1 -0
  231. package/dist/http/product/admin/entitites.js +3 -0
  232. package/dist/http/product/admin/entitites.js.map +1 -0
  233. package/dist/http/product/admin/index.d.ts +5 -0
  234. package/dist/http/product/admin/index.d.ts.map +1 -0
  235. package/dist/http/product/admin/index.js +21 -0
  236. package/dist/http/product/admin/index.js.map +1 -0
  237. package/dist/http/product/admin/payloads.d.ts +152 -0
  238. package/dist/http/product/admin/payloads.d.ts.map +1 -0
  239. package/dist/http/product/admin/payloads.js +3 -0
  240. package/dist/http/product/admin/payloads.js.map +1 -0
  241. package/dist/http/product/admin/queries.d.ts +12 -0
  242. package/dist/http/product/admin/queries.d.ts.map +1 -0
  243. package/dist/http/product/admin/queries.js +3 -0
  244. package/dist/http/product/admin/queries.js.map +1 -0
  245. package/dist/http/product/admin/responses.d.ts +35 -0
  246. package/dist/http/product/admin/responses.d.ts.map +1 -0
  247. package/dist/http/product/admin/responses.js +3 -0
  248. package/dist/http/product/admin/responses.js.map +1 -0
  249. package/dist/http/product/common.d.ts +72 -106
  250. package/dist/http/product/common.d.ts.map +1 -1
  251. package/dist/http/product/store/entitites.d.ts +19 -0
  252. package/dist/http/product/store/entitites.d.ts.map +1 -0
  253. package/dist/http/product/store/entitites.js +3 -0
  254. package/dist/http/product/store/entitites.js.map +1 -0
  255. package/dist/http/product/store/index.d.ts +4 -0
  256. package/dist/http/product/store/index.d.ts.map +1 -0
  257. package/dist/http/product/store/index.js +20 -0
  258. package/dist/http/product/store/index.js.map +1 -0
  259. package/dist/http/product/store/queries.d.ts +13 -0
  260. package/dist/http/product/store/queries.d.ts.map +1 -0
  261. package/dist/http/product/store/queries.js +3 -0
  262. package/dist/http/product/store/queries.js.map +1 -0
  263. package/dist/http/product/store/responses.d.ts +9 -0
  264. package/dist/http/product/store/responses.d.ts.map +1 -0
  265. package/dist/http/product/store/responses.js +3 -0
  266. package/dist/http/product/store/responses.js.map +1 -0
  267. package/dist/http/product-category/admin/entities.d.ts +8 -0
  268. package/dist/http/product-category/admin/entities.d.ts.map +1 -0
  269. package/dist/http/product-category/admin/entities.js +3 -0
  270. package/dist/http/product-category/admin/entities.js.map +1 -0
  271. package/dist/http/product-category/admin/index.d.ts +5 -0
  272. package/dist/http/product-category/admin/index.d.ts.map +1 -0
  273. package/dist/http/product-category/admin/index.js +21 -0
  274. package/dist/http/product-category/admin/index.js.map +1 -0
  275. package/dist/http/product-category/admin/payloads.d.ts +25 -0
  276. package/dist/http/product-category/admin/payloads.d.ts.map +1 -0
  277. package/dist/http/product-category/admin/payloads.js +3 -0
  278. package/dist/http/product-category/admin/payloads.js.map +1 -0
  279. package/dist/http/product-category/admin/queries.d.ts +8 -0
  280. package/dist/http/product-category/admin/queries.d.ts.map +1 -0
  281. package/dist/http/product-category/admin/queries.js +3 -0
  282. package/dist/http/product-category/admin/queries.js.map +1 -0
  283. package/dist/http/product-category/admin/responses.d.ts +12 -0
  284. package/dist/http/product-category/admin/responses.d.ts.map +1 -0
  285. package/dist/http/product-category/admin/responses.js +3 -0
  286. package/dist/http/product-category/admin/responses.js.map +1 -0
  287. package/dist/http/product-category/common.d.ts +31 -7
  288. package/dist/http/product-category/common.d.ts.map +1 -1
  289. package/dist/http/product-category/store/entities.d.ts +6 -0
  290. package/dist/http/product-category/store/entities.d.ts.map +1 -0
  291. package/dist/http/product-category/store/entities.js +3 -0
  292. package/dist/http/product-category/store/entities.js.map +1 -0
  293. package/dist/http/product-category/store/index.d.ts +4 -0
  294. package/dist/http/product-category/store/index.d.ts.map +1 -0
  295. package/dist/http/product-category/store/index.js +20 -0
  296. package/dist/http/product-category/store/index.js.map +1 -0
  297. package/dist/http/product-category/store/queries.d.ts +6 -0
  298. package/dist/http/product-category/store/queries.d.ts.map +1 -0
  299. package/dist/http/product-category/store/queries.js +3 -0
  300. package/dist/http/product-category/store/queries.js.map +1 -0
  301. package/dist/http/product-category/store/responses.d.ts +10 -0
  302. package/dist/http/product-category/store/responses.d.ts.map +1 -0
  303. package/dist/http/product-category/store/responses.js +3 -0
  304. package/dist/http/product-category/store/responses.js.map +1 -0
  305. package/dist/http/product-type/admin/entities.d.ts +4 -0
  306. package/dist/http/product-type/admin/entities.d.ts.map +1 -0
  307. package/dist/http/product-type/admin/entities.js +3 -0
  308. package/dist/http/product-type/admin/entities.js.map +1 -0
  309. package/dist/http/product-type/admin/index.d.ts +5 -0
  310. package/dist/http/product-type/admin/index.d.ts.map +1 -0
  311. package/dist/http/product-type/admin/index.js +21 -0
  312. package/dist/http/product-type/admin/index.js.map +1 -0
  313. package/dist/http/product-type/admin/payloads.d.ts +9 -0
  314. package/dist/http/product-type/admin/payloads.d.ts.map +1 -0
  315. package/dist/http/product-type/admin/payloads.js +3 -0
  316. package/dist/http/product-type/admin/payloads.js.map +1 -0
  317. package/dist/http/product-type/admin/queries.d.ts +13 -0
  318. package/dist/http/product-type/admin/queries.d.ts.map +1 -0
  319. package/dist/http/product-type/admin/queries.js +3 -0
  320. package/dist/http/product-type/admin/queries.js.map +1 -0
  321. package/dist/http/product-type/admin/responses.d.ts +12 -0
  322. package/dist/http/product-type/admin/responses.d.ts.map +1 -0
  323. package/dist/http/product-type/admin/responses.js +3 -0
  324. package/dist/http/product-type/admin/responses.js.map +1 -0
  325. package/dist/http/product-type/common.d.ts +9 -0
  326. package/dist/http/product-type/common.d.ts.map +1 -0
  327. package/dist/{region__legacy → http/product-type}/common.js.map +1 -1
  328. package/dist/http/product-type/index.d.ts +3 -0
  329. package/dist/http/product-type/index.d.ts.map +1 -0
  330. package/dist/http/product-type/index.js +19 -0
  331. package/dist/http/product-type/index.js.map +1 -0
  332. package/dist/http/product-type/store/entities.d.ts +4 -0
  333. package/dist/http/product-type/store/entities.d.ts.map +1 -0
  334. package/dist/http/product-type/store/entities.js +3 -0
  335. package/dist/http/product-type/store/entities.js.map +1 -0
  336. package/dist/http/product-type/store/index.d.ts +2 -0
  337. package/dist/http/product-type/store/index.d.ts.map +1 -0
  338. package/dist/http/product-type/store/index.js +18 -0
  339. package/dist/http/product-type/store/index.js.map +1 -0
  340. package/dist/http/promotion/admin/promotion-rule.d.ts +1 -1
  341. package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
  342. package/dist/http/promotion/admin/rule-attribute-options.d.ts +5 -0
  343. package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
  344. package/dist/http/sales-channel/admin/entities.d.ts +11 -0
  345. package/dist/http/sales-channel/admin/entities.d.ts.map +1 -0
  346. package/dist/http/sales-channel/admin/entities.js +3 -0
  347. package/dist/http/sales-channel/admin/entities.js.map +1 -0
  348. package/dist/http/sales-channel/admin/index.d.ts +4 -1
  349. package/dist/http/sales-channel/admin/index.d.ts.map +1 -1
  350. package/dist/http/sales-channel/admin/index.js +4 -1
  351. package/dist/http/sales-channel/admin/index.js.map +1 -1
  352. package/dist/http/sales-channel/admin/payloads.d.ts +17 -0
  353. package/dist/http/sales-channel/admin/payloads.d.ts.map +1 -0
  354. package/dist/http/sales-channel/admin/payloads.js +3 -0
  355. package/dist/http/sales-channel/admin/payloads.js.map +1 -0
  356. package/dist/http/sales-channel/admin/queries.d.ts +15 -0
  357. package/dist/http/sales-channel/admin/queries.d.ts.map +1 -0
  358. package/dist/http/sales-channel/admin/queries.js +3 -0
  359. package/dist/http/sales-channel/admin/queries.js.map +1 -0
  360. package/dist/http/sales-channel/admin/responses.d.ts +11 -0
  361. package/dist/http/sales-channel/admin/responses.d.ts.map +1 -0
  362. package/dist/http/sales-channel/admin/responses.js +3 -0
  363. package/dist/http/sales-channel/admin/responses.js.map +1 -0
  364. package/dist/http/shipping-option/admin/entities.d.ts +54 -0
  365. package/dist/http/shipping-option/admin/entities.d.ts.map +1 -0
  366. package/dist/http/shipping-option/admin/entities.js +3 -0
  367. package/dist/http/shipping-option/admin/entities.js.map +1 -0
  368. package/dist/http/shipping-option/admin/index.d.ts +5 -0
  369. package/dist/http/shipping-option/admin/index.d.ts.map +1 -0
  370. package/dist/http/shipping-option/admin/index.js +21 -0
  371. package/dist/http/shipping-option/admin/index.js.map +1 -0
  372. package/dist/http/shipping-option/admin/payloads.d.ts +60 -0
  373. package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -0
  374. package/dist/http/shipping-option/admin/payloads.js +3 -0
  375. package/dist/http/shipping-option/admin/payloads.js.map +1 -0
  376. package/dist/http/shipping-option/admin/queries.d.ts +14 -0
  377. package/dist/http/shipping-option/admin/queries.d.ts.map +1 -0
  378. package/dist/http/shipping-option/admin/queries.js +3 -0
  379. package/dist/http/shipping-option/admin/queries.js.map +1 -0
  380. package/dist/http/shipping-option/admin/responses.d.ts +20 -0
  381. package/dist/http/shipping-option/admin/responses.d.ts.map +1 -0
  382. package/dist/http/shipping-option/admin/responses.js +3 -0
  383. package/dist/http/shipping-option/admin/responses.js.map +1 -0
  384. package/dist/http/shipping-option/index.d.ts +2 -0
  385. package/dist/http/shipping-option/index.d.ts.map +1 -0
  386. package/dist/http/shipping-option/index.js +18 -0
  387. package/dist/http/shipping-option/index.js.map +1 -0
  388. package/dist/http/shipping-profile/admin/entities.d.ts +10 -0
  389. package/dist/http/shipping-profile/admin/entities.d.ts.map +1 -0
  390. package/dist/http/shipping-profile/admin/entities.js +3 -0
  391. package/dist/http/shipping-profile/admin/entities.js.map +1 -0
  392. package/dist/http/shipping-profile/admin/index.d.ts +5 -0
  393. package/dist/http/shipping-profile/admin/index.d.ts.map +1 -0
  394. package/dist/http/shipping-profile/admin/index.js +21 -0
  395. package/dist/http/shipping-profile/admin/index.js.map +1 -0
  396. package/dist/http/shipping-profile/admin/payloads.d.ts +11 -0
  397. package/dist/http/shipping-profile/admin/payloads.d.ts.map +1 -0
  398. package/dist/http/shipping-profile/admin/payloads.js +3 -0
  399. package/dist/http/shipping-profile/admin/payloads.js.map +1 -0
  400. package/dist/http/shipping-profile/admin/queries.d.ts +14 -0
  401. package/dist/http/shipping-profile/admin/queries.d.ts.map +1 -0
  402. package/dist/http/shipping-profile/admin/queries.js +3 -0
  403. package/dist/http/shipping-profile/admin/queries.js.map +1 -0
  404. package/dist/http/shipping-profile/admin/responses.d.ts +11 -0
  405. package/dist/http/shipping-profile/admin/responses.d.ts.map +1 -0
  406. package/dist/http/shipping-profile/admin/responses.js +3 -0
  407. package/dist/http/shipping-profile/admin/responses.js.map +1 -0
  408. package/dist/http/shipping-profile/index.d.ts +2 -0
  409. package/dist/http/shipping-profile/index.d.ts.map +1 -0
  410. package/dist/http/shipping-profile/index.js +18 -0
  411. package/dist/http/shipping-profile/index.js.map +1 -0
  412. package/dist/http/stock-locations/admin/entities.d.ts +22 -0
  413. package/dist/http/stock-locations/admin/entities.d.ts.map +1 -0
  414. package/dist/http/stock-locations/admin/entities.js +3 -0
  415. package/dist/http/stock-locations/admin/entities.js.map +1 -0
  416. package/dist/http/stock-locations/admin/index.d.ts +5 -0
  417. package/dist/http/stock-locations/admin/index.d.ts.map +1 -0
  418. package/dist/http/stock-locations/admin/index.js +21 -0
  419. package/dist/http/stock-locations/admin/index.js.map +1 -0
  420. package/dist/http/stock-locations/admin/payloads.d.ts +32 -0
  421. package/dist/http/stock-locations/admin/payloads.d.ts.map +1 -0
  422. package/dist/http/stock-locations/admin/payloads.js +3 -0
  423. package/dist/http/stock-locations/admin/payloads.js.map +1 -0
  424. package/dist/http/stock-locations/admin/queries.d.ts +11 -0
  425. package/dist/http/stock-locations/admin/queries.d.ts.map +1 -0
  426. package/dist/http/stock-locations/admin/queries.js +3 -0
  427. package/dist/http/stock-locations/admin/queries.js.map +1 -0
  428. package/dist/http/stock-locations/admin/responses.d.ts +12 -0
  429. package/dist/http/stock-locations/admin/responses.d.ts.map +1 -0
  430. package/dist/http/stock-locations/admin/responses.js +3 -0
  431. package/dist/http/stock-locations/admin/responses.js.map +1 -0
  432. package/dist/http/stock-locations/index.d.ts +1 -1
  433. package/dist/http/stock-locations/index.d.ts.map +1 -1
  434. package/dist/http/stock-locations/index.js +1 -1
  435. package/dist/http/stock-locations/index.js.map +1 -1
  436. package/dist/http/store/admin/entities.d.ts +23 -0
  437. package/dist/http/store/admin/entities.d.ts.map +1 -0
  438. package/dist/http/store/admin/entities.js +3 -0
  439. package/dist/http/store/admin/entities.js.map +1 -0
  440. package/dist/http/store/admin/index.d.ts +5 -0
  441. package/dist/http/store/admin/index.d.ts.map +1 -0
  442. package/dist/http/store/admin/index.js +21 -0
  443. package/dist/http/store/admin/index.js.map +1 -0
  444. package/dist/http/store/admin/payloads.d.ts +14 -0
  445. package/dist/http/store/admin/payloads.d.ts.map +1 -0
  446. package/dist/http/store/admin/payloads.js +3 -0
  447. package/dist/http/store/admin/payloads.js.map +1 -0
  448. package/dist/http/store/admin/queries.d.ts +10 -0
  449. package/dist/http/store/admin/queries.d.ts.map +1 -0
  450. package/dist/http/store/admin/queries.js +3 -0
  451. package/dist/http/store/admin/queries.js.map +1 -0
  452. package/dist/http/store/admin/responses.d.ts +10 -0
  453. package/dist/http/store/admin/responses.d.ts.map +1 -0
  454. package/dist/http/store/admin/responses.js +3 -0
  455. package/dist/http/store/admin/responses.js.map +1 -0
  456. package/dist/http/store/index.d.ts +2 -0
  457. package/dist/http/store/index.d.ts.map +1 -0
  458. package/dist/http/store/index.js +18 -0
  459. package/dist/http/store/index.js.map +1 -0
  460. package/dist/http/tax-rate/admin/entities.d.ts +22 -0
  461. package/dist/http/tax-rate/admin/entities.d.ts.map +1 -0
  462. package/dist/http/tax-rate/admin/entities.js +3 -0
  463. package/dist/http/tax-rate/admin/entities.js.map +1 -0
  464. package/dist/http/tax-rate/admin/index.d.ts +5 -0
  465. package/dist/http/tax-rate/admin/index.d.ts.map +1 -0
  466. package/dist/http/tax-rate/admin/index.js +21 -0
  467. package/dist/http/tax-rate/admin/index.js.map +1 -0
  468. package/dist/http/tax-rate/admin/payloads.d.ts +25 -0
  469. package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -0
  470. package/dist/http/tax-rate/admin/payloads.js +3 -0
  471. package/dist/http/tax-rate/admin/payloads.js.map +1 -0
  472. package/dist/http/tax-rate/admin/queries.d.ts +16 -0
  473. package/dist/http/tax-rate/admin/queries.d.ts.map +1 -0
  474. package/dist/http/tax-rate/admin/queries.js +3 -0
  475. package/dist/http/tax-rate/admin/queries.js.map +1 -0
  476. package/dist/http/tax-rate/admin/responses.d.ts +11 -0
  477. package/dist/http/tax-rate/admin/responses.d.ts.map +1 -0
  478. package/dist/http/tax-rate/admin/responses.js +3 -0
  479. package/dist/http/tax-rate/admin/responses.js.map +1 -0
  480. package/dist/http/tax-rate/index.d.ts +2 -0
  481. package/dist/http/tax-rate/index.d.ts.map +1 -0
  482. package/dist/http/tax-rate/index.js +18 -0
  483. package/dist/http/tax-rate/index.js.map +1 -0
  484. package/dist/http/tax-region/admin/entities.d.ts +21 -0
  485. package/dist/http/tax-region/admin/entities.d.ts.map +1 -0
  486. package/dist/http/tax-region/admin/entities.js +3 -0
  487. package/dist/http/tax-region/admin/entities.js.map +1 -0
  488. package/dist/http/tax-region/admin/index.d.ts +5 -0
  489. package/dist/http/tax-region/admin/index.d.ts.map +1 -0
  490. package/dist/http/tax-region/admin/index.js +21 -0
  491. package/dist/http/tax-region/admin/index.js.map +1 -0
  492. package/dist/http/tax-region/admin/payloads.d.ts +14 -0
  493. package/dist/http/tax-region/admin/payloads.d.ts.map +1 -0
  494. package/dist/http/tax-region/admin/payloads.js +3 -0
  495. package/dist/http/tax-region/admin/payloads.js.map +1 -0
  496. package/dist/http/tax-region/admin/queries.d.ts +14 -0
  497. package/dist/http/tax-region/admin/queries.d.ts.map +1 -0
  498. package/dist/http/tax-region/admin/queries.js +3 -0
  499. package/dist/http/tax-region/admin/queries.js.map +1 -0
  500. package/dist/http/tax-region/admin/responses.d.ts +11 -0
  501. package/dist/http/tax-region/admin/responses.d.ts.map +1 -0
  502. package/dist/http/tax-region/admin/responses.js +3 -0
  503. package/dist/http/tax-region/admin/responses.js.map +1 -0
  504. package/dist/http/tax-region/index.d.ts +2 -0
  505. package/dist/http/tax-region/index.d.ts.map +1 -0
  506. package/dist/http/tax-region/index.js +18 -0
  507. package/dist/http/tax-region/index.js.map +1 -0
  508. package/dist/index.d.ts +1 -1
  509. package/dist/index.d.ts.map +1 -1
  510. package/dist/index.js +1 -1
  511. package/dist/index.js.map +1 -1
  512. package/dist/inventory/common/reservation-item.d.ts +5 -1
  513. package/dist/inventory/common/reservation-item.d.ts.map +1 -1
  514. package/dist/inventory/index.d.ts +1 -2
  515. package/dist/inventory/index.d.ts.map +1 -1
  516. package/dist/inventory/index.js +1 -15
  517. package/dist/inventory/index.js.map +1 -1
  518. package/dist/inventory/mutations/inventory-level.d.ts +0 -4
  519. package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
  520. package/dist/inventory/mutations/reservation-item.d.ts +11 -7
  521. package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
  522. package/dist/inventory/service.d.ts +671 -640
  523. package/dist/inventory/service.d.ts.map +1 -1
  524. package/dist/joiner/index.d.ts +5 -2
  525. package/dist/joiner/index.d.ts.map +1 -1
  526. package/dist/modules-sdk/index.d.ts +17 -11
  527. package/dist/modules-sdk/index.d.ts.map +1 -1
  528. package/dist/modules-sdk/index.js +1 -1
  529. package/dist/modules-sdk/index.js.map +1 -1
  530. package/dist/modules-sdk/{internal-module-service.d.ts → medusa-internal-service.d.ts} +22 -18
  531. package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -0
  532. package/dist/{http/fulfillment/admin/fulfillment-label.js → modules-sdk/medusa-internal-service.js} +1 -1
  533. package/dist/modules-sdk/medusa-internal-service.js.map +1 -0
  534. package/dist/notification/provider.d.ts +0 -6
  535. package/dist/notification/provider.d.ts.map +1 -1
  536. package/dist/notification/service.d.ts +15 -15
  537. package/dist/notification/service.d.ts.map +1 -1
  538. package/dist/order/common.d.ts +57 -4
  539. package/dist/order/common.d.ts.map +1 -1
  540. package/dist/order/mutations.d.ts +74 -53
  541. package/dist/order/mutations.d.ts.map +1 -1
  542. package/dist/order/service.d.ts +44 -30
  543. package/dist/order/service.d.ts.map +1 -1
  544. package/dist/payment/common.d.ts +2 -2
  545. package/dist/payment/common.d.ts.map +1 -1
  546. package/dist/pricing/common/index.d.ts +0 -2
  547. package/dist/pricing/common/index.d.ts.map +1 -1
  548. package/dist/pricing/common/index.js +0 -2
  549. package/dist/pricing/common/index.js.map +1 -1
  550. package/dist/pricing/common/money-amount.d.ts +2 -2
  551. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  552. package/dist/pricing/common/price-list.d.ts +25 -125
  553. package/dist/pricing/common/price-list.d.ts.map +1 -1
  554. package/dist/pricing/common/price-rule.d.ts +8 -16
  555. package/dist/pricing/common/price-rule.d.ts.map +1 -1
  556. package/dist/pricing/common/price-set.d.ts +6 -55
  557. package/dist/pricing/common/price-set.d.ts.map +1 -1
  558. package/dist/pricing/service.d.ts +31 -324
  559. package/dist/pricing/service.d.ts.map +1 -1
  560. package/dist/pricing/workflows.d.ts +5 -5
  561. package/dist/pricing/workflows.d.ts.map +1 -1
  562. package/dist/product/common.d.ts +99 -79
  563. package/dist/product/common.d.ts.map +1 -1
  564. package/dist/product/service.d.ts +429 -207
  565. package/dist/product/service.d.ts.map +1 -1
  566. package/dist/promotion/common/application-method.d.ts +1 -1
  567. package/dist/promotion/common/application-method.d.ts.map +1 -1
  568. package/dist/promotion/common/promotion.d.ts +4 -0
  569. package/dist/promotion/common/promotion.d.ts.map +1 -1
  570. package/dist/promotion/mutations.d.ts +6 -6
  571. package/dist/promotion/mutations.d.ts.map +1 -1
  572. package/dist/promotion/service.d.ts +29 -29
  573. package/dist/promotion/service.d.ts.map +1 -1
  574. package/dist/region/common.d.ts.map +1 -1
  575. package/dist/region/mutations.d.ts +4 -3
  576. package/dist/region/mutations.d.ts.map +1 -1
  577. package/dist/region/service.d.ts +31 -31
  578. package/dist/region/service.d.ts.map +1 -1
  579. package/dist/sales-channel/mutations.d.ts +5 -4
  580. package/dist/sales-channel/mutations.d.ts.map +1 -1
  581. package/dist/sales-channel/service.d.ts +28 -28
  582. package/dist/sales-channel/service.d.ts.map +1 -1
  583. package/dist/shared-context.d.ts +3 -4
  584. package/dist/shared-context.d.ts.map +1 -1
  585. package/dist/stock-location/common.d.ts +12 -17
  586. package/dist/stock-location/common.d.ts.map +1 -1
  587. package/dist/stock-location/index.d.ts +0 -1
  588. package/dist/stock-location/index.d.ts.map +1 -1
  589. package/dist/stock-location/index.js +0 -1
  590. package/dist/stock-location/index.js.map +1 -1
  591. package/dist/stock-location/service.d.ts +193 -180
  592. package/dist/stock-location/service.d.ts.map +1 -1
  593. package/dist/store/common/store.d.ts +31 -5
  594. package/dist/store/common/store.d.ts.map +1 -1
  595. package/dist/store/mutations/store.d.ts +14 -40
  596. package/dist/store/mutations/store.d.ts.map +1 -1
  597. package/dist/store/service.d.ts +32 -37
  598. package/dist/store/service.d.ts.map +1 -1
  599. package/dist/tax/mutations.d.ts +7 -6
  600. package/dist/tax/mutations.d.ts.map +1 -1
  601. package/dist/tax/service.d.ts +35 -35
  602. package/dist/tax/service.d.ts.map +1 -1
  603. package/dist/user/service.d.ts +22 -22
  604. package/dist/user/service.d.ts.map +1 -1
  605. package/dist/workflow/fulfillment/service-zones.d.ts +1 -1
  606. package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -1
  607. package/dist/workflow/order/cancel-fulfillment.d.ts +6 -0
  608. package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -0
  609. package/dist/{http/fulfillment/admin/fulfillment-item.js → workflow/order/cancel-fulfillment.js} +1 -1
  610. package/dist/workflow/order/cancel-fulfillment.js.map +1 -0
  611. package/dist/workflow/order/cancel-order.d.ts +5 -0
  612. package/dist/workflow/order/cancel-order.d.ts.map +1 -0
  613. package/dist/{http/fulfillment/admin/service-zone.js → workflow/order/cancel-order.js} +1 -1
  614. package/dist/workflow/order/cancel-order.js.map +1 -0
  615. package/dist/workflow/order/create-fulfillment.d.ts +2 -2
  616. package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
  617. package/dist/workflow/order/create-return-order.d.ts +8 -7
  618. package/dist/workflow/order/create-return-order.d.ts.map +1 -1
  619. package/dist/workflow/order/create-shipment.d.ts +2 -1
  620. package/dist/workflow/order/create-shipment.d.ts.map +1 -1
  621. package/dist/workflow/order/index.d.ts +3 -0
  622. package/dist/workflow/order/index.d.ts.map +1 -1
  623. package/dist/workflow/order/index.js +3 -0
  624. package/dist/workflow/order/index.js.map +1 -1
  625. package/dist/workflow/order/receive-return.d.ts +17 -0
  626. package/dist/workflow/order/receive-return.d.ts.map +1 -0
  627. package/dist/{http/fulfillment/admin/fulfillment.js → workflow/order/receive-return.js} +1 -1
  628. package/dist/workflow/order/receive-return.js.map +1 -0
  629. package/dist/workflow/price-list/create-price-list.d.ts +1 -2
  630. package/dist/workflow/price-list/create-price-list.d.ts.map +1 -1
  631. package/dist/workflow/product-category/index.d.ts +6 -6
  632. package/dist/workflow/product-category/index.d.ts.map +1 -1
  633. package/dist/workflow/reservation/create-reservations.d.ts +3 -3
  634. package/dist/workflow/reservation/create-reservations.d.ts.map +1 -1
  635. package/dist/workflow/reservation/update-reservations.d.ts +3 -3
  636. package/dist/workflow/reservation/update-reservations.d.ts.map +1 -1
  637. package/dist/workflows/products/mutations.d.ts +2 -2
  638. package/dist/workflows/products/mutations.d.ts.map +1 -1
  639. package/dist/workflows-sdk/service.d.ts +2 -2
  640. package/dist/workflows-sdk/service.d.ts.map +1 -1
  641. package/package.json +1 -2
  642. package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -19
  643. package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +0 -1
  644. package/dist/http/fulfillment/admin/fulfillment-address.js +0 -3
  645. package/dist/http/fulfillment/admin/fulfillment-address.js.map +0 -1
  646. package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -14
  647. package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +0 -1
  648. package/dist/http/fulfillment/admin/fulfillment-item.js.map +0 -1
  649. package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -11
  650. package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +0 -1
  651. package/dist/http/fulfillment/admin/fulfillment-label.js.map +0 -1
  652. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -9
  653. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +0 -1
  654. package/dist/http/fulfillment/admin/fulfillment-provider.js +0 -3
  655. package/dist/http/fulfillment/admin/fulfillment-provider.js.map +0 -1
  656. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -15
  657. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +0 -1
  658. package/dist/http/fulfillment/admin/fulfillment-set.js +0 -3
  659. package/dist/http/fulfillment/admin/fulfillment-set.js.map +0 -1
  660. package/dist/http/fulfillment/admin/fulfillment.d.ts +0 -27
  661. package/dist/http/fulfillment/admin/fulfillment.d.ts.map +0 -1
  662. package/dist/http/fulfillment/admin/fulfillment.js.map +0 -1
  663. package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -14
  664. package/dist/http/fulfillment/admin/geo-zone.d.ts.map +0 -1
  665. package/dist/http/fulfillment/admin/geo-zone.js.map +0 -1
  666. package/dist/http/fulfillment/admin/service-zone.d.ts +0 -21
  667. package/dist/http/fulfillment/admin/service-zone.d.ts.map +0 -1
  668. package/dist/http/fulfillment/admin/service-zone.js.map +0 -1
  669. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -13
  670. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +0 -1
  671. package/dist/http/fulfillment/admin/shipping-option-rule.js +0 -3
  672. package/dist/http/fulfillment/admin/shipping-option-rule.js.map +0 -1
  673. package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -11
  674. package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +0 -1
  675. package/dist/http/fulfillment/admin/shipping-option-type.js +0 -3
  676. package/dist/http/fulfillment/admin/shipping-option-type.js.map +0 -1
  677. package/dist/http/fulfillment/admin/shipping-option.d.ts +0 -38
  678. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +0 -1
  679. package/dist/http/fulfillment/admin/shipping-option.js +0 -3
  680. package/dist/http/fulfillment/admin/shipping-option.js.map +0 -1
  681. package/dist/http/fulfillment/admin/shipping-profile.d.ts +0 -19
  682. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +0 -1
  683. package/dist/http/fulfillment/admin/shipping-profile.js +0 -3
  684. package/dist/http/fulfillment/admin/shipping-profile.js.map +0 -1
  685. package/dist/http/inventory/inventory-level.d.ts +0 -20
  686. package/dist/http/inventory/inventory-level.d.ts.map +0 -1
  687. package/dist/http/inventory/inventory-level.js +0 -3
  688. package/dist/http/inventory/inventory-level.js.map +0 -1
  689. package/dist/http/inventory/inventory.d.ts.map +0 -1
  690. package/dist/http/inventory/inventory.js.map +0 -1
  691. package/dist/http/pricing/price.d.ts +0 -8
  692. package/dist/http/pricing/price.d.ts.map +0 -1
  693. package/dist/http/pricing/price.js.map +0 -1
  694. package/dist/http/product/admin.d.ts +0 -99
  695. package/dist/http/product/admin.d.ts.map +0 -1
  696. package/dist/http/product/store.d.ts +0 -33
  697. package/dist/http/product/store.d.ts.map +0 -1
  698. package/dist/http/product/store.js +0 -3
  699. package/dist/http/product-category/admin.d.ts +0 -9
  700. package/dist/http/product-category/admin.d.ts.map +0 -1
  701. package/dist/http/product-category/admin.js.map +0 -1
  702. package/dist/http/product-category/store.d.ts +0 -9
  703. package/dist/http/product-category/store.d.ts.map +0 -1
  704. package/dist/http/product-category/store.js.map +0 -1
  705. package/dist/http/sales-channel/admin/sales-channel.d.ts +0 -16
  706. package/dist/http/sales-channel/admin/sales-channel.d.ts.map +0 -1
  707. package/dist/http/sales-channel/admin/sales-channel.js +0 -3
  708. package/dist/http/sales-channel/admin/sales-channel.js.map +0 -1
  709. package/dist/http/stock-locations/common.d.ts +0 -28
  710. package/dist/http/stock-locations/common.d.ts.map +0 -1
  711. package/dist/http/stock-locations/common.js.map +0 -1
  712. package/dist/http/tax/admin/index.d.ts +0 -3
  713. package/dist/http/tax/admin/index.d.ts.map +0 -1
  714. package/dist/http/tax/admin/index.js.map +0 -1
  715. package/dist/http/tax/admin/tax-rates.d.ts +0 -28
  716. package/dist/http/tax/admin/tax-rates.d.ts.map +0 -1
  717. package/dist/http/tax/admin/tax-rates.js +0 -3
  718. package/dist/http/tax/admin/tax-rates.js.map +0 -1
  719. package/dist/http/tax/admin/tax-regions.d.ts +0 -28
  720. package/dist/http/tax/admin/tax-regions.d.ts.map +0 -1
  721. package/dist/http/tax/admin/tax-regions.js +0 -3
  722. package/dist/http/tax/admin/tax-regions.js.map +0 -1
  723. package/dist/http/tax/index.d.ts.map +0 -1
  724. package/dist/http/tax/index.js.map +0 -1
  725. package/dist/inventory/bundle.d.ts +0 -3
  726. package/dist/inventory/bundle.d.ts.map +0 -1
  727. package/dist/inventory/bundle.js.map +0 -1
  728. package/dist/inventory/common.d.ts +0 -494
  729. package/dist/inventory/common.d.ts.map +0 -1
  730. package/dist/inventory/service-next.d.ts +0 -914
  731. package/dist/inventory/service-next.d.ts.map +0 -1
  732. package/dist/inventory/service-next.js +0 -3
  733. package/dist/inventory/service-next.js.map +0 -1
  734. package/dist/modules-sdk/internal-module-service.d.ts.map +0 -1
  735. package/dist/modules-sdk/internal-module-service.js +0 -3
  736. package/dist/modules-sdk/internal-module-service.js.map +0 -1
  737. package/dist/modules-sdk/module-service.d.ts +0 -1
  738. package/dist/modules-sdk/module-service.d.ts.map +0 -1
  739. package/dist/modules-sdk/module-service.js +0 -1
  740. package/dist/modules-sdk/module-service.js.map +0 -1
  741. package/dist/pricing/common/price-set-rule-type.d.ts +0 -24
  742. package/dist/pricing/common/price-set-rule-type.d.ts.map +0 -1
  743. package/dist/pricing/common/price-set-rule-type.js +0 -3
  744. package/dist/pricing/common/price-set-rule-type.js.map +0 -1
  745. package/dist/pricing/common/rule-type.d.ts +0 -102
  746. package/dist/pricing/common/rule-type.d.ts.map +0 -1
  747. package/dist/pricing/common/rule-type.js +0 -3
  748. package/dist/pricing/common/rule-type.js.map +0 -1
  749. package/dist/region__legacy/common.d.ts +0 -44
  750. package/dist/region__legacy/common.d.ts.map +0 -1
  751. package/dist/region__legacy/common.js +0 -3
  752. package/dist/region__legacy/index.d.ts +0 -2
  753. package/dist/region__legacy/index.d.ts.map +0 -1
  754. package/dist/region__legacy/index.js.map +0 -1
  755. package/dist/stock-location/service-next.d.ts +0 -279
  756. package/dist/stock-location/service-next.d.ts.map +0 -1
  757. package/dist/stock-location/service-next.js +0 -3
  758. package/dist/stock-location/service-next.js.map +0 -1
  759. /package/dist/http/{tax → currency}/index.d.ts +0 -0
  760. /package/dist/http/{tax → currency}/index.js +0 -0
  761. /package/dist/http/{product-category → file}/admin.js +0 -0
  762. /package/dist/http/{stock-locations → file}/common.js +0 -0
  763. /package/dist/http/{product-category → file}/store.js +0 -0
  764. /package/dist/{inventory → http/product-type}/common.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./entities";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/pricing/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
@@ -1,2 +1,2 @@
1
- export * from "./price";
1
+ export * from "./admin";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./price"), exports);
17
+ __exportStar(require("./admin"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,26 @@
1
+ import { AdminCollection } from "../../collection";
2
+ import { AdminPrice } from "../../pricing";
3
+ import { AdminProductCategory } from "../../product-category";
4
+ import { AdminProductType } from "../../product-type";
5
+ import { AdminSalesChannel } from "../../sales-channel";
6
+ import { BaseProduct, BaseProductImage, BaseProductOption, BaseProductOptionValue, BaseProductTag, BaseProductVariant, ProductStatus } from "../common";
7
+ export interface AdminProductVariant extends BaseProductVariant {
8
+ prices: AdminPrice[] | null;
9
+ }
10
+ export interface AdminProductTag extends BaseProductTag {
11
+ }
12
+ export interface AdminProductOption extends BaseProductOption {
13
+ }
14
+ export interface AdminProductImage extends BaseProductImage {
15
+ }
16
+ export interface AdminProductOptionValue extends BaseProductOptionValue {
17
+ }
18
+ export interface AdminProduct extends Omit<BaseProduct, "categories" | "variants"> {
19
+ collection?: AdminCollection | null;
20
+ categories?: AdminProductCategory[] | null;
21
+ sales_channels?: AdminSalesChannel[] | null;
22
+ variants?: AdminProductVariant[] | null;
23
+ type: AdminProductType | null;
24
+ }
25
+ export type AdminProductStatus = ProductStatus;
26
+ //# sourceMappingURL=entitites.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,cAAc,EACd,kBAAkB,EAClB,aAAa,EACd,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;CAC5B;AACD,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACpD,UAAU,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IACnC,UAAU,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAA;IAC1C,cAAc,CAAC,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAA;IAC3C,QAAQ,CAAC,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAA;IACvC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAC9B;AACD,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entitites.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entitites.js","sourceRoot":"","sources":["../../../../src/http/product/admin/entitites.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from "./entitites";
2
+ export * from "./payloads";
3
+ export * from "./responses";
4
+ export * from "./queries";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entitites"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./responses"), exports);
20
+ __exportStar(require("./queries"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/product/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,6CAA0B;AAC1B,8CAA2B;AAC3B,4CAAyB"}
@@ -0,0 +1,152 @@
1
+ import { BatchMethodRequest } from "../../../common";
2
+ import { ProductStatus } from "../common";
3
+ export interface AdminBatchProductRequest extends BatchMethodRequest<AdminCreateProduct, AdminUpdateProduct> {
4
+ }
5
+ export interface AdminBatchProductVariantRequest extends BatchMethodRequest<AdminCreateProductVariant, AdminUpdateProductVariant> {
6
+ }
7
+ export interface AdminBatchProductVariantInventoryItemRequest extends BatchMethodRequest<AdminCreateProductVariantInventoryItem, AdminUpdateProductVariantInventoryItem, AdminDeleteProductVariantInventoryItem> {
8
+ }
9
+ export interface AdminCreateProductVariantPrice {
10
+ currency_code: string;
11
+ amount: number;
12
+ min_quantity?: number | null;
13
+ max_quantity?: number | null;
14
+ }
15
+ export interface AdminCreateProductVariant {
16
+ title: string;
17
+ sku?: string;
18
+ ean?: string;
19
+ upc?: string;
20
+ barcode?: string;
21
+ hs_code?: string;
22
+ mid_code?: string;
23
+ allow_backorder?: boolean;
24
+ manage_inventory?: boolean;
25
+ variant_rank?: number;
26
+ weight?: number;
27
+ length?: number;
28
+ height?: number;
29
+ width?: number;
30
+ origin_country?: string;
31
+ material?: string;
32
+ metadata?: Record<string, unknown>;
33
+ prices: AdminCreateProductVariantPrice[];
34
+ options?: Record<string, string>;
35
+ }
36
+ export interface AdminCreateProduct {
37
+ title: string;
38
+ subtitle?: string;
39
+ description?: string;
40
+ is_giftcard?: boolean;
41
+ discountable?: boolean;
42
+ images?: {
43
+ url: string;
44
+ }[];
45
+ thumbnail?: string;
46
+ handle?: string;
47
+ status?: ProductStatus;
48
+ type_id?: string;
49
+ collection_id?: string;
50
+ categories?: {
51
+ id: string;
52
+ }[];
53
+ tags?: {
54
+ id?: string;
55
+ value?: string;
56
+ }[];
57
+ options?: AdminCreateProductOption[];
58
+ variants?: AdminCreateProductVariant[];
59
+ sales_channels?: {
60
+ id: string;
61
+ }[];
62
+ weight?: number;
63
+ length?: number;
64
+ height?: number;
65
+ width?: number;
66
+ hs_code?: string;
67
+ mid_code?: string;
68
+ origin_country?: string;
69
+ material?: string;
70
+ metadata?: Record<string, unknown>;
71
+ }
72
+ export interface AdminUpdateProductVariant {
73
+ title?: string;
74
+ sku?: string | null;
75
+ ean?: string | null;
76
+ upc?: string | null;
77
+ barcode?: string | null;
78
+ hs_code?: string | null;
79
+ mid_code?: string | null;
80
+ allow_backorder?: boolean;
81
+ manage_inventory?: boolean;
82
+ variant_rank?: number;
83
+ weight?: number | null;
84
+ length?: number | null;
85
+ height?: number | null;
86
+ width?: number | null;
87
+ origin_country?: string | null;
88
+ material?: string | null;
89
+ metadata?: Record<string, unknown> | null;
90
+ prices?: AdminCreateProductVariantPrice[];
91
+ options?: Record<string, string>;
92
+ }
93
+ export interface AdminUpdateProduct {
94
+ title?: string;
95
+ subtitle?: string | null;
96
+ description?: string | null;
97
+ is_giftcard?: boolean;
98
+ discountable?: boolean;
99
+ images?: {
100
+ url: string;
101
+ }[];
102
+ thumbnail?: string | null;
103
+ handle?: string;
104
+ status?: ProductStatus;
105
+ type_id?: string | null;
106
+ collection_id?: string | null;
107
+ categories?: {
108
+ id: string;
109
+ }[];
110
+ tags?: {
111
+ id?: string;
112
+ value?: string;
113
+ }[];
114
+ options?: AdminUpdateProductOption[];
115
+ variants?: AdminCreateProductVariant[];
116
+ sales_channels?: {
117
+ id: string;
118
+ }[];
119
+ weight?: number | null;
120
+ length?: number | null;
121
+ height?: number | null;
122
+ width?: number | null;
123
+ hs_code?: string | null;
124
+ mid_code?: string | null;
125
+ origin_country?: string | null;
126
+ material?: string | null;
127
+ metadata?: Record<string, unknown> | null;
128
+ }
129
+ export interface AdminCreateProductOption {
130
+ title: string;
131
+ values: string[];
132
+ }
133
+ export interface AdminUpdateProductOption {
134
+ title?: string;
135
+ values?: string[];
136
+ }
137
+ interface AdminCreateProductVariantInventoryItem {
138
+ required_quantity: number;
139
+ inventory_item_id: string;
140
+ variant_id: string;
141
+ }
142
+ interface AdminUpdateProductVariantInventoryItem {
143
+ required_quantity: number;
144
+ inventory_item_id: string;
145
+ variant_id: string;
146
+ }
147
+ interface AdminDeleteProductVariantInventoryItem {
148
+ inventory_item_id: string;
149
+ variant_id: string;
150
+ }
151
+ export {};
152
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAEzC,MAAM,WAAW,wBACf,SAAQ,kBAAkB,CAAC,kBAAkB,EAAE,kBAAk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M,CAAA;CACnB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,sCAAsC;IAC9C,iBAAiB,EAAE,MAAM,CAAA;IACzB,UAAU,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/product/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { BaseProductListParams, BaseProductOptionParams, BaseProductTagParams, BaseProductVariantParams } from "../common";
2
+ export interface AdminProductTagParams extends BaseProductTagParams {
3
+ }
4
+ export interface AdminProductOptionParams extends BaseProductOptionParams {
5
+ }
6
+ export interface AdminProductVariantParams extends BaseProductVariantParams {
7
+ }
8
+ export interface AdminProductListParams extends BaseProductListParams {
9
+ price_list_id?: string | string[];
10
+ variants?: AdminProductVariantParams;
11
+ }
12
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG;AACtE,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;IACnE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,QAAQ,CAAC,EAAE,yBAAyB,CAAA;CACrC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ import { BatchMethodResponse } from "../../../common";
2
+ import { DeleteResponse, PaginatedResponse } from "../../common";
3
+ import { AdminProduct, AdminProductOption, AdminProductVariant } from "./entitites";
4
+ import { AdminInventoryItem } from "../../inventory";
5
+ export interface AdminProductResponse {
6
+ product: AdminProduct;
7
+ }
8
+ export type AdminProductListResponse = PaginatedResponse<{
9
+ products: AdminProduct[];
10
+ }>;
11
+ export interface AdminProductDeleteResponse extends DeleteResponse<"product"> {
12
+ }
13
+ export interface AdminBatchProductResponse extends BatchMethodResponse<AdminProduct> {
14
+ }
15
+ export interface AdminProductVariantResponse {
16
+ variant: AdminProductVariant;
17
+ }
18
+ export type AdminProductVariantListResponse = PaginatedResponse<{
19
+ variants: AdminProductVariant[];
20
+ }>;
21
+ export interface AdminProductVariantDeleteResponse extends DeleteResponse<"variant", AdminProduct> {
22
+ }
23
+ export interface AdminBatchProductVariantResponse extends BatchMethodResponse<AdminProductVariant> {
24
+ }
25
+ export interface AdminBatchProductVariantInventoryItemResponse extends BatchMethodResponse<AdminInventoryItem> {
26
+ }
27
+ export interface AdminProductOptionResponse {
28
+ product_option: AdminProductOption;
29
+ }
30
+ export type AdminProductOptionListResponse = PaginatedResponse<{
31
+ product_options: AdminProductOption[];
32
+ }>;
33
+ export interface AdminProductOptionDeleteResponse extends DeleteResponse<"product_option", AdminProduct> {
34
+ }
35
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,E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ourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":""}
@@ -1,98 +1,79 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../dal";
2
2
  import { BaseCollection } from "../collection/common";
3
+ import { FindParams } from "../common";
4
+ import { BaseProductCategory } from "../product-category/common";
5
+ import { BaseProductType } from "../product-type/common";
3
6
  export type ProductStatus = "draft" | "proposed" | "published" | "rejected";
4
7
  export interface BaseProduct {
5
- id?: string;
6
- title?: string;
7
- handle?: string;
8
- subtitle?: string | null;
9
- description?: string | null;
10
- is_giftcard?: boolean;
11
- status?: ProductStatus;
12
- thumbnail?: string;
13
- width?: number;
14
- weight?: number;
15
- length?: number;
16
- height?: number;
17
- origin_country?: string;
18
- hs_code?: string;
19
- mid_code?: string;
20
- material?: string;
21
- collection?: BaseCollection;
22
- collection_id?: string | null;
23
- categories?: BaseProductCategory[];
8
+ id: string;
9
+ title: string;
10
+ handle: string;
11
+ subtitle: string | null;
12
+ description: string | null;
13
+ is_giftcard: boolean;
14
+ status: ProductStatus;
15
+ thumbnail: string | null;
16
+ width: number | null;
17
+ weight: number | null;
18
+ length: number | null;
19
+ height: number | null;
20
+ origin_country: string | null;
21
+ hs_code: string | null;
22
+ mid_code: string | null;
23
+ material: string | null;
24
+ collection?: BaseCollection | null;
25
+ collection_id: string | null;
26
+ categories?: BaseProductCategory[] | null;
24
27
  type?: BaseProductType | null;
25
- type_id?: string | null;
26
- tags?: BaseProductTag[];
27
- variants?: BaseProductVariant[];
28
- options?: BaseProductOption[];
29
- images?: BaseProductImage[];
30
- discountable?: boolean;
31
- external_id?: string | null;
32
- created_at?: string;
33
- updated_at?: string;
34
- deleted_at?: string | null;
28
+ type_id: string | null;
29
+ tags: BaseProductTag[] | null;
30
+ variants: BaseProductVariant[] | null;
31
+ options: BaseProductOption[] | null;
32
+ images: BaseProductImage[] | null;
33
+ discountable: boolean;
34
+ external_id: string | null;
35
+ created_at: string | null;
36
+ updated_at: string | null;
37
+ deleted_at: string | null;
35
38
  metadata?: Record<string, unknown> | null;
36
39
  }
37
40
  export interface BaseProductVariant {
38
- id?: string;
39
- title?: string;
40
- sku?: string;
41
- barcode?: string;
42
- ean?: string;
43
- upc?: string;
44
- allow_backorder?: boolean;
45
- manage_inventory?: boolean;
46
- hs_code?: string;
47
- origin_country?: string;
48
- mid_code?: string;
49
- material?: string;
50
- weight?: number;
51
- length?: number;
52
- height?: number;
53
- width?: number;
54
- options?: BaseProductOptionValue[];
55
- product?: BaseProduct;
56
- product_id?: string | null;
57
- variant_rank?: number;
58
- created_at?: string;
59
- updated_at?: string;
60
- deleted_at?: string | null;
41
+ id: string;
42
+ title: string | null;
43
+ sku: string | null;
44
+ barcode: string | null;
45
+ ean: string | null;
46
+ upc: string | null;
47
+ allow_backorder: boolean | null;
48
+ manage_inventory: boolean | 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
+ options: BaseProductOptionValue[] | null;
58
+ product?: BaseProduct | null;
59
+ product_id?: string;
60
+ variant_rank?: number | null;
61
+ created_at: string;
62
+ updated_at: string;
63
+ deleted_at: string | null;
61
64
  metadata?: Record<string, unknown> | null;
62
65
  }
63
- export interface BaseProductCategory {
64
- id?: string;
65
- name?: string;
66
- description?: string | null;
67
- handle?: string;
68
- rank?: number;
69
- parent_category?: BaseProductCategory;
70
- parent_category_id?: string;
71
- category_children?: BaseProductCategory[];
72
- products?: BaseProduct[];
73
- created_at?: string;
74
- updated_at?: string;
75
- metadata?: Record<string, unknown>;
76
- }
77
66
  export interface BaseProductTag {
78
- id?: string;
79
- value?: string;
67
+ id: string;
68
+ value: string;
80
69
  products?: BaseProduct[];
81
70
  metadata?: Record<string, unknown> | null;
82
71
  }
83
- export interface BaseProductType {
84
- id?: string;
85
- value?: string;
86
- created_at?: string;
87
- updated_at?: string;
88
- deleted_at?: string | null;
89
- metadata?: Record<string, unknown> | null;
90
- }
91
72
  export interface BaseProductOption {
92
- id?: string;
93
- title?: string;
94
- product?: BaseProduct;
95
- product_id?: string;
73
+ id: string;
74
+ title: string;
75
+ product?: BaseProduct | null;
76
+ product_id?: string | null;
96
77
  values?: BaseProductOptionValue[];
97
78
  metadata?: Record<string, unknown> | null;
98
79
  created_at?: string;
@@ -100,26 +81,27 @@ export interface BaseProductOption {
100
81
  deleted_at?: string | null;
101
82
  }
102
83
  export interface BaseProductImage {
103
- id?: string;
104
- url?: string;
84
+ id: string;
85
+ url: string;
105
86
  created_at?: string;
106
87
  updated_at?: string;
107
88
  deleted_at?: string | null;
108
89
  metadata?: Record<string, unknown> | null;
109
90
  }
110
91
  export interface BaseProductOptionValue {
111
- id?: string;
112
- value?: string;
113
- option?: BaseProductOption;
114
- option_id?: string;
92
+ id: string;
93
+ value: string;
94
+ option?: BaseProductOption | null;
95
+ option_id?: string | null;
115
96
  metadata?: Record<string, unknown> | null;
116
97
  created_at?: string;
117
98
  updated_at?: string;
118
99
  deleted_at?: string | null;
119
100
  }
120
- export interface BaseProductFilters extends BaseFilterable<BaseProductFilters> {
101
+ export interface BaseProductListParams extends FindParams, BaseFilterable<BaseProductListParams> {
121
102
  q?: string;
122
103
  status?: ProductStatus | ProductStatus[];
104
+ sales_channel_id?: string | string[];
123
105
  title?: string | string[];
124
106
  handle?: string | string[];
125
107
  id?: string | string[];
@@ -139,38 +121,22 @@ export interface BaseProductFilters extends BaseFilterable<BaseProductFilters> {
139
121
  updated_at?: OperatorMap<string>;
140
122
  deleted_at?: OperatorMap<string>;
141
123
  }
142
- export interface BaseProductTagFilters extends BaseFilterable<BaseProductTagFilters> {
124
+ export interface BaseProductTagParams extends FindParams, BaseFilterable<BaseProductTagParams> {
143
125
  q?: string;
144
126
  id?: string | string[];
145
127
  value?: string | string[];
146
128
  }
147
- export interface BaseProductTypeFilters extends BaseFilterable<BaseProductTypeFilters> {
148
- q?: string;
149
- id?: string | string[];
150
- value?: string;
151
- }
152
- export interface BaseProductOptionFilters extends BaseFilterable<BaseProductOptionFilters> {
129
+ export interface BaseProductOptionParams extends FindParams, BaseFilterable<BaseProductOptionParams> {
153
130
  q?: string;
154
131
  id?: string | string[];
155
132
  title?: string | string[];
156
133
  product_id?: string | string[];
157
134
  }
158
- export interface BaseProductVariantFilters extends BaseFilterable<BaseProductVariantFilters> {
135
+ export interface BaseProductVariantParams extends FindParams, BaseFilterable<BaseProductVariantParams> {
159
136
  q?: string;
160
137
  id?: string | string[];
161
138
  sku?: string | string[];
162
139
  product_id?: string | string[];
163
140
  options?: Record<string, string>;
164
141
  }
165
- export interface BaseProductCategoryFilters extends BaseFilterable<BaseProductCategoryFilters> {
166
- q?: string;
167
- id?: string | string[];
168
- name?: string | string[];
169
- parent_category_id?: string | string[] | null;
170
- handle?: string | string[];
171
- is_active?: boolean;
172
- is_internal?: boolean;
173
- include_descendants_tree?: boolean;
174
- include_ancestors_tree?: boolean;
175
- }
176
142
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/product/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAA;AAE3E,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IA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