cecon-interfaces 1.6.55 → 1.6.58
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.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/esm2022/payio/schedules/entities/index.mjs +3 -1
- package/dist/esm2022/payio/schedules/entities/schedule-day.entity.mjs +17 -0
- package/dist/esm2022/payio/schedules/entities/schedule-product.entity.mjs +24 -0
- package/dist/esm2022/payio/schedules/entities/schedule-slot.entity.mjs +2 -2
- package/dist/esm2022/payio/schedules/entities/schedule.entity.mjs +7 -5
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-day.mjs +2 -0
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-product.mjs +2 -0
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-slots.mjs +2 -0
- package/dist/esm2022/payio/schedules/interfaces/i-schedule.mjs +1 -1
- package/dist/esm2022/payio/schedules/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +70 -7
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- 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.d.ts +2 -0
- package/dist/payio/device/interfaces/index.d.ts +1 -0
- package/dist/payio/schedules/entities/index.d.ts +2 -0
- package/dist/payio/schedules/entities/index.js +5 -1
- package/dist/payio/schedules/entities/schedule-day.entity.d.ts +7 -0
- package/dist/payio/schedules/entities/schedule-day.entity.js +21 -0
- package/dist/payio/schedules/entities/schedule-product.entity.d.ts +13 -0
- package/dist/payio/schedules/entities/schedule-product.entity.js +28 -0
- package/dist/payio/schedules/entities/schedule-slot.entity.d.ts +1 -1
- package/dist/payio/schedules/entities/schedule-slot.entity.js +1 -1
- package/dist/payio/schedules/entities/schedule.entity.d.ts +4 -3
- package/dist/payio/schedules/entities/schedule.entity.js +6 -4
- package/dist/payio/schedules/interfaces/i-schedule-day.d.ts +5 -0
- package/dist/payio/schedules/interfaces/i-schedule-day.js +2 -0
- package/dist/payio/schedules/interfaces/i-schedule-product.d.ts +11 -0
- package/dist/payio/schedules/interfaces/i-schedule-product.js +2 -0
- package/dist/payio/schedules/interfaces/{i-schedule-slot.d.ts → i-schedule-slots.d.ts} +1 -1
- package/dist/payio/schedules/interfaces/i-schedule-slots.js +2 -0
- package/dist/payio/schedules/interfaces/i-schedule.d.ts +5 -2
- package/dist/payio/schedules/interfaces/index.d.ts +3 -1
- package/package.json +1 -1
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-slot.mjs +0 -2
- /package/dist/payio/{schedules/interfaces/i-schedule-slot.js → device/interfaces/i-device-chef.js} +0 -0
package/dist/package.json
CHANGED
@@ -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
|
}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioScheduleEntity = exports.PayioScheduleSlotEntity = void 0;
|
3
|
+
exports.PayioScheduleEntity = exports.PayioScheduleSlotEntity = exports.PayioScheduleProductEntity = exports.PayioScheduleDayEntity = void 0;
|
4
|
+
var schedule_day_entity_1 = require("./schedule-day.entity");
|
5
|
+
Object.defineProperty(exports, "PayioScheduleDayEntity", { enumerable: true, get: function () { return schedule_day_entity_1.PayioScheduleDayEntity; } });
|
6
|
+
var schedule_product_entity_1 = require("./schedule-product.entity");
|
7
|
+
Object.defineProperty(exports, "PayioScheduleProductEntity", { enumerable: true, get: function () { return schedule_product_entity_1.PayioScheduleProductEntity; } });
|
4
8
|
var schedule_slot_entity_1 = require("./schedule-slot.entity");
|
5
9
|
Object.defineProperty(exports, "PayioScheduleSlotEntity", { enumerable: true, get: function () { return schedule_slot_entity_1.PayioScheduleSlotEntity; } });
|
6
10
|
var schedule_entity_1 = require("./schedule.entity");
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IPayioScheduleSlot } from '../interfaces';
|
2
|
+
import { IPayioScheduleDay } from '../interfaces/i-schedule-day';
|
3
|
+
export declare class PayioScheduleDayEntity implements IPayioScheduleDay {
|
4
|
+
day: string;
|
5
|
+
slots: IPayioScheduleSlot[];
|
6
|
+
constructor(data?: Partial<PayioScheduleDayEntity>);
|
7
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioScheduleDayEntity = void 0;
|
4
|
+
var PayioScheduleDayEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioScheduleDayEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.day = '';
|
10
|
+
this.slots = [];
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return PayioScheduleDayEntity;
|
20
|
+
}());
|
21
|
+
exports.PayioScheduleDayEntity = PayioScheduleDayEntity;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { IPayioScheduleProduct } from '../interfaces/i-schedule-product';
|
2
|
+
export declare class PayioScheduleProductEntity implements IPayioScheduleProduct {
|
3
|
+
code: string;
|
4
|
+
description: string;
|
5
|
+
id: string;
|
6
|
+
maxWeightLimit: number;
|
7
|
+
price: number;
|
8
|
+
unit: string;
|
9
|
+
weightLimitExceededMessageId: number;
|
10
|
+
weightLimitExceededMessageText: string;
|
11
|
+
weightLimitExceededPrice: number;
|
12
|
+
constructor(data?: Partial<PayioScheduleProductEntity>);
|
13
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioScheduleProductEntity = void 0;
|
4
|
+
var PayioScheduleProductEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (9)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function PayioScheduleProductEntity(data) {
|
8
|
+
// #region Properties (9)
|
9
|
+
this.code = '';
|
10
|
+
this.description = '';
|
11
|
+
this.id = '';
|
12
|
+
this.maxWeightLimit = 0;
|
13
|
+
this.price = 0;
|
14
|
+
this.unit = 'KG';
|
15
|
+
this.weightLimitExceededMessageId = 0;
|
16
|
+
this.weightLimitExceededMessageText = '';
|
17
|
+
this.weightLimitExceededPrice = 0;
|
18
|
+
if (data) {
|
19
|
+
for (var key in data) {
|
20
|
+
if (data.hasOwnProperty(key) && key in this) {
|
21
|
+
this[key] = data[key];
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return PayioScheduleProductEntity;
|
27
|
+
}());
|
28
|
+
exports.PayioScheduleProductEntity = PayioScheduleProductEntity;
|
@@ -7,7 +7,7 @@ var PayioScheduleSlotEntity = /** @class */ (function () {
|
|
7
7
|
function PayioScheduleSlotEntity(data) {
|
8
8
|
// #region Properties (2)
|
9
9
|
this.productCode = '';
|
10
|
-
this.
|
10
|
+
this.time = '';
|
11
11
|
if (data) {
|
12
12
|
for (var key in data) {
|
13
13
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { IPayioSchedule } from '../interfaces';
|
2
|
-
import { PayioScheduleSlotEntity } from './schedule-slot.entity';
|
1
|
+
import { IPayioSchedule, IPayioScheduleDay, IPayioScheduleProduct } from '../interfaces';
|
3
2
|
export declare class PayioScheduleEntity implements IPayioSchedule {
|
4
3
|
active: boolean;
|
5
4
|
createdAt: Date;
|
5
|
+
days: IPayioScheduleDay[];
|
6
6
|
id: string;
|
7
|
-
|
7
|
+
name: string;
|
8
|
+
products: IPayioScheduleProduct[];
|
8
9
|
updatedAt: Date;
|
9
10
|
constructor(data?: Partial<PayioScheduleEntity>);
|
10
11
|
}
|
@@ -2,14 +2,16 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioScheduleEntity = void 0;
|
4
4
|
var PayioScheduleEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (7)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function PayioScheduleEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (7)
|
9
9
|
this.active = true;
|
10
10
|
this.createdAt = new Date();
|
11
|
-
this.
|
12
|
-
this.
|
11
|
+
this.days = [];
|
12
|
+
this.id = '';
|
13
|
+
this.name = '';
|
14
|
+
this.products = [];
|
13
15
|
this.updatedAt = new Date();
|
14
16
|
if (data) {
|
15
17
|
for (var key in data) {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface IPayioScheduleProduct {
|
2
|
+
code: string;
|
3
|
+
description: string;
|
4
|
+
id: string;
|
5
|
+
maxWeightLimit: number;
|
6
|
+
weightLimitExceededMessageId: number;
|
7
|
+
weightLimitExceededPrice: number;
|
8
|
+
weightLimitExceededMessageText: string;
|
9
|
+
price: number;
|
10
|
+
unit: string;
|
11
|
+
}
|
@@ -1,8 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { IPayioScheduleDay } from './i-schedule-day';
|
2
|
+
import { IPayioScheduleProduct } from './i-schedule-product';
|
2
3
|
export interface IPayioSchedule {
|
3
4
|
active: boolean;
|
4
5
|
createdAt: Date;
|
5
|
-
|
6
|
+
days: IPayioScheduleDay[];
|
7
|
+
products: IPayioScheduleProduct[];
|
6
8
|
id: string;
|
9
|
+
name: string;
|
7
10
|
updatedAt: Date;
|
8
11
|
}
|
@@ -1,2 +1,4 @@
|
|
1
1
|
export { IPayioSchedule } from './i-schedule';
|
2
|
-
export {
|
2
|
+
export { IPayioScheduleDay } from './i-schedule-day';
|
3
|
+
export { IPayioScheduleSlot } from './i-schedule-slots';
|
4
|
+
export { IPayioScheduleProduct } from './i-schedule-product';
|
package/package.json
CHANGED
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zY2hlZHVsZS1zbG90LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL3BheWlvL3NjaGVkdWxlcy9pbnRlcmZhY2VzL2ktc2NoZWR1bGUtc2xvdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJUGF5aW9TY2hlZHVsZVNsb3Qge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMilcclxuXHJcbiAgcHJvZHVjdENvZGU6IHN0cmluZztcclxuICBzbG90OiBzdHJpbmc7IC8vIDA4OjAwLTEyOjAwXHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMilcclxufVxyXG4iXX0=
|
/package/dist/payio/{schedules/interfaces/i-schedule-slot.js → device/interfaces/i-device-chef.js}
RENAMED
File without changes
|