cecon-interfaces 1.5.52 → 1.5.53

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,16 +7,20 @@ export declare class MemberEntity extends BaseEntity implements IMember {
7
7
  containerName: string;
8
8
  developerId: string | null;
9
9
  email: string;
10
+ imageUrl: string | null;
10
11
  internationalCode: string;
11
12
  name: string;
12
13
  partnerId: string | null;
13
14
  phoneNumber: string;
14
15
  phoneNumberVerified: boolean;
15
16
  phoneNumberVerifiedAt: Date | null;
16
- photoUrl: string;
17
+ /**
18
+ * @deprecated Use `imageUrl` instead
19
+ */
20
+ photoUrl: string | null;
17
21
  rule: MemberRulesEnum;
18
22
  tags: string[];
19
- type: MemberTypeEnum;
23
+ type: MemberTypeEnum | null;
20
24
  /**
21
25
  * @deprecated Use `id` instead.
22
26
  */
@@ -20,22 +20,26 @@ 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 (16)
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 (16)
27
+ // #region Properties (17)
28
28
  _this.active = true;
29
29
  _this.companyName = '';
30
30
  _this.containerName = '';
31
31
  _this.developerId = '';
32
32
  _this.email = '';
33
+ _this.imageUrl = '';
33
34
  _this.internationalCode = '55';
34
35
  _this.name = '';
35
36
  _this.partnerId = '';
36
37
  _this.phoneNumber = '';
37
38
  _this.phoneNumberVerified = false;
38
39
  _this.phoneNumberVerifiedAt = null;
40
+ /**
41
+ * @deprecated Use `imageUrl` instead
42
+ */
39
43
  _this.photoUrl = '';
40
44
  _this.rule = enums_1.MemberRulesEnum.USER;
41
45
  _this.tags = [];
@@ -11,9 +11,13 @@ export interface IMember extends IBase {
11
11
  phoneNumber: string;
12
12
  phoneNumberVerified: boolean;
13
13
  phoneNumberVerifiedAt: Date | null;
14
- photoUrl: string;
14
+ /**
15
+ * @deprecated Use `imageUrl` instead
16
+ */
17
+ photoUrl: string | null;
18
+ imageUrl: string | null;
15
19
  rule: MemberRulesEnum;
16
- type: MemberTypeEnum;
20
+ type: MemberTypeEnum | null;
17
21
  tags: string[];
18
22
  uid: string;
19
23
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.52",
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.52",
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",