@ledgerhq/revault-api 1.32.1 → 1.34.0
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/lib/{app-types-cjzmhBDS.d.mts → app-types-CAcz9y3Z.d.mts} +53 -8
- package/lib/fakes.d.mts +4 -3
- package/lib/fakes.mjs +26 -1
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +93 -17
- package/package.json +2 -2
package/lib/index.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable
|
|
|
10
10
|
import * as fastify_types_type_provider from 'fastify/types/type-provider';
|
|
11
11
|
import * as http from 'http';
|
|
12
12
|
import * as fastify from 'fastify';
|
|
13
|
-
export { A as AccountResponse, a as AccountSortBy, d as ApiChallenge, H as HsmCertificate, P as PsdChallenge, e as PsdPairingData, f as PsdPairingInputData, g as PsdSignature, h as PubKey, R as RequestSortBy, w as UserChallengeResponse, U as UserRegistrationChallenge, i as UserRegistrationChallengeResponse, j as UserRegistrationDeviceData, V as VaultRequestCreateInput, t as VaultRequestResponse, c as zAccountLiveData, z as zAccountResponse, b as zAccountSortBy, k as zPsdPairingData, l as zPsdPairingInputData, m as zPsdSignature, n as zPubKey, u as zRequestSortBy, v as zUserChallengeResponse, o as zUserRegistrationChallenge, p as zUserRegistrationChallengeResponse, q as zUserRegistrationDeviceData, r as zVaultRequestCreateInput, s as zVaultRequestResponse } from './app-types-
|
|
13
|
+
export { A as AccountResponse, a as AccountSortBy, d as ApiChallenge, H as HsmCertificate, P as PsdChallenge, e as PsdPairingData, f as PsdPairingInputData, g as PsdSignature, h as PubKey, R as RequestSortBy, w as UserChallengeResponse, U as UserRegistrationChallenge, i as UserRegistrationChallengeResponse, j as UserRegistrationDeviceData, V as VaultRequestCreateInput, t as VaultRequestResponse, c as zAccountLiveData, z as zAccountResponse, b as zAccountSortBy, k as zPsdPairingData, l as zPsdPairingInputData, m as zPsdSignature, n as zPubKey, u as zRequestSortBy, v as zUserChallengeResponse, o as zUserRegistrationChallenge, p as zUserRegistrationChallengeResponse, q as zUserRegistrationDeviceData, r as zVaultRequestCreateInput, s as zVaultRequestResponse } from './app-types-CAcz9y3Z.mjs';
|
|
14
14
|
export { CreateWebhookPayload, DeleteWebhookResponse, WebhookResponse, WebhooksResponse, zCreateWebhookPayload, zDeleteWebhookResponse, zWebhookResponse } from '@ledgerhq/revault-notifier-types/webhook';
|
|
15
15
|
|
|
16
16
|
type RateLimitRouteMetricsConfig = {
|
|
@@ -1554,6 +1554,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1554
1554
|
} | {
|
|
1555
1555
|
type: "STELLAR_LIKE";
|
|
1556
1556
|
address: string | null;
|
|
1557
|
+
} | {
|
|
1558
|
+
type: "SUI_LIKE";
|
|
1559
|
+
address: string | null;
|
|
1557
1560
|
} | {
|
|
1558
1561
|
type: "TEZOS_LIKE";
|
|
1559
1562
|
address: string | null;
|
|
@@ -1636,6 +1639,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1636
1639
|
} | {
|
|
1637
1640
|
type: "STELLAR_LIKE";
|
|
1638
1641
|
address: string | null;
|
|
1642
|
+
} | {
|
|
1643
|
+
type: "SUI_LIKE";
|
|
1644
|
+
address: string | null;
|
|
1639
1645
|
} | {
|
|
1640
1646
|
type: "TEZOS_LIKE";
|
|
1641
1647
|
address: string | null;
|
|
@@ -1930,7 +1936,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1930
1936
|
};
|
|
1931
1937
|
} & RateLimitMetricsMeta;
|
|
1932
1938
|
}>;
|
|
1933
|
-
estimateFees: _trpc_server.
|
|
1939
|
+
estimateFees: _trpc_server.TRPCMutationProcedure<{
|
|
1934
1940
|
input: {
|
|
1935
1941
|
id: string;
|
|
1936
1942
|
transaction: {
|
|
@@ -2317,7 +2323,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2317
2323
|
};
|
|
2318
2324
|
} & RateLimitMetricsMeta;
|
|
2319
2325
|
}>;
|
|
2320
|
-
getAccountAddressChallengeForPsd: _trpc_server.
|
|
2326
|
+
getAccountAddressChallengeForPsd: _trpc_server.TRPCMutationProcedure<{
|
|
2321
2327
|
input: {
|
|
2322
2328
|
id: string;
|
|
2323
2329
|
accountType: "EOA";
|
|
@@ -2514,6 +2520,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2514
2520
|
total: string;
|
|
2515
2521
|
pending: string;
|
|
2516
2522
|
};
|
|
2523
|
+
} | {
|
|
2524
|
+
type: "SUI_LIKE";
|
|
2525
|
+
id: string;
|
|
2526
|
+
balance: {
|
|
2527
|
+
total: string;
|
|
2528
|
+
pending: string;
|
|
2529
|
+
};
|
|
2517
2530
|
} | {
|
|
2518
2531
|
type: "TEZOS_LIKE";
|
|
2519
2532
|
id: string;
|
|
@@ -2703,6 +2716,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2703
2716
|
total: string;
|
|
2704
2717
|
pending: string;
|
|
2705
2718
|
};
|
|
2719
|
+
} | {
|
|
2720
|
+
type: "SUI_LIKE";
|
|
2721
|
+
id: string;
|
|
2722
|
+
balance: {
|
|
2723
|
+
total: string;
|
|
2724
|
+
pending: string;
|
|
2725
|
+
};
|
|
2706
2726
|
} | {
|
|
2707
2727
|
type: "TEZOS_LIKE";
|
|
2708
2728
|
id: string;
|
|
@@ -3373,10 +3393,10 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3373
3393
|
}, _trpc_server.TRPCDecorateCreateRouterOptions<{
|
|
3374
3394
|
list: _trpc_server.TRPCQueryProcedure<{
|
|
3375
3395
|
input: {
|
|
3376
|
-
type?: "UPDATE_QUORUM" | "CREATE_TRANSACTION" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "CREATE_ACCOUNT" | "EDIT_ACCOUNT" | "ACTIVATE_TRADELINK_ACCOUNT" | "CREATE_GROUP" | "EDIT_GROUP" | "REVOKE_GROUP" | "CREATE_WHITELIST" | "EDIT_WHITELIST" | "CREATE_ENTITY" | "EDIT_ENTITY" | "REVOKE_ENTITY" | "CREATE_PSD_USER" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "REVOKE_USER" | "CREATE_WORKSPACE_RULE" | "EDIT_WORKSPACE_RULE" | "CREATE_SCICONFIG" | "EDIT_SCICONFIG" | "CREATE_API_KEY" | "EDIT_API_KEY" | "REVOKE_API_KEY" | "CREATE_POLICY" | "EDIT_POLICY" | "CREATE_TRADELINK_CUSTODIAN" | "EDIT_TRADELINK_CUSTODIAN" | "CREATE_TRADELINK_EXCHANGE" | "EDIT_TRADELINK_EXCHANGE" | "CREATE_TRADELINK_ASSET_MANAGER" | "EDIT_TRADELINK_ASSET_MANAGER" | "ADJUST_PLEDGE" | "CREATE_SETTLEMENT" | "FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "EDIT_TOKEN_RULE" | undefined;
|
|
3396
|
+
type?: "UPDATE_QUORUM" | "CREATE_TRANSACTION" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "CREATE_ACCOUNT" | "EDIT_ACCOUNT" | "ACTIVATE_TRADELINK_ACCOUNT" | "CREATE_GROUP" | "EDIT_GROUP" | "REVOKE_GROUP" | "CREATE_WHITELIST" | "EDIT_WHITELIST" | "CREATE_ENTITY" | "EDIT_ENTITY" | "REVOKE_ENTITY" | "CREATE_PSD_USER" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "REVOKE_USER" | "CREATE_WORKSPACE_RULE" | "EDIT_WORKSPACE_RULE" | "CREATE_SCICONFIG" | "EDIT_SCICONFIG" | "CREATE_API_KEY" | "EDIT_API_KEY" | "REVOKE_API_KEY" | "CREATE_POLICY" | "EDIT_POLICY" | "CREATE_TRADELINK_CUSTODIAN" | "EDIT_TRADELINK_CUSTODIAN" | "CREATE_TRADELINK_EXCHANGE" | "EDIT_TRADELINK_EXCHANGE" | "CREATE_TRADELINK_ASSET_MANAGER" | "EDIT_TRADELINK_ASSET_MANAGER" | "ADJUST_PLEDGE" | "CREATE_SETTLEMENT" | "FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "EDIT_TOKEN_RULE" | ("UPDATE_QUORUM" | "CREATE_TRANSACTION" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "CREATE_ACCOUNT" | "EDIT_ACCOUNT" | "ACTIVATE_TRADELINK_ACCOUNT" | "CREATE_GROUP" | "EDIT_GROUP" | "REVOKE_GROUP" | "CREATE_WHITELIST" | "EDIT_WHITELIST" | "CREATE_ENTITY" | "EDIT_ENTITY" | "REVOKE_ENTITY" | "CREATE_PSD_USER" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "REVOKE_USER" | "CREATE_WORKSPACE_RULE" | "EDIT_WORKSPACE_RULE" | "CREATE_SCICONFIG" | "EDIT_SCICONFIG" | "CREATE_API_KEY" | "EDIT_API_KEY" | "REVOKE_API_KEY" | "CREATE_POLICY" | "EDIT_POLICY" | "CREATE_TRADELINK_CUSTODIAN" | "EDIT_TRADELINK_CUSTODIAN" | "CREATE_TRADELINK_EXCHANGE" | "EDIT_TRADELINK_EXCHANGE" | "CREATE_TRADELINK_ASSET_MANAGER" | "EDIT_TRADELINK_ASSET_MANAGER" | "ADJUST_PLEDGE" | "CREATE_SETTLEMENT" | "FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "EDIT_TOKEN_RULE")[] | undefined;
|
|
3377
3397
|
page?: number | undefined;
|
|
3378
3398
|
pageSize?: number | undefined;
|
|
3379
|
-
state?: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK" | undefined;
|
|
3399
|
+
state?: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK" | ("INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK")[] | undefined;
|
|
3380
3400
|
targetId?: string | undefined;
|
|
3381
3401
|
createdBy?: string | undefined;
|
|
3382
3402
|
sortBy?: "createdAt" | "updatedAt" | "state" | "expiresAt" | undefined;
|
|
@@ -5032,7 +5052,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5032
5052
|
id: string;
|
|
5033
5053
|
data: {
|
|
5034
5054
|
name: string;
|
|
5035
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
5055
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
5036
5056
|
derivationPath: string;
|
|
5037
5057
|
currency: string;
|
|
5038
5058
|
index: number;
|
|
@@ -7281,7 +7301,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
7281
7301
|
id: string;
|
|
7282
7302
|
data: {
|
|
7283
7303
|
name: string;
|
|
7284
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
7304
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
7285
7305
|
derivationPath: string;
|
|
7286
7306
|
currency: string;
|
|
7287
7307
|
index: number;
|
|
@@ -10608,7 +10628,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
10608
10628
|
id: string;
|
|
10609
10629
|
data: {
|
|
10610
10630
|
name: string;
|
|
10611
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
10631
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
10612
10632
|
derivationPath: string;
|
|
10613
10633
|
currency: string;
|
|
10614
10634
|
index: number;
|
|
@@ -12859,7 +12879,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12859
12879
|
id: string;
|
|
12860
12880
|
data: {
|
|
12861
12881
|
name: string;
|
|
12862
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
12882
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
12863
12883
|
derivationPath: string;
|
|
12864
12884
|
currency: string;
|
|
12865
12885
|
index: number;
|
|
@@ -15110,7 +15130,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
15110
15130
|
id: string;
|
|
15111
15131
|
data: {
|
|
15112
15132
|
name: string;
|
|
15113
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
15133
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
15114
15134
|
derivationPath: string;
|
|
15115
15135
|
currency: string;
|
|
15116
15136
|
index: number;
|
|
@@ -20386,7 +20406,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
20386
20406
|
next: string | null;
|
|
20387
20407
|
results: {
|
|
20388
20408
|
name: string;
|
|
20389
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
20409
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
20390
20410
|
id: string;
|
|
20391
20411
|
units: {
|
|
20392
20412
|
name: string;
|
|
@@ -20425,7 +20445,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
20425
20445
|
next: string | null;
|
|
20426
20446
|
results: {
|
|
20427
20447
|
name: string;
|
|
20428
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
20448
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
20429
20449
|
id: string;
|
|
20430
20450
|
currency: string;
|
|
20431
20451
|
contractAddress: string;
|
|
@@ -20456,6 +20476,38 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
20456
20476
|
};
|
|
20457
20477
|
} & RateLimitMetricsMeta;
|
|
20458
20478
|
}>;
|
|
20479
|
+
currencyCapabilities: _trpc_server.TRPCQueryProcedure<{
|
|
20480
|
+
input: {
|
|
20481
|
+
id: string;
|
|
20482
|
+
};
|
|
20483
|
+
output: {
|
|
20484
|
+
SIGN_MESSAGE: boolean;
|
|
20485
|
+
SEND: boolean;
|
|
20486
|
+
STAKE: boolean;
|
|
20487
|
+
DEPLOY_CONTRACT: boolean;
|
|
20488
|
+
EXECUTE_CONTRACT: boolean;
|
|
20489
|
+
ACTIVATE_TOKEN: boolean;
|
|
20490
|
+
};
|
|
20491
|
+
meta: {
|
|
20492
|
+
[x: string]: unknown;
|
|
20493
|
+
} & {
|
|
20494
|
+
openapi?: {
|
|
20495
|
+
enabled?: boolean;
|
|
20496
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
20497
|
+
path: `/${string}`;
|
|
20498
|
+
summary?: string;
|
|
20499
|
+
description?: string;
|
|
20500
|
+
protect?: boolean;
|
|
20501
|
+
tags?: string[];
|
|
20502
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
20503
|
+
deprecated?: boolean;
|
|
20504
|
+
requestHeaders?: z.AnyZodObject;
|
|
20505
|
+
responseHeaders?: z.AnyZodObject;
|
|
20506
|
+
successDescription?: string;
|
|
20507
|
+
errorResponses?: number[] | Record<number, string>;
|
|
20508
|
+
};
|
|
20509
|
+
} & RateLimitMetricsMeta;
|
|
20510
|
+
}>;
|
|
20459
20511
|
}>>;
|
|
20460
20512
|
tradelink: _trpc_server.TRPCBuiltRouter<{
|
|
20461
20513
|
ctx: {
|
|
@@ -23407,6 +23459,7 @@ declare const zCurrencyResponse: z__default.ZodObject<{
|
|
|
23407
23459
|
TRC20_LIKE: "TRC20_LIKE";
|
|
23408
23460
|
GENERIC_LIKE: "GENERIC_LIKE";
|
|
23409
23461
|
RAW_SIGNING: "RAW_SIGNING";
|
|
23462
|
+
SUI_LIKE: "SUI_LIKE";
|
|
23410
23463
|
}>;
|
|
23411
23464
|
units: z__default.ZodArray<z__default.ZodObject<{
|
|
23412
23465
|
code: z__default.ZodString;
|
|
@@ -23423,7 +23476,7 @@ declare const zCurrencyResponse: z__default.ZodObject<{
|
|
|
23423
23476
|
}>, "many">;
|
|
23424
23477
|
}, "strip", z__default.ZodTypeAny, {
|
|
23425
23478
|
name: string;
|
|
23426
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
23479
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
23427
23480
|
id: string;
|
|
23428
23481
|
units: {
|
|
23429
23482
|
name: string;
|
|
@@ -23432,7 +23485,7 @@ declare const zCurrencyResponse: z__default.ZodObject<{
|
|
|
23432
23485
|
}[];
|
|
23433
23486
|
}, {
|
|
23434
23487
|
name: string;
|
|
23435
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
23488
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
23436
23489
|
id: string;
|
|
23437
23490
|
units: {
|
|
23438
23491
|
name: string;
|
|
@@ -23458,6 +23511,7 @@ declare const zTokenResponse: z__default.ZodObject<{
|
|
|
23458
23511
|
TRC20_LIKE: "TRC20_LIKE";
|
|
23459
23512
|
GENERIC_LIKE: "GENERIC_LIKE";
|
|
23460
23513
|
RAW_SIGNING: "RAW_SIGNING";
|
|
23514
|
+
SUI_LIKE: "SUI_LIKE";
|
|
23461
23515
|
}>;
|
|
23462
23516
|
units: z__default.ZodArray<z__default.ZodObject<{
|
|
23463
23517
|
code: z__default.ZodString;
|
|
@@ -23477,7 +23531,7 @@ declare const zTokenResponse: z__default.ZodObject<{
|
|
|
23477
23531
|
currency: z__default.ZodString;
|
|
23478
23532
|
}, "strip", z__default.ZodTypeAny, {
|
|
23479
23533
|
name: string;
|
|
23480
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
23534
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
23481
23535
|
id: string;
|
|
23482
23536
|
currency: string;
|
|
23483
23537
|
contractAddress: string;
|
|
@@ -23488,7 +23542,7 @@ declare const zTokenResponse: z__default.ZodObject<{
|
|
|
23488
23542
|
}[];
|
|
23489
23543
|
}, {
|
|
23490
23544
|
name: string;
|
|
23491
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
|
|
23545
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
23492
23546
|
id: string;
|
|
23493
23547
|
currency: string;
|
|
23494
23548
|
contractAddress: string;
|
|
@@ -23499,6 +23553,28 @@ declare const zTokenResponse: z__default.ZodObject<{
|
|
|
23499
23553
|
}[];
|
|
23500
23554
|
}>;
|
|
23501
23555
|
type TokenResponse = z__default.infer<typeof zTokenResponse>;
|
|
23556
|
+
declare const zCurrencyCapabilitiesResponse: z__default.ZodObject<{
|
|
23557
|
+
SEND: z__default.ZodBoolean;
|
|
23558
|
+
STAKE: z__default.ZodBoolean;
|
|
23559
|
+
EXECUTE_CONTRACT: z__default.ZodBoolean;
|
|
23560
|
+
SIGN_MESSAGE: z__default.ZodBoolean;
|
|
23561
|
+
DEPLOY_CONTRACT: z__default.ZodBoolean;
|
|
23562
|
+
ACTIVATE_TOKEN: z__default.ZodBoolean;
|
|
23563
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
23564
|
+
SIGN_MESSAGE: boolean;
|
|
23565
|
+
SEND: boolean;
|
|
23566
|
+
STAKE: boolean;
|
|
23567
|
+
DEPLOY_CONTRACT: boolean;
|
|
23568
|
+
EXECUTE_CONTRACT: boolean;
|
|
23569
|
+
ACTIVATE_TOKEN: boolean;
|
|
23570
|
+
}, {
|
|
23571
|
+
SIGN_MESSAGE: boolean;
|
|
23572
|
+
SEND: boolean;
|
|
23573
|
+
STAKE: boolean;
|
|
23574
|
+
DEPLOY_CONTRACT: boolean;
|
|
23575
|
+
EXECUTE_CONTRACT: boolean;
|
|
23576
|
+
ACTIVATE_TOKEN: boolean;
|
|
23577
|
+
}>;
|
|
23502
23578
|
|
|
23503
23579
|
declare const zAuthResponse: z$1.ZodObject<{
|
|
23504
23580
|
accessToken: z$1.ZodString;
|
|
@@ -26827,4 +26903,4 @@ declare const zWorkspaceResponse: z__default.ZodObject<{
|
|
|
26827
26903
|
}>;
|
|
26828
26904
|
type WorkspaceResponse = z__default.infer<typeof zWorkspaceResponse>;
|
|
26829
26905
|
|
|
26830
|
-
export { type AdminResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type AppRouter, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CurrencyResponse, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeviceClaim, type EntityResponse, type EntitySortBy, type GroupResponse, type GroupSortBy, type MasterRuleResponse, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type ReviewStepWithUsers, type SortOrder, type TokenResponse, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionResponse, type TransactionWithMetaResponse, type UserRegistrationCreateInput, type UserRegistrationResponse, type UserResponse, type UserSortBy, type WhitelistResponse, type WhitelistSortBy, type WorkspaceResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, paginate, serializePage, stableOrdering, zAdminResponse, zAllowedAction, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAuthResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCurrencyResponse, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeviceClaim, zEntityResponse, zEntitySortBy, zEstimatedFees as zEstimateFeesResponse, zGroupResponse, zGroupSortBy, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zOperationType, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zReviewStepsArray, zSortOrder, zTokenResponse, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationCreateInput, zUserRegistrationResponse, zUserResponse, zUserSortBy, zWhitelistAddressResponse, zWhitelistResponse, zWhitelistSortBy, zWorkspaceResponse, zWorkspaceRuleResponse, zWrappingKeyFragmentInput };
|
|
26906
|
+
export { type AdminResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type AppRouter, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CurrencyResponse, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeviceClaim, type EntityResponse, type EntitySortBy, type GroupResponse, type GroupSortBy, type MasterRuleResponse, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type ReviewStepWithUsers, type SortOrder, type TokenResponse, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionResponse, type TransactionWithMetaResponse, type UserRegistrationCreateInput, type UserRegistrationResponse, type UserResponse, type UserSortBy, type WhitelistResponse, type WhitelistSortBy, type WorkspaceResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, paginate, serializePage, stableOrdering, zAdminResponse, zAllowedAction, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAuthResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCurrencyCapabilitiesResponse, zCurrencyResponse, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeviceClaim, zEntityResponse, zEntitySortBy, zEstimatedFees as zEstimateFeesResponse, zGroupResponse, zGroupSortBy, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zOperationType, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zReviewStepsArray, zSortOrder, zTokenResponse, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationCreateInput, zUserRegistrationResponse, zUserResponse, zUserSortBy, zWhitelistAddressResponse, zWhitelistResponse, zWhitelistSortBy, zWorkspaceResponse, zWorkspaceRuleResponse, zWrappingKeyFragmentInput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/revault-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"invariant": "^2.2.4",
|
|
26
26
|
"lodash": "^4.17.21",
|
|
27
27
|
"socket.io": "^4.8.1",
|
|
28
|
-
"@trpc/server": "11.4.
|
|
28
|
+
"@trpc/server": "11.4.2",
|
|
29
29
|
"trpc-to-openapi": "^2.4.0",
|
|
30
30
|
"zod": "^3.25.76"
|
|
31
31
|
}
|