@wenlarge/communication 1.3.2 → 1.3.3

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.
@@ -14,7 +14,7 @@ export interface RegisterRequest {
14
14
  name: string;
15
15
  email: string;
16
16
  password: string;
17
- phoneNumber?: string | undefined;
17
+ gsm: string;
18
18
  }
19
19
  export interface GetMeRequest {
20
20
  jwt: string;
@@ -53,6 +53,7 @@ export interface GetMeResponse {
53
53
  createdAt: string;
54
54
  updatedAt: string;
55
55
  companyUsersOnUser: CompanyUser[];
56
+ gsm: string;
56
57
  }
57
58
  export interface GetCompanyUsersRequest {
58
59
  companyId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenlarge/communication",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Shared gRPC proto interfaces and generated clients for Wenlarge microservices.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/proto/auth.proto CHANGED
@@ -31,7 +31,7 @@ message RegisterRequest {
31
31
  string name = 1;
32
32
  string email = 2;
33
33
  string password = 3;
34
- optional string phoneNumber = 4;
34
+ string gsm = 4;
35
35
  }
36
36
 
37
37
  message GetMeRequest {
@@ -78,6 +78,7 @@ message GetMeResponse {
78
78
  string createdAt = 4;
79
79
  string updatedAt = 5;
80
80
  repeated CompanyUser companyUsersOnUser = 6;
81
+ string gsm = 7;
81
82
  }
82
83
 
83
84
  message GetCompanyUsersRequest {
@@ -26,7 +26,7 @@ export interface RegisterRequest {
26
26
  name: string;
27
27
  email: string;
28
28
  password: string;
29
- phoneNumber?: string | undefined;
29
+ gsm: string;
30
30
  }
31
31
 
32
32
  export interface GetMeRequest {
@@ -73,6 +73,7 @@ export interface GetMeResponse {
73
73
  createdAt: string;
74
74
  updatedAt: string;
75
75
  companyUsersOnUser: CompanyUser[];
76
+ gsm: string;
76
77
  }
77
78
 
78
79
  export interface GetCompanyUsersRequest {