cecon-interfaces 1.1.95 → 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 +4 -3
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/order/entities/order.entity.d.ts +1 -0
- package/dist/order/entities/order.entity.js +3 -2
- package/dist/order/interfaces/i-order.d.ts +1 -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();
|
@@ -15,6 +15,7 @@ export class OrderEntity {
|
|
15
15
|
delivery = null;
|
16
16
|
displayId = Math.round(Math.random() * 100000).toString();
|
17
17
|
id = '';
|
18
|
+
invoiceId = null;
|
18
19
|
items = [];
|
19
20
|
orderTiming = EOrderTiming.IMMEDIATE;
|
20
21
|
orderType = null;
|
@@ -26,7 +27,7 @@ export class OrderEntity {
|
|
26
27
|
total = new OrderTotalEntity();
|
27
28
|
updatedAt = new Date();
|
28
29
|
version = '';
|
29
|
-
// #endregion Properties (
|
30
|
+
// #endregion Properties (22)
|
30
31
|
// #region Constructors (1)
|
31
32
|
constructor(data) {
|
32
33
|
if (data) {
|
@@ -38,4 +39,4 @@ export class OrderEntity {
|
|
38
39
|
}
|
39
40
|
}
|
40
41
|
}
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4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5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktb3JkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVPcmRlclRpbWluZywgT3JkZXJTdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBFT3JkZXJUeXBlIH0gZnJvbSAnLi4vZW51bXMvb3JkZXItdHlwZS5lbnVtJztcclxuaW1wb3J0IHsgSU9yZGVyQWRkaXRpb25hbEZlZSB9IGZyb20gJy4vaS1hZGRpdGlvbmFsLWZlZSc7XHJcbmltcG9ydCB7IElPcmRlckJlbmVmaXRzIH0gZnJvbSAnLi9pLWJlbmVmaXRzJztcclxuaW1wb3J0IHsgSU9yZGVyQ2FuY2VsbGF0aW9uIH0gZnJvbSAnLi9pLWNhbmNlbG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Agc2FsZXNDaGFubmVsOiBzdHJpbmc7XHJcbiAgc2FuZGJveDogYm9vbGVhbjtcclxuICBzdGF0dXM6IE9yZGVyU3RhdHVzRW51bTtcclxuICB0b3RhbDogSU9yZGVyVG90YWw7XHJcbiAgdXBkYXRlZEF0OiBEYXRlO1xyXG4gIHZlcnNpb246IHN0cmluZztcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgyMClcclxufVxyXG4iXX0=
|
@@ -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();
|
@@ -1245,6 +1245,7 @@ class OrderEntity {
|
|
1245
1245
|
delivery = null;
|
1246
1246
|
displayId = Math.round(Math.random() * 100000).toString();
|
1247
1247
|
id = '';
|
1248
|
+
invoiceId = null;
|
1248
1249
|
items = [];
|
1249
1250
|
orderTiming = EOrderTiming.IMMEDIATE;
|
1250
1251
|
orderType = null;
|
@@ -1256,7 +1257,7 @@ class OrderEntity {
|
|
1256
1257
|
total = new OrderTotalEntity();
|
1257
1258
|
updatedAt = new Date();
|
1258
1259
|
version = '';
|
1259
|
-
// #endregion Properties (
|
1260
|
+
// #endregion Properties (22)
|
1260
1261
|
// #region Constructors (1)
|
1261
1262
|
constructor(data) {
|
1262
1263
|
if (data) {
|