@medusajs/order 0.1.3-snapshot-20240703074611 → 0.1.3-snapshot-20240704061641
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/joiner-config.d.ts +0 -2
- package/dist/joiner-config.js +1 -2
- package/dist/joiner-config.js.map +1 -1
- package/dist/models/return.d.ts +2 -3
- package/dist/models/return.js.map +1 -1
- package/dist/services/actions/cancel-claim.d.ts +2 -0
- package/dist/services/actions/cancel-claim.js +108 -0
- package/dist/services/actions/cancel-claim.js.map +1 -0
- package/dist/services/actions/cancel-exchange.d.ts +2 -0
- package/dist/services/actions/cancel-exchange.js +93 -0
- package/dist/services/actions/cancel-exchange.js.map +1 -0
- package/dist/services/actions/cancel-return.d.ts +2 -0
- package/dist/services/actions/cancel-return.js +73 -0
- package/dist/services/actions/cancel-return.js.map +1 -0
- package/dist/services/actions/create-claim.js +2 -2
- package/dist/services/actions/create-claim.js.map +1 -1
- package/dist/services/actions/create-exchange.js +2 -2
- package/dist/services/actions/create-exchange.js.map +1 -1
- package/dist/services/actions/create-return.js +8 -2
- package/dist/services/actions/create-return.js.map +1 -1
- package/dist/services/actions/index.d.ts +3 -0
- package/dist/services/actions/index.js +3 -0
- package/dist/services/actions/index.js.map +1 -1
- package/dist/services/order-change-service.d.ts +2 -2
- package/dist/services/order-change-service.js.map +1 -1
- package/dist/services/order-module-service.d.ts +12 -7
- package/dist/services/order-module-service.js +119 -27
- package/dist/services/order-module-service.js.map +1 -1
- package/dist/services/order-service.d.ts +2 -2
- package/dist/services/order-service.js.map +1 -1
- package/dist/types/shipping-method.d.ts +3 -0
- package/dist/types/utils/index.d.ts +3 -3
- package/dist/utils/action-key.d.ts +4 -2
- package/dist/utils/action-key.js +3 -1
- package/dist/utils/action-key.js.map +1 -1
- package/dist/utils/actions/cancel-return.js +1 -1
- package/dist/utils/actions/cancel-return.js.map +1 -1
- package/dist/utils/actions/index.d.ts +1 -0
- package/dist/utils/actions/index.js +1 -0
- package/dist/utils/actions/index.js.map +1 -1
- package/dist/utils/actions/reinstate-item.d.ts +1 -0
- package/dist/utils/actions/reinstate-item.js +37 -0
- package/dist/utils/actions/reinstate-item.js.map +1 -0
- package/dist/utils/actions/return-item.js +2 -2
- package/dist/utils/actions/return-item.js.map +1 -1
- package/dist/utils/actions/shipping-add.js +16 -9
- package/dist/utils/actions/shipping-add.js.map +1 -1
- package/dist/utils/actions/shipping-remove.d.ts +1 -0
- package/dist/utils/actions/shipping-remove.js +42 -0
- package/dist/utils/actions/shipping-remove.js.map +1 -0
- package/dist/utils/apply-order-changes.d.ts +1 -1
- package/dist/utils/apply-order-changes.js +3 -3
- package/dist/utils/apply-order-changes.js.map +1 -1
- package/dist/utils/base-repository-find.js +12 -2
- package/dist/utils/base-repository-find.js.map +1 -1
- package/dist/utils/calculate-order-change.js +7 -7
- package/dist/utils/calculate-order-change.js.map +1 -1
- package/dist/utils/transform-order.js +35 -6
- package/dist/utils/transform-order.js.map +1 -1
- 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-
|
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-
|
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-
|
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-
|
49
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
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",
|