cecon-interfaces 1.5.51 → 1.5.53

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,17 +5,25 @@ 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;
10
+ imageUrl: string | null;
11
11
  internationalCode: string;
12
+ name: string;
13
+ partnerId: string | null;
12
14
  phoneNumber: string;
13
15
  phoneNumberVerified: boolean;
14
16
  phoneNumberVerifiedAt: Date | null;
15
- photoUrl: string;
17
+ /**
18
+ * @deprecated Use `imageUrl` instead
19
+ */
20
+ photoUrl: string | null;
16
21
  rule: MemberRulesEnum;
17
22
  tags: string[];
18
- type: MemberTypeEnum;
23
+ type: MemberTypeEnum | null;
24
+ /**
25
+ * @deprecated Use `id` instead.
26
+ */
19
27
  uid: string;
20
28
  constructor(data?: Partial<MemberEntity>);
21
29
  }
@@ -20,25 +20,33 @@ 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 (14)
23
+ // #endregion Properties (17)
24
24
  // #region Constructors (1)
25
25
  function MemberEntity(data) {
26
26
  var _this = _super.call(this, data) || this;
27
- // #region Properties (14)
27
+ // #region Properties (17)
28
28
  _this.active = true;
29
29
  _this.companyName = '';
30
30
  _this.containerName = '';
31
+ _this.developerId = '';
31
32
  _this.email = '';
33
+ _this.imageUrl = '';
34
+ _this.internationalCode = '55';
32
35
  _this.name = '';
33
36
  _this.partnerId = '';
34
- _this.internationalCode = '55';
35
37
  _this.phoneNumber = '';
36
38
  _this.phoneNumberVerified = false;
37
39
  _this.phoneNumberVerifiedAt = null;
40
+ /**
41
+ * @deprecated Use `imageUrl` instead
42
+ */
38
43
  _this.photoUrl = '';
39
44
  _this.rule = enums_1.MemberRulesEnum.USER;
40
45
  _this.tags = [];
41
46
  _this.type = enums_1.MemberTypeEnum.CLIENT;
47
+ /**
48
+ * @deprecated Use `id` instead.
49
+ */
42
50
  _this.uid = '';
43
51
  if (data) {
44
52
  for (var key in data) {
@@ -5,14 +5,19 @@ 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;
12
13
  phoneNumberVerifiedAt: Date | null;
13
- photoUrl: string;
14
+ /**
15
+ * @deprecated Use `imageUrl` instead
16
+ */
17
+ photoUrl: string | null;
18
+ imageUrl: string | null;
14
19
  rule: MemberRulesEnum;
15
- type: MemberTypeEnum;
20
+ type: MemberTypeEnum | null;
16
21
  tags: string[];
17
22
  uid: string;
18
23
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.51",
3
+ "version": "1.5.53",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.51",
3
+ "version": "1.5.53",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",