@trash-streamers/contracts 1.1.9 → 1.1.10
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.
- package/package.json +1 -1
- package/proto/account.proto +11 -6
- package/proto/users.proto +1 -3
package/package.json
CHANGED
package/proto/account.proto
CHANGED
|
@@ -17,12 +17,7 @@ message GetAccountRequest {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
message GetAccountResponse {
|
|
20
|
-
|
|
21
|
-
string phone = 2;
|
|
22
|
-
string email = 3;
|
|
23
|
-
bool is_phone_verified = 4;
|
|
24
|
-
bool is_email_verified = 5;
|
|
25
|
-
Role role = 6;
|
|
20
|
+
Account account = 1;
|
|
26
21
|
}
|
|
27
22
|
|
|
28
23
|
message InitEmailChangeRequest {
|
|
@@ -66,4 +61,14 @@ message ConfirmPhoneChangeResponse {
|
|
|
66
61
|
enum Role {
|
|
67
62
|
USER = 0;
|
|
68
63
|
ADMIN = 1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
message Account {
|
|
67
|
+
string id = 1;
|
|
68
|
+
string phone = 2;
|
|
69
|
+
string email = 3;
|
|
70
|
+
bool is_phone_verified = 4;
|
|
71
|
+
bool is_email_verified = 5;
|
|
72
|
+
Role role = 6;
|
|
73
|
+
|
|
69
74
|
}
|