cecon-interfaces 1.5.16 → 1.5.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-order-v3.mjs +1 -1
- package/dist/esm2022/order/entities/order.entity.mjs +2 -1
- package/dist/esm2022/order/enums/extra-info.enum.mjs +8 -0
- package/dist/esm2022/order/enums/index.mjs +2 -1
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +10 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/mobyo-api/interfaces/i-order-v3.d.ts +2 -2
- package/dist/order/entities/order.entity.d.ts +1 -0
- package/dist/order/entities/order.entity.js +1 -0
- package/dist/order/enums/extra-info.enum.d.ts +6 -0
- package/dist/order/enums/extra-info.enum.js +10 -0
- package/dist/order/enums/index.d.ts +1 -0
- package/dist/order/enums/index.js +3 -1
- package/dist/order/interfaces/i-order.d.ts +2 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IOrderBenefits } from '../../../order';
|
1
|
+
import { EOrderExtraInfo, IOrderBenefits } from '../../../order';
|
2
2
|
import { EOrderStatus } from '../../../order/enums/order-status.enum';
|
3
3
|
import { EEngineType } from '../enum/engine-type.enum';
|
4
4
|
import { EOrderV3SalesChannel } from '../enum/order-v3-sales-channel.enum';
|
@@ -32,7 +32,7 @@ export interface IOrderV3 {
|
|
32
32
|
engineId: string;
|
33
33
|
engineName: string;
|
34
34
|
engineType: EEngineType;
|
35
|
-
extraInfo: string;
|
35
|
+
extraInfo: EOrderExtraInfo | string | null;
|
36
36
|
id: string;
|
37
37
|
indoor: IOrderIndoorV3;
|
38
38
|
integrated: boolean;
|
@@ -33,6 +33,7 @@ var OrderEntity = /** @class */ (function () {
|
|
33
33
|
this.updatedAt = new Date();
|
34
34
|
this.version = '';
|
35
35
|
this.from = general_1.EDesenfilaFrom.DEFAULT;
|
36
|
+
this.extraInfo = null;
|
36
37
|
if (data) {
|
37
38
|
for (var key in data) {
|
38
39
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EOrderExtraInfo = void 0;
|
4
|
+
var EOrderExtraInfo;
|
5
|
+
(function (EOrderExtraInfo) {
|
6
|
+
EOrderExtraInfo["FAIL_SEND"] = "FAIL_SEND";
|
7
|
+
EOrderExtraInfo["FAIL_ADD"] = "FAIL_ADD";
|
8
|
+
EOrderExtraInfo["SEND"] = "SEND";
|
9
|
+
EOrderExtraInfo["ADD"] = "ADD";
|
10
|
+
})(EOrderExtraInfo || (exports.EOrderExtraInfo = EOrderExtraInfo = {}));
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
// index.ts
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.EOrderType = exports.EOrderTiming = exports.EOrderStatus = exports.EOrderDeliveryMode = void 0;
|
4
|
+
exports.EOrderExtraInfo = exports.EOrderType = exports.EOrderTiming = exports.EOrderStatus = exports.EOrderDeliveryMode = void 0;
|
5
5
|
var delivery_mode_enum_1 = require("./delivery-mode.enum");
|
6
6
|
Object.defineProperty(exports, "EOrderDeliveryMode", { enumerable: true, get: function () { return delivery_mode_enum_1.EOrderDeliveryMode; } });
|
7
7
|
var order_status_enum_1 = require("./order-status.enum");
|
@@ -10,3 +10,5 @@ var order_timing_enum_1 = require("./order-timing.enum");
|
|
10
10
|
Object.defineProperty(exports, "EOrderTiming", { enumerable: true, get: function () { return order_timing_enum_1.EOrderTiming; } });
|
11
11
|
var order_type_enum_1 = require("./order-type.enum");
|
12
12
|
Object.defineProperty(exports, "EOrderType", { enumerable: true, get: function () { return order_type_enum_1.EOrderType; } });
|
13
|
+
var extra_info_enum_1 = require("./extra-info.enum");
|
14
|
+
Object.defineProperty(exports, "EOrderExtraInfo", { enumerable: true, get: function () { return extra_info_enum_1.EOrderExtraInfo; } });
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EDesenfilaFrom } from '../../general';
|
2
|
-
import { EOrderTiming } from '../enums';
|
2
|
+
import { EOrderExtraInfo, EOrderTiming } from '../enums';
|
3
3
|
import { EOrderStatus } from '../enums/order-status.enum';
|
4
4
|
import { EOrderType } from '../enums/order-type.enum';
|
5
5
|
import { IOrderAdditionalFee } from './i-additional-fee';
|
@@ -34,4 +34,5 @@ export interface IOrder {
|
|
34
34
|
updatedAt: Date;
|
35
35
|
version: string;
|
36
36
|
from: EDesenfilaFrom;
|
37
|
+
extraInfo: EOrderExtraInfo | string | null;
|
37
38
|
}
|
package/dist/package.json
CHANGED