@devline-smart-taxi/common 2.3.62 → 2.3.63

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.
@@ -59,6 +59,9 @@ service DriverService {
59
59
  // Faol mashinani tanlash
60
60
  rpc SetActiveCar (SetActiveCarRequest) returns (common.SuccessResponseResult);
61
61
 
62
+ // Faqat Back-End servislar uchun: Haydovchining faol mashinasini (carClassId) olish
63
+ rpc GetDriverActiveCarClass (common.IdRequest) returns (GetDriverActiveCarClassResponse);
64
+
62
65
  // Mashina ma'lumotlarini yangilash
63
66
  rpc UpdateCarInfo (UpdateDriverCarInfoRequest) returns (common.SuccessResponseResult);
64
67
 
@@ -178,6 +181,11 @@ message SetActiveCarRequest {
178
181
  string carId = 2;
179
182
  }
180
183
 
184
+ // Servislararo so'rov: Faqatgina Faol Mashina Klassini qaytaradi
185
+ message GetDriverActiveCarClassResponse {
186
+ optional string carClassId = 1;
187
+ }
188
+
181
189
  message UpdateAvatarRequest {
182
190
  string id = 1; // Driver ID
183
191
  string avatarId = 2; // UsersImage ID (UUID)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.62",
3
+ "version": "2.3.63",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",