@devline-smart-taxi/common 2.3.87 → 2.3.89
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 +5 -0
- package/dist/proto/wallet.proto +80 -0
- package/package.json +1 -1
package/dist/proto/driver.proto
CHANGED
|
@@ -140,6 +140,7 @@ message AdminOnboardDriverRequest {
|
|
|
140
140
|
int32 experience = 24;
|
|
141
141
|
string licenseFrontId = 25;
|
|
142
142
|
string licenseBackId = 26;
|
|
143
|
+
optional int32 carYear = 27;
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
message VerifyOtpRequest {
|
|
@@ -171,6 +172,7 @@ message SaveCarInfoRequest {
|
|
|
171
172
|
string documentFrontId = 7; // UsersImage ID (UUID) - Tex-pasport oldi rasmi
|
|
172
173
|
string documentBackId = 8; // UsersImage ID (UUID) - Tex-pasport orqa rasmi
|
|
173
174
|
string secretOtp = 9; // Oldingi stepdan kelgan maxfiy OTP
|
|
175
|
+
optional int32 carYear = 10;
|
|
174
176
|
}
|
|
175
177
|
|
|
176
178
|
message GetAllDriversRequest {
|
|
@@ -286,6 +288,7 @@ message UpdateDriverCarInfoRequest {
|
|
|
286
288
|
optional string documentFrontId = 7;
|
|
287
289
|
optional string documentBackId = 8;
|
|
288
290
|
optional string carClassId = 9;
|
|
291
|
+
optional int32 carYear = 10;
|
|
289
292
|
}
|
|
290
293
|
|
|
291
294
|
message CreateDriverCarRequest {
|
|
@@ -297,6 +300,7 @@ message CreateDriverCarRequest {
|
|
|
297
300
|
bool isOwner = 6;
|
|
298
301
|
string documentFrontId = 7;
|
|
299
302
|
string documentBackId = 8;
|
|
303
|
+
optional int32 carYear = 9;
|
|
300
304
|
}
|
|
301
305
|
|
|
302
306
|
message ApproveDriverCarRequest {
|
|
@@ -488,6 +492,7 @@ message DriverCarData {
|
|
|
488
492
|
bool isActive = 12;
|
|
489
493
|
optional string approvalStatus = 13;
|
|
490
494
|
optional string remark = 14;
|
|
495
|
+
optional int32 carYear = 15;
|
|
491
496
|
}
|
|
492
497
|
|
|
493
498
|
message DriverBranchData {
|
package/dist/proto/wallet.proto
CHANGED
|
@@ -29,6 +29,13 @@ service WalletService {
|
|
|
29
29
|
rpc GetSettlementOverview (GetSettlementOverviewRequest) returns (SettlementOverviewResponse);
|
|
30
30
|
rpc GetAdminDriverSettlement (GetAdminDriverSettlementRequest) returns (AdminDriverSettlementResponse);
|
|
31
31
|
rpc GetBranchDashboard (GetBranchDashboardRequest) returns (BranchDashboardResponse);
|
|
32
|
+
|
|
33
|
+
// Client Cards (Payme)
|
|
34
|
+
rpc CreatePaymentCard (CreatePaymentCardRequest) returns (CreatePaymentCardResponse);
|
|
35
|
+
rpc VerifyPaymentCard (VerifyPaymentCardRequest) returns (VerifyPaymentCardResponse);
|
|
36
|
+
rpc GetMyPaymentCards (GetMyPaymentCardsRequest) returns (GetMyPaymentCardsResponse);
|
|
37
|
+
rpc RemovePaymentCard (RemovePaymentCardRequest) returns (RemovePaymentCardResponse);
|
|
38
|
+
rpc SetMainPaymentCard (SetMainPaymentCardRequest) returns (SetMainPaymentCardResponse);
|
|
32
39
|
}
|
|
33
40
|
|
|
34
41
|
// ==========================================
|
|
@@ -195,6 +202,43 @@ message ApplyPromoCodeRequest {
|
|
|
195
202
|
string promoCode = 2;
|
|
196
203
|
}
|
|
197
204
|
|
|
205
|
+
// Client Payment Cards (Payme)
|
|
206
|
+
message PaymentCardData {
|
|
207
|
+
string id = 1;
|
|
208
|
+
string clientId = 2;
|
|
209
|
+
string number = 3;
|
|
210
|
+
string expire = 4;
|
|
211
|
+
bool isVerified = 5;
|
|
212
|
+
bool isMain = 6;
|
|
213
|
+
string createdAt = 7;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
message CreatePaymentCardRequest {
|
|
217
|
+
string clientId = 1;
|
|
218
|
+
string number = 2;
|
|
219
|
+
string expire = 3;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
message VerifyPaymentCardRequest {
|
|
223
|
+
string clientId = 1;
|
|
224
|
+
string verifyCode = 2;
|
|
225
|
+
string token = 3;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
message GetMyPaymentCardsRequest {
|
|
229
|
+
string clientId = 1;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
message RemovePaymentCardRequest {
|
|
233
|
+
string clientId = 1;
|
|
234
|
+
string cardId = 2;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
message SetMainPaymentCardRequest {
|
|
238
|
+
string clientId = 1;
|
|
239
|
+
string cardId = 2;
|
|
240
|
+
}
|
|
241
|
+
|
|
198
242
|
// Driver
|
|
199
243
|
message GetDriverBalanceRequest {
|
|
200
244
|
string driverId = 1;
|
|
@@ -288,6 +332,42 @@ message WalletResponse {
|
|
|
288
332
|
WalletData data = 3;
|
|
289
333
|
}
|
|
290
334
|
|
|
335
|
+
// Client Payment Cards
|
|
336
|
+
message CreatePaymentCardData {
|
|
337
|
+
string token = 1;
|
|
338
|
+
string phone = 2;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
message CreatePaymentCardResponse {
|
|
342
|
+
int32 statusCode = 1;
|
|
343
|
+
string message = 2;
|
|
344
|
+
CreatePaymentCardData data = 3;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
message VerifyPaymentCardResponse {
|
|
348
|
+
int32 statusCode = 1;
|
|
349
|
+
string message = 2;
|
|
350
|
+
PaymentCardData data = 3;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
message GetMyPaymentCardsResponse {
|
|
354
|
+
int32 statusCode = 1;
|
|
355
|
+
string message = 2;
|
|
356
|
+
repeated PaymentCardData data = 3;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
message RemovePaymentCardResponse {
|
|
360
|
+
int32 statusCode = 1;
|
|
361
|
+
string message = 2;
|
|
362
|
+
bool data = 3;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
message SetMainPaymentCardResponse {
|
|
366
|
+
int32 statusCode = 1;
|
|
367
|
+
string message = 2;
|
|
368
|
+
PaymentCardData data = 3;
|
|
369
|
+
}
|
|
370
|
+
|
|
291
371
|
// Driver balance
|
|
292
372
|
message DriverBalanceResponse {
|
|
293
373
|
int32 statusCode = 1;
|