@devline-smart-taxi/common 2.3.41 → 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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.41",
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",