@devline-smart-taxi/common 2.3.40 → 2.3.42

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.
@@ -64,6 +64,9 @@ service DriverService {
64
64
 
65
65
  // Haydovchi reytingini yangilash (Faqat internal xizmatlar uchun)
66
66
  rpc UpdateDriverRating (UpdateDriverRatingRequest) returns (common.SuccessResponseResult);
67
+
68
+ // Haydovchi avatarini yangilash
69
+ rpc UpdateAvatar (UpdateAvatarRequest) returns (common.SuccessResponseResult);
67
70
  }
68
71
 
69
72
  // ==========================================
@@ -152,6 +155,11 @@ message UpdateDriverRatingRequest {
152
155
  float rating = 2;
153
156
  }
154
157
 
158
+ message UpdateAvatarRequest {
159
+ string id = 1; // Driver ID
160
+ string avatarId = 2; // UsersImage ID (UUID)
161
+ }
162
+
155
163
  message UpdateDriverPersonalInfoRequest {
156
164
  string id = 1;
157
165
  optional string firstName = 2;
@@ -313,6 +321,7 @@ message DriverData {
313
321
  optional float rating = 21;
314
322
  optional string fcm_token = 22;
315
323
  optional string lang = 23;
324
+ optional string photo = 24; // Avatar URL
316
325
  }
317
326
 
318
327
  // Haydovchining hujjatlari (ID karta, selfi, haydovchilik guvohnomasi)
@@ -135,6 +135,7 @@ message TripListItem {
135
135
  optional string pickupAddress = 17;
136
136
  optional string destinationAddress = 18;
137
137
  // Vaqtlar
138
+ optional string startedAt = 19;
138
139
  optional string endedAt = 20;
139
140
  }
140
141
 
@@ -160,6 +161,7 @@ message TripDetailResponse {
160
161
  optional float destinationLat = 10;
161
162
  optional float destinationLng = 11;
162
163
  string createdAt = 12;
164
+ optional string startedAt = 13;
163
165
  optional string endedAt = 14;
164
166
  // Mashina
165
167
  optional string carModel = 16;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.40",
3
+ "version": "2.3.42",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",