@devline-smart-taxi/common 2.3.96 → 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);
@@ -249,7 +249,7 @@ message UpdateAvatarRequest {
249
249
  string avatarId = 2; // UsersImage ID (UUID)
250
250
  }
251
251
 
252
- message GetRegistrationStatusRequest {
252
+ message GetRegistrationStatusAndTokenRequest {
253
253
  string phoneNumber = 1;
254
254
  string secretOtp = 2;
255
255
  }
@@ -514,15 +514,19 @@ message UsersImageData {
514
514
  string name = 5;
515
515
  }
516
516
 
517
- message GetRegistrationStatusResponse {
517
+ message GetRegistrationStatusAndTokenResponse {
518
518
  int32 statusCode = 1;
519
519
  string message = 2;
520
520
  RegistrationStatusData data = 3;
521
521
  }
522
522
 
523
523
  message RegistrationStatusData {
524
- string step = 1;
524
+ optional string step = 1;
525
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;
526
530
  }
527
531
 
528
532
  message ResendApplicationResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.96",
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",