@medusajs/order 0.1.3-snapshot-20240701122250 → 0.1.3-snapshot-20240704061641

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/dist/joiner-config.d.ts +0 -2
  2. package/dist/joiner-config.js +1 -2
  3. package/dist/joiner-config.js.map +1 -1
  4. package/dist/models/return.d.ts +2 -3
  5. package/dist/models/return.js.map +1 -1
  6. package/dist/services/actions/cancel-claim.d.ts +2 -0
  7. package/dist/services/actions/cancel-claim.js +108 -0
  8. package/dist/services/actions/cancel-claim.js.map +1 -0
  9. package/dist/services/actions/cancel-exchange.d.ts +2 -0
  10. package/dist/services/actions/cancel-exchange.js +93 -0
  11. package/dist/services/actions/cancel-exchange.js.map +1 -0
  12. package/dist/services/actions/cancel-return.d.ts +2 -0
  13. package/dist/services/actions/cancel-return.js +73 -0
  14. package/dist/services/actions/cancel-return.js.map +1 -0
  15. package/dist/services/actions/create-claim.js +2 -2
  16. package/dist/services/actions/create-claim.js.map +1 -1
  17. package/dist/services/actions/create-exchange.js +2 -2
  18. package/dist/services/actions/create-exchange.js.map +1 -1
  19. package/dist/services/actions/create-return.js +8 -2
  20. package/dist/services/actions/create-return.js.map +1 -1
  21. package/dist/services/actions/index.d.ts +3 -0
  22. package/dist/services/actions/index.js +3 -0
  23. package/dist/services/actions/index.js.map +1 -1
  24. package/dist/services/order-change-service.d.ts +2 -2
  25. package/dist/services/order-change-service.js.map +1 -1
  26. package/dist/services/order-module-service.d.ts +12 -7
  27. package/dist/services/order-module-service.js +119 -27
  28. package/dist/services/order-module-service.js.map +1 -1
  29. package/dist/services/order-service.d.ts +2 -2
  30. package/dist/services/order-service.js.map +1 -1
  31. package/dist/types/shipping-method.d.ts +3 -0
  32. package/dist/types/utils/index.d.ts +3 -3
  33. package/dist/utils/action-key.d.ts +4 -2
  34. package/dist/utils/action-key.js +3 -1
  35. package/dist/utils/action-key.js.map +1 -1
  36. package/dist/utils/actions/cancel-return.js +1 -1
  37. package/dist/utils/actions/cancel-return.js.map +1 -1
  38. package/dist/utils/actions/index.d.ts +1 -0
  39. package/dist/utils/actions/index.js +1 -0
  40. package/dist/utils/actions/index.js.map +1 -1
  41. package/dist/utils/actions/reinstate-item.d.ts +1 -0
  42. package/dist/utils/actions/reinstate-item.js +37 -0
  43. package/dist/utils/actions/reinstate-item.js.map +1 -0
  44. package/dist/utils/actions/return-item.js +2 -2
  45. package/dist/utils/actions/return-item.js.map +1 -1
  46. package/dist/utils/actions/shipping-add.js +16 -9
  47. package/dist/utils/actions/shipping-add.js.map +1 -1
  48. package/dist/utils/actions/shipping-remove.d.ts +1 -0
  49. package/dist/utils/actions/shipping-remove.js +42 -0
  50. package/dist/utils/actions/shipping-remove.js.map +1 -0
  51. package/dist/utils/apply-order-changes.d.ts +1 -1
  52. package/dist/utils/apply-order-changes.js +3 -3
  53. package/dist/utils/apply-order-changes.js.map +1 -1
  54. package/dist/utils/base-repository-find.js +12 -2
  55. package/dist/utils/base-repository-find.js.map +1 -1
  56. package/dist/utils/calculate-order-change.js +7 -7
  57. package/dist/utils/calculate-order-change.js.map +1 -1
  58. package/dist/utils/transform-order.js +35 -6
  59. package/dist/utils/transform-order.js.map +1 -1
  60. package/package.json +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/order",
3
- "version": "0.1.3-snapshot-20240701122250",
3
+ "version": "0.1.3-snapshot-20240704061641",
4
4
  "description": "Medusa Order module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,19 +34,19 @@
34
34
  "orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
35
35
  },
36
36
  "devDependencies": {
37
- "@medusajs/types": "1.12.0-snapshot-20240701122250",
37
+ "@medusajs/types": "1.12.0-snapshot-20240704061641",
38
38
  "@mikro-orm/cli": "5.9.7",
39
39
  "cross-env": "^5.2.1",
40
40
  "jest": "^29.7.0",
41
- "medusa-test-utils": "1.1.45-snapshot-20240701122250",
41
+ "medusa-test-utils": "1.1.45-snapshot-20240704061641",
42
42
  "rimraf": "^3.0.2",
43
43
  "ts-node": "^10.9.1",
44
44
  "tsc-alias": "^1.8.6",
45
45
  "typescript": "^5.1.6"
46
46
  },
47
47
  "dependencies": {
48
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240701122250",
49
- "@medusajs/utils": "1.12.0-snapshot-20240701122250",
48
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240704061641",
49
+ "@medusajs/utils": "1.12.0-snapshot-20240704061641",
50
50
  "@mikro-orm/core": "5.9.7",
51
51
  "@mikro-orm/migrations": "5.9.7",
52
52
  "@mikro-orm/postgresql": "5.9.7",