cecon-interfaces 1.6.54 → 1.6.57
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/chef-config/entities/chef-config-operation.entity.mjs +4 -5
- package/dist/esm2022/payio/chef-config/entities/chef-config.entity.mjs +2 -3
- package/dist/esm2022/payio/chef-config/interfaces/i-chef-config.mjs +1 -1
- package/dist/esm2022/payio/device/entities/device-chef.entity.mjs +19 -0
- package/dist/esm2022/payio/device/entities/device.entity.mjs +2 -1
- package/dist/esm2022/payio/device/entities/index.mjs +2 -1
- package/dist/esm2022/payio/device/interfaces/i-device-chef.mjs +2 -0
- package/dist/esm2022/payio/device/interfaces/i-device.mjs +1 -1
- package/dist/esm2022/payio/device/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +25 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/chef-config/entities/chef-config-operation.entity.d.ts +1 -2
- package/dist/payio/chef-config/entities/chef-config-operation.entity.js +3 -3
- package/dist/payio/chef-config/entities/chef-config.entity.d.ts +1 -1
- package/dist/payio/chef-config/entities/chef-config.entity.js +1 -2
- package/dist/payio/chef-config/interfaces/i-chef-config.d.ts +3 -3
- package/dist/payio/device/entities/device-chef.entity.d.ts +8 -0
- package/dist/payio/device/entities/device-chef.entity.js +23 -0
- package/dist/payio/device/entities/device.entity.d.ts +2 -0
- package/dist/payio/device/entities/device.entity.js +1 -0
- package/dist/payio/device/entities/index.d.ts +1 -0
- package/dist/payio/device/entities/index.js +3 -1
- package/dist/payio/device/interfaces/i-device-chef.d.ts +6 -0
- package/dist/payio/device/interfaces/i-device-chef.js +2 -0
- package/dist/payio/device/interfaces/i-device.d.ts +2 -0
- package/dist/payio/device/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -4,8 +4,8 @@ export declare class PayioChefConfigOperationEntity implements IPayioChefConfigO
|
|
4
4
|
barcodeFormat: EBarcodeFormat;
|
5
5
|
barcodeInitialFlag: string;
|
6
6
|
bipOnPrint: boolean;
|
7
|
-
listItems: string;
|
8
7
|
headerMessages: string[];
|
8
|
+
listItems: string;
|
9
9
|
operationMode: EPayioChefOperationMode;
|
10
10
|
orderFormat: string;
|
11
11
|
printFormat: 'simple' | 'tabular';
|
@@ -19,5 +19,4 @@ export declare class PayioChefConfigOperationEntity implements IPayioChefConfigO
|
|
19
19
|
tabMode: EPayioChefTabMode;
|
20
20
|
urlLogo: string;
|
21
21
|
constructor(data?: Partial<PayioChefConfigOperationEntity>);
|
22
|
-
message: string[];
|
23
22
|
}
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioChefConfigOperationEntity = void 0;
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var PayioChefConfigOperationEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (
|
6
|
+
// #endregion Properties (18)
|
7
7
|
// #region Constructors (1)
|
8
8
|
function PayioChefConfigOperationEntity(data) {
|
9
|
-
// #region Properties (
|
9
|
+
// #region Properties (18)
|
10
10
|
this.barcodeFormat = enums_1.EBarcodeFormat.CODE_6_PRICE_6;
|
11
11
|
this.barcodeInitialFlag = '2';
|
12
12
|
this.bipOnPrint = true;
|
13
|
-
this.listItems = '';
|
14
13
|
this.headerMessages = [];
|
14
|
+
this.listItems = '';
|
15
15
|
this.operationMode = enums_1.EPayioChefOperationMode.SCALE;
|
16
16
|
this.orderFormat = '';
|
17
17
|
this.printFormat = 'simple';
|
@@ -5,7 +5,7 @@ export declare class PayioChefConfigEntity implements IPayioChefConfig {
|
|
5
5
|
multiOrder: boolean;
|
6
6
|
name: string;
|
7
7
|
operation: IPayioChefConfigOperation;
|
8
|
-
printer: IPayioChefConfigPrinter;
|
8
|
+
printer: IPayioChefConfigPrinter | null;
|
9
9
|
scale: IPayioChefConfigScale;
|
10
10
|
updatedAt: Date;
|
11
11
|
webhook: IPayioChefConfigWebhook[];
|
@@ -2,7 +2,6 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioChefConfigEntity = void 0;
|
4
4
|
var chef_config_operation_entity_1 = require("./chef-config-operation.entity");
|
5
|
-
var chef_config_printer_entity_1 = require("./chef-config-printer.entity");
|
6
5
|
var chef_config_scale_entity_1 = require("./chef-config-scale.entity");
|
7
6
|
var PayioChefConfigEntity = /** @class */ (function () {
|
8
7
|
// #endregion Properties (9)
|
@@ -14,7 +13,7 @@ var PayioChefConfigEntity = /** @class */ (function () {
|
|
14
13
|
this.multiOrder = false;
|
15
14
|
this.name = '';
|
16
15
|
this.operation = new chef_config_operation_entity_1.PayioChefConfigOperationEntity();
|
17
|
-
this.printer =
|
16
|
+
this.printer = null;
|
18
17
|
this.scale = new chef_config_scale_entity_1.PayioChefConfigScaleEntity();
|
19
18
|
this.updatedAt = new Date();
|
20
19
|
this.webhook = [];
|
@@ -5,11 +5,11 @@ import { IPayioChefConfigWebhook } from './i-chef-config-webhook';
|
|
5
5
|
export interface IPayioChefConfig {
|
6
6
|
createdAt: Date;
|
7
7
|
id: string;
|
8
|
+
multiOrder: boolean;
|
8
9
|
name: string;
|
10
|
+
operation: IPayioChefConfigOperation;
|
11
|
+
printer: IPayioChefConfigPrinter | null;
|
9
12
|
scale: IPayioChefConfigScale;
|
10
13
|
updatedAt: Date;
|
11
|
-
printer: IPayioChefConfigPrinter;
|
12
14
|
webhook: IPayioChefConfigWebhook[];
|
13
|
-
multiOrder: boolean;
|
14
|
-
operation: IPayioChefConfigOperation;
|
15
15
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IPayioDeviceChef } from '../interfaces/i-device-chef';
|
2
|
+
export declare class PayioDeviceChefEntity implements IPayioDeviceChef {
|
3
|
+
chefConfigId: string | null;
|
4
|
+
chefConfigName: string | null;
|
5
|
+
scheduleId: string | null;
|
6
|
+
scheduleName: string | null;
|
7
|
+
constructor(data?: Partial<PayioDeviceChefEntity>);
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioDeviceChefEntity = void 0;
|
4
|
+
var PayioDeviceChefEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioDeviceChefEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.chefConfigId = null;
|
10
|
+
this.chefConfigName = null;
|
11
|
+
this.scheduleId = null;
|
12
|
+
this.scheduleName = null;
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return PayioDeviceChefEntity;
|
22
|
+
}());
|
23
|
+
exports.PayioDeviceChefEntity = PayioDeviceChefEntity;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { IPayioDevice } from '../interfaces/i-device';
|
2
|
+
import { PayioDeviceChefEntity } from './device-chef.entity';
|
2
3
|
export declare class PayioDeviceEntity implements IPayioDevice {
|
3
4
|
active: boolean;
|
4
5
|
companyId: string;
|
@@ -10,5 +11,6 @@ export declare class PayioDeviceEntity implements IPayioDevice {
|
|
10
11
|
name: string;
|
11
12
|
tags: string[];
|
12
13
|
updatedAt: Date;
|
14
|
+
chef: PayioDeviceChefEntity | null;
|
13
15
|
constructor(data?: Partial<PayioDeviceEntity>);
|
14
16
|
}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioDeviceEntity = void 0;
|
3
|
+
exports.PayioDeviceEntity = exports.PayioDeviceChefEntity = void 0;
|
4
|
+
var device_chef_entity_1 = require("./device-chef.entity");
|
5
|
+
Object.defineProperty(exports, "PayioDeviceChefEntity", { enumerable: true, get: function () { return device_chef_entity_1.PayioDeviceChefEntity; } });
|
4
6
|
var device_entity_1 = require("./device.entity");
|
5
7
|
Object.defineProperty(exports, "PayioDeviceEntity", { enumerable: true, get: function () { return device_entity_1.PayioDeviceEntity; } });
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { IPayioDeviceChef } from './i-device-chef';
|
1
2
|
export interface IPayioDevice {
|
2
3
|
active: boolean;
|
3
4
|
companyId: string;
|
@@ -8,5 +9,6 @@ export interface IPayioDevice {
|
|
8
9
|
lastAccess: Date;
|
9
10
|
name: string;
|
10
11
|
tags: string[];
|
12
|
+
chef: IPayioDeviceChef | null;
|
11
13
|
updatedAt: Date;
|
12
14
|
}
|