cecon-interfaces 1.9.19 → 1.9.22
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/activation-key/entities/activation-key.entity.mjs +3 -2
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key.mjs +1 -1
- package/dist/esm2022/payio/payload/entities/payload-app.entity.mjs +1 -2
- package/dist/esm2022/payio/payload/entities/payload-device.entity.mjs +5 -4
- package/dist/esm2022/payio/payload/entities/payload.entity.mjs +1 -6
- package/dist/esm2022/payio/payload/interfaces/i-payload-app.mjs +1 -1
- 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/fesm2022/cecon-interfaces.mjs +5 -9
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/activation-key/entities/activation-key.entity.d.ts +2 -1
- package/dist/payio/activation-key/entities/activation-key.entity.js +3 -1
- package/dist/payio/activation-key/interfaces/i-activation-key.d.ts +2 -1
- package/dist/payio/payload/entities/payload-app.entity.d.ts +0 -1
- package/dist/payio/payload/entities/payload-app.entity.js +0 -1
- package/dist/payio/payload/entities/payload-device.entity.d.ts +4 -0
- package/dist/payio/payload/entities/payload-device.entity.js +4 -3
- package/dist/payio/payload/entities/payload.entity.d.ts +0 -2
- package/dist/payio/payload/entities/payload.entity.js +0 -5
- package/dist/payio/payload/interfaces/i-payload-app.d.ts +0 -1
- package/dist/payio/payload/interfaces/i-payload-device.d.ts +5 -1
- package/dist/payio/payload/interfaces/i-payload.d.ts +0 -2
- package/package.json +1 -1
@@ -2,7 +2,7 @@ import { EPayioActivationKeyStatus } from "../enums/activation-key-status.enum";
|
|
2
2
|
import { EPayioLicenseType } from "../enums/license-type.enum";
|
3
3
|
import { IPayioActivationKey } from "../interfaces/i-activation-key";
|
4
4
|
export declare class PayioActivationKeyEntity implements IPayioActivationKey {
|
5
|
-
|
5
|
+
activationAt: Date | null;
|
6
6
|
appId: string | null;
|
7
7
|
appSlug: string | null;
|
8
8
|
batchId: string;
|
@@ -15,6 +15,7 @@ export declare class PayioActivationKeyEntity implements IPayioActivationKey {
|
|
15
15
|
gracePeriodDays: number;
|
16
16
|
hardwareFingerprint: string | null;
|
17
17
|
id: string;
|
18
|
+
installationAt: Date | null;
|
18
19
|
key: string | null;
|
19
20
|
licenseType: EPayioLicenseType;
|
20
21
|
logs: string[];
|
@@ -7,7 +7,7 @@ var PayioActivationKeyEntity = /** @class */ (function () {
|
|
7
7
|
function PayioActivationKeyEntity(data) {
|
8
8
|
// === CAMPOS PREENCHIDOS NA ATIVAÇÃO ===
|
9
9
|
// Data em que a chave foi ativada (null = não ativada)
|
10
|
-
this.
|
10
|
+
this.activationAt = null;
|
11
11
|
// === REFERÊNCIAS DO SISTEMA ===
|
12
12
|
// ID do aplicativo (copiado do batch)
|
13
13
|
this.appId = null;
|
@@ -34,6 +34,8 @@ var PayioActivationKeyEntity = /** @class */ (function () {
|
|
34
34
|
this.hardwareFingerprint = null;
|
35
35
|
// Identificador único da chave (UUID)
|
36
36
|
this.id = '';
|
37
|
+
// data da instalaçao do dispositivo
|
38
|
+
this.installationAt = null;
|
37
39
|
// A chave de ativação em si (ex.: "PAYIO-XXXXX-XXXXX-XXXXX")
|
38
40
|
this.key = null;
|
39
41
|
// === DADOS COPIADOS DO LOTE (para performance) ===
|
@@ -10,13 +10,14 @@ export interface IPayioActivationKey {
|
|
10
10
|
validityTrialPeriodDays: number;
|
11
11
|
gracePeriodDays: number;
|
12
12
|
versionConstraint: string[];
|
13
|
-
|
13
|
+
activationAt: Date | null;
|
14
14
|
hardwareFingerprint: string | null;
|
15
15
|
appId: string | null;
|
16
16
|
appSlug: string | null;
|
17
17
|
companyId: string | null;
|
18
18
|
companyName: string | null;
|
19
19
|
deviceId: string | null;
|
20
|
+
installationAt: Date | null;
|
20
21
|
distributorId: string;
|
21
22
|
distributorName: string;
|
22
23
|
createdAt: Date;
|
@@ -1,5 +1,9 @@
|
|
1
|
+
import { EPayioActivationKeyStatus } from '../../activation-key/enums/activation-key-status.enum';
|
1
2
|
import { IPayioJwtPayloadDevice } from '../interfaces/i-payload-device';
|
2
3
|
export declare class PayioJwtPayloadDeviceEntity implements IPayioJwtPayloadDevice {
|
4
|
+
activationKey: string | null;
|
5
|
+
activationKeyId: string | null;
|
6
|
+
activationStatus: EPayioActivationKeyStatus;
|
3
7
|
chefConfigId: string | null;
|
4
8
|
id: string;
|
5
9
|
name: string | null;
|
@@ -1,11 +1,12 @@
|
|
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");
|
4
5
|
var PayioJwtPayloadDeviceEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (4)
|
6
|
-
// #region Constructors (1)
|
7
6
|
function PayioJwtPayloadDeviceEntity(data) {
|
8
|
-
|
7
|
+
this.activationKey = '';
|
8
|
+
this.activationKeyId = '';
|
9
|
+
this.activationStatus = activation_key_status_enum_1.EPayioActivationKeyStatus.NONE;
|
9
10
|
this.chefConfigId = '';
|
10
11
|
this.id = '';
|
11
12
|
this.name = '';
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { EPayioActivationKeyStatus } from '../../activation-key/enums/activation-key-status.enum';
|
2
1
|
import { PayioPermissionEntity } from '../../permissions';
|
3
2
|
import { EPayioJwtTokenType } from '../enums';
|
4
3
|
import { IPayioJwtPayload } from '../interfaces/i-payload';
|
@@ -7,7 +6,6 @@ import { IPayioJwtPayloadInfo } from '../interfaces/i-payload-info';
|
|
7
6
|
import { PayioJwtPayloadDeviceEntity } from './payload-device.entity';
|
8
7
|
import { PayioJwtPayloadUserEntity } from './payload-user.entity';
|
9
8
|
export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
|
10
|
-
activationStatus: EPayioActivationKeyStatus;
|
11
9
|
app: IPayioJwtPayloadApp | null;
|
12
10
|
aud: string | string[];
|
13
11
|
device: PayioJwtPayloadDeviceEntity | null;
|
@@ -1,13 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioJwtPayloadEntity = void 0;
|
4
|
-
var activation_key_status_enum_1 = require("../../activation-key/enums/activation-key-status.enum");
|
5
4
|
var PayioJwtPayloadEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (16)
|
7
|
-
// #region Constructors (1)
|
8
5
|
function PayioJwtPayloadEntity(data) {
|
9
|
-
// #region Properties (16)
|
10
|
-
this.activationStatus = activation_key_status_enum_1.EPayioActivationKeyStatus.NONE;
|
11
6
|
this.app = null;
|
12
7
|
this.aud = '';
|
13
8
|
this.device = null;
|
@@ -1,6 +1,10 @@
|
|
1
|
+
import { EPayioActivationKeyStatus } from '../../activation-key/enums/activation-key-status.enum';
|
1
2
|
export interface IPayioJwtPayloadDevice {
|
3
|
+
activationKey: string | null;
|
4
|
+
activationKeyId: string | null;
|
5
|
+
activationStatus: EPayioActivationKeyStatus;
|
6
|
+
chefConfigId: string | null;
|
2
7
|
id: string;
|
3
8
|
name: string | null;
|
4
|
-
chefConfigId: string | null;
|
5
9
|
scheduleId: string | null;
|
6
10
|
}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { EPayioActivationKeyStatus } from '../../activation-key/enums/activation-key-status.enum';
|
2
1
|
import { IPayioPermission } from '../../permissions';
|
3
2
|
import { EPayioJwtTokenType } from '../enums';
|
4
3
|
import { IPayioJwtPayloadApp } from './i-payload-app';
|
@@ -23,7 +22,6 @@ export interface IPayioJwtPayload {
|
|
23
22
|
*/
|
24
23
|
iat: number;
|
25
24
|
info: IPayioJwtPayloadInfo | null;
|
26
|
-
activationStatus: EPayioActivationKeyStatus;
|
27
25
|
/**
|
28
26
|
* (Emissor): Identifica quem emitiu o JWT (o domínio da sua aplicação).
|
29
27
|
*/
|