cecon-interfaces 1.8.62 → 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.
Files changed (25) hide show
  1. package/dist/esm2022/order/interfaces/i-item.mjs +1 -1
  2. package/dist/esm2022/payio/big-chef-config/entities/config-operation.entity.mjs +16 -20
  3. package/dist/esm2022/payio/big-chef-config/interfaces/i-chef-config-operation.mjs +1 -1
  4. package/dist/esm2022/payio/catalogs/entities/catalog.entity.mjs +2 -1
  5. package/dist/esm2022/payio/catalogs/interfaces/i-catalog.mjs +1 -1
  6. package/dist/esm2022/payio/chef-config/entities/config-operation.entity.mjs +4 -1
  7. package/dist/esm2022/payio/chef-config/interfaces/i-chef-config-operation.mjs +1 -1
  8. package/dist/esm2022/payio/tabs/entities/tab.entity.mjs +2 -2
  9. package/dist/esm2022/payio/tabs/enums/status.enum.mjs +3 -3
  10. package/dist/fesm2022/cecon-interfaces.mjs +21 -21
  11. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  12. package/dist/order/interfaces/i-item.d.ts +3 -3
  13. package/dist/payio/big-chef-config/entities/config-operation.entity.d.ts +15 -19
  14. package/dist/payio/big-chef-config/entities/config-operation.entity.js +14 -18
  15. package/dist/payio/big-chef-config/interfaces/i-chef-config-operation.d.ts +15 -19
  16. package/dist/payio/catalogs/entities/catalog.entity.d.ts +1 -0
  17. package/dist/payio/catalogs/entities/catalog.entity.js +1 -0
  18. package/dist/payio/catalogs/interfaces/i-catalog.d.ts +1 -0
  19. package/dist/payio/chef-config/entities/config-operation.entity.d.ts +3 -0
  20. package/dist/payio/chef-config/entities/config-operation.entity.js +3 -0
  21. package/dist/payio/chef-config/interfaces/i-chef-config-operation.d.ts +3 -0
  22. package/dist/payio/tabs/entities/tab.entity.js +1 -1
  23. package/dist/payio/tabs/enums/status.enum.d.ts +2 -2
  24. package/dist/payio/tabs/enums/status.enum.js +2 -2
  25. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { IOrderItemComposition } from './i-item-composition';
2
- import { IOrderItemOption } from './i-item-option';
3
- import { IOrderScale } from './i-scale-price';
1
+ import { IOrderItemComposition } from "./i-item-composition";
2
+ import { IOrderItemOption } from "./i-item-option";
3
+ import { IOrderScale } from "./i-scale-price";
4
4
  export interface IOrderItem {
5
5
  composition: IOrderItemComposition[];
6
6
  ean: string;
@@ -1,24 +1,20 @@
1
- import { EBarcodeFormat, EPayioChefOperationMode, EPayioChefTabMode } from '../../chef-config';
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
- operationMode: EPayioChefOperationMode;
11
- printFormat: 'simple' | 'tabular';
12
- showBarCode: boolean;
13
- showNetWeight: boolean;
14
- showOrderNumber: boolean;
15
- showPricePerKg: boolean;
16
- showTotalPrice: boolean;
17
- startOrderIn: number;
18
- tabFormat: string | null;
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;
19
16
  tabMode: EPayioChefTabMode;
20
- tabRegistered: boolean;
21
- urlLogo: string;
22
- visionDeviceId: string;
17
+ tabUrlLogo: string;
18
+ VisionDeviceId: string;
23
19
  constructor(data?: Partial<PayioBigChefConfigOperationEntity>);
24
20
  }
@@ -4,25 +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.operationMode = chef_config_1.EPayioChefOperationMode.SCALE;
14
- this.printFormat = 'simple';
15
- this.showBarCode = true;
16
- this.showNetWeight = true;
17
- this.showOrderNumber = true;
18
- this.showPricePerKg = true;
19
- this.showTotalPrice = true;
20
- this.startOrderIn = 1;
21
- this.tabFormat = '';
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;
22
19
  this.tabMode = chef_config_1.EPayioChefTabMode.MANUAL;
23
- this.tabRegistered = false;
24
- this.urlLogo = '';
25
- this.visionDeviceId = '';
20
+ this.tabUrlLogo = '';
21
+ this.VisionDeviceId = '';
26
22
  if (data) {
27
23
  for (var key in data) {
28
24
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,22 +1,18 @@
1
- import { EBarcodeFormat, EPayioChefOperationMode, EPayioChefTabMode } from '../../chef-config';
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
- operationMode: EPayioChefOperationMode;
10
- printFormat: 'simple' | 'tabular';
11
- showBarCode: boolean;
12
- showNetWeight: boolean;
13
- showOrderNumber: boolean;
14
- showPricePerKg: boolean;
15
- showTotalPrice: boolean;
16
- startOrderIn: number;
17
- tabFormat: string | null;
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;
18
15
  tabMode: EPayioChefTabMode;
19
- tabRegistered: boolean;
20
- urlLogo: string;
21
- visionDeviceId: string;
16
+ tabUrlLogo: string;
17
+ VisionDeviceId: string;
22
18
  }
@@ -9,6 +9,7 @@ export declare class PayioCatalogEntity implements IPayioCatalog {
9
9
  context: EPayioCatalogContext[];
10
10
  createdAt: Date;
11
11
  id: string;
12
+ groupId: string | null;
12
13
  name: string;
13
14
  sandbox: boolean;
14
15
  status: EPayioCatalogStatus;
@@ -10,6 +10,7 @@ var PayioCatalogEntity = /** @class */ (function () {
10
10
  this.context = [enums_1.EPayioCatalogContext.DEFAULT];
11
11
  this.createdAt = new Date();
12
12
  this.id = '';
13
+ this.groupId = null;
13
14
  this.name = '';
14
15
  this.sandbox = false;
15
16
  this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
@@ -9,6 +9,7 @@ export interface IPayioCatalog {
9
9
  name: string;
10
10
  sandbox: boolean;
11
11
  tags: string[];
12
+ groupId: string | null;
12
13
  updatedAt: Date;
13
14
  status: EPayioCatalogStatus;
14
15
  context: EPayioCatalogContext[];
@@ -7,6 +7,9 @@ export declare class PayioChefConfigOperationEntity implements IPayioChefConfigO
7
7
  headerMessages: string[];
8
8
  listItems: string[];
9
9
  multiOrder: boolean;
10
+ /**@deprecated
11
+ * Use SCALE mode default
12
+ */
10
13
  operationMode: EPayioChefOperationMode;
11
14
  printFormat: 'simple' | 'tabular';
12
15
  showBarCode: boolean;
@@ -10,6 +10,9 @@ var PayioChefConfigOperationEntity = /** @class */ (function () {
10
10
  this.headerMessages = [];
11
11
  this.listItems = [];
12
12
  this.multiOrder = false;
13
+ /**@deprecated
14
+ * Use SCALE mode default
15
+ */
13
16
  this.operationMode = enums_1.EPayioChefOperationMode.SCALE;
14
17
  this.printFormat = 'simple';
15
18
  this.showBarCode = true;
@@ -8,6 +8,9 @@ export interface IPayioChefConfigOperation {
8
8
  headerMessages: string[];
9
9
  listItems: string[];
10
10
  multiOrder: boolean;
11
+ /**@deprecated
12
+ * Use SCALE mode default
13
+ */
11
14
  operationMode: EPayioChefOperationMode;
12
15
  printFormat: 'simple' | 'tabular';
13
16
  showBarCode: boolean;
@@ -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.62",
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",