@devline-smart-taxi/common 2.3.41 → 2.3.43

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;
@@ -161,6 +169,7 @@ message UpdateDriverPersonalInfoRequest {
161
169
  optional string cardBackId = 6;
162
170
  optional string selfieWithCardId = 7;
163
171
  optional string lang = 8;
172
+ optional string profilePhotoId = 9;
164
173
  }
165
174
 
166
175
  message UpdateDriverCarInfoRequest {
@@ -313,6 +322,7 @@ message DriverData {
313
322
  optional float rating = 21;
314
323
  optional string fcm_token = 22;
315
324
  optional string lang = 23;
325
+ optional string photo = 24; // Avatar URL
316
326
  }
317
327
 
318
328
  // 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.43",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",