@devline-smart-taxi/common 2.3.64 → 2.3.65
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/trip.proto +11 -0
- package/package.json +1 -1
package/dist/proto/trip.proto
CHANGED
|
@@ -21,6 +21,9 @@ service TripService {
|
|
|
21
21
|
rpc CancelTrip (CancelTripRequest) returns (TripResponse);
|
|
22
22
|
// INTER-SERVICE
|
|
23
23
|
rpc CheckDriverHasActiveTrip (CheckDriverHasActiveTripRequest) returns (CheckDriverHasActiveTripResponse);
|
|
24
|
+
|
|
25
|
+
// DRIVER STATS
|
|
26
|
+
rpc GetDriverTodayTripsCount (GetDriverTodayTripsCountRequest) returns (GetDriverTodayTripsCountResponse);
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
// ==========================================
|
|
@@ -183,4 +186,12 @@ message TripDetailResponse {
|
|
|
183
186
|
// Manzil nomlari
|
|
184
187
|
optional string pickupAddress = 21;
|
|
185
188
|
optional string destinationAddress = 22;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
message GetDriverTodayTripsCountRequest {
|
|
192
|
+
string driverId = 1;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
message GetDriverTodayTripsCountResponse {
|
|
196
|
+
int32 count = 1;
|
|
186
197
|
}
|