@devline-smart-taxi/common 2.3.96 → 2.3.98

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);
@@ -122,10 +122,10 @@ message AdminOnboardDriverRequest {
122
122
  optional string address = 6;
123
123
  optional string lang = 7;
124
124
  optional string branchId = 8;
125
- string pinfl = 9;
126
- string cardFrontId = 10;
127
- string cardBackId = 11;
128
- string selfieWithCardId = 12;
125
+ optional string pinfl = 9;
126
+ optional string cardFrontId = 10;
127
+ optional string cardBackId = 11;
128
+ optional string selfieWithCardId = 12;
129
129
  optional string profilePhotoId = 13;
130
130
  string carClassId = 14;
131
131
  string carBrand = 15;
@@ -133,13 +133,13 @@ message AdminOnboardDriverRequest {
133
133
  string carNumber = 17;
134
134
  string carColor = 18;
135
135
  bool isOwner = 19;
136
- string documentFrontId = 20;
137
- string documentBackId = 21;
138
- string licenseNumber = 22;
139
- string expiryDate = 23;
140
- int32 experience = 24;
141
- string licenseFrontId = 25;
142
- string licenseBackId = 26;
136
+ optional string documentFrontId = 20;
137
+ optional string documentBackId = 21;
138
+ optional string licenseNumber = 22;
139
+ optional string expiryDate = 23;
140
+ optional int32 experience = 24;
141
+ optional string licenseFrontId = 25;
142
+ optional string licenseBackId = 26;
143
143
  optional int32 carYear = 27;
144
144
  }
145
145
 
@@ -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
  }
@@ -474,7 +474,7 @@ message DriverDocumentsData {
474
474
  UsersImageData driverLicenseBack = 6;
475
475
  string driverLicenseSerialNumber = 7;
476
476
  string driverLicenseExpiryDate = 8;
477
- string jshshirNumber = 9;
477
+ optional string jshshirNumber = 9;
478
478
  }
479
479
 
480
480
  // Haydovchining mashinasi
@@ -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.98",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",