cecon-interfaces 1.1.94 → 1.1.95
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/order/entities/order.entity.mjs +4 -3
- package/dist/esm2022/order/interfaces/i-order.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/order/entities/order.entity.d.ts +2 -0
- package/dist/order/entities/order.entity.js +3 -2
- package/dist/order/interfaces/i-order.d.ts +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -5,6 +5,7 @@ import { OrderAdditionalFeeEntity } from './additional-fees.entity';
|
|
5
5
|
import { OrderBenefitsEntity } from './benefits.entity';
|
6
6
|
import { OrderCancellationEntity } from './cancellation.entity';
|
7
7
|
import { OrderCustomerEntity } from './customer.entity';
|
8
|
+
import { OrderDeliveryEntity } from './delivery.entity';
|
8
9
|
import { OrderItemEntity } from './item.entity';
|
9
10
|
import { OrderPaymentEntity } from './payment.entity';
|
10
11
|
import { OrderTotalEntity } from './total.entity';
|
@@ -16,6 +17,7 @@ export declare class OrderEntity implements IOrder {
|
|
16
17
|
containerId: string;
|
17
18
|
createdAt: Date;
|
18
19
|
customer: OrderCustomerEntity | null;
|
20
|
+
delivery: OrderDeliveryEntity | null;
|
19
21
|
displayId: string;
|
20
22
|
id: string;
|
21
23
|
items: OrderItemEntity[];
|
@@ -7,10 +7,10 @@ var customer_entity_1 = require("./customer.entity");
|
|
7
7
|
var payment_entity_1 = require("./payment.entity");
|
8
8
|
var total_entity_1 = require("./total.entity");
|
9
9
|
var OrderEntity = /** @class */ (function () {
|
10
|
-
// #endregion Properties (
|
10
|
+
// #endregion Properties (21)
|
11
11
|
// #region Constructors (1)
|
12
12
|
function OrderEntity(data) {
|
13
|
-
// #region Properties (
|
13
|
+
// #region Properties (21)
|
14
14
|
this.additionalFees = [];
|
15
15
|
this.benefits = [];
|
16
16
|
this.cancellation = new cancellation_entity_1.OrderCancellationEntity();
|
@@ -18,6 +18,7 @@ var OrderEntity = /** @class */ (function () {
|
|
18
18
|
this.containerId = '';
|
19
19
|
this.createdAt = new Date();
|
20
20
|
this.customer = new customer_entity_1.OrderCustomerEntity();
|
21
|
+
this.delivery = null;
|
21
22
|
this.displayId = Math.round(Math.random() * 100000).toString();
|
22
23
|
this.id = '';
|
23
24
|
this.items = [];
|
@@ -4,6 +4,7 @@ import { IOrderAdditionalFee } from './i-additional-fee';
|
|
4
4
|
import { IOrderBenefits } from './i-benefits';
|
5
5
|
import { IOrderCancellation } from './i-cancellation';
|
6
6
|
import { IOrderCustomer } from './i-customer';
|
7
|
+
import { IOrderDelivery } from './i-delivery';
|
7
8
|
import { IOrderItem } from './i-item';
|
8
9
|
import { IOrderPayment } from './i-payment';
|
9
10
|
import { IOrderTotal } from './i-total';
|
@@ -16,6 +17,7 @@ export interface IOrder {
|
|
16
17
|
createdAt: Date;
|
17
18
|
customer: IOrderCustomer | null;
|
18
19
|
displayId: string;
|
20
|
+
delivery: IOrderDelivery | null;
|
19
21
|
id: string;
|
20
22
|
items: IOrderItem[];
|
21
23
|
orderTiming: EOrderTiming;
|
package/dist/package.json
CHANGED