@arbiwallet/contracts 1.0.263 → 1.0.264

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.
@@ -129,24 +129,44 @@ 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
- paymentId?: string | undefined;
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;
150
+ outputCurrencyId: string;
151
+ outputWalletId: string;
152
+ exchangeStatusId: string;
141
153
  status: boolean;
142
- exchangeStatusName: string;
143
- calculationSourceId?: string | undefined;
154
+ payed: boolean;
155
+ referrerId?: string | undefined;
156
+ referrerText?: string | undefined;
157
+ officeId?: string | undefined;
158
+ receipts: GetExchangeDealsReceipt[];
144
159
  manager?: GetExchangeDealsManager | undefined;
145
- createdAt: string;
160
+ paymentId?: string | undefined;
161
+ payerName: string;
162
+ payerData: string;
163
+ calculationSourceId?: string | undefined;
146
164
  exchangeRate1Iter?: number | undefined;
147
165
  exchangeRate2Iter?: number | undefined;
148
166
  usdtRate?: number | undefined;
149
- payed: boolean;
167
+ outputAmountInUsdt?: number | undefined;
168
+ includeInTotalCalculation: boolean;
169
+ oneCurrencyExchange: boolean;
150
170
  }
151
171
 
152
172
  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.263",
4
+ "version": "1.0.264",
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,44 @@ 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 user_id = 2;
167
- optional string payment_id = 3;
168
- double input_amount = 4;
169
- string input_currency_id = 5;
170
- double output_amount = 6;
171
- string output_currency_id = 7;
172
- double fact_output_amount = 8;
173
- bool status = 9;
174
- string exchange_status_name = 10;
175
- optional string calculation_source_id = 11;
176
- optional GetExchangeDealsManager manager = 12;
177
- string created_at = 13;
178
- optional double exchange_rate_1_iter = 14;
179
- optional double exchange_rate_2_iter = 15;
180
- optional double usdt_rate = 16;
181
- bool payed = 17;
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
+ bool status = 15;
186
+ bool payed = 16;
187
+ optional string referrer_id = 17;
188
+ optional string referrer_text = 18;
189
+ optional string office_id = 19;
190
+ repeated GetExchangeDealsReceipt receipts = 20;
191
+ optional GetExchangeDealsManager manager = 21;
192
+ optional string payment_id = 22;
193
+ string payer_name = 23;
194
+ string payer_data = 24;
195
+ optional string calculation_source_id = 25;
196
+ optional double exchange_rate_1_iter = 26;
197
+ optional double exchange_rate_2_iter = 27;
198
+ optional double usdt_rate = 28;
199
+ optional double output_amount_in_usdt = 29;
200
+ bool include_in_total_calculation = 30;
201
+ bool one_currency_exchange = 31;
182
202
  }
183
203
 
184
204
  message GetExchangeDealsResponse {