@trii/types 2.10.205 → 2.10.207

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.
@@ -27,7 +27,7 @@ export interface WallMessage {
27
27
  createdAt: Date;
28
28
  updatedAt: Date;
29
29
  }
30
- interface Response {
30
+ export interface Response {
31
31
  id: string;
32
32
  externalUserSender?: ExternalUserInfo;
33
33
  userSender?: UserInfo;
@@ -41,4 +41,3 @@ export interface ExternalUserInfo {
41
41
  name: string;
42
42
  imageUrl: string;
43
43
  }
44
- export {};
@@ -11,6 +11,7 @@ export declare class UserInfo {
11
11
  export declare class UserTrii {
12
12
  uid: string;
13
13
  email: string;
14
+ phone: string;
14
15
  username: string;
15
16
  userType: UserType;
16
17
  verifiedAccount: boolean;
@@ -19,7 +20,6 @@ export declare class UserTrii {
19
20
  display_name: string;
20
21
  imageUrl: string;
21
22
  birthDate: Date;
22
- phone: string;
23
23
  role: string;
24
24
  roleID: string;
25
25
  profile: UserProfile;
@@ -1,8 +1,10 @@
1
1
  declare enum UserType {
2
2
  NULL = 0,
3
- OWNER = 1,
4
- ADMIN = 2,
5
- AGENT = 3,
6
- EXTERNAL = 4
3
+ OWNER = 10,
4
+ CO_OWNER = 11,
5
+ ADMIN = 20,
6
+ AGENT = 30,
7
+ EXTERNAL = 40,
8
+ GUEST = 50
7
9
  }
8
10
  export default UserType;
@@ -1,9 +1,11 @@
1
1
  var UserType;
2
2
  (function (UserType) {
3
3
  UserType[UserType["NULL"] = 0] = "NULL";
4
- UserType[UserType["OWNER"] = 1] = "OWNER";
5
- UserType[UserType["ADMIN"] = 2] = "ADMIN";
6
- UserType[UserType["AGENT"] = 3] = "AGENT";
7
- UserType[UserType["EXTERNAL"] = 4] = "EXTERNAL";
4
+ UserType[UserType["OWNER"] = 10] = "OWNER";
5
+ UserType[UserType["CO_OWNER"] = 11] = "CO_OWNER";
6
+ UserType[UserType["ADMIN"] = 20] = "ADMIN";
7
+ UserType[UserType["AGENT"] = 30] = "AGENT";
8
+ UserType[UserType["EXTERNAL"] = 40] = "EXTERNAL";
9
+ UserType[UserType["GUEST"] = 50] = "GUEST";
8
10
  })(UserType || (UserType = {}));
9
11
  export default UserType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.205",
3
+ "version": "2.10.207",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",