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

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 +7 -56
  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 +7 -7
  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
@@ -1,7 +1,6 @@
1
1
  import { BaseFilterable, OperatorMap } from "../../dal";
2
2
  import { CreateMoneyAmountDTO, MoneyAmountDTO, UpdateMoneyAmountDTO } from "./money-amount";
3
3
  import { PriceDTO } from "./price";
4
- import { RuleTypeDTO } from "./rule-type";
5
4
  /**
6
5
  * @enum
7
6
  *
@@ -30,6 +29,10 @@ export interface PriceListDTO {
30
29
  * The price list's title.
31
30
  */
32
31
  title?: string;
32
+ /**
33
+ * The price list's description.
34
+ */
35
+ description?: string;
33
36
  /**
34
37
  * The price list is enabled starting from this date.
35
38
  */
@@ -38,6 +41,10 @@ export interface PriceListDTO {
38
41
  * The price list's status.
39
42
  */
40
43
  status?: PriceListStatus;
44
+ /**
45
+ * The price list's type.
46
+ */
47
+ type?: PriceListType;
41
48
  /**
42
49
  * The price list expires after this date.
43
50
  */
@@ -47,7 +54,7 @@ export interface PriceListDTO {
47
54
  */
48
55
  rules_count?: number;
49
56
  /**
50
- * The associated price set money amounts.
57
+ * The associated price list money amounts.
51
58
  *
52
59
  * @expandable
53
60
  */
@@ -59,22 +66,7 @@ export interface PriceListDTO {
59
66
  */
60
67
  money_amounts?: MoneyAmountDTO[];
61
68
  /**
62
- * The associated rule types.
63
- *
64
- * @expandable
65
- */
66
- rule_types?: RuleTypeDTO[];
67
- /**
68
- * The price set's rules.
69
- *
70
- * @expandable
71
- */
72
- rules?: PriceListRuleDTO[];
73
- /**
74
- * The price set's rules.
75
- *
76
- * @privateRemarks
77
- * Do we need both this and `rules`?
69
+ * The price list's rules.
78
70
  *
79
71
  * @expandable
80
72
  */
@@ -91,9 +83,9 @@ export interface CreatePriceListPriceDTO extends CreateMoneyAmountDTO {
91
83
  */
92
84
  price_set_id: string;
93
85
  /**
94
- * The rules to add to the price. The object's keys are rule types' `rule_attribute` attribute, and values are the value of that rule associated with this price.
86
+ * The rules to add to the price. The object's keys are the attribute, and values are the value of that rule associated with this price.
95
87
  */
96
- rules?: CreatePriceSetPriceRules;
88
+ rules?: CreatePriceListPriceRules;
97
89
  }
98
90
  export interface UpdatePriceListPriceDTO extends UpdateMoneyAmountDTO {
99
91
  /**
@@ -101,24 +93,24 @@ export interface UpdatePriceListPriceDTO extends UpdateMoneyAmountDTO {
101
93
  */
102
94
  price_set_id: string;
103
95
  /**
104
- * The rules to add to the price. The object's keys are rule types' `rule_attribute` attribute, and values are the value of that rule associated with this price.
96
+ * The rules to add to the price. The object's keys are the attribute, and values are the value of that rule associated with this price.
105
97
  */
106
- rules?: CreatePriceSetPriceRules;
98
+ rules?: CreatePriceListPriceRules;
107
99
  }
108
100
  /**
109
101
  * @interface
110
102
  *
111
- * The price rules to be set for each price in the price set.
103
+ * The price rules to be set for each price in the price list.
112
104
  *
113
- * Each key of the object is a rule type's `rule_attribute`, and its value
105
+ * Each key of the object is an attribute, and its value
114
106
  * is the values of the rule.
115
107
  */
116
- export interface CreatePriceSetPriceRules extends Record<string, string> {
108
+ export interface CreatePriceListPriceRules extends Record<string, string> {
117
109
  }
118
110
  /**
119
111
  * @interface
120
112
  *
121
- * The price list's rules to be set. Each key of the object is a rule type's `rule_attribute`, and its value
113
+ * The price list's rules to be set. Each key of the object the attribute, and its value
122
114
  * is the values of the rule.
123
115
  */
124
116
  export interface CreatePriceListRules extends Record<string, string[]> {
@@ -153,10 +145,6 @@ export interface CreatePriceListDTO {
153
145
  * The price list's type.
154
146
  */
155
147
  type?: PriceListType;
156
- /**
157
- * The number of rules associated with the price list.
158
- */
159
- rules_count?: number;
160
148
  /**
161
149
  * The rules to be created and associated with the price list.
162
150
  */
@@ -183,7 +171,7 @@ export interface UpdatePriceListDTO {
183
171
  /**
184
172
  * The price list's description.
185
173
  */
186
- description?: string;
174
+ description?: string | null;
187
175
  /**
188
176
  * The price list is enabled starting from this date.
189
177
  */
@@ -196,10 +184,6 @@ export interface UpdatePriceListDTO {
196
184
  * The price list's status.
197
185
  */
198
186
  status?: PriceListStatus;
199
- /**
200
- * The number of rules associated with the price list.
201
- */
202
- rules_count?: number;
203
187
  /**
204
188
  * The rules to be created and associated with the price list.
205
189
  */
@@ -250,20 +234,11 @@ export interface FilterablePriceListRuleProps extends BaseFilterable<FilterableP
250
234
  * The values to filter price list rules by.
251
235
  */
252
236
  value?: string[];
253
- /**
254
- * Filter price list rules by the ID of their associated rule types.
255
- */
256
- rule_type?: string[];
257
237
  /**
258
238
  * Filter price list rules by the ID of their associated price lists.
259
239
  */
260
240
  price_list_id?: string[];
261
241
  }
262
- export interface FilterablePriceListRuleValueProps extends BaseFilterable<FilterablePriceListRuleValueProps> {
263
- id?: string[];
264
- value?: string[];
265
- price_list_rule_id?: string[];
266
- }
267
242
  /**
268
243
  * @interface
269
244
  *
@@ -275,30 +250,21 @@ export interface PriceListRuleDTO {
275
250
  */
276
251
  id: string;
277
252
  /**
278
- * The value of the rule.
253
+ * The attribute of the rule.
279
254
  *
280
- * @privateRemarks
281
- * Shouldn't this be in PriceListRuleValueDTO only?
282
255
  */
283
- value: string;
256
+ attribute: string;
284
257
  /**
285
- * The associated rule type.
258
+ * The value of the rule.
286
259
  *
287
- * @expandable
288
260
  */
289
- rule_type: RuleTypeDTO;
261
+ value: string | string[];
290
262
  /**
291
263
  * The associated price list.
292
264
  *
293
265
  * @expandable
294
266
  */
295
267
  price_list: PriceListDTO;
296
- /**
297
- * The associated rule values.
298
- *
299
- * @expandable
300
- */
301
- price_list_rule_values?: PriceListRuleValueDTO[];
302
268
  }
303
269
  /**
304
270
  * @interface
@@ -306,14 +272,6 @@ export interface PriceListRuleDTO {
306
272
  * The price list rule to create.
307
273
  */
308
274
  export interface CreatePriceListRuleDTO {
309
- /**
310
- * The ID of a rule type to be associated with the price list rule.
311
- */
312
- rule_type_id?: string;
313
- /**
314
- * The ID of a rule type or the details of an existing rule type to be associated with the price list rule.
315
- */
316
- rule_type?: string | RuleTypeDTO;
317
275
  /**
318
276
  * The ID of a price list to be associated with the price list rule.
319
277
  */
@@ -323,64 +281,6 @@ export interface CreatePriceListRuleDTO {
323
281
  */
324
282
  price_list?: string | PriceListDTO;
325
283
  }
326
- /**
327
- * @interface
328
- *
329
- * The attributes to update in a price list rule.
330
- */
331
- export interface UpdatePriceListRuleDTO {
332
- /**
333
- * The ID of the price list rule to update.
334
- */
335
- id: string;
336
- /**
337
- * The ID of a price list to be associated with the price list rule.
338
- */
339
- price_list_id?: string;
340
- /**
341
- * The ID of a rule type to be associated with the price list rule.
342
- */
343
- rule_type_id?: string;
344
- /**
345
- * The ID of a price list to be associated with the price list rule.
346
- */
347
- price_list?: string;
348
- /**
349
- * The ID of a rule type or the details of an existing rule type to be associated with the price list rule.
350
- */
351
- rule_type?: string;
352
- }
353
- /**
354
- * @interface
355
- *
356
- * The price list rule value's details.
357
- */
358
- export interface PriceListRuleValueDTO {
359
- /**
360
- * The price list rule value's ID.
361
- */
362
- id: string;
363
- /**
364
- * The rule's value.
365
- */
366
- value: string;
367
- /**
368
- * The associated price list rule.
369
- *
370
- * @expandable
371
- */
372
- price_list_rule: PriceListRuleDTO;
373
- }
374
- export interface CreatePriceListRuleValueDTO {
375
- value: string;
376
- price_list_rule_id?: string;
377
- price_list_rule?: PriceListRuleDTO | string;
378
- }
379
- export interface UpdatePriceListRuleValueDTO {
380
- id: string;
381
- value: string;
382
- price_list_rule_id: string;
383
- }
384
284
  /**
385
285
  * @interface
386
286
  *
@@ -422,7 +322,7 @@ export interface SetPriceListRulesDTO {
422
322
  */
423
323
  price_list_id: string;
424
324
  /**
425
- * The rules to add to the price list. Each key of the object is a rule type's `rule_attribute`, and its value
325
+ * The rules to add to the price list. Each key of the object is the attribute, and its value
426
326
  * is the value(s) of the rule.
427
327
  */
428
328
  rules: Record<string, string | string[]>;
@@ -438,7 +338,7 @@ export interface RemovePriceListRulesDTO {
438
338
  */
439
339
  price_list_id: string;
440
340
  /**
441
- * The rules to remove from the price list. Each item being a rule type's `rule_attribute`.
341
+ * The rules to remove from the price list. Each item being the attribute.
442
342
  */
443
343
  rules: string[];
444
344
  }
@@ -1 +1 @@
1
- {"version":3,"file":"price-list.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACrB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhD;;;;;;GAMG;AAEH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,UAAU,CAAA;AAE/C;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3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IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,eAAe,EAAE,gBAAgB,CAAA;CAClC;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,eAAe,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAA;CAC5C;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,MAAM,EAAE,uBAAuB,EAAE,CAAA;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,MAAM,EAAE,uBAAuB,EAAE,CAAA;CAClC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB"}
1
+ {"version":3,"file":"price-list.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,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AAE,MAAM,CAAA;IACrB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CACzC;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB"}
@@ -1,6 +1,5 @@
1
1
  import { BaseFilterable } from "../../dal";
2
2
  import { PriceSetDTO } from "./price-set";
3
- import { RuleTypeDTO } from "./rule-type";
4
3
  /**
5
4
  * @interface
6
5
  *
@@ -21,15 +20,9 @@ export interface PriceRuleDTO {
21
20
  */
22
21
  price_set: PriceSetDTO;
23
22
  /**
24
- * The ID of the associated rule type.
23
+ * The attribute of the price rule
25
24
  */
26
- rule_type_id: string;
27
- /**
28
- * The associated rule type.
29
- *
30
- * @expandable
31
- */
32
- rule_type: RuleTypeDTO;
25
+ attribute: string;
33
26
  /**
34
27
  * The value of the price rule.
35
28
  */
@@ -71,9 +64,9 @@ export interface CreatePriceRuleDTO {
71
64
  */
72
65
  price_set_id?: string;
73
66
  /**
74
- * The ID of the associated rule type.
67
+ * The attribute of the price rule
75
68
  */
76
- rule_type_id?: string;
69
+ attribute: string;
77
70
  /**
78
71
  * The value of the price rule.
79
72
  */
@@ -96,7 +89,10 @@ export interface CreatePriceRuleDTO {
96
89
  export interface UpdatePriceRuleDTO {
97
90
  id: string;
98
91
  price_set_id?: string;
99
- rule_type_id?: string;
92
+ /**
93
+ * The attribute of the price rule
94
+ */
95
+ attribute?: string;
100
96
  /**
101
97
  * The value of the price rule.
102
98
  */
@@ -131,9 +127,5 @@ export interface FilterablePriceRuleProps extends BaseFilterable<FilterablePrice
131
127
  * The IDs to filter the price rule's associated price set.
132
128
  */
133
129
  price_set_id?: string[];
134
- /**
135
- * The IDs to filter the price rule's associated rule type.
136
- */
137
- rule_type_id?: string[];
138
130
  }
139
131
  //# sourceMappingURL=price-rule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"price-rule.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,SAAS,EAAE,WAAW,CAAA;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,SAAS,EAAE,WAAW,CAAA;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB"}
1
+ {"version":3,"file":"price-rule.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,SAAS,EAAE,WAAW,CAAA;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB"}
@@ -2,8 +2,6 @@ import { BaseFilterable } from "../../dal";
2
2
  import { Context } from "../../shared-context";
3
3
  import { BigNumberInput, BigNumberValue } from "../../totals";
4
4
  import { CreateMoneyAmountDTO, FilterableMoneyAmountProps, MoneyAmountDTO } from "./money-amount";
5
- import { CreatePriceSetPriceRules } from "./price-list";
6
- import { RuleTypeDTO } from "./rule-type";
7
5
  export interface PricingRepositoryService {
8
6
  calculatePrices(pricingFilters: PricingFilters, pricingContext: PricingContext, context: Context): Promise<CalculatedPriceSetDTO[]>;
9
7
  }
@@ -50,10 +48,6 @@ export interface PriceSetDTO {
50
48
  * The calculated price based on the context.
51
49
  */
52
50
  calculated_price?: CalculatedPriceSet;
53
- /**
54
- * The rule types applied on this price set.
55
- */
56
- rule_types?: RuleTypeDTO[];
57
51
  }
58
52
  /**
59
53
  * @interface
@@ -183,22 +177,12 @@ export interface CalculatedPriceSet {
183
177
  /**
184
178
  * @interface
185
179
  *
186
- * The rules to add to a price set.
180
+ * The price rules to be set for each price in the price set.
181
+ *
182
+ * Each key of the object is a the attribute, and its value
183
+ * is the values of the rule.
187
184
  */
188
- export interface AddRulesDTO {
189
- /**
190
- * The ID of the price set to add the rules to.
191
- */
192
- priceSetId: string;
193
- /**
194
- * The rules to add to a price set.
195
- */
196
- rules: {
197
- /**
198
- * The value of the rule's `rule_attribute` attribute.
199
- */
200
- attribute: string;
201
- }[];
185
+ export interface CreatePriceSetPriceRules extends Record<string, string> {
202
186
  }
203
187
  /**
204
188
  * @interface
@@ -207,7 +191,7 @@ export interface AddRulesDTO {
207
191
  */
208
192
  export interface CreatePricesDTO extends CreateMoneyAmountDTO {
209
193
  /**
210
- * The rules to add to the price. The object's keys are rule types' `rule_attribute` attribute, and values are the value of that rule associated with this price.
194
+ * The rules to add to the price. The object's keys are the attribute, and values are the value of that rule associated with this price.
211
195
  */
212
196
  rules?: CreatePriceSetPriceRules;
213
197
  }
@@ -226,36 +210,12 @@ export interface AddPricesDTO {
226
210
  */
227
211
  prices: CreatePricesDTO[];
228
212
  }
229
- /**
230
- * @interface
231
- *
232
- * The rules to remove from a price set.
233
- */
234
- export interface RemovePriceSetRulesDTO {
235
- /**
236
- * The ID of the price set.
237
- */
238
- id: string;
239
- /**
240
- * The rules to remove. Each string is the `rule_attribute` of a rule to remove.
241
- */
242
- rules: string[];
243
- }
244
213
  /**
245
214
  * @interface
246
215
  *
247
216
  * A price set to create.
248
217
  */
249
218
  export interface CreatePriceSetDTO {
250
- /**
251
- * The rules to associate with the price set.
252
- */
253
- rules?: {
254
- /**
255
- * the value of the rule's `rule_attribute` attribute.
256
- */
257
- rule_attribute: string;
258
- }[];
259
219
  /**
260
220
  * The prices to create and add to this price set.
261
221
  */
@@ -279,15 +239,6 @@ export interface UpsertPriceSetDTO extends UpdatePriceSetDTO {
279
239
  * The data to update in a price set.
280
240
  */
281
241
  export interface UpdatePriceSetDTO {
282
- /**
283
- * The rules to associate with the price set.
284
- */
285
- rules?: {
286
- /**
287
- * the value of the rule's `rule_attribute` attribute.
288
- */
289
- rule_attribute: string;
290
- }[];
291
242
  /**
292
243
  * The prices to create and add to this price set.
293
244
  */
@@ -306,6 +257,6 @@ export interface FilterablePriceSetProps extends BaseFilterable<FilterablePriceS
306
257
  /**
307
258
  * Filters to apply on a price set's associated money amounts.
308
259
  */
309
- money_amounts?: FilterableMoneyAmountProps;
260
+ prices?: FilterableMoneyAmountProps;
310
261
  }
311
262
  //# sourceMappingURL=price-set.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"price-set.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7D,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACf,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEzC,MAAM,WAAW,wBAAwB;IACvC,eAAe,CACb,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAAA;CACpC;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,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