@devline-smart-taxi/common 2.3.82 → 2.3.83
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/branch.proto +1 -21
- package/package.json +1 -1
package/dist/proto/branch.proto
CHANGED
|
@@ -24,9 +24,6 @@ service BranchService {
|
|
|
24
24
|
rpc DeactivateBranch (common.IdRequest) returns (common.SuccessResponseResult);
|
|
25
25
|
rpc GetGlobalCommission (common.NoParams) returns (CommissionResponse);
|
|
26
26
|
rpc UpdateGlobalCommission (UpdateGlobalCommissionRequest) returns (common.SuccessResponseResult);
|
|
27
|
-
rpc GetBranchCommission (common.IdRequest) returns (BranchCommissionResponse);
|
|
28
|
-
rpc UpdateBranchCommission (UpdateBranchCommissionRequest) returns (common.SuccessResponseResult);
|
|
29
|
-
rpc ClearBranchCommission (common.IdRequest) returns (common.SuccessResponseResult);
|
|
30
27
|
rpc GetDriverEffectiveCommission (GetDriverEffectiveCommissionRequest) returns (DriverEffectiveCommissionResponse);
|
|
31
28
|
}
|
|
32
29
|
|
|
@@ -36,6 +33,7 @@ service BranchService {
|
|
|
36
33
|
message CreateBranchRequest {
|
|
37
34
|
string name = 1;
|
|
38
35
|
string region = 2;
|
|
36
|
+
optional double driverCommissionRate = 3;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
message UpdateBranchRequest {
|
|
@@ -55,11 +53,6 @@ message UpdateGlobalCommissionRequest {
|
|
|
55
53
|
double driverCommissionRate = 1;
|
|
56
54
|
}
|
|
57
55
|
|
|
58
|
-
message UpdateBranchCommissionRequest {
|
|
59
|
-
string id = 1;
|
|
60
|
-
double driverCommissionRate = 2;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
56
|
message GetDriverEffectiveCommissionRequest {
|
|
64
57
|
string driverId = 1;
|
|
65
58
|
}
|
|
@@ -114,19 +107,6 @@ message CommissionResponse {
|
|
|
114
107
|
CommissionData data = 3;
|
|
115
108
|
}
|
|
116
109
|
|
|
117
|
-
message BranchCommissionData {
|
|
118
|
-
string branchId = 1;
|
|
119
|
-
optional double branchCommissionRate = 2;
|
|
120
|
-
double globalCommissionRate = 3;
|
|
121
|
-
double effectiveCommissionRate = 4;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
message BranchCommissionResponse {
|
|
125
|
-
int32 statusCode = 1;
|
|
126
|
-
string message = 2;
|
|
127
|
-
BranchCommissionData data = 3;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
110
|
message DriverEffectiveCommissionData {
|
|
131
111
|
string driverId = 1;
|
|
132
112
|
optional string branchId = 2;
|