@arbiwallet/contracts 1.0.246 → 1.0.248
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 +22 -0
- package/package.json +1 -1
- package/proto/exchange_core.proto +17 -0
package/gen/exchange_core.ts
CHANGED
|
@@ -397,6 +397,7 @@ export interface GetExchangePaymentsItem {
|
|
|
397
397
|
createdAt: string;
|
|
398
398
|
customerName?: string | undefined;
|
|
399
399
|
managerName?: string | undefined;
|
|
400
|
+
calculationId?: string | undefined;
|
|
400
401
|
}
|
|
401
402
|
|
|
402
403
|
export interface GetExchangePaymentsResponse {
|
|
@@ -428,6 +429,20 @@ export interface GetPaymentsSummaryResponse {
|
|
|
428
429
|
items: PaymentsSummaryItem[];
|
|
429
430
|
}
|
|
430
431
|
|
|
432
|
+
export interface ExchangeMethodItem {
|
|
433
|
+
id: number;
|
|
434
|
+
name: string;
|
|
435
|
+
sort: number;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export interface GetExchangeMethodsRequest {
|
|
439
|
+
authManagerContext: AuthManagerContext | undefined;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export interface GetExchangeMethodsResponse {
|
|
443
|
+
methods: ExchangeMethodItem[];
|
|
444
|
+
}
|
|
445
|
+
|
|
431
446
|
export interface WalletItem {
|
|
432
447
|
id: string;
|
|
433
448
|
name: string;
|
|
@@ -572,6 +587,8 @@ export interface ExchangeCoreServiceClient {
|
|
|
572
587
|
|
|
573
588
|
getPaymentsSummary(request: ExchangeCalculationsFiltersRequest): Observable<GetPaymentsSummaryResponse>;
|
|
574
589
|
|
|
590
|
+
getExchangeMethods(request: GetExchangeMethodsRequest): Observable<GetExchangeMethodsResponse>;
|
|
591
|
+
|
|
575
592
|
getWallets(request: GetWalletsRequest): Observable<GetWalletsResponse>;
|
|
576
593
|
|
|
577
594
|
getWalletsMonika(request: GetWalletsMonikaRequest): Observable<GetWalletsMonikaResponse>;
|
|
@@ -642,6 +659,10 @@ export interface ExchangeCoreServiceController {
|
|
|
642
659
|
request: ExchangeCalculationsFiltersRequest,
|
|
643
660
|
): Promise<GetPaymentsSummaryResponse> | Observable<GetPaymentsSummaryResponse> | GetPaymentsSummaryResponse;
|
|
644
661
|
|
|
662
|
+
getExchangeMethods(
|
|
663
|
+
request: GetExchangeMethodsRequest,
|
|
664
|
+
): Promise<GetExchangeMethodsResponse> | Observable<GetExchangeMethodsResponse> | GetExchangeMethodsResponse;
|
|
665
|
+
|
|
645
666
|
getWallets(
|
|
646
667
|
request: GetWalletsRequest,
|
|
647
668
|
): Promise<GetWalletsResponse> | Observable<GetWalletsResponse> | GetWalletsResponse;
|
|
@@ -679,6 +700,7 @@ export function ExchangeCoreServiceControllerMethods() {
|
|
|
679
700
|
"getExchangePayments",
|
|
680
701
|
"getExchangePayment",
|
|
681
702
|
"getPaymentsSummary",
|
|
703
|
+
"getExchangeMethods",
|
|
682
704
|
"getWallets",
|
|
683
705
|
"getWalletsMonika",
|
|
684
706
|
"createWallet",
|
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.248",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
@@ -25,6 +25,8 @@ service ExchangeCoreService {
|
|
|
25
25
|
rpc GetExchangePayment(GetExchangePaymentRequest) returns (GetExchangePaymentResponse);
|
|
26
26
|
rpc GetPaymentsSummary(ExchangeCalculationsFiltersRequest) returns (GetPaymentsSummaryResponse);
|
|
27
27
|
|
|
28
|
+
rpc GetExchangeMethods(GetExchangeMethodsRequest) returns (GetExchangeMethodsResponse);
|
|
29
|
+
|
|
28
30
|
rpc GetWallets(GetWalletsRequest) returns (GetWalletsResponse);
|
|
29
31
|
rpc GetWalletsMonika(GetWalletsMonikaRequest) returns (GetWalletsMonikaResponse);
|
|
30
32
|
rpc CreateWallet(CreateWalletRequest) returns (CreateWalletResponse);
|
|
@@ -436,6 +438,7 @@ message GetExchangePaymentsItem {
|
|
|
436
438
|
string created_at = 10;
|
|
437
439
|
optional string customer_name = 11;
|
|
438
440
|
optional string manager_name = 12;
|
|
441
|
+
optional string calculation_id = 13;
|
|
439
442
|
}
|
|
440
443
|
|
|
441
444
|
message GetExchangePaymentsResponse {
|
|
@@ -467,6 +470,20 @@ message GetPaymentsSummaryResponse {
|
|
|
467
470
|
repeated PaymentsSummaryItem items = 2;
|
|
468
471
|
}
|
|
469
472
|
|
|
473
|
+
message ExchangeMethodItem {
|
|
474
|
+
int64 id = 1;
|
|
475
|
+
string name = 2;
|
|
476
|
+
int32 sort = 3;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
message GetExchangeMethodsRequest {
|
|
480
|
+
AuthManagerContext auth_manager_context = 1;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
message GetExchangeMethodsResponse {
|
|
484
|
+
repeated ExchangeMethodItem methods = 1;
|
|
485
|
+
}
|
|
486
|
+
|
|
470
487
|
message WalletItem {
|
|
471
488
|
string id = 1;
|
|
472
489
|
string name = 2;
|