@devline-smart-taxi/common 2.3.57 → 2.3.59

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.
@@ -45,7 +45,7 @@ service DriverService {
45
45
  rpc VerifyStepOtpForImageUpload (VerifyStepOtpForImageUploadRequest) returns (VerifyStepOtpForImageUploadResponse);
46
46
 
47
47
  // Haydovchini tasdiqlash
48
- rpc ApproveDriver (common.IdRequest) returns (common.SuccessResponseResult);
48
+ rpc ApproveDriver (ApproveDriverRequest) returns (common.SuccessResponseResult);
49
49
 
50
50
  // Haydovchini rad etish
51
51
  rpc RejectDriver (RejectDriverRequest) returns (common.SuccessResponseResult);
@@ -150,6 +150,11 @@ message VerifyStepOtpForImageUploadRequest {
150
150
  string otp = 3;
151
151
  }
152
152
 
153
+ message ApproveDriverRequest {
154
+ string driverId = 1;
155
+ optional string carClassId = 2;
156
+ }
157
+
153
158
  message RejectDriverRequest {
154
159
  string driverId = 1;
155
160
  string reason = 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.57",
3
+ "version": "2.3.59",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",