cecon-interfaces 1.9.15 → 1.9.16
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 +4 -2
- package/dist/esm2022/payio/activation-key/interfaces/i-activation-key.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/activation-key/entities/activation-key.entity.d.ts +3 -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 -0
- package/package.json +1 -1
@@ -9,8 +9,8 @@ export declare class PayioActivationKeyEntity implements IPayioActivationKey {
|
|
9
9
|
companyId: string | null;
|
10
10
|
createdAt: Date;
|
11
11
|
deviceId: string | null;
|
12
|
-
distributorName: string;
|
13
12
|
distributorId: string;
|
13
|
+
distributorName: string;
|
14
14
|
gracePeriodDays: number;
|
15
15
|
hardwareFingerprint: string | null;
|
16
16
|
id: string;
|
@@ -20,7 +20,9 @@ export declare class PayioActivationKeyEntity implements IPayioActivationKey {
|
|
20
20
|
notes: string | null;
|
21
21
|
status: EPayioActivationKeyStatus;
|
22
22
|
tags: string[];
|
23
|
+
updatedAt: Date;
|
23
24
|
validityPeriodMonths: number;
|
25
|
+
validityTrialPeriodDays: number;
|
24
26
|
versionConstraint: string[];
|
25
27
|
constructor(data?: Partial<PayioActivationKeyEntity>);
|
26
28
|
}
|
@@ -23,10 +23,10 @@ var PayioActivationKeyEntity = /** @class */ (function () {
|
|
23
23
|
this.createdAt = new Date();
|
24
24
|
// ID do dispositivo (preenchido na ativação)
|
25
25
|
this.deviceId = null;
|
26
|
-
this.distributorName = '';
|
27
26
|
// === DADOS DE DISTRIBUIÇÃO (copiados do batch) ===
|
28
27
|
// ID do distribuidor
|
29
28
|
this.distributorId = '';
|
29
|
+
this.distributorName = '';
|
30
30
|
// Dias de tolerância (copiado do batch)
|
31
31
|
this.gracePeriodDays = 0;
|
32
32
|
// Hash da máquina que consumiu a licença
|
@@ -45,8 +45,10 @@ var PayioActivationKeyEntity = /** @class */ (function () {
|
|
45
45
|
this.status = activation_key_status_enum_1.EPayioActivationKeyStatus.AVAILABLE;
|
46
46
|
// Tags para categorização
|
47
47
|
this.tags = [];
|
48
|
+
this.updatedAt = new Date();
|
48
49
|
// Período de validade em meses (copiado do batch)
|
49
50
|
this.validityPeriodMonths = 12; // 1 ano;
|
51
|
+
this.validityTrialPeriodDays = 0;
|
50
52
|
// Versão do software (copiado do batch)
|
51
53
|
this.versionConstraint = [];
|
52
54
|
if (data) {
|
@@ -7,6 +7,7 @@ export interface IPayioActivationKey {
|
|
7
7
|
batchId: string;
|
8
8
|
licenseType: EPayioLicenseType;
|
9
9
|
validityPeriodMonths: number;
|
10
|
+
validityTrialPeriodDays: number;
|
10
11
|
gracePeriodDays: number;
|
11
12
|
versionConstraint: string[];
|
12
13
|
activationDate: Date | null;
|
@@ -21,4 +22,5 @@ export interface IPayioActivationKey {
|
|
21
22
|
notes: string | null;
|
22
23
|
tags: string[];
|
23
24
|
logs: string[];
|
25
|
+
updatedAt: Date;
|
24
26
|
}
|