@arbiwallet/contracts 1.0.232 → 1.0.234
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/gen/exchange_rates.ts +5 -0
- package/package.json +1 -1
- package/proto/exchange_core.proto +16 -0
- package/proto/exchange_rates.proto +20 -14
package/gen/exchange_core.ts
CHANGED
|
@@ -303,6 +303,21 @@ export interface GetWalletsResponse {
|
|
|
303
303
|
results: WalletItem[];
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
+
export interface GetWalletsMonikaRequest {
|
|
307
|
+
authManagerContext: AuthManagerContext | undefined;
|
|
308
|
+
search?: string | undefined;
|
|
309
|
+
isActive?: boolean | undefined;
|
|
310
|
+
page?: number | undefined;
|
|
311
|
+
pageSize?: number | undefined;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface GetWalletsMonikaResponse {
|
|
315
|
+
count: number;
|
|
316
|
+
next?: string | undefined;
|
|
317
|
+
previous?: string | undefined;
|
|
318
|
+
results: WalletItem[];
|
|
319
|
+
}
|
|
320
|
+
|
|
306
321
|
export interface CreateWalletRequest {
|
|
307
322
|
authManagerContext: AuthManagerContext | undefined;
|
|
308
323
|
name: string;
|
|
@@ -381,6 +396,8 @@ export interface ExchangeCoreServiceClient {
|
|
|
381
396
|
|
|
382
397
|
getWallets(request: GetWalletsRequest): Observable<GetWalletsResponse>;
|
|
383
398
|
|
|
399
|
+
getWalletsMonika(request: GetWalletsMonikaRequest): Observable<GetWalletsMonikaResponse>;
|
|
400
|
+
|
|
384
401
|
createWallet(request: CreateWalletRequest): Observable<CreateWalletResponse>;
|
|
385
402
|
|
|
386
403
|
updateWallet(request: UpdateWalletRequest): Observable<UpdateWalletResponse>;
|
|
@@ -428,6 +445,10 @@ export interface ExchangeCoreServiceController {
|
|
|
428
445
|
request: GetWalletsRequest,
|
|
429
446
|
): Promise<GetWalletsResponse> | Observable<GetWalletsResponse> | GetWalletsResponse;
|
|
430
447
|
|
|
448
|
+
getWalletsMonika(
|
|
449
|
+
request: GetWalletsMonikaRequest,
|
|
450
|
+
): Promise<GetWalletsMonikaResponse> | Observable<GetWalletsMonikaResponse> | GetWalletsMonikaResponse;
|
|
451
|
+
|
|
431
452
|
createWallet(
|
|
432
453
|
request: CreateWalletRequest,
|
|
433
454
|
): Promise<CreateWalletResponse> | Observable<CreateWalletResponse> | CreateWalletResponse;
|
|
@@ -453,6 +474,7 @@ export function ExchangeCoreServiceControllerMethods() {
|
|
|
453
474
|
"getTransactionsSummary",
|
|
454
475
|
"getPaymentsSummary",
|
|
455
476
|
"getWallets",
|
|
477
|
+
"getWalletsMonika",
|
|
456
478
|
"createWallet",
|
|
457
479
|
"updateWallet",
|
|
458
480
|
"deleteWallet",
|
package/gen/exchange_rates.ts
CHANGED
|
@@ -32,6 +32,10 @@ export enum ExchangeCalculationAllowedAction {
|
|
|
32
32
|
export interface CurrencySetting {
|
|
33
33
|
id: string;
|
|
34
34
|
shortName: string;
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
currencyType?: string | undefined;
|
|
37
|
+
currencyTypeId?: string | undefined;
|
|
38
|
+
symbol?: string | undefined;
|
|
35
39
|
priorityBuy?: number | undefined;
|
|
36
40
|
prioritySell?: number | undefined;
|
|
37
41
|
priceBuy?: string | undefined;
|
|
@@ -46,6 +50,7 @@ export interface CurrencySetting {
|
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
export interface GetCurrencySettingsRequest {
|
|
53
|
+
search?: string | undefined;
|
|
49
54
|
}
|
|
50
55
|
|
|
51
56
|
export interface GetCurrencySettingsResponse {
|
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.234",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
|
@@ -21,6 +21,7 @@ service ExchangeCoreService {
|
|
|
21
21
|
rpc GetPaymentsSummary(ExchangeCalculationsFiltersRequest) returns (GetPaymentsSummaryResponse);
|
|
22
22
|
|
|
23
23
|
rpc GetWallets(GetWalletsRequest) returns (GetWalletsResponse);
|
|
24
|
+
rpc GetWalletsMonika(GetWalletsMonikaRequest) returns (GetWalletsMonikaResponse);
|
|
24
25
|
rpc CreateWallet(CreateWalletRequest) returns (CreateWalletResponse);
|
|
25
26
|
rpc UpdateWallet(UpdateWalletRequest) returns (UpdateWalletResponse);
|
|
26
27
|
rpc DeleteWallet(DeleteWalletRequest) returns (DeleteWalletResponse);
|
|
@@ -325,6 +326,21 @@ message GetWalletsResponse {
|
|
|
325
326
|
repeated WalletItem results = 4;
|
|
326
327
|
}
|
|
327
328
|
|
|
329
|
+
message GetWalletsMonikaRequest {
|
|
330
|
+
AuthManagerContext auth_manager_context = 1;
|
|
331
|
+
optional string search = 2;
|
|
332
|
+
optional bool is_active = 3;
|
|
333
|
+
optional int32 page = 4;
|
|
334
|
+
optional int32 page_size = 5;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
message GetWalletsMonikaResponse {
|
|
338
|
+
int32 count = 1;
|
|
339
|
+
optional string next = 2;
|
|
340
|
+
optional string previous = 3;
|
|
341
|
+
repeated WalletItem results = 4;
|
|
342
|
+
}
|
|
343
|
+
|
|
328
344
|
message CreateWalletRequest {
|
|
329
345
|
AuthManagerContext auth_manager_context = 1;
|
|
330
346
|
string name = 2;
|
|
@@ -38,20 +38,26 @@ service ExchangeRatesService {
|
|
|
38
38
|
message CurrencySetting {
|
|
39
39
|
string id = 1;
|
|
40
40
|
string short_name = 2;
|
|
41
|
-
optional
|
|
42
|
-
optional
|
|
43
|
-
optional string
|
|
44
|
-
optional string
|
|
45
|
-
|
|
46
|
-
optional
|
|
47
|
-
optional string
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
optional string
|
|
51
|
-
optional
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
optional string name = 3;
|
|
42
|
+
optional string currency_type = 4;
|
|
43
|
+
optional string currency_type_id = 5;
|
|
44
|
+
optional string symbol = 6;
|
|
45
|
+
optional double priority_buy = 7;
|
|
46
|
+
optional double priority_sell = 8;
|
|
47
|
+
optional string price_buy = 9;
|
|
48
|
+
optional string price_sell = 10;
|
|
49
|
+
bool one_price_for_variations_buy = 11;
|
|
50
|
+
optional string one_price_buy_type_id = 12;
|
|
51
|
+
optional string one_price_buy_type = 13;
|
|
52
|
+
bool one_price_for_variations_sell = 14;
|
|
53
|
+
optional string one_price_sell_type_id = 15;
|
|
54
|
+
optional string one_price_sell_type = 16;
|
|
55
|
+
optional int32 output_rounding = 17;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message GetCurrencySettingsRequest {
|
|
59
|
+
optional string search = 1;
|
|
60
|
+
}
|
|
55
61
|
|
|
56
62
|
message GetCurrencySettingsResponse {
|
|
57
63
|
bool exist = 1;
|