@medusajs/order 0.1.3-snapshot-20240924111034 → 0.1.3-snapshot-20240924113146
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/services/actions/cancel-claim.js +1 -2
- package/dist/services/actions/cancel-claim.js.map +1 -1
- package/dist/services/actions/cancel-exchange.js +1 -2
- package/dist/services/actions/cancel-exchange.js.map +1 -1
- package/dist/services/actions/cancel-fulfillment.js +1 -2
- package/dist/services/actions/cancel-fulfillment.js.map +1 -1
- package/dist/services/actions/cancel-return.js +1 -2
- package/dist/services/actions/cancel-return.js.map +1 -1
- package/dist/services/actions/create-claim.js +1 -2
- package/dist/services/actions/create-claim.js.map +1 -1
- package/dist/services/actions/create-exchange.js +1 -2
- package/dist/services/actions/create-exchange.js.map +1 -1
- package/dist/services/actions/create-return.js +1 -2
- package/dist/services/actions/create-return.js.map +1 -1
- package/dist/services/actions/receive-return.js +1 -2
- package/dist/services/actions/receive-return.js.map +1 -1
- package/dist/services/actions/register-delivery.js +1 -2
- package/dist/services/actions/register-delivery.js.map +1 -1
- package/dist/services/actions/register-fulfillment.js +1 -2
- package/dist/services/actions/register-fulfillment.js.map +1 -1
- package/dist/services/actions/register-shipment.js +1 -2
- package/dist/services/actions/register-shipment.js.map +1 -1
- package/dist/services/order-module-service.d.ts +2 -1
- package/dist/services/order-module-service.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/apply-order-changes.js +1 -2
- package/dist/utils/apply-order-changes.js.map +1 -1
- package/dist/utils/base-repository-find.js +1 -2
- package/dist/utils/base-repository-find.js.map +1 -1
- package/dist/utils/calculate-order-change.js +2 -2
- package/dist/utils/calculate-order-change.js.map +1 -1
- package/dist/utils/set-action-reference.js +1 -2
- package/dist/utils/set-action-reference.js.map +1 -1
- package/dist/utils/transform-order.js +2 -3
- package/dist/utils/transform-order.js.map +1 -1
- package/package.json +11 -7
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.cancelClaim =
|
3
|
+
exports.cancelClaim = cancelClaim;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function createOrderChange(service, data, claimOrder, actions, sharedContext) {
|
6
6
|
return await service.createOrderChange_({
|
@@ -82,5 +82,4 @@ async function cancelClaim(data, sharedContext) {
|
|
82
82
|
]);
|
83
83
|
return claimOrder;
|
84
84
|
}
|
85
|
-
exports.cancelClaim = cancelClaim;
|
86
85
|
//# sourceMappingURL=cancel-claim.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cancel-claim.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-claim.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"cancel-claim.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-claim.ts"],"names":[],"mappings":";;AA+BA,kCA0FC;AAnHD,2CAA8D;AAE9D,KAAK,UAAU,iBAAiB,CAC9B,OAAO,EACP,IAAI,EACJ,UAAU,EACV,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,UAAU,CAAC,QAAQ;QAC7B,QAAQ,EAAE,UAAU,CAAC,EAAE;QACvB,SAAS,EAAE,OAAO;QAClB,YAAY,EAAE,UAAU,CAAC,EAAE;QAC3B,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO;KACR,EACD,aAAa,CACd,CAAA;AACH,CAAC;AAEM,KAAK,UAAU,WAAW,CAE/B,IAAoC,EACpC,aAAuB;IAEvB,MAAM,UAAU,GAAG,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAC/C,IAAI,CAAC,QAAQ,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,EAAE,UAAU,CAAC,QAAQ;YAC7B,QAAQ,EAAE,UAAU,CAAC,EAAE;YACvB,SAAS,EAAE,OAAO;YAClB,YAAY,EAAE,QAAQ,CAAC,EAAE;YACzB,MAAM,EAAE,QAAQ,CAAC,UAAU,IAAI,QAAQ,CAAC,MAAM;SAC/C,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,iBAAiB,CACtC,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,iBAAiB,CACpB;YACE;gBACE,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI,IAAI,EAAE;iBACxB;gBACD,QAAQ,EAAE;oBACR,EAAE,EAAE,UAAU,CAAC,EAAE;iBAClB;aACF;SACF,EACD,aAAa,CACd;QACD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC;KAClD,CAAC,CAAA;IAEF,OAAO,UAAU,CAAA;AACnB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.cancelExchange =
|
3
|
+
exports.cancelExchange = cancelExchange;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function createOrderChange(service, data, exchangeOrder, actions, sharedContext) {
|
6
6
|
return await service.createOrderChange_({
|
@@ -68,5 +68,4 @@ async function cancelExchange(data, sharedContext) {
|
|
68
68
|
]);
|
69
69
|
return exchangeOrder;
|
70
70
|
}
|
71
|
-
exports.cancelExchange = cancelExchange;
|
72
71
|
//# sourceMappingURL=cancel-exchange.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cancel-exchange.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-exchange.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"cancel-exch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C,QAAQ;gBAChC,YAAY,EAAE,IAAI,CAAC,OAAO;gBAC1B,WAAW,EAAE,aAAa,CAAC,EAAE;gBAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB;SACF,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,aAAa,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;QACnD,OAAO,CAAC,IAAI,CAAC;YACX,MAAM,EAAE,wBAAgB,CAAC,eAAe;YACxC,QAAQ,EAAE,aAAa,CAAC,QAAQ;YAChC,WAAW,EAAE,aAAa,CAAC,EAAE;YAC7B,SAAS,EAAE,UAAU;YACrB,YAAY,EAAE,QAAQ,CAAC,EAAE;YACzB,MAAM,EAAE,QAAQ,CAAC,UAAU,IAAI,QAAQ,CAAC,MAAM;SAC/C,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,iBAAiB,CACtC,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,oBAAoB,CACvB;YACE;gBACE,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI,IAAI,EAAE;iBACxB;gBACD,QAAQ,EAAE;oBACR,EAAE,EAAE,aAAa,CAAC,EAAE;iBACrB;aACF;SACF,EACD,aAAa,CACd;QACD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC;KAClD,CAAC,CAAA;IAEF,OAAO,aAAa,CAAA;AACtB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.cancelFulfillment =
|
3
|
+
exports.cancelFulfillment = cancelFulfillment;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function cancelFulfillment(data, sharedContext) {
|
6
6
|
const items = data.items.map((item) => {
|
@@ -28,5 +28,4 @@ async function cancelFulfillment(data, sharedContext) {
|
|
28
28
|
}, sharedContext);
|
29
29
|
await this.confirmOrderChange(change[0].id, sharedContext);
|
30
30
|
}
|
31
|
-
exports.cancelFulfillment = cancelFulfillment;
|
32
31
|
//# sourceMappingURL=cancel-fulfillment.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cancel-fulfillment.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-fulfillment.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"cancel-fulfillment.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-fulfillment.ts"],"names":[],"mappings":";;AAGA,8CAkCC;AApCD,2CAAkD;AAE3C,KAAK,UAAU,iBAAiB,CAErC,IAA0C,EAC1C,aAAuB;IAEvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACpC,OAAO;YACL,MAAM,EAAE,wBAAgB,CAAC,uBAAuB;YAChD,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,OAAO,EAAE;gBACP,YAAY,EAAE,IAAI,CAAC,EAAE;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C;QACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO,EAAE,KAAK;KACf,EACD,aAAa,CACd,CAAA;IAED,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC,CAAA;AAC5D,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.cancelReturn =
|
3
|
+
exports.cancelReturn = cancelReturn;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function createOrderChange(service, data, returnRef, actions, sharedContext) {
|
6
6
|
return await service.createOrderChange_({
|
@@ -66,5 +66,4 @@ async function cancelReturn(data, sharedContext) {
|
|
66
66
|
]);
|
67
67
|
return returnOrder;
|
68
68
|
}
|
69
|
-
exports.cancelReturn = cancelReturn;
|
70
69
|
//# sourceMappingURL=cancel-return.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cancel-return.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-return.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"cancel-return.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-return.ts"],"names":[],"mappings":";;AA+BA,oCAyEC;AAlGD,2CAA8D;AAE9D,KAAK,UAAU,iBAAiB,CAC9B,OAAO,EACP,IAAI,EACJ,SAAS,EACT,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,SAAS,EAAE,SAAS,CAAC,EAAE;QACvB,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,SAAS,CAAC,EAAE;QAC1B,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO;KACR,EACD,a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EACJ,IAAI,EACJ,WAAW,EACX,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,aAAa,CAChB;YACE;gBACE,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI,IAAI,EAAE;iBACxB;gBACD,QAAQ,EAAE;oBACR,EAAE,EAAE,WAAW,CAAC,EAAE;iBACnB;aACF;SACF,EACD,aAAa,CACd;QACD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC;KAClD,CAAC,CAAA;IAEF,OAAO,WAAW,CAAA;AACpB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.createClaim =
|
3
|
+
exports.createClaim = createClaim;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
const _models_1 = require("../../models");
|
6
6
|
function createClaimAndReturnEntities(em, data, order) {
|
@@ -222,5 +222,4 @@ async function createClaim(data, sharedContext) {
|
|
222
222
|
]);
|
223
223
|
return claimReference;
|
224
224
|
}
|
225
|
-
exports.createClaim = createClaim;
|
226
225
|
//# sourceMappingURL=create-claim.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-claim.js","sourceRoot":"","sources":["../../../src/services/actions/create-claim.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"create-claim.js","sourceRoot":"","sources":["../../../src/services/actions/create-claim.ts"],"names":[],"mappings":";;AA0RA,kCAiFC;AAtWD,2CAQwB;AACxB,qCAAwE;AAExE,SAAS,4BAA4B,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IACnD,MAAM,cAAc,GAAG,EAAE,CAAC,MAAM,CAAC,oBAAU,EAAE;QAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,IAAI,EAAE,IAAI,CAAC,IAAiB;QAC5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,CAAC,CAAA;IAEF,OAAO,cAAc,CAAA;AACvB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.createExchange =
|
3
|
+
exports.createExchange = createExchange;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
const _models_1 = require("../../models");
|
6
6
|
function createExchangeAndReturnEntities(em, data, order) {
|
@@ -188,5 +188,4 @@ async function createExchange(data, sharedContext) {
|
|
188
188
|
]);
|
189
189
|
return exchangeReference;
|
190
190
|
}
|
191
|
-
exports.createExchange = createExchange;
|
192
191
|
//# sourceMappingURL=create-exchange.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-exchange.js","sourceRoot":"","sources":["../../../src/services/actions/create-exchange.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"create-exchange.js","sourceRoot":"","sources":["../../../src/services/actions/create-exchange.ts"],"names":[],"mappings":";;AAqPA,wCAwEC;AAxTD,2CAOwB;AACxB,qCAA8E;AAE9E,SAAS,+BAA+B,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IACtD,MAAM,iBAAiB,GAAG,EAAE,CAAC,MAAM,CAAC,uBAAa,EAAE;QACjD,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,cAAc,EAAE,IAAI,CAAC,cAAc;KACpC,CAAC,CAAA;IAEF,MAAM,eAAe,GAAG,EAAE,CAAC,MAAM,CAAC,gBAAM,EAAE;QACxC,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,MAAM,EAAE,oBAAY,CAAC,SAAS;QAC9B,WAAW,EAAE,iBAAiB,CAAC,EAAE;QACjC,aAAa,EAAG,IAAI,CAAC,aA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J,IAAI,EACJ,KAAK,EACL,iBAAiB,EACjB,OAAO,EACP,aAAa,CACd,CAAA;IACD,MAAM,sBAAsB,CAC1B,IAAI,EACJ,IAAI,EACJ,iBAAiB,EACjB,OAAO,EACP,aAAa,CACd,CAAA;IACD,MAAM,qBAAqB,CACzB,IAAI,EACJ,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C;QACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW,EAAE,iBAAiB,CAAC,EAAE;QACjC,SAAS,EAAE,eAAe,CAAC,EAAE;QAC7B,WAAW,EAAE,uBAAe,CAAC,QAAQ;QACrC,SAAS,EAAE,UAAU;QACrB,YAAY,EAAE,iBAAiB,CAAC,EAAE;QAClC,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO;KACR,EACD,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,EAAE,aAAa,CAAC;QACpD,IAAI,CAAC,oBAAoB,CAAC,CAAC,iBAAiB,CAAC,EAAE,aAAa,CAAC;QAC7D,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC;KACrD,CAAC,CAAA;IAEF,OAAO,iBAAiB,CAAA;AAC1B,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.createReturn =
|
3
|
+
exports.createReturn = createReturn;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
const _models_1 = require("../../models");
|
6
6
|
function createReturnReference(em, data, order) {
|
@@ -97,5 +97,4 @@ async function createReturn(data, sharedContext) {
|
|
97
97
|
]);
|
98
98
|
return returnRef;
|
99
99
|
}
|
100
|
-
exports.createReturn = createReturn;
|
101
100
|
//# sourceMappingURL=create-return.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-return.js","sourceRoot":"","sources":["../../../src/services/actions/create-return.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"create-return.js","sourceRoot":"","sources":["../../../src/services/actions/create-return.ts"],"names":[],"mappings":";;AAiIA,oCAiCC;AA7JD,2CAQwB;AACxB,qCAA4C;AAE5C,SAAS,qBAAqB,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IAC5C,OAAO,EAAE,CAAC,MAAM,CAAC,gBAAM,EAAE;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,MAAM,EAAE,oBAAY,CAAC,SAAS;QAC9B,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,aAAa,EAAG,IAAI,CAAC,aAAyB,IAAI,IAAI;KACvD,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO;IACrD,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAC7B,OAAO,CAAC,IAAI,CAAC;YACX,MAAM,EAAE,wBAAgB,CAAC,WAAW;YACpC,SAAS,EAAE,SAAS,CAAC,EAAE;YACvB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,SAAS,CAAC,EAAE;YAC1B,OAAO,EAAE;gBACP,YAAY,EAAE,IAAI,CAAC,EAAE;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB;SACF,CAAC,CAAA;QAE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EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;IAEjE,MAAM,qBAAqB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC,CAAA;IAE1E,MAAM,MAAM,GAAG,MAAM,iBAAiB,CACpC,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC;QAC9C,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC;KACrD,CAAC,CAAA;IAEF,OAAO,SAAS,CAAA;AAClB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.receiveReturn =
|
3
|
+
exports.receiveReturn = receiveReturn;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
function createReturnItems(data) {
|
6
6
|
return data.items.map((item) => ({
|
@@ -68,5 +68,4 @@ async function receiveReturn(data, sharedContext) {
|
|
68
68
|
]);
|
69
69
|
return returnRef;
|
70
70
|
}
|
71
|
-
exports.receiveReturn = receiveReturn;
|
72
71
|
//# sourceMappingURL=receive-return.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"receive-return.js","sourceRoot":"","sources":["../../../src/services/actions/receive-return.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"receive-return.js","sourceRoot":"","sources":["../../../src/services/actions/receive-return.ts"],"names":[],"mappings":";;AA8EA,sCAsCC;AAnHD,2CAMwB;AAExB,SAAS,iBAAiB,CAAC,IAAI;IAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC/B,MAAM,EAAE,wBAAgB,CAA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CAAC,CAAA;IAC9D,MAAM,OAAO,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;IAExD,MAAM,CAAC,SAAS,CAAC,GAAG,MAAM,IAAA,kBAAU,EAAC;QACnC,IAAI,CAAC,aAAa,CAChB,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,WAAW,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EACnD,aAAa,CACd;QACD,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,aAAa,CAAC;KACxD,CAAC,CAAA;IAEF,OAAO,SAAS,CAAA;AAClB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.registerDelivery =
|
3
|
+
exports.registerDelivery = registerDelivery;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function registerDelivery(data, sharedContext) {
|
6
6
|
const items = data.items?.map((item) => {
|
@@ -26,5 +26,4 @@ async function registerDelivery(data, sharedContext) {
|
|
26
26
|
}, sharedContext);
|
27
27
|
await this.confirmOrderChange(change[0].id, sharedContext);
|
28
28
|
}
|
29
|
-
exports.registerDelivery = registerDelivery;
|
30
29
|
//# sourceMappingURL=register-delivery.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"register-delivery.js","sourceRoot":"","sources":["../../../src/services/actions/register-delivery.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"register-delivery.js","sourceRoot":"","sources":["../../../src/services/actions/register-delivery.ts"],"names":[],"mappings":";;AAGA,4CAgCC;AAlCD,2CAAkD;AAE3C,KAAK,UAAU,gBAAgB,CAEpC,IAAyC,EACzC,aAAuB;IAEvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACrC,OAAO;YACL,MAAM,EAAE,wBAAgB,CAAC,YAAY;YACrC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,OAAO,EAAE;gBACP,YAAY,EAAE,IAAI,CAAC,EAAE;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C;QACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO,EAAE,KAAK;KACf,EACD,aAAa,CACd,CAAA;IAED,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC,CAAA;AAC5D,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.registerFulfillment =
|
3
|
+
exports.registerFulfillment = registerFulfillment;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function registerFulfillment(data, sharedContext) {
|
6
6
|
const items = data.items.map((item) => {
|
@@ -26,5 +26,4 @@ async function registerFulfillment(data, sharedContext) {
|
|
26
26
|
}, sharedContext);
|
27
27
|
await this.confirmOrderChange(change[0].id, sharedContext);
|
28
28
|
}
|
29
|
-
exports.registerFulfillment = registerFulfillment;
|
30
29
|
//# sourceMappingURL=register-fulfillment.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"register-fulfillment.js","sourceRoot":"","sources":["../../../src/services/actions/register-fulfillment.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"register-fulfillment.js","sourceRoot":"","sources":["../../../src/services/actions/register-fulfillment.ts"],"names":[],"mappings":";;AAGA,kDAgCC;AAlCD,2CAAkD;AAE3C,KAAK,UAAU,mBAAmB,CAEvC,IAA4C,EAC5C,aAAuB;IAEvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACpC,OAAO;YACL,MAAM,EAAE,wBAAgB,CAAC,YAAY;YACrC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,OAAO,EAAE;gBACP,YAAY,EAAE,IAAI,CAAC,EAAE;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C;QACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO,EAAE,KAAK;KACf,EACD,aAAa,CACd,CAAA;IAED,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC,CAAA;AAC5D,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.registerShipment =
|
3
|
+
exports.registerShipment = registerShipment;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function registerShipment(data, sharedContext) {
|
6
6
|
let shippingMethodId;
|
@@ -34,5 +34,4 @@ async function registerShipment(data, sharedContext) {
|
|
34
34
|
}, sharedContext);
|
35
35
|
await this.confirmOrderChange(change[0].id, sharedContext);
|
36
36
|
}
|
37
|
-
exports.registerShipment = registerShipment;
|
38
37
|
//# sourceMappingURL=register-shipment.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"register-shipment.js","sourceRoot":"","sources":["../../../src/services/actions/register-shipment.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"register-shipment.js","sourceRoot":"","sources":["../../../src/services/actions/register-shipment.ts"],"names":[],"mappings":";;AAOA,4CA0CC;AA5CD,2CAAkD;AAE3C,KAAK,UAAU,gBAAgB,CAEpC,IAAyC,EACzC,aAAuB;IAEvB,IAAI,gBAAgB,CAAA;IAEpB,MAAM,OAAO,GAAiC,IAAI,CAAC,KAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACrE,OAAO;YACL,MAAM,EAAE,wBAAgB,CAAC,SAAS;YAClC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,OAAO,EAAE;gBACP,YAAY,EAAE,IAAI,CAAC,EAAE;gBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,gBAAgB,EAAE,CAAC;QACrB,OAAO,CAAC,IAAI,CAAC;YACX,MAAM,EAAE,wBAAgB,CAAC,YAAY;YACrC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,YAAY,EAAE,gBAAgB;SAC/B,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C;QACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO;KACR,EACD,aAAa,CACd,CAAA;IAED,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC,CAAA;AAC5D,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { Context, DAL, FilterableOrderReturnReasonProps, FindConfig, InternalModuleDeclaration, IOrderModuleService, ModuleJoinerConfig, ModulesSdkTypes, OrderDTO, OrderReturnReasonDTO, OrderShippingMethodDTO, OrderTypes, RestoreReturn, SoftDeleteReturn, UpdateOrderReturnReasonDTO } from "@medusajs/types";
|
2
|
+
import { ModulesSdkUtils } from "@medusajs/utils";
|
2
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";
|
3
4
|
import { CreateOrderChangeDTO, CreateOrderLineItemDTO, CreateOrderShippingMethodDTO } from "../types";
|
4
5
|
import OrderService from "./order-service";
|
@@ -24,7 +25,7 @@ type InjectedDependencies = {
|
|
24
25
|
orderClaimService: ModulesSdkTypes.IMedusaInternalService<any>;
|
25
26
|
orderExchangeService: ModulesSdkTypes.IMedusaInternalService<any>;
|
26
27
|
};
|
27
|
-
declare const OrderModuleService_base:
|
28
|
+
declare const OrderModuleService_base: ModulesSdkUtils.MedusaServiceReturnType<{
|
28
29
|
Order: {
|
29
30
|
dto: OrderTypes.OrderDTO;
|
30
31
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"order-module-service.d.ts","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OA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OAAO,CAAC,0BAA0B,CAAC,EACzC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAyC5B,eAAe,CACnB,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,GAAG,CAAC;IAKT,cAAc,CAClB,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;YASzB,eAAe;IAQvB,mBAAmB,CACvB,IAAI,EAAE,UAAU,CAAC,2BAA2B,EAC3B,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,iBAAiB,CACrB,IAAI,EAAE,UAAU,CAAC,yBAAyB,EACzB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,gBAAgB,CACpB,IAAI,EAAE,UAAU,CAAC,wBAAwB,EACxB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAKV,gBAAgB,CACpB,IAAI,EAAE,UAAU,CAAC,wBAAwB,EACxB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;CAGjB"}
|
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,iBAAiB,CAAA;AACxB,OAAO,EAcL,eAAe,EAKhB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,KAAK,EACL,YAAY,EACZ,WAAW,EACX,iBA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sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,GAAG,CAAC;IAKT,cAAc,CAClB,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;YASzB,eAAe;IAQvB,mBAAmB,CACvB,IAAI,EAAE,UAAU,CAAC,2BAA2B,EAC3B,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,iBAAiB,CACrB,IAAI,EAAE,UAAU,CAAC,yBAAyB,EACzB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,gBAAgB,CACpB,IAAI,EAAE,UAAU,CAAC,wBAAwB,EACxB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAKV,gBAAgB,CACpB,IAAI,EAAE,UAAU,CAAC,wBAAwB,EACxB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;CAGjB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"root":["../src/index.ts","../src/joiner-config.ts","../src/migrations/Migration20240219102530.ts","../src/migrations/Migration20240604100512.ts","../src/migrations/Migration20240715102100.ts","../src/migrations/Migration20240715174100.ts","../src/migrations/Migration20240716081800.ts","../src/migrations/Migration20240801085921.ts","../src/migrations/Migration20240821164505.ts","../src/migrations/Migration20240821170920.ts","../src/migrations/Migration20240827133639.ts","../src/migrations/Migration20240902195921.ts","../src/migrations/Migration20240913092514.ts","../src/models/address.ts","../src/models/adjustment-line.ts","../src/models/claim-item-image.ts","../src/models/claim-item.ts","../src/models/claim.ts","../src/models/exchange-item.ts","../src/models/exchange.ts","../src/models/index.ts","../src/models/line-item-adjustment.ts","../src/models/line-item-tax-line.ts","../src/models/line-item.ts","../src/models/order-change-action.ts","../src/models/order-change.ts","../src/models/order-item.ts","../src/models/order-shipping-method.ts","../src/models/order-summary.ts","../src/models/order.ts","../src/models/return-item.ts","../src/models/return-reason.ts","../src/models/return.ts","../src/models/shipping-method-adjustment.ts","../src/models/shipping-method-tax-line.ts","../src/models/shipping-method.ts","../src/models/tax-line.ts","../src/models/transaction.ts","../src/repositories/claim.ts","../src/repositories/exchange.ts","../src/repositories/index.ts","../src/repositories/order.ts","../src/repositories/return.ts","../src/schema/index.ts","../src/services/index.ts","../src/services/order-module-service.ts","../src/services/order-service.ts","../src/services/__tests__/util/actions/exchanges.ts","../src/services/__tests__/util/actions/returns.ts","../src/services/actions/cancel-claim.ts","../src/services/actions/cancel-exchange.ts","../src/services/actions/cancel-fulfillment.ts","../src/services/actions/cancel-return.ts","../src/services/actions/create-claim.ts","../src/services/actions/create-exchange.ts","../src/services/actions/create-return.ts","../src/services/actions/index.ts","../src/services/actions/receive-return.ts","../src/services/actions/register-delivery.ts","../src/services/actions/register-fulfillment.ts","../src/services/actions/register-shipment.ts","../src/types/address.ts","../src/types/index.ts","../src/types/line-item-adjustment.ts","../src/types/line-item-tax-line.ts","../src/types/line-item.ts","../src/types/order-change.ts","../src/types/order-detail.ts","../src/types/order.ts","../src/types/return-reason.ts","../src/types/shipping-method-adjustment.ts","../src/types/shipping-method-tax-line.ts","../src/types/shipping-method.ts","../src/types/tax-line.ts","../src/types/transaction.ts","../src/types/utils/index.ts","../src/utils/apply-order-changes.ts","../src/utils/base-repository-find.ts","../src/utils/calculate-order-change.ts","../src/utils/index.ts","../src/utils/set-action-reference.ts","../src/utils/transform-order.ts","../src/utils/actions/cancel-item-fulfillment.ts","../src/utils/actions/cancel-return.ts","../src/utils/actions/deliver-item.ts","../src/utils/actions/fulfill-item.ts","../src/utils/actions/index.ts","../src/utils/actions/item-add.ts","../src/utils/actions/item-remove.ts","../src/utils/actions/item-update.ts","../src/utils/actions/receive-damaged-return-item.ts","../src/utils/actions/receive-return-item.ts","../src/utils/actions/reinstate-item.ts","../src/utils/actions/return-item.ts","../src/utils/actions/ship-item.ts","../src/utils/actions/shipping-add.ts","../src/utils/actions/shipping-remove.ts","../src/utils/actions/write-off-item.ts"],"version":"5.6.2"}
|
package/dist/types/index.d.ts
CHANGED
@@ -11,6 +11,7 @@ export * from "./shipping-method-adjustment";
|
|
11
11
|
export * from "./shipping-method-tax-line";
|
12
12
|
export * from "./transaction";
|
13
13
|
export * from "./utils";
|
14
|
+
export * from "./return-reason";
|
14
15
|
export type InitializeModuleInjectableDependencies = {
|
15
16
|
logger?: Logger;
|
16
17
|
EventBus?: IEventBusModuleService;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAEhE,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAEhE,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAE/B,MAAM,MAAM,sCAAsC,GAAG;IACnD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,sBAAsB,CAAA;CAClC,CAAA"}
|
package/dist/types/index.js
CHANGED
@@ -26,4 +26,5 @@ __exportStar(require("./shipping-method-adjustment"), exports);
|
|
26
26
|
__exportStar(require("./shipping-method-tax-line"), exports);
|
27
27
|
__exportStar(require("./transaction"), exports);
|
28
28
|
__exportStar(require("./utils"), exports);
|
29
|
+
__exportStar(require("./return-reason"), exports);
|
29
30
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,4CAAyB;AACzB,8CAA2B;AAC3B,yDAAsC;AACtC,uDAAoC;AACpC,0CAAuB;AACvB,iDAA8B;AAC9B,iDAA8B;AAC9B,oDAAiC;AACjC,+DAA4C;AAC5C,6DAA0C;AAC1C,gDAA6B;AAC7B,0CAAuB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,4CAAyB;AACzB,8CAA2B;AAC3B,yDAAsC;AACtC,uDAAoC;AACpC,0CAAuB;AACvB,iDAA8B;AAC9B,iDAA8B;AAC9B,oDAAiC;AACjC,+DAA4C;AAC5C,6DAA0C;AAC1C,gDAA6B;AAC7B,0CAAuB;AACvB,kDAA+B"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.applyChangesToOrder =
|
3
|
+
exports.applyChangesToOrder = applyChangesToOrder;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
const calculate_order_change_1 = require("./calculate-order-change");
|
6
6
|
function applyChangesToOrder(orders, actionsMap, options) {
|
@@ -95,5 +95,4 @@ function applyChangesToOrder(orders, actionsMap, options) {
|
|
95
95
|
calculatedOrders,
|
96
96
|
};
|
97
97
|
}
|
98
|
-
exports.applyChangesToOrder = applyChangesToOrder;
|
99
98
|
//# sourceMappingURL=apply-order-changes.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"apply-order-changes.js","sourceRoot":"","sources":["../../src/utils/apply-order-changes.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"apply-order-changes.js","sourceRoot":"","sources":["../../src/utils/apply-order-changes.ts"],"names":[],"mappings":";;AAiBA,kDAiHC;AAjID,2CAKwB;AAExB,qEAA+D;AAS/D,SAAgB,mBAAmB,CACjC,MAAa,EACb,UAAiC,EACjC,OAEC;IAED,MAAM,aAAa,GAAgB,EAAE,CAAA;IACrC,MAAM,uBAAuB,GAA0B,EAAE,CAAA;IACzD,MAAM,iBAAiB,GAAU,EAAE,CAAA;IACnC,MAAM,aAAa,GAAU,EAAE,CAAA;IAE/B,MAAM,gBAAgB,GAAG,EAAE,CAAA;IAC3B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAA,6CAAoB,EAAC;YACtC,KAAK,EAAE,KAAY;YACnB,OAAO,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,IAAI,EAAE;YACtC,OAAO;SACR,CAAC,CAAA;QAEF,IAAA,wCAAgC,EAAC,UAAU,CAAC,CAAA;QAE5C,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,UAAU,CAAA;QAEvC,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,IAAI,KAAK,CAAC,OAAO,CAAA;QAEnE,KAAK,MAAM,IAAI,IAAI,UAAU,CAAC,KAAK,CAAC,KAAK,E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AAI,CAAC,EAAE,CAAC,CAAA;gBAClC,CAAC;YACH,CAAC;YAED,aAAa,CAAC,IAAI,CAAC;gBACjB,QAAQ,EAAE;oBACR,EAAE,EAAE,KAAK,CAAC,EAAE;iBACb;gBACD,IAAI,EAAE;oBACJ,OAAO;iBACR;aACF,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,OAAO;QACL,aAAa;QACb,uBAAuB;QACvB,iBAAiB;QACjB,aAAa;QACb,gBAAgB;KACjB,CAAA;AACH,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.setFindMethods =
|
3
|
+
exports.setFindMethods = setFindMethods;
|
4
4
|
const core_1 = require("@mikro-orm/core");
|
5
5
|
const _models_1 = require("../models");
|
6
6
|
const _1 = require(".");
|
@@ -151,5 +151,4 @@ function setFindMethods(klass, entity) {
|
|
151
151
|
return await manager.findAndCount(entity, config.where, config.options);
|
152
152
|
};
|
153
153
|
}
|
154
|
-
exports.setFindMethods = setFindMethods;
|
155
154
|
//# sourceMappingURL=base-repository-find.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"base-repository-find.js","sourceRoot":"","sources":["../../src/utils/base-repository-find.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"base-repository-find.js","sourceRoot":"","sources":["../../src/utils/base-repository-find.ts"],"names":[],"mappings":";;AAKA,wCAqMC;AAzMD,0CAA8C;AAC9C,qCAA2C;AAC3C,wBAA6C;AAE7C,SAAgB,cAAc,CAAI,KAAqB,EAAE,MAAW;IAClE,KAAK,CAAC,SAAS,CAAC,IAAI,GAAG,KAAK,UAAU,IAAI,CAExC,OAA4B,EAC5B,OAAiB;QAEjB,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAA;QAC9C,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,EAAE,CAAA;QAE9B,MAAM,YAAY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;QACtD,OAAO,MAAM,CAAC,KAAK,CAAC,OAAO,CAAA;QAE3B,MAAM,CAAC,OAAO,CAAC,aAAa,KAAK,EAAE,CAAA;QACnC,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,aAAa,CAAA;QAE7C,IAAI,eAAe,EAAE,CAAC;YACpB,QAAQ,CAAC,KAAK,KAAK,EAAE,CAAA;QACvB,CAAC;QAED,MAAM,UAAU,GAAG,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAA;QAE9D,UAAU,CAAC,OAAO,KAAK,EAAE,CAAA;QACzB,UAAU,CAAC,OAAO,CAAC,OAAO,GAAG,OAAO,CAAA;QAEpC,UAAU,CAAC,KAAK,KAAK,EAAE,CAAA;QACvB,UAAU,CAAC,KAAK,CAAC,OAAO,GAAG,OAAO,CAAA;QAClC,UAAU,CAAC,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;QAEpC,QAAQ,CAAC,gBAAgB,KAAK,EAAE,CAAA;QAChC,QAAQ,CAAC,gBAAgB,CAAC,OAAO,GAAG,OAAO,CAAA;QAC3C,QAAQ,CAAC,gBAAgB,CAAC,UAAU,KAAK,IAAI,CAAA;QAE7C,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;YAC5B,MAAM,CAAC,OAAO,CAAC,OAAO,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,CAAA;QACxC,CAAC;QAED,OAAO,MAAM,OAAO,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,CAAA;IACzE,CAAC,CAAA;AACH,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.OrderChangeProcessing = void 0;
|
4
|
+
exports.calculateOrderChange = calculateOrderChange;
|
4
5
|
const utils_1 = require("@medusajs/utils");
|
5
6
|
const _types_1 = require("../types");
|
6
7
|
class OrderChangeProcessing {
|
@@ -146,5 +147,4 @@ function calculateOrderChange({ order, transactions = [], actions = [], options
|
|
146
147
|
order: calc.getCurrentOrder(),
|
147
148
|
};
|
148
149
|
}
|
149
|
-
exports.calculateOrderChange = calculateOrderChange;
|
150
150
|
//# sourceMappingURL=calculate-order-change.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"calculate-order-change.js","sourceRoot":"","sources":["../../src/utils/calculate-order-change.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"calculate-order-change.js","sourceRoot":"","sources":["../../src/utils/calculate-order-change.ts"],"names":[],"mappings":";;;AAoNA,oDAuBC;AA1OD,2CAKwB;AACxB,mCAQe;AAOf,MAAa,qBAAqB;IAezB,MAAM,CAAC,kBAAkB,CAAC,GAAW,EAAE,IAA0B;QACtE,qBAAqB,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;IAClD,CAAC;IAED,YAAY,EACV,KAAK,EACL,YAAY,EACZ,OAAO,EACP,OAAO,GAMR;QApBO,YAAO,GAAmB,EAAE,CAAA;QAE5B,qBAAgB,GAAkD,EAAE,CAAA;QACpE,eAAU,GAAmC,EAAE,CAAA;QAkBrD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAA;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,CAAA;QAClE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAA;QACxD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QAEtB,IAAI,IAAI,GAAG,cAAM,CAAC,OAAO,CAAC,CAAC,CAAC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AAA;QAE/B,OAAO,YAAY,CAAA;IACrB,CAAC;IAEM,eAAe;QACpB,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;;AA3LH,sDA4LC;AA3LgB,oCAAc,GAA4C,EAAE,AAA9C,CAA8C;AAC5D,mCAAa,GAAG;IAC7B,WAAW,EAAE,KAAK;CACnB,AAF2B,CAE3B;AA0LH,SAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,YAAY,GAAG,EAAE,EACjB,OAAO,GAAG,EAAE,EACZ,OAAO,GAAG,EAAE,GAMb;IACC,MAAM,IAAI,GAAG,IAAI,qBAAqB,CAAC;QACrC,KAAK;QACL,YAAY;QACZ,OAAO;QACP,OAAO;KACR,CAAC,CAAA;IACF,IAAI,CAAC,cAAc,EAAE,CAAA;IAErB,OAAO;QACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;QAC1B,KAAK,EAAE,IAAI,CAAC,eAAe,EAAE;KAC9B,CAAA;AACH,CAAC"}
|
@@ -1,11 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.setActionReference =
|
3
|
+
exports.setActionReference = setActionReference;
|
4
4
|
function setActionReference(existing, action, options) {
|
5
5
|
if (options?.addActionReferenceToObject) {
|
6
6
|
existing.actions ??= [];
|
7
7
|
existing.actions.push(action);
|
8
8
|
}
|
9
9
|
}
|
10
|
-
exports.setActionReference = setActionReference;
|
11
10
|
//# sourceMappingURL=set-action-reference.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"set-action-reference.js","sourceRoot":"","sources":["../../src/utils/set-action-reference.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"set-action-reference.js","sourceRoot":"","sources":["../../src/utils/set-action-reference.ts"],"names":[],"mappings":";;AAAA,gDAKC;AALD,SAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO;IAC1D,IAAI,OAAO,EAAE,0BAA0B,EAAE,CAAC;QACxC,QAAQ,CAAC,OAAO,KAAK,EAAE,CAAA;QACvB,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAC/B,CAAC;AACH,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.formatOrder = formatOrder;
|
4
|
+
exports.mapRepositoryToOrderModel = mapRepositoryToOrderModel;
|
4
5
|
const utils_1 = require("@medusajs/utils");
|
5
6
|
// Reshape the order object to match the OrderDTO
|
6
7
|
// This function is used to format the order object before returning to the main module methods
|
@@ -71,7 +72,6 @@ function formatOrder(order, options) {
|
|
71
72
|
});
|
72
73
|
return isArray ? orders : orders[0];
|
73
74
|
}
|
74
|
-
exports.formatOrder = formatOrder;
|
75
75
|
function cleanNestedRelations(obj) {
|
76
76
|
if (!(0, utils_1.isObject)(obj)) {
|
77
77
|
return;
|
@@ -191,7 +191,6 @@ function mapRepositoryToOrderModel(config, isRelatedEntity = false) {
|
|
191
191
|
}
|
192
192
|
return conf;
|
193
193
|
}
|
194
|
-
exports.mapRepositoryToOrderModel = mapRepositoryToOrderModel;
|
195
194
|
// This function has the same purpose as "mapRepositoryToOrderModel" but for returns, claims and exchanges
|
196
195
|
function mapRepositoryToRelatedEntity(config) {
|
197
196
|
const conf = { ...config };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transform-order.js","sourceRoot":"","sources":["../../src/utils/transform-order.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"transform-order.js","sourceRoot":"","sources":["../../src/utils/transform-order.ts"],"names":[],"mappings":";;AAUA,kCAwFC;AAwFD,8DAwEC;AAlQD,2CAMwB;AAExB,iDAAiD;AACjD,+FAA+F;AAC/F,SAAgB,WAAW,CACzB,KAAK,EACL,OAGC;IAED,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IACpC,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AC,CAAA;IAE3D,OAAO,IAAI,CAAA;AACb,CAAC"}
|
package/package.json
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/order",
|
3
|
-
"version": "0.1.3-snapshot-
|
3
|
+
"version": "0.1.3-snapshot-20240924113146",
|
4
4
|
"description": "Medusa Order module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
7
7
|
"files": [
|
8
|
-
"dist"
|
8
|
+
"dist",
|
9
|
+
"!dist/**/__tests__",
|
10
|
+
"!dist/**/__mocks__",
|
11
|
+
"!dist/**/__fixtures__"
|
9
12
|
],
|
10
13
|
"engines": {
|
11
14
|
"node": ">=20"
|
@@ -23,7 +26,8 @@
|
|
23
26
|
"scripts": {
|
24
27
|
"watch": "tsc --build --watch",
|
25
28
|
"watch:test": "tsc --build tsconfig.spec.json --watch",
|
26
|
-
"
|
29
|
+
"resolve:aliases": "tsc --showConfig -p tsconfig.json > tsconfig.resolved.json && tsc-alias -p tsconfig.resolved.json && rimraf tsconfig.resolved.json",
|
30
|
+
"build": "rimraf dist && tsc --build && npm run resolve:aliases",
|
27
31
|
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts",
|
28
32
|
"test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts",
|
29
33
|
"migration:generate": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm migration:generate",
|
@@ -33,18 +37,18 @@
|
|
33
37
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
|
34
38
|
},
|
35
39
|
"devDependencies": {
|
36
|
-
"@medusajs/types": "1.12.0-snapshot-
|
40
|
+
"@medusajs/types": "1.12.0-snapshot-20240924113146",
|
37
41
|
"@mikro-orm/cli": "5.9.7",
|
38
42
|
"cross-env": "^5.2.1",
|
39
43
|
"jest": "^29.7.0",
|
40
|
-
"medusa-test-utils": "1.1.45-snapshot-
|
44
|
+
"medusa-test-utils": "1.1.45-snapshot-20240924113146",
|
41
45
|
"rimraf": "^3.0.2",
|
42
46
|
"ts-node": "^10.9.1",
|
43
47
|
"tsc-alias": "^1.8.6",
|
44
|
-
"typescript": "^5.
|
48
|
+
"typescript": "^5.6.2"
|
45
49
|
},
|
46
50
|
"dependencies": {
|
47
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
51
|
+
"@medusajs/utils": "1.12.0-snapshot-20240924113146"
|
48
52
|
},
|
49
53
|
"peerDependencies": {
|
50
54
|
"@mikro-orm/core": "5.9.7",
|