cecon-interfaces 2.0.13 → 2.0.15
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/payload/entities/index.mjs +2 -1
- package/dist/esm2022/payio/payload/entities/payload-activation.entity.mjs +17 -0
- package/dist/esm2022/payio/payload/entities/payload-device.entity.mjs +2 -12
- package/dist/esm2022/payio/payload/interfaces/i-payload-activation.mjs +2 -0
- package/dist/esm2022/payio/payload/interfaces/i-payload-device.mjs +1 -1
- package/dist/esm2022/payio/payload/interfaces/i-payload.mjs +1 -1
- package/dist/esm2022/payio/payload/interfaces/index.mjs +1 -1
- package/dist/esm2022/payio/tokens/entities/token.entity.mjs +2 -4
- package/dist/esm2022/payio/tokens/interfaces/i-token.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +19 -14
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/payload/entities/index.d.ts +1 -0
- package/dist/payio/payload/entities/index.js +3 -1
- package/dist/payio/payload/entities/payload-activation.entity.d.ts +9 -0
- package/dist/payio/payload/entities/payload-activation.entity.js +21 -0
- package/dist/payio/payload/entities/payload-device.entity.d.ts +1 -11
- package/dist/payio/payload/entities/payload-device.entity.js +1 -11
- package/dist/payio/payload/interfaces/i-payload-activation.d.ts +7 -0
- package/dist/payio/payload/interfaces/i-payload-activation.js +2 -0
- package/dist/payio/payload/interfaces/i-payload-device.d.ts +2 -12
- package/dist/payio/payload/interfaces/i-payload.d.ts +2 -0
- package/dist/payio/payload/interfaces/index.d.ts +1 -0
- package/dist/payio/tokens/entities/token.entity.d.ts +1 -0
- package/dist/payio/tokens/entities/token.entity.js +1 -3
- package/dist/payio/tokens/interfaces/i-token.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { PayioJwtPayloadActivationEntity } from './payload-activation.entity';
|
|
1
2
|
export { PayioJwtPayloadAppEntity } from './payload-app.entity';
|
|
2
3
|
export { PayioJwtPayloadDeviceEntity } from './payload-device.entity';
|
|
3
4
|
export { PayioJwtPayloadInfoEntity } from './payload-info.entity';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PayioJwtPayloadEntity = exports.PayioJwtPayloadUserEntity = exports.PayioJwtPayloadSubscriptionEntity = exports.PayioJwtPayloadInfoEntity = exports.PayioJwtPayloadDeviceEntity = exports.PayioJwtPayloadAppEntity = void 0;
|
|
3
|
+
exports.PayioJwtPayloadEntity = exports.PayioJwtPayloadUserEntity = exports.PayioJwtPayloadSubscriptionEntity = exports.PayioJwtPayloadInfoEntity = exports.PayioJwtPayloadDeviceEntity = exports.PayioJwtPayloadAppEntity = exports.PayioJwtPayloadActivationEntity = void 0;
|
|
4
|
+
var payload_activation_entity_1 = require("./payload-activation.entity");
|
|
5
|
+
Object.defineProperty(exports, "PayioJwtPayloadActivationEntity", { enumerable: true, get: function () { return payload_activation_entity_1.PayioJwtPayloadActivationEntity; } });
|
|
4
6
|
var payload_app_entity_1 = require("./payload-app.entity");
|
|
5
7
|
Object.defineProperty(exports, "PayioJwtPayloadAppEntity", { enumerable: true, get: function () { return payload_app_entity_1.PayioJwtPayloadAppEntity; } });
|
|
6
8
|
var payload_device_entity_1 = require("./payload-device.entity");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EPayioActivationKeyStatus } from '../../activation-key';
|
|
2
|
+
import { IPayioJwtPayloadActivation } from '../interfaces';
|
|
3
|
+
export declare class PayioJwtPayloadActivationEntity implements IPayioJwtPayloadActivation {
|
|
4
|
+
activationExpiresAt: Date | null;
|
|
5
|
+
activationId: string | null;
|
|
6
|
+
activationKey: string | null;
|
|
7
|
+
activationStatus: EPayioActivationKeyStatus;
|
|
8
|
+
constructor(data?: Partial<PayioJwtPayloadActivationEntity>);
|
|
9
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PayioJwtPayloadActivationEntity = void 0;
|
|
4
|
+
var activation_key_1 = require("../../activation-key");
|
|
5
|
+
var PayioJwtPayloadActivationEntity = /** @class */ (function () {
|
|
6
|
+
function PayioJwtPayloadActivationEntity(data) {
|
|
7
|
+
this.activationExpiresAt = null;
|
|
8
|
+
this.activationId = null;
|
|
9
|
+
this.activationKey = null;
|
|
10
|
+
this.activationStatus = activation_key_1.EPayioActivationKeyStatus.NONE;
|
|
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 PayioJwtPayloadActivationEntity;
|
|
20
|
+
}());
|
|
21
|
+
exports.PayioJwtPayloadActivationEntity = PayioJwtPayloadActivationEntity;
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import { EPayioActivationKeyStatus } from '../../activation-key/enums/activation-key-status.enum';
|
|
2
1
|
import { IPayioJwtPayloadDevice } from '../interfaces/i-payload-device';
|
|
3
2
|
export declare class PayioJwtPayloadDeviceEntity implements IPayioJwtPayloadDevice {
|
|
4
|
-
activationExpiresAt: Date | null;
|
|
5
|
-
activationId: string | null;
|
|
6
|
-
activationKey: string | null;
|
|
7
|
-
activationStatus: EPayioActivationKeyStatus;
|
|
8
|
-
bigChefConfigId: string | null;
|
|
9
|
-
cashConfigId: string | null;
|
|
10
|
-
chefConfigId: string | null;
|
|
11
|
-
zeConfigId: string | null;
|
|
12
3
|
id: string;
|
|
13
4
|
name: string | null;
|
|
14
|
-
|
|
15
|
-
smartConfigId: string | null;
|
|
5
|
+
uid: string | null;
|
|
16
6
|
constructor(data?: Partial<PayioJwtPayloadDeviceEntity>);
|
|
17
7
|
}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioJwtPayloadDeviceEntity = void 0;
|
|
4
|
-
var activation_key_status_enum_1 = require("../../activation-key/enums/activation-key-status.enum");
|
|
5
4
|
var PayioJwtPayloadDeviceEntity = /** @class */ (function () {
|
|
6
5
|
function PayioJwtPayloadDeviceEntity(data) {
|
|
7
|
-
this.activationExpiresAt = null;
|
|
8
|
-
this.activationId = '';
|
|
9
|
-
this.activationKey = '';
|
|
10
|
-
this.activationStatus = activation_key_status_enum_1.EPayioActivationKeyStatus.NONE;
|
|
11
|
-
this.bigChefConfigId = '';
|
|
12
|
-
this.cashConfigId = '';
|
|
13
|
-
this.chefConfigId = '';
|
|
14
|
-
this.zeConfigId = '';
|
|
15
6
|
this.id = '';
|
|
16
7
|
this.name = '';
|
|
17
|
-
this.
|
|
18
|
-
this.smartConfigId = '';
|
|
8
|
+
this.uid = null;
|
|
19
9
|
if (data) {
|
|
20
10
|
for (var key in data) {
|
|
21
11
|
if (data.hasOwnProperty(key) && key in this) {
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import { EPayioActivationKeyStatus } from "../../activation-key/enums/activation-key-status.enum";
|
|
2
1
|
export interface IPayioJwtPayloadDevice {
|
|
3
|
-
|
|
4
|
-
activationId: string | null;
|
|
5
|
-
activationKey: string | null;
|
|
6
|
-
activationStatus: EPayioActivationKeyStatus;
|
|
7
|
-
bigChefConfigId: string | null;
|
|
8
|
-
cashConfigId: string | null;
|
|
9
|
-
chefConfigId: string | null;
|
|
10
|
-
zeConfigId: string | null;
|
|
11
|
-
id: string;
|
|
2
|
+
id: string | null;
|
|
12
3
|
name: string | null;
|
|
13
|
-
|
|
14
|
-
smartConfigId: string | null;
|
|
4
|
+
uid: string | null;
|
|
15
5
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IPayioJwtPayloadActivation } from '../..';
|
|
1
2
|
import { EPayioJwtTokenType } from '../enums';
|
|
2
3
|
import { IPayioJwtPayloadApp } from './i-payload-app';
|
|
3
4
|
import { IPayioJwtPayloadDevice } from './i-payload-device';
|
|
@@ -10,6 +11,7 @@ export interface IPayioJwtPayload {
|
|
|
10
11
|
* Pode ser uma string única ou um array de strings para múltiplas audiências.
|
|
11
12
|
*/
|
|
12
13
|
aud: string | string[];
|
|
14
|
+
activation?: IPayioJwtPayloadActivation | null;
|
|
13
15
|
device: IPayioJwtPayloadDevice | null;
|
|
14
16
|
distributorId: string | null;
|
|
15
17
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { IPayioJwtPayload } from './i-payload';
|
|
2
|
+
export { IPayioJwtPayloadActivation } from './i-payload-activation';
|
|
2
3
|
export { IPayioJwtPayloadApp } from './i-payload-app';
|
|
3
4
|
export { IPayioJwtPayloadDevice } from './i-payload-device';
|
|
4
5
|
export { IPayioJwtPayloadInfo } from './i-payload-info';
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PayioTokenEntity = void 0;
|
|
4
4
|
var PayioTokenEntity = /** @class */ (function () {
|
|
5
|
-
// #endregion Properties (12)
|
|
6
|
-
// #region Constructors (1)
|
|
7
5
|
function PayioTokenEntity(data) {
|
|
8
|
-
// #region Properties (12)
|
|
9
6
|
this.appId = '';
|
|
7
|
+
this.companyId = null;
|
|
10
8
|
this.createdAt = new Date();
|
|
11
9
|
this.deviceId = null;
|
|
12
10
|
this.expiresAt = new Date();
|