@devline-smart-taxi/common 2.3.43 → 2.3.45
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/dist/proto/driver.proto +2 -1
- package/dist/proto/user.proto +17 -0
- package/package.json +1 -1
package/dist/proto/driver.proto
CHANGED
|
@@ -93,6 +93,7 @@ message SavePersonalRequest {
|
|
|
93
93
|
string cardBackId = 7; // UsersImage ID (UUID)
|
|
94
94
|
string selfieWithCardId = 8; // UsersImage ID (UUID)
|
|
95
95
|
string secretOtp = 9; // Oldingi stepdan kelgan maxfiy OTP
|
|
96
|
+
optional string profilePhotoId = 10; // UsersImage ID (UUID) - Profil rasmi
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
message SaveCarInfoRequest {
|
|
@@ -156,7 +157,7 @@ message UpdateDriverRatingRequest {
|
|
|
156
157
|
}
|
|
157
158
|
|
|
158
159
|
message UpdateAvatarRequest {
|
|
159
|
-
string id = 1;
|
|
160
|
+
string id = 1; // Driver ID
|
|
160
161
|
string avatarId = 2; // UsersImage ID (UUID)
|
|
161
162
|
}
|
|
162
163
|
|
package/dist/proto/user.proto
CHANGED
|
@@ -22,6 +22,7 @@ service UserService {
|
|
|
22
22
|
rpc BlockUser (Id) returns (common.SuccessResponseResult);
|
|
23
23
|
rpc GetMyProfile (common.NoParams) returns (UserResponse);
|
|
24
24
|
rpc ApplyReferralCode (ApplyReferralCodeRequest) returns (common.SuccessResponseResult);
|
|
25
|
+
rpc GetFcmTokens (GetFcmTokensRequest) returns (FcmTokensResponse);
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
// ==========================================
|
|
@@ -112,6 +113,10 @@ message ApplyReferralCodeRequest {
|
|
|
112
113
|
string referralCode = 1;
|
|
113
114
|
}
|
|
114
115
|
|
|
116
|
+
message GetFcmTokensRequest {
|
|
117
|
+
string role = 1; // "CLIENT", "DRIVER", "ALL"
|
|
118
|
+
}
|
|
119
|
+
|
|
115
120
|
// ==========================================
|
|
116
121
|
// 4. RESPONSES
|
|
117
122
|
// ==========================================
|
|
@@ -175,3 +180,15 @@ message PaginationResult {
|
|
|
175
180
|
int32 statusCode = 8;
|
|
176
181
|
string message = 9;
|
|
177
182
|
}
|
|
183
|
+
|
|
184
|
+
message FcmTokenItem {
|
|
185
|
+
string userId = 1;
|
|
186
|
+
string fcmToken = 2;
|
|
187
|
+
string role = 3;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
message FcmTokensResponse {
|
|
191
|
+
repeated FcmTokenItem tokens = 1;
|
|
192
|
+
int32 statusCode = 2;
|
|
193
|
+
string message = 3;
|
|
194
|
+
}
|