@devline-smart-taxi/common 2.3.45 → 2.3.46

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.
@@ -67,6 +67,9 @@ service DriverService {
67
67
 
68
68
  // Haydovchi avatarini yangilash
69
69
  rpc UpdateAvatar (UpdateAvatarRequest) returns (common.SuccessResponseResult);
70
+
71
+ // Ro'yxatdan o'tish holatini tekshirish (auth talab qilinmaydi)
72
+ rpc GetRegistrationStatus (GetRegistrationStatusRequest) returns (GetRegistrationStatusResponse);
70
73
  }
71
74
 
72
75
  // ==========================================
@@ -161,6 +164,11 @@ message UpdateAvatarRequest {
161
164
  string avatarId = 2; // UsersImage ID (UUID)
162
165
  }
163
166
 
167
+ message GetRegistrationStatusRequest {
168
+ string phoneNumber = 1;
169
+ string secretOtp = 2;
170
+ }
171
+
164
172
  message UpdateDriverPersonalInfoRequest {
165
173
  string id = 1;
166
174
  optional string firstName = 2;
@@ -363,6 +371,17 @@ message UsersImageData {
363
371
  string name = 5;
364
372
  }
365
373
 
374
+ message GetRegistrationStatusResponse {
375
+ int32 statusCode = 1;
376
+ string message = 2;
377
+ RegistrationStatusData data = 3;
378
+ }
379
+
380
+ message RegistrationStatusData {
381
+ string step = 1;
382
+ optional string reason = 2;
383
+ }
384
+
366
385
  // Registratsiyadan o'tadish uchun
367
386
  message PasswordData {
368
387
  bool success = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.45",
3
+ "version": "2.3.46",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",