cecon-interfaces 1.2.86 → 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/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 +4 -2
- 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/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=
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EDesenfilaFrom } 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/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VudGl0eSA9IG5ldyBPcmRlclRvdGFsRW50aXR5KCk7XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICBwdWJsaWMgdmVyc2lvbjogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyBmcm9tOiBFRGVzZW5maWxhRnJvbSA9IEVEZXNlbmZpbGFGcm9tLkRFRkFVTFQ7XG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJFbnRpdHk+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktb3JkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEZXNlbmZpbGFGcm9tIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IEVPcmRlclRpbWluZywgT3JkZXJTdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xyXG5pbXBvcnQgeyBFT3JkZXJUeXBlIH0gZnJvbSAnLi4vZW51bXMvb3JkZXItdHlwZS5lbnVtJztcclxuaW1wb3J0IHsgSU9yZGVyQWRkaXRpb25hbEZlZSB9IGZyb20gJy4vaS1hZGRpdGlvbmFsLWZlZSc7XHJcbmltcG9ydCB7IElPcmRlckJlbmVmaXRzIH0gZnJvbSAnLi9pLWJlbmVmaXRzJztcclxuaW1wb3J0IHsgSU9yZGVyQ2FuY2VsbGF0aW9uIH0gZnJvbSAnLi9pLWNhbmNlbGxhdGlvbic7XHJcbmltcG9ydCB7IElPcmRlckN1c3RvbWVyIH0gZnJvbSAnLi9pLWN1c3RvbWVyJztcclxuaW1wb3J0IHsgSU9yZGVyRGVsaXZlcnkgfSBmcm9tICcuL2ktZGVsaXZlcnknO1xyXG5pbXBvcnQgeyBJT3JkZXJJdGVtIH0gZnJvbSAnL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cclxuICBmcm9tOiBFRGVzZW5maWxhRnJvbTtcclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIwKVxyXG59XHJcbiJdfQ==
|
@@ -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) {
|