cecon-interfaces 1.1.74 → 1.1.76
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/member/enums/member-type.enum.mjs +2 -1
- 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 +9 -7
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member/enums/member-type.enum.d.ts +2 -1
- package/dist/member/enums/member-type.enum.js +1 -0
- 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
@@ -3,5 +3,6 @@ export var MemberTypeEnum;
|
|
3
3
|
MemberTypeEnum["PARTNER"] = "PARTNER";
|
4
4
|
MemberTypeEnum["ADMIN"] = "ADMIN";
|
5
5
|
MemberTypeEnum["CLIENT"] = "CLIENT";
|
6
|
+
MemberTypeEnum["CUSTOMER"] = "CUSTOMER";
|
6
7
|
})(MemberTypeEnum || (MemberTypeEnum = {}));
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVtYmVyLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tZW1iZXIvZW51bXMvbWVtYmVyLXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxjQUtYO0FBTEQsV0FBWSxjQUFjO0lBQ3hCLHFDQUFtQixDQUFBO0lBQ25CLGlDQUFlLENBQUE7SUFDZixtQ0FBaUIsQ0FBQTtJQUNqQix1Q0FBcUIsQ0FBQTtBQUN2QixDQUFDLEVBTFcsY0FBYyxLQUFkLGNBQWMsUUFLekIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBNZW1iZXJUeXBlRW51bSB7XHJcbiAgUEFSVE5FUiA9ICdQQVJUTkVSJyxcclxuICBBRE1JTiA9ICdBRE1JTicsXHJcbiAgQ0xJRU5UID0gJ0NMSUVOVCcsXHJcbiAgQ1VTVE9NRVIgPSAnQ1VTVE9NRVInLFxyXG59XHJcbiJdfQ==
|
@@ -1,19 +1,20 @@
|
|
1
1
|
export class TokenEntity {
|
2
|
-
// #region Properties (
|
2
|
+
// #region Properties (14)
|
3
3
|
active = true;
|
4
|
+
companyId = '';
|
5
|
+
companyName = '';
|
6
|
+
containerId = '';
|
4
7
|
createdAt = Date.now();
|
8
|
+
customerId = '';
|
9
|
+
description = '';
|
5
10
|
expiresAt = Date.now();
|
6
11
|
id = '';
|
12
|
+
lastAccessAt = Date.now();
|
7
13
|
name = '';
|
8
|
-
companyId = '';
|
9
|
-
companyName = '';
|
10
14
|
partnerId = '';
|
11
|
-
containerId = '';
|
12
15
|
sandbox = false;
|
13
|
-
lastAccessAt = Date.now();
|
14
|
-
description = '';
|
15
16
|
value = '';
|
16
|
-
// #endregion Properties (
|
17
|
+
// #endregion Properties (14)
|
17
18
|
// #region Constructors (1)
|
18
19
|
constructor(data) {
|
19
20
|
if (data) {
|
@@ -25,4 +26,4 @@ export class TokenEntity {
|
|
25
26
|
}
|
26
27
|
}
|
27
28
|
}
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9rZW4uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Rva2VuL2VudGl0aWVzL3Rva2VuLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sV0FBVztJQUN0QiwwQkFBMEI7SUFFbkIsTUFBTSxHQUFZLElBQUksQ0FBQztJQUN2QixTQUFTL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W2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS10b2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90b2tlbi9pbnRlcmZhY2VzL2ktdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVRva2VuIHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDE4KVxyXG5cclxuICBhY3RpdmU6IGJvb2xlYW47XHJcbiAgY3JlYXRlZEF0OiBudW1iZXI7XHJcbiAgZXhwaXJlc0F0OiBudW1iZXI7XHJcbiAgaWQ6IHN0cmluZztcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgY29tcGFueUlkOiBzdHJpbmcgfCBudWxsO1xyXG4gIGNvbXBhbnlOYW1lOiBzdHJpbmc7XHJcbiAgcGFydG5lcklkOiBzdHJpbmcgfCBudWxsO1xyXG4gIGN1c3RvbWVySWQ6IHN0cmluZyB8IG51bGw7XHJcbiAgY29udGFpbmVySWQ6IHN0cmluZyB8IG51bGw7XHJcbiAgc2FuZGJveDogYm9vbGVhbjtcclxuICBsYXN0QWNjZXNzQXQ6IG51bWJlcjtcclxuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xyXG4gIHZhbHVlOiBzdHJpbmc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTgpXHJcbn1cclxuIl19
|
@@ -1580,6 +1580,7 @@ var MemberTypeEnum;
|
|
1580
1580
|
MemberTypeEnum["PARTNER"] = "PARTNER";
|
1581
1581
|
MemberTypeEnum["ADMIN"] = "ADMIN";
|
1582
1582
|
MemberTypeEnum["CLIENT"] = "CLIENT";
|
1583
|
+
MemberTypeEnum["CUSTOMER"] = "CUSTOMER";
|
1583
1584
|
})(MemberTypeEnum || (MemberTypeEnum = {}));
|
1584
1585
|
|
1585
1586
|
class MemberEntity extends BaseEntity {
|
@@ -3342,21 +3343,22 @@ class SubscriptionCustomerEntity extends SubscriptionBaseEntity {
|
|
3342
3343
|
}
|
3343
3344
|
|
3344
3345
|
class TokenEntity {
|
3345
|
-
// #region Properties (
|
3346
|
+
// #region Properties (14)
|
3346
3347
|
active = true;
|
3348
|
+
companyId = '';
|
3349
|
+
companyName = '';
|
3350
|
+
containerId = '';
|
3347
3351
|
createdAt = Date.now();
|
3352
|
+
customerId = '';
|
3353
|
+
description = '';
|
3348
3354
|
expiresAt = Date.now();
|
3349
3355
|
id = '';
|
3356
|
+
lastAccessAt = Date.now();
|
3350
3357
|
name = '';
|
3351
|
-
companyId = '';
|
3352
|
-
companyName = '';
|
3353
3358
|
partnerId = '';
|
3354
|
-
containerId = '';
|
3355
3359
|
sandbox = false;
|
3356
|
-
lastAccessAt = Date.now();
|
3357
|
-
description = '';
|
3358
3360
|
value = '';
|
3359
|
-
// #endregion Properties (
|
3361
|
+
// #endregion Properties (14)
|
3360
3362
|
// #region Constructors (1)
|
3361
3363
|
constructor(data) {
|
3362
3364
|
if (data) {
|