@arbiwallet/contracts 1.0.242 → 1.0.243

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.
@@ -66,7 +66,7 @@ export interface CreateExchangeDealResponse {
66
66
 
67
67
  export interface GetExchangeDealsRequest {
68
68
  authManagerContext: AuthManagerContext | undefined;
69
- filter: ExchangeCalculationsFiltersRequest | undefined;
69
+ filter: ExchangeDealsFiltersRequest | undefined;
70
70
  page?: number | undefined;
71
71
  pageSize?: number | undefined;
72
72
  }
@@ -259,6 +259,26 @@ export interface ExchangeCalculationsFiltersRequest {
259
259
  search?: string | undefined;
260
260
  }
261
261
 
262
+ export interface ExchangeDealsFiltersRequest {
263
+ customers?: string | undefined;
264
+ managers?: string | undefined;
265
+ inputCurrency?: string | undefined;
266
+ outputCurrency?: string | undefined;
267
+ status?: string | undefined;
268
+ startDate?: string | undefined;
269
+ endDate?: string | undefined;
270
+ source?: string | undefined;
271
+ referrer?: string | undefined;
272
+ isPartner?: boolean | undefined;
273
+ oneCurrency?: boolean | undefined;
274
+ includeInTotalCalculation?: boolean | undefined;
275
+ amountMin?: number | undefined;
276
+ amountMax?: number | undefined;
277
+ search?: string | undefined;
278
+ sort?: string | undefined;
279
+ office?: string | undefined;
280
+ }
281
+
262
282
  export interface CreateExchangePaymentRequest {
263
283
  authManagerContext: AuthManagerContext | undefined;
264
284
  calculationId?: string | undefined;
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.242",
4
+ "version": "1.0.243",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -93,7 +93,7 @@ message CreateExchangeDealResponse {
93
93
 
94
94
  message GetExchangeDealsRequest {
95
95
  AuthManagerContext auth_manager_context = 1;
96
- ExchangeCalculationsFiltersRequest filter = 2;
96
+ ExchangeDealsFiltersRequest filter = 2;
97
97
  optional int32 page = 3;
98
98
  optional int32 page_size = 4;
99
99
  }
@@ -285,6 +285,26 @@ message ExchangeCalculationsFiltersRequest {
285
285
  optional string search = 8;
286
286
  }
287
287
 
288
+ message ExchangeDealsFiltersRequest {
289
+ optional string customers = 1;
290
+ optional string managers = 2;
291
+ optional string input_currency = 3;
292
+ optional string output_currency = 4;
293
+ optional string status = 5;
294
+ optional string start_date = 6;
295
+ optional string end_date = 7;
296
+ optional string source = 8;
297
+ optional string referrer = 9;
298
+ optional bool is_partner = 10;
299
+ optional bool one_currency = 11;
300
+ optional bool include_in_total_calculation = 12;
301
+ optional double amount_min = 13;
302
+ optional double amount_max = 14;
303
+ optional string search = 15;
304
+ optional string sort = 16;
305
+ optional string office = 17;
306
+ }
307
+
288
308
  message CreateExchangePaymentRequest {
289
309
  AuthManagerContext auth_manager_context = 1;
290
310