@arbiwallet/contracts 1.0.270 → 1.0.271
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/gen/referral.ts +3 -0
- package/package.json +1 -1
- package/proto/referral.proto +3 -0
package/gen/referral.ts
CHANGED
|
@@ -98,6 +98,8 @@ export interface GetReferralSummaryResponse {
|
|
|
98
98
|
balances: ReferralBalanceItem[];
|
|
99
99
|
referralsCount: number;
|
|
100
100
|
totalUsdVolume: string;
|
|
101
|
+
totalUsdtBalance: string;
|
|
102
|
+
availableUsdtBalance: string;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
export interface ListReferralsRequest {
|
|
@@ -238,6 +240,7 @@ export interface ReferralPayoutResponse {
|
|
|
238
240
|
comment?: string | undefined;
|
|
239
241
|
createdAt: string;
|
|
240
242
|
updatedAt: string;
|
|
243
|
+
walletUserId?: string | undefined;
|
|
241
244
|
}
|
|
242
245
|
|
|
243
246
|
export interface ListPayoutsRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbiwallet/contracts",
|
|
3
3
|
"descriptions": "Generate and manage smart contracts for ArbiWallet",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.271",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
package/proto/referral.proto
CHANGED
|
@@ -106,6 +106,8 @@ message GetReferralSummaryResponse {
|
|
|
106
106
|
repeated ReferralBalanceItem balances = 2;
|
|
107
107
|
int32 referrals_count = 3;
|
|
108
108
|
string total_usd_volume = 4;
|
|
109
|
+
string total_usdt_balance = 5;
|
|
110
|
+
string available_usdt_balance = 6;
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
message ListReferralsRequest {
|
|
@@ -246,6 +248,7 @@ message ReferralPayoutResponse {
|
|
|
246
248
|
optional string comment = 8;
|
|
247
249
|
string created_at = 9;
|
|
248
250
|
string updated_at = 10;
|
|
251
|
+
optional string wallet_user_id = 11;
|
|
249
252
|
}
|
|
250
253
|
|
|
251
254
|
message ListPayoutsRequest {
|