cecon-interfaces 1.5.51 → 1.5.52
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/member/entities/member.entity.mjs +8 -4
- package/dist/esm2022/member/interfaces/i-member.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +7 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/member/entities/member.entity.d.ts +6 -2
- package/dist/member/entities/member.entity.js +7 -3
- package/dist/member/interfaces/i-member.d.ts +2 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -5,10 +5,11 @@ export declare class MemberEntity extends BaseEntity implements IMember {
|
|
5
5
|
active: boolean;
|
6
6
|
companyName: string;
|
7
7
|
containerName: string;
|
8
|
+
developerId: string | null;
|
8
9
|
email: string;
|
9
|
-
name: string;
|
10
|
-
partnerId: string;
|
11
10
|
internationalCode: string;
|
11
|
+
name: string;
|
12
|
+
partnerId: string | null;
|
12
13
|
phoneNumber: string;
|
13
14
|
phoneNumberVerified: boolean;
|
14
15
|
phoneNumberVerifiedAt: Date | null;
|
@@ -16,6 +17,9 @@ export declare class MemberEntity extends BaseEntity implements IMember {
|
|
16
17
|
rule: MemberRulesEnum;
|
17
18
|
tags: string[];
|
18
19
|
type: MemberTypeEnum;
|
20
|
+
/**
|
21
|
+
* @deprecated Use `id` instead.
|
22
|
+
*/
|
19
23
|
uid: string;
|
20
24
|
constructor(data?: Partial<MemberEntity>);
|
21
25
|
}
|
@@ -20,18 +20,19 @@ var general_1 = require("../../general");
|
|
20
20
|
var enums_1 = require("../enums");
|
21
21
|
var MemberEntity = /** @class */ (function (_super) {
|
22
22
|
__extends(MemberEntity, _super);
|
23
|
-
// #endregion Properties (
|
23
|
+
// #endregion Properties (16)
|
24
24
|
// #region Constructors (1)
|
25
25
|
function MemberEntity(data) {
|
26
26
|
var _this = _super.call(this, data) || this;
|
27
|
-
// #region Properties (
|
27
|
+
// #region Properties (16)
|
28
28
|
_this.active = true;
|
29
29
|
_this.companyName = '';
|
30
30
|
_this.containerName = '';
|
31
|
+
_this.developerId = '';
|
31
32
|
_this.email = '';
|
33
|
+
_this.internationalCode = '55';
|
32
34
|
_this.name = '';
|
33
35
|
_this.partnerId = '';
|
34
|
-
_this.internationalCode = '55';
|
35
36
|
_this.phoneNumber = '';
|
36
37
|
_this.phoneNumberVerified = false;
|
37
38
|
_this.phoneNumberVerifiedAt = null;
|
@@ -39,6 +40,9 @@ var MemberEntity = /** @class */ (function (_super) {
|
|
39
40
|
_this.rule = enums_1.MemberRulesEnum.USER;
|
40
41
|
_this.tags = [];
|
41
42
|
_this.type = enums_1.MemberTypeEnum.CLIENT;
|
43
|
+
/**
|
44
|
+
* @deprecated Use `id` instead.
|
45
|
+
*/
|
42
46
|
_this.uid = '';
|
43
47
|
if (data) {
|
44
48
|
for (var key in data) {
|
@@ -5,7 +5,8 @@ export interface IMember extends IBase {
|
|
5
5
|
containerName: string;
|
6
6
|
email: string;
|
7
7
|
name: string;
|
8
|
-
partnerId: string;
|
8
|
+
partnerId: string | null;
|
9
|
+
developerId: string | null;
|
9
10
|
internationalCode: string;
|
10
11
|
phoneNumber: string;
|
11
12
|
phoneNumberVerified: boolean;
|
package/dist/package.json
CHANGED