@ledgerhq/revault-api 1.43.0 → 1.43.2
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-BxhO5dk7.d.mts → app-types-TiTgl5lF.d.mts} +268 -5
- package/lib/fakes.d.mts +48 -4
- package/lib/fakes.mjs +1114 -29
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +311 -165
- package/package.json +2 -3
package/lib/index.d.mts
CHANGED
|
@@ -11,8 +11,8 @@ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable
|
|
|
11
11
|
import * as fastify_types_type_provider from 'fastify/types/type-provider';
|
|
12
12
|
import * as http from 'http';
|
|
13
13
|
import * as fastify from 'fastify';
|
|
14
|
-
import { A as AssetResponse } from './app-types-
|
|
15
|
-
export { a as AccountFreshAddress, b as AccountLiveDataResponse, c as AccountResponse, d as AccountSortBy,
|
|
14
|
+
import { A as AssetResponse } from './app-types-TiTgl5lF.mjs';
|
|
15
|
+
export { a as AccountFreshAddress, b as AccountLiveDataResponse, c as AccountResponse, d as AccountSortBy, L as AdminResponse, H as ApproveVaultRequestInput, I as Challenge, D as ChallengeResponse, C as CurrencyResponse, G as GroupResponse, u as GroupSortBy, R as RequestSortBy, S as SoftChallenge, n as TokenResponse, T as TransactionResponse, U as UserResponse, N as UserSortBy, V as VaultRequestCreateInput, x as VaultRequestResponse, W as WhitelistResponse, X as WhitelistSortBy, E as genTransactionSchemas, z as zAccountFreshAddress, e as zAccountLiveDataResponse, f as zAccountResponse, g as zAccountSortBy, K as zAdminResponse, F as zApproveVaultRequestInput, o as zAssetCapabilitiesResponse, p as zAssetResponse, h as zBalance, B as zChallengeResponse, q as zCurrencyResponse, m as zEstimateFeesResponse, s as zGroupResponse, t as zGroupSortBy, y as zRequestSortBy, i as zStake, j as zStakeSortBy, k as zStakingValidator, l as zStakingValidatorSortBy, r as zTokenResponse, J as zUserResponse, M as zUserSortBy, v as zVaultRequestCreateInput, w as zVaultRequestResponse, O as zWhitelistAddressResponse, P as zWhitelistResponse, Q as zWhitelistSortBy } from './app-types-TiTgl5lF.mjs';
|
|
16
16
|
|
|
17
17
|
declare const zGovernableAction: z$1.ZodEnum<{
|
|
18
18
|
SEND: "SEND";
|
|
@@ -181,6 +181,8 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<[z_
|
|
|
181
181
|
recipients: z__default.ZodArray<z__default.ZodString>;
|
|
182
182
|
type: z__default.ZodEnum<{
|
|
183
183
|
CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
|
|
184
|
+
CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
|
|
185
|
+
CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
|
|
184
186
|
CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
|
|
185
187
|
CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
|
|
186
188
|
CANTON_LIKE_TAP: "CANTON_LIKE_TAP";
|
|
@@ -584,6 +586,8 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<[z_
|
|
|
584
586
|
recipients: z__default.ZodArray<z__default.ZodString>;
|
|
585
587
|
type: z__default.ZodEnum<{
|
|
586
588
|
CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
|
|
589
|
+
CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
|
|
590
|
+
CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
|
|
587
591
|
CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
|
|
588
592
|
CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
|
|
589
593
|
CANTON_LIKE_TAP: "CANTON_LIKE_TAP";
|
|
@@ -1922,12 +1926,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1922
1926
|
getAllowedActions: _trpc_server.TRPCQueryProcedure<{
|
|
1923
1927
|
input: {
|
|
1924
1928
|
userId?: string | undefined;
|
|
1925
|
-
resourceType?: "
|
|
1929
|
+
resourceType?: "Account" | "Entity" | "Group" | "WorkspaceRule" | "Policy" | "Whitelist" | "User" | "Workspace" | "TradelinkCustodian" | "TradelinkEntity" | "TradelinkPledge" | undefined;
|
|
1926
1930
|
resourceId?: string | undefined;
|
|
1927
1931
|
};
|
|
1928
1932
|
output: {
|
|
1929
1933
|
userId: string;
|
|
1930
|
-
allowedActions: ("SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN" | "RECEIVE" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "CREATE_ACCOUNT_WITH_POLICY" | "
|
|
1934
|
+
allowedActions: ("SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN" | "RECEIVE" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "CREATE_ACCOUNT_WITH_POLICY" | "READ" | "EDIT" | "TRADELINK_PLEDGE" | "TRADELINK_SETTLE")[];
|
|
1931
1935
|
};
|
|
1932
1936
|
meta: {
|
|
1933
1937
|
[x: string]: unknown;
|
|
@@ -1952,15 +1956,15 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1952
1956
|
}>;
|
|
1953
1957
|
findAllowedResources: _trpc_server.TRPCQueryProcedure<{
|
|
1954
1958
|
input: {
|
|
1955
|
-
action: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN" | "RECEIVE" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "CREATE_ACCOUNT_WITH_POLICY" | "
|
|
1959
|
+
action: "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN" | "RECEIVE" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "CREATE_ACCOUNT_WITH_POLICY" | "READ" | "EDIT" | "TRADELINK_PLEDGE" | "TRADELINK_SETTLE";
|
|
1956
1960
|
userId?: string | undefined;
|
|
1957
|
-
resourceType?: "
|
|
1961
|
+
resourceType?: "Account" | "Entity" | "Group" | "WorkspaceRule" | "Policy" | "Whitelist" | "User" | "Workspace" | "TradelinkCustodian" | "TradelinkEntity" | "TradelinkPledge" | undefined;
|
|
1958
1962
|
};
|
|
1959
1963
|
output: {
|
|
1960
1964
|
userId: string;
|
|
1961
1965
|
action: string;
|
|
1962
1966
|
resources: {
|
|
1963
|
-
resourceType: "
|
|
1967
|
+
resourceType: "Account" | "Entity" | "Group" | "WorkspaceRule" | "Policy" | "Whitelist" | "User" | "Workspace" | "TradelinkCustodian" | "TradelinkEntity" | "TradelinkPledge";
|
|
1964
1968
|
resourceId: string;
|
|
1965
1969
|
}[];
|
|
1966
1970
|
};
|
|
@@ -2635,6 +2639,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2635
2639
|
currency: string;
|
|
2636
2640
|
network: string;
|
|
2637
2641
|
contractAddress: string | null;
|
|
2642
|
+
tokenIdentifier: string | null;
|
|
2638
2643
|
index: number;
|
|
2639
2644
|
derivationPath: string;
|
|
2640
2645
|
status: "ACTIVE" | "INACTIVE";
|
|
@@ -2730,6 +2735,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2730
2735
|
currency: string;
|
|
2731
2736
|
network: string;
|
|
2732
2737
|
contractAddress: string | null;
|
|
2738
|
+
tokenIdentifier: string | null;
|
|
2733
2739
|
index: number;
|
|
2734
2740
|
derivationPath: string;
|
|
2735
2741
|
status: "ACTIVE" | "INACTIVE";
|
|
@@ -2881,7 +2887,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2881
2887
|
fee: string;
|
|
2882
2888
|
senders: string[];
|
|
2883
2889
|
recipients: string[];
|
|
2884
|
-
type: "CANTON_LIKE_SEND" | "CANTON_LIKE_RECEIVE" | "CANTON_LIKE_PRE_APPROVAL" | "CANTON_LIKE_TAP";
|
|
2890
|
+
type: "CANTON_LIKE_SEND" | "CANTON_LIKE_SEND_TOKEN" | "CANTON_LIKE_WITHDRAW" | "CANTON_LIKE_RECEIVE" | "CANTON_LIKE_PRE_APPROVAL" | "CANTON_LIKE_TAP";
|
|
2885
2891
|
note: {
|
|
2886
2892
|
title: string;
|
|
2887
2893
|
content: string;
|
|
@@ -3184,6 +3190,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3184
3190
|
recipient: string;
|
|
3185
3191
|
amount: string;
|
|
3186
3192
|
type: "CANTON_LIKE_SEND";
|
|
3193
|
+
executeBeforeSeconds?: number | undefined;
|
|
3194
|
+
} | {
|
|
3195
|
+
currency: string;
|
|
3196
|
+
recipient: string;
|
|
3197
|
+
amount: string;
|
|
3198
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
3199
|
+
executeBeforeSeconds?: number | undefined;
|
|
3200
|
+
} | {
|
|
3201
|
+
currency: string;
|
|
3202
|
+
transferProposal: {
|
|
3203
|
+
amount: string;
|
|
3204
|
+
contractId: string;
|
|
3205
|
+
instrumentId: string;
|
|
3206
|
+
expiresAtMicros: number;
|
|
3207
|
+
memo: string | null;
|
|
3208
|
+
sender: string;
|
|
3209
|
+
recipient: string;
|
|
3210
|
+
};
|
|
3211
|
+
reason: string | null;
|
|
3212
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
3187
3213
|
} | {
|
|
3188
3214
|
currency: string;
|
|
3189
3215
|
transferProposal: {
|
|
@@ -3579,6 +3605,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3579
3605
|
};
|
|
3580
3606
|
};
|
|
3581
3607
|
output: {
|
|
3608
|
+
type: "BITCOIN_LIKE";
|
|
3609
|
+
fee: string;
|
|
3610
|
+
} | {
|
|
3582
3611
|
type: "ETHEREUM_LIKE";
|
|
3583
3612
|
baseFees: string;
|
|
3584
3613
|
gasLimit: string;
|
|
@@ -4158,6 +4187,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4158
4187
|
currency: {
|
|
4159
4188
|
network: string;
|
|
4160
4189
|
contractAddress: string | null;
|
|
4190
|
+
tokenIdentifier: string | null;
|
|
4161
4191
|
};
|
|
4162
4192
|
}[];
|
|
4163
4193
|
meta: {
|
|
@@ -5808,6 +5838,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5808
5838
|
recipient: string;
|
|
5809
5839
|
amount: string;
|
|
5810
5840
|
type: "CANTON_LIKE_SEND";
|
|
5841
|
+
executeBeforeSeconds?: number | undefined;
|
|
5811
5842
|
} | {
|
|
5812
5843
|
amount: string;
|
|
5813
5844
|
currency: string;
|
|
@@ -5993,6 +6024,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5993
6024
|
recipient: string;
|
|
5994
6025
|
amount: string;
|
|
5995
6026
|
type: "CANTON_LIKE_SEND";
|
|
6027
|
+
executeBeforeSeconds?: number | undefined;
|
|
5996
6028
|
} | {
|
|
5997
6029
|
amount: string;
|
|
5998
6030
|
currency: string;
|
|
@@ -6142,6 +6174,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6142
6174
|
recipient: string;
|
|
6143
6175
|
amount: string;
|
|
6144
6176
|
type: "CANTON_LIKE_SEND";
|
|
6177
|
+
executeBeforeSeconds?: number | undefined;
|
|
6145
6178
|
} | {
|
|
6146
6179
|
amount: string;
|
|
6147
6180
|
currency: string;
|
|
@@ -6326,6 +6359,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6326
6359
|
recipient: string;
|
|
6327
6360
|
amount: string;
|
|
6328
6361
|
type: "CANTON_LIKE_SEND";
|
|
6362
|
+
executeBeforeSeconds?: number | undefined;
|
|
6363
|
+
} | {
|
|
6364
|
+
currency: string;
|
|
6365
|
+
recipient: string;
|
|
6366
|
+
amount: string;
|
|
6367
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
6368
|
+
executeBeforeSeconds?: number | undefined;
|
|
6369
|
+
} | {
|
|
6370
|
+
currency: string;
|
|
6371
|
+
transferProposal: {
|
|
6372
|
+
amount: string;
|
|
6373
|
+
contractId: string;
|
|
6374
|
+
instrumentId: string;
|
|
6375
|
+
expiresAtMicros: number;
|
|
6376
|
+
memo: string | null;
|
|
6377
|
+
sender: string;
|
|
6378
|
+
recipient: string;
|
|
6379
|
+
};
|
|
6380
|
+
reason: string | null;
|
|
6381
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
6329
6382
|
} | {
|
|
6330
6383
|
currency: string;
|
|
6331
6384
|
transferProposal: {
|
|
@@ -7434,6 +7487,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
7434
7487
|
} | {
|
|
7435
7488
|
type: "CREATE_ACCOUNT";
|
|
7436
7489
|
data: {
|
|
7490
|
+
contractAddress: string | null;
|
|
7491
|
+
tokenIdentifier: string | null;
|
|
7437
7492
|
currency: string;
|
|
7438
7493
|
name: string;
|
|
7439
7494
|
governance: {
|
|
@@ -7480,7 +7535,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
7480
7535
|
index: number;
|
|
7481
7536
|
derivationPath: string;
|
|
7482
7537
|
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
7483
|
-
contractAddress?: string | undefined;
|
|
7484
7538
|
};
|
|
7485
7539
|
id: string;
|
|
7486
7540
|
legacyId: number;
|
|
@@ -8238,6 +8292,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8238
8292
|
recipient: string;
|
|
8239
8293
|
amount: string;
|
|
8240
8294
|
type: "CANTON_LIKE_SEND";
|
|
8295
|
+
executeBeforeSeconds?: number | undefined;
|
|
8241
8296
|
} | {
|
|
8242
8297
|
amount: string;
|
|
8243
8298
|
currency: string;
|
|
@@ -8423,6 +8478,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8423
8478
|
recipient: string;
|
|
8424
8479
|
amount: string;
|
|
8425
8480
|
type: "CANTON_LIKE_SEND";
|
|
8481
|
+
executeBeforeSeconds?: number | undefined;
|
|
8426
8482
|
} | {
|
|
8427
8483
|
amount: string;
|
|
8428
8484
|
currency: string;
|
|
@@ -8572,6 +8628,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8572
8628
|
recipient: string;
|
|
8573
8629
|
amount: string;
|
|
8574
8630
|
type: "CANTON_LIKE_SEND";
|
|
8631
|
+
executeBeforeSeconds?: number | undefined;
|
|
8575
8632
|
} | {
|
|
8576
8633
|
amount: string;
|
|
8577
8634
|
currency: string;
|
|
@@ -8756,6 +8813,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8756
8813
|
recipient: string;
|
|
8757
8814
|
amount: string;
|
|
8758
8815
|
type: "CANTON_LIKE_SEND";
|
|
8816
|
+
executeBeforeSeconds?: number | undefined;
|
|
8817
|
+
} | {
|
|
8818
|
+
currency: string;
|
|
8819
|
+
recipient: string;
|
|
8820
|
+
amount: string;
|
|
8821
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
8822
|
+
executeBeforeSeconds?: number | undefined;
|
|
8823
|
+
} | {
|
|
8824
|
+
currency: string;
|
|
8825
|
+
transferProposal: {
|
|
8826
|
+
amount: string;
|
|
8827
|
+
contractId: string;
|
|
8828
|
+
instrumentId: string;
|
|
8829
|
+
expiresAtMicros: number;
|
|
8830
|
+
memo: string | null;
|
|
8831
|
+
sender: string;
|
|
8832
|
+
recipient: string;
|
|
8833
|
+
};
|
|
8834
|
+
reason: string | null;
|
|
8835
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
8759
8836
|
} | {
|
|
8760
8837
|
currency: string;
|
|
8761
8838
|
transferProposal: {
|
|
@@ -9864,6 +9941,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9864
9941
|
} | {
|
|
9865
9942
|
type: "CREATE_ACCOUNT";
|
|
9866
9943
|
data: {
|
|
9944
|
+
contractAddress: string | null;
|
|
9945
|
+
tokenIdentifier: string | null;
|
|
9867
9946
|
currency: string;
|
|
9868
9947
|
name: string;
|
|
9869
9948
|
governance: {
|
|
@@ -9910,7 +9989,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9910
9989
|
index: number;
|
|
9911
9990
|
derivationPath: string;
|
|
9912
9991
|
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
9913
|
-
contractAddress?: string | undefined;
|
|
9914
9992
|
};
|
|
9915
9993
|
id: string;
|
|
9916
9994
|
legacyId: number;
|
|
@@ -10482,6 +10560,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
10482
10560
|
recipient: string;
|
|
10483
10561
|
amount: string;
|
|
10484
10562
|
type: "CANTON_LIKE_SEND";
|
|
10563
|
+
executeBeforeSeconds?: number | undefined;
|
|
10485
10564
|
} | {
|
|
10486
10565
|
amount: string;
|
|
10487
10566
|
currency: string;
|
|
@@ -10615,6 +10694,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
10615
10694
|
recipient: string;
|
|
10616
10695
|
amount: string;
|
|
10617
10696
|
type: "CANTON_LIKE_SEND";
|
|
10697
|
+
executeBeforeSeconds?: number | undefined;
|
|
10618
10698
|
} | {
|
|
10619
10699
|
amount: string;
|
|
10620
10700
|
currency: string;
|
|
@@ -10738,6 +10818,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
10738
10818
|
recipient: string;
|
|
10739
10819
|
amount: string;
|
|
10740
10820
|
type: "CANTON_LIKE_SEND";
|
|
10821
|
+
executeBeforeSeconds?: number | undefined;
|
|
10741
10822
|
} | {
|
|
10742
10823
|
amount: string;
|
|
10743
10824
|
currency: string;
|
|
@@ -10870,6 +10951,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
10870
10951
|
recipient: string;
|
|
10871
10952
|
amount: string;
|
|
10872
10953
|
type: "CANTON_LIKE_SEND";
|
|
10954
|
+
executeBeforeSeconds?: number | undefined;
|
|
10955
|
+
} | {
|
|
10956
|
+
currency: string;
|
|
10957
|
+
recipient: string;
|
|
10958
|
+
amount: string;
|
|
10959
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
10960
|
+
executeBeforeSeconds?: number | undefined;
|
|
10961
|
+
} | {
|
|
10962
|
+
currency: string;
|
|
10963
|
+
transferProposal: {
|
|
10964
|
+
amount: string;
|
|
10965
|
+
contractId: string;
|
|
10966
|
+
instrumentId: string;
|
|
10967
|
+
expiresAtMicros: number;
|
|
10968
|
+
memo: string | null;
|
|
10969
|
+
sender: string;
|
|
10970
|
+
recipient: string;
|
|
10971
|
+
};
|
|
10972
|
+
reason: string | null;
|
|
10973
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
10873
10974
|
} | {
|
|
10874
10975
|
currency: string;
|
|
10875
10976
|
transferProposal: {
|
|
@@ -11532,6 +11633,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11532
11633
|
data: {
|
|
11533
11634
|
name: string;
|
|
11534
11635
|
currency: string;
|
|
11636
|
+
contractAddress: string | null;
|
|
11637
|
+
tokenIdentifier: string | null;
|
|
11535
11638
|
governance: {
|
|
11536
11639
|
type: "CLASSIC";
|
|
11537
11640
|
policy: {
|
|
@@ -11574,7 +11677,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11574
11677
|
};
|
|
11575
11678
|
};
|
|
11576
11679
|
index?: number | undefined;
|
|
11577
|
-
contractAddress?: string | undefined;
|
|
11578
11680
|
};
|
|
11579
11681
|
note?: {
|
|
11580
11682
|
title: string;
|
|
@@ -11977,6 +12079,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11977
12079
|
recipient: string;
|
|
11978
12080
|
amount: string;
|
|
11979
12081
|
type: "CANTON_LIKE_SEND";
|
|
12082
|
+
executeBeforeSeconds?: number | undefined;
|
|
11980
12083
|
} | {
|
|
11981
12084
|
amount: string;
|
|
11982
12085
|
currency: string;
|
|
@@ -12162,6 +12265,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12162
12265
|
recipient: string;
|
|
12163
12266
|
amount: string;
|
|
12164
12267
|
type: "CANTON_LIKE_SEND";
|
|
12268
|
+
executeBeforeSeconds?: number | undefined;
|
|
12165
12269
|
} | {
|
|
12166
12270
|
amount: string;
|
|
12167
12271
|
currency: string;
|
|
@@ -12311,6 +12415,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12311
12415
|
recipient: string;
|
|
12312
12416
|
amount: string;
|
|
12313
12417
|
type: "CANTON_LIKE_SEND";
|
|
12418
|
+
executeBeforeSeconds?: number | undefined;
|
|
12314
12419
|
} | {
|
|
12315
12420
|
amount: string;
|
|
12316
12421
|
currency: string;
|
|
@@ -12495,6 +12600,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12495
12600
|
recipient: string;
|
|
12496
12601
|
amount: string;
|
|
12497
12602
|
type: "CANTON_LIKE_SEND";
|
|
12603
|
+
executeBeforeSeconds?: number | undefined;
|
|
12604
|
+
} | {
|
|
12605
|
+
currency: string;
|
|
12606
|
+
recipient: string;
|
|
12607
|
+
amount: string;
|
|
12608
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
12609
|
+
executeBeforeSeconds?: number | undefined;
|
|
12610
|
+
} | {
|
|
12611
|
+
currency: string;
|
|
12612
|
+
transferProposal: {
|
|
12613
|
+
amount: string;
|
|
12614
|
+
contractId: string;
|
|
12615
|
+
instrumentId: string;
|
|
12616
|
+
expiresAtMicros: number;
|
|
12617
|
+
memo: string | null;
|
|
12618
|
+
sender: string;
|
|
12619
|
+
recipient: string;
|
|
12620
|
+
};
|
|
12621
|
+
reason: string | null;
|
|
12622
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
12498
12623
|
} | {
|
|
12499
12624
|
currency: string;
|
|
12500
12625
|
transferProposal: {
|
|
@@ -13603,6 +13728,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
13603
13728
|
} | {
|
|
13604
13729
|
type: "CREATE_ACCOUNT";
|
|
13605
13730
|
data: {
|
|
13731
|
+
contractAddress: string | null;
|
|
13732
|
+
tokenIdentifier: string | null;
|
|
13606
13733
|
currency: string;
|
|
13607
13734
|
name: string;
|
|
13608
13735
|
governance: {
|
|
@@ -13649,7 +13776,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
13649
13776
|
index: number;
|
|
13650
13777
|
derivationPath: string;
|
|
13651
13778
|
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
13652
|
-
contractAddress?: string | undefined;
|
|
13653
13779
|
};
|
|
13654
13780
|
id: string;
|
|
13655
13781
|
legacyId: number;
|
|
@@ -14227,6 +14353,91 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14227
14353
|
};
|
|
14228
14354
|
} & RateLimitMetricsMeta;
|
|
14229
14355
|
}>;
|
|
14356
|
+
createHederaTransaction: _trpc_server.TRPCMutationProcedure<{
|
|
14357
|
+
input: {
|
|
14358
|
+
accountId: string;
|
|
14359
|
+
transaction: unknown;
|
|
14360
|
+
note?: {
|
|
14361
|
+
title: string;
|
|
14362
|
+
content: string;
|
|
14363
|
+
} | undefined;
|
|
14364
|
+
};
|
|
14365
|
+
output: {
|
|
14366
|
+
type: "CREATE_TRANSACTION";
|
|
14367
|
+
data: {
|
|
14368
|
+
accountId: string;
|
|
14369
|
+
transaction: {
|
|
14370
|
+
amount: string;
|
|
14371
|
+
currency: string;
|
|
14372
|
+
maxFee: string | null;
|
|
14373
|
+
recipient: string;
|
|
14374
|
+
type: "HEDERA_LIKE_SEND";
|
|
14375
|
+
feeStrategy: {
|
|
14376
|
+
type: "SLOW" | "NORMAL" | "FAST";
|
|
14377
|
+
};
|
|
14378
|
+
} | {
|
|
14379
|
+
amount: string;
|
|
14380
|
+
currency: string;
|
|
14381
|
+
maxFee: string | null;
|
|
14382
|
+
recipient: string;
|
|
14383
|
+
type: "HEDERA_LIKE_SEND_TOKEN";
|
|
14384
|
+
feeStrategy: {
|
|
14385
|
+
type: "SLOW" | "NORMAL" | "FAST";
|
|
14386
|
+
};
|
|
14387
|
+
};
|
|
14388
|
+
};
|
|
14389
|
+
id: string;
|
|
14390
|
+
legacyId: number;
|
|
14391
|
+
state: "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
14392
|
+
reviewSteps: {
|
|
14393
|
+
stageName: string;
|
|
14394
|
+
quorum: number;
|
|
14395
|
+
}[];
|
|
14396
|
+
currentStepIndex: number;
|
|
14397
|
+
expiresAt: Date;
|
|
14398
|
+
targetId: string | null;
|
|
14399
|
+
note: {
|
|
14400
|
+
title: string;
|
|
14401
|
+
content: string;
|
|
14402
|
+
} | null;
|
|
14403
|
+
reviews: {
|
|
14404
|
+
stepIndex: number;
|
|
14405
|
+
userId: string;
|
|
14406
|
+
status: "PENDING" | "APPROVED" | "REJECTED" | "QUEUED" | "OBSOLETE";
|
|
14407
|
+
createdAt: Date;
|
|
14408
|
+
updatedAt: Date;
|
|
14409
|
+
}[];
|
|
14410
|
+
createdAt: Date;
|
|
14411
|
+
updatedAt: Date;
|
|
14412
|
+
createdById: string;
|
|
14413
|
+
expiredAt?: Date | undefined;
|
|
14414
|
+
inflight?: {
|
|
14415
|
+
lastError: string | null;
|
|
14416
|
+
numFailed: number;
|
|
14417
|
+
retryAfter: Date;
|
|
14418
|
+
} | undefined;
|
|
14419
|
+
};
|
|
14420
|
+
meta: {
|
|
14421
|
+
[x: string]: unknown;
|
|
14422
|
+
} & {
|
|
14423
|
+
openapi?: {
|
|
14424
|
+
enabled?: boolean;
|
|
14425
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
14426
|
+
path: `/${string}`;
|
|
14427
|
+
operationId?: string;
|
|
14428
|
+
summary?: string;
|
|
14429
|
+
description?: string;
|
|
14430
|
+
protect?: boolean;
|
|
14431
|
+
tags?: string[];
|
|
14432
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
14433
|
+
deprecated?: boolean;
|
|
14434
|
+
requestHeaders?: z.ZodObject;
|
|
14435
|
+
responseHeaders?: z.ZodObject;
|
|
14436
|
+
successDescription?: string;
|
|
14437
|
+
errorResponses?: number[] | Record<number, string>;
|
|
14438
|
+
};
|
|
14439
|
+
} & RateLimitMetricsMeta;
|
|
14440
|
+
}>;
|
|
14230
14441
|
approve: _trpc_server.TRPCMutationProcedure<{
|
|
14231
14442
|
input: {
|
|
14232
14443
|
id: string;
|
|
@@ -14632,6 +14843,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14632
14843
|
recipient: string;
|
|
14633
14844
|
amount: string;
|
|
14634
14845
|
type: "CANTON_LIKE_SEND";
|
|
14846
|
+
executeBeforeSeconds?: number | undefined;
|
|
14635
14847
|
} | {
|
|
14636
14848
|
amount: string;
|
|
14637
14849
|
currency: string;
|
|
@@ -14817,6 +15029,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14817
15029
|
recipient: string;
|
|
14818
15030
|
amount: string;
|
|
14819
15031
|
type: "CANTON_LIKE_SEND";
|
|
15032
|
+
executeBeforeSeconds?: number | undefined;
|
|
14820
15033
|
} | {
|
|
14821
15034
|
amount: string;
|
|
14822
15035
|
currency: string;
|
|
@@ -14966,6 +15179,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14966
15179
|
recipient: string;
|
|
14967
15180
|
amount: string;
|
|
14968
15181
|
type: "CANTON_LIKE_SEND";
|
|
15182
|
+
executeBeforeSeconds?: number | undefined;
|
|
14969
15183
|
} | {
|
|
14970
15184
|
amount: string;
|
|
14971
15185
|
currency: string;
|
|
@@ -15150,6 +15364,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
15150
15364
|
recipient: string;
|
|
15151
15365
|
amount: string;
|
|
15152
15366
|
type: "CANTON_LIKE_SEND";
|
|
15367
|
+
executeBeforeSeconds?: number | undefined;
|
|
15368
|
+
} | {
|
|
15369
|
+
currency: string;
|
|
15370
|
+
recipient: string;
|
|
15371
|
+
amount: string;
|
|
15372
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
15373
|
+
executeBeforeSeconds?: number | undefined;
|
|
15374
|
+
} | {
|
|
15375
|
+
currency: string;
|
|
15376
|
+
transferProposal: {
|
|
15377
|
+
amount: string;
|
|
15378
|
+
contractId: string;
|
|
15379
|
+
instrumentId: string;
|
|
15380
|
+
expiresAtMicros: number;
|
|
15381
|
+
memo: string | null;
|
|
15382
|
+
sender: string;
|
|
15383
|
+
recipient: string;
|
|
15384
|
+
};
|
|
15385
|
+
reason: string | null;
|
|
15386
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
15153
15387
|
} | {
|
|
15154
15388
|
currency: string;
|
|
15155
15389
|
transferProposal: {
|
|
@@ -16258,6 +16492,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
16258
16492
|
} | {
|
|
16259
16493
|
type: "CREATE_ACCOUNT";
|
|
16260
16494
|
data: {
|
|
16495
|
+
contractAddress: string | null;
|
|
16496
|
+
tokenIdentifier: string | null;
|
|
16261
16497
|
currency: string;
|
|
16262
16498
|
name: string;
|
|
16263
16499
|
governance: {
|
|
@@ -16304,7 +16540,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
16304
16540
|
index: number;
|
|
16305
16541
|
derivationPath: string;
|
|
16306
16542
|
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
16307
|
-
contractAddress?: string | undefined;
|
|
16308
16543
|
};
|
|
16309
16544
|
id: string;
|
|
16310
16545
|
legacyId: number;
|
|
@@ -17064,6 +17299,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
17064
17299
|
recipient: string;
|
|
17065
17300
|
amount: string;
|
|
17066
17301
|
type: "CANTON_LIKE_SEND";
|
|
17302
|
+
executeBeforeSeconds?: number | undefined;
|
|
17067
17303
|
} | {
|
|
17068
17304
|
amount: string;
|
|
17069
17305
|
currency: string;
|
|
@@ -17249,6 +17485,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
17249
17485
|
recipient: string;
|
|
17250
17486
|
amount: string;
|
|
17251
17487
|
type: "CANTON_LIKE_SEND";
|
|
17488
|
+
executeBeforeSeconds?: number | undefined;
|
|
17252
17489
|
} | {
|
|
17253
17490
|
amount: string;
|
|
17254
17491
|
currency: string;
|
|
@@ -17398,6 +17635,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
17398
17635
|
recipient: string;
|
|
17399
17636
|
amount: string;
|
|
17400
17637
|
type: "CANTON_LIKE_SEND";
|
|
17638
|
+
executeBeforeSeconds?: number | undefined;
|
|
17401
17639
|
} | {
|
|
17402
17640
|
amount: string;
|
|
17403
17641
|
currency: string;
|
|
@@ -17582,6 +17820,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
17582
17820
|
recipient: string;
|
|
17583
17821
|
amount: string;
|
|
17584
17822
|
type: "CANTON_LIKE_SEND";
|
|
17823
|
+
executeBeforeSeconds?: number | undefined;
|
|
17824
|
+
} | {
|
|
17825
|
+
currency: string;
|
|
17826
|
+
recipient: string;
|
|
17827
|
+
amount: string;
|
|
17828
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
17829
|
+
executeBeforeSeconds?: number | undefined;
|
|
17830
|
+
} | {
|
|
17831
|
+
currency: string;
|
|
17832
|
+
transferProposal: {
|
|
17833
|
+
amount: string;
|
|
17834
|
+
contractId: string;
|
|
17835
|
+
instrumentId: string;
|
|
17836
|
+
expiresAtMicros: number;
|
|
17837
|
+
memo: string | null;
|
|
17838
|
+
sender: string;
|
|
17839
|
+
recipient: string;
|
|
17840
|
+
};
|
|
17841
|
+
reason: string | null;
|
|
17842
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
17585
17843
|
} | {
|
|
17586
17844
|
currency: string;
|
|
17587
17845
|
transferProposal: {
|
|
@@ -18690,6 +18948,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
18690
18948
|
} | {
|
|
18691
18949
|
type: "CREATE_ACCOUNT";
|
|
18692
18950
|
data: {
|
|
18951
|
+
contractAddress: string | null;
|
|
18952
|
+
tokenIdentifier: string | null;
|
|
18693
18953
|
currency: string;
|
|
18694
18954
|
name: string;
|
|
18695
18955
|
governance: {
|
|
@@ -18736,7 +18996,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
18736
18996
|
index: number;
|
|
18737
18997
|
derivationPath: string;
|
|
18738
18998
|
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
18739
|
-
contractAddress?: string | undefined;
|
|
18740
18999
|
};
|
|
18741
19000
|
id: string;
|
|
18742
19001
|
legacyId: number;
|
|
@@ -19492,6 +19751,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
19492
19751
|
recipient: string;
|
|
19493
19752
|
amount: string;
|
|
19494
19753
|
type: "CANTON_LIKE_SEND";
|
|
19754
|
+
executeBeforeSeconds?: number | undefined;
|
|
19495
19755
|
} | {
|
|
19496
19756
|
amount: string;
|
|
19497
19757
|
currency: string;
|
|
@@ -19677,6 +19937,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
19677
19937
|
recipient: string;
|
|
19678
19938
|
amount: string;
|
|
19679
19939
|
type: "CANTON_LIKE_SEND";
|
|
19940
|
+
executeBeforeSeconds?: number | undefined;
|
|
19680
19941
|
} | {
|
|
19681
19942
|
amount: string;
|
|
19682
19943
|
currency: string;
|
|
@@ -19826,6 +20087,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
19826
20087
|
recipient: string;
|
|
19827
20088
|
amount: string;
|
|
19828
20089
|
type: "CANTON_LIKE_SEND";
|
|
20090
|
+
executeBeforeSeconds?: number | undefined;
|
|
19829
20091
|
} | {
|
|
19830
20092
|
amount: string;
|
|
19831
20093
|
currency: string;
|
|
@@ -20010,6 +20272,26 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
20010
20272
|
recipient: string;
|
|
20011
20273
|
amount: string;
|
|
20012
20274
|
type: "CANTON_LIKE_SEND";
|
|
20275
|
+
executeBeforeSeconds?: number | undefined;
|
|
20276
|
+
} | {
|
|
20277
|
+
currency: string;
|
|
20278
|
+
recipient: string;
|
|
20279
|
+
amount: string;
|
|
20280
|
+
type: "CANTON_LIKE_SEND_TOKEN";
|
|
20281
|
+
executeBeforeSeconds?: number | undefined;
|
|
20282
|
+
} | {
|
|
20283
|
+
currency: string;
|
|
20284
|
+
transferProposal: {
|
|
20285
|
+
amount: string;
|
|
20286
|
+
contractId: string;
|
|
20287
|
+
instrumentId: string;
|
|
20288
|
+
expiresAtMicros: number;
|
|
20289
|
+
memo: string | null;
|
|
20290
|
+
sender: string;
|
|
20291
|
+
recipient: string;
|
|
20292
|
+
};
|
|
20293
|
+
reason: string | null;
|
|
20294
|
+
type: "CANTON_LIKE_WITHDRAW";
|
|
20013
20295
|
} | {
|
|
20014
20296
|
currency: string;
|
|
20015
20297
|
transferProposal: {
|
|
@@ -21118,6 +21400,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21118
21400
|
} | {
|
|
21119
21401
|
type: "CREATE_ACCOUNT";
|
|
21120
21402
|
data: {
|
|
21403
|
+
contractAddress: string | null;
|
|
21404
|
+
tokenIdentifier: string | null;
|
|
21121
21405
|
currency: string;
|
|
21122
21406
|
name: string;
|
|
21123
21407
|
governance: {
|
|
@@ -21164,7 +21448,6 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21164
21448
|
index: number;
|
|
21165
21449
|
derivationPath: string;
|
|
21166
21450
|
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
21167
|
-
contractAddress?: string | undefined;
|
|
21168
21451
|
};
|
|
21169
21452
|
id: string;
|
|
21170
21453
|
legacyId: number;
|
|
@@ -26247,6 +26530,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
26247
26530
|
network: string;
|
|
26248
26531
|
assetType: "TOKEN";
|
|
26249
26532
|
contractAddress: string;
|
|
26533
|
+
tokenIdentifier: string | null;
|
|
26250
26534
|
metaCurrencyId: string | null;
|
|
26251
26535
|
})[];
|
|
26252
26536
|
};
|
|
@@ -27481,53 +27765,6 @@ declare const zWorkspaceRulesResponse: z__default.ZodObject<{
|
|
|
27481
27765
|
}, z__default.core.$strip>;
|
|
27482
27766
|
type WorkspaceRulesResponse = z__default.infer<typeof zWorkspaceRulesResponse>;
|
|
27483
27767
|
|
|
27484
|
-
declare const zGroupResponse: z__default.ZodObject<{
|
|
27485
|
-
id: z__default.ZodString;
|
|
27486
|
-
legacyId: z__default.ZodNumber;
|
|
27487
|
-
name: z__default.ZodString;
|
|
27488
|
-
description: z__default.ZodNullable<z__default.ZodString>;
|
|
27489
|
-
status: z__default.ZodEnum<{
|
|
27490
|
-
ACTIVE: "ACTIVE";
|
|
27491
|
-
INACTIVE: "INACTIVE";
|
|
27492
|
-
}>;
|
|
27493
|
-
members: z__default.ZodArray<z__default.ZodObject<{
|
|
27494
|
-
id: z__default.ZodString;
|
|
27495
|
-
legacyId: z__default.ZodNumber;
|
|
27496
|
-
legacyViewAll: z__default.ZodBoolean;
|
|
27497
|
-
workspaceName: z__default.ZodString;
|
|
27498
|
-
name: z__default.ZodString;
|
|
27499
|
-
deviceUserId: z__default.ZodNullable<z__default.ZodString>;
|
|
27500
|
-
deviceType: z__default.ZodEnum<{
|
|
27501
|
-
PSD: "PSD";
|
|
27502
|
-
SOFT_PSD: "SOFT_PSD";
|
|
27503
|
-
API: "API";
|
|
27504
|
-
}>;
|
|
27505
|
-
role: z__default.ZodEnum<{
|
|
27506
|
-
ADMIN: "ADMIN";
|
|
27507
|
-
OPERATOR: "OPERATOR";
|
|
27508
|
-
READ_ONLY_API_KEY: "READ_ONLY_API_KEY";
|
|
27509
|
-
}>;
|
|
27510
|
-
pubKey: z__default.ZodString;
|
|
27511
|
-
status: z__default.ZodEnum<{
|
|
27512
|
-
ACTIVE: "ACTIVE";
|
|
27513
|
-
INACTIVE: "INACTIVE";
|
|
27514
|
-
}>;
|
|
27515
|
-
isSuspended: z__default.ZodBoolean;
|
|
27516
|
-
createdAt: z__default.ZodCoercedDate<unknown>;
|
|
27517
|
-
updatedAt: z__default.ZodCoercedDate<unknown>;
|
|
27518
|
-
}, z__default.core.$strip>>;
|
|
27519
|
-
createdAt: z__default.ZodCoercedDate<unknown>;
|
|
27520
|
-
updatedAt: z__default.ZodCoercedDate<unknown>;
|
|
27521
|
-
}, z__default.core.$strip>;
|
|
27522
|
-
type GroupResponse = z__default.infer<typeof zGroupResponse>;
|
|
27523
|
-
declare const zGroupSortBy: z__default.ZodDefault<z__default.ZodEnum<{
|
|
27524
|
-
status: "status";
|
|
27525
|
-
name: "name";
|
|
27526
|
-
createdAt: "createdAt";
|
|
27527
|
-
updatedAt: "updatedAt";
|
|
27528
|
-
}>>;
|
|
27529
|
-
type GroupSortBy = z__default.infer<typeof zGroupSortBy>;
|
|
27530
|
-
|
|
27531
27768
|
/** Options to start an onboarding. */
|
|
27532
27769
|
declare const zOnboardingOpts: z$1.ZodObject<{
|
|
27533
27770
|
workspaceName: z$1.ZodString;
|
|
@@ -27850,16 +28087,17 @@ declare const zAllowedResourcesResponse: z$1.ZodObject<{
|
|
|
27850
28087
|
action: z$1.ZodString;
|
|
27851
28088
|
resources: z$1.ZodArray<z$1.ZodObject<{
|
|
27852
28089
|
resourceType: z$1.ZodEnum<{
|
|
27853
|
-
|
|
27854
|
-
|
|
27855
|
-
|
|
27856
|
-
|
|
27857
|
-
|
|
27858
|
-
|
|
27859
|
-
|
|
27860
|
-
|
|
27861
|
-
|
|
27862
|
-
|
|
28090
|
+
Account: "Account";
|
|
28091
|
+
Entity: "Entity";
|
|
28092
|
+
Group: "Group";
|
|
28093
|
+
Policy: "Policy";
|
|
28094
|
+
Whitelist: "Whitelist";
|
|
28095
|
+
TradelinkCustodian: "TradelinkCustodian";
|
|
28096
|
+
TradelinkEntity: "TradelinkEntity";
|
|
28097
|
+
TradelinkPledge: "TradelinkPledge";
|
|
28098
|
+
User: "User";
|
|
28099
|
+
Workspace: "Workspace";
|
|
28100
|
+
WorkspaceRule: "WorkspaceRule";
|
|
27863
28101
|
}>;
|
|
27864
28102
|
resourceId: z$1.ZodString;
|
|
27865
28103
|
}, z$1.core.$strip>>;
|
|
@@ -28215,98 +28453,6 @@ declare const zUserRegistrationResponse: z$1.ZodObject<{
|
|
|
28215
28453
|
}, z$1.core.$strip>;
|
|
28216
28454
|
type UserRegistrationResponse = z$1.infer<typeof zUserRegistrationResponse>;
|
|
28217
28455
|
|
|
28218
|
-
declare const zUserResponse: z__default.ZodObject<{
|
|
28219
|
-
id: z__default.ZodString;
|
|
28220
|
-
legacyId: z__default.ZodNumber;
|
|
28221
|
-
legacyViewAll: z__default.ZodBoolean;
|
|
28222
|
-
workspaceName: z__default.ZodString;
|
|
28223
|
-
name: z__default.ZodString;
|
|
28224
|
-
deviceUserId: z__default.ZodNullable<z__default.ZodString>;
|
|
28225
|
-
deviceType: z__default.ZodEnum<{
|
|
28226
|
-
PSD: "PSD";
|
|
28227
|
-
SOFT_PSD: "SOFT_PSD";
|
|
28228
|
-
API: "API";
|
|
28229
|
-
}>;
|
|
28230
|
-
role: z__default.ZodEnum<{
|
|
28231
|
-
ADMIN: "ADMIN";
|
|
28232
|
-
OPERATOR: "OPERATOR";
|
|
28233
|
-
READ_ONLY_API_KEY: "READ_ONLY_API_KEY";
|
|
28234
|
-
}>;
|
|
28235
|
-
pubKey: z__default.ZodString;
|
|
28236
|
-
status: z__default.ZodEnum<{
|
|
28237
|
-
ACTIVE: "ACTIVE";
|
|
28238
|
-
INACTIVE: "INACTIVE";
|
|
28239
|
-
}>;
|
|
28240
|
-
isSuspended: z__default.ZodBoolean;
|
|
28241
|
-
createdAt: z__default.ZodCoercedDate<unknown>;
|
|
28242
|
-
updatedAt: z__default.ZodCoercedDate<unknown>;
|
|
28243
|
-
}, z__default.core.$strip>;
|
|
28244
|
-
type UserResponse = z__default.infer<typeof zUserResponse>;
|
|
28245
|
-
declare const zAdminResponse: z__default.ZodObject<{
|
|
28246
|
-
id: z__default.ZodString;
|
|
28247
|
-
legacyId: z__default.ZodNumber;
|
|
28248
|
-
legacyViewAll: z__default.ZodBoolean;
|
|
28249
|
-
workspaceName: z__default.ZodString;
|
|
28250
|
-
name: z__default.ZodString;
|
|
28251
|
-
deviceUserId: z__default.ZodNullable<z__default.ZodString>;
|
|
28252
|
-
deviceType: z__default.ZodEnum<{
|
|
28253
|
-
PSD: "PSD";
|
|
28254
|
-
SOFT_PSD: "SOFT_PSD";
|
|
28255
|
-
API: "API";
|
|
28256
|
-
}>;
|
|
28257
|
-
pubKey: z__default.ZodString;
|
|
28258
|
-
status: z__default.ZodEnum<{
|
|
28259
|
-
ACTIVE: "ACTIVE";
|
|
28260
|
-
INACTIVE: "INACTIVE";
|
|
28261
|
-
}>;
|
|
28262
|
-
isSuspended: z__default.ZodBoolean;
|
|
28263
|
-
createdAt: z__default.ZodCoercedDate<unknown>;
|
|
28264
|
-
updatedAt: z__default.ZodCoercedDate<unknown>;
|
|
28265
|
-
role: z__default.ZodLiteral<"ADMIN">;
|
|
28266
|
-
}, z__default.core.$strip>;
|
|
28267
|
-
type AdminResponse = z__default.infer<typeof zAdminResponse>;
|
|
28268
|
-
declare const zUserSortBy: z__default.ZodDefault<z__default.ZodEnum<{
|
|
28269
|
-
status: "status";
|
|
28270
|
-
name: "name";
|
|
28271
|
-
createdAt: "createdAt";
|
|
28272
|
-
updatedAt: "updatedAt";
|
|
28273
|
-
role: "role";
|
|
28274
|
-
}>>;
|
|
28275
|
-
type UserSortBy = z__default.infer<typeof zUserSortBy>;
|
|
28276
|
-
|
|
28277
|
-
declare const zWhitelistAddressResponse: z__default.ZodObject<{
|
|
28278
|
-
name: z__default.ZodString;
|
|
28279
|
-
currency: z__default.ZodString;
|
|
28280
|
-
address: z__default.ZodString;
|
|
28281
|
-
destinationTags: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString>>;
|
|
28282
|
-
}, z__default.core.$strip>;
|
|
28283
|
-
declare const zWhitelistResponse: z__default.ZodObject<{
|
|
28284
|
-
id: z__default.ZodString;
|
|
28285
|
-
legacyId: z__default.ZodNumber;
|
|
28286
|
-
name: z__default.ZodString;
|
|
28287
|
-
status: z__default.ZodEnum<{
|
|
28288
|
-
ACTIVE: "ACTIVE";
|
|
28289
|
-
INACTIVE: "INACTIVE";
|
|
28290
|
-
}>;
|
|
28291
|
-
addresses: z__default.ZodArray<z__default.ZodObject<{
|
|
28292
|
-
name: z__default.ZodString;
|
|
28293
|
-
currency: z__default.ZodString;
|
|
28294
|
-
address: z__default.ZodString;
|
|
28295
|
-
destinationTags: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString>>;
|
|
28296
|
-
}, z__default.core.$strip>>;
|
|
28297
|
-
createdAt: z__default.ZodCoercedDate<unknown>;
|
|
28298
|
-
updatedAt: z__default.ZodCoercedDate<unknown>;
|
|
28299
|
-
description: z__default.ZodNullable<z__default.ZodString>;
|
|
28300
|
-
}, z__default.core.$strip>;
|
|
28301
|
-
type WhitelistResponse = z__default.infer<typeof zWhitelistResponse>;
|
|
28302
|
-
declare const zWhitelistSortBy: z__default.ZodDefault<z__default.ZodEnum<{
|
|
28303
|
-
status: "status";
|
|
28304
|
-
name: "name";
|
|
28305
|
-
createdAt: "createdAt";
|
|
28306
|
-
updatedAt: "updatedAt";
|
|
28307
|
-
}>>;
|
|
28308
|
-
type WhitelistSortBy = z__default.infer<typeof zWhitelistSortBy>;
|
|
28309
|
-
|
|
28310
28456
|
declare const zWorkspaceResponse: z__default.ZodObject<{
|
|
28311
28457
|
name: z__default.ZodString;
|
|
28312
28458
|
createdAt: z__default.ZodDate;
|
|
@@ -28373,4 +28519,4 @@ declare const emptyPage: <T>(paginationQuery: {
|
|
|
28373
28519
|
declare const fetchAllPages: <T>(fetchPage: (page: number) => Promise<Paginated<T>>) => Promise<T[]>;
|
|
28374
28520
|
declare const fetchAllCursorPages: <T>(fetchPage: (cursor: string | null) => Promise<CursorPaginated<T>>) => Promise<T[]>;
|
|
28375
28521
|
|
|
28376
|
-
export { type
|
|
28522
|
+
export { type AllowedActionsResponse, type AllowedResourcesResponse, type ApiChallenge, type AppRouter, AssetResponse, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeviceClaim, type EntityResponse, type EntitySortBy, type HsmCertificate, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type PsdChallenge, type PsdPairingData, type PsdPairingInputData, type PsdSignature, type PubKey, type ReviewStepWithUsers, type RootWorkspaceRuleResponse, type SortOrder, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionWithMetaResponse, type UserRegistrationChallenge, type UserRegistrationChallengeResponse, type UserRegistrationCreateInput, type UserRegistrationDeviceData, type UserRegistrationResponse, type WorkspaceResponse, type WorkspaceRuleResponse, type WorkspaceRulesResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, emptyPage, fetchAllCursorPages, fetchAllPages, paginate, serializePage, stableOrdering, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAuthResponse, zCantonPreApprovalStateResponse, zCantonTransferProposalResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeviceClaim, zEntityResponse, zEntitySortBy, zGovernableAction, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zPsdPairingData, zPsdPairingInputData, zPsdSignature, zPubKey, zReviewStepsArray, zRootWorkspaceRuleResponse, zSignedMessageResponse, zSortOrder, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationChallenge, zUserRegistrationChallengeResponse, zUserRegistrationCreateInput, zUserRegistrationDeviceData, zUserRegistrationResponse, zWorkspaceResponse, zWorkspaceRuleResponse, zWorkspaceRulesResponse, zWrappingKeyFragmentInput };
|