cecon-interfaces 1.8.61 → 1.8.63

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 (30) 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 +2 -5
  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/orders/entities/order.entity.mjs +4 -6
  9. package/dist/esm2022/payio/orders/interfaces/i-order.mjs +1 -1
  10. package/dist/esm2022/resume/entities/general-resume-total.entity.mjs +2 -2
  11. package/dist/esm2022/resume/interfaces/i-resume-general.mjs +1 -1
  12. package/dist/fesm2022/cecon-interfaces.mjs +6 -7
  13. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  14. package/dist/order/interfaces/i-item.d.ts +3 -3
  15. package/dist/payio/big-chef-config/entities/config-operation.entity.d.ts +1 -4
  16. package/dist/payio/big-chef-config/entities/config-operation.entity.js +0 -3
  17. package/dist/payio/big-chef-config/interfaces/i-chef-config-operation.d.ts +1 -4
  18. package/dist/payio/catalogs/entities/catalog.entity.d.ts +1 -0
  19. package/dist/payio/catalogs/entities/catalog.entity.js +1 -0
  20. package/dist/payio/catalogs/interfaces/i-catalog.d.ts +1 -0
  21. package/dist/payio/chef-config/entities/config-operation.entity.d.ts +3 -0
  22. package/dist/payio/chef-config/entities/config-operation.entity.js +3 -0
  23. package/dist/payio/chef-config/interfaces/i-chef-config-operation.d.ts +3 -0
  24. package/dist/payio/orders/entities/order.entity.d.ts +5 -4
  25. package/dist/payio/orders/entities/order.entity.js +1 -3
  26. package/dist/payio/orders/interfaces/i-order.d.ts +3 -2
  27. package/dist/resume/entities/general-resume-total.entity.d.ts +1 -1
  28. package/dist/resume/entities/general-resume-total.entity.js +1 -1
  29. package/dist/resume/interfaces/i-resume-general.d.ts +1 -1
  30. 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,4 +1,4 @@
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
4
  barcodeFormat: EBarcodeFormat;
@@ -7,7 +7,6 @@ export declare class PayioBigChefConfigOperationEntity implements IPayioBigChefC
7
7
  headerMessages: string[];
8
8
  listItems: string[];
9
9
  multiOrder: boolean;
10
- operationMode: EPayioChefOperationMode;
11
10
  printFormat: 'simple' | 'tabular';
12
11
  showBarCode: boolean;
13
12
  showNetWeight: boolean;
@@ -15,9 +14,7 @@ export declare class PayioBigChefConfigOperationEntity implements IPayioBigChefC
15
14
  showPricePerKg: boolean;
16
15
  showTotalPrice: boolean;
17
16
  startOrderIn: number;
18
- tabFormat: string | null;
19
17
  tabMode: EPayioChefTabMode;
20
- tabRegistered: boolean;
21
18
  urlLogo: string;
22
19
  visionDeviceId: string;
23
20
  constructor(data?: Partial<PayioBigChefConfigOperationEntity>);
@@ -10,7 +10,6 @@ var PayioBigChefConfigOperationEntity = /** @class */ (function () {
10
10
  this.headerMessages = [];
11
11
  this.listItems = [];
12
12
  this.multiOrder = false;
13
- this.operationMode = chef_config_1.EPayioChefOperationMode.SCALE;
14
13
  this.printFormat = 'simple';
15
14
  this.showBarCode = true;
16
15
  this.showNetWeight = true;
@@ -18,9 +17,7 @@ var PayioBigChefConfigOperationEntity = /** @class */ (function () {
18
17
  this.showPricePerKg = true;
19
18
  this.showTotalPrice = true;
20
19
  this.startOrderIn = 1;
21
- this.tabFormat = '';
22
20
  this.tabMode = chef_config_1.EPayioChefTabMode.MANUAL;
23
- this.tabRegistered = false;
24
21
  this.urlLogo = '';
25
22
  this.visionDeviceId = '';
26
23
  if (data) {
@@ -1,4 +1,4 @@
1
- import { EBarcodeFormat, EPayioChefOperationMode, EPayioChefTabMode } from '../../chef-config';
1
+ import { EBarcodeFormat, EPayioChefTabMode } from '../../chef-config';
2
2
  export interface IPayioBigChefConfigOperation {
3
3
  barcodeFormat: EBarcodeFormat;
4
4
  barcodeInitialFlag: string;
@@ -6,7 +6,6 @@ export interface IPayioBigChefConfigOperation {
6
6
  headerMessages: string[];
7
7
  listItems: string[];
8
8
  multiOrder: boolean;
9
- operationMode: EPayioChefOperationMode;
10
9
  printFormat: 'simple' | 'tabular';
11
10
  showBarCode: boolean;
12
11
  showNetWeight: boolean;
@@ -14,9 +13,7 @@ export interface IPayioBigChefConfigOperation {
14
13
  showPricePerKg: boolean;
15
14
  showTotalPrice: boolean;
16
15
  startOrderIn: number;
17
- tabFormat: string | null;
18
16
  tabMode: EPayioChefTabMode;
19
- tabRegistered: boolean;
20
17
  urlLogo: string;
21
18
  visionDeviceId: string;
22
19
  }
@@ -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;
@@ -1,11 +1,12 @@
1
- import { OrderEntity } from '../../../order';
2
- import { EPayuioAppSlug } from '../../app';
3
- import { IPayioOrder } from '../interfaces';
4
- import { PayioOrderIndoorEntity } from './indoor.entity';
1
+ import { OrderEntity } from "../../../order";
2
+ import { EPayuioAppSlug } from "../../app";
3
+ import { IPayioOrder } from "../interfaces";
4
+ import { PayioOrderIndoorEntity } from "./indoor.entity";
5
5
  export declare class PayioOrderEntity extends OrderEntity implements IPayioOrder {
6
6
  appId: string | null;
7
7
  appSlug: EPayuioAppSlug;
8
8
  deviceId: string | null;
9
9
  indoor: PayioOrderIndoorEntity | null;
10
+ resumeVersion: string;
10
11
  constructor(data?: Partial<PayioOrderEntity>);
11
12
  }
@@ -20,15 +20,13 @@ var order_1 = require("../../../order");
20
20
  var app_1 = require("../../app");
21
21
  var PayioOrderEntity = /** @class */ (function (_super) {
22
22
  __extends(PayioOrderEntity, _super);
23
- // #endregion Properties (4)
24
- // #region Constructors (1)
25
23
  function PayioOrderEntity(data) {
26
24
  var _this = _super.call(this) || this;
27
- // #region Properties (4)
28
25
  _this.appId = null;
29
26
  _this.appSlug = app_1.EPayuioAppSlug.none;
30
27
  _this.deviceId = null;
31
28
  _this.indoor = null;
29
+ _this.resumeVersion = '';
32
30
  if (data) {
33
31
  for (var key in data) {
34
32
  if (data.hasOwnProperty(key) && key in _this) {
@@ -2,8 +2,9 @@ import { IOrder } from '../../../order';
2
2
  import { EPayuioAppSlug } from '../../app';
3
3
  import { IPayioOrderIndoor } from './i-order-indoor';
4
4
  export interface IPayioOrder extends IOrder {
5
- indoor: IPayioOrderIndoor | null;
6
- deviceId: string | null;
7
5
  appId: string | null;
8
6
  appSlug: EPayuioAppSlug;
7
+ deviceId: string | null;
8
+ indoor: IPayioOrderIndoor | null;
9
+ resumeVersion: string;
9
10
  }
@@ -2,6 +2,6 @@ import { IGeneralResumeTotal } from '../interfaces';
2
2
  export declare class GeneralResumeTotalEntity implements IGeneralResumeTotal {
3
3
  amount: number;
4
4
  count: number;
5
- avarageAmount: number;
5
+ averageAmount: number;
6
6
  constructor(data?: Partial<GeneralResumeTotalEntity>);
7
7
  }
@@ -5,7 +5,7 @@ var GeneralResumeTotalEntity = /** @class */ (function () {
5
5
  function GeneralResumeTotalEntity(data) {
6
6
  this.amount = 0;
7
7
  this.count = 0;
8
- this.avarageAmount = 0;
8
+ this.averageAmount = 0;
9
9
  if (data) {
10
10
  for (var key in data) {
11
11
  if (data.hasOwnProperty(key) && key in this) {
@@ -1,5 +1,5 @@
1
1
  export interface IGeneralResumeTotal {
2
2
  amount: number;
3
3
  count: number;
4
- avarageAmount: number;
4
+ averageAmount: number;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.61",
3
+ "version": "1.8.63",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",