@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
@@ -2,7 +2,7 @@ import { FindConfig } from "../common";
2
2
  import { RestoreReturn, SoftDeleteReturn } from "../dal";
3
3
  import { IModuleService } from "../modules-sdk";
4
4
  import { Context } from "../shared-context";
5
- import { AddPriceListPricesDTO, AddPricesDTO, AddRulesDTO, CalculatedPriceSet, CreatePriceListDTO, CreatePriceRuleDTO, CreatePriceSetDTO, CreateRuleTypeDTO, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceProps, FilterablePriceRuleProps, FilterablePriceSetProps, FilterableRuleTypeProps, PriceDTO, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, RemovePriceSetRulesDTO, RuleTypeDTO, SetPriceListRulesDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpdateRuleTypeDTO, UpsertPriceSetDTO } from "./common";
5
+ import { AddPriceListPricesDTO, AddPricesDTO, CalculatedPriceSet, CreatePriceListDTO, CreatePriceRuleDTO, CreatePriceSetDTO, FilterablePriceListProps, FilterablePriceListRuleProps, FilterablePriceProps, FilterablePriceRuleProps, FilterablePriceSetProps, PriceDTO, PriceListDTO, PriceListRuleDTO, PriceRuleDTO, PriceSetDTO, PricingContext, PricingFilters, RemovePriceListRulesDTO, SetPriceListRulesDTO, UpdatePriceListDTO, UpdatePriceListPricesDTO, UpdatePriceRuleDTO, UpdatePriceSetDTO, UpsertPriceSetDTO } from "./common";
6
6
  /**
7
7
  * The main service interface for the Pricing Module.
8
8
  */
@@ -81,13 +81,13 @@ export interface IPricingModuleService extends IModuleService {
81
81
  *
82
82
  * ```ts
83
83
  * const priceSet =
84
- * await pricingModuleService.retrieve("pset_123")
84
+ * await pricingModuleService.retrievePriceSet("pset_123")
85
85
  * ```
86
86
  *
87
87
  * To specify relations that should be retrieved:
88
88
  *
89
89
  * ```ts
90
- * const priceSet = await pricingModuleService.retrieve(
90
+ * const priceSet = await pricingModuleService.retrievePriceSet(
91
91
  * "pset_123",
92
92
  * {
93
93
  * relations: ["prices"],
@@ -95,7 +95,7 @@ export interface IPricingModuleService extends IModuleService {
95
95
  * )
96
96
  * ```
97
97
  */
98
- retrieve(id: string, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO>;
98
+ retrievePriceSet(id: string, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO>;
99
99
  /**
100
100
  * This method is used to retrieve a paginated list of price sets based on optional filters and configuration.
101
101
  *
@@ -111,7 +111,7 @@ export interface IPricingModuleService extends IModuleService {
111
111
  * To retrieve a list of price sets using their IDs:
112
112
  *
113
113
  * ```ts
114
- * const priceSets = await pricingModuleService.list({
114
+ * const priceSets = await pricingModuleService.listPriceSets({
115
115
  * id: ["pset_123", "pset_321"],
116
116
  * })
117
117
  * ```
@@ -119,7 +119,7 @@ export interface IPricingModuleService extends IModuleService {
119
119
  * To specify relations that should be retrieved within the price sets:
120
120
  *
121
121
  * ```ts
122
- * const priceSets = await pricingModuleService.list(
122
+ * const priceSets = await pricingModuleService.listPriceSets(
123
123
  * {
124
124
  * id: ["pset_123", "pset_321"],
125
125
  * },
@@ -132,7 +132,7 @@ export interface IPricingModuleService extends IModuleService {
132
132
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
133
133
  *
134
134
  * ```ts
135
- * const priceSets = await pricingModuleService.list(
135
+ * const priceSets = await pricingModuleService.listPriceSets(
136
136
  * {
137
137
  * id: ["pset_123", "pset_321"],
138
138
  * },
@@ -144,7 +144,7 @@ export interface IPricingModuleService extends IModuleService {
144
144
  * )
145
145
  * ```
146
146
  */
147
- list(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO[]>;
147
+ listPriceSets(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO[]>;
148
148
  /**
149
149
  * This method is used to retrieve a paginated list of price sets along with the total count of available price sets satisfying the provided filters.
150
150
  *
@@ -161,7 +161,7 @@ export interface IPricingModuleService extends IModuleService {
161
161
  *
162
162
  * ```ts
163
163
  * const [priceSets, count] =
164
- * await pricingModuleService.listAndCount({
164
+ * await pricingModuleService.listAndCountPriceSets({
165
165
  * id: ["pset_123", "pset_321"],
166
166
  * })
167
167
  * ```
@@ -170,7 +170,7 @@ export interface IPricingModuleService extends IModuleService {
170
170
  *
171
171
  * ```ts
172
172
  * const [priceSets, count] =
173
- * await pricingModuleService.listAndCount(
173
+ * await pricingModuleService.listAndCountPriceSets(
174
174
  * {
175
175
  * id: ["pset_123", "pset_321"],
176
176
  * },
@@ -184,7 +184,7 @@ export interface IPricingModuleService extends IModuleService {
184
184
  *
185
185
  * ```ts
186
186
  * const [priceSets, count] =
187
- * await pricingModuleService.listAndCount(
187
+ * await pricingModuleService.listAndCountPriceSets(
188
188
  * {
189
189
  * id: ["pset_123", "pset_321"],
190
190
  * },
@@ -196,7 +196,7 @@ export interface IPricingModuleService extends IModuleService {
196
196
  * )
197
197
  * ```
198
198
  */
199
- listAndCount(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<[PriceSetDTO[], number]>;
199
+ listAndCountPriceSets(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<[PriceSetDTO[], number]>;
200
200
  /**
201
201
  * This method is used to create a new price set.
202
202
  *
@@ -208,7 +208,7 @@ export interface IPricingModuleService extends IModuleService {
208
208
  * To create a default price set, don't pass any rules. For example:
209
209
  *
210
210
  * ```ts
211
- * const priceSet = await pricingModuleService.create({
211
+ * const priceSet = await pricingModuleService.createPriceSets({
212
212
  * rules: [],
213
213
  * prices: [
214
214
  * {
@@ -232,11 +232,7 @@ export interface IPricingModuleService extends IModuleService {
232
232
  * To create a price set and associate it with rule types:
233
233
  *
234
234
  * ```ts
235
- * const priceSet = await pricingModuleService.create({
236
- * rules: [
237
- * { rule_attribute: "region_id" },
238
- * { rule_attribute: "city" },
239
- * ],
235
+ * const priceSet = await pricingModuleService.createPriceSets({
240
236
  * prices: [
241
237
  * {
242
238
  * amount: 300,
@@ -264,7 +260,7 @@ export interface IPricingModuleService extends IModuleService {
264
260
  * })
265
261
  * ```
266
262
  */
267
- create(data: CreatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
263
+ createPriceSets(data: CreatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
268
264
  /**
269
265
  * This method is used to create multiple price sets.
270
266
  *
@@ -273,7 +269,7 @@ export interface IPricingModuleService extends IModuleService {
273
269
  * @returns {Promise<PriceSetDTO[]>} The list of created price sets.
274
270
  *
275
271
  * @example
276
- * const priceSets = await pricingModuleService.create([
272
+ * const priceSets = await pricingModuleService.createPriceSets([
277
273
  * // default price set
278
274
  * {
279
275
  * rules: [],
@@ -296,10 +292,6 @@ export interface IPricingModuleService extends IModuleService {
296
292
  * },
297
293
  * // price set with rules
298
294
  * {
299
- * rules: [
300
- * { rule_attribute: "region_id" },
301
- * { rule_attribute: "city" },
302
- * ],
303
295
  * prices: [
304
296
  * {
305
297
  * amount: 300,
@@ -327,7 +319,7 @@ export interface IPricingModuleService extends IModuleService {
327
319
  * },
328
320
  * ])
329
321
  */
330
- create(data: CreatePriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
322
+ createPriceSets(data: CreatePriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
331
323
  /**
332
324
  * This method updates existing price sets, or creates new ones if they don't exist.
333
325
  *
@@ -336,7 +328,7 @@ export interface IPricingModuleService extends IModuleService {
336
328
  * @returns {Promise<PriceSetDTO[]>} The updated and created price sets.
337
329
  *
338
330
  * @example
339
- * const priceSets = await pricingModuleService.upsert([
331
+ * const priceSets = await pricingModuleService.upsertPriceSets([
340
332
  * {
341
333
  * prices: [
342
334
  * {
@@ -345,13 +337,9 @@ export interface IPricingModuleService extends IModuleService {
345
337
  * },
346
338
  * ],
347
339
  * },
348
- * {
349
- * id: "pset_123",
350
- * rules: [{ rule_attribute: "region_id" }],
351
- * },
352
340
  * ])
353
341
  */
354
- upsert(data: UpsertPriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
342
+ upsertPriceSets(data: UpsertPriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
355
343
  /**
356
344
  * This method updates the price set if it exists, or creates a new ones if it doesn't.
357
345
  *
@@ -360,12 +348,12 @@ export interface IPricingModuleService extends IModuleService {
360
348
  * @returns {Promise<PriceSetDTO>} The updated or created price set.
361
349
  *
362
350
  * @example
363
- * const priceSet = await pricingModuleService.upsert({
351
+ * const priceSet = await pricingModuleService.upsertPriceSets({
364
352
  * id: "pset_123",
365
- * rules: [{ rule_attribute: "region_id" }],
353
+ * prices: [{ amount: 100, currency_code: "USD" }],
366
354
  * })
367
355
  */
368
- upsert(data: UpsertPriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
356
+ upsertPriceSets(data: UpsertPriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
369
357
  /**
370
358
  * This method is used to update a price set.
371
359
  *
@@ -375,14 +363,14 @@ export interface IPricingModuleService extends IModuleService {
375
363
  * @returns {Promise<PriceSetDTO>} The updated price set.
376
364
  *
377
365
  * @example
378
- * const priceSet = await pricingModuleService.update(
366
+ * const priceSet = await pricingModuleService.updatePriceSets(
379
367
  * "pset_123",
380
368
  * {
381
- * rules: [{ rule_attribute: "region_id" }],
369
+ * prices: [{ amount: 100, currency_code: "USD" }],
382
370
  * }
383
371
  * )
384
372
  */
385
- update(id: string, data: UpdatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
373
+ updatePriceSets(id: string, data: UpdatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO>;
386
374
  /**
387
375
  * This method is used to update a list of price sets determined by the selector filters.
388
376
  *
@@ -392,32 +380,16 @@ export interface IPricingModuleService extends IModuleService {
392
380
  * @returns {Promise<PriceSetDTO[]>} The updated price sets.
393
381
  *
394
382
  * @example
395
- * const priceSets = await pricingModuleService.update(
383
+ * const priceSets = await pricingModuleService.updatePriceSets(
396
384
  * {
397
385
  * id: ["pset_123", "pset_321"],
398
386
  * },
399
387
  * {
400
- * rules: [{ rule_attribute: "region_id" }],
388
+ * prices: [{ amount: 100, currency_code: "USD" }],
401
389
  * }
402
390
  * )
403
391
  */
404
- update(selector: FilterablePriceSetProps, data: UpdatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO[]>;
405
- /**
406
- * This method remove rules from a price set.
407
- *
408
- * @param {RemovePriceSetRulesDTO[]} data - The rules to remove per price set.
409
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
410
- * @returns {Promise<void>} Resolves when rules are successfully removed.
411
- *
412
- * @example
413
- * await pricingModuleService.removeRules([
414
- * {
415
- * id: "pset_123",
416
- * rules: ["region_id"],
417
- * },
418
- * ])
419
- */
420
- removeRules(data: RemovePriceSetRulesDTO[], sharedContext?: Context): Promise<void>;
392
+ updatePriceSets(selector: FilterablePriceSetProps, data: UpdatePriceSetDTO, sharedContext?: Context): Promise<PriceSetDTO[]>;
421
393
  /**
422
394
  * This method deletes price sets by their IDs.
423
395
  *
@@ -426,9 +398,9 @@ export interface IPricingModuleService extends IModuleService {
426
398
  * @returns {Promise<void>} Resolves when the price sets are successfully deleted.
427
399
  *
428
400
  * @example
429
- * await pricingModuleService.delete(["pset_123", "pset_321"])
401
+ * await pricingModuleService.deletePriceSets(["pset_123", "pset_321"])
430
402
  */
431
- delete(ids: string[], sharedContext?: Context): Promise<void>;
403
+ deletePriceSets(ids: string[], sharedContext?: Context): Promise<void>;
432
404
  /**
433
405
  * This method adds prices to a price set.
434
406
  *
@@ -526,237 +498,6 @@ export interface IPricingModuleService extends IModuleService {
526
498
  * ])
527
499
  */
528
500
  addPrices(data: AddPricesDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
529
- /**
530
- * This method adds rules to a price set.
531
- *
532
- * @param {AddRulesDTO} data - The data defining the price set to add the rules to, along with the rules to add.
533
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
534
- * @returns {Promise<PriceSetDTO>} The price set that the rules were added to.
535
- *
536
- * @example
537
- * const priceSet = await pricingModuleService.addRules({
538
- * priceSetId: "pset_123",
539
- * rules: [
540
- * {
541
- * attribute: "region_id",
542
- * },
543
- * ],
544
- * })
545
- */
546
- addRules(data: AddRulesDTO, sharedContext?: Context): Promise<PriceSetDTO>;
547
- /**
548
- * This method adds rules to multiple price sets.
549
- *
550
- * @param {AddRulesDTO[]} data - The data defining the rules to add per price set.
551
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
552
- * @returns {Promise<PriceSetDTO[]>} The list of the price sets that the rules were added to.
553
- *
554
- * @example
555
- * const priceSets = await pricingModuleService.addRules([
556
- * {
557
- * priceSetId: "pset_123",
558
- * rules: [
559
- * {
560
- * attribute: "region_id",
561
- * },
562
- * ],
563
- * },
564
- * {
565
- * priceSetId: "pset_321",
566
- * rules: [
567
- * {
568
- * attribute: "customer_group_id",
569
- * },
570
- * ],
571
- * },
572
- * ])
573
- */
574
- addRules(data: AddRulesDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
575
- /**
576
- * This method is used to retrieve a rule type by its ID and and optionally based on the provided configurations.
577
- *
578
- * @param {string} id - The ID of the rule type to retrieve.
579
- * @param {FindConfig<RuleTypeDTO>} config -
580
- * The configurations determining how the rule type is retrieved. Its properties, such as `select` or `relations`, accept the
581
- * attributes or relations associated with a rule type.
582
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
583
- * @returns {Promise<RuleTypeDTO>} The retrieved rule type.
584
- *
585
- * @example
586
- * A simple example that retrieves a rule type by its code:
587
- *
588
- * ```ts
589
- * const ruleType =
590
- * await pricingModuleService.retrieveRuleType("rul-typ_123")
591
- * ```
592
- *
593
- * To specify relations that should be retrieved:
594
- *
595
- * ```ts
596
- * const ruleType = await pricingModuleService.retrieveRuleType(
597
- * "rul-typ_123",
598
- * {
599
- * relations: ["price_sets"],
600
- * }
601
- * )
602
- * ```
603
- */
604
- retrieveRuleType(id: string, config?: FindConfig<RuleTypeDTO>, sharedContext?: Context): Promise<RuleTypeDTO>;
605
- /**
606
- * This method is used to retrieve a paginated list of rule types based on optional filters and configuration.
607
- *
608
- * @param {FilterableRuleTypeProps} filters - The filters to apply on the retrieved rule types.
609
- * @param {FindConfig<RuleTypeDTO>} config -
610
- * The configurations determining how the rule types are retrieved. Its properties, such as `select` or `relations`, accept the
611
- * attributes or relations associated with a rule type.
612
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
613
- * @returns {Promise<RuleTypeDTO[]>} The list of rule types.
614
- *
615
- * @example
616
- *
617
- * To retrieve a list of rule types using their IDs:
618
- *
619
- * ```ts
620
- * const ruleTypes = await pricingModuleService.listRuleTypes({
621
- * id: ["rul-typ_123", "rul-typ_321"],
622
- * })
623
- * ```
624
- *
625
- * To specify relations that should be retrieved:
626
- *
627
- * ```ts
628
- * const ruleTypes = await pricingModuleService.listRuleTypes(
629
- * {
630
- * id: ["rul-typ_123", "rul-typ_321"],
631
- * },
632
- * {
633
- * relations: ["price_sets"],
634
- * }
635
- * )
636
- * ```
637
- *
638
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
639
- *
640
- * ```ts
641
- * const ruleTypes = await pricingModuleService.listRuleTypes(
642
- * {
643
- * id: ["rul-typ_123", "rul-typ_321"],
644
- * },
645
- * {
646
- * relations: ["price_sets"],
647
- * take: 20,
648
- * skip: 2,
649
- * }
650
- * )
651
- * ```
652
- */
653
- listRuleTypes(filters?: FilterableRuleTypeProps, config?: FindConfig<RuleTypeDTO>, sharedContext?: Context): Promise<RuleTypeDTO[]>;
654
- /**
655
- * This method is used to retrieve a paginated list of rule types along with the total count of available rule types satisfying the provided filters.
656
- *
657
- * @param {FilterableRuleTypeProps} filters - The filters to apply on the retrieved rule types.
658
- * @param {FindConfig<RuleTypeDTO>} config -
659
- * The configurations determining how the rule types are retrieved. Its properties, such as `select` or `relations`, accept the
660
- * attributes or relations associated with a rule type.
661
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
662
- * @returns {Promise<[RuleTypeDTO[], number]>} The list of rule types along with their total count.
663
- *
664
- * @example
665
- *
666
- * To retrieve a list of rule types using their IDs:
667
- *
668
- * ```ts
669
- * const [ruleTypes, count] =
670
- * await pricingModuleService.listAndCountRuleTypes({
671
- * id: ["rul-typ_123", "rul-typ_321"],
672
- * })
673
- * ```
674
- *
675
- * To specify attributes that should be retrieved within the rule types:
676
- *
677
- * ```ts
678
- * const [ruleTypes, count] =
679
- * await pricingModuleService.listAndCountRuleTypes(
680
- * {
681
- * id: ["rul-typ_123", "rul-typ_321"],
682
- * },
683
- * {
684
- * relations: ["price_sets"],
685
- * }
686
- * )
687
- * ```
688
- *
689
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
690
- *
691
- * ```ts
692
- * const [ruleTypes, count] =
693
- * await pricingModuleService.listAndCountRuleTypes(
694
- * {
695
- * id: ["rul-typ_123", "rul-typ_321"],
696
- * },
697
- * {
698
- * relations: ["price_sets"],
699
- * take: 20,
700
- * skip: 2,
701
- * }
702
- * )
703
- * ```
704
- */
705
- listAndCountRuleTypes(filters?: FilterableRuleTypeProps, config?: FindConfig<RuleTypeDTO>, sharedContext?: Context): Promise<[RuleTypeDTO[], number]>;
706
- /**
707
- * This method is used to create new rule types.
708
- *
709
- * @param {CreateRuleTypeDTO[]} data - The rule types to create.
710
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
711
- * @returns {Promise<RuleTypeDTO[]>} The list of created rule types.
712
- *
713
- * @example
714
- * const ruleTypes = await pricingModuleService.createRuleTypes([
715
- * {
716
- * name: "Region",
717
- * rule_attribute: "region_id",
718
- * },
719
- * {
720
- * name: "Customer Group",
721
- * rule_attribute: "customer_group_id",
722
- * },
723
- * ])
724
- */
725
- createRuleTypes(data: CreateRuleTypeDTO[], sharedContext?: Context): Promise<RuleTypeDTO[]>;
726
- /**
727
- * This method is used to update existing rule types with the provided data.
728
- *
729
- * @param {UpdateRuleTypeDTO[]} data - The rule types to update, each having the attributes that should be updated in a rule type.
730
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
731
- * @returns {Promise<RuleTypeDTO[]>} The list of updated rule types.
732
- *
733
- * @example
734
- * const ruleTypes = await pricingModuleService.updateRuleTypes([
735
- * {
736
- * id: "rul-typ_123",
737
- * name: "Region",
738
- * },
739
- * {
740
- * id: "rul-typ_321",
741
- * name: "Customer Group",
742
- * },
743
- * ])
744
- */
745
- updateRuleTypes(data: UpdateRuleTypeDTO[], sharedContext?: Context): Promise<RuleTypeDTO[]>;
746
- /**
747
- * This method is used to delete rule types based on the provided IDs.
748
- *
749
- * @param {string[]} ruleTypeIds - The IDs of the rule types to delete.
750
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
751
- * @returns {Promise<void>} Resolves once the rule types are deleted.
752
- *
753
- * @example
754
- * const ruleTypes = await pricingModuleService.deleteRuleTypes([
755
- * "rul-typ_123",
756
- * "rul-typ_321",
757
- * ])
758
- */
759
- deleteRuleTypes(ruleTypeIds: string[], sharedContext?: Context): Promise<void>;
760
501
  /**
761
502
  * This method is used to retrieve a paginated list of prices based on optional filters and configuration.
762
503
  *
@@ -1039,7 +780,7 @@ export interface IPricingModuleService extends IModuleService {
1039
780
  * await pricingModuleService.createPriceRules([
1040
781
  * {
1041
782
  * value: "VIP",
1042
- * rule_type_id: "rul-typ_123",
783
+ * attribute: "customer_group",
1043
784
  * price_set_id: "pset_123",
1044
785
  * },
1045
786
  * ])
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/pricing/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,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,4BAA4B,EAC5B,oBAAoB,EACpB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,sBAAsB,E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,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,gBAAgB,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAExC;;;;;;;;;;;;OAYG;IACH,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,EAAE,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,kBAAkB,CAChB,IAAI,EAAE,qBAAqB,EAAE,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;IAEtB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,qBAAqB,CACnB,IAAI,EAAE,wBAAwB,EAAE,EAChC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;IAEtB;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,CACf,IAAI,EAAE,oBAAoB,EAC1B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB;;;;;;;;;;;;;;OAcG;IACH,oBAAoB,CAClB,IAAI,EAAE,uBAAuB,EAC7B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,YAAY,CAAC,CAAA;IAExB;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
@@ -4,8 +4,8 @@ export interface CreatePriceListPriceWorkflowDTO {
4
4
  amount: number;
5
5
  currency_code: string;
6
6
  variant_id: string;
7
- max_quantity?: number;
8
- min_quantity?: number;
7
+ max_quantity?: number | null;
8
+ min_quantity?: number | null;
9
9
  rules?: Record<string, string>;
10
10
  }
11
11
  export interface UpdatePriceListPriceWorkflowDTO {
@@ -13,8 +13,8 @@ export interface UpdatePriceListPriceWorkflowDTO {
13
13
  variant_id: string;
14
14
  amount?: number;
15
15
  currency_code?: string;
16
- max_quantity?: number;
17
- min_quantity?: number;
16
+ max_quantity?: number | null;
17
+ min_quantity?: number | null;
18
18
  rules?: Record<string, string>;
19
19
  }
20
20
  export interface CreatePriceListWorkflowInputDTO {
@@ -29,7 +29,7 @@ export interface CreatePriceListWorkflowInputDTO {
29
29
  export interface UpdatePriceListWorkflowInputDTO {
30
30
  id: string;
31
31
  title?: string;
32
- description?: string;
32
+ description?: string | null;
33
33
  starts_at?: string | null;
34
34
  ends_at?: string | null;
35
35
  status?: PriceListStatus;
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/pricing/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE1C,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EA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