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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (458) 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/service.d.ts +18 -18
  4. package/dist/auth/service.d.ts.map +1 -1
  5. package/dist/bundles.d.ts +2 -1
  6. package/dist/bundles.d.ts.map +1 -1
  7. package/dist/bundles.js +3 -2
  8. package/dist/bundles.js.map +1 -1
  9. package/dist/cart/mutations.d.ts +8 -0
  10. package/dist/cart/mutations.d.ts.map +1 -1
  11. package/dist/cart/mutations.js.map +1 -1
  12. package/dist/cart/service.d.ts +30 -52
  13. package/dist/cart/service.d.ts.map +1 -1
  14. package/dist/common/common.d.ts +6 -1
  15. package/dist/common/common.d.ts.map +1 -1
  16. package/dist/currency/service.d.ts +9 -9
  17. package/dist/currency/service.d.ts.map +1 -1
  18. package/dist/customer/mutations.d.ts +27 -26
  19. package/dist/customer/mutations.d.ts.map +1 -1
  20. package/dist/customer/service.d.ts +40 -43
  21. package/dist/customer/service.d.ts.map +1 -1
  22. package/dist/dal/repository-service.d.ts +2 -2
  23. package/dist/dal/repository-service.d.ts.map +1 -1
  24. package/dist/dml/index.d.ts +161 -0
  25. package/dist/dml/index.d.ts.map +1 -0
  26. package/dist/dml/index.js +5 -0
  27. package/dist/dml/index.js.map +1 -0
  28. package/dist/event-bus/common.d.ts +12 -20
  29. package/dist/event-bus/common.d.ts.map +1 -1
  30. package/dist/event-bus/event-bus-module.d.ts +4 -4
  31. package/dist/event-bus/event-bus-module.d.ts.map +1 -1
  32. package/dist/event-bus/event-bus.d.ts +2 -4
  33. package/dist/event-bus/event-bus.d.ts.map +1 -1
  34. package/dist/file/service.d.ts +12 -12
  35. package/dist/file/service.d.ts.map +1 -1
  36. package/dist/fulfillment/mutations/service-zone.d.ts +1 -1
  37. package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
  38. package/dist/fulfillment/service.d.ts +27 -27
  39. package/dist/fulfillment/service.d.ts.map +1 -1
  40. package/dist/http/currency/admin/entities.d.ts +14 -0
  41. package/dist/http/currency/admin/entities.d.ts.map +1 -0
  42. package/dist/http/currency/admin/entities.js +3 -0
  43. package/dist/http/currency/admin/entities.js.map +1 -0
  44. package/dist/http/currency/admin/index.d.ts +2 -0
  45. package/dist/http/currency/admin/index.d.ts.map +1 -0
  46. package/dist/{inventory/bundle.js → http/currency/admin/index.js} +2 -3
  47. package/dist/http/currency/admin/index.js.map +1 -0
  48. package/dist/http/currency/index.d.ts +2 -0
  49. package/dist/http/currency/index.d.ts.map +1 -0
  50. package/dist/{region__legacy → http/currency}/index.js +1 -1
  51. package/dist/http/currency/index.js.map +1 -0
  52. package/dist/http/fulfillment-provider/admin/entities.d.ts +1 -5
  53. package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -1
  54. package/dist/http/fulfillment-set/admin/entities.d.ts +3 -1
  55. package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -1
  56. package/dist/http/index.d.ts +5 -0
  57. package/dist/http/index.d.ts.map +1 -1
  58. package/dist/http/index.js +5 -0
  59. package/dist/http/index.js.map +1 -1
  60. package/dist/http/inventory/{inventory.d.ts → admin/entities.d.ts} +2 -10
  61. package/dist/http/inventory/admin/entities.d.ts.map +1 -0
  62. package/dist/http/inventory/admin/entities.js +3 -0
  63. package/dist/http/inventory/admin/entities.js.map +1 -0
  64. package/dist/http/inventory/admin/index.d.ts +5 -0
  65. package/dist/http/inventory/admin/index.d.ts.map +1 -0
  66. package/dist/http/inventory/admin/index.js +21 -0
  67. package/dist/http/inventory/admin/index.js.map +1 -0
  68. package/dist/http/inventory/admin/payloads.d.ts +19 -0
  69. package/dist/http/inventory/admin/payloads.d.ts.map +1 -0
  70. package/dist/http/inventory/admin/payloads.js +3 -0
  71. package/dist/http/inventory/admin/payloads.js.map +1 -0
  72. package/dist/http/inventory/admin/queries.d.ts +18 -0
  73. package/dist/http/inventory/admin/queries.d.ts.map +1 -0
  74. package/dist/http/{product/store.js → inventory/admin/queries.js} +1 -1
  75. package/dist/http/inventory/admin/queries.js.map +1 -0
  76. package/dist/http/inventory/admin/responses.d.ts +10 -0
  77. package/dist/http/inventory/admin/responses.d.ts.map +1 -0
  78. package/dist/http/inventory/admin/responses.js +3 -0
  79. package/dist/http/inventory/admin/responses.js.map +1 -0
  80. package/dist/http/inventory/index.d.ts +1 -2
  81. package/dist/http/inventory/index.d.ts.map +1 -1
  82. package/dist/http/inventory/index.js +1 -2
  83. package/dist/http/inventory/index.js.map +1 -1
  84. package/dist/http/inventory-level/admin/entities.d.ts +11 -0
  85. package/dist/http/inventory-level/admin/entities.d.ts.map +1 -0
  86. package/dist/http/inventory-level/admin/entities.js +3 -0
  87. package/dist/http/inventory-level/admin/entities.js.map +1 -0
  88. package/dist/http/inventory-level/admin/index.d.ts +5 -0
  89. package/dist/http/inventory-level/admin/index.d.ts.map +1 -0
  90. package/dist/http/inventory-level/admin/index.js +21 -0
  91. package/dist/http/inventory-level/admin/index.js.map +1 -0
  92. package/dist/http/inventory-level/admin/payloads.d.ts +15 -0
  93. package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -0
  94. package/dist/http/inventory-level/admin/payloads.js +3 -0
  95. package/dist/http/inventory-level/admin/payloads.js.map +1 -0
  96. package/dist/http/inventory-level/admin/queries.d.ts +5 -0
  97. package/dist/http/inventory-level/admin/queries.d.ts.map +1 -0
  98. package/dist/http/{product/admin.js → inventory-level/admin/queries.js} +1 -1
  99. package/dist/http/inventory-level/admin/queries.js.map +1 -0
  100. package/dist/http/inventory-level/admin/responses.d.ts +9 -0
  101. package/dist/http/inventory-level/admin/responses.d.ts.map +1 -0
  102. package/dist/http/{inventory/inventory.js → inventory-level/admin/responses.js} +1 -1
  103. package/dist/http/inventory-level/admin/responses.js.map +1 -0
  104. package/dist/http/inventory-level/index.d.ts +2 -0
  105. package/dist/http/inventory-level/index.d.ts.map +1 -0
  106. package/dist/http/inventory-level/index.js +18 -0
  107. package/dist/http/inventory-level/index.js.map +1 -0
  108. package/dist/http/order/common.d.ts +2 -0
  109. package/dist/http/order/common.d.ts.map +1 -1
  110. package/dist/http/price-list/admin/entities.d.ts +21 -0
  111. package/dist/http/price-list/admin/entities.d.ts.map +1 -0
  112. package/dist/http/price-list/admin/entities.js +3 -0
  113. package/dist/http/price-list/admin/entities.js.map +1 -0
  114. package/dist/http/price-list/admin/index.d.ts +5 -0
  115. package/dist/http/price-list/admin/index.d.ts.map +1 -0
  116. package/dist/http/price-list/admin/index.js +21 -0
  117. package/dist/http/price-list/admin/index.js.map +1 -0
  118. package/dist/http/price-list/admin/payloads.d.ts +46 -0
  119. package/dist/http/price-list/admin/payloads.d.ts.map +1 -0
  120. package/dist/http/price-list/admin/payloads.js +3 -0
  121. package/dist/http/price-list/admin/payloads.js.map +1 -0
  122. package/dist/http/price-list/admin/queries.d.ts +14 -0
  123. package/dist/http/price-list/admin/queries.d.ts.map +1 -0
  124. package/dist/http/{product-category/store.js → price-list/admin/queries.js} +1 -1
  125. package/dist/http/price-list/admin/queries.js.map +1 -0
  126. package/dist/http/price-list/admin/responses.d.ts +12 -0
  127. package/dist/http/price-list/admin/responses.d.ts.map +1 -0
  128. package/dist/http/price-list/admin/responses.js +3 -0
  129. package/dist/http/price-list/admin/responses.js.map +1 -0
  130. package/dist/http/price-list/index.d.ts +2 -0
  131. package/dist/http/price-list/index.d.ts.map +1 -0
  132. package/dist/http/price-list/index.js +18 -0
  133. package/dist/http/price-list/index.js.map +1 -0
  134. package/dist/http/pricing/admin/{entitites.d.ts → entities.d.ts} +1 -1
  135. package/dist/http/pricing/admin/entities.d.ts.map +1 -0
  136. package/dist/http/pricing/admin/entities.js +3 -0
  137. package/dist/http/pricing/admin/entities.js.map +1 -0
  138. package/dist/http/pricing/admin/index.d.ts +1 -1
  139. package/dist/http/pricing/admin/index.d.ts.map +1 -1
  140. package/dist/http/pricing/admin/index.js +1 -1
  141. package/dist/http/pricing/admin/index.js.map +1 -1
  142. package/dist/http/product/admin/entitites.d.ts +26 -0
  143. package/dist/http/product/admin/entitites.d.ts.map +1 -0
  144. package/dist/http/product/admin/entitites.js.map +1 -0
  145. package/dist/http/product/admin/index.d.ts +5 -0
  146. package/dist/http/product/admin/index.d.ts.map +1 -0
  147. package/dist/http/product/admin/index.js +21 -0
  148. package/dist/http/product/admin/index.js.map +1 -0
  149. package/dist/http/product/admin/payloads.d.ts +152 -0
  150. package/dist/http/product/admin/payloads.d.ts.map +1 -0
  151. package/dist/http/product/admin/payloads.js +3 -0
  152. package/dist/http/product/admin/payloads.js.map +1 -0
  153. package/dist/http/product/admin/queries.d.ts +12 -0
  154. package/dist/http/product/admin/queries.d.ts.map +1 -0
  155. package/dist/http/product/admin/queries.js +3 -0
  156. package/dist/http/product/admin/queries.js.map +1 -0
  157. package/dist/http/product/admin/responses.d.ts +35 -0
  158. package/dist/http/product/admin/responses.d.ts.map +1 -0
  159. package/dist/http/product/admin/responses.js +3 -0
  160. package/dist/http/product/admin/responses.js.map +1 -0
  161. package/dist/http/product/common.d.ts +72 -106
  162. package/dist/http/product/common.d.ts.map +1 -1
  163. package/dist/http/product/store/entitites.d.ts +19 -0
  164. package/dist/http/product/store/entitites.d.ts.map +1 -0
  165. package/dist/http/product/store/entitites.js +3 -0
  166. package/dist/http/product/store/entitites.js.map +1 -0
  167. package/dist/http/product/store/index.d.ts +4 -0
  168. package/dist/http/product/store/index.d.ts.map +1 -0
  169. package/dist/http/product/store/index.js +20 -0
  170. package/dist/http/product/store/index.js.map +1 -0
  171. package/dist/http/product/store/queries.d.ts +13 -0
  172. package/dist/http/product/store/queries.d.ts.map +1 -0
  173. package/dist/http/product/store/queries.js +3 -0
  174. package/dist/http/product/store/queries.js.map +1 -0
  175. package/dist/http/product/store/responses.d.ts +9 -0
  176. package/dist/http/product/store/responses.d.ts.map +1 -0
  177. package/dist/http/product/store/responses.js +3 -0
  178. package/dist/http/product/store/responses.js.map +1 -0
  179. package/dist/http/product-category/admin/entities.d.ts +8 -0
  180. package/dist/http/product-category/admin/entities.d.ts.map +1 -0
  181. package/dist/http/product-category/admin/entities.js +3 -0
  182. package/dist/http/product-category/admin/entities.js.map +1 -0
  183. package/dist/http/product-category/admin/index.d.ts +5 -0
  184. package/dist/http/product-category/admin/index.d.ts.map +1 -0
  185. package/dist/http/product-category/admin/index.js +21 -0
  186. package/dist/http/product-category/admin/index.js.map +1 -0
  187. package/dist/http/product-category/admin/payloads.d.ts +25 -0
  188. package/dist/http/product-category/admin/payloads.d.ts.map +1 -0
  189. package/dist/http/product-category/admin/payloads.js +3 -0
  190. package/dist/http/product-category/admin/payloads.js.map +1 -0
  191. package/dist/http/product-category/admin/queries.d.ts +8 -0
  192. package/dist/http/product-category/admin/queries.d.ts.map +1 -0
  193. package/dist/http/product-category/{admin.js → admin/queries.js} +1 -1
  194. package/dist/http/product-category/admin/queries.js.map +1 -0
  195. package/dist/http/product-category/admin/responses.d.ts +12 -0
  196. package/dist/http/product-category/admin/responses.d.ts.map +1 -0
  197. package/dist/http/product-category/admin/responses.js +3 -0
  198. package/dist/http/product-category/admin/responses.js.map +1 -0
  199. package/dist/http/product-category/common.d.ts +31 -7
  200. package/dist/http/product-category/common.d.ts.map +1 -1
  201. package/dist/http/product-category/store/entities.d.ts +6 -0
  202. package/dist/http/product-category/store/entities.d.ts.map +1 -0
  203. package/dist/http/product-category/store/entities.js +3 -0
  204. package/dist/http/product-category/store/entities.js.map +1 -0
  205. package/dist/http/product-category/store/index.d.ts +4 -0
  206. package/dist/http/product-category/store/index.d.ts.map +1 -0
  207. package/dist/http/product-category/store/index.js +20 -0
  208. package/dist/http/product-category/store/index.js.map +1 -0
  209. package/dist/http/product-category/store/queries.d.ts +6 -0
  210. package/dist/http/product-category/store/queries.d.ts.map +1 -0
  211. package/dist/http/product-category/store/queries.js +3 -0
  212. package/dist/http/product-category/store/queries.js.map +1 -0
  213. package/dist/http/product-category/store/responses.d.ts +10 -0
  214. package/dist/http/product-category/store/responses.d.ts.map +1 -0
  215. package/dist/http/product-category/store/responses.js +3 -0
  216. package/dist/http/product-category/store/responses.js.map +1 -0
  217. package/dist/http/product-type/admin/entities.d.ts +4 -0
  218. package/dist/http/product-type/admin/entities.d.ts.map +1 -0
  219. package/dist/http/product-type/admin/entities.js +3 -0
  220. package/dist/http/product-type/admin/entities.js.map +1 -0
  221. package/dist/http/product-type/admin/index.d.ts +5 -0
  222. package/dist/http/product-type/admin/index.d.ts.map +1 -0
  223. package/dist/http/product-type/admin/index.js +21 -0
  224. package/dist/http/product-type/admin/index.js.map +1 -0
  225. package/dist/http/product-type/admin/payloads.d.ts +9 -0
  226. package/dist/http/product-type/admin/payloads.d.ts.map +1 -0
  227. package/dist/http/product-type/admin/payloads.js +3 -0
  228. package/dist/http/product-type/admin/payloads.js.map +1 -0
  229. package/dist/http/product-type/admin/queries.d.ts +13 -0
  230. package/dist/http/product-type/admin/queries.d.ts.map +1 -0
  231. package/dist/http/product-type/admin/queries.js +3 -0
  232. package/dist/http/product-type/admin/queries.js.map +1 -0
  233. package/dist/http/product-type/admin/responses.d.ts +12 -0
  234. package/dist/http/product-type/admin/responses.d.ts.map +1 -0
  235. package/dist/http/product-type/admin/responses.js +3 -0
  236. package/dist/http/product-type/admin/responses.js.map +1 -0
  237. package/dist/http/product-type/common.d.ts +9 -0
  238. package/dist/http/product-type/common.d.ts.map +1 -0
  239. package/dist/{inventory → http/product-type}/common.js.map +1 -1
  240. package/dist/http/product-type/index.d.ts +3 -0
  241. package/dist/http/product-type/index.d.ts.map +1 -0
  242. package/dist/http/product-type/index.js +19 -0
  243. package/dist/http/product-type/index.js.map +1 -0
  244. package/dist/http/product-type/store/entities.d.ts +4 -0
  245. package/dist/http/product-type/store/entities.d.ts.map +1 -0
  246. package/dist/http/product-type/store/entities.js +3 -0
  247. package/dist/http/product-type/store/entities.js.map +1 -0
  248. package/dist/http/product-type/store/index.d.ts +2 -0
  249. package/dist/http/product-type/store/index.d.ts.map +1 -0
  250. package/dist/http/product-type/store/index.js +18 -0
  251. package/dist/http/product-type/store/index.js.map +1 -0
  252. package/dist/http/promotion/admin/rule-attribute-options.d.ts +5 -0
  253. package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
  254. package/dist/http/sales-channel/admin/queries.d.ts +2 -4
  255. package/dist/http/sales-channel/admin/queries.d.ts.map +1 -1
  256. package/dist/http/shipping-option/admin/entities.d.ts +9 -1
  257. package/dist/http/shipping-option/admin/entities.d.ts.map +1 -1
  258. package/dist/http/shipping-option/admin/payloads.d.ts +8 -9
  259. package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -1
  260. package/dist/http/stock-locations/admin/entities.d.ts +2 -1
  261. package/dist/http/stock-locations/admin/entities.d.ts.map +1 -1
  262. package/dist/http/store/admin/entities.d.ts +23 -0
  263. package/dist/http/store/admin/entities.d.ts.map +1 -0
  264. package/dist/http/store/admin/entities.js +3 -0
  265. package/dist/http/store/admin/entities.js.map +1 -0
  266. package/dist/http/store/admin/index.d.ts +5 -0
  267. package/dist/http/store/admin/index.d.ts.map +1 -0
  268. package/dist/http/store/admin/index.js +21 -0
  269. package/dist/http/store/admin/index.js.map +1 -0
  270. package/dist/http/store/admin/payloads.d.ts +14 -0
  271. package/dist/http/store/admin/payloads.d.ts.map +1 -0
  272. package/dist/http/store/admin/payloads.js +3 -0
  273. package/dist/http/store/admin/payloads.js.map +1 -0
  274. package/dist/http/store/admin/queries.d.ts +10 -0
  275. package/dist/http/store/admin/queries.d.ts.map +1 -0
  276. package/dist/http/store/admin/queries.js +3 -0
  277. package/dist/http/store/admin/queries.js.map +1 -0
  278. package/dist/http/store/admin/responses.d.ts +10 -0
  279. package/dist/http/store/admin/responses.d.ts.map +1 -0
  280. package/dist/http/store/admin/responses.js +3 -0
  281. package/dist/http/store/admin/responses.js.map +1 -0
  282. package/dist/http/store/index.d.ts +2 -0
  283. package/dist/http/store/index.d.ts.map +1 -0
  284. package/dist/http/store/index.js +18 -0
  285. package/dist/http/store/index.js.map +1 -0
  286. package/dist/index.d.ts +1 -1
  287. package/dist/index.d.ts.map +1 -1
  288. package/dist/index.js +1 -1
  289. package/dist/index.js.map +1 -1
  290. package/dist/inventory/common/reservation-item.d.ts +1 -1
  291. package/dist/inventory/index.d.ts +1 -2
  292. package/dist/inventory/index.d.ts.map +1 -1
  293. package/dist/inventory/index.js +1 -15
  294. package/dist/inventory/index.js.map +1 -1
  295. package/dist/inventory/mutations/reservation-item.d.ts +7 -7
  296. package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
  297. package/dist/inventory/service.d.ts +671 -640
  298. package/dist/inventory/service.d.ts.map +1 -1
  299. package/dist/joiner/index.d.ts +5 -2
  300. package/dist/joiner/index.d.ts.map +1 -1
  301. package/dist/modules-sdk/index.d.ts +12 -12
  302. package/dist/modules-sdk/index.d.ts.map +1 -1
  303. package/dist/modules-sdk/index.js +1 -1
  304. package/dist/modules-sdk/index.js.map +1 -1
  305. package/dist/modules-sdk/{internal-module-service.d.ts → medusa-internal-service.d.ts} +19 -18
  306. package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -0
  307. package/dist/{http/inventory/inventory-level.js → modules-sdk/medusa-internal-service.js} +1 -1
  308. package/dist/modules-sdk/medusa-internal-service.js.map +1 -0
  309. package/dist/notification/service.d.ts +15 -15
  310. package/dist/notification/service.d.ts.map +1 -1
  311. package/dist/order/common.d.ts +50 -1
  312. package/dist/order/common.d.ts.map +1 -1
  313. package/dist/order/mutations.d.ts +68 -17
  314. package/dist/order/mutations.d.ts.map +1 -1
  315. package/dist/order/service.d.ts +41 -30
  316. package/dist/order/service.d.ts.map +1 -1
  317. package/dist/pricing/common/index.d.ts +0 -2
  318. package/dist/pricing/common/index.d.ts.map +1 -1
  319. package/dist/pricing/common/index.js +0 -2
  320. package/dist/pricing/common/index.js.map +1 -1
  321. package/dist/pricing/common/money-amount.d.ts +2 -2
  322. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  323. package/dist/pricing/common/price-list.d.ts +25 -125
  324. package/dist/pricing/common/price-list.d.ts.map +1 -1
  325. package/dist/pricing/common/price-rule.d.ts +8 -16
  326. package/dist/pricing/common/price-rule.d.ts.map +1 -1
  327. package/dist/pricing/common/price-set.d.ts +6 -55
  328. package/dist/pricing/common/price-set.d.ts.map +1 -1
  329. package/dist/pricing/service.d.ts +31 -290
  330. package/dist/pricing/service.d.ts.map +1 -1
  331. package/dist/pricing/workflows.d.ts +5 -5
  332. package/dist/pricing/workflows.d.ts.map +1 -1
  333. package/dist/product/common.d.ts +99 -79
  334. package/dist/product/common.d.ts.map +1 -1
  335. package/dist/product/service.d.ts +322 -203
  336. package/dist/product/service.d.ts.map +1 -1
  337. package/dist/promotion/common/application-method.d.ts +1 -1
  338. package/dist/promotion/common/application-method.d.ts.map +1 -1
  339. package/dist/promotion/mutations.d.ts +6 -6
  340. package/dist/promotion/mutations.d.ts.map +1 -1
  341. package/dist/promotion/service.d.ts +29 -29
  342. package/dist/promotion/service.d.ts.map +1 -1
  343. package/dist/region/common.d.ts.map +1 -1
  344. package/dist/region/mutations.d.ts +4 -3
  345. package/dist/region/mutations.d.ts.map +1 -1
  346. package/dist/region/service.d.ts +31 -31
  347. package/dist/region/service.d.ts.map +1 -1
  348. package/dist/sales-channel/mutations.d.ts +4 -3
  349. package/dist/sales-channel/mutations.d.ts.map +1 -1
  350. package/dist/sales-channel/service.d.ts +28 -28
  351. package/dist/sales-channel/service.d.ts.map +1 -1
  352. package/dist/shared-context.d.ts +2 -3
  353. package/dist/shared-context.d.ts.map +1 -1
  354. package/dist/stock-location/common.d.ts +12 -17
  355. package/dist/stock-location/common.d.ts.map +1 -1
  356. package/dist/stock-location/index.d.ts +0 -1
  357. package/dist/stock-location/index.d.ts.map +1 -1
  358. package/dist/stock-location/index.js +0 -1
  359. package/dist/stock-location/index.js.map +1 -1
  360. package/dist/stock-location/service.d.ts +193 -180
  361. package/dist/stock-location/service.d.ts.map +1 -1
  362. package/dist/store/common/store.d.ts +31 -5
  363. package/dist/store/common/store.d.ts.map +1 -1
  364. package/dist/store/mutations/store.d.ts +14 -40
  365. package/dist/store/mutations/store.d.ts.map +1 -1
  366. package/dist/store/service.d.ts +32 -37
  367. package/dist/store/service.d.ts.map +1 -1
  368. package/dist/tax/mutations.d.ts +7 -6
  369. package/dist/tax/mutations.d.ts.map +1 -1
  370. package/dist/tax/service.d.ts +35 -35
  371. package/dist/tax/service.d.ts.map +1 -1
  372. package/dist/user/service.d.ts +22 -22
  373. package/dist/user/service.d.ts.map +1 -1
  374. package/dist/workflow/fulfillment/service-zones.d.ts +1 -1
  375. package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -1
  376. package/dist/workflow/order/create-fulfillment.d.ts +2 -2
  377. package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
  378. package/dist/workflow/order/create-return-order.d.ts +8 -7
  379. package/dist/workflow/order/create-return-order.d.ts.map +1 -1
  380. package/dist/workflow/order/create-shipment.d.ts +2 -1
  381. package/dist/workflow/order/create-shipment.d.ts.map +1 -1
  382. package/dist/workflow/order/index.d.ts +1 -0
  383. package/dist/workflow/order/index.d.ts.map +1 -1
  384. package/dist/workflow/order/index.js +1 -0
  385. package/dist/workflow/order/index.js.map +1 -1
  386. package/dist/workflow/order/receive-return.d.ts +17 -0
  387. package/dist/workflow/order/receive-return.d.ts.map +1 -0
  388. package/dist/workflow/order/receive-return.js +3 -0
  389. package/dist/workflow/order/receive-return.js.map +1 -0
  390. package/dist/workflow/price-list/create-price-list.d.ts +1 -2
  391. package/dist/workflow/price-list/create-price-list.d.ts.map +1 -1
  392. package/dist/workflow/product-category/index.d.ts +6 -6
  393. package/dist/workflow/product-category/index.d.ts.map +1 -1
  394. package/dist/workflow/reservation/create-reservations.d.ts +3 -3
  395. package/dist/workflow/reservation/create-reservations.d.ts.map +1 -1
  396. package/dist/workflow/reservation/update-reservations.d.ts +3 -3
  397. package/dist/workflow/reservation/update-reservations.d.ts.map +1 -1
  398. package/dist/workflows/products/mutations.d.ts +2 -2
  399. package/dist/workflows/products/mutations.d.ts.map +1 -1
  400. package/dist/workflows-sdk/service.d.ts +2 -2
  401. package/dist/workflows-sdk/service.d.ts.map +1 -1
  402. package/package.json +1 -2
  403. package/dist/http/inventory/inventory-level.d.ts +0 -20
  404. package/dist/http/inventory/inventory-level.d.ts.map +0 -1
  405. package/dist/http/inventory/inventory-level.js.map +0 -1
  406. package/dist/http/inventory/inventory.d.ts.map +0 -1
  407. package/dist/http/inventory/inventory.js.map +0 -1
  408. package/dist/http/pricing/admin/entitites.d.ts.map +0 -1
  409. package/dist/http/pricing/admin/entitites.js.map +0 -1
  410. package/dist/http/product/admin.d.ts +0 -99
  411. package/dist/http/product/admin.d.ts.map +0 -1
  412. package/dist/http/product/admin.js.map +0 -1
  413. package/dist/http/product/store.d.ts +0 -33
  414. package/dist/http/product/store.d.ts.map +0 -1
  415. package/dist/http/product/store.js.map +0 -1
  416. package/dist/http/product-category/admin.d.ts +0 -9
  417. package/dist/http/product-category/admin.d.ts.map +0 -1
  418. package/dist/http/product-category/admin.js.map +0 -1
  419. package/dist/http/product-category/store.d.ts +0 -9
  420. package/dist/http/product-category/store.d.ts.map +0 -1
  421. package/dist/http/product-category/store.js.map +0 -1
  422. package/dist/inventory/bundle.d.ts +0 -3
  423. package/dist/inventory/bundle.d.ts.map +0 -1
  424. package/dist/inventory/bundle.js.map +0 -1
  425. package/dist/inventory/common.d.ts +0 -495
  426. package/dist/inventory/common.d.ts.map +0 -1
  427. package/dist/inventory/service-next.d.ts +0 -937
  428. package/dist/inventory/service-next.d.ts.map +0 -1
  429. package/dist/inventory/service-next.js +0 -3
  430. package/dist/inventory/service-next.js.map +0 -1
  431. package/dist/modules-sdk/internal-module-service.d.ts.map +0 -1
  432. package/dist/modules-sdk/internal-module-service.js +0 -3
  433. package/dist/modules-sdk/internal-module-service.js.map +0 -1
  434. package/dist/modules-sdk/module-service.d.ts +0 -1
  435. package/dist/modules-sdk/module-service.d.ts.map +0 -1
  436. package/dist/modules-sdk/module-service.js +0 -1
  437. package/dist/modules-sdk/module-service.js.map +0 -1
  438. package/dist/pricing/common/price-set-rule-type.d.ts +0 -24
  439. package/dist/pricing/common/price-set-rule-type.d.ts.map +0 -1
  440. package/dist/pricing/common/price-set-rule-type.js +0 -3
  441. package/dist/pricing/common/price-set-rule-type.js.map +0 -1
  442. package/dist/pricing/common/rule-type.d.ts +0 -102
  443. package/dist/pricing/common/rule-type.d.ts.map +0 -1
  444. package/dist/pricing/common/rule-type.js +0 -3
  445. package/dist/pricing/common/rule-type.js.map +0 -1
  446. package/dist/region__legacy/common.d.ts +0 -44
  447. package/dist/region__legacy/common.d.ts.map +0 -1
  448. package/dist/region__legacy/common.js +0 -3
  449. package/dist/region__legacy/common.js.map +0 -1
  450. package/dist/region__legacy/index.d.ts +0 -2
  451. package/dist/region__legacy/index.d.ts.map +0 -1
  452. package/dist/region__legacy/index.js.map +0 -1
  453. package/dist/stock-location/service-next.d.ts +0 -279
  454. package/dist/stock-location/service-next.d.ts.map +0 -1
  455. package/dist/stock-location/service-next.js +0 -3
  456. package/dist/stock-location/service-next.js.map +0 -1
  457. /package/dist/http/{pricing → product}/admin/entitites.js +0 -0
  458. /package/dist/{inventory → http/product-type}/common.js +0 -0
@@ -0,0 +1,9 @@
1
+ export interface BaseProductType {
2
+ id: string;
3
+ value: string;
4
+ created_at?: string;
5
+ updated_at?: string;
6
+ deleted_at?: string | null;
7
+ metadata?: Record<string, unknown> | null;
8
+ }
9
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/product-type/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/inventory/common.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/product-type/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./admin";
2
+ export * from "./store";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/product-type/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
@@ -0,0 +1,19 @@
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("./admin"), exports);
18
+ __exportStar(require("./store"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/product-type/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
@@ -0,0 +1,4 @@
1
+ import { BaseProductType } from "../common";
2
+ export interface StoreProductType extends BaseProductType {
3
+ }
4
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-type/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/product-type/store/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/product-type/store/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/product-type/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
@@ -5,6 +5,11 @@ export interface RuleAttributeOptionsResponse {
5
5
  field_type: string;
6
6
  required: boolean;
7
7
  disguised: boolean;
8
+ operators: {
9
+ id: string;
10
+ value: string;
11
+ label: string;
12
+ }[];
8
13
  }
9
14
  export interface AdminRuleAttributeOptionsListResponse {
10
15
  attributes: RuleAttributeOptionsResponse[];
@@ -1 +1 @@
1
- {"version":3,"file":"rule-attribute-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,qCAAqC;IACpD,UAAU,EAAE,4BAA4B,EAAE,CAAA;CAC3C"}
1
+ {"version":3,"file":"rule-attribute-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,MAAM,CAAA;KACd,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,qCAAqC;IACpD,UAAU,EAAE,4BAA4B,EAAE,CAAA;CAC3C"}
@@ -1,6 +1,6 @@
1
- import { OperatorMap } from "../../../dal";
1
+ import { BaseFilterable, OperatorMap } from "../../../dal";
2
2
  import { FindParams } from "../../common";
3
- export interface AdminSalesChannelListParams extends FindParams {
3
+ export interface AdminSalesChannelListParams extends FindParams, BaseFilterable<AdminSalesChannelListParams> {
4
4
  id?: string | string[];
5
5
  q?: string;
6
6
  name?: string | string[];
@@ -11,7 +11,5 @@ export interface AdminSalesChannelListParams extends FindParams {
11
11
  created_at?: OperatorMap<string>;
12
12
  updated_at?: OperatorMap<string>;
13
13
  deleted_at?: OperatorMap<string>;
14
- $and?: AdminSalesChannelListParams[];
15
- $or?: AdminSalesChannelListParams[];
16
14
  }
17
15
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/sales-channel/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,2BAA4B,SAAQ,UAAU;IAC7D,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,2BAA2B,EAAE,CAAA;IACpC,GAAG,CAAC,EAAE,2BAA2B,EAAE,CAAA;CACpC"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/sales-channel/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,2BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,2BAA2B,CAAC;IAC7C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -23,6 +23,14 @@ export interface AdminShippingOptionRule {
23
23
  updated_at: string;
24
24
  deleted_at: string | null;
25
25
  }
26
+ export interface AdminShippingOptionPriceRule {
27
+ id: string;
28
+ value: string;
29
+ }
30
+ export interface AdminShippingOptionPrice extends AdminPrice {
31
+ price_rules: AdminShippingOptionPriceRule[];
32
+ rules_count: number;
33
+ }
26
34
  export interface AdminShippingOption {
27
35
  id: string;
28
36
  name: string;
@@ -36,7 +44,7 @@ export interface AdminShippingOption {
36
44
  shipping_profile_id: string;
37
45
  shipping_profile: AdminShippingProfile;
38
46
  rules: AdminShippingOptionRule[];
39
- prices: AdminPrice[];
47
+ prices: AdminShippingOptionPrice[];
40
48
  data: Record<string, unknown> | null;
41
49
  metadata: Record<string, unknown> | null;
42
50
  created_at: Date;
@@ -1 +1 @@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EAAE,GAAG,IAAI,CAAA;IAC/B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAGD,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,WAAW,EAAE,4BAA4B,EAAE,CAAA;IAC3C,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,uBAAuB,CAAA;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,gBAAgB,CAAA;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,wBAAwB,CAAA;IAClC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,uBAAuB,CAAA;IAC7B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,oBAAoB,CAAA;IACtC,KAAK,EAAE,uBAAuB,EAAE,CAAA;IAChC,MAAM,EAAE,wBAAwB,EAAE,CAAA;IAClC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -1,20 +1,20 @@
1
1
  import { RuleOperatorType } from "../../../common";
2
2
  import { ShippingOptionPriceType } from "../../../fulfillment";
3
- interface AdminCreateShippingOptionRule {
3
+ export interface AdminCreateShippingOptionRule {
4
4
  operator: RuleOperatorType;
5
5
  attribute: string;
6
6
  value: string | string[];
7
7
  }
8
- interface AdminCreateShippingOptionType {
8
+ export interface AdminCreateShippingOptionType {
9
9
  label: string;
10
10
  description: string;
11
11
  code: string;
12
12
  }
13
- interface AdminCreateShippingOptionPriceWithCurrency {
13
+ export interface AdminCreateShippingOptionPriceWithCurrency {
14
14
  currency_code: string;
15
15
  amount: number;
16
16
  }
17
- interface AdminCreateShippingOptionPriceWithRegion {
17
+ export interface AdminCreateShippingOptionPriceWithRegion {
18
18
  region_id: string;
19
19
  amount: number;
20
20
  }
@@ -29,15 +29,15 @@ export interface AdminCreateShippingOption {
29
29
  prices: (AdminCreateShippingOptionPriceWithCurrency | AdminCreateShippingOptionPriceWithRegion)[];
30
30
  rules?: AdminCreateShippingOptionRule[];
31
31
  }
32
- interface AdminUpdateShippingOptionRule extends AdminCreateShippingOptionRule {
33
- id: string;
32
+ export interface AdminUpdateShippingOptionRule extends AdminCreateShippingOptionRule {
33
+ id?: string;
34
34
  }
35
- interface AdminUpdateShippingOptionPriceWithCurrency {
35
+ export interface AdminUpdateShippingOptionPriceWithCurrency {
36
36
  id?: string;
37
37
  currency_code?: string;
38
38
  amount?: number;
39
39
  }
40
- interface AdminUpdateShippingOptionPriceWithRegion {
40
+ export interface AdminUpdateShippingOptionPriceWithRegion {
41
41
  id?: string;
42
42
  region_id?: string;
43
43
  amount?: number;
@@ -57,5 +57,4 @@ export interface AdminUpdateShippingOptionRules {
57
57
  update?: any[];
58
58
  delete?: string[];
59
59
  }
60
- export {};
61
60
  //# sourceMappingURL=payloads.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,UAAU,6BAA6B;IACr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CAClB"}
@@ -1,3 +1,4 @@
1
+ import { AdminFulfillmentSet } from "../../fulfillment-set";
1
2
  import { AdminSalesChannel } from "../../sales-channel";
2
3
  export interface AdminStockLocationAddress {
3
4
  id: string;
@@ -16,6 +17,6 @@ export interface AdminStockLocation {
16
17
  address_id: string;
17
18
  address?: AdminStockLocationAddress;
18
19
  sales_channels?: AdminSalesChannel[];
19
- fulfillment_sets?: any[];
20
+ fulfillment_sets?: AdminFulfillmentSet[];
20
21
  }
21
22
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/stock-locations/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,yBAAyB,CAAA;IACnC,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACpC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAA;CACzB"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/stock-locations/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,yBAAyB,CAAA;IACnC,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACpC,gBAAgB,CAAC,EAAE,mBAAmB,EAAE,CAAA;CACzC"}
@@ -0,0 +1,23 @@
1
+ import { AdminCurrency } from "../../currency";
2
+ export interface AdminStoreCurrency {
3
+ id: string;
4
+ currency_code: string;
5
+ store_id: string;
6
+ is_default: boolean;
7
+ currency: AdminCurrency;
8
+ created_at: string;
9
+ updated_at: string;
10
+ deleted_at: string | null;
11
+ }
12
+ export interface AdminStore {
13
+ id: string;
14
+ name: string;
15
+ supported_currencies: AdminStoreCurrency[];
16
+ default_sales_channel_id: string | null;
17
+ default_region_id: string | null;
18
+ default_location_id: string | null;
19
+ metadata: Record<string, any> | null;
20
+ created_at: string;
21
+ updated_at: string;
22
+ }
23
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/store/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAE9C,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,aAAa,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,oBAAoB,EAAE,kBAAkB,EAAE,CAAA;IAC1C,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAA;IACvC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IACpC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/store/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from "./entities";
2
+ export * from "./payloads";
3
+ export * from "./queries";
4
+ export * from "./responses";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/store/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,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("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./queries"), exports);
20
+ __exportStar(require("./responses"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/store/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,14 @@
1
+ interface AdminUpdateStoreSupportedCurrency {
2
+ is_default?: boolean;
3
+ code: string;
4
+ }
5
+ export interface AdminUpdateStore {
6
+ name?: string | null;
7
+ supported_currencies?: AdminUpdateStoreSupportedCurrency[];
8
+ default_sales_channel_id?: string | null;
9
+ default_region_id?: string | null;
10
+ default_location_id?: string | null;
11
+ metadata?: Record<string, any> | null;
12
+ }
13
+ export {};
14
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/store/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,iCAAiC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,oBAAoB,CAAC,EAAE,iCAAiC,EAAE,CAAA;IAC1D,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CACtC"}
@@ -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/store/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { BaseFilterable } from "../../../dal";
2
+ import { FindParams, SelectParams } from "../../common";
3
+ export interface AdminStoreListParams extends BaseFilterable<AdminStoreListParams>, FindParams {
4
+ q?: string;
5
+ id?: string | string[];
6
+ name?: string | string[];
7
+ }
8
+ export interface AdminStoreParams extends SelectParams {
9
+ }
10
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/store/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,oBACf,SAAQ,cAAc,CAAC,oBAAoB,CAAC,EAC1C,UAAU;IACZ,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,gBAAiB,SAAQ,YAAY;CAAG"}
@@ -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/store/admin/queries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { PaginatedResponse } from "../../common";
2
+ import { AdminStore } from "./entities";
3
+ export interface AdminStoreResponse {
4
+ store: AdminStore;
5
+ }
6
+ export interface AdminStoreListResponse extends PaginatedResponse<{
7
+ stores: AdminStore[];
8
+ }> {
9
+ }
10
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/store/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAEvC,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,sBACf,SAAQ,iBAAiB,CAAC;IACxB,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/store/admin/responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./admin";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,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("./admin"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
package/dist/index.d.ts CHANGED
@@ -28,7 +28,6 @@ export * from "./product";
28
28
  export * from "./product-category";
29
29
  export * from "./promotion";
30
30
  export * from "./region";
31
- export * from "./region__legacy";
32
31
  export * from "./sales-channel";
33
32
  export * from "./search";
34
33
  export * from "./shared-context";
@@ -41,4 +40,5 @@ export * from "./user";
41
40
  export * from "./workflow";
42
41
  export * from "./workflows";
43
42
  export * from "./workflows-sdk";
43
+ export * from "./dml";
44
44
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cA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AAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,OAAO,CAAA"}
package/dist/index.js CHANGED
@@ -44,7 +44,6 @@ __exportStar(require("./product"), exports);
44
44
  __exportStar(require("./product-category"), exports);
45
45
  __exportStar(require("./promotion"), exports);
46
46
  __exportStar(require("./region"), exports);
47
- __exportStar(require("./region__legacy"), exports);
48
47
  __exportStar(require("./sales-channel"), exports);
49
48
  __exportStar(require("./search"), exports);
50
49
  __exportStar(require("./shared-context"), exports);
@@ -57,4 +56,5 @@ __exportStar(require("./user"), exports);
57
56
  __exportStar(require("./workflow"), exports);
58
57
  __exportStar(require("./workflows"), exports);
59
58
  __exportStar(require("./workflows-sdk"), exports);
59
+ __exportStar(require("./dml"), exports);
60
60
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB;AACvB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC;AAChC,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B;AAC3B,kDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB;AACvB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B;AAC3B,kDAA+B;AAC/B,wCAAqB"}
@@ -65,7 +65,7 @@ export interface FilterableReservationItemProps {
65
65
  /**
66
66
  * @ignore
67
67
  *
68
- * @privateRemark
68
+ * @privateRemarks
69
69
  * This property is not used.
70
70
  */
71
71
  type?: string | string[];
@@ -1,5 +1,4 @@
1
- export * as InventoryNext from "./bundle";
2
1
  export * from "./common";
2
+ export * from "./mutations";
3
3
  export * from "./service";
4
- export * from "./service-next";
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/inventory/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,UAAU,CAAA;AACzC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/inventory/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
@@ -10,25 +10,11 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
15
  };
28
16
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.InventoryNext = void 0;
30
- exports.InventoryNext = __importStar(require("./bundle"));
31
17
  __exportStar(require("./common"), exports);
18
+ __exportStar(require("./mutations"), exports);
32
19
  __exportStar(require("./service"), exports);
33
- __exportStar(require("./service-next"), exports);
34
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAAyC;AACzC,2CAAwB;AACxB,4CAAyB;AACzB,iDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB"}
@@ -16,7 +16,7 @@ export interface UpdateReservationItemInput {
16
16
  /**
17
17
  * The description of the reservation item.
18
18
  */
19
- description?: string;
19
+ description?: string | null;
20
20
  /**
21
21
  * Allow backorder of the item. If true, it won't check inventory levels before reserving it.
22
22
  */
@@ -35,7 +35,7 @@ export interface CreateReservationItemInput {
35
35
  /**
36
36
  * The ID of the associated line item.
37
37
  */
38
- line_item_id?: string;
38
+ line_item_id?: string | null;
39
39
  /**
40
40
  * The ID of the associated inventory item.
41
41
  */
@@ -55,23 +55,23 @@ export interface CreateReservationItemInput {
55
55
  /**
56
56
  * The description of the reservation.
57
57
  */
58
- description?: string;
58
+ description?: string | null;
59
59
  /**
60
60
  * The user or system that created the reservation. Can be any form of identification string.
61
61
  */
62
- created_by?: string;
62
+ created_by?: string | null;
63
63
  /**
64
64
  * An ID associated with an external third-party system that the reservation item is connected to.
65
65
  */
66
- external_id?: string;
66
+ external_id?: string | null;
67
67
  /**
68
68
  * Holds custom data in key-value pairs.
69
69
  */
70
70
  metadata?: Record<string, unknown> | null;
71
71
  }
72
72
  export interface ReserveQuantityContext {
73
- locationId?: string;
74
- lineItemId?: string;
73
+ locationId?: string | null;
74
+ lineItemId?: string | null;
75
75
  salesChannelId?: string | null;
76
76
  }
77
77
  //# sourceMappingURL=reservation-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reservation-item.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/reservation-item.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/B"}
1
+ {"version":3,"file":"reservation-item.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/reservation-item.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/B"}