@devline-smart-taxi/common 2.3.54 → 2.3.56
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 +20 -1
- package/package.json +1 -1
package/dist/proto/driver.proto
CHANGED
|
@@ -73,6 +73,9 @@ service DriverService {
|
|
|
73
73
|
|
|
74
74
|
// Rad etilgan arizani qayta yuborish (REJECTED -> PERSONAL_INFO_ADDED)
|
|
75
75
|
rpc ResendApplication (ResendApplicationRequest) returns (ResendApplicationResponse);
|
|
76
|
+
|
|
77
|
+
// Refresh token orqali yangi access token olish
|
|
78
|
+
rpc RefreshToken (RefreshTokenRequest) returns (RefreshTokenResponse);
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
// ==========================================
|
|
@@ -177,6 +180,10 @@ message ResendApplicationRequest {
|
|
|
177
180
|
string secretOtp = 2;
|
|
178
181
|
}
|
|
179
182
|
|
|
183
|
+
message RefreshTokenRequest {
|
|
184
|
+
string refreshToken = 1;
|
|
185
|
+
}
|
|
186
|
+
|
|
180
187
|
message UpdateDriverPersonalInfoRequest {
|
|
181
188
|
string id = 1;
|
|
182
189
|
optional string firstName = 2;
|
|
@@ -339,7 +346,7 @@ message DriverData {
|
|
|
339
346
|
optional float rating = 21;
|
|
340
347
|
optional string fcm_token = 22;
|
|
341
348
|
optional string lang = 23;
|
|
342
|
-
optional string
|
|
349
|
+
optional string profilePhotoUrl = 24; // Avatar URL
|
|
343
350
|
}
|
|
344
351
|
|
|
345
352
|
// Haydovchining hujjatlari (ID karta, selfi, haydovchilik guvohnomasi)
|
|
@@ -402,6 +409,18 @@ message ResendApplicationData {
|
|
|
402
409
|
string secretOtp = 3;
|
|
403
410
|
}
|
|
404
411
|
|
|
412
|
+
message RefreshTokenResponse {
|
|
413
|
+
int32 statusCode = 1;
|
|
414
|
+
string message = 2;
|
|
415
|
+
RefreshTokenData data = 3;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
message RefreshTokenData {
|
|
419
|
+
string accessToken = 1;
|
|
420
|
+
string refreshToken = 2;
|
|
421
|
+
string id = 3;
|
|
422
|
+
}
|
|
423
|
+
|
|
405
424
|
// Registratsiyadan o'tadish uchun
|
|
406
425
|
message PasswordData {
|
|
407
426
|
bool success = 1;
|