@devline-smart-taxi/common 2.3.50 → 2.3.51

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.
@@ -70,6 +70,9 @@ service DriverService {
70
70
 
71
71
  // Ro'yxatdan o'tish holatini tekshirish (auth talab qilinmaydi)
72
72
  rpc GetRegistrationStatus (GetRegistrationStatusRequest) returns (GetRegistrationStatusResponse);
73
+
74
+ // Rad etilgan arizani qayta yuborish (REJECTED -> PERSONAL_INFO_ADDED)
75
+ rpc ResendApplication (ResendApplicationRequest) returns (ResendApplicationResponse);
73
76
  }
74
77
 
75
78
  // ==========================================
@@ -169,6 +172,11 @@ message GetRegistrationStatusRequest {
169
172
  string secretOtp = 2;
170
173
  }
171
174
 
175
+ message ResendApplicationRequest {
176
+ string phoneNumber = 1;
177
+ string secretOtp = 2;
178
+ }
179
+
172
180
  message UpdateDriverPersonalInfoRequest {
173
181
  string id = 1;
174
182
  optional string firstName = 2;
@@ -382,6 +390,18 @@ message RegistrationStatusData {
382
390
  optional string reason = 2;
383
391
  }
384
392
 
393
+ message ResendApplicationResponse {
394
+ int32 statusCode = 1;
395
+ string message = 2;
396
+ ResendApplicationData data = 3;
397
+ }
398
+
399
+ message ResendApplicationData {
400
+ string step = 1;
401
+ string phoneNumber = 2;
402
+ string secretOtp = 3;
403
+ }
404
+
385
405
  // Registratsiyadan o'tadish uchun
386
406
  message PasswordData {
387
407
  bool success = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.50",
3
+ "version": "2.3.51",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",