@devline-smart-taxi/common 2.3.85 → 2.3.87
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 +33 -0
- package/package.json +1 -1
package/dist/proto/driver.proto
CHANGED
|
@@ -8,6 +8,9 @@ import "common.proto";
|
|
|
8
8
|
// 1. SERVICES
|
|
9
9
|
// ==========================================
|
|
10
10
|
service DriverService {
|
|
11
|
+
// Admin tomonidan haydovchini to'liq onboarding qilish
|
|
12
|
+
rpc AdminOnboardDriver (AdminOnboardDriverRequest) returns (common.SuccessResponseResult);
|
|
13
|
+
|
|
11
14
|
// Ro'yxatdan o'tish uchun OTP yuborish
|
|
12
15
|
rpc SendOtpRegistration (SendOtpRequest) returns (SendOtpResponse);
|
|
13
16
|
|
|
@@ -110,6 +113,35 @@ message SendOtpRequest {
|
|
|
110
113
|
bool hasDataConsent = 2;
|
|
111
114
|
}
|
|
112
115
|
|
|
116
|
+
message AdminOnboardDriverRequest {
|
|
117
|
+
string phoneNumber = 1;
|
|
118
|
+
string firstName = 2;
|
|
119
|
+
optional string lastName = 3;
|
|
120
|
+
optional string email = 4;
|
|
121
|
+
optional string birthDate = 5;
|
|
122
|
+
optional string address = 6;
|
|
123
|
+
optional string lang = 7;
|
|
124
|
+
optional string branchId = 8;
|
|
125
|
+
string pinfl = 9;
|
|
126
|
+
string cardFrontId = 10;
|
|
127
|
+
string cardBackId = 11;
|
|
128
|
+
string selfieWithCardId = 12;
|
|
129
|
+
optional string profilePhotoId = 13;
|
|
130
|
+
string carClassId = 14;
|
|
131
|
+
string carBrand = 15;
|
|
132
|
+
string carModel = 16;
|
|
133
|
+
string carNumber = 17;
|
|
134
|
+
string carColor = 18;
|
|
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;
|
|
143
|
+
}
|
|
144
|
+
|
|
113
145
|
message VerifyOtpRequest {
|
|
114
146
|
string phoneNumber = 1;
|
|
115
147
|
int32 otp = 2;
|
|
@@ -181,6 +213,7 @@ message VerifyStepOtpForImageUploadRequest {
|
|
|
181
213
|
message ApproveDriverRequest {
|
|
182
214
|
string driverId = 1;
|
|
183
215
|
optional string carClassId = 2;
|
|
216
|
+
optional string branchId = 3;
|
|
184
217
|
}
|
|
185
218
|
|
|
186
219
|
message RejectDriverRequest {
|