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
@@ -6,5 +6,8 @@ var EDesenfilaFrom;
|
|
6
6
|
EDesenfilaFrom["NATI"] = "NATI";
|
7
7
|
EDesenfilaFrom["AUTOMATION"] = "AUTOMATION";
|
8
8
|
EDesenfilaFrom["NATIPAY"] = "NATIPAY";
|
9
|
+
EDesenfilaFrom["DESENFILA"] = "DESENFILA";
|
10
|
+
EDesenfilaFrom["NATIST"] = "NATIST";
|
9
11
|
EDesenfilaFrom["MOBYO"] = "MOBYO";
|
12
|
+
EDesenfilaFrom["DEFAULT"] = "DEFAULT"; // outras fontes não mapeadas
|
10
13
|
})(EDesenfilaFrom || (exports.EDesenfilaFrom = EDesenfilaFrom = {}));
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EDesenfilaFrom } from '../../general';
|
1
2
|
import { EOrderTiming, OrderStatusEnum } from '../enums';
|
2
3
|
import { EOrderType } from '../enums/order-type.enum';
|
3
4
|
import { IOrder } from '../interfaces';
|
@@ -32,5 +33,6 @@ export declare class OrderEntity implements IOrder {
|
|
32
33
|
total: OrderTotalEntity;
|
33
34
|
updatedAt: Date;
|
34
35
|
version: string;
|
36
|
+
from: EDesenfilaFrom;
|
35
37
|
constructor(data?: Partial<OrderEntity>);
|
36
38
|
}
|
@@ -1,14 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.OrderEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
4
5
|
var enums_1 = require("../enums");
|
5
6
|
var cancellation_entity_1 = require("./cancellation.entity");
|
6
7
|
var customer_entity_1 = require("./customer.entity");
|
7
8
|
var payment_entity_1 = require("./payment.entity");
|
8
9
|
var total_entity_1 = require("./total.entity");
|
9
10
|
var OrderEntity = /** @class */ (function () {
|
10
|
-
// #endregion Properties (22)
|
11
|
-
// #region Constructors (1)
|
12
11
|
function OrderEntity(data) {
|
13
12
|
// #region Properties (22)
|
14
13
|
this.additionalFees = [];
|
@@ -33,6 +32,7 @@ var OrderEntity = /** @class */ (function () {
|
|
33
32
|
this.total = new total_entity_1.OrderTotalEntity();
|
34
33
|
this.updatedAt = new Date();
|
35
34
|
this.version = '';
|
35
|
+
this.from = general_1.EDesenfilaFrom.DEFAULT;
|
36
36
|
if (data) {
|
37
37
|
for (var key in data) {
|
38
38
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EDesenfilaFrom } from '../../general';
|
1
2
|
import { EOrderTiming, OrderStatusEnum } from '../enums';
|
2
3
|
import { EOrderType } from '../enums/order-type.enum';
|
3
4
|
import { IOrderAdditionalFee } from './i-additional-fee';
|
@@ -31,4 +32,5 @@ export interface IOrder {
|
|
31
32
|
total: IOrderTotal;
|
32
33
|
updatedAt: Date;
|
33
34
|
version: string;
|
35
|
+
from: EDesenfilaFrom;
|
34
36
|
}
|
package/dist/package.json
CHANGED