@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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.64",
3
+ "version": "2.3.65",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",