cecon-interfaces 1.1.94 → 1.1.95
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 +2 -0
- package/dist/order/entities/order.entity.js +3 -2
- package/dist/order/interfaces/i-order.d.ts +2 -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 (21)
|
8
8
|
additionalFees = [];
|
9
9
|
benefits = [];
|
10
10
|
cancellation = new OrderCancellationEntity();
|
@@ -12,6 +12,7 @@ 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 = '';
|
17
18
|
items = [];
|
@@ -25,7 +26,7 @@ export class OrderEntity {
|
|
25
26
|
total = new OrderTotalEntity();
|
26
27
|
updatedAt = new Date();
|
27
28
|
version = '';
|
28
|
-
// #endregion Properties (
|
29
|
+
// #endregion Properties (21)
|
29
30
|
// #region Constructors (1)
|
30
31
|
constructor(data) {
|
31
32
|
if (data) {
|
@@ -37,4 +38,4 @@ export class OrderEntity {
|
|
37
38
|
}
|
38
39
|
}
|
39
40
|
}
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi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Gl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktb3JkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVPcmRlclRpbWluZywgT3JkZXJTdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBFT3JkZXJUeXBlIH0gZnJvbSAnLi4vZW51bXMvb3JkZXItdHlwZS5lbnVtJztcclxuaW1wb3J0IHsgSU9yZGVyQWRkaXRpb25hbEZlZSB9IGZyb20gJy4vaS1hZGRpdGlvbmFsLWZlZSc7XHJcbmltcG9ydCB7IElPcmRlckJlbmVmaXRzIH0gZnJvbSAnLi9pLWJlbmVmaXRzJztcclxuaW1wb3J0IHsgSU9yZGVyQ2FuY2VsbGF0aW9uIH0gZnJvbSAnLi9pLWNhbmNlbGxhdGlvbic7XHJcbmltcG9ydCB7IElPcmRlckN1c3RvbWVyIH0gZnJvbSAnLi9pLWN1c3RvbWVyJztcclxuaW1wb3J0IHsgSU9yZGVyRGVsaX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XQ6IERhdGU7XHJcbiAgdmVyc2lvbjogc3RyaW5nO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIwKVxyXG59XHJcbiJdfQ==
|
@@ -1234,7 +1234,7 @@ class OrderTotalEntity {
|
|
1234
1234
|
}
|
1235
1235
|
|
1236
1236
|
class OrderEntity {
|
1237
|
-
// #region Properties (
|
1237
|
+
// #region Properties (21)
|
1238
1238
|
additionalFees = [];
|
1239
1239
|
benefits = [];
|
1240
1240
|
cancellation = new OrderCancellationEntity();
|
@@ -1242,6 +1242,7 @@ 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 = '';
|
1247
1248
|
items = [];
|
@@ -1255,7 +1256,7 @@ class OrderEntity {
|
|
1255
1256
|
total = new OrderTotalEntity();
|
1256
1257
|
updatedAt = new Date();
|
1257
1258
|
version = '';
|
1258
|
-
// #endregion Properties (
|
1259
|
+
// #endregion Properties (21)
|
1259
1260
|
// #region Constructors (1)
|
1260
1261
|
constructor(data) {
|
1261
1262
|
if (data) {
|