cecon-interfaces 1.4.1 → 1.4.3
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-device-app-configs.mjs +1 -1
- package/dist/esm2022/order/entities/order.entity.mjs +3 -3
- package/dist/esm2022/order/enums/index.mjs +2 -2
- package/dist/esm2022/order/enums/order-status.enum.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/mobyo-api/interfaces/i-device-app-configs.d.ts +1 -0
- package/dist/order/entities/order.entity.d.ts +2 -2
- package/dist/order/entities/order.entity.js +1 -1
- package/dist/order/enums/index.d.ts +1 -1
- package/dist/order/enums/index.js +2 -2
- package/dist/order/enums/order-status.enum.d.ts +1 -0
- package/dist/order/enums/order-status.enum.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EDesenfilaFrom } from '../../general';
|
2
|
-
import { EOrderTiming,
|
2
|
+
import { EOrderTiming, EOrderStatus } from '../enums';
|
3
3
|
import { EOrderType } from '../enums/order-type.enum';
|
4
4
|
import { IOrder } from '../interfaces';
|
5
5
|
import { OrderAdditionalFeeEntity } from './additional-fees.entity';
|
@@ -29,7 +29,7 @@ export declare class OrderEntity implements IOrder {
|
|
29
29
|
reference: string | null;
|
30
30
|
salesChannel: string;
|
31
31
|
sandbox: boolean;
|
32
|
-
status:
|
32
|
+
status: EOrderStatus;
|
33
33
|
total: OrderTotalEntity;
|
34
34
|
updatedAt: Date;
|
35
35
|
version: string;
|
@@ -28,7 +28,7 @@ var OrderEntity = /** @class */ (function () {
|
|
28
28
|
this.reference = null;
|
29
29
|
this.salesChannel = '';
|
30
30
|
this.sandbox = false;
|
31
|
-
this.status = enums_1.
|
31
|
+
this.status = enums_1.EOrderStatus.PENDING;
|
32
32
|
this.total = new total_entity_1.OrderTotalEntity();
|
33
33
|
this.updatedAt = new Date();
|
34
34
|
this.version = '';
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export { EOrderDeliveryMode } from './delivery-mode.enum';
|
2
|
-
export { EOrderStatus
|
2
|
+
export { EOrderStatus } from './order-status.enum';
|
3
3
|
export { EOrderTiming } from './order-timing.enum';
|
4
4
|
export { EOrderType } from './order-type.enum';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
// index.ts
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.EOrderType = exports.EOrderTiming = exports.
|
4
|
+
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");
|
8
|
-
Object.defineProperty(exports, "
|
8
|
+
Object.defineProperty(exports, "EOrderStatus", { enumerable: true, get: function () { return order_status_enum_1.EOrderStatus; } });
|
9
9
|
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");
|
@@ -5,6 +5,7 @@ exports.EOrderStatus = void 0;
|
|
5
5
|
var EOrderStatus;
|
6
6
|
(function (EOrderStatus) {
|
7
7
|
EOrderStatus["PLACED"] = "PLACED";
|
8
|
+
EOrderStatus["READY_TO_DELIVER"] = "READY_TO_DELIVER";
|
8
9
|
EOrderStatus["INTEGRATED"] = "INTEGRATED";
|
9
10
|
EOrderStatus["CONFIRMED"] = "CONFIRMED";
|
10
11
|
EOrderStatus["PENDING"] = "PENDING";
|
package/dist/package.json
CHANGED