@arbiwallet/contracts 1.0.263 → 1.0.265
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/exchange_core.ts +27 -6
- package/package.json +1 -1
- package/proto/exchange_core.proto +36 -15
package/gen/exchange_core.ts
CHANGED
|
@@ -129,24 +129,45 @@ export interface GetExchangeDealsManager {
|
|
|
129
129
|
email: string;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
export interface GetExchangeDealsReceipt {
|
|
133
|
+
id: string;
|
|
134
|
+
amount?: number | undefined;
|
|
135
|
+
createdAt?: string | undefined;
|
|
136
|
+
}
|
|
137
|
+
|
|
132
138
|
export interface GetExchangeDealsItem {
|
|
133
139
|
id: string;
|
|
140
|
+
dailyId: string;
|
|
134
141
|
userId: string;
|
|
135
|
-
|
|
142
|
+
userText: string;
|
|
143
|
+
createdAt: string;
|
|
136
144
|
inputAmount: number;
|
|
137
145
|
inputCurrencyId: string;
|
|
146
|
+
inputWalletId: string;
|
|
147
|
+
methodId: string;
|
|
138
148
|
outputAmount: number;
|
|
139
|
-
outputCurrencyId: string;
|
|
140
149
|
factOutputAmount: number;
|
|
141
|
-
|
|
150
|
+
outputCurrencyId: string;
|
|
151
|
+
outputWalletId: string;
|
|
152
|
+
exchangeStatusId: string;
|
|
142
153
|
exchangeStatusName: string;
|
|
143
|
-
|
|
154
|
+
status: boolean;
|
|
155
|
+
payed: boolean;
|
|
156
|
+
referrerId?: string | undefined;
|
|
157
|
+
referrerText?: string | undefined;
|
|
158
|
+
officeId?: string | undefined;
|
|
159
|
+
receipts: GetExchangeDealsReceipt[];
|
|
144
160
|
manager?: GetExchangeDealsManager | undefined;
|
|
145
|
-
|
|
161
|
+
paymentId?: string | undefined;
|
|
162
|
+
payerName: string;
|
|
163
|
+
payerData: string;
|
|
164
|
+
calculationSourceId?: string | undefined;
|
|
146
165
|
exchangeRate1Iter?: number | undefined;
|
|
147
166
|
exchangeRate2Iter?: number | undefined;
|
|
148
167
|
usdtRate?: number | undefined;
|
|
149
|
-
|
|
168
|
+
outputAmountInUsdt?: number | undefined;
|
|
169
|
+
includeInTotalCalculation: boolean;
|
|
170
|
+
oneCurrencyExchange: boolean;
|
|
150
171
|
}
|
|
151
172
|
|
|
152
173
|
export interface GetExchangeDealsResponse {
|
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.265",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
@@ -161,24 +161,45 @@ message GetExchangeDealsManager {
|
|
|
161
161
|
string email = 2;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
message GetExchangeDealsReceipt {
|
|
165
|
+
string id = 1;
|
|
166
|
+
optional double amount = 2;
|
|
167
|
+
optional string created_at = 3;
|
|
168
|
+
}
|
|
169
|
+
|
|
164
170
|
message GetExchangeDealsItem {
|
|
165
171
|
string id = 1;
|
|
166
|
-
string
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
string
|
|
170
|
-
double
|
|
171
|
-
string
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
string
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
172
|
+
string daily_id = 2;
|
|
173
|
+
string user_id = 3;
|
|
174
|
+
string user_text = 4;
|
|
175
|
+
string created_at = 5;
|
|
176
|
+
double input_amount = 6;
|
|
177
|
+
string input_currency_id = 7;
|
|
178
|
+
string input_wallet_id = 8;
|
|
179
|
+
string method_id = 9;
|
|
180
|
+
double output_amount = 10;
|
|
181
|
+
double fact_output_amount = 11;
|
|
182
|
+
string output_currency_id = 12;
|
|
183
|
+
string output_wallet_id = 13;
|
|
184
|
+
string exchange_status_id = 14;
|
|
185
|
+
string exchange_status_name = 15;
|
|
186
|
+
bool status = 16;
|
|
181
187
|
bool payed = 17;
|
|
188
|
+
optional string referrer_id = 18;
|
|
189
|
+
optional string referrer_text = 19;
|
|
190
|
+
optional string office_id = 20;
|
|
191
|
+
repeated GetExchangeDealsReceipt receipts = 21;
|
|
192
|
+
optional GetExchangeDealsManager manager = 22;
|
|
193
|
+
optional string payment_id = 23;
|
|
194
|
+
string payer_name = 24;
|
|
195
|
+
string payer_data = 25;
|
|
196
|
+
optional string calculation_source_id = 26;
|
|
197
|
+
optional double exchange_rate_1_iter = 27;
|
|
198
|
+
optional double exchange_rate_2_iter = 28;
|
|
199
|
+
optional double usdt_rate = 29;
|
|
200
|
+
optional double output_amount_in_usdt = 30;
|
|
201
|
+
bool include_in_total_calculation = 31;
|
|
202
|
+
bool one_currency_exchange = 32;
|
|
182
203
|
}
|
|
183
204
|
|
|
184
205
|
message GetExchangeDealsResponse {
|