@ledgerhq/revault-api 1.87.0 → 1.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,11 @@
1
1
  import z, { z as z$1 } from "zod";
2
2
  import "axios";
3
3
  import "pino";
4
- import { Account, AccountType, ActivationStatus, AdminPermission, AllowedAction, AuditLogType, Entity, EventAction, Group, ImpersonationEndReason, Prisma, PrismaClient, ReportStatus, ReportType, RequestSaga, RequestState, RequestType, ReviewConfig, TransactionScanResult, User, UserRegistration, VaultReport, VaultRequest, VaultRequestReview, Webhook, WebhookDeliveryStatus, WebhookRetryStrategy, WebhookRule, WebhookStatus, Workspace, WorkspaceRule } from "@/generated/prisma/client";
4
+ import { Account, AccountType, ActivationStatus, AdminPermission, AllowedAction, AuditLogType, Entity, EventAction, Group, ImpersonationEndReason, OutgoingTransactionStatus, Prisma, PrismaClient, ReportStatus, ReportType, RequestSaga, RequestState, RequestType, ReviewConfig, TransactionScanResult, User, UserRegistration, VaultReport, VaultRequest, VaultRequestReview, Webhook, WebhookDeliveryStatus, WebhookRetryStrategy, WebhookRule, WebhookStatus, Workspace, WorkspaceRule } from "@/generated/prisma/client";
5
5
  import "pg";
6
6
  import "jose";
7
7
  import "@ledgerhq/revault-notifier-types/redis-stream";
8
+ import { AssetClassId, TokenManagementAction, TokenRoleId, TokenTemplateId } from "@ledgerhq/revault-tokenization-templates";
8
9
  import "@trpc/server";
9
10
  import { OpenApiMeta } from "trpc-to-openapi";
10
11
  //#region src/shared/type-utils.d.ts
@@ -421,6 +422,8 @@ declare const zStake: z.ZodObject<{
421
422
  UNKNOWN: "UNKNOWN";
422
423
  }>;
423
424
  staked: z.ZodNullable<z.ZodString>;
425
+ effectiveBalance: z.ZodNullable<z.ZodString>;
426
+ totalBalance: z.ZodNullable<z.ZodString>;
424
427
  rewards: z.ZodObject<{
425
428
  total: z.ZodString;
426
429
  }, z.core.$strip>;
@@ -466,6 +469,8 @@ declare const zStakesPage: z.ZodObject<{
466
469
  UNKNOWN: "UNKNOWN";
467
470
  }>;
468
471
  staked: z.ZodNullable<z.ZodString>;
472
+ effectiveBalance: z.ZodNullable<z.ZodString>;
473
+ totalBalance: z.ZodNullable<z.ZodString>;
469
474
  rewards: z.ZodObject<{
470
475
  total: z.ZodString;
471
476
  }, z.core.$strip>;
@@ -774,15 +779,17 @@ declare const ChallengeType: {
774
779
  readonly SOFT: 'SOFT';
775
780
  };
776
781
  type ChallengeType = (typeof ChallengeType)[keyof typeof ChallengeType];
777
- declare const OutgoingTransactionStatus: {
782
+ declare const OutgoingTransactionStatus$1: {
778
783
  readonly SCHEDULED: 'SCHEDULED';
779
784
  readonly SUBMITTED: 'SUBMITTED';
780
785
  readonly ON_CHAIN: 'ON_CHAIN';
781
786
  readonly CONFIRMED: 'CONFIRMED';
782
787
  readonly DROPPED: 'DROPPED';
783
788
  readonly FAILED: 'FAILED';
789
+ readonly FAILED_ON_CHAIN: 'FAILED_ON_CHAIN';
790
+ readonly UNKNOWN: 'UNKNOWN';
784
791
  };
785
- type OutgoingTransactionStatus = (typeof OutgoingTransactionStatus)[keyof typeof OutgoingTransactionStatus];
792
+ type OutgoingTransactionStatus$1 = (typeof OutgoingTransactionStatus$1)[keyof typeof OutgoingTransactionStatus$1];
786
793
  declare const MessageType: {
787
794
  readonly EIP191: 'EIP191';
788
795
  readonly EIP712: 'EIP712';
@@ -913,6 +920,7 @@ declare const EventAction$1: {
913
920
  readonly TransactionConfirmed: 'TransactionConfirmed';
914
921
  readonly TransactionDropped: 'TransactionDropped';
915
922
  readonly TransactionFailed: 'TransactionFailed';
923
+ readonly TransactionUnknown: 'TransactionUnknown';
916
924
  readonly AccountBalanceUpdated: 'AccountBalanceUpdated';
917
925
  readonly UserSuspended: 'UserSuspended';
918
926
  readonly UserUnsuspended: 'UserUnsuspended';
@@ -985,20 +993,6 @@ declare const zExchangeCredentialsResponse: z$1.ZodDiscriminatedUnion<[z$1.ZodOb
985
993
  status: z$1.ZodLiteral<"NOT_PAIRED">;
986
994
  }, z$1.core.$strip>], "status">;
987
995
  //#endregion
988
- //#region src/core/authentication/psd-auth.d.ts
989
- declare const zPsdAuthChallengeData: z$1.ZodObject<{
990
- challengeId: z$1.ZodString;
991
- name: z$1.ZodString;
992
- role: z$1.ZodEnum<{
993
- readonly ADMIN: 'ADMIN';
994
- readonly OPERATOR: 'OPERATOR';
995
- readonly READ_ONLY_API_KEY: 'READ_ONLY_API_KEY';
996
- }>;
997
- keyHandle: z$1.ZodString;
998
- challenge: z$1.ZodString;
999
- }, z$1.core.$strip>;
1000
- type PsdAuthChallengeData = z$1.infer<typeof zPsdAuthChallengeData>;
1001
- //#endregion
1002
996
  //#region src/core/authentication/utils.d.ts
1003
997
  type BackofficeClaims = {
1004
998
  sub: string;
@@ -1023,23 +1017,20 @@ type LesWalletRegistrableSummary = {
1023
1017
  count: number;
1024
1018
  }>;
1025
1019
  };
1026
- type LesWalletRegistrationResult = {
1027
- accountId: string;
1028
- name: string;
1029
- workspaceName: string;
1030
- currency: string;
1031
- contractAddress: string | null;
1032
- status: "REGISTERED" | "BACKFILLED" | "FAILED";
1033
- /** Why the account failed. Empty when the account was repaired. */
1034
- detail?: string;
1035
- };
1036
- type LesWalletRegistrationReport = {
1037
- results: LesWalletRegistrationResult[];
1038
- numFixed: number;
1039
- numFailed: number;
1040
- /** Accounts left to register in the same scope after this batch. */
1041
- numRemaining: number;
1042
- };
1020
+ declare const zLesWalletRegistrationResult: z.ZodObject<{
1021
+ accountId: z.ZodString;
1022
+ name: z.ZodString;
1023
+ workspaceName: z.ZodString;
1024
+ currency: z.ZodString;
1025
+ contractAddress: z.ZodNullable<z.ZodString>;
1026
+ status: z.ZodEnum<{
1027
+ BACKFILLED: "BACKFILLED";
1028
+ FAILED: "FAILED";
1029
+ REGISTERED: "REGISTERED";
1030
+ }>;
1031
+ detail: z.ZodOptional<z.ZodString>;
1032
+ }, z.core.$strip>;
1033
+ type LesWalletRegistrationResult = z.infer<typeof zLesWalletRegistrationResult>;
1043
1034
  //#endregion
1044
1035
  //#region src/services/scan/summary.d.ts
1045
1036
  declare const zRiskLevelBase: z.ZodEnum<{
@@ -1101,721 +1092,6 @@ declare const zTransactionScanSummary: z.ZodObject<{
1101
1092
  tinyUrl: z.ZodString;
1102
1093
  }, z.core.$strip>;
1103
1094
  //#endregion
1104
- //#region src/core/requests/persistence.d.ts
1105
- type VaultRequestWithRelatedObjects = VaultRequest & {
1106
- reviews: VaultRequestReview[];
1107
- sagas: RequestSaga[];
1108
- scanResults: TransactionScanResult[];
1109
- };
1110
- //#endregion
1111
- //#region src/core/requests/read-models.d.ts
1112
- type RequestAggregate = VaultRequestWithRelatedObjects;
1113
- type RequestInflight = {
1114
- completionState: RequestAggregate["sagas"][number]["completionState"];
1115
- retryAfter: Date;
1116
- };
1117
- type RequestView = Omit<VaultRequestWithRelatedObjects, "sagas" | "scanResults"> & {
1118
- inflight?: RequestInflight;
1119
- scanHistory: TransactionScanSummary[];
1120
- };
1121
- //#endregion
1122
- //#region src/core/notifications/webhooks/operations.d.ts
1123
- type WebhookRuleData = {
1124
- actions: EventAction[];
1125
- requestTypes: RequestType[];
1126
- };
1127
- type WebhookRetryData = {
1128
- retryStrategy: WebhookRetryStrategy;
1129
- maxRetries: number;
1130
- initialIntervalMs: number;
1131
- };
1132
- type WebhookDeliveryRow = {
1133
- id: string;
1134
- status: WebhookDeliveryStatus;
1135
- payload: Prisma.JsonValue;
1136
- createdAt: Date;
1137
- replayedAt: Date | null;
1138
- };
1139
- type CreateWebhookInput = WebhookRetryData & {
1140
- workspaceName: string;
1141
- name: string;
1142
- description?: string;
1143
- url: string;
1144
- rules: WebhookRuleData[];
1145
- scopeUserIds: string[];
1146
- secret: string;
1147
- };
1148
- type UpdateWebhookInput = Partial<WebhookRetryData> & {
1149
- workspaceName: string;
1150
- id: string;
1151
- name?: string;
1152
- description?: string | null;
1153
- url?: string;
1154
- status?: WebhookStatus;
1155
- rules?: WebhookRuleData[];
1156
- scopeUserIds?: string[];
1157
- };
1158
- type PublicWebhook = Omit<Webhook, "secret">;
1159
- type WebhookWithRelations = PublicWebhook & {
1160
- rules: WebhookRule[];
1161
- scopeUsers: User[];
1162
- };
1163
- declare const updateWebhook: ({ workspaceName, id, url, status, rules, scopeUserIds, ...retry }: UpdateWebhookInput, prisma: PrismaClient) => Promise<WebhookWithRelations | null>;
1164
- type WebhookDeliveryStats = {
1165
- windowDays: number;
1166
- delivered: number;
1167
- failed: number;
1168
- successRate: number | null;
1169
- };
1170
- //#endregion
1171
- //#region src/shared/pagination.d.ts
1172
- declare const DEFAULT_PAGE_SIZE = 30;
1173
- /** Ceiling a caller may raise its own page size to, where the endpoint lets it. */
1174
- declare const MAX_PAGE_SIZE = 1000;
1175
- declare const zSortOrder: z.ZodDefault<z.ZodEnum<{
1176
- asc: "asc";
1177
- desc: "desc";
1178
- }>>;
1179
- type SortOrder = z.infer<typeof zSortOrder>;
1180
- declare const zPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
1181
- page: z.ZodNumber;
1182
- next: z.ZodNullable<z.ZodNumber>;
1183
- prev: z.ZodNullable<z.ZodNumber>;
1184
- pageSize: z.ZodNumber;
1185
- total: z.ZodNumber;
1186
- results: z.ZodArray<T>;
1187
- }>;
1188
- type Paginated<T> = z.infer<ReturnType<typeof zPaginated<z.ZodType<T>>>>;
1189
- declare const zCursorPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
1190
- next: z.ZodNullable<z.ZodString>;
1191
- results: z.ZodArray<T>;
1192
- }>;
1193
- type CursorPaginated<T> = z.infer<ReturnType<typeof zCursorPaginated<z.ZodType<T>>>>;
1194
- declare const zCursorQuery: z.ZodObject<{
1195
- cursor: z.ZodOptional<z.ZodString>;
1196
- }, z.core.$strip>;
1197
- declare const zPageQuery: z.ZodObject<{
1198
- page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1199
- pageSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1200
- }, z.core.$strip>;
1201
- type PageQuery = z.infer<typeof zPageQuery>;
1202
- type FindManyAndCountWithTakeAndSkip<T> = (opts: {
1203
- take: number;
1204
- skip: number;
1205
- }) => Promise<[T[], number]>;
1206
- /**
1207
- * Returns paginated results
1208
- */
1209
- declare const paginate: <T>(find: FindManyAndCountWithTakeAndSkip<T>, input: PageQuery) => Promise<Paginated<T>>;
1210
- type Ordering<T> = { [field in keyof T]?: SortOrder; };
1211
- /**
1212
- * Return a stable ordering for prisma model `T`.
1213
- *
1214
- * When querying objects ordered by a given field (e.g. `createdAt`), if multiple objects have the
1215
- * same value in that field, the ordering of those objects are not guaranteed to be stable across
1216
- * different queries. This could be a problem for pagination if they fall into the page boundary:
1217
- * Some object may appear in two pages while some other object may never appear. By appending the
1218
- * unique `id` field as a secondary ordering, we make the query results deterministic.
1219
- */
1220
- declare const stableOrdering: <T extends {
1221
- id: string | number;
1222
- }>(orderBy: Ordering<T> | Ordering<T>[]) => Ordering<T> | Ordering<T>[];
1223
- declare const serializePage: <T, U>(input: Paginated<T>, serialize: (obj: T) => Promise<U> | U) => Promise<Paginated<U>>;
1224
- declare const emptyPage: <T>(paginationQuery: {
1225
- page: number;
1226
- pageSize: number;
1227
- }) => Paginated<T>;
1228
- declare const fetchAllPages: <T>(fetchPage: (page: number) => Promise<Paginated<T>>) => Promise<T[]>;
1229
- declare const fetchAllCursorPages: <T>(fetchPage: (cursor: string | null) => Promise<CursorPaginated<T>>) => Promise<T[]>;
1230
- //#endregion
1231
- //#region src/core/accounts/filters.d.ts
1232
- type AccountWorkspaceScope = {
1233
- kind: "all";
1234
- } | {
1235
- kind: "many";
1236
- workspaceNames: string[];
1237
- } | {
1238
- kind: "single";
1239
- workspaceName: string;
1240
- } | {
1241
- kind: "matching";
1242
- workspaceNames: string[];
1243
- };
1244
- type AccountAssetMatch = {
1245
- network?: string;
1246
- contractAddress?: string | null;
1247
- tokenIdentifier?: string | null;
1248
- };
1249
- type AccountAssetFilter = {
1250
- kind: "anyOf";
1251
- anyOf: AccountAssetMatch[];
1252
- } | {
1253
- kind: "legacy";
1254
- networks?: string[];
1255
- contractAddress?: string | null;
1256
- tokenIdentifier?: string | null;
1257
- };
1258
- //#endregion
1259
- //#region src/core/accounts/quorum.d.ts
1260
- type QuorumAccountSource = {
1261
- kind: "individual";
1262
- } | {
1263
- kind: "group";
1264
- groupId: string;
1265
- };
1266
- type QuorumAccountEntry = {
1267
- account: AccountView;
1268
- sources: QuorumAccountSource[];
1269
- };
1270
- //#endregion
1271
- //#region src/core/hsm-comparison.d.ts
1272
- /** Comparators offered by the backoffice "Compare with HSM" diagnostic, one run at a time. */
1273
- declare const HSM_COMPARATORS: readonly ["whitelists", "workspace-name"];
1274
- type HsmComparator = (typeof HSM_COMPARATORS)[number];
1275
- /**
1276
- * Why a compared object diverges. Reasons are comparator-specific, but they share a single enum so
1277
- * the backoffice can count and group anomalies without knowing which comparator produced them.
1278
- */
1279
- declare const HSM_COMPARE_REASONS: readonly ["has-diffs", "missing-in-hsm", "missing-in-revault", "fetch-failed", "name-mismatch", "no-partition-found", "multiple-partitions-found"];
1280
- type HsmCompareReason = (typeof HSM_COMPARE_REASONS)[number];
1281
- /**
1282
- * One line of evidence under an anomaly. Values are stringified here rather than formatted, so the
1283
- * backoffice owns how a divergence reads on screen.
1284
- */
1285
- type HsmCompareDetail = {
1286
- kind: "field-diff";
1287
- /** Entry the field belongs to, or null when the field is on the object itself. */
1288
- scope: string | null;
1289
- field: string;
1290
- revault: string;
1291
- hsm: string;
1292
- } | {
1293
- kind: "only-in-revault";
1294
- entry: string;
1295
- } | {
1296
- kind: "only-in-hsm";
1297
- entry: string;
1298
- };
1299
- type HsmCompareAnomaly = {
1300
- reason: HsmCompareReason;
1301
- /** HSM object id, null for anomalies that are not about a single identified object. */
1302
- hsmId: string | null;
1303
- /** Revault-side name, null when only the HSM knows the object. */
1304
- name: string | null;
1305
- details: HsmCompareDetail[];
1306
- };
1307
- type HsmWorkspaceComparison = {
1308
- workspaceName: string;
1309
- /** Objects actually compared on both sides. Zero means there was nothing to compare. */
1310
- checked: number;
1311
- anomalies: HsmCompareAnomaly[];
1312
- };
1313
- //#endregion
1314
- //#region src/core/onboarding/read-models.d.ts
1315
- /** Options to start an onboarding. */
1316
- declare const zOnboardingOpts: z$1.ZodObject<{
1317
- workspaceName: z$1.ZodString;
1318
- compartmentId: z$1.ZodOptional<z$1.ZodNumber>;
1319
- mode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1320
- readonly GATE_COMPAT: 'GATE_COMPAT';
1321
- readonly STANDALONE: 'STANDALONE';
1322
- }>>>;
1323
- hsmHostingMode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1324
- readonly HOSTED: 'HOSTED';
1325
- readonly ON_PREM: 'ON_PREM';
1326
- }>>>;
1327
- targetHsmName: z$1.ZodOptional<z$1.ZodString>;
1328
- }, z$1.core.$strip>;
1329
- type OnboardingOpts = z$1.infer<typeof zOnboardingOpts>;
1330
- declare const zDeviceClaim: z$1.ZodObject<{
1331
- pubKey: z$1.ZodString;
1332
- confidentialityKey: z$1.ZodString;
1333
- deviceName: z$1.ZodString;
1334
- role: z$1.ZodEnum<{
1335
- readonly SHARED_OWNER: 'SHARED_OWNER';
1336
- readonly MASTER_ADMIN: 'MASTER_ADMIN';
1337
- }>;
1338
- }, z$1.core.$strip>;
1339
- type DeviceClaim = z$1.infer<typeof zDeviceClaim>;
1340
- declare const zOnboardingSeedChallenge: z$1.ZodObject<{
1341
- challengeType: z$1.ZodLiteral<"PSD">;
1342
- wActions: z$1.ZodArray<z$1.ZodString>;
1343
- handshake: z$1.ZodString;
1344
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1345
- partitionId: z$1.ZodString;
1346
- kkHandshake: z$1.ZodString;
1347
- kkHandshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1348
- ephemeralPublicKey: z$1.ZodString;
1349
- certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1350
- blob: z$1.ZodString;
1351
- }, z$1.core.$strip>;
1352
- type OnboardingSeedChallenge = z$1.infer<typeof zOnboardingSeedChallenge>;
1353
- declare const zOnboardingSeedFragment: z$1.ZodObject<{
1354
- approverBlob: z$1.ZodString;
1355
- challengeResponse: z$1.ZodString;
1356
- handshake: z$1.ZodString;
1357
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1358
- }, z$1.core.$strip>;
1359
- type OnboardingSeedFragment = z$1.infer<typeof zOnboardingSeedFragment>;
1360
- declare const zOnboardingId: z$1.ZodString;
1361
- declare const zWrappingKeyResponse: z$1.ZodObject<{
1362
- ephemeralPubKey: z$1.ZodString;
1363
- ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1364
- fragments: z$1.ZodArray<z$1.ZodObject<{
1365
- pubKey: z$1.ZodString;
1366
- ephemeralPubKey: z$1.ZodString;
1367
- ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1368
- blob: z$1.ZodString;
1369
- }, z$1.core.$strip>>;
1370
- }, z$1.core.$strip>;
1371
- type WrappingKeyResponse = z$1.infer<typeof zWrappingKeyResponse>;
1372
- /**
1373
- * Canonical onboarding response contract. Parse with this, not with `zOnboardingFullState`:
1374
- * the latter is loose and would let the internal `Onboarding` columns (`mode`, `compartmentId`,
1375
- * `targetHsmName`, `isLocked`) through into the public response.
1376
- */
1377
- declare const zOnboardingFullStateBase: z$1.ZodObject<{
1378
- id: z$1.ZodString;
1379
- workspaceName: z$1.ZodString;
1380
- hsmHostingMode: z$1.ZodEnum<{
1381
- readonly HOSTED: 'HOSTED';
1382
- readonly ON_PREM: 'ON_PREM';
1383
- }>;
1384
- step: z$1.ZodEnum<{
1385
- readonly PENDING_DEVICE_CLAIMS: 'PENDING_DEVICE_CLAIMS';
1386
- readonly PENDING_WRAPPING_KEY_PROVISIONING: 'PENDING_WRAPPING_KEY_PROVISIONING';
1387
- readonly PENDING_MASTER_ADMINS_REGISTRATION_INIT: 'PENDING_MASTER_ADMINS_REGISTRATION_INIT';
1388
- readonly PENDING_MASTER_ADMINS_REGISTRATION: 'PENDING_MASTER_ADMINS_REGISTRATION';
1389
- readonly PENDING_SHARED_OWNERS_REGISTRATION_INIT: 'PENDING_SHARED_OWNERS_REGISTRATION_INIT';
1390
- readonly PENDING_SHARED_OWNERS_REGISTRATION: 'PENDING_SHARED_OWNERS_REGISTRATION';
1391
- readonly PENDING_REVIEW_BY_MASTER_ADMINS: 'PENDING_REVIEW_BY_MASTER_ADMINS';
1392
- readonly PENDING_EXTERNAL_SIGNERS_REGISTRATION: 'PENDING_EXTERNAL_SIGNERS_REGISTRATION';
1393
- readonly PENDING_SEED_PROVISIONING: 'PENDING_SEED_PROVISIONING';
1394
- readonly PENDING_WORKSPACE_INITIALIZATION: 'PENDING_WORKSPACE_INITIALIZATION';
1395
- readonly COMPLETED: 'COMPLETED';
1396
- }>;
1397
- claimedDevices: z$1.ZodArray<z$1.ZodObject<{
1398
- pubKey: z$1.ZodString;
1399
- deviceUserId: z$1.ZodString;
1400
- deviceName: z$1.ZodString;
1401
- role: z$1.ZodEnum<{
1402
- readonly WRAPPING_KEY_OWNER: 'WRAPPING_KEY_OWNER';
1403
- readonly SHARED_OWNER: 'SHARED_OWNER';
1404
- readonly MASTER_ADMIN: 'MASTER_ADMIN';
1405
- }>;
1406
- }, z$1.core.$strip>>;
1407
- wrappingKey: z$1.ZodNullable<z$1.ZodObject<{
1408
- ephemeralPubKey: z$1.ZodString;
1409
- ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1410
- fragments: z$1.ZodArray<z$1.ZodObject<{
1411
- pubKey: z$1.ZodString;
1412
- ephemeralPubKey: z$1.ZodString;
1413
- ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1414
- blob: z$1.ZodString;
1415
- }, z$1.core.$strip>>;
1416
- }, z$1.core.$strip>>;
1417
- masterAdmins: z$1.ZodArray<z$1.ZodObject<{
1418
- name: z$1.ZodString;
1419
- psdModel: z$1.ZodLiteral<"STAX">;
1420
- pubKey: z$1.ZodString;
1421
- registrationChallenge: z$1.ZodObject<{
1422
- challenge: z$1.ZodString;
1423
- ephemeralPublicKey: z$1.ZodString;
1424
- ephemeralPublicKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1425
- handshake: z$1.ZodString;
1426
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1427
- u2fRegisterData: z$1.ZodString;
1428
- ciphertext: z$1.ZodString;
1429
- requestId: z$1.ZodString;
1430
- }, z$1.core.$strip>;
1431
- registrationResponse: z$1.ZodNullable<z$1.ZodObject<{
1432
- certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1433
- u2fRegister: z$1.ZodString;
1434
- u2fKeyHandle: z$1.ZodString;
1435
- registerData: z$1.ZodString;
1436
- validationKey: z$1.ZodString;
1437
- pairingPayload: z$1.ZodString;
1438
- }, z$1.core.$strip>>;
1439
- role: z$1.ZodLiteral<"MASTER_ADMIN">;
1440
- review: z$1.ZodNullable<z$1.ZodObject<{
1441
- challenge: z$1.ZodObject<{
1442
- challengeType: z$1.ZodLiteral<"PSD">;
1443
- wActions: z$1.ZodArray<z$1.ZodString>;
1444
- handshake: z$1.ZodString;
1445
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1446
- partitionId: z$1.ZodString;
1447
- }, z$1.core.$strip>;
1448
- signature: z$1.ZodNullable<z$1.ZodString>;
1449
- }, z$1.core.$strip>>;
1450
- reviewOfExternalSigners: z$1.ZodNullable<z$1.ZodObject<{
1451
- challenge: z$1.ZodObject<{
1452
- challengeType: z$1.ZodLiteral<"PSD">;
1453
- wActions: z$1.ZodArray<z$1.ZodString>;
1454
- handshake: z$1.ZodString;
1455
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1456
- partitionId: z$1.ZodString;
1457
- }, z$1.core.$strip>;
1458
- signature: z$1.ZodNullable<z$1.ZodString>;
1459
- }, z$1.core.$strip>>;
1460
- }, z$1.core.$strip>>;
1461
- sharedOwners: z$1.ZodArray<z$1.ZodObject<{
1462
- name: z$1.ZodString;
1463
- psdModel: z$1.ZodLiteral<"STAX">;
1464
- pubKey: z$1.ZodString;
1465
- registrationChallenge: z$1.ZodObject<{
1466
- challenge: z$1.ZodString;
1467
- ephemeralPublicKey: z$1.ZodString;
1468
- ephemeralPublicKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1469
- handshake: z$1.ZodString;
1470
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1471
- u2fRegisterData: z$1.ZodString;
1472
- ciphertext: z$1.ZodString;
1473
- requestId: z$1.ZodString;
1474
- }, z$1.core.$strip>;
1475
- registrationResponse: z$1.ZodNullable<z$1.ZodObject<{
1476
- certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1477
- u2fRegister: z$1.ZodString;
1478
- u2fKeyHandle: z$1.ZodString;
1479
- registerData: z$1.ZodString;
1480
- validationKey: z$1.ZodString;
1481
- pairingPayload: z$1.ZodString;
1482
- }, z$1.core.$strip>>;
1483
- role: z$1.ZodLiteral<"SHARED_OWNER">;
1484
- review: z$1.ZodNullable<z$1.ZodObject<{
1485
- seedChallenge: z$1.ZodObject<{
1486
- challengeType: z$1.ZodLiteral<"PSD">;
1487
- wActions: z$1.ZodArray<z$1.ZodString>;
1488
- handshake: z$1.ZodString;
1489
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1490
- partitionId: z$1.ZodString;
1491
- kkHandshake: z$1.ZodString;
1492
- kkHandshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1493
- ephemeralPublicKey: z$1.ZodString;
1494
- certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1495
- blob: z$1.ZodString;
1496
- }, z$1.core.$strip>;
1497
- seedFragment: z$1.ZodNullable<z$1.ZodObject<{
1498
- approverBlob: z$1.ZodString;
1499
- challengeResponse: z$1.ZodString;
1500
- handshake: z$1.ZodString;
1501
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1502
- }, z$1.core.$strip>>;
1503
- }, z$1.core.$strip>>;
1504
- }, z$1.core.$strip>>;
1505
- createdAt: z$1.ZodCoercedDate<unknown>;
1506
- completedAt: z$1.ZodNullable<z$1.ZodCoercedDate<unknown>>;
1507
- }, z$1.core.$strip>;
1508
- declare const zOnboardingFullState: typeof zOnboardingFullStateBase;
1509
- type OnboardingFullState = z$1.infer<typeof zOnboardingFullState>;
1510
- //#endregion
1511
- //#region src/services/hsm/types.d.ts
1512
- declare const zPubKey: z$1.ZodString;
1513
- type PubKey = z$1.infer<typeof zPubKey>;
1514
- /**
1515
- * Nominal shape for an HSM attestation certificate.
1516
- *
1517
- * Boxed into an explicit-field `type` alias so the published declaration bundle references
1518
- * it by name at every embed (it appears in many challenge/registration/onboarding shapes)
1519
- * instead of re-inlining the four base64 fields on each. A `type` object literal (not an
1520
- * `interface`) is used so the shape stays assignable to Prisma `Json` columns. Kept in sync
1521
- * with the schema by the drift guard below.
1522
- */
1523
- type HsmCertificate = {
1524
- codeHash: string;
1525
- attestationPub: string;
1526
- certificate: string;
1527
- signature: string;
1528
- };
1529
- declare const zPsdChallenge: z$1.ZodObject<{
1530
- challengeType: z$1.ZodLiteral<"PSD">;
1531
- wActions: z$1.ZodArray<z$1.ZodString>;
1532
- handshake: z$1.ZodString;
1533
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1534
- partitionId: z$1.ZodString;
1535
- }, z$1.core.$strip>;
1536
- type PsdChallenge = z$1.infer<typeof zPsdChallenge>;
1537
- declare const zApiChallenge: z$1.ZodObject<{
1538
- challengeType: z$1.ZodLiteral<"API">;
1539
- payload: z$1.ZodObject<{
1540
- approve: z$1.ZodString;
1541
- reject: z$1.ZodString;
1542
- }, z$1.core.$strip>;
1543
- }, z$1.core.$strip>;
1544
- type ApiChallenge = z$1.infer<typeof zApiChallenge>;
1545
- declare const zPsdSignature: z$1.ZodString;
1546
- type PsdSignature = z$1.infer<typeof zPsdSignature>;
1547
- /**
1548
- * Device data submitted by the invited user, to generate a registration challenge.
1549
- */
1550
- declare const zUserRegistrationDeviceData: z$1.ZodObject<{
1551
- name: z$1.ZodString;
1552
- psdModel: z$1.ZodLiteral<"STAX">;
1553
- pubKey: z$1.ZodString;
1554
- confidentialityKey: z$1.ZodString;
1555
- psdEphemeralKey: z$1.ZodString;
1556
- psdEphemeralKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1557
- }, z$1.core.$strip>;
1558
- type UserRegistrationDeviceData = z$1.infer<typeof zUserRegistrationDeviceData>;
1559
- /**
1560
- * Registration challenge for the invited user, generated by HSM.
1561
- */
1562
- declare const zUserRegistrationChallenge: z$1.ZodObject<{
1563
- challenge: z$1.ZodString;
1564
- ephemeralPublicKey: z$1.ZodString;
1565
- ephemeralPublicKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1566
- handshake: z$1.ZodString;
1567
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1568
- u2fRegisterData: z$1.ZodString;
1569
- ciphertext: z$1.ZodString;
1570
- requestId: z$1.ZodString;
1571
- }, z$1.core.$strip>;
1572
- type UserRegistrationChallenge = z$1.infer<typeof zUserRegistrationChallenge>;
1573
- /**
1574
- * Response to the user registration challenge, submitted by the invited user.
1575
- */
1576
- declare const zUserRegistrationChallengeResponse: z$1.ZodObject<{
1577
- certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1578
- u2fRegister: z$1.ZodString;
1579
- u2fKeyHandle: z$1.ZodString;
1580
- registerData: z$1.ZodString;
1581
- validationKey: z$1.ZodString;
1582
- pairingPayload: z$1.ZodString;
1583
- }, z$1.core.$strip>;
1584
- type UserRegistrationChallengeResponse = z$1.infer<typeof zUserRegistrationChallengeResponse>;
1585
- declare const zPsdPairingInputData: z$1.ZodObject<{
1586
- confidentialityKeyCurve25519: z$1.ZodString;
1587
- confidentialityKeySignature: z$1.ZodString;
1588
- }, z$1.core.$strip>;
1589
- type PsdPairingInputData = z$1.infer<typeof zPsdPairingInputData>;
1590
- declare const zPsdPairingData: z$1.ZodObject<{
1591
- pairing: z$1.ZodObject<{
1592
- workspaceName: z$1.ZodString;
1593
- partitionKey: z$1.ZodString;
1594
- bootstrapEnabled: z$1.ZodBoolean;
1595
- }, z$1.core.$strip>;
1596
- partitionKeyAttestation: z$1.ZodObject<{
1597
- codeHash: z$1.ZodString;
1598
- attestationPub: z$1.ZodString;
1599
- certificate: z$1.ZodString;
1600
- signature: z$1.ZodString;
1601
- }, z$1.core.$strip>;
1602
- blob: z$1.ZodString;
1603
- }, z$1.core.$strip>;
1604
- type PsdPairingData = z$1.infer<typeof zPsdPairingData>;
1605
- declare const zRefreshPskInputData: z$1.ZodObject<{
1606
- psdEphemeralKey: z$1.ZodBase64;
1607
- psdEphemeralKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1608
- validationKeySignature: z$1.ZodBase64;
1609
- }, z$1.core.$strip>;
1610
- type RefreshPskInputData = z$1.infer<typeof zRefreshPskInputData>;
1611
- declare const zRefreshPskData: z$1.ZodObject<{
1612
- handshake: z$1.ZodBase64;
1613
- handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
1614
- encryptedPairingPayload: z$1.ZodBase64;
1615
- }, z$1.core.$strip>;
1616
- type RefreshPskData = z$1.infer<typeof zRefreshPskData>;
1617
- //#endregion
1618
- //#region src/services/hsm/hsm-requests-types.d.ts
1619
- declare const HSM_OBJECT_TYPES: readonly ["Account", "AdminGroup", "AssetManager", "Exchange", "Group", "Partition", "PledgeState", "Policy", "AccountRuleSet", "Tradelink", "User", "WalletAccountList", "Whitelist"];
1620
- type HsmObjectType = (typeof HSM_OBJECT_TYPES)[number];
1621
- declare const zObjectsVersionResponse: z.ZodObject<{
1622
- cid: z.ZodCoercedString<unknown>;
1623
- total_accounts: z.ZodNumber;
1624
- accounts_report: z.ZodRecord<z.ZodString, z.ZodNumber>;
1625
- total_objects: z.ZodNumber;
1626
- objects_report: z.ZodRecord<z.ZodString, z.ZodNumber>;
1627
- }, z.core.$strip>;
1628
- type ObjectsVersionResponse = z.infer<typeof zObjectsVersionResponse>;
1629
- declare const zVersionedObjectInfo: z.ZodObject<{
1630
- uid: z.ZodString;
1631
- object_type: z.ZodString;
1632
- index: z.ZodNumber;
1633
- hsm_object_type_id: z.ZodNumber;
1634
- anti_replay_value: z.ZodNumber;
1635
- expected_anti_replay_value: z.ZodNumber;
1636
- schema_version: z.ZodNumber;
1637
- }, z.core.$strip>;
1638
- type VersionedObjectInfo = z.infer<typeof zVersionedObjectInfo>;
1639
- declare const zGetObjectsInfoResponse: z.ZodObject<{
1640
- cid: z.ZodCoercedString<unknown>;
1641
- uid: z.ZodNullable<z.ZodString>;
1642
- objects_count: z.ZodNumber;
1643
- hsm_requests_count: z.ZodNumber;
1644
- status: z.ZodString;
1645
- valid_objects: z.ZodArray<z.ZodObject<{
1646
- uid: z.ZodString;
1647
- object_type: z.ZodString;
1648
- index: z.ZodNumber;
1649
- hsm_object_type_id: z.ZodNumber;
1650
- anti_replay_value: z.ZodNumber;
1651
- expected_anti_replay_value: z.ZodNumber;
1652
- schema_version: z.ZodNumber;
1653
- }, z.core.$strip>>;
1654
- invalid_objects: z.ZodArray<z.ZodObject<{
1655
- uid: z.ZodString;
1656
- object_type: z.ZodString;
1657
- index: z.ZodNumber;
1658
- hsm_object_type_id: z.ZodNumber;
1659
- anti_replay_value: z.ZodNumber;
1660
- expected_anti_replay_value: z.ZodNumber;
1661
- schema_version: z.ZodNumber;
1662
- }, z.core.$strip>>;
1663
- objects_missing_merkle_tree_id: z.ZodArray<z.ZodString>;
1664
- }, z.core.$strip>;
1665
- type GetObjectsInfoResponse = z.infer<typeof zGetObjectsInfoResponse>;
1666
- declare const zObjectsContentResponse: z.ZodObject<{
1667
- cid: z.ZodCoercedString<unknown>;
1668
- uid: z.ZodNullable<z.ZodString>;
1669
- objects_count: z.ZodNumber;
1670
- hsm_requests_count: z.ZodNumber;
1671
- status: z.ZodString;
1672
- object_contents: z.ZodArray<z.ZodUnknown>;
1673
- objects_missing_merkle_tree_id: z.ZodArray<z.ZodString>;
1674
- }, z.core.$strip>;
1675
- type ObjectsContentResponse = z.infer<typeof zObjectsContentResponse>;
1676
- //#endregion
1677
- //#region src/services/hsm/hsm-proxy.d.ts
1678
- declare const zExternalSignerAuthKeypair: z.ZodObject<{
1679
- publicKey: z.ZodBase64;
1680
- }, z.core.$strip>;
1681
- type ExternalSignerAuthKeypair = z.infer<typeof zExternalSignerAuthKeypair>;
1682
- type HsmProxyOptions = {
1683
- workspaceName: string;
1684
- targetHsmName: string;
1685
- compartmentId: number;
1686
- requestId?: string;
1687
- };
1688
- /**
1689
- * Low-level HSM Proxy client which communicates with the HSM driver service.
1690
- * This class is used internally by HSM services. It is not exposed as public API.
1691
- */
1692
- declare class HsmProxy {
1693
- private readonly compartmentId;
1694
- private readonly httpClient;
1695
- private readonly requestId?;
1696
- constructor(opts: HsmProxyOptions);
1697
- get(urlPath: string, params?: Record<string, string | string[] | undefined>): Promise<unknown>;
1698
- post(urlPath: string, data: Record<string, unknown>): Promise<unknown>;
1699
- put(urlPath: string, data: Record<string, unknown>): Promise<unknown>;
1700
- delete(urlPath: string): Promise<unknown>;
1701
- pairDevicePartition(userPubKey: string, input: PsdPairingInputData): Promise<PsdPairingData>;
1702
- refreshPsk(userPubKey: string, input: RefreshPskInputData): Promise<RefreshPskData>;
1703
- wipe(): Promise<void>;
1704
- insertExternalSignerSeed(seed: string): Promise<void>;
1705
- registerExternalSigner(): Promise<ExternalSignerAuthKeypair>;
1706
- getObjectsVersion(): Promise<ObjectsVersionResponse>;
1707
- getObjectsInfo(filter?: {
1708
- uid?: string;
1709
- objectTypes?: string[];
1710
- }): Promise<GetObjectsInfoResponse>;
1711
- getObjectsContent(filter?: {
1712
- uid?: string;
1713
- objectTypes?: string[];
1714
- }): Promise<ObjectsContentResponse>;
1715
- }
1716
- //#endregion
1717
- //#region src/core/prisma-utils/utils.d.ts
1718
- /** A Prisma transaction client with all the dollar methods omitted from `PrismaClient`. */
1719
- type PrismaTxClient = Omit<PrismaClient, `$${string}`>;
1720
- //#endregion
1721
- //#region src/core/users/provisioning.d.ts
1722
- declare class HsmUserRegistrationService {
1723
- private readonly proxy;
1724
- private constructor();
1725
- static forWorkspace(workspace: Workspace): HsmUserRegistrationService;
1726
- /** Pre-Workspace onboarding has no maintenance mode and is deliberately outside this fence. */
1727
- static forPreWorkspaceOnboarding(opts: {
1728
- workspaceName: string;
1729
- compartmentId: number;
1730
- targetHsmName: string;
1731
- }): HsmUserRegistrationService;
1732
- generateChallenge(data: UserRegistrationDeviceData): Promise<UserRegistrationChallenge>;
1733
- commitChallenge(user: {
1734
- pubKey: PubKey;
1735
- name: string;
1736
- role: "SHARED_OWNER" | "ADMIN" | "OPERATOR";
1737
- }, data: UserRegistrationChallengeResponse): Promise<void>;
1738
- abortChallenge(user: {
1739
- pubKey: PubKey;
1740
- }): Promise<void>;
1741
- }
1742
- //#endregion
1743
- //#region src/core/onboarding/actions/action-builder.d.ts
1744
- type ZeroOrOne<T> = T extends undefined ? [] : [T];
1745
- type OnboardingAction<T> = (onboardingId: string, prisma: PrismaClient, ...args: ZeroOrOne<T>) => Promise<OnboardingFullState>;
1746
- //#endregion
1747
- //#region src/core/onboarding/index.d.ts
1748
- declare const startOnboarding: (prisma: PrismaClient, onboardingOpts: OnboardingOpts) => Promise<OnboardingFullState>;
1749
- //#endregion
1750
- //#region src/core/requests/catalog.d.ts
1751
- type RequestWorkspaceScope = {
1752
- kind: "all";
1753
- } | {
1754
- kind: "single";
1755
- workspaceName: string;
1756
- } | {
1757
- kind: "matching";
1758
- workspaceNames: string[];
1759
- };
1760
- type RequestListVisibility = {
1761
- kind: "backoffice";
1762
- } | {
1763
- kind: "workspace-user";
1764
- user: User;
1765
- };
1766
- type RequestListCriteria = {
1767
- types?: RequestType | RequestType[];
1768
- states?: RequestState | RequestState[];
1769
- targetId?: string;
1770
- targetIds?: string[];
1771
- portfolioIds?: string[];
1772
- createdById?: string;
1773
- reviewedById?: string;
1774
- pendingById?: string;
1775
- fromDate?: Date;
1776
- toDate?: Date;
1777
- support?: "standalone" | "legacy";
1778
- tokenizedAssetIds?: string[];
1779
- };
1780
- type RequestListFilters = {
1781
- workspace: RequestWorkspaceScope;
1782
- visibility: RequestListVisibility;
1783
- criteria: RequestListCriteria;
1784
- pagination: PageQuery;
1785
- sort: {
1786
- sortBy: "state" | "expiresAt" | "createdAt" | "updatedAt";
1787
- sortOrder: SortOrder;
1788
- };
1789
- };
1790
- //#endregion
1791
- //#region src/core/whitelists/read-models.d.ts
1792
- type WhitelistSortBy$1 = "name" | "status" | "addressCount" | "createdAt" | "updatedAt";
1793
- //#endregion
1794
- //#region src/core/administration/audit.d.ts
1795
- /**
1796
- * Record a backoffice mutation in the `AuditLog` table.
1797
- *
1798
- * Every mutation performed through the backoffice surface must leave a trace of *who* changed
1799
- * *what*. The acting operator is identified by the verified backoffice JWT claims (`sub` is the
1800
- * Keycloak subject); never by a workspace `User`.
1801
- *
1802
- * The audit log is normally workspace-scoped via the `workspaceName` FK. Some backoffice actions
1803
- * happen *before* the workspace exists (e.g. starting an onboarding), so `workspaceName` is
1804
- * optional: when omitted, the entry is not FK-attached to a workspace and the relevant identifiers
1805
- * are carried in `changes` instead.
1806
- */
1807
- type BackofficeAuditLogInput = {
1808
- actor: BackofficeClaims;
1809
- /** Defaults to a resource edition. Pass `BACKOFFICE_RESOURCE_CREATED` for creations. */
1810
- type?: typeof AuditLogType.BACKOFFICE_RESOURCE_EDITED | typeof AuditLogType.BACKOFFICE_RESOURCE_CREATED;
1811
- /** Owning workspace, when it already exists. Omitted for pre-workspace actions (onboardings). */
1812
- workspaceName?: string | null;
1813
- resource: string;
1814
- resourceId: string;
1815
- requiredPermission: BackofficePermission;
1816
- changes: Record<string, unknown>;
1817
- };
1818
- //#endregion
1819
1095
  //#region src/core/types/common.d.ts
1820
1096
  type Note = {
1821
1097
  title: string;
@@ -2652,7 +1928,6 @@ declare const ETHEREUM_SPEC: {
2652
1928
  validatorPubKey: z$1.ZodCodec<z$1.ZodString, z$1.ZodString>;
2653
1929
  maxExecutionFees: z$1.ZodOptional<z$1.ZodString>;
2654
1930
  }, z$1.core.$strip>, z$1.ZodObject<{
2655
- amount: z$1.ZodString;
2656
1931
  currency: z$1.ZodString;
2657
1932
  maxFee: z$1.ZodNullable<z$1.ZodString>;
2658
1933
  replacingTxHash: z$1.ZodOptional<z$1.ZodString>;
@@ -2680,8 +1955,8 @@ declare const ETHEREUM_SPEC: {
2680
1955
  sourcePubKey: z$1.ZodCodec<z$1.ZodString, z$1.ZodString>;
2681
1956
  targetPubKey: z$1.ZodCodec<z$1.ZodString, z$1.ZodString>;
2682
1957
  maxExecutionFees: z$1.ZodOptional<z$1.ZodString>;
1958
+ sourceStakedAmount: z$1.ZodOptional<z$1.ZodString>;
2683
1959
  }, z$1.core.$strip>, z$1.ZodObject<{
2684
- amount: z$1.ZodString;
2685
1960
  currency: z$1.ZodString;
2686
1961
  maxFee: z$1.ZodNullable<z$1.ZodString>;
2687
1962
  replacingTxHash: z$1.ZodOptional<z$1.ZodString>;
@@ -3064,7 +2339,6 @@ declare const ETHEREUM_SPEC: {
3064
2339
  validatorPubKey: string;
3065
2340
  maxExecutionFees?: string | undefined;
3066
2341
  } | {
3067
- amount: string;
3068
2342
  currency: string;
3069
2343
  maxFee: string | null;
3070
2344
  replacingTxHash?: string | undefined;
@@ -3082,8 +2356,8 @@ declare const ETHEREUM_SPEC: {
3082
2356
  sourcePubKey: string;
3083
2357
  targetPubKey: string;
3084
2358
  maxExecutionFees?: string | undefined;
2359
+ sourceStakedAmount?: string | undefined;
3085
2360
  } | {
3086
- amount: string;
3087
2361
  currency: string;
3088
2362
  maxFee: string | null;
3089
2363
  replacingTxHash?: string | undefined;
@@ -5611,7 +4885,6 @@ declare const zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
5611
4885
  validatorPubKey: z.ZodCodec<z.ZodString, z.ZodString>;
5612
4886
  maxExecutionFees: z.ZodOptional<z.ZodString>;
5613
4887
  }, z.core.$strip>, z.ZodObject<{
5614
- amount: z.ZodString;
5615
4888
  currency: z.ZodString;
5616
4889
  maxFee: z.ZodNullable<z.ZodString>;
5617
4890
  replacingTxHash: z.ZodOptional<z.ZodString>;
@@ -5639,8 +4912,8 @@ declare const zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
5639
4912
  sourcePubKey: z.ZodCodec<z.ZodString, z.ZodString>;
5640
4913
  targetPubKey: z.ZodCodec<z.ZodString, z.ZodString>;
5641
4914
  maxExecutionFees: z.ZodOptional<z.ZodString>;
4915
+ sourceStakedAmount: z.ZodOptional<z.ZodString>;
5642
4916
  }, z.core.$strip>, z.ZodObject<{
5643
- amount: z.ZodString;
5644
4917
  currency: z.ZodString;
5645
4918
  maxFee: z.ZodNullable<z.ZodString>;
5646
4919
  replacingTxHash: z.ZodOptional<z.ZodString>;
@@ -6748,21 +6021,749 @@ declare const zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
6748
6021
  SUCCESSFUL: "SUCCESSFUL";
6749
6022
  UNKNOWN: "UNKNOWN";
6750
6023
  }>;
6751
- confirmations: z.ZodString;
6752
- amount: z.ZodString;
6753
- fee: z.ZodString;
6754
- senders: z.ZodArray<z.ZodString>;
6755
- recipients: z.ZodArray<z.ZodString>;
6756
- type: z.ZodEnum<{
6757
- TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
6758
- TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
6759
- TRON_LIKE_SEND: "TRON_LIKE_SEND";
6760
- TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
6024
+ confirmations: z.ZodString;
6025
+ amount: z.ZodString;
6026
+ fee: z.ZodString;
6027
+ senders: z.ZodArray<z.ZodString>;
6028
+ recipients: z.ZodArray<z.ZodString>;
6029
+ type: z.ZodEnum<{
6030
+ TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
6031
+ TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
6032
+ TRON_LIKE_SEND: "TRON_LIKE_SEND";
6033
+ TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
6034
+ }>;
6035
+ }, z.core.$strip>], "type">;
6036
+ type TransactionResponse = z.infer<typeof zTransactionResponse>;
6037
+ declare const getTxHsmProps: (tx: TransactionData, account: Account, context?: TxHsmPropsContext) => Promise<TxHsmProps>;
6038
+ declare const convertTxToGovernableIntent: (tx: TransactionData) => GovernableIntent;
6039
+ //#endregion
6040
+ //#region src/core/scan/supported-types.d.ts
6041
+ /**
6042
+ * Whether Transaction Check applies to this exact transaction type. This is only the type half of
6043
+ * the scope: API code that has the account must use `isInTransactionCheckScope` from
6044
+ * `@/core/accounts/transactions`, which also checks that les-wallet can scan the account.
6045
+ *
6046
+ * Kept free of runtime imports: `@ledgerhq/revault-api` publishes it to clients.
6047
+ */
6048
+ declare const isTransactionCheckSupportedType: (type: TransactionType) => boolean;
6049
+ //#endregion
6050
+ //#region src/core/requests/persistence.d.ts
6051
+ type VaultRequestWithRelatedObjects = VaultRequest & {
6052
+ reviews: VaultRequestReview[];
6053
+ sagas: RequestSaga[];
6054
+ scanResults: TransactionScanResult[];
6055
+ };
6056
+ //#endregion
6057
+ //#region src/core/requests/read-models.d.ts
6058
+ type RequestAggregate = VaultRequestWithRelatedObjects;
6059
+ type RequestInflight = {
6060
+ completionState: RequestAggregate["sagas"][number]["completionState"];
6061
+ retryAfter: Date;
6062
+ };
6063
+ type RequestView = Omit<VaultRequestWithRelatedObjects, "sagas" | "scanResults"> & {
6064
+ inflight?: RequestInflight;
6065
+ scanHistory: TransactionScanSummary[];
6066
+ };
6067
+ //#endregion
6068
+ //#region src/core/notifications/webhooks/operations.d.ts
6069
+ type WebhookRuleData = {
6070
+ actions: EventAction[];
6071
+ requestTypes: RequestType[];
6072
+ };
6073
+ type WebhookRetryData = {
6074
+ retryStrategy: WebhookRetryStrategy;
6075
+ maxRetries: number;
6076
+ initialIntervalMs: number;
6077
+ };
6078
+ type WebhookDeliveryRow = {
6079
+ id: string;
6080
+ status: WebhookDeliveryStatus;
6081
+ payload: Prisma.JsonValue;
6082
+ createdAt: Date;
6083
+ replayedAt: Date | null;
6084
+ };
6085
+ type CreateWebhookInput = WebhookRetryData & {
6086
+ workspaceName: string;
6087
+ name: string;
6088
+ description?: string;
6089
+ url: string;
6090
+ rules: WebhookRuleData[];
6091
+ scopeUserIds: string[];
6092
+ secret: string;
6093
+ };
6094
+ type UpdateWebhookInput = Partial<WebhookRetryData> & {
6095
+ workspaceName: string;
6096
+ id: string;
6097
+ name?: string;
6098
+ description?: string | null;
6099
+ url?: string;
6100
+ status?: WebhookStatus;
6101
+ rules?: WebhookRuleData[];
6102
+ scopeUserIds?: string[];
6103
+ };
6104
+ type PublicWebhook = Omit<Webhook, "secret">;
6105
+ type WebhookWithRelations = PublicWebhook & {
6106
+ rules: WebhookRule[];
6107
+ scopeUsers: User[];
6108
+ };
6109
+ declare const updateWebhook: ({ workspaceName, id, url, status, rules, scopeUserIds, ...retry }: UpdateWebhookInput, prisma: PrismaClient) => Promise<WebhookWithRelations | null>;
6110
+ type WebhookDeliveryStats = {
6111
+ windowDays: number;
6112
+ delivered: number;
6113
+ failed: number;
6114
+ successRate: number | null;
6115
+ };
6116
+ //#endregion
6117
+ //#region src/shared/pagination.d.ts
6118
+ declare const DEFAULT_PAGE_SIZE = 30;
6119
+ /** Ceiling a caller may raise its own page size to, where the endpoint lets it. */
6120
+ declare const MAX_PAGE_SIZE = 1000;
6121
+ declare const zSortOrder: z.ZodDefault<z.ZodEnum<{
6122
+ asc: "asc";
6123
+ desc: "desc";
6124
+ }>>;
6125
+ type SortOrder = z.infer<typeof zSortOrder>;
6126
+ declare const zPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
6127
+ page: z.ZodNumber;
6128
+ next: z.ZodNullable<z.ZodNumber>;
6129
+ prev: z.ZodNullable<z.ZodNumber>;
6130
+ pageSize: z.ZodNumber;
6131
+ total: z.ZodNumber;
6132
+ results: z.ZodArray<T>;
6133
+ }>;
6134
+ type Paginated<T> = z.infer<ReturnType<typeof zPaginated<z.ZodType<T>>>>;
6135
+ declare const zCursorPaginated: <T extends z.ZodType>(schema: T) => z.ZodObject<{
6136
+ next: z.ZodNullable<z.ZodString>;
6137
+ results: z.ZodArray<T>;
6138
+ }>;
6139
+ type CursorPaginated<T> = z.infer<ReturnType<typeof zCursorPaginated<z.ZodType<T>>>>;
6140
+ declare const zCursorQuery: z.ZodObject<{
6141
+ cursor: z.ZodOptional<z.ZodString>;
6142
+ }, z.core.$strip>;
6143
+ declare const zPageQuery: z.ZodObject<{
6144
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6145
+ pageSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6146
+ }, z.core.$strip>;
6147
+ type PageQuery = z.infer<typeof zPageQuery>;
6148
+ type FindManyAndCountWithTakeAndSkip<T> = (opts: {
6149
+ take: number;
6150
+ skip: number;
6151
+ }) => Promise<[T[], number]>;
6152
+ /**
6153
+ * Returns paginated results
6154
+ */
6155
+ declare const paginate: <T>(find: FindManyAndCountWithTakeAndSkip<T>, input: PageQuery) => Promise<Paginated<T>>;
6156
+ type Ordering<T> = { [field in keyof T]?: SortOrder; };
6157
+ /**
6158
+ * Return a stable ordering for prisma model `T`.
6159
+ *
6160
+ * When querying objects ordered by a given field (e.g. `createdAt`), if multiple objects have the
6161
+ * same value in that field, the ordering of those objects are not guaranteed to be stable across
6162
+ * different queries. This could be a problem for pagination if they fall into the page boundary:
6163
+ * Some object may appear in two pages while some other object may never appear. By appending the
6164
+ * unique `id` field as a secondary ordering, we make the query results deterministic.
6165
+ */
6166
+ declare const stableOrdering: <T extends {
6167
+ id: string | number;
6168
+ }>(orderBy: Ordering<T> | Ordering<T>[]) => Ordering<T> | Ordering<T>[];
6169
+ declare const serializePage: <T, U>(input: Paginated<T>, serialize: (obj: T) => Promise<U> | U) => Promise<Paginated<U>>;
6170
+ declare const emptyPage: <T>(paginationQuery: {
6171
+ page: number;
6172
+ pageSize: number;
6173
+ }) => Paginated<T>;
6174
+ declare const fetchAllPages: <T>(fetchPage: (page: number) => Promise<Paginated<T>>) => Promise<T[]>;
6175
+ declare const fetchAllCursorPages: <T>(fetchPage: (cursor: string | null) => Promise<CursorPaginated<T>>) => Promise<T[]>;
6176
+ //#endregion
6177
+ //#region src/core/accounts/filters.d.ts
6178
+ type AccountWorkspaceScope = {
6179
+ kind: "all";
6180
+ } | {
6181
+ kind: "many";
6182
+ workspaceNames: string[];
6183
+ } | {
6184
+ kind: "single";
6185
+ workspaceName: string;
6186
+ } | {
6187
+ kind: "matching";
6188
+ workspaceNames: string[];
6189
+ };
6190
+ type AccountAssetMatch = {
6191
+ network?: string;
6192
+ contractAddress?: string | null;
6193
+ tokenIdentifier?: string | null;
6194
+ };
6195
+ type AccountAssetFilter = {
6196
+ kind: "anyOf";
6197
+ anyOf: AccountAssetMatch[];
6198
+ } | {
6199
+ kind: "legacy";
6200
+ networks?: string[];
6201
+ contractAddress?: string | null;
6202
+ tokenIdentifier?: string | null;
6203
+ };
6204
+ //#endregion
6205
+ //#region src/core/accounts/quorum.d.ts
6206
+ type QuorumAccountSource = {
6207
+ kind: "individual";
6208
+ } | {
6209
+ kind: "group";
6210
+ groupId: string;
6211
+ };
6212
+ type QuorumAccountEntry = {
6213
+ account: AccountView;
6214
+ sources: QuorumAccountSource[];
6215
+ };
6216
+ //#endregion
6217
+ //#region src/core/hsm-comparison.d.ts
6218
+ /** Comparators offered by the backoffice "Compare with HSM" diagnostic, one run at a time. */
6219
+ declare const HSM_COMPARATORS: readonly ["whitelists", "workspace-name"];
6220
+ type HsmComparator = (typeof HSM_COMPARATORS)[number];
6221
+ /**
6222
+ * Why a compared object diverges. Reasons are comparator-specific, but they share a single enum so
6223
+ * the backoffice can count and group anomalies without knowing which comparator produced them.
6224
+ */
6225
+ declare const HSM_COMPARE_REASONS: readonly ["has-diffs", "missing-in-hsm", "missing-in-revault", "fetch-failed", "name-mismatch", "no-partition-found", "multiple-partitions-found"];
6226
+ type HsmCompareReason = (typeof HSM_COMPARE_REASONS)[number];
6227
+ /**
6228
+ * One line of evidence under an anomaly. Values are stringified here rather than formatted, so the
6229
+ * backoffice owns how a divergence reads on screen.
6230
+ */
6231
+ type HsmCompareDetail = {
6232
+ kind: "field-diff";
6233
+ /** Entry the field belongs to, or null when the field is on the object itself. */
6234
+ scope: string | null;
6235
+ field: string;
6236
+ revault: string;
6237
+ hsm: string;
6238
+ } | {
6239
+ kind: "only-in-revault";
6240
+ entry: string;
6241
+ } | {
6242
+ kind: "only-in-hsm";
6243
+ entry: string;
6244
+ };
6245
+ type HsmCompareAnomaly = {
6246
+ reason: HsmCompareReason;
6247
+ /** HSM object id, null for anomalies that are not about a single identified object. */
6248
+ hsmId: string | null;
6249
+ /** Revault-side name, null when only the HSM knows the object. */
6250
+ name: string | null;
6251
+ details: HsmCompareDetail[];
6252
+ };
6253
+ type HsmWorkspaceComparison = {
6254
+ workspaceName: string;
6255
+ /** Objects actually compared on both sides. Zero means there was nothing to compare. */
6256
+ checked: number;
6257
+ anomalies: HsmCompareAnomaly[];
6258
+ };
6259
+ //#endregion
6260
+ //#region src/core/onboarding/read-models.d.ts
6261
+ /** Options to start an onboarding. */
6262
+ declare const zOnboardingOpts: z$1.ZodObject<{
6263
+ workspaceName: z$1.ZodString;
6264
+ compartmentId: z$1.ZodOptional<z$1.ZodNumber>;
6265
+ mode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
6266
+ readonly GATE_COMPAT: 'GATE_COMPAT';
6267
+ readonly STANDALONE: 'STANDALONE';
6268
+ }>>>;
6269
+ hsmHostingMode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
6270
+ readonly HOSTED: 'HOSTED';
6271
+ readonly ON_PREM: 'ON_PREM';
6272
+ }>>>;
6273
+ targetHsmName: z$1.ZodOptional<z$1.ZodString>;
6274
+ }, z$1.core.$strip>;
6275
+ type OnboardingOpts = z$1.infer<typeof zOnboardingOpts>;
6276
+ declare const zDeviceClaim: z$1.ZodObject<{
6277
+ pubKey: z$1.ZodString;
6278
+ confidentialityKey: z$1.ZodString;
6279
+ deviceName: z$1.ZodString;
6280
+ role: z$1.ZodEnum<{
6281
+ readonly SHARED_OWNER: 'SHARED_OWNER';
6282
+ readonly MASTER_ADMIN: 'MASTER_ADMIN';
6283
+ }>;
6284
+ }, z$1.core.$strip>;
6285
+ type DeviceClaim = z$1.infer<typeof zDeviceClaim>;
6286
+ declare const zOnboardingSeedChallenge: z$1.ZodObject<{
6287
+ challengeType: z$1.ZodLiteral<"PSD">;
6288
+ wActions: z$1.ZodArray<z$1.ZodString>;
6289
+ handshake: z$1.ZodString;
6290
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6291
+ partitionId: z$1.ZodString;
6292
+ kkHandshake: z$1.ZodString;
6293
+ kkHandshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6294
+ ephemeralPublicKey: z$1.ZodString;
6295
+ certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6296
+ blob: z$1.ZodString;
6297
+ }, z$1.core.$strip>;
6298
+ type OnboardingSeedChallenge = z$1.infer<typeof zOnboardingSeedChallenge>;
6299
+ declare const zOnboardingSeedFragment: z$1.ZodObject<{
6300
+ approverBlob: z$1.ZodString;
6301
+ challengeResponse: z$1.ZodString;
6302
+ handshake: z$1.ZodString;
6303
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6304
+ }, z$1.core.$strip>;
6305
+ type OnboardingSeedFragment = z$1.infer<typeof zOnboardingSeedFragment>;
6306
+ declare const zOnboardingId: z$1.ZodString;
6307
+ declare const zWrappingKeyResponse: z$1.ZodObject<{
6308
+ ephemeralPubKey: z$1.ZodString;
6309
+ ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6310
+ fragments: z$1.ZodArray<z$1.ZodObject<{
6311
+ pubKey: z$1.ZodString;
6312
+ ephemeralPubKey: z$1.ZodString;
6313
+ ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6314
+ blob: z$1.ZodString;
6315
+ }, z$1.core.$strip>>;
6316
+ }, z$1.core.$strip>;
6317
+ type WrappingKeyResponse = z$1.infer<typeof zWrappingKeyResponse>;
6318
+ /**
6319
+ * Canonical onboarding response contract. Parse with this, not with `zOnboardingFullState`:
6320
+ * the latter is loose and would let the internal `Onboarding` columns (`mode`, `compartmentId`,
6321
+ * `targetHsmName`, `isLocked`) through into the public response.
6322
+ */
6323
+ declare const zOnboardingFullStateBase: z$1.ZodObject<{
6324
+ id: z$1.ZodString;
6325
+ workspaceName: z$1.ZodString;
6326
+ hsmHostingMode: z$1.ZodEnum<{
6327
+ readonly HOSTED: 'HOSTED';
6328
+ readonly ON_PREM: 'ON_PREM';
6329
+ }>;
6330
+ step: z$1.ZodEnum<{
6331
+ readonly PENDING_DEVICE_CLAIMS: 'PENDING_DEVICE_CLAIMS';
6332
+ readonly PENDING_WRAPPING_KEY_PROVISIONING: 'PENDING_WRAPPING_KEY_PROVISIONING';
6333
+ readonly PENDING_MASTER_ADMINS_REGISTRATION_INIT: 'PENDING_MASTER_ADMINS_REGISTRATION_INIT';
6334
+ readonly PENDING_MASTER_ADMINS_REGISTRATION: 'PENDING_MASTER_ADMINS_REGISTRATION';
6335
+ readonly PENDING_SHARED_OWNERS_REGISTRATION_INIT: 'PENDING_SHARED_OWNERS_REGISTRATION_INIT';
6336
+ readonly PENDING_SHARED_OWNERS_REGISTRATION: 'PENDING_SHARED_OWNERS_REGISTRATION';
6337
+ readonly PENDING_REVIEW_BY_MASTER_ADMINS: 'PENDING_REVIEW_BY_MASTER_ADMINS';
6338
+ readonly PENDING_EXTERNAL_SIGNERS_REGISTRATION: 'PENDING_EXTERNAL_SIGNERS_REGISTRATION';
6339
+ readonly PENDING_SEED_PROVISIONING: 'PENDING_SEED_PROVISIONING';
6340
+ readonly PENDING_WORKSPACE_INITIALIZATION: 'PENDING_WORKSPACE_INITIALIZATION';
6341
+ readonly COMPLETED: 'COMPLETED';
6761
6342
  }>;
6762
- }, z.core.$strip>], "type">;
6763
- type TransactionResponse = z.infer<typeof zTransactionResponse>;
6764
- declare const getTxHsmProps: (tx: TransactionData, account: Account, context?: TxHsmPropsContext) => Promise<TxHsmProps>;
6765
- declare const convertTxToGovernableIntent: (tx: TransactionData) => GovernableIntent;
6343
+ claimedDevices: z$1.ZodArray<z$1.ZodObject<{
6344
+ pubKey: z$1.ZodString;
6345
+ deviceUserId: z$1.ZodString;
6346
+ deviceName: z$1.ZodString;
6347
+ role: z$1.ZodEnum<{
6348
+ readonly WRAPPING_KEY_OWNER: 'WRAPPING_KEY_OWNER';
6349
+ readonly SHARED_OWNER: 'SHARED_OWNER';
6350
+ readonly MASTER_ADMIN: 'MASTER_ADMIN';
6351
+ }>;
6352
+ }, z$1.core.$strip>>;
6353
+ wrappingKey: z$1.ZodNullable<z$1.ZodObject<{
6354
+ ephemeralPubKey: z$1.ZodString;
6355
+ ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6356
+ fragments: z$1.ZodArray<z$1.ZodObject<{
6357
+ pubKey: z$1.ZodString;
6358
+ ephemeralPubKey: z$1.ZodString;
6359
+ ephemeralCertificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6360
+ blob: z$1.ZodString;
6361
+ }, z$1.core.$strip>>;
6362
+ }, z$1.core.$strip>>;
6363
+ masterAdmins: z$1.ZodArray<z$1.ZodObject<{
6364
+ name: z$1.ZodString;
6365
+ psdModel: z$1.ZodLiteral<"STAX">;
6366
+ pubKey: z$1.ZodString;
6367
+ registrationChallenge: z$1.ZodObject<{
6368
+ challenge: z$1.ZodString;
6369
+ ephemeralPublicKey: z$1.ZodString;
6370
+ ephemeralPublicKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6371
+ handshake: z$1.ZodString;
6372
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6373
+ u2fRegisterData: z$1.ZodString;
6374
+ ciphertext: z$1.ZodString;
6375
+ requestId: z$1.ZodString;
6376
+ }, z$1.core.$strip>;
6377
+ registrationResponse: z$1.ZodNullable<z$1.ZodObject<{
6378
+ certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6379
+ u2fRegister: z$1.ZodString;
6380
+ u2fKeyHandle: z$1.ZodString;
6381
+ registerData: z$1.ZodString;
6382
+ validationKey: z$1.ZodString;
6383
+ pairingPayload: z$1.ZodString;
6384
+ }, z$1.core.$strip>>;
6385
+ role: z$1.ZodLiteral<"MASTER_ADMIN">;
6386
+ review: z$1.ZodNullable<z$1.ZodObject<{
6387
+ challenge: z$1.ZodObject<{
6388
+ challengeType: z$1.ZodLiteral<"PSD">;
6389
+ wActions: z$1.ZodArray<z$1.ZodString>;
6390
+ handshake: z$1.ZodString;
6391
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6392
+ partitionId: z$1.ZodString;
6393
+ }, z$1.core.$strip>;
6394
+ signature: z$1.ZodNullable<z$1.ZodString>;
6395
+ }, z$1.core.$strip>>;
6396
+ reviewOfExternalSigners: z$1.ZodNullable<z$1.ZodObject<{
6397
+ challenge: z$1.ZodObject<{
6398
+ challengeType: z$1.ZodLiteral<"PSD">;
6399
+ wActions: z$1.ZodArray<z$1.ZodString>;
6400
+ handshake: z$1.ZodString;
6401
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6402
+ partitionId: z$1.ZodString;
6403
+ }, z$1.core.$strip>;
6404
+ signature: z$1.ZodNullable<z$1.ZodString>;
6405
+ }, z$1.core.$strip>>;
6406
+ }, z$1.core.$strip>>;
6407
+ sharedOwners: z$1.ZodArray<z$1.ZodObject<{
6408
+ name: z$1.ZodString;
6409
+ psdModel: z$1.ZodLiteral<"STAX">;
6410
+ pubKey: z$1.ZodString;
6411
+ registrationChallenge: z$1.ZodObject<{
6412
+ challenge: z$1.ZodString;
6413
+ ephemeralPublicKey: z$1.ZodString;
6414
+ ephemeralPublicKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6415
+ handshake: z$1.ZodString;
6416
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6417
+ u2fRegisterData: z$1.ZodString;
6418
+ ciphertext: z$1.ZodString;
6419
+ requestId: z$1.ZodString;
6420
+ }, z$1.core.$strip>;
6421
+ registrationResponse: z$1.ZodNullable<z$1.ZodObject<{
6422
+ certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6423
+ u2fRegister: z$1.ZodString;
6424
+ u2fKeyHandle: z$1.ZodString;
6425
+ registerData: z$1.ZodString;
6426
+ validationKey: z$1.ZodString;
6427
+ pairingPayload: z$1.ZodString;
6428
+ }, z$1.core.$strip>>;
6429
+ role: z$1.ZodLiteral<"SHARED_OWNER">;
6430
+ review: z$1.ZodNullable<z$1.ZodObject<{
6431
+ seedChallenge: z$1.ZodObject<{
6432
+ challengeType: z$1.ZodLiteral<"PSD">;
6433
+ wActions: z$1.ZodArray<z$1.ZodString>;
6434
+ handshake: z$1.ZodString;
6435
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6436
+ partitionId: z$1.ZodString;
6437
+ kkHandshake: z$1.ZodString;
6438
+ kkHandshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6439
+ ephemeralPublicKey: z$1.ZodString;
6440
+ certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6441
+ blob: z$1.ZodString;
6442
+ }, z$1.core.$strip>;
6443
+ seedFragment: z$1.ZodNullable<z$1.ZodObject<{
6444
+ approverBlob: z$1.ZodString;
6445
+ challengeResponse: z$1.ZodString;
6446
+ handshake: z$1.ZodString;
6447
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6448
+ }, z$1.core.$strip>>;
6449
+ }, z$1.core.$strip>>;
6450
+ }, z$1.core.$strip>>;
6451
+ createdAt: z$1.ZodCoercedDate<unknown>;
6452
+ completedAt: z$1.ZodNullable<z$1.ZodCoercedDate<unknown>>;
6453
+ }, z$1.core.$strip>;
6454
+ declare const zOnboardingFullState: typeof zOnboardingFullStateBase;
6455
+ type OnboardingFullState = z$1.infer<typeof zOnboardingFullState>;
6456
+ //#endregion
6457
+ //#region src/services/hsm/types.d.ts
6458
+ declare const zPubKey: z$1.ZodString;
6459
+ type PubKey = z$1.infer<typeof zPubKey>;
6460
+ /**
6461
+ * Nominal shape for an HSM attestation certificate.
6462
+ *
6463
+ * Boxed into an explicit-field `type` alias so the published declaration bundle references
6464
+ * it by name at every embed (it appears in many challenge/registration/onboarding shapes)
6465
+ * instead of re-inlining the four base64 fields on each. A `type` object literal (not an
6466
+ * `interface`) is used so the shape stays assignable to Prisma `Json` columns. Kept in sync
6467
+ * with the schema by the drift guard below.
6468
+ */
6469
+ type HsmCertificate = {
6470
+ codeHash: string;
6471
+ attestationPub: string;
6472
+ certificate: string;
6473
+ signature: string;
6474
+ };
6475
+ declare const zPsdChallenge: z$1.ZodObject<{
6476
+ challengeType: z$1.ZodLiteral<"PSD">;
6477
+ wActions: z$1.ZodArray<z$1.ZodString>;
6478
+ handshake: z$1.ZodString;
6479
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6480
+ partitionId: z$1.ZodString;
6481
+ }, z$1.core.$strip>;
6482
+ type PsdChallenge = z$1.infer<typeof zPsdChallenge>;
6483
+ declare const zApiChallenge: z$1.ZodObject<{
6484
+ challengeType: z$1.ZodLiteral<"API">;
6485
+ payload: z$1.ZodObject<{
6486
+ approve: z$1.ZodString;
6487
+ reject: z$1.ZodString;
6488
+ }, z$1.core.$strip>;
6489
+ }, z$1.core.$strip>;
6490
+ type ApiChallenge = z$1.infer<typeof zApiChallenge>;
6491
+ declare const zPsdSignature: z$1.ZodString;
6492
+ type PsdSignature = z$1.infer<typeof zPsdSignature>;
6493
+ /**
6494
+ * Device data submitted by the invited user, to generate a registration challenge.
6495
+ */
6496
+ declare const zUserRegistrationDeviceData: z$1.ZodObject<{
6497
+ name: z$1.ZodString;
6498
+ psdModel: z$1.ZodLiteral<"STAX">;
6499
+ pubKey: z$1.ZodString;
6500
+ confidentialityKey: z$1.ZodString;
6501
+ psdEphemeralKey: z$1.ZodString;
6502
+ psdEphemeralKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6503
+ }, z$1.core.$strip>;
6504
+ type UserRegistrationDeviceData = z$1.infer<typeof zUserRegistrationDeviceData>;
6505
+ /**
6506
+ * Registration challenge for the invited user, generated by HSM.
6507
+ */
6508
+ declare const zUserRegistrationChallenge: z$1.ZodObject<{
6509
+ challenge: z$1.ZodString;
6510
+ ephemeralPublicKey: z$1.ZodString;
6511
+ ephemeralPublicKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6512
+ handshake: z$1.ZodString;
6513
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6514
+ u2fRegisterData: z$1.ZodString;
6515
+ ciphertext: z$1.ZodString;
6516
+ requestId: z$1.ZodString;
6517
+ }, z$1.core.$strip>;
6518
+ type UserRegistrationChallenge = z$1.infer<typeof zUserRegistrationChallenge>;
6519
+ /**
6520
+ * Response to the user registration challenge, submitted by the invited user.
6521
+ */
6522
+ declare const zUserRegistrationChallengeResponse: z$1.ZodObject<{
6523
+ certificate: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6524
+ u2fRegister: z$1.ZodString;
6525
+ u2fKeyHandle: z$1.ZodString;
6526
+ registerData: z$1.ZodString;
6527
+ validationKey: z$1.ZodString;
6528
+ pairingPayload: z$1.ZodString;
6529
+ }, z$1.core.$strip>;
6530
+ type UserRegistrationChallengeResponse = z$1.infer<typeof zUserRegistrationChallengeResponse>;
6531
+ declare const zPsdPairingInputData: z$1.ZodObject<{
6532
+ confidentialityKeyCurve25519: z$1.ZodString;
6533
+ confidentialityKeySignature: z$1.ZodString;
6534
+ }, z$1.core.$strip>;
6535
+ type PsdPairingInputData = z$1.infer<typeof zPsdPairingInputData>;
6536
+ declare const zPsdPairingData: z$1.ZodObject<{
6537
+ pairing: z$1.ZodObject<{
6538
+ workspaceName: z$1.ZodString;
6539
+ partitionKey: z$1.ZodString;
6540
+ bootstrapEnabled: z$1.ZodBoolean;
6541
+ }, z$1.core.$strip>;
6542
+ partitionKeyAttestation: z$1.ZodObject<{
6543
+ codeHash: z$1.ZodString;
6544
+ attestationPub: z$1.ZodString;
6545
+ certificate: z$1.ZodString;
6546
+ signature: z$1.ZodString;
6547
+ }, z$1.core.$strip>;
6548
+ blob: z$1.ZodString;
6549
+ }, z$1.core.$strip>;
6550
+ type PsdPairingData = z$1.infer<typeof zPsdPairingData>;
6551
+ declare const zRefreshPskInputData: z$1.ZodObject<{
6552
+ psdEphemeralKey: z$1.ZodBase64;
6553
+ psdEphemeralKeyAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6554
+ validationKeySignature: z$1.ZodBase64;
6555
+ }, z$1.core.$strip>;
6556
+ type RefreshPskInputData = z$1.infer<typeof zRefreshPskInputData>;
6557
+ declare const zRefreshPskData: z$1.ZodObject<{
6558
+ handshake: z$1.ZodBase64;
6559
+ handshakeAttestation: z$1.ZodType<HsmCertificate, HsmCertificate, z$1.core.$ZodTypeInternals<HsmCertificate, HsmCertificate>>;
6560
+ encryptedPairingPayload: z$1.ZodBase64;
6561
+ }, z$1.core.$strip>;
6562
+ type RefreshPskData = z$1.infer<typeof zRefreshPskData>;
6563
+ //#endregion
6564
+ //#region src/services/hsm/hsm-requests-types.d.ts
6565
+ declare const HSM_OBJECT_TYPES: readonly ["Account", "AdminGroup", "AssetManager", "Exchange", "Group", "Partition", "PledgeState", "Policy", "AccountRuleSet", "Tradelink", "User", "WalletAccountList", "Whitelist"];
6566
+ type HsmObjectType = (typeof HSM_OBJECT_TYPES)[number];
6567
+ declare const zObjectsVersionResponse: z.ZodObject<{
6568
+ cid: z.ZodCoercedString<unknown>;
6569
+ total_accounts: z.ZodNumber;
6570
+ accounts_report: z.ZodRecord<z.ZodString, z.ZodNumber>;
6571
+ total_objects: z.ZodNumber;
6572
+ objects_report: z.ZodRecord<z.ZodString, z.ZodNumber>;
6573
+ }, z.core.$strip>;
6574
+ type ObjectsVersionResponse = z.infer<typeof zObjectsVersionResponse>;
6575
+ declare const zVersionedObjectInfo: z.ZodObject<{
6576
+ uid: z.ZodString;
6577
+ object_type: z.ZodString;
6578
+ index: z.ZodNumber;
6579
+ hsm_object_type_id: z.ZodNumber;
6580
+ anti_replay_value: z.ZodNumber;
6581
+ expected_anti_replay_value: z.ZodNumber;
6582
+ schema_version: z.ZodNumber;
6583
+ }, z.core.$strip>;
6584
+ type VersionedObjectInfo = z.infer<typeof zVersionedObjectInfo>;
6585
+ declare const zGetObjectsInfoResponse: z.ZodObject<{
6586
+ cid: z.ZodCoercedString<unknown>;
6587
+ uid: z.ZodNullable<z.ZodString>;
6588
+ objects_count: z.ZodNumber;
6589
+ hsm_requests_count: z.ZodNumber;
6590
+ status: z.ZodString;
6591
+ valid_objects: z.ZodArray<z.ZodObject<{
6592
+ uid: z.ZodString;
6593
+ object_type: z.ZodString;
6594
+ index: z.ZodNumber;
6595
+ hsm_object_type_id: z.ZodNumber;
6596
+ anti_replay_value: z.ZodNumber;
6597
+ expected_anti_replay_value: z.ZodNumber;
6598
+ schema_version: z.ZodNumber;
6599
+ }, z.core.$strip>>;
6600
+ invalid_objects: z.ZodArray<z.ZodObject<{
6601
+ uid: z.ZodString;
6602
+ object_type: z.ZodString;
6603
+ index: z.ZodNumber;
6604
+ hsm_object_type_id: z.ZodNumber;
6605
+ anti_replay_value: z.ZodNumber;
6606
+ expected_anti_replay_value: z.ZodNumber;
6607
+ schema_version: z.ZodNumber;
6608
+ }, z.core.$strip>>;
6609
+ objects_missing_merkle_tree_id: z.ZodArray<z.ZodString>;
6610
+ }, z.core.$strip>;
6611
+ type GetObjectsInfoResponse = z.infer<typeof zGetObjectsInfoResponse>;
6612
+ declare const zObjectsContentResponse: z.ZodObject<{
6613
+ cid: z.ZodCoercedString<unknown>;
6614
+ uid: z.ZodNullable<z.ZodString>;
6615
+ objects_count: z.ZodNumber;
6616
+ hsm_requests_count: z.ZodNumber;
6617
+ status: z.ZodString;
6618
+ object_contents: z.ZodArray<z.ZodUnknown>;
6619
+ objects_missing_merkle_tree_id: z.ZodArray<z.ZodString>;
6620
+ }, z.core.$strip>;
6621
+ type ObjectsContentResponse = z.infer<typeof zObjectsContentResponse>;
6622
+ //#endregion
6623
+ //#region src/services/hsm/hsm-proxy.d.ts
6624
+ declare const zExternalSignerAuthKeypair: z.ZodObject<{
6625
+ publicKey: z.ZodBase64;
6626
+ }, z.core.$strip>;
6627
+ type ExternalSignerAuthKeypair = z.infer<typeof zExternalSignerAuthKeypair>;
6628
+ type HsmProxyOptions = {
6629
+ workspaceName: string;
6630
+ targetHsmName: string;
6631
+ compartmentId: number;
6632
+ requestId?: string;
6633
+ };
6634
+ /**
6635
+ * Low-level HSM Proxy client which communicates with the HSM driver service.
6636
+ * This class is used internally by HSM services. It is not exposed as public API.
6637
+ */
6638
+ declare class HsmProxy {
6639
+ private readonly compartmentId;
6640
+ private readonly httpClient;
6641
+ private readonly requestId?;
6642
+ constructor(opts: HsmProxyOptions);
6643
+ get(urlPath: string, params?: Record<string, string | string[] | undefined>): Promise<unknown>;
6644
+ post(urlPath: string, data: Record<string, unknown>): Promise<unknown>;
6645
+ put(urlPath: string, data: Record<string, unknown>): Promise<unknown>;
6646
+ delete(urlPath: string): Promise<unknown>;
6647
+ pairDevicePartition(userPubKey: string, input: PsdPairingInputData): Promise<PsdPairingData>;
6648
+ refreshPsk(userPubKey: string, input: RefreshPskInputData): Promise<RefreshPskData>;
6649
+ wipe(): Promise<void>;
6650
+ insertExternalSignerSeed(seed: string): Promise<void>;
6651
+ registerExternalSigner(): Promise<ExternalSignerAuthKeypair>;
6652
+ getObjectsVersion(): Promise<ObjectsVersionResponse>;
6653
+ getObjectsInfo(filter?: {
6654
+ uid?: string;
6655
+ objectTypes?: string[];
6656
+ }): Promise<GetObjectsInfoResponse>;
6657
+ getObjectsContent(filter?: {
6658
+ uid?: string;
6659
+ objectTypes?: string[];
6660
+ }): Promise<ObjectsContentResponse>;
6661
+ }
6662
+ //#endregion
6663
+ //#region src/core/prisma-utils/utils.d.ts
6664
+ /** A Prisma transaction client with all the dollar methods omitted from `PrismaClient`. */
6665
+ type PrismaTxClient = Omit<PrismaClient, `$${string}`>;
6666
+ //#endregion
6667
+ //#region src/core/users/provisioning.d.ts
6668
+ declare class HsmUserRegistrationService {
6669
+ private readonly proxy;
6670
+ private constructor();
6671
+ static forWorkspace(workspace: Workspace): HsmUserRegistrationService;
6672
+ /** Pre-Workspace onboarding has no maintenance mode and is deliberately outside this fence. */
6673
+ static forPreWorkspaceOnboarding(opts: {
6674
+ workspaceName: string;
6675
+ compartmentId: number;
6676
+ targetHsmName: string;
6677
+ }): HsmUserRegistrationService;
6678
+ generateChallenge(data: UserRegistrationDeviceData): Promise<UserRegistrationChallenge>;
6679
+ commitChallenge(user: {
6680
+ pubKey: PubKey;
6681
+ name: string;
6682
+ role: "SHARED_OWNER" | "ADMIN" | "OPERATOR";
6683
+ }, data: UserRegistrationChallengeResponse): Promise<void>;
6684
+ abortChallenge(user: {
6685
+ pubKey: PubKey;
6686
+ }): Promise<void>;
6687
+ }
6688
+ //#endregion
6689
+ //#region src/core/onboarding/actions/action-builder.d.ts
6690
+ type ZeroOrOne<T> = T extends undefined ? [] : [T];
6691
+ type OnboardingAction<T> = (onboardingId: string, prisma: PrismaClient, ...args: ZeroOrOne<T>) => Promise<OnboardingFullState>;
6692
+ //#endregion
6693
+ //#region src/core/onboarding/index.d.ts
6694
+ declare const startOnboarding: (prisma: PrismaClient, onboardingOpts: OnboardingOpts) => Promise<OnboardingFullState>;
6695
+ //#endregion
6696
+ //#region src/core/requests/catalog.d.ts
6697
+ type RequestWorkspaceScope = {
6698
+ kind: "all";
6699
+ } | {
6700
+ kind: "single";
6701
+ workspaceName: string;
6702
+ } | {
6703
+ kind: "matching";
6704
+ workspaceNames: string[];
6705
+ };
6706
+ type RequestListVisibility = {
6707
+ kind: "backoffice";
6708
+ } | {
6709
+ kind: "workspace-user";
6710
+ user: User;
6711
+ };
6712
+ type RequestListCriteria = {
6713
+ types?: RequestType | RequestType[];
6714
+ states?: RequestState | RequestState[];
6715
+ search?: string;
6716
+ targetId?: string;
6717
+ targetIds?: string[];
6718
+ portfolioIds?: string[];
6719
+ createdById?: string;
6720
+ reviewedById?: string;
6721
+ pendingById?: string;
6722
+ fromDate?: Date;
6723
+ toDate?: Date;
6724
+ support?: "standalone" | "legacy";
6725
+ tokenizedAssetIds?: string[];
6726
+ operationStatuses?: OutgoingTransactionStatus[];
6727
+ ongoingTransactionAccountId?: string;
6728
+ };
6729
+ type RequestListFilters = {
6730
+ workspace: RequestWorkspaceScope;
6731
+ visibility: RequestListVisibility;
6732
+ criteria: RequestListCriteria;
6733
+ pagination: PageQuery;
6734
+ sort: {
6735
+ sortBy: "state" | "expiresAt" | "createdAt" | "updatedAt";
6736
+ sortOrder: SortOrder;
6737
+ };
6738
+ };
6739
+ //#endregion
6740
+ //#region src/core/whitelists/read-models.d.ts
6741
+ type WhitelistSortBy$1 = "name" | "status" | "addressCount" | "createdAt" | "updatedAt";
6742
+ //#endregion
6743
+ //#region src/core/administration/audit.d.ts
6744
+ /**
6745
+ * Record a backoffice mutation in the `AuditLog` table.
6746
+ *
6747
+ * Every mutation performed through the backoffice surface must leave a trace of *who* changed
6748
+ * *what*. The acting operator is identified by the verified backoffice JWT claims (`sub` is the
6749
+ * Keycloak subject); never by a workspace `User`.
6750
+ *
6751
+ * The audit log is normally workspace-scoped via the `workspaceName` FK. Some backoffice actions
6752
+ * happen *before* the workspace exists (e.g. starting an onboarding), so `workspaceName` is
6753
+ * optional: when omitted, the entry is not FK-attached to a workspace and the relevant identifiers
6754
+ * are carried in `changes` instead.
6755
+ */
6756
+ type BackofficeAuditLogInput = {
6757
+ actor: BackofficeClaims;
6758
+ /** Defaults to a resource edition. Pass `BACKOFFICE_RESOURCE_CREATED` for creations. */
6759
+ type?: typeof AuditLogType.BACKOFFICE_RESOURCE_EDITED | typeof AuditLogType.BACKOFFICE_RESOURCE_CREATED;
6760
+ /** Owning workspace, when it already exists. Omitted for pre-workspace actions (onboardings). */
6761
+ workspaceName?: string | null;
6762
+ resource: string;
6763
+ resourceId: string;
6764
+ requiredPermission: BackofficePermission;
6765
+ changes: Record<string, unknown>;
6766
+ };
6766
6767
  //#endregion
6767
6768
  //#region src/core/notifications/webhooks/schemas.d.ts
6768
6769
  declare const zCreateWebhookPayload: z.ZodObject<{
@@ -6789,6 +6790,7 @@ declare const zCreateWebhookPayload: z.ZodObject<{
6789
6790
  TransactionOnChain: "TransactionOnChain";
6790
6791
  TransactionScheduled: "TransactionScheduled";
6791
6792
  TransactionSubmitted: "TransactionSubmitted";
6793
+ TransactionUnknown: "TransactionUnknown";
6792
6794
  UserRegistrationCompleted: "UserRegistrationCompleted";
6793
6795
  UserSuspended: "UserSuspended";
6794
6796
  UserUnsuspended: "UserUnsuspended";
@@ -6877,6 +6879,7 @@ declare const zUpdateWebhookPayload: z.ZodObject<{
6877
6879
  TransactionOnChain: "TransactionOnChain";
6878
6880
  TransactionScheduled: "TransactionScheduled";
6879
6881
  TransactionSubmitted: "TransactionSubmitted";
6882
+ TransactionUnknown: "TransactionUnknown";
6880
6883
  UserRegistrationCompleted: "UserRegistrationCompleted";
6881
6884
  UserSuspended: "UserSuspended";
6882
6885
  UserUnsuspended: "UserUnsuspended";
@@ -6963,6 +6966,7 @@ declare const zWebhookResponse: z.ZodObject<{
6963
6966
  readonly TransactionConfirmed: 'TransactionConfirmed';
6964
6967
  readonly TransactionDropped: 'TransactionDropped';
6965
6968
  readonly TransactionFailed: 'TransactionFailed';
6969
+ readonly TransactionUnknown: 'TransactionUnknown';
6966
6970
  readonly AccountBalanceUpdated: 'AccountBalanceUpdated';
6967
6971
  readonly UserSuspended: 'UserSuspended';
6968
6972
  readonly UserUnsuspended: 'UserUnsuspended';
@@ -7054,6 +7058,7 @@ declare const zWebhookDetailResponse: z.ZodObject<{
7054
7058
  readonly TransactionConfirmed: 'TransactionConfirmed';
7055
7059
  readonly TransactionDropped: 'TransactionDropped';
7056
7060
  readonly TransactionFailed: 'TransactionFailed';
7061
+ readonly TransactionUnknown: 'TransactionUnknown';
7057
7062
  readonly AccountBalanceUpdated: 'AccountBalanceUpdated';
7058
7063
  readonly UserSuspended: 'UserSuspended';
7059
7064
  readonly UserUnsuspended: 'UserUnsuspended';
@@ -7169,6 +7174,7 @@ declare const zCreateWebhookResponse: z.ZodObject<{
7169
7174
  readonly TransactionConfirmed: 'TransactionConfirmed';
7170
7175
  readonly TransactionDropped: 'TransactionDropped';
7171
7176
  readonly TransactionFailed: 'TransactionFailed';
7177
+ readonly TransactionUnknown: 'TransactionUnknown';
7172
7178
  readonly AccountBalanceUpdated: 'AccountBalanceUpdated';
7173
7179
  readonly UserSuspended: 'UserSuspended';
7174
7180
  readonly UserUnsuspended: 'UserUnsuspended';
@@ -7272,6 +7278,7 @@ declare const zNativeAssetResponse: z.ZodObject<{
7272
7278
  }, z.core.$strip>>;
7273
7279
  network: z.ZodString;
7274
7280
  assetType: z.ZodLiteral<"NATIVE">;
7281
+ confirmationsNeeded: z.ZodNullable<z.ZodInt>;
7275
7282
  }, z.core.$strip>;
7276
7283
  declare const zTokenAssetResponse: z.ZodObject<{
7277
7284
  id: z.ZodString;
@@ -7301,6 +7308,7 @@ declare const zAssetResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
7301
7308
  }, z.core.$strip>>;
7302
7309
  network: z.ZodString;
7303
7310
  assetType: z.ZodLiteral<"NATIVE">;
7311
+ confirmationsNeeded: z.ZodNullable<z.ZodInt>;
7304
7312
  }, z.core.$strip>, z.ZodObject<{
7305
7313
  id: z.ZodString;
7306
7314
  name: z.ZodString;
@@ -7333,6 +7341,7 @@ declare const zAllAssetsResponse: z.ZodObject<{
7333
7341
  }, z.core.$strip>>;
7334
7342
  network: z.ZodString;
7335
7343
  assetType: z.ZodLiteral<"NATIVE">;
7344
+ confirmationsNeeded: z.ZodNullable<z.ZodInt>;
7336
7345
  }, z.core.$strip>>;
7337
7346
  tokens: z.ZodArray<z.ZodObject<{
7338
7347
  id: z.ZodString;
@@ -7455,6 +7464,7 @@ declare const zCalVaultCoinResponse: z$1.ZodObject<{
7455
7464
  }, z$1.core.$strip>>>;
7456
7465
  family: z$1.ZodString;
7457
7466
  network: z$1.ZodString;
7467
+ confirmations_needed: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodInt>>;
7458
7468
  }, z$1.core.$strip>;
7459
7469
  type CalVaultCoinResponse = z$1.infer<typeof zCalVaultCoinResponse>;
7460
7470
  //#endregion
@@ -7970,7 +7980,12 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
7970
7980
  senders: z.ZodArray<z.ZodString>;
7971
7981
  recipients: z.ZodArray<z.ZodString>;
7972
7982
  type: z.ZodEnum<{
7973
- GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
7983
+ HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
7984
+ HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
7985
+ HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
7986
+ HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
7987
+ HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
7988
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
7974
7989
  }>;
7975
7990
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
7976
7991
  requestId: z.ZodNullable<z.ZodString>;
@@ -7993,12 +8008,7 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
7993
8008
  senders: z.ZodArray<z.ZodString>;
7994
8009
  recipients: z.ZodArray<z.ZodString>;
7995
8010
  type: z.ZodEnum<{
7996
- HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
7997
- HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
7998
- HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
7999
- HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
8000
- HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
8001
- HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
8011
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
8002
8012
  }>;
8003
8013
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
8004
8014
  requestId: z.ZodNullable<z.ZodString>;
@@ -8528,7 +8538,12 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
8528
8538
  senders: z.ZodArray<z.ZodString>;
8529
8539
  recipients: z.ZodArray<z.ZodString>;
8530
8540
  type: z.ZodEnum<{
8531
- GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
8541
+ HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
8542
+ HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
8543
+ HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
8544
+ HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
8545
+ HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
8546
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
8532
8547
  }>;
8533
8548
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
8534
8549
  requestId: z.ZodNullable<z.ZodString>;
@@ -8551,12 +8566,7 @@ declare const zTransactionWithMetaResponse: z.ZodDiscriminatedUnion<[z.ZodObject
8551
8566
  senders: z.ZodArray<z.ZodString>;
8552
8567
  recipients: z.ZodArray<z.ZodString>;
8553
8568
  type: z.ZodEnum<{
8554
- HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
8555
- HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
8556
- HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
8557
- HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
8558
- HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
8559
- HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
8569
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
8560
8570
  }>;
8561
8571
  note: z.ZodNullable<z.ZodType<Note, Note, z.core.$ZodTypeInternals<Note, Note>>>;
8562
8572
  requestId: z.ZodNullable<z.ZodString>;
@@ -8819,6 +8829,20 @@ declare const zCantonTransferProposalResponse: z.ZodObject<{
8819
8829
  recipient: z.ZodString;
8820
8830
  }, z.core.$strip>;
8821
8831
  //#endregion
8832
+ //#region src/core/authentication/psd-auth.d.ts
8833
+ declare const zPsdAuthChallengeData: z$1.ZodObject<{
8834
+ challengeId: z$1.ZodString;
8835
+ name: z$1.ZodString;
8836
+ role: z$1.ZodEnum<{
8837
+ readonly ADMIN: 'ADMIN';
8838
+ readonly OPERATOR: 'OPERATOR';
8839
+ readonly READ_ONLY_API_KEY: 'READ_ONLY_API_KEY';
8840
+ }>;
8841
+ keyHandle: z$1.ZodString;
8842
+ challenge: z$1.ZodString;
8843
+ }, z$1.core.$strip>;
8844
+ type PsdAuthChallengeData = z$1.infer<typeof zPsdAuthChallengeData>;
8845
+ //#endregion
8822
8846
  //#region src/entrypoints/api/entities/schemas.d.ts
8823
8847
  declare const zEntityResponse: z.ZodObject<{
8824
8848
  id: z.ZodString;
@@ -10402,46 +10426,72 @@ type EnsureNameAvailableOutput = z$1.infer<typeof zEnsureNameAvailableOutput>;
10402
10426
  type OutgoingTransactionFilters = {
10403
10427
  recipient?: string;
10404
10428
  type?: TransactionType | TransactionType[];
10429
+ status?: OutgoingTransactionStatus$1 | OutgoingTransactionStatus$1[];
10405
10430
  amount?: string;
10406
10431
  currency?: string;
10407
10432
  note?: string;
10408
10433
  };
10409
10434
  //#endregion
10410
- //#region src/core/groups/read-models.d.ts
10411
- type GroupWithMembers = Group & {
10412
- members: User[];
10435
+ //#region src/core/outgoing-transactions/capabilities.d.ts
10436
+ type OperationHistory = {
10437
+ status: OutgoingTransactionStatus$1;
10438
+ statusUpdatedAt: Date;
10439
+ milestones: {
10440
+ id: string;
10441
+ status: OutgoingTransactionStatus$1;
10442
+ recordedAt: Date;
10443
+ failureReasonCode: string | null;
10444
+ }[];
10413
10445
  };
10414
10446
  //#endregion
10415
- //#region src/core/governance/reviews.d.ts
10416
- type UsersAndGroups = {
10417
- users: User[];
10418
- groups: GroupWithMembers[];
10419
- };
10420
- type ReviewConfigWithMembers = ReviewConfig & UsersAndGroups;
10421
- declare const zReviewStepWithUsers: z$1.ZodObject<{
10422
- quorum: z$1.ZodNumber;
10423
- userIds: z$1.ZodArray<z$1.ZodString>;
10424
- }, z$1.core.$strip>;
10425
- type ReviewStepWithUsers = z$1.infer<typeof zReviewStepWithUsers>;
10426
- declare const zReviewStepData: z$1.ZodUnion<readonly [z$1.ZodObject<{
10427
- quorum: z$1.ZodNumber;
10428
- userIds: z$1.ZodArray<z$1.ZodString>;
10429
- }, z$1.core.$strip>, z$1.ZodObject<{
10430
- quorum: z$1.ZodNumber;
10431
- groupId: z$1.ZodString;
10432
- }, z$1.core.$strip>]>;
10433
- type ReviewStepData = z$1.infer<typeof zReviewStepData>;
10434
- declare const zReviewStepsArray: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
10435
- quorum: z$1.ZodNumber;
10436
- userIds: z$1.ZodArray<z$1.ZodString>;
10437
- }, z$1.core.$strip>, z$1.ZodObject<{
10438
- quorum: z$1.ZodNumber;
10439
- groupId: z$1.ZodString;
10440
- }, z$1.core.$strip>]>>;
10441
- type EnrichedReviewConfig = Omit<ReviewConfigWithMembers, "steps"> & {
10442
- steps: ReviewStepData[];
10447
+ //#region src/core/requests/tokenization-deployment-summaries.d.ts
10448
+ type TokenizationDeploymentSummary = {
10449
+ name: string;
10450
+ symbol: string;
10451
+ network: string;
10452
+ template: {
10453
+ id: string;
10454
+ version: number;
10455
+ name: string;
10456
+ };
10457
+ assetClass: {
10458
+ id: string;
10459
+ name: string;
10460
+ } | null;
10461
+ deployer: {
10462
+ id: string | null;
10463
+ name: string | null;
10464
+ address: string;
10465
+ };
10466
+ roles: Array<{
10467
+ id: string;
10468
+ label: string;
10469
+ account: {
10470
+ id: string | null;
10471
+ name: string | null;
10472
+ address: string;
10473
+ };
10474
+ }>;
10443
10475
  };
10444
10476
  //#endregion
10477
+ //#region src/entrypoints/api/transactions/lifecycle-schemas.d.ts
10478
+ /** The stable, small Operation shape shared by first-party Web projections. */
10479
+ declare const zOperationMetadataResponse: z.ZodObject<{
10480
+ id: z.ZodString;
10481
+ status: z.ZodEnum<{
10482
+ readonly SCHEDULED: 'SCHEDULED';
10483
+ readonly SUBMITTED: 'SUBMITTED';
10484
+ readonly ON_CHAIN: 'ON_CHAIN';
10485
+ readonly CONFIRMED: 'CONFIRMED';
10486
+ readonly DROPPED: 'DROPPED';
10487
+ readonly FAILED: 'FAILED';
10488
+ readonly FAILED_ON_CHAIN: 'FAILED_ON_CHAIN';
10489
+ readonly UNKNOWN: 'UNKNOWN';
10490
+ }>;
10491
+ statusUpdatedAt: z.ZodCoercedDate<unknown>;
10492
+ }, z.core.$strip>;
10493
+ type OperationMetadataResponse = z.infer<typeof zOperationMetadataResponse>;
10494
+ //#endregion
10445
10495
  //#region src/entrypoints/api/requests/request-meta.d.ts
10446
10496
  interface AccountRequestSubject {
10447
10497
  kind: "ACCOUNT";
@@ -10475,17 +10525,34 @@ interface WhitelistRequestSubject {
10475
10525
  name: string;
10476
10526
  }
10477
10527
  type RequestSubject = BoxUnion<AccountRequestSubject | ApiKeyRequestSubject | EntityRequestSubject | GroupRequestSubject | PolicyRequestSubject | UserRequestSubject | WhitelistRequestSubject>;
10478
- /** A Tokenized Asset fact attached only to the first-party Web Request projection. */
10528
+ /** A curated fact attached only to the first-party Web projection of a request. */
10479
10529
  interface TokenizedAssetMeta {
10480
10530
  type: "TOKENIZED_ASSET";
10481
10531
  asset: TokenizedAssetLink;
10482
10532
  }
10533
+ /** Curated Deployment facts attached only to the first-party Web Request projection. */
10534
+ interface TokenizationDeploymentMeta {
10535
+ type: "TOKENIZATION_DEPLOYMENT";
10536
+ deployment: TokenizationDeploymentSummary;
10537
+ }
10483
10538
  /** The optional primary display subject attached only to the first-party Web projection. */
10484
10539
  interface RequestSubjectMeta {
10485
10540
  type: "REQUEST_SUBJECT";
10486
10541
  subject: RequestSubject;
10487
10542
  }
10488
- type RequestMeta = BoxUnion<TokenizedAssetMeta | RequestSubjectMeta>;
10543
+ /** Operation fields needed only by the first-party Request projection. */
10544
+ interface OutgoingTransactionSummary extends OperationMetadataResponse {
10545
+ replacementHash: string | null;
10546
+ }
10547
+ type OutgoingTransactionMeta = {
10548
+ type: "OUTGOING_TRANSACTION";
10549
+ availability: "NOT_CREATED";
10550
+ } | {
10551
+ type: "OUTGOING_TRANSACTION";
10552
+ availability: "AVAILABLE";
10553
+ transaction: OutgoingTransactionSummary;
10554
+ };
10555
+ type RequestMeta = BoxUnion<TokenizedAssetMeta | TokenizationDeploymentMeta | RequestSubjectMeta | OutgoingTransactionMeta>;
10489
10556
  //#endregion
10490
10557
  //#region src/entrypoints/api/requests/schemas.d.ts
10491
10558
  /**
@@ -17655,8 +17722,8 @@ declare const zVaultRequestResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
17655
17722
  * First-party web projection of a Vault request.
17656
17723
  *
17657
17724
  * This contract intentionally evolves with the synchronously released web application and is not
17658
- * part of the stable REST surface. The `meta` collection carries optional presentation facts such
17659
- * as the primary Request subject and Tokenized Asset activity.
17725
+ * part of the stable REST surface. The `meta` collection carries curated presentation facts,
17726
+ * such as Request subjects, Tokenized Asset activity, and outgoing transaction status.
17660
17727
  */
17661
17728
  type WebVaultRequestResponse = VaultRequestResponse & {
17662
17729
  meta: RequestMeta[];
@@ -17863,10 +17930,6 @@ declare const zEnsureNameAvailableInput: z.ZodObject<{
17863
17930
  }, z.core.$strip>;
17864
17931
  type EnsureNameAvailableInput = z.infer<typeof zEnsureNameAvailableInput>;
17865
17932
  //#endregion
17866
- //#region src/entrypoints/api/requests/transaction-check-preview/public.d.ts
17867
- /** Whether Transaction Check can preview this exact transaction type. */
17868
- declare const isTransactionCheckPreviewSupportedType: (type: TransactionType) => boolean;
17869
- //#endregion
17870
17933
  //#region src/infra/activity.d.ts
17871
17934
  /**
17872
17935
  * A place to trace an activity, such as correlation ID or some performance metrics.
@@ -18016,6 +18079,41 @@ type SettlementView = Omit<SettlementResponse, "tradelinkId" | "pledgeTradelinkI
18016
18079
  exchangeId: string;
18017
18080
  };
18018
18081
  //#endregion
18082
+ //#region src/core/groups/read-models.d.ts
18083
+ type GroupWithMembers = Group & {
18084
+ members: User[];
18085
+ };
18086
+ //#endregion
18087
+ //#region src/core/governance/reviews.d.ts
18088
+ type UsersAndGroups = {
18089
+ users: User[];
18090
+ groups: GroupWithMembers[];
18091
+ };
18092
+ type ReviewConfigWithMembers = ReviewConfig & UsersAndGroups;
18093
+ declare const zReviewStepWithUsers: z$1.ZodObject<{
18094
+ quorum: z$1.ZodNumber;
18095
+ userIds: z$1.ZodArray<z$1.ZodString>;
18096
+ }, z$1.core.$strip>;
18097
+ type ReviewStepWithUsers = z$1.infer<typeof zReviewStepWithUsers>;
18098
+ declare const zReviewStepData: z$1.ZodUnion<readonly [z$1.ZodObject<{
18099
+ quorum: z$1.ZodNumber;
18100
+ userIds: z$1.ZodArray<z$1.ZodString>;
18101
+ }, z$1.core.$strip>, z$1.ZodObject<{
18102
+ quorum: z$1.ZodNumber;
18103
+ groupId: z$1.ZodString;
18104
+ }, z$1.core.$strip>]>;
18105
+ type ReviewStepData = z$1.infer<typeof zReviewStepData>;
18106
+ declare const zReviewStepsArray: z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
18107
+ quorum: z$1.ZodNumber;
18108
+ userIds: z$1.ZodArray<z$1.ZodString>;
18109
+ }, z$1.core.$strip>, z$1.ZodObject<{
18110
+ quorum: z$1.ZodNumber;
18111
+ groupId: z$1.ZodString;
18112
+ }, z$1.core.$strip>]>>;
18113
+ type EnrichedReviewConfig = Omit<ReviewConfigWithMembers, "steps"> & {
18114
+ steps: ReviewStepData[];
18115
+ };
18116
+ //#endregion
18019
18117
  //#region src/core/governance/workspace-rules.d.ts
18020
18118
  /**
18021
18119
  * The enriched `WorkspaceRule` with its `ReviewConfig`.
@@ -18029,6 +18127,142 @@ type EnrichedRootWorkspaceRule = EnrichedWorkspaceRule & {
18029
18127
  };
18030
18128
  declare const findWorkspaceRuleOrThrow: (workspaceName: string, permission: AdminPermission, prisma: PrismaTxClient) => Promise<EnrichedWorkspaceRule>;
18031
18129
  //#endregion
18130
+ //#region src/core/tokenization/types.d.ts
18131
+ /** Complete deploy pricing inputs for a Deployment fee estimate. */
18132
+ type TokenizationDeploymentEstimateInput = {
18133
+ templateId: string;
18134
+ templateVersion: number;
18135
+ assetClass: AssetClassId | null;
18136
+ network: string;
18137
+ deployerAccountId: string;
18138
+ tokenName: string;
18139
+ tokenSymbol: string;
18140
+ /** Role-account map keyed by the template's declared `roleId`s. */
18141
+ accounts: Record<string, string>;
18142
+ feeStrategy: EthereumLikeEip1559FeeStrategy;
18143
+ };
18144
+ /** Shared fee + balance ledger returned by every Tokenization Fee Estimate. */
18145
+ type TokenizationFeeEstimate = {
18146
+ feeStrategy: EthereumLikeEip1559FeeStrategy;
18147
+ estimatedFees: {
18148
+ type: "ETHEREUM_LIKE";
18149
+ baseFees: string;
18150
+ priorityFees: string;
18151
+ nonce: string;
18152
+ gasLimit: string;
18153
+ estimatedFee: string;
18154
+ maxFeePerGas: string;
18155
+ maxFee: string;
18156
+ };
18157
+ balance: {
18158
+ available: string;
18159
+ insufficient: boolean;
18160
+ message?: string;
18161
+ };
18162
+ /** Whether the caller may submit this operation, the submit-blocking governance gate. */
18163
+ authorized: boolean;
18164
+ };
18165
+ type TokenTemplateField = {
18166
+ id: string;
18167
+ kind: "text";
18168
+ title: string;
18169
+ description: string;
18170
+ minLength: number;
18171
+ maxLength: number;
18172
+ } | {
18173
+ id: string;
18174
+ kind: "symbol";
18175
+ title: string;
18176
+ description: string;
18177
+ } | {
18178
+ id: string;
18179
+ kind: "account";
18180
+ title: string;
18181
+ description: string;
18182
+ role: TokenRoleId;
18183
+ };
18184
+ type TokenTemplateAvailability = {
18185
+ available: true;
18186
+ eligibleDeployerAccountCount: number;
18187
+ networks: string[];
18188
+ } | {
18189
+ available: false;
18190
+ eligibleDeployerAccountCount: 0;
18191
+ networks: string[];
18192
+ reason: "NO_ELIGIBLE_DEPLOYER_ACCOUNT";
18193
+ };
18194
+ interface TokenTemplateResponse {
18195
+ id: TokenTemplateId;
18196
+ version: number;
18197
+ name: string;
18198
+ shortDescription: string;
18199
+ longDescription: string;
18200
+ tags: string[];
18201
+ roles: TokenRoleId[];
18202
+ assetClasses: Array<{
18203
+ id: AssetClassId;
18204
+ name: string;
18205
+ description: string;
18206
+ }>;
18207
+ fields: TokenTemplateField[];
18208
+ actions: Array<{
18209
+ id: TokenManagementAction;
18210
+ name: string;
18211
+ signerRole: TokenRoleId;
18212
+ }>;
18213
+ requirements: {
18214
+ networkFamily: "ETHEREUM_LIKE";
18215
+ deployerCapability: "DEPLOY_CONTRACT";
18216
+ minGasLimit: string;
18217
+ };
18218
+ availability: TokenTemplateAvailability;
18219
+ }
18220
+ //#endregion
18221
+ //#region src/core/tokenization/operations.d.ts
18222
+ /**
18223
+ * The complete Deployment Fee Estimate: the public fee ledger plus the private resolution the
18224
+ * create path must repeat (calldata, canonical addresses, persisted template facts). The router's
18225
+ * output schema strips the private fields, so web never receives them.
18226
+ */
18227
+ type TokenizationDeploymentEstimate = {
18228
+ feeStrategy: EthereumLikeEip1559FeeStrategy;
18229
+ estimatedFees: {
18230
+ type: "ETHEREUM_LIKE";
18231
+ baseFees: string;
18232
+ priorityFees: string;
18233
+ nonce: string;
18234
+ gasLimit: string;
18235
+ estimatedFee: string;
18236
+ maxFeePerGas: string;
18237
+ maxFee: string;
18238
+ };
18239
+ balance: {
18240
+ available: string;
18241
+ insufficient: boolean;
18242
+ message?: string;
18243
+ };
18244
+ authorized: boolean;
18245
+ template: {
18246
+ id: string;
18247
+ version: number;
18248
+ };
18249
+ assetClass: AssetClassId | null;
18250
+ tokenName: string;
18251
+ tokenSymbol: string;
18252
+ network: string;
18253
+ deployer: {
18254
+ id: string;
18255
+ address: string;
18256
+ };
18257
+ roles: {
18258
+ roleId: TokenRoleId;
18259
+ id: string;
18260
+ address: string;
18261
+ }[];
18262
+ calldata: string;
18263
+ };
18264
+ declare const estimateTokenDeploymentFee: (input: TokenizationDeploymentEstimateInput, user: User, prisma: PrismaClient) => Promise<TokenizationDeploymentEstimate>;
18265
+ //#endregion
18032
18266
  //#region src/core/requests/request-subjects.d.ts
18033
18267
  type NamedRequestSubjectKind = "API_KEY" | "ENTITY" | "GROUP" | "POLICY" | "USER" | "WHITELIST";
18034
18268
  type NamedResolvedRequestSubject = { [Kind in NamedRequestSubjectKind]: {
@@ -19060,7 +19294,7 @@ declare const zRequestCreationIntent: z.ZodObject<{
19060
19294
  }, z.core.$strip>;
19061
19295
  type RequestCreationIntent = z.infer<typeof zRequestCreationIntent>;
19062
19296
  //#endregion
19063
- //#region src/services/gate-requests.d.ts
19297
+ //#region src/services/gate/requests.d.ts
19064
19298
  type GateApprovalData = {
19065
19299
  challengeType: "PSD" | "API";
19066
19300
  signature: string;
@@ -19320,7 +19554,7 @@ declare const listActiveImpersonations: (opts: {
19320
19554
  //#endregion
19321
19555
  //#region src/core/policies/catalog.d.ts
19322
19556
  type PolicyListCriteria = PageQuery & {
19323
- name?: string;
19557
+ search?: string;
19324
19558
  isPrivate: boolean;
19325
19559
  currency?: string;
19326
19560
  contractAddress?: string | null;
@@ -19469,7 +19703,7 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
19469
19703
  pageSize: number;
19470
19704
  } & {
19471
19705
  status?: ActivationStatus$1;
19472
- name?: string;
19706
+ search?: string;
19473
19707
  governanceType?: AccountGovernanceType;
19474
19708
  allowedAction?: AllowedAction$1;
19475
19709
  sortBy: "name" | "currency" | "createdAt" | "updatedAt" | "index";
@@ -19513,12 +19747,12 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
19513
19747
  } | {
19514
19748
  type: "ETHEREUM_LIKE";
19515
19749
  address: string | null;
19516
- } | {
19517
- type: "GENERIC_LIKE";
19518
19750
  } | {
19519
19751
  type: "HEDERA_LIKE";
19520
19752
  address: string | null;
19521
19753
  isActivated: boolean;
19754
+ } | {
19755
+ type: "GENERIC_LIKE";
19522
19756
  } | {
19523
19757
  type: "POLKADOT_LIKE";
19524
19758
  address: string | null;
@@ -19916,7 +20150,7 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
19916
20150
  fee: string;
19917
20151
  senders: string[];
19918
20152
  recipients: string[];
19919
- type: "GENERIC_TRANSACTION";
20153
+ type: "HEDERA_LIKE_RECEIVE" | "HEDERA_LIKE_RECEIVE_TOKEN" | "HEDERA_LIKE_SEND" | "HEDERA_LIKE_SEND_TOKEN" | "HEDERA_LIKE_STAKE" | "HEDERA_LIKE_UNSTAKE";
19920
20154
  note: Note | null;
19921
20155
  requestId: string | null;
19922
20156
  } | {
@@ -19932,7 +20166,7 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
19932
20166
  fee: string;
19933
20167
  senders: string[];
19934
20168
  recipients: string[];
19935
- type: "HEDERA_LIKE_RECEIVE" | "HEDERA_LIKE_RECEIVE_TOKEN" | "HEDERA_LIKE_SEND" | "HEDERA_LIKE_SEND_TOKEN" | "HEDERA_LIKE_STAKE" | "HEDERA_LIKE_UNSTAKE";
20169
+ type: "GENERIC_TRANSACTION";
19936
20170
  note: Note | null;
19937
20171
  requestId: string | null;
19938
20172
  } | {
@@ -20965,6 +21199,8 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
20965
21199
  validator: string;
20966
21200
  state: "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "INACTIVE" | "UNKNOWN";
20967
21201
  staked: string | null;
21202
+ effectiveBalance: string | null;
21203
+ totalBalance: string | null;
20968
21204
  rewards: {
20969
21205
  total: string;
20970
21206
  };
@@ -20991,6 +21227,8 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
20991
21227
  validator: string;
20992
21228
  state: "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "INACTIVE" | "UNKNOWN";
20993
21229
  staked: string | null;
21230
+ effectiveBalance: string | null;
21231
+ totalBalance: string | null;
20994
21232
  rewards: {
20995
21233
  total: string;
20996
21234
  };
@@ -21010,6 +21248,7 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21010
21248
  } & {
21011
21249
  id: string;
21012
21250
  stakeId: string;
21251
+ search?: string;
21013
21252
  }) => Promise<{
21014
21253
  next: string | null;
21015
21254
  results: {
@@ -21017,6 +21256,8 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21017
21256
  validator: string;
21018
21257
  state: "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "INACTIVE" | "UNKNOWN";
21019
21258
  staked: string | null;
21259
+ effectiveBalance: string | null;
21260
+ totalBalance: string | null;
21020
21261
  rewards: {
21021
21262
  total: string;
21022
21263
  };
@@ -21253,7 +21494,10 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21253
21494
  outgoingTransactions: {
21254
21495
  list: ({ user }: {
21255
21496
  user: User;
21256
- }, input: PageQuery & OutgoingTransactionFilters & {
21497
+ }, input: {
21498
+ page: number;
21499
+ pageSize: number;
21500
+ } & OutgoingTransactionFilters & {
21257
21501
  accountId?: string;
21258
21502
  }) => Promise<{
21259
21503
  page: number;
@@ -21269,53 +21513,13 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21269
21513
  note: import("@prisma/client/runtime/client").JsonValue;
21270
21514
  hash: string | null;
21271
21515
  replacementHash: string | null;
21272
- status: OutgoingTransactionStatus;
21516
+ status: OutgoingTransactionStatus$1;
21517
+ requestId: string | null;
21273
21518
  lesWalletTaskId: string;
21274
21519
  createdById: string;
21275
21520
  createdAt: Date;
21276
21521
  updatedAt: Date;
21277
21522
  intent: {
21278
- type: "CARDANO_LIKE_STAKING_DELEGATE";
21279
- currency: string;
21280
- maxFee: string | null;
21281
- feeStrategy: {
21282
- type: "FAST" | "NORMAL" | "SLOW";
21283
- };
21284
- stakePoolId: string;
21285
- } | {
21286
- type: "CARDANO_LIKE_STAKING_DEREGISTER";
21287
- currency: string;
21288
- maxFee: string | null;
21289
- feeStrategy: {
21290
- type: "FAST" | "NORMAL" | "SLOW";
21291
- };
21292
- amount: string;
21293
- } | {
21294
- type: "CARDANO_LIKE_STAKING_REGISTER";
21295
- currency: string;
21296
- maxFee: string | null;
21297
- feeStrategy: {
21298
- type: "FAST" | "NORMAL" | "SLOW";
21299
- };
21300
- amount: string;
21301
- } | {
21302
- type: "CARDANO_LIKE_STAKING_WITHDRAW";
21303
- currency: string;
21304
- maxFee: string | null;
21305
- feeStrategy: {
21306
- type: "FAST" | "NORMAL" | "SLOW";
21307
- };
21308
- amount: string;
21309
- } | {
21310
- amount: string;
21311
- currency: string;
21312
- maxFee: string | null;
21313
- recipient: string;
21314
- type: "CARDANO_LIKE_SEND";
21315
- feeStrategy: {
21316
- type: "FAST" | "NORMAL" | "SLOW";
21317
- };
21318
- } | {
21319
21523
  amount: string;
21320
21524
  currency: string;
21321
21525
  maxFee: string | null;
@@ -21374,6 +21578,47 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21374
21578
  executeBeforeSeconds?: number | undefined;
21375
21579
  reason: string | null;
21376
21580
  type: "CANTON_LIKE_SEND_TOKEN";
21581
+ } | {
21582
+ type: "CARDANO_LIKE_STAKING_DELEGATE";
21583
+ currency: string;
21584
+ maxFee: string | null;
21585
+ feeStrategy: {
21586
+ type: "FAST" | "NORMAL" | "SLOW";
21587
+ };
21588
+ stakePoolId: string;
21589
+ } | {
21590
+ type: "CARDANO_LIKE_STAKING_DEREGISTER";
21591
+ currency: string;
21592
+ maxFee: string | null;
21593
+ feeStrategy: {
21594
+ type: "FAST" | "NORMAL" | "SLOW";
21595
+ };
21596
+ amount: string;
21597
+ } | {
21598
+ type: "CARDANO_LIKE_STAKING_REGISTER";
21599
+ currency: string;
21600
+ maxFee: string | null;
21601
+ feeStrategy: {
21602
+ type: "FAST" | "NORMAL" | "SLOW";
21603
+ };
21604
+ amount: string;
21605
+ } | {
21606
+ type: "CARDANO_LIKE_STAKING_WITHDRAW";
21607
+ currency: string;
21608
+ maxFee: string | null;
21609
+ feeStrategy: {
21610
+ type: "FAST" | "NORMAL" | "SLOW";
21611
+ };
21612
+ amount: string;
21613
+ } | {
21614
+ amount: string;
21615
+ currency: string;
21616
+ maxFee: string | null;
21617
+ recipient: string;
21618
+ type: "CARDANO_LIKE_SEND";
21619
+ feeStrategy: {
21620
+ type: "FAST" | "NORMAL" | "SLOW";
21621
+ };
21377
21622
  } | {
21378
21623
  amount: string;
21379
21624
  currency: string;
@@ -21484,7 +21729,6 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21484
21729
  validatorPubKey: string;
21485
21730
  maxExecutionFees?: string | undefined;
21486
21731
  } | {
21487
- amount: string;
21488
21732
  currency: string;
21489
21733
  maxFee: string | null;
21490
21734
  replacingTxHash?: string | undefined;
@@ -21502,8 +21746,8 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21502
21746
  sourcePubKey: string;
21503
21747
  targetPubKey: string;
21504
21748
  maxExecutionFees?: string | undefined;
21749
+ sourceStakedAmount?: string | undefined;
21505
21750
  } | {
21506
- amount: string;
21507
21751
  currency: string;
21508
21752
  maxFee: string | null;
21509
21753
  replacingTxHash?: string | undefined;
@@ -21520,10 +21764,6 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21520
21764
  };
21521
21765
  validatorPubKey: string;
21522
21766
  maxExecutionFees?: string | undefined;
21523
- } | {
21524
- type: "GENERIC_TRANSACTION";
21525
- currency: string;
21526
- rawTx: string;
21527
21767
  } | {
21528
21768
  type: "HEDERA_LIKE_STAKE";
21529
21769
  currency: string;
@@ -21550,6 +21790,10 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21550
21790
  feeStrategy: {
21551
21791
  type: "FAST" | "NORMAL" | "SLOW";
21552
21792
  };
21793
+ } | {
21794
+ type: "GENERIC_TRANSACTION";
21795
+ currency: string;
21796
+ rawTx: string;
21553
21797
  } | {
21554
21798
  type: "POLKADOT_LIKE_ADDPROXY";
21555
21799
  currency: string;
@@ -21811,6 +22055,15 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21811
22055
  canReplace: boolean;
21812
22056
  }[];
21813
22057
  }>;
22058
+ resolveReadableSummariesByKeys: ({ user }: {
22059
+ user: User;
22060
+ }, keys: {
22061
+ requestIds: string[];
22062
+ targetIds: string[];
22063
+ }) => Promise<Map<any, any>>;
22064
+ history: ({ user }: {
22065
+ user: User;
22066
+ }, id: string) => Promise<OperationHistory>;
21814
22067
  find: ({ user }: {
21815
22068
  user: User;
21816
22069
  }, id: string) => Promise<{
@@ -21821,12 +22074,72 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21821
22074
  note: import("@prisma/client/runtime/client").JsonValue;
21822
22075
  hash: string | null;
21823
22076
  replacementHash: string | null;
21824
- status: OutgoingTransactionStatus;
22077
+ status: OutgoingTransactionStatus$1;
22078
+ requestId: string | null;
21825
22079
  lesWalletTaskId: string;
21826
22080
  createdById: string;
21827
22081
  createdAt: Date;
21828
22082
  updatedAt: Date;
21829
22083
  intent: {
22084
+ amount: string;
22085
+ currency: string;
22086
+ maxFee: string | null;
22087
+ recipient: string;
22088
+ replacingTxHash?: string | undefined;
22089
+ replacementReason?: "boost" | "cancel" | undefined;
22090
+ type: "BITCOIN_LIKE_SEND";
22091
+ feeStrategy: {
22092
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
22093
+ feePerByte?: string | null | undefined;
22094
+ };
22095
+ } | {
22096
+ currency: string;
22097
+ transferProposal: {
22098
+ amount: string;
22099
+ contractId: string;
22100
+ instrumentAdmin: string;
22101
+ instrumentId: string;
22102
+ expiresAtMicros: number;
22103
+ reason: string | null;
22104
+ sender: string;
22105
+ recipient: string;
22106
+ };
22107
+ reason: string | null;
22108
+ type: "CANTON_LIKE_WITHDRAW";
22109
+ } | {
22110
+ currency: string;
22111
+ transferProposal: {
22112
+ amount: string;
22113
+ contractId: string;
22114
+ instrumentAdmin: string;
22115
+ instrumentId: string;
22116
+ expiresAtMicros: number;
22117
+ reason: string | null;
22118
+ sender: string;
22119
+ recipient: string;
22120
+ };
22121
+ verdict: "ACCEPT" | "REJECT";
22122
+ reason: string | null;
22123
+ type: "CANTON_LIKE_RECEIVE";
22124
+ } | {
22125
+ currency: string;
22126
+ recipient: string;
22127
+ type: "CANTON_LIKE_PRE_APPROVAL";
22128
+ } | {
22129
+ amount: string;
22130
+ currency: string;
22131
+ recipient: string;
22132
+ executeBeforeSeconds?: number | undefined;
22133
+ reason: string | null;
22134
+ type: "CANTON_LIKE_SEND";
22135
+ } | {
22136
+ amount: string;
22137
+ currency: string;
22138
+ recipient: string;
22139
+ executeBeforeSeconds?: number | undefined;
22140
+ reason: string | null;
22141
+ type: "CANTON_LIKE_SEND_TOKEN";
22142
+ } | {
21830
22143
  type: "CARDANO_LIKE_STAKING_DELEGATE";
21831
22144
  currency: string;
21832
22145
  maxFee: string | null;
@@ -21867,65 +22180,6 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
21867
22180
  feeStrategy: {
21868
22181
  type: "FAST" | "NORMAL" | "SLOW";
21869
22182
  };
21870
- } | {
21871
- amount: string;
21872
- currency: string;
21873
- maxFee: string | null;
21874
- recipient: string;
21875
- replacingTxHash?: string | undefined;
21876
- replacementReason?: "boost" | "cancel" | undefined;
21877
- type: "BITCOIN_LIKE_SEND";
21878
- feeStrategy: {
21879
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
21880
- feePerByte?: string | null | undefined;
21881
- };
21882
- } | {
21883
- currency: string;
21884
- transferProposal: {
21885
- amount: string;
21886
- contractId: string;
21887
- instrumentAdmin: string;
21888
- instrumentId: string;
21889
- expiresAtMicros: number;
21890
- reason: string | null;
21891
- sender: string;
21892
- recipient: string;
21893
- };
21894
- reason: string | null;
21895
- type: "CANTON_LIKE_WITHDRAW";
21896
- } | {
21897
- currency: string;
21898
- transferProposal: {
21899
- amount: string;
21900
- contractId: string;
21901
- instrumentAdmin: string;
21902
- instrumentId: string;
21903
- expiresAtMicros: number;
21904
- reason: string | null;
21905
- sender: string;
21906
- recipient: string;
21907
- };
21908
- verdict: "ACCEPT" | "REJECT";
21909
- reason: string | null;
21910
- type: "CANTON_LIKE_RECEIVE";
21911
- } | {
21912
- currency: string;
21913
- recipient: string;
21914
- type: "CANTON_LIKE_PRE_APPROVAL";
21915
- } | {
21916
- amount: string;
21917
- currency: string;
21918
- recipient: string;
21919
- executeBeforeSeconds?: number | undefined;
21920
- reason: string | null;
21921
- type: "CANTON_LIKE_SEND";
21922
- } | {
21923
- amount: string;
21924
- currency: string;
21925
- recipient: string;
21926
- executeBeforeSeconds?: number | undefined;
21927
- reason: string | null;
21928
- type: "CANTON_LIKE_SEND_TOKEN";
21929
22183
  } | {
21930
22184
  amount: string;
21931
22185
  currency: string;
@@ -22036,7 +22290,6 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
22036
22290
  validatorPubKey: string;
22037
22291
  maxExecutionFees?: string | undefined;
22038
22292
  } | {
22039
- amount: string;
22040
22293
  currency: string;
22041
22294
  maxFee: string | null;
22042
22295
  replacingTxHash?: string | undefined;
@@ -22054,8 +22307,8 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
22054
22307
  sourcePubKey: string;
22055
22308
  targetPubKey: string;
22056
22309
  maxExecutionFees?: string | undefined;
22310
+ sourceStakedAmount?: string | undefined;
22057
22311
  } | {
22058
- amount: string;
22059
22312
  currency: string;
22060
22313
  maxFee: string | null;
22061
22314
  replacingTxHash?: string | undefined;
@@ -22072,10 +22325,6 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
22072
22325
  };
22073
22326
  validatorPubKey: string;
22074
22327
  maxExecutionFees?: string | undefined;
22075
- } | {
22076
- type: "GENERIC_TRANSACTION";
22077
- currency: string;
22078
- rawTx: string;
22079
22328
  } | {
22080
22329
  type: "HEDERA_LIKE_STAKE";
22081
22330
  currency: string;
@@ -22102,6 +22351,10 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
22102
22351
  feeStrategy: {
22103
22352
  type: "FAST" | "NORMAL" | "SLOW";
22104
22353
  };
22354
+ } | {
22355
+ type: "GENERIC_TRANSACTION";
22356
+ currency: string;
22357
+ rawTx: string;
22105
22358
  } | {
22106
22359
  type: "POLKADOT_LIKE_ADDPROXY";
22107
22360
  currency: string;
@@ -22399,6 +22652,7 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
22399
22652
  role?: UserRole;
22400
22653
  deviceType?: UserDeviceType;
22401
22654
  status?: ActivationStatus$1;
22655
+ search?: string;
22402
22656
  sortBy: "name" | "role" | "status" | "createdAt" | "updatedAt";
22403
22657
  sortOrder: SortOrder;
22404
22658
  ids?: string[];
@@ -26159,6 +26413,10 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
26159
26413
  omit: import("@/generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
26160
26414
  }>;
26161
26415
  };
26416
+ tokenization: {
26417
+ listTemplates: (workspaceName: string) => Promise<TokenTemplateResponse[]>;
26418
+ estimateDeploymentFee: (input: Parameters<typeof estimateTokenDeploymentFee>[0], user: User) => Promise<TokenizationDeploymentEstimate>;
26419
+ };
26162
26420
  requests: {
26163
26421
  transactionExists: ({ user }: {
26164
26422
  user: User;
@@ -26187,6 +26445,20 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
26187
26445
  total: number;
26188
26446
  results: RequestView[];
26189
26447
  }>;
26448
+ listOngoingTransactionRequests: ({ user }: {
26449
+ user: User;
26450
+ }, input: {
26451
+ accountId: string;
26452
+ page: number;
26453
+ pageSize: number;
26454
+ }) => Promise<{
26455
+ page: number;
26456
+ next: number | null;
26457
+ prev: number | null;
26458
+ pageSize: number;
26459
+ total: number;
26460
+ results: RequestView[];
26461
+ }>;
26190
26462
  listInternal: (input: Omit<RequestListFilters, "visibility">) => Promise<{
26191
26463
  page: number;
26192
26464
  next: number | null;
@@ -26196,6 +26468,9 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
26196
26468
  results: RequestView[];
26197
26469
  }>;
26198
26470
  resolveTokenizedAssetLinks: (requests: readonly RequestView[]) => Promise<Map<string, TokenizedAssetLink>>;
26471
+ resolveTokenizationDeploymentSummaries: ({ user }: {
26472
+ user: User;
26473
+ }, requests: readonly RequestView[]) => Promise<Map<string, TokenizationDeploymentSummary>>;
26199
26474
  resolveRequestSubjects: (requests: readonly RequestView[]) => Promise<Map<string, ResolvedRequestSubject>>;
26200
26475
  findReadable: ({ user }: {
26201
26476
  user: User;
@@ -26280,7 +26555,7 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
26280
26555
  }[]>;
26281
26556
  };
26282
26557
  pki: {
26283
- recordRootCaFetched(workspaceId: string, user: User): Promise<void>;
26558
+ recordRootCaFetched: (workspaceId: string, user: User) => Promise<void>;
26284
26559
  };
26285
26560
  entities: {
26286
26561
  list: (opts: {
@@ -26323,7 +26598,7 @@ declare const createApiCoreCapabilitySet: (prisma: ExtendedPrismaClient) => {
26323
26598
  list: (opts: {
26324
26599
  user: User;
26325
26600
  status?: import("@/generated/prisma/client").Group["status"];
26326
- name?: string;
26601
+ search?: string;
26327
26602
  memberId?: string;
26328
26603
  pagination: PageQuery;
26329
26604
  sortBy: "name" | "status" | "createdAt" | "updatedAt";
@@ -27163,6 +27438,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27163
27438
  role?: "ADMIN" | "OPERATOR" | "READ_ONLY_API_KEY" | undefined;
27164
27439
  deviceType?: "API" | "PSD" | "SOFT_PSD" | undefined;
27165
27440
  status?: "ACTIVE" | "INACTIVE" | undefined;
27441
+ search?: string | undefined;
27166
27442
  sortBy?: "createdAt" | "name" | "role" | "status" | "updatedAt" | undefined;
27167
27443
  sortOrder?: "asc" | "desc" | undefined;
27168
27444
  ids?: string[] | undefined;
@@ -27253,6 +27529,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27253
27529
  } | {
27254
27530
  type: "ETHEREUM_LIKE";
27255
27531
  address: string | null;
27532
+ } | {
27533
+ type: "GENERIC_LIKE";
27256
27534
  } | {
27257
27535
  type: "HEDERA_LIKE";
27258
27536
  address: string | null;
@@ -27275,8 +27553,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27275
27553
  } | {
27276
27554
  type: "TEZOS_LIKE";
27277
27555
  address: string | null;
27278
- } | {
27279
- type: "GENERIC_LIKE";
27280
27556
  } | {
27281
27557
  type: "TRON_LIKE";
27282
27558
  address: string | null;
@@ -27908,6 +28184,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27908
28184
  pageSize?: number | undefined;
27909
28185
  status?: "ACTIVE" | "INACTIVE" | undefined;
27910
28186
  name?: string | undefined;
28187
+ search?: string | undefined;
27911
28188
  governanceType?: "CLASSIC" | "RAW_SIGNING" | "TRADELINK" | undefined;
27912
28189
  allowedAction?: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "STAKE" | undefined;
27913
28190
  sortBy?: "createdAt" | "currency" | "index" | "name" | "updatedAt" | undefined;
@@ -27957,6 +28234,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27957
28234
  } | {
27958
28235
  type: "ETHEREUM_LIKE";
27959
28236
  address: string | null;
28237
+ } | {
28238
+ type: "GENERIC_LIKE";
27960
28239
  } | {
27961
28240
  type: "HEDERA_LIKE";
27962
28241
  address: string | null;
@@ -27979,8 +28258,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27979
28258
  } | {
27980
28259
  type: "TEZOS_LIKE";
27981
28260
  address: string | null;
27982
- } | {
27983
- type: "GENERIC_LIKE";
27984
28261
  } | {
27985
28262
  type: "TRON_LIKE";
27986
28263
  address: string | null;
@@ -28036,6 +28313,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28036
28313
  } | {
28037
28314
  type: "ETHEREUM_LIKE";
28038
28315
  address: string | null;
28316
+ } | {
28317
+ type: "GENERIC_LIKE";
28039
28318
  } | {
28040
28319
  type: "HEDERA_LIKE";
28041
28320
  address: string | null;
@@ -28058,8 +28337,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28058
28337
  } | {
28059
28338
  type: "TEZOS_LIKE";
28060
28339
  address: string | null;
28061
- } | {
28062
- type: "GENERIC_LIKE";
28063
28340
  } | {
28064
28341
  type: "TRON_LIKE";
28065
28342
  address: string | null;
@@ -28373,6 +28650,22 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28373
28650
  executionFee: string;
28374
28651
  note: Note | null;
28375
28652
  requestId: string | null;
28653
+ } | {
28654
+ id: string;
28655
+ hash: string;
28656
+ block: {
28657
+ height: string | null;
28658
+ time: string | null;
28659
+ };
28660
+ status: "FAILED" | "PENDING" | "SUCCESSFUL" | "UNKNOWN";
28661
+ confirmations: string;
28662
+ amount: string;
28663
+ fee: string;
28664
+ senders: string[];
28665
+ recipients: string[];
28666
+ type: "GENERIC_TRANSACTION";
28667
+ note: Note | null;
28668
+ requestId: string | null;
28376
28669
  } | {
28377
28670
  id: string;
28378
28671
  hash: string;
@@ -28500,22 +28793,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28500
28793
  type: "TEZOS_LIKE_DELEGATE" | "TEZOS_LIKE_RECEIVE" | "TEZOS_LIKE_REVEAL" | "TEZOS_LIKE_SEND" | "TEZOS_LIKE_UNDELEGATE";
28501
28794
  note: Note | null;
28502
28795
  requestId: string | null;
28503
- } | {
28504
- id: string;
28505
- hash: string;
28506
- block: {
28507
- height: string | null;
28508
- time: string | null;
28509
- };
28510
- status: "FAILED" | "PENDING" | "SUCCESSFUL" | "UNKNOWN";
28511
- confirmations: string;
28512
- amount: string;
28513
- fee: string;
28514
- senders: string[];
28515
- recipients: string[];
28516
- type: "GENERIC_TRANSACTION";
28517
- note: Note | null;
28518
- requestId: string | null;
28519
28796
  } | {
28520
28797
  id: string;
28521
28798
  hash: string;
@@ -28667,6 +28944,14 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28667
28944
  staked: string;
28668
28945
  }[] | undefined;
28669
28946
  } | null | undefined;
28947
+ } | {
28948
+ id: string;
28949
+ balance: {
28950
+ total: string;
28951
+ pending: string;
28952
+ reserved: string;
28953
+ };
28954
+ type: "GENERIC_LIKE";
28670
28955
  } | {
28671
28956
  id: string;
28672
28957
  balance: {
@@ -28809,14 +29094,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28809
29094
  address: string;
28810
29095
  }[];
28811
29096
  } | null | undefined;
28812
- } | {
28813
- id: string;
28814
- balance: {
28815
- total: string;
28816
- pending: string;
28817
- reserved: string;
28818
- };
28819
- type: "GENERIC_LIKE";
28820
29097
  } | {
28821
29098
  id: string;
28822
29099
  balance: {
@@ -28896,6 +29173,14 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28896
29173
  staked: string;
28897
29174
  }[] | undefined;
28898
29175
  } | null | undefined;
29176
+ } | {
29177
+ id: string;
29178
+ balance: {
29179
+ total: string;
29180
+ pending: string;
29181
+ reserved: string;
29182
+ };
29183
+ type: "GENERIC_LIKE";
28899
29184
  } | {
28900
29185
  id: string;
28901
29186
  balance: {
@@ -29038,14 +29323,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29038
29323
  address: string;
29039
29324
  }[];
29040
29325
  } | null | undefined;
29041
- } | {
29042
- id: string;
29043
- balance: {
29044
- total: string;
29045
- pending: string;
29046
- reserved: string;
29047
- };
29048
- type: "GENERIC_LIKE";
29049
29326
  } | {
29050
29327
  id: string;
29051
29328
  balance: {
@@ -29128,6 +29405,14 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29128
29405
  staked: string;
29129
29406
  }[] | undefined;
29130
29407
  } | null | undefined;
29408
+ } | {
29409
+ id: string;
29410
+ balance: {
29411
+ total: string;
29412
+ pending: string;
29413
+ reserved: string;
29414
+ };
29415
+ type: "GENERIC_LIKE";
29131
29416
  } | {
29132
29417
  id: string;
29133
29418
  balance: {
@@ -29270,14 +29555,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29270
29555
  address: string;
29271
29556
  }[];
29272
29557
  } | null | undefined;
29273
- } | {
29274
- id: string;
29275
- balance: {
29276
- total: string;
29277
- pending: string;
29278
- reserved: string;
29279
- };
29280
- type: "GENERIC_LIKE";
29281
29558
  } | {
29282
29559
  id: string;
29283
29560
  balance: {
@@ -29344,6 +29621,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29344
29621
  validator: string;
29345
29622
  state: "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "INACTIVE" | "UNKNOWN";
29346
29623
  staked: string | null;
29624
+ effectiveBalance: string | null;
29625
+ totalBalance: string | null;
29347
29626
  rewards: {
29348
29627
  total: string;
29349
29628
  };
@@ -29372,6 +29651,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29372
29651
  validator: string;
29373
29652
  state: "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "INACTIVE" | "UNKNOWN";
29374
29653
  staked: string | null;
29654
+ effectiveBalance: string | null;
29655
+ totalBalance: string | null;
29375
29656
  rewards: {
29376
29657
  total: string;
29377
29658
  };
@@ -29390,6 +29671,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29390
29671
  cursor?: string | undefined;
29391
29672
  id: string;
29392
29673
  stakeId: string;
29674
+ search?: string | undefined;
29393
29675
  };
29394
29676
  output: {
29395
29677
  next: string | null;
@@ -29398,6 +29680,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29398
29680
  validator: string;
29399
29681
  state: "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "INACTIVE" | "UNKNOWN";
29400
29682
  staked: string | null;
29683
+ effectiveBalance: string | null;
29684
+ totalBalance: string | null;
29401
29685
  rewards: {
29402
29686
  total: string;
29403
29687
  };
@@ -29925,6 +30209,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29925
30209
  accountId?: string | undefined;
29926
30210
  recipient?: string | undefined;
29927
30211
  type?: "BITCOIN_LIKE_RECEIVE" | "BITCOIN_LIKE_SEND" | "CANTON_LIKE_PRE_APPROVAL" | "CANTON_LIKE_RECEIVE" | "CANTON_LIKE_SEND" | "CANTON_LIKE_SEND_TOKEN" | "CANTON_LIKE_WITHDRAW" | "CARDANO_LIKE_RECEIVE" | "CARDANO_LIKE_SEND" | "CARDANO_LIKE_STAKING_DELEGATE" | "CARDANO_LIKE_STAKING_DEREGISTER" | "CARDANO_LIKE_STAKING_REGISTER" | "CARDANO_LIKE_STAKING_WITHDRAW" | "ETHEREUM_LIKE_DEPLOY_CONTRACT" | "ETHEREUM_LIKE_EXECUTE_CONTRACT" | "ETHEREUM_LIKE_RECEIVE" | "ETHEREUM_LIKE_SEND" | "ETHEREUM_LIKE_STAKE_CONSOLIDATE" | "ETHEREUM_LIKE_STAKE_DEPOSIT" | "ETHEREUM_LIKE_STAKE_TOP_UP" | "ETHEREUM_LIKE_STAKE_UPGRADE" | "ETHEREUM_LIKE_STAKE_WITHDRAW" | "GENERIC_TRANSACTION" | "HEDERA_LIKE_RECEIVE" | "HEDERA_LIKE_RECEIVE_TOKEN" | "HEDERA_LIKE_SEND" | "HEDERA_LIKE_SEND_TOKEN" | "HEDERA_LIKE_STAKE" | "HEDERA_LIKE_UNSTAKE" | "POLKADOT_LIKE_ADDPROXY" | "POLKADOT_LIKE_ANONYMOUSPROXY" | "POLKADOT_LIKE_BOND" | "POLKADOT_LIKE_BONDEXTRA" | "POLKADOT_LIKE_CHILL" | "POLKADOT_LIKE_KILLANONYMOUS" | "POLKADOT_LIKE_KILLPURE" | "POLKADOT_LIKE_NOMINATE" | "POLKADOT_LIKE_PROXY" | "POLKADOT_LIKE_PUREPROXY" | "POLKADOT_LIKE_REBOND" | "POLKADOT_LIKE_RECEIVE" | "POLKADOT_LIKE_REMOVEPROXY" | "POLKADOT_LIKE_REWARD" | "POLKADOT_LIKE_SEND" | "POLKADOT_LIKE_SETCONTROLLER" | "POLKADOT_LIKE_SETPAYEE" | "POLKADOT_LIKE_TRANSFERALL" | "POLKADOT_LIKE_UNBOND" | "POLKADOT_LIKE_WITHDRAWUNBONDED" | "RIPPLE_LIKE_RECEIVE" | "RIPPLE_LIKE_SEND" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_SEND" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "STELLAR_LIKE_RECEIVE" | "STELLAR_LIKE_SEND" | "SUI_LIKE_RECEIVE" | "SUI_LIKE_RECEIVE_TOKEN" | "SUI_LIKE_SEND" | "SUI_LIKE_SEND_TOKEN" | "SUI_LIKE_STAKE" | "SUI_LIKE_UNSTAKE" | "TEZOS_LIKE_DELEGATE" | "TEZOS_LIKE_RECEIVE" | "TEZOS_LIKE_REVEAL" | "TEZOS_LIKE_SEND" | "TEZOS_LIKE_UNDELEGATE" | "TRON_LIKE_RECEIVE" | "TRON_LIKE_RECEIVE_TOKEN" | "TRON_LIKE_SEND" | "TRON_LIKE_SEND_TOKEN" | ("BITCOIN_LIKE_RECEIVE" | "BITCOIN_LIKE_SEND" | "CANTON_LIKE_PRE_APPROVAL" | "CANTON_LIKE_RECEIVE" | "CANTON_LIKE_SEND" | "CANTON_LIKE_SEND_TOKEN" | "CANTON_LIKE_WITHDRAW" | "CARDANO_LIKE_RECEIVE" | "CARDANO_LIKE_SEND" | "CARDANO_LIKE_STAKING_DELEGATE" | "CARDANO_LIKE_STAKING_DEREGISTER" | "CARDANO_LIKE_STAKING_REGISTER" | "CARDANO_LIKE_STAKING_WITHDRAW" | "ETHEREUM_LIKE_DEPLOY_CONTRACT" | "ETHEREUM_LIKE_EXECUTE_CONTRACT" | "ETHEREUM_LIKE_RECEIVE" | "ETHEREUM_LIKE_SEND" | "ETHEREUM_LIKE_STAKE_CONSOLIDATE" | "ETHEREUM_LIKE_STAKE_DEPOSIT" | "ETHEREUM_LIKE_STAKE_TOP_UP" | "ETHEREUM_LIKE_STAKE_UPGRADE" | "ETHEREUM_LIKE_STAKE_WITHDRAW" | "GENERIC_TRANSACTION" | "HEDERA_LIKE_RECEIVE" | "HEDERA_LIKE_RECEIVE_TOKEN" | "HEDERA_LIKE_SEND" | "HEDERA_LIKE_SEND_TOKEN" | "HEDERA_LIKE_STAKE" | "HEDERA_LIKE_UNSTAKE" | "POLKADOT_LIKE_ADDPROXY" | "POLKADOT_LIKE_ANONYMOUSPROXY" | "POLKADOT_LIKE_BOND" | "POLKADOT_LIKE_BONDEXTRA" | "POLKADOT_LIKE_CHILL" | "POLKADOT_LIKE_KILLANONYMOUS" | "POLKADOT_LIKE_KILLPURE" | "POLKADOT_LIKE_NOMINATE" | "POLKADOT_LIKE_PROXY" | "POLKADOT_LIKE_PUREPROXY" | "POLKADOT_LIKE_REBOND" | "POLKADOT_LIKE_RECEIVE" | "POLKADOT_LIKE_REMOVEPROXY" | "POLKADOT_LIKE_REWARD" | "POLKADOT_LIKE_SEND" | "POLKADOT_LIKE_SETCONTROLLER" | "POLKADOT_LIKE_SETPAYEE" | "POLKADOT_LIKE_TRANSFERALL" | "POLKADOT_LIKE_UNBOND" | "POLKADOT_LIKE_WITHDRAWUNBONDED" | "RIPPLE_LIKE_RECEIVE" | "RIPPLE_LIKE_SEND" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_SEND" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "STELLAR_LIKE_RECEIVE" | "STELLAR_LIKE_SEND" | "SUI_LIKE_RECEIVE" | "SUI_LIKE_RECEIVE_TOKEN" | "SUI_LIKE_SEND" | "SUI_LIKE_SEND_TOKEN" | "SUI_LIKE_STAKE" | "SUI_LIKE_UNSTAKE" | "TEZOS_LIKE_DELEGATE" | "TEZOS_LIKE_RECEIVE" | "TEZOS_LIKE_REVEAL" | "TEZOS_LIKE_SEND" | "TEZOS_LIKE_UNDELEGATE" | "TRON_LIKE_RECEIVE" | "TRON_LIKE_RECEIVE_TOKEN" | "TRON_LIKE_SEND" | "TRON_LIKE_SEND_TOKEN")[] | undefined;
30212
+ status?: "CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN" | ("CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN")[] | undefined;
29928
30213
  amount?: string | undefined;
29929
30214
  currency?: string | undefined;
29930
30215
  note?: string | undefined;
@@ -29940,7 +30225,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29940
30225
  workspaceName: string;
29941
30226
  accountId: string;
29942
30227
  hash: string | null;
29943
- status: "CONFIRMED" | "DROPPED" | "FAILED" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED";
30228
+ status: "CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN";
29944
30229
  intent: TransactionData;
29945
30230
  updatedAt: Date;
29946
30231
  canReplace: boolean;
@@ -29957,13 +30242,80 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29957
30242
  workspaceName: string;
29958
30243
  accountId: string;
29959
30244
  hash: string | null;
29960
- status: "CONFIRMED" | "DROPPED" | "FAILED" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED";
30245
+ status: "CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN";
29961
30246
  intent: TransactionData;
29962
30247
  updatedAt: Date;
29963
30248
  canReplace: boolean;
29964
30249
  };
29965
30250
  meta: TrpcMeta;
29966
30251
  }>;
30252
+ web: import("@trpc/server").TRPCBuiltRouter<{
30253
+ ctx: {
30254
+ 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;
30255
+ res?: import("fastify").FastifyReply<import("fastify").RouteGenericInterface, import("fastify").RawServerDefault, import("node:http").IncomingMessage, import("node:http").ServerResponse<import("node:http").IncomingMessage>, unknown, import("fastify").FastifySchema, import("fastify").FastifyTypeProviderDefault, unknown> | undefined;
30256
+ info?: import("@trpc/server/unstable-core-do-not-import").TRPCRequestInfo | undefined;
30257
+ debugAuthToken?: string;
30258
+ rootAuthToken?: string;
30259
+ backofficeRequiredPermission?: BackofficePermission;
30260
+ io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
30261
+ user: {
30262
+ id: string;
30263
+ workspaceName: string;
30264
+ name: string;
30265
+ authUserId: string | null;
30266
+ pubKey: string;
30267
+ deviceType: UserDeviceType;
30268
+ deviceUserId: string | null;
30269
+ hsmId: string | null;
30270
+ u2fKeyHandle: string | null;
30271
+ u2fPubKey: string | null;
30272
+ legacyViewAll: boolean;
30273
+ role: UserRole;
30274
+ status: ActivationStatus$1;
30275
+ isSuspended: boolean;
30276
+ gateType: GateUserType | null;
30277
+ gateId: number;
30278
+ syncId: string;
30279
+ createdAt: Date;
30280
+ updatedAt: Date;
30281
+ } | null;
30282
+ authorization: string | null;
30283
+ readOnly: boolean;
30284
+ activityTracer: ActivityTracer;
30285
+ core: RuntimeApiCapabilityProvider;
30286
+ };
30287
+ meta: TrpcMeta;
30288
+ errorShape: {
30289
+ message: string;
30290
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
30291
+ data: {
30292
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
30293
+ httpStatus: number;
30294
+ path?: string;
30295
+ stack?: string;
30296
+ maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
30297
+ maintenance?: boolean | undefined;
30298
+ };
30299
+ };
30300
+ transformer: true;
30301
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
30302
+ history: import("@trpc/server").TRPCQueryProcedure<{
30303
+ input: {
30304
+ id: string;
30305
+ };
30306
+ output: {
30307
+ status: "CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN";
30308
+ statusUpdatedAt: Date;
30309
+ milestones: {
30310
+ id: string;
30311
+ status: "CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN";
30312
+ recordedAt: Date;
30313
+ failureReason: string | null;
30314
+ }[];
30315
+ };
30316
+ meta: TrpcMeta;
30317
+ }>;
30318
+ }>>;
29967
30319
  }>>;
29968
30320
  governance: import("@trpc/server").TRPCBuiltRouter<{
29969
30321
  ctx: {
@@ -30120,6 +30472,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30120
30472
  pageSize?: number | undefined;
30121
30473
  status?: "ACTIVE" | "INACTIVE" | undefined;
30122
30474
  name?: string | undefined;
30475
+ search?: string | undefined;
30123
30476
  memberId?: string | undefined;
30124
30477
  sortBy?: "createdAt" | "name" | "status" | "updatedAt" | undefined;
30125
30478
  sortOrder?: "asc" | "desc" | undefined;
@@ -30378,6 +30731,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30378
30731
  page?: number | undefined;
30379
30732
  pageSize?: number | undefined;
30380
30733
  name?: string | undefined;
30734
+ search?: string | undefined;
30381
30735
  isPrivate?: boolean | undefined;
30382
30736
  currency?: string | undefined;
30383
30737
  contractAddress?: string | null | undefined;
@@ -31055,6 +31409,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31055
31409
  pageSize?: number | undefined;
31056
31410
  type?: "CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM" | ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[] | undefined;
31057
31411
  state?: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | ("ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK")[] | undefined;
31412
+ search?: string | undefined;
31058
31413
  targetId?: string | undefined;
31059
31414
  targetIds?: string[] | undefined;
31060
31415
  createdBy?: string | undefined;
@@ -31139,6 +31494,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31139
31494
  pageSize?: number | undefined;
31140
31495
  type?: "CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM" | ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[] | undefined;
31141
31496
  state?: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | ("ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK")[] | undefined;
31497
+ search?: string | undefined;
31142
31498
  targetId?: string | undefined;
31143
31499
  targetIds?: string[] | undefined;
31144
31500
  createdBy?: string | undefined;
@@ -31151,6 +31507,23 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31151
31507
  support?: "legacy" | "standalone" | undefined;
31152
31508
  portfolioIds?: string[] | undefined;
31153
31509
  tokenizedAssetIds?: string[] | undefined;
31510
+ operationStatus?: "CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN" | ("CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN")[] | undefined;
31511
+ };
31512
+ output: {
31513
+ page: number;
31514
+ next: number | null;
31515
+ prev: number | null;
31516
+ pageSize: number;
31517
+ total: number;
31518
+ results: WebVaultRequestResponse[];
31519
+ };
31520
+ meta: TrpcMeta;
31521
+ }>;
31522
+ listOngoingTransactionRequests: import("@trpc/server").TRPCQueryProcedure<{
31523
+ input: {
31524
+ page?: number | undefined;
31525
+ pageSize?: number | undefined;
31526
+ accountId: string;
31154
31527
  };
31155
31528
  output: {
31156
31529
  page: number;
@@ -31659,133 +32032,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31659
32032
  input: {
31660
32033
  accountId: string;
31661
32034
  transaction: {
31662
- amount: string;
31663
- currency: string;
31664
- maxFee: string | null;
31665
- recipient: string;
31666
- type: "HEDERA_LIKE_SEND";
31667
- feeStrategy: {
31668
- type: "FAST" | "NORMAL" | "SLOW";
31669
- };
31670
- } | {
31671
- amount: string;
31672
- currency: string;
31673
- maxFee: string | null;
31674
- recipient: string;
31675
- replacingTxHash?: string | undefined;
31676
- replacementReason?: "boost" | "cancel" | undefined;
31677
- type: "BITCOIN_LIKE_SEND";
31678
- feeStrategy: {
31679
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
31680
- feePerByte?: string | null | undefined;
31681
- };
31682
- } | {
31683
- amount: string;
31684
- currency: string;
31685
- recipient: string;
31686
- executeBeforeSeconds?: number | undefined;
31687
- reason: string | null;
31688
- type: "CANTON_LIKE_SEND";
31689
- } | {
31690
- amount: string;
31691
- currency: string;
31692
- maxFee: string | null;
31693
- recipient: string;
31694
- type: "CARDANO_LIKE_SEND";
31695
- feeStrategy: {
31696
- type: "FAST" | "NORMAL" | "SLOW";
31697
- };
31698
- } | {
31699
- amount: string;
31700
- currency: string;
31701
- maxFee: string | null;
31702
- recipient: string;
31703
- replacingTxHash?: string | undefined;
31704
- type: "ETHEREUM_LIKE_SEND";
31705
- feeStrategy: {
31706
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
31707
- gasPrice: string;
31708
- gasLimit: string;
31709
- } | {
31710
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
31711
- maxPriorityFeePerGas: string;
31712
- maxFeePerGas: string;
31713
- gasLimit: string;
31714
- };
31715
- } | {
31716
- amount: string;
31717
- currency: string;
31718
- maxFee: string | null;
31719
- recipient: string;
31720
- type: "POLKADOT_LIKE_SEND";
31721
- } | {
31722
- amount: string;
31723
- currency: string;
31724
- maxFee: string | null;
31725
- recipient: string;
31726
- type: "RIPPLE_LIKE_SEND";
31727
- destinationTag: string | null;
31728
- feeStrategy: {
31729
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
31730
- };
31731
- } | {
31732
- amount: string;
31733
- currency: string;
31734
- maxFee: string | null;
31735
- recipient: string;
31736
- type: "SOLANA_LIKE_SEND";
31737
- feeStrategy: {
31738
- type: "FAST" | "NORMAL" | "SLOW";
31739
- };
31740
- } | {
31741
- amount: string;
31742
- currency: string;
31743
- maxFee: string | null;
31744
- recipient: string;
31745
- type: "STELLAR_LIKE_SEND";
31746
- memo: {
31747
- type: "MEMO_TEXT";
31748
- value: string;
31749
- } | {
31750
- type: "MEMO_ID";
31751
- value: string;
31752
- } | {
31753
- type: "MEMO_HASH";
31754
- value: string;
31755
- } | {
31756
- type: "MEMO_RETURN";
31757
- value: string;
31758
- } | null;
31759
- feeStrategy: {
31760
- type: "FAST" | "NORMAL" | "SLOW";
31761
- };
31762
- } | {
31763
- amount: string;
31764
- currency: string;
31765
- maxFee: string | null;
31766
- recipient: string;
31767
- type: "SUI_LIKE_SEND";
31768
- feeStrategy: {
31769
- type: "FAST" | "NORMAL" | "SLOW";
31770
- };
31771
- } | {
31772
- amount: string;
31773
- currency: string;
31774
- maxFee: string | null;
31775
- recipient: string;
31776
- type: "TEZOS_LIKE_SEND";
31777
- feeStrategy: {
31778
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
31779
- };
31780
- } | {
31781
- type: "HEDERA_LIKE_STAKE";
31782
- currency: string;
31783
- nodeId: string;
31784
- maxFee: string | null;
31785
- feeStrategy: {
31786
- type: "FAST" | "NORMAL" | "SLOW";
31787
- };
31788
- } | {
31789
32035
  currency: string;
31790
32036
  transferProposal: {
31791
32037
  amount: string;
@@ -31850,6 +32096,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31850
32096
  type: "FAST" | "NORMAL" | "SLOW";
31851
32097
  };
31852
32098
  amount: string;
32099
+ } | {
32100
+ type: "GENERIC_TRANSACTION";
32101
+ currency: string;
32102
+ rawTx: string;
32103
+ } | {
32104
+ type: "HEDERA_LIKE_STAKE";
32105
+ currency: string;
32106
+ nodeId: string;
32107
+ maxFee: string | null;
32108
+ feeStrategy: {
32109
+ type: "FAST" | "NORMAL" | "SLOW";
32110
+ };
31853
32111
  } | {
31854
32112
  type: "POLKADOT_LIKE_ADDPROXY";
31855
32113
  currency: string;
@@ -31987,19 +32245,25 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
31987
32245
  feeStrategy: {
31988
32246
  type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
31989
32247
  };
31990
- } | {
31991
- type: "GENERIC_TRANSACTION";
31992
- currency: string;
31993
- rawTx: string;
31994
32248
  } | {
31995
32249
  amount: string;
31996
32250
  currency: string;
31997
32251
  maxFee: string | null;
31998
32252
  recipient: string;
31999
- type: "HEDERA_LIKE_SEND_TOKEN";
32253
+ replacingTxHash?: string | undefined;
32254
+ replacementReason?: "boost" | "cancel" | undefined;
32255
+ type: "BITCOIN_LIKE_SEND";
32000
32256
  feeStrategy: {
32001
- type: "FAST" | "NORMAL" | "SLOW";
32257
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
32258
+ feePerByte?: string | null | undefined;
32002
32259
  };
32260
+ } | {
32261
+ amount: string;
32262
+ currency: string;
32263
+ recipient: string;
32264
+ executeBeforeSeconds?: number | undefined;
32265
+ reason: string | null;
32266
+ type: "CANTON_LIKE_SEND";
32003
32267
  } | {
32004
32268
  amount: string;
32005
32269
  currency: string;
@@ -32007,6 +32271,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32007
32271
  executeBeforeSeconds?: number | undefined;
32008
32272
  reason: string | null;
32009
32273
  type: "CANTON_LIKE_SEND_TOKEN";
32274
+ } | {
32275
+ amount: string;
32276
+ currency: string;
32277
+ maxFee: string | null;
32278
+ recipient: string;
32279
+ type: "CARDANO_LIKE_SEND";
32280
+ feeStrategy: {
32281
+ type: "FAST" | "NORMAL" | "SLOW";
32282
+ };
32010
32283
  } | {
32011
32284
  amount: string;
32012
32285
  currency: string;
@@ -32043,6 +32316,23 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32043
32316
  maxFeePerGas: string;
32044
32317
  gasLimit: string;
32045
32318
  };
32319
+ } | {
32320
+ amount: string;
32321
+ currency: string;
32322
+ maxFee: string | null;
32323
+ recipient: string;
32324
+ replacingTxHash?: string | undefined;
32325
+ type: "ETHEREUM_LIKE_SEND";
32326
+ feeStrategy: {
32327
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
32328
+ gasPrice: string;
32329
+ gasLimit: string;
32330
+ } | {
32331
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
32332
+ maxPriorityFeePerGas: string;
32333
+ maxFeePerGas: string;
32334
+ gasLimit: string;
32335
+ };
32046
32336
  } | {
32047
32337
  currency: string;
32048
32338
  maxFee: string | null;
@@ -32100,7 +32390,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32100
32390
  validatorPubKey: string;
32101
32391
  maxExecutionFees?: string | undefined;
32102
32392
  } | {
32103
- amount: string;
32104
32393
  currency: string;
32105
32394
  maxFee: string | null;
32106
32395
  replacingTxHash?: string | undefined;
@@ -32118,8 +32407,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32118
32407
  sourcePubKey: string;
32119
32408
  targetPubKey: string;
32120
32409
  maxExecutionFees?: string | undefined;
32410
+ sourceStakedAmount?: string | undefined;
32121
32411
  } | {
32122
- amount: string;
32123
32412
  currency: string;
32124
32413
  maxFee: string | null;
32125
32414
  replacingTxHash?: string | undefined;
@@ -32136,6 +32425,40 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32136
32425
  };
32137
32426
  validatorPubKey: string;
32138
32427
  maxExecutionFees?: string | undefined;
32428
+ } | {
32429
+ amount: string;
32430
+ currency: string;
32431
+ maxFee: string | null;
32432
+ recipient: string;
32433
+ type: "HEDERA_LIKE_SEND";
32434
+ feeStrategy: {
32435
+ type: "FAST" | "NORMAL" | "SLOW";
32436
+ };
32437
+ } | {
32438
+ amount: string;
32439
+ currency: string;
32440
+ maxFee: string | null;
32441
+ recipient: string;
32442
+ type: "HEDERA_LIKE_SEND_TOKEN";
32443
+ feeStrategy: {
32444
+ type: "FAST" | "NORMAL" | "SLOW";
32445
+ };
32446
+ } | {
32447
+ amount: string;
32448
+ currency: string;
32449
+ maxFee: string | null;
32450
+ recipient: string;
32451
+ type: "POLKADOT_LIKE_SEND";
32452
+ } | {
32453
+ amount: string;
32454
+ currency: string;
32455
+ maxFee: string | null;
32456
+ recipient: string;
32457
+ type: "RIPPLE_LIKE_SEND";
32458
+ destinationTag: string | null;
32459
+ feeStrategy: {
32460
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
32461
+ };
32139
32462
  } | {
32140
32463
  amount: string;
32141
32464
  currency: string;
@@ -32145,6 +32468,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32145
32468
  feeStrategy: {
32146
32469
  type: "FAST" | "NORMAL" | "SLOW";
32147
32470
  };
32471
+ } | {
32472
+ amount: string;
32473
+ currency: string;
32474
+ maxFee: string | null;
32475
+ recipient: string;
32476
+ type: "SOLANA_LIKE_SEND";
32477
+ feeStrategy: {
32478
+ type: "FAST" | "NORMAL" | "SLOW";
32479
+ };
32148
32480
  } | {
32149
32481
  amount: string;
32150
32482
  currency: string;
@@ -32163,6 +32495,37 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32163
32495
  feeStrategy: {
32164
32496
  type: "FAST" | "NORMAL" | "SLOW";
32165
32497
  };
32498
+ } | {
32499
+ amount: string;
32500
+ currency: string;
32501
+ maxFee: string | null;
32502
+ recipient: string;
32503
+ type: "STELLAR_LIKE_SEND";
32504
+ memo: {
32505
+ type: "MEMO_TEXT";
32506
+ value: string;
32507
+ } | {
32508
+ type: "MEMO_ID";
32509
+ value: string;
32510
+ } | {
32511
+ type: "MEMO_HASH";
32512
+ value: string;
32513
+ } | {
32514
+ type: "MEMO_RETURN";
32515
+ value: string;
32516
+ } | null;
32517
+ feeStrategy: {
32518
+ type: "FAST" | "NORMAL" | "SLOW";
32519
+ };
32520
+ } | {
32521
+ amount: string;
32522
+ currency: string;
32523
+ maxFee: string | null;
32524
+ recipient: string;
32525
+ type: "SUI_LIKE_SEND";
32526
+ feeStrategy: {
32527
+ type: "FAST" | "NORMAL" | "SLOW";
32528
+ };
32166
32529
  } | {
32167
32530
  amount: string;
32168
32531
  currency: string;
@@ -32172,6 +32535,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32172
32535
  feeStrategy: {
32173
32536
  type: "FAST" | "NORMAL" | "SLOW";
32174
32537
  };
32538
+ } | {
32539
+ amount: string;
32540
+ currency: string;
32541
+ maxFee: string | null;
32542
+ recipient: string;
32543
+ type: "TEZOS_LIKE_SEND";
32544
+ feeStrategy: {
32545
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
32546
+ };
32175
32547
  } | {
32176
32548
  amount: string;
32177
32549
  currency: string;
@@ -32426,7 +32798,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32426
32798
  validatorPubKey: string;
32427
32799
  maxExecutionFees?: string | undefined;
32428
32800
  } | {
32429
- amount: string;
32430
32801
  currency: string;
32431
32802
  maxFee: string | null;
32432
32803
  replacingTxHash?: string | undefined;
@@ -32444,8 +32815,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
32444
32815
  sourcePubKey: string;
32445
32816
  targetPubKey: string;
32446
32817
  maxExecutionFees?: string | undefined;
32818
+ sourceStakedAmount?: string | undefined;
32447
32819
  } | {
32448
- amount: string;
32449
32820
  currency: string;
32450
32821
  maxFee: string | null;
32451
32822
  replacingTxHash?: string | undefined;
@@ -39258,6 +39629,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39258
39629
  }[];
39259
39630
  network: string;
39260
39631
  assetType: "NATIVE";
39632
+ confirmationsNeeded: number | null;
39261
39633
  } | {
39262
39634
  id: string;
39263
39635
  name: string;
@@ -39337,6 +39709,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39337
39709
  }[];
39338
39710
  network: string;
39339
39711
  assetType: "NATIVE";
39712
+ confirmationsNeeded: number | null;
39340
39713
  }[];
39341
39714
  tokens: {
39342
39715
  id: string;
@@ -39393,6 +39766,107 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39393
39766
  meta: TrpcMeta;
39394
39767
  }>;
39395
39768
  }>>;
39769
+ tokenization: import("@trpc/server").TRPCBuiltRouter<{
39770
+ ctx: {
39771
+ 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;
39772
+ res?: import("fastify").FastifyReply<import("fastify").RouteGenericInterface, import("fastify").RawServerDefault, import("node:http").IncomingMessage, import("node:http").ServerResponse<import("node:http").IncomingMessage>, unknown, import("fastify").FastifySchema, import("fastify").FastifyTypeProviderDefault, unknown> | undefined;
39773
+ info?: import("@trpc/server/unstable-core-do-not-import").TRPCRequestInfo | undefined;
39774
+ debugAuthToken?: string;
39775
+ rootAuthToken?: string;
39776
+ backofficeRequiredPermission?: BackofficePermission;
39777
+ io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
39778
+ user: {
39779
+ id: string;
39780
+ workspaceName: string;
39781
+ name: string;
39782
+ authUserId: string | null;
39783
+ pubKey: string;
39784
+ deviceType: UserDeviceType;
39785
+ deviceUserId: string | null;
39786
+ hsmId: string | null;
39787
+ u2fKeyHandle: string | null;
39788
+ u2fPubKey: string | null;
39789
+ legacyViewAll: boolean;
39790
+ role: UserRole;
39791
+ status: ActivationStatus$1;
39792
+ isSuspended: boolean;
39793
+ gateType: GateUserType | null;
39794
+ gateId: number;
39795
+ syncId: string;
39796
+ createdAt: Date;
39797
+ updatedAt: Date;
39798
+ } | null;
39799
+ authorization: string | null;
39800
+ readOnly: boolean;
39801
+ activityTracer: ActivityTracer;
39802
+ core: RuntimeApiCapabilityProvider;
39803
+ };
39804
+ meta: TrpcMeta;
39805
+ errorShape: {
39806
+ message: string;
39807
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
39808
+ data: {
39809
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
39810
+ httpStatus: number;
39811
+ path?: string;
39812
+ stack?: string;
39813
+ maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
39814
+ maintenance?: boolean | undefined;
39815
+ };
39816
+ };
39817
+ transformer: true;
39818
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
39819
+ listTemplates: import("@trpc/server").TRPCQueryProcedure<{
39820
+ input: void;
39821
+ output: TokenTemplateResponse[];
39822
+ meta: TrpcMeta;
39823
+ }>;
39824
+ estimateDeploymentFee: import("@trpc/server").TRPCMutationProcedure<{
39825
+ input: {
39826
+ templateId: string;
39827
+ templateVersion: number;
39828
+ assetClass: "bond" | "commodity" | "fund" | "other" | "private-debt" | "real-estate" | "real-world-asset" | "security" | "stablecoin" | "tokenized-deposit" | null;
39829
+ network: string;
39830
+ deployerAccountId: string;
39831
+ tokenName: string;
39832
+ tokenSymbol: string;
39833
+ accounts: Partial<Record<"defaultAdmin" | "minter" | "owner" | "pauser", string>>;
39834
+ feeStrategy: {
39835
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
39836
+ maxPriorityFeePerGas: string;
39837
+ maxFeePerGas: string;
39838
+ gasLimit: string;
39839
+ };
39840
+ };
39841
+ output: {
39842
+ feeStrategy: {
39843
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
39844
+ maxPriorityFeePerGas: string;
39845
+ maxFeePerGas: string;
39846
+ gasLimit: string;
39847
+ };
39848
+ estimatedFees: {
39849
+ type: "ETHEREUM_LIKE";
39850
+ baseFees: string;
39851
+ gasLimit: string;
39852
+ nonce: string;
39853
+ priorityFees: string;
39854
+ executionFees?: string | null | undefined;
39855
+ maxExecutionFees?: string | null | undefined;
39856
+ estimatedFee: string;
39857
+ maxFeePerGas: string;
39858
+ maxFee: string;
39859
+ };
39860
+ balance: {
39861
+ available: string;
39862
+ insufficient: boolean;
39863
+ message?: string | undefined;
39864
+ };
39865
+ authorized: boolean;
39866
+ };
39867
+ meta: TrpcMeta;
39868
+ }>;
39869
+ }>>;
39396
39870
  tradelink: import("@trpc/server").TRPCBuiltRouter<{
39397
39871
  ctx: {
39398
39872
  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;
@@ -39840,7 +40314,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39840
40314
  status: "BROKEN" | "DISABLED" | "ENABLED";
39841
40315
  rules: {
39842
40316
  id: string;
39843
- actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
40317
+ actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
39844
40318
  requestTypes: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[];
39845
40319
  }[];
39846
40320
  scopeUserIds: string[];
@@ -39873,7 +40347,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39873
40347
  status: "BROKEN" | "DISABLED" | "ENABLED";
39874
40348
  rules: {
39875
40349
  id: string;
39876
- actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
40350
+ actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
39877
40351
  requestTypes: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[];
39878
40352
  }[];
39879
40353
  scopeUserIds: string[];
@@ -39932,7 +40406,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39932
40406
  description?: string | undefined;
39933
40407
  url: string;
39934
40408
  rules: {
39935
- actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
40409
+ actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
39936
40410
  requestTypes?: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[] | undefined;
39937
40411
  }[];
39938
40412
  secret?: string | undefined;
@@ -39949,7 +40423,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39949
40423
  status: "BROKEN" | "DISABLED" | "ENABLED";
39950
40424
  rules: {
39951
40425
  id: string;
39952
- actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
40426
+ actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
39953
40427
  requestTypes: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[];
39954
40428
  }[];
39955
40429
  scopeUserIds: string[];
@@ -39979,7 +40453,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39979
40453
  url?: string | undefined;
39980
40454
  status?: "BROKEN" | "DISABLED" | "ENABLED" | undefined;
39981
40455
  rules?: {
39982
- actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
40456
+ actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
39983
40457
  requestTypes?: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[] | undefined;
39984
40458
  }[] | undefined;
39985
40459
  scopeUserIds?: string[] | undefined;
@@ -39996,7 +40470,7 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
39996
40470
  status: "BROKEN" | "DISABLED" | "ENABLED";
39997
40471
  rules: {
39998
40472
  id: string;
39999
- actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
40473
+ actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "TransactionUnknown" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
40000
40474
  requestTypes: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[];
40001
40475
  }[];
40002
40476
  scopeUserIds: string[];
@@ -40485,133 +40959,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40485
40959
  input: {
40486
40960
  accountId: string;
40487
40961
  transaction: {
40488
- amount: string;
40489
- currency: string;
40490
- maxFee: string | null;
40491
- recipient: string;
40492
- type: "HEDERA_LIKE_SEND";
40493
- feeStrategy: {
40494
- type: "FAST" | "NORMAL" | "SLOW";
40495
- };
40496
- } | {
40497
- amount: string;
40498
- currency: string;
40499
- maxFee: string | null;
40500
- recipient: string;
40501
- replacingTxHash?: string | undefined;
40502
- replacementReason?: "boost" | "cancel" | undefined;
40503
- type: "BITCOIN_LIKE_SEND";
40504
- feeStrategy: {
40505
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
40506
- feePerByte?: string | null | undefined;
40507
- };
40508
- } | {
40509
- amount: string;
40510
- currency: string;
40511
- recipient: string;
40512
- executeBeforeSeconds?: number | undefined;
40513
- reason: string | null;
40514
- type: "CANTON_LIKE_SEND";
40515
- } | {
40516
- amount: string;
40517
- currency: string;
40518
- maxFee: string | null;
40519
- recipient: string;
40520
- type: "CARDANO_LIKE_SEND";
40521
- feeStrategy: {
40522
- type: "FAST" | "NORMAL" | "SLOW";
40523
- };
40524
- } | {
40525
- amount: string;
40526
- currency: string;
40527
- maxFee: string | null;
40528
- recipient: string;
40529
- replacingTxHash?: string | undefined;
40530
- type: "ETHEREUM_LIKE_SEND";
40531
- feeStrategy: {
40532
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
40533
- gasPrice: string;
40534
- gasLimit: string;
40535
- } | {
40536
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
40537
- maxPriorityFeePerGas: string;
40538
- maxFeePerGas: string;
40539
- gasLimit: string;
40540
- };
40541
- } | {
40542
- amount: string;
40543
- currency: string;
40544
- maxFee: string | null;
40545
- recipient: string;
40546
- type: "POLKADOT_LIKE_SEND";
40547
- } | {
40548
- amount: string;
40549
- currency: string;
40550
- maxFee: string | null;
40551
- recipient: string;
40552
- type: "RIPPLE_LIKE_SEND";
40553
- destinationTag: string | null;
40554
- feeStrategy: {
40555
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
40556
- };
40557
- } | {
40558
- amount: string;
40559
- currency: string;
40560
- maxFee: string | null;
40561
- recipient: string;
40562
- type: "SOLANA_LIKE_SEND";
40563
- feeStrategy: {
40564
- type: "FAST" | "NORMAL" | "SLOW";
40565
- };
40566
- } | {
40567
- amount: string;
40568
- currency: string;
40569
- maxFee: string | null;
40570
- recipient: string;
40571
- type: "STELLAR_LIKE_SEND";
40572
- memo: {
40573
- type: "MEMO_TEXT";
40574
- value: string;
40575
- } | {
40576
- type: "MEMO_ID";
40577
- value: string;
40578
- } | {
40579
- type: "MEMO_HASH";
40580
- value: string;
40581
- } | {
40582
- type: "MEMO_RETURN";
40583
- value: string;
40584
- } | null;
40585
- feeStrategy: {
40586
- type: "FAST" | "NORMAL" | "SLOW";
40587
- };
40588
- } | {
40589
- amount: string;
40590
- currency: string;
40591
- maxFee: string | null;
40592
- recipient: string;
40593
- type: "SUI_LIKE_SEND";
40594
- feeStrategy: {
40595
- type: "FAST" | "NORMAL" | "SLOW";
40596
- };
40597
- } | {
40598
- amount: string;
40599
- currency: string;
40600
- maxFee: string | null;
40601
- recipient: string;
40602
- type: "TEZOS_LIKE_SEND";
40603
- feeStrategy: {
40604
- type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
40605
- };
40606
- } | {
40607
- type: "HEDERA_LIKE_STAKE";
40608
- currency: string;
40609
- nodeId: string;
40610
- maxFee: string | null;
40611
- feeStrategy: {
40612
- type: "FAST" | "NORMAL" | "SLOW";
40613
- };
40614
- } | {
40615
40962
  currency: string;
40616
40963
  transferProposal: {
40617
40964
  amount: string;
@@ -40676,6 +41023,18 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40676
41023
  type: "FAST" | "NORMAL" | "SLOW";
40677
41024
  };
40678
41025
  amount: string;
41026
+ } | {
41027
+ type: "GENERIC_TRANSACTION";
41028
+ currency: string;
41029
+ rawTx: string;
41030
+ } | {
41031
+ type: "HEDERA_LIKE_STAKE";
41032
+ currency: string;
41033
+ nodeId: string;
41034
+ maxFee: string | null;
41035
+ feeStrategy: {
41036
+ type: "FAST" | "NORMAL" | "SLOW";
41037
+ };
40679
41038
  } | {
40680
41039
  type: "POLKADOT_LIKE_ADDPROXY";
40681
41040
  currency: string;
@@ -40813,19 +41172,25 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40813
41172
  feeStrategy: {
40814
41173
  type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
40815
41174
  };
40816
- } | {
40817
- type: "GENERIC_TRANSACTION";
40818
- currency: string;
40819
- rawTx: string;
40820
41175
  } | {
40821
41176
  amount: string;
40822
41177
  currency: string;
40823
41178
  maxFee: string | null;
40824
41179
  recipient: string;
40825
- type: "HEDERA_LIKE_SEND_TOKEN";
41180
+ replacingTxHash?: string | undefined;
41181
+ replacementReason?: "boost" | "cancel" | undefined;
41182
+ type: "BITCOIN_LIKE_SEND";
40826
41183
  feeStrategy: {
40827
- type: "FAST" | "NORMAL" | "SLOW";
41184
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
41185
+ feePerByte?: string | null | undefined;
40828
41186
  };
41187
+ } | {
41188
+ amount: string;
41189
+ currency: string;
41190
+ recipient: string;
41191
+ executeBeforeSeconds?: number | undefined;
41192
+ reason: string | null;
41193
+ type: "CANTON_LIKE_SEND";
40829
41194
  } | {
40830
41195
  amount: string;
40831
41196
  currency: string;
@@ -40833,6 +41198,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40833
41198
  executeBeforeSeconds?: number | undefined;
40834
41199
  reason: string | null;
40835
41200
  type: "CANTON_LIKE_SEND_TOKEN";
41201
+ } | {
41202
+ amount: string;
41203
+ currency: string;
41204
+ maxFee: string | null;
41205
+ recipient: string;
41206
+ type: "CARDANO_LIKE_SEND";
41207
+ feeStrategy: {
41208
+ type: "FAST" | "NORMAL" | "SLOW";
41209
+ };
40836
41210
  } | {
40837
41211
  amount: string;
40838
41212
  currency: string;
@@ -40869,6 +41243,23 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40869
41243
  maxFeePerGas: string;
40870
41244
  gasLimit: string;
40871
41245
  };
41246
+ } | {
41247
+ amount: string;
41248
+ currency: string;
41249
+ maxFee: string | null;
41250
+ recipient: string;
41251
+ replacingTxHash?: string | undefined;
41252
+ type: "ETHEREUM_LIKE_SEND";
41253
+ feeStrategy: {
41254
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
41255
+ gasPrice: string;
41256
+ gasLimit: string;
41257
+ } | {
41258
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
41259
+ maxPriorityFeePerGas: string;
41260
+ maxFeePerGas: string;
41261
+ gasLimit: string;
41262
+ };
40872
41263
  } | {
40873
41264
  currency: string;
40874
41265
  maxFee: string | null;
@@ -40926,7 +41317,6 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40926
41317
  validatorPubKey: string;
40927
41318
  maxExecutionFees?: string | undefined;
40928
41319
  } | {
40929
- amount: string;
40930
41320
  currency: string;
40931
41321
  maxFee: string | null;
40932
41322
  replacingTxHash?: string | undefined;
@@ -40944,8 +41334,8 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40944
41334
  sourcePubKey: string;
40945
41335
  targetPubKey: string;
40946
41336
  maxExecutionFees?: string | undefined;
41337
+ sourceStakedAmount?: string | undefined;
40947
41338
  } | {
40948
- amount: string;
40949
41339
  currency: string;
40950
41340
  maxFee: string | null;
40951
41341
  replacingTxHash?: string | undefined;
@@ -40962,6 +41352,40 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40962
41352
  };
40963
41353
  validatorPubKey: string;
40964
41354
  maxExecutionFees?: string | undefined;
41355
+ } | {
41356
+ amount: string;
41357
+ currency: string;
41358
+ maxFee: string | null;
41359
+ recipient: string;
41360
+ type: "HEDERA_LIKE_SEND";
41361
+ feeStrategy: {
41362
+ type: "FAST" | "NORMAL" | "SLOW";
41363
+ };
41364
+ } | {
41365
+ amount: string;
41366
+ currency: string;
41367
+ maxFee: string | null;
41368
+ recipient: string;
41369
+ type: "HEDERA_LIKE_SEND_TOKEN";
41370
+ feeStrategy: {
41371
+ type: "FAST" | "NORMAL" | "SLOW";
41372
+ };
41373
+ } | {
41374
+ amount: string;
41375
+ currency: string;
41376
+ maxFee: string | null;
41377
+ recipient: string;
41378
+ type: "POLKADOT_LIKE_SEND";
41379
+ } | {
41380
+ amount: string;
41381
+ currency: string;
41382
+ maxFee: string | null;
41383
+ recipient: string;
41384
+ type: "RIPPLE_LIKE_SEND";
41385
+ destinationTag: string | null;
41386
+ feeStrategy: {
41387
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
41388
+ };
40965
41389
  } | {
40966
41390
  amount: string;
40967
41391
  currency: string;
@@ -40971,6 +41395,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40971
41395
  feeStrategy: {
40972
41396
  type: "FAST" | "NORMAL" | "SLOW";
40973
41397
  };
41398
+ } | {
41399
+ amount: string;
41400
+ currency: string;
41401
+ maxFee: string | null;
41402
+ recipient: string;
41403
+ type: "SOLANA_LIKE_SEND";
41404
+ feeStrategy: {
41405
+ type: "FAST" | "NORMAL" | "SLOW";
41406
+ };
40974
41407
  } | {
40975
41408
  amount: string;
40976
41409
  currency: string;
@@ -40989,6 +41422,37 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40989
41422
  feeStrategy: {
40990
41423
  type: "FAST" | "NORMAL" | "SLOW";
40991
41424
  };
41425
+ } | {
41426
+ amount: string;
41427
+ currency: string;
41428
+ maxFee: string | null;
41429
+ recipient: string;
41430
+ type: "STELLAR_LIKE_SEND";
41431
+ memo: {
41432
+ type: "MEMO_TEXT";
41433
+ value: string;
41434
+ } | {
41435
+ type: "MEMO_ID";
41436
+ value: string;
41437
+ } | {
41438
+ type: "MEMO_HASH";
41439
+ value: string;
41440
+ } | {
41441
+ type: "MEMO_RETURN";
41442
+ value: string;
41443
+ } | null;
41444
+ feeStrategy: {
41445
+ type: "FAST" | "NORMAL" | "SLOW";
41446
+ };
41447
+ } | {
41448
+ amount: string;
41449
+ currency: string;
41450
+ maxFee: string | null;
41451
+ recipient: string;
41452
+ type: "SUI_LIKE_SEND";
41453
+ feeStrategy: {
41454
+ type: "FAST" | "NORMAL" | "SLOW";
41455
+ };
40992
41456
  } | {
40993
41457
  amount: string;
40994
41458
  currency: string;
@@ -40998,6 +41462,15 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
40998
41462
  feeStrategy: {
40999
41463
  type: "FAST" | "NORMAL" | "SLOW";
41000
41464
  };
41465
+ } | {
41466
+ amount: string;
41467
+ currency: string;
41468
+ maxFee: string | null;
41469
+ recipient: string;
41470
+ type: "TEZOS_LIKE_SEND";
41471
+ feeStrategy: {
41472
+ type: "CUSTOM" | "FAST" | "NORMAL" | "SLOW";
41473
+ };
41001
41474
  } | {
41002
41475
  amount: string;
41003
41476
  currency: string;
@@ -41285,6 +41758,79 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
41285
41758
  }>>;
41286
41759
  type AppRouter = typeof appRouter;
41287
41760
  //#endregion
41761
+ //#region src/entrypoints/api/tokenization/schemas.d.ts
41762
+ declare const zTokenTemplateResponse: z.ZodType<TokenTemplateResponse>;
41763
+ declare const zTokenTemplateListResponse: z.ZodArray<z.ZodType<TokenTemplateResponse, unknown, z.core.$ZodTypeInternals<TokenTemplateResponse, unknown>>>;
41764
+ declare const zTokenizationEstimateDeploymentFeeInput: z.ZodObject<{
41765
+ templateId: z.ZodString;
41766
+ templateVersion: z.ZodNumber;
41767
+ assetClass: z.ZodNullable<z.ZodEnum<{
41768
+ bond: "bond";
41769
+ commodity: "commodity";
41770
+ fund: "fund";
41771
+ other: "other";
41772
+ "private-debt": "private-debt";
41773
+ "real-estate": "real-estate";
41774
+ "real-world-asset": "real-world-asset";
41775
+ security: "security";
41776
+ stablecoin: "stablecoin";
41777
+ "tokenized-deposit": "tokenized-deposit";
41778
+ }>>;
41779
+ network: z.ZodString;
41780
+ deployerAccountId: z.ZodString;
41781
+ tokenName: z.ZodString;
41782
+ tokenSymbol: z.ZodString;
41783
+ accounts: z.ZodRecord<z.ZodEnum<{
41784
+ defaultAdmin: "defaultAdmin";
41785
+ minter: "minter";
41786
+ owner: "owner";
41787
+ pauser: "pauser";
41788
+ }> & z.core.$partial, z.ZodString>;
41789
+ feeStrategy: z.ZodObject<{
41790
+ type: z.ZodEnum<{
41791
+ CUSTOM: "CUSTOM";
41792
+ FAST: "FAST";
41793
+ NORMAL: "NORMAL";
41794
+ SLOW: "SLOW";
41795
+ }>;
41796
+ maxPriorityFeePerGas: z.ZodString;
41797
+ maxFeePerGas: z.ZodString;
41798
+ gasLimit: z.ZodString;
41799
+ }, z.core.$strip>;
41800
+ }, z.core.$strip>;
41801
+ type TokenizationEstimateDeploymentFeeInput = z.infer<typeof zTokenizationEstimateDeploymentFeeInput>;
41802
+ declare const zTokenizationEstimateDeploymentFeeResponse: z.ZodObject<{
41803
+ feeStrategy: z.ZodObject<{
41804
+ type: z.ZodEnum<{
41805
+ CUSTOM: "CUSTOM";
41806
+ FAST: "FAST";
41807
+ NORMAL: "NORMAL";
41808
+ SLOW: "SLOW";
41809
+ }>;
41810
+ maxPriorityFeePerGas: z.ZodString;
41811
+ maxFeePerGas: z.ZodString;
41812
+ gasLimit: z.ZodString;
41813
+ }, z.core.$strip>;
41814
+ estimatedFees: z.ZodObject<{
41815
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
41816
+ baseFees: z.ZodString;
41817
+ gasLimit: z.ZodString;
41818
+ nonce: z.ZodString;
41819
+ priorityFees: z.ZodString;
41820
+ executionFees: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41821
+ maxExecutionFees: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41822
+ estimatedFee: z.ZodString;
41823
+ maxFeePerGas: z.ZodString;
41824
+ maxFee: z.ZodString;
41825
+ }, z.core.$strip>;
41826
+ balance: z.ZodObject<{
41827
+ available: z.ZodString;
41828
+ insufficient: z.ZodBoolean;
41829
+ message: z.ZodOptional<z.ZodString>;
41830
+ }, z.core.$strip>;
41831
+ authorized: z.ZodBoolean;
41832
+ }, z.core.$strip>;
41833
+ //#endregion
41288
41834
  //#region src/entrypoints/api/tradelink/schemas.d.ts
41289
41835
  declare const zTradelinkCustodianResponse: z$1.ZodObject<{
41290
41836
  id: z$1.ZodString;
@@ -41394,6 +41940,53 @@ declare const zTradelinkSettlementWithAccountAndExchangeInfoResponse: z$1.ZodObj
41394
41940
  }, z$1.core.$strip>;
41395
41941
  type TradelinkSettlementWithAccountAndExchangeInfoResponse = z$1.infer<typeof zTradelinkSettlementWithAccountAndExchangeInfoResponse>;
41396
41942
  //#endregion
41943
+ //#region src/entrypoints/api/transactions/schemas.d.ts
41944
+ declare const zOperationMilestoneResponse: z.ZodObject<{
41945
+ id: z.ZodString;
41946
+ status: z.ZodEnum<{
41947
+ readonly SCHEDULED: 'SCHEDULED';
41948
+ readonly SUBMITTED: 'SUBMITTED';
41949
+ readonly ON_CHAIN: 'ON_CHAIN';
41950
+ readonly CONFIRMED: 'CONFIRMED';
41951
+ readonly DROPPED: 'DROPPED';
41952
+ readonly FAILED: 'FAILED';
41953
+ readonly FAILED_ON_CHAIN: 'FAILED_ON_CHAIN';
41954
+ readonly UNKNOWN: 'UNKNOWN';
41955
+ }>;
41956
+ recordedAt: z.ZodCoercedDate<unknown>;
41957
+ failureReason: z.ZodNullable<z.ZodString>;
41958
+ }, z.core.$strip>;
41959
+ type OperationMilestoneResponse = z.infer<typeof zOperationMilestoneResponse>;
41960
+ declare const zOperationHistoryResponse: z.ZodObject<{
41961
+ status: z.ZodEnum<{
41962
+ readonly SCHEDULED: 'SCHEDULED';
41963
+ readonly SUBMITTED: 'SUBMITTED';
41964
+ readonly ON_CHAIN: 'ON_CHAIN';
41965
+ readonly CONFIRMED: 'CONFIRMED';
41966
+ readonly DROPPED: 'DROPPED';
41967
+ readonly FAILED: 'FAILED';
41968
+ readonly FAILED_ON_CHAIN: 'FAILED_ON_CHAIN';
41969
+ readonly UNKNOWN: 'UNKNOWN';
41970
+ }>;
41971
+ statusUpdatedAt: z.ZodCoercedDate<unknown>;
41972
+ milestones: z.ZodArray<z.ZodObject<{
41973
+ id: z.ZodString;
41974
+ status: z.ZodEnum<{
41975
+ readonly SCHEDULED: 'SCHEDULED';
41976
+ readonly SUBMITTED: 'SUBMITTED';
41977
+ readonly ON_CHAIN: 'ON_CHAIN';
41978
+ readonly CONFIRMED: 'CONFIRMED';
41979
+ readonly DROPPED: 'DROPPED';
41980
+ readonly FAILED: 'FAILED';
41981
+ readonly FAILED_ON_CHAIN: 'FAILED_ON_CHAIN';
41982
+ readonly UNKNOWN: 'UNKNOWN';
41983
+ }>;
41984
+ recordedAt: z.ZodCoercedDate<unknown>;
41985
+ failureReason: z.ZodNullable<z.ZodString>;
41986
+ }, z.core.$strip>>;
41987
+ }, z.core.$strip>;
41988
+ type OperationHistoryResponse = z.infer<typeof zOperationHistoryResponse>;
41989
+ //#endregion
41397
41990
  //#region src/entrypoints/api/users/types.d.ts
41398
41991
  declare const zUserRegistrationCreateInput: z$1.ZodObject<{
41399
41992
  name: z$1.ZodString;
@@ -41684,5 +42277,5 @@ declare const zAuditLogSortBy: z.ZodDefault<z.ZodEnum<{
41684
42277
  }>>;
41685
42278
  type AuditLogSortBy = z.infer<typeof zAuditLogSortBy>;
41686
42279
  //#endregion
41687
- export { isTransactionCheckPreviewSupportedType as $, AccountGovernanceType as $a, OnboardingOpts as $i, zUtxosPageResponse as $n, zIndexedReceiveAddressSelection as $o, POLKADOT_SPEC as $r, zPortfoliosByAccountIdsResponse as $t, TradelinkEntityResponse as A, zCursorQuery as Aa, ApiChallenge as Ai, zGroupResponse as An, RevaultMode as Ao, TransactionDataOf as Ar, zReportDownloadUrlResponse as At, CreateTradelinkOrgEntityInput as B, LesWalletRegistrationResult as Ba, UserRegistrationChallengeResponse as Bi, zEntityResponse as Bn, isEthereumStakingNetwork as Bo, zNetworkAssetFields as Br, PortfolioSummary as Bt, zUserResponse as C, emptyPage as Ca, startOnboarding as Ci, zPrivacyNoticeResponse as Cn, PsdModel as Co, zWebhookResponse as Cr, Challenge as Ct, zUserRegistrationCreateInput as D, serializePage as Da, ObjectsContentResponse as Di, zSubProcessorsResponse as Dn, RequestState$1 as Do, SendOnlyTransactionData as Dr, ReportDownloadUrlResponse as Dt, UserRegistrationResponse as E, paginate as Ea, HsmObjectType as Ei, zSubProcessorRow as En, RequestReviewStatus as Eo, EstimatedFees as Er, zEnsureNameAvailableOutput as Et, zTradelinkNetworkResponse as F, RequestView as Fa, PsdSignature as Fi, zRootWorkspaceRuleResponse as Fn, WebhookRetryStrategy$1 as Fo, getTxHsmProps as Fr, PortfolioCreateInput as Ft, zCreateTradelinkNetworkBlueprintInput as G, OidcConfig as Ga, zPubKey as Gi, TransactionWithMetaResponse as Gn, IndexedReceiveAddressSelection as Go, TRON_SPEC as Gr, zPortfolioCurrentUserAccessResponse as Gt, PledgeResponse as H, BackofficeClaims as Ha, zPsdPairingData as Hi, AccountAllowedActionsResponse as Hn, AccountLiveDataResponse as Ho, zTransactionData as Hr, PortfoliosByAccountIdsResponse as Ht, zTradelinkSettlementWithAccountAndExchangeInfoResponse as I, zTransactionScanSummary as Ia, PubKey as Ii, zWorkspaceRuleResponse as In, WebhookStatus$1 as Io, zAccountLiveData as Ir, PortfolioCurrentUserAccessResponse as It, zPledgeResponse as J, ExtendedPrismaClient as Ja, zUserRegistrationChallenge as Ji, zAccountResponse as Jn, zAccountLiveDataResponse as Jo, STELLAR_SPEC as Jr, zPortfolioSortBy as Jt, zCreateTradelinkOrgEntityInput as K, zExchangeCredentialsResponse as Ka, zRefreshPskData as Ki, zAccountAllowedActionsResponse as Kn, IndexedSelectionCapability as Ko, TEZOS_SPEC as Kr, zPortfolioHistoryEntryResponse as Kt, AppRouter as L, RiskLevel as La, RefreshPskData as Li, zWorkspaceRulesResponse as Ln, WhitelistType as Lo, zAccountNetworkInfoFields as Lr, PortfolioHistoryEntryResponse as Lt, TradelinkSettlementWithAccountAndExchangeInfoResponse as M, zPaginated as Ma, PsdChallenge as Mi, RootWorkspaceRuleResponse as Mn, UserDeviceType as Mo, TransactionType as Mr, zReportResponse as Mt, zTradelinkCustodianResponse as N, zSortOrder as Na, PsdPairingData as Ni, WorkspaceRuleResponse as Nn, UserRegistrationState as No, TransactionTypeOf as Nr, zVisibleReportStatus as Nt, zUserRegistrationResponse as O, stableOrdering as Oa, ObjectsVersionResponse as Oi, GroupResponse as On, RequestType$1 as Oo, StakingDataOf as Or, ReportInput as Ot, zTradelinkEntityResponse as P, WebhookDeliveryStats as Pa, PsdPairingInputData as Pi, WorkspaceRulesResponse as Pn, UserRole as Po, convertTxToGovernableIntent as Pr, PortfolioAdminResponse as Pt, ActivityTracer as Q, zAuthResponse as Qa, OnboardingFullState as Qi, zTransactionWithMetaResponse as Qn, zIndexedReceiveAddressInput as Qo, zRippleDestinationTag as Qr, zPortfoliosByAccountIdsInput as Qt, TrpcMeta as R, LesWalletRegistrableSummary as Ra, RefreshPskInputData as Ri, EntityResponse as Rn, ETHEREUM_STAKING_NETWORKS as Ro, zAccountStakingFields as Rr, PortfolioSortBy$1 as Rt, zQuorumAccountSourceResponse as S, SortOrder as Sa, RequestListFilters as Si, zLegalInlineContent as Sn, PortfolioHistoryAction as So, zWebhookDetailResponse as Sr, zReviewStepsArray as St, UserRegistrationCreateInput as T, fetchAllPages as Ta, HSM_OBJECT_TYPES as Ti, zPrivacyNoticeSectionId as Tn, ReportType$1 as To, AccountStakingFields as Tr, SoftChallenge as Tt, TradelinkNetworkBlueprintResponse as U, PsdAuthChallengeData as Ua, zPsdPairingInputData as Ui, AccountResponse as Un, FreshReceiveAddress as Uo, zTransactionResponse as Ur, zPortfolioAdminResponse as Ut, DeleteTradelinkExchangeInput as V, LesWalletRegistrationScope as Va, UserRegistrationDeviceData as Vi, zEntitySortBy as Vn, admitsStakeOperation as Vo, zSendOnlyTransactionData as Vr, PortfolioUpdateInput as Vt, TradelinkOrgEntityResponse as W, zPsdAuthChallengeData as Wa, zPsdSignature as Wi, AccountSortBy as Wn, IndexedReceiveAddressInput as Wo, zTransactionType as Wr, zPortfolioCreateInput as Wt, zTradelinkOrgEntityResponse as X, AuthResponse as Xa, zUserRegistrationDeviceData as Xi, zCantonPreApprovalStateResponse as Xn, zBalance as Xo, isSplTokenTransaction as Xr, zPortfolioSummary as Xt, zTradelinkNetworkBlueprintResponse as Y, BackofficePermission as Ya, zUserRegistrationChallengeResponse as Yi, zAccountSortBy as Yn, zAddressIndex as Yo, SOLANA_SPEC as Yr, zPortfolioStatusFilter as Yt, zTradelinkWhitelist as Z, zApiUserCredentialsResponse as Za, DeviceClaim as Zi, zCantonTransferProposalResponse as Zn, zFreshReceiveAddress as Zo, RIPPLE_SPEC as Zr, zPortfolioUpdateInput as Zt, QuorumAccountSourceResponse as _, CursorPaginated as _a, zTransactionStatus as _i, PrivacyNoticeSection as _n, MaintenanceMode as _o, zDeleteWebhookResponse as _r, zSignMessageRequestInput as _t, WorkspaceResponse as a, zOnboardingId as aa, CANTON_SPEC as ai, PolicySortBy as an, AuditLogType$1 as ao, zAllAssetsResponse as ar, zStakingValidator as as, RequestSortBy as at, zAdminResponse as b, PageQuery as ba, BackofficeAuditLogInput as bi, zLegalContentBlock as bn, OnboardingStep as bo, zUpdateWebhookPayload as br, zWebVaultRequestResponse as bt, WhitelistAddressSortBy as c, HSM_COMPARATORS as ca, BITCOIN_SPEC as ci, AllowedActionsResponse as cn, EventAction$1 as co, zCurrencyResponse as cr, VaultRequestResponseBase as ct, zWhitelistAddressResponse as d, HsmCompareAnomaly as da, StakingProvisioning as di, zAllowedResourcesResponse as dn, GatePolicyType as do, DeleteWebhookResponse as dr, zApproveVaultRequestInput as dt, OnboardingSeedChallenge as ea, HEDERA_SPEC as ei, PORTFOLIO_NAME_MAX_LENGTH as en, AccountType$1 as eo, zSignedMessageResponse as er, zIndexedSelectionCapability as es, ApproveVaultRequestInput as et, zWhitelistAddressSortBy as f, HsmCompareDetail as fa, Validator as fi, zOpenApiResourceType as fn, GateReviewConfigType as fo, UpdateWebhookPayload as fr, zChallengeResponse as ft, QuorumAccountEntryResponse as g, AccountWorkspaceScope as ga, zCommonLiveData as gi, PrivacyNoticeResponse as gn, HsmHostingMode as go, zCreateWebhookResponse as gr, zSignDigestsRequestInput as gt, AdminResponse as h, AccountAssetFilter as ha, NetworkFamily as hi, LegalInlineContent as hn, GateWorkspaceRuleType as ho, zCreateWebhookPayload as hr, zRequestSortBy as ht, zAuditLogSortBy as i, zOnboardingFullState as ia, CARDANO_SPEC as ii, PolicyResponse as in, AllowedAction$1 as io, TokenResponse as ir, zStakesPage as is, RequestReview as it, TradelinkNetworkResponse as j, zPageQuery as ja, HsmCertificate as ji, zGroupSortBy as jn, ReviewConfigType as jo, TransactionResponse as jr, zReportInput as jt, TradelinkCustodianResponse as k, zCursorPaginated as ka, VersionedObjectInfo as ki, GroupSortBy as kn, ResourceType as ko, TransactionData as kr, ReportResponse as kt, WhitelistResponse as l, HSM_COMPARE_REASONS as la, BitcoinLikeBalance as li, AllowedResourcesResponse as ln, GateAccountType as lo, zTokenResponse as lr, WebVaultRequestResponse as lt, zWhitelistSortBy as m, HsmWorkspaceComparison as ma, zStakingProvisioning as mi, LegalInline as mn, GateWhitelistType as mo, WebhookResponse as mr, zEnsureNameAvailableInput as mt, AuditLogSortBy as n, WrappingKeyResponse as na, GENERIC_SPEC as ni, normalizePortfolioName as nn, AddressDerivationMode as no, AssetResponse as nr, zStakeSortBy as ns, EnsureNameAvailableInput as nt, zWorkspaceResponse as o, zOnboardingOpts as oa, CantonTransferProposal as oi, zPolicyResponse as on, ChallengeType as oo, zAssetCapabilitiesResponse as or, zStakingValidatorSortBy as os, VaultRequestCreateInput as ot, zWhitelistResponse as p, HsmCompareReason as pa, zEthereumLikeEip1559FeeStrategy as pi, LegalContentBlock as pn, GateUserType as po, WebhookDetailResponse as pr, zCreateClassicAccountWithPolicyIdInput as pt, zDeleteTradelinkOrgEntityInput as q, zOidcConfig as qa, zRefreshPskInputData as qi, zAccountCommonFields as qn, ReceiveAddressSelection as qo, SUI_SPEC as qr, zPortfolioName as qt, zAuditLogResponse as r, zDeviceClaim as ra, ETHEREUM_SPEC as ri, zPortfolioAppliedState as rn, AdminPermission$1 as ro, CurrencyResponse as rr, zStakeState as rs, RequestDataOf as rt, WhitelistAddressResponse as s, zOnboardingSeedFragment as sa, zCantonTransferProposal as si, zPolicySortBy as sn, ClaimedRole as so, zAssetResponse as sr, VaultRequestResponse as st, AuditLogResponse as t, OnboardingSeedFragment as ta, isErc20Address as ti, PortfolioAppliedState as tn, ActivationStatus$1 as to, AllAssetsResponse as tr, zStake as ts, ChallengeResponse as tt, WhitelistSortBy as u, HsmComparator as ua, EthereumLikeEip1559FeeStrategy as ui, zAllowedActionsResponse as un, GateGroupType as uo, CreateWebhookPayload as ur, genTransactionSchemas as ut, UserResponse as v, DEFAULT_PAGE_SIZE as va, zGovernableAction as vi, SubProcessorRow as vn, MessageType as vo, zReplayFailedResponse as vr, zVaultRequestCreateInput as vt, zUserSortBy as w, fetchAllCursorPages as wa, GetObjectsInfoResponse as wi, zPrivacyNoticeSection as wn, ReportStatus$1 as wo, AccountNetworkInfoFields as wr, EnsureNameAvailableOutput as wt, zQuorumAccountEntryResponse as x, Paginated as xa, WhitelistSortBy$1 as xi, zLegalInline as xn, OutgoingTransactionStatus as xo, zWebhookDeliveryResponse as xr, ReviewStepWithUsers as xt, UserSortBy as y, MAX_PAGE_SIZE as ya, Note as yi, SubProcessorsResponse as yn, OnboardedUserRole as yo, zRotateWebhookSecretResponse as yr, zVaultRequestResponse as yt, RuntimeApiCapabilities as z, LesWalletRegistrationReport as za, UserRegistrationChallenge as zi, EntitySortBy as zn, EthereumStakingNetwork as zo, zEstimatedFees as zr, PortfolioStatusFilter$1 as zt };
41688
- //# sourceMappingURL=app-lib-3Twpit5H.d.mts.map
42280
+ export { DeleteTradelinkExchangeInput as $, LesWalletRegistrableSummary as $a, RequestView as $i, zEntitySortBy as $n, admitsStakeOperation as $o, PsdSignature as $r, PortfolioUpdateInput as $t, OperationMilestoneResponse as A, POLKADOT_SPEC as Aa, HsmCompareDetail as Ai, SubProcessorRow as An, MessageType as Ao, zCreateWebhookResponse as Ar, zVaultRequestResponse as At, zTokenTemplateListResponse as B, BitcoinLikeBalance as Ba, SortOrder as Bi, GroupResponse as Bn, RequestType$1 as Bo, RequestListFilters as Br, ReportInput as Bt, zUserResponse as C, TEZOS_SPEC as Ca, zOnboardingId as Ci, zAllowedResourcesResponse as Cn, GatePolicyType as Co, zTokenResponse as Cr, zChallengeResponse as Ct, zUserRegistrationCreateInput as D, isSplTokenTransaction as Da, HSM_COMPARE_REASONS as Di, LegalInlineContent as Dn, GateWorkspaceRuleType as Do, WebhookDetailResponse as Dr, zSignDigestsRequestInput as Dt, UserRegistrationResponse as E, SOLANA_SPEC as Ea, HSM_COMPARATORS as Ei, LegalInline as En, GateWhitelistType as Eo, UpdateWebhookPayload as Er, zRequestSortBy as Et, zTradelinkCustodianResponse as F, CARDANO_SPEC as Fa, CursorPaginated as Fi, zPrivacyNoticeResponse as Fn, PsdModel as Fo, zWebhookDeliveryResponse as Fr, Challenge as Ft, TrpcMeta as G, zStakingProvisioning as Ga, serializePage as Gi, WorkspaceRuleResponse as Gn, UserRegistrationState as Go, ObjectsContentResponse as Gr, zVisibleReportStatus as Gt, zTokenizationEstimateDeploymentFeeInput as H, StakingProvisioning as Ha, fetchAllCursorPages as Hi, zGroupResponse as Hn, RevaultMode as Ho, GetObjectsInfoResponse as Hr, zReportDownloadUrlResponse as Ht, zTradelinkEntityResponse as I, CANTON_SPEC as Ia, DEFAULT_PAGE_SIZE as Ii, zPrivacyNoticeSection as In, ReportStatus$1 as Io, zWebhookDetailResponse as Ir, EnsureNameAvailableOutput as It, TokenizationDeploymentEstimateInput as J, zTransactionStatus as Ja, zCursorQuery as Ji, zWorkspaceRuleResponse as Jn, WebhookStatus$1 as Jo, ApiChallenge as Jr, PortfolioCurrentUserAccessResponse as Jt, RuntimeApiCapabilities as K, NetworkFamily as Ka, stableOrdering as Ki, WorkspaceRulesResponse as Kn, UserRole as Ko, ObjectsVersionResponse as Kr, PortfolioAdminResponse as Kt, zTradelinkNetworkResponse as L, CantonTransferProposal as La, MAX_PAGE_SIZE as Li, zPrivacyNoticeSectionId as Ln, ReportType$1 as Lo, zWebhookResponse as Lr, SoftChallenge as Lt, TradelinkEntityResponse as M, isErc20Address as Ma, HsmWorkspaceComparison as Mi, zLegalContentBlock as Mn, OnboardingStep as Mo, zReplayFailedResponse as Mr, OutgoingTransactionMeta as Mt, TradelinkNetworkResponse as N, GENERIC_SPEC as Na, AccountAssetFilter as Ni, zLegalInline as Nn, OutgoingTransactionStatus$1 as No, zRotateWebhookSecretResponse as Nr, RequestMeta as Nt, zUserRegistrationResponse as O, RIPPLE_SPEC as Oa, HsmComparator as Oi, PrivacyNoticeResponse as On, HsmHostingMode as Oo, WebhookResponse as Or, zSignMessageRequestInput as Ot, TradelinkSettlementWithAccountAndExchangeInfoResponse as P, ETHEREUM_SPEC as Pa, AccountWorkspaceScope as Pi, zLegalInlineContent as Pn, PortfolioHistoryAction as Po, zUpdateWebhookPayload as Pr, OperationMetadataResponse as Pt, CreateTradelinkOrgEntityInput as Q, RiskLevel as Qa, WebhookDeliveryStats as Qi, zEntityResponse as Qn, isEthereumStakingNetwork as Qo, PsdPairingInputData as Qr, PortfolioSummary as Qt, zTradelinkSettlementWithAccountAndExchangeInfoResponse as R, zCantonTransferProposal as Ra, PageQuery as Ri, zSubProcessorRow as Rn, RequestReviewStatus as Ro, BackofficeAuditLogInput as Rr, zEnsureNameAvailableOutput as Rt, zQuorumAccountSourceResponse as S, TRON_SPEC as Sa, zOnboardingFullState as Si, zAllowedActionsResponse as Sn, GateGroupType as So, zCurrencyResponse as Sr, zApproveVaultRequestInput as St, UserRegistrationCreateInput as T, STELLAR_SPEC as Ta, zOnboardingSeedFragment as Ti, LegalContentBlock as Tn, GateUserType as To, DeleteWebhookResponse as Tr, zEnsureNameAvailableInput as Tt, zTokenizationEstimateDeploymentFeeResponse as U, Validator as Ua, fetchAllPages as Ui, zGroupSortBy as Un, ReviewConfigType as Uo, HSM_OBJECT_TYPES as Ur, zReportInput as Ut, zTokenTemplateResponse as V, EthereumLikeEip1559FeeStrategy as Va, emptyPage as Vi, GroupSortBy as Vn, ResourceType as Vo, startOnboarding as Vr, ReportResponse as Vt, AppRouter as W, zEthereumLikeEip1559FeeStrategy as Wa, paginate as Wi, RootWorkspaceRuleResponse as Wn, UserDeviceType as Wo, HsmObjectType as Wr, zReportResponse as Wt, ReviewStepWithUsers as X, Note as Xa, zPaginated as Xi, EntityResponse as Xn, ETHEREUM_STAKING_NETWORKS as Xo, PsdChallenge as Xr, PortfolioSortBy$1 as Xt, TokenizationFeeEstimate as Y, zGovernableAction as Ya, zPageQuery as Yi, zWorkspaceRulesResponse as Yn, WhitelistType as Yo, HsmCertificate as Yr, PortfolioHistoryEntryResponse as Yt, zReviewStepsArray as Z, zTransactionScanSummary as Za, zSortOrder as Zi, EntitySortBy as Zn, EthereumStakingNetwork as Zo, PsdPairingData as Zr, PortfolioStatusFilter$1 as Zt, QuorumAccountSourceResponse as _, zNetworkAssetFields as _a, OnboardingOpts as _i, PolicySortBy as _n, AuditLogType$1 as _o, CurrencyResponse as _r, zStakingValidator as _s, VaultRequestCreateInput as _t, WorkspaceResponse as a, StakingDataOf as aa, UserRegistrationDeviceData as ai, zPortfolioName as an, zOidcConfig as ao, TransactionWithMetaResponse as ar, ReceiveAddressSelection as as, zDeleteTradelinkOrgEntityInput as at, zAdminResponse as b, zTransactionResponse as ba, WrappingKeyResponse as bi, AllowedActionsResponse as bn, EventAction$1 as bo, zAssetCapabilitiesResponse as br, WebVaultRequestResponse as bt, WhitelistAddressSortBy as c, TransactionResponse as ca, zPsdSignature as ci, zPortfolioSummary as cn, AuthResponse as co, zAccountResponse as cr, zBalance as cs, zTradelinkOrgEntityResponse as ct, zWhitelistAddressResponse as d, convertTxToGovernableIntent as da, zRefreshPskInputData as di, zPortfoliosByAccountIdsResponse as dn, AccountGovernanceType as do, zCantonTransferProposalResponse as dr, zIndexedReceiveAddressSelection as ds, ApproveVaultRequestInput as dt, isTransactionCheckSupportedType as ea, PubKey as ei, PortfoliosByAccountIdsResponse as en, LesWalletRegistrationResult as eo, PsdAuthChallengeData as er, AccountLiveDataResponse as es, PledgeResponse as et, zWhitelistAddressSortBy as f, getTxHsmProps as fa, zUserRegistrationChallenge as fi, PORTFOLIO_NAME_MAX_LENGTH as fn, AccountType$1 as fo, zTransactionWithMetaResponse as fr, zIndexedSelectionCapability as fs, ChallengeResponse as ft, QuorumAccountEntryResponse as g, zEstimatedFees as ga, OnboardingFullState as gi, PolicyResponse as gn, AllowedAction$1 as go, AssetResponse as gr, zStakesPage as gs, RequestSortBy as gt, AdminResponse as h, zAccountStakingFields as ha, DeviceClaim as hi, zPortfolioAppliedState as hn, AdminPermission$1 as ho, AllAssetsResponse as hr, zStakeState as hs, RequestReview as ht, zAuditLogSortBy as i, SendOnlyTransactionData as ia, UserRegistrationChallengeResponse as ii, zPortfolioHistoryEntryResponse as in, zExchangeCredentialsResponse as io, AccountSortBy as ir, IndexedSelectionCapability as is, zCreateTradelinkOrgEntityInput as it, TradelinkCustodianResponse as j, HEDERA_SPEC as ja, HsmCompareReason as ji, SubProcessorsResponse as jn, OnboardedUserRole as jo, zDeleteWebhookResponse as jr, zWebVaultRequestResponse as jt, OperationHistoryResponse as k, zRippleDestinationTag as ka, HsmCompareAnomaly as ki, PrivacyNoticeSection as kn, MaintenanceMode as ko, zCreateWebhookPayload as kr, zVaultRequestCreateInput as kt, WhitelistResponse as l, TransactionType as la, zPubKey as li, zPortfolioUpdateInput as ln, zApiUserCredentialsResponse as lo, zAccountSortBy as lr, zFreshReceiveAddress as ls, zTradelinkWhitelist as lt, zWhitelistSortBy as m, zAccountNetworkInfoFields as ma, zUserRegistrationDeviceData as mi, normalizePortfolioName as mn, AddressDerivationMode as mo, zSignedMessageResponse as mr, zStakeSortBy as ms, RequestDataOf as mt, AuditLogSortBy as n, AccountStakingFields as na, RefreshPskInputData as ni, zPortfolioCreateInput as nn, BackofficeClaims as no, AccountAllowedActionsResponse as nr, IndexedReceiveAddressInput as ns, TradelinkOrgEntityResponse as nt, zWorkspaceResponse as o, TransactionData as oa, zPsdPairingData as oi, zPortfolioSortBy as on, ExtendedPrismaClient as oo, zAccountAllowedActionsResponse as or, zAccountLiveDataResponse as os, zPledgeResponse as ot, zWhitelistResponse as p, zAccountLiveData as pa, zUserRegistrationChallengeResponse as pi, PortfolioAppliedState as pn, ActivationStatus$1 as po, zUtxosPageResponse as pr, zStake as ps, EnsureNameAvailableInput as pt, TokenTemplateResponse as q, zCommonLiveData as qa, zCursorPaginated as qi, zRootWorkspaceRuleResponse as qn, WebhookRetryStrategy$1 as qo, VersionedObjectInfo as qr, PortfolioCreateInput as qt, zAuditLogResponse as r, EstimatedFees as ra, UserRegistrationChallenge as ri, zPortfolioCurrentUserAccessResponse as rn, OidcConfig as ro, AccountResponse as rr, IndexedReceiveAddressSelection as rs, zCreateTradelinkNetworkBlueprintInput as rt, WhitelistAddressResponse as s, TransactionDataOf as sa, zPsdPairingInputData as si, zPortfolioStatusFilter as sn, BackofficePermission as so, zAccountCommonFields as sr, zAddressIndex as ss, zTradelinkNetworkBlueprintResponse as st, AuditLogResponse as t, AccountNetworkInfoFields as ta, RefreshPskData as ti, zPortfolioAdminResponse as tn, LesWalletRegistrationScope as to, zPsdAuthChallengeData as tr, FreshReceiveAddress as ts, TradelinkNetworkBlueprintResponse as tt, WhitelistSortBy as u, TransactionTypeOf as ua, zRefreshPskData as ui, zPortfoliosByAccountIdsInput as un, zAuthResponse as uo, zCantonPreApprovalStateResponse as ur, zIndexedReceiveAddressInput as us, ActivityTracer as ut, UserResponse as v, zSendOnlyTransactionData as va, OnboardingSeedChallenge as vi, zPolicyResponse as vn, ChallengeType as vo, TokenResponse as vr, zStakingValidatorSortBy as vs, VaultRequestResponse as vt, zUserSortBy as w, SUI_SPEC as wa, zOnboardingOpts as wi, zOpenApiResourceType as wn, GateReviewConfigType as wo, CreateWebhookPayload as wr, zCreateClassicAccountWithPolicyIdInput as wt, zQuorumAccountEntryResponse as x, zTransactionType as xa, zDeviceClaim as xi, AllowedResourcesResponse as xn, GateAccountType as xo, zAssetResponse as xr, genTransactionSchemas as xt, UserSortBy as y, zTransactionData as ya, OnboardingSeedFragment as yi, zPolicySortBy as yn, ClaimedRole as yo, zAllAssetsResponse as yr, VaultRequestResponseBase as yt, TokenizationEstimateDeploymentFeeInput as z, BITCOIN_SPEC as za, Paginated as zi, zSubProcessorsResponse as zn, RequestState$1 as zo, WhitelistSortBy$1 as zr, ReportDownloadUrlResponse as zt };
42281
+ //# sourceMappingURL=app-lib-CXsb87de.d.mts.map