@devline-smart-taxi/common 2.3.58 → 2.3.60
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 +9 -0
- package/package.json +1 -1
package/dist/proto/driver.proto
CHANGED
|
@@ -56,6 +56,9 @@ service DriverService {
|
|
|
56
56
|
// Shaxsiy ma'lumotlarni yangilash
|
|
57
57
|
rpc UpdatePersonalInfo (UpdateDriverPersonalInfoRequest) returns (common.SuccessResponseResult);
|
|
58
58
|
|
|
59
|
+
// Faol mashinani tanlash
|
|
60
|
+
rpc SetActiveCar (SetActiveCarRequest) returns (common.SuccessResponseResult);
|
|
61
|
+
|
|
59
62
|
// Mashina ma'lumotlarini yangilash
|
|
60
63
|
rpc UpdateCarInfo (UpdateDriverCarInfoRequest) returns (common.SuccessResponseResult);
|
|
61
64
|
|
|
@@ -170,6 +173,11 @@ message UpdateDriverRatingRequest {
|
|
|
170
173
|
float rating = 2;
|
|
171
174
|
}
|
|
172
175
|
|
|
176
|
+
message SetActiveCarRequest {
|
|
177
|
+
string driverId = 1;
|
|
178
|
+
string carId = 2;
|
|
179
|
+
}
|
|
180
|
+
|
|
173
181
|
message UpdateAvatarRequest {
|
|
174
182
|
string id = 1; // Driver ID
|
|
175
183
|
string avatarId = 2; // UsersImage ID (UUID)
|
|
@@ -380,6 +388,7 @@ message DriverCarData {
|
|
|
380
388
|
UsersImageData documentBack = 9;
|
|
381
389
|
optional string carClassId = 10;
|
|
382
390
|
optional string carClassName = 11;
|
|
391
|
+
bool isActive = 12;
|
|
383
392
|
}
|
|
384
393
|
|
|
385
394
|
// Rasm (UsersImage) ma'lumotlari (short format)
|