@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
@@ -16,7 +16,7 @@ export interface IRegionModuleService extends IModuleService {
16
16
  * @returns {Promise<RegionDTO[]>} The created regions.
17
17
  *
18
18
  * @example
19
- * const region = await regionModuleService.create([
19
+ * const region = await regionModuleService.createRegions([
20
20
  * {
21
21
  * name: "Europe",
22
22
  * currency_code: "eur",
@@ -29,7 +29,7 @@ export interface IRegionModuleService extends IModuleService {
29
29
  * },
30
30
  * ])
31
31
  */
32
- create(data: CreateRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
32
+ createRegions(data: CreateRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
33
33
  /**
34
34
  * This method creates a region.
35
35
  *
@@ -38,13 +38,13 @@ export interface IRegionModuleService extends IModuleService {
38
38
  * @returns {Promise<RegionDTO>} The created region.
39
39
  *
40
40
  * @example
41
- * const region = await regionModuleService.create({
41
+ * const region = await regionModuleService.createRegions({
42
42
  * name: "Europe",
43
43
  * currency_code: "eur",
44
44
  * countries: ["dk", "de", "fr"],
45
45
  * })
46
46
  */
47
- create(data: CreateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
47
+ createRegions(data: CreateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
48
48
  /**
49
49
  * This method updates or creates regions if they don't exist.
50
50
  *
@@ -53,7 +53,7 @@ export interface IRegionModuleService extends IModuleService {
53
53
  * @returns {Promise<RegionDTO[]>} The created or updated regions.
54
54
  *
55
55
  * @example
56
- * const region = await regionModuleService.upsert([
56
+ * const region = await regionModuleService.upsertRegions([
57
57
  * {
58
58
  * id: "reg_123",
59
59
  * automatic_taxes: false,
@@ -64,7 +64,7 @@ export interface IRegionModuleService extends IModuleService {
64
64
  * },
65
65
  * ])
66
66
  */
67
- upsert(data: UpsertRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
67
+ upsertRegions(data: UpsertRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
68
68
  /**
69
69
  * This method updates or creates a region if it doesn't exist.
70
70
  *
@@ -73,12 +73,12 @@ export interface IRegionModuleService extends IModuleService {
73
73
  * @returns {Promise<RegionDTO>} The created or updated region.
74
74
  *
75
75
  * @example
76
- * const region = await regionModuleService.upsert({
76
+ * const region = await regionModuleService.upsertRegions({
77
77
  * id: "reg_123",
78
78
  * automatic_taxes: false,
79
79
  * })
80
80
  */
81
- upsert(data: UpsertRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
81
+ upsertRegions(data: UpsertRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
82
82
  /**
83
83
  * This method updates an existing region.
84
84
  *
@@ -88,11 +88,11 @@ export interface IRegionModuleService extends IModuleService {
88
88
  * @returns {Promise<RegionDTO>} The updated region.
89
89
  *
90
90
  * @example
91
- * const region = await regionModuleService.update("reg_123", {
91
+ * const region = await regionModuleService.updateRegions("reg_123", {
92
92
  * automatic_taxes: false,
93
93
  * })
94
94
  */
95
- update(id: string, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
95
+ updateRegions(id: string, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
96
96
  /**
97
97
  * This method updates existing regions.
98
98
  *
@@ -102,7 +102,7 @@ export interface IRegionModuleService extends IModuleService {
102
102
  * @returns {Promise<RegionDTO[]>} The updated regions.
103
103
  *
104
104
  * @example
105
- * const region = await regionModuleService.update(
105
+ * const region = await regionModuleService.updateRegions(
106
106
  * {
107
107
  * name: "Europe",
108
108
  * },
@@ -111,7 +111,7 @@ export interface IRegionModuleService extends IModuleService {
111
111
  * }
112
112
  * )
113
113
  */
114
- update(selector: FilterableRegionProps, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO[]>;
114
+ updateRegions(selector: FilterableRegionProps, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO[]>;
115
115
  /**
116
116
  * This method deletes regions by their IDs.
117
117
  *
@@ -120,9 +120,9 @@ export interface IRegionModuleService extends IModuleService {
120
120
  * @returns {Promise<void>} Resolves when the regions are deleted.
121
121
  *
122
122
  * @example
123
- * await regionModuleService.delete(["reg_123", "reg_321"])
123
+ * await regionModuleService.deleteRegions(["reg_123", "reg_321"])
124
124
  */
125
- delete(ids: string[], sharedContext?: Context): Promise<void>;
125
+ deleteRegions(ids: string[], sharedContext?: Context): Promise<void>;
126
126
  /**
127
127
  * This method deletes a region by its ID.
128
128
  *
@@ -131,9 +131,9 @@ export interface IRegionModuleService extends IModuleService {
131
131
  * @returns {Promise<void>} Resolves when the region is deleted.
132
132
  *
133
133
  * @example
134
- * await regionModuleService.delete("reg_123")
134
+ * await regionModuleService.deleteRegions("reg_123")
135
135
  */
136
- delete(id: string, sharedContext?: Context): Promise<void>;
136
+ deleteRegions(id: string, sharedContext?: Context): Promise<void>;
137
137
  /**
138
138
  * This method retrieves a region by its ID.
139
139
  *
@@ -147,18 +147,18 @@ export interface IRegionModuleService extends IModuleService {
147
147
  * A simple example that retrieves a region by its ID:
148
148
  *
149
149
  * ```ts
150
- * const region = await regionModuleService.retrieve("reg_123")
150
+ * const region = await regionModuleService.retrieveRegion("reg_123")
151
151
  * ```
152
152
  *
153
153
  * To specify relations that should be retrieved:
154
154
  *
155
155
  * ```ts
156
- * const region = await regionModuleService.retrieve("reg_123", {
156
+ * const region = await regionModuleService.retrieveRegion("reg_123", {
157
157
  * relations: ["countries"],
158
158
  * })
159
159
  * ```
160
160
  */
161
- retrieve(id: string, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO>;
161
+ retrieveRegion(id: string, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO>;
162
162
  /**
163
163
  * This method retrieves a paginated list of regions based on optional filters and configuration.
164
164
  *
@@ -172,7 +172,7 @@ export interface IRegionModuleService extends IModuleService {
172
172
  * To retrieve a list of regions using their IDs:
173
173
  *
174
174
  * ```ts
175
- * const regions = await regionModuleService.list({
175
+ * const regions = await regionModuleService.listRegions({
176
176
  * id: ["reg_123", "reg_321"],
177
177
  * })
178
178
  * ```
@@ -180,7 +180,7 @@ export interface IRegionModuleService extends IModuleService {
180
180
  * To specify relations that should be retrieved within the regions:
181
181
  *
182
182
  * ```ts
183
- * const regions = await regionModuleService.list(
183
+ * const regions = await regionModuleService.listRegions(
184
184
  * {
185
185
  * id: ["reg_123", "reg_321"],
186
186
  * },
@@ -193,7 +193,7 @@ export interface IRegionModuleService extends IModuleService {
193
193
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
194
194
  *
195
195
  * ```ts
196
- * const regions = await regionModuleService.list(
196
+ * const regions = await regionModuleService.listRegions(
197
197
  * {
198
198
  * id: ["reg_123", "reg_321"],
199
199
  * },
@@ -205,7 +205,7 @@ export interface IRegionModuleService extends IModuleService {
205
205
  * )
206
206
  * ```
207
207
  */
208
- list(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO[]>;
208
+ listRegions(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO[]>;
209
209
  /**
210
210
  * This method retrieves a paginated list of regions along with the total count of available regions satisfying the provided filters.
211
211
  *
@@ -220,7 +220,7 @@ export interface IRegionModuleService extends IModuleService {
220
220
  *
221
221
  * ```ts
222
222
  * const [regions, count] =
223
- * await regionModuleService.listAndCount({
223
+ * await regionModuleService.listAndCountRegions({
224
224
  * id: ["reg_123", "reg_321"],
225
225
  * })
226
226
  * ```
@@ -229,7 +229,7 @@ export interface IRegionModuleService extends IModuleService {
229
229
  *
230
230
  * ```ts
231
231
  * const [regions, count] =
232
- * await regionModuleService.listAndCount(
232
+ * await regionModuleService.listAndCountRegions(
233
233
  * {
234
234
  * id: ["reg_123", "reg_321"],
235
235
  * },
@@ -243,7 +243,7 @@ export interface IRegionModuleService extends IModuleService {
243
243
  *
244
244
  * ```ts
245
245
  * const [regions, count] =
246
- * await regionModuleService.listAndCount(
246
+ * await regionModuleService.listAndCountRegions(
247
247
  * {
248
248
  * id: ["reg_123", "reg_321"],
249
249
  * },
@@ -255,7 +255,7 @@ export interface IRegionModuleService extends IModuleService {
255
255
  * )
256
256
  * ```
257
257
  */
258
- listAndCount(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<[RegionDTO[], number]>;
258
+ listAndCountRegions(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<[RegionDTO[], number]>;
259
259
  /**
260
260
  * This method retrieves a country by its 2 character ISO code.
261
261
  *
@@ -395,11 +395,11 @@ export interface IRegionModuleService extends IModuleService {
395
395
  * If there are no related records, the promise resolves to `void`.
396
396
  *
397
397
  * @example
398
- * await regionModuleService.softDelete(["reg_123", "reg_321"], {
398
+ * await regionModuleService.softDeleteRegions(["reg_123", "reg_321"], {
399
399
  * returnLinkableKeys: ["country_id"],
400
400
  * })
401
401
  */
402
- softDelete<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
402
+ softDeleteRegions<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
403
403
  /**
404
404
  * This method restores soft deleted regions by their IDs.
405
405
  *
@@ -415,10 +415,10 @@ export interface IRegionModuleService extends IModuleService {
415
415
  * If there are no related records restored, the promise resolves to `void`.
416
416
  *
417
417
  * @example
418
- * await regionModuleService.restore(["reg_123", "reg_321"], {
418
+ * await regionModuleService.restoreRegions(["reg_123", "reg_321"], {
419
419
  * returnLinkableKeys: ["country_id"],
420
420
  * })
421
421
  */
422
- restore<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
422
+ restoreRegions<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
423
423
  }
424
424
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/region/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACV,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE/E;;GAEG;AAC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AAuB,SAAS,MAAM,GAAG,MAAM,EAC/D,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EAClD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;;;;;;;;;;;;OAkBG;IACH,cAAc,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAC5D,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
@@ -1,3 +1,4 @@
1
+ import { MetadataType } from "../common";
1
2
  /**
2
3
  * The sales channel to be created.
3
4
  */
@@ -9,7 +10,7 @@ export interface CreateSalesChannelDTO {
9
10
  /**
10
11
  * The description of the sales channel.
11
12
  */
12
- description?: string;
13
+ description?: string | null;
13
14
  /**
14
15
  * Whether the sales channel is disabled.
15
16
  */
@@ -34,7 +35,7 @@ export interface UpdateSalesChannelDTO {
34
35
  /**
35
36
  * Holds custom data in key-value pairs.
36
37
  */
37
- metadata?: Record<string, unknown>;
38
+ metadata?: MetadataType;
38
39
  }
39
40
  /**
40
41
  * The attributes in the sales channel to be created or updated.
@@ -60,6 +61,6 @@ export interface UpsertSalesChannelDTO {
60
61
  /**
61
62
  * Holds custom data in key-value pairs.
62
63
  */
63
- metadata?: Record<string, unknown> | null;
64
+ metadata?: MetadataType;
64
65
  }
65
66
  //# sourceMappingURL=mutations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/sales-channel/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH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;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB"}
@@ -16,13 +16,13 @@ export interface ISalesChannelModuleService extends IModuleService {
16
16
  * @returns {Promise<SalesChannelDTO[]>} The created sales channels.
17
17
  *
18
18
  * @example
19
- * const salesChannels = await salesChannelModuleService.create([
19
+ * const salesChannels = await salesChannelModuleService.createSalesChannels([
20
20
  * {
21
21
  * name: "B2B",
22
22
  * },
23
23
  * ])
24
24
  */
25
- create(data: CreateSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
25
+ createSalesChannels(data: CreateSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
26
26
  /**
27
27
  * This method creates a sales channel.
28
28
  *
@@ -31,11 +31,11 @@ export interface ISalesChannelModuleService extends IModuleService {
31
31
  * @returns {Promise<SalesChannelDTO>} The created sales channel.
32
32
  *
33
33
  * @example
34
- * const salesChannel = await salesChannelModuleService.create({
34
+ * const salesChannel = await salesChannelModuleService.createSalesChannels({
35
35
  * name: "B2B",
36
36
  * })
37
37
  */
38
- create(data: CreateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
38
+ createSalesChannels(data: CreateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
39
39
  /**
40
40
  * This method updates an existing sales channel.
41
41
  *
@@ -45,14 +45,14 @@ export interface ISalesChannelModuleService extends IModuleService {
45
45
  * @returns {Promise<SalesChannelDTO>} The updated sales channel.
46
46
  *
47
47
  * @example
48
- * const salesChannel = await salesChannelModuleService.update(
48
+ * const salesChannel = await salesChannelModuleService.updateSalesChannels(
49
49
  * "sc_123",
50
50
  * {
51
51
  * description: "Sales channel for B2B customers",
52
52
  * }
53
53
  * )
54
54
  */
55
- update(channelId: string, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
55
+ updateSalesChannels(channelId: string, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
56
56
  /**
57
57
  * This method updates existing sales channels matching the specified filters
58
58
  *
@@ -62,7 +62,7 @@ export interface ISalesChannelModuleService extends IModuleService {
62
62
  * @returns {Promise<SalesChannelDTO[]>} The updated sales channels.
63
63
  *
64
64
  * @example
65
- * const salesChannels = await salesChannelModuleService.update(
65
+ * const salesChannels = await salesChannelModuleService.updateSalesChannels(
66
66
  * {
67
67
  * name: "B2B",
68
68
  * },
@@ -71,7 +71,7 @@ export interface ISalesChannelModuleService extends IModuleService {
71
71
  * }
72
72
  * )
73
73
  */
74
- update(selector: FilterableSalesChannelProps, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO[]>;
74
+ updateSalesChannels(selector: FilterableSalesChannelProps, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO[]>;
75
75
  /**
76
76
  * This method updates or creates a sales channel if it doesn't exist.
77
77
  *
@@ -80,11 +80,11 @@ export interface ISalesChannelModuleService extends IModuleService {
80
80
  * @returns {Promise<SalesChannelDTO>} The created or updated sales channel.
81
81
  *
82
82
  * @example
83
- * const salesChannel = await salesChannelModuleService.upsert({
83
+ * const salesChannel = await salesChannelModuleService.upsertSalesChannels({
84
84
  * name: "B2B",
85
85
  * })
86
86
  */
87
- upsert(data: UpsertSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
87
+ upsertSalesChannels(data: UpsertSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
88
88
  /**
89
89
  * This method updates or creates sales channels if they don't exist.
90
90
  *
@@ -93,7 +93,7 @@ export interface ISalesChannelModuleService extends IModuleService {
93
93
  * @returns {Promise<SalesChannelDTO[]>} The created or updated sales channels.
94
94
  *
95
95
  * @example
96
- * const salesChannels = await salesChannelModuleService.upsert([
96
+ * const salesChannels = await salesChannelModuleService.upsertSalesChannels([
97
97
  * {
98
98
  * name: "B2B",
99
99
  * },
@@ -103,7 +103,7 @@ export interface ISalesChannelModuleService extends IModuleService {
103
103
  * },
104
104
  * ])
105
105
  */
106
- upsert(data: UpsertSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
106
+ upsertSalesChannels(data: UpsertSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
107
107
  /**
108
108
  * This method deletes sales channel by their IDs.
109
109
  *
@@ -112,9 +112,9 @@ export interface ISalesChannelModuleService extends IModuleService {
112
112
  * @returns {Promise<void>} Resolves when the sales channels are deleted successfully.
113
113
  *
114
114
  * @example
115
- * await salesChannelModuleService.delete(["sc_123", "sc_321"])
115
+ * await salesChannelModuleService.deleteSalesChannels(["sc_123", "sc_321"])
116
116
  */
117
- delete(ids: string[], sharedContext?: Context): Promise<void>;
117
+ deleteSalesChannels(ids: string[], sharedContext?: Context): Promise<void>;
118
118
  /**
119
119
  * This method deletes a sales channel by its ID.
120
120
  *
@@ -123,9 +123,9 @@ export interface ISalesChannelModuleService extends IModuleService {
123
123
  * @returns {Promise<void>} Resolves when the sales channel is deleted successfully.
124
124
  *
125
125
  * @example
126
- * await salesChannelModuleService.delete("sc_123")
126
+ * await salesChannelModuleService.deleteSalesChannels("sc_123")
127
127
  */
128
- delete(id: string, sharedContext?: Context): Promise<void>;
128
+ deleteSalesChannels(id: string, sharedContext?: Context): Promise<void>;
129
129
  /**
130
130
  * This method retrieves a sales channel by its ID.
131
131
  *
@@ -137,9 +137,9 @@ export interface ISalesChannelModuleService extends IModuleService {
137
137
  *
138
138
  * @example
139
139
  * const salesChannel =
140
- * await salesChannelModuleService.retrieve("sc_123")
140
+ * await salesChannelModuleService.retrieveSalesChannel("sc_123")
141
141
  */
142
- retrieve(id: string, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO>;
142
+ retrieveSalesChannel(id: string, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO>;
143
143
  /**
144
144
  * This method retrieves a paginated list of sales channels based on optional filters and configuration.
145
145
  *
@@ -153,7 +153,7 @@ export interface ISalesChannelModuleService extends IModuleService {
153
153
  * To retrieve a list of sales channels using their IDs:
154
154
  *
155
155
  * ```ts
156
- * const salesChannels = await salesChannelModuleService.list({
156
+ * const salesChannels = await salesChannelModuleService.listSalesChannels({
157
157
  * id: ["sc_123", "sc_321"],
158
158
  * })
159
159
  * ```
@@ -161,7 +161,7 @@ export interface ISalesChannelModuleService extends IModuleService {
161
161
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
162
162
  *
163
163
  * ```ts
164
- * const salesChannels = await salesChannelModuleService.list(
164
+ * const salesChannels = await salesChannelModuleService.listSalesChannels(
165
165
  * {
166
166
  * id: ["sc_123", "sc_321"],
167
167
  * },
@@ -172,7 +172,7 @@ export interface ISalesChannelModuleService extends IModuleService {
172
172
  * )
173
173
  * ```
174
174
  */
175
- list(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO[]>;
175
+ listSalesChannels(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO[]>;
176
176
  /**
177
177
  * This method retrieves a paginated list of sales channels along with the total count of available sales channels satisfying the provided filters.
178
178
  *
@@ -187,7 +187,7 @@ export interface ISalesChannelModuleService extends IModuleService {
187
187
  *
188
188
  * ```ts
189
189
  * const [salesChannels, count] =
190
- * await salesChannelModuleService.listAndCount({
190
+ * await salesChannelModuleService.listAndCountSalesChannels({
191
191
  * id: ["sc_123", "sc_321"],
192
192
  * })
193
193
  * ```
@@ -196,7 +196,7 @@ export interface ISalesChannelModuleService extends IModuleService {
196
196
  *
197
197
  * ```ts
198
198
  * const [salesChannels, count] =
199
- * await salesChannelModuleService.listAndCount(
199
+ * await salesChannelModuleService.listAndCountSalesChannels(
200
200
  * {
201
201
  * id: ["sc_123", "sc_321"],
202
202
  * },
@@ -207,7 +207,7 @@ export interface ISalesChannelModuleService extends IModuleService {
207
207
  * )
208
208
  * ```
209
209
  */
210
- listAndCount(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<[SalesChannelDTO[], number]>;
210
+ listAndCountSalesChannels(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<[SalesChannelDTO[], number]>;
211
211
  /**
212
212
  * This method soft deletes sales channels by their IDs.
213
213
  *
@@ -218,9 +218,9 @@ export interface ISalesChannelModuleService extends IModuleService {
218
218
  * If there are no related records, the promise resolves to `void`.
219
219
  *
220
220
  * @example
221
- * await salesChannelModuleService.delete(["sc_123", "sc_321"])
221
+ * await salesChannelModuleService.softDeleteSalesChannels(["sc_123", "sc_321"])
222
222
  */
223
- softDelete<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
223
+ softDeleteSalesChannels<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
224
224
  /**
225
225
  * This method restores a soft deleted sales channel by its IDs.
226
226
  *
@@ -232,8 +232,8 @@ export interface ISalesChannelModuleService extends IModuleService {
232
232
  * If there are no related records restored, the promise resolves to `void`.
233
233
  *
234
234
  * @example
235
- * await salesChannelModuleService.restore(["sc_123", "sc_321"])
235
+ * await salesChannelModuleService.restoreSalesChannels(["sc_123", "sc_321"])
236
236
  */
237
- restore<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
237
+ restoreSalesChannels<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
238
238
  }
239
239
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/sales-channel/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACvE,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAChE;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,EAAE,CAAC,CAAA;IAE7B;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,qBAAqB,EAC3B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,CAAC,CAAA;IAE3B;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,qBAAqB,EAC3B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,CAAC,CAAA;IAE3B;;;;;;;;;;;;;;;;;OAiBG;IACH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;;;;;;;OA+BG;IACH,iBAAiB,CACf,OAAO,CAAC,EAAE,2BAA2B,EACrC,MAAM,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,EACpC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,eAAe,EAAE,CAAC,CAAA;IAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,yBAAyB,CACvB,OAAO,CAAC,EAAE,2BAA2B,EACrC,MAAM,CAAC,EAAE,UAAU,CAAC,eAAe,CAAC,EACpC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,eAAe,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAEvC;;;;;;;;;;;OAWG;IACH,uBAAuB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EACrE,eAAe,EAAE,MAAM,EAAE,EACzB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EAClD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;;;;;;OAYG;IACH,oBAAoB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAClE,eAAe,EAAE,MAAM,EAAE,EACzB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
@@ -1,4 +1,3 @@
1
- import { EntityManager } from "typeorm";
2
1
  import { EventBusTypes } from "./bundles";
3
2
  import { Message } from "./event-bus";
4
3
  /**
@@ -11,11 +10,11 @@ export type SharedContext = {
11
10
  /**
12
11
  * An instance of a transaction manager.
13
12
  */
14
- transactionManager?: EntityManager;
13
+ transactionManager?: any;
15
14
  /**
16
15
  * An instance of an entity manager.
17
16
  */
18
- manager?: EntityManager;
17
+ manager?: any;
19
18
  };
20
19
  export interface MessageAggregatorFormat {
21
20
  groupBy?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"shared-context.d.ts","sourceRoot":"","sources":["../src/shared-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,kBAAkB,CAAC,EAAE,aAAa,CAAA;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;CACxB,CAAA;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACvD;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,EAAE,GAAG,IAAI,CAAA;IACpC,WAAW,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAA;IACxE,aAAa,IAAI,IAAI,CAAA;IACrB,kBAAkB,CAAC,CAAC,EAClB,WAAW,EACP,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,GACjC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,EACvC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAChC,IAAI,CAAA;CACR;AAED;;;GAGG;AACH,MAAM,MAAM,OAAO,CAAC,QAAQ,GAAG,OAAO,IAAI;IACxC,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB;;OAEG;IACH,kBAAkB,CAAC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B,CAAC,CAAC,CAAC,GACjC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,EACvC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAChC,IAAI,CAAA;CACR;AAED;;;GAGG;AACH,MAAM,MAAM,OAAO,CAAC,QAAQ,GAAG,OAAO,IAAI;IACxC,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,QAAQ,CAAA;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAA;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,kBAAkB,CAAA;IAEtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { MetadataType } from "../common";
1
2
  import { BaseFilterable, OperatorMap } from "../dal";
2
3
  import { FulfillmentSetDTO } from "../fulfillment";
3
4
  /**
@@ -104,7 +105,7 @@ export type StockLocationAddressDTO = {
104
105
  /**
105
106
  * Holds custom data in key-value pairs.
106
107
  */
107
- metadata?: Record<string, unknown> | null;
108
+ metadata?: MetadataType;
108
109
  /**
109
110
  * The creation date of the stock location address.
110
111
  */
@@ -311,7 +312,7 @@ export type StockLocationAddressInput = {
311
312
  /**
312
313
  * Holds custom data in key-value pairs.
313
314
  */
314
- metadata?: Record<string, unknown> | null;
315
+ metadata?: MetadataType;
315
316
  };
316
317
  /**
317
318
  * @schema CreateStockLocationInput
@@ -345,7 +346,7 @@ export type CreateStockLocationInput = {
345
346
  /**
346
347
  * The associated address's ID.
347
348
  */
348
- address_id?: string;
349
+ address_id?: string | null;
349
350
  /**
350
351
  * The associated address.
351
352
  */
@@ -353,7 +354,7 @@ export type CreateStockLocationInput = {
353
354
  /**
354
355
  * Holds custom data in key-value pairs.
355
356
  */
356
- metadata?: Record<string, unknown>;
357
+ metadata?: MetadataType;
357
358
  };
358
359
  /**
359
360
  * @schema UpdateStockLocationInput
@@ -385,7 +386,7 @@ export type UpdateStockLocationInput = {
385
386
  /**
386
387
  * The associated address's ID.
387
388
  */
388
- address_id?: string;
389
+ address_id?: string | null;
389
390
  /**
390
391
  * The associated address's details.
391
392
  */
@@ -393,24 +394,18 @@ export type UpdateStockLocationInput = {
393
394
  /**
394
395
  * Holds custom data in key-value pairs.
395
396
  */
396
- metadata?: Record<string, unknown>;
397
+ metadata?: MetadataType;
397
398
  };
398
399
  /**
399
400
  * @interface
400
401
  *
401
- * The attributes to update in a stock location.
402
+ * A stock location to create or update. If the `id` property isn't provided,
403
+ * the stock location is created. In that case, the `name` property is required.
402
404
  */
403
- export type UpdateStockLocationNextInput = UpdateStockLocationInput & {
405
+ export type UpsertStockLocationInput = Partial<UpdateStockLocationInput> & {
404
406
  /**
405
- * The ID of the stock location.
407
+ * The ID of the stock location, if updating.
406
408
  */
407
- id: string;
409
+ id?: string;
408
410
  };
409
- /**
410
- * @interface
411
- *
412
- * A stock location to create or update. If the `id` property isn't provided,
413
- * the stock location is created. In that case, the `name` property is required.
414
- */
415
- export type UpsertStockLocationInput = Partial<UpdateStockLocationNextInput>;
416
411
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/stock-location/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAG,yBAAyB,CAAA;IAE5C;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,yBAAyB,CAAA;IAEnC;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC,GAAG;IACzE;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA"}
@@ -1,4 +1,3 @@
1
1
  export * from "./common";
2
2
  export * from "./service";
3
- export * from "./service-next";
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stock-location/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stock-location/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}