@medusajs/order 0.1.3-preview-20240524180546 → 0.1.3-snapshot-20240520151134
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/joiner-config.js +0 -2
- package/dist/joiner-config.js.map +1 -1
- package/dist/migrations/Migration20240219102530.js +5 -11
- package/dist/migrations/Migration20240219102530.js.map +1 -1
- package/dist/models/order-summary.d.ts +0 -2
- package/dist/models/order-summary.js.map +1 -1
- package/dist/models/transaction.d.ts +0 -2
- package/dist/models/transaction.js +1 -26
- package/dist/models/transaction.js.map +1 -1
- package/dist/services/order-module-service.d.ts +12 -11
- package/dist/services/order-module-service.js +48 -93
- package/dist/services/order-module-service.js.map +1 -1
- package/dist/types/utils/index.d.ts +0 -2
- package/dist/utils/calculate-order-change.js +1 -16
- package/dist/utils/calculate-order-change.js.map +1 -1
- package/package.json +5 -5
package/dist/joiner-config.js
CHANGED
@@ -5,7 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.joinerConfig = exports.entityNameToLinkableKeysMap = exports.LinkableKeys = void 0;
|
7
7
|
const modules_sdk_1 = require("@medusajs/modules-sdk");
|
8
|
-
const utils_1 = require("@medusajs/utils");
|
9
8
|
const _models_1 = require("./models");
|
10
9
|
const order_1 = __importDefault(require("./models/order"));
|
11
10
|
exports.LinkableKeys = {
|
@@ -38,7 +37,6 @@ exports.joinerConfig = {
|
|
38
37
|
name: ["return_reason", "return_reasons"],
|
39
38
|
args: {
|
40
39
|
entity: _models_1.ReturnReason.name,
|
41
|
-
methodSuffix: (0, utils_1.pluralize)(_models_1.ReturnReason.name),
|
42
40
|
},
|
43
41
|
},
|
44
42
|
],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"joiner-config.js","sourceRoot":"","sources":["../src/joiner-config.ts"],"names":[],"mappings":";;;;;;AAAA,uDAA+C;
|
1
|
+
{"version":3,"file":"joiner-config.js","sourceRoot":"","sources":["../src/joiner-config.ts"],"names":[],"mappings":";;;;;;AAAA,uDAA+C;AAG/C,qCAAgD;AAChD,2DAAkC;AAErB,QAAA,YAAY,GAA2B;IAClD,QAAQ,EAAE,eAAK,CAAC,IAAI;IACpB,aAAa,EAAE,kBAAQ,CAAC,IAAI;IAC5B,gBAAgB,EAAE,sBAAY,CAAC,IAAI;IACnC,mBAAmB,EAAE,sBAAY,CAAC,IAAI;CACvC,CAAA;AAED,MAAM,qBAAqB,GAAgB,EAAE,CAAA;AAC7C,MAAM,CAAC,OAAO,CAAC,oBAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;IACpD,qBAAqB,CAAC,KAAK,CAAC,KAAK,EAAE,CAAA;IACnC,qBAAqB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;QAChC,KAAK,EAAE,GAAG;QACV,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAG;KACjC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEW,QAAA,2BAA2B,GAAgB,qBAAqB,CAAA;AAEhE,QAAA,YAAY,GAAuB;IAC9C,WAAW,EAAE,qBAAO,CAAC,KAAK;IAC1B,WAAW,EAAE,CAAC,IAAI,CAAC;IACnB,YAAY,EAAE,oBAAY;IAC1B,KAAK,EAAE;QACL;YACE,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;YACzB,IAAI,EAAE;gBACJ,MAAM,EAAE,eAAK,CAAC,IAAI;aACnB;SACF;QACD;YACE,IAAI,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;YACzC,IAAI,EAAE;gBACJ,MAAM,EAAE,sBAAY,CAAC,IAAI;aAC1B;SACF;KACF;CACoB,CAAA"}
|
@@ -443,7 +443,6 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
443
443
|
CREATE TABLE IF NOT EXISTS "order_transaction" (
|
444
444
|
"id" TEXT NOT NULL,
|
445
445
|
"order_id" TEXT NOT NULL,
|
446
|
-
"version" INTEGER NOT NULL DEFAULT 1,
|
447
446
|
"amount" NUMERIC NOT NULL,
|
448
447
|
"raw_amount" JSONB NOT NULL,
|
449
448
|
"currency_code" TEXT NOT NULL,
|
@@ -451,25 +450,20 @@ class Migration20240219102530 extends migrations_1.Migration {
|
|
451
450
|
"reference_id" TEXT NULL,
|
452
451
|
"created_at" TIMESTAMPTZ NOT NULL DEFAULT Now(),
|
453
452
|
"updated_at" TIMESTAMPTZ NOT NULL DEFAULT Now(),
|
454
|
-
"deleted_at" timestamptz NULL,
|
455
453
|
CONSTRAINT "order_transaction_pkey" PRIMARY KEY ("id")
|
456
454
|
);
|
457
455
|
|
458
|
-
CREATE INDEX IF NOT EXISTS "
|
459
|
-
order_id
|
460
|
-
|
461
|
-
)
|
462
|
-
WHERE deleted_at IS NOT NULL;
|
456
|
+
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_order_id" ON "order_transaction" (
|
457
|
+
order_id
|
458
|
+
);
|
463
459
|
|
464
460
|
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_currency_code" ON "order_transaction" (
|
465
461
|
currency_code
|
466
|
-
)
|
467
|
-
WHERE deleted_at IS NOT NULL;
|
462
|
+
);
|
468
463
|
|
469
464
|
CREATE INDEX IF NOT EXISTS "IDX_order_transaction_reference_id" ON "order_transaction" (
|
470
465
|
reference_id
|
471
|
-
)
|
472
|
-
WHERE deleted_at IS NOT NULL;
|
466
|
+
);
|
473
467
|
|
474
468
|
CREATE TABLE IF NOT EXISTS "return_reason"
|
475
469
|
(
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Migration20240219102530.js","sourceRoot":"","sources":["../../src/migrations/Migration20240219102530.ts"],"names":[],"mappings":";;;AAAA,2CAA8E;AAC9E,sDAAiD;AAEjD,MAAa,uBAAwB,SAAQ,sBAAS;IACpD,KAAK,CAAC,EAAE;QACN,MAAM,GAAG,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,0DA4iBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"order-summary.js","sourceRoot":"","sources":["../../src/models/order-summary.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2CAIwB;AACxB,0CAOwB;AACxB,qCAA+B;
|
1
|
+
{"version":3,"file":"order-summary.js","sourceRoot":"","sources":["../../src/models/order-summary.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2CAIwB;AACxB,0CAOwB;AACxB,qCAA+B;AA2B/B,MAAM,mBAAmB,GAAG,IAAA,sCAA8B,EAAC;IACzD,SAAS,EAAE,eAAe;IAC1B,OAAO,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC;IAChC,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,IAAA,sCAA8B,EAAC;IACpD,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAIa,IAAM,YAAY,GAAlB,MAAM,YAAY;IAAlB;QAsBb,YAAO,GAAW,CAAC,CAAA;QAGnB,WAAM,GAA8B,EAAwB,CAAA;QAmB5D,eAAU,GAAgB,IAAI,CAAA;IAahC,CAAC;IAVC,QAAQ;QACN,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;QAC7C,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,EAAE,EAAE,CAAA;IAClC,CAAC;IAGD,MAAM;QACJ,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;QAC7C,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,EAAE,EAAE,CAAA;IAClC,CAAC;CACF,CAAA;AAvDC;IADC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;;wCACzB;AASV;IAPC,IAA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 export default class Transaction {
|
|
8
8
|
id: string;
|
9
9
|
order_id: string;
|
10
10
|
order: Order;
|
11
|
-
version: number;
|
12
11
|
amount: BigNumber | number;
|
13
12
|
raw_amount: BigNumberRawValue;
|
14
13
|
currency_code: string;
|
@@ -16,7 +15,6 @@ export default class Transaction {
|
|
16
15
|
reference_id: string | null;
|
17
16
|
created_at: Date;
|
18
17
|
updated_at: Date;
|
19
|
-
deleted_at: Date | null;
|
20
18
|
onCreate(): void;
|
21
19
|
onInit(): void;
|
22
20
|
}
|
@@ -27,22 +27,10 @@ const CurrencyCodeIndex = (0, utils_1.createPsqlIndexStatementHelper)({
|
|
27
27
|
tableName: "order_transaction",
|
28
28
|
columns: "currency_code",
|
29
29
|
});
|
30
|
-
const DeletedAtIndex = (0, utils_1.createPsqlIndexStatementHelper)({
|
31
|
-
tableName: "order_transaction",
|
32
|
-
columns: "deleted_at",
|
33
|
-
where: "deleted_at IS NOT NULL",
|
34
|
-
});
|
35
|
-
const OrderIdVersionIndex = (0, utils_1.createPsqlIndexStatementHelper)({
|
36
|
-
tableName: "order_transaction",
|
37
|
-
columns: ["order_id", "version"],
|
38
|
-
where: "deleted_at IS NOT NULL",
|
39
|
-
});
|
40
30
|
let Transaction = class Transaction {
|
41
31
|
constructor() {
|
42
|
-
this.version = 1;
|
43
32
|
this.reference = null;
|
44
33
|
this.reference_id = null;
|
45
|
-
this.deleted_at = null;
|
46
34
|
}
|
47
35
|
onCreate() {
|
48
36
|
this.id = (0, utils_1.generateEntityId)(this.id, "ordtrx");
|
@@ -74,13 +62,6 @@ __decorate([
|
|
74
62
|
}),
|
75
63
|
__metadata("design:type", order_1.default)
|
76
64
|
], Transaction.prototype, "order", void 0);
|
77
|
-
__decorate([
|
78
|
-
(0, core_1.Property)({
|
79
|
-
columnType: "integer",
|
80
|
-
defaultRaw: "1",
|
81
|
-
}),
|
82
|
-
__metadata("design:type", Number)
|
83
|
-
], Transaction.prototype, "version", void 0);
|
84
65
|
__decorate([
|
85
66
|
(0, utils_1.MikroOrmBigNumberProperty)(),
|
86
67
|
__metadata("design:type", Object)
|
@@ -126,11 +107,6 @@ __decorate([
|
|
126
107
|
}),
|
127
108
|
__metadata("design:type", Date)
|
128
109
|
], Transaction.prototype, "updated_at", void 0);
|
129
|
-
__decorate([
|
130
|
-
(0, core_1.Property)({ columnType: "timestamptz", nullable: true }),
|
131
|
-
DeletedAtIndex.MikroORMIndex(),
|
132
|
-
__metadata("design:type", Object)
|
133
|
-
], Transaction.prototype, "deleted_at", void 0);
|
134
110
|
__decorate([
|
135
111
|
(0, core_1.BeforeCreate)(),
|
136
112
|
__metadata("design:type", Function),
|
@@ -144,8 +120,7 @@ __decorate([
|
|
144
120
|
__metadata("design:returntype", void 0)
|
145
121
|
], Transaction.prototype, "onInit", null);
|
146
122
|
Transaction = __decorate([
|
147
|
-
(0, core_1.Entity)({ tableName: "order_transaction" })
|
148
|
-
OrderIdVersionIndex.MikroORMIndex()
|
123
|
+
(0, core_1.Entity)({ tableName: "order_transaction" })
|
149
124
|
], Transaction);
|
150
125
|
exports.default = Transaction;
|
151
126
|
//# sourceMappingURL=transaction.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src/models/transaction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAKwB;AACxB,0CAQwB;AACxB,oDAA2B;AAI3B,MAAM,gBAAgB,GAAG,IAAA,sCAA8B,EAAC;IACtD,SAAS,EAAE,mBAAmB;IAC9B,OAAO,EAAE,cAAc;CACxB,CAAC,CAAA;AAEF,MAAM,YAAY,GAAG,IAAA,sCAA8B,EAAC;IAClD,SAAS,EAAE,mBAAmB;IAC9B,OAAO,EAAE,UAAU;CACpB,CAAC,CAAA;AAEF,MAAM,iBAAiB,GAAG,IAAA,sCAA8B,EAAC;IACvD,SAAS,EAAE,mBAAmB;IAC9B,OAAO,EAAE,eAAe;CACzB,CAAC,CAAA;
|
1
|
+
{"version":3,"file":"transaction.js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uleDeclaration, IOrderModuleService, ModuleJoinerConfig, ModulesSdkTypes, OrderDTO, OrderTypes
|
1
|
+
import { Context, DAL, FindConfig, InternalModuleDeclaration, IOrderModuleService, ModuleJoinerConfig, ModulesSdkTypes, OrderDTO, OrderTypes } from "@medusajs/types";
|
2
2
|
import { ModulesSdkUtils } from "@medusajs/utils";
|
3
3
|
import { Address, LineItem, LineItemAdjustment, LineItemTaxLine, Order, OrderChange, OrderChangeAction, OrderItem, OrderShippingMethod, OrderSummary, ReturnReason, ShippingMethod, ShippingMethodAdjustment, ShippingMethodTaxLine, Transaction } from "../models";
|
4
4
|
import { CreateOrderLineItemDTO, CreateOrderShippingMethodDTO } from "../types";
|
@@ -44,6 +44,9 @@ declare const OrderModuleService_base: new (container: InjectedDependencies) =>
|
|
44
44
|
ShippingMethodTaxLine: {
|
45
45
|
dto: OrderTypes.OrderShippingMethodTaxLineDTO;
|
46
46
|
};
|
47
|
+
Transaction: {
|
48
|
+
dto: OrderTypes.OrderTransactionDTO;
|
49
|
+
};
|
47
50
|
OrderChange: {
|
48
51
|
dto: OrderTypes.OrderChangeDTO;
|
49
52
|
};
|
@@ -53,18 +56,15 @@ declare const OrderModuleService_base: new (container: InjectedDependencies) =>
|
|
53
56
|
OrderItem: {
|
54
57
|
dto: OrderTypes.OrderItemDTO;
|
55
58
|
};
|
59
|
+
OrderSummary: {
|
60
|
+
dto: OrderTypes.OrderSummaryDTO;
|
61
|
+
};
|
56
62
|
OrderShippingMethod: {
|
57
63
|
dto: OrderShippingMethod;
|
58
64
|
};
|
59
65
|
ReturnReason: {
|
60
66
|
dto: OrderTypes.OrderReturnReasonDTO;
|
61
67
|
};
|
62
|
-
OrderSummary: {
|
63
|
-
dto: OrderTypes.OrderSummaryDTO;
|
64
|
-
};
|
65
|
-
Transaction: {
|
66
|
-
dto: OrderTypes.OrderTransactionDTO;
|
67
|
-
};
|
68
68
|
}>;
|
69
69
|
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, TReturnReason extends ReturnReason = ReturnReason> extends OrderModuleService_base implements IOrderModuleService {
|
70
70
|
protected readonly moduleDeclaration: InternalModuleDeclaration;
|
@@ -170,10 +170,11 @@ export default class OrderModuleService<TOrder extends Order = Order, TAddress e
|
|
170
170
|
createReturn(data: OrderTypes.CreateOrderReturnDTO, sharedContext?: Context): Promise<void>;
|
171
171
|
addTransactions(transactionData: OrderTypes.CreateOrderTransactionDTO, sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO>;
|
172
172
|
addTransactions(transactionData: OrderTypes.CreateOrderTransactionDTO[], sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO[]>;
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
173
|
+
updateTransactions(data: OrderTypes.UpdateOrderTransactionWithSelectorDTO[]): Promise<OrderTypes.OrderTransactionDTO[]>;
|
174
|
+
updateTransactions(selector: Partial<OrderTypes.FilterableOrderTransactionProps>, data: OrderTypes.UpdateOrderTransactionDTO, sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO[]>;
|
175
|
+
updateTransactions(id: string, data: Partial<OrderTypes.UpdateOrderTransactionDTO>, sharedContext?: Context): Promise<OrderTypes.OrderTransactionDTO>;
|
176
|
+
protected updateTransaction_(trxId: string, data: Partial<OrderTypes.UpdateOrderTransactionDTO>, sharedContext?: Context): Promise<Transaction>;
|
177
|
+
protected updateTransactionsWithSelector_(updates: OrderTypes.UpdateOrderTransactionWithSelectorDTO[], sharedContext?: Context): Promise<Transaction[]>;
|
177
178
|
createReturnReasons(transactionData: OrderTypes.CreateOrderReturnReasonDTO, sharedContext?: Context): Promise<OrderTypes.OrderReturnReasonDTO>;
|
178
179
|
createReturnReasons(transactionData: OrderTypes.CreateOrderReturnReasonDTO[], sharedContext?: Context): Promise<OrderTypes.OrderReturnReasonDTO[]>;
|
179
180
|
updateReturnReasons(data: OrderTypes.UpdateOrderReturnReasonWithSelectorDTO[]): Promise<OrderTypes.OrderReturnReasonDTO[]>;
|
@@ -1075,87 +1075,51 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.abstractModuleServiceFa
|
|
1075
1075
|
await this.confirmOrderChange(change[0].id, sharedContext);
|
1076
1076
|
}
|
1077
1077
|
async addTransactions(transactionData, sharedContext) {
|
1078
|
-
const orders = await this.orderService_.list({
|
1079
|
-
id: Array.isArray(transactionData)
|
1080
|
-
? transactionData.map((t) => t.order_id)
|
1081
|
-
: transactionData.order_id,
|
1082
|
-
}, {
|
1083
|
-
select: ["id", "version"],
|
1084
|
-
}, sharedContext);
|
1085
1078
|
const data = Array.isArray(transactionData)
|
1086
1079
|
? transactionData
|
1087
1080
|
: [transactionData];
|
1088
|
-
for (const order of orders) {
|
1089
|
-
const trxs = data.filter((t) => t.order_id === order.id);
|
1090
|
-
for (const trx of trxs) {
|
1091
|
-
;
|
1092
|
-
trx.version = order.version;
|
1093
|
-
}
|
1094
|
-
}
|
1095
1081
|
const created = await this.transactionService_.create(data, sharedContext);
|
1096
|
-
await this.updateOrderPaidRefundableAmount_(created, false, sharedContext);
|
1097
1082
|
return await this.baseRepository_.serialize(!Array.isArray(transactionData) ? created[0] : created, {
|
1098
1083
|
populate: true,
|
1099
1084
|
});
|
1100
1085
|
}
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
}
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
}
|
1121
|
-
const returned = await super.softDeleteTransactions(transactionIds, config, sharedContext);
|
1122
|
-
await this.updateOrderPaidRefundableAmount_(transactions, true, sharedContext);
|
1123
|
-
return returned;
|
1086
|
+
async updateTransactions(idOrDataOrSelector, data, sharedContext = {}) {
|
1087
|
+
let trxs = [];
|
1088
|
+
if ((0, utils_1.isString)(idOrDataOrSelector)) {
|
1089
|
+
const trx = await this.updateTransaction_(idOrDataOrSelector, data, sharedContext);
|
1090
|
+
return await this.baseRepository_.serialize(trx, {
|
1091
|
+
populate: true,
|
1092
|
+
});
|
1093
|
+
}
|
1094
|
+
const toUpdate = Array.isArray(idOrDataOrSelector)
|
1095
|
+
? idOrDataOrSelector
|
1096
|
+
: [
|
1097
|
+
{
|
1098
|
+
selector: idOrDataOrSelector,
|
1099
|
+
data: data,
|
1100
|
+
},
|
1101
|
+
];
|
1102
|
+
trxs = await this.updateTransactionsWithSelector_(toUpdate, sharedContext);
|
1103
|
+
return await this.baseRepository_.serialize(trxs, {
|
1104
|
+
populate: true,
|
1105
|
+
});
|
1124
1106
|
}
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
id: transactionIds,
|
1129
|
-
}, {
|
1130
|
-
select: ["order_id", "amount"],
|
1131
|
-
withDeleted: true,
|
1132
|
-
}, sharedContext);
|
1133
|
-
const returned = await super.restoreTransactions(transactionIds, config, sharedContext);
|
1134
|
-
await this.updateOrderPaidRefundableAmount_(transactions, false, sharedContext);
|
1135
|
-
return returned;
|
1107
|
+
async updateTransaction_(trxId, data, sharedContext = {}) {
|
1108
|
+
const [trx] = await this.transactionService_.update([{ id: trxId, ...data }], sharedContext);
|
1109
|
+
return trx;
|
1136
1110
|
}
|
1137
|
-
async
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
if (utils_1.MathBN.gt(trx.amount, 0)) {
|
1150
|
-
summary.totals.paid_total = new utils_1.BigNumber(op(summary.totals.paid_total, trx.amount));
|
1151
|
-
}
|
1152
|
-
else {
|
1153
|
-
summary.totals.refunded_total = new utils_1.BigNumber(op(summary.totals.refunded_total, utils_1.MathBN.abs(trx.amount)));
|
1154
|
-
}
|
1155
|
-
}
|
1156
|
-
});
|
1157
|
-
(0, utils_1.createRawPropertiesFromBigNumber)(summaries);
|
1158
|
-
await this.orderSummaryService_.update(summaries, sharedContext);
|
1111
|
+
async updateTransactionsWithSelector_(updates, sharedContext = {}) {
|
1112
|
+
let toUpdate = [];
|
1113
|
+
for (const { selector, data } of updates) {
|
1114
|
+
const trxs = await super.listTransactions({ ...selector }, {}, sharedContext);
|
1115
|
+
trxs.forEach((trx) => {
|
1116
|
+
toUpdate.push({
|
1117
|
+
...data,
|
1118
|
+
id: trx.id,
|
1119
|
+
});
|
1120
|
+
});
|
1121
|
+
}
|
1122
|
+
return await this.transactionService_.update(toUpdate, sharedContext);
|
1159
1123
|
}
|
1160
1124
|
async createReturnReasons(returnReasonData, sharedContext) {
|
1161
1125
|
const data = Array.isArray(returnReasonData)
|
@@ -1245,7 +1209,7 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.abstractModuleServiceFa
|
|
1245
1209
|
order.status = utils_1.OrderStatus.ARCHIVED;
|
1246
1210
|
}
|
1247
1211
|
if (notAllowed.length) {
|
1248
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
1212
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Pending Order cannot be archived: ${notAllowed.join(", ")}.`);
|
1249
1213
|
}
|
1250
1214
|
await this.orderService_.update({
|
1251
1215
|
id: orderIds,
|
@@ -1266,7 +1230,7 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.abstractModuleServiceFa
|
|
1266
1230
|
order.status = utils_1.OrderStatus.COMPLETED;
|
1267
1231
|
}
|
1268
1232
|
if (notAllowed.length) {
|
1269
|
-
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `
|
1233
|
+
throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Canceled Order cannot be completed: ${notAllowed.join(", ")}.`);
|
1270
1234
|
}
|
1271
1235
|
await this.orderService_.update({
|
1272
1236
|
id: orderIds,
|
@@ -1545,41 +1509,32 @@ __decorate([
|
|
1545
1509
|
__metadata("design:returntype", Promise)
|
1546
1510
|
], OrderModuleService.prototype, "createReturn", null);
|
1547
1511
|
__decorate([
|
1548
|
-
(0, utils_1.
|
1512
|
+
(0, utils_1.InjectTransactionManager)("baseRepository_"),
|
1549
1513
|
__metadata("design:type", Function),
|
1550
1514
|
__metadata("design:paramtypes", [Object, Object]),
|
1551
1515
|
__metadata("design:returntype", Promise)
|
1552
1516
|
], OrderModuleService.prototype, "addTransactions", null);
|
1553
1517
|
__decorate([
|
1554
|
-
(0, utils_1.InjectManager)("baseRepository_")
|
1555
|
-
|
1556
|
-
,
|
1557
|
-
__metadata("design:type", Function),
|
1558
|
-
__metadata("design:paramtypes", [Object, Object]),
|
1559
|
-
__metadata("design:returntype", Promise)
|
1560
|
-
], OrderModuleService.prototype, "deleteTransactions", null);
|
1561
|
-
__decorate([
|
1562
|
-
(0, utils_1.InjectManager)("baseRepository_")
|
1563
|
-
// @ts-ignore
|
1564
|
-
,
|
1518
|
+
(0, utils_1.InjectManager)("baseRepository_"),
|
1519
|
+
__param(2, (0, utils_1.MedusaContext)()),
|
1565
1520
|
__metadata("design:type", Function),
|
1566
1521
|
__metadata("design:paramtypes", [Object, Object, Object]),
|
1567
1522
|
__metadata("design:returntype", Promise)
|
1568
|
-
], OrderModuleService.prototype, "
|
1523
|
+
], OrderModuleService.prototype, "updateTransactions", null);
|
1569
1524
|
__decorate([
|
1570
|
-
(0, utils_1.
|
1571
|
-
|
1572
|
-
,
|
1525
|
+
(0, utils_1.InjectTransactionManager)("baseRepository_"),
|
1526
|
+
__param(2, (0, utils_1.MedusaContext)()),
|
1573
1527
|
__metadata("design:type", Function),
|
1574
|
-
__metadata("design:paramtypes", [
|
1528
|
+
__metadata("design:paramtypes", [String, Object, Object]),
|
1575
1529
|
__metadata("design:returntype", Promise)
|
1576
|
-
], OrderModuleService.prototype, "
|
1530
|
+
], OrderModuleService.prototype, "updateTransaction_", null);
|
1577
1531
|
__decorate([
|
1578
1532
|
(0, utils_1.InjectTransactionManager)("baseRepository_"),
|
1533
|
+
__param(1, (0, utils_1.MedusaContext)()),
|
1579
1534
|
__metadata("design:type", Function),
|
1580
|
-
__metadata("design:paramtypes", [Array,
|
1535
|
+
__metadata("design:paramtypes", [Array, Object]),
|
1581
1536
|
__metadata("design:returntype", Promise)
|
1582
|
-
], OrderModuleService.prototype, "
|
1537
|
+
], OrderModuleService.prototype, "updateTransactionsWithSelector_", null);
|
1583
1538
|
__decorate([
|
1584
1539
|
(0, utils_1.InjectTransactionManager)("baseRepository_"),
|
1585
1540
|
__metadata("design:type", Function),
|
@@ -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,EAAE,uBAA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;;;;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,2CAcwB;AACxB,2CAewB;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,EAAE,uBAAuB,EAAE,2CAA2B,CAAC;IAoB9D,YACE,EACE,cAAc,EACd,YAAY,EACZ,cAAc,EACd,eAAe,EACf,+BAA+B,EAC/B,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,GACE,EACJ,iBAA4C;QAE/D,aAAa;QACb,KAAK,CAAC,GAAG,SAAS,CAAC,CAAA;QAHA,sBAAiB,GAAjB,iBAAiB,CAA2B;QAK/D,IAAI,CAAC,eAAe,GAAG,cAAc,CAAA;QACrC,IAAI,CAAC,aAAa,GAAG,YAAY,CAAA;QACj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jB;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;AAGY;IADZ,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;uDAgC3C;AAaK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;iDA6C3C;AAYK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;;;;uDAuC3C"}
|
@@ -37,8 +37,6 @@ export interface OrderSummaryCalculated {
|
|
37
37
|
future_temporary_difference: BigNumberInput;
|
38
38
|
temporary_difference: BigNumberInput;
|
39
39
|
difference_sum: BigNumberInput;
|
40
|
-
paid_total: BigNumberInput;
|
41
|
-
refunded_total: BigNumberInput;
|
42
40
|
}
|
43
41
|
export interface OrderTransaction {
|
44
42
|
amount: BigNumberInput;
|
@@ -13,18 +13,7 @@ class OrderChangeProcessing {
|
|
13
13
|
this.order = JSON.parse(JSON.stringify(order));
|
14
14
|
this.transactions = JSON.parse(JSON.stringify(transactions ?? []));
|
15
15
|
this.actions = JSON.parse(JSON.stringify(actions ?? []));
|
16
|
-
|
17
|
-
let refunded = utils_1.MathBN.convert(0);
|
18
|
-
let transactionTotal = utils_1.MathBN.convert(0);
|
19
|
-
for (const tr of transactions) {
|
20
|
-
if (utils_1.MathBN.lt(tr.amount, 0)) {
|
21
|
-
refunded = utils_1.MathBN.add(refunded, utils_1.MathBN.abs(tr.amount));
|
22
|
-
}
|
23
|
-
else {
|
24
|
-
paid = utils_1.MathBN.add(paid, tr.amount);
|
25
|
-
}
|
26
|
-
transactionTotal = utils_1.MathBN.add(transactionTotal, tr.amount);
|
27
|
-
}
|
16
|
+
const transactionTotal = utils_1.MathBN.add(...transactions.map((tr) => tr.amount));
|
28
17
|
(0, utils_1.transformPropertiesToBigNumber)(this.order.metadata);
|
29
18
|
this.summary = {
|
30
19
|
future_difference: 0,
|
@@ -36,8 +25,6 @@ class OrderChangeProcessing {
|
|
36
25
|
current_order_total: this.order.total ?? 0,
|
37
26
|
original_order_total: this.order.total ?? 0,
|
38
27
|
transaction_total: transactionTotal,
|
39
|
-
paid_total: paid,
|
40
|
-
refunded_total: refunded,
|
41
28
|
};
|
42
29
|
}
|
43
30
|
isEventActive(action) {
|
@@ -240,8 +227,6 @@ class OrderChangeProcessing {
|
|
240
227
|
future_temporary_difference: new utils_1.BigNumber(summary.future_temporary_difference),
|
241
228
|
pending_difference: new utils_1.BigNumber(summary.pending_difference),
|
242
229
|
difference_sum: new utils_1.BigNumber(summary.difference_sum),
|
243
|
-
paid_total: new utils_1.BigNumber(summary.paid_total),
|
244
|
-
refunded_total: new utils_1.BigNumber(summary.refunded_total),
|
245
230
|
};
|
246
231
|
return orderSummary;
|
247
232
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"calculate-order-change.js","sourceRoot":"","sources":["../../src/utils/calculate-order-change.ts"],"names":[],"mappings":";;;AACA,2CAKwB;AACxB,mCAQe;AAMf,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,GAKR;QAhBO,qBAAgB,GAAkD,EAAE,CAAA;QACpE,eAAU,GAAmC,EAAE,CAAA;QAgBrD,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,C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B,oBAAoB,CAAC,EACnC,KAAK,EACL,YAAY,GAAG,EAAE,EACjB,OAAO,GAAG,EAAE,GAKb;IACC,MAAM,IAAI,GAAG,IAAI,qBAAqB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,CAAA;IACxE,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;AAhBD,oDAgBC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/order",
|
3
|
-
"version": "0.1.3-
|
3
|
+
"version": "0.1.3-snapshot-20240520151134",
|
4
4
|
"description": "Medusa Order module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"@mikro-orm/cli": "5.9.7",
|
41
41
|
"cross-env": "^5.2.1",
|
42
42
|
"jest": "^29.6.3",
|
43
|
-
"medusa-test-utils": "1.1.45-
|
43
|
+
"medusa-test-utils": "1.1.45-snapshot-20240520151134",
|
44
44
|
"rimraf": "^3.0.2",
|
45
45
|
"ts-jest": "^29.1.1",
|
46
46
|
"ts-node": "^10.9.1",
|
@@ -48,9 +48,9 @@
|
|
48
48
|
"typescript": "^5.1.6"
|
49
49
|
},
|
50
50
|
"dependencies": {
|
51
|
-
"@medusajs/modules-sdk": "1.13.0-
|
52
|
-
"@medusajs/types": "1.12.0-
|
53
|
-
"@medusajs/utils": "1.12.0-
|
51
|
+
"@medusajs/modules-sdk": "1.13.0-snapshot-20240520151134",
|
52
|
+
"@medusajs/types": "1.12.0-snapshot-20240520151134",
|
53
|
+
"@medusajs/utils": "1.12.0-snapshot-20240520151134",
|
54
54
|
"@mikro-orm/core": "5.9.7",
|
55
55
|
"@mikro-orm/migrations": "5.9.7",
|
56
56
|
"@mikro-orm/postgresql": "5.9.7",
|