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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (458) hide show
  1. package/dist/api-key/service.d.ts +24 -24
  2. package/dist/api-key/service.d.ts.map +1 -1
  3. package/dist/auth/service.d.ts +18 -18
  4. package/dist/auth/service.d.ts.map +1 -1
  5. package/dist/bundles.d.ts +2 -1
  6. package/dist/bundles.d.ts.map +1 -1
  7. package/dist/bundles.js +3 -2
  8. package/dist/bundles.js.map +1 -1
  9. package/dist/cart/mutations.d.ts +8 -0
  10. package/dist/cart/mutations.d.ts.map +1 -1
  11. package/dist/cart/mutations.js.map +1 -1
  12. package/dist/cart/service.d.ts +30 -52
  13. package/dist/cart/service.d.ts.map +1 -1
  14. package/dist/common/common.d.ts +6 -1
  15. package/dist/common/common.d.ts.map +1 -1
  16. package/dist/currency/service.d.ts +9 -9
  17. package/dist/currency/service.d.ts.map +1 -1
  18. package/dist/customer/mutations.d.ts +27 -26
  19. package/dist/customer/mutations.d.ts.map +1 -1
  20. package/dist/customer/service.d.ts +40 -43
  21. package/dist/customer/service.d.ts.map +1 -1
  22. package/dist/dal/repository-service.d.ts +2 -2
  23. package/dist/dal/repository-service.d.ts.map +1 -1
  24. package/dist/dml/index.d.ts +161 -0
  25. package/dist/dml/index.d.ts.map +1 -0
  26. package/dist/dml/index.js +5 -0
  27. package/dist/dml/index.js.map +1 -0
  28. package/dist/event-bus/common.d.ts +12 -20
  29. package/dist/event-bus/common.d.ts.map +1 -1
  30. package/dist/event-bus/event-bus-module.d.ts +4 -4
  31. package/dist/event-bus/event-bus-module.d.ts.map +1 -1
  32. package/dist/event-bus/event-bus.d.ts +2 -4
  33. package/dist/event-bus/event-bus.d.ts.map +1 -1
  34. package/dist/file/service.d.ts +12 -12
  35. package/dist/file/service.d.ts.map +1 -1
  36. package/dist/fulfillment/mutations/service-zone.d.ts +1 -1
  37. package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
  38. package/dist/fulfillment/service.d.ts +27 -27
  39. package/dist/fulfillment/service.d.ts.map +1 -1
  40. package/dist/http/currency/admin/entities.d.ts +14 -0
  41. package/dist/http/currency/admin/entities.d.ts.map +1 -0
  42. package/dist/http/currency/admin/entities.js +3 -0
  43. package/dist/http/currency/admin/entities.js.map +1 -0
  44. package/dist/http/currency/admin/index.d.ts +2 -0
  45. package/dist/http/currency/admin/index.d.ts.map +1 -0
  46. package/dist/{inventory/bundle.js → http/currency/admin/index.js} +2 -3
  47. package/dist/http/currency/admin/index.js.map +1 -0
  48. package/dist/http/currency/index.d.ts +2 -0
  49. package/dist/http/currency/index.d.ts.map +1 -0
  50. package/dist/{region__legacy → http/currency}/index.js +1 -1
  51. package/dist/http/currency/index.js.map +1 -0
  52. package/dist/http/fulfillment-provider/admin/entities.d.ts +1 -5
  53. package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -1
  54. package/dist/http/fulfillment-set/admin/entities.d.ts +3 -1
  55. package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -1
  56. package/dist/http/index.d.ts +5 -0
  57. package/dist/http/index.d.ts.map +1 -1
  58. package/dist/http/index.js +5 -0
  59. package/dist/http/index.js.map +1 -1
  60. package/dist/http/inventory/{inventory.d.ts → admin/entities.d.ts} +2 -10
  61. package/dist/http/inventory/admin/entities.d.ts.map +1 -0
  62. package/dist/http/inventory/admin/entities.js +3 -0
  63. package/dist/http/inventory/admin/entities.js.map +1 -0
  64. package/dist/http/inventory/admin/index.d.ts +5 -0
  65. package/dist/http/inventory/admin/index.d.ts.map +1 -0
  66. package/dist/http/inventory/admin/index.js +21 -0
  67. package/dist/http/inventory/admin/index.js.map +1 -0
  68. package/dist/http/inventory/admin/payloads.d.ts +19 -0
  69. package/dist/http/inventory/admin/payloads.d.ts.map +1 -0
  70. package/dist/http/inventory/admin/payloads.js +3 -0
  71. package/dist/http/inventory/admin/payloads.js.map +1 -0
  72. package/dist/http/inventory/admin/queries.d.ts +18 -0
  73. package/dist/http/inventory/admin/queries.d.ts.map +1 -0
  74. package/dist/http/{product/store.js → inventory/admin/queries.js} +1 -1
  75. package/dist/http/inventory/admin/queries.js.map +1 -0
  76. package/dist/http/inventory/admin/responses.d.ts +10 -0
  77. package/dist/http/inventory/admin/responses.d.ts.map +1 -0
  78. package/dist/http/inventory/admin/responses.js +3 -0
  79. package/dist/http/inventory/admin/responses.js.map +1 -0
  80. package/dist/http/inventory/index.d.ts +1 -2
  81. package/dist/http/inventory/index.d.ts.map +1 -1
  82. package/dist/http/inventory/index.js +1 -2
  83. package/dist/http/inventory/index.js.map +1 -1
  84. package/dist/http/inventory-level/admin/entities.d.ts +11 -0
  85. package/dist/http/inventory-level/admin/entities.d.ts.map +1 -0
  86. package/dist/http/inventory-level/admin/entities.js +3 -0
  87. package/dist/http/inventory-level/admin/entities.js.map +1 -0
  88. package/dist/http/inventory-level/admin/index.d.ts +5 -0
  89. package/dist/http/inventory-level/admin/index.d.ts.map +1 -0
  90. package/dist/http/inventory-level/admin/index.js +21 -0
  91. package/dist/http/inventory-level/admin/index.js.map +1 -0
  92. package/dist/http/inventory-level/admin/payloads.d.ts +15 -0
  93. package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -0
  94. package/dist/http/inventory-level/admin/payloads.js +3 -0
  95. package/dist/http/inventory-level/admin/payloads.js.map +1 -0
  96. package/dist/http/inventory-level/admin/queries.d.ts +5 -0
  97. package/dist/http/inventory-level/admin/queries.d.ts.map +1 -0
  98. package/dist/http/{product/admin.js → inventory-level/admin/queries.js} +1 -1
  99. package/dist/http/inventory-level/admin/queries.js.map +1 -0
  100. package/dist/http/inventory-level/admin/responses.d.ts +9 -0
  101. package/dist/http/inventory-level/admin/responses.d.ts.map +1 -0
  102. package/dist/http/{inventory/inventory.js → inventory-level/admin/responses.js} +1 -1
  103. package/dist/http/inventory-level/admin/responses.js.map +1 -0
  104. package/dist/http/inventory-level/index.d.ts +2 -0
  105. package/dist/http/inventory-level/index.d.ts.map +1 -0
  106. package/dist/http/inventory-level/index.js +18 -0
  107. package/dist/http/inventory-level/index.js.map +1 -0
  108. package/dist/http/order/common.d.ts +2 -0
  109. package/dist/http/order/common.d.ts.map +1 -1
  110. package/dist/http/price-list/admin/entities.d.ts +21 -0
  111. package/dist/http/price-list/admin/entities.d.ts.map +1 -0
  112. package/dist/http/price-list/admin/entities.js +3 -0
  113. package/dist/http/price-list/admin/entities.js.map +1 -0
  114. package/dist/http/price-list/admin/index.d.ts +5 -0
  115. package/dist/http/price-list/admin/index.d.ts.map +1 -0
  116. package/dist/http/price-list/admin/index.js +21 -0
  117. package/dist/http/price-list/admin/index.js.map +1 -0
  118. package/dist/http/price-list/admin/payloads.d.ts +46 -0
  119. package/dist/http/price-list/admin/payloads.d.ts.map +1 -0
  120. package/dist/http/price-list/admin/payloads.js +3 -0
  121. package/dist/http/price-list/admin/payloads.js.map +1 -0
  122. package/dist/http/price-list/admin/queries.d.ts +14 -0
  123. package/dist/http/price-list/admin/queries.d.ts.map +1 -0
  124. package/dist/http/{product-category/store.js → price-list/admin/queries.js} +1 -1
  125. package/dist/http/price-list/admin/queries.js.map +1 -0
  126. package/dist/http/price-list/admin/responses.d.ts +12 -0
  127. package/dist/http/price-list/admin/responses.d.ts.map +1 -0
  128. package/dist/http/price-list/admin/responses.js +3 -0
  129. package/dist/http/price-list/admin/responses.js.map +1 -0
  130. package/dist/http/price-list/index.d.ts +2 -0
  131. package/dist/http/price-list/index.d.ts.map +1 -0
  132. package/dist/http/price-list/index.js +18 -0
  133. package/dist/http/price-list/index.js.map +1 -0
  134. package/dist/http/pricing/admin/{entitites.d.ts → entities.d.ts} +1 -1
  135. package/dist/http/pricing/admin/entities.d.ts.map +1 -0
  136. package/dist/http/pricing/admin/entities.js +3 -0
  137. package/dist/http/pricing/admin/entities.js.map +1 -0
  138. package/dist/http/pricing/admin/index.d.ts +1 -1
  139. package/dist/http/pricing/admin/index.d.ts.map +1 -1
  140. package/dist/http/pricing/admin/index.js +1 -1
  141. package/dist/http/pricing/admin/index.js.map +1 -1
  142. package/dist/http/product/admin/entitites.d.ts +26 -0
  143. package/dist/http/product/admin/entitites.d.ts.map +1 -0
  144. package/dist/http/product/admin/entitites.js.map +1 -0
  145. package/dist/http/product/admin/index.d.ts +5 -0
  146. package/dist/http/product/admin/index.d.ts.map +1 -0
  147. package/dist/http/product/admin/index.js +21 -0
  148. package/dist/http/product/admin/index.js.map +1 -0
  149. package/dist/http/product/admin/payloads.d.ts +152 -0
  150. package/dist/http/product/admin/payloads.d.ts.map +1 -0
  151. package/dist/http/product/admin/payloads.js +3 -0
  152. package/dist/http/product/admin/payloads.js.map +1 -0
  153. package/dist/http/product/admin/queries.d.ts +12 -0
  154. package/dist/http/product/admin/queries.d.ts.map +1 -0
  155. package/dist/http/product/admin/queries.js +3 -0
  156. package/dist/http/product/admin/queries.js.map +1 -0
  157. package/dist/http/product/admin/responses.d.ts +35 -0
  158. package/dist/http/product/admin/responses.d.ts.map +1 -0
  159. package/dist/http/product/admin/responses.js +3 -0
  160. package/dist/http/product/admin/responses.js.map +1 -0
  161. package/dist/http/product/common.d.ts +72 -106
  162. package/dist/http/product/common.d.ts.map +1 -1
  163. package/dist/http/product/store/entitites.d.ts +19 -0
  164. package/dist/http/product/store/entitites.d.ts.map +1 -0
  165. package/dist/http/product/store/entitites.js +3 -0
  166. package/dist/http/product/store/entitites.js.map +1 -0
  167. package/dist/http/product/store/index.d.ts +4 -0
  168. package/dist/http/product/store/index.d.ts.map +1 -0
  169. package/dist/http/product/store/index.js +20 -0
  170. package/dist/http/product/store/index.js.map +1 -0
  171. package/dist/http/product/store/queries.d.ts +13 -0
  172. package/dist/http/product/store/queries.d.ts.map +1 -0
  173. package/dist/http/product/store/queries.js +3 -0
  174. package/dist/http/product/store/queries.js.map +1 -0
  175. package/dist/http/product/store/responses.d.ts +9 -0
  176. package/dist/http/product/store/responses.d.ts.map +1 -0
  177. package/dist/http/product/store/responses.js +3 -0
  178. package/dist/http/product/store/responses.js.map +1 -0
  179. package/dist/http/product-category/admin/entities.d.ts +8 -0
  180. package/dist/http/product-category/admin/entities.d.ts.map +1 -0
  181. package/dist/http/product-category/admin/entities.js +3 -0
  182. package/dist/http/product-category/admin/entities.js.map +1 -0
  183. package/dist/http/product-category/admin/index.d.ts +5 -0
  184. package/dist/http/product-category/admin/index.d.ts.map +1 -0
  185. package/dist/http/product-category/admin/index.js +21 -0
  186. package/dist/http/product-category/admin/index.js.map +1 -0
  187. package/dist/http/product-category/admin/payloads.d.ts +25 -0
  188. package/dist/http/product-category/admin/payloads.d.ts.map +1 -0
  189. package/dist/http/product-category/admin/payloads.js +3 -0
  190. package/dist/http/product-category/admin/payloads.js.map +1 -0
  191. package/dist/http/product-category/admin/queries.d.ts +8 -0
  192. package/dist/http/product-category/admin/queries.d.ts.map +1 -0
  193. package/dist/http/product-category/{admin.js → admin/queries.js} +1 -1
  194. package/dist/http/product-category/admin/queries.js.map +1 -0
  195. package/dist/http/product-category/admin/responses.d.ts +12 -0
  196. package/dist/http/product-category/admin/responses.d.ts.map +1 -0
  197. package/dist/http/product-category/admin/responses.js +3 -0
  198. package/dist/http/product-category/admin/responses.js.map +1 -0
  199. package/dist/http/product-category/common.d.ts +31 -7
  200. package/dist/http/product-category/common.d.ts.map +1 -1
  201. package/dist/http/product-category/store/entities.d.ts +6 -0
  202. package/dist/http/product-category/store/entities.d.ts.map +1 -0
  203. package/dist/http/product-category/store/entities.js +3 -0
  204. package/dist/http/product-category/store/entities.js.map +1 -0
  205. package/dist/http/product-category/store/index.d.ts +4 -0
  206. package/dist/http/product-category/store/index.d.ts.map +1 -0
  207. package/dist/http/product-category/store/index.js +20 -0
  208. package/dist/http/product-category/store/index.js.map +1 -0
  209. package/dist/http/product-category/store/queries.d.ts +6 -0
  210. package/dist/http/product-category/store/queries.d.ts.map +1 -0
  211. package/dist/http/product-category/store/queries.js +3 -0
  212. package/dist/http/product-category/store/queries.js.map +1 -0
  213. package/dist/http/product-category/store/responses.d.ts +10 -0
  214. package/dist/http/product-category/store/responses.d.ts.map +1 -0
  215. package/dist/http/product-category/store/responses.js +3 -0
  216. package/dist/http/product-category/store/responses.js.map +1 -0
  217. package/dist/http/product-type/admin/entities.d.ts +4 -0
  218. package/dist/http/product-type/admin/entities.d.ts.map +1 -0
  219. package/dist/http/product-type/admin/entities.js +3 -0
  220. package/dist/http/product-type/admin/entities.js.map +1 -0
  221. package/dist/http/product-type/admin/index.d.ts +5 -0
  222. package/dist/http/product-type/admin/index.d.ts.map +1 -0
  223. package/dist/http/product-type/admin/index.js +21 -0
  224. package/dist/http/product-type/admin/index.js.map +1 -0
  225. package/dist/http/product-type/admin/payloads.d.ts +9 -0
  226. package/dist/http/product-type/admin/payloads.d.ts.map +1 -0
  227. package/dist/http/product-type/admin/payloads.js +3 -0
  228. package/dist/http/product-type/admin/payloads.js.map +1 -0
  229. package/dist/http/product-type/admin/queries.d.ts +13 -0
  230. package/dist/http/product-type/admin/queries.d.ts.map +1 -0
  231. package/dist/http/product-type/admin/queries.js +3 -0
  232. package/dist/http/product-type/admin/queries.js.map +1 -0
  233. package/dist/http/product-type/admin/responses.d.ts +12 -0
  234. package/dist/http/product-type/admin/responses.d.ts.map +1 -0
  235. package/dist/http/product-type/admin/responses.js +3 -0
  236. package/dist/http/product-type/admin/responses.js.map +1 -0
  237. package/dist/http/product-type/common.d.ts +9 -0
  238. package/dist/http/product-type/common.d.ts.map +1 -0
  239. package/dist/{inventory → http/product-type}/common.js.map +1 -1
  240. package/dist/http/product-type/index.d.ts +3 -0
  241. package/dist/http/product-type/index.d.ts.map +1 -0
  242. package/dist/http/product-type/index.js +19 -0
  243. package/dist/http/product-type/index.js.map +1 -0
  244. package/dist/http/product-type/store/entities.d.ts +4 -0
  245. package/dist/http/product-type/store/entities.d.ts.map +1 -0
  246. package/dist/http/product-type/store/entities.js +3 -0
  247. package/dist/http/product-type/store/entities.js.map +1 -0
  248. package/dist/http/product-type/store/index.d.ts +2 -0
  249. package/dist/http/product-type/store/index.d.ts.map +1 -0
  250. package/dist/http/product-type/store/index.js +18 -0
  251. package/dist/http/product-type/store/index.js.map +1 -0
  252. package/dist/http/promotion/admin/rule-attribute-options.d.ts +5 -0
  253. package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
  254. package/dist/http/sales-channel/admin/queries.d.ts +2 -4
  255. package/dist/http/sales-channel/admin/queries.d.ts.map +1 -1
  256. package/dist/http/shipping-option/admin/entities.d.ts +9 -1
  257. package/dist/http/shipping-option/admin/entities.d.ts.map +1 -1
  258. package/dist/http/shipping-option/admin/payloads.d.ts +8 -9
  259. package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -1
  260. package/dist/http/stock-locations/admin/entities.d.ts +2 -1
  261. package/dist/http/stock-locations/admin/entities.d.ts.map +1 -1
  262. package/dist/http/store/admin/entities.d.ts +23 -0
  263. package/dist/http/store/admin/entities.d.ts.map +1 -0
  264. package/dist/http/store/admin/entities.js +3 -0
  265. package/dist/http/store/admin/entities.js.map +1 -0
  266. package/dist/http/store/admin/index.d.ts +5 -0
  267. package/dist/http/store/admin/index.d.ts.map +1 -0
  268. package/dist/http/store/admin/index.js +21 -0
  269. package/dist/http/store/admin/index.js.map +1 -0
  270. package/dist/http/store/admin/payloads.d.ts +14 -0
  271. package/dist/http/store/admin/payloads.d.ts.map +1 -0
  272. package/dist/http/store/admin/payloads.js +3 -0
  273. package/dist/http/store/admin/payloads.js.map +1 -0
  274. package/dist/http/store/admin/queries.d.ts +10 -0
  275. package/dist/http/store/admin/queries.d.ts.map +1 -0
  276. package/dist/http/store/admin/queries.js +3 -0
  277. package/dist/http/store/admin/queries.js.map +1 -0
  278. package/dist/http/store/admin/responses.d.ts +10 -0
  279. package/dist/http/store/admin/responses.d.ts.map +1 -0
  280. package/dist/http/store/admin/responses.js +3 -0
  281. package/dist/http/store/admin/responses.js.map +1 -0
  282. package/dist/http/store/index.d.ts +2 -0
  283. package/dist/http/store/index.d.ts.map +1 -0
  284. package/dist/http/store/index.js +18 -0
  285. package/dist/http/store/index.js.map +1 -0
  286. package/dist/index.d.ts +1 -1
  287. package/dist/index.d.ts.map +1 -1
  288. package/dist/index.js +1 -1
  289. package/dist/index.js.map +1 -1
  290. package/dist/inventory/common/reservation-item.d.ts +1 -1
  291. package/dist/inventory/index.d.ts +1 -2
  292. package/dist/inventory/index.d.ts.map +1 -1
  293. package/dist/inventory/index.js +1 -15
  294. package/dist/inventory/index.js.map +1 -1
  295. package/dist/inventory/mutations/reservation-item.d.ts +7 -7
  296. package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
  297. package/dist/inventory/service.d.ts +671 -640
  298. package/dist/inventory/service.d.ts.map +1 -1
  299. package/dist/joiner/index.d.ts +5 -2
  300. package/dist/joiner/index.d.ts.map +1 -1
  301. package/dist/modules-sdk/index.d.ts +12 -12
  302. package/dist/modules-sdk/index.d.ts.map +1 -1
  303. package/dist/modules-sdk/index.js +1 -1
  304. package/dist/modules-sdk/index.js.map +1 -1
  305. package/dist/modules-sdk/{internal-module-service.d.ts → medusa-internal-service.d.ts} +19 -18
  306. package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -0
  307. package/dist/{http/inventory/inventory-level.js → modules-sdk/medusa-internal-service.js} +1 -1
  308. package/dist/modules-sdk/medusa-internal-service.js.map +1 -0
  309. package/dist/notification/service.d.ts +15 -15
  310. package/dist/notification/service.d.ts.map +1 -1
  311. package/dist/order/common.d.ts +50 -1
  312. package/dist/order/common.d.ts.map +1 -1
  313. package/dist/order/mutations.d.ts +68 -17
  314. package/dist/order/mutations.d.ts.map +1 -1
  315. package/dist/order/service.d.ts +41 -30
  316. package/dist/order/service.d.ts.map +1 -1
  317. package/dist/pricing/common/index.d.ts +0 -2
  318. package/dist/pricing/common/index.d.ts.map +1 -1
  319. package/dist/pricing/common/index.js +0 -2
  320. package/dist/pricing/common/index.js.map +1 -1
  321. package/dist/pricing/common/money-amount.d.ts +2 -2
  322. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  323. package/dist/pricing/common/price-list.d.ts +25 -125
  324. package/dist/pricing/common/price-list.d.ts.map +1 -1
  325. package/dist/pricing/common/price-rule.d.ts +8 -16
  326. package/dist/pricing/common/price-rule.d.ts.map +1 -1
  327. package/dist/pricing/common/price-set.d.ts +6 -55
  328. package/dist/pricing/common/price-set.d.ts.map +1 -1
  329. package/dist/pricing/service.d.ts +31 -290
  330. package/dist/pricing/service.d.ts.map +1 -1
  331. package/dist/pricing/workflows.d.ts +5 -5
  332. package/dist/pricing/workflows.d.ts.map +1 -1
  333. package/dist/product/common.d.ts +99 -79
  334. package/dist/product/common.d.ts.map +1 -1
  335. package/dist/product/service.d.ts +322 -203
  336. package/dist/product/service.d.ts.map +1 -1
  337. package/dist/promotion/common/application-method.d.ts +1 -1
  338. package/dist/promotion/common/application-method.d.ts.map +1 -1
  339. package/dist/promotion/mutations.d.ts +6 -6
  340. package/dist/promotion/mutations.d.ts.map +1 -1
  341. package/dist/promotion/service.d.ts +29 -29
  342. package/dist/promotion/service.d.ts.map +1 -1
  343. package/dist/region/common.d.ts.map +1 -1
  344. package/dist/region/mutations.d.ts +4 -3
  345. package/dist/region/mutations.d.ts.map +1 -1
  346. package/dist/region/service.d.ts +31 -31
  347. package/dist/region/service.d.ts.map +1 -1
  348. package/dist/sales-channel/mutations.d.ts +4 -3
  349. package/dist/sales-channel/mutations.d.ts.map +1 -1
  350. package/dist/sales-channel/service.d.ts +28 -28
  351. package/dist/sales-channel/service.d.ts.map +1 -1
  352. package/dist/shared-context.d.ts +2 -3
  353. package/dist/shared-context.d.ts.map +1 -1
  354. package/dist/stock-location/common.d.ts +12 -17
  355. package/dist/stock-location/common.d.ts.map +1 -1
  356. package/dist/stock-location/index.d.ts +0 -1
  357. package/dist/stock-location/index.d.ts.map +1 -1
  358. package/dist/stock-location/index.js +0 -1
  359. package/dist/stock-location/index.js.map +1 -1
  360. package/dist/stock-location/service.d.ts +193 -180
  361. package/dist/stock-location/service.d.ts.map +1 -1
  362. package/dist/store/common/store.d.ts +31 -5
  363. package/dist/store/common/store.d.ts.map +1 -1
  364. package/dist/store/mutations/store.d.ts +14 -40
  365. package/dist/store/mutations/store.d.ts.map +1 -1
  366. package/dist/store/service.d.ts +32 -37
  367. package/dist/store/service.d.ts.map +1 -1
  368. package/dist/tax/mutations.d.ts +7 -6
  369. package/dist/tax/mutations.d.ts.map +1 -1
  370. package/dist/tax/service.d.ts +35 -35
  371. package/dist/tax/service.d.ts.map +1 -1
  372. package/dist/user/service.d.ts +22 -22
  373. package/dist/user/service.d.ts.map +1 -1
  374. package/dist/workflow/fulfillment/service-zones.d.ts +1 -1
  375. package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -1
  376. package/dist/workflow/order/create-fulfillment.d.ts +2 -2
  377. package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
  378. package/dist/workflow/order/create-return-order.d.ts +8 -7
  379. package/dist/workflow/order/create-return-order.d.ts.map +1 -1
  380. package/dist/workflow/order/create-shipment.d.ts +2 -1
  381. package/dist/workflow/order/create-shipment.d.ts.map +1 -1
  382. package/dist/workflow/order/index.d.ts +1 -0
  383. package/dist/workflow/order/index.d.ts.map +1 -1
  384. package/dist/workflow/order/index.js +1 -0
  385. package/dist/workflow/order/index.js.map +1 -1
  386. package/dist/workflow/order/receive-return.d.ts +17 -0
  387. package/dist/workflow/order/receive-return.d.ts.map +1 -0
  388. package/dist/workflow/order/receive-return.js +3 -0
  389. package/dist/workflow/order/receive-return.js.map +1 -0
  390. package/dist/workflow/price-list/create-price-list.d.ts +1 -2
  391. package/dist/workflow/price-list/create-price-list.d.ts.map +1 -1
  392. package/dist/workflow/product-category/index.d.ts +6 -6
  393. package/dist/workflow/product-category/index.d.ts.map +1 -1
  394. package/dist/workflow/reservation/create-reservations.d.ts +3 -3
  395. package/dist/workflow/reservation/create-reservations.d.ts.map +1 -1
  396. package/dist/workflow/reservation/update-reservations.d.ts +3 -3
  397. package/dist/workflow/reservation/update-reservations.d.ts.map +1 -1
  398. package/dist/workflows/products/mutations.d.ts +2 -2
  399. package/dist/workflows/products/mutations.d.ts.map +1 -1
  400. package/dist/workflows-sdk/service.d.ts +2 -2
  401. package/dist/workflows-sdk/service.d.ts.map +1 -1
  402. package/package.json +1 -2
  403. package/dist/http/inventory/inventory-level.d.ts +0 -20
  404. package/dist/http/inventory/inventory-level.d.ts.map +0 -1
  405. package/dist/http/inventory/inventory-level.js.map +0 -1
  406. package/dist/http/inventory/inventory.d.ts.map +0 -1
  407. package/dist/http/inventory/inventory.js.map +0 -1
  408. package/dist/http/pricing/admin/entitites.d.ts.map +0 -1
  409. package/dist/http/pricing/admin/entitites.js.map +0 -1
  410. package/dist/http/product/admin.d.ts +0 -99
  411. package/dist/http/product/admin.d.ts.map +0 -1
  412. package/dist/http/product/admin.js.map +0 -1
  413. package/dist/http/product/store.d.ts +0 -33
  414. package/dist/http/product/store.d.ts.map +0 -1
  415. package/dist/http/product/store.js.map +0 -1
  416. package/dist/http/product-category/admin.d.ts +0 -9
  417. package/dist/http/product-category/admin.d.ts.map +0 -1
  418. package/dist/http/product-category/admin.js.map +0 -1
  419. package/dist/http/product-category/store.d.ts +0 -9
  420. package/dist/http/product-category/store.d.ts.map +0 -1
  421. package/dist/http/product-category/store.js.map +0 -1
  422. package/dist/inventory/bundle.d.ts +0 -3
  423. package/dist/inventory/bundle.d.ts.map +0 -1
  424. package/dist/inventory/bundle.js.map +0 -1
  425. package/dist/inventory/common.d.ts +0 -495
  426. package/dist/inventory/common.d.ts.map +0 -1
  427. package/dist/inventory/service-next.d.ts +0 -937
  428. package/dist/inventory/service-next.d.ts.map +0 -1
  429. package/dist/inventory/service-next.js +0 -3
  430. package/dist/inventory/service-next.js.map +0 -1
  431. package/dist/modules-sdk/internal-module-service.d.ts.map +0 -1
  432. package/dist/modules-sdk/internal-module-service.js +0 -3
  433. package/dist/modules-sdk/internal-module-service.js.map +0 -1
  434. package/dist/modules-sdk/module-service.d.ts +0 -1
  435. package/dist/modules-sdk/module-service.d.ts.map +0 -1
  436. package/dist/modules-sdk/module-service.js +0 -1
  437. package/dist/modules-sdk/module-service.js.map +0 -1
  438. package/dist/pricing/common/price-set-rule-type.d.ts +0 -24
  439. package/dist/pricing/common/price-set-rule-type.d.ts.map +0 -1
  440. package/dist/pricing/common/price-set-rule-type.js +0 -3
  441. package/dist/pricing/common/price-set-rule-type.js.map +0 -1
  442. package/dist/pricing/common/rule-type.d.ts +0 -102
  443. package/dist/pricing/common/rule-type.d.ts.map +0 -1
  444. package/dist/pricing/common/rule-type.js +0 -3
  445. package/dist/pricing/common/rule-type.js.map +0 -1
  446. package/dist/region__legacy/common.d.ts +0 -44
  447. package/dist/region__legacy/common.d.ts.map +0 -1
  448. package/dist/region__legacy/common.js +0 -3
  449. package/dist/region__legacy/common.js.map +0 -1
  450. package/dist/region__legacy/index.d.ts +0 -2
  451. package/dist/region__legacy/index.d.ts.map +0 -1
  452. package/dist/region__legacy/index.js.map +0 -1
  453. package/dist/stock-location/service-next.d.ts +0 -279
  454. package/dist/stock-location/service-next.d.ts.map +0 -1
  455. package/dist/stock-location/service-next.js +0 -3
  456. package/dist/stock-location/service-next.js.map +0 -1
  457. /package/dist/http/{pricing → product}/admin/entitites.js +0 -0
  458. /package/dist/{inventory → http/product-type}/common.js +0 -0
@@ -16,20 +16,18 @@ export interface IStoreModuleService extends IModuleService {
16
16
  * @returns {Promise<StoreDTO[]>} The created stores.
17
17
  *
18
18
  * @example
19
- * const stores = await storeModuleService.create([
19
+ * const stores = await storeModuleService.createStores([
20
20
  * {
21
21
  * name: "Acme",
22
- * supported_currency_codes: ["usd", "eur"],
23
- * default_currency_code: "usd",
22
+ * supported_currencies: [{ currency_code: "usd", is_default: true }, { currency_code: "eur" }],
24
23
  * },
25
24
  * {
26
25
  * name: "Acme 2",
27
- * supported_currency_codes: ["usd"],
28
- * default_currency_code: "usd",
26
+ * supported_currencies: [{currency_code: "usd", is_default: true}],
29
27
  * },
30
28
  * ])
31
29
  */
32
- create(data: CreateStoreDTO[], sharedContext?: Context): Promise<StoreDTO[]>;
30
+ createStores(data: CreateStoreDTO[], sharedContext?: Context): Promise<StoreDTO[]>;
33
31
  /**
34
32
  * This method creates a store.
35
33
  *
@@ -38,13 +36,12 @@ export interface IStoreModuleService extends IModuleService {
38
36
  * @returns {Promise<StoreDTO>} The created store.
39
37
  *
40
38
  * @example
41
- * const store = await storeModuleService.create({
39
+ * const store = await storeModuleService.createStores({
42
40
  * name: "Acme",
43
- * supported_currency_codes: ["usd", "eur"],
44
- * default_currency_code: "usd",
41
+ * supported_currencies: [{ currency_code: "usd", is_default: true }, { currency_code: "eur" }],
45
42
  * })
46
43
  */
47
- create(data: CreateStoreDTO, sharedContext?: Context): Promise<StoreDTO>;
44
+ createStores(data: CreateStoreDTO, sharedContext?: Context): Promise<StoreDTO>;
48
45
  /**
49
46
  * This method updates or creates stores if they don't exist.
50
47
  *
@@ -53,19 +50,18 @@ export interface IStoreModuleService extends IModuleService {
53
50
  * @returns {Promise<StoreDTO[]>} The created or updated stores.
54
51
  *
55
52
  * @example
56
- * const stores = await storeModuleService.upsert([
53
+ * const stores = await storeModuleService.upsertStores([
57
54
  * {
58
55
  * id: "store_123",
59
56
  * name: "Acme",
60
57
  * },
61
58
  * {
62
59
  * name: "Acme 2",
63
- * supported_currency_codes: ["usd"],
64
- * default_currency_code: "usd",
60
+ * supported_currencies: [{currency_code: "usd", is_default: true}],
65
61
  * },
66
62
  * ])
67
63
  */
68
- upsert(data: UpsertStoreDTO[], sharedContext?: Context): Promise<StoreDTO[]>;
64
+ upsertStores(data: UpsertStoreDTO[], sharedContext?: Context): Promise<StoreDTO[]>;
69
65
  /**
70
66
  * This method updates or creates a store if it doesn't exist.
71
67
  *
@@ -74,12 +70,12 @@ export interface IStoreModuleService extends IModuleService {
74
70
  * @returns {Promise<StoreDTO>} The created or updated store.
75
71
  *
76
72
  * @example
77
- * const store = await storeModuleService.upsert({
73
+ * const store = await storeModuleService.upsertStores({
78
74
  * id: "store_123",
79
75
  * name: "Acme",
80
76
  * })
81
77
  */
82
- upsert(data: UpsertStoreDTO, sharedContext?: Context): Promise<StoreDTO>;
78
+ upsertStores(data: UpsertStoreDTO, sharedContext?: Context): Promise<StoreDTO>;
83
79
  /**
84
80
  * This method updates an existing store.
85
81
  *
@@ -89,11 +85,11 @@ export interface IStoreModuleService extends IModuleService {
89
85
  * @returns {Promise<StoreDTO>} The updated store.
90
86
  *
91
87
  * @example
92
- * const store = await storeModuleService.update("store_123", {
88
+ * const store = await storeModuleService.updateStores("store_123", {
93
89
  * name: "Acme",
94
90
  * })
95
91
  */
96
- update(id: string, data: UpdateStoreDTO, sharedContext?: Context): Promise<StoreDTO>;
92
+ updateStores(id: string, data: UpdateStoreDTO, sharedContext?: Context): Promise<StoreDTO>;
97
93
  /**
98
94
  * This method updates existing stores matching the specified filters.
99
95
  *
@@ -103,16 +99,15 @@ export interface IStoreModuleService extends IModuleService {
103
99
  * @returns {Promise<StoreDTO[]>} The updated stores.
104
100
  *
105
101
  * @example
106
- * const store = await storeModuleService.update(
102
+ * const store = await storeModuleService.updateStores(
107
103
  * {
108
104
  * name: ["Acme"],
109
105
  * },
110
106
  * {
111
- * default_currency_code: "usd",
112
107
  * }
113
108
  * )
114
109
  */
115
- update(selector: FilterableStoreProps, data: UpdateStoreDTO, sharedContext?: Context): Promise<StoreDTO[]>;
110
+ updateStores(selector: FilterableStoreProps, data: UpdateStoreDTO, sharedContext?: Context): Promise<StoreDTO[]>;
116
111
  /**
117
112
  * This method deletes stores by their IDs.
118
113
  *
@@ -121,9 +116,9 @@ export interface IStoreModuleService extends IModuleService {
121
116
  * @returns {Promise<void>} Resolves when the stores are deleted successfully.
122
117
  *
123
118
  * @example
124
- * await storeModuleService.delete(["store_123", "store_321"])
119
+ * await storeModuleService.deleteStores(["store_123", "store_321"])
125
120
  */
126
- delete(ids: string[], sharedContext?: Context): Promise<void>;
121
+ deleteStores(ids: string[], sharedContext?: Context): Promise<void>;
127
122
  /**
128
123
  * This method deletes a store by its ID.
129
124
  *
@@ -132,9 +127,9 @@ export interface IStoreModuleService extends IModuleService {
132
127
  * @returns {Promise<void>} Resolves when the store is deleted successfully.
133
128
  *
134
129
  * @example
135
- * await storeModuleService.delete("store_123")
130
+ * await storeModuleService.deleteStores("store_123")
136
131
  */
137
- delete(id: string, sharedContext?: Context): Promise<void>;
132
+ deleteStores(id: string, sharedContext?: Context): Promise<void>;
138
133
  /**
139
134
  * This method retrieves a store by its ID.
140
135
  *
@@ -145,9 +140,9 @@ export interface IStoreModuleService extends IModuleService {
145
140
  * @returns {Promise<StoreDTO>} The retrieved store.
146
141
  *
147
142
  * @example
148
- * const store = await storeModuleService.retrieve("store_123")
143
+ * const store = await storeModuleService.retrieveStore("store_123")
149
144
  */
150
- retrieve(id: string, config?: FindConfig<StoreDTO>, sharedContext?: Context): Promise<StoreDTO>;
145
+ retrieveStore(id: string, config?: FindConfig<StoreDTO>, sharedContext?: Context): Promise<StoreDTO>;
151
146
  /**
152
147
  * This method retrieves a paginated list of stores based on optional filters and configuration.
153
148
  *
@@ -161,7 +156,7 @@ export interface IStoreModuleService extends IModuleService {
161
156
  * To retrieve a list of stores using their IDs:
162
157
  *
163
158
  * ```ts
164
- * const stores = await storeModuleService.list({
159
+ * const stores = await storeModuleService.listStores({
165
160
  * id: ["store_123", "store_321"],
166
161
  * })
167
162
  * ```
@@ -169,7 +164,7 @@ export interface IStoreModuleService extends IModuleService {
169
164
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
170
165
  *
171
166
  * ```ts
172
- * const stores = await storeModuleService.list(
167
+ * const stores = await storeModuleService.listStores(
173
168
  * {
174
169
  * id: ["store_123", "store_321"],
175
170
  * },
@@ -180,7 +175,7 @@ export interface IStoreModuleService extends IModuleService {
180
175
  * )
181
176
  * ```
182
177
  */
183
- list(filters?: FilterableStoreProps, config?: FindConfig<StoreDTO>, sharedContext?: Context): Promise<StoreDTO[]>;
178
+ listStores(filters?: FilterableStoreProps, config?: FindConfig<StoreDTO>, sharedContext?: Context): Promise<StoreDTO[]>;
184
179
  /**
185
180
  * This method retrieves a paginated list of stores along with the total count of available stores satisfying the provided filters.
186
181
  *
@@ -194,7 +189,7 @@ export interface IStoreModuleService extends IModuleService {
194
189
  * To retrieve a list of stores using their IDs:
195
190
  *
196
191
  * ```ts
197
- * const [stores, count] = await storeModuleService.listAndCount(
192
+ * const [stores, count] = await storeModuleService.listAndCountStores(
198
193
  * {
199
194
  * id: ["store_123", "store_321"],
200
195
  * }
@@ -204,7 +199,7 @@ export interface IStoreModuleService extends IModuleService {
204
199
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
205
200
  *
206
201
  * ```ts
207
- * const [stores, count] = await storeModuleService.listAndCount(
202
+ * const [stores, count] = await storeModuleService.listAndCountStores(
208
203
  * {
209
204
  * id: ["store_123", "store_321"],
210
205
  * },
@@ -215,7 +210,7 @@ export interface IStoreModuleService extends IModuleService {
215
210
  * )
216
211
  * ```
217
212
  */
218
- listAndCount(filters?: FilterableStoreProps, config?: FindConfig<StoreDTO>, sharedContext?: Context): Promise<[StoreDTO[], number]>;
213
+ listAndCountStores(filters?: FilterableStoreProps, config?: FindConfig<StoreDTO>, sharedContext?: Context): Promise<[StoreDTO[], number]>;
219
214
  /**
220
215
  * This method soft deletes a store by its IDs.
221
216
  *
@@ -226,12 +221,12 @@ export interface IStoreModuleService extends IModuleService {
226
221
  * If there are no related records, the promise resolves to `void`.
227
222
  *
228
223
  * @example
229
- * await storeModuleService.softDelete([
224
+ * await storeModuleService.softDeleteStores([
230
225
  * "store_123",
231
226
  * "store_321",
232
227
  * ])
233
228
  */
234
- softDelete<TReturnableLinkableKeys extends string = string>(storeIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
229
+ softDeleteStores<TReturnableLinkableKeys extends string = string>(storeIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
235
230
  /**
236
231
  * This method restores a soft deleted store by its IDs.
237
232
  *
@@ -243,8 +238,8 @@ export interface IStoreModuleService extends IModuleService {
243
238
  * If there are no related records restored, the promise resolves to `void`.
244
239
  *
245
240
  * @example
246
- * await storeModuleService.restore(["store_123", "store_321"])
241
+ * await storeModuleService.restoreStores(["store_123", "store_321"])
247
242
  */
248
- restore<TReturnableLinkableKeys extends string = string>(storeIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
243
+ restoreStores<TReturnableLinkableKeys extends string = string>(storeIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
249
244
  }
250
245
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/store/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5E;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;IAE5E;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,cAAc,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;IAExE;;;;;;;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7 @@ export interface CreateTaxRateDTO {
37
38
  /**
38
39
  * Holds custom data in key-value pairs.
39
40
  */
40
- metadata?: Record<string, unknown>;
41
+ metadata?: MetadataType;
41
42
  }
42
43
  /**
43
44
  * The attributes in the tax rate to be created or updated.
@@ -75,7 +76,7 @@ export interface UpsertTaxRateDTO {
75
76
  /**
76
77
  * Holds custom data in key-value pairs.
77
78
  */
78
- metadata?: Record<string, unknown> | null;
79
+ metadata?: MetadataType;
79
80
  }
80
81
  /**
81
82
  * The attributes to update in the tax rate.
@@ -120,7 +121,7 @@ export interface UpdateTaxRateDTO {
120
121
  /**
121
122
  * Holds custom data in key-value pairs.
122
123
  */
123
- metadata?: Record<string, unknown>;
124
+ metadata?: MetadataType;
124
125
  }
125
126
  /**
126
127
  * The tax region to be created.
@@ -141,7 +142,7 @@ export interface CreateTaxRegionDTO {
141
142
  /**
142
143
  * Holds custom data in key-value pairs.
143
144
  */
144
- metadata?: Record<string, unknown>;
145
+ metadata?: MetadataType;
145
146
  /**
146
147
  * Who created the tax region. For example, the ID of
147
148
  * the user that created the tax region.
@@ -169,7 +170,7 @@ export interface CreateTaxRegionDTO {
169
170
  /**
170
171
  * Holds custom data in key-value pairs.
171
172
  */
172
- metadata?: Record<string, unknown>;
173
+ metadata?: MetadataType;
173
174
  };
174
175
  }
175
176
  /**
@@ -197,7 +198,7 @@ export interface CreateTaxRateRuleDTO {
197
198
  /**
198
199
  * Holds custom data in key-value pairs.
199
200
  */
200
- metadata?: Record<string, unknown>;
201
+ metadata?: MetadataType;
201
202
  /**
202
203
  * Who created the tax rate rule. For example, the ID of the
203
204
  * user that created it.
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/tax/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,C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AE,CAAA;IAEnD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,gBAAgB,CAAC,EAAE;QACjB;;;;;WAKG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAEpB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAEpB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAA;QAEZ;;WAEG;QACH,QAAQ,CAAC,EAAE,YAAY,CAAA;KACxB,CAAA;CACF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B"}
@@ -2,8 +2,8 @@ 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 { FilterableTaxRegionProps, FilterableTaxRateProps, TaxRateDTO, TaxRegionDTO, TaxRateRuleDTO, FilterableTaxRateRuleProps, TaxableItemDTO, TaxCalculationContext, ItemTaxLineDTO, ShippingTaxLineDTO, TaxableShippingDTO } from "./common";
6
- import { CreateTaxRateRuleDTO, CreateTaxRateDTO, CreateTaxRegionDTO, UpdateTaxRateDTO, UpsertTaxRateDTO } from "./mutations";
5
+ import { FilterableTaxRateProps, FilterableTaxRateRuleProps, FilterableTaxRegionProps, ItemTaxLineDTO, ShippingTaxLineDTO, TaxableItemDTO, TaxableShippingDTO, TaxCalculationContext, TaxRateDTO, TaxRateRuleDTO, TaxRegionDTO } from "./common";
6
+ import { CreateTaxRateDTO, CreateTaxRateRuleDTO, CreateTaxRegionDTO, UpdateTaxRateDTO, UpsertTaxRateDTO } from "./mutations";
7
7
  /**
8
8
  * The main service interface for the Tax Module.
9
9
  */
@@ -21,18 +21,18 @@ export interface ITaxModuleService extends IModuleService {
21
21
  * A simple example that retrieves a tax rate by its ID:
22
22
  *
23
23
  * ```ts
24
- * const taxRate = await taxModuleService.retrieve("txr_123")
24
+ * const taxRate = await taxModuleService.retrieveTaxRate("txr_123")
25
25
  * ```
26
26
  *
27
27
  * To specify relations that should be retrieved:
28
28
  *
29
29
  * ```ts
30
- * const taxRate = await taxModuleService.retrieve("txr_123", {
30
+ * const taxRate = await taxModuleService.retrieveTaxRate("txr_123", {
31
31
  * relations: ["tax_region"],
32
32
  * })
33
33
  * ```
34
34
  */
35
- retrieve(taxRateId: string, config?: FindConfig<TaxRateDTO>, sharedContext?: Context): Promise<TaxRateDTO>;
35
+ retrieveTaxRate(taxRateId: string, config?: FindConfig<TaxRateDTO>, sharedContext?: Context): Promise<TaxRateDTO>;
36
36
  /**
37
37
  * This method retrieves a paginated list of tax rates based on optional filters and configuration.
38
38
  *
@@ -46,7 +46,7 @@ export interface ITaxModuleService extends IModuleService {
46
46
  * To retrieve a list of tax rates using their IDs:
47
47
  *
48
48
  * ```ts
49
- * const taxRates = await taxModuleService.list({
49
+ * const taxRates = await taxModuleService.listTaxRates({
50
50
  * id: ["txr_123", "txr_321"],
51
51
  * })
52
52
  * ```
@@ -54,7 +54,7 @@ export interface ITaxModuleService extends IModuleService {
54
54
  * To specify relations that should be retrieved within the tax rate:
55
55
  *
56
56
  * ```ts
57
- * const taxRates = await taxModuleService.list(
57
+ * const taxRates = await taxModuleService.listTaxRates(
58
58
  * {
59
59
  * id: ["txr_123", "txr_321"],
60
60
  * },
@@ -67,7 +67,7 @@ export interface ITaxModuleService extends IModuleService {
67
67
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
68
68
  *
69
69
  * ```ts
70
- * const taxRates = await taxModuleService.list(
70
+ * const taxRates = await taxModuleService.listTaxRates(
71
71
  * {
72
72
  * id: ["txr_123", "txr_321"],
73
73
  * },
@@ -79,7 +79,7 @@ export interface ITaxModuleService extends IModuleService {
79
79
  * )
80
80
  * ```
81
81
  */
82
- list(filters?: FilterableTaxRateProps, config?: FindConfig<TaxRateDTO>, sharedContext?: Context): Promise<TaxRateDTO[]>;
82
+ listTaxRates(filters?: FilterableTaxRateProps, config?: FindConfig<TaxRateDTO>, sharedContext?: Context): Promise<TaxRateDTO[]>;
83
83
  /**
84
84
  * This method retrieves a paginated list of tax rates along with the total count of available tax rates satisfying the provided filters.
85
85
  *
@@ -93,7 +93,7 @@ export interface ITaxModuleService extends IModuleService {
93
93
  * To retrieve a list of tax rates using their IDs:
94
94
  *
95
95
  * ```ts
96
- * const [taxRates, count] = await taxModuleService.listAndCount(
96
+ * const [taxRates, count] = await taxModuleService.listAndCountTaxRates(
97
97
  * {
98
98
  * id: ["txr_123", "txr_321"],
99
99
  * }
@@ -103,7 +103,7 @@ export interface ITaxModuleService extends IModuleService {
103
103
  * To specify relations that should be retrieved within the tax rate:
104
104
  *
105
105
  * ```ts
106
- * const [taxRates, count] = await taxModuleService.listAndCount(
106
+ * const [taxRates, count] = await taxModuleService.listAndCountTaxRates(
107
107
  * {
108
108
  * id: ["txr_123", "txr_321"],
109
109
  * },
@@ -116,7 +116,7 @@ export interface ITaxModuleService extends IModuleService {
116
116
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
117
117
  *
118
118
  * ```ts
119
- * const [taxRates, count] = await taxModuleService.listAndCount(
119
+ * const [taxRates, count] = await taxModuleService.listAndCountTaxRates(
120
120
  * {
121
121
  * id: ["txr_123", "txr_321"],
122
122
  * },
@@ -128,7 +128,7 @@ export interface ITaxModuleService extends IModuleService {
128
128
  * )
129
129
  * ```
130
130
  */
131
- listAndCount(filters?: FilterableTaxRateProps, config?: FindConfig<TaxRateDTO>, sharedContext?: Context): Promise<[TaxRateDTO[], number]>;
131
+ listAndCountTaxRates(filters?: FilterableTaxRateProps, config?: FindConfig<TaxRateDTO>, sharedContext?: Context): Promise<[TaxRateDTO[], number]>;
132
132
  /**
133
133
  * This method creates tax rates.
134
134
  *
@@ -137,7 +137,7 @@ export interface ITaxModuleService extends IModuleService {
137
137
  * @returns {Promise<TaxRateDTO[]>} The created tax rates.
138
138
  *
139
139
  * @example
140
- * const taxRates = await taxModuleService.create([
140
+ * const taxRates = await taxModuleService.createTaxRates([
141
141
  * {
142
142
  * tax_region_id: "txreg_123",
143
143
  * name: "Default rate",
@@ -160,7 +160,7 @@ export interface ITaxModuleService extends IModuleService {
160
160
  * },
161
161
  * ])
162
162
  */
163
- create(data: CreateTaxRateDTO[], sharedContext?: Context): Promise<TaxRateDTO[]>;
163
+ createTaxRates(data: CreateTaxRateDTO[], sharedContext?: Context): Promise<TaxRateDTO[]>;
164
164
  /**
165
165
  * This method creates a tax rate.
166
166
  *
@@ -169,13 +169,13 @@ export interface ITaxModuleService extends IModuleService {
169
169
  * @returns {Promise<TaxRateDTO>} The created tax rate.
170
170
  *
171
171
  * @example
172
- * const taxRate = await taxModuleService.create({
172
+ * const taxRate = await taxModuleService.createTaxRates({
173
173
  * tax_region_id: "txreg_123",
174
174
  * name: "Default rate",
175
175
  * rate: 10,
176
176
  * })
177
177
  */
178
- create(data: CreateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO>;
178
+ createTaxRates(data: CreateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO>;
179
179
  /**
180
180
  * This method updates an existing tax rate.
181
181
  *
@@ -185,11 +185,11 @@ export interface ITaxModuleService extends IModuleService {
185
185
  * @returns {Promise<TaxRateDTO>} The updated tax rate.
186
186
  *
187
187
  * @example
188
- * const taxRate = await taxModuleService.update("txr_123", {
188
+ * const taxRate = await taxModuleService.updateTaxRates("txr_123", {
189
189
  * rate: 10,
190
190
  * })
191
191
  */
192
- update(taxRateId: string, data: UpdateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO>;
192
+ updateTaxRates(taxRateId: string, data: UpdateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO>;
193
193
  /**
194
194
  * This method updates existing tax rates.
195
195
  *
@@ -199,14 +199,14 @@ export interface ITaxModuleService extends IModuleService {
199
199
  * @returns {Promise<TaxRateDTO[]>} The updated tax rates.
200
200
  *
201
201
  * @example
202
- * const taxRates = await taxModuleService.update(
202
+ * const taxRates = await taxModuleService.updateTaxRates(
203
203
  * ["txr_123", "txr_321"],
204
204
  * {
205
205
  * rate: 10,
206
206
  * }
207
207
  * )
208
208
  */
209
- update(taxRateIds: string[], data: UpdateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO[]>;
209
+ updateTaxRates(taxRateIds: string[], data: UpdateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO[]>;
210
210
  /**
211
211
  * This method updates existing tax rates matching the specified filters.
212
212
  *
@@ -216,7 +216,7 @@ export interface ITaxModuleService extends IModuleService {
216
216
  * @returns {Promise<TaxRateDTO[]>} The updated tax rates.
217
217
  *
218
218
  * @example
219
- * const taxRates = await taxModuleService.update(
219
+ * const taxRates = await taxModuleService.updateTaxRates(
220
220
  * {
221
221
  * id: ["txr_123", "txr_321"],
222
222
  * },
@@ -225,7 +225,7 @@ export interface ITaxModuleService extends IModuleService {
225
225
  * }
226
226
  * )
227
227
  */
228
- update(selector: FilterableTaxRateProps, data: UpdateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO[]>;
228
+ updateTaxRates(selector: FilterableTaxRateProps, data: UpdateTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO[]>;
229
229
  /**
230
230
  * This method updates or creates a tax rate if it doesn't exist.
231
231
  *
@@ -234,12 +234,12 @@ export interface ITaxModuleService extends IModuleService {
234
234
  * @returns {Promise<TaxRateDTO>} The created or updated tax rate.
235
235
  *
236
236
  * @example
237
- * const taxRate = await taxModuleService.upsert({
237
+ * const taxRate = await taxModuleService.upsertTaxRates({
238
238
  * id: "txr_123",
239
239
  * rate: 10,
240
240
  * })
241
241
  */
242
- upsert(data: UpsertTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO>;
242
+ upsertTaxRates(data: UpsertTaxRateDTO, sharedContext?: Context): Promise<TaxRateDTO>;
243
243
  /**
244
244
  * This method updates or creates tax rates if they don't exist.
245
245
  *
@@ -248,14 +248,14 @@ export interface ITaxModuleService extends IModuleService {
248
248
  * @returns {Promise<TaxRateDTO[]>} The created or updated tax rates.
249
249
  *
250
250
  * @example
251
- * const taxRates = await taxModuleService.upsert([
251
+ * const taxRates = await taxModuleService.upsertTaxRates([
252
252
  * {
253
253
  * id: "txr_123",
254
254
  * rate: 10,
255
255
  * },
256
256
  * ])
257
257
  */
258
- upsert(data: UpsertTaxRateDTO[], sharedContext?: Context): Promise<TaxRateDTO[]>;
258
+ upsertTaxRates(data: UpsertTaxRateDTO[], sharedContext?: Context): Promise<TaxRateDTO[]>;
259
259
  /**
260
260
  * This method deletes tax rates by their IDs.
261
261
  *
@@ -264,9 +264,9 @@ export interface ITaxModuleService extends IModuleService {
264
264
  * @returns {Promise<void>} Resolves when the tax rates are deleted successfully.
265
265
  *
266
266
  * @example
267
- * await taxModuleService.delete(["txr_123", "txr_321"])
267
+ * await taxModuleService.deleteTaxRates(["txr_123", "txr_321"])
268
268
  */
269
- delete(taxRateIds: string[], sharedContext?: Context): Promise<void>;
269
+ deleteTaxRates(taxRateIds: string[], sharedContext?: Context): Promise<void>;
270
270
  /**
271
271
  * This method deletes a tax rate by its ID.
272
272
  *
@@ -275,9 +275,9 @@ export interface ITaxModuleService extends IModuleService {
275
275
  * @returns {Promise<void>} Resolves when the tax rate is deleted successfully.
276
276
  *
277
277
  * @example
278
- * await taxModuleService.delete("txr_123")
278
+ * await taxModuleService.deleteTaxRates("txr_123")
279
279
  */
280
- delete(taxRateId: string, sharedContext?: Context): Promise<void>;
280
+ deleteTaxRates(taxRateId: string, sharedContext?: Context): Promise<void>;
281
281
  /**
282
282
  * This method restores soft deleted tax rates by their IDs.
283
283
  *
@@ -293,9 +293,9 @@ export interface ITaxModuleService extends IModuleService {
293
293
  * If there are no related records restored, the promise resolves to `void`.
294
294
  *
295
295
  * @example
296
- * await taxModuleService.restore(["txr_123", "txr_321"])
296
+ * await taxModuleService.restoreTaxRates(["txr_123", "txr_321"])
297
297
  */
298
- restore<TReturnableLinkableKeys extends string = string>(taxRateIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
298
+ restoreTaxRates<TReturnableLinkableKeys extends string = string>(taxRateIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
299
299
  /**
300
300
  * This method creates a tax region.
301
301
  *
@@ -558,9 +558,9 @@ export interface ITaxModuleService extends IModuleService {
558
558
  * If there are no related records, the promise resolves to `void`.
559
559
  *
560
560
  * @example
561
- * await taxModuleService.softDelete(["txr_123", "txr_321"])
561
+ * await taxModuleService.softDeleteTaxRates(["txr_123", "txr_321"])
562
562
  */
563
- softDelete<TReturnableLinkableKeys extends string = string>(taxRateIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
563
+ softDeleteTaxRates<TReturnableLinkableKeys extends string = string>(taxRateIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
564
564
  /**
565
565
  * This method soft deletes tax regions by their IDs.
566
566
  *
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/tax/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,wBAAwB,EACxB,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,EAC/B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,UAAU,CAAC,CAAA;IAEtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sBAAsB,EAChC,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,EAC/B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,UAAU,EAAE,CAAC,CAAA;IAExB;;;;;;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