@medusajs/order 0.1.3 → 1.0.0-rc-20241003153304

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. package/dist/index.d.ts +6 -8
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +4 -26
  4. package/dist/index.js.map +1 -1
  5. package/dist/joiner-config.d.ts +2 -5
  6. package/dist/joiner-config.d.ts.map +1 -0
  7. package/dist/joiner-config.js +21 -28
  8. package/dist/joiner-config.js.map +1 -1
  9. package/dist/migrations/Migration20240219102530.d.ts +1 -0
  10. package/dist/migrations/Migration20240219102530.d.ts.map +1 -0
  11. package/dist/migrations/Migration20240219102530.js +53 -19
  12. package/dist/migrations/Migration20240219102530.js.map +1 -1
  13. package/dist/migrations/Migration20240604100512.d.ts +5 -0
  14. package/dist/migrations/Migration20240604100512.d.ts.map +1 -0
  15. package/dist/migrations/Migration20240604100512.js +371 -0
  16. package/dist/migrations/Migration20240604100512.js.map +1 -0
  17. package/dist/migrations/Migration20240715102100.d.ts +5 -0
  18. package/dist/migrations/Migration20240715102100.d.ts.map +1 -0
  19. package/dist/migrations/Migration20240715102100.js +15 -0
  20. package/dist/migrations/Migration20240715102100.js.map +1 -0
  21. package/dist/migrations/Migration20240715174100.d.ts +5 -0
  22. package/dist/migrations/Migration20240715174100.d.ts.map +1 -0
  23. package/dist/migrations/Migration20240715174100.js +21 -0
  24. package/dist/migrations/Migration20240715174100.js.map +1 -0
  25. package/dist/migrations/Migration20240716081800.d.ts +5 -0
  26. package/dist/migrations/Migration20240716081800.d.ts.map +1 -0
  27. package/dist/migrations/Migration20240716081800.js +67 -0
  28. package/dist/migrations/Migration20240716081800.js.map +1 -0
  29. package/dist/migrations/Migration20240801085921.d.ts +5 -0
  30. package/dist/migrations/Migration20240801085921.d.ts.map +1 -0
  31. package/dist/migrations/Migration20240801085921.js +30 -0
  32. package/dist/migrations/Migration20240801085921.js.map +1 -0
  33. package/dist/migrations/Migration20240821164505.d.ts +6 -0
  34. package/dist/migrations/Migration20240821164505.d.ts.map +1 -0
  35. package/dist/migrations/Migration20240821164505.js +26 -0
  36. package/dist/migrations/Migration20240821164505.js.map +1 -0
  37. package/dist/migrations/Migration20240821170920.d.ts +6 -0
  38. package/dist/migrations/Migration20240821170920.d.ts.map +1 -0
  39. package/dist/migrations/Migration20240821170920.js +18 -0
  40. package/dist/migrations/Migration20240821170920.js.map +1 -0
  41. package/dist/migrations/Migration20240827133639.d.ts +6 -0
  42. package/dist/migrations/Migration20240827133639.d.ts.map +1 -0
  43. package/dist/migrations/Migration20240827133639.js +17 -0
  44. package/dist/migrations/Migration20240827133639.js.map +1 -0
  45. package/dist/migrations/Migration20240902195921.d.ts +6 -0
  46. package/dist/migrations/Migration20240902195921.d.ts.map +1 -0
  47. package/dist/migrations/Migration20240902195921.js +16 -0
  48. package/dist/migrations/Migration20240902195921.js.map +1 -0
  49. package/dist/migrations/Migration20240913092514.d.ts +6 -0
  50. package/dist/migrations/Migration20240913092514.d.ts.map +1 -0
  51. package/dist/migrations/Migration20240913092514.js +17 -0
  52. package/dist/migrations/Migration20240913092514.js.map +1 -0
  53. package/dist/models/address.d.ts +4 -3
  54. package/dist/models/address.d.ts.map +1 -0
  55. package/dist/models/address.js +22 -22
  56. package/dist/models/address.js.map +1 -1
  57. package/dist/models/adjustment-line.d.ts +5 -3
  58. package/dist/models/adjustment-line.d.ts.map +1 -0
  59. package/dist/models/adjustment-line.js +6 -1
  60. package/dist/models/adjustment-line.js.map +1 -1
  61. package/dist/models/claim-item-image.d.ts +19 -0
  62. package/dist/models/claim-item-image.d.ts.map +1 -0
  63. package/dist/models/claim-item-image.js +109 -0
  64. package/dist/models/claim-item-image.js.map +1 -0
  65. package/dist/models/claim-item.d.ts +29 -0
  66. package/dist/models/claim-item.d.ts.map +1 -0
  67. package/dist/models/claim-item.js +157 -0
  68. package/dist/models/claim-item.js.map +1 -0
  69. package/dist/models/claim.d.ts +37 -0
  70. package/dist/models/claim.d.ts.map +1 -0
  71. package/dist/models/claim.js +201 -0
  72. package/dist/models/claim.js.map +1 -0
  73. package/dist/models/exchange-item.d.ts +24 -0
  74. package/dist/models/exchange-item.d.ts.map +1 -0
  75. package/dist/models/exchange-item.js +138 -0
  76. package/dist/models/exchange-item.js.map +1 -0
  77. package/dist/models/exchange.d.ts +35 -0
  78. package/dist/models/exchange.d.ts.map +1 -0
  79. package/dist/models/exchange.js +194 -0
  80. package/dist/models/exchange.js.map +1 -0
  81. package/dist/models/index.d.ts +18 -9
  82. package/dist/models/index.d.ts.map +1 -0
  83. package/dist/models/index.js +26 -10
  84. package/dist/models/index.js.map +1 -1
  85. package/dist/models/line-item-adjustment.d.ts +5 -3
  86. package/dist/models/line-item-adjustment.d.ts.map +1 -0
  87. package/dist/models/line-item-adjustment.js +12 -12
  88. package/dist/models/line-item-adjustment.js.map +1 -1
  89. package/dist/models/line-item-tax-line.d.ts +5 -3
  90. package/dist/models/line-item-tax-line.d.ts.map +1 -0
  91. package/dist/models/line-item-tax-line.js +12 -12
  92. package/dist/models/line-item-tax-line.js.map +1 -1
  93. package/dist/models/line-item.d.ts +11 -8
  94. package/dist/models/line-item.d.ts.map +1 -0
  95. package/dist/models/line-item.js +58 -39
  96. package/dist/models/line-item.js.map +1 -1
  97. package/dist/models/order-change-action.d.ts +17 -6
  98. package/dist/models/order-change-action.d.ts.map +1 -0
  99. package/dist/models/order-change-action.js +110 -8
  100. package/dist/models/order-change-action.js.map +1 -1
  101. package/dist/models/order-change.d.ts +18 -6
  102. package/dist/models/order-change.d.ts.map +1 -0
  103. package/dist/models/order-change.js +108 -6
  104. package/dist/models/order-change.js.map +1 -1
  105. package/dist/models/order-item.d.ts +10 -7
  106. package/dist/models/order-item.d.ts.map +1 -0
  107. package/dist/models/order-item.js +29 -19
  108. package/dist/models/order-item.js.map +1 -1
  109. package/dist/models/order-shipping-method.d.ts +17 -7
  110. package/dist/models/order-shipping-method.d.ts.map +1 -0
  111. package/dist/models/order-shipping-method.js +113 -33
  112. package/dist/models/order-shipping-method.js.map +1 -1
  113. package/dist/models/order-summary.d.ts +7 -8
  114. package/dist/models/order-summary.d.ts.map +1 -0
  115. package/dist/models/order-summary.js +14 -10
  116. package/dist/models/order-summary.js.map +1 -1
  117. package/dist/models/order.d.ts +13 -11
  118. package/dist/models/order.d.ts.map +1 -0
  119. package/dist/models/order.js +12 -2
  120. package/dist/models/order.js.map +1 -1
  121. package/dist/models/return-item.d.ts +31 -0
  122. package/dist/models/return-item.d.ts.map +1 -0
  123. package/dist/models/return-item.js +180 -0
  124. package/dist/models/return-item.js.map +1 -0
  125. package/dist/models/return-reason.d.ts +22 -0
  126. package/dist/models/return-reason.d.ts.map +1 -0
  127. package/dist/models/return-reason.js +122 -0
  128. package/dist/models/return-reason.js.map +1 -0
  129. package/dist/models/return.d.ts +41 -0
  130. package/dist/models/return.d.ts.map +1 -0
  131. package/dist/models/return.js +227 -0
  132. package/dist/models/return.js.map +1 -0
  133. package/dist/models/shipping-method-adjustment.d.ts +5 -3
  134. package/dist/models/shipping-method-adjustment.d.ts.map +1 -0
  135. package/dist/models/shipping-method-adjustment.js +12 -12
  136. package/dist/models/shipping-method-adjustment.js.map +1 -1
  137. package/dist/models/shipping-method-tax-line.d.ts +5 -3
  138. package/dist/models/shipping-method-tax-line.d.ts.map +1 -0
  139. package/dist/models/shipping-method-tax-line.js +12 -12
  140. package/dist/models/shipping-method-tax-line.js.map +1 -1
  141. package/dist/models/shipping-method.d.ts +10 -7
  142. package/dist/models/shipping-method.d.ts.map +1 -0
  143. package/dist/models/shipping-method.js +42 -24
  144. package/dist/models/shipping-method.js.map +1 -1
  145. package/dist/models/tax-line.d.ts +4 -2
  146. package/dist/models/tax-line.d.ts.map +1 -0
  147. package/dist/models/tax-line.js +8 -1
  148. package/dist/models/tax-line.js.map +1 -1
  149. package/dist/models/transaction.d.ts +18 -6
  150. package/dist/models/transaction.d.ts.map +1 -0
  151. package/dist/models/transaction.js +133 -24
  152. package/dist/models/transaction.js.map +1 -1
  153. package/dist/repositories/claim.d.ts +9 -0
  154. package/dist/repositories/claim.d.ts.map +1 -0
  155. package/dist/repositories/claim.js +11 -0
  156. package/dist/repositories/claim.js.map +1 -0
  157. package/dist/repositories/exchange.d.ts +9 -0
  158. package/dist/repositories/exchange.d.ts.map +1 -0
  159. package/dist/repositories/exchange.js +11 -0
  160. package/dist/repositories/exchange.js.map +1 -0
  161. package/dist/repositories/index.d.ts +5 -2
  162. package/dist/repositories/index.d.ts.map +1 -0
  163. package/dist/repositories/index.js +8 -17
  164. package/dist/repositories/index.js.map +1 -1
  165. package/dist/repositories/order.d.ts +2 -4
  166. package/dist/repositories/order.d.ts.map +1 -0
  167. package/dist/repositories/order.js +3 -86
  168. package/dist/repositories/order.js.map +1 -1
  169. package/dist/repositories/return.d.ts +9 -0
  170. package/dist/repositories/return.d.ts.map +1 -0
  171. package/dist/repositories/return.js +11 -0
  172. package/dist/repositories/return.js.map +1 -0
  173. package/dist/schema/index.d.ts +3 -0
  174. package/dist/schema/index.d.ts.map +1 -0
  175. package/dist/schema/index.js +556 -0
  176. package/dist/schema/index.js.map +1 -0
  177. package/dist/services/actions/cancel-claim.d.ts +3 -0
  178. package/dist/services/actions/cancel-claim.d.ts.map +1 -0
  179. package/dist/services/actions/cancel-claim.js +85 -0
  180. package/dist/services/actions/cancel-claim.js.map +1 -0
  181. package/dist/services/actions/cancel-exchange.d.ts +3 -0
  182. package/dist/services/actions/cancel-exchange.d.ts.map +1 -0
  183. package/dist/services/actions/cancel-exchange.js +71 -0
  184. package/dist/services/actions/cancel-exchange.js.map +1 -0
  185. package/dist/services/actions/cancel-fulfillment.d.ts +3 -0
  186. package/dist/services/actions/cancel-fulfillment.d.ts.map +1 -0
  187. package/dist/services/actions/cancel-fulfillment.js +31 -0
  188. package/dist/services/actions/cancel-fulfillment.js.map +1 -0
  189. package/dist/services/actions/cancel-return.d.ts +3 -0
  190. package/dist/services/actions/cancel-return.d.ts.map +1 -0
  191. package/dist/services/actions/cancel-return.js +69 -0
  192. package/dist/services/actions/cancel-return.js.map +1 -0
  193. package/dist/services/actions/create-claim.d.ts +3 -0
  194. package/dist/services/actions/create-claim.d.ts.map +1 -0
  195. package/dist/services/actions/create-claim.js +225 -0
  196. package/dist/services/actions/create-claim.js.map +1 -0
  197. package/dist/services/actions/create-exchange.d.ts +3 -0
  198. package/dist/services/actions/create-exchange.d.ts.map +1 -0
  199. package/dist/services/actions/create-exchange.js +191 -0
  200. package/dist/services/actions/create-exchange.js.map +1 -0
  201. package/dist/services/actions/create-return.d.ts +3 -0
  202. package/dist/services/actions/create-return.d.ts.map +1 -0
  203. package/dist/services/actions/create-return.js +100 -0
  204. package/dist/services/actions/create-return.js.map +1 -0
  205. package/dist/services/actions/index.d.ts +12 -0
  206. package/dist/services/actions/index.d.ts.map +1 -0
  207. package/dist/services/actions/index.js +28 -0
  208. package/dist/services/actions/index.js.map +1 -0
  209. package/dist/services/actions/receive-return.d.ts +3 -0
  210. package/dist/services/actions/receive-return.d.ts.map +1 -0
  211. package/dist/services/actions/receive-return.js +71 -0
  212. package/dist/services/actions/receive-return.js.map +1 -0
  213. package/dist/services/actions/register-delivery.d.ts +3 -0
  214. package/dist/services/actions/register-delivery.d.ts.map +1 -0
  215. package/dist/services/actions/register-delivery.js +29 -0
  216. package/dist/services/actions/register-delivery.js.map +1 -0
  217. package/dist/services/actions/register-fulfillment.d.ts +3 -0
  218. package/dist/services/actions/register-fulfillment.d.ts.map +1 -0
  219. package/dist/services/actions/register-fulfillment.js +29 -0
  220. package/dist/services/actions/register-fulfillment.js.map +1 -0
  221. package/dist/services/actions/register-shipment.d.ts +3 -0
  222. package/dist/services/actions/register-shipment.d.ts.map +1 -0
  223. package/dist/services/actions/register-shipment.js +37 -0
  224. package/dist/services/actions/register-shipment.js.map +1 -0
  225. package/dist/services/index.d.ts +1 -1
  226. package/dist/services/index.d.ts.map +1 -0
  227. package/dist/services/index.js +1 -3
  228. package/dist/services/index.js.map +1 -1
  229. package/dist/services/order-module-service.d.ts +191 -109
  230. package/dist/services/order-module-service.d.ts.map +1 -0
  231. package/dist/services/order-module-service.js +1165 -425
  232. package/dist/services/order-module-service.js.map +1 -1
  233. package/dist/services/order-service.d.ts +6 -5
  234. package/dist/services/order-service.d.ts.map +1 -0
  235. package/dist/services/order-service.js +2 -2
  236. package/dist/services/order-service.js.map +1 -1
  237. package/dist/tsconfig.tsbuildinfo +1 -0
  238. package/dist/types/address.d.ts +2 -1
  239. package/dist/types/address.d.ts.map +1 -0
  240. package/dist/types/index.d.ts +5 -2
  241. package/dist/types/index.d.ts.map +1 -0
  242. package/dist/types/index.js +2 -0
  243. package/dist/types/index.js.map +1 -1
  244. package/dist/types/line-item-adjustment.d.ts +2 -1
  245. package/dist/types/line-item-adjustment.d.ts.map +1 -0
  246. package/dist/types/line-item-tax-line.d.ts +1 -0
  247. package/dist/types/line-item-tax-line.d.ts.map +1 -0
  248. package/dist/types/line-item.d.ts +2 -1
  249. package/dist/types/line-item.d.ts.map +1 -0
  250. package/dist/types/order-change.d.ts +4 -0
  251. package/dist/types/order-change.d.ts.map +1 -0
  252. package/dist/types/order-change.js +3 -0
  253. package/dist/types/order-change.js.map +1 -0
  254. package/dist/types/order-detail.d.ts +3 -2
  255. package/dist/types/order-detail.d.ts.map +1 -0
  256. package/dist/types/order.d.ts +4 -3
  257. package/dist/types/order.d.ts.map +1 -0
  258. package/dist/types/return-reason.d.ts +5 -0
  259. package/dist/types/return-reason.d.ts.map +1 -0
  260. package/dist/types/return-reason.js +3 -0
  261. package/dist/types/return-reason.js.map +1 -0
  262. package/dist/types/shipping-method-adjustment.d.ts +2 -1
  263. package/dist/types/shipping-method-adjustment.d.ts.map +1 -0
  264. package/dist/types/shipping-method-tax-line.d.ts +1 -0
  265. package/dist/types/shipping-method-tax-line.d.ts.map +1 -0
  266. package/dist/types/shipping-method.d.ts +5 -1
  267. package/dist/types/shipping-method.d.ts.map +1 -0
  268. package/dist/types/tax-line.d.ts +2 -1
  269. package/dist/types/tax-line.d.ts.map +1 -0
  270. package/dist/types/transaction.d.ts +2 -1
  271. package/dist/types/transaction.d.ts.map +1 -0
  272. package/dist/types/utils/index.d.ts +41 -23
  273. package/dist/types/utils/index.d.ts.map +1 -0
  274. package/dist/types/utils/index.js +0 -1
  275. package/dist/types/utils/index.js.map +1 -1
  276. package/dist/utils/actions/cancel-item-fulfillment.d.ts +2 -0
  277. package/dist/utils/actions/cancel-item-fulfillment.d.ts.map +1 -0
  278. package/dist/utils/actions/cancel-item-fulfillment.js +34 -0
  279. package/dist/utils/actions/cancel-item-fulfillment.js.map +1 -0
  280. package/dist/utils/actions/cancel-return.d.ts +1 -0
  281. package/dist/utils/actions/cancel-return.d.ts.map +1 -0
  282. package/dist/utils/actions/cancel-return.js +9 -16
  283. package/dist/utils/actions/cancel-return.js.map +1 -1
  284. package/dist/utils/actions/deliver-item.d.ts +2 -0
  285. package/dist/utils/actions/deliver-item.d.ts.map +1 -0
  286. package/dist/utils/actions/deliver-item.js +38 -0
  287. package/dist/utils/actions/deliver-item.js.map +1 -0
  288. package/dist/utils/actions/fulfill-item.d.ts +1 -0
  289. package/dist/utils/actions/fulfill-item.d.ts.map +1 -0
  290. package/dist/utils/actions/fulfill-item.js +8 -12
  291. package/dist/utils/actions/fulfill-item.js.map +1 -1
  292. package/dist/utils/actions/index.d.ts +7 -1
  293. package/dist/utils/actions/index.d.ts.map +1 -0
  294. package/dist/utils/actions/index.js +6 -1
  295. package/dist/utils/actions/index.js.map +1 -1
  296. package/dist/utils/actions/item-add.d.ts +1 -0
  297. package/dist/utils/actions/item-add.d.ts.map +1 -0
  298. package/dist/utils/actions/item-add.js +17 -26
  299. package/dist/utils/actions/item-add.js.map +1 -1
  300. package/dist/utils/actions/item-remove.d.ts +1 -0
  301. package/dist/utils/actions/item-remove.d.ts.map +1 -0
  302. package/dist/utils/actions/item-remove.js +10 -30
  303. package/dist/utils/actions/item-remove.js.map +1 -1
  304. package/dist/utils/actions/item-update.d.ts +2 -0
  305. package/dist/utils/actions/item-update.d.ts.map +1 -0
  306. package/dist/utils/actions/item-update.js +37 -0
  307. package/dist/utils/actions/item-update.js.map +1 -0
  308. package/dist/utils/actions/receive-damaged-return-item.d.ts +1 -0
  309. package/dist/utils/actions/receive-damaged-return-item.d.ts.map +1 -0
  310. package/dist/utils/actions/receive-damaged-return-item.js +11 -37
  311. package/dist/utils/actions/receive-damaged-return-item.js.map +1 -1
  312. package/dist/utils/actions/receive-return-item.d.ts +1 -0
  313. package/dist/utils/actions/receive-return-item.d.ts.map +1 -0
  314. package/dist/utils/actions/receive-return-item.js +9 -38
  315. package/dist/utils/actions/receive-return-item.js.map +1 -1
  316. package/dist/utils/actions/reinstate-item.d.ts +2 -0
  317. package/dist/utils/actions/reinstate-item.d.ts.map +1 -0
  318. package/dist/utils/actions/reinstate-item.js +32 -0
  319. package/dist/utils/actions/reinstate-item.js.map +1 -0
  320. package/dist/utils/actions/return-item.d.ts +1 -0
  321. package/dist/utils/actions/return-item.d.ts.map +1 -0
  322. package/dist/utils/actions/return-item.js +10 -15
  323. package/dist/utils/actions/return-item.js.map +1 -1
  324. package/dist/utils/actions/ship-item.d.ts +1 -0
  325. package/dist/utils/actions/ship-item.d.ts.map +1 -0
  326. package/dist/utils/actions/ship-item.js +8 -12
  327. package/dist/utils/actions/ship-item.js.map +1 -1
  328. package/dist/utils/actions/shipping-add.d.ts +1 -0
  329. package/dist/utils/actions/shipping-add.d.ts.map +1 -0
  330. package/dist/utils/actions/shipping-add.js +18 -18
  331. package/dist/utils/actions/shipping-add.js.map +1 -1
  332. package/dist/utils/actions/shipping-remove.d.ts +2 -0
  333. package/dist/utils/actions/shipping-remove.d.ts.map +1 -0
  334. package/dist/utils/actions/shipping-remove.js +22 -0
  335. package/dist/utils/actions/shipping-remove.js.map +1 -0
  336. package/dist/utils/actions/write-off-item.d.ts +1 -0
  337. package/dist/utils/actions/write-off-item.d.ts.map +1 -0
  338. package/dist/utils/actions/write-off-item.js +8 -12
  339. package/dist/utils/actions/write-off-item.js.map +1 -1
  340. package/dist/utils/apply-order-changes.d.ts +18 -0
  341. package/dist/utils/apply-order-changes.d.ts.map +1 -0
  342. package/dist/utils/apply-order-changes.js +98 -0
  343. package/dist/utils/apply-order-changes.js.map +1 -0
  344. package/dist/utils/base-repository-find.d.ts +3 -0
  345. package/dist/utils/base-repository-find.d.ts.map +1 -0
  346. package/dist/utils/base-repository-find.js +154 -0
  347. package/dist/utils/base-repository-find.js.map +1 -0
  348. package/dist/utils/calculate-order-change.d.ts +12 -6
  349. package/dist/utils/calculate-order-change.d.ts.map +1 -0
  350. package/dist/utils/calculate-order-change.js +56 -187
  351. package/dist/utils/calculate-order-change.js.map +1 -1
  352. package/dist/utils/index.d.ts +4 -1
  353. package/dist/utils/index.d.ts.map +1 -0
  354. package/dist/utils/index.js +3 -1
  355. package/dist/utils/index.js.map +1 -1
  356. package/dist/utils/set-action-reference.d.ts +2 -0
  357. package/dist/utils/set-action-reference.d.ts.map +1 -0
  358. package/dist/utils/set-action-reference.js +10 -0
  359. package/dist/utils/set-action-reference.js.map +1 -0
  360. package/dist/utils/transform-order.d.ts +5 -4
  361. package/dist/utils/transform-order.d.ts.map +1 -0
  362. package/dist/utils/transform-order.js +138 -21
  363. package/dist/utils/transform-order.js.map +1 -1
  364. package/package.json +25 -26
  365. package/dist/module-definition.d.ts +0 -2
  366. package/dist/module-definition.js +0 -59
  367. package/dist/module-definition.js.map +0 -1
  368. package/dist/scripts/bin/run-seed.d.ts +0 -3
  369. package/dist/scripts/bin/run-seed.js +0 -49
  370. package/dist/scripts/bin/run-seed.js.map +0 -1
  371. package/dist/services/order-change-service.d.ts +0 -15
  372. package/dist/services/order-change-service.js +0 -96
  373. package/dist/services/order-change-service.js.map +0 -1
  374. package/dist/utils/action-key.d.ts +0 -13
  375. package/dist/utils/action-key.js +0 -18
  376. package/dist/utils/action-key.js.map +0 -1
  377. package/dist/utils/actions/cancel.d.ts +0 -1
  378. package/dist/utils/actions/cancel.js +0 -8
  379. package/dist/utils/actions/cancel.js.map +0 -1
@@ -1,50 +1,57 @@
1
- import { Context, DAL, FindConfig, InternalModuleDeclaration, IOrderModuleService, ModuleJoinerConfig, ModulesSdkTypes, OrderDTO, OrderTypes } from "@medusajs/types";
2
- import { ModulesSdkUtils } from "@medusajs/utils";
3
- import { Address, LineItem, LineItemAdjustment, LineItemTaxLine, Order, OrderChange, OrderChangeAction, OrderItem, OrderShippingMethod, OrderSummary, ShippingMethod, ShippingMethodAdjustment, ShippingMethodTaxLine, Transaction } from "../models";
4
- import { CreateOrderLineItemDTO, CreateOrderShippingMethodDTO } from "../types";
5
- import OrderChangeService from "./order-change-service";
1
+ import { Context, DAL, FilterableOrderReturnReasonProps, FindConfig, InternalModuleDeclaration, IOrderModuleService, ModuleJoinerConfig, ModulesSdkTypes, OrderDTO, OrderReturnReasonDTO, OrderShippingMethodDTO, OrderTypes, RestoreReturn, SoftDeleteReturn, UpdateOrderReturnReasonDTO } from "@medusajs/framework/types";
2
+ import { ModulesSdkUtils } from "@medusajs/framework/utils";
3
+ import { Order, OrderAddress, OrderChange, OrderChangeAction, OrderClaim, OrderClaimItem, OrderClaimItemImage, OrderExchange, OrderExchangeItem, OrderItem, OrderLineItem, OrderLineItemAdjustment, OrderLineItemTaxLine, OrderShipping, OrderShippingMethod, OrderShippingMethodAdjustment, OrderShippingMethodTaxLine, OrderSummary, OrderTransaction, Return, ReturnItem, ReturnReason } from "../models";
4
+ import { CreateOrderChangeDTO, CreateOrderLineItemDTO, CreateOrderShippingMethodDTO } from "../types";
6
5
  import OrderService from "./order-service";
7
6
  type InjectedDependencies = {
8
7
  baseRepository: DAL.RepositoryService;
9
- orderService: OrderService<any>;
10
- addressService: ModulesSdkTypes.InternalModuleService<any>;
11
- lineItemService: ModulesSdkTypes.InternalModuleService<any>;
12
- shippingMethodAdjustmentService: ModulesSdkTypes.InternalModuleService<any>;
13
- shippingMethodService: ModulesSdkTypes.InternalModuleService<any>;
14
- lineItemAdjustmentService: ModulesSdkTypes.InternalModuleService<any>;
15
- lineItemTaxLineService: ModulesSdkTypes.InternalModuleService<any>;
16
- shippingMethodTaxLineService: ModulesSdkTypes.InternalModuleService<any>;
17
- transactionService: ModulesSdkTypes.InternalModuleService<any>;
18
- orderChangeService: OrderChangeService<any>;
19
- orderChangeActionService: ModulesSdkTypes.InternalModuleService<any>;
20
- orderItemService: ModulesSdkTypes.InternalModuleService<any>;
21
- orderSummaryService: ModulesSdkTypes.InternalModuleService<any>;
22
- orderShippingMethodService: ModulesSdkTypes.InternalModuleService<any>;
8
+ orderService: OrderService;
9
+ orderAddressService: ModulesSdkTypes.IMedusaInternalService<any>;
10
+ orderLineItemService: ModulesSdkTypes.IMedusaInternalService<any>;
11
+ orderShippingMethodAdjustmentService: ModulesSdkTypes.IMedusaInternalService<any>;
12
+ orderShippingMethodService: ModulesSdkTypes.IMedusaInternalService<any>;
13
+ orderLineItemAdjustmentService: ModulesSdkTypes.IMedusaInternalService<any>;
14
+ orderLineItemTaxLineService: ModulesSdkTypes.IMedusaInternalService<any>;
15
+ orderShippingMethodTaxLineService: ModulesSdkTypes.IMedusaInternalService<any>;
16
+ orderTransactionService: ModulesSdkTypes.IMedusaInternalService<any>;
17
+ orderChangeService: ModulesSdkTypes.IMedusaInternalService<any>;
18
+ orderChangeActionService: ModulesSdkTypes.IMedusaInternalService<any>;
19
+ orderItemService: ModulesSdkTypes.IMedusaInternalService<any>;
20
+ orderSummaryService: ModulesSdkTypes.IMedusaInternalService<any>;
21
+ orderShippingService: ModulesSdkTypes.IMedusaInternalService<any>;
22
+ returnReasonService: ModulesSdkTypes.IMedusaInternalService<any>;
23
+ returnService: ModulesSdkTypes.IMedusaInternalService<any>;
24
+ returnItemService: ModulesSdkTypes.IMedusaInternalService<any>;
25
+ orderClaimService: ModulesSdkTypes.IMedusaInternalService<any>;
26
+ orderExchangeService: ModulesSdkTypes.IMedusaInternalService<any>;
23
27
  };
24
- declare const OrderModuleService_base: new (container: InjectedDependencies) => ModulesSdkUtils.AbstractModuleService<InjectedDependencies, OrderDTO, {
25
- Address: {
28
+ declare const OrderModuleService_base: ModulesSdkUtils.MedusaServiceReturnType<{
29
+ Order: {
30
+ dto: OrderTypes.OrderDTO;
31
+ };
32
+ OrderAddress: {
26
33
  dto: OrderTypes.OrderAddressDTO;
27
34
  };
28
- LineItem: {
35
+ OrderLineItem: {
29
36
  dto: OrderTypes.OrderLineItemDTO;
30
37
  };
31
- LineItemAdjustment: {
38
+ OrderLineItemAdjustment: {
32
39
  dto: OrderTypes.OrderLineItemAdjustmentDTO;
33
40
  };
34
- LineItemTaxLine: {
41
+ OrderLineItemTaxLine: {
35
42
  dto: OrderTypes.OrderLineItemTaxLineDTO;
36
43
  };
37
- ShippingMethod: {
38
- dto: OrderTypes.OrderShippingMethodDTO;
44
+ OrderShippingMethod: {
45
+ dto: OrderShippingMethodDTO;
39
46
  };
40
- ShippingMethodAdjustment: {
47
+ OrderShippingMethodAdjustment: {
41
48
  dto: OrderTypes.OrderShippingMethodAdjustmentDTO;
42
49
  };
43
- ShippingMethodTaxLine: {
50
+ OrderShippingMethodTaxLine: {
44
51
  dto: OrderTypes.OrderShippingMethodTaxLineDTO;
45
52
  };
46
- Transaction: {
47
- dto: OrderTypes.OrderTransactionDTO;
53
+ OrderShipping: {
54
+ dto: any;
48
55
  };
49
56
  OrderChange: {
50
57
  dto: OrderTypes.OrderChangeDTO;
@@ -55,113 +62,188 @@ declare const OrderModuleService_base: new (container: InjectedDependencies) =>
55
62
  OrderItem: {
56
63
  dto: OrderTypes.OrderItemDTO;
57
64
  };
65
+ ReturnReason: {
66
+ dto: OrderTypes.OrderReturnReasonDTO;
67
+ };
58
68
  OrderSummary: {
59
69
  dto: OrderTypes.OrderSummaryDTO;
60
70
  };
61
- OrderShippingMethod: {
62
- dto: OrderShippingMethod;
71
+ OrderTransaction: {
72
+ dto: OrderTypes.OrderTransactionDTO;
73
+ };
74
+ Return: {
75
+ dto: OrderTypes.ReturnDTO;
76
+ };
77
+ ReturnItem: {
78
+ dto: OrderTypes.OrderReturnItemDTO;
79
+ };
80
+ OrderClaim: {
81
+ dto: OrderTypes.OrderClaimDTO;
82
+ };
83
+ OrderClaimItem: {
84
+ dto: OrderTypes.OrderClaimItemDTO;
85
+ };
86
+ OrderClaimItemImage: {
87
+ dto: OrderTypes.OrderClaimItemImageDTO;
88
+ };
89
+ OrderExchange: {
90
+ dto: OrderTypes.OrderExchangeDTO;
91
+ };
92
+ OrderExchangeItem: {
93
+ dto: OrderTypes.OrderExchangeItemDTO;
63
94
  };
64
95
  }>;
65
- export default class OrderModuleService<TOrder extends Order = Order, TAddress extends Address = Address, TLineItem extends LineItem = LineItem, TLineItemAdjustment extends LineItemAdjustment = LineItemAdjustment, TLineItemTaxLine extends LineItemTaxLine = LineItemTaxLine, TShippingMethodAdjustment extends ShippingMethodAdjustment = ShippingMethodAdjustment, TShippingMethodTaxLine extends ShippingMethodTaxLine = ShippingMethodTaxLine, TShippingMethod extends ShippingMethod = ShippingMethod, TTransaction extends Transaction = Transaction, TOrderChange extends OrderChange = OrderChange, TOrderChangeAction extends OrderChangeAction = OrderChangeAction, TOrderItem extends OrderItem = OrderItem, TOrderSummary extends OrderSummary = OrderSummary, TOrderShippingMethod extends OrderShippingMethod = OrderShippingMethod> extends OrderModuleService_base implements IOrderModuleService {
96
+ export default class OrderModuleService<TOrder extends Order = Order, TAddress extends OrderAddress = OrderAddress, TLineItem extends OrderLineItem = OrderLineItem, TLineItemAdjustment extends OrderLineItemAdjustment = OrderLineItemAdjustment, TLineItemTaxLine extends OrderLineItemTaxLine = OrderLineItemTaxLine, TOrderShippingMethodAdjustment extends OrderShippingMethodAdjustment = OrderShippingMethodAdjustment, TOrderShippingMethodTaxLine extends OrderShippingMethodTaxLine = OrderShippingMethodTaxLine, TOrderShippingMethod extends OrderShippingMethod = OrderShippingMethod, TOrderTransaction extends OrderTransaction = OrderTransaction, TOrderChange extends OrderChange = OrderChange, TOrderChangeAction extends OrderChangeAction = OrderChangeAction, TOrderItem extends OrderItem = OrderItem, TOrderSummary extends OrderSummary = OrderSummary, TOrderShipping extends OrderShipping = OrderShipping, TReturnReason extends ReturnReason = ReturnReason, TReturn extends Return = Return, TReturnItem extends ReturnItem = ReturnItem, TClaim extends OrderClaim = OrderClaim, TClaimItem extends OrderClaimItem = OrderClaimItem, TClaimItemImage extends OrderClaimItemImage = OrderClaimItemImage, TExchange extends OrderExchange = OrderExchange, TExchangeItem extends OrderExchangeItem = OrderExchangeItem> extends OrderModuleService_base implements IOrderModuleService {
66
97
  protected readonly moduleDeclaration: InternalModuleDeclaration;
67
98
  protected baseRepository_: DAL.RepositoryService;
68
- protected orderService_: OrderService<TOrder>;
69
- protected addressService_: ModulesSdkTypes.InternalModuleService<TAddress>;
70
- protected lineItemService_: ModulesSdkTypes.InternalModuleService<TLineItem>;
71
- protected shippingMethodAdjustmentService_: ModulesSdkTypes.InternalModuleService<TShippingMethodAdjustment>;
72
- protected shippingMethodService_: ModulesSdkTypes.InternalModuleService<TShippingMethod>;
73
- protected lineItemAdjustmentService_: ModulesSdkTypes.InternalModuleService<TLineItemAdjustment>;
74
- protected lineItemTaxLineService_: ModulesSdkTypes.InternalModuleService<TLineItemTaxLine>;
75
- protected shippingMethodTaxLineService_: ModulesSdkTypes.InternalModuleService<TShippingMethodTaxLine>;
76
- protected transactionService_: ModulesSdkTypes.InternalModuleService<TTransaction>;
77
- protected orderChangeService_: OrderChangeService<TOrderChange>;
78
- protected orderChangeActionService_: ModulesSdkTypes.InternalModuleService<TOrderChangeAction>;
79
- protected orderItemService_: ModulesSdkTypes.InternalModuleService<TOrderItem>;
80
- protected orderSummaryService_: ModulesSdkTypes.InternalModuleService<TOrderSummary>;
81
- protected orderShippingMethodService_: ModulesSdkTypes.InternalModuleService<TOrderShippingMethod>;
82
- constructor({ baseRepository, orderService, addressService, lineItemService, shippingMethodAdjustmentService, shippingMethodService, lineItemAdjustmentService, shippingMethodTaxLineService, lineItemTaxLineService, transactionService, orderChangeService, orderChangeActionService, orderItemService, orderSummaryService, orderShippingMethodService, }: InjectedDependencies, moduleDeclaration: InternalModuleDeclaration);
99
+ protected orderService_: OrderService;
100
+ protected orderAddressService_: ModulesSdkTypes.IMedusaInternalService<TAddress>;
101
+ protected orderLineItemService_: ModulesSdkTypes.IMedusaInternalService<TLineItem>;
102
+ protected orderShippingMethodAdjustmentService_: ModulesSdkTypes.IMedusaInternalService<TOrderShippingMethodAdjustment>;
103
+ protected orderShippingMethodService_: ModulesSdkTypes.IMedusaInternalService<TOrderShippingMethod>;
104
+ protected orderLineItemAdjustmentService_: ModulesSdkTypes.IMedusaInternalService<TLineItemAdjustment>;
105
+ protected orderLineItemTaxLineService_: ModulesSdkTypes.IMedusaInternalService<TLineItemTaxLine>;
106
+ protected orderShippingMethodTaxLineService_: ModulesSdkTypes.IMedusaInternalService<TOrderShippingMethodTaxLine>;
107
+ protected orderTransactionService_: ModulesSdkTypes.IMedusaInternalService<TOrderTransaction>;
108
+ protected orderChangeService_: ModulesSdkTypes.IMedusaInternalService<TOrderChange>;
109
+ protected orderChangeActionService_: ModulesSdkTypes.IMedusaInternalService<TOrderChangeAction>;
110
+ protected orderItemService_: ModulesSdkTypes.IMedusaInternalService<TOrderItem>;
111
+ protected orderSummaryService_: ModulesSdkTypes.IMedusaInternalService<TOrderSummary>;
112
+ protected orderShippingService_: ModulesSdkTypes.IMedusaInternalService<TOrderShipping>;
113
+ protected returnReasonService_: ModulesSdkTypes.IMedusaInternalService<TReturnReason>;
114
+ protected returnService_: ModulesSdkTypes.IMedusaInternalService<TReturn>;
115
+ protected returnItemService_: ModulesSdkTypes.IMedusaInternalService<TReturnItem>;
116
+ protected orderClaimService_: ModulesSdkTypes.IMedusaInternalService<TClaim>;
117
+ protected orderClaimItemService_: ModulesSdkTypes.IMedusaInternalService<TClaimItem>;
118
+ protected orderClaimItemImageService_: ModulesSdkTypes.IMedusaInternalService<TClaimItemImage>;
119
+ protected orderExchangeService_: ModulesSdkTypes.IMedusaInternalService<TExchange>;
120
+ protected orderExchangeItemService_: ModulesSdkTypes.IMedusaInternalService<TExchangeItem>;
121
+ constructor({ baseRepository, orderService, orderAddressService, orderLineItemService, orderShippingMethodAdjustmentService, orderShippingMethodService, orderLineItemAdjustmentService, orderShippingMethodTaxLineService, orderLineItemTaxLineService, orderTransactionService, orderChangeService, orderChangeActionService, orderItemService, orderSummaryService, orderShippingService, returnReasonService, returnService, returnItemService, orderClaimService, orderExchangeService, }: InjectedDependencies, moduleDeclaration: InternalModuleDeclaration);
83
122
  __joinerConfig(): ModuleJoinerConfig;
84
123
  private shouldIncludeTotals;
85
124
  private addRelationsToCalculateTotals;
86
- retrieve(id: string, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderDTO>;
87
- list(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderDTO[]>;
88
- listAndCount(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<[OrderTypes.OrderDTO[], number]>;
89
- create(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
90
- create(data: OrderTypes.CreateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
91
- protected create_(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<Order[]>;
92
- update(data: OrderTypes.UpdateOrderDTO[]): Promise<OrderTypes.OrderDTO[]>;
93
- update(orderId: string, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
94
- update(selector: Partial<OrderTypes.FilterableOrderProps>, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
95
- protected update_(dataOrIdOrSelector: OrderTypes.UpdateOrderDTO[] | string | Partial<OrderTypes.FilterableOrderProps>, data?: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<TOrder[]>;
96
- createLineItems(data: OrderTypes.CreateOrderLineItemForOrderDTO): Promise<OrderTypes.OrderLineItemDTO[]>;
97
- createLineItems(data: OrderTypes.CreateOrderLineItemForOrderDTO[]): Promise<OrderTypes.OrderLineItemDTO[]>;
98
- createLineItems(orderId: string, items: OrderTypes.CreateOrderLineItemDTO[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemDTO[]>;
99
- protected createLineItems_(orderId: string, items: OrderTypes.CreateOrderLineItemDTO[], sharedContext?: Context): Promise<LineItem[]>;
100
- protected createLineItemsBulk_(data: CreateOrderLineItemDTO[], sharedContext?: Context): Promise<LineItem[]>;
101
- updateLineItems(data: OrderTypes.UpdateOrderLineItemWithSelectorDTO[]): Promise<OrderTypes.OrderLineItemDTO[]>;
102
- updateLineItems(selector: Partial<OrderTypes.FilterableOrderLineItemProps>, data: OrderTypes.UpdateOrderLineItemDTO, sharedContext?: Context): Promise<OrderTypes.OrderLineItemDTO[]>;
103
- updateLineItems(lineItemId: string, data: Partial<OrderTypes.UpdateOrderLineItemDTO>, sharedContext?: Context): Promise<OrderTypes.OrderLineItemDTO>;
104
- protected updateLineItem_(lineItemId: string, data: Partial<OrderTypes.UpdateOrderLineItemDTO>, sharedContext?: Context): Promise<LineItem>;
105
- protected updateLineItemsWithSelector_(updates: OrderTypes.UpdateOrderLineItemWithSelectorDTO[], sharedContext?: Context): Promise<LineItem[]>;
125
+ retrieveOrder(id: string, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderDTO>;
126
+ listOrders(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderDTO[]>;
127
+ listAndCountOrders(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<[OrderTypes.OrderDTO[], number]>;
128
+ retrieveReturn(id: string, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.ReturnDTO>;
129
+ listReturns(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.ReturnDTO[]>;
130
+ listAndCountReturns(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<[OrderTypes.ReturnDTO[], number]>;
131
+ retrieveOrderClaim(id: string, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderClaimDTO>;
132
+ listOrderClaims(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderClaimDTO[]>;
133
+ listAndCountOrderClaims(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<[OrderTypes.OrderClaimDTO[], number]>;
134
+ retrieveOrderExchange(id: string, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderExchangeDTO>;
135
+ listOrderExchanges(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<OrderTypes.OrderExchangeDTO[]>;
136
+ listAndCountOrderExchanges(filters?: any, config?: FindConfig<any> | undefined, sharedContext?: Context | undefined): Promise<[OrderTypes.OrderExchangeDTO[], number]>;
137
+ createOrders(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
138
+ createOrders(data: OrderTypes.CreateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
139
+ protected createOrders_(data: OrderTypes.CreateOrderDTO[], sharedContext?: Context): Promise<Order[]>;
140
+ updateOrders(data: OrderTypes.UpdateOrderDTO[]): Promise<OrderTypes.OrderDTO[]>;
141
+ updateOrders(orderId: string, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
142
+ updateOrders(selector: Partial<OrderTypes.FilterableOrderProps>, data: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
143
+ protected updateOrders_(dataOrIdOrSelector: OrderTypes.UpdateOrderDTO[] | string | Partial<OrderTypes.FilterableOrderProps>, data?: OrderTypes.UpdateOrderDTO, sharedContext?: Context): Promise<Order[]>;
144
+ createOrderLineItems(data: OrderTypes.CreateOrderLineItemForOrderDTO): Promise<OrderTypes.OrderLineItemDTO[]>;
145
+ createOrderLineItems(data: OrderTypes.CreateOrderLineItemForOrderDTO[]): Promise<OrderTypes.OrderLineItemDTO[]>;
146
+ createOrderLineItems(orderId: string, items: OrderTypes.CreateOrderLineItemDTO[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemDTO[]>;
147
+ protected createOrderLineItems_(orderId: string, items: OrderTypes.CreateOrderLineItemDTO[], sharedContext?: Context): Promise<OrderLineItem[]>;
148
+ protected createOrderLineItemsBulk_(data: CreateOrderLineItemDTO[], sharedContext?: Context): Promise<OrderLineItem[]>;
149
+ updateOrderLineItems(data: OrderTypes.UpdateOrderLineItemWithSelectorDTO[]): Promise<OrderTypes.OrderLineItemDTO[]>;
150
+ updateOrderLineItems(selector: Partial<OrderTypes.FilterableOrderLineItemProps>, data: OrderTypes.UpdateOrderLineItemDTO, sharedContext?: Context): Promise<OrderTypes.OrderLineItemDTO[]>;
151
+ updateOrderLineItems(lineItemId: string, data: Partial<OrderTypes.UpdateOrderLineItemDTO>, sharedContext?: Context): Promise<OrderTypes.OrderLineItemDTO>;
152
+ protected updateOrderLineItem_(lineItemId: string, data: Partial<OrderTypes.UpdateOrderLineItemDTO>, sharedContext?: Context): Promise<OrderLineItem>;
153
+ protected updateOrderLineItemsWithSelector_(updates: OrderTypes.UpdateOrderLineItemWithSelectorDTO[], sharedContext?: Context): Promise<OrderLineItem[]>;
106
154
  updateOrderItem(selector: Partial<OrderTypes.OrderItemDTO>, data: OrderTypes.UpdateOrderItemDTO, sharedContext?: Context): Promise<OrderTypes.OrderItemDTO[]>;
107
155
  updateOrderItem(orderItemId: string, data: Partial<OrderTypes.UpdateOrderItemDTO>, sharedContext?: Context): Promise<OrderTypes.OrderItemDTO>;
108
156
  protected updateOrderItem_(orderItemId: string, data: Partial<OrderTypes.UpdateOrderItemDTO>, sharedContext?: Context): Promise<OrderItem>;
109
157
  protected updateOrderItemWithSelector_(updates: OrderTypes.UpdateOrderItemWithSelectorDTO[], sharedContext?: Context): Promise<OrderItem[]>;
110
- createAddresses(data: OrderTypes.CreateOrderAddressDTO, sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO>;
111
- createAddresses(data: OrderTypes.CreateOrderAddressDTO[], sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO[]>;
112
- protected createAddresses_(data: OrderTypes.CreateOrderAddressDTO[], sharedContext?: Context): Promise<TAddress[]>;
113
- updateAddresses(data: OrderTypes.UpdateOrderAddressDTO, sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO>;
114
- updateAddresses(data: OrderTypes.UpdateOrderAddressDTO[], sharedContext?: Context): Promise<OrderTypes.OrderAddressDTO[]>;
115
- protected updateAddresses_(data: OrderTypes.UpdateOrderAddressDTO[], sharedContext?: Context): Promise<TAddress[]>;
116
- createShippingMethods(data: OrderTypes.CreateOrderShippingMethodDTO): Promise<OrderTypes.OrderShippingMethodDTO>;
117
- createShippingMethods(data: OrderTypes.CreateOrderShippingMethodDTO[]): Promise<OrderTypes.OrderShippingMethodDTO[]>;
118
- createShippingMethods(orderId: string, methods: OrderTypes.CreateOrderShippingMethodDTO[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodDTO[]>;
119
- protected createShippingMethods_(orderId: string, data: CreateOrderShippingMethodDTO[], sharedContext?: Context): Promise<ShippingMethod[]>;
120
- protected createShippingMethodsBulk_(data: {
158
+ createOrderShippingMethods(data: OrderTypes.CreateOrderShippingMethodDTO): Promise<OrderTypes.OrderShippingMethodDTO>;
159
+ createOrderShippingMethods(data: OrderTypes.CreateOrderShippingMethodDTO[]): Promise<OrderTypes.OrderShippingMethodDTO[]>;
160
+ createOrderShippingMethods(orderId: string, methods: OrderTypes.CreateOrderShippingMethodDTO[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodDTO[]>;
161
+ protected createOrderShippingMethods_(orderId: string, data: CreateOrderShippingMethodDTO[], sharedContext?: Context): Promise<OrderShippingMethod[]>;
162
+ protected createOrderShippingMethodsBulk_(data: {
121
163
  shipping_method: OrderTypes.CreateOrderShippingMethodDTO;
122
164
  order_id: string;
123
165
  version: number;
124
- }[], sharedContext?: Context): Promise<ShippingMethod[]>;
125
- createLineItemAdjustments(adjustments: OrderTypes.CreateOrderLineItemAdjustmentDTO[]): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
126
- createLineItemAdjustments(adjustment: OrderTypes.CreateOrderLineItemAdjustmentDTO): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
127
- createLineItemAdjustments(orderId: string, adjustments: OrderTypes.CreateOrderLineItemAdjustmentDTO[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
128
- setLineItemAdjustments(orderId: string, adjustments: (OrderTypes.CreateOrderLineItemAdjustmentDTO | OrderTypes.UpdateOrderLineItemAdjustmentDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
129
- setShippingMethodAdjustments(orderId: string, adjustments: (OrderTypes.CreateOrderShippingMethodAdjustmentDTO | OrderTypes.UpdateOrderShippingMethodAdjustmentDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO[]>;
130
- createShippingMethodAdjustments(adjustments: OrderTypes.CreateOrderShippingMethodAdjustmentDTO[]): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO[]>;
131
- createShippingMethodAdjustments(adjustment: OrderTypes.CreateOrderShippingMethodAdjustmentDTO): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO>;
132
- createShippingMethodAdjustments(orderId: string, adjustments: OrderTypes.CreateOrderShippingMethodAdjustmentDTO[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO[]>;
133
- createLineItemTaxLines(taxLines: OrderTypes.CreateOrderLineItemTaxLineDTO[]): Promise<OrderTypes.OrderLineItemTaxLineDTO[]>;
134
- createLineItemTaxLines(taxLine: OrderTypes.CreateOrderLineItemTaxLineDTO): Promise<OrderTypes.OrderLineItemTaxLineDTO>;
135
- createLineItemTaxLines(orderId: string, taxLines: OrderTypes.CreateOrderLineItemTaxLineDTO[] | OrderTypes.CreateOrderShippingMethodTaxLineDTO, sharedContext?: Context): Promise<OrderTypes.OrderLineItemTaxLineDTO[]>;
136
- setLineItemTaxLines(orderId: string, taxLines: (OrderTypes.CreateOrderLineItemTaxLineDTO | OrderTypes.UpdateOrderLineItemTaxLineDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemTaxLineDTO[]>;
137
- createShippingMethodTaxLines(taxLines: OrderTypes.CreateOrderShippingMethodTaxLineDTO[]): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
138
- createShippingMethodTaxLines(taxLine: OrderTypes.CreateOrderShippingMethodTaxLineDTO): Promise<OrderTypes.OrderShippingMethodTaxLineDTO>;
139
- createShippingMethodTaxLines(orderId: string, taxLines: OrderTypes.CreateOrderShippingMethodTaxLineDTO[] | OrderTypes.CreateOrderShippingMethodTaxLineDTO, sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
140
- setShippingMethodTaxLines(orderId: string, taxLines: (OrderTypes.CreateOrderShippingMethodTaxLineDTO | OrderTypes.UpdateOrderShippingMethodTaxLineDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
141
- createOrderChange(data: OrderTypes.CreateOrderChangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO>;
142
- createOrderChange(data: OrderTypes.CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO[]>;
143
- protected createOrderChange_(data: OrderTypes.CreateOrderChangeDTO | OrderTypes.CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderChange[]>;
166
+ }[], sharedContext?: Context): Promise<OrderShippingMethod[]>;
167
+ softDeleteOrderShippingMethods<TReturnableLinkableKeys extends string>(ids: string | object | string[] | object[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
168
+ restoreOrderShippingMethods<TReturnableLinkableKeys extends string>(ids: string | object | string[] | object[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
169
+ createOrderLineItemAdjustments(adjustments: OrderTypes.CreateOrderLineItemAdjustmentDTO[]): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
170
+ createOrderLineItemAdjustments(adjustment: OrderTypes.CreateOrderLineItemAdjustmentDTO): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
171
+ createOrderLineItemAdjustments(orderId: string, adjustments: OrderTypes.CreateOrderLineItemAdjustmentDTO[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
172
+ setOrderLineItemAdjustments(orderId: string, adjustments: (OrderTypes.CreateOrderLineItemAdjustmentDTO | OrderTypes.UpdateOrderLineItemAdjustmentDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemAdjustmentDTO[]>;
173
+ setOrderShippingMethodAdjustments(orderId: string, adjustments: (OrderTypes.CreateOrderShippingMethodAdjustmentDTO | OrderTypes.UpdateOrderShippingMethodAdjustmentDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO[]>;
174
+ createOrderShippingMethodAdjustments(adjustments: OrderTypes.CreateOrderShippingMethodAdjustmentDTO[]): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO[]>;
175
+ createOrderShippingMethodAdjustments(adjustment: OrderTypes.CreateOrderShippingMethodAdjustmentDTO): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO>;
176
+ createOrderShippingMethodAdjustments(orderId: string, adjustments: OrderTypes.CreateOrderShippingMethodAdjustmentDTO[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodAdjustmentDTO[]>;
177
+ createOrderLineItemTaxLines(taxLines: OrderTypes.CreateOrderLineItemTaxLineDTO[]): Promise<OrderTypes.OrderLineItemTaxLineDTO[]>;
178
+ createOrderLineItemTaxLines(taxLine: OrderTypes.CreateOrderLineItemTaxLineDTO): Promise<OrderTypes.OrderLineItemTaxLineDTO>;
179
+ createOrderLineItemTaxLines(orderId: string, taxLines: OrderTypes.CreateOrderLineItemTaxLineDTO[] | OrderTypes.CreateOrderShippingMethodTaxLineDTO, sharedContext?: Context): Promise<OrderTypes.OrderLineItemTaxLineDTO[]>;
180
+ setOrderLineItemTaxLines(orderId: string, taxLines: (OrderTypes.CreateOrderLineItemTaxLineDTO | OrderTypes.UpdateOrderLineItemTaxLineDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderLineItemTaxLineDTO[]>;
181
+ createOrderShippingMethodTaxLines(taxLines: OrderTypes.CreateOrderShippingMethodTaxLineDTO[]): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
182
+ createOrderShippingMethodTaxLines(taxLine: OrderTypes.CreateOrderShippingMethodTaxLineDTO): Promise<OrderTypes.OrderShippingMethodTaxLineDTO>;
183
+ createOrderShippingMethodTaxLines(orderId: string, taxLines: OrderTypes.CreateOrderShippingMethodTaxLineDTO[] | OrderTypes.CreateOrderShippingMethodTaxLineDTO, sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
184
+ setOrderShippingMethodTaxLines(orderId: string, taxLines: (OrderTypes.CreateOrderShippingMethodTaxLineDTO | OrderTypes.UpdateOrderShippingMethodTaxLineDTO)[], sharedContext?: Context): Promise<OrderTypes.OrderShippingMethodTaxLineDTO[]>;
185
+ createReturns(data: OrderTypes.CreateOrderReturnDTO, sharedContext?: Context): Promise<OrderTypes.ReturnDTO>;
186
+ createReturns(data: OrderTypes.CreateOrderReturnDTO[], sharedContext?: Context): Promise<OrderTypes.ReturnDTO[]>;
187
+ createOrderClaims(data: OrderTypes.CreateOrderClaimDTO, sharedContext?: Context): Promise<OrderTypes.OrderClaimDTO>;
188
+ createOrderClaims(data: OrderTypes.CreateOrderClaimDTO[], sharedContext?: Context): Promise<OrderTypes.OrderClaimDTO[]>;
189
+ createOrderExchanges(data: OrderTypes.CreateOrderExchangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO>;
190
+ createOrderExchanges(data: OrderTypes.CreateOrderExchangeDTO[], sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO[]>;
191
+ private createOrderRelatedEntity_;
192
+ createOrderChange(data: CreateOrderChangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO>;
193
+ createOrderChange(data: CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderTypes.OrderChangeDTO[]>;
194
+ protected createOrderChange_(data: CreateOrderChangeDTO | CreateOrderChangeDTO[], sharedContext?: Context): Promise<OrderChange[]>;
195
+ previewOrderChange(orderId: string, sharedContext?: Context): Promise<any>;
144
196
  cancelOrderChange(orderId: string, sharedContext?: Context): Promise<void>;
145
197
  cancelOrderChange(orderId: string[], sharedContext?: Context): Promise<void>;
146
198
  cancelOrderChange(data: OrderTypes.CancelOrderChangeDTO, sharedContext?: Context): Promise<void>;
147
199
  cancelOrderChange(data: OrderTypes.CancelOrderChangeDTO[], sharedContext?: Context): Promise<void>;
148
- confirmOrderChange(orderChangeId: string, sharedContext?: Context): Promise<void>;
149
- confirmOrderChange(orderChangeId: string[], sharedContext?: Context): Promise<void>;
150
- confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO, sharedContext?: Context): Promise<void>;
151
- confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO[], sharedContext?: Context): Promise<void>;
152
- declineOrderChange(orderChangeId: string, sharedContext?: Context): Promise<void>;
153
- declineOrderChange(orderChangeId: string[], sharedContext?: Context): Promise<void>;
154
- declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO, sharedContext?: Context): Promise<void>;
155
- declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO[], sharedContext?: Context): Promise<void>;
156
- applyPendingOrderActions(orderId: string | string[], sharedContext?: Context): Promise<void>;
200
+ confirmOrderChange(orderChangeId: string, sharedContext?: Context): any;
201
+ confirmOrderChange(orderChangeId: string[], sharedContext?: Context): any;
202
+ confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO, sharedContext?: Context): any;
203
+ confirmOrderChange(data: OrderTypes.ConfirmOrderChangeDTO[], sharedContext?: Context): any;
204
+ declineOrderChange(orderChangeId: string, sharedContext?: Context): any;
205
+ declineOrderChange(orderChangeId: string[], sharedContext?: Context): any;
206
+ declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO, sharedContext?: Context): any;
207
+ declineOrderChange(data: OrderTypes.DeclineOrderChangeDTO[], sharedContext?: Context): any;
208
+ applyPendingOrderActions(orderId: string | string[], sharedContext?: Context): Promise<OrderTypes.OrderChangeReturn>;
157
209
  revertLastVersion(orderId: string, sharedContext?: Context): Promise<void>;
158
210
  protected revertLastChange_(order: OrderDTO, sharedContext?: Context): Promise<void>;
211
+ private getActiveOrderChange_;
159
212
  private getAndValidateOrderChange_;
160
213
  addOrderAction(data: OrderTypes.CreateOrderChangeActionDTO, sharedContext?: Context): Promise<OrderTypes.OrderChangeActionDTO>;
161
214
  addOrderAction(data: OrderTypes.CreateOrderChangeActionDTO[], sharedContext?: Context): Promise<OrderTypes.OrderChangeActionDTO[]>;
162
215
  private applyOrderChanges_;
216
+ addOrderTransactions(transactionData: OrderTypes.CreateOrderTransactionDTO, sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO>;
217
+ addOrderTransactions(transactionData: OrderTypes.CreateOrderTransactionDTO[], sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO[]>;
218
+ deleteOrderTransactions(transactionIds: string | object | string[] | object[], sharedContext?: Context): Promise<void>;
219
+ softDeleteOrderTransactions<TReturnableLinkableKeys extends string>(transactionIds: string | object | string[] | object[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
220
+ restoreOrderTransactions<TReturnableLinkableKeys extends string>(transactionIds: string | object | string[] | object[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
221
+ private updateOrderPaidRefundableAmount_;
222
+ archive(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
223
+ archive(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
224
+ completeOrder(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
225
+ completeOrder(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
226
+ cancel(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
227
+ cancel(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
228
+ createReturn(data: OrderTypes.CreateOrderReturnDTO, sharedContext?: Context): Promise<OrderTypes.ReturnDTO>;
229
+ receiveReturn(data: OrderTypes.ReceiveOrderReturnDTO, sharedContext?: Context): Promise<OrderTypes.ReturnDTO>;
230
+ private receiveReturn_;
231
+ cancelReturn(data: OrderTypes.CancelOrderReturnDTO, sharedContext?: Context): Promise<OrderTypes.ReturnDTO>;
232
+ private cancelReturn_;
233
+ createClaim(data: OrderTypes.CreateOrderClaimDTO, sharedContext?: Context): Promise<OrderTypes.OrderClaimDTO>;
234
+ createClaim_(data: OrderTypes.CreateOrderClaimDTO, sharedContext?: Context): Promise<any>;
235
+ cancelClaim(data: OrderTypes.CancelOrderClaimDTO, sharedContext?: Context): Promise<OrderTypes.OrderClaimDTO>;
236
+ private cancelClaim_;
237
+ createExchange(data: OrderTypes.CreateOrderExchangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO>;
238
+ updateReturnReasons(id: string, data: UpdateOrderReturnReasonDTO, sharedContext?: Context): Promise<OrderReturnReasonDTO>;
239
+ updateReturnReasons(selector: FilterableOrderReturnReasonProps, data: Partial<UpdateOrderReturnReasonDTO>, sharedContext?: Context): Promise<OrderReturnReasonDTO[]>;
240
+ createExchange_(data: OrderTypes.CreateOrderExchangeDTO, sharedContext?: Context): Promise<any>;
241
+ cancelExchange(data: OrderTypes.CancelOrderExchangeDTO, sharedContext?: Context): Promise<OrderTypes.OrderExchangeDTO>;
242
+ private cancelExchange_;
163
243
  registerFulfillment(data: OrderTypes.RegisterOrderFulfillmentDTO, sharedContext?: Context): Promise<void>;
244
+ cancelFulfillment(data: OrderTypes.CancelOrderFulfillmentDTO, sharedContext?: Context): Promise<void>;
164
245
  registerShipment(data: OrderTypes.RegisterOrderShipmentDTO, sharedContext?: Context): Promise<void>;
165
- createReturn(data: OrderTypes.CreateOrderReturnDTO, sharedContext?: Context): Promise<void>;
246
+ registerDelivery(data: OrderTypes.RegisterOrderDeliveryDTO, sharedContext?: Context): Promise<void>;
166
247
  }
167
248
  export {};
249
+ //# sourceMappingURL=order-module-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-module-service.d.ts","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,EACP,GAAG,EACH,gCAAgC,EAChC,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,QAAQ,EACR,oBAAoB,EACpB,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,gBAAgB,EAEhB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAcL,eAAe,EAKhB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,KAAK,EACL,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,6BAA6B,EAC7B,0BAA0B,EAC1B,YAAY,EACZ,gBAAgB,EAChB,MAAM,EACN,UAAU,EACV,YAAY,EACb,MAAM,SAAS,CAAA;AAChB,OAAO,EACL,oBAAoB,EAGpB,sBAAsB,EAEtB,4BAA4B,EAM7B,MAAM,QAAQ,CAAA;AASf,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAE1C,KAAK,oBAAoB,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