cecon-interfaces 1.1.92 → 1.1.94

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
1
  import { EOrderTiming, OrderStatusEnum } from '../enums';
2
- import { EOrderType } from '../enums/order-type.enum';
3
2
  import { OrderCancellationEntity } from './cancellation.entity';
4
3
  import { OrderCustomerEntity } from './customer.entity';
5
4
  import { OrderPaymentEntity } from './payment.entity';
@@ -13,11 +12,11 @@ export class OrderEntity {
13
12
  containerId = '';
14
13
  createdAt = new Date();
15
14
  customer = new OrderCustomerEntity();
16
- displayId = '';
15
+ displayId = Math.round(Math.random() * 100000).toString();
17
16
  id = '';
18
17
  items = [];
19
18
  orderTiming = EOrderTiming.IMMEDIATE;
20
- orderType = EOrderType.DELIVERY;
19
+ orderType = null;
21
20
  payments = new OrderPaymentEntity();
22
21
  reference = null;
23
22
  salesChannel = '';
@@ -38,4 +37,4 @@ export class OrderEntity {
38
37
  }
39
38
  }
40
39
  }
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL29yZGVyL2VudGl0aWVzL29yZGVyLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLGVBQWUsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUN6RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFJdEQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDaEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFFeEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDdEQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ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udGl0eSgpO1xuICBwdWJsaWMgcmVmZXJlbmNlOiBzdHJpbmcgfCBudWxsID0gbnVsbDtcbiAgcHVibGljIHNhbGVzQ2hhbm5lbDogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyBzYW5kYm94OiBib29sZWFuID0gZmFsc2U7XG4gIHB1YmxpYyBzdGF0dXM6IE9yZGVyU3RhdHVzRW51bSA9IE9yZGVyU3RhdHVzRW51bS5QRU5ESU5HO1xuICBwdWJsaWMgdG90YWw6IE9yZGVyVG90YWxFbnRpdHkgPSBuZXcgT3JkZXJUb3RhbEVudGl0eSgpO1xuICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcbiAgcHVibGljIHZlcnNpb246IHN0cmluZyA9ICcnO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjApXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktb3JkZXIudHMiXSwibmFtZX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cclxuICB2ZXJzaW9uOiBzdHJpbmc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjApXHJcbn1cclxuIl19
@@ -1242,11 +1242,11 @@ class OrderEntity {
1242
1242
  containerId = '';
1243
1243
  createdAt = new Date();
1244
1244
  customer = new OrderCustomerEntity();
1245
- displayId = '';
1245
+ displayId = Math.round(Math.random() * 100000).toString();
1246
1246
  id = '';
1247
1247
  items = [];
1248
1248
  orderTiming = EOrderTiming.IMMEDIATE;
1249
- orderType = EOrderType.DELIVERY;
1249
+ orderType = null;
1250
1250
  payments = new OrderPaymentEntity();
1251
1251
  reference = null;
1252
1252
  salesChannel = '';