cecon-interfaces 1.2.85 → 1.2.87
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/general/enums/desenfila-from.enum.mjs +4 -1
- package/dist/esm2022/mottu/entities/order.entity.mjs +2 -2
- package/dist/esm2022/mottu/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/order/entities/order.entity.mjs +3 -3
- package/dist/esm2022/order/interfaces/i-additional-fee.mjs +1 -1
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +5 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/desenfila-from.enum.d.ts +4 -1
- package/dist/general/enums/desenfila-from.enum.js +3 -0
- package/dist/mottu/entities/order.entity.d.ts +1 -1
- package/dist/mottu/entities/order.entity.js +1 -1
- package/dist/mottu/interfaces/i-order.d.ts +1 -1
- package/dist/order/entities/order.entity.d.ts +2 -0
- package/dist/order/entities/order.entity.js +2 -2
- package/dist/order/interfaces/i-additional-fee.d.ts +2 -1
- package/dist/order/interfaces/i-order.d.ts +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -3,6 +3,9 @@ export var EDesenfilaFrom;
|
|
3
3
|
EDesenfilaFrom["NATI"] = "NATI";
|
4
4
|
EDesenfilaFrom["AUTOMATION"] = "AUTOMATION";
|
5
5
|
EDesenfilaFrom["NATIPAY"] = "NATIPAY";
|
6
|
+
EDesenfilaFrom["DESENFILA"] = "DESENFILA";
|
7
|
+
EDesenfilaFrom["NATIST"] = "NATIST";
|
6
8
|
EDesenfilaFrom["MOBYO"] = "MOBYO";
|
9
|
+
EDesenfilaFrom["DEFAULT"] = "DEFAULT"; // outras fontes não mapeadas
|
7
10
|
})(EDesenfilaFrom || (EDesenfilaFrom = {}));
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZW5maWxhLWZyb20uZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9nZW5lcmFsL2VudW1zL2Rlc2VuZmlsYS1mcm9tLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksY0FRWDtBQVJELFdBQVksY0FBYztJQUN4QiwrQkFBYSxDQUFBO0lBQ2IsMkNBQXlCLENBQUE7SUFDekIscUNBQW1CLENBQUE7SUFDbkIseUNBQXVCLENBQUE7SUFDdkIsbUNBQWlCLENBQUE7SUFDakIsaUNBQWUsQ0FBQTtJQUNmLHFDQUFtQixDQUFBLENBQUMsNkJBQTZCO0FBQ25ELENBQUMsRUFSVyxjQUFjLEtBQWQsY0FBYyxRQVF6QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVEZXNlbmZpbGFGcm9tIHtcbiAgTkFUSSA9ICdOQVRJJyxcbiAgQVVUT01BVElPTiA9ICdBVVRPTUFUSU9OJyxcbiAgTkFUSVBBWSA9ICdOQVRJUEFZJyxcbiAgREVTRU5GSUxBID0gJ0RFU0VORklMQScsXG4gIE5BVElTVCA9ICdOQVRJU1QnLFxuICBNT0JZTyA9ICdNT0JZTycsXG4gIERFRkFVTFQgPSAnREVGQVVMVCcgLy8gb3V0cmFzIGZvbnRlcyBuw6NvIG1hcGVhZGFzXG59XG4iXX0=
|
@@ -9,7 +9,7 @@ export class MottuOrderEntity {
|
|
9
9
|
expectedDelivery = new Date();
|
10
10
|
expectedPickup = new Date();
|
11
11
|
fullCode = '';
|
12
|
-
id =
|
12
|
+
id = 0;
|
13
13
|
origin = '';
|
14
14
|
pickupCode = '';
|
15
15
|
preparationTime = 0;
|
@@ -30,4 +30,4 @@ export class MottuOrderEntity {
|
|
30
30
|
}
|
31
31
|
}
|
32
32
|
}
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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ZyA9ICcnO1xyXG4gIHB1YmxpYyBpZDogYW55ID0gMDtcclxuICBwdWJsaWMgb3JpZ2luOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgcGlja3VwQ29kZTogc3RyaW5nID0gJyc7XHJcbiAgcHVibGljIHByZXBhcmF0aW9uVGltZTogbnVtYmVyID0gMDtcclxuICBwdWJsaWMgcmV0dXJuQ29kZTogc3RyaW5nID0gJyc7XHJcbiAgcHVibGljIHNpdHVhdGlvbjogbnVtYmVyID0gMDtcclxuICBwdWJsaWMgc3RvcmVJZDogbnVtYmVyID0gMDtcclxuICBwdWJsaWMgdG90YWxEaXN0YW5jZTogbnVtYmVyID0gMDtcclxuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBQcm9wZXJ0aWVzICgxNilcclxuXHJcbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPE1vdHR1T3JkZXJFbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZ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aFrom } from '../../general';
|
1
2
|
import { EOrderTiming, OrderStatusEnum } from '../enums';
|
2
3
|
import { OrderCancellationEntity } from './cancellation.entity';
|
3
4
|
import { OrderCustomerEntity } from './customer.entity';
|
@@ -27,8 +28,7 @@ export class OrderEntity {
|
|
27
28
|
total = new OrderTotalEntity();
|
28
29
|
updatedAt = new Date();
|
29
30
|
version = '';
|
30
|
-
|
31
|
-
// #region Constructors (1)
|
31
|
+
from = EDesenfilaFrom.DEFAULT;
|
32
32
|
constructor(data) {
|
33
33
|
if (data) {
|
34
34
|
for (let key in data) {
|
@@ -39,4 +39,4 @@ export class OrderEntity {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
}
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL29yZGVyL2VudGl0aWVzL29yZGVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsZUFBZSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBS3pELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBR3hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRWxELE1BQU0sT0FBTyxXQUFXO0lBQ3RCLDBCQUEwQjtJQUVuQixjQUFjLEdBQStCLEVBQUUsQ0FBQztJ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U1FRElBVEU7XG4gIHB1YmxpYyBvcmRlclR5cGU6IEVPcmRlclR5cGUgfCBudWxsID0gbnVsbDtcbiAgcHVibGljIHBheW1lbnRzOiBPcmRlclBheW1lbnRFbnRpdHkgPSBuZXcgT3JkZXJQYXltZW50RW50aXR5KCk7XG4gIHB1YmxpYyByZWZlcmVuY2U6IHN0cmluZyB8IG51bGwgPSBudWxsO1xuICBwdWJsaWMgc2FsZXNDaGFubmVsOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIHNhbmRib3g6IGJvb2xlYW4gPSBmYWxzZTtcbiAgcHVibGljIHN0YXR1czogT3JkZXJTdGF0dXNFbnVtID0gT3JkZXJTdGF0dXNFbnVtLlBFTkRJTkc7XG4gIHB1YmxpYyB0b3RhbDogT3JkZXJUb3RhbEVudGl0eSA9IG5ldyBPcmRlclRvdGFsRW50aXR5KCk7XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICBwdWJsaWMgdmVyc2lvbjogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyBmcm9tOiBFRGVzZW5maWxhRnJvbSA9IEVEZXNlbmZpbGFGcm9tLkRFRkFVTFQ7XG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1hZGRpdGlvbmFsLWZlZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktYWRkaXRpb25hbC1mZWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEZXNlbmZpbGFGcm9tIH0gZnJvbSBcIi4uLy4uL2dlbmVyYWxcIjtcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSU9yZGVyQWRkaXRpb25hbEZlZSB7XHJcbiAgICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXHJcblxyXG4gICAgdHlwZTogc3RyaW5nIHwgRURlc2VuZmlsYUZyb207XHJcbiAgICB2YWx1ZTogbnVtYmVyO1xyXG5cclxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMilcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktb3JkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEZXNlbmZpbGFGcm9tIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IEVPcmRlclRpbWluZywgT3JkZXJTdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBFT3JkZXJUeXBlIH0gZnJvbSAnLi4vZW51bXMv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nVsbDtcclxuICBpZDogc3RyaW5nO1xyXG4gIGl0ZW1zOiBJT3JkZXJJdGVtW107XHJcbiAgb3JkZXJUaW1pbmc6IEVPcmRlclRpbWluZztcclxuICBvcmRlclR5cGU6IEVPcmRlclR5cGUgfCBudWxsO1xyXG4gIHBheW1lbnRzOiBJT3JkZXJQYXltZW50IHwgbnVsbDtcclxuICByZWZlcmVuY2U6IHN0cmluZyB8IG51bGw7XHJcbiAgc2FsZXNDaGFubmVsOiBzdHJpbmc7XHJcbiAgc2FuZGJveDogYm9vbGVhbjtcclxuICBzdGF0dXM6IE9yZGVyU3RhdHVzRW51bTtcclxuICB0b3RhbDogSU9yZGVyVG90YWw7XHJcbiAgdXBkYXRlZEF0OiBEYXRlO1xyXG4gIHZlcnNpb246IHN0cmluZztcclxuICBmcm9tOiBFRGVzZW5maWxhRnJvbTtcclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIwKVxyXG59XHJcbiJdfQ==
|
@@ -551,7 +551,10 @@ var EDesenfilaFrom;
|
|
551
551
|
EDesenfilaFrom["NATI"] = "NATI";
|
552
552
|
EDesenfilaFrom["AUTOMATION"] = "AUTOMATION";
|
553
553
|
EDesenfilaFrom["NATIPAY"] = "NATIPAY";
|
554
|
+
EDesenfilaFrom["DESENFILA"] = "DESENFILA";
|
555
|
+
EDesenfilaFrom["NATIST"] = "NATIST";
|
554
556
|
EDesenfilaFrom["MOBYO"] = "MOBYO";
|
557
|
+
EDesenfilaFrom["DEFAULT"] = "DEFAULT"; // outras fontes não mapeadas
|
555
558
|
})(EDesenfilaFrom || (EDesenfilaFrom = {}));
|
556
559
|
|
557
560
|
var EDocType;
|
@@ -1627,8 +1630,7 @@ class OrderEntity {
|
|
1627
1630
|
total = new OrderTotalEntity();
|
1628
1631
|
updatedAt = new Date();
|
1629
1632
|
version = '';
|
1630
|
-
|
1631
|
-
// #region Constructors (1)
|
1633
|
+
from = EDesenfilaFrom.DEFAULT;
|
1632
1634
|
constructor(data) {
|
1633
1635
|
if (data) {
|
1634
1636
|
for (let key in data) {
|
@@ -3708,7 +3710,7 @@ class MottuOrderEntity {
|
|
3708
3710
|
expectedDelivery = new Date();
|
3709
3711
|
expectedPickup = new Date();
|
3710
3712
|
fullCode = '';
|
3711
|
-
id =
|
3713
|
+
id = 0;
|
3712
3714
|
origin = '';
|
3713
3715
|
pickupCode = '';
|
3714
3716
|
preparationTime = 0;
|