@arbiwallet/contracts 1.0.277 → 1.0.279
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 +18 -0
- package/package.json +1 -1
- package/proto/exchange_core.proto +12 -0
package/gen/exchange_core.ts
CHANGED
|
@@ -180,6 +180,8 @@ export interface GetExchangeDealsItem {
|
|
|
180
180
|
referrerPercent?: number | undefined;
|
|
181
181
|
managerPersonId?: string | undefined;
|
|
182
182
|
managerPersonName?: string | undefined;
|
|
183
|
+
receivedFromDealer?: number | undefined;
|
|
184
|
+
receivedFromDealerWalletId?: string | undefined;
|
|
183
185
|
}
|
|
184
186
|
|
|
185
187
|
export interface GetExchangeDealsResponse {
|
|
@@ -439,6 +441,22 @@ export interface GetExchangePaymentsRequest {
|
|
|
439
441
|
page?: number | undefined;
|
|
440
442
|
limit?: number | undefined;
|
|
441
443
|
authManagerContext?: AuthManagerContext | undefined;
|
|
444
|
+
paymentNumber?: string | undefined;
|
|
445
|
+
customerId?: string | undefined;
|
|
446
|
+
startDate?: string | undefined;
|
|
447
|
+
endDate?:
|
|
448
|
+
| string
|
|
449
|
+
| undefined;
|
|
450
|
+
/** all | RUB | USDT */
|
|
451
|
+
currency?: string | undefined;
|
|
452
|
+
amountFrom?: number | undefined;
|
|
453
|
+
amountTo?: number | undefined;
|
|
454
|
+
status?: string | undefined;
|
|
455
|
+
paymentAgent?:
|
|
456
|
+
| number
|
|
457
|
+
| undefined;
|
|
458
|
+
/** date_asc | date_desc | amount_asc | amount_desc */
|
|
459
|
+
sort?: string | undefined;
|
|
442
460
|
}
|
|
443
461
|
|
|
444
462
|
export interface GetExchangePaymentsItem {
|
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.279",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
@@ -215,6 +215,8 @@ message GetExchangeDealsItem {
|
|
|
215
215
|
optional double referrer_percent = 39;
|
|
216
216
|
optional string manager_person_id = 40;
|
|
217
217
|
optional string manager_person_name = 41;
|
|
218
|
+
optional double received_from_dealer = 42;
|
|
219
|
+
optional string received_from_dealer_wallet_id = 43;
|
|
218
220
|
}
|
|
219
221
|
|
|
220
222
|
message GetExchangeDealsResponse {
|
|
@@ -484,6 +486,16 @@ message GetExchangePaymentsRequest {
|
|
|
484
486
|
optional int32 page = 1;
|
|
485
487
|
optional int32 limit = 2;
|
|
486
488
|
optional AuthManagerContext auth_manager_context = 3;
|
|
489
|
+
optional string payment_number = 4;
|
|
490
|
+
optional string customer_id = 5;
|
|
491
|
+
optional string start_date = 6;
|
|
492
|
+
optional string end_date = 7;
|
|
493
|
+
optional string currency = 8; // all | RUB | USDT
|
|
494
|
+
optional double amount_from = 9;
|
|
495
|
+
optional double amount_to = 10;
|
|
496
|
+
optional string status = 11;
|
|
497
|
+
optional int32 payment_agent = 12;
|
|
498
|
+
optional string sort = 13; // date_asc | date_desc | amount_asc | amount_desc
|
|
487
499
|
}
|
|
488
500
|
|
|
489
501
|
message GetExchangePaymentsItem {
|