cecon-interfaces 1.8.63 → 1.8.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,20 @@
1
1
  import { EBarcodeFormat, EPayioChefTabMode } from '../../chef-config';
2
2
  import { IPayioBigChefConfigOperation } from '../interfaces';
3
3
  export declare class PayioBigChefConfigOperationEntity implements IPayioBigChefConfigOperation {
4
- barcodeFormat: EBarcodeFormat;
5
- barcodeInitialFlag: string;
6
- bipOnPrint: boolean;
7
- headerMessages: string[];
8
- listItems: string[];
9
- multiOrder: boolean;
10
- printFormat: 'simple' | 'tabular';
11
- showBarCode: boolean;
12
- showNetWeight: boolean;
13
- showOrderNumber: boolean;
14
- showPricePerKg: boolean;
15
- showTotalPrice: boolean;
16
- startOrderIn: number;
4
+ tabBarcodeFormat: EBarcodeFormat;
5
+ tabBarcodeInitialFlag: string;
6
+ tabBipOnPrint: boolean;
7
+ tabHeaderMessages: string[];
8
+ tabListItems: string[];
9
+ tabPrintFormat: 'simple' | 'tabular';
10
+ tabShowBarCode: boolean;
11
+ tabShowNetWeight: boolean;
12
+ tabShowOrderNumber: boolean;
13
+ tabShowPricePerKg: boolean;
14
+ tabShowTotalPrice: boolean;
15
+ tabStartOrderIn: number;
17
16
  tabMode: EPayioChefTabMode;
18
- urlLogo: string;
19
- visionDeviceId: string;
17
+ tabUrlLogo: string;
18
+ VisionDeviceId: string;
20
19
  constructor(data?: Partial<PayioBigChefConfigOperationEntity>);
21
20
  }
@@ -4,22 +4,21 @@ exports.PayioBigChefConfigOperationEntity = void 0;
4
4
  var chef_config_1 = require("../../chef-config");
5
5
  var PayioBigChefConfigOperationEntity = /** @class */ (function () {
6
6
  function PayioBigChefConfigOperationEntity(data) {
7
- this.barcodeFormat = chef_config_1.EBarcodeFormat.CODE_6_PRICE_6;
8
- this.barcodeInitialFlag = '2';
9
- this.bipOnPrint = true;
10
- this.headerMessages = [];
11
- this.listItems = [];
12
- this.multiOrder = false;
13
- this.printFormat = 'simple';
14
- this.showBarCode = true;
15
- this.showNetWeight = true;
16
- this.showOrderNumber = true;
17
- this.showPricePerKg = true;
18
- this.showTotalPrice = true;
19
- this.startOrderIn = 1;
7
+ this.tabBarcodeFormat = chef_config_1.EBarcodeFormat.CODE_6_PRICE_6;
8
+ this.tabBarcodeInitialFlag = '2';
9
+ this.tabBipOnPrint = true;
10
+ this.tabHeaderMessages = [];
11
+ this.tabListItems = [];
12
+ this.tabPrintFormat = 'simple';
13
+ this.tabShowBarCode = true;
14
+ this.tabShowNetWeight = true;
15
+ this.tabShowOrderNumber = true;
16
+ this.tabShowPricePerKg = true;
17
+ this.tabShowTotalPrice = true;
18
+ this.tabStartOrderIn = 1;
20
19
  this.tabMode = chef_config_1.EPayioChefTabMode.MANUAL;
21
- this.urlLogo = '';
22
- this.visionDeviceId = '';
20
+ this.tabUrlLogo = '';
21
+ this.VisionDeviceId = '';
23
22
  if (data) {
24
23
  for (var key in data) {
25
24
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,19 +1,18 @@
1
1
  import { EBarcodeFormat, EPayioChefTabMode } from '../../chef-config';
2
2
  export interface IPayioBigChefConfigOperation {
3
- barcodeFormat: EBarcodeFormat;
4
- barcodeInitialFlag: string;
5
- bipOnPrint: boolean;
6
- headerMessages: string[];
7
- listItems: string[];
8
- multiOrder: boolean;
9
- printFormat: 'simple' | 'tabular';
10
- showBarCode: boolean;
11
- showNetWeight: boolean;
12
- showOrderNumber: boolean;
13
- showPricePerKg: boolean;
14
- showTotalPrice: boolean;
15
- startOrderIn: number;
3
+ tabBarcodeFormat: EBarcodeFormat;
4
+ tabBarcodeInitialFlag: string;
5
+ tabBipOnPrint: boolean;
6
+ tabHeaderMessages: string[];
7
+ tabListItems: string[];
8
+ tabPrintFormat: 'simple' | 'tabular';
9
+ tabShowBarCode: boolean;
10
+ tabShowNetWeight: boolean;
11
+ tabShowOrderNumber: boolean;
12
+ tabShowPricePerKg: boolean;
13
+ tabShowTotalPrice: boolean;
14
+ tabStartOrderIn: number;
16
15
  tabMode: EPayioChefTabMode;
17
- urlLogo: string;
18
- visionDeviceId: string;
16
+ tabUrlLogo: string;
17
+ VisionDeviceId: string;
19
18
  }
@@ -8,7 +8,7 @@ var PayioTabEntity = /** @class */ (function () {
8
8
  this.createdAt = new Date();
9
9
  this.id = '';
10
10
  this.name = '';
11
- this.status = enums_1.EPayioTabStatus.ACTIVE;
11
+ this.status = enums_1.EPayioTabStatus.AVAILABLE;
12
12
  this.statusReason = null;
13
13
  this.tags = [];
14
14
  this.updatedAt = new Date();
@@ -1,6 +1,6 @@
1
1
  export declare enum EPayioTabStatus {
2
- ACTIVE = "active",
3
- INACTIVE = "inactive",
2
+ AVAILABLE = "available",
3
+ UNAVAILABLE = "unavailable",
4
4
  BLOCKED = "blocked",
5
5
  SUSPENDED = "suspended",
6
6
  LOST = "lost",
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EPayioTabStatus = void 0;
4
4
  var EPayioTabStatus;
5
5
  (function (EPayioTabStatus) {
6
- EPayioTabStatus["ACTIVE"] = "active";
7
- EPayioTabStatus["INACTIVE"] = "inactive";
6
+ EPayioTabStatus["AVAILABLE"] = "available";
7
+ EPayioTabStatus["UNAVAILABLE"] = "unavailable";
8
8
  EPayioTabStatus["BLOCKED"] = "blocked";
9
9
  EPayioTabStatus["SUSPENDED"] = "suspended";
10
10
  EPayioTabStatus["LOST"] = "lost";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.63",
3
+ "version": "1.8.65",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",