@devline-smart-taxi/common 2.3.95 → 2.3.97

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.
@@ -90,7 +90,7 @@ service DriverService {
90
90
  rpc UpdateAvatar (UpdateAvatarRequest) returns (common.SuccessResponseResult);
91
91
 
92
92
  // Ro'yxatdan o'tish holatini tekshirish (auth talab qilinmaydi)
93
- rpc GetRegistrationStatus (GetRegistrationStatusRequest) returns (GetRegistrationStatusResponse);
93
+ rpc GetRegistrationStatusAndToken (GetRegistrationStatusAndTokenRequest) returns (GetRegistrationStatusAndTokenResponse);
94
94
 
95
95
  // Rad etilgan arizani qayta yuborish (REJECTED -> PERSONAL_INFO_ADDED)
96
96
  rpc ResendApplication (ResendApplicationRequest) returns (ResendApplicationResponse);
@@ -179,6 +179,7 @@ message GetAllDriversRequest {
179
179
  optional int32 page = 1; // Sahifa raqami (default: 1)
180
180
  optional int32 pageSize = 2; // Sahifa o'lchami (default: 10)
181
181
  optional string search = 3; // Qidiruv so'zi (phoneNumber bo'yicha)
182
+ optional string stepRegistration = 4;
182
183
  }
183
184
 
184
185
  message GetDriversByBranchRequest {
@@ -248,7 +249,7 @@ message UpdateAvatarRequest {
248
249
  string avatarId = 2; // UsersImage ID (UUID)
249
250
  }
250
251
 
251
- message GetRegistrationStatusRequest {
252
+ message GetRegistrationStatusAndTokenRequest {
252
253
  string phoneNumber = 1;
253
254
  string secretOtp = 2;
254
255
  }
@@ -513,15 +514,19 @@ message UsersImageData {
513
514
  string name = 5;
514
515
  }
515
516
 
516
- message GetRegistrationStatusResponse {
517
+ message GetRegistrationStatusAndTokenResponse {
517
518
  int32 statusCode = 1;
518
519
  string message = 2;
519
520
  RegistrationStatusData data = 3;
520
521
  }
521
522
 
522
523
  message RegistrationStatusData {
523
- string step = 1;
524
+ optional string step = 1;
524
525
  optional string reason = 2;
526
+ optional string phoneNumber = 3;
527
+ optional bool isRegistered = 4;
528
+ optional string accessToken = 5;
529
+ optional string refreshToken = 6;
525
530
  }
526
531
 
527
532
  message ResendApplicationResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.95",
3
+ "version": "2.3.97",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",