cecon-interfaces 1.9.82 → 1.9.84
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/payio/device/entities/device-activation.entity.mjs +15 -0
- package/dist/esm2022/payio/device/entities/device.entity.mjs +2 -3
- package/dist/esm2022/payio/device/entities/index.mjs +2 -1
- package/dist/esm2022/payio/device/interfaces/i-device-activation.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 +17 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/device/entities/device-activation.entity.d.ts +7 -0
- package/dist/payio/device/entities/device-activation.entity.js +19 -0
- package/dist/payio/device/entities/device.entity.d.ts +2 -2
- package/dist/payio/device/entities/device.entity.js +1 -2
- 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-activation.d.ts +5 -0
- package/dist/payio/device/interfaces/i-device-activation.js +2 -0
- package/dist/payio/device/interfaces/i-device.d.ts +2 -2
- package/dist/payio/device/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IPayioDeviceActivation } from '../interfaces/i-device-activation';
|
2
|
+
export declare class PayioDeviceActivationEntity implements IPayioDeviceActivation {
|
3
|
+
appId: string | null;
|
4
|
+
activationId: string | null;
|
5
|
+
activationKey: string | null;
|
6
|
+
constructor(data?: Partial<PayioDeviceActivationEntity>);
|
7
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioDeviceActivationEntity = void 0;
|
4
|
+
var PayioDeviceActivationEntity = /** @class */ (function () {
|
5
|
+
function PayioDeviceActivationEntity(data) {
|
6
|
+
this.appId = null;
|
7
|
+
this.activationId = null;
|
8
|
+
this.activationKey = null;
|
9
|
+
if (data) {
|
10
|
+
for (var key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return PayioDeviceActivationEntity;
|
18
|
+
}());
|
19
|
+
exports.PayioDeviceActivationEntity = PayioDeviceActivationEntity;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { IPayioDevice } from '../interfaces/i-device';
|
2
|
+
import { IPayioDeviceActivation } from '../interfaces/i-device-activation';
|
2
3
|
import { PayioDeviceChefEntity } from './device-chef.entity';
|
3
4
|
export declare class PayioDeviceEntity implements IPayioDevice {
|
4
|
-
|
5
|
-
activationKey: string | null;
|
5
|
+
activations: IPayioDeviceActivation[];
|
6
6
|
active: boolean;
|
7
7
|
chef: PayioDeviceChefEntity | null;
|
8
8
|
companyId: string;
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioDeviceEntity = void 0;
|
4
4
|
var PayioDeviceEntity = /** @class */ (function () {
|
5
5
|
function PayioDeviceEntity(data) {
|
6
|
-
this.
|
7
|
-
this.activationKey = null;
|
6
|
+
this.activations = [];
|
8
7
|
this.active = false;
|
9
8
|
this.chef = null;
|
10
9
|
this.companyId = '';
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioDeviceEntity = exports.PayioDeviceChefEntity = void 0;
|
3
|
+
exports.PayioDeviceEntity = exports.PayioDeviceChefEntity = exports.PayioDeviceActivationEntity = void 0;
|
4
|
+
var device_activation_entity_1 = require("./device-activation.entity");
|
5
|
+
Object.defineProperty(exports, "PayioDeviceActivationEntity", { enumerable: true, get: function () { return device_activation_entity_1.PayioDeviceActivationEntity; } });
|
4
6
|
var device_chef_entity_1 = require("./device-chef.entity");
|
5
7
|
Object.defineProperty(exports, "PayioDeviceChefEntity", { enumerable: true, get: function () { return device_chef_entity_1.PayioDeviceChefEntity; } });
|
6
8
|
var device_entity_1 = require("./device.entity");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { IPayioDeviceChef } from './i-device-chef';
|
2
|
+
import { IPayioDeviceActivation } from './i-device-activation';
|
2
3
|
export interface IPayioDevice {
|
3
|
-
|
4
|
-
activationId: string | null;
|
4
|
+
activations: IPayioDeviceActivation[];
|
5
5
|
active: boolean;
|
6
6
|
chef: IPayioDeviceChef | null;
|
7
7
|
companyId: string;
|