@medusajs/order 0.1.3-snapshot-20240531102054 → 0.1.3-snapshot-20240607093839
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/services/order-module-service.d.ts +3 -0
- package/dist/services/order-module-service.js +60 -3
- package/dist/services/order-module-service.js.map +1 -1
- package/dist/utils/action-key.d.ts +1 -0
- package/dist/utils/action-key.js +1 -0
- package/dist/utils/action-key.js.map +1 -1
- package/dist/utils/actions/cancel-item-fulfillment.d.ts +1 -0
- package/dist/utils/actions/cancel-item-fulfillment.js +37 -0
- package/dist/utils/actions/cancel-item-fulfillment.js.map +1 -0
- package/dist/utils/actions/cancel-return.js +1 -1
- package/dist/utils/actions/cancel-return.js.map +1 -1
- package/dist/utils/actions/fulfill-item.js +1 -1
- package/dist/utils/actions/fulfill-item.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/item-remove.js +1 -1
- package/dist/utils/actions/item-remove.js.map +1 -1
- package/dist/utils/actions/receive-damaged-return-item.js +1 -1
- package/dist/utils/actions/receive-damaged-return-item.js.map +1 -1
- package/dist/utils/actions/receive-return-item.js +1 -1
- package/dist/utils/actions/receive-return-item.js.map +1 -1
- package/dist/utils/actions/return-item.js +1 -1
- package/dist/utils/actions/return-item.js.map +1 -1
- package/dist/utils/actions/ship-item.js +1 -1
- package/dist/utils/actions/ship-item.js.map +1 -1
- package/dist/utils/actions/write-off-item.js +1 -1
- package/dist/utils/actions/write-off-item.js.map +1 -1
- package/package.json +5 -5
@@ -166,6 +166,7 @@ export default class OrderModuleService<TOrder extends Order = Order, TAddress e
|
|
166
166
|
addOrderAction(data: OrderTypes.CreateOrderChangeActionDTO[], sharedContext?: Context): Promise<OrderTypes.OrderChangeActionDTO[]>;
|
167
167
|
private applyOrderChanges_;
|
168
168
|
registerFulfillment(data: OrderTypes.RegisterOrderFulfillmentDTO, sharedContext?: Context): Promise<void>;
|
169
|
+
cancelFulfillment(data: OrderTypes.CancelOrderFulfillmentDTO, sharedContext?: Context): Promise<void>;
|
169
170
|
registerShipment(data: OrderTypes.RegisterOrderShipmentDTO, sharedContext?: Context): Promise<void>;
|
170
171
|
createReturn(data: OrderTypes.CreateOrderReturnDTO, sharedContext?: Context): Promise<void>;
|
171
172
|
addTransactions(transactionData: OrderTypes.CreateOrderTransactionDTO, sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO>;
|
@@ -186,5 +187,7 @@ export default class OrderModuleService<TOrder extends Order = Order, TAddress e
|
|
186
187
|
archive(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
187
188
|
completeOrder(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
188
189
|
completeOrder(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
190
|
+
cancel(orderId: string, sharedContext?: Context): Promise<OrderTypes.OrderDTO>;
|
191
|
+
cancel(orderId: string[], sharedContext?: Context): Promise<OrderTypes.OrderDTO[]>;
|
189
192
|
}
|
190
193
|
export {};
|
@@ -986,6 +986,30 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.abstractModuleServiceFa
|
|
986
986
|
}, sharedContext);
|
987
987
|
await this.confirmOrderChange(change[0].id, sharedContext);
|
988
988
|
}
|
989
|
+
async cancelFulfillment(data, sharedContext) {
|
990
|
+
const items = data.items.map((item) => {
|
991
|
+
return {
|
992
|
+
action: utils_2.ChangeActionType.CANCEL_ITEM_FULFILLMENT,
|
993
|
+
internal_note: item.internal_note,
|
994
|
+
reference: data.reference,
|
995
|
+
reference_id: data.reference_id,
|
996
|
+
details: {
|
997
|
+
reference_id: item.id,
|
998
|
+
quantity: item.quantity,
|
999
|
+
metadata: item.metadata,
|
1000
|
+
},
|
1001
|
+
};
|
1002
|
+
});
|
1003
|
+
const change = await this.createOrderChange_({
|
1004
|
+
order_id: data.order_id,
|
1005
|
+
description: data.description,
|
1006
|
+
internal_note: data.internal_note,
|
1007
|
+
created_by: data.created_by,
|
1008
|
+
metadata: data.metadata,
|
1009
|
+
actions: items,
|
1010
|
+
}, sharedContext);
|
1011
|
+
await this.confirmOrderChange(change[0].id, sharedContext);
|
1012
|
+
}
|
989
1013
|
async registerShipment(data, sharedContext) {
|
990
1014
|
let shippingMethodId;
|
991
1015
|
const actions = data.items.map((item) => {
|
@@ -1256,10 +1280,31 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.abstractModuleServiceFa
|
|
1256
1280
|
if (notAllowed.length) {
|
1257
1281
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Orders ${notAllowed.join(", ")} are canceled and cannot be completed`);
|
1258
1282
|
}
|
1259
|
-
await this.orderService_.update({
|
1283
|
+
await this.orderService_.update(orderIds.map((id) => {
|
1284
|
+
return {
|
1285
|
+
id,
|
1286
|
+
status: utils_1.OrderStatus.COMPLETED,
|
1287
|
+
};
|
1288
|
+
}), sharedContext);
|
1289
|
+
return Array.isArray(orderId) ? orders : orders[0];
|
1290
|
+
}
|
1291
|
+
async cancel(orderId, sharedContext) {
|
1292
|
+
const orderIds = Array.isArray(orderId) ? orderId : [orderId];
|
1293
|
+
const orders = await this.list({
|
1260
1294
|
id: orderIds,
|
1261
|
-
|
1262
|
-
|
1295
|
+
}, {}, sharedContext);
|
1296
|
+
const canceled_at = new Date();
|
1297
|
+
for (const order of orders) {
|
1298
|
+
order.status = utils_1.OrderStatus.CANCELED;
|
1299
|
+
order.canceled_at = canceled_at;
|
1300
|
+
}
|
1301
|
+
await this.orderService_.update(orderIds.map((id) => {
|
1302
|
+
return {
|
1303
|
+
id,
|
1304
|
+
status: utils_1.OrderStatus.CANCELED,
|
1305
|
+
canceled_at,
|
1306
|
+
};
|
1307
|
+
}), sharedContext);
|
1263
1308
|
return Array.isArray(orderId) ? orders : orders[0];
|
1264
1309
|
}
|
1265
1310
|
}
|
@@ -1520,6 +1565,12 @@ __decorate([
|
|
1520
1565
|
__metadata("design:paramtypes", [Object, Object]),
|
1521
1566
|
__metadata("design:returntype", Promise)
|
1522
1567
|
], OrderModuleService.prototype, "registerFulfillment", null);
|
1568
|
+
__decorate([
|
1569
|
+
(0, utils_1.InjectTransactionManager)("baseRepository_"),
|
1570
|
+
__metadata("design:type", Function),
|
1571
|
+
__metadata("design:paramtypes", [Object, Object]),
|
1572
|
+
__metadata("design:returntype", Promise)
|
1573
|
+
], OrderModuleService.prototype, "cancelFulfillment", null);
|
1523
1574
|
__decorate([
|
1524
1575
|
(0, utils_1.InjectTransactionManager)("baseRepository_"),
|
1525
1576
|
__metadata("design:type", Function),
|
@@ -1613,4 +1664,10 @@ __decorate([
|
|
1613
1664
|
__metadata("design:paramtypes", [Object, Object]),
|
1614
1665
|
__metadata("design:returntype", Promise)
|
1615
1666
|
], OrderModuleService.prototype, "completeOrder", null);
|
1667
|
+
__decorate([
|
1668
|
+
(0, utils_1.InjectTransactionManager)("baseRepository_"),
|
1669
|
+
__metadata("design:type", Function),
|
1670
|
+
__metadata("design:paramtypes", [Object, Object]),
|
1671
|
+
__metadata("design:returntype", Promise)
|
1672
|
+
], OrderModuleService.prototype, "cancel", null);
|
1616
1673
|
//# sourceMappingURL=order-module-service.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"order-module-service.js","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2CAgBwB;AACxB,2CAkBwB;AACxB,qCAgBgB;AAYhB,oDAA4E;AAC5E,oCAAiE;AACjE,8DAAsD;AAuBtD,MAAM,uBAAuB,GAAG;IAC9B,iBAAO;IACP,kBAAQ;IACR,4BAAkB;IAClB,yBAAe;IACf,wBAAc;IACd,kCAAwB;IACxB,+BAAqB;IACrB,qBAAW;IACX,qBAAW;IACX,2BAAiB;IACjB,mBAAS;IACT,sBAAY;IACZ,6BAAmB;IACnB,sBAAY;CACb,CAAA;AAED,MAAqB,kBAiBnB,SAAQ,uBAAe,CAAC,4BAA4B,CAqBlD,eAAK,EAA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B,CAAC;;;;sDAkE3C;AAaK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;;;;yDA0ChC;AAIK;IAFL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IACjC,aAAa;;;;;4DA0BZ;AAIK;IAFL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IACjC,aAAa;;;;;gEA6BZ;AAIK;IAFL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IACjC,aAAa;;;;;6DA8BZ;AAGa;IADb,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;0EA4C3C;AAaK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;6DAqB3C;AAmBK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAS9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6DAuCjB;AAGe;IADf,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAIzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6DAQjB;AAGe;IADf,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;0EAoBjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;uDAgC3C;AAaK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;iDA+C3C;AAYK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;uDAuC3C"}
|
1
|
+
{"version":3,"file":"order-module-service.js","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2CAgBwB;AACxB,2CAkBwB;AACxB,qCAgBgB;AAYhB,oDAA4E;AAC5E,oCAAiE;AACjE,8DAAsD;AAuBtD,MAAM,uBAAuB,GAAG;IAC9B,iBAAO;IACP,kBAAQ;IACR,4BAAkB;IAClB,yBAAe;IACf,wBAAc;IACd,kCAAwB;IACxB,+BAAqB;IACrB,qBAAW;IACX,qBAAW;IACX,2BAAiB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EAAC,iBAAiB,CAAC;IAS9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6DAuCjB;AAGe;IADf,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAIzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6DAQjB;AAGe;IADf,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;0EAoBjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;uDAgC3C;AAaK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;iDA+C3C;AAYK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;uDAyC3C;AAYK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;gDAgC3C"}
|
@@ -2,6 +2,7 @@ export declare enum ChangeActionType {
|
|
2
2
|
CANCEL = "CANCEL",
|
3
3
|
CANCEL_RETURN = "CANCEL_RETURN",
|
4
4
|
FULFILL_ITEM = "FULFILL_ITEM",
|
5
|
+
CANCEL_ITEM_FULFILLMENT = "CANCEL_ITEM_FULFILLMENT",
|
5
6
|
ITEM_ADD = "ITEM_ADD",
|
6
7
|
ITEM_REMOVE = "ITEM_REMOVE",
|
7
8
|
RECEIVE_DAMAGED_RETURN_ITEM = "RECEIVE_DAMAGED_RETURN_ITEM",
|
package/dist/utils/action-key.js
CHANGED
@@ -6,6 +6,7 @@ var ChangeActionType;
|
|
6
6
|
ChangeActionType["CANCEL"] = "CANCEL";
|
7
7
|
ChangeActionType["CANCEL_RETURN"] = "CANCEL_RETURN";
|
8
8
|
ChangeActionType["FULFILL_ITEM"] = "FULFILL_ITEM";
|
9
|
+
ChangeActionType["CANCEL_ITEM_FULFILLMENT"] = "CANCEL_ITEM_FULFILLMENT";
|
9
10
|
ChangeActionType["ITEM_ADD"] = "ITEM_ADD";
|
10
11
|
ChangeActionType["ITEM_REMOVE"] = "ITEM_REMOVE";
|
11
12
|
ChangeActionType["RECEIVE_DAMAGED_RETURN_ITEM"] = "RECEIVE_DAMAGED_RETURN_ITEM";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"action-key.js","sourceRoot":"","sources":["../../src/utils/action-key.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"action-key.js","sourceRoot":"","sources":["../../src/utils/action-key.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAaX;AAbD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,mDAA+B,CAAA;IAC/B,iDAA6B,CAAA;IAC7B,uEAAmD,CAAA;IACnD,yCAAqB,CAAA;IACrB,+CAA2B,CAAA;IAC3B,+EAA2D,CAAA;IAC3D,+DAA2C,CAAA;IAC3C,+CAA2B,CAAA;IAC3B,iDAA6B,CAAA;IAC7B,2CAAuB,CAAA;IACvB,qDAAiC,CAAA;AACnC,CAAC,EAbW,gBAAgB,gCAAhB,gBAAgB,QAa3B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const utils_1 = require("@medusajs/utils");
|
4
|
+
const action_key_1 = require("../action-key");
|
5
|
+
const calculate_order_change_1 = require("../calculate-order-change");
|
6
|
+
calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.ChangeActionType.CANCEL_ITEM_FULFILLMENT, {
|
7
|
+
operation({ action, currentOrder }) {
|
8
|
+
const existing = currentOrder.items.find((item) => item.id === action.details.reference_id);
|
9
|
+
existing.detail.fulfilled_quantity ??= 0;
|
10
|
+
existing.detail.fulfilled_quantity = utils_1.MathBN.sub(existing.detail.fulfilled_quantity, action.details.quantity);
|
11
|
+
},
|
12
|
+
revert({ action, currentOrder }) {
|
13
|
+
const existing = currentOrder.items.find((item) => item.id === action.reference_id);
|
14
|
+
existing.detail.fulfilled_quantity = utils_1.MathBN.add(existing.detail.fulfilled_quantity, action.details.quantity);
|
15
|
+
},
|
16
|
+
validate({ action, currentOrder }) {
|
17
|
+
const refId = action.details?.reference_id;
|
18
|
+
if (!(0, utils_1.isDefined)(refId)) {
|
19
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Reference ID is required.");
|
20
|
+
}
|
21
|
+
const existing = currentOrder.items.find((item) => item.id === refId);
|
22
|
+
if (!existing) {
|
23
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
24
|
+
}
|
25
|
+
if (!action.details?.quantity) {
|
26
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to cancel item fulfillment ${refId} is required.`);
|
27
|
+
}
|
28
|
+
if (action.details?.quantity < 1) {
|
29
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to cancel item ${refId} must be greater than 0.`);
|
30
|
+
}
|
31
|
+
const greater = utils_1.MathBN.gt(action.details?.quantity, existing.detail?.fulfilled_quantity);
|
32
|
+
if (greater) {
|
33
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Cannot cancel more items than what was fulfilled for item ${refId}.`);
|
34
|
+
}
|
35
|
+
},
|
36
|
+
});
|
37
|
+
//# sourceMappingURL=cancel-item-fulfillment.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cancel-item-fulfillment.js","sourceRoot":"","sources":["../../../src/utils/actions/cancel-item-fulfillment.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAChE,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CACtC,6BAAgB,CAAC,uBAAuB,EACxC;IACE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAChC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,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AAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,uCAAuC,KAAK,eAAe,CAC5D,CAAA;QACH,CAAC;QAED,IAAI,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2BAA2B,KAAK,0BAA0B,CAC3D,CAAA;QACH,CAAC;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CACvB,MAAM,CAAC,OAAO,EAAE,QAAQ,EACxB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CACpC,CAAA;QACD,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,6DAA6D,KAAK,GAAG,CACtE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CACF,CAAA"}
|
@@ -24,7 +24,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
24
24
|
}
|
25
25
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
26
26
|
if (!existing) {
|
27
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
27
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
28
28
|
}
|
29
29
|
if (!action.details?.quantity) {
|
30
30
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to cancel return of item ${refId} is required.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cancel-return.js","sourceRoot":"","sources":["../../../src/utils/actions/cancel-return.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAChE,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,6BAAgB,CAAC,aAAa,EAAE;IACvE,SAAS,CAAC,EAA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,CAAA;QACH,CAAC;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CACvB,MAAM,CAAC,OAAO,EAAE,QAAQ,EACxB,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAC3C,CAAA;QACD,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,uEAAuE,KAAK,GAAG,CAChF,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
@@ -20,7 +20,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
20
20
|
}
|
21
21
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
22
22
|
if (!existing) {
|
23
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
23
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
24
24
|
}
|
25
25
|
if (!action.details?.quantity) {
|
26
26
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to fulfill of item ${refId} is required.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfill-item.js","sourceRoot":"","sources":["../../../src/utils/actions/fulfill-item.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAChE,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,6BAAgB,CAAC,YAAY,EAAE;IACtE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAChC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,kBAAkB,KAAK,CAAC,CAAA;QAExC,QAAQ,CAAC,MAAM,CAAC,kBAAkB,GAAG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AK,CAAC,YAAY,EAC9B,YAAY,KAAK,cAAc,CAChC,CAAA;QACH,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,+BAA+B,KAAK,eAAe,CACpD,CAAA;QACH,CAAC;QAED,IAAI,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,oBAAoB,KAAK,0BAA0B,CACpD,CAAA;QACH,CAAC;QAED,MAAM,YAAY,GAAG,cAAM,CAAC,GAAG,CAC7B,QAAQ,CAAC,QAAQ,EACjB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CACpC,CAAA;QACD,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAA;QACjE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,4DAA4D,KAAK,GAAG,CACrE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./cancel"), exports);
|
18
|
+
__exportStar(require("./cancel-item-fulfillment"), exports);
|
18
19
|
__exportStar(require("./cancel-return"), exports);
|
19
20
|
__exportStar(require("./fulfill-item"), exports);
|
20
21
|
__exportStar(require("./item-add"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,kDAA+B;AAC/B,iDAA8B;AAC9B,6CAA0B;AAC1B,gDAA6B;AAC7B,gEAA6C;AAC7C,wDAAqC;AACrC,gDAA6B;AAC7B,8CAA2B;AAC3B,iDAA8B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,4DAAyC;AACzC,kDAA+B;AAC/B,iDAA8B;AAC9B,6CAA0B;AAC1B,gDAA6B;AAC7B,gEAA6C;AAC7C,wDAAqC;AACrC,gDAA6B;AAC7B,8CAA2B;AAC3B,iDAA8B"}
|
@@ -37,7 +37,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
37
37
|
}
|
38
38
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
39
39
|
if (!existing) {
|
40
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
40
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
41
41
|
}
|
42
42
|
if (!(0, utils_1.isDefined)(action.amount) && !(0, utils_1.isDefined)(action.details?.unit_price)) {
|
43
43
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Unit price of item ${refId} is required if no action.amount is provided.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"item-remove.js","sourceRoot":"","sources":["../../../src/utils/actions/item-remove.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAEhE,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,6BAAgB,CAAC,WAAW,EAAE;IACrE,WAAW,EAAE,IAAI;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAChC,MAAM,aAAa,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAChD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,M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YAAY,EAC9B,oBAAoB,KAAK,0BAA0B,CACpD,CAAA;QACH,CAAC;QAED,MAAM,YAAY,GAAG,cAAM,CAAC,GAAG,CAC7B,QAAQ,CAAC,QAAQ,EACjB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CACpC,CAAA;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAA;QACjE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,sCAAsC,KAAK,GAAG,CAC/C,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
@@ -49,7 +49,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
49
49
|
}
|
50
50
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
51
51
|
if (!existing) {
|
52
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
52
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
53
53
|
}
|
54
54
|
if (!action.details?.quantity) {
|
55
55
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to return of item ${refId} is required.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"receive-damaged-return-item.js","sourceRoot":"","sources":["../../../src/utils/actions/receive-damaged-return-item.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAChE,mCAAqC;AACrC,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CACtC,6BAAgB,CAAC,2BAA2B,EAC5C;IACE,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE;QAChD,MAAM,QAAQ,GAAG,YAAY,CAAC,KAA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AAA;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,QAAQ,EAAE,MAAM,CAAC,yBAAyB,IAAI,CAAC,CAAA;QACzE,IAAI,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,iBAAiB,EAAE,CAAC;YACjD,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,6EAA6E,KAAK,GAAG,CACtF,CAAA;QACH,CAAC;IACH,CAAC;CACF,CACF,CAAA"}
|
@@ -50,7 +50,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
50
50
|
}
|
51
51
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
52
52
|
if (!existing) {
|
53
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
53
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
54
54
|
}
|
55
55
|
if (!action.details?.quantity) {
|
56
56
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to receive return of item ${refId} is required.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"receive-return-item.js","sourceRoot":"","sources":["../../../src/utils/actions/receive-return-item.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,mCAAqC;AACrC,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,6BAAgB,CAAC,mBAAmB,EAAE;IAC7E,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE;QAChD,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,IAAI,QAAQ,GAAG,MAAM,CAAC,OAA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MAAM,iBAAiB,GAAG,QAAQ,EAAE,MAAM,EAAE,yBAAyB,IAAI,CAAC,CAAA;QAE1E,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,6EAA6E,KAAK,GAAG,CACtF,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
@@ -23,7 +23,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
23
23
|
}
|
24
24
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
25
25
|
if (!existing) {
|
26
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
26
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
27
27
|
}
|
28
28
|
if (!action.details?.quantity) {
|
29
29
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to return of item ${refId} is required.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"return-item.js","sourceRoot":"","sources":["../../../src/utils/actions/return-item.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAChE,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,6BAAgB,CAAC,WAAW,EAAE;IACrE,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAChC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,yB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AK,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,mCAAmC,CACpC,CAAA;QACH,CAAC;QAED,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,CAAA;QAErE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,YAAY,KAAK,cAAc,CAChC,CAAA;QACH,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,8BAA8B,KAAK,eAAe,CACnD,CAAA;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,cAAM,CAAC,GAAG,CAClC,QAAS,CAAC,MAAM,EAAE,gBAAgB,IAAI,CAAC,EACvC,QAAS,CAAC,MAAM,EAAE,yBAAyB,IAAI,CAAC,CACjD,CAAA;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,sEAAsE,KAAK,GAAG,CAC/E,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
@@ -20,7 +20,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
20
20
|
}
|
21
21
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
22
22
|
if (!existing) {
|
23
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
23
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
24
24
|
}
|
25
25
|
if (!action.details?.quantity) {
|
26
26
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to ship of item ${refId} is required.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ship-item.js","sourceRoot":"","sources":["../../../src/utils/actions/ship-item.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAChE,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,6BAAgB,CAAC,SAAS,EAAE;IACnE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAChC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,gBAAgB,KAAK,CAAC,CAAA;QAEtC,QAAQ,CAAC,MAAM,CAAC,gBAAgB,GAAG,cAAM,CAAC,GAAG,CAC3C,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAChC,MAAM,CAAC,OAAO,CAAC,QAAQ,CACxB,CAAA;IACH,CAAC;IACD,MAAM,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAC7B,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,YAAY,CACzC,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,gBAAgB,GAAG,cAAM,CAAC,GAAG,CAC3C,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAChC,MAAM,CAAC,OAAO,CAAC,QAAQ,CACxB,CAAA;IACH,CAAC;IACD,QAAQ,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAC/B,MAAM,KAAK,G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,MAAM,EAAE,gBAAgB,CAClC,CAAA;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAA;QAC/D,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2DAA2D,KAAK,GAAG,CACpE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
@@ -20,7 +20,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(action_key_1.C
|
|
20
20
|
}
|
21
21
|
const existing = currentOrder.items.find((item) => item.id === refId);
|
22
22
|
if (!existing) {
|
23
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
23
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
|
24
24
|
}
|
25
25
|
if (!action.details?.quantity) {
|
26
26
|
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity to write-off item ${refId} is required.`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"write-off-item.js","sourceRoot":"","sources":["../../../src/utils/actions/write-off-item.ts"],"names":[],"mappings":";;AAAA,2CAAgE;AAChE,8CAAgD;AAChD,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,6BAAgB,CAAC,cAAc,EAAE;IACxE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAChC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,oBAAoB,KAAK,CAAC,CAAA;QAC1C,QAAQ,CAAC,MAAM,CAAC,oBAAoB,GAAG,cAAM,CAAC,G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AC,KAAK,CAAC,YAAY,EAC9B,YAAY,KAAK,cAAc,CAChC,CAAA;QACH,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,8BAA8B,KAAK,eAAe,CACnD,CAAA;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,QAAS,CAAC,QAAQ,IAAI,CAAC,CAAA;QACjD,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,gDAAgD,CACjD,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
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-20240607093839",
|
4
4
|
"description": "Medusa Order module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -37,11 +37,11 @@
|
|
37
37
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@medusajs/types": "1.12.0-snapshot-
|
40
|
+
"@medusajs/types": "1.12.0-snapshot-20240607093839",
|
41
41
|
"@mikro-orm/cli": "5.9.7",
|
42
42
|
"cross-env": "^5.2.1",
|
43
43
|
"jest": "^29.6.3",
|
44
|
-
"medusa-test-utils": "1.1.45-snapshot-
|
44
|
+
"medusa-test-utils": "1.1.45-snapshot-20240607093839",
|
45
45
|
"rimraf": "^3.0.2",
|
46
46
|
"ts-jest": "^29.1.1",
|
47
47
|
"ts-node": "^10.9.1",
|
@@ -49,8 +49,8 @@
|
|
49
49
|
"typescript": "^5.1.6"
|
50
50
|
},
|
51
51
|
"dependencies": {
|
52
|
-
"@medusajs/modules-sdk": "1.13.0-snapshot-
|
53
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
52
|
+
"@medusajs/modules-sdk": "1.13.0-snapshot-20240607093839",
|
53
|
+
"@medusajs/utils": "1.12.0-snapshot-20240607093839",
|
54
54
|
"@mikro-orm/core": "5.9.7",
|
55
55
|
"@mikro-orm/migrations": "5.9.7",
|
56
56
|
"@mikro-orm/postgresql": "5.9.7",
|