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.
- package/dist/esm2022/order/interfaces/i-item.mjs +1 -1
- package/dist/esm2022/payio/big-chef-config/entities/config-operation.entity.mjs +2 -5
- package/dist/esm2022/payio/big-chef-config/interfaces/i-chef-config-operation.mjs +1 -1
- package/dist/esm2022/payio/catalogs/entities/catalog.entity.mjs +2 -1
- package/dist/esm2022/payio/catalogs/interfaces/i-catalog.mjs +1 -1
- package/dist/esm2022/payio/chef-config/entities/config-operation.entity.mjs +4 -1
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config-operation.mjs +1 -1
- package/dist/esm2022/payio/orders/entities/order.entity.mjs +4 -6
- package/dist/esm2022/payio/orders/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/resume/entities/general-resume-total.entity.mjs +2 -2
- package/dist/esm2022/resume/interfaces/i-resume-general.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +6 -7
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/order/interfaces/i-item.d.ts +3 -3
- package/dist/payio/big-chef-config/entities/config-operation.entity.d.ts +1 -4
- package/dist/payio/big-chef-config/entities/config-operation.entity.js +0 -3
- package/dist/payio/big-chef-config/interfaces/i-chef-config-operation.d.ts +1 -4
- package/dist/payio/catalogs/entities/catalog.entity.d.ts +1 -0
- package/dist/payio/catalogs/entities/catalog.entity.js +1 -0
- package/dist/payio/catalogs/interfaces/i-catalog.d.ts +1 -0
- package/dist/payio/chef-config/entities/config-operation.entity.d.ts +3 -0
- package/dist/payio/chef-config/entities/config-operation.entity.js +3 -0
- package/dist/payio/chef-config/interfaces/i-chef-config-operation.d.ts +3 -0
- package/dist/payio/orders/entities/order.entity.d.ts +5 -4
- package/dist/payio/orders/entities/order.entity.js +1 -3
- package/dist/payio/orders/interfaces/i-order.d.ts +3 -2
- package/dist/resume/entities/general-resume-total.entity.d.ts +1 -1
- package/dist/resume/entities/general-resume-total.entity.js +1 -1
- package/dist/resume/interfaces/i-resume-general.d.ts +1 -1
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
|
-
import { IOrderItemComposition } from
|
2
|
-
import { IOrderItemOption } from
|
3
|
-
import { IOrderScale } from
|
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,
|
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,
|
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
|
}
|
@@ -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;
|
@@ -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
|
2
|
-
import { EPayuioAppSlug } from
|
3
|
-
import { IPayioOrder } from
|
4
|
-
import { PayioOrderIndoorEntity } from
|
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
|
-
|
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.
|
8
|
+
this.averageAmount = 0;
|
9
9
|
if (data) {
|
10
10
|
for (var key in data) {
|
11
11
|
if (data.hasOwnProperty(key) && key in this) {
|