@devline-smart-taxi/common 2.3.57 → 2.3.58
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.
- package/dist/proto/driver.proto +6 -1
- package/package.json +1 -1
package/dist/proto/driver.proto
CHANGED
|
@@ -45,7 +45,7 @@ service DriverService {
|
|
|
45
45
|
rpc VerifyStepOtpForImageUpload (VerifyStepOtpForImageUploadRequest) returns (VerifyStepOtpForImageUploadResponse);
|
|
46
46
|
|
|
47
47
|
// Haydovchini tasdiqlash
|
|
48
|
-
rpc ApproveDriver (
|
|
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;
|