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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (764) 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/common/auth-identity.d.ts +77 -21
  4. package/dist/auth/common/auth-identity.d.ts.map +1 -1
  5. package/dist/auth/common/provider.d.ts +2 -1
  6. package/dist/auth/common/provider.d.ts.map +1 -1
  7. package/dist/auth/provider.d.ts +6 -3
  8. package/dist/auth/provider.d.ts.map +1 -1
  9. package/dist/auth/service.d.ts +30 -30
  10. package/dist/auth/service.d.ts.map +1 -1
  11. package/dist/bundles.d.ts +2 -1
  12. package/dist/bundles.d.ts.map +1 -1
  13. package/dist/bundles.js +3 -2
  14. package/dist/bundles.js.map +1 -1
  15. package/dist/cart/mutations.d.ts +8 -0
  16. package/dist/cart/mutations.d.ts.map +1 -1
  17. package/dist/cart/mutations.js.map +1 -1
  18. package/dist/cart/service.d.ts +30 -52
  19. package/dist/cart/service.d.ts.map +1 -1
  20. package/dist/common/batch.d.ts +3 -3
  21. package/dist/common/batch.d.ts.map +1 -1
  22. package/dist/common/common.d.ts +6 -1
  23. package/dist/common/common.d.ts.map +1 -1
  24. package/dist/currency/service.d.ts +9 -9
  25. package/dist/currency/service.d.ts.map +1 -1
  26. package/dist/customer/mutations.d.ts +27 -26
  27. package/dist/customer/mutations.d.ts.map +1 -1
  28. package/dist/customer/service.d.ts +40 -43
  29. package/dist/customer/service.d.ts.map +1 -1
  30. package/dist/dal/repository-service.d.ts +15 -3
  31. package/dist/dal/repository-service.d.ts.map +1 -1
  32. package/dist/dml/index.d.ts +161 -0
  33. package/dist/dml/index.d.ts.map +1 -0
  34. package/dist/dml/index.js +5 -0
  35. package/dist/dml/index.js.map +1 -0
  36. package/dist/event-bus/common.d.ts +17 -25
  37. package/dist/event-bus/common.d.ts.map +1 -1
  38. package/dist/event-bus/event-bus-module.d.ts +4 -4
  39. package/dist/event-bus/event-bus-module.d.ts.map +1 -1
  40. package/dist/event-bus/event-bus.d.ts +2 -4
  41. package/dist/event-bus/event-bus.d.ts.map +1 -1
  42. package/dist/file/provider.d.ts +1 -8
  43. package/dist/file/provider.d.ts.map +1 -1
  44. package/dist/file/service.d.ts +12 -12
  45. package/dist/file/service.d.ts.map +1 -1
  46. package/dist/fulfillment/mutations/fulfillment.d.ts +3 -1
  47. package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
  48. package/dist/fulfillment/mutations/service-zone.d.ts +3 -3
  49. package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
  50. package/dist/fulfillment/mutations/shipping-option.d.ts +0 -22
  51. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  52. package/dist/fulfillment/mutations/shipping-profile.d.ts +20 -2
  53. package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
  54. package/dist/fulfillment/service.d.ts +71 -32
  55. package/dist/fulfillment/service.d.ts.map +1 -1
  56. package/dist/http/currency/admin/entities.d.ts +14 -0
  57. package/dist/http/currency/admin/entities.d.ts.map +1 -0
  58. package/dist/http/{fulfillment/admin/geo-zone.js → currency/admin/entities.js} +1 -1
  59. package/dist/http/currency/admin/entities.js.map +1 -0
  60. package/dist/http/currency/admin/index.d.ts +2 -0
  61. package/dist/http/currency/admin/index.d.ts.map +1 -0
  62. package/dist/http/{tax → currency}/admin/index.js +1 -2
  63. package/dist/http/currency/admin/index.js.map +1 -0
  64. package/dist/http/currency/index.d.ts.map +1 -0
  65. package/dist/http/currency/index.js.map +1 -0
  66. package/dist/http/file/admin.d.ts +5 -0
  67. package/dist/http/file/admin.d.ts.map +1 -0
  68. package/dist/http/{product → file}/admin.js.map +1 -1
  69. package/dist/http/file/common.d.ts +11 -0
  70. package/dist/http/file/common.d.ts.map +1 -0
  71. package/dist/{inventory → http/file}/common.js.map +1 -1
  72. package/dist/http/file/index.d.ts +3 -0
  73. package/dist/http/file/index.d.ts.map +1 -0
  74. package/dist/{inventory/bundle.js → http/file/index.js} +3 -3
  75. package/dist/http/file/index.js.map +1 -0
  76. package/dist/http/file/store.d.ts +4 -0
  77. package/dist/http/file/store.d.ts.map +1 -0
  78. package/dist/http/{product → file}/store.js.map +1 -1
  79. package/dist/http/fulfillment/admin/entitites.d.ts +62 -0
  80. package/dist/http/fulfillment/admin/entitites.d.ts.map +1 -0
  81. package/dist/http/fulfillment/admin/entitites.js +3 -0
  82. package/dist/http/fulfillment/admin/entitites.js.map +1 -0
  83. package/dist/http/fulfillment/admin/index.d.ts +3 -12
  84. package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
  85. package/dist/http/fulfillment/admin/index.js +3 -12
  86. package/dist/http/fulfillment/admin/index.js.map +1 -1
  87. package/dist/http/fulfillment/admin/payloads.d.ts +41 -0
  88. package/dist/http/fulfillment/admin/payloads.d.ts.map +1 -0
  89. package/dist/http/fulfillment/admin/payloads.js +3 -0
  90. package/dist/http/fulfillment/admin/payloads.js.map +1 -0
  91. package/dist/http/fulfillment/admin/responses.d.ts +5 -0
  92. package/dist/http/fulfillment/admin/responses.d.ts.map +1 -0
  93. package/dist/http/fulfillment/admin/responses.js +3 -0
  94. package/dist/http/fulfillment/admin/responses.js.map +1 -0
  95. package/dist/http/fulfillment-provider/admin/entities.d.ts +5 -0
  96. package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -0
  97. package/dist/http/fulfillment-provider/admin/entities.js +3 -0
  98. package/dist/http/fulfillment-provider/admin/entities.js.map +1 -0
  99. package/dist/http/fulfillment-provider/admin/index.d.ts +4 -0
  100. package/dist/http/fulfillment-provider/admin/index.d.ts.map +1 -0
  101. package/dist/http/fulfillment-provider/admin/index.js +20 -0
  102. package/dist/http/fulfillment-provider/admin/index.js.map +1 -0
  103. package/dist/http/fulfillment-provider/admin/queries.d.ts +7 -0
  104. package/dist/http/fulfillment-provider/admin/queries.d.ts.map +1 -0
  105. package/dist/http/{pricing/price.js → fulfillment-provider/admin/queries.js} +1 -1
  106. package/dist/http/fulfillment-provider/admin/queries.js.map +1 -0
  107. package/dist/http/fulfillment-provider/admin/responses.d.ts +7 -0
  108. package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -0
  109. package/dist/http/{inventory/inventory.js → fulfillment-provider/admin/responses.js} +1 -1
  110. package/dist/http/fulfillment-provider/admin/responses.js.map +1 -0
  111. package/dist/http/fulfillment-provider/index.d.ts +2 -0
  112. package/dist/http/fulfillment-provider/index.d.ts.map +1 -0
  113. package/dist/{region__legacy → http/fulfillment-provider}/index.js +1 -1
  114. package/dist/http/fulfillment-provider/index.js.map +1 -0
  115. package/dist/http/fulfillment-set/admin/entities.d.ts +33 -0
  116. package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -0
  117. package/dist/http/fulfillment-set/admin/entities.js +3 -0
  118. package/dist/http/fulfillment-set/admin/entities.js.map +1 -0
  119. package/dist/http/fulfillment-set/admin/index.d.ts +4 -0
  120. package/dist/http/fulfillment-set/admin/index.d.ts.map +1 -0
  121. package/dist/http/fulfillment-set/admin/index.js +20 -0
  122. package/dist/http/fulfillment-set/admin/index.js.map +1 -0
  123. package/dist/http/fulfillment-set/admin/payloads.d.ts +56 -0
  124. package/dist/http/fulfillment-set/admin/payloads.d.ts.map +1 -0
  125. package/dist/http/fulfillment-set/admin/payloads.js +3 -0
  126. package/dist/http/fulfillment-set/admin/payloads.js.map +1 -0
  127. package/dist/http/fulfillment-set/admin/queries.d.ts +12 -0
  128. package/dist/http/fulfillment-set/admin/queries.d.ts.map +1 -0
  129. package/dist/http/{product/admin.js → fulfillment-set/admin/queries.js} +1 -1
  130. package/dist/http/fulfillment-set/admin/queries.js.map +1 -0
  131. package/dist/http/fulfillment-set/admin/responses.d.ts +13 -0
  132. package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -0
  133. package/dist/http/fulfillment-set/admin/responses.js +3 -0
  134. package/dist/http/fulfillment-set/admin/responses.js.map +1 -0
  135. package/dist/http/fulfillment-set/index.d.ts +2 -0
  136. package/dist/http/fulfillment-set/index.d.ts.map +1 -0
  137. package/dist/http/fulfillment-set/index.js +18 -0
  138. package/dist/http/fulfillment-set/index.js.map +1 -0
  139. package/dist/http/index.d.ts +12 -1
  140. package/dist/http/index.d.ts.map +1 -1
  141. package/dist/http/index.js +12 -1
  142. package/dist/http/index.js.map +1 -1
  143. package/dist/http/inventory/{inventory.d.ts → admin/entities.d.ts} +2 -10
  144. package/dist/http/inventory/admin/entities.d.ts.map +1 -0
  145. package/dist/http/inventory/admin/entities.js +3 -0
  146. package/dist/http/inventory/admin/entities.js.map +1 -0
  147. package/dist/http/inventory/admin/index.d.ts +5 -0
  148. package/dist/http/inventory/admin/index.d.ts.map +1 -0
  149. package/dist/http/inventory/admin/index.js +21 -0
  150. package/dist/http/inventory/admin/index.js.map +1 -0
  151. package/dist/http/inventory/admin/payloads.d.ts +19 -0
  152. package/dist/http/inventory/admin/payloads.d.ts.map +1 -0
  153. package/dist/http/inventory/admin/payloads.js +3 -0
  154. package/dist/http/inventory/admin/payloads.js.map +1 -0
  155. package/dist/http/inventory/admin/queries.d.ts +18 -0
  156. package/dist/http/inventory/admin/queries.d.ts.map +1 -0
  157. package/dist/http/inventory/admin/queries.js +3 -0
  158. package/dist/http/inventory/admin/queries.js.map +1 -0
  159. package/dist/http/inventory/admin/responses.d.ts +10 -0
  160. package/dist/http/inventory/admin/responses.d.ts.map +1 -0
  161. package/dist/http/inventory/admin/responses.js +3 -0
  162. package/dist/http/inventory/admin/responses.js.map +1 -0
  163. package/dist/http/inventory/index.d.ts +1 -2
  164. package/dist/http/inventory/index.d.ts.map +1 -1
  165. package/dist/http/inventory/index.js +1 -2
  166. package/dist/http/inventory/index.js.map +1 -1
  167. package/dist/http/inventory-level/admin/entities.d.ts +11 -0
  168. package/dist/http/inventory-level/admin/entities.d.ts.map +1 -0
  169. package/dist/http/inventory-level/admin/entities.js +3 -0
  170. package/dist/http/inventory-level/admin/entities.js.map +1 -0
  171. package/dist/http/inventory-level/admin/index.d.ts +5 -0
  172. package/dist/http/inventory-level/admin/index.d.ts.map +1 -0
  173. package/dist/http/inventory-level/admin/index.js +21 -0
  174. package/dist/http/inventory-level/admin/index.js.map +1 -0
  175. package/dist/http/inventory-level/admin/payloads.d.ts +15 -0
  176. package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -0
  177. package/dist/http/inventory-level/admin/payloads.js +3 -0
  178. package/dist/http/inventory-level/admin/payloads.js.map +1 -0
  179. package/dist/http/inventory-level/admin/queries.d.ts +5 -0
  180. package/dist/http/inventory-level/admin/queries.d.ts.map +1 -0
  181. package/dist/http/inventory-level/admin/queries.js +3 -0
  182. package/dist/http/inventory-level/admin/queries.js.map +1 -0
  183. package/dist/http/inventory-level/admin/responses.d.ts +9 -0
  184. package/dist/http/inventory-level/admin/responses.d.ts.map +1 -0
  185. package/dist/http/inventory-level/admin/responses.js +3 -0
  186. package/dist/http/inventory-level/admin/responses.js.map +1 -0
  187. package/dist/http/inventory-level/index.d.ts +2 -0
  188. package/dist/http/inventory-level/index.d.ts.map +1 -0
  189. package/dist/http/inventory-level/index.js +18 -0
  190. package/dist/http/inventory-level/index.js.map +1 -0
  191. package/dist/http/order/admin.d.ts +15 -1
  192. package/dist/http/order/admin.d.ts.map +1 -1
  193. package/dist/http/order/common.d.ts +2 -0
  194. package/dist/http/order/common.d.ts.map +1 -1
  195. package/dist/http/price-list/admin/entities.d.ts +21 -0
  196. package/dist/http/price-list/admin/entities.d.ts.map +1 -0
  197. package/dist/http/price-list/admin/entities.js +3 -0
  198. package/dist/http/price-list/admin/entities.js.map +1 -0
  199. package/dist/http/price-list/admin/index.d.ts +5 -0
  200. package/dist/http/price-list/admin/index.d.ts.map +1 -0
  201. package/dist/http/price-list/admin/index.js +21 -0
  202. package/dist/http/price-list/admin/index.js.map +1 -0
  203. package/dist/http/price-list/admin/payloads.d.ts +46 -0
  204. package/dist/http/price-list/admin/payloads.d.ts.map +1 -0
  205. package/dist/http/price-list/admin/payloads.js +3 -0
  206. package/dist/http/price-list/admin/payloads.js.map +1 -0
  207. package/dist/http/price-list/admin/queries.d.ts +14 -0
  208. package/dist/http/price-list/admin/queries.d.ts.map +1 -0
  209. package/dist/http/price-list/admin/queries.js +3 -0
  210. package/dist/http/price-list/admin/queries.js.map +1 -0
  211. package/dist/http/price-list/admin/responses.d.ts +12 -0
  212. package/dist/http/price-list/admin/responses.d.ts.map +1 -0
  213. package/dist/http/price-list/admin/responses.js +3 -0
  214. package/dist/http/price-list/admin/responses.js.map +1 -0
  215. package/dist/http/price-list/index.d.ts +2 -0
  216. package/dist/http/price-list/index.d.ts.map +1 -0
  217. package/dist/http/price-list/index.js +18 -0
  218. package/dist/http/price-list/index.js.map +1 -0
  219. package/dist/http/pricing/admin/entities.d.ts +32 -0
  220. package/dist/http/pricing/admin/entities.d.ts.map +1 -0
  221. package/dist/http/pricing/admin/entities.js +3 -0
  222. package/dist/http/pricing/admin/entities.js.map +1 -0
  223. package/dist/http/pricing/admin/index.d.ts +2 -0
  224. package/dist/http/pricing/admin/index.d.ts.map +1 -0
  225. package/dist/http/pricing/admin/index.js +18 -0
  226. package/dist/http/pricing/admin/index.js.map +1 -0
  227. package/dist/http/pricing/index.d.ts +1 -1
  228. package/dist/http/pricing/index.js +1 -1
  229. package/dist/http/product/admin/entitites.d.ts +26 -0
  230. package/dist/http/product/admin/entitites.d.ts.map +1 -0
  231. package/dist/http/product/admin/entitites.js +3 -0
  232. package/dist/http/product/admin/entitites.js.map +1 -0
  233. package/dist/http/product/admin/index.d.ts +5 -0
  234. package/dist/http/product/admin/index.d.ts.map +1 -0
  235. package/dist/http/product/admin/index.js +21 -0
  236. package/dist/http/product/admin/index.js.map +1 -0
  237. package/dist/http/product/admin/payloads.d.ts +152 -0
  238. package/dist/http/product/admin/payloads.d.ts.map +1 -0
  239. package/dist/http/product/admin/payloads.js +3 -0
  240. package/dist/http/product/admin/payloads.js.map +1 -0
  241. package/dist/http/product/admin/queries.d.ts +12 -0
  242. package/dist/http/product/admin/queries.d.ts.map +1 -0
  243. package/dist/http/product/admin/queries.js +3 -0
  244. package/dist/http/product/admin/queries.js.map +1 -0
  245. package/dist/http/product/admin/responses.d.ts +35 -0
  246. package/dist/http/product/admin/responses.d.ts.map +1 -0
  247. package/dist/http/product/admin/responses.js +3 -0
  248. package/dist/http/product/admin/responses.js.map +1 -0
  249. package/dist/http/product/common.d.ts +72 -106
  250. package/dist/http/product/common.d.ts.map +1 -1
  251. package/dist/http/product/store/entitites.d.ts +19 -0
  252. package/dist/http/product/store/entitites.d.ts.map +1 -0
  253. package/dist/http/product/store/entitites.js +3 -0
  254. package/dist/http/product/store/entitites.js.map +1 -0
  255. package/dist/http/product/store/index.d.ts +4 -0
  256. package/dist/http/product/store/index.d.ts.map +1 -0
  257. package/dist/http/product/store/index.js +20 -0
  258. package/dist/http/product/store/index.js.map +1 -0
  259. package/dist/http/product/store/queries.d.ts +13 -0
  260. package/dist/http/product/store/queries.d.ts.map +1 -0
  261. package/dist/http/product/store/queries.js +3 -0
  262. package/dist/http/product/store/queries.js.map +1 -0
  263. package/dist/http/product/store/responses.d.ts +9 -0
  264. package/dist/http/product/store/responses.d.ts.map +1 -0
  265. package/dist/http/product/store/responses.js +3 -0
  266. package/dist/http/product/store/responses.js.map +1 -0
  267. package/dist/http/product-category/admin/entities.d.ts +8 -0
  268. package/dist/http/product-category/admin/entities.d.ts.map +1 -0
  269. package/dist/http/product-category/admin/entities.js +3 -0
  270. package/dist/http/product-category/admin/entities.js.map +1 -0
  271. package/dist/http/product-category/admin/index.d.ts +5 -0
  272. package/dist/http/product-category/admin/index.d.ts.map +1 -0
  273. package/dist/http/product-category/admin/index.js +21 -0
  274. package/dist/http/product-category/admin/index.js.map +1 -0
  275. package/dist/http/product-category/admin/payloads.d.ts +25 -0
  276. package/dist/http/product-category/admin/payloads.d.ts.map +1 -0
  277. package/dist/http/product-category/admin/payloads.js +3 -0
  278. package/dist/http/product-category/admin/payloads.js.map +1 -0
  279. package/dist/http/product-category/admin/queries.d.ts +8 -0
  280. package/dist/http/product-category/admin/queries.d.ts.map +1 -0
  281. package/dist/http/product-category/admin/queries.js +3 -0
  282. package/dist/http/product-category/admin/queries.js.map +1 -0
  283. package/dist/http/product-category/admin/responses.d.ts +12 -0
  284. package/dist/http/product-category/admin/responses.d.ts.map +1 -0
  285. package/dist/http/product-category/admin/responses.js +3 -0
  286. package/dist/http/product-category/admin/responses.js.map +1 -0
  287. package/dist/http/product-category/common.d.ts +31 -7
  288. package/dist/http/product-category/common.d.ts.map +1 -1
  289. package/dist/http/product-category/store/entities.d.ts +6 -0
  290. package/dist/http/product-category/store/entities.d.ts.map +1 -0
  291. package/dist/http/product-category/store/entities.js +3 -0
  292. package/dist/http/product-category/store/entities.js.map +1 -0
  293. package/dist/http/product-category/store/index.d.ts +4 -0
  294. package/dist/http/product-category/store/index.d.ts.map +1 -0
  295. package/dist/http/product-category/store/index.js +20 -0
  296. package/dist/http/product-category/store/index.js.map +1 -0
  297. package/dist/http/product-category/store/queries.d.ts +6 -0
  298. package/dist/http/product-category/store/queries.d.ts.map +1 -0
  299. package/dist/http/product-category/store/queries.js +3 -0
  300. package/dist/http/product-category/store/queries.js.map +1 -0
  301. package/dist/http/product-category/store/responses.d.ts +10 -0
  302. package/dist/http/product-category/store/responses.d.ts.map +1 -0
  303. package/dist/http/product-category/store/responses.js +3 -0
  304. package/dist/http/product-category/store/responses.js.map +1 -0
  305. package/dist/http/product-type/admin/entities.d.ts +4 -0
  306. package/dist/http/product-type/admin/entities.d.ts.map +1 -0
  307. package/dist/http/product-type/admin/entities.js +3 -0
  308. package/dist/http/product-type/admin/entities.js.map +1 -0
  309. package/dist/http/product-type/admin/index.d.ts +5 -0
  310. package/dist/http/product-type/admin/index.d.ts.map +1 -0
  311. package/dist/http/product-type/admin/index.js +21 -0
  312. package/dist/http/product-type/admin/index.js.map +1 -0
  313. package/dist/http/product-type/admin/payloads.d.ts +9 -0
  314. package/dist/http/product-type/admin/payloads.d.ts.map +1 -0
  315. package/dist/http/product-type/admin/payloads.js +3 -0
  316. package/dist/http/product-type/admin/payloads.js.map +1 -0
  317. package/dist/http/product-type/admin/queries.d.ts +13 -0
  318. package/dist/http/product-type/admin/queries.d.ts.map +1 -0
  319. package/dist/http/product-type/admin/queries.js +3 -0
  320. package/dist/http/product-type/admin/queries.js.map +1 -0
  321. package/dist/http/product-type/admin/responses.d.ts +12 -0
  322. package/dist/http/product-type/admin/responses.d.ts.map +1 -0
  323. package/dist/http/product-type/admin/responses.js +3 -0
  324. package/dist/http/product-type/admin/responses.js.map +1 -0
  325. package/dist/http/product-type/common.d.ts +9 -0
  326. package/dist/http/product-type/common.d.ts.map +1 -0
  327. package/dist/{region__legacy → http/product-type}/common.js.map +1 -1
  328. package/dist/http/product-type/index.d.ts +3 -0
  329. package/dist/http/product-type/index.d.ts.map +1 -0
  330. package/dist/http/product-type/index.js +19 -0
  331. package/dist/http/product-type/index.js.map +1 -0
  332. package/dist/http/product-type/store/entities.d.ts +4 -0
  333. package/dist/http/product-type/store/entities.d.ts.map +1 -0
  334. package/dist/http/product-type/store/entities.js +3 -0
  335. package/dist/http/product-type/store/entities.js.map +1 -0
  336. package/dist/http/product-type/store/index.d.ts +2 -0
  337. package/dist/http/product-type/store/index.d.ts.map +1 -0
  338. package/dist/http/product-type/store/index.js +18 -0
  339. package/dist/http/product-type/store/index.js.map +1 -0
  340. package/dist/http/promotion/admin/promotion-rule.d.ts +1 -1
  341. package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
  342. package/dist/http/promotion/admin/rule-attribute-options.d.ts +5 -0
  343. package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
  344. package/dist/http/sales-channel/admin/entities.d.ts +11 -0
  345. package/dist/http/sales-channel/admin/entities.d.ts.map +1 -0
  346. package/dist/http/sales-channel/admin/entities.js +3 -0
  347. package/dist/http/sales-channel/admin/entities.js.map +1 -0
  348. package/dist/http/sales-channel/admin/index.d.ts +4 -1
  349. package/dist/http/sales-channel/admin/index.d.ts.map +1 -1
  350. package/dist/http/sales-channel/admin/index.js +4 -1
  351. package/dist/http/sales-channel/admin/index.js.map +1 -1
  352. package/dist/http/sales-channel/admin/payloads.d.ts +17 -0
  353. package/dist/http/sales-channel/admin/payloads.d.ts.map +1 -0
  354. package/dist/http/sales-channel/admin/payloads.js +3 -0
  355. package/dist/http/sales-channel/admin/payloads.js.map +1 -0
  356. package/dist/http/sales-channel/admin/queries.d.ts +15 -0
  357. package/dist/http/sales-channel/admin/queries.d.ts.map +1 -0
  358. package/dist/http/sales-channel/admin/queries.js +3 -0
  359. package/dist/http/sales-channel/admin/queries.js.map +1 -0
  360. package/dist/http/sales-channel/admin/responses.d.ts +11 -0
  361. package/dist/http/sales-channel/admin/responses.d.ts.map +1 -0
  362. package/dist/http/sales-channel/admin/responses.js +3 -0
  363. package/dist/http/sales-channel/admin/responses.js.map +1 -0
  364. package/dist/http/shipping-option/admin/entities.d.ts +54 -0
  365. package/dist/http/shipping-option/admin/entities.d.ts.map +1 -0
  366. package/dist/http/shipping-option/admin/entities.js +3 -0
  367. package/dist/http/shipping-option/admin/entities.js.map +1 -0
  368. package/dist/http/shipping-option/admin/index.d.ts +5 -0
  369. package/dist/http/shipping-option/admin/index.d.ts.map +1 -0
  370. package/dist/http/shipping-option/admin/index.js +21 -0
  371. package/dist/http/shipping-option/admin/index.js.map +1 -0
  372. package/dist/http/shipping-option/admin/payloads.d.ts +60 -0
  373. package/dist/http/shipping-option/admin/payloads.d.ts.map +1 -0
  374. package/dist/http/shipping-option/admin/payloads.js +3 -0
  375. package/dist/http/shipping-option/admin/payloads.js.map +1 -0
  376. package/dist/http/shipping-option/admin/queries.d.ts +14 -0
  377. package/dist/http/shipping-option/admin/queries.d.ts.map +1 -0
  378. package/dist/http/shipping-option/admin/queries.js +3 -0
  379. package/dist/http/shipping-option/admin/queries.js.map +1 -0
  380. package/dist/http/shipping-option/admin/responses.d.ts +20 -0
  381. package/dist/http/shipping-option/admin/responses.d.ts.map +1 -0
  382. package/dist/http/shipping-option/admin/responses.js +3 -0
  383. package/dist/http/shipping-option/admin/responses.js.map +1 -0
  384. package/dist/http/shipping-option/index.d.ts +2 -0
  385. package/dist/http/shipping-option/index.d.ts.map +1 -0
  386. package/dist/http/shipping-option/index.js +18 -0
  387. package/dist/http/shipping-option/index.js.map +1 -0
  388. package/dist/http/shipping-profile/admin/entities.d.ts +10 -0
  389. package/dist/http/shipping-profile/admin/entities.d.ts.map +1 -0
  390. package/dist/http/shipping-profile/admin/entities.js +3 -0
  391. package/dist/http/shipping-profile/admin/entities.js.map +1 -0
  392. package/dist/http/shipping-profile/admin/index.d.ts +5 -0
  393. package/dist/http/shipping-profile/admin/index.d.ts.map +1 -0
  394. package/dist/http/shipping-profile/admin/index.js +21 -0
  395. package/dist/http/shipping-profile/admin/index.js.map +1 -0
  396. package/dist/http/shipping-profile/admin/payloads.d.ts +11 -0
  397. package/dist/http/shipping-profile/admin/payloads.d.ts.map +1 -0
  398. package/dist/http/shipping-profile/admin/payloads.js +3 -0
  399. package/dist/http/shipping-profile/admin/payloads.js.map +1 -0
  400. package/dist/http/shipping-profile/admin/queries.d.ts +14 -0
  401. package/dist/http/shipping-profile/admin/queries.d.ts.map +1 -0
  402. package/dist/http/shipping-profile/admin/queries.js +3 -0
  403. package/dist/http/shipping-profile/admin/queries.js.map +1 -0
  404. package/dist/http/shipping-profile/admin/responses.d.ts +11 -0
  405. package/dist/http/shipping-profile/admin/responses.d.ts.map +1 -0
  406. package/dist/http/shipping-profile/admin/responses.js +3 -0
  407. package/dist/http/shipping-profile/admin/responses.js.map +1 -0
  408. package/dist/http/shipping-profile/index.d.ts +2 -0
  409. package/dist/http/shipping-profile/index.d.ts.map +1 -0
  410. package/dist/http/shipping-profile/index.js +18 -0
  411. package/dist/http/shipping-profile/index.js.map +1 -0
  412. package/dist/http/stock-locations/admin/entities.d.ts +22 -0
  413. package/dist/http/stock-locations/admin/entities.d.ts.map +1 -0
  414. package/dist/http/stock-locations/admin/entities.js +3 -0
  415. package/dist/http/stock-locations/admin/entities.js.map +1 -0
  416. package/dist/http/stock-locations/admin/index.d.ts +5 -0
  417. package/dist/http/stock-locations/admin/index.d.ts.map +1 -0
  418. package/dist/http/stock-locations/admin/index.js +21 -0
  419. package/dist/http/stock-locations/admin/index.js.map +1 -0
  420. package/dist/http/stock-locations/admin/payloads.d.ts +32 -0
  421. package/dist/http/stock-locations/admin/payloads.d.ts.map +1 -0
  422. package/dist/http/stock-locations/admin/payloads.js +3 -0
  423. package/dist/http/stock-locations/admin/payloads.js.map +1 -0
  424. package/dist/http/stock-locations/admin/queries.d.ts +11 -0
  425. package/dist/http/stock-locations/admin/queries.d.ts.map +1 -0
  426. package/dist/http/stock-locations/admin/queries.js +3 -0
  427. package/dist/http/stock-locations/admin/queries.js.map +1 -0
  428. package/dist/http/stock-locations/admin/responses.d.ts +12 -0
  429. package/dist/http/stock-locations/admin/responses.d.ts.map +1 -0
  430. package/dist/http/stock-locations/admin/responses.js +3 -0
  431. package/dist/http/stock-locations/admin/responses.js.map +1 -0
  432. package/dist/http/stock-locations/index.d.ts +1 -1
  433. package/dist/http/stock-locations/index.d.ts.map +1 -1
  434. package/dist/http/stock-locations/index.js +1 -1
  435. package/dist/http/stock-locations/index.js.map +1 -1
  436. package/dist/http/store/admin/entities.d.ts +23 -0
  437. package/dist/http/store/admin/entities.d.ts.map +1 -0
  438. package/dist/http/store/admin/entities.js +3 -0
  439. package/dist/http/store/admin/entities.js.map +1 -0
  440. package/dist/http/store/admin/index.d.ts +5 -0
  441. package/dist/http/store/admin/index.d.ts.map +1 -0
  442. package/dist/http/store/admin/index.js +21 -0
  443. package/dist/http/store/admin/index.js.map +1 -0
  444. package/dist/http/store/admin/payloads.d.ts +14 -0
  445. package/dist/http/store/admin/payloads.d.ts.map +1 -0
  446. package/dist/http/store/admin/payloads.js +3 -0
  447. package/dist/http/store/admin/payloads.js.map +1 -0
  448. package/dist/http/store/admin/queries.d.ts +10 -0
  449. package/dist/http/store/admin/queries.d.ts.map +1 -0
  450. package/dist/http/store/admin/queries.js +3 -0
  451. package/dist/http/store/admin/queries.js.map +1 -0
  452. package/dist/http/store/admin/responses.d.ts +10 -0
  453. package/dist/http/store/admin/responses.d.ts.map +1 -0
  454. package/dist/http/store/admin/responses.js +3 -0
  455. package/dist/http/store/admin/responses.js.map +1 -0
  456. package/dist/http/store/index.d.ts +2 -0
  457. package/dist/http/store/index.d.ts.map +1 -0
  458. package/dist/http/store/index.js +18 -0
  459. package/dist/http/store/index.js.map +1 -0
  460. package/dist/http/tax-rate/admin/entities.d.ts +22 -0
  461. package/dist/http/tax-rate/admin/entities.d.ts.map +1 -0
  462. package/dist/http/tax-rate/admin/entities.js +3 -0
  463. package/dist/http/tax-rate/admin/entities.js.map +1 -0
  464. package/dist/http/tax-rate/admin/index.d.ts +5 -0
  465. package/dist/http/tax-rate/admin/index.d.ts.map +1 -0
  466. package/dist/http/tax-rate/admin/index.js +21 -0
  467. package/dist/http/tax-rate/admin/index.js.map +1 -0
  468. package/dist/http/tax-rate/admin/payloads.d.ts +25 -0
  469. package/dist/http/tax-rate/admin/payloads.d.ts.map +1 -0
  470. package/dist/http/tax-rate/admin/payloads.js +3 -0
  471. package/dist/http/tax-rate/admin/payloads.js.map +1 -0
  472. package/dist/http/tax-rate/admin/queries.d.ts +16 -0
  473. package/dist/http/tax-rate/admin/queries.d.ts.map +1 -0
  474. package/dist/http/tax-rate/admin/queries.js +3 -0
  475. package/dist/http/tax-rate/admin/queries.js.map +1 -0
  476. package/dist/http/tax-rate/admin/responses.d.ts +11 -0
  477. package/dist/http/tax-rate/admin/responses.d.ts.map +1 -0
  478. package/dist/http/tax-rate/admin/responses.js +3 -0
  479. package/dist/http/tax-rate/admin/responses.js.map +1 -0
  480. package/dist/http/tax-rate/index.d.ts +2 -0
  481. package/dist/http/tax-rate/index.d.ts.map +1 -0
  482. package/dist/http/tax-rate/index.js +18 -0
  483. package/dist/http/tax-rate/index.js.map +1 -0
  484. package/dist/http/tax-region/admin/entities.d.ts +21 -0
  485. package/dist/http/tax-region/admin/entities.d.ts.map +1 -0
  486. package/dist/http/tax-region/admin/entities.js +3 -0
  487. package/dist/http/tax-region/admin/entities.js.map +1 -0
  488. package/dist/http/tax-region/admin/index.d.ts +5 -0
  489. package/dist/http/tax-region/admin/index.d.ts.map +1 -0
  490. package/dist/http/tax-region/admin/index.js +21 -0
  491. package/dist/http/tax-region/admin/index.js.map +1 -0
  492. package/dist/http/tax-region/admin/payloads.d.ts +14 -0
  493. package/dist/http/tax-region/admin/payloads.d.ts.map +1 -0
  494. package/dist/http/tax-region/admin/payloads.js +3 -0
  495. package/dist/http/tax-region/admin/payloads.js.map +1 -0
  496. package/dist/http/tax-region/admin/queries.d.ts +14 -0
  497. package/dist/http/tax-region/admin/queries.d.ts.map +1 -0
  498. package/dist/http/tax-region/admin/queries.js +3 -0
  499. package/dist/http/tax-region/admin/queries.js.map +1 -0
  500. package/dist/http/tax-region/admin/responses.d.ts +11 -0
  501. package/dist/http/tax-region/admin/responses.d.ts.map +1 -0
  502. package/dist/http/tax-region/admin/responses.js +3 -0
  503. package/dist/http/tax-region/admin/responses.js.map +1 -0
  504. package/dist/http/tax-region/index.d.ts +2 -0
  505. package/dist/http/tax-region/index.d.ts.map +1 -0
  506. package/dist/http/tax-region/index.js +18 -0
  507. package/dist/http/tax-region/index.js.map +1 -0
  508. package/dist/index.d.ts +1 -1
  509. package/dist/index.d.ts.map +1 -1
  510. package/dist/index.js +1 -1
  511. package/dist/index.js.map +1 -1
  512. package/dist/inventory/common/reservation-item.d.ts +5 -1
  513. package/dist/inventory/common/reservation-item.d.ts.map +1 -1
  514. package/dist/inventory/index.d.ts +1 -2
  515. package/dist/inventory/index.d.ts.map +1 -1
  516. package/dist/inventory/index.js +1 -15
  517. package/dist/inventory/index.js.map +1 -1
  518. package/dist/inventory/mutations/inventory-level.d.ts +0 -4
  519. package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
  520. package/dist/inventory/mutations/reservation-item.d.ts +11 -7
  521. package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
  522. package/dist/inventory/service.d.ts +671 -640
  523. package/dist/inventory/service.d.ts.map +1 -1
  524. package/dist/joiner/index.d.ts +5 -2
  525. package/dist/joiner/index.d.ts.map +1 -1
  526. package/dist/modules-sdk/index.d.ts +17 -11
  527. package/dist/modules-sdk/index.d.ts.map +1 -1
  528. package/dist/modules-sdk/index.js +1 -1
  529. package/dist/modules-sdk/index.js.map +1 -1
  530. package/dist/modules-sdk/{internal-module-service.d.ts → medusa-internal-service.d.ts} +22 -18
  531. package/dist/modules-sdk/medusa-internal-service.d.ts.map +1 -0
  532. package/dist/{http/fulfillment/admin/fulfillment-label.js → modules-sdk/medusa-internal-service.js} +1 -1
  533. package/dist/modules-sdk/medusa-internal-service.js.map +1 -0
  534. package/dist/notification/provider.d.ts +0 -6
  535. package/dist/notification/provider.d.ts.map +1 -1
  536. package/dist/notification/service.d.ts +15 -15
  537. package/dist/notification/service.d.ts.map +1 -1
  538. package/dist/order/common.d.ts +57 -4
  539. package/dist/order/common.d.ts.map +1 -1
  540. package/dist/order/mutations.d.ts +74 -53
  541. package/dist/order/mutations.d.ts.map +1 -1
  542. package/dist/order/service.d.ts +44 -30
  543. package/dist/order/service.d.ts.map +1 -1
  544. package/dist/payment/common.d.ts +2 -2
  545. package/dist/payment/common.d.ts.map +1 -1
  546. package/dist/pricing/common/index.d.ts +0 -2
  547. package/dist/pricing/common/index.d.ts.map +1 -1
  548. package/dist/pricing/common/index.js +0 -2
  549. package/dist/pricing/common/index.js.map +1 -1
  550. package/dist/pricing/common/money-amount.d.ts +2 -2
  551. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  552. package/dist/pricing/common/price-list.d.ts +25 -125
  553. package/dist/pricing/common/price-list.d.ts.map +1 -1
  554. package/dist/pricing/common/price-rule.d.ts +8 -16
  555. package/dist/pricing/common/price-rule.d.ts.map +1 -1
  556. package/dist/pricing/common/price-set.d.ts +6 -55
  557. package/dist/pricing/common/price-set.d.ts.map +1 -1
  558. package/dist/pricing/service.d.ts +31 -324
  559. package/dist/pricing/service.d.ts.map +1 -1
  560. package/dist/pricing/workflows.d.ts +5 -5
  561. package/dist/pricing/workflows.d.ts.map +1 -1
  562. package/dist/product/common.d.ts +99 -79
  563. package/dist/product/common.d.ts.map +1 -1
  564. package/dist/product/service.d.ts +429 -207
  565. package/dist/product/service.d.ts.map +1 -1
  566. package/dist/promotion/common/application-method.d.ts +1 -1
  567. package/dist/promotion/common/application-method.d.ts.map +1 -1
  568. package/dist/promotion/common/promotion.d.ts +4 -0
  569. package/dist/promotion/common/promotion.d.ts.map +1 -1
  570. package/dist/promotion/mutations.d.ts +6 -6
  571. package/dist/promotion/mutations.d.ts.map +1 -1
  572. package/dist/promotion/service.d.ts +29 -29
  573. package/dist/promotion/service.d.ts.map +1 -1
  574. package/dist/region/common.d.ts.map +1 -1
  575. package/dist/region/mutations.d.ts +4 -3
  576. package/dist/region/mutations.d.ts.map +1 -1
  577. package/dist/region/service.d.ts +31 -31
  578. package/dist/region/service.d.ts.map +1 -1
  579. package/dist/sales-channel/mutations.d.ts +5 -4
  580. package/dist/sales-channel/mutations.d.ts.map +1 -1
  581. package/dist/sales-channel/service.d.ts +28 -28
  582. package/dist/sales-channel/service.d.ts.map +1 -1
  583. package/dist/shared-context.d.ts +3 -4
  584. package/dist/shared-context.d.ts.map +1 -1
  585. package/dist/stock-location/common.d.ts +12 -17
  586. package/dist/stock-location/common.d.ts.map +1 -1
  587. package/dist/stock-location/index.d.ts +0 -1
  588. package/dist/stock-location/index.d.ts.map +1 -1
  589. package/dist/stock-location/index.js +0 -1
  590. package/dist/stock-location/index.js.map +1 -1
  591. package/dist/stock-location/service.d.ts +193 -180
  592. package/dist/stock-location/service.d.ts.map +1 -1
  593. package/dist/store/common/store.d.ts +31 -5
  594. package/dist/store/common/store.d.ts.map +1 -1
  595. package/dist/store/mutations/store.d.ts +14 -40
  596. package/dist/store/mutations/store.d.ts.map +1 -1
  597. package/dist/store/service.d.ts +32 -37
  598. package/dist/store/service.d.ts.map +1 -1
  599. package/dist/tax/mutations.d.ts +7 -6
  600. package/dist/tax/mutations.d.ts.map +1 -1
  601. package/dist/tax/service.d.ts +35 -35
  602. package/dist/tax/service.d.ts.map +1 -1
  603. package/dist/user/service.d.ts +22 -22
  604. package/dist/user/service.d.ts.map +1 -1
  605. package/dist/workflow/fulfillment/service-zones.d.ts +1 -1
  606. package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -1
  607. package/dist/workflow/order/cancel-fulfillment.d.ts +6 -0
  608. package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -0
  609. package/dist/{http/fulfillment/admin/fulfillment-item.js → workflow/order/cancel-fulfillment.js} +1 -1
  610. package/dist/workflow/order/cancel-fulfillment.js.map +1 -0
  611. package/dist/workflow/order/cancel-order.d.ts +5 -0
  612. package/dist/workflow/order/cancel-order.d.ts.map +1 -0
  613. package/dist/{http/fulfillment/admin/service-zone.js → workflow/order/cancel-order.js} +1 -1
  614. package/dist/workflow/order/cancel-order.js.map +1 -0
  615. package/dist/workflow/order/create-fulfillment.d.ts +2 -2
  616. package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
  617. package/dist/workflow/order/create-return-order.d.ts +8 -7
  618. package/dist/workflow/order/create-return-order.d.ts.map +1 -1
  619. package/dist/workflow/order/create-shipment.d.ts +2 -1
  620. package/dist/workflow/order/create-shipment.d.ts.map +1 -1
  621. package/dist/workflow/order/index.d.ts +3 -0
  622. package/dist/workflow/order/index.d.ts.map +1 -1
  623. package/dist/workflow/order/index.js +3 -0
  624. package/dist/workflow/order/index.js.map +1 -1
  625. package/dist/workflow/order/receive-return.d.ts +17 -0
  626. package/dist/workflow/order/receive-return.d.ts.map +1 -0
  627. package/dist/{http/fulfillment/admin/fulfillment.js → workflow/order/receive-return.js} +1 -1
  628. package/dist/workflow/order/receive-return.js.map +1 -0
  629. package/dist/workflow/price-list/create-price-list.d.ts +1 -2
  630. package/dist/workflow/price-list/create-price-list.d.ts.map +1 -1
  631. package/dist/workflow/product-category/index.d.ts +6 -6
  632. package/dist/workflow/product-category/index.d.ts.map +1 -1
  633. package/dist/workflow/reservation/create-reservations.d.ts +3 -3
  634. package/dist/workflow/reservation/create-reservations.d.ts.map +1 -1
  635. package/dist/workflow/reservation/update-reservations.d.ts +3 -3
  636. package/dist/workflow/reservation/update-reservations.d.ts.map +1 -1
  637. package/dist/workflows/products/mutations.d.ts +2 -2
  638. package/dist/workflows/products/mutations.d.ts.map +1 -1
  639. package/dist/workflows-sdk/service.d.ts +2 -2
  640. package/dist/workflows-sdk/service.d.ts.map +1 -1
  641. package/package.json +1 -2
  642. package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -19
  643. package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +0 -1
  644. package/dist/http/fulfillment/admin/fulfillment-address.js +0 -3
  645. package/dist/http/fulfillment/admin/fulfillment-address.js.map +0 -1
  646. package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -14
  647. package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +0 -1
  648. package/dist/http/fulfillment/admin/fulfillment-item.js.map +0 -1
  649. package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -11
  650. package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +0 -1
  651. package/dist/http/fulfillment/admin/fulfillment-label.js.map +0 -1
  652. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -9
  653. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +0 -1
  654. package/dist/http/fulfillment/admin/fulfillment-provider.js +0 -3
  655. package/dist/http/fulfillment/admin/fulfillment-provider.js.map +0 -1
  656. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -15
  657. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +0 -1
  658. package/dist/http/fulfillment/admin/fulfillment-set.js +0 -3
  659. package/dist/http/fulfillment/admin/fulfillment-set.js.map +0 -1
  660. package/dist/http/fulfillment/admin/fulfillment.d.ts +0 -27
  661. package/dist/http/fulfillment/admin/fulfillment.d.ts.map +0 -1
  662. package/dist/http/fulfillment/admin/fulfillment.js.map +0 -1
  663. package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -14
  664. package/dist/http/fulfillment/admin/geo-zone.d.ts.map +0 -1
  665. package/dist/http/fulfillment/admin/geo-zone.js.map +0 -1
  666. package/dist/http/fulfillment/admin/service-zone.d.ts +0 -21
  667. package/dist/http/fulfillment/admin/service-zone.d.ts.map +0 -1
  668. package/dist/http/fulfillment/admin/service-zone.js.map +0 -1
  669. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -13
  670. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +0 -1
  671. package/dist/http/fulfillment/admin/shipping-option-rule.js +0 -3
  672. package/dist/http/fulfillment/admin/shipping-option-rule.js.map +0 -1
  673. package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -11
  674. package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +0 -1
  675. package/dist/http/fulfillment/admin/shipping-option-type.js +0 -3
  676. package/dist/http/fulfillment/admin/shipping-option-type.js.map +0 -1
  677. package/dist/http/fulfillment/admin/shipping-option.d.ts +0 -38
  678. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +0 -1
  679. package/dist/http/fulfillment/admin/shipping-option.js +0 -3
  680. package/dist/http/fulfillment/admin/shipping-option.js.map +0 -1
  681. package/dist/http/fulfillment/admin/shipping-profile.d.ts +0 -19
  682. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +0 -1
  683. package/dist/http/fulfillment/admin/shipping-profile.js +0 -3
  684. package/dist/http/fulfillment/admin/shipping-profile.js.map +0 -1
  685. package/dist/http/inventory/inventory-level.d.ts +0 -20
  686. package/dist/http/inventory/inventory-level.d.ts.map +0 -1
  687. package/dist/http/inventory/inventory-level.js +0 -3
  688. package/dist/http/inventory/inventory-level.js.map +0 -1
  689. package/dist/http/inventory/inventory.d.ts.map +0 -1
  690. package/dist/http/inventory/inventory.js.map +0 -1
  691. package/dist/http/pricing/price.d.ts +0 -8
  692. package/dist/http/pricing/price.d.ts.map +0 -1
  693. package/dist/http/pricing/price.js.map +0 -1
  694. package/dist/http/product/admin.d.ts +0 -99
  695. package/dist/http/product/admin.d.ts.map +0 -1
  696. package/dist/http/product/store.d.ts +0 -33
  697. package/dist/http/product/store.d.ts.map +0 -1
  698. package/dist/http/product/store.js +0 -3
  699. package/dist/http/product-category/admin.d.ts +0 -9
  700. package/dist/http/product-category/admin.d.ts.map +0 -1
  701. package/dist/http/product-category/admin.js.map +0 -1
  702. package/dist/http/product-category/store.d.ts +0 -9
  703. package/dist/http/product-category/store.d.ts.map +0 -1
  704. package/dist/http/product-category/store.js.map +0 -1
  705. package/dist/http/sales-channel/admin/sales-channel.d.ts +0 -16
  706. package/dist/http/sales-channel/admin/sales-channel.d.ts.map +0 -1
  707. package/dist/http/sales-channel/admin/sales-channel.js +0 -3
  708. package/dist/http/sales-channel/admin/sales-channel.js.map +0 -1
  709. package/dist/http/stock-locations/common.d.ts +0 -28
  710. package/dist/http/stock-locations/common.d.ts.map +0 -1
  711. package/dist/http/stock-locations/common.js.map +0 -1
  712. package/dist/http/tax/admin/index.d.ts +0 -3
  713. package/dist/http/tax/admin/index.d.ts.map +0 -1
  714. package/dist/http/tax/admin/index.js.map +0 -1
  715. package/dist/http/tax/admin/tax-rates.d.ts +0 -28
  716. package/dist/http/tax/admin/tax-rates.d.ts.map +0 -1
  717. package/dist/http/tax/admin/tax-rates.js +0 -3
  718. package/dist/http/tax/admin/tax-rates.js.map +0 -1
  719. package/dist/http/tax/admin/tax-regions.d.ts +0 -28
  720. package/dist/http/tax/admin/tax-regions.d.ts.map +0 -1
  721. package/dist/http/tax/admin/tax-regions.js +0 -3
  722. package/dist/http/tax/admin/tax-regions.js.map +0 -1
  723. package/dist/http/tax/index.d.ts.map +0 -1
  724. package/dist/http/tax/index.js.map +0 -1
  725. package/dist/inventory/bundle.d.ts +0 -3
  726. package/dist/inventory/bundle.d.ts.map +0 -1
  727. package/dist/inventory/bundle.js.map +0 -1
  728. package/dist/inventory/common.d.ts +0 -494
  729. package/dist/inventory/common.d.ts.map +0 -1
  730. package/dist/inventory/service-next.d.ts +0 -914
  731. package/dist/inventory/service-next.d.ts.map +0 -1
  732. package/dist/inventory/service-next.js +0 -3
  733. package/dist/inventory/service-next.js.map +0 -1
  734. package/dist/modules-sdk/internal-module-service.d.ts.map +0 -1
  735. package/dist/modules-sdk/internal-module-service.js +0 -3
  736. package/dist/modules-sdk/internal-module-service.js.map +0 -1
  737. package/dist/modules-sdk/module-service.d.ts +0 -1
  738. package/dist/modules-sdk/module-service.d.ts.map +0 -1
  739. package/dist/modules-sdk/module-service.js +0 -1
  740. package/dist/modules-sdk/module-service.js.map +0 -1
  741. package/dist/pricing/common/price-set-rule-type.d.ts +0 -24
  742. package/dist/pricing/common/price-set-rule-type.d.ts.map +0 -1
  743. package/dist/pricing/common/price-set-rule-type.js +0 -3
  744. package/dist/pricing/common/price-set-rule-type.js.map +0 -1
  745. package/dist/pricing/common/rule-type.d.ts +0 -102
  746. package/dist/pricing/common/rule-type.d.ts.map +0 -1
  747. package/dist/pricing/common/rule-type.js +0 -3
  748. package/dist/pricing/common/rule-type.js.map +0 -1
  749. package/dist/region__legacy/common.d.ts +0 -44
  750. package/dist/region__legacy/common.d.ts.map +0 -1
  751. package/dist/region__legacy/common.js +0 -3
  752. package/dist/region__legacy/index.d.ts +0 -2
  753. package/dist/region__legacy/index.d.ts.map +0 -1
  754. package/dist/region__legacy/index.js.map +0 -1
  755. package/dist/stock-location/service-next.d.ts +0 -279
  756. package/dist/stock-location/service-next.d.ts.map +0 -1
  757. package/dist/stock-location/service-next.js +0 -3
  758. package/dist/stock-location/service-next.js.map +0 -1
  759. /package/dist/http/{tax → currency}/index.d.ts +0 -0
  760. /package/dist/http/{tax → currency}/index.js +0 -0
  761. /package/dist/http/{product-category → file}/admin.js +0 -0
  762. /package/dist/http/{stock-locations → file}/common.js +0 -0
  763. /package/dist/http/{product-category → file}/store.js +0 -0
  764. /package/dist/{inventory → http/product-type}/common.js +0 -0
@@ -16,7 +16,7 @@ export interface IRegionModuleService extends IModuleService {
16
16
  * @returns {Promise<RegionDTO[]>} The created regions.
17
17
  *
18
18
  * @example
19
- * const region = await regionModuleService.create([
19
+ * const region = await regionModuleService.createRegions([
20
20
  * {
21
21
  * name: "Europe",
22
22
  * currency_code: "eur",
@@ -29,7 +29,7 @@ export interface IRegionModuleService extends IModuleService {
29
29
  * },
30
30
  * ])
31
31
  */
32
- create(data: CreateRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
32
+ createRegions(data: CreateRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
33
33
  /**
34
34
  * This method creates a region.
35
35
  *
@@ -38,13 +38,13 @@ export interface IRegionModuleService extends IModuleService {
38
38
  * @returns {Promise<RegionDTO>} The created region.
39
39
  *
40
40
  * @example
41
- * const region = await regionModuleService.create({
41
+ * const region = await regionModuleService.createRegions({
42
42
  * name: "Europe",
43
43
  * currency_code: "eur",
44
44
  * countries: ["dk", "de", "fr"],
45
45
  * })
46
46
  */
47
- create(data: CreateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
47
+ createRegions(data: CreateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
48
48
  /**
49
49
  * This method updates or creates regions if they don't exist.
50
50
  *
@@ -53,7 +53,7 @@ export interface IRegionModuleService extends IModuleService {
53
53
  * @returns {Promise<RegionDTO[]>} The created or updated regions.
54
54
  *
55
55
  * @example
56
- * const region = await regionModuleService.upsert([
56
+ * const region = await regionModuleService.upsertRegions([
57
57
  * {
58
58
  * id: "reg_123",
59
59
  * automatic_taxes: false,
@@ -64,7 +64,7 @@ export interface IRegionModuleService extends IModuleService {
64
64
  * },
65
65
  * ])
66
66
  */
67
- upsert(data: UpsertRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
67
+ upsertRegions(data: UpsertRegionDTO[], sharedContext?: Context): Promise<RegionDTO[]>;
68
68
  /**
69
69
  * This method updates or creates a region if it doesn't exist.
70
70
  *
@@ -73,12 +73,12 @@ export interface IRegionModuleService extends IModuleService {
73
73
  * @returns {Promise<RegionDTO>} The created or updated region.
74
74
  *
75
75
  * @example
76
- * const region = await regionModuleService.upsert({
76
+ * const region = await regionModuleService.upsertRegions({
77
77
  * id: "reg_123",
78
78
  * automatic_taxes: false,
79
79
  * })
80
80
  */
81
- upsert(data: UpsertRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
81
+ upsertRegions(data: UpsertRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
82
82
  /**
83
83
  * This method updates an existing region.
84
84
  *
@@ -88,11 +88,11 @@ export interface IRegionModuleService extends IModuleService {
88
88
  * @returns {Promise<RegionDTO>} The updated region.
89
89
  *
90
90
  * @example
91
- * const region = await regionModuleService.update("reg_123", {
91
+ * const region = await regionModuleService.updateRegions("reg_123", {
92
92
  * automatic_taxes: false,
93
93
  * })
94
94
  */
95
- update(id: string, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
95
+ updateRegions(id: string, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO>;
96
96
  /**
97
97
  * This method updates existing regions.
98
98
  *
@@ -102,7 +102,7 @@ export interface IRegionModuleService extends IModuleService {
102
102
  * @returns {Promise<RegionDTO[]>} The updated regions.
103
103
  *
104
104
  * @example
105
- * const region = await regionModuleService.update(
105
+ * const region = await regionModuleService.updateRegions(
106
106
  * {
107
107
  * name: "Europe",
108
108
  * },
@@ -111,7 +111,7 @@ export interface IRegionModuleService extends IModuleService {
111
111
  * }
112
112
  * )
113
113
  */
114
- update(selector: FilterableRegionProps, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO[]>;
114
+ updateRegions(selector: FilterableRegionProps, data: UpdateRegionDTO, sharedContext?: Context): Promise<RegionDTO[]>;
115
115
  /**
116
116
  * This method deletes regions by their IDs.
117
117
  *
@@ -120,9 +120,9 @@ export interface IRegionModuleService extends IModuleService {
120
120
  * @returns {Promise<void>} Resolves when the regions are deleted.
121
121
  *
122
122
  * @example
123
- * await regionModuleService.delete(["reg_123", "reg_321"])
123
+ * await regionModuleService.deleteRegions(["reg_123", "reg_321"])
124
124
  */
125
- delete(ids: string[], sharedContext?: Context): Promise<void>;
125
+ deleteRegions(ids: string[], sharedContext?: Context): Promise<void>;
126
126
  /**
127
127
  * This method deletes a region by its ID.
128
128
  *
@@ -131,9 +131,9 @@ export interface IRegionModuleService extends IModuleService {
131
131
  * @returns {Promise<void>} Resolves when the region is deleted.
132
132
  *
133
133
  * @example
134
- * await regionModuleService.delete("reg_123")
134
+ * await regionModuleService.deleteRegions("reg_123")
135
135
  */
136
- delete(id: string, sharedContext?: Context): Promise<void>;
136
+ deleteRegions(id: string, sharedContext?: Context): Promise<void>;
137
137
  /**
138
138
  * This method retrieves a region by its ID.
139
139
  *
@@ -147,18 +147,18 @@ export interface IRegionModuleService extends IModuleService {
147
147
  * A simple example that retrieves a region by its ID:
148
148
  *
149
149
  * ```ts
150
- * const region = await regionModuleService.retrieve("reg_123")
150
+ * const region = await regionModuleService.retrieveRegion("reg_123")
151
151
  * ```
152
152
  *
153
153
  * To specify relations that should be retrieved:
154
154
  *
155
155
  * ```ts
156
- * const region = await regionModuleService.retrieve("reg_123", {
156
+ * const region = await regionModuleService.retrieveRegion("reg_123", {
157
157
  * relations: ["countries"],
158
158
  * })
159
159
  * ```
160
160
  */
161
- retrieve(id: string, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO>;
161
+ retrieveRegion(id: string, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO>;
162
162
  /**
163
163
  * This method retrieves a paginated list of regions based on optional filters and configuration.
164
164
  *
@@ -172,7 +172,7 @@ export interface IRegionModuleService extends IModuleService {
172
172
  * To retrieve a list of regions using their IDs:
173
173
  *
174
174
  * ```ts
175
- * const regions = await regionModuleService.list({
175
+ * const regions = await regionModuleService.listRegions({
176
176
  * id: ["reg_123", "reg_321"],
177
177
  * })
178
178
  * ```
@@ -180,7 +180,7 @@ export interface IRegionModuleService extends IModuleService {
180
180
  * To specify relations that should be retrieved within the regions:
181
181
  *
182
182
  * ```ts
183
- * const regions = await regionModuleService.list(
183
+ * const regions = await regionModuleService.listRegions(
184
184
  * {
185
185
  * id: ["reg_123", "reg_321"],
186
186
  * },
@@ -193,7 +193,7 @@ export interface IRegionModuleService extends IModuleService {
193
193
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
194
194
  *
195
195
  * ```ts
196
- * const regions = await regionModuleService.list(
196
+ * const regions = await regionModuleService.listRegions(
197
197
  * {
198
198
  * id: ["reg_123", "reg_321"],
199
199
  * },
@@ -205,7 +205,7 @@ export interface IRegionModuleService extends IModuleService {
205
205
  * )
206
206
  * ```
207
207
  */
208
- list(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO[]>;
208
+ listRegions(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<RegionDTO[]>;
209
209
  /**
210
210
  * This method retrieves a paginated list of regions along with the total count of available regions satisfying the provided filters.
211
211
  *
@@ -220,7 +220,7 @@ export interface IRegionModuleService extends IModuleService {
220
220
  *
221
221
  * ```ts
222
222
  * const [regions, count] =
223
- * await regionModuleService.listAndCount({
223
+ * await regionModuleService.listAndCountRegions({
224
224
  * id: ["reg_123", "reg_321"],
225
225
  * })
226
226
  * ```
@@ -229,7 +229,7 @@ export interface IRegionModuleService extends IModuleService {
229
229
  *
230
230
  * ```ts
231
231
  * const [regions, count] =
232
- * await regionModuleService.listAndCount(
232
+ * await regionModuleService.listAndCountRegions(
233
233
  * {
234
234
  * id: ["reg_123", "reg_321"],
235
235
  * },
@@ -243,7 +243,7 @@ export interface IRegionModuleService extends IModuleService {
243
243
  *
244
244
  * ```ts
245
245
  * const [regions, count] =
246
- * await regionModuleService.listAndCount(
246
+ * await regionModuleService.listAndCountRegions(
247
247
  * {
248
248
  * id: ["reg_123", "reg_321"],
249
249
  * },
@@ -255,7 +255,7 @@ export interface IRegionModuleService extends IModuleService {
255
255
  * )
256
256
  * ```
257
257
  */
258
- listAndCount(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<[RegionDTO[], number]>;
258
+ listAndCountRegions(filters?: FilterableRegionProps, config?: FindConfig<RegionDTO>, sharedContext?: Context): Promise<[RegionDTO[], number]>;
259
259
  /**
260
260
  * This method retrieves a country by its 2 character ISO code.
261
261
  *
@@ -395,11 +395,11 @@ export interface IRegionModuleService extends IModuleService {
395
395
  * If there are no related records, the promise resolves to `void`.
396
396
  *
397
397
  * @example
398
- * await regionModuleService.softDelete(["reg_123", "reg_321"], {
398
+ * await regionModuleService.softDeleteRegions(["reg_123", "reg_321"], {
399
399
  * returnLinkableKeys: ["country_id"],
400
400
  * })
401
401
  */
402
- softDelete<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
402
+ softDeleteRegions<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
403
403
  /**
404
404
  * This method restores soft deleted regions by their IDs.
405
405
  *
@@ -415,10 +415,10 @@ export interface IRegionModuleService extends IModuleService {
415
415
  * If there are no related records restored, the promise resolves to `void`.
416
416
  *
417
417
  * @example
418
- * await regionModuleService.restore(["reg_123", "reg_321"], {
418
+ * await regionModuleService.restoreRegions(["reg_123", "reg_321"], {
419
419
  * returnLinkableKeys: ["country_id"],
420
420
  * })
421
421
  */
422
- restore<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
422
+ restoreRegions<TReturnableLinkableKeys extends string = string>(regionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
423
423
  }
424
424
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/region/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACV,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE/E;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;IAE9E;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;IAE1E;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAA;IAE9E;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;IAE1E;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI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AgB,CAAC,CAAA;IAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,aAAa,CACX,OAAO,CAAC,EAAE,4BAA4B,EACtC,MAAM,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACrC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgDG;IACH,qBAAqB,CACnB,OAAO,CAAC,EAAE,4BAA4B,EACtC,MAAM,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACrC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,gBAAgB,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAExC;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAC/D,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EAClD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;;;;;;;;;;;;OAkBG;IACH,cAAc,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAC5D,SAAS,EAAE,MAAM,EAAE,EACnB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
@@ -1,3 +1,4 @@
1
+ import { MetadataType } from "../common";
1
2
  /**
2
3
  * The sales channel to be created.
3
4
  */
@@ -9,7 +10,7 @@ export interface CreateSalesChannelDTO {
9
10
  /**
10
11
  * The description of the sales channel.
11
12
  */
12
- description?: string;
13
+ description?: string | null;
13
14
  /**
14
15
  * Whether the sales channel is disabled.
15
16
  */
@@ -26,7 +27,7 @@ export interface UpdateSalesChannelDTO {
26
27
  /**
27
28
  * The description of the sales channel.
28
29
  */
29
- description?: string;
30
+ description?: string | null;
30
31
  /**
31
32
  * Whether the sales channel is disabled.
32
33
  */
@@ -34,7 +35,7 @@ export interface UpdateSalesChannelDTO {
34
35
  /**
35
36
  * Holds custom data in key-value pairs.
36
37
  */
37
- metadata?: Record<string, unknown>;
38
+ metadata?: MetadataType;
38
39
  }
39
40
  /**
40
41
  * The attributes in the sales channel to be created or updated.
@@ -60,6 +61,6 @@ export interface UpsertSalesChannelDTO {
60
61
  /**
61
62
  * Holds custom data in key-value pairs.
62
63
  */
63
- metadata?: Record<string, unknown> | null;
64
+ metadata?: MetadataType;
64
65
  }
65
66
  //# sourceMappingURL=mutations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/sales-channel/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
1
+ {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/sales-channel/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB"}
@@ -16,13 +16,13 @@ export interface ISalesChannelModuleService extends IModuleService {
16
16
  * @returns {Promise<SalesChannelDTO[]>} The created sales channels.
17
17
  *
18
18
  * @example
19
- * const salesChannels = await salesChannelModuleService.create([
19
+ * const salesChannels = await salesChannelModuleService.createSalesChannels([
20
20
  * {
21
21
  * name: "B2B",
22
22
  * },
23
23
  * ])
24
24
  */
25
- create(data: CreateSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
25
+ createSalesChannels(data: CreateSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
26
26
  /**
27
27
  * This method creates a sales channel.
28
28
  *
@@ -31,11 +31,11 @@ export interface ISalesChannelModuleService extends IModuleService {
31
31
  * @returns {Promise<SalesChannelDTO>} The created sales channel.
32
32
  *
33
33
  * @example
34
- * const salesChannel = await salesChannelModuleService.create({
34
+ * const salesChannel = await salesChannelModuleService.createSalesChannels({
35
35
  * name: "B2B",
36
36
  * })
37
37
  */
38
- create(data: CreateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
38
+ createSalesChannels(data: CreateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
39
39
  /**
40
40
  * This method updates an existing sales channel.
41
41
  *
@@ -45,14 +45,14 @@ export interface ISalesChannelModuleService extends IModuleService {
45
45
  * @returns {Promise<SalesChannelDTO>} The updated sales channel.
46
46
  *
47
47
  * @example
48
- * const salesChannel = await salesChannelModuleService.update(
48
+ * const salesChannel = await salesChannelModuleService.updateSalesChannels(
49
49
  * "sc_123",
50
50
  * {
51
51
  * description: "Sales channel for B2B customers",
52
52
  * }
53
53
  * )
54
54
  */
55
- update(channelId: string, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
55
+ updateSalesChannels(channelId: string, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
56
56
  /**
57
57
  * This method updates existing sales channels matching the specified filters
58
58
  *
@@ -62,7 +62,7 @@ export interface ISalesChannelModuleService extends IModuleService {
62
62
  * @returns {Promise<SalesChannelDTO[]>} The updated sales channels.
63
63
  *
64
64
  * @example
65
- * const salesChannels = await salesChannelModuleService.update(
65
+ * const salesChannels = await salesChannelModuleService.updateSalesChannels(
66
66
  * {
67
67
  * name: "B2B",
68
68
  * },
@@ -71,7 +71,7 @@ export interface ISalesChannelModuleService extends IModuleService {
71
71
  * }
72
72
  * )
73
73
  */
74
- update(selector: FilterableSalesChannelProps, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO[]>;
74
+ updateSalesChannels(selector: FilterableSalesChannelProps, data: UpdateSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO[]>;
75
75
  /**
76
76
  * This method updates or creates a sales channel if it doesn't exist.
77
77
  *
@@ -80,11 +80,11 @@ export interface ISalesChannelModuleService extends IModuleService {
80
80
  * @returns {Promise<SalesChannelDTO>} The created or updated sales channel.
81
81
  *
82
82
  * @example
83
- * const salesChannel = await salesChannelModuleService.upsert({
83
+ * const salesChannel = await salesChannelModuleService.upsertSalesChannels({
84
84
  * name: "B2B",
85
85
  * })
86
86
  */
87
- upsert(data: UpsertSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
87
+ upsertSalesChannels(data: UpsertSalesChannelDTO, sharedContext?: Context): Promise<SalesChannelDTO>;
88
88
  /**
89
89
  * This method updates or creates sales channels if they don't exist.
90
90
  *
@@ -93,7 +93,7 @@ export interface ISalesChannelModuleService extends IModuleService {
93
93
  * @returns {Promise<SalesChannelDTO[]>} The created or updated sales channels.
94
94
  *
95
95
  * @example
96
- * const salesChannels = await salesChannelModuleService.upsert([
96
+ * const salesChannels = await salesChannelModuleService.upsertSalesChannels([
97
97
  * {
98
98
  * name: "B2B",
99
99
  * },
@@ -103,7 +103,7 @@ export interface ISalesChannelModuleService extends IModuleService {
103
103
  * },
104
104
  * ])
105
105
  */
106
- upsert(data: UpsertSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
106
+ upsertSalesChannels(data: UpsertSalesChannelDTO[], sharedContext?: Context): Promise<SalesChannelDTO[]>;
107
107
  /**
108
108
  * This method deletes sales channel by their IDs.
109
109
  *
@@ -112,9 +112,9 @@ export interface ISalesChannelModuleService extends IModuleService {
112
112
  * @returns {Promise<void>} Resolves when the sales channels are deleted successfully.
113
113
  *
114
114
  * @example
115
- * await salesChannelModuleService.delete(["sc_123", "sc_321"])
115
+ * await salesChannelModuleService.deleteSalesChannels(["sc_123", "sc_321"])
116
116
  */
117
- delete(ids: string[], sharedContext?: Context): Promise<void>;
117
+ deleteSalesChannels(ids: string[], sharedContext?: Context): Promise<void>;
118
118
  /**
119
119
  * This method deletes a sales channel by its ID.
120
120
  *
@@ -123,9 +123,9 @@ export interface ISalesChannelModuleService extends IModuleService {
123
123
  * @returns {Promise<void>} Resolves when the sales channel is deleted successfully.
124
124
  *
125
125
  * @example
126
- * await salesChannelModuleService.delete("sc_123")
126
+ * await salesChannelModuleService.deleteSalesChannels("sc_123")
127
127
  */
128
- delete(id: string, sharedContext?: Context): Promise<void>;
128
+ deleteSalesChannels(id: string, sharedContext?: Context): Promise<void>;
129
129
  /**
130
130
  * This method retrieves a sales channel by its ID.
131
131
  *
@@ -137,9 +137,9 @@ export interface ISalesChannelModuleService extends IModuleService {
137
137
  *
138
138
  * @example
139
139
  * const salesChannel =
140
- * await salesChannelModuleService.retrieve("sc_123")
140
+ * await salesChannelModuleService.retrieveSalesChannel("sc_123")
141
141
  */
142
- retrieve(id: string, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO>;
142
+ retrieveSalesChannel(id: string, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO>;
143
143
  /**
144
144
  * This method retrieves a paginated list of sales channels based on optional filters and configuration.
145
145
  *
@@ -153,7 +153,7 @@ export interface ISalesChannelModuleService extends IModuleService {
153
153
  * To retrieve a list of sales channels using their IDs:
154
154
  *
155
155
  * ```ts
156
- * const salesChannels = await salesChannelModuleService.list({
156
+ * const salesChannels = await salesChannelModuleService.listSalesChannels({
157
157
  * id: ["sc_123", "sc_321"],
158
158
  * })
159
159
  * ```
@@ -161,7 +161,7 @@ export interface ISalesChannelModuleService extends IModuleService {
161
161
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
162
162
  *
163
163
  * ```ts
164
- * const salesChannels = await salesChannelModuleService.list(
164
+ * const salesChannels = await salesChannelModuleService.listSalesChannels(
165
165
  * {
166
166
  * id: ["sc_123", "sc_321"],
167
167
  * },
@@ -172,7 +172,7 @@ export interface ISalesChannelModuleService extends IModuleService {
172
172
  * )
173
173
  * ```
174
174
  */
175
- list(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO[]>;
175
+ listSalesChannels(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<SalesChannelDTO[]>;
176
176
  /**
177
177
  * This method retrieves a paginated list of sales channels along with the total count of available sales channels satisfying the provided filters.
178
178
  *
@@ -187,7 +187,7 @@ export interface ISalesChannelModuleService extends IModuleService {
187
187
  *
188
188
  * ```ts
189
189
  * const [salesChannels, count] =
190
- * await salesChannelModuleService.listAndCount({
190
+ * await salesChannelModuleService.listAndCountSalesChannels({
191
191
  * id: ["sc_123", "sc_321"],
192
192
  * })
193
193
  * ```
@@ -196,7 +196,7 @@ export interface ISalesChannelModuleService extends IModuleService {
196
196
  *
197
197
  * ```ts
198
198
  * const [salesChannels, count] =
199
- * await salesChannelModuleService.listAndCount(
199
+ * await salesChannelModuleService.listAndCountSalesChannels(
200
200
  * {
201
201
  * id: ["sc_123", "sc_321"],
202
202
  * },
@@ -207,7 +207,7 @@ export interface ISalesChannelModuleService extends IModuleService {
207
207
  * )
208
208
  * ```
209
209
  */
210
- listAndCount(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<[SalesChannelDTO[], number]>;
210
+ listAndCountSalesChannels(filters?: FilterableSalesChannelProps, config?: FindConfig<SalesChannelDTO>, sharedContext?: Context): Promise<[SalesChannelDTO[], number]>;
211
211
  /**
212
212
  * This method soft deletes sales channels by their IDs.
213
213
  *
@@ -218,9 +218,9 @@ export interface ISalesChannelModuleService extends IModuleService {
218
218
  * If there are no related records, the promise resolves to `void`.
219
219
  *
220
220
  * @example
221
- * await salesChannelModuleService.delete(["sc_123", "sc_321"])
221
+ * await salesChannelModuleService.softDeleteSalesChannels(["sc_123", "sc_321"])
222
222
  */
223
- softDelete<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
223
+ softDeleteSalesChannels<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
224
224
  /**
225
225
  * This method restores a soft deleted sales channel by its IDs.
226
226
  *
@@ -232,8 +232,8 @@ export interface ISalesChannelModuleService extends IModuleService {
232
232
  * If there are no related records restored, the promise resolves to `void`.
233
233
  *
234
234
  * @example
235
- * await salesChannelModuleService.restore(["sc_123", "sc_321"])
235
+ * await salesChannelModuleService.restoreSalesChannels(["sc_123", "sc_321"])
236
236
  */
237
- restore<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
237
+ restoreSalesChannels<TReturnableLinkableKeys extends string = string>(salesChannelIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
238
238
  }
239
239
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/sales-channel/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO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E,EACzB,MAAM,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EAClD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;;;;;;OAYG;IACH,oBAAoB,CAAC,uBAAuB,SAAS,MAAM,GAAG,MAAM,EAClE,eAAe,EAAE,MAAM,EAAE,EACzB,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;CAC5C"}
@@ -1,4 +1,3 @@
1
- import { EntityManager } from "typeorm";
2
1
  import { EventBusTypes } from "./bundles";
3
2
  import { Message } from "./event-bus";
4
3
  /**
@@ -11,11 +10,11 @@ export type SharedContext = {
11
10
  /**
12
11
  * An instance of a transaction manager.
13
12
  */
14
- transactionManager?: EntityManager;
13
+ transactionManager?: any;
15
14
  /**
16
15
  * An instance of an entity manager.
17
16
  */
18
- manager?: EntityManager;
17
+ manager?: any;
19
18
  };
20
19
  export interface MessageAggregatorFormat {
21
20
  groupBy?: string[];
@@ -27,7 +26,7 @@ export interface IMessageAggregator {
27
26
  save(msg: Message | Message[]): void;
28
27
  getMessages(format?: MessageAggregatorFormat): Record<string, Message[]>;
29
28
  clearMessages(): void;
30
- saveRawMessageData<T>(messageData: EventBusTypes.MessageFormat<T> | EventBusTypes.MessageFormat<T>[], options?: Record<string, unknown>): void;
29
+ saveRawMessageData<T>(messageData: EventBusTypes.RawMessageFormat<T> | EventBusTypes.RawMessageFormat<T>[], options?: Record<string, unknown>): void;
31
30
  }
32
31
  /**
33
32
  * @interface
@@ -1 +1 @@
1
- {"version":3,"file":"shared-context.d.ts","sourceRoot":"","sources":["../src/shared-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,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Q,GAAG,OAAO,IAAI;IACxC,MAAM,CAAC,EAAE,eAAe,CAAA;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,QAAQ,CAAA;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAA;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,kBAAkB,CAAA;IAEtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { MetadataType } from "../common";
1
2
  import { BaseFilterable, OperatorMap } from "../dal";
2
3
  import { FulfillmentSetDTO } from "../fulfillment";
3
4
  /**
@@ -104,7 +105,7 @@ export type StockLocationAddressDTO = {
104
105
  /**
105
106
  * Holds custom data in key-value pairs.
106
107
  */
107
- metadata?: Record<string, unknown> | null;
108
+ metadata?: MetadataType;
108
109
  /**
109
110
  * The creation date of the stock location address.
110
111
  */
@@ -311,7 +312,7 @@ export type StockLocationAddressInput = {
311
312
  /**
312
313
  * Holds custom data in key-value pairs.
313
314
  */
314
- metadata?: Record<string, unknown> | null;
315
+ metadata?: MetadataType;
315
316
  };
316
317
  /**
317
318
  * @schema CreateStockLocationInput
@@ -345,7 +346,7 @@ export type CreateStockLocationInput = {
345
346
  /**
346
347
  * The associated address's ID.
347
348
  */
348
- address_id?: string;
349
+ address_id?: string | null;
349
350
  /**
350
351
  * The associated address.
351
352
  */
@@ -353,7 +354,7 @@ export type CreateStockLocationInput = {
353
354
  /**
354
355
  * Holds custom data in key-value pairs.
355
356
  */
356
- metadata?: Record<string, unknown>;
357
+ metadata?: MetadataType;
357
358
  };
358
359
  /**
359
360
  * @schema UpdateStockLocationInput
@@ -385,7 +386,7 @@ export type UpdateStockLocationInput = {
385
386
  /**
386
387
  * The associated address's ID.
387
388
  */
388
- address_id?: string;
389
+ address_id?: string | null;
389
390
  /**
390
391
  * The associated address's details.
391
392
  */
@@ -393,24 +394,18 @@ export type UpdateStockLocationInput = {
393
394
  /**
394
395
  * Holds custom data in key-value pairs.
395
396
  */
396
- metadata?: Record<string, unknown>;
397
+ metadata?: MetadataType;
397
398
  };
398
399
  /**
399
400
  * @interface
400
401
  *
401
- * The attributes to update in a stock location.
402
+ * A stock location to create or update. If the `id` property isn't provided,
403
+ * the stock location is created. In that case, the `name` property is required.
402
404
  */
403
- export type UpdateStockLocationNextInput = UpdateStockLocationInput & {
405
+ export type UpsertStockLocationInput = Partial<UpdateStockLocationInput> & {
404
406
  /**
405
- * The ID of the stock location.
407
+ * The ID of the stock location, if updating.
406
408
  */
407
- id: string;
409
+ id?: string;
408
410
  };
409
- /**
410
- * @interface
411
- *
412
- * A stock location to create or update. If the `id` property isn't provided,
413
- * the stock location is created. In that case, the `name` property is required.
414
- */
415
- export type UpsertStockLocationInput = Partial<UpdateStockLocationNextInput>;
416
411
  //# sourceMappingURL=common.d.ts.map