cecon-interfaces 1.1.75 → 1.1.76
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/token/entities/token.entity.mjs +9 -8
- package/dist/esm2022/token/interfaces/i-token.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +8 -7
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/token/entities/token.entity.d.ts +7 -6
- package/dist/token/entities/token.entity.js +8 -7
- package/dist/token/interfaces/i-token.d.ts +4 -3
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
import { IToken } from '../interfaces';
|
2
2
|
export declare class TokenEntity implements IToken {
|
3
3
|
active: boolean;
|
4
|
+
companyId: string | null;
|
5
|
+
companyName: string;
|
6
|
+
containerId: string | null;
|
4
7
|
createdAt: number;
|
8
|
+
customerId: string | null;
|
9
|
+
description: string;
|
5
10
|
expiresAt: number;
|
6
11
|
id: string;
|
12
|
+
lastAccessAt: number;
|
7
13
|
name: string;
|
8
|
-
|
9
|
-
companyName: string;
|
10
|
-
partnerId: string;
|
11
|
-
containerId: string;
|
14
|
+
partnerId: string | null;
|
12
15
|
sandbox: boolean;
|
13
|
-
lastAccessAt: number;
|
14
|
-
description: string;
|
15
16
|
value: string;
|
16
17
|
constructor(data?: Partial<TokenEntity>);
|
17
18
|
}
|
@@ -2,22 +2,23 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.TokenEntity = void 0;
|
4
4
|
var TokenEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (
|
5
|
+
// #endregion Properties (14)
|
6
6
|
// #region Constructors (1)
|
7
7
|
function TokenEntity(data) {
|
8
|
-
// #region Properties (
|
8
|
+
// #region Properties (14)
|
9
9
|
this.active = true;
|
10
|
+
this.companyId = '';
|
11
|
+
this.companyName = '';
|
12
|
+
this.containerId = '';
|
10
13
|
this.createdAt = Date.now();
|
14
|
+
this.customerId = '';
|
15
|
+
this.description = '';
|
11
16
|
this.expiresAt = Date.now();
|
12
17
|
this.id = '';
|
18
|
+
this.lastAccessAt = Date.now();
|
13
19
|
this.name = '';
|
14
|
-
this.companyId = '';
|
15
|
-
this.companyName = '';
|
16
20
|
this.partnerId = '';
|
17
|
-
this.containerId = '';
|
18
21
|
this.sandbox = false;
|
19
|
-
this.lastAccessAt = Date.now();
|
20
|
-
this.description = '';
|
21
22
|
this.value = '';
|
22
23
|
if (data) {
|
23
24
|
for (var key in data) {
|
@@ -4,10 +4,11 @@ export interface IToken {
|
|
4
4
|
expiresAt: number;
|
5
5
|
id: string;
|
6
6
|
name: string;
|
7
|
-
companyId: string;
|
7
|
+
companyId: string | null;
|
8
8
|
companyName: string;
|
9
|
-
partnerId: string;
|
10
|
-
|
9
|
+
partnerId: string | null;
|
10
|
+
customerId: string | null;
|
11
|
+
containerId: string | null;
|
11
12
|
sandbox: boolean;
|
12
13
|
lastAccessAt: number;
|
13
14
|
description: string;
|