@devline-smart-taxi/common 2.3.67 → 2.3.68
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/wallet.proto +19 -0
- package/package.json +1 -1
package/dist/proto/wallet.proto
CHANGED
|
@@ -20,6 +20,7 @@ service WalletService {
|
|
|
20
20
|
rpc RequestWithdrawal (RequestWithdrawalRequest) returns (WithdrawalResponse);
|
|
21
21
|
rpc GetDriverSettlementSummary (GetDriverSettlementSummaryRequest) returns (DriverSettlementSummaryResponse);
|
|
22
22
|
rpc GetDriverSettlementLedger (GetDriverSettlementLedgerRequest) returns (DriverSettlementLedgerResponse);
|
|
23
|
+
rpc GetDriverTodayEarnings (GetDriverTodayEarningsRequest) returns (DriverTodayEarningsResponse);
|
|
23
24
|
|
|
24
25
|
// Admin
|
|
25
26
|
rpc ProcessWithdrawal (ProcessWithdrawalRequest) returns (ProcessWithdrawalResponse);
|
|
@@ -73,6 +74,14 @@ message DriverBalanceData {
|
|
|
73
74
|
float balance = 2;
|
|
74
75
|
}
|
|
75
76
|
|
|
77
|
+
message DriverTodayEarningsData {
|
|
78
|
+
string driverId = 1;
|
|
79
|
+
float amount = 2;
|
|
80
|
+
string currency = 3;
|
|
81
|
+
string fromDate = 4;
|
|
82
|
+
string toDate = 5;
|
|
83
|
+
}
|
|
84
|
+
|
|
76
85
|
message DriverSettlementSummaryData {
|
|
77
86
|
float credits = 1;
|
|
78
87
|
float debits = 2;
|
|
@@ -164,6 +173,10 @@ message GetDriverSettlementLedgerRequest {
|
|
|
164
173
|
optional string toDate = 6;
|
|
165
174
|
}
|
|
166
175
|
|
|
176
|
+
message GetDriverTodayEarningsRequest {
|
|
177
|
+
string driverId = 1;
|
|
178
|
+
}
|
|
179
|
+
|
|
167
180
|
// Admin
|
|
168
181
|
message ProcessWithdrawalRequest {
|
|
169
182
|
string withdrawalId = 1;
|
|
@@ -214,6 +227,12 @@ message DriverBalanceResponse {
|
|
|
214
227
|
DriverBalanceData data = 3;
|
|
215
228
|
}
|
|
216
229
|
|
|
230
|
+
message DriverTodayEarningsResponse {
|
|
231
|
+
int32 statusCode = 1;
|
|
232
|
+
string message = 2;
|
|
233
|
+
DriverTodayEarningsData data = 3;
|
|
234
|
+
}
|
|
235
|
+
|
|
217
236
|
// Driver earning added
|
|
218
237
|
message AddDriverEarningData {
|
|
219
238
|
string transactionId = 1;
|