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.
@@ -4,4 +4,5 @@ export interface IDeviceAppConfig {
4
4
  checkoutOnline: boolean;
5
5
  checkoutOffline: boolean;
6
6
  checkoutPix: boolean;
7
+ minShopValue: number;
7
8
  }
@@ -1,5 +1,5 @@
1
1
  import { EDesenfilaFrom } from '../../general';
2
- import { EOrderTiming, OrderStatusEnum } from '../enums';
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: OrderStatusEnum;
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.OrderStatusEnum.PENDING;
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 as OrderStatusEnum } from './order-status.enum';
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.OrderStatusEnum = exports.EOrderDeliveryMode = void 0;
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, "OrderStatusEnum", { enumerable: true, get: function () { return order_status_enum_1.EOrderStatus; } });
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");
@@ -1,5 +1,6 @@
1
1
  export declare enum EOrderStatus {
2
2
  PLACED = "PLACED",
3
+ READY_TO_DELIVER = "READY_TO_DELIVER",
3
4
  INTEGRATED = "INTEGRATED",
4
5
  CONFIRMED = "CONFIRMED",
5
6
  PENDING = "PENDING",
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.01",
3
+ "version": "1.4.03",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.01",
3
+ "version": "1.4.03",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",