@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
@@ -22,13 +22,13 @@ export interface ICustomerModuleService extends IModuleService {
22
22
  *
23
23
  * ```ts
24
24
  * const customer =
25
- * await customerModuleService.retrieve("cus_123")
25
+ * await customerModuleService.retrieveCustomer("cus_123")
26
26
  * ```
27
27
  *
28
28
  * To specify relations that should be retrieved:
29
29
  *
30
30
  * ```ts
31
- * const customer = await customerModuleService.retrieve(
31
+ * const customer = await customerModuleService.retrieveCustomer(
32
32
  * "cus_123",
33
33
  * {
34
34
  * relations: ["groups"],
@@ -36,7 +36,7 @@ export interface ICustomerModuleService extends IModuleService {
36
36
  * )
37
37
  * ```
38
38
  */
39
- retrieve(customerId: string, config?: FindConfig<CustomerDTO>, sharedContext?: Context): Promise<CustomerDTO>;
39
+ retrieveCustomer(customerId: string, config?: FindConfig<CustomerDTO>, sharedContext?: Context): Promise<CustomerDTO>;
40
40
  /**
41
41
  * This method creates customers.
42
42
  *
@@ -45,7 +45,7 @@ export interface ICustomerModuleService extends IModuleService {
45
45
  * @returns {Promise<CustomerDTO[]>} The created customers.
46
46
  *
47
47
  * @example
48
- * const customers = await customerModuleService.create([
48
+ * const customers = await customerModuleService.createCustomers([Customers
49
49
  * {
50
50
  * email: "john@smith.com",
51
51
  * first_name: "John",
@@ -53,7 +53,7 @@ export interface ICustomerModuleService extends IModuleService {
53
53
  * },
54
54
  * ])
55
55
  */
56
- create(data: CreateCustomerDTO[], sharedContext?: Context): Promise<CustomerDTO[]>;
56
+ createCustomers(data: CreateCustomerDTO[], sharedContext?: Context): Promise<CustomerDTO[]>;
57
57
  /**
58
58
  * This method creates a customer.
59
59
  *
@@ -62,13 +62,13 @@ export interface ICustomerModuleService extends IModuleService {
62
62
  * @returns {Promise<CustomerDTO>} The created customer.
63
63
  *
64
64
  * @example
65
- * const customer = await customerModuleService.create({
65
+ * const customer = await customerModuleService.createCustomers({Customers
66
66
  * email: "john@smith.com",
67
67
  * first_name: "John",
68
68
  * last_name: "Smith",
69
69
  * })
70
70
  */
71
- create(data: CreateCustomerDTO, sharedContext?: Context): Promise<CustomerDTO>;
71
+ createCustomers(data: CreateCustomerDTO, sharedContext?: Context): Promise<CustomerDTO>;
72
72
  /**
73
73
  * This method updates an existing customer.
74
74
  *
@@ -78,14 +78,14 @@ export interface ICustomerModuleService extends IModuleService {
78
78
  * @returns {Promise<CustomerDTO>} The updated customer.
79
79
  *
80
80
  * @example
81
- * const customer = await customerModuleService.update(
81
+ * const customer = await customerModuleService.updateCustomers(
82
82
  * "cus_123",
83
83
  * {
84
84
  * first_name: "Matt",
85
85
  * }
86
86
  * )
87
87
  */
88
- update(customerId: string, data: CustomerUpdatableFields, sharedContext?: Context): Promise<CustomerDTO>;
88
+ updateCustomers(customerId: string, data: CustomerUpdatableFields, sharedContext?: Context): Promise<CustomerDTO>;
89
89
  /**
90
90
  * This method updates existing customers.
91
91
  *
@@ -95,14 +95,14 @@ export interface ICustomerModuleService extends IModuleService {
95
95
  * @returns {Promise<CustomerDTO[]>} The updated customers.
96
96
  *
97
97
  * @example
98
- * const customers = await customerModuleService.update(
98
+ * const customers = await customerModuleService.updateCustomers(
99
99
  * ["cus_123", "cus_321"],
100
100
  * {
101
101
  * company_name: "Acme",
102
102
  * }
103
103
  * )
104
104
  */
105
- update(customerIds: string[], data: CustomerUpdatableFields, sharedContext?: Context): Promise<CustomerDTO[]>;
105
+ updateCustomers(customerIds: string[], data: CustomerUpdatableFields, sharedContext?: Context): Promise<CustomerDTO[]>;
106
106
  /**
107
107
  * This method updates existing customers.
108
108
  *
@@ -112,14 +112,14 @@ export interface ICustomerModuleService extends IModuleService {
112
112
  * @returns {Promise<CustomerDTO[]>} The updated customers.
113
113
  *
114
114
  * @example
115
- * const customers = await customerModuleService.update(
115
+ * const customers = await customerModuleService.updateCustomers(
116
116
  * { company_name: "Acme" },
117
117
  * {
118
118
  * company_name: "Acme Inc.",
119
119
  * }
120
120
  * )
121
121
  */
122
- update(selector: FilterableCustomerProps, data: CustomerUpdatableFields, sharedContext?: Context): Promise<CustomerDTO[]>;
122
+ updateCustomers(selector: FilterableCustomerProps, data: CustomerUpdatableFields, sharedContext?: Context): Promise<CustomerDTO[]>;
123
123
  /**
124
124
  * This method deletes a customer by its ID.
125
125
  *
@@ -128,9 +128,9 @@ export interface ICustomerModuleService extends IModuleService {
128
128
  * @returns {Promise<void>} Resolves when the customer is deleted successfully.
129
129
  *
130
130
  * @example
131
- * await customerModuleService.delete("cus_123")
131
+ * await customerModuleService.deleteCustomers("cus_123")
132
132
  */
133
- delete(customerId: string, sharedContext?: Context): Promise<void>;
133
+ deleteCustomers(customerId: string, sharedContext?: Context): Promise<void>;
134
134
  /**
135
135
  * This method deletes customers by their IDs.
136
136
  *
@@ -139,9 +139,9 @@ export interface ICustomerModuleService extends IModuleService {
139
139
  * @returns {Promise<void>} Resolves when the customers are deleted successfully.
140
140
  *
141
141
  * @example
142
- * await customerModuleService.delete(["cus_123", "cus_321"])
142
+ * await customerModuleService.deleteCustomers(["cus_123", "cus_321"])
143
143
  */
144
- delete(customerIds: string[], sharedContext?: Context): Promise<void>;
144
+ deleteCustomers(customerIds: string[], sharedContext?: Context): Promise<void>;
145
145
  /**
146
146
  * This method deletes a customer matching the specified filters.
147
147
  *
@@ -150,11 +150,11 @@ export interface ICustomerModuleService extends IModuleService {
150
150
  * @returns {Promise<void>} Resolves when the customers are deleted successfully.
151
151
  *
152
152
  * @example
153
- * await customerModuleService.delete({
153
+ * await customerModuleService.deleteCustomers({
154
154
  * id: ["cus_123"],
155
155
  * })
156
156
  */
157
- delete(selector: FilterableCustomerProps, sharedContext?: Context): Promise<void>;
157
+ deleteCustomers(selector: FilterableCustomerProps, sharedContext?: Context): Promise<void>;
158
158
  /**
159
159
  * This method creates customer groups.
160
160
  *
@@ -162,18 +162,15 @@ export interface ICustomerModuleService extends IModuleService {
162
162
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
163
163
  * @returns {Promise<CustomerGroupDTO[]>} The created customer groups.
164
164
  *
165
- * @privateRemarks
166
- * TODO should be pluralized
167
- *
168
165
  * @example
169
166
  * const customerGroup =
170
- * await customerModuleService.createCustomerGroup([
167
+ * await customerModuleService.createCustomerGroups([
171
168
  * {
172
169
  * name: "VIP",
173
170
  * },
174
171
  * ])
175
172
  */
176
- createCustomerGroup(data: CreateCustomerGroupDTO[], sharedContext?: Context): Promise<CustomerGroupDTO[]>;
173
+ createCustomerGroups(data: CreateCustomerGroupDTO[], sharedContext?: Context): Promise<CustomerGroupDTO[]>;
177
174
  /**
178
175
  * This method creates a customer group.
179
176
  *
@@ -186,11 +183,11 @@ export interface ICustomerModuleService extends IModuleService {
186
183
  *
187
184
  * @example
188
185
  * const customerGroup =
189
- * await customerModuleService.createCustomerGroup({
186
+ * await customerModuleService.createCustomerGroups({
190
187
  * name: "VIP",
191
188
  * })
192
189
  */
193
- createCustomerGroup(data: CreateCustomerGroupDTO, sharedContext?: Context): Promise<CustomerGroupDTO>;
190
+ createCustomerGroups(data: CreateCustomerGroupDTO, sharedContext?: Context): Promise<CustomerGroupDTO>;
194
191
  /**
195
192
  * This method retrieves a customer group by its ID.
196
193
  *
@@ -202,7 +199,7 @@ export interface ICustomerModuleService extends IModuleService {
202
199
  *
203
200
  * @example
204
201
  * const customerGroup =
205
- * await customerModuleService.retrieve("cusgroup_123")
202
+ * await customerModuleService.retrieveCustomerGroup("cusgroup_123")
206
203
  */
207
204
  retrieveCustomerGroup(groupId: string, config?: FindConfig<CustomerGroupDTO>, sharedContext?: Context): Promise<CustomerGroupDTO>;
208
205
  /**
@@ -387,7 +384,7 @@ export interface ICustomerModuleService extends IModuleService {
387
384
  * @returns {Promise<CustomerAddressDTO[]>} The list of created addresses.
388
385
  *
389
386
  * @example
390
- * const addresses = await customerModuleService.addAddresses([
387
+ * const addresses = await customerModuleService.createAddresses([
391
388
  * {
392
389
  * customer_id: "cus_123",
393
390
  * address_name: "Home",
@@ -397,7 +394,7 @@ export interface ICustomerModuleService extends IModuleService {
397
394
  * },
398
395
  * ])
399
396
  */
400
- addAddresses(addresses: CreateCustomerAddressDTO[], sharedContext?: Context): Promise<CustomerAddressDTO[]>;
397
+ createAddresses(addresses: CreateCustomerAddressDTO[], sharedContext?: Context): Promise<CustomerAddressDTO[]>;
401
398
  /**
402
399
  * This method adds an address to a customer.
403
400
  *
@@ -406,7 +403,7 @@ export interface ICustomerModuleService extends IModuleService {
406
403
  * @returns {Promise<CustomerAddressDTO>} The created address.
407
404
  *
408
405
  * @example
409
- * const address = await customerModuleService.addAddresses({
406
+ * const address = await customerModuleService.createAddresses({
410
407
  * customer_id: "cus_123",
411
408
  * address_name: "Home",
412
409
  * address_1: "432 Stierlin Rd",
@@ -414,7 +411,7 @@ export interface ICustomerModuleService extends IModuleService {
414
411
  * country_code: "us",
415
412
  * })
416
413
  */
417
- addAddresses(address: CreateCustomerAddressDTO, sharedContext?: Context): Promise<CustomerAddressDTO>;
414
+ createAddresses(address: CreateCustomerAddressDTO, sharedContext?: Context): Promise<CustomerAddressDTO>;
418
415
  /**
419
416
  * This method updates an address.
420
417
  *
@@ -667,7 +664,7 @@ export interface ICustomerModuleService extends IModuleService {
667
664
  * To retrieve a list of customers using their IDs:
668
665
  *
669
666
  * ```ts
670
- * const customers = await customerModuleService.list({
667
+ * const customers = await customerModuleService.listCustomers({
671
668
  * id: ["cus_123", "cus_321"],
672
669
  * })
673
670
  * ```
@@ -675,7 +672,7 @@ export interface ICustomerModuleService extends IModuleService {
675
672
  * To specify relations that should be retrieved within the customers:
676
673
  *
677
674
  * ```ts
678
- * const customers = await customerModuleService.list(
675
+ * const customers = await customerModuleService.listCustomers(
679
676
  * {
680
677
  * id: ["cus_123", "cus_321"],
681
678
  * },
@@ -688,7 +685,7 @@ export interface ICustomerModuleService extends IModuleService {
688
685
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
689
686
  *
690
687
  * ```ts
691
- * const customers = await customerModuleService.list(
688
+ * const customers = await customerModuleService.listCustomers(
692
689
  * {
693
690
  * id: ["cus_123", "cus_321"],
694
691
  * },
@@ -700,7 +697,7 @@ export interface ICustomerModuleService extends IModuleService {
700
697
  * )
701
698
  * ```
702
699
  */
703
- list(filters?: FilterableCustomerProps, config?: FindConfig<CustomerDTO>, sharedContext?: Context): Promise<CustomerDTO[]>;
700
+ listCustomers(filters?: FilterableCustomerProps, config?: FindConfig<CustomerDTO>, sharedContext?: Context): Promise<CustomerDTO[]>;
704
701
  /**
705
702
  * This method retrieves a paginated list of customers along with the total count of available customers satisfying the provided filters.
706
703
  *
@@ -714,7 +711,7 @@ export interface ICustomerModuleService extends IModuleService {
714
711
  * To retrieve a list of customers using their IDs:
715
712
  *
716
713
  * ```ts
717
- * const [customers, count] = await customerModuleService.list({
714
+ * const [customers, count] = await customerModuleService.listAndCountCustomers({
718
715
  * id: ["cus_123", "cus_321"],
719
716
  * })
720
717
  * ```
@@ -722,7 +719,7 @@ export interface ICustomerModuleService extends IModuleService {
722
719
  * To specify relations that should be retrieved within the customers:
723
720
  *
724
721
  * ```ts
725
- * const [customers, count] = await customerModuleService.list(
722
+ * const [customers, count] = await customerModuleService.listAndCountCustomers(
726
723
  * {
727
724
  * id: ["cus_123", "cus_321"],
728
725
  * },
@@ -735,7 +732,7 @@ export interface ICustomerModuleService extends IModuleService {
735
732
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
736
733
  *
737
734
  * ```ts
738
- * const [customers, count] = await customerModuleService.list(
735
+ * const [customers, count] = await customerModuleService.listAndCountCustomers(
739
736
  * {
740
737
  * id: ["cus_123", "cus_321"],
741
738
  * },
@@ -747,7 +744,7 @@ export interface ICustomerModuleService extends IModuleService {
747
744
  * )
748
745
  * ```
749
746
  */
750
- listAndCount(filters?: FilterableCustomerProps, config?: FindConfig<CustomerDTO>, sharedContext?: Context): Promise<[CustomerDTO[], number]>;
747
+ listAndCountCustomers(filters?: FilterableCustomerProps, config?: FindConfig<CustomerDTO>, sharedContext?: Context): Promise<[CustomerDTO[], number]>;
751
748
  /**
752
749
  * This method retrieves a paginated list of customer groups based on optional filters and configuration.
753
750
  *
@@ -861,9 +858,9 @@ export interface ICustomerModuleService extends IModuleService {
861
858
  * If there are no related records, the promise resolves to `void`.
862
859
  *
863
860
  * @example
864
- * await customerModuleService.softDelete(["cus_123"])
861
+ * await customerModuleService.softDeleteCustomers(["cus_123"])
865
862
  */
866
- softDelete<TReturnableLinkableKeys extends string = string>(customerIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
863
+ softDeleteCustomers<TReturnableLinkableKeys extends string = string>(customerIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
867
864
  /**
868
865
  * This method restores soft deleted customer by their IDs.
869
866
  *
@@ -875,9 +872,9 @@ export interface ICustomerModuleService extends IModuleService {
875
872
  * If there are no related records restored, the promise resolves to `void`.
876
873
  *
877
874
  * @example
878
- * await customerModuleService.restore(["cus_123"])
875
+ * await customerModuleService.restoreCustomers(["cus_123"])
879
876
  */
880
- restore<TReturnableLinkableKeys extends string = string>(customerIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
877
+ restoreCustomers<TReturnableLinkableKeys extends string = string>(customerIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
881
878
  /**
882
879
  * This method soft deletes customer groups by their IDs.
883
880
  *
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/customer/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,kBAAkB,EAClB,WAAW,EACX,wBAAwB,EACxB,gBAAgB,EAChB,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,uBAAuB,EACvB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,sBAAsB,EACtB,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,UAA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CAAC,CAAA;IAE5D;;;;;;;;;;;;;OAaG;IACH,wBAAwB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EACtE,QAAQ,EAAE,MAAM,EAAE,EAClB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EAClD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE5D;;;;;;;;;;;;;;OAcG;IACH,qBAAqB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EACnE,QAAQ,EAAE,MAAM,EAAE,EAClB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC7D"}
@@ -53,8 +53,8 @@ export interface RepositoryService<T = any> extends BaseRepositoryService<T> {
53
53
  export interface TreeRepositoryService<T = any> extends BaseRepositoryService<T> {
54
54
  find(options?: FindOptions<T>, transformOptions?: RepositoryTransformOptions, context?: Context): Promise<T[]>;
55
55
  findAndCount(options?: FindOptions<T>, transformOptions?: RepositoryTransformOptions, context?: Context): Promise<[T[], number]>;
56
- create(data: unknown, context?: Context): Promise<T>;
57
- delete(id: string, context?: Context): Promise<void>;
56
+ create(data: unknown[], context?: Context): Promise<T[]>;
57
+ delete(ids: string[], context?: Context): Promise<void>;
58
58
  }
59
59
  /**
60
60
  * @interface
@@ -1 +1 @@
1
- {"version":3,"file":"repository-service.d.ts","sourceRoot":"","sources":["../../src/dal/repository-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,cAAc,EACd,WAAW,EACX,WAAW,IAAI,mBAAmB,EA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IsDmlEntity: unique symbol;
2
+ export type DMLSchema = Record<string, PropertyType<any> | RelationshipType<any>>;
3
+ export interface IDmlEntity<Schema extends DMLSchema> {
4
+ [IsDmlEntity]: true;
5
+ schema: Schema;
6
+ }
7
+ /**
8
+ * The supported data types
9
+ */
10
+ export type KnownDataTypes = "text" | "boolean" | "enum" | "number" | "bigNumber" | "dateTime" | "array" | "json" | "id";
11
+ /**
12
+ * List of available relationships at DML level
13
+ */
14
+ export type RelationshipTypes = "hasOne" | "hasMany" | "belongsTo" | "manyToMany";
15
+ /**
16
+ * The meta-data returned by the property parse method
17
+ */
18
+ export type PropertyMetadata = {
19
+ fieldName: string;
20
+ defaultValue?: any;
21
+ nullable: boolean;
22
+ dataType: {
23
+ name: KnownDataTypes;
24
+ options?: Record<string, any>;
25
+ };
26
+ indexes: {
27
+ name?: string;
28
+ type: "index" | "unique";
29
+ }[];
30
+ relationships: RelationshipMetadata[];
31
+ };
32
+ /**
33
+ * Definition of a property type. It should have a parse
34
+ * method to get the metadata and a type-only property
35
+ * to get its static type
36
+ */
37
+ export type PropertyType<T> = {
38
+ $dataType: T;
39
+ parse(fieldName: string): PropertyMetadata;
40
+ };
41
+ /**
42
+ * Options accepted by all the relationships
43
+ */
44
+ export type RelationshipOptions = {
45
+ /**
46
+ * The name of the relationship as defined
47
+ * in the other data model. This is only required
48
+ * by the `belongsTo` relationship method.
49
+ */
50
+ mappedBy?: string;
51
+ } & Record<string, any>;
52
+ /**
53
+ * The meta-data returned by the relationship parse
54
+ * method
55
+ */
56
+ export type RelationshipMetadata = {
57
+ name: string;
58
+ type: RelationshipTypes;
59
+ entity: unknown;
60
+ nullable: boolean;
61
+ mappedBy?: string;
62
+ options: Record<string, any>;
63
+ };
64
+ /**
65
+ * Definition of a relationship type. It should have a parse
66
+ * method to get the metadata and a type-only property
67
+ * to get its static type
68
+ */
69
+ export type RelationshipType<T> = {
70
+ $dataType: T;
71
+ type: RelationshipTypes;
72
+ parse(relationshipName: string): RelationshipMetadata;
73
+ };
74
+ /**
75
+ * A type-only representation of a MikroORM entity. Since we generate
76
+ * entities on the fly, we need a way to represent a type-safe
77
+ * constructor and its instance properties.
78
+ */
79
+ export interface EntityConstructor<Props> extends Function {
80
+ new (): Props;
81
+ }
82
+ /**
83
+ * From a IDmlEntity, infer the foreign keys name and type for belongsTo relation meaning hasOne and ManyToOne
84
+ */
85
+ export type InferForeignKeys<T> = T extends IDmlEntity<infer Schema> ? {
86
+ [K in keyof Schema as Schema[K] extends {
87
+ type: infer Type;
88
+ } ? Type extends RelationshipTypes ? `${K & string}_id` : K : K]: Schema[K] extends {
89
+ type: infer Type;
90
+ } ? Type extends RelationshipTypes ? string : Schema[K] : Schema[K];
91
+ } : never;
92
+ /**
93
+ * Helper to infer the schema type of a DmlEntity
94
+ */
95
+ export type Infer<T> = T extends IDmlEntity<infer Schema> ? EntityConstructor<{
96
+ [K in keyof Schema]: Schema[K]["$dataType"] extends () => infer R ? Infer<R> : Schema[K]["$dataType"] extends (() => infer R) | null ? Infer<R> | null : Schema[K]["$dataType"];
97
+ } & InferForeignKeys<T>> : never;
98
+ /**
99
+ * Extracts names of relationships from a schema
100
+ */
101
+ export type ExtractEntityRelations<Schema extends Record<string, any>, OfType extends RelationshipTypes> = {
102
+ [K in keyof Schema & string]: Schema[K] extends RelationshipType<any> ? Schema[K] extends {
103
+ type: OfType;
104
+ } ? K : never : never;
105
+ }[keyof Schema & string][];
106
+ /**
107
+ * The actions to cascade from a given entity to its
108
+ * relationship.
109
+ */
110
+ export type EntityCascades<Relationships> = {
111
+ /**
112
+ * The related models to delete when a record of this data model
113
+ * is deleted.
114
+ */
115
+ delete?: Relationships;
116
+ };
117
+ /**
118
+ * Helper to infer the instance type of a IDmlEntity once converted as an Entity
119
+ */
120
+ export type InferTypeOf<T extends IDmlEntity<any>> = InstanceType<Infer<T>>;
121
+ /**
122
+ * Used in the module sdk internal service to infer propert entity typings from DML
123
+ */
124
+ export type InferEntityType<T extends any> = T extends IDmlEntity<any> ? InferTypeOf<T> : T;
125
+ /**
126
+ * Infer all indexable properties from a DML entity including inferred foreign keys and excluding relationship
127
+ */
128
+ export type InferIndexableProperties<T> = keyof (T extends IDmlEntity<infer Schema> ? {
129
+ [K in keyof Schema as Schema[K] extends {
130
+ type: infer Type;
131
+ } ? Type extends RelationshipTypes ? never : K : K]: string;
132
+ } & InferForeignKeys<T> : never);
133
+ export type EntityIndex<TSchema extends DMLSchema = DMLSchema, TWhere = string> = {
134
+ /**
135
+ * The name of the index. If not provided,
136
+ * Medusa generates the name.
137
+ */
138
+ name?: string;
139
+ /**
140
+ * When enabled, a unique index is created on the specified
141
+ * properties.
142
+ */
143
+ unique?: boolean;
144
+ /**
145
+ * The list of properties to create the index on.
146
+ */
147
+ on: InferIndexableProperties<IDmlEntity<TSchema>>[];
148
+ /**
149
+ * Conditions to restrict which records are indexed.
150
+ */
151
+ where?: TWhere;
152
+ };
153
+ export type SimpleQueryValue = string | number | boolean | null;
154
+ export type NeQueryValue = {
155
+ $ne: SimpleQueryValue;
156
+ };
157
+ export type QueryValue = SimpleQueryValue | NeQueryValue;
158
+ export type QueryCondition<T extends DMLSchema = DMLSchema> = {
159
+ [K in keyof IDmlEntity<T>["schema"]]?: T[K] extends object ? QueryValue : QueryCondition<T>;
160
+ };
161
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dml/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,eAA4B,CAAA;AAEpD,MAAM,MAAM,SAAS,GAAG,MAAM,CAC5B,MAAM,EACN,YAAY,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAC1C,CAAA;AAED,MAAM,WAAW,UAAU,CAAC,MAAM,SAAS,SAAS;IAClD,CAAC,WAAW,CAAC,EAAE,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,G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AS,EACrC,MAAM,GAAG,MAAM,IACb;IACF;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,EAAE,EAAE,wBAAwB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,EAAE,CAAA;IACnD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;AAC/D,MAAM,MAAM,YAAY,GAAG;IAAE,GAAG,EAAE,gBAAgB,CAAA;CAAE,CAAA;AACpD,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG,YAAY,CAAA;AAExD,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,IAAI;KAC3D,CAAC,IAAI,MAAM,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GACtD,UAAU,GACV,cAAc,CAAC,CAAC,CAAC;CACtB,CAAA"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IsDmlEntity = void 0;
4
+ exports.IsDmlEntity = Symbol.for("isDmlEntity");
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dml/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Context } from "../shared-context";
2
- export type Subscriber<T = unknown> = (data: T, eventName: string) => Promise<void>;
2
+ export type Subscriber<TData = unknown> = (data: TData, eventName: string) => Promise<void>;
3
3
  export type SubscriberContext = {
4
4
  subscriberId: string;
5
5
  };
@@ -7,30 +7,22 @@ export type SubscriberDescriptor = {
7
7
  id: string;
8
8
  subscriber: Subscriber;
9
9
  };
10
- export type EventHandler<T = unknown> = (data: T, eventName: string) => Promise<void>;
11
- export type EmitData<T = unknown> = {
12
- eventName: string;
13
- data: T;
14
- options?: Record<string, unknown>;
10
+ export type EventHandler<TData = unknown> = (data: TData, eventName: string) => Promise<void>;
11
+ export type EventMetadata = Record<string, unknown> & {
12
+ eventGroupId?: string;
15
13
  };
16
- export type MessageBody<T = unknown> = {
17
- metadata: {
18
- service: string;
19
- action: string;
20
- object: string;
21
- eventGroupId?: string;
22
- };
23
- data: T;
24
- };
25
- export type Message<T = unknown> = {
14
+ export type MessageBody<TData = unknown> = {
26
15
  eventName: string;
27
- body: MessageBody<T>;
16
+ metadata?: EventMetadata;
17
+ data: TData;
18
+ };
19
+ export type Message<TData = unknown> = MessageBody<TData> & {
28
20
  options?: Record<string, unknown>;
29
21
  };
30
- export type RawMessageFormat<T = any> = {
22
+ export type RawMessageFormat<TData = any> = {
31
23
  eventName: string;
32
- data: T;
33
- service: string;
24
+ data: TData;
25
+ source: string;
34
26
  object: string;
35
27
  action?: string;
36
28
  context?: Pick<Context, "eventGroupId">;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/event-bus/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAE3C,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,OAAO,IAAI,CACpC,IAAI,EAAE,CAAC,EACP,SAAS,EAAE,MAAM,KACd,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAA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"}
@@ -1,9 +1,9 @@
1
- import { EmitData, Message, Subscriber, SubscriberContext } from "./common";
1
+ import { Message, Subscriber, SubscriberContext } from "./common";
2
2
  export interface IEventBusModuleService {
3
- emit<T>(eventName: string, data: T, options?: Record<string, unknown>): Promise<void>;
4
- emit<T>(data: EmitData<T>[]): Promise<void>;
5
- emit<T>(data: Message<T>[]): Promise<void>;
3
+ emit<T>(data: Message<T> | Message<T>[], options?: Record<string, unknown>): Promise<void>;
6
4
  subscribe(eventName: string | symbol, subscriber: Subscriber, context?: SubscriberContext): this;
7
5
  unsubscribe(eventName: string | symbol, subscriber: Subscriber, context?: SubscriberContext): this;
6
+ releaseGroupedEvents(eventGroupId: string): Promise<void>;
7
+ clearGroupedEvents(eventGroupId: string): Promise<void>;
8
8
  }
9
9
  //# sourceMappingURL=event-bus-module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"event-bus-module.d.ts","sourceRoot":"","sources":["../../src/event-bus/event-bus-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE3E,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,CAAC,EACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,CAAC,EACP,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAChC,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3C,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1C,SAAS,CACP,SAAS,EAAE,MAAM,GAAG,MAAM,EAC1B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,iBAAiB,GAC1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