cecon-interfaces 1.1.94 → 1.1.96
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/order/entities/order.entity.mjs +5 -3
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +4 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/order/entities/order.entity.d.ts +3 -0
- package/dist/order/entities/order.entity.js +4 -2
- package/dist/order/interfaces/i-order.d.ts +3 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -4,7 +4,7 @@ import { OrderCustomerEntity } from './customer.entity';
|
|
4
4
|
import { OrderPaymentEntity } from './payment.entity';
|
5
5
|
import { OrderTotalEntity } from './total.entity';
|
6
6
|
export class OrderEntity {
|
7
|
-
// #region Properties (
|
7
|
+
// #region Properties (22)
|
8
8
|
additionalFees = [];
|
9
9
|
benefits = [];
|
10
10
|
cancellation = new OrderCancellationEntity();
|
@@ -12,8 +12,10 @@ export class OrderEntity {
|
|
12
12
|
containerId = '';
|
13
13
|
createdAt = new Date();
|
14
14
|
customer = new OrderCustomerEntity();
|
15
|
+
delivery = null;
|
15
16
|
displayId = Math.round(Math.random() * 100000).toString();
|
16
17
|
id = '';
|
18
|
+
invoiceId = null;
|
17
19
|
items = [];
|
18
20
|
orderTiming = EOrderTiming.IMMEDIATE;
|
19
21
|
orderType = null;
|
@@ -25,7 +27,7 @@ export class OrderEntity {
|
|
25
27
|
total = new OrderTotalEntity();
|
26
28
|
updatedAt = new Date();
|
27
29
|
version = '';
|
28
|
-
// #endregion Properties (
|
30
|
+
// #endregion Properties (22)
|
29
31
|
// #region Constructors (1)
|
30
32
|
constructor(data) {
|
31
33
|
if (data) {
|
@@ -37,4 +39,4 @@ export class OrderEntity {
|
|
37
39
|
}
|
38
40
|
}
|
39
41
|
}
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZ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cmluZyA9ICcnO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjIpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktb3JkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVPcmRlclRpbWluZywgT3JkZXJTdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBFT3JkZXJUeXBlIH0gZnJvbSAnLi4vZW51bXMvb3JkZXItdHlwZS5lbnVtJztcclxuaW1wb3J0IHsgSU9yZGVyQWRkaXRpb25hbEZlZSB9IGZyb20gJy4vaS1hZGRpdGlvbmFsLWZlZSc7XHJcbmltcG9ydCB7IElPcmRlckJlbmVmaXRzIH0gZnJvbSAnLi9pLWJlbmVmaXRzJztcclxuaW1wb3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ltZW50IHwgbnVsbDtcclxuICByZWZlcmVuY2U6IHN0cmluZyB8IG51bGw7XHJcbiAgc2FsZXNDaGFubmVsOiBzdHJpbmc7XHJcbiAgc2FuZGJveDogYm9vbGVhbjtcclxuICBzdGF0dXM6IE9yZGVyU3RhdHVzRW51bTtcclxuICB0b3RhbDogSU9yZGVyVG90YWw7XHJcbiAgdXBkYXRlZEF0OiBEYXRlO1xyXG4gIHZlcnNpb246IHN0cmluZztcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyMClcclxufVxyXG4iXX0=
|
@@ -1234,7 +1234,7 @@ class OrderTotalEntity {
|
|
1234
1234
|
}
|
1235
1235
|
|
1236
1236
|
class OrderEntity {
|
1237
|
-
// #region Properties (
|
1237
|
+
// #region Properties (22)
|
1238
1238
|
additionalFees = [];
|
1239
1239
|
benefits = [];
|
1240
1240
|
cancellation = new OrderCancellationEntity();
|
@@ -1242,8 +1242,10 @@ class OrderEntity {
|
|
1242
1242
|
containerId = '';
|
1243
1243
|
createdAt = new Date();
|
1244
1244
|
customer = new OrderCustomerEntity();
|
1245
|
+
delivery = null;
|
1245
1246
|
displayId = Math.round(Math.random() * 100000).toString();
|
1246
1247
|
id = '';
|
1248
|
+
invoiceId = null;
|
1247
1249
|
items = [];
|
1248
1250
|
orderTiming = EOrderTiming.IMMEDIATE;
|
1249
1251
|
orderType = null;
|
@@ -1255,7 +1257,7 @@ class OrderEntity {
|
|
1255
1257
|
total = new OrderTotalEntity();
|
1256
1258
|
updatedAt = new Date();
|
1257
1259
|
version = '';
|
1258
|
-
// #endregion Properties (
|
1260
|
+
// #endregion Properties (22)
|
1259
1261
|
// #region Constructors (1)
|
1260
1262
|
constructor(data) {
|
1261
1263
|
if (data) {
|