@devline-smart-taxi/common 2.3.53 → 2.3.54
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/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './dto/update-car-manufacturer.dto';
|
|
|
34
34
|
export * from './dto/create-car-model.dto';
|
|
35
35
|
export * from './dto/update-car-model.dto';
|
|
36
36
|
export * from './proto/wallet-proto-path';
|
|
37
|
+
export * from './proto/wallet-referral-proto-path';
|
|
37
38
|
export * from './proto/bonus-campaign-proto-path';
|
|
38
39
|
export * from './proto/support-contact-proto-path';
|
|
39
40
|
export * from './proto/legal-document-proto-path';
|
package/dist/index.js
CHANGED
|
@@ -51,6 +51,7 @@ __exportStar(require("./dto/update-car-manufacturer.dto"), exports);
|
|
|
51
51
|
__exportStar(require("./dto/create-car-model.dto"), exports);
|
|
52
52
|
__exportStar(require("./dto/update-car-model.dto"), exports);
|
|
53
53
|
__exportStar(require("./proto/wallet-proto-path"), exports);
|
|
54
|
+
__exportStar(require("./proto/wallet-referral-proto-path"), exports);
|
|
54
55
|
__exportStar(require("./proto/bonus-campaign-proto-path"), exports);
|
|
55
56
|
__exportStar(require("./proto/support-contact-proto-path"), exports);
|
|
56
57
|
__exportStar(require("./proto/legal-document-proto-path"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const walletReferralProtoPath: string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package wallet_referral;
|
|
4
|
+
|
|
5
|
+
service WalletReferralService {
|
|
6
|
+
rpc ApplyReferralBonus (ApplyReferralBonusRequest) returns (ApplyReferralBonusResponse);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
message ApplyReferralBonusRequest {
|
|
10
|
+
string refereeClientId = 1;
|
|
11
|
+
string referrerClientId = 2;
|
|
12
|
+
float refereeAmount = 3;
|
|
13
|
+
float referrerAmount = 4;
|
|
14
|
+
string referralCode = 5;
|
|
15
|
+
string eventId = 6;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message ApplyReferralBonusData {
|
|
19
|
+
string refereeClientId = 1;
|
|
20
|
+
string referrerClientId = 2;
|
|
21
|
+
float refereeBalance = 3;
|
|
22
|
+
float referrerBalance = 4;
|
|
23
|
+
string eventId = 5;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message ApplyReferralBonusResponse {
|
|
27
|
+
int32 statusCode = 1;
|
|
28
|
+
string message = 2;
|
|
29
|
+
ApplyReferralBonusData data = 3;
|
|
30
|
+
}
|