@ledgerhq/revault-api 1.82.0 → 1.82.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.
@@ -1,13 +1,13 @@
1
+ import "axios";
1
2
  import z, { z as z$1 } from "zod";
3
+ import "pino";
4
+ import "jose";
2
5
  import { Account, AccountType, Prisma, PrismaClient } from "@/generated/prisma/client";
3
6
  import "pg";
4
7
  import "@trpc/server";
5
8
  import "fastify";
6
9
  import "superjson";
7
10
  import "elliptic";
8
- import "jose";
9
- import "pino";
10
- import "axios";
11
11
  import "trpc-to-openapi";
12
12
  import "@ledgerhq/revault-notifier-types/redis-stream";
13
13
  //#region src/types/common.d.ts
@@ -68,227 +68,552 @@ declare const zGovernableIntent: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
68
68
  }, z$1.core.$strip>], "type">;
69
69
  type GovernableIntent = z$1.infer<typeof zGovernableIntent>;
70
70
  //#endregion
71
- //#region src/type-utils.d.ts
72
- /**
73
- * `Omit` distributed over a union, so each member keeps its own discriminant/correlation
74
- * instead of collapsing to the shared keys.
75
- */
76
- type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
77
- /**
78
- * Materialize a structural type into a plain object type so the DTS bundler references it by
79
- * NAME instead of re-inlining the whole shape at every use site.
80
- *
81
- * The declaration-bundle emitter expands `type X = z.infer<typeof z>` aliases (and therefore
82
- * large discriminated unions) inline on each embed, but it preserves explicit object-literal `type`
83
- * aliases by name. Wrapping a `z.infer<...>` union in this homomorphic, per-member identity
84
- * mapped type turns it into such a nameable alias without changing the type: `[K in keyof T]`
85
- * copies every property (preserving optional/readonly modifiers) and `T extends unknown`
86
- * distributes over the union so each member keeps its own discriminant.
87
- *
88
- * Pair it with {@link import("@/utils").boxSchemaType} at the schema boundary and an
89
- * {@link AssertMutuallyAssignable} drift guard against the raw `z.infer`.
90
- */
91
- type BoxUnion<T> = T extends unknown ? { [K in keyof T]: T[K]; } : never;
92
- //#endregion
93
- //#region src/networks/common.d.ts
94
- type NetworkFamily = Exclude<AccountType, "RAW_SIGNING">;
95
- declare const NetworkFamily: {
96
- BITCOIN_LIKE: "BITCOIN_LIKE";
97
- CANTON_LIKE: "CANTON_LIKE";
98
- CARDANO_LIKE: "CARDANO_LIKE";
99
- ETHEREUM_LIKE: "ETHEREUM_LIKE";
100
- GENERIC_LIKE: "GENERIC_LIKE";
101
- HEDERA_LIKE: "HEDERA_LIKE";
102
- POLKADOT_LIKE: "POLKADOT_LIKE";
103
- RIPPLE_LIKE: "RIPPLE_LIKE";
104
- SOLANA_LIKE: "SOLANA_LIKE";
105
- STELLAR_LIKE: "STELLAR_LIKE";
106
- SUI_LIKE: "SUI_LIKE";
107
- TEZOS_LIKE: "TEZOS_LIKE";
108
- TRON_LIKE: "TRON_LIKE";
109
- };
110
- declare const zCommonLiveData: z.ZodObject<{
71
+ //#region src/core/accounts/read-models.d.ts
72
+ declare const zAccountLiveDataResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
111
73
  id: z.ZodString;
112
74
  balance: z.ZodObject<{
113
75
  total: z.ZodString;
114
76
  pending: z.ZodString;
115
77
  reserved: z.ZodString;
116
78
  }, z.core.$strip>;
117
- }, z.core.$strip>;
118
- declare const zTransactionStatus: z.ZodEnum<{
119
- FAILED: "FAILED";
120
- PENDING: "PENDING";
121
- SUCCESSFUL: "SUCCESSFUL";
122
- UNKNOWN: "UNKNOWN";
123
- }>;
124
- //#endregion
125
- //#region src/networks/ethereum/schemas.d.ts
126
- declare const zValidator: z.ZodObject<{
127
- pubkey: z.ZodString;
128
- depositAmount: z.ZodString;
129
- signature: z.ZodString;
130
- depositDataRoot: z.ZodString;
131
- }, z.core.$strip>;
132
- type Validator = z.infer<typeof zValidator>;
133
- declare const zStakingProvisioning: z.ZodObject<{
134
- contractAddress: z.ZodString;
135
- validators: z.ZodArray<z.ZodObject<{
136
- pubkey: z.ZodString;
137
- depositAmount: z.ZodString;
138
- signature: z.ZodString;
139
- depositDataRoot: z.ZodString;
140
- }, z.core.$strip>>;
141
- }, z.core.$strip>;
142
- type StakingProvisioning = z.infer<typeof zStakingProvisioning>;
143
- //#endregion
144
- //#region src/networks/spec.d.ts
145
- type TxHsmProps = {
146
- family: string;
147
- txProps: Record<string, unknown>;
148
- };
149
- type TxHsmPropsContext = {
150
- workspaceName: string;
151
- requestId?: string;
152
- stakingProvisioning?: StakingProvisioning;
153
- batchDepositContractAddress?: string;
154
- };
155
- type TxHandler = {
156
- getHsmProps: (account: Account, context?: TxHsmPropsContext) => Promise<TxHsmProps>;
157
- convertToGovernableIntent: () => GovernableIntent;
158
- };
159
- //#endregion
160
- //#region src/networks/bitcoin/schemas.d.ts
161
- declare const zBitcoinLikeBalance: z.ZodObject<{
162
- total: z.ZodString;
163
- pending: z.ZodString;
164
- reserved: z.ZodString;
165
- confirmed: z.ZodString;
166
- worthless: z.ZodString;
167
- mempoolIn: z.ZodString;
168
- mempoolOut: z.ZodString;
169
- mempoolChange: z.ZodString;
170
- underConfirmationIn: z.ZodString;
171
- underConfirmationChange: z.ZodString;
172
- }, z.core.$strip>;
173
- type BitcoinLikeBalance = z.infer<typeof zBitcoinLikeBalance>;
174
- //#endregion
175
- //#region src/networks/bitcoin/index.d.ts
176
- declare const BITCOIN_SPEC: {
177
- readonly family: "BITCOIN_LIKE";
178
- readonly zAssetFields: z.ZodObject<{
179
- type: z.ZodLiteral<"BITCOIN_LIKE">;
180
- xpub: z.ZodString;
181
- addressDerivationMode: z.ZodEnum<{
182
- readonly NEW: 'NEW';
183
- readonly STATIC: 'STATIC';
184
- }>;
79
+ type: z.ZodLiteral<"RAW_SIGNING">;
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ id: z.ZodString;
82
+ type: z.ZodLiteral<"BITCOIN_LIKE">;
83
+ balance: z.ZodObject<{
84
+ total: z.ZodString;
85
+ pending: z.ZodString;
86
+ reserved: z.ZodString;
87
+ confirmed: z.ZodString;
88
+ worthless: z.ZodString;
89
+ mempoolIn: z.ZodString;
90
+ mempoolOut: z.ZodString;
91
+ mempoolChange: z.ZodString;
92
+ underConfirmationIn: z.ZodString;
93
+ underConfirmationChange: z.ZodString;
185
94
  }, z.core.$strip>;
186
- readonly zLiveData: z.ZodObject<{
187
- id: z.ZodString;
188
- type: z.ZodLiteral<"BITCOIN_LIKE">;
189
- balance: z.ZodObject<{
190
- total: z.ZodString;
191
- pending: z.ZodString;
192
- reserved: z.ZodString;
193
- confirmed: z.ZodString;
194
- worthless: z.ZodString;
195
- mempoolIn: z.ZodString;
196
- mempoolOut: z.ZodString;
197
- mempoolChange: z.ZodString;
198
- underConfirmationIn: z.ZodString;
199
- underConfirmationChange: z.ZodString;
200
- }, z.core.$strip>;
95
+ }, z.core.$strip>, z.ZodObject<{
96
+ id: z.ZodString;
97
+ balance: z.ZodObject<{
98
+ total: z.ZodString;
99
+ pending: z.ZodString;
100
+ reserved: z.ZodString;
201
101
  }, z.core.$strip>;
202
- readonly zTransactionType: z.ZodEnum<{
203
- BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
204
- BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
205
- }>;
206
- readonly zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
207
- amount: z.ZodString;
208
- currency: z.ZodString;
209
- maxFee: z.ZodNullable<z.ZodString>;
210
- recipient: z.ZodString;
211
- replacingTxHash: z.ZodOptional<z.ZodString>;
212
- replacementReason: z.ZodOptional<z.ZodEnum<{
213
- boost: "boost";
214
- cancel: "cancel";
215
- }>>;
216
- replacementRecipient: z.ZodOptional<z.ZodNullable<z.ZodObject<{
217
- to: z.ZodString;
218
- amount: z.ZodString;
219
- }, z.core.$strip>>>;
220
- type: z.ZodLiteral<"BITCOIN_LIKE_SEND">;
221
- feeStrategy: z.ZodObject<{
222
- type: z.ZodEnum<{
223
- CUSTOM: "CUSTOM";
224
- FAST: "FAST";
225
- NORMAL: "NORMAL";
226
- SLOW: "SLOW";
227
- }>;
228
- feePerByte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
- }, z.core.$strip>;
230
- }, z.core.$strip>], "type">;
231
- readonly zSendTransactionData: z.ZodObject<{
232
- amount: z.ZodString;
233
- currency: z.ZodString;
234
- maxFee: z.ZodNullable<z.ZodString>;
235
- recipient: z.ZodString;
236
- replacingTxHash: z.ZodOptional<z.ZodString>;
237
- replacementReason: z.ZodOptional<z.ZodEnum<{
238
- boost: "boost";
239
- cancel: "cancel";
240
- }>>;
241
- replacementRecipient: z.ZodOptional<z.ZodNullable<z.ZodObject<{
242
- to: z.ZodString;
243
- amount: z.ZodString;
244
- }, z.core.$strip>>>;
245
- type: z.ZodLiteral<"BITCOIN_LIKE_SEND">;
246
- feeStrategy: z.ZodObject<{
247
- type: z.ZodEnum<{
248
- CUSTOM: "CUSTOM";
249
- FAST: "FAST";
250
- NORMAL: "NORMAL";
251
- SLOW: "SLOW";
252
- }>;
253
- feePerByte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
- }, z.core.$strip>;
102
+ type: z.ZodLiteral<"CANTON_LIKE">;
103
+ }, z.core.$strip>, z.ZodObject<{
104
+ id: z.ZodString;
105
+ balance: z.ZodObject<{
106
+ total: z.ZodString;
107
+ pending: z.ZodString;
108
+ reserved: z.ZodString;
255
109
  }, z.core.$strip>;
256
- readonly zEstimatedFees: z.ZodObject<{
257
- type: z.ZodLiteral<"BITCOIN_LIKE">;
258
- fee: z.ZodString;
110
+ type: z.ZodLiteral<"CARDANO_LIKE">;
111
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
112
+ staked: z.ZodString;
113
+ }, z.core.$strip>>>;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ id: z.ZodString;
116
+ balance: z.ZodObject<{
117
+ total: z.ZodString;
118
+ pending: z.ZodString;
119
+ reserved: z.ZodString;
259
120
  }, z.core.$strip>;
260
- readonly zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
261
- id: z.ZodString;
262
- hash: z.ZodString;
263
- block: z.ZodObject<{
264
- height: z.ZodNullable<z.ZodString>;
265
- time: z.ZodNullable<z.ZodString>;
266
- }, z.core.$strip>;
267
- status: z.ZodEnum<{
268
- FAILED: "FAILED";
269
- PENDING: "PENDING";
270
- SUCCESSFUL: "SUCCESSFUL";
271
- UNKNOWN: "UNKNOWN";
272
- }>;
273
- confirmations: z.ZodString;
274
- amount: z.ZodString;
275
- fee: z.ZodString;
276
- senders: z.ZodArray<z.ZodString>;
277
- recipients: z.ZodArray<z.ZodString>;
278
- type: z.ZodEnum<{
279
- BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
280
- BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
281
- }>;
282
- }, z.core.$strip>], "type">;
283
- readonly zStakingFields: z.ZodNever;
284
- readonly zAccountNetworkInfoFields: z.ZodNever;
285
- readonly withTx: (tx: {
286
- amount: string;
287
- currency: string;
288
- maxFee: string | null;
289
- recipient: string;
290
- replacingTxHash?: string | undefined;
291
- replacementReason?: "boost" | "cancel" | undefined;
121
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
122
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
123
+ totalStaking: z.ZodString;
124
+ totalRewards: z.ZodString;
125
+ availableRewards: z.ZodOptional<z.ZodString>;
126
+ networkApy: z.ZodOptional<z.ZodNumber>;
127
+ }, z.core.$strip>>>;
128
+ }, z.core.$strip>, z.ZodObject<{
129
+ id: z.ZodString;
130
+ balance: z.ZodObject<{
131
+ total: z.ZodString;
132
+ pending: z.ZodString;
133
+ reserved: z.ZodString;
134
+ }, z.core.$strip>;
135
+ type: z.ZodLiteral<"GENERIC_LIKE">;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ id: z.ZodString;
138
+ balance: z.ZodObject<{
139
+ total: z.ZodString;
140
+ pending: z.ZodString;
141
+ reserved: z.ZodString;
142
+ }, z.core.$strip>;
143
+ type: z.ZodLiteral<"HEDERA_LIKE">;
144
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
145
+ totalStaked: z.ZodString;
146
+ totalRewards: z.ZodString;
147
+ }, z.core.$strip>>>;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ id: z.ZodString;
150
+ balance: z.ZodObject<{
151
+ total: z.ZodString;
152
+ pending: z.ZodString;
153
+ reserved: z.ZodString;
154
+ }, z.core.$strip>;
155
+ type: z.ZodLiteral<"POLKADOT_LIKE">;
156
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
157
+ info: z.ZodObject<{
158
+ controllerAddress: z.ZodNullable<z.ZodString>;
159
+ rewardsDestination: z.ZodNullable<z.ZodString>;
160
+ proxies: z.ZodArray<z.ZodString>;
161
+ legacyStaking: z.ZodBoolean;
162
+ isNominator: z.ZodBoolean;
163
+ }, z.core.$strip>;
164
+ balances: z.ZodObject<{
165
+ free: z.ZodString;
166
+ reserved: z.ZodString;
167
+ frozen: z.ZodString;
168
+ bonded: z.ZodString;
169
+ available: z.ZodString;
170
+ unbonding: z.ZodArray<z.ZodObject<{
171
+ amount: z.ZodString;
172
+ waiting_time: z.ZodString;
173
+ }, z.core.$strip>>;
174
+ unbonded: z.ZodArray<z.ZodObject<{
175
+ amount: z.ZodString;
176
+ waiting_time: z.ZodString;
177
+ }, z.core.$strip>>;
178
+ totalUnbonding: z.ZodString;
179
+ totalUnbonded: z.ZodString;
180
+ }, z.core.$strip>;
181
+ anonymousProxy: z.ZodNullable<z.ZodObject<{
182
+ address: z.ZodString;
183
+ createdAt: z.ZodString;
184
+ isController: z.ZodBoolean;
185
+ isMain: z.ZodBoolean;
186
+ balances: z.ZodNullable<z.ZodObject<{
187
+ free: z.ZodString;
188
+ reserved: z.ZodString;
189
+ frozen: z.ZodString;
190
+ bonded: z.ZodString;
191
+ available: z.ZodString;
192
+ total: z.ZodString;
193
+ }, z.core.$strip>>;
194
+ blockHeight: z.ZodString;
195
+ extIndex: z.ZodString;
196
+ index: z.ZodString;
197
+ kind: z.ZodString;
198
+ }, z.core.$strip>>;
199
+ }, z.core.$strip>>>;
200
+ }, z.core.$strip>, z.ZodObject<{
201
+ id: z.ZodString;
202
+ balance: z.ZodObject<{
203
+ total: z.ZodString;
204
+ pending: z.ZodString;
205
+ reserved: z.ZodString;
206
+ }, z.core.$strip>;
207
+ type: z.ZodLiteral<"RIPPLE_LIKE">;
208
+ }, z.core.$strip>, z.ZodObject<{
209
+ id: z.ZodString;
210
+ balance: z.ZodObject<{
211
+ total: z.ZodString;
212
+ pending: z.ZodString;
213
+ reserved: z.ZodString;
214
+ }, z.core.$strip>;
215
+ type: z.ZodLiteral<"SOLANA_LIKE">;
216
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
217
+ staked: z.ZodString;
218
+ rewards: z.ZodObject<{
219
+ total: z.ZodString;
220
+ last7: z.ZodString;
221
+ last30: z.ZodString;
222
+ }, z.core.$strip>;
223
+ stakes: z.ZodArray<z.ZodObject<{
224
+ uid: z.ZodString;
225
+ baseAccountUid: z.ZodString;
226
+ pubKey: z.ZodString;
227
+ validatorPubKey: z.ZodNullable<z.ZodString>;
228
+ initialAmount: z.ZodString;
229
+ activeAmount: z.ZodString;
230
+ inactiveAmount: z.ZodString;
231
+ totalBalance: z.ZodString;
232
+ creationDate: z.ZodString;
233
+ activationEpoch: z.ZodNullable<z.ZodString>;
234
+ activationDate: z.ZodNullable<z.ZodString>;
235
+ deactivationEpoch: z.ZodNullable<z.ZodString>;
236
+ deactivationDate: z.ZodNullable<z.ZodString>;
237
+ status: z.ZodEnum<{
238
+ activated: "activated";
239
+ activating: "activating";
240
+ deactivated: "deactivated";
241
+ deactivating: "deactivating";
242
+ deleted: "deleted";
243
+ not_sync: "not_sync";
244
+ }>;
245
+ rentExemptReserve: z.ZodString;
246
+ withdrawableAmount: z.ZodString;
247
+ totalRewards: z.ZodString;
248
+ creationTxHash: z.ZodNullable<z.ZodString>;
249
+ actionsTxHashes: z.ZodArray<z.ZodString>;
250
+ }, z.core.$strip>>;
251
+ }, z.core.$strip>>>;
252
+ }, z.core.$strip>, z.ZodObject<{
253
+ id: z.ZodString;
254
+ balance: z.ZodObject<{
255
+ total: z.ZodString;
256
+ pending: z.ZodString;
257
+ reserved: z.ZodString;
258
+ }, z.core.$strip>;
259
+ type: z.ZodLiteral<"STELLAR_LIKE">;
260
+ }, z.core.$strip>, z.ZodObject<{
261
+ id: z.ZodString;
262
+ balance: z.ZodObject<{
263
+ total: z.ZodString;
264
+ pending: z.ZodString;
265
+ reserved: z.ZodString;
266
+ }, z.core.$strip>;
267
+ type: z.ZodLiteral<"SUI_LIKE">;
268
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
269
+ totalStaked: z.ZodString;
270
+ totalRewards: z.ZodString;
271
+ }, z.core.$strip>>>;
272
+ }, z.core.$strip>, z.ZodObject<{
273
+ id: z.ZodString;
274
+ balance: z.ZodObject<{
275
+ total: z.ZodString;
276
+ pending: z.ZodString;
277
+ reserved: z.ZodString;
278
+ }, z.core.$strip>;
279
+ type: z.ZodLiteral<"TEZOS_LIKE">;
280
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
281
+ delegations: z.ZodArray<z.ZodObject<{
282
+ address: z.ZodString;
283
+ }, z.core.$strip>>;
284
+ }, z.core.$strip>>>;
285
+ }, z.core.$strip>, z.ZodObject<{
286
+ id: z.ZodString;
287
+ balance: z.ZodObject<{
288
+ total: z.ZodString;
289
+ pending: z.ZodString;
290
+ reserved: z.ZodString;
291
+ }, z.core.$strip>;
292
+ type: z.ZodLiteral<"TRON_LIKE">;
293
+ networkInfo: z.ZodNullable<z.ZodObject<{
294
+ bandwidth: z.ZodString;
295
+ energy: z.ZodString;
296
+ }, z.core.$strip>>;
297
+ }, z.core.$strip>], "type">;
298
+ type AccountLiveDataResponse = z.infer<typeof zAccountLiveDataResponse>;
299
+ declare const zAccountFreshAddress: z.ZodObject<{
300
+ address: z.ZodString;
301
+ derivationPath: z.ZodNullable<z.ZodString>;
302
+ }, z.core.$strip>;
303
+ type AccountFreshAddress = z.infer<typeof zAccountFreshAddress>;
304
+ declare const zBalance: z.ZodObject<{
305
+ amount: z.ZodString;
306
+ currency: z.ZodObject<{
307
+ network: z.ZodString;
308
+ contractAddress: z.ZodNullable<z.ZodString>;
309
+ tokenIdentifier: z.ZodNullable<z.ZodString>;
310
+ }, z.core.$strip>;
311
+ }, z.core.$strip>;
312
+ declare const zStake: z.ZodObject<{
313
+ id: z.ZodString;
314
+ validator: z.ZodString;
315
+ state: z.ZodEnum<{
316
+ ACTIVATING: "ACTIVATING";
317
+ ACTIVE: "ACTIVE";
318
+ DEACTIVATING: "DEACTIVATING";
319
+ INACTIVE: "INACTIVE";
320
+ UNKNOWN: "UNKNOWN";
321
+ }>;
322
+ staked: z.ZodNullable<z.ZodString>;
323
+ rewards: z.ZodObject<{
324
+ total: z.ZodString;
325
+ }, z.core.$strip>;
326
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
+ stakeType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
328
+ legacy: "legacy";
329
+ pectra: "pectra";
330
+ }>>>;
331
+ }, z.core.$strip>;
332
+ declare const zStakeSortBy: z.ZodDefault<z.ZodEnum<{
333
+ rewards: "rewards";
334
+ staked: "staked";
335
+ total: "total";
336
+ }>>;
337
+ declare const zStakingValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
338
+ address: z.ZodString;
339
+ apy: z.ZodNullable<z.ZodString>;
340
+ balance: z.ZodNullable<z.ZodString>;
341
+ commissionRate: z.ZodNullable<z.ZodString>;
342
+ description: z.ZodNullable<z.ZodString>;
343
+ logo: z.ZodNullable<z.ZodString>;
344
+ name: z.ZodNullable<z.ZodString>;
345
+ url: z.ZodNullable<z.ZodString>;
346
+ type: z.ZodLiteral<"SUI_LIKE">;
347
+ }, z.core.$strip>, z.ZodObject<{
348
+ address: z.ZodString;
349
+ apy: z.ZodNullable<z.ZodString>;
350
+ balance: z.ZodNullable<z.ZodString>;
351
+ commissionRate: z.ZodNullable<z.ZodString>;
352
+ description: z.ZodNullable<z.ZodString>;
353
+ logo: z.ZodNullable<z.ZodString>;
354
+ name: z.ZodNullable<z.ZodString>;
355
+ url: z.ZodNullable<z.ZodString>;
356
+ type: z.ZodLiteral<"HEDERA_LIKE">;
357
+ nodeId: z.ZodNullable<z.ZodString>;
358
+ }, z.core.$strip>, z.ZodObject<{
359
+ address: z.ZodString;
360
+ apy: z.ZodNullable<z.ZodString>;
361
+ balance: z.ZodNullable<z.ZodString>;
362
+ commissionRate: z.ZodNullable<z.ZodString>;
363
+ description: z.ZodNullable<z.ZodString>;
364
+ logo: z.ZodNullable<z.ZodString>;
365
+ name: z.ZodNullable<z.ZodString>;
366
+ url: z.ZodNullable<z.ZodString>;
367
+ type: z.ZodLiteral<"TEZOS_LIKE">;
368
+ }, z.core.$strip>, z.ZodObject<{
369
+ apy: z.ZodNullable<z.ZodString>;
370
+ balance: z.ZodNullable<z.ZodString>;
371
+ commissionRate: z.ZodNullable<z.ZodString>;
372
+ description: z.ZodNullable<z.ZodString>;
373
+ logo: z.ZodNullable<z.ZodString>;
374
+ name: z.ZodNullable<z.ZodString>;
375
+ url: z.ZodNullable<z.ZodString>;
376
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
377
+ id: z.ZodString;
378
+ address: z.ZodNullable<z.ZodString>;
379
+ }, z.core.$strip>], "type">;
380
+ declare const zStakingValidatorSortBy: z.ZodDefault<z.ZodEnum<{
381
+ balance: "balance";
382
+ }>>;
383
+ //#endregion
384
+ //#region src/type-utils.d.ts
385
+ /**
386
+ * `Omit` distributed over a union, so each member keeps its own discriminant/correlation
387
+ * instead of collapsing to the shared keys.
388
+ */
389
+ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
390
+ /**
391
+ * Materialize a structural type into a plain object type so the DTS bundler references it by
392
+ * NAME instead of re-inlining the whole shape at every use site.
393
+ *
394
+ * The declaration-bundle emitter expands `type X = z.infer<typeof z>` aliases (and therefore
395
+ * large discriminated unions) inline on each embed, but it preserves explicit object-literal `type`
396
+ * aliases by name. Wrapping a `z.infer<...>` union in this homomorphic, per-member identity
397
+ * mapped type turns it into such a nameable alias without changing the type: `[K in keyof T]`
398
+ * copies every property (preserving optional/readonly modifiers) and `T extends unknown`
399
+ * distributes over the union so each member keeps its own discriminant.
400
+ *
401
+ * Pair it with {@link import("@/utils").boxSchemaType} at the schema boundary and an
402
+ * {@link AssertMutuallyAssignable} drift guard against the raw `z.infer`.
403
+ */
404
+ type BoxUnion<T> = T extends unknown ? { [K in keyof T]: T[K]; } : never;
405
+ //#endregion
406
+ //#region src/networks/common.d.ts
407
+ type NetworkFamily = Exclude<AccountType, "RAW_SIGNING">;
408
+ declare const NetworkFamily: {
409
+ BITCOIN_LIKE: "BITCOIN_LIKE";
410
+ CANTON_LIKE: "CANTON_LIKE";
411
+ CARDANO_LIKE: "CARDANO_LIKE";
412
+ ETHEREUM_LIKE: "ETHEREUM_LIKE";
413
+ GENERIC_LIKE: "GENERIC_LIKE";
414
+ HEDERA_LIKE: "HEDERA_LIKE";
415
+ POLKADOT_LIKE: "POLKADOT_LIKE";
416
+ RIPPLE_LIKE: "RIPPLE_LIKE";
417
+ SOLANA_LIKE: "SOLANA_LIKE";
418
+ STELLAR_LIKE: "STELLAR_LIKE";
419
+ SUI_LIKE: "SUI_LIKE";
420
+ TEZOS_LIKE: "TEZOS_LIKE";
421
+ TRON_LIKE: "TRON_LIKE";
422
+ };
423
+ declare const zCommonLiveData: z.ZodObject<{
424
+ id: z.ZodString;
425
+ balance: z.ZodObject<{
426
+ total: z.ZodString;
427
+ pending: z.ZodString;
428
+ reserved: z.ZodString;
429
+ }, z.core.$strip>;
430
+ }, z.core.$strip>;
431
+ declare const zTransactionStatus: z.ZodEnum<{
432
+ FAILED: "FAILED";
433
+ PENDING: "PENDING";
434
+ SUCCESSFUL: "SUCCESSFUL";
435
+ UNKNOWN: "UNKNOWN";
436
+ }>;
437
+ //#endregion
438
+ //#region src/networks/ethereum/schemas.d.ts
439
+ declare const zEthereumLikeEip1559FeeStrategy: z.ZodObject<{
440
+ type: z.ZodEnum<{
441
+ CUSTOM: "CUSTOM";
442
+ FAST: "FAST";
443
+ NORMAL: "NORMAL";
444
+ SLOW: "SLOW";
445
+ }>;
446
+ maxPriorityFeePerGas: z.ZodString;
447
+ maxFeePerGas: z.ZodString;
448
+ gasLimit: z.ZodString;
449
+ }, z.core.$strip>;
450
+ type EthereumLikeEip1559FeeStrategy = z.infer<typeof zEthereumLikeEip1559FeeStrategy>;
451
+ declare const zValidator: z.ZodObject<{
452
+ pubkey: z.ZodString;
453
+ depositAmount: z.ZodString;
454
+ signature: z.ZodString;
455
+ depositDataRoot: z.ZodString;
456
+ }, z.core.$strip>;
457
+ type Validator = z.infer<typeof zValidator>;
458
+ declare const zStakingProvisioning: z.ZodObject<{
459
+ contractAddress: z.ZodString;
460
+ validators: z.ZodArray<z.ZodObject<{
461
+ pubkey: z.ZodString;
462
+ depositAmount: z.ZodString;
463
+ signature: z.ZodString;
464
+ depositDataRoot: z.ZodString;
465
+ }, z.core.$strip>>;
466
+ }, z.core.$strip>;
467
+ type StakingProvisioning = z.infer<typeof zStakingProvisioning>;
468
+ //#endregion
469
+ //#region src/networks/spec.d.ts
470
+ type TxHsmProps = {
471
+ family: string;
472
+ txProps: Record<string, unknown>;
473
+ };
474
+ type TxHsmPropsContext = {
475
+ workspaceName: string;
476
+ requestId?: string;
477
+ stakingProvisioning?: StakingProvisioning;
478
+ batchDepositContractAddress?: string;
479
+ };
480
+ type TxHandler = {
481
+ getHsmProps: (account: Account, context?: TxHsmPropsContext) => Promise<TxHsmProps>;
482
+ convertToGovernableIntent: () => GovernableIntent;
483
+ };
484
+ //#endregion
485
+ //#region src/networks/bitcoin/schemas.d.ts
486
+ declare const zBitcoinLikeBalance: z.ZodObject<{
487
+ total: z.ZodString;
488
+ pending: z.ZodString;
489
+ reserved: z.ZodString;
490
+ confirmed: z.ZodString;
491
+ worthless: z.ZodString;
492
+ mempoolIn: z.ZodString;
493
+ mempoolOut: z.ZodString;
494
+ mempoolChange: z.ZodString;
495
+ underConfirmationIn: z.ZodString;
496
+ underConfirmationChange: z.ZodString;
497
+ }, z.core.$strip>;
498
+ type BitcoinLikeBalance = z.infer<typeof zBitcoinLikeBalance>;
499
+ //#endregion
500
+ //#region src/networks/bitcoin/index.d.ts
501
+ declare const BITCOIN_SPEC: {
502
+ readonly family: "BITCOIN_LIKE";
503
+ readonly zAssetFields: z.ZodObject<{
504
+ type: z.ZodLiteral<"BITCOIN_LIKE">;
505
+ xpub: z.ZodString;
506
+ addressDerivationMode: z.ZodEnum<{
507
+ readonly NEW: 'NEW';
508
+ readonly STATIC: 'STATIC';
509
+ }>;
510
+ }, z.core.$strip>;
511
+ readonly zLiveData: z.ZodObject<{
512
+ id: z.ZodString;
513
+ type: z.ZodLiteral<"BITCOIN_LIKE">;
514
+ balance: z.ZodObject<{
515
+ total: z.ZodString;
516
+ pending: z.ZodString;
517
+ reserved: z.ZodString;
518
+ confirmed: z.ZodString;
519
+ worthless: z.ZodString;
520
+ mempoolIn: z.ZodString;
521
+ mempoolOut: z.ZodString;
522
+ mempoolChange: z.ZodString;
523
+ underConfirmationIn: z.ZodString;
524
+ underConfirmationChange: z.ZodString;
525
+ }, z.core.$strip>;
526
+ }, z.core.$strip>;
527
+ readonly zTransactionType: z.ZodEnum<{
528
+ BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
529
+ BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
530
+ }>;
531
+ readonly zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
532
+ amount: z.ZodString;
533
+ currency: z.ZodString;
534
+ maxFee: z.ZodNullable<z.ZodString>;
535
+ recipient: z.ZodString;
536
+ replacingTxHash: z.ZodOptional<z.ZodString>;
537
+ replacementReason: z.ZodOptional<z.ZodEnum<{
538
+ boost: "boost";
539
+ cancel: "cancel";
540
+ }>>;
541
+ replacementRecipient: z.ZodOptional<z.ZodNullable<z.ZodObject<{
542
+ to: z.ZodString;
543
+ amount: z.ZodString;
544
+ }, z.core.$strip>>>;
545
+ type: z.ZodLiteral<"BITCOIN_LIKE_SEND">;
546
+ feeStrategy: z.ZodObject<{
547
+ type: z.ZodEnum<{
548
+ CUSTOM: "CUSTOM";
549
+ FAST: "FAST";
550
+ NORMAL: "NORMAL";
551
+ SLOW: "SLOW";
552
+ }>;
553
+ feePerByte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
+ }, z.core.$strip>;
555
+ }, z.core.$strip>], "type">;
556
+ readonly zSendTransactionData: z.ZodObject<{
557
+ amount: z.ZodString;
558
+ currency: z.ZodString;
559
+ maxFee: z.ZodNullable<z.ZodString>;
560
+ recipient: z.ZodString;
561
+ replacingTxHash: z.ZodOptional<z.ZodString>;
562
+ replacementReason: z.ZodOptional<z.ZodEnum<{
563
+ boost: "boost";
564
+ cancel: "cancel";
565
+ }>>;
566
+ replacementRecipient: z.ZodOptional<z.ZodNullable<z.ZodObject<{
567
+ to: z.ZodString;
568
+ amount: z.ZodString;
569
+ }, z.core.$strip>>>;
570
+ type: z.ZodLiteral<"BITCOIN_LIKE_SEND">;
571
+ feeStrategy: z.ZodObject<{
572
+ type: z.ZodEnum<{
573
+ CUSTOM: "CUSTOM";
574
+ FAST: "FAST";
575
+ NORMAL: "NORMAL";
576
+ SLOW: "SLOW";
577
+ }>;
578
+ feePerByte: z.ZodOptional<z.ZodNullable<z.ZodString>>;
579
+ }, z.core.$strip>;
580
+ }, z.core.$strip>;
581
+ readonly zEstimatedFees: z.ZodObject<{
582
+ type: z.ZodLiteral<"BITCOIN_LIKE">;
583
+ fee: z.ZodString;
584
+ }, z.core.$strip>;
585
+ readonly zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
586
+ id: z.ZodString;
587
+ hash: z.ZodString;
588
+ block: z.ZodObject<{
589
+ height: z.ZodNullable<z.ZodString>;
590
+ time: z.ZodNullable<z.ZodString>;
591
+ }, z.core.$strip>;
592
+ status: z.ZodEnum<{
593
+ FAILED: "FAILED";
594
+ PENDING: "PENDING";
595
+ SUCCESSFUL: "SUCCESSFUL";
596
+ UNKNOWN: "UNKNOWN";
597
+ }>;
598
+ confirmations: z.ZodString;
599
+ amount: z.ZodString;
600
+ fee: z.ZodString;
601
+ senders: z.ZodArray<z.ZodString>;
602
+ recipients: z.ZodArray<z.ZodString>;
603
+ type: z.ZodEnum<{
604
+ BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
605
+ BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
606
+ }>;
607
+ }, z.core.$strip>], "type">;
608
+ readonly zStakingFields: z.ZodNever;
609
+ readonly zAccountNetworkInfoFields: z.ZodNever;
610
+ readonly withTx: (tx: {
611
+ amount: string;
612
+ currency: string;
613
+ maxFee: string | null;
614
+ recipient: string;
615
+ replacingTxHash?: string | undefined;
616
+ replacementReason?: "boost" | "cancel" | undefined;
292
617
  replacementRecipient?: {
293
618
  to: string;
294
619
  amount: string;
@@ -4662,244 +4987,14 @@ declare const zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
4662
4987
  recipients: z.ZodArray<z.ZodString>;
4663
4988
  gasPrice: z.ZodString;
4664
4989
  gasLimit: z.ZodString;
4665
- nonce: z.ZodString;
4666
- contractData: z.ZodString;
4667
- type: z.ZodLiteral<"ETHEREUM_LIKE_STAKE_CONSOLIDATE">;
4668
- sourcePubKey: z.ZodCodec<z.ZodString, z.ZodString>;
4669
- sourceStakingProvider: z.ZodNullable<z.ZodString>;
4670
- targetPubKey: z.ZodCodec<z.ZodString, z.ZodString>;
4671
- targetStakingProvider: z.ZodNullable<z.ZodString>;
4672
- executionFee: z.ZodString;
4673
- }, z.core.$strip>, z.ZodObject<{
4674
- id: z.ZodString;
4675
- hash: z.ZodString;
4676
- block: z.ZodObject<{
4677
- height: z.ZodNullable<z.ZodString>;
4678
- time: z.ZodNullable<z.ZodString>;
4679
- }, z.core.$strip>;
4680
- status: z.ZodEnum<{
4681
- FAILED: "FAILED";
4682
- PENDING: "PENDING";
4683
- SUCCESSFUL: "SUCCESSFUL";
4684
- UNKNOWN: "UNKNOWN";
4685
- }>;
4686
- confirmations: z.ZodString;
4687
- amount: z.ZodString;
4688
- fee: z.ZodString;
4689
- senders: z.ZodArray<z.ZodString>;
4690
- recipients: z.ZodArray<z.ZodString>;
4691
- gasPrice: z.ZodString;
4692
- gasLimit: z.ZodString;
4693
- nonce: z.ZodString;
4694
- contractData: z.ZodString;
4695
- type: z.ZodLiteral<"ETHEREUM_LIKE_STAKE_UPGRADE">;
4696
- validatorPubKey: z.ZodCodec<z.ZodString, z.ZodString>;
4697
- stakingProvider: z.ZodNullable<z.ZodString>;
4698
- executionFee: z.ZodString;
4699
- }, z.core.$strip>, z.ZodObject<{
4700
- id: z.ZodString;
4701
- hash: z.ZodString;
4702
- block: z.ZodObject<{
4703
- height: z.ZodNullable<z.ZodString>;
4704
- time: z.ZodNullable<z.ZodString>;
4705
- }, z.core.$strip>;
4706
- status: z.ZodEnum<{
4707
- FAILED: "FAILED";
4708
- PENDING: "PENDING";
4709
- SUCCESSFUL: "SUCCESSFUL";
4710
- UNKNOWN: "UNKNOWN";
4711
- }>;
4712
- confirmations: z.ZodString;
4713
- amount: z.ZodString;
4714
- fee: z.ZodString;
4715
- senders: z.ZodArray<z.ZodString>;
4716
- recipients: z.ZodArray<z.ZodString>;
4717
- type: z.ZodEnum<{
4718
- GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
4719
- }>;
4720
- }, z.core.$strip>, z.ZodObject<{
4721
- id: z.ZodString;
4722
- hash: z.ZodString;
4723
- block: z.ZodObject<{
4724
- height: z.ZodNullable<z.ZodString>;
4725
- time: z.ZodNullable<z.ZodString>;
4726
- }, z.core.$strip>;
4727
- status: z.ZodEnum<{
4728
- FAILED: "FAILED";
4729
- PENDING: "PENDING";
4730
- SUCCESSFUL: "SUCCESSFUL";
4731
- UNKNOWN: "UNKNOWN";
4732
- }>;
4733
- confirmations: z.ZodString;
4734
- amount: z.ZodString;
4735
- fee: z.ZodString;
4736
- senders: z.ZodArray<z.ZodString>;
4737
- recipients: z.ZodArray<z.ZodString>;
4738
- type: z.ZodEnum<{
4739
- HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
4740
- HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
4741
- HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
4742
- HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
4743
- HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
4744
- HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
4745
- }>;
4746
- }, z.core.$strip>, z.ZodObject<{
4747
- id: z.ZodString;
4748
- hash: z.ZodString;
4749
- block: z.ZodObject<{
4750
- height: z.ZodNullable<z.ZodString>;
4751
- time: z.ZodNullable<z.ZodString>;
4752
- }, z.core.$strip>;
4753
- status: z.ZodEnum<{
4754
- FAILED: "FAILED";
4755
- PENDING: "PENDING";
4756
- SUCCESSFUL: "SUCCESSFUL";
4757
- UNKNOWN: "UNKNOWN";
4758
- }>;
4759
- confirmations: z.ZodString;
4760
- amount: z.ZodString;
4761
- fee: z.ZodString;
4762
- senders: z.ZodArray<z.ZodString>;
4763
- recipients: z.ZodArray<z.ZodString>;
4764
- type: z.ZodEnum<{
4765
- POLKADOT_LIKE_ADDPROXY: "POLKADOT_LIKE_ADDPROXY";
4766
- POLKADOT_LIKE_ANONYMOUSPROXY: "POLKADOT_LIKE_ANONYMOUSPROXY";
4767
- POLKADOT_LIKE_BOND: "POLKADOT_LIKE_BOND";
4768
- POLKADOT_LIKE_BONDEXTRA: "POLKADOT_LIKE_BONDEXTRA";
4769
- POLKADOT_LIKE_CHILL: "POLKADOT_LIKE_CHILL";
4770
- POLKADOT_LIKE_KILLANONYMOUS: "POLKADOT_LIKE_KILLANONYMOUS";
4771
- POLKADOT_LIKE_KILLPURE: "POLKADOT_LIKE_KILLPURE";
4772
- POLKADOT_LIKE_NOMINATE: "POLKADOT_LIKE_NOMINATE";
4773
- POLKADOT_LIKE_PROXY: "POLKADOT_LIKE_PROXY";
4774
- POLKADOT_LIKE_PUREPROXY: "POLKADOT_LIKE_PUREPROXY";
4775
- POLKADOT_LIKE_REBOND: "POLKADOT_LIKE_REBOND";
4776
- POLKADOT_LIKE_RECEIVE: "POLKADOT_LIKE_RECEIVE";
4777
- POLKADOT_LIKE_REMOVEPROXY: "POLKADOT_LIKE_REMOVEPROXY";
4778
- POLKADOT_LIKE_REWARD: "POLKADOT_LIKE_REWARD";
4779
- POLKADOT_LIKE_SEND: "POLKADOT_LIKE_SEND";
4780
- POLKADOT_LIKE_SETCONTROLLER: "POLKADOT_LIKE_SETCONTROLLER";
4781
- POLKADOT_LIKE_SETPAYEE: "POLKADOT_LIKE_SETPAYEE";
4782
- POLKADOT_LIKE_TRANSFERALL: "POLKADOT_LIKE_TRANSFERALL";
4783
- POLKADOT_LIKE_UNBOND: "POLKADOT_LIKE_UNBOND";
4784
- POLKADOT_LIKE_WITHDRAWUNBONDED: "POLKADOT_LIKE_WITHDRAWUNBONDED";
4785
- }>;
4786
- }, z.core.$strip>, z.ZodObject<{
4787
- id: z.ZodString;
4788
- hash: z.ZodString;
4789
- block: z.ZodObject<{
4790
- height: z.ZodNullable<z.ZodString>;
4791
- time: z.ZodNullable<z.ZodString>;
4792
- }, z.core.$strip>;
4793
- status: z.ZodEnum<{
4794
- FAILED: "FAILED";
4795
- PENDING: "PENDING";
4796
- SUCCESSFUL: "SUCCESSFUL";
4797
- UNKNOWN: "UNKNOWN";
4798
- }>;
4799
- confirmations: z.ZodString;
4800
- amount: z.ZodString;
4801
- fee: z.ZodString;
4802
- senders: z.ZodArray<z.ZodString>;
4803
- recipients: z.ZodArray<z.ZodString>;
4804
- type: z.ZodEnum<{
4805
- RIPPLE_LIKE_RECEIVE: "RIPPLE_LIKE_RECEIVE";
4806
- RIPPLE_LIKE_SEND: "RIPPLE_LIKE_SEND";
4807
- }>;
4808
- memos: z.ZodArray<z.ZodString>;
4809
- destinationTag: z.ZodString;
4810
- }, z.core.$strip>, z.ZodObject<{
4811
- id: z.ZodString;
4812
- hash: z.ZodString;
4813
- block: z.ZodObject<{
4814
- height: z.ZodNullable<z.ZodString>;
4815
- time: z.ZodNullable<z.ZodString>;
4816
- }, z.core.$strip>;
4817
- status: z.ZodEnum<{
4818
- FAILED: "FAILED";
4819
- PENDING: "PENDING";
4820
- SUCCESSFUL: "SUCCESSFUL";
4821
- UNKNOWN: "UNKNOWN";
4822
- }>;
4823
- confirmations: z.ZodString;
4824
- amount: z.ZodString;
4825
- fee: z.ZodString;
4826
- senders: z.ZodArray<z.ZodString>;
4827
- recipients: z.ZodArray<z.ZodString>;
4828
- type: z.ZodEnum<{
4829
- SOLANA_LIKE_CREATE_DELEGATE_STAKE: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
4830
- SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
4831
- SOLANA_LIKE_DEACTIVATE_STAKE: "SOLANA_LIKE_DEACTIVATE_STAKE";
4832
- SOLANA_LIKE_DELEGATE_STAKE: "SOLANA_LIKE_DELEGATE_STAKE";
4833
- SOLANA_LIKE_FUND_AND_SEND_TOKEN: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
4834
- SOLANA_LIKE_MERGE_STAKE: "SOLANA_LIKE_MERGE_STAKE";
4835
- SOLANA_LIKE_RECEIVE: "SOLANA_LIKE_RECEIVE";
4836
- SOLANA_LIKE_SEND: "SOLANA_LIKE_SEND";
4837
- SOLANA_LIKE_SEND_TOKEN: "SOLANA_LIKE_SEND_TOKEN";
4838
- SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
4839
- SOLANA_LIKE_SPLIT_STAKE: "SOLANA_LIKE_SPLIT_STAKE";
4840
- SOLANA_LIKE_WITHDRAW_STAKE: "SOLANA_LIKE_WITHDRAW_STAKE";
4841
- }>;
4842
- }, z.core.$strip>, z.ZodObject<{
4843
- id: z.ZodString;
4844
- hash: z.ZodString;
4845
- block: z.ZodObject<{
4846
- height: z.ZodNullable<z.ZodString>;
4847
- time: z.ZodNullable<z.ZodString>;
4848
- }, z.core.$strip>;
4849
- status: z.ZodEnum<{
4850
- FAILED: "FAILED";
4851
- PENDING: "PENDING";
4852
- SUCCESSFUL: "SUCCESSFUL";
4853
- UNKNOWN: "UNKNOWN";
4854
- }>;
4855
- confirmations: z.ZodString;
4856
- amount: z.ZodString;
4857
- fee: z.ZodString;
4858
- senders: z.ZodArray<z.ZodString>;
4859
- recipients: z.ZodArray<z.ZodString>;
4860
- type: z.ZodEnum<{
4861
- STELLAR_LIKE_RECEIVE: "STELLAR_LIKE_RECEIVE";
4862
- STELLAR_LIKE_SEND: "STELLAR_LIKE_SEND";
4863
- }>;
4864
- memo: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4865
- type: z.ZodLiteral<"MEMO_TEXT">;
4866
- value: z.ZodString;
4867
- }, z.core.$strip>, z.ZodObject<{
4868
- type: z.ZodLiteral<"MEMO_ID">;
4869
- value: z.ZodString;
4870
- }, z.core.$strip>, z.ZodObject<{
4871
- type: z.ZodLiteral<"MEMO_HASH">;
4872
- value: z.ZodString;
4873
- }, z.core.$strip>, z.ZodObject<{
4874
- type: z.ZodLiteral<"MEMO_RETURN">;
4875
- value: z.ZodString;
4876
- }, z.core.$strip>], "type">>;
4877
- }, z.core.$strip>, z.ZodObject<{
4878
- id: z.ZodString;
4879
- hash: z.ZodString;
4880
- block: z.ZodObject<{
4881
- height: z.ZodNullable<z.ZodString>;
4882
- time: z.ZodNullable<z.ZodString>;
4883
- }, z.core.$strip>;
4884
- status: z.ZodEnum<{
4885
- FAILED: "FAILED";
4886
- PENDING: "PENDING";
4887
- SUCCESSFUL: "SUCCESSFUL";
4888
- UNKNOWN: "UNKNOWN";
4889
- }>;
4890
- confirmations: z.ZodString;
4891
- amount: z.ZodString;
4892
- fee: z.ZodString;
4893
- senders: z.ZodArray<z.ZodString>;
4894
- recipients: z.ZodArray<z.ZodString>;
4895
- type: z.ZodEnum<{
4896
- SUI_LIKE_RECEIVE: "SUI_LIKE_RECEIVE";
4897
- SUI_LIKE_RECEIVE_TOKEN: "SUI_LIKE_RECEIVE_TOKEN";
4898
- SUI_LIKE_SEND: "SUI_LIKE_SEND";
4899
- SUI_LIKE_SEND_TOKEN: "SUI_LIKE_SEND_TOKEN";
4900
- SUI_LIKE_STAKE: "SUI_LIKE_STAKE";
4901
- SUI_LIKE_UNSTAKE: "SUI_LIKE_UNSTAKE";
4902
- }>;
4990
+ nonce: z.ZodString;
4991
+ contractData: z.ZodString;
4992
+ type: z.ZodLiteral<"ETHEREUM_LIKE_STAKE_CONSOLIDATE">;
4993
+ sourcePubKey: z.ZodCodec<z.ZodString, z.ZodString>;
4994
+ sourceStakingProvider: z.ZodNullable<z.ZodString>;
4995
+ targetPubKey: z.ZodCodec<z.ZodString, z.ZodString>;
4996
+ targetStakingProvider: z.ZodNullable<z.ZodString>;
4997
+ executionFee: z.ZodString;
4903
4998
  }, z.core.$strip>, z.ZodObject<{
4904
4999
  id: z.ZodString;
4905
5000
  hash: z.ZodString;
@@ -4918,13 +5013,14 @@ declare const zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
4918
5013
  fee: z.ZodString;
4919
5014
  senders: z.ZodArray<z.ZodString>;
4920
5015
  recipients: z.ZodArray<z.ZodString>;
4921
- type: z.ZodEnum<{
4922
- TEZOS_LIKE_DELEGATE: "TEZOS_LIKE_DELEGATE";
4923
- TEZOS_LIKE_RECEIVE: "TEZOS_LIKE_RECEIVE";
4924
- TEZOS_LIKE_REVEAL: "TEZOS_LIKE_REVEAL";
4925
- TEZOS_LIKE_SEND: "TEZOS_LIKE_SEND";
4926
- TEZOS_LIKE_UNDELEGATE: "TEZOS_LIKE_UNDELEGATE";
4927
- }>;
5016
+ gasPrice: z.ZodString;
5017
+ gasLimit: z.ZodString;
5018
+ nonce: z.ZodString;
5019
+ contractData: z.ZodString;
5020
+ type: z.ZodLiteral<"ETHEREUM_LIKE_STAKE_UPGRADE">;
5021
+ validatorPubKey: z.ZodCodec<z.ZodString, z.ZodString>;
5022
+ stakingProvider: z.ZodNullable<z.ZodString>;
5023
+ executionFee: z.ZodString;
4928
5024
  }, z.core.$strip>, z.ZodObject<{
4929
5025
  id: z.ZodString;
4930
5026
  hash: z.ZodString;
@@ -4944,413 +5040,304 @@ declare const zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
4944
5040
  senders: z.ZodArray<z.ZodString>;
4945
5041
  recipients: z.ZodArray<z.ZodString>;
4946
5042
  type: z.ZodEnum<{
4947
- TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
4948
- TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
4949
- TRON_LIKE_SEND: "TRON_LIKE_SEND";
4950
- TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
4951
- }>;
4952
- }, z.core.$strip>], "type">;
4953
- type TransactionResponse = z.infer<typeof zTransactionResponse>;
4954
- declare const getTxHsmProps: (tx: TransactionData, account: Account, context?: TxHsmPropsContext) => Promise<TxHsmProps>;
4955
- declare const convertTxToGovernableIntent: (tx: TransactionData) => GovernableIntent;
4956
- //#endregion
4957
- //#region src/accounts/types.d.ts
4958
- declare const zAccountResponse: z.ZodObject<{
4959
- id: z.ZodString;
4960
- legacyId: z.ZodNumber;
4961
- name: z.ZodString;
4962
- currency: z.ZodString;
4963
- network: z.ZodString;
4964
- contractAddress: z.ZodNullable<z.ZodString>;
4965
- tokenIdentifier: z.ZodNullable<z.ZodString>;
4966
- index: z.ZodNumber;
4967
- derivationPath: z.ZodString;
4968
- status: z.ZodEnum<{
4969
- readonly ACTIVE: 'ACTIVE';
4970
- readonly INACTIVE: 'INACTIVE';
4971
- }>;
4972
- createdAt: z.ZodCoercedDate<unknown>;
4973
- updatedAt: z.ZodCoercedDate<unknown>;
4974
- asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
4975
- type: z.ZodLiteral<"RAW_SIGNING">;
4976
- }, z.core.$strip>, z.ZodObject<{
4977
- type: z.ZodLiteral<"BITCOIN_LIKE">;
4978
- xpub: z.ZodString;
4979
- addressDerivationMode: z.ZodEnum<{
4980
- readonly NEW: 'NEW';
4981
- readonly STATIC: 'STATIC';
4982
- }>;
4983
- }, z.core.$strip>, z.ZodObject<{
4984
- type: z.ZodLiteral<"CANTON_LIKE">;
4985
- address: z.ZodNullable<z.ZodString>;
4986
- }, z.core.$strip>, z.ZodObject<{
4987
- type: z.ZodLiteral<"CARDANO_LIKE">;
4988
- address: z.ZodNullable<z.ZodString>;
4989
- }, z.core.$strip>, z.ZodObject<{
4990
- type: z.ZodLiteral<"ETHEREUM_LIKE">;
4991
- address: z.ZodNullable<z.ZodString>;
4992
- }, z.core.$strip>, z.ZodObject<{
4993
- type: z.ZodLiteral<"GENERIC_LIKE">;
4994
- }, z.core.$strip>, z.ZodObject<{
4995
- type: z.ZodLiteral<"HEDERA_LIKE">;
4996
- address: z.ZodNullable<z.ZodString>;
4997
- isActivated: z.ZodBoolean;
4998
- }, z.core.$strip>, z.ZodObject<{
4999
- type: z.ZodLiteral<"POLKADOT_LIKE">;
5000
- address: z.ZodNullable<z.ZodString>;
5001
- }, z.core.$strip>, z.ZodObject<{
5002
- type: z.ZodLiteral<"RIPPLE_LIKE">;
5003
- address: z.ZodNullable<z.ZodString>;
5004
- }, z.core.$strip>, z.ZodObject<{
5005
- type: z.ZodLiteral<"SOLANA_LIKE">;
5006
- address: z.ZodNullable<z.ZodString>;
5007
- }, z.core.$strip>, z.ZodObject<{
5008
- type: z.ZodLiteral<"STELLAR_LIKE">;
5009
- address: z.ZodNullable<z.ZodString>;
5010
- }, z.core.$strip>, z.ZodObject<{
5011
- type: z.ZodLiteral<"SUI_LIKE">;
5012
- address: z.ZodNullable<z.ZodString>;
5013
- }, z.core.$strip>, z.ZodObject<{
5014
- type: z.ZodLiteral<"TEZOS_LIKE">;
5015
- address: z.ZodNullable<z.ZodString>;
5016
- }, z.core.$strip>, z.ZodObject<{
5017
- type: z.ZodLiteral<"TRON_LIKE">;
5018
- address: z.ZodNullable<z.ZodString>;
5019
- }, z.core.$strip>], "type">;
5020
- governance: z.ZodDiscriminatedUnion<[z.ZodObject<{
5021
- type: z.ZodLiteral<"CLASSIC">;
5022
- policyId: z.ZodString;
5023
- }, z.core.$strip>, z.ZodObject<{
5024
- type: z.ZodLiteral<"RAW_SIGNING">;
5025
- policyId: z.ZodString;
5026
- }, z.core.$strip>, z.ZodObject<{
5027
- type: z.ZodLiteral<"TRADELINK">;
5028
- assetManagerId: z.ZodString;
5029
- exchangeConfigs: z.ZodArray<z.ZodObject<{
5030
- exchangeId: z.ZodString;
5031
- repledgeAuthorized: z.ZodBoolean;
5032
- needsAssetManagerApprovalForSettlements: z.ZodBoolean;
5033
- }, z.core.$strip>>;
5034
- }, z.core.$strip>], "type">;
5035
- }, z.core.$strip>;
5036
- type AccountResponse = z.infer<typeof zAccountResponse>;
5037
- declare const zAccountSortBy: z.ZodDefault<z.ZodEnum<{
5038
- createdAt: "createdAt";
5039
- currency: "currency";
5040
- index: "index";
5041
- name: "name";
5042
- updatedAt: "updatedAt";
5043
- }>>;
5044
- type AccountSortBy = z.infer<typeof zAccountSortBy>;
5045
- declare const zAccountLiveDataResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
5046
- id: z.ZodString;
5047
- balance: z.ZodObject<{
5048
- total: z.ZodString;
5049
- pending: z.ZodString;
5050
- reserved: z.ZodString;
5051
- }, z.core.$strip>;
5052
- type: z.ZodLiteral<"RAW_SIGNING">;
5053
- }, z.core.$strip>, z.ZodObject<{
5054
- id: z.ZodString;
5055
- type: z.ZodLiteral<"BITCOIN_LIKE">;
5056
- balance: z.ZodObject<{
5057
- total: z.ZodString;
5058
- pending: z.ZodString;
5059
- reserved: z.ZodString;
5060
- confirmed: z.ZodString;
5061
- worthless: z.ZodString;
5062
- mempoolIn: z.ZodString;
5063
- mempoolOut: z.ZodString;
5064
- mempoolChange: z.ZodString;
5065
- underConfirmationIn: z.ZodString;
5066
- underConfirmationChange: z.ZodString;
5067
- }, z.core.$strip>;
5068
- }, z.core.$strip>, z.ZodObject<{
5069
- id: z.ZodString;
5070
- balance: z.ZodObject<{
5071
- total: z.ZodString;
5072
- pending: z.ZodString;
5073
- reserved: z.ZodString;
5074
- }, z.core.$strip>;
5075
- type: z.ZodLiteral<"CANTON_LIKE">;
5076
- }, z.core.$strip>, z.ZodObject<{
5077
- id: z.ZodString;
5078
- balance: z.ZodObject<{
5079
- total: z.ZodString;
5080
- pending: z.ZodString;
5081
- reserved: z.ZodString;
5082
- }, z.core.$strip>;
5083
- type: z.ZodLiteral<"CARDANO_LIKE">;
5084
- staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5085
- staked: z.ZodString;
5086
- }, z.core.$strip>>>;
5087
- }, z.core.$strip>, z.ZodObject<{
5088
- id: z.ZodString;
5089
- balance: z.ZodObject<{
5090
- total: z.ZodString;
5091
- pending: z.ZodString;
5092
- reserved: z.ZodString;
5093
- }, z.core.$strip>;
5094
- type: z.ZodLiteral<"ETHEREUM_LIKE">;
5095
- staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5096
- totalStaking: z.ZodString;
5097
- totalRewards: z.ZodString;
5098
- availableRewards: z.ZodOptional<z.ZodString>;
5099
- networkApy: z.ZodOptional<z.ZodNumber>;
5100
- }, z.core.$strip>>>;
5101
- }, z.core.$strip>, z.ZodObject<{
5102
- id: z.ZodString;
5103
- balance: z.ZodObject<{
5104
- total: z.ZodString;
5105
- pending: z.ZodString;
5106
- reserved: z.ZodString;
5107
- }, z.core.$strip>;
5108
- type: z.ZodLiteral<"GENERIC_LIKE">;
5109
- }, z.core.$strip>, z.ZodObject<{
5110
- id: z.ZodString;
5111
- balance: z.ZodObject<{
5112
- total: z.ZodString;
5113
- pending: z.ZodString;
5114
- reserved: z.ZodString;
5115
- }, z.core.$strip>;
5116
- type: z.ZodLiteral<"HEDERA_LIKE">;
5117
- staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5118
- totalStaked: z.ZodString;
5119
- totalRewards: z.ZodString;
5120
- }, z.core.$strip>>>;
5121
- }, z.core.$strip>, z.ZodObject<{
5122
- id: z.ZodString;
5123
- balance: z.ZodObject<{
5124
- total: z.ZodString;
5125
- pending: z.ZodString;
5126
- reserved: z.ZodString;
5127
- }, z.core.$strip>;
5128
- type: z.ZodLiteral<"POLKADOT_LIKE">;
5129
- staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5130
- info: z.ZodObject<{
5131
- controllerAddress: z.ZodNullable<z.ZodString>;
5132
- rewardsDestination: z.ZodNullable<z.ZodString>;
5133
- proxies: z.ZodArray<z.ZodString>;
5134
- legacyStaking: z.ZodBoolean;
5135
- isNominator: z.ZodBoolean;
5136
- }, z.core.$strip>;
5137
- balances: z.ZodObject<{
5138
- free: z.ZodString;
5139
- reserved: z.ZodString;
5140
- frozen: z.ZodString;
5141
- bonded: z.ZodString;
5142
- available: z.ZodString;
5143
- unbonding: z.ZodArray<z.ZodObject<{
5144
- amount: z.ZodString;
5145
- waiting_time: z.ZodString;
5146
- }, z.core.$strip>>;
5147
- unbonded: z.ZodArray<z.ZodObject<{
5148
- amount: z.ZodString;
5149
- waiting_time: z.ZodString;
5150
- }, z.core.$strip>>;
5151
- totalUnbonding: z.ZodString;
5152
- totalUnbonded: z.ZodString;
5153
- }, z.core.$strip>;
5154
- anonymousProxy: z.ZodNullable<z.ZodObject<{
5155
- address: z.ZodString;
5156
- createdAt: z.ZodString;
5157
- isController: z.ZodBoolean;
5158
- isMain: z.ZodBoolean;
5159
- balances: z.ZodNullable<z.ZodObject<{
5160
- free: z.ZodString;
5161
- reserved: z.ZodString;
5162
- frozen: z.ZodString;
5163
- bonded: z.ZodString;
5164
- available: z.ZodString;
5165
- total: z.ZodString;
5166
- }, z.core.$strip>>;
5167
- blockHeight: z.ZodString;
5168
- extIndex: z.ZodString;
5169
- index: z.ZodString;
5170
- kind: z.ZodString;
5171
- }, z.core.$strip>>;
5172
- }, z.core.$strip>>>;
5173
- }, z.core.$strip>, z.ZodObject<{
5174
- id: z.ZodString;
5175
- balance: z.ZodObject<{
5176
- total: z.ZodString;
5177
- pending: z.ZodString;
5178
- reserved: z.ZodString;
5179
- }, z.core.$strip>;
5180
- type: z.ZodLiteral<"RIPPLE_LIKE">;
5043
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
5044
+ }>;
5181
5045
  }, z.core.$strip>, z.ZodObject<{
5182
5046
  id: z.ZodString;
5183
- balance: z.ZodObject<{
5184
- total: z.ZodString;
5185
- pending: z.ZodString;
5186
- reserved: z.ZodString;
5047
+ hash: z.ZodString;
5048
+ block: z.ZodObject<{
5049
+ height: z.ZodNullable<z.ZodString>;
5050
+ time: z.ZodNullable<z.ZodString>;
5187
5051
  }, z.core.$strip>;
5188
- type: z.ZodLiteral<"SOLANA_LIKE">;
5189
- staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5190
- staked: z.ZodString;
5191
- rewards: z.ZodObject<{
5192
- total: z.ZodString;
5193
- last7: z.ZodString;
5194
- last30: z.ZodString;
5195
- }, z.core.$strip>;
5196
- stakes: z.ZodArray<z.ZodObject<{
5197
- uid: z.ZodString;
5198
- baseAccountUid: z.ZodString;
5199
- pubKey: z.ZodString;
5200
- validatorPubKey: z.ZodNullable<z.ZodString>;
5201
- initialAmount: z.ZodString;
5202
- activeAmount: z.ZodString;
5203
- inactiveAmount: z.ZodString;
5204
- totalBalance: z.ZodString;
5205
- creationDate: z.ZodString;
5206
- activationEpoch: z.ZodNullable<z.ZodString>;
5207
- activationDate: z.ZodNullable<z.ZodString>;
5208
- deactivationEpoch: z.ZodNullable<z.ZodString>;
5209
- deactivationDate: z.ZodNullable<z.ZodString>;
5210
- status: z.ZodEnum<{
5211
- activated: "activated";
5212
- activating: "activating";
5213
- deactivated: "deactivated";
5214
- deactivating: "deactivating";
5215
- deleted: "deleted";
5216
- not_sync: "not_sync";
5217
- }>;
5218
- rentExemptReserve: z.ZodString;
5219
- withdrawableAmount: z.ZodString;
5220
- totalRewards: z.ZodString;
5221
- creationTxHash: z.ZodNullable<z.ZodString>;
5222
- actionsTxHashes: z.ZodArray<z.ZodString>;
5223
- }, z.core.$strip>>;
5224
- }, z.core.$strip>>>;
5052
+ status: z.ZodEnum<{
5053
+ FAILED: "FAILED";
5054
+ PENDING: "PENDING";
5055
+ SUCCESSFUL: "SUCCESSFUL";
5056
+ UNKNOWN: "UNKNOWN";
5057
+ }>;
5058
+ confirmations: z.ZodString;
5059
+ amount: z.ZodString;
5060
+ fee: z.ZodString;
5061
+ senders: z.ZodArray<z.ZodString>;
5062
+ recipients: z.ZodArray<z.ZodString>;
5063
+ type: z.ZodEnum<{
5064
+ HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
5065
+ HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
5066
+ HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
5067
+ HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
5068
+ HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
5069
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
5070
+ }>;
5225
5071
  }, z.core.$strip>, z.ZodObject<{
5226
5072
  id: z.ZodString;
5227
- balance: z.ZodObject<{
5228
- total: z.ZodString;
5229
- pending: z.ZodString;
5230
- reserved: z.ZodString;
5073
+ hash: z.ZodString;
5074
+ block: z.ZodObject<{
5075
+ height: z.ZodNullable<z.ZodString>;
5076
+ time: z.ZodNullable<z.ZodString>;
5231
5077
  }, z.core.$strip>;
5232
- type: z.ZodLiteral<"STELLAR_LIKE">;
5078
+ status: z.ZodEnum<{
5079
+ FAILED: "FAILED";
5080
+ PENDING: "PENDING";
5081
+ SUCCESSFUL: "SUCCESSFUL";
5082
+ UNKNOWN: "UNKNOWN";
5083
+ }>;
5084
+ confirmations: z.ZodString;
5085
+ amount: z.ZodString;
5086
+ fee: z.ZodString;
5087
+ senders: z.ZodArray<z.ZodString>;
5088
+ recipients: z.ZodArray<z.ZodString>;
5089
+ type: z.ZodEnum<{
5090
+ POLKADOT_LIKE_ADDPROXY: "POLKADOT_LIKE_ADDPROXY";
5091
+ POLKADOT_LIKE_ANONYMOUSPROXY: "POLKADOT_LIKE_ANONYMOUSPROXY";
5092
+ POLKADOT_LIKE_BOND: "POLKADOT_LIKE_BOND";
5093
+ POLKADOT_LIKE_BONDEXTRA: "POLKADOT_LIKE_BONDEXTRA";
5094
+ POLKADOT_LIKE_CHILL: "POLKADOT_LIKE_CHILL";
5095
+ POLKADOT_LIKE_KILLANONYMOUS: "POLKADOT_LIKE_KILLANONYMOUS";
5096
+ POLKADOT_LIKE_KILLPURE: "POLKADOT_LIKE_KILLPURE";
5097
+ POLKADOT_LIKE_NOMINATE: "POLKADOT_LIKE_NOMINATE";
5098
+ POLKADOT_LIKE_PROXY: "POLKADOT_LIKE_PROXY";
5099
+ POLKADOT_LIKE_PUREPROXY: "POLKADOT_LIKE_PUREPROXY";
5100
+ POLKADOT_LIKE_REBOND: "POLKADOT_LIKE_REBOND";
5101
+ POLKADOT_LIKE_RECEIVE: "POLKADOT_LIKE_RECEIVE";
5102
+ POLKADOT_LIKE_REMOVEPROXY: "POLKADOT_LIKE_REMOVEPROXY";
5103
+ POLKADOT_LIKE_REWARD: "POLKADOT_LIKE_REWARD";
5104
+ POLKADOT_LIKE_SEND: "POLKADOT_LIKE_SEND";
5105
+ POLKADOT_LIKE_SETCONTROLLER: "POLKADOT_LIKE_SETCONTROLLER";
5106
+ POLKADOT_LIKE_SETPAYEE: "POLKADOT_LIKE_SETPAYEE";
5107
+ POLKADOT_LIKE_TRANSFERALL: "POLKADOT_LIKE_TRANSFERALL";
5108
+ POLKADOT_LIKE_UNBOND: "POLKADOT_LIKE_UNBOND";
5109
+ POLKADOT_LIKE_WITHDRAWUNBONDED: "POLKADOT_LIKE_WITHDRAWUNBONDED";
5110
+ }>;
5233
5111
  }, z.core.$strip>, z.ZodObject<{
5234
5112
  id: z.ZodString;
5235
- balance: z.ZodObject<{
5236
- total: z.ZodString;
5237
- pending: z.ZodString;
5238
- reserved: z.ZodString;
5113
+ hash: z.ZodString;
5114
+ block: z.ZodObject<{
5115
+ height: z.ZodNullable<z.ZodString>;
5116
+ time: z.ZodNullable<z.ZodString>;
5239
5117
  }, z.core.$strip>;
5240
- type: z.ZodLiteral<"SUI_LIKE">;
5241
- staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5242
- totalStaked: z.ZodString;
5243
- totalRewards: z.ZodString;
5244
- }, z.core.$strip>>>;
5118
+ status: z.ZodEnum<{
5119
+ FAILED: "FAILED";
5120
+ PENDING: "PENDING";
5121
+ SUCCESSFUL: "SUCCESSFUL";
5122
+ UNKNOWN: "UNKNOWN";
5123
+ }>;
5124
+ confirmations: z.ZodString;
5125
+ amount: z.ZodString;
5126
+ fee: z.ZodString;
5127
+ senders: z.ZodArray<z.ZodString>;
5128
+ recipients: z.ZodArray<z.ZodString>;
5129
+ type: z.ZodEnum<{
5130
+ RIPPLE_LIKE_RECEIVE: "RIPPLE_LIKE_RECEIVE";
5131
+ RIPPLE_LIKE_SEND: "RIPPLE_LIKE_SEND";
5132
+ }>;
5133
+ memos: z.ZodArray<z.ZodString>;
5134
+ destinationTag: z.ZodString;
5245
5135
  }, z.core.$strip>, z.ZodObject<{
5246
5136
  id: z.ZodString;
5247
- balance: z.ZodObject<{
5248
- total: z.ZodString;
5249
- pending: z.ZodString;
5250
- reserved: z.ZodString;
5137
+ hash: z.ZodString;
5138
+ block: z.ZodObject<{
5139
+ height: z.ZodNullable<z.ZodString>;
5140
+ time: z.ZodNullable<z.ZodString>;
5251
5141
  }, z.core.$strip>;
5252
- type: z.ZodLiteral<"TEZOS_LIKE">;
5253
- staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5254
- delegations: z.ZodArray<z.ZodObject<{
5255
- address: z.ZodString;
5256
- }, z.core.$strip>>;
5257
- }, z.core.$strip>>>;
5142
+ status: z.ZodEnum<{
5143
+ FAILED: "FAILED";
5144
+ PENDING: "PENDING";
5145
+ SUCCESSFUL: "SUCCESSFUL";
5146
+ UNKNOWN: "UNKNOWN";
5147
+ }>;
5148
+ confirmations: z.ZodString;
5149
+ amount: z.ZodString;
5150
+ fee: z.ZodString;
5151
+ senders: z.ZodArray<z.ZodString>;
5152
+ recipients: z.ZodArray<z.ZodString>;
5153
+ type: z.ZodEnum<{
5154
+ SOLANA_LIKE_CREATE_DELEGATE_STAKE: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
5155
+ SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
5156
+ SOLANA_LIKE_DEACTIVATE_STAKE: "SOLANA_LIKE_DEACTIVATE_STAKE";
5157
+ SOLANA_LIKE_DELEGATE_STAKE: "SOLANA_LIKE_DELEGATE_STAKE";
5158
+ SOLANA_LIKE_FUND_AND_SEND_TOKEN: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
5159
+ SOLANA_LIKE_MERGE_STAKE: "SOLANA_LIKE_MERGE_STAKE";
5160
+ SOLANA_LIKE_RECEIVE: "SOLANA_LIKE_RECEIVE";
5161
+ SOLANA_LIKE_SEND: "SOLANA_LIKE_SEND";
5162
+ SOLANA_LIKE_SEND_TOKEN: "SOLANA_LIKE_SEND_TOKEN";
5163
+ SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
5164
+ SOLANA_LIKE_SPLIT_STAKE: "SOLANA_LIKE_SPLIT_STAKE";
5165
+ SOLANA_LIKE_WITHDRAW_STAKE: "SOLANA_LIKE_WITHDRAW_STAKE";
5166
+ }>;
5258
5167
  }, z.core.$strip>, z.ZodObject<{
5259
5168
  id: z.ZodString;
5260
- balance: z.ZodObject<{
5261
- total: z.ZodString;
5262
- pending: z.ZodString;
5263
- reserved: z.ZodString;
5169
+ hash: z.ZodString;
5170
+ block: z.ZodObject<{
5171
+ height: z.ZodNullable<z.ZodString>;
5172
+ time: z.ZodNullable<z.ZodString>;
5264
5173
  }, z.core.$strip>;
5265
- type: z.ZodLiteral<"TRON_LIKE">;
5266
- networkInfo: z.ZodNullable<z.ZodObject<{
5267
- bandwidth: z.ZodString;
5268
- energy: z.ZodString;
5269
- }, z.core.$strip>>;
5270
- }, z.core.$strip>], "type">;
5271
- type AccountLiveDataResponse = z.infer<typeof zAccountLiveDataResponse>;
5272
- declare const zAccountFreshAddress: z.ZodObject<{
5273
- address: z.ZodString;
5274
- derivationPath: z.ZodNullable<z.ZodString>;
5275
- }, z.core.$strip>;
5276
- type AccountFreshAddress = z.infer<typeof zAccountFreshAddress>;
5277
- declare const zBalance: z.ZodObject<{
5174
+ status: z.ZodEnum<{
5175
+ FAILED: "FAILED";
5176
+ PENDING: "PENDING";
5177
+ SUCCESSFUL: "SUCCESSFUL";
5178
+ UNKNOWN: "UNKNOWN";
5179
+ }>;
5180
+ confirmations: z.ZodString;
5278
5181
  amount: z.ZodString;
5279
- currency: z.ZodObject<{
5280
- network: z.ZodString;
5281
- contractAddress: z.ZodNullable<z.ZodString>;
5282
- tokenIdentifier: z.ZodNullable<z.ZodString>;
5182
+ fee: z.ZodString;
5183
+ senders: z.ZodArray<z.ZodString>;
5184
+ recipients: z.ZodArray<z.ZodString>;
5185
+ type: z.ZodEnum<{
5186
+ STELLAR_LIKE_RECEIVE: "STELLAR_LIKE_RECEIVE";
5187
+ STELLAR_LIKE_SEND: "STELLAR_LIKE_SEND";
5188
+ }>;
5189
+ memo: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
5190
+ type: z.ZodLiteral<"MEMO_TEXT">;
5191
+ value: z.ZodString;
5192
+ }, z.core.$strip>, z.ZodObject<{
5193
+ type: z.ZodLiteral<"MEMO_ID">;
5194
+ value: z.ZodString;
5195
+ }, z.core.$strip>, z.ZodObject<{
5196
+ type: z.ZodLiteral<"MEMO_HASH">;
5197
+ value: z.ZodString;
5198
+ }, z.core.$strip>, z.ZodObject<{
5199
+ type: z.ZodLiteral<"MEMO_RETURN">;
5200
+ value: z.ZodString;
5201
+ }, z.core.$strip>], "type">>;
5202
+ }, z.core.$strip>, z.ZodObject<{
5203
+ id: z.ZodString;
5204
+ hash: z.ZodString;
5205
+ block: z.ZodObject<{
5206
+ height: z.ZodNullable<z.ZodString>;
5207
+ time: z.ZodNullable<z.ZodString>;
5283
5208
  }, z.core.$strip>;
5284
- }, z.core.$strip>;
5285
- declare const zStake: z.ZodObject<{
5209
+ status: z.ZodEnum<{
5210
+ FAILED: "FAILED";
5211
+ PENDING: "PENDING";
5212
+ SUCCESSFUL: "SUCCESSFUL";
5213
+ UNKNOWN: "UNKNOWN";
5214
+ }>;
5215
+ confirmations: z.ZodString;
5216
+ amount: z.ZodString;
5217
+ fee: z.ZodString;
5218
+ senders: z.ZodArray<z.ZodString>;
5219
+ recipients: z.ZodArray<z.ZodString>;
5220
+ type: z.ZodEnum<{
5221
+ SUI_LIKE_RECEIVE: "SUI_LIKE_RECEIVE";
5222
+ SUI_LIKE_RECEIVE_TOKEN: "SUI_LIKE_RECEIVE_TOKEN";
5223
+ SUI_LIKE_SEND: "SUI_LIKE_SEND";
5224
+ SUI_LIKE_SEND_TOKEN: "SUI_LIKE_SEND_TOKEN";
5225
+ SUI_LIKE_STAKE: "SUI_LIKE_STAKE";
5226
+ SUI_LIKE_UNSTAKE: "SUI_LIKE_UNSTAKE";
5227
+ }>;
5228
+ }, z.core.$strip>, z.ZodObject<{
5286
5229
  id: z.ZodString;
5287
- validator: z.ZodString;
5288
- state: z.ZodEnum<{
5289
- ACTIVATING: "ACTIVATING";
5290
- ACTIVE: "ACTIVE";
5291
- DEACTIVATING: "DEACTIVATING";
5292
- INACTIVE: "INACTIVE";
5230
+ hash: z.ZodString;
5231
+ block: z.ZodObject<{
5232
+ height: z.ZodNullable<z.ZodString>;
5233
+ time: z.ZodNullable<z.ZodString>;
5234
+ }, z.core.$strip>;
5235
+ status: z.ZodEnum<{
5236
+ FAILED: "FAILED";
5237
+ PENDING: "PENDING";
5238
+ SUCCESSFUL: "SUCCESSFUL";
5293
5239
  UNKNOWN: "UNKNOWN";
5294
5240
  }>;
5295
- staked: z.ZodNullable<z.ZodString>;
5296
- rewards: z.ZodObject<{
5297
- total: z.ZodString;
5298
- }, z.core.$strip>;
5299
- provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5300
- }, z.core.$strip>;
5301
- declare const zStakeSortBy: z.ZodDefault<z.ZodEnum<{
5302
- rewards: "rewards";
5303
- staked: "staked";
5304
- total: "total";
5305
- }>>;
5306
- declare const zStakingValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
5307
- address: z.ZodString;
5308
- apy: z.ZodNullable<z.ZodString>;
5309
- balance: z.ZodNullable<z.ZodString>;
5310
- commissionRate: z.ZodNullable<z.ZodString>;
5311
- description: z.ZodNullable<z.ZodString>;
5312
- logo: z.ZodNullable<z.ZodString>;
5313
- name: z.ZodNullable<z.ZodString>;
5314
- url: z.ZodNullable<z.ZodString>;
5315
- type: z.ZodLiteral<"SUI_LIKE">;
5316
- }, z.core.$strip>, z.ZodObject<{
5317
- address: z.ZodString;
5318
- apy: z.ZodNullable<z.ZodString>;
5319
- balance: z.ZodNullable<z.ZodString>;
5320
- commissionRate: z.ZodNullable<z.ZodString>;
5321
- description: z.ZodNullable<z.ZodString>;
5322
- logo: z.ZodNullable<z.ZodString>;
5323
- name: z.ZodNullable<z.ZodString>;
5324
- url: z.ZodNullable<z.ZodString>;
5325
- type: z.ZodLiteral<"HEDERA_LIKE">;
5326
- nodeId: z.ZodNullable<z.ZodString>;
5327
- }, z.core.$strip>, z.ZodObject<{
5328
- address: z.ZodString;
5329
- apy: z.ZodNullable<z.ZodString>;
5330
- balance: z.ZodNullable<z.ZodString>;
5331
- commissionRate: z.ZodNullable<z.ZodString>;
5332
- description: z.ZodNullable<z.ZodString>;
5333
- logo: z.ZodNullable<z.ZodString>;
5334
- name: z.ZodNullable<z.ZodString>;
5335
- url: z.ZodNullable<z.ZodString>;
5336
- type: z.ZodLiteral<"TEZOS_LIKE">;
5241
+ confirmations: z.ZodString;
5242
+ amount: z.ZodString;
5243
+ fee: z.ZodString;
5244
+ senders: z.ZodArray<z.ZodString>;
5245
+ recipients: z.ZodArray<z.ZodString>;
5246
+ type: z.ZodEnum<{
5247
+ TEZOS_LIKE_DELEGATE: "TEZOS_LIKE_DELEGATE";
5248
+ TEZOS_LIKE_RECEIVE: "TEZOS_LIKE_RECEIVE";
5249
+ TEZOS_LIKE_REVEAL: "TEZOS_LIKE_REVEAL";
5250
+ TEZOS_LIKE_SEND: "TEZOS_LIKE_SEND";
5251
+ TEZOS_LIKE_UNDELEGATE: "TEZOS_LIKE_UNDELEGATE";
5252
+ }>;
5337
5253
  }, z.core.$strip>, z.ZodObject<{
5338
- apy: z.ZodNullable<z.ZodString>;
5339
- balance: z.ZodNullable<z.ZodString>;
5340
- commissionRate: z.ZodNullable<z.ZodString>;
5341
- description: z.ZodNullable<z.ZodString>;
5342
- logo: z.ZodNullable<z.ZodString>;
5343
- name: z.ZodNullable<z.ZodString>;
5344
- url: z.ZodNullable<z.ZodString>;
5345
- type: z.ZodLiteral<"ETHEREUM_LIKE">;
5346
5254
  id: z.ZodString;
5347
- address: z.ZodNullable<z.ZodString>;
5255
+ hash: z.ZodString;
5256
+ block: z.ZodObject<{
5257
+ height: z.ZodNullable<z.ZodString>;
5258
+ time: z.ZodNullable<z.ZodString>;
5259
+ }, z.core.$strip>;
5260
+ status: z.ZodEnum<{
5261
+ FAILED: "FAILED";
5262
+ PENDING: "PENDING";
5263
+ SUCCESSFUL: "SUCCESSFUL";
5264
+ UNKNOWN: "UNKNOWN";
5265
+ }>;
5266
+ confirmations: z.ZodString;
5267
+ amount: z.ZodString;
5268
+ fee: z.ZodString;
5269
+ senders: z.ZodArray<z.ZodString>;
5270
+ recipients: z.ZodArray<z.ZodString>;
5271
+ type: z.ZodEnum<{
5272
+ TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
5273
+ TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
5274
+ TRON_LIKE_SEND: "TRON_LIKE_SEND";
5275
+ TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
5276
+ }>;
5348
5277
  }, z.core.$strip>], "type">;
5349
- declare const zStakingValidatorSortBy: z.ZodDefault<z.ZodEnum<{
5350
- balance: "balance";
5278
+ type TransactionResponse = z.infer<typeof zTransactionResponse>;
5279
+ declare const getTxHsmProps: (tx: TransactionData, account: Account, context?: TxHsmPropsContext) => Promise<TxHsmProps>;
5280
+ declare const convertTxToGovernableIntent: (tx: TransactionData) => GovernableIntent;
5281
+ //#endregion
5282
+ //#region src/pagination.d.ts
5283
+ declare const DEFAULT_PAGE_SIZE = 30;
5284
+ declare const zSortOrder: z.ZodDefault<z.ZodEnum<{
5285
+ asc: "asc";
5286
+ desc: "desc";
5351
5287
  }>>;
5288
+ type SortOrder = z.infer<typeof zSortOrder>;
5289
+ declare const zPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
5290
+ page: z.ZodNumber;
5291
+ next: z.ZodNullable<z.ZodNumber>;
5292
+ prev: z.ZodNullable<z.ZodNumber>;
5293
+ pageSize: z.ZodNumber;
5294
+ total: z.ZodNumber;
5295
+ results: z.ZodArray<T>;
5296
+ }>;
5297
+ type Paginated<T> = z.infer<ReturnType<typeof zPaginated<z.ZodType<T>>>>;
5298
+ declare const zCursorPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
5299
+ next: z.ZodNullable<z.ZodString>;
5300
+ results: z.ZodArray<T>;
5301
+ }>;
5302
+ type CursorPaginated<T> = z.infer<ReturnType<typeof zCursorPaginated<z.ZodType<T>>>>;
5303
+ declare const zCursorQuery: z.ZodObject<{
5304
+ cursor: z.ZodOptional<z.ZodString>;
5305
+ }, z.core.$strip>;
5306
+ declare const zPageQuery: z.ZodObject<{
5307
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5308
+ pageSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5309
+ }, z.core.$strip>;
5310
+ type PageQuery = z.infer<typeof zPageQuery>;
5311
+ type FindManyAndCountWithTakeAndSkip<T> = (opts: {
5312
+ take: number;
5313
+ skip: number;
5314
+ }) => Promise<[T[], number]>;
5315
+ /**
5316
+ * Returns paginated results
5317
+ */
5318
+ declare const paginate: <T>(find: FindManyAndCountWithTakeAndSkip<T>, input: PageQuery) => Promise<Paginated<T>>;
5319
+ type Ordering<T> = { [field in keyof T]?: SortOrder; };
5320
+ /**
5321
+ * Return a stable ordering for prisma model `T`.
5322
+ *
5323
+ * When querying objects ordered by a given field (e.g. `createdAt`), if multiple objects have the
5324
+ * same value in that field, the ordering of those objects are not guaranteed to be stable across
5325
+ * different queries. This could be a problem for pagination if they fall into the page boundary:
5326
+ * Some object may appear in two pages while some other object may never appear. By appending the
5327
+ * unique `id` field as a secondary ordering, we make the query results deterministic.
5328
+ */
5329
+ declare const stableOrdering: <T extends {
5330
+ id: string | number;
5331
+ }>(orderBy: Ordering<T> | Ordering<T>[]) => Ordering<T> | Ordering<T>[];
5332
+ declare const serializePage: <T, U>(input: Paginated<T>, serialize: (obj: T) => Promise<U> | U) => Promise<Paginated<U>>;
5333
+ declare const emptyPage: <T>(paginationQuery: {
5334
+ page: number;
5335
+ pageSize: number;
5336
+ }) => Paginated<T>;
5337
+ declare const fetchAllPages: <T>(fetchPage: (page: number) => Promise<Paginated<T>>) => Promise<T[]>;
5338
+ declare const fetchAllCursorPages: <T>(fetchPage: (cursor: string | null) => Promise<CursorPaginated<T>>) => Promise<T[]>;
5352
5339
  //#endregion
5353
- //#region src/hsm/hsm-requests-types.d.ts
5340
+ //#region src/services/hsm/hsm-requests-types.d.ts
5354
5341
  declare const HSM_OBJECT_TYPES: readonly ["Account", "AdminGroup", "AssetManager", "Exchange", "Group", "Partition", "PledgeState", "Policy", "AccountRuleSet", "Tradelink", "User", "WalletAccountList", "Whitelist"];
5355
5342
  type HsmObjectType = (typeof HSM_OBJECT_TYPES)[number];
5356
5343
  declare const zObjectsVersionResponse: z.ZodObject<{
@@ -5409,7 +5396,7 @@ declare const zObjectsContentResponse: z.ZodObject<{
5409
5396
  }, z.core.$strip>;
5410
5397
  type ObjectsContentResponse = z.infer<typeof zObjectsContentResponse>;
5411
5398
  //#endregion
5412
- //#region src/hsm/types.d.ts
5399
+ //#region src/services/hsm/types.d.ts
5413
5400
  declare const zPubKey: z$1.ZodString;
5414
5401
  type PubKey = z$1.infer<typeof zPubKey>;
5415
5402
  /**
@@ -5571,7 +5558,111 @@ declare const zAccountAllowedActionsResponse: z.ZodObject<{
5571
5558
  STAKE: "STAKE";
5572
5559
  }>>;
5573
5560
  }, z.core.$strip>;
5574
- type AccountAllowedActionsResponse = z.infer<typeof zAccountAllowedActionsResponse>;
5561
+ type AccountAllowedActionsResponse = z.infer<typeof zAccountAllowedActionsResponse>;
5562
+ declare const zAccountCommonFields: z.ZodObject<{
5563
+ id: z.ZodString;
5564
+ legacyId: z.ZodNumber;
5565
+ name: z.ZodString;
5566
+ currency: z.ZodString;
5567
+ network: z.ZodString;
5568
+ contractAddress: z.ZodNullable<z.ZodString>;
5569
+ tokenIdentifier: z.ZodNullable<z.ZodString>;
5570
+ index: z.ZodNumber;
5571
+ derivationPath: z.ZodString;
5572
+ status: z.ZodEnum<{
5573
+ readonly ACTIVE: 'ACTIVE';
5574
+ readonly INACTIVE: 'INACTIVE';
5575
+ }>;
5576
+ createdAt: z.ZodCoercedDate<unknown>;
5577
+ updatedAt: z.ZodCoercedDate<unknown>;
5578
+ }, z.core.$strip>;
5579
+ declare const zAccountResponse: z.ZodObject<{
5580
+ id: z.ZodString;
5581
+ legacyId: z.ZodNumber;
5582
+ name: z.ZodString;
5583
+ currency: z.ZodString;
5584
+ network: z.ZodString;
5585
+ contractAddress: z.ZodNullable<z.ZodString>;
5586
+ tokenIdentifier: z.ZodNullable<z.ZodString>;
5587
+ index: z.ZodNumber;
5588
+ derivationPath: z.ZodString;
5589
+ status: z.ZodEnum<{
5590
+ readonly ACTIVE: 'ACTIVE';
5591
+ readonly INACTIVE: 'INACTIVE';
5592
+ }>;
5593
+ createdAt: z.ZodCoercedDate<unknown>;
5594
+ updatedAt: z.ZodCoercedDate<unknown>;
5595
+ asset: z.ZodDiscriminatedUnion<[z.ZodObject<{
5596
+ type: z.ZodLiteral<"RAW_SIGNING">;
5597
+ }, z.core.$strip>, z.ZodObject<{
5598
+ type: z.ZodLiteral<"BITCOIN_LIKE">;
5599
+ xpub: z.ZodString;
5600
+ addressDerivationMode: z.ZodEnum<{
5601
+ readonly NEW: 'NEW';
5602
+ readonly STATIC: 'STATIC';
5603
+ }>;
5604
+ }, z.core.$strip>, z.ZodObject<{
5605
+ type: z.ZodLiteral<"CANTON_LIKE">;
5606
+ address: z.ZodNullable<z.ZodString>;
5607
+ }, z.core.$strip>, z.ZodObject<{
5608
+ type: z.ZodLiteral<"CARDANO_LIKE">;
5609
+ address: z.ZodNullable<z.ZodString>;
5610
+ }, z.core.$strip>, z.ZodObject<{
5611
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
5612
+ address: z.ZodNullable<z.ZodString>;
5613
+ }, z.core.$strip>, z.ZodObject<{
5614
+ type: z.ZodLiteral<"GENERIC_LIKE">;
5615
+ }, z.core.$strip>, z.ZodObject<{
5616
+ type: z.ZodLiteral<"HEDERA_LIKE">;
5617
+ address: z.ZodNullable<z.ZodString>;
5618
+ isActivated: z.ZodBoolean;
5619
+ }, z.core.$strip>, z.ZodObject<{
5620
+ type: z.ZodLiteral<"POLKADOT_LIKE">;
5621
+ address: z.ZodNullable<z.ZodString>;
5622
+ }, z.core.$strip>, z.ZodObject<{
5623
+ type: z.ZodLiteral<"RIPPLE_LIKE">;
5624
+ address: z.ZodNullable<z.ZodString>;
5625
+ }, z.core.$strip>, z.ZodObject<{
5626
+ type: z.ZodLiteral<"SOLANA_LIKE">;
5627
+ address: z.ZodNullable<z.ZodString>;
5628
+ }, z.core.$strip>, z.ZodObject<{
5629
+ type: z.ZodLiteral<"STELLAR_LIKE">;
5630
+ address: z.ZodNullable<z.ZodString>;
5631
+ }, z.core.$strip>, z.ZodObject<{
5632
+ type: z.ZodLiteral<"SUI_LIKE">;
5633
+ address: z.ZodNullable<z.ZodString>;
5634
+ }, z.core.$strip>, z.ZodObject<{
5635
+ type: z.ZodLiteral<"TEZOS_LIKE">;
5636
+ address: z.ZodNullable<z.ZodString>;
5637
+ }, z.core.$strip>, z.ZodObject<{
5638
+ type: z.ZodLiteral<"TRON_LIKE">;
5639
+ address: z.ZodNullable<z.ZodString>;
5640
+ }, z.core.$strip>], "type">;
5641
+ governance: z.ZodDiscriminatedUnion<[z.ZodObject<{
5642
+ type: z.ZodLiteral<"CLASSIC">;
5643
+ policyId: z.ZodString;
5644
+ }, z.core.$strip>, z.ZodObject<{
5645
+ type: z.ZodLiteral<"RAW_SIGNING">;
5646
+ policyId: z.ZodString;
5647
+ }, z.core.$strip>, z.ZodObject<{
5648
+ type: z.ZodLiteral<"TRADELINK">;
5649
+ assetManagerId: z.ZodString;
5650
+ exchangeConfigs: z.ZodArray<z.ZodObject<{
5651
+ exchangeId: z.ZodString;
5652
+ repledgeAuthorized: z.ZodBoolean;
5653
+ needsAssetManagerApprovalForSettlements: z.ZodBoolean;
5654
+ }, z.core.$strip>>;
5655
+ }, z.core.$strip>], "type">;
5656
+ }, z.core.$strip>;
5657
+ type AccountResponse = z.infer<typeof zAccountResponse>;
5658
+ declare const zAccountSortBy: z.ZodDefault<z.ZodEnum<{
5659
+ createdAt: "createdAt";
5660
+ currency: "currency";
5661
+ index: "index";
5662
+ name: "name";
5663
+ updatedAt: "updatedAt";
5664
+ }>>;
5665
+ type AccountSortBy = z.infer<typeof zAccountSortBy>;
5575
5666
  declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
5576
5667
  id: z.ZodString;
5577
5668
  hash: z.ZodString;
@@ -5859,6 +5950,29 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
5859
5950
  executionFee: z.ZodString;
5860
5951
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
5861
5952
  requestId: z.ZodNullable<z.ZodString>;
5953
+ }, z.core.$strip> | z.ZodObject<{
5954
+ id: z.ZodString;
5955
+ hash: z.ZodString;
5956
+ block: z.ZodObject<{
5957
+ height: z.ZodNullable<z.ZodString>;
5958
+ time: z.ZodNullable<z.ZodString>;
5959
+ }, z.core.$strip>;
5960
+ status: z.ZodEnum<{
5961
+ FAILED: "FAILED";
5962
+ PENDING: "PENDING";
5963
+ SUCCESSFUL: "SUCCESSFUL";
5964
+ UNKNOWN: "UNKNOWN";
5965
+ }>;
5966
+ confirmations: z.ZodString;
5967
+ amount: z.ZodString;
5968
+ fee: z.ZodString;
5969
+ senders: z.ZodArray<z.ZodString>;
5970
+ recipients: z.ZodArray<z.ZodString>;
5971
+ type: z.ZodEnum<{
5972
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
5973
+ }>;
5974
+ note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
5975
+ requestId: z.ZodNullable<z.ZodString>;
5862
5976
  }, z.core.$strip> | z.ZodObject<{
5863
5977
  id: z.ZodString;
5864
5978
  hash: z.ZodString;
@@ -6081,29 +6195,6 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6081
6195
  }>;
6082
6196
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6083
6197
  requestId: z.ZodNullable<z.ZodString>;
6084
- }, z.core.$strip> | z.ZodObject<{
6085
- id: z.ZodString;
6086
- hash: z.ZodString;
6087
- block: z.ZodObject<{
6088
- height: z.ZodNullable<z.ZodString>;
6089
- time: z.ZodNullable<z.ZodString>;
6090
- }, z.core.$strip>;
6091
- status: z.ZodEnum<{
6092
- FAILED: "FAILED";
6093
- PENDING: "PENDING";
6094
- SUCCESSFUL: "SUCCESSFUL";
6095
- UNKNOWN: "UNKNOWN";
6096
- }>;
6097
- confirmations: z.ZodString;
6098
- amount: z.ZodString;
6099
- fee: z.ZodString;
6100
- senders: z.ZodArray<z.ZodString>;
6101
- recipients: z.ZodArray<z.ZodString>;
6102
- type: z.ZodEnum<{
6103
- GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
6104
- }>;
6105
- note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6106
- requestId: z.ZodNullable<z.ZodString>;
6107
6198
  }, z.core.$strip> | z.ZodObject<{
6108
6199
  id: z.ZodString;
6109
6200
  hash: z.ZodString;
@@ -6417,6 +6508,29 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6417
6508
  executionFee: z.ZodString;
6418
6509
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6419
6510
  requestId: z.ZodNullable<z.ZodString>;
6511
+ }, z.core.$strip> | z.ZodObject<{
6512
+ id: z.ZodString;
6513
+ hash: z.ZodString;
6514
+ block: z.ZodObject<{
6515
+ height: z.ZodNullable<z.ZodString>;
6516
+ time: z.ZodNullable<z.ZodString>;
6517
+ }, z.core.$strip>;
6518
+ status: z.ZodEnum<{
6519
+ FAILED: "FAILED";
6520
+ PENDING: "PENDING";
6521
+ SUCCESSFUL: "SUCCESSFUL";
6522
+ UNKNOWN: "UNKNOWN";
6523
+ }>;
6524
+ confirmations: z.ZodString;
6525
+ amount: z.ZodString;
6526
+ fee: z.ZodString;
6527
+ senders: z.ZodArray<z.ZodString>;
6528
+ recipients: z.ZodArray<z.ZodString>;
6529
+ type: z.ZodEnum<{
6530
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
6531
+ }>;
6532
+ note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6533
+ requestId: z.ZodNullable<z.ZodString>;
6420
6534
  }, z.core.$strip> | z.ZodObject<{
6421
6535
  id: z.ZodString;
6422
6536
  hash: z.ZodString;
@@ -6639,29 +6753,6 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
6639
6753
  }>;
6640
6754
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6641
6755
  requestId: z.ZodNullable<z.ZodString>;
6642
- }, z.core.$strip> | z.ZodObject<{
6643
- id: z.ZodString;
6644
- hash: z.ZodString;
6645
- block: z.ZodObject<{
6646
- height: z.ZodNullable<z.ZodString>;
6647
- time: z.ZodNullable<z.ZodString>;
6648
- }, z.core.$strip>;
6649
- status: z.ZodEnum<{
6650
- FAILED: "FAILED";
6651
- PENDING: "PENDING";
6652
- SUCCESSFUL: "SUCCESSFUL";
6653
- UNKNOWN: "UNKNOWN";
6654
- }>;
6655
- confirmations: z.ZodString;
6656
- amount: z.ZodString;
6657
- fee: z.ZodString;
6658
- senders: z.ZodArray<z.ZodString>;
6659
- recipients: z.ZodArray<z.ZodString>;
6660
- type: z.ZodEnum<{
6661
- GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
6662
- }>;
6663
- note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
6664
- requestId: z.ZodNullable<z.ZodString>;
6665
6756
  }, z.core.$strip> | z.ZodObject<{
6666
6757
  id: z.ZodString;
6667
6758
  hash: z.ZodString;
@@ -6982,496 +7073,138 @@ declare const ReportStatus: {
6982
7073
  readonly DELETED: 'DELETED';
6983
7074
  };
6984
7075
  type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
6985
- declare const AuditLogType: {
6986
- readonly GENERATED_API_USER_CREDENTIALS: 'GENERATED_API_USER_CREDENTIALS';
6987
- readonly ROOT_CERTIFICATE_RETRIEVED: 'ROOT_CERTIFICATE_RETRIEVED';
6988
- readonly USER_SUSPENDED: 'USER_SUSPENDED';
6989
- readonly USER_UNSUSPENDED: 'USER_UNSUSPENDED';
6990
- readonly BACKOFFICE_RESOURCE_EDITED: 'BACKOFFICE_RESOURCE_EDITED';
6991
- readonly BACKOFFICE_RESOURCE_CREATED: 'BACKOFFICE_RESOURCE_CREATED';
6992
- readonly BACKOFFICE_USER_IMPERSONATED: 'BACKOFFICE_USER_IMPERSONATED';
6993
- };
6994
- type AuditLogType = (typeof AuditLogType)[keyof typeof AuditLogType];
6995
- //#endregion
6996
- //#region src/activity.d.ts
6997
- /**
6998
- * A place to trace an activity, such as correlation ID or some performance metrics.
6999
- *
7000
- * Note: This is **NOT** a place to exchange business-related objects! It should only contain
7001
- * things that have no impact on the business logic. Taking away activity-tracing code should
7002
- * not cause any behavioral change.
7003
- */
7004
- declare class ActivityTracer {
7005
- readonly correlationId: string;
7006
- constructor(correlationId?: string);
7007
- }
7008
- //#endregion
7009
- //#region src/trpc-rate-limit.d.ts
7010
- type RateLimitRouteMetricsConfig = {
7011
- category: string;
7012
- noTrace?: boolean;
7013
- };
7014
- /**
7015
- * Per-route meta data about metrics.
7016
- * See: https://trpc.io/docs/server/metadata
7017
- */
7018
- type RateLimitMetricsMeta = {
7019
- metrics?: RateLimitRouteMetricsConfig;
7020
- };
7021
- //#endregion
7022
- //#region src/auth/auth-service.d.ts
7023
- declare const zApiUserCredentialsResponse: z$1.ZodObject<{
7024
- apiKeyId: z$1.ZodString;
7025
- apiKeySecret: z$1.ZodString;
7026
- }, z$1.core.$strip>;
7027
- //#endregion
7028
- //#region src/auth/keycloak.d.ts
7029
- declare const zAuthResponse: z$1.ZodObject<{
7030
- accessToken: z$1.ZodString;
7031
- expiresInSeconds: z$1.ZodNumber;
7032
- refreshToken: z$1.ZodString;
7033
- refreshExpiresInSeconds: z$1.ZodNumber;
7034
- }, z$1.core.$strip>;
7035
- type AuthResponse = z$1.infer<typeof zAuthResponse>;
7036
- //#endregion
7037
- //#region src/auth/oidc.d.ts
7038
- declare const zOidcConfig: z$1.ZodObject<{
7039
- url: z$1.ZodURL;
7040
- clientId: z$1.ZodString;
7041
- realm: z$1.ZodString;
7042
- }, z$1.core.$strip>;
7043
- type OidcConfig = z$1.infer<typeof zOidcConfig>;
7044
- declare const zExchangeCredentialsResponse: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7045
- token: z$1.ZodString;
7046
- status: z$1.ZodLiteral<"LOGGED_IN">;
7047
- }, z$1.core.$strip>, z$1.ZodObject<{
7048
- status: z$1.ZodLiteral<"NOT_PAIRED">;
7049
- }, z$1.core.$strip>], "status">;
7050
- //#endregion
7051
- //#region src/auth/psd-auth.d.ts
7052
- declare const zPsdAuthChallengeData: z$1.ZodObject<{
7053
- challengeId: z$1.ZodString;
7054
- name: z$1.ZodString;
7055
- role: z$1.ZodEnum<{
7056
- readonly ADMIN: 'ADMIN';
7057
- readonly OPERATOR: 'OPERATOR';
7058
- readonly READ_ONLY_API_KEY: 'READ_ONLY_API_KEY';
7059
- }>;
7060
- keyHandle: z$1.ZodString;
7061
- challenge: z$1.ZodString;
7062
- }, z$1.core.$strip>;
7063
- type PsdAuthChallengeData = z$1.infer<typeof zPsdAuthChallengeData>;
7064
- //#endregion
7065
- //#region src/trpc.d.ts
7066
- type BackofficePermissionMeta = {
7067
- backofficePermission?: BackofficePermission;
7068
- backofficeIntrospection?: true;
7069
- };
7070
- //#endregion
7071
- //#region src/workflows/types.d.ts
7072
- declare const zSoftChallenge: z$1.ZodObject<{
7073
- challengeType: z$1.ZodLiteral<"SOFT">;
7074
- }, z$1.core.$strip>;
7075
- type SoftChallenge = z$1.infer<typeof zSoftChallenge>;
7076
- declare const zChallenge: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7077
- challengeType: z$1.ZodLiteral<"PSD">;
7078
- wActions: z$1.ZodArray<z$1.ZodString>;
7079
- handshake: z$1.ZodString;
7080
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
7081
- partitionId: z$1.ZodString;
7082
- }, z$1.core.$strip>, z$1.ZodObject<{
7083
- challengeType: z$1.ZodLiteral<"API">;
7084
- payload: z$1.ZodObject<{
7085
- approve: z$1.ZodString;
7086
- reject: z$1.ZodString;
7087
- }, z$1.core.$strip>;
7088
- }, z$1.core.$strip>, z$1.ZodObject<{
7089
- challengeType: z$1.ZodLiteral<"SOFT">;
7090
- }, z$1.core.$strip>], "challengeType">;
7091
- type Challenge = z$1.infer<typeof zChallenge>;
7092
- /** Item in `VaultRequest.reviewSteps` array representing one review step. */
7093
- declare const zRequestReviewStep: z$1.ZodObject<{
7094
- stageName: z$1.ZodString;
7095
- quorum: z$1.ZodInt;
7096
- }, z$1.core.$strip>;
7097
- type RequestReviewStep = z$1.infer<typeof zRequestReviewStep>;
7098
- declare const zEnsureNameAvailableOutput: z$1.ZodObject<{
7099
- available: z$1.ZodBoolean;
7100
- reason: z$1.ZodOptional<z$1.ZodString>;
7101
- }, z$1.core.$strip>;
7102
- type EnsureNameAvailableOutput = z$1.infer<typeof zEnsureNameAvailableOutput>;
7103
- //#endregion
7104
- //#region src/pagination.d.ts
7105
- declare const DEFAULT_PAGE_SIZE = 30;
7106
- declare const zSortOrder: z.ZodDefault<z.ZodEnum<{
7107
- asc: "asc";
7108
- desc: "desc";
7109
- }>>;
7110
- type SortOrder = z.infer<typeof zSortOrder>;
7111
- declare const zPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
7112
- page: z.ZodNumber;
7113
- next: z.ZodNullable<z.ZodNumber>;
7114
- prev: z.ZodNullable<z.ZodNumber>;
7115
- pageSize: z.ZodNumber;
7116
- total: z.ZodNumber;
7117
- results: z.ZodArray<T>;
7118
- }>;
7119
- type Paginated<T> = z.infer<ReturnType<typeof zPaginated<z.ZodType<T>>>>;
7120
- declare const zCursorPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
7121
- next: z.ZodNullable<z.ZodString>;
7122
- results: z.ZodArray<T>;
7123
- }>;
7124
- type CursorPaginated<T> = z.infer<ReturnType<typeof zCursorPaginated<z.ZodType<T>>>>;
7125
- declare const zCursorQuery: z.ZodObject<{
7126
- cursor: z.ZodOptional<z.ZodString>;
7127
- }, z.core.$strip>;
7128
- declare const zPageQuery: z.ZodObject<{
7129
- page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7130
- pageSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7131
- }, z.core.$strip>;
7132
- type PageQuery = z.infer<typeof zPageQuery>;
7133
- type FindManyAndCountWithTakeAndSkip<T> = (opts: {
7134
- take: number;
7135
- skip: number;
7136
- }) => Promise<[T[], number]>;
7076
+ declare const AuditLogType: {
7077
+ readonly GENERATED_API_USER_CREDENTIALS: 'GENERATED_API_USER_CREDENTIALS';
7078
+ readonly ROOT_CERTIFICATE_RETRIEVED: 'ROOT_CERTIFICATE_RETRIEVED';
7079
+ readonly USER_SUSPENDED: 'USER_SUSPENDED';
7080
+ readonly USER_UNSUSPENDED: 'USER_UNSUSPENDED';
7081
+ readonly BACKOFFICE_RESOURCE_EDITED: 'BACKOFFICE_RESOURCE_EDITED';
7082
+ readonly BACKOFFICE_RESOURCE_CREATED: 'BACKOFFICE_RESOURCE_CREATED';
7083
+ readonly BACKOFFICE_USER_IMPERSONATED: 'BACKOFFICE_USER_IMPERSONATED';
7084
+ };
7085
+ type AuditLogType = (typeof AuditLogType)[keyof typeof AuditLogType];
7086
+ //#endregion
7087
+ //#region src/activity.d.ts
7137
7088
  /**
7138
- * Returns paginated results
7089
+ * A place to trace an activity, such as correlation ID or some performance metrics.
7090
+ *
7091
+ * Note: This is **NOT** a place to exchange business-related objects! It should only contain
7092
+ * things that have no impact on the business logic. Taking away activity-tracing code should
7093
+ * not cause any behavioral change.
7139
7094
  */
7140
- declare const paginate: <T>(find: FindManyAndCountWithTakeAndSkip<T>, input: PageQuery) => Promise<Paginated<T>>;
7141
- type Ordering<T> = { [field in keyof T]?: SortOrder; };
7095
+ declare class ActivityTracer {
7096
+ readonly correlationId: string;
7097
+ constructor(correlationId?: string);
7098
+ }
7099
+ //#endregion
7100
+ //#region src/trpc-rate-limit.d.ts
7101
+ type RateLimitRouteMetricsConfig = {
7102
+ category: string;
7103
+ noTrace?: boolean;
7104
+ };
7142
7105
  /**
7143
- * Return a stable ordering for prisma model `T`.
7144
- *
7145
- * When querying objects ordered by a given field (e.g. `createdAt`), if multiple objects have the
7146
- * same value in that field, the ordering of those objects are not guaranteed to be stable across
7147
- * different queries. This could be a problem for pagination if they fall into the page boundary:
7148
- * Some object may appear in two pages while some other object may never appear. By appending the
7149
- * unique `id` field as a secondary ordering, we make the query results deterministic.
7106
+ * Per-route meta data about metrics.
7107
+ * See: https://trpc.io/docs/server/metadata
7150
7108
  */
7151
- declare const stableOrdering: <T extends {
7152
- id: string | number;
7153
- }>(orderBy: Ordering<T> | Ordering<T>[]) => Ordering<T> | Ordering<T>[];
7154
- declare const serializePage: <T, U>(input: Paginated<T>, serialize: (obj: T) => Promise<U> | U) => Promise<Paginated<U>>;
7155
- declare const emptyPage: <T>(paginationQuery: {
7156
- page: number;
7157
- pageSize: number;
7158
- }) => Paginated<T>;
7159
- declare const fetchAllPages: <T>(fetchPage: (page: number) => Promise<Paginated<T>>) => Promise<T[]>;
7160
- declare const fetchAllCursorPages: <T>(fetchPage: (cursor: string | null) => Promise<CursorPaginated<T>>) => Promise<T[]>;
7109
+ type RateLimitMetricsMeta = {
7110
+ metrics?: RateLimitRouteMetricsConfig;
7111
+ };
7161
7112
  //#endregion
7162
- //#region src/governance/review-config.d.ts
7163
- declare const zReviewStepWithUsers: z$1.ZodObject<{
7164
- quorum: z$1.ZodNumber;
7165
- userIds: z$1.ZodArray<z$1.ZodString>;
7113
+ //#region src/auth/auth-service.d.ts
7114
+ declare const zApiUserCredentialsResponse: z$1.ZodObject<{
7115
+ apiKeyId: z$1.ZodString;
7116
+ apiKeySecret: z$1.ZodString;
7166
7117
  }, z$1.core.$strip>;
7167
- type ReviewStepWithUsers = z$1.infer<typeof zReviewStepWithUsers>;
7168
- declare const zReviewStepsArray: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
7169
- quorum: z$1.ZodNumber;
7170
- userIds: z$1.ZodArray<z$1.ZodString>;
7171
- }, z$1.core.$strip>, z$1.ZodObject<{
7172
- quorum: z$1.ZodNumber;
7173
- groupId: z$1.ZodString;
7174
- }, z$1.core.$strip>]>>;
7175
7118
  //#endregion
7176
- //#region src/assets/types.d.ts
7177
- declare const zNativeAssetResponse: z.ZodObject<{
7178
- id: z.ZodString;
7179
- name: z.ZodString;
7180
- ticker: z.ZodString;
7181
- family: z.ZodString;
7182
- units: z.ZodArray<z.ZodObject<{
7183
- code: z.ZodString;
7184
- name: z.ZodString;
7185
- magnitude: z.ZodNumber;
7186
- }, z.core.$strip>>;
7187
- network: z.ZodString;
7188
- assetType: z.ZodLiteral<"NATIVE">;
7189
- }, z.core.$strip>;
7190
- declare const zTokenAssetResponse: z.ZodObject<{
7191
- id: z.ZodString;
7192
- name: z.ZodString;
7193
- ticker: z.ZodString;
7194
- family: z.ZodString;
7195
- units: z.ZodArray<z.ZodObject<{
7196
- code: z.ZodString;
7197
- name: z.ZodString;
7198
- magnitude: z.ZodNumber;
7199
- }, z.core.$strip>>;
7200
- network: z.ZodString;
7201
- assetType: z.ZodLiteral<"TOKEN">;
7202
- contractAddress: z.ZodString;
7203
- tokenIdentifier: z.ZodNullable<z.ZodString>;
7204
- metaCurrencyId: z.ZodNullable<z.ZodString>;
7205
- }, z.core.$strip>;
7206
- declare const zAssetResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
7207
- id: z.ZodString;
7208
- name: z.ZodString;
7209
- ticker: z.ZodString;
7210
- family: z.ZodString;
7211
- units: z.ZodArray<z.ZodObject<{
7212
- code: z.ZodString;
7213
- name: z.ZodString;
7214
- magnitude: z.ZodNumber;
7215
- }, z.core.$strip>>;
7216
- network: z.ZodString;
7217
- assetType: z.ZodLiteral<"NATIVE">;
7218
- }, z.core.$strip>, z.ZodObject<{
7219
- id: z.ZodString;
7220
- name: z.ZodString;
7221
- ticker: z.ZodString;
7222
- family: z.ZodString;
7223
- units: z.ZodArray<z.ZodObject<{
7224
- code: z.ZodString;
7225
- name: z.ZodString;
7226
- magnitude: z.ZodNumber;
7227
- }, z.core.$strip>>;
7228
- network: z.ZodString;
7229
- assetType: z.ZodLiteral<"TOKEN">;
7230
- contractAddress: z.ZodString;
7231
- tokenIdentifier: z.ZodNullable<z.ZodString>;
7232
- metaCurrencyId: z.ZodNullable<z.ZodString>;
7233
- }, z.core.$strip>], "assetType">;
7234
- type AssetResponse = z.infer<typeof zAssetResponse>;
7235
- type NativeAssetResponse = z.infer<typeof zNativeAssetResponse>;
7236
- type TokenAssetResponse = z.infer<typeof zTokenAssetResponse>;
7237
- declare const zAllAssetsResponse: z.ZodObject<{
7238
- currencies: z.ZodArray<z.ZodObject<{
7239
- id: z.ZodString;
7240
- name: z.ZodString;
7241
- ticker: z.ZodString;
7242
- family: z.ZodString;
7243
- units: z.ZodArray<z.ZodObject<{
7244
- code: z.ZodString;
7245
- name: z.ZodString;
7246
- magnitude: z.ZodNumber;
7247
- }, z.core.$strip>>;
7248
- network: z.ZodString;
7249
- assetType: z.ZodLiteral<"NATIVE">;
7250
- }, z.core.$strip>>;
7251
- tokens: z.ZodArray<z.ZodObject<{
7252
- id: z.ZodString;
7253
- name: z.ZodString;
7254
- ticker: z.ZodString;
7255
- family: z.ZodString;
7256
- units: z.ZodArray<z.ZodObject<{
7257
- code: z.ZodString;
7258
- name: z.ZodString;
7259
- magnitude: z.ZodNumber;
7260
- }, z.core.$strip>>;
7261
- network: z.ZodString;
7262
- assetType: z.ZodLiteral<"TOKEN">;
7263
- contractAddress: z.ZodString;
7264
- tokenIdentifier: z.ZodNullable<z.ZodString>;
7265
- metaCurrencyId: z.ZodNullable<z.ZodString>;
7266
- }, z.core.$strip>>;
7267
- hash: z.ZodString;
7268
- }, z.core.$strip>;
7269
- type AllAssetsResponse = z.infer<typeof zAllAssetsResponse>;
7270
- declare const zAssetCapabilitiesResponse: z.ZodObject<{
7271
- SEND: z.ZodBoolean;
7272
- STAKE: z.ZodBoolean;
7273
- EXECUTE_CONTRACT: z.ZodBoolean;
7274
- SIGN_MESSAGE: z.ZodBoolean;
7275
- DEPLOY_CONTRACT: z.ZodBoolean;
7276
- ACTIVATE_TOKEN: z.ZodBoolean;
7277
- RECEIVE: z.ZodBoolean;
7278
- }, z.core.$strip>;
7279
- declare const zCurrencyResponse: z.ZodObject<{
7280
- id: z.ZodString;
7281
- name: z.ZodString;
7282
- ticker: z.ZodString;
7283
- type: z.ZodEnum<{
7284
- readonly BITCOIN_LIKE: 'BITCOIN_LIKE';
7285
- readonly CANTON_LIKE: 'CANTON_LIKE';
7286
- readonly CARDANO_LIKE: 'CARDANO_LIKE';
7287
- readonly ETHEREUM_LIKE: 'ETHEREUM_LIKE';
7288
- readonly GENERIC_LIKE: 'GENERIC_LIKE';
7289
- readonly HEDERA_LIKE: 'HEDERA_LIKE';
7290
- readonly POLKADOT_LIKE: 'POLKADOT_LIKE';
7291
- readonly RAW_SIGNING: 'RAW_SIGNING';
7292
- readonly RIPPLE_LIKE: 'RIPPLE_LIKE';
7293
- readonly SOLANA_LIKE: 'SOLANA_LIKE';
7294
- readonly STELLAR_LIKE: 'STELLAR_LIKE';
7295
- readonly SUI_LIKE: 'SUI_LIKE';
7296
- readonly TEZOS_LIKE: 'TEZOS_LIKE';
7297
- readonly TRON_LIKE: 'TRON_LIKE';
7298
- }>;
7299
- units: z.ZodArray<z.ZodObject<{
7300
- code: z.ZodString;
7301
- name: z.ZodString;
7302
- magnitude: z.ZodNumber;
7303
- }, z.core.$strip>>;
7304
- }, z.core.$strip>;
7305
- type CurrencyResponse = z.infer<typeof zCurrencyResponse>;
7306
- declare const zTokenResponse: z.ZodObject<{
7307
- id: z.ZodString;
7308
- name: z.ZodString;
7309
- ticker: z.ZodString;
7310
- type: z.ZodEnum<{
7311
- readonly BITCOIN_LIKE: 'BITCOIN_LIKE';
7312
- readonly CANTON_LIKE: 'CANTON_LIKE';
7313
- readonly CARDANO_LIKE: 'CARDANO_LIKE';
7314
- readonly ETHEREUM_LIKE: 'ETHEREUM_LIKE';
7315
- readonly GENERIC_LIKE: 'GENERIC_LIKE';
7316
- readonly HEDERA_LIKE: 'HEDERA_LIKE';
7317
- readonly POLKADOT_LIKE: 'POLKADOT_LIKE';
7318
- readonly RAW_SIGNING: 'RAW_SIGNING';
7319
- readonly RIPPLE_LIKE: 'RIPPLE_LIKE';
7320
- readonly SOLANA_LIKE: 'SOLANA_LIKE';
7321
- readonly STELLAR_LIKE: 'STELLAR_LIKE';
7322
- readonly SUI_LIKE: 'SUI_LIKE';
7323
- readonly TEZOS_LIKE: 'TEZOS_LIKE';
7324
- readonly TRON_LIKE: 'TRON_LIKE';
7325
- }>;
7326
- units: z.ZodArray<z.ZodObject<{
7327
- code: z.ZodString;
7328
- name: z.ZodString;
7329
- magnitude: z.ZodNumber;
7330
- }, z.core.$strip>>;
7331
- contractAddress: z.ZodString;
7332
- currency: z.ZodString;
7333
- }, z.core.$strip>;
7334
- type TokenResponse = z.infer<typeof zTokenResponse>;
7119
+ //#region src/auth/keycloak.d.ts
7120
+ declare const zAuthResponse: z$1.ZodObject<{
7121
+ accessToken: z$1.ZodString;
7122
+ expiresInSeconds: z$1.ZodNumber;
7123
+ refreshToken: z$1.ZodString;
7124
+ refreshExpiresInSeconds: z$1.ZodNumber;
7125
+ }, z$1.core.$strip>;
7126
+ type AuthResponse = z$1.infer<typeof zAuthResponse>;
7335
7127
  //#endregion
7336
- //#region src/assets/cal-types.d.ts
7337
- declare const zCalVaultCoinResponse: z$1.ZodObject<{
7338
- id: z$1.ZodString;
7128
+ //#region src/auth/oidc.d.ts
7129
+ declare const zOidcConfig: z$1.ZodObject<{
7130
+ url: z$1.ZodURL;
7131
+ clientId: z$1.ZodString;
7132
+ realm: z$1.ZodString;
7133
+ }, z$1.core.$strip>;
7134
+ type OidcConfig = z$1.infer<typeof zOidcConfig>;
7135
+ declare const zExchangeCredentialsResponse: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7136
+ token: z$1.ZodString;
7137
+ status: z$1.ZodLiteral<"LOGGED_IN">;
7138
+ }, z$1.core.$strip>, z$1.ZodObject<{
7139
+ status: z$1.ZodLiteral<"NOT_PAIRED">;
7140
+ }, z$1.core.$strip>], "status">;
7141
+ //#endregion
7142
+ //#region src/auth/psd-auth.d.ts
7143
+ declare const zPsdAuthChallengeData: z$1.ZodObject<{
7144
+ challengeId: z$1.ZodString;
7339
7145
  name: z$1.ZodString;
7340
- ticker: z$1.ZodString;
7341
- units: z$1.ZodArray<z$1.ZodObject<{
7342
- code: z$1.ZodString;
7343
- name: z$1.ZodString;
7344
- magnitude: z$1.ZodInt;
7345
- }, z$1.core.$strip>>;
7346
- vault_atp: z$1.ZodOptional<z$1.ZodObject<{
7347
- data: z$1.ZodString;
7348
- signatures: z$1.ZodObject<{
7349
- test: z$1.ZodString;
7350
- prod: z$1.ZodOptional<z$1.ZodString>;
7351
- }, z$1.core.$strip>;
7352
- }, z$1.core.$strip>>;
7353
- vault_config: z$1.ZodOptional<z$1.ZodCodec<z$1.ZodObject<{
7354
- accountDerivationPathPrefix: z$1.ZodArray<z$1.ZodArray<z$1.ZodNumber>>;
7355
- wallet_compatibility: z$1.ZodObject<{
7356
- derivation_keytype_list: z$1.ZodArray<z$1.ZodObject<{
7357
- keyType: z$1.ZodEnum<{
7358
- Ed25519: "Ed25519";
7359
- P256K1: "P256K1";
7360
- }>;
7361
- }, z$1.core.$strip>>;
7362
- }, z$1.core.$strip>;
7363
- }, z$1.core.$strip>, z$1.ZodObject<{
7364
- derivationPathPrefix: z$1.ZodArray<z$1.ZodNumber>;
7365
- curve: z$1.ZodEnum<{
7366
- Ed25519: "Ed25519";
7367
- P256K1: "P256K1";
7368
- }>;
7369
- }, z$1.core.$strip>>>;
7370
- family: z$1.ZodString;
7371
- network: z$1.ZodString;
7146
+ role: z$1.ZodEnum<{
7147
+ readonly ADMIN: 'ADMIN';
7148
+ readonly OPERATOR: 'OPERATOR';
7149
+ readonly READ_ONLY_API_KEY: 'READ_ONLY_API_KEY';
7150
+ }>;
7151
+ keyHandle: z$1.ZodString;
7152
+ challenge: z$1.ZodString;
7372
7153
  }, z$1.core.$strip>;
7373
- type CalVaultCoinResponse = z$1.infer<typeof zCalVaultCoinResponse>;
7154
+ type PsdAuthChallengeData = z$1.infer<typeof zPsdAuthChallengeData>;
7374
7155
  //#endregion
7375
- //#region src/assets/cal-service.d.ts
7376
- type AllAssets = {
7377
- currencies: NativeAssetResponse[];
7378
- tokens: TokenAssetResponse[];
7379
- hash: string;
7156
+ //#region src/trpc.d.ts
7157
+ type BackofficePermissionMeta = {
7158
+ backofficePermission?: BackofficePermission;
7159
+ backofficeIntrospection?: true;
7380
7160
  };
7381
- declare global {
7382
- var _allAssetsPromise: Promise<AllAssets> | undefined;
7383
- var _calVaultCoinsPromise: Promise<CalVaultCoinResponse[]> | undefined;
7384
- }
7385
7161
  //#endregion
7386
- //#region src/tradelink/types.d.ts
7387
- declare const zTradelinkWhitelist: z.ZodArray<z.ZodObject<{
7388
- name: z.ZodString;
7389
- currency: z.ZodString;
7390
- address: z.ZodString;
7391
- }, z.core.$strip>>;
7392
- declare const zTradelinkOrgEntityResponse: z.ZodObject<{
7393
- tradelinkId: z.ZodString;
7394
- name: z.ZodString;
7395
- code: z.ZodString;
7396
- logoUrl: z.ZodString;
7397
- }, z.core.$strip>;
7398
- type TradelinkOrgEntityResponse = z.infer<typeof zTradelinkOrgEntityResponse>;
7399
- declare const zCreateTradelinkOrgEntityInput: z.ZodObject<{
7400
- name: z.ZodString;
7401
- code: z.ZodString;
7402
- logoUrl: z.ZodString;
7403
- }, z.core.$strip>;
7404
- type CreateTradelinkOrgEntityInput = z.infer<typeof zCreateTradelinkOrgEntityInput>;
7405
- declare const zDeleteTradelinkOrgEntityInput: z.ZodObject<{
7406
- tradelinkId: z.ZodString;
7407
- }, z.core.$strip>;
7408
- type DeleteTradelinkExchangeInput = z.infer<typeof zDeleteTradelinkOrgEntityInput>;
7409
- declare const zCreateTradelinkNetworkBlueprintInput: z.ZodObject<{
7410
- workspaceName: z.ZodString;
7411
- custodian: z.ZodObject<{
7412
- name: z.ZodString;
7413
- }, z.core.$strip>;
7414
- assetManagers: z.ZodArray<z.ZodObject<{
7415
- name: z.ZodString;
7416
- }, z.core.$strip>>;
7417
- exchanges: z.ZodArray<z.ZodObject<{
7418
- name: z.ZodString;
7419
- }, z.core.$strip>>;
7420
- }, z.core.$strip>;
7421
- declare const zTradelinkNetworkBlueprintResponse: z.ZodObject<{
7422
- tradelinkId: z.ZodString;
7423
- workspaceName: z.ZodString;
7424
- custodian: z.ZodObject<{
7425
- tradelinkId: z.ZodString;
7426
- name: z.ZodString;
7427
- code: z.ZodString;
7428
- logoUrl: z.ZodString;
7429
- }, z.core.$strip>;
7430
- assetManagers: z.ZodArray<z.ZodObject<{
7431
- tradelinkId: z.ZodString;
7432
- name: z.ZodString;
7433
- code: z.ZodString;
7434
- logoUrl: z.ZodString;
7435
- }, z.core.$strip>>;
7436
- exchanges: z.ZodArray<z.ZodObject<{
7437
- tradelinkId: z.ZodString;
7438
- name: z.ZodString;
7439
- code: z.ZodString;
7440
- logoUrl: z.ZodString;
7441
- }, z.core.$strip>>;
7442
- }, z.core.$strip>;
7443
- type TradelinkNetworkBlueprintResponse = z.infer<typeof zTradelinkNetworkBlueprintResponse>;
7444
- declare const zPledgeResponse: z.ZodObject<{
7445
- tradelinkId: z.ZodString;
7446
- asset: z.ZodObject<{
7447
- name: z.ZodString;
7448
- magnitude: z.ZodNumber;
7449
- }, z.core.$strip>;
7450
- state: z.ZodEnum<{
7451
- ASSIGNED_TO_SETTLEMENT: "ASSIGNED_TO_SETTLEMENT";
7452
- OUTBOUND_TRANSACTION_CONFIRMED: "OUTBOUND_TRANSACTION_CONFIRMED";
7453
- OUTBOUND_TRANSACTION_FAILED: "OUTBOUND_TRANSACTION_FAILED";
7454
- PLEDGE_APPROVED: "PLEDGE_APPROVED";
7455
- PLEDGE_CONSUMED: "PLEDGE_CONSUMED";
7456
- PLEDGE_INCREMENT_PENDING_APPROVAL: "PLEDGE_INCREMENT_PENDING_APPROVAL";
7457
- PLEDGE_READY: "PLEDGE_READY";
7458
- PLEDGE_REJECTED: "PLEDGE_REJECTED";
7459
- RECOVERING_FROM_FAILURE: "RECOVERING_FROM_FAILURE";
7460
- REPLEDGE_APPROVED: "REPLEDGE_APPROVED";
7461
- REPLEDGE_PENDING_APPROVAL: "REPLEDGE_PENDING_APPROVAL";
7462
- REPLEDGE_REJECTED: "REPLEDGE_REJECTED";
7463
- UNPLEDGE_APPROVED: "UNPLEDGE_APPROVED";
7464
- UNPLEDGE_PENDING_APPROVAL: "UNPLEDGE_PENDING_APPROVAL";
7465
- UNPLEDGE_REJECTED: "UNPLEDGE_REJECTED";
7466
- }>;
7467
- isLocked: z.ZodBoolean;
7468
- amount: z.ZodString;
7469
- pending: z.ZodString;
7470
- repledge: z.ZodString;
7471
- exchangeTradelinkId: z.ZodString;
7472
- accountId: z.ZodString;
7473
- }, z.core.$strip>;
7474
- type PledgeResponse = z.infer<typeof zPledgeResponse>;
7162
+ //#region src/workflows/types.d.ts
7163
+ declare const zSoftChallenge: z$1.ZodObject<{
7164
+ challengeType: z$1.ZodLiteral<"SOFT">;
7165
+ }, z$1.core.$strip>;
7166
+ type SoftChallenge = z$1.infer<typeof zSoftChallenge>;
7167
+ declare const zChallenge: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7168
+ challengeType: z$1.ZodLiteral<"PSD">;
7169
+ wActions: z$1.ZodArray<z$1.ZodString>;
7170
+ handshake: z$1.ZodString;
7171
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
7172
+ partitionId: z$1.ZodString;
7173
+ }, z$1.core.$strip>, z$1.ZodObject<{
7174
+ challengeType: z$1.ZodLiteral<"API">;
7175
+ payload: z$1.ZodObject<{
7176
+ approve: z$1.ZodString;
7177
+ reject: z$1.ZodString;
7178
+ }, z$1.core.$strip>;
7179
+ }, z$1.core.$strip>, z$1.ZodObject<{
7180
+ challengeType: z$1.ZodLiteral<"SOFT">;
7181
+ }, z$1.core.$strip>], "challengeType">;
7182
+ type Challenge = z$1.infer<typeof zChallenge>;
7183
+ /** Item in `VaultRequest.reviewSteps` array representing one review step. */
7184
+ declare const zRequestReviewStep: z$1.ZodObject<{
7185
+ stageName: z$1.ZodString;
7186
+ quorum: z$1.ZodInt;
7187
+ }, z$1.core.$strip>;
7188
+ type RequestReviewStep = z$1.infer<typeof zRequestReviewStep>;
7189
+ declare const zEnsureNameAvailableOutput: z$1.ZodObject<{
7190
+ available: z$1.ZodBoolean;
7191
+ reason: z$1.ZodOptional<z$1.ZodString>;
7192
+ }, z$1.core.$strip>;
7193
+ type EnsureNameAvailableOutput = z$1.infer<typeof zEnsureNameAvailableOutput>;
7194
+ //#endregion
7195
+ //#region src/core/governance/reviews.d.ts
7196
+ declare const zReviewStepWithUsers: z$1.ZodObject<{
7197
+ quorum: z$1.ZodNumber;
7198
+ userIds: z$1.ZodArray<z$1.ZodString>;
7199
+ }, z$1.core.$strip>;
7200
+ type ReviewStepWithUsers = z$1.infer<typeof zReviewStepWithUsers>;
7201
+ declare const zReviewStepsArray: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
7202
+ quorum: z$1.ZodNumber;
7203
+ userIds: z$1.ZodArray<z$1.ZodString>;
7204
+ }, z$1.core.$strip>, z$1.ZodObject<{
7205
+ quorum: z$1.ZodNumber;
7206
+ groupId: z$1.ZodString;
7207
+ }, z$1.core.$strip>]>>;
7475
7208
  //#endregion
7476
7209
  //#region src/requests/request-data.d.ts
7477
7210
  declare const zVaultRequestMixinsByType: {
@@ -13627,7 +13360,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
13627
13360
  errorResponses?: number[] | Record<number, string>;
13628
13361
  };
13629
13362
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
13630
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
13363
+ errorShape: {
13364
+ message: string;
13365
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
13366
+ data: {
13367
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
13368
+ httpStatus: number;
13369
+ path?: string;
13370
+ stack?: string;
13371
+ maintenance?: boolean | undefined;
13372
+ };
13373
+ };
13631
13374
  transformer: true;
13632
13375
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
13633
13376
  auth: import("@trpc/server").TRPCBuiltRouter<{
@@ -13685,7 +13428,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
13685
13428
  errorResponses?: number[] | Record<number, string>;
13686
13429
  };
13687
13430
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
13688
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
13431
+ errorShape: {
13432
+ message: string;
13433
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
13434
+ data: {
13435
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
13436
+ httpStatus: number;
13437
+ path?: string;
13438
+ stack?: string;
13439
+ maintenance?: boolean | undefined;
13440
+ };
13441
+ };
13689
13442
  transformer: true;
13690
13443
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
13691
13444
  authenticate: import("@trpc/server").TRPCMutationProcedure<{
@@ -13808,7 +13561,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
13808
13561
  errorResponses?: number[] | Record<number, string>;
13809
13562
  };
13810
13563
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
13811
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
13564
+ errorShape: {
13565
+ message: string;
13566
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
13567
+ data: {
13568
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
13569
+ httpStatus: number;
13570
+ path?: string;
13571
+ stack?: string;
13572
+ maintenance?: boolean | undefined;
13573
+ };
13574
+ };
13812
13575
  transformer: true;
13813
13576
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
13814
13577
  findWorkspaceNames: import("@trpc/server").TRPCQueryProcedure<{
@@ -14012,7 +13775,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14012
13775
  errorResponses?: number[] | Record<number, string>;
14013
13776
  };
14014
13777
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
14015
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
13778
+ errorShape: {
13779
+ message: string;
13780
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
13781
+ data: {
13782
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
13783
+ httpStatus: number;
13784
+ path?: string;
13785
+ stack?: string;
13786
+ maintenance?: boolean | undefined;
13787
+ };
13788
+ };
14016
13789
  transformer: true;
14017
13790
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
14018
13791
  getOidcConfig: import("@trpc/server").TRPCQueryProcedure<{
@@ -14204,7 +13977,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14204
13977
  errorResponses?: number[] | Record<number, string>;
14205
13978
  };
14206
13979
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
14207
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
13980
+ errorShape: {
13981
+ message: string;
13982
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
13983
+ data: {
13984
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
13985
+ httpStatus: number;
13986
+ path?: string;
13987
+ stack?: string;
13988
+ maintenance?: boolean | undefined;
13989
+ };
13990
+ };
14208
13991
  transformer: true;
14209
13992
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
14210
13993
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -14439,7 +14222,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14439
14222
  errorResponses?: number[] | Record<number, string>;
14440
14223
  };
14441
14224
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
14442
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
14225
+ errorShape: {
14226
+ message: string;
14227
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
14228
+ data: {
14229
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
14230
+ httpStatus: number;
14231
+ path?: string;
14232
+ stack?: string;
14233
+ maintenance?: boolean | undefined;
14234
+ };
14235
+ };
14443
14236
  transformer: true;
14444
14237
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
14445
14238
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -14750,7 +14543,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14750
14543
  errorResponses?: number[] | Record<number, string>;
14751
14544
  };
14752
14545
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
14753
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
14546
+ errorShape: {
14547
+ message: string;
14548
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
14549
+ data: {
14550
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
14551
+ httpStatus: number;
14552
+ path?: string;
14553
+ stack?: string;
14554
+ maintenance?: boolean | undefined;
14555
+ };
14556
+ };
14754
14557
  transformer: true;
14755
14558
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
14756
14559
  getAllowedActions: import("@trpc/server").TRPCQueryProcedure<{
@@ -14942,7 +14745,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14942
14745
  errorResponses?: number[] | Record<number, string>;
14943
14746
  };
14944
14747
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
14945
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
14748
+ errorShape: {
14749
+ message: string;
14750
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
14751
+ data: {
14752
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
14753
+ httpStatus: number;
14754
+ path?: string;
14755
+ stack?: string;
14756
+ maintenance?: boolean | undefined;
14757
+ };
14758
+ };
14946
14759
  transformer: true;
14947
14760
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
14948
14761
  listWorkspaces: import("@trpc/server").TRPCQueryProcedure<{
@@ -15416,7 +15229,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
15416
15229
  errorResponses?: number[] | Record<number, string>;
15417
15230
  };
15418
15231
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
15419
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
15232
+ errorShape: {
15233
+ message: string;
15234
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
15235
+ data: {
15236
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
15237
+ httpStatus: number;
15238
+ path?: string;
15239
+ stack?: string;
15240
+ maintenance?: boolean | undefined;
15241
+ };
15242
+ };
15420
15243
  transformer: true;
15421
15244
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
15422
15245
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -17123,6 +16946,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17123
16946
  total: string;
17124
16947
  };
17125
16948
  provider?: string | null | undefined;
16949
+ stakeType?: "legacy" | "pectra" | null | undefined;
17126
16950
  }[];
17127
16951
  };
17128
16952
  meta: {
@@ -17275,7 +17099,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17275
17099
  errorResponses?: number[] | Record<number, string>;
17276
17100
  };
17277
17101
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
17278
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
17102
+ errorShape: {
17103
+ message: string;
17104
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
17105
+ data: {
17106
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
17107
+ httpStatus: number;
17108
+ path?: string;
17109
+ stack?: string;
17110
+ maintenance?: boolean | undefined;
17111
+ };
17112
+ };
17279
17113
  transformer: true;
17280
17114
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
17281
17115
  getPreApprovalState: import("@trpc/server").TRPCQueryProcedure<{
@@ -17405,7 +17239,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17405
17239
  errorResponses?: number[] | Record<number, string>;
17406
17240
  };
17407
17241
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
17408
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
17242
+ errorShape: {
17243
+ message: string;
17244
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
17245
+ data: {
17246
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
17247
+ httpStatus: number;
17248
+ path?: string;
17249
+ stack?: string;
17250
+ maintenance?: boolean | undefined;
17251
+ };
17252
+ };
17409
17253
  transformer: true;
17410
17254
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
17411
17255
  activateAccount: import("@trpc/server").TRPCMutationProcedure<{
@@ -17492,7 +17336,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17492
17336
  errorResponses?: number[] | Record<number, string>;
17493
17337
  };
17494
17338
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
17495
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
17339
+ errorShape: {
17340
+ message: string;
17341
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
17342
+ data: {
17343
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
17344
+ httpStatus: number;
17345
+ path?: string;
17346
+ stack?: string;
17347
+ maintenance?: boolean | undefined;
17348
+ };
17349
+ };
17496
17350
  transformer: true;
17497
17351
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
17498
17352
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -17646,7 +17500,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17646
17500
  errorResponses?: number[] | Record<number, string>;
17647
17501
  };
17648
17502
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
17649
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
17503
+ errorShape: {
17504
+ message: string;
17505
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
17506
+ data: {
17507
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
17508
+ httpStatus: number;
17509
+ path?: string;
17510
+ stack?: string;
17511
+ maintenance?: boolean | undefined;
17512
+ };
17513
+ };
17650
17514
  transformer: true;
17651
17515
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
17652
17516
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -17838,7 +17702,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17838
17702
  errorResponses?: number[] | Record<number, string>;
17839
17703
  };
17840
17704
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
17841
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
17705
+ errorShape: {
17706
+ message: string;
17707
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
17708
+ data: {
17709
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
17710
+ httpStatus: number;
17711
+ path?: string;
17712
+ stack?: string;
17713
+ maintenance?: boolean | undefined;
17714
+ };
17715
+ };
17842
17716
  transformer: true;
17843
17717
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
17844
17718
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -17981,7 +17855,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
17981
17855
  errorResponses?: number[] | Record<number, string>;
17982
17856
  };
17983
17857
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
17984
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
17858
+ errorShape: {
17859
+ message: string;
17860
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
17861
+ data: {
17862
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
17863
+ httpStatus: number;
17864
+ path?: string;
17865
+ stack?: string;
17866
+ maintenance?: boolean | undefined;
17867
+ };
17868
+ };
17985
17869
  transformer: true;
17986
17870
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
17987
17871
  findRootWorkspaceRule: import("@trpc/server").TRPCQueryProcedure<{
@@ -18145,7 +18029,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18145
18029
  errorResponses?: number[] | Record<number, string>;
18146
18030
  };
18147
18031
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
18148
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
18032
+ errorShape: {
18033
+ message: string;
18034
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
18035
+ data: {
18036
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
18037
+ httpStatus: number;
18038
+ path?: string;
18039
+ stack?: string;
18040
+ maintenance?: boolean | undefined;
18041
+ };
18042
+ };
18149
18043
  transformer: true;
18150
18044
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
18151
18045
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -18315,7 +18209,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18315
18209
  errorResponses?: number[] | Record<number, string>;
18316
18210
  };
18317
18211
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
18318
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
18212
+ errorShape: {
18213
+ message: string;
18214
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
18215
+ data: {
18216
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
18217
+ httpStatus: number;
18218
+ path?: string;
18219
+ stack?: string;
18220
+ maintenance?: boolean | undefined;
18221
+ };
18222
+ };
18319
18223
  transformer: true;
18320
18224
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
18321
18225
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -18323,7 +18227,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18323
18227
  page?: number | undefined;
18324
18228
  pageSize?: number | undefined;
18325
18229
  status?: "ACTIVE" | "INACTIVE" | undefined;
18326
- sortBy?: "createdAt" | "name" | "status" | "updatedAt" | undefined;
18230
+ sortBy?: "addressCount" | "createdAt" | "name" | "status" | "updatedAt" | undefined;
18327
18231
  sortOrder?: "asc" | "desc" | undefined;
18328
18232
  currency?: string | undefined;
18329
18233
  search?: string | undefined;
@@ -18346,6 +18250,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18346
18250
  address: string;
18347
18251
  destinationTag?: string | undefined;
18348
18252
  }[];
18253
+ addressCount: number;
18349
18254
  createdAt: Date;
18350
18255
  updatedAt: Date;
18351
18256
  description: string | null;
@@ -18388,6 +18293,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18388
18293
  address: string;
18389
18294
  destinationTag?: string | undefined;
18390
18295
  }[];
18296
+ addressCount: number;
18391
18297
  createdAt: Date;
18392
18298
  updatedAt: Date;
18393
18299
  description: string | null;
@@ -18513,7 +18419,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18513
18419
  errorResponses?: number[] | Record<number, string>;
18514
18420
  };
18515
18421
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
18516
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
18422
+ errorShape: {
18423
+ message: string;
18424
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
18425
+ data: {
18426
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
18427
+ httpStatus: number;
18428
+ path?: string;
18429
+ stack?: string;
18430
+ maintenance?: boolean | undefined;
18431
+ };
18432
+ };
18517
18433
  transformer: true;
18518
18434
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
18519
18435
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -18573,6 +18489,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18573
18489
  address: string;
18574
18490
  destinationTag?: string | undefined;
18575
18491
  }[];
18492
+ addressCount: number;
18576
18493
  createdAt: Date;
18577
18494
  updatedAt: Date;
18578
18495
  description: string | null;
@@ -18669,6 +18586,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18669
18586
  address: string;
18670
18587
  destinationTag?: string | undefined;
18671
18588
  }[];
18589
+ addressCount: number;
18672
18590
  createdAt: Date;
18673
18591
  updatedAt: Date;
18674
18592
  description: string | null;
@@ -18778,9 +18696,45 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18778
18696
  errorResponses?: number[] | Record<number, string>;
18779
18697
  };
18780
18698
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
18781
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
18699
+ errorShape: {
18700
+ message: string;
18701
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
18702
+ data: {
18703
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
18704
+ httpStatus: number;
18705
+ path?: string;
18706
+ stack?: string;
18707
+ maintenance?: boolean | undefined;
18708
+ };
18709
+ };
18782
18710
  transformer: true;
18783
18711
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
18712
+ getCurrentUserAccess: import("@trpc/server").TRPCQueryProcedure<{
18713
+ input: void;
18714
+ output: {
18715
+ canManage: boolean;
18716
+ };
18717
+ meta: {
18718
+ [x: string]: unknown;
18719
+ } & {
18720
+ openapi?: {
18721
+ enabled?: boolean;
18722
+ method: import("trpc-to-openapi").OpenApiMethod;
18723
+ path: `/${string}`;
18724
+ operationId?: string;
18725
+ summary?: string;
18726
+ description?: string;
18727
+ protect?: boolean;
18728
+ tags?: string[];
18729
+ contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
18730
+ deprecated?: boolean;
18731
+ requestHeaders?: import("zod").ZodObject;
18732
+ responseHeaders?: import("zod").ZodObject;
18733
+ successDescription?: string;
18734
+ errorResponses?: number[] | Record<number, string>;
18735
+ };
18736
+ } & RateLimitMetricsMeta & BackofficePermissionMeta;
18737
+ }>;
18784
18738
  public: import("@trpc/server").TRPCBuiltRouter<{
18785
18739
  ctx: {
18786
18740
  req?: import("fastify").FastifyRequest<import("fastify").RouteGenericInterface, import("fastify").RawServerDefault, import("node:http").IncomingMessage, import("fastify").FastifySchema, import("fastify").FastifyTypeProviderDefault, unknown, import("fastify").FastifyBaseLogger, import("fastify/types/type-provider").ResolveFastifyRequestType<import("fastify").FastifyTypeProviderDefault, import("fastify").FastifySchema, import("fastify").RouteGenericInterface>> | undefined;
@@ -18836,7 +18790,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18836
18790
  errorResponses?: number[] | Record<number, string>;
18837
18791
  };
18838
18792
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
18839
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
18793
+ errorShape: {
18794
+ message: string;
18795
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
18796
+ data: {
18797
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
18798
+ httpStatus: number;
18799
+ path?: string;
18800
+ stack?: string;
18801
+ maintenance?: boolean | undefined;
18802
+ };
18803
+ };
18840
18804
  transformer: true;
18841
18805
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
18842
18806
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -18958,7 +18922,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18958
18922
  errorResponses?: number[] | Record<number, string>;
18959
18923
  };
18960
18924
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
18961
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
18925
+ errorShape: {
18926
+ message: string;
18927
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
18928
+ data: {
18929
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
18930
+ httpStatus: number;
18931
+ path?: string;
18932
+ stack?: string;
18933
+ maintenance?: boolean | undefined;
18934
+ };
18935
+ };
18962
18936
  transformer: true;
18963
18937
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
18964
18938
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -19246,7 +19220,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
19246
19220
  errorResponses?: number[] | Record<number, string>;
19247
19221
  };
19248
19222
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
19249
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
19223
+ errorShape: {
19224
+ message: string;
19225
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
19226
+ data: {
19227
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
19228
+ httpStatus: number;
19229
+ path?: string;
19230
+ stack?: string;
19231
+ maintenance?: boolean | undefined;
19232
+ };
19233
+ };
19250
19234
  transformer: true;
19251
19235
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
19252
19236
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -19386,7 +19370,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
19386
19370
  errorResponses?: number[] | Record<number, string>;
19387
19371
  };
19388
19372
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
19389
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
19373
+ errorShape: {
19374
+ message: string;
19375
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
19376
+ data: {
19377
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
19378
+ httpStatus: number;
19379
+ path?: string;
19380
+ stack?: string;
19381
+ maintenance?: boolean | undefined;
19382
+ };
19383
+ };
19390
19384
  transformer: true;
19391
19385
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
19392
19386
  transaction: import("@trpc/server").TRPCBuiltRouter<{
@@ -19444,7 +19438,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
19444
19438
  errorResponses?: number[] | Record<number, string>;
19445
19439
  };
19446
19440
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
19447
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
19441
+ errorShape: {
19442
+ message: string;
19443
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
19444
+ data: {
19445
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
19446
+ httpStatus: number;
19447
+ path?: string;
19448
+ stack?: string;
19449
+ maintenance?: boolean | undefined;
19450
+ };
19451
+ };
19448
19452
  transformer: true;
19449
19453
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
19450
19454
  exists: import("@trpc/server").TRPCQueryProcedure<{
@@ -23623,7 +23627,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
23623
23627
  errorResponses?: number[] | Record<number, string>;
23624
23628
  };
23625
23629
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
23626
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
23630
+ errorShape: {
23631
+ message: string;
23632
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
23633
+ data: {
23634
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
23635
+ httpStatus: number;
23636
+ path?: string;
23637
+ stack?: string;
23638
+ maintenance?: boolean | undefined;
23639
+ };
23640
+ };
23627
23641
  transformer: true;
23628
23642
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
23629
23643
  getOnboarding: import("@trpc/server").TRPCQueryProcedure<{
@@ -27789,7 +27803,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27789
27803
  errorResponses?: number[] | Record<number, string>;
27790
27804
  };
27791
27805
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
27792
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27806
+ errorShape: {
27807
+ message: string;
27808
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
27809
+ data: {
27810
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
27811
+ httpStatus: number;
27812
+ path?: string;
27813
+ stack?: string;
27814
+ maintenance?: boolean | undefined;
27815
+ };
27816
+ };
27793
27817
  transformer: true;
27794
27818
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
27795
27819
  nativeCurrencies: import("@trpc/server").TRPCQueryProcedure<{
@@ -28134,7 +28158,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28134
28158
  errorResponses?: number[] | Record<number, string>;
28135
28159
  };
28136
28160
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
28137
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28161
+ errorShape: {
28162
+ message: string;
28163
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
28164
+ data: {
28165
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
28166
+ httpStatus: number;
28167
+ path?: string;
28168
+ stack?: string;
28169
+ maintenance?: boolean | undefined;
28170
+ };
28171
+ };
28138
28172
  transformer: true;
28139
28173
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
28140
28174
  root: import("@trpc/server").TRPCBuiltRouter<{
@@ -28192,7 +28226,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28192
28226
  errorResponses?: number[] | Record<number, string>;
28193
28227
  };
28194
28228
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
28195
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28229
+ errorShape: {
28230
+ message: string;
28231
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
28232
+ data: {
28233
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
28234
+ httpStatus: number;
28235
+ path?: string;
28236
+ stack?: string;
28237
+ maintenance?: boolean | undefined;
28238
+ };
28239
+ };
28196
28240
  transformer: true;
28197
28241
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
28198
28242
  listOrgExchanges: import("@trpc/server").TRPCQueryProcedure<{
@@ -28832,7 +28876,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28832
28876
  errorResponses?: number[] | Record<number, string>;
28833
28877
  };
28834
28878
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
28835
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28879
+ errorShape: {
28880
+ message: string;
28881
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
28882
+ data: {
28883
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
28884
+ httpStatus: number;
28885
+ path?: string;
28886
+ stack?: string;
28887
+ maintenance?: boolean | undefined;
28888
+ };
28889
+ };
28836
28890
  transformer: true;
28837
28891
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
28838
28892
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -29239,7 +29293,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29239
29293
  errorResponses?: number[] | Record<number, string>;
29240
29294
  };
29241
29295
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
29242
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
29296
+ errorShape: {
29297
+ message: string;
29298
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
29299
+ data: {
29300
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
29301
+ httpStatus: number;
29302
+ path?: string;
29303
+ stack?: string;
29304
+ maintenance?: boolean | undefined;
29305
+ };
29306
+ };
29243
29307
  transformer: true;
29244
29308
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
29245
29309
  registerPushToken: import("@trpc/server").TRPCMutationProcedure<{
@@ -29380,7 +29444,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29380
29444
  errorResponses?: number[] | Record<number, string>;
29381
29445
  };
29382
29446
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
29383
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
29447
+ errorShape: {
29448
+ message: string;
29449
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
29450
+ data: {
29451
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
29452
+ httpStatus: number;
29453
+ path?: string;
29454
+ stack?: string;
29455
+ maintenance?: boolean | undefined;
29456
+ };
29457
+ };
29384
29458
  transformer: true;
29385
29459
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
29386
29460
  getRootCaChallenge: import("@trpc/server").TRPCQueryProcedure<{
@@ -29520,7 +29594,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29520
29594
  errorResponses?: number[] | Record<number, string>;
29521
29595
  };
29522
29596
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
29523
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
29597
+ errorShape: {
29598
+ message: string;
29599
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
29600
+ data: {
29601
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
29602
+ httpStatus: number;
29603
+ path?: string;
29604
+ stack?: string;
29605
+ maintenance?: boolean | undefined;
29606
+ };
29607
+ };
29524
29608
  transformer: true;
29525
29609
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
29526
29610
  list: import("@trpc/server").TRPCQueryProcedure<{
@@ -29560,11 +29644,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29560
29644
  params: {
29561
29645
  startDate: Date;
29562
29646
  endDate: Date;
29563
- assets: {
29564
- network: string;
29565
- contractAddress: string | null;
29566
- tokenIdentifier: string | null;
29567
- }[];
29647
+ accountIds?: string[] | undefined;
29568
29648
  };
29569
29649
  } | {
29570
29650
  type: "TRANSACTIONS";
@@ -29621,13 +29701,9 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29621
29701
  } | {
29622
29702
  type: "BALANCES";
29623
29703
  params: {
29624
- startDate: Date;
29625
- endDate: Date;
29626
- assets: {
29627
- network: string;
29628
- contractAddress: string | null;
29629
- tokenIdentifier: string | null;
29630
- }[];
29704
+ startDate: Date;
29705
+ endDate: Date;
29706
+ accountIds?: string[] | undefined;
29631
29707
  };
29632
29708
  } | {
29633
29709
  type: "TRANSACTIONS";
@@ -29674,11 +29750,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29674
29750
  params: {
29675
29751
  startDate: unknown;
29676
29752
  endDate: unknown;
29677
- assets: {
29678
- network: string;
29679
- contractAddress: string | null;
29680
- tokenIdentifier: string | null;
29681
- }[];
29753
+ accountIds?: string[] | undefined;
29682
29754
  };
29683
29755
  } | {
29684
29756
  type: "TRANSACTIONS";
@@ -29711,11 +29783,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29711
29783
  params: {
29712
29784
  startDate: Date;
29713
29785
  endDate: Date;
29714
- assets: {
29715
- network: string;
29716
- contractAddress: string | null;
29717
- tokenIdentifier: string | null;
29718
- }[];
29786
+ accountIds?: string[] | undefined;
29719
29787
  };
29720
29788
  } | {
29721
29789
  type: "TRANSACTIONS";
@@ -29773,11 +29841,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29773
29841
  params: {
29774
29842
  startDate: Date;
29775
29843
  endDate: Date;
29776
- assets: {
29777
- network: string;
29778
- contractAddress: string | null;
29779
- tokenIdentifier: string | null;
29780
- }[];
29844
+ accountIds?: string[] | undefined;
29781
29845
  };
29782
29846
  } | {
29783
29847
  type: "TRANSACTIONS";
@@ -29923,7 +29987,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29923
29987
  errorResponses?: number[] | Record<number, string>;
29924
29988
  };
29925
29989
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
29926
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
29990
+ errorShape: {
29991
+ message: string;
29992
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
29993
+ data: {
29994
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
29995
+ httpStatus: number;
29996
+ path?: string;
29997
+ stack?: string;
29998
+ maintenance?: boolean | undefined;
29999
+ };
30000
+ };
29927
30001
  transformer: true;
29928
30002
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
29929
30003
  checkTransaction: import("@trpc/server").TRPCMutationProcedure<{
@@ -30547,7 +30621,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30547
30621
  errorResponses?: number[] | Record<number, string>;
30548
30622
  };
30549
30623
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
30550
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
30624
+ errorShape: {
30625
+ message: string;
30626
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
30627
+ data: {
30628
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
30629
+ httpStatus: number;
30630
+ path?: string;
30631
+ stack?: string;
30632
+ maintenance?: boolean | undefined;
30633
+ };
30634
+ };
30551
30635
  transformer: true;
30552
30636
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
30553
30637
  getCurrent: import("@trpc/server").TRPCQueryProcedure<{
@@ -30664,7 +30748,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30664
30748
  errorResponses?: number[] | Record<number, string>;
30665
30749
  };
30666
30750
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
30667
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
30751
+ errorShape: {
30752
+ message: string;
30753
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
30754
+ data: {
30755
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
30756
+ httpStatus: number;
30757
+ path?: string;
30758
+ stack?: string;
30759
+ maintenance?: boolean | undefined;
30760
+ };
30761
+ };
30668
30762
  transformer: true;
30669
30763
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
30670
30764
  getPrivacyNotice: import("@trpc/server").TRPCQueryProcedure<{
@@ -30835,7 +30929,17 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30835
30929
  errorResponses?: number[] | Record<number, string>;
30836
30930
  };
30837
30931
  } & RateLimitMetricsMeta & BackofficePermissionMeta;
30838
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
30932
+ errorShape: {
30933
+ message: string;
30934
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
30935
+ data: {
30936
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
30937
+ httpStatus: number;
30938
+ path?: string;
30939
+ stack?: string;
30940
+ maintenance?: boolean | undefined;
30941
+ };
30942
+ };
30839
30943
  transformer: true;
30840
30944
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
30841
30945
  redeem: import("@trpc/server").TRPCMutationProcedure<{
@@ -30871,6 +30975,135 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30871
30975
  }>>;
30872
30976
  type AppRouter = typeof appRouter;
30873
30977
  //#endregion
30978
+ //#region src/assets/types.d.ts
30979
+ declare const zAssetResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
30980
+ id: z.ZodString;
30981
+ name: z.ZodString;
30982
+ ticker: z.ZodString;
30983
+ family: z.ZodString;
30984
+ units: z.ZodArray<z.ZodObject<{
30985
+ code: z.ZodString;
30986
+ name: z.ZodString;
30987
+ magnitude: z.ZodNumber;
30988
+ }, z.core.$strip>>;
30989
+ network: z.ZodString;
30990
+ assetType: z.ZodLiteral<"NATIVE">;
30991
+ }, z.core.$strip>, z.ZodObject<{
30992
+ id: z.ZodString;
30993
+ name: z.ZodString;
30994
+ ticker: z.ZodString;
30995
+ family: z.ZodString;
30996
+ units: z.ZodArray<z.ZodObject<{
30997
+ code: z.ZodString;
30998
+ name: z.ZodString;
30999
+ magnitude: z.ZodNumber;
31000
+ }, z.core.$strip>>;
31001
+ network: z.ZodString;
31002
+ assetType: z.ZodLiteral<"TOKEN">;
31003
+ contractAddress: z.ZodString;
31004
+ tokenIdentifier: z.ZodNullable<z.ZodString>;
31005
+ metaCurrencyId: z.ZodNullable<z.ZodString>;
31006
+ }, z.core.$strip>], "assetType">;
31007
+ type AssetResponse = z.infer<typeof zAssetResponse>;
31008
+ declare const zAllAssetsResponse: z.ZodObject<{
31009
+ currencies: z.ZodArray<z.ZodObject<{
31010
+ id: z.ZodString;
31011
+ name: z.ZodString;
31012
+ ticker: z.ZodString;
31013
+ family: z.ZodString;
31014
+ units: z.ZodArray<z.ZodObject<{
31015
+ code: z.ZodString;
31016
+ name: z.ZodString;
31017
+ magnitude: z.ZodNumber;
31018
+ }, z.core.$strip>>;
31019
+ network: z.ZodString;
31020
+ assetType: z.ZodLiteral<"NATIVE">;
31021
+ }, z.core.$strip>>;
31022
+ tokens: z.ZodArray<z.ZodObject<{
31023
+ id: z.ZodString;
31024
+ name: z.ZodString;
31025
+ ticker: z.ZodString;
31026
+ family: z.ZodString;
31027
+ units: z.ZodArray<z.ZodObject<{
31028
+ code: z.ZodString;
31029
+ name: z.ZodString;
31030
+ magnitude: z.ZodNumber;
31031
+ }, z.core.$strip>>;
31032
+ network: z.ZodString;
31033
+ assetType: z.ZodLiteral<"TOKEN">;
31034
+ contractAddress: z.ZodString;
31035
+ tokenIdentifier: z.ZodNullable<z.ZodString>;
31036
+ metaCurrencyId: z.ZodNullable<z.ZodString>;
31037
+ }, z.core.$strip>>;
31038
+ hash: z.ZodString;
31039
+ }, z.core.$strip>;
31040
+ type AllAssetsResponse = z.infer<typeof zAllAssetsResponse>;
31041
+ declare const zAssetCapabilitiesResponse: z.ZodObject<{
31042
+ SEND: z.ZodBoolean;
31043
+ STAKE: z.ZodBoolean;
31044
+ EXECUTE_CONTRACT: z.ZodBoolean;
31045
+ SIGN_MESSAGE: z.ZodBoolean;
31046
+ DEPLOY_CONTRACT: z.ZodBoolean;
31047
+ ACTIVATE_TOKEN: z.ZodBoolean;
31048
+ RECEIVE: z.ZodBoolean;
31049
+ }, z.core.$strip>;
31050
+ declare const zCurrencyResponse: z.ZodObject<{
31051
+ id: z.ZodString;
31052
+ name: z.ZodString;
31053
+ ticker: z.ZodString;
31054
+ type: z.ZodEnum<{
31055
+ readonly BITCOIN_LIKE: 'BITCOIN_LIKE';
31056
+ readonly CANTON_LIKE: 'CANTON_LIKE';
31057
+ readonly CARDANO_LIKE: 'CARDANO_LIKE';
31058
+ readonly ETHEREUM_LIKE: 'ETHEREUM_LIKE';
31059
+ readonly GENERIC_LIKE: 'GENERIC_LIKE';
31060
+ readonly HEDERA_LIKE: 'HEDERA_LIKE';
31061
+ readonly POLKADOT_LIKE: 'POLKADOT_LIKE';
31062
+ readonly RAW_SIGNING: 'RAW_SIGNING';
31063
+ readonly RIPPLE_LIKE: 'RIPPLE_LIKE';
31064
+ readonly SOLANA_LIKE: 'SOLANA_LIKE';
31065
+ readonly STELLAR_LIKE: 'STELLAR_LIKE';
31066
+ readonly SUI_LIKE: 'SUI_LIKE';
31067
+ readonly TEZOS_LIKE: 'TEZOS_LIKE';
31068
+ readonly TRON_LIKE: 'TRON_LIKE';
31069
+ }>;
31070
+ units: z.ZodArray<z.ZodObject<{
31071
+ code: z.ZodString;
31072
+ name: z.ZodString;
31073
+ magnitude: z.ZodNumber;
31074
+ }, z.core.$strip>>;
31075
+ }, z.core.$strip>;
31076
+ type CurrencyResponse = z.infer<typeof zCurrencyResponse>;
31077
+ declare const zTokenResponse: z.ZodObject<{
31078
+ id: z.ZodString;
31079
+ name: z.ZodString;
31080
+ ticker: z.ZodString;
31081
+ type: z.ZodEnum<{
31082
+ readonly BITCOIN_LIKE: 'BITCOIN_LIKE';
31083
+ readonly CANTON_LIKE: 'CANTON_LIKE';
31084
+ readonly CARDANO_LIKE: 'CARDANO_LIKE';
31085
+ readonly ETHEREUM_LIKE: 'ETHEREUM_LIKE';
31086
+ readonly GENERIC_LIKE: 'GENERIC_LIKE';
31087
+ readonly HEDERA_LIKE: 'HEDERA_LIKE';
31088
+ readonly POLKADOT_LIKE: 'POLKADOT_LIKE';
31089
+ readonly RAW_SIGNING: 'RAW_SIGNING';
31090
+ readonly RIPPLE_LIKE: 'RIPPLE_LIKE';
31091
+ readonly SOLANA_LIKE: 'SOLANA_LIKE';
31092
+ readonly STELLAR_LIKE: 'STELLAR_LIKE';
31093
+ readonly SUI_LIKE: 'SUI_LIKE';
31094
+ readonly TEZOS_LIKE: 'TEZOS_LIKE';
31095
+ readonly TRON_LIKE: 'TRON_LIKE';
31096
+ }>;
31097
+ units: z.ZodArray<z.ZodObject<{
31098
+ code: z.ZodString;
31099
+ name: z.ZodString;
31100
+ magnitude: z.ZodNumber;
31101
+ }, z.core.$strip>>;
31102
+ contractAddress: z.ZodString;
31103
+ currency: z.ZodString;
31104
+ }, z.core.$strip>;
31105
+ type TokenResponse = z.infer<typeof zTokenResponse>;
31106
+ //#endregion
30874
31107
  //#region src/entities/app-types.d.ts
30875
31108
  declare const zEntityResponse: z.ZodObject<{
30876
31109
  id: z.ZodString;
@@ -31987,6 +32220,7 @@ declare const zPolicyResponseBase: z$1.ZodObject<{
31987
32220
  address: z$1.ZodString;
31988
32221
  destinationTag: z$1.ZodOptional<z$1.ZodString>;
31989
32222
  }, z$1.core.$strip>>;
32223
+ addressCount: z$1.ZodNumber;
31990
32224
  createdAt: z$1.ZodCoercedDate<unknown>;
31991
32225
  updatedAt: z$1.ZodCoercedDate<unknown>;
31992
32226
  description: z$1.ZodNullable<z$1.ZodString>;
@@ -32042,7 +32276,7 @@ declare const zPolicySortBy: z$1.ZodDefault<z$1.ZodEnum<{
32042
32276
  }>>;
32043
32277
  type PolicySortBy = z$1.infer<typeof zPolicySortBy>;
32044
32278
  //#endregion
32045
- //#region src/portfolios/utils.d.ts
32279
+ //#region src/core/portfolios/read-models.d.ts
32046
32280
  declare const PORTFOLIO_NAME_MAX_LENGTH = 120;
32047
32281
  declare const normalizePortfolioName: (name: string) => string;
32048
32282
  declare const zPortfolioAppliedState: z.ZodObject<{
@@ -32063,6 +32297,10 @@ declare const zPortfolioSummary: z.ZodObject<{
32063
32297
  name: z.ZodString;
32064
32298
  }, z.core.$strip>;
32065
32299
  type PortfolioSummary = z.infer<typeof zPortfolioSummary>;
32300
+ declare const zPortfolioCurrentUserAccessResponse: z.ZodObject<{
32301
+ canManage: z.ZodBoolean;
32302
+ }, z.core.$strip>;
32303
+ type PortfolioCurrentUserAccessResponse = z.infer<typeof zPortfolioCurrentUserAccessResponse>;
32066
32304
  declare const zPortfolioAdminResponse: z.ZodObject<{
32067
32305
  id: z.ZodString;
32068
32306
  name: z.ZodString;
@@ -32204,11 +32442,7 @@ declare const zReportInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
32204
32442
  params: z.ZodObject<{
32205
32443
  startDate: z.ZodCoercedDate<unknown>;
32206
32444
  endDate: z.ZodCoercedDate<unknown>;
32207
- assets: z.ZodArray<z.ZodObject<{
32208
- network: z.ZodString;
32209
- contractAddress: z.ZodNullable<z.ZodString>;
32210
- tokenIdentifier: z.ZodNullable<z.ZodString>;
32211
- }, z.core.$strip>>;
32445
+ accountIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
32212
32446
  }, z.core.$strip>;
32213
32447
  }, z.core.$strip>, z.ZodObject<{
32214
32448
  type: z.ZodLiteral<"TRANSACTIONS">;
@@ -32393,11 +32627,7 @@ declare const zReportResponse: z.ZodIntersection<z.ZodObject<{
32393
32627
  params: z.ZodObject<{
32394
32628
  startDate: z.ZodCoercedDate<unknown>;
32395
32629
  endDate: z.ZodCoercedDate<unknown>;
32396
- assets: z.ZodArray<z.ZodObject<{
32397
- network: z.ZodString;
32398
- contractAddress: z.ZodNullable<z.ZodString>;
32399
- tokenIdentifier: z.ZodNullable<z.ZodString>;
32400
- }, z.core.$strip>>;
32630
+ accountIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
32401
32631
  }, z.core.$strip>;
32402
32632
  }, z.core.$strip>, z.ZodObject<{
32403
32633
  type: z.ZodLiteral<"TRANSACTIONS">;
@@ -32502,6 +32732,96 @@ declare const zReportDownloadUrlResponse: z.ZodObject<{
32502
32732
  }, z.core.$strip>;
32503
32733
  type ReportDownloadUrlResponse = z.infer<typeof zReportDownloadUrlResponse>;
32504
32734
  //#endregion
32735
+ //#region src/tradelink/types.d.ts
32736
+ declare const zTradelinkWhitelist: z.ZodArray<z.ZodObject<{
32737
+ name: z.ZodString;
32738
+ currency: z.ZodString;
32739
+ address: z.ZodString;
32740
+ }, z.core.$strip>>;
32741
+ declare const zTradelinkOrgEntityResponse: z.ZodObject<{
32742
+ tradelinkId: z.ZodString;
32743
+ name: z.ZodString;
32744
+ code: z.ZodString;
32745
+ logoUrl: z.ZodString;
32746
+ }, z.core.$strip>;
32747
+ type TradelinkOrgEntityResponse = z.infer<typeof zTradelinkOrgEntityResponse>;
32748
+ declare const zCreateTradelinkOrgEntityInput: z.ZodObject<{
32749
+ name: z.ZodString;
32750
+ code: z.ZodString;
32751
+ logoUrl: z.ZodString;
32752
+ }, z.core.$strip>;
32753
+ type CreateTradelinkOrgEntityInput = z.infer<typeof zCreateTradelinkOrgEntityInput>;
32754
+ declare const zDeleteTradelinkOrgEntityInput: z.ZodObject<{
32755
+ tradelinkId: z.ZodString;
32756
+ }, z.core.$strip>;
32757
+ type DeleteTradelinkExchangeInput = z.infer<typeof zDeleteTradelinkOrgEntityInput>;
32758
+ declare const zCreateTradelinkNetworkBlueprintInput: z.ZodObject<{
32759
+ workspaceName: z.ZodString;
32760
+ custodian: z.ZodObject<{
32761
+ name: z.ZodString;
32762
+ }, z.core.$strip>;
32763
+ assetManagers: z.ZodArray<z.ZodObject<{
32764
+ name: z.ZodString;
32765
+ }, z.core.$strip>>;
32766
+ exchanges: z.ZodArray<z.ZodObject<{
32767
+ name: z.ZodString;
32768
+ }, z.core.$strip>>;
32769
+ }, z.core.$strip>;
32770
+ declare const zTradelinkNetworkBlueprintResponse: z.ZodObject<{
32771
+ tradelinkId: z.ZodString;
32772
+ workspaceName: z.ZodString;
32773
+ custodian: z.ZodObject<{
32774
+ tradelinkId: z.ZodString;
32775
+ name: z.ZodString;
32776
+ code: z.ZodString;
32777
+ logoUrl: z.ZodString;
32778
+ }, z.core.$strip>;
32779
+ assetManagers: z.ZodArray<z.ZodObject<{
32780
+ tradelinkId: z.ZodString;
32781
+ name: z.ZodString;
32782
+ code: z.ZodString;
32783
+ logoUrl: z.ZodString;
32784
+ }, z.core.$strip>>;
32785
+ exchanges: z.ZodArray<z.ZodObject<{
32786
+ tradelinkId: z.ZodString;
32787
+ name: z.ZodString;
32788
+ code: z.ZodString;
32789
+ logoUrl: z.ZodString;
32790
+ }, z.core.$strip>>;
32791
+ }, z.core.$strip>;
32792
+ type TradelinkNetworkBlueprintResponse = z.infer<typeof zTradelinkNetworkBlueprintResponse>;
32793
+ declare const zPledgeResponse: z.ZodObject<{
32794
+ tradelinkId: z.ZodString;
32795
+ asset: z.ZodObject<{
32796
+ name: z.ZodString;
32797
+ magnitude: z.ZodNumber;
32798
+ }, z.core.$strip>;
32799
+ state: z.ZodEnum<{
32800
+ ASSIGNED_TO_SETTLEMENT: "ASSIGNED_TO_SETTLEMENT";
32801
+ OUTBOUND_TRANSACTION_CONFIRMED: "OUTBOUND_TRANSACTION_CONFIRMED";
32802
+ OUTBOUND_TRANSACTION_FAILED: "OUTBOUND_TRANSACTION_FAILED";
32803
+ PLEDGE_APPROVED: "PLEDGE_APPROVED";
32804
+ PLEDGE_CONSUMED: "PLEDGE_CONSUMED";
32805
+ PLEDGE_INCREMENT_PENDING_APPROVAL: "PLEDGE_INCREMENT_PENDING_APPROVAL";
32806
+ PLEDGE_READY: "PLEDGE_READY";
32807
+ PLEDGE_REJECTED: "PLEDGE_REJECTED";
32808
+ RECOVERING_FROM_FAILURE: "RECOVERING_FROM_FAILURE";
32809
+ REPLEDGE_APPROVED: "REPLEDGE_APPROVED";
32810
+ REPLEDGE_PENDING_APPROVAL: "REPLEDGE_PENDING_APPROVAL";
32811
+ REPLEDGE_REJECTED: "REPLEDGE_REJECTED";
32812
+ UNPLEDGE_APPROVED: "UNPLEDGE_APPROVED";
32813
+ UNPLEDGE_PENDING_APPROVAL: "UNPLEDGE_PENDING_APPROVAL";
32814
+ UNPLEDGE_REJECTED: "UNPLEDGE_REJECTED";
32815
+ }>;
32816
+ isLocked: z.ZodBoolean;
32817
+ amount: z.ZodString;
32818
+ pending: z.ZodString;
32819
+ repledge: z.ZodString;
32820
+ exchangeTradelinkId: z.ZodString;
32821
+ accountId: z.ZodString;
32822
+ }, z.core.$strip>;
32823
+ type PledgeResponse = z.infer<typeof zPledgeResponse>;
32824
+ //#endregion
32505
32825
  //#region src/tradelink/app-types.d.ts
32506
32826
  declare const zTradelinkCustodianResponse: z$1.ZodObject<{
32507
32827
  id: z$1.ZodString;
@@ -32731,12 +33051,14 @@ declare const zWhitelistResponse: z.ZodObject<{
32731
33051
  address: z.ZodString;
32732
33052
  destinationTag: z.ZodOptional<z.ZodString>;
32733
33053
  }, z.core.$strip>>;
33054
+ addressCount: z.ZodNumber;
32734
33055
  createdAt: z.ZodCoercedDate<unknown>;
32735
33056
  updatedAt: z.ZodCoercedDate<unknown>;
32736
33057
  description: z.ZodNullable<z.ZodString>;
32737
33058
  }, z.core.$strip>;
32738
33059
  type WhitelistResponse = z.infer<typeof zWhitelistResponse>;
32739
33060
  declare const zWhitelistSortBy: z.ZodDefault<z.ZodEnum<{
33061
+ addressCount: "addressCount";
32740
33062
  createdAt: "createdAt";
32741
33063
  name: "name";
32742
33064
  status: "status";
@@ -32768,5 +33090,5 @@ declare const zWorkspaceResponse: z.ZodObject<{
32768
33090
  }, z.core.$strip>;
32769
33091
  type WorkspaceResponse = z.infer<typeof zWorkspaceResponse>;
32770
33092
  //#endregion
32771
- export { zPortfoliosByAccountIdsResponse as $, zAccountResponse as $i, CurrencyResponse as $n, PsdModel as $r, zSubProcessorRow as $t, ReportInput as A, STELLAR_SPEC as Aa, UserRegistrationChallengeResponse as Ai, zApproveVaultRequestInput as An, OidcConfig as Ar, WebhookResponse as At, PortfolioStatusFilter as B, CANTON_SPEC as Ba, zUserRegistrationDeviceData as Bi, DeleteTradelinkExchangeInput as Bn, AdminPermission as Br, LegalContentBlock as Bt, TradelinkNetworkResponse as C, zSendOnlyTransactionData as Ca, PsdPairingData as Ci, RequestDataOf as Cn, Challenge as Cr, zOnboardingId as Ct, zTradelinkNetworkResponse as D, TRON_SPEC as Da, RefreshPskData as Di, VaultRequestResponse as Dn, BackofficePermissionMeta as Dr, CreateWebhookPayload as Dt, zTradelinkEntityResponse as E, zTransactionType as Ea, PubKey as Ei, VaultRequestCreateInput as En, zEnsureNameAvailableOutput as Er, zWrappingKeyFragmentInput as Et, zVisibleReportStatus as F, HEDERA_SPEC as Fa, zPubKey as Fi, zSignDigestsRequestInput as Fn, zApiUserCredentialsResponse as Fr, zRotateWebhookSecretResponse as Ft, zPortfolioCreateInput as G, StakingProvisioning as Ga, ObjectsVersionResponse as Gi, zCreateTradelinkOrgEntityInput as Gn, GateUserType as Gr, SubProcessorRow as Gt, PortfolioUpdateInput as H, zCantonTransferProposal as Ha, HSM_OBJECT_TYPES as Hi, TradelinkNetworkBlueprintResponse as Hn, AuditLogType as Hr, LegalInlineContent as Ht, PortfolioAdminResponse as I, isErc20Address as Ia, zRefreshPskData as Ii, zSignMessageRequestInput as In, RateLimitMetricsMeta as Ir, zUpdateWebhookPayload as It, zPortfolioSortBy as J, NetworkFamily as Ja, AccountLiveDataResponse as Ji, zTradelinkNetworkBlueprintResponse as Jn, MessageType as Jr, zLegalInline as Jt, zPortfolioHistoryEntryResponse as K, Validator as Ka, VersionedObjectInfo as Ki, zDeleteTradelinkOrgEntityInput as Kn, HsmHostingMode as Kr, SubProcessorsResponse as Kt, PortfolioCreateInput as L, GENERIC_SPEC as La, zRefreshPskInputData as Li, zVaultRequestCreateInput as Ln, ActivityTracer as Lr, zWebhookDeliveryResponse as Lt, zReportDownloadUrlResponse as M, RIPPLE_SPEC as Ma, zPsdPairingData as Mi, zCreateClassicAccountWithPolicyIdInput as Mn, zOidcConfig as Mr, zCreateWebhookResponse as Mt, zReportInput as N, zRippleDestinationTag as Na, zPsdPairingInputData as Ni, zEnsureNameAvailableInput as Nn, AuthResponse as Nr, zDeleteWebhookResponse as Nt, zTradelinkSettlementWithAccountAndExchangeInfoResponse as O, TEZOS_SPEC as Oa, RefreshPskInputData as Oi, VaultRequestResponseBase as On, PsdAuthChallengeData as Or, DeleteWebhookResponse as Ot, zReportResponse as P, POLKADOT_SPEC as Pa, zPsdSignature as Pi, zRequestSortBy as Pn, zAuthResponse as Pr, zReplayFailedResponse as Pt, zPortfoliosByAccountIdsInput as Q, Note as Qa, zAccountLiveDataResponse as Qi, AssetResponse as Qn, PortfolioHistoryAction as Qr, zPrivacyNoticeSectionId as Qt, PortfolioHistoryEntryResponse as R, ETHEREUM_SPEC as Ra, zUserRegistrationChallenge as Ri, zVaultRequestResponse as Rn, AccountType$1 as Rr, zWebhookDetailResponse as Rt, TradelinkEntityResponse as S, zNetworkAssetFields as Sa, PsdChallenge as Si, EnsureNameAvailableInput as Sn, zSortOrder as Sr, zOnboardingFullState as St, zTradelinkCustodianResponse as T, zTransactionResponse as Ta, PsdSignature as Ti, RequestSortBy as Tn, SoftChallenge as Tr, zOnboardingSeedFragment as Tt, PortfoliosByAccountIdsResponse as U, BITCOIN_SPEC as Ua, HsmObjectType as Ui, TradelinkOrgEntityResponse as Un, ChallengeType as Ur, PrivacyNoticeResponse as Ut, PortfolioSummary as V, CantonTransferProposal as Va, GetObjectsInfoResponse as Vi, PledgeResponse as Vn, AllowedAction as Vr, LegalInline as Vt, zPortfolioAdminResponse as W, BitcoinLikeBalance as Wa, ObjectsContentResponse as Wi, zCreateTradelinkNetworkBlueprintInput as Wn, ClaimedRole as Wr, PrivacyNoticeSection as Wt, zPortfolioSummary as X, zTransactionStatus as Xa, AccountSortBy as Xi, zTradelinkWhitelist as Xn, OnboardingStep as Xr, zPrivacyNoticeResponse as Xt, zPortfolioStatusFilter as Y, zCommonLiveData as Ya, AccountResponse as Yi, zTradelinkOrgEntityResponse as Yn, OnboardedUserRole as Yr, zLegalInlineContent as Yt, zPortfolioUpdateInput as Z, zGovernableAction as Za, zAccountFreshAddress as Zi, AllAssetsResponse as Zn, OutgoingTransactionStatus as Zr, zPrivacyNoticeSection as Zt, UserRegistrationCreateInput as _, getTxHsmProps as _a, zCantonTransferProposalResponse as _i, zEntityResponse as _n, stableOrdering as _r, OnboardingSeedFragment as _t, WhitelistResponse as a, zStakingValidatorSortBy as aa, RevaultMode as ai, GroupResponse as an, zTokenResponse as ar, PolicySortBy as at, zUserRegistrationResponse as b, zAccountStakingFields as ba, ApiChallenge as bi, ApproveVaultRequestInput as bn, zPageQuery as br, WrappingKeyResponse as bt, zWhitelistAddressSortBy as c, EstimatedFees as ca, UserRole as ci, zGroupSortBy as cn, CursorPaginated as cr, AllowedActionsResponse as ct, AdminResponse as d, TransactionData as da, BackofficePermission as di, WorkspaceRulesResponse as dn, SortOrder as dr, zAllowedResourcesResponse as dt, zAccountSortBy as ea, ReportStatus as ei, zSubProcessorsResponse as en, TokenResponse as er, PORTFOLIO_NAME_MAX_LENGTH as et, UserResponse as f, TransactionDataOf as fa, AccountAllowedActionsResponse as fi, zRootWorkspaceRuleResponse as fn, emptyPage as fr, zOpenApiResourceType as ft, zUserSortBy as g, convertTxToGovernableIntent as ga, zCantonPreApprovalStateResponse as gi, EntitySortBy as gn, serializePage as gr, OnboardingSeedChallenge as gt, zUserResponse as h, TransactionTypeOf as ha, zBitcoinUtxoResponse as hi, EntityResponse as hn, paginate as hr, OnboardingOpts as ht, WhitelistAddressSortBy as i, zStakingValidator as ia, ResourceType as ii, zAuditLogSortBy as in, zCurrencyResponse as ir, PolicyResponse as it, ReportResponse as j, SOLANA_SPEC as ja, UserRegistrationDeviceData as ji, zChallengeResponse as jn, zExchangeCredentialsResponse as jr, zCreateWebhookPayload as jt, ReportDownloadUrlResponse as k, SUI_SPEC as ka, UserRegistrationChallenge as ki, genTransactionSchemas as kn, zPsdAuthChallengeData as kr, UpdateWebhookPayload as kt, zWhitelistResponse as l, SendOnlyTransactionData as la, WhitelistType as li, RootWorkspaceRuleResponse as ln, DEFAULT_PAGE_SIZE as lr, AllowedResourcesResponse as lt, zAdminResponse as m, TransactionType as ma, zAccountAllowedActionsResponse as mi, zWorkspaceRulesResponse as mn, fetchAllPages as mr, OnboardingFullState as mt, zWorkspaceResponse as n, zStake as na, RequestState as ni, AuditLogSortBy as nn, zAssetCapabilitiesResponse as nr, normalizePortfolioName as nt, WhitelistSortBy as o, AccountNetworkInfoFields as oa, ReviewConfigType as oi, GroupSortBy as on, ReviewStepWithUsers as or, zPolicyResponse as ot, UserSortBy as p, TransactionResponse as pa, TransactionWithMetaResponse as pi, zWorkspaceRuleResponse as pn, fetchAllCursorPages as pr, DeviceClaim as pt, zPortfolioName as q, zStakingProvisioning as qa, AccountFreshAddress as qi, zPledgeResponse as qn, MaintenanceMode as qr, zLegalContentBlock as qt, WhitelistAddressResponse as r, zStakeSortBy as ra, RequestType as ri, zAuditLogResponse as rn, zAssetResponse as rr, zPortfolioAppliedState as rt, zWhitelistAddressResponse as s, AccountStakingFields as sa, UserDeviceType as si, zGroupResponse as sn, zReviewStepsArray as sr, zPolicySortBy as st, WorkspaceResponse as t, zBalance as ta, RequestReviewStatus as ti, AuditLogResponse as tn, zAllAssetsResponse as tr, PortfolioAppliedState as tt, zWhitelistSortBy as u, StakingDataOf as ua, ExtendedPrismaClient as ui, WorkspaceRuleResponse as un, Paginated as ur, zAllowedActionsResponse as ut, UserRegistrationResponse as v, zAccountLiveData as va, zTransactionWithMetaResponse as vi, zEntitySortBy as vn, zCursorPaginated as vr, WrappingKeyFragmentInput as vt, TradelinkSettlementWithAccountAndExchangeInfoResponse as w, zTransactionData as wa, PsdPairingInputData as wi, RequestReview as wn, EnsureNameAvailableOutput as wr, zOnboardingOpts as wt, TradelinkCustodianResponse as x, zEstimatedFees as xa, HsmCertificate as xi, ChallengeResponse as xn, zPaginated as xr, zDeviceClaim as xt, zUserRegistrationCreateInput as y, zAccountNetworkInfoFields as ya, zSignedMessageResponse as yi, AppRouter as yn, zCursorQuery as yr, WrappingKeyProvisioningEphemeralPubKey as yt, PortfolioSortBy as z, CARDANO_SPEC as za, zUserRegistrationChallengeResponse as zi, CreateTradelinkOrgEntityInput as zn, ActivationStatus as zr, zWebhookResponse as zt };
32772
- //# sourceMappingURL=app-lib-DBd4wGTx.d.mts.map
33093
+ export { PortfolioStatusFilter as $, zStake as $a, zPaginated as $i, zApproveVaultRequestInput as $n, AccountAllowedActionsResponse as $r, zWebhookResponse as $t, DeleteTradelinkExchangeInput as A, HEDERA_SPEC as Aa, zUserRegistrationChallenge as Ai, EntitySortBy as An, ChallengeType as Ar, OnboardingSeedChallenge as At, zTradelinkWhitelist as B, EthereumLikeEip1559FeeStrategy as Ba, DEFAULT_PAGE_SIZE as Bi, zCurrencyResponse as Bn, PsdModel as Br, zWrappingKeyFragmentInput as Bt, TradelinkNetworkResponse as C, TEZOS_SPEC as Ca, UserRegistrationDeviceData as Ci, RootWorkspaceRuleResponse as Cn, RateLimitMetricsMeta as Cr, AllowedResourcesResponse as Ct, zTradelinkNetworkResponse as D, RIPPLE_SPEC as Da, zPubKey as Di, zWorkspaceRuleResponse as Dn, AdminPermission as Dr, DeviceClaim as Dt, zTradelinkEntityResponse as E, SOLANA_SPEC as Ea, zPsdSignature as Ei, zRootWorkspaceRuleResponse as En, ActivationStatus as Er, zOpenApiResourceType as Et, zCreateTradelinkOrgEntityInput as F, CANTON_SPEC as Fa, HsmObjectType as Fi, CurrencyResponse as Fn, MessageType as Fr, zDeviceClaim as Ft, zReportInput as G, NetworkFamily as Ga, fetchAllCursorPages as Gi, EnsureNameAvailableInput as Gn, ResourceType as Gr, zCreateWebhookPayload as Gt, ReportInput as H, Validator as Ha, Paginated as Hi, AppRouter as Hn, RequestReviewStatus as Hr, DeleteWebhookResponse as Ht, zDeleteTradelinkOrgEntityInput as I, CantonTransferProposal as Ia, ObjectsContentResponse as Ii, TokenResponse as In, OnboardedUserRole as Ir, zOnboardingFullState as It, PortfolioAdminResponse as J, AccountFreshAddress as Ja, serializePage as Ji, RequestSortBy as Jn, UserDeviceType as Jr, zReplayFailedResponse as Jt, zReportResponse as K, zCommonLiveData as Ka, fetchAllPages as Ki, RequestDataOf as Kn, RevaultMode as Kr, zCreateWebhookResponse as Kt, zPledgeResponse as L, zCantonTransferProposal as La, ObjectsVersionResponse as Li, zAllAssetsResponse as Ln, OnboardingStep as Lr, zOnboardingId as Lt, TradelinkNetworkBlueprintResponse as M, GENERIC_SPEC as Ma, zUserRegistrationDeviceData as Mi, zEntitySortBy as Mn, GateUserType as Mr, WrappingKeyFragmentInput as Mt, TradelinkOrgEntityResponse as N, ETHEREUM_SPEC as Na, GetObjectsInfoResponse as Ni, AllAssetsResponse as Nn, HsmHostingMode as Nr, WrappingKeyProvisioningEphemeralPubKey as Nt, zTradelinkSettlementWithAccountAndExchangeInfoResponse as O, zRippleDestinationTag as Oa, zRefreshPskData as Oi, zWorkspaceRulesResponse as On, AllowedAction as Or, OnboardingFullState as Ot, zCreateTradelinkNetworkBlueprintInput as P, CARDANO_SPEC as Pa, HSM_OBJECT_TYPES as Pi, AssetResponse as Pn, MaintenanceMode as Pr, WrappingKeyResponse as Pt, PortfolioSortBy as Q, zBalance as Qa, zPageQuery as Qi, genTransactionSchemas as Qn, BackofficePermission as Qr, zWebhookDetailResponse as Qt, zTradelinkNetworkBlueprintResponse as R, BITCOIN_SPEC as Ra, VersionedObjectInfo as Ri, zAssetCapabilitiesResponse as Rn, OutgoingTransactionStatus as Rr, zOnboardingOpts as Rt, TradelinkEntityResponse as S, TRON_SPEC as Sa, UserRegistrationChallengeResponse as Si, zGroupSortBy as Sn, zApiUserCredentialsResponse as Sr, AllowedActionsResponse as St, zTradelinkCustodianResponse as T, STELLAR_SPEC as Ta, zPsdPairingInputData as Ti, WorkspaceRulesResponse as Tn, AccountType$1 as Tr, zAllowedResourcesResponse as Tt, ReportResponse as U, zEthereumLikeEip1559FeeStrategy as Ua, SortOrder as Ui, ApproveVaultRequestInput as Un, RequestState as Ur, UpdateWebhookPayload as Ut, ReportDownloadUrlResponse as V, StakingProvisioning as Va, PageQuery as Vi, zTokenResponse as Vn, ReportStatus as Vr, CreateWebhookPayload as Vt, zReportDownloadUrlResponse as W, zStakingProvisioning as Wa, emptyPage as Wi, ChallengeResponse as Wn, RequestType as Wr, WebhookResponse as Wt, PortfolioCurrentUserAccessResponse as X, zAccountFreshAddress as Xa, zCursorPaginated as Xi, VaultRequestResponse as Xn, WhitelistType as Xr, zUpdateWebhookPayload as Xt, PortfolioCreateInput as Y, AccountLiveDataResponse as Ya, stableOrdering as Yi, VaultRequestCreateInput as Yn, UserRole as Yr, zRotateWebhookSecretResponse as Yt, PortfolioHistoryEntryResponse as Z, zAccountLiveDataResponse as Za, zCursorQuery as Zi, VaultRequestResponseBase as Zn, ExtendedPrismaClient as Zr, zWebhookDeliveryResponse as Zt, UserRegistrationCreateInput as _, zNetworkAssetFields as _a, PsdSignature as _i, zAuditLogResponse as _n, OidcConfig as _r, zPortfolioAppliedState as _t, WhitelistResponse as a, StakingDataOf as aa, zAccountResponse as ai, SubProcessorRow as an, zSignMessageRequestInput as ar, zPortfolioCurrentUserAccessResponse as at, zUserRegistrationResponse as b, zTransactionResponse as ba, RefreshPskInputData as bi, GroupSortBy as bn, AuthResponse as br, zPolicyResponse as bt, zWhitelistAddressSortBy as c, TransactionResponse as ca, zCantonPreApprovalStateResponse as ci, zLegalInline as cn, ReviewStepWithUsers as cr, zPortfolioSortBy as ct, AdminResponse as d, convertTxToGovernableIntent as da, zSignedMessageResponse as di, zPrivacyNoticeSection as dn, EnsureNameAvailableOutput as dr, zPortfolioUpdateInput as dt, zSortOrder as ea, AccountResponse as ei, LegalContentBlock as en, zStakeSortBy as eo, zChallengeResponse as er, PortfolioSummary as et, UserResponse as f, getTxHsmProps as fa, ApiChallenge as fi, zPrivacyNoticeSectionId as fn, SoftChallenge as fr, zPortfoliosByAccountIdsInput as ft, zUserSortBy as g, zEstimatedFees as ga, PsdPairingInputData as gi, AuditLogSortBy as gn, zPsdAuthChallengeData as gr, normalizePortfolioName as gt, zUserResponse as h, zAccountStakingFields as ha, PsdPairingData as hi, AuditLogResponse as hn, PsdAuthChallengeData as hr, PortfolioAppliedState as ht, WhitelistAddressSortBy as i, SendOnlyTransactionData as ia, zAccountCommonFields as ii, PrivacyNoticeSection as in, Note as io, zSignDigestsRequestInput as ir, zPortfolioCreateInput as it, PledgeResponse as j, isErc20Address as ja, zUserRegistrationChallengeResponse as ji, zEntityResponse as jn, ClaimedRole as jr, OnboardingSeedFragment as jt, CreateTradelinkOrgEntityInput as k, POLKADOT_SPEC as ka, zRefreshPskInputData as ki, EntityResponse as kn, AuditLogType as kr, OnboardingOpts as kt, zWhitelistResponse as l, TransactionType as la, zCantonTransferProposalResponse as li, zLegalInlineContent as ln, zReviewStepsArray as lr, zPortfolioStatusFilter as lt, zAdminResponse as m, zAccountNetworkInfoFields as ma, PsdChallenge as mi, zSubProcessorsResponse as mn, BackofficePermissionMeta as mr, PORTFOLIO_NAME_MAX_LENGTH as mt, zWorkspaceResponse as n, AccountStakingFields as na, TransactionWithMetaResponse as ni, LegalInlineContent as nn, zStakingValidatorSortBy as no, zEnsureNameAvailableInput as nr, PortfoliosByAccountIdsResponse as nt, WhitelistSortBy as o, TransactionData as oa, zAccountSortBy as oi, SubProcessorsResponse as on, zVaultRequestCreateInput as or, zPortfolioHistoryEntryResponse as ot, UserSortBy as p, zAccountLiveData as pa, HsmCertificate as pi, zSubProcessorRow as pn, zEnsureNameAvailableOutput as pr, zPortfoliosByAccountIdsResponse as pt, zVisibleReportStatus as q, zTransactionStatus as qa, paginate as qi, RequestReview as qn, ReviewConfigType as qr, zDeleteWebhookResponse as qt, WhitelistAddressResponse as r, EstimatedFees as ra, zAccountAllowedActionsResponse as ri, PrivacyNoticeResponse as rn, zGovernableAction as ro, zRequestSortBy as rr, zPortfolioAdminResponse as rt, zWhitelistAddressResponse as s, TransactionDataOf as sa, zBitcoinUtxoResponse as si, zLegalContentBlock as sn, zVaultRequestResponse as sr, zPortfolioName as st, WorkspaceResponse as t, AccountNetworkInfoFields as ta, AccountSortBy as ti, LegalInline as tn, zStakingValidator as to, zCreateClassicAccountWithPolicyIdInput as tr, PortfolioUpdateInput as tt, zWhitelistSortBy as u, TransactionTypeOf as ua, zTransactionWithMetaResponse as ui, zPrivacyNoticeResponse as un, Challenge as ur, zPortfolioSummary as ut, UserRegistrationResponse as v, zSendOnlyTransactionData as va, PubKey as vi, zAuditLogSortBy as vn, zExchangeCredentialsResponse as vr, PolicyResponse as vt, TradelinkSettlementWithAccountAndExchangeInfoResponse as w, SUI_SPEC as wa, zPsdPairingData as wi, WorkspaceRuleResponse as wn, ActivityTracer as wr, zAllowedActionsResponse as wt, TradelinkCustodianResponse as x, zTransactionType as xa, UserRegistrationChallenge as xi, zGroupResponse as xn, zAuthResponse as xr, zPolicySortBy as xt, zUserRegistrationCreateInput as y, zTransactionData as ya, RefreshPskData as yi, GroupResponse as yn, zOidcConfig as yr, PolicySortBy as yt, zTradelinkOrgEntityResponse as z, BitcoinLikeBalance as za, CursorPaginated as zi, zAssetResponse as zn, PortfolioHistoryAction as zr, zOnboardingSeedFragment as zt };
33094
+ //# sourceMappingURL=app-lib-Dak2ZzBR.d.mts.map