@ledgerhq/revault-api 1.91.4 → 1.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{app-lib-B04nx6Kj.d.mts → app-lib-BJhNaXn-.d.mts} +11924 -2145
- package/lib/entrypoints/internal-api/app-lib.d.mts +1944 -195
- package/lib/fakes.d.mts +2 -3
- package/lib/fakes.mjs +28 -48
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +2 -2
- package/lib/index.mjs +239 -8
- package/lib/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
import { $n as
|
|
1
|
+
import { $n as MaintenanceMode, Ca as HsmWorkspaceComparison, Cs as HsmCertificate, Ea as RequestView, Fn as AccountGovernanceType, Gn as GateAccountType, Gs as LesWalletRegistrationScope, Ho as Note, In as AccountType$1, Jn as GateReviewConfigType, Jo as NatsEventBackfillScope, Kn as GateGroupType, Ko as NatsEventBackfillPreview, Ks as BackofficeClaims, Ln as ActivationStatus$1, Na as TransactionData, Pt as VaultRequestResponse, Qn as HsmHostingMode, Rn as AddressDerivationMode, St as ActivityTracer, Ta as WebhookWithHealth, Un as ClaimedRole, Us as LesWalletRegistrableSummary, Vn as AuditLogType$1, Wn as EventAction$1, Xn as GateWhitelistType, Xs as zOidcConfig, Yn as GateUserType, Zn as GateWorkspaceRuleType, Zs as BackofficePermission, _r as WebhookRetryStrategy$1, ar as PsdModel, ea as BackofficeAuditLogInput, fr as RevaultMode, ga as AccountWorkspaceScope, gr as UserRole, ha as AccountAssetFilter, hr as UserRegistrationState, ja as SendOnlyTransactionData, jt as RequestReview, mr as UserDeviceType, na as RequestListFilters, nr as OnboardingStep, nt as RuntimeApiCapabilities, or as ReportStatus$1, pr as ReviewConfigType, qn as GatePolicyType, qo as NatsEventBackfillReport, qs as ExtendedPrismaClient, ra as startOnboarding, rr as OutgoingTransactionStatus$1, rs as SortOrder, sr as ReportType$1, ta as WhitelistSortBy, tr as OnboardedUserRole, tt as TrpcMeta, ur as RequestType$1, vr as WebhookStatus$1, wa as WebhookListFilters, ya as HsmComparator, yr as WhitelistType, zn as AdminPermission$1 } from "../../app-lib-BJhNaXn-.mjs";
|
|
2
2
|
import z from "zod";
|
|
3
|
-
import { AllowedAction, PrismaClient } from "@/generated/prisma/client";
|
|
3
|
+
import { AllowedAction, FiatValuation, PrismaClient } from "@/generated/prisma/client";
|
|
4
4
|
import "trpc-to-openapi";
|
|
5
|
+
//#region src/core/staking-validators/workspace-validators.d.ts
|
|
6
|
+
type WorkspaceStakingValidator = {
|
|
7
|
+
address: string;
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
type StoredWorkspaceValidator = WorkspaceStakingValidator & {
|
|
11
|
+
id: string;
|
|
12
|
+
network: string;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
5
16
|
//#region src/core/rebac/relationship-tuples.d.ts
|
|
6
17
|
declare const RELATIONSHIP_OBJECT_TYPES: {
|
|
7
18
|
readonly account: "account";
|
|
@@ -206,12 +217,22 @@ type FeatureFlagPromotions = {
|
|
|
206
217
|
promote: (input: PromoteInput) => Promise<ApplyOutput>;
|
|
207
218
|
};
|
|
208
219
|
//#endregion
|
|
220
|
+
//#region src/core/requests/authorize-signature.d.ts
|
|
221
|
+
/** Answer to hsm-proxy's pre-signature check; a refusal is worded as a `blockedReason`. */
|
|
222
|
+
type AuthorizeSignatureResult = {
|
|
223
|
+
authorized: true;
|
|
224
|
+
} | {
|
|
225
|
+
authorized: false;
|
|
226
|
+
reason: Record<string, unknown>;
|
|
227
|
+
};
|
|
228
|
+
//#endregion
|
|
209
229
|
//#region src/core/runtime/internal-capabilities.d.ts
|
|
210
230
|
/**
|
|
211
231
|
* Least-privilege split (ADR-0022): capabilities that must never be reachable from the *public*
|
|
212
232
|
* HTTP context live here, not in {@link createApiCoreCapabilities}. Only the internal-API transport
|
|
213
|
-
* (backoffice
|
|
214
|
-
*
|
|
233
|
+
* (backoffice, and other in-cluster services such as hsm-proxy) mounts them, so a public
|
|
234
|
+
* procedure's `ctx.core` cannot see — or type-resolve — the administration surface. New non-public
|
|
235
|
+
* internal capabilities belong in this bucket too.
|
|
215
236
|
*/
|
|
216
237
|
type InternalCapabilityDependencies = {
|
|
217
238
|
configCatManagement?: ConfigCatManagement;
|
|
@@ -224,6 +245,8 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
224
245
|
networks: {
|
|
225
246
|
network: string;
|
|
226
247
|
enabledByDefault: boolean;
|
|
248
|
+
deprecatedAt: Date | null;
|
|
249
|
+
directAccess: boolean;
|
|
227
250
|
createdAt: Date;
|
|
228
251
|
workspaceCount: number;
|
|
229
252
|
}[];
|
|
@@ -259,6 +282,20 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
259
282
|
enabledNetworks: string[];
|
|
260
283
|
disabledNetworks: string[];
|
|
261
284
|
}>;
|
|
285
|
+
setDeprecated: (actor: BackofficeClaims, requiredPermission: "network:edit", input: {
|
|
286
|
+
network: string;
|
|
287
|
+
deprecated: boolean;
|
|
288
|
+
}) => Promise<{
|
|
289
|
+
network: string;
|
|
290
|
+
deprecatedAt: Date | null;
|
|
291
|
+
}>;
|
|
292
|
+
setDirectAccess: (actor: BackofficeClaims, requiredPermission: "network:edit", input: {
|
|
293
|
+
network: string;
|
|
294
|
+
directAccess: boolean;
|
|
295
|
+
}) => Promise<{
|
|
296
|
+
network: string;
|
|
297
|
+
directAccess: boolean;
|
|
298
|
+
}>;
|
|
262
299
|
previewEnableNetworkForAllWorkspaces: (network: string) => Promise<{
|
|
263
300
|
network: string;
|
|
264
301
|
totalWorkspaceCount: number;
|
|
@@ -317,8 +354,6 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
317
354
|
tokenIdentifier: string | null;
|
|
318
355
|
};
|
|
319
356
|
accountTypeFields: {
|
|
320
|
-
type: "RAW_SIGNING";
|
|
321
|
-
} | {
|
|
322
357
|
type: "BITCOIN_LIKE";
|
|
323
358
|
xpub: string;
|
|
324
359
|
addressDerivationMode: "NEW" | "STATIC";
|
|
@@ -358,6 +393,8 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
358
393
|
} | {
|
|
359
394
|
type: "TRON_LIKE";
|
|
360
395
|
address: string | null;
|
|
396
|
+
} | {
|
|
397
|
+
type: "RAW_SIGNING";
|
|
361
398
|
};
|
|
362
399
|
index: number;
|
|
363
400
|
derivationPath: string;
|
|
@@ -461,6 +498,34 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
461
498
|
};
|
|
462
499
|
}>;
|
|
463
500
|
};
|
|
501
|
+
stakingValidators: {
|
|
502
|
+
list: (workspaceName: string) => Promise<StoredWorkspaceValidator[]>;
|
|
503
|
+
supportedNetworks: () => string[];
|
|
504
|
+
add: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
505
|
+
workspaceName: string;
|
|
506
|
+
network: string;
|
|
507
|
+
address: string;
|
|
508
|
+
name: string;
|
|
509
|
+
}) => Promise<StoredWorkspaceValidator>;
|
|
510
|
+
rename: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
511
|
+
workspaceName: string;
|
|
512
|
+
network: string;
|
|
513
|
+
address: string;
|
|
514
|
+
name: string;
|
|
515
|
+
}) => Promise<StoredWorkspaceValidator>;
|
|
516
|
+
remove: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
517
|
+
workspaceName: string;
|
|
518
|
+
network: string;
|
|
519
|
+
address: string;
|
|
520
|
+
}) => Promise<StoredWorkspaceValidator | null>;
|
|
521
|
+
};
|
|
522
|
+
natsEventBackfill: {
|
|
523
|
+
preview: (scope: NatsEventBackfillScope) => Promise<NatsEventBackfillPreview>;
|
|
524
|
+
run: (actor: BackofficeClaims, requiredPermission: "workspace:edit", input: {
|
|
525
|
+
scope: NatsEventBackfillScope;
|
|
526
|
+
concurrency: number;
|
|
527
|
+
}) => Promise<NatsEventBackfillReport>;
|
|
528
|
+
};
|
|
464
529
|
users: {
|
|
465
530
|
list: (input: ({
|
|
466
531
|
page: number;
|
|
@@ -1168,7 +1233,7 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
1168
1233
|
mode?: RevaultMode;
|
|
1169
1234
|
maintenanceMode?: MaintenanceMode;
|
|
1170
1235
|
oidcConfig?: import("../../generated/prisma/internal/prismaNamespace").InputJsonValue | null;
|
|
1171
|
-
|
|
1236
|
+
targetHsmName?: string;
|
|
1172
1237
|
pkiRootCaFetched?: boolean;
|
|
1173
1238
|
}) => Promise<{
|
|
1174
1239
|
id: string;
|
|
@@ -1277,6 +1342,7 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
1277
1342
|
hsmHostingMode: HsmHostingMode;
|
|
1278
1343
|
step: OnboardingStep;
|
|
1279
1344
|
isLocked: boolean;
|
|
1345
|
+
revision: number;
|
|
1280
1346
|
createdAt: Date;
|
|
1281
1347
|
completedAt: Date | null;
|
|
1282
1348
|
})[];
|
|
@@ -1348,6 +1414,7 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
1348
1414
|
hsmHostingMode: HsmHostingMode;
|
|
1349
1415
|
step: OnboardingStep;
|
|
1350
1416
|
isLocked: boolean;
|
|
1417
|
+
revision: number;
|
|
1351
1418
|
createdAt: Date;
|
|
1352
1419
|
completedAt: Date | null;
|
|
1353
1420
|
}) | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
|
|
@@ -1358,6 +1425,7 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
1358
1425
|
workspaceName: string;
|
|
1359
1426
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
1360
1427
|
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
1428
|
+
revision: number;
|
|
1361
1429
|
claimedDevices: {
|
|
1362
1430
|
pubKey: string;
|
|
1363
1431
|
deviceUserId: string;
|
|
@@ -1492,6 +1560,8 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
1492
1560
|
id?: string;
|
|
1493
1561
|
currency?: string;
|
|
1494
1562
|
status?: OutgoingTransactionStatus$1;
|
|
1563
|
+
fromDate?: Date;
|
|
1564
|
+
toDate?: Date;
|
|
1495
1565
|
sortBy: "createdAt" | "updatedAt";
|
|
1496
1566
|
}) => Promise<{
|
|
1497
1567
|
page: number;
|
|
@@ -1550,72 +1620,63 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
1550
1620
|
pageSize: number;
|
|
1551
1621
|
} & {
|
|
1552
1622
|
sortOrder: SortOrder;
|
|
1553
|
-
}) & {
|
|
1623
|
+
}) & WebhookListFilters & {
|
|
1554
1624
|
workspaceName?: string | string[];
|
|
1555
|
-
status?: WebhookStatus$1;
|
|
1556
|
-
search?: string;
|
|
1557
1625
|
statsWindowDays: number;
|
|
1558
1626
|
}) => Promise<{
|
|
1559
|
-
page:
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
scopeUsers: {
|
|
1574
|
-
id: string;
|
|
1575
|
-
workspaceName: string;
|
|
1576
|
-
name: string;
|
|
1577
|
-
authUserId: string | null;
|
|
1578
|
-
pubKey: string;
|
|
1579
|
-
deviceType: UserDeviceType;
|
|
1580
|
-
deviceUserId: string | null;
|
|
1581
|
-
hsmId: string | null;
|
|
1582
|
-
u2fKeyHandle: string | null;
|
|
1583
|
-
u2fPubKey: string | null;
|
|
1584
|
-
legacyViewAll: boolean;
|
|
1585
|
-
role: UserRole;
|
|
1586
|
-
status: ActivationStatus$1;
|
|
1587
|
-
isSuspended: boolean;
|
|
1588
|
-
gateType: GateUserType | null;
|
|
1589
|
-
gateId: number;
|
|
1590
|
-
syncId: string;
|
|
1591
|
-
createdAt: Date;
|
|
1592
|
-
updatedAt: Date;
|
|
1593
|
-
}[];
|
|
1594
|
-
} & {
|
|
1627
|
+
page: number;
|
|
1628
|
+
next: number | null;
|
|
1629
|
+
prev: number | null;
|
|
1630
|
+
pageSize: number;
|
|
1631
|
+
total: number;
|
|
1632
|
+
results: WebhookWithHealth<{
|
|
1633
|
+
rules: {
|
|
1634
|
+
id: string;
|
|
1635
|
+
webhookId: string;
|
|
1636
|
+
actions: EventAction$1[];
|
|
1637
|
+
requestTypes: RequestType$1[];
|
|
1638
|
+
createdAt: Date;
|
|
1639
|
+
}[];
|
|
1640
|
+
scopeUsers: {
|
|
1595
1641
|
id: string;
|
|
1596
1642
|
workspaceName: string;
|
|
1597
1643
|
name: string;
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1644
|
+
authUserId: string | null;
|
|
1645
|
+
pubKey: string;
|
|
1646
|
+
deviceType: UserDeviceType;
|
|
1647
|
+
deviceUserId: string | null;
|
|
1648
|
+
hsmId: string | null;
|
|
1649
|
+
u2fKeyHandle: string | null;
|
|
1650
|
+
u2fPubKey: string | null;
|
|
1651
|
+
legacyViewAll: boolean;
|
|
1652
|
+
role: UserRole;
|
|
1653
|
+
status: ActivationStatus$1;
|
|
1654
|
+
isSuspended: boolean;
|
|
1655
|
+
gateType: GateUserType | null;
|
|
1656
|
+
gateId: number;
|
|
1657
|
+
syncId: string;
|
|
1606
1658
|
createdAt: Date;
|
|
1607
1659
|
updatedAt: Date;
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1660
|
+
}[];
|
|
1661
|
+
} & {
|
|
1662
|
+
id: string;
|
|
1663
|
+
workspaceName: string;
|
|
1664
|
+
name: string;
|
|
1665
|
+
description: string | null;
|
|
1666
|
+
url: string;
|
|
1667
|
+
status: WebhookStatus$1;
|
|
1668
|
+
retryStrategy: WebhookRetryStrategy$1;
|
|
1669
|
+
maxRetries: number;
|
|
1670
|
+
initialIntervalMs: number;
|
|
1671
|
+
consecutiveFailures: number;
|
|
1672
|
+
brokenSince: Date | null;
|
|
1673
|
+
lastDeliveryAt: Date | null;
|
|
1674
|
+
lastDeliveryId: string | null;
|
|
1675
|
+
createdAt: Date;
|
|
1676
|
+
updatedAt: Date;
|
|
1677
|
+
}>[];
|
|
1611
1678
|
}>;
|
|
1612
1679
|
};
|
|
1613
|
-
hsm: {
|
|
1614
|
-
compareWorkspace: (input: {
|
|
1615
|
-
workspaceName: string;
|
|
1616
|
-
comparator: HsmComparator;
|
|
1617
|
-
}) => Promise<HsmWorkspaceComparison>;
|
|
1618
|
-
};
|
|
1619
1680
|
relationships: {
|
|
1620
1681
|
dryRun: (input: {
|
|
1621
1682
|
workspaceName: string;
|
|
@@ -1651,6 +1712,14 @@ declare const createInternalCapabilities: (prisma: ExtendedPrismaClient, depende
|
|
|
1651
1712
|
}) => Promise<RelationshipDriftCheck>;
|
|
1652
1713
|
};
|
|
1653
1714
|
featureFlagPromotions: FeatureFlagPromotions;
|
|
1715
|
+
hsm: {
|
|
1716
|
+
compareWorkspace: (input: {
|
|
1717
|
+
workspaceName: string;
|
|
1718
|
+
comparator: HsmComparator;
|
|
1719
|
+
}) => Promise<HsmWorkspaceComparison>;
|
|
1720
|
+
/** ADR-0020 §3: the pre-signature countervalue-ceiling check called by hsm-proxy. */
|
|
1721
|
+
authorizeSignature: (targetHsmId: string) => Promise<AuthorizeSignatureResult>;
|
|
1722
|
+
};
|
|
1654
1723
|
};
|
|
1655
1724
|
interface RuntimeInternalCapabilities extends ReturnType<typeof createInternalCapabilities> {}
|
|
1656
1725
|
/**
|
|
@@ -1862,6 +1931,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1862
1931
|
status: ActivationStatus$1;
|
|
1863
1932
|
maintenanceMode: MaintenanceMode;
|
|
1864
1933
|
oidcConfig: import("zod").infer<typeof zOidcConfig> | null;
|
|
1934
|
+
targetHsmName: string;
|
|
1865
1935
|
})[];
|
|
1866
1936
|
};
|
|
1867
1937
|
meta: TrpcMeta;
|
|
@@ -1887,6 +1957,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1887
1957
|
clientId: string;
|
|
1888
1958
|
realm: string;
|
|
1889
1959
|
} | null;
|
|
1960
|
+
targetHsmName: string;
|
|
1890
1961
|
};
|
|
1891
1962
|
meta: TrpcMeta;
|
|
1892
1963
|
}>;
|
|
@@ -1913,7 +1984,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1913
1984
|
clientId: string;
|
|
1914
1985
|
realm: string;
|
|
1915
1986
|
} | null | undefined;
|
|
1916
|
-
|
|
1987
|
+
targetHsmName?: string | undefined;
|
|
1917
1988
|
pkiRootCaFetched?: boolean | undefined;
|
|
1918
1989
|
};
|
|
1919
1990
|
output: {
|
|
@@ -1933,6 +2004,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1933
2004
|
clientId: string;
|
|
1934
2005
|
realm: string;
|
|
1935
2006
|
} | null;
|
|
2007
|
+
targetHsmName: string;
|
|
1936
2008
|
};
|
|
1937
2009
|
meta: TrpcMeta;
|
|
1938
2010
|
}>;
|
|
@@ -1996,6 +2068,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1996
2068
|
networks: {
|
|
1997
2069
|
network: string;
|
|
1998
2070
|
enabledByDefault: boolean;
|
|
2071
|
+
deprecatedAt: Date | null;
|
|
2072
|
+
directAccess: boolean;
|
|
1999
2073
|
createdAt: Date;
|
|
2000
2074
|
workspaceCount: number;
|
|
2001
2075
|
}[];
|
|
@@ -2047,6 +2121,28 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2047
2121
|
};
|
|
2048
2122
|
meta: TrpcMeta;
|
|
2049
2123
|
}>;
|
|
2124
|
+
setDeprecated: import("@trpc/server").TRPCMutationProcedure<{
|
|
2125
|
+
input: {
|
|
2126
|
+
network: string;
|
|
2127
|
+
deprecated: boolean;
|
|
2128
|
+
};
|
|
2129
|
+
output: {
|
|
2130
|
+
network: string;
|
|
2131
|
+
deprecatedAt: Date | null;
|
|
2132
|
+
};
|
|
2133
|
+
meta: TrpcMeta;
|
|
2134
|
+
}>;
|
|
2135
|
+
setDirectAccess: import("@trpc/server").TRPCMutationProcedure<{
|
|
2136
|
+
input: {
|
|
2137
|
+
network: string;
|
|
2138
|
+
directAccess: boolean;
|
|
2139
|
+
};
|
|
2140
|
+
output: {
|
|
2141
|
+
network: string;
|
|
2142
|
+
directAccess: boolean;
|
|
2143
|
+
};
|
|
2144
|
+
meta: TrpcMeta;
|
|
2145
|
+
}>;
|
|
2050
2146
|
previewEnableNetworkForAllWorkspaces: import("@trpc/server").TRPCQueryProcedure<{
|
|
2051
2147
|
input: {
|
|
2052
2148
|
network: string;
|
|
@@ -2074,6 +2170,124 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2074
2170
|
meta: TrpcMeta;
|
|
2075
2171
|
}>;
|
|
2076
2172
|
}>>;
|
|
2173
|
+
stakingValidators: import("@trpc/server").TRPCBuiltRouter<{
|
|
2174
|
+
ctx: {
|
|
2175
|
+
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;
|
|
2176
|
+
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;
|
|
2177
|
+
info?: import("@trpc/server/unstable-core-do-not-import").TRPCRequestInfo | undefined;
|
|
2178
|
+
debugAuthToken?: string;
|
|
2179
|
+
rootAuthToken?: string;
|
|
2180
|
+
backofficeRequiredPermission?: BackofficePermission;
|
|
2181
|
+
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2182
|
+
user: {
|
|
2183
|
+
id: string;
|
|
2184
|
+
workspaceName: string;
|
|
2185
|
+
name: string;
|
|
2186
|
+
authUserId: string | null;
|
|
2187
|
+
pubKey: string;
|
|
2188
|
+
deviceType: UserDeviceType;
|
|
2189
|
+
deviceUserId: string | null;
|
|
2190
|
+
hsmId: string | null;
|
|
2191
|
+
u2fKeyHandle: string | null;
|
|
2192
|
+
u2fPubKey: string | null;
|
|
2193
|
+
legacyViewAll: boolean;
|
|
2194
|
+
role: UserRole;
|
|
2195
|
+
status: ActivationStatus$1;
|
|
2196
|
+
isSuspended: boolean;
|
|
2197
|
+
gateType: GateUserType | null;
|
|
2198
|
+
gateId: number;
|
|
2199
|
+
syncId: string;
|
|
2200
|
+
createdAt: Date;
|
|
2201
|
+
updatedAt: Date;
|
|
2202
|
+
} | null;
|
|
2203
|
+
authorization: string | null;
|
|
2204
|
+
readOnly: boolean;
|
|
2205
|
+
activityTracer: ActivityTracer;
|
|
2206
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
2207
|
+
};
|
|
2208
|
+
meta: TrpcMeta;
|
|
2209
|
+
errorShape: {
|
|
2210
|
+
message: string;
|
|
2211
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2212
|
+
data: {
|
|
2213
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
2214
|
+
httpStatus: number;
|
|
2215
|
+
path?: string;
|
|
2216
|
+
stack?: string;
|
|
2217
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
2218
|
+
maintenance?: boolean | undefined;
|
|
2219
|
+
errorCode?: string | undefined;
|
|
2220
|
+
errorContext?: Record<string, string> | undefined;
|
|
2221
|
+
};
|
|
2222
|
+
};
|
|
2223
|
+
transformer: true;
|
|
2224
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2225
|
+
networks: import("@trpc/server").TRPCQueryProcedure<{
|
|
2226
|
+
input: void;
|
|
2227
|
+
output: string[];
|
|
2228
|
+
meta: TrpcMeta;
|
|
2229
|
+
}>;
|
|
2230
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
2231
|
+
input: {
|
|
2232
|
+
workspaceName: string;
|
|
2233
|
+
};
|
|
2234
|
+
output: {
|
|
2235
|
+
id: string;
|
|
2236
|
+
network: string;
|
|
2237
|
+
address: string;
|
|
2238
|
+
name: string;
|
|
2239
|
+
createdAt: Date;
|
|
2240
|
+
}[];
|
|
2241
|
+
meta: TrpcMeta;
|
|
2242
|
+
}>;
|
|
2243
|
+
add: import("@trpc/server").TRPCMutationProcedure<{
|
|
2244
|
+
input: {
|
|
2245
|
+
workspaceName: string;
|
|
2246
|
+
network: string;
|
|
2247
|
+
address: string;
|
|
2248
|
+
name: string;
|
|
2249
|
+
};
|
|
2250
|
+
output: {
|
|
2251
|
+
id: string;
|
|
2252
|
+
network: string;
|
|
2253
|
+
address: string;
|
|
2254
|
+
name: string;
|
|
2255
|
+
createdAt: Date;
|
|
2256
|
+
};
|
|
2257
|
+
meta: TrpcMeta;
|
|
2258
|
+
}>;
|
|
2259
|
+
rename: import("@trpc/server").TRPCMutationProcedure<{
|
|
2260
|
+
input: {
|
|
2261
|
+
workspaceName: string;
|
|
2262
|
+
network: string;
|
|
2263
|
+
address: string;
|
|
2264
|
+
name: string;
|
|
2265
|
+
};
|
|
2266
|
+
output: {
|
|
2267
|
+
id: string;
|
|
2268
|
+
network: string;
|
|
2269
|
+
address: string;
|
|
2270
|
+
name: string;
|
|
2271
|
+
createdAt: Date;
|
|
2272
|
+
};
|
|
2273
|
+
meta: TrpcMeta;
|
|
2274
|
+
}>;
|
|
2275
|
+
remove: import("@trpc/server").TRPCMutationProcedure<{
|
|
2276
|
+
input: {
|
|
2277
|
+
workspaceName: string;
|
|
2278
|
+
network: string;
|
|
2279
|
+
address: string;
|
|
2280
|
+
};
|
|
2281
|
+
output: {
|
|
2282
|
+
id: string;
|
|
2283
|
+
network: string;
|
|
2284
|
+
address: string;
|
|
2285
|
+
name: string;
|
|
2286
|
+
createdAt: Date;
|
|
2287
|
+
} | null;
|
|
2288
|
+
meta: TrpcMeta;
|
|
2289
|
+
}>;
|
|
2290
|
+
}>>;
|
|
2077
2291
|
onboardings: import("@trpc/server").TRPCBuiltRouter<{
|
|
2078
2292
|
ctx: {
|
|
2079
2293
|
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;
|
|
@@ -2147,6 +2361,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2147
2361
|
workspaceName: string;
|
|
2148
2362
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
2149
2363
|
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
2364
|
+
revision: number;
|
|
2150
2365
|
claimedDevices: {
|
|
2151
2366
|
pubKey: string;
|
|
2152
2367
|
deviceUserId: string;
|
|
@@ -2270,6 +2485,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2270
2485
|
workspaceName: string;
|
|
2271
2486
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
2272
2487
|
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
2488
|
+
revision: number;
|
|
2273
2489
|
claimedDevices: {
|
|
2274
2490
|
pubKey: string;
|
|
2275
2491
|
deviceUserId: string;
|
|
@@ -2396,6 +2612,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2396
2612
|
workspaceName: string;
|
|
2397
2613
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
2398
2614
|
step: "COMPLETED" | "PENDING_DEVICE_CLAIMS" | "PENDING_EXTERNAL_SIGNERS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION" | "PENDING_MASTER_ADMINS_REGISTRATION_INIT" | "PENDING_REVIEW_BY_MASTER_ADMINS" | "PENDING_SEED_PROVISIONING" | "PENDING_SHARED_OWNERS_REGISTRATION" | "PENDING_SHARED_OWNERS_REGISTRATION_INIT" | "PENDING_WORKSPACE_INITIALIZATION" | "PENDING_WRAPPING_KEY_PROVISIONING";
|
|
2615
|
+
revision: number;
|
|
2399
2616
|
claimedDevices: {
|
|
2400
2617
|
pubKey: string;
|
|
2401
2618
|
deviceUserId: string;
|
|
@@ -3436,10 +3653,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3436
3653
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
3437
3654
|
input: {
|
|
3438
3655
|
page?: number | undefined;
|
|
3656
|
+
search?: string | undefined;
|
|
3657
|
+
status?: "BROKEN" | "DISABLED" | "ENABLED" | ("BROKEN" | "DISABLED" | "ENABLED")[] | undefined;
|
|
3658
|
+
fromDate?: unknown;
|
|
3659
|
+
toDate?: unknown;
|
|
3439
3660
|
pageSize?: number | undefined;
|
|
3440
3661
|
workspaceName?: string | string[] | undefined;
|
|
3441
|
-
status?: "BROKEN" | "DISABLED" | "ENABLED" | undefined;
|
|
3442
|
-
search?: string | undefined;
|
|
3443
3662
|
sortOrder?: "asc" | "desc" | undefined;
|
|
3444
3663
|
statsWindowDays?: unknown;
|
|
3445
3664
|
};
|
|
@@ -3474,6 +3693,21 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3474
3693
|
failed: number;
|
|
3475
3694
|
successRate: number | null;
|
|
3476
3695
|
};
|
|
3696
|
+
lastDeliveryAt: Date | null;
|
|
3697
|
+
lastDelivery: {
|
|
3698
|
+
id: string;
|
|
3699
|
+
status: "FAILED" | "PARKED" | "RETRYING" | "SUCCEEDED";
|
|
3700
|
+
action: string;
|
|
3701
|
+
eventId: string;
|
|
3702
|
+
createdAt: Date;
|
|
3703
|
+
replayedAt: Date | null;
|
|
3704
|
+
lastAttemptHttpStatus: number | null;
|
|
3705
|
+
lastAttemptErrorClass: "connection" | "dns" | "http_3xx" | "http_4xx" | "http_5xx" | "timeout" | "tls" | "unknown" | null;
|
|
3706
|
+
lastAttemptLatencyMs: number | null;
|
|
3707
|
+
attempts: number | null;
|
|
3708
|
+
maxAttempts: number | null;
|
|
3709
|
+
nextAttemptAt: Date | null;
|
|
3710
|
+
} | null;
|
|
3477
3711
|
workspaceName: string;
|
|
3478
3712
|
}[];
|
|
3479
3713
|
};
|
|
@@ -3603,6 +3837,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3603
3837
|
min: string | null;
|
|
3604
3838
|
max: string | null;
|
|
3605
3839
|
} | undefined;
|
|
3840
|
+
fiatThreshold?: {
|
|
3841
|
+
max: string;
|
|
3842
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
3843
|
+
} | undefined;
|
|
3606
3844
|
whitelistIds?: string[] | undefined;
|
|
3607
3845
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "STAKE";
|
|
3608
3846
|
hsmId: string;
|
|
@@ -3653,6 +3891,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3653
3891
|
min: string | null;
|
|
3654
3892
|
max: string | null;
|
|
3655
3893
|
} | undefined;
|
|
3894
|
+
fiatThreshold?: {
|
|
3895
|
+
max: string;
|
|
3896
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
3897
|
+
} | undefined;
|
|
3656
3898
|
whitelistIds?: string[] | undefined;
|
|
3657
3899
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "STAKE";
|
|
3658
3900
|
}[];
|
|
@@ -3714,6 +3956,16 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3714
3956
|
min: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3715
3957
|
max: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3716
3958
|
}, import("zod/v4/core").$strip>>;
|
|
3959
|
+
fiatThreshold: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3960
|
+
max: import("zod").ZodString;
|
|
3961
|
+
currency: import("zod").ZodEnum<{
|
|
3962
|
+
CHF: "CHF";
|
|
3963
|
+
EUR: "EUR";
|
|
3964
|
+
GBP: "GBP";
|
|
3965
|
+
JPY: "JPY";
|
|
3966
|
+
USD: "USD";
|
|
3967
|
+
}>;
|
|
3968
|
+
}, import("zod/v4/core").$strip>>;
|
|
3717
3969
|
whitelistIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
3718
3970
|
operationType: import("zod").ZodEnum<{
|
|
3719
3971
|
ACTIVATE_TOKEN: "ACTIVATE_TOKEN";
|
|
@@ -3803,6 +4055,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3803
4055
|
min: string | null;
|
|
3804
4056
|
max: string | null;
|
|
3805
4057
|
} | undefined;
|
|
4058
|
+
fiatThreshold?: {
|
|
4059
|
+
max: string;
|
|
4060
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4061
|
+
} | undefined;
|
|
3806
4062
|
whitelistIds?: string[] | undefined;
|
|
3807
4063
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "STAKE";
|
|
3808
4064
|
hsmId: string;
|
|
@@ -3991,7 +4247,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3991
4247
|
startDate: Date;
|
|
3992
4248
|
endDate: Date;
|
|
3993
4249
|
accountIds?: string[] | undefined;
|
|
3994
|
-
transactionTypes?: ("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;
|
|
4250
|
+
transactionTypes?: ("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_DELEGATE_VOTE_TO_DREP" | "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;
|
|
3995
4251
|
transactionStatuses?: ("FAILED" | "PENDING" | "SUCCESSFUL" | "UNKNOWN")[] | undefined;
|
|
3996
4252
|
};
|
|
3997
4253
|
})) & {
|
|
@@ -4033,7 +4289,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4033
4289
|
startDate: Date;
|
|
4034
4290
|
endDate: Date;
|
|
4035
4291
|
accountIds?: string[] | undefined;
|
|
4036
|
-
transactionTypes?: ("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;
|
|
4292
|
+
transactionTypes?: ("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_DELEGATE_VOTE_TO_DREP" | "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;
|
|
4037
4293
|
transactionStatuses?: ("FAILED" | "PENDING" | "SUCCESSFUL" | "UNKNOWN")[] | undefined;
|
|
4038
4294
|
};
|
|
4039
4295
|
})) & {
|
|
@@ -4101,6 +4357,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4101
4357
|
workspaceName?: string | string[] | undefined;
|
|
4102
4358
|
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;
|
|
4103
4359
|
state?: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | ("ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK")[] | undefined;
|
|
4360
|
+
id?: string | undefined;
|
|
4104
4361
|
targetId?: string | undefined;
|
|
4105
4362
|
createdBy?: string | undefined;
|
|
4106
4363
|
reviewedBy?: string | undefined;
|
|
@@ -4161,6 +4418,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4161
4418
|
message: string;
|
|
4162
4419
|
tinyUrl: string;
|
|
4163
4420
|
}[] | undefined;
|
|
4421
|
+
fiatValuationHistory?: {
|
|
4422
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4423
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4424
|
+
ceiling: string;
|
|
4425
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4426
|
+
exponent: number;
|
|
4427
|
+
countervalue: string | null;
|
|
4428
|
+
rate: string | null;
|
|
4429
|
+
provider: string | null;
|
|
4430
|
+
rateTimestamp: Date | null;
|
|
4431
|
+
composed: boolean | null;
|
|
4432
|
+
recordedAt: Date;
|
|
4433
|
+
}[] | undefined;
|
|
4434
|
+
blockedReason?: {
|
|
4435
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4436
|
+
} | undefined;
|
|
4164
4437
|
} | {
|
|
4165
4438
|
type: "UPDATE_QUORUM";
|
|
4166
4439
|
data: {
|
|
@@ -4193,8 +4466,24 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4193
4466
|
message: string;
|
|
4194
4467
|
tinyUrl: string;
|
|
4195
4468
|
}[] | undefined;
|
|
4196
|
-
|
|
4197
|
-
|
|
4469
|
+
fiatValuationHistory?: {
|
|
4470
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4471
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4472
|
+
ceiling: string;
|
|
4473
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4474
|
+
exponent: number;
|
|
4475
|
+
countervalue: string | null;
|
|
4476
|
+
rate: string | null;
|
|
4477
|
+
provider: string | null;
|
|
4478
|
+
rateTimestamp: Date | null;
|
|
4479
|
+
composed: boolean | null;
|
|
4480
|
+
recordedAt: Date;
|
|
4481
|
+
}[] | undefined;
|
|
4482
|
+
blockedReason?: {
|
|
4483
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4484
|
+
} | undefined;
|
|
4485
|
+
} | {
|
|
4486
|
+
type: "SIGN_DIGESTS";
|
|
4198
4487
|
data: {
|
|
4199
4488
|
accountId: string;
|
|
4200
4489
|
digests: {
|
|
@@ -4229,6 +4518,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4229
4518
|
message: string;
|
|
4230
4519
|
tinyUrl: string;
|
|
4231
4520
|
}[] | undefined;
|
|
4521
|
+
fiatValuationHistory?: {
|
|
4522
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4523
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4524
|
+
ceiling: string;
|
|
4525
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4526
|
+
exponent: number;
|
|
4527
|
+
countervalue: string | null;
|
|
4528
|
+
rate: string | null;
|
|
4529
|
+
provider: string | null;
|
|
4530
|
+
rateTimestamp: Date | null;
|
|
4531
|
+
composed: boolean | null;
|
|
4532
|
+
recordedAt: Date;
|
|
4533
|
+
}[] | undefined;
|
|
4534
|
+
blockedReason?: {
|
|
4535
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4536
|
+
} | undefined;
|
|
4232
4537
|
} | {
|
|
4233
4538
|
type: "EDIT_ACCOUNT";
|
|
4234
4539
|
data: {
|
|
@@ -4250,6 +4555,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4250
4555
|
min: string | null;
|
|
4251
4556
|
max: string | null;
|
|
4252
4557
|
} | undefined;
|
|
4558
|
+
fiatThreshold?: {
|
|
4559
|
+
max: string;
|
|
4560
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4561
|
+
} | undefined;
|
|
4253
4562
|
whitelistIds?: string[] | undefined;
|
|
4254
4563
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
4255
4564
|
}[];
|
|
@@ -4301,6 +4610,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4301
4610
|
message: string;
|
|
4302
4611
|
tinyUrl: string;
|
|
4303
4612
|
}[] | undefined;
|
|
4613
|
+
fiatValuationHistory?: {
|
|
4614
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4615
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4616
|
+
ceiling: string;
|
|
4617
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4618
|
+
exponent: number;
|
|
4619
|
+
countervalue: string | null;
|
|
4620
|
+
rate: string | null;
|
|
4621
|
+
provider: string | null;
|
|
4622
|
+
rateTimestamp: Date | null;
|
|
4623
|
+
composed: boolean | null;
|
|
4624
|
+
recordedAt: Date;
|
|
4625
|
+
}[] | undefined;
|
|
4626
|
+
blockedReason?: {
|
|
4627
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4628
|
+
} | undefined;
|
|
4304
4629
|
} | {
|
|
4305
4630
|
type: "CREATE_GROUP";
|
|
4306
4631
|
data: {
|
|
@@ -4335,6 +4660,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4335
4660
|
message: string;
|
|
4336
4661
|
tinyUrl: string;
|
|
4337
4662
|
}[] | undefined;
|
|
4663
|
+
fiatValuationHistory?: {
|
|
4664
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4665
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4666
|
+
ceiling: string;
|
|
4667
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4668
|
+
exponent: number;
|
|
4669
|
+
countervalue: string | null;
|
|
4670
|
+
rate: string | null;
|
|
4671
|
+
provider: string | null;
|
|
4672
|
+
rateTimestamp: Date | null;
|
|
4673
|
+
composed: boolean | null;
|
|
4674
|
+
recordedAt: Date;
|
|
4675
|
+
}[] | undefined;
|
|
4676
|
+
blockedReason?: {
|
|
4677
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4678
|
+
} | undefined;
|
|
4338
4679
|
} | {
|
|
4339
4680
|
type: "EDIT_GROUP";
|
|
4340
4681
|
data: {
|
|
@@ -4369,6 +4710,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4369
4710
|
message: string;
|
|
4370
4711
|
tinyUrl: string;
|
|
4371
4712
|
}[] | undefined;
|
|
4713
|
+
fiatValuationHistory?: {
|
|
4714
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4715
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4716
|
+
ceiling: string;
|
|
4717
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4718
|
+
exponent: number;
|
|
4719
|
+
countervalue: string | null;
|
|
4720
|
+
rate: string | null;
|
|
4721
|
+
provider: string | null;
|
|
4722
|
+
rateTimestamp: Date | null;
|
|
4723
|
+
composed: boolean | null;
|
|
4724
|
+
recordedAt: Date;
|
|
4725
|
+
}[] | undefined;
|
|
4726
|
+
blockedReason?: {
|
|
4727
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4728
|
+
} | undefined;
|
|
4372
4729
|
} | {
|
|
4373
4730
|
type: "CREATE_WHITELIST";
|
|
4374
4731
|
data: {
|
|
@@ -4409,6 +4766,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4409
4766
|
message: string;
|
|
4410
4767
|
tinyUrl: string;
|
|
4411
4768
|
}[] | undefined;
|
|
4769
|
+
fiatValuationHistory?: {
|
|
4770
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4771
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4772
|
+
ceiling: string;
|
|
4773
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4774
|
+
exponent: number;
|
|
4775
|
+
countervalue: string | null;
|
|
4776
|
+
rate: string | null;
|
|
4777
|
+
provider: string | null;
|
|
4778
|
+
rateTimestamp: Date | null;
|
|
4779
|
+
composed: boolean | null;
|
|
4780
|
+
recordedAt: Date;
|
|
4781
|
+
}[] | undefined;
|
|
4782
|
+
blockedReason?: {
|
|
4783
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4784
|
+
} | undefined;
|
|
4412
4785
|
} | {
|
|
4413
4786
|
type: "EDIT_WHITELIST";
|
|
4414
4787
|
data: {
|
|
@@ -4447,6 +4820,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4447
4820
|
message: string;
|
|
4448
4821
|
tinyUrl: string;
|
|
4449
4822
|
}[] | undefined;
|
|
4823
|
+
fiatValuationHistory?: {
|
|
4824
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4825
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4826
|
+
ceiling: string;
|
|
4827
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4828
|
+
exponent: number;
|
|
4829
|
+
countervalue: string | null;
|
|
4830
|
+
rate: string | null;
|
|
4831
|
+
provider: string | null;
|
|
4832
|
+
rateTimestamp: Date | null;
|
|
4833
|
+
composed: boolean | null;
|
|
4834
|
+
recordedAt: Date;
|
|
4835
|
+
}[] | undefined;
|
|
4836
|
+
blockedReason?: {
|
|
4837
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4838
|
+
} | undefined;
|
|
4450
4839
|
} | {
|
|
4451
4840
|
type: "CREATE_ENTITY";
|
|
4452
4841
|
data: {
|
|
@@ -4481,6 +4870,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4481
4870
|
message: string;
|
|
4482
4871
|
tinyUrl: string;
|
|
4483
4872
|
}[] | undefined;
|
|
4873
|
+
fiatValuationHistory?: {
|
|
4874
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4875
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4876
|
+
ceiling: string;
|
|
4877
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4878
|
+
exponent: number;
|
|
4879
|
+
countervalue: string | null;
|
|
4880
|
+
rate: string | null;
|
|
4881
|
+
provider: string | null;
|
|
4882
|
+
rateTimestamp: Date | null;
|
|
4883
|
+
composed: boolean | null;
|
|
4884
|
+
recordedAt: Date;
|
|
4885
|
+
}[] | undefined;
|
|
4886
|
+
blockedReason?: {
|
|
4887
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4888
|
+
} | undefined;
|
|
4484
4889
|
} | {
|
|
4485
4890
|
type: "EDIT_ENTITY";
|
|
4486
4891
|
data: {
|
|
@@ -4515,6 +4920,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4515
4920
|
message: string;
|
|
4516
4921
|
tinyUrl: string;
|
|
4517
4922
|
}[] | undefined;
|
|
4923
|
+
fiatValuationHistory?: {
|
|
4924
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4925
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4926
|
+
ceiling: string;
|
|
4927
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4928
|
+
exponent: number;
|
|
4929
|
+
countervalue: string | null;
|
|
4930
|
+
rate: string | null;
|
|
4931
|
+
provider: string | null;
|
|
4932
|
+
rateTimestamp: Date | null;
|
|
4933
|
+
composed: boolean | null;
|
|
4934
|
+
recordedAt: Date;
|
|
4935
|
+
}[] | undefined;
|
|
4936
|
+
blockedReason?: {
|
|
4937
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4938
|
+
} | undefined;
|
|
4518
4939
|
} | {
|
|
4519
4940
|
type: "REVOKE_ENTITY";
|
|
4520
4941
|
data: Record<string, never>;
|
|
@@ -4545,6 +4966,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4545
4966
|
message: string;
|
|
4546
4967
|
tinyUrl: string;
|
|
4547
4968
|
}[] | undefined;
|
|
4969
|
+
fiatValuationHistory?: {
|
|
4970
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
4971
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
4972
|
+
ceiling: string;
|
|
4973
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
4974
|
+
exponent: number;
|
|
4975
|
+
countervalue: string | null;
|
|
4976
|
+
rate: string | null;
|
|
4977
|
+
provider: string | null;
|
|
4978
|
+
rateTimestamp: Date | null;
|
|
4979
|
+
composed: boolean | null;
|
|
4980
|
+
recordedAt: Date;
|
|
4981
|
+
}[] | undefined;
|
|
4982
|
+
blockedReason?: {
|
|
4983
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
4984
|
+
} | undefined;
|
|
4548
4985
|
} | {
|
|
4549
4986
|
type: "CREATE_PSD_USER";
|
|
4550
4987
|
data: {
|
|
@@ -4577,6 +5014,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4577
5014
|
message: string;
|
|
4578
5015
|
tinyUrl: string;
|
|
4579
5016
|
}[] | undefined;
|
|
5017
|
+
fiatValuationHistory?: {
|
|
5018
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5019
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5020
|
+
ceiling: string;
|
|
5021
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5022
|
+
exponent: number;
|
|
5023
|
+
countervalue: string | null;
|
|
5024
|
+
rate: string | null;
|
|
5025
|
+
provider: string | null;
|
|
5026
|
+
rateTimestamp: Date | null;
|
|
5027
|
+
composed: boolean | null;
|
|
5028
|
+
recordedAt: Date;
|
|
5029
|
+
}[] | undefined;
|
|
5030
|
+
blockedReason?: {
|
|
5031
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5032
|
+
} | undefined;
|
|
4580
5033
|
} | {
|
|
4581
5034
|
type: "CREATE_API_USER";
|
|
4582
5035
|
data: {
|
|
@@ -4612,6 +5065,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4612
5065
|
message: string;
|
|
4613
5066
|
tinyUrl: string;
|
|
4614
5067
|
}[] | undefined;
|
|
5068
|
+
fiatValuationHistory?: {
|
|
5069
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5070
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5071
|
+
ceiling: string;
|
|
5072
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5073
|
+
exponent: number;
|
|
5074
|
+
countervalue: string | null;
|
|
5075
|
+
rate: string | null;
|
|
5076
|
+
provider: string | null;
|
|
5077
|
+
rateTimestamp: Date | null;
|
|
5078
|
+
composed: boolean | null;
|
|
5079
|
+
recordedAt: Date;
|
|
5080
|
+
}[] | undefined;
|
|
5081
|
+
blockedReason?: {
|
|
5082
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5083
|
+
} | undefined;
|
|
4615
5084
|
} | {
|
|
4616
5085
|
type: "REVOKE_USER";
|
|
4617
5086
|
data: Record<string, never>;
|
|
@@ -4642,6 +5111,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4642
5111
|
message: string;
|
|
4643
5112
|
tinyUrl: string;
|
|
4644
5113
|
}[] | undefined;
|
|
5114
|
+
fiatValuationHistory?: {
|
|
5115
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5116
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5117
|
+
ceiling: string;
|
|
5118
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5119
|
+
exponent: number;
|
|
5120
|
+
countervalue: string | null;
|
|
5121
|
+
rate: string | null;
|
|
5122
|
+
provider: string | null;
|
|
5123
|
+
rateTimestamp: Date | null;
|
|
5124
|
+
composed: boolean | null;
|
|
5125
|
+
recordedAt: Date;
|
|
5126
|
+
}[] | undefined;
|
|
5127
|
+
blockedReason?: {
|
|
5128
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5129
|
+
} | undefined;
|
|
4645
5130
|
} | {
|
|
4646
5131
|
type: "EDIT_WORKSPACE_RULE";
|
|
4647
5132
|
data: {
|
|
@@ -4678,59 +5163,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4678
5163
|
message: string;
|
|
4679
5164
|
tinyUrl: string;
|
|
4680
5165
|
}[] | undefined;
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
quorum: number;
|
|
4694
|
-
userIds: string[];
|
|
4695
|
-
} | {
|
|
4696
|
-
quorum: number;
|
|
4697
|
-
groupId: string;
|
|
4698
|
-
})[];
|
|
4699
|
-
threshold?: {
|
|
4700
|
-
min: string | null;
|
|
4701
|
-
max: string | null;
|
|
4702
|
-
} | undefined;
|
|
4703
|
-
whitelistIds?: string[] | undefined;
|
|
4704
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
4705
|
-
}[];
|
|
4706
|
-
};
|
|
4707
|
-
id: string;
|
|
4708
|
-
legacyId: number;
|
|
4709
|
-
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
4710
|
-
reviewSteps: {
|
|
4711
|
-
stageName: string;
|
|
4712
|
-
quorum: number;
|
|
4713
|
-
}[];
|
|
4714
|
-
currentStepIndex: number;
|
|
4715
|
-
expiresAt: Date;
|
|
4716
|
-
targetId: string | null;
|
|
4717
|
-
note: Note | null;
|
|
4718
|
-
reviews: RequestReview[];
|
|
4719
|
-
createdAt: Date;
|
|
4720
|
-
updatedAt: Date;
|
|
4721
|
-
createdById: string;
|
|
4722
|
-
inflight?: {
|
|
4723
|
-
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4724
|
-
retryAfter: Date;
|
|
4725
|
-
} | undefined;
|
|
4726
|
-
scanHistory?: {
|
|
4727
|
-
type: "creation" | "pre_signature";
|
|
4728
|
-
timestamp: string;
|
|
4729
|
-
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4730
|
-
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4731
|
-
message: string;
|
|
4732
|
-
tinyUrl: string;
|
|
5166
|
+
fiatValuationHistory?: {
|
|
5167
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5168
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5169
|
+
ceiling: string;
|
|
5170
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5171
|
+
exponent: number;
|
|
5172
|
+
countervalue: string | null;
|
|
5173
|
+
rate: string | null;
|
|
5174
|
+
provider: string | null;
|
|
5175
|
+
rateTimestamp: Date | null;
|
|
5176
|
+
composed: boolean | null;
|
|
5177
|
+
recordedAt: Date;
|
|
4733
5178
|
}[] | undefined;
|
|
5179
|
+
blockedReason?: {
|
|
5180
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5181
|
+
} | undefined;
|
|
4734
5182
|
} | {
|
|
4735
5183
|
type: "EDIT_POLICY";
|
|
4736
5184
|
data: {
|
|
@@ -4748,6 +5196,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4748
5196
|
min: string | null;
|
|
4749
5197
|
max: string | null;
|
|
4750
5198
|
} | undefined;
|
|
5199
|
+
fiatThreshold?: {
|
|
5200
|
+
max: string;
|
|
5201
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5202
|
+
} | undefined;
|
|
4751
5203
|
whitelistIds?: string[] | undefined;
|
|
4752
5204
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
4753
5205
|
}[];
|
|
@@ -4779,6 +5231,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4779
5231
|
message: string;
|
|
4780
5232
|
tinyUrl: string;
|
|
4781
5233
|
}[] | undefined;
|
|
5234
|
+
fiatValuationHistory?: {
|
|
5235
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5236
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5237
|
+
ceiling: string;
|
|
5238
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5239
|
+
exponent: number;
|
|
5240
|
+
countervalue: string | null;
|
|
5241
|
+
rate: string | null;
|
|
5242
|
+
provider: string | null;
|
|
5243
|
+
rateTimestamp: Date | null;
|
|
5244
|
+
composed: boolean | null;
|
|
5245
|
+
recordedAt: Date;
|
|
5246
|
+
}[] | undefined;
|
|
5247
|
+
blockedReason?: {
|
|
5248
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5249
|
+
} | undefined;
|
|
4782
5250
|
} | {
|
|
4783
5251
|
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
4784
5252
|
data: null;
|
|
@@ -4809,6 +5277,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4809
5277
|
message: string;
|
|
4810
5278
|
tinyUrl: string;
|
|
4811
5279
|
}[] | undefined;
|
|
5280
|
+
fiatValuationHistory?: {
|
|
5281
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5282
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5283
|
+
ceiling: string;
|
|
5284
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5285
|
+
exponent: number;
|
|
5286
|
+
countervalue: string | null;
|
|
5287
|
+
rate: string | null;
|
|
5288
|
+
provider: string | null;
|
|
5289
|
+
rateTimestamp: Date | null;
|
|
5290
|
+
composed: boolean | null;
|
|
5291
|
+
recordedAt: Date;
|
|
5292
|
+
}[] | undefined;
|
|
5293
|
+
blockedReason?: {
|
|
5294
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5295
|
+
} | undefined;
|
|
4812
5296
|
} | {
|
|
4813
5297
|
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
4814
5298
|
data: {
|
|
@@ -4852,6 +5336,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4852
5336
|
message: string;
|
|
4853
5337
|
tinyUrl: string;
|
|
4854
5338
|
}[] | undefined;
|
|
5339
|
+
fiatValuationHistory?: {
|
|
5340
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5341
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5342
|
+
ceiling: string;
|
|
5343
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5344
|
+
exponent: number;
|
|
5345
|
+
countervalue: string | null;
|
|
5346
|
+
rate: string | null;
|
|
5347
|
+
provider: string | null;
|
|
5348
|
+
rateTimestamp: Date | null;
|
|
5349
|
+
composed: boolean | null;
|
|
5350
|
+
recordedAt: Date;
|
|
5351
|
+
}[] | undefined;
|
|
5352
|
+
blockedReason?: {
|
|
5353
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5354
|
+
} | undefined;
|
|
4855
5355
|
} | {
|
|
4856
5356
|
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
4857
5357
|
data: {
|
|
@@ -4895,6 +5395,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4895
5395
|
message: string;
|
|
4896
5396
|
tinyUrl: string;
|
|
4897
5397
|
}[] | undefined;
|
|
5398
|
+
fiatValuationHistory?: {
|
|
5399
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5400
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5401
|
+
ceiling: string;
|
|
5402
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5403
|
+
exponent: number;
|
|
5404
|
+
countervalue: string | null;
|
|
5405
|
+
rate: string | null;
|
|
5406
|
+
provider: string | null;
|
|
5407
|
+
rateTimestamp: Date | null;
|
|
5408
|
+
composed: boolean | null;
|
|
5409
|
+
recordedAt: Date;
|
|
5410
|
+
}[] | undefined;
|
|
5411
|
+
blockedReason?: {
|
|
5412
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5413
|
+
} | undefined;
|
|
4898
5414
|
} | {
|
|
4899
5415
|
type: "TRADELINK_CREATE_EXCHANGE";
|
|
4900
5416
|
data: {
|
|
@@ -4936,6 +5452,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4936
5452
|
message: string;
|
|
4937
5453
|
tinyUrl: string;
|
|
4938
5454
|
}[] | undefined;
|
|
5455
|
+
fiatValuationHistory?: {
|
|
5456
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5457
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5458
|
+
ceiling: string;
|
|
5459
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5460
|
+
exponent: number;
|
|
5461
|
+
countervalue: string | null;
|
|
5462
|
+
rate: string | null;
|
|
5463
|
+
provider: string | null;
|
|
5464
|
+
rateTimestamp: Date | null;
|
|
5465
|
+
composed: boolean | null;
|
|
5466
|
+
recordedAt: Date;
|
|
5467
|
+
}[] | undefined;
|
|
5468
|
+
blockedReason?: {
|
|
5469
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5470
|
+
} | undefined;
|
|
4939
5471
|
} | {
|
|
4940
5472
|
type: "TRADELINK_EDIT_EXCHANGE";
|
|
4941
5473
|
data: {
|
|
@@ -4977,6 +5509,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4977
5509
|
message: string;
|
|
4978
5510
|
tinyUrl: string;
|
|
4979
5511
|
}[] | undefined;
|
|
5512
|
+
fiatValuationHistory?: {
|
|
5513
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5514
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5515
|
+
ceiling: string;
|
|
5516
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5517
|
+
exponent: number;
|
|
5518
|
+
countervalue: string | null;
|
|
5519
|
+
rate: string | null;
|
|
5520
|
+
provider: string | null;
|
|
5521
|
+
rateTimestamp: Date | null;
|
|
5522
|
+
composed: boolean | null;
|
|
5523
|
+
recordedAt: Date;
|
|
5524
|
+
}[] | undefined;
|
|
5525
|
+
blockedReason?: {
|
|
5526
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5527
|
+
} | undefined;
|
|
4980
5528
|
} | {
|
|
4981
5529
|
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
4982
5530
|
data: {
|
|
@@ -5018,6 +5566,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5018
5566
|
message: string;
|
|
5019
5567
|
tinyUrl: string;
|
|
5020
5568
|
}[] | undefined;
|
|
5569
|
+
fiatValuationHistory?: {
|
|
5570
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5571
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5572
|
+
ceiling: string;
|
|
5573
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5574
|
+
exponent: number;
|
|
5575
|
+
countervalue: string | null;
|
|
5576
|
+
rate: string | null;
|
|
5577
|
+
provider: string | null;
|
|
5578
|
+
rateTimestamp: Date | null;
|
|
5579
|
+
composed: boolean | null;
|
|
5580
|
+
recordedAt: Date;
|
|
5581
|
+
}[] | undefined;
|
|
5582
|
+
blockedReason?: {
|
|
5583
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5584
|
+
} | undefined;
|
|
5021
5585
|
} | {
|
|
5022
5586
|
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
5023
5587
|
data: {
|
|
@@ -5059,6 +5623,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5059
5623
|
message: string;
|
|
5060
5624
|
tinyUrl: string;
|
|
5061
5625
|
}[] | undefined;
|
|
5626
|
+
fiatValuationHistory?: {
|
|
5627
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5628
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5629
|
+
ceiling: string;
|
|
5630
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5631
|
+
exponent: number;
|
|
5632
|
+
countervalue: string | null;
|
|
5633
|
+
rate: string | null;
|
|
5634
|
+
provider: string | null;
|
|
5635
|
+
rateTimestamp: Date | null;
|
|
5636
|
+
composed: boolean | null;
|
|
5637
|
+
recordedAt: Date;
|
|
5638
|
+
}[] | undefined;
|
|
5639
|
+
blockedReason?: {
|
|
5640
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5641
|
+
} | undefined;
|
|
5062
5642
|
} | {
|
|
5063
5643
|
type: "TRADELINK_ADJUST_PLEDGE";
|
|
5064
5644
|
data: {
|
|
@@ -5093,6 +5673,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5093
5673
|
message: string;
|
|
5094
5674
|
tinyUrl: string;
|
|
5095
5675
|
}[] | undefined;
|
|
5676
|
+
fiatValuationHistory?: {
|
|
5677
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5678
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5679
|
+
ceiling: string;
|
|
5680
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5681
|
+
exponent: number;
|
|
5682
|
+
countervalue: string | null;
|
|
5683
|
+
rate: string | null;
|
|
5684
|
+
provider: string | null;
|
|
5685
|
+
rateTimestamp: Date | null;
|
|
5686
|
+
composed: boolean | null;
|
|
5687
|
+
recordedAt: Date;
|
|
5688
|
+
}[] | undefined;
|
|
5689
|
+
blockedReason?: {
|
|
5690
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5691
|
+
} | undefined;
|
|
5096
5692
|
} | {
|
|
5097
5693
|
type: "TRADELINK_REPLEDGE";
|
|
5098
5694
|
data: {
|
|
@@ -5127,6 +5723,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5127
5723
|
message: string;
|
|
5128
5724
|
tinyUrl: string;
|
|
5129
5725
|
}[] | undefined;
|
|
5726
|
+
fiatValuationHistory?: {
|
|
5727
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5728
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5729
|
+
ceiling: string;
|
|
5730
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5731
|
+
exponent: number;
|
|
5732
|
+
countervalue: string | null;
|
|
5733
|
+
rate: string | null;
|
|
5734
|
+
provider: string | null;
|
|
5735
|
+
rateTimestamp: Date | null;
|
|
5736
|
+
composed: boolean | null;
|
|
5737
|
+
recordedAt: Date;
|
|
5738
|
+
}[] | undefined;
|
|
5739
|
+
blockedReason?: {
|
|
5740
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5741
|
+
} | undefined;
|
|
5130
5742
|
} | {
|
|
5131
5743
|
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
5132
5744
|
data: {
|
|
@@ -5161,6 +5773,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5161
5773
|
message: string;
|
|
5162
5774
|
tinyUrl: string;
|
|
5163
5775
|
}[] | undefined;
|
|
5776
|
+
fiatValuationHistory?: {
|
|
5777
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5778
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5779
|
+
ceiling: string;
|
|
5780
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5781
|
+
exponent: number;
|
|
5782
|
+
countervalue: string | null;
|
|
5783
|
+
rate: string | null;
|
|
5784
|
+
provider: string | null;
|
|
5785
|
+
rateTimestamp: Date | null;
|
|
5786
|
+
composed: boolean | null;
|
|
5787
|
+
recordedAt: Date;
|
|
5788
|
+
}[] | undefined;
|
|
5789
|
+
blockedReason?: {
|
|
5790
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5791
|
+
} | undefined;
|
|
5164
5792
|
} | {
|
|
5165
5793
|
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
5166
5794
|
data: {
|
|
@@ -5194,6 +5822,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5194
5822
|
message: string;
|
|
5195
5823
|
tinyUrl: string;
|
|
5196
5824
|
}[] | undefined;
|
|
5825
|
+
fiatValuationHistory?: {
|
|
5826
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5827
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5828
|
+
ceiling: string;
|
|
5829
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5830
|
+
exponent: number;
|
|
5831
|
+
countervalue: string | null;
|
|
5832
|
+
rate: string | null;
|
|
5833
|
+
provider: string | null;
|
|
5834
|
+
rateTimestamp: Date | null;
|
|
5835
|
+
composed: boolean | null;
|
|
5836
|
+
recordedAt: Date;
|
|
5837
|
+
}[] | undefined;
|
|
5838
|
+
blockedReason?: {
|
|
5839
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5840
|
+
} | undefined;
|
|
5197
5841
|
} | {
|
|
5198
5842
|
type: "TRADELINK_WITHDRAW";
|
|
5199
5843
|
data: {
|
|
@@ -5227,6 +5871,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5227
5871
|
message: string;
|
|
5228
5872
|
tinyUrl: string;
|
|
5229
5873
|
}[] | undefined;
|
|
5874
|
+
fiatValuationHistory?: {
|
|
5875
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5876
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5877
|
+
ceiling: string;
|
|
5878
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5879
|
+
exponent: number;
|
|
5880
|
+
countervalue: string | null;
|
|
5881
|
+
rate: string | null;
|
|
5882
|
+
provider: string | null;
|
|
5883
|
+
rateTimestamp: Date | null;
|
|
5884
|
+
composed: boolean | null;
|
|
5885
|
+
recordedAt: Date;
|
|
5886
|
+
}[] | undefined;
|
|
5887
|
+
blockedReason?: {
|
|
5888
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5889
|
+
} | undefined;
|
|
5230
5890
|
} | {
|
|
5231
5891
|
type: "TRADELINK_ARBITRATE";
|
|
5232
5892
|
data: {
|
|
@@ -5260,6 +5920,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5260
5920
|
message: string;
|
|
5261
5921
|
tinyUrl: string;
|
|
5262
5922
|
}[] | undefined;
|
|
5923
|
+
fiatValuationHistory?: {
|
|
5924
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5925
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5926
|
+
ceiling: string;
|
|
5927
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5928
|
+
exponent: number;
|
|
5929
|
+
countervalue: string | null;
|
|
5930
|
+
rate: string | null;
|
|
5931
|
+
provider: string | null;
|
|
5932
|
+
rateTimestamp: Date | null;
|
|
5933
|
+
composed: boolean | null;
|
|
5934
|
+
recordedAt: Date;
|
|
5935
|
+
}[] | undefined;
|
|
5936
|
+
blockedReason?: {
|
|
5937
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5938
|
+
} | undefined;
|
|
5263
5939
|
} | {
|
|
5264
5940
|
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
5265
5941
|
data: {
|
|
@@ -5293,6 +5969,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5293
5969
|
message: string;
|
|
5294
5970
|
tinyUrl: string;
|
|
5295
5971
|
}[] | undefined;
|
|
5972
|
+
fiatValuationHistory?: {
|
|
5973
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
5974
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
5975
|
+
ceiling: string;
|
|
5976
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
5977
|
+
exponent: number;
|
|
5978
|
+
countervalue: string | null;
|
|
5979
|
+
rate: string | null;
|
|
5980
|
+
provider: string | null;
|
|
5981
|
+
rateTimestamp: Date | null;
|
|
5982
|
+
composed: boolean | null;
|
|
5983
|
+
recordedAt: Date;
|
|
5984
|
+
}[] | undefined;
|
|
5985
|
+
blockedReason?: {
|
|
5986
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
5987
|
+
} | undefined;
|
|
5296
5988
|
} | {
|
|
5297
5989
|
type: "SIGN_MESSAGE";
|
|
5298
5990
|
data: {
|
|
@@ -5349,6 +6041,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5349
6041
|
message: string;
|
|
5350
6042
|
tinyUrl: string;
|
|
5351
6043
|
}[] | undefined;
|
|
6044
|
+
fiatValuationHistory?: {
|
|
6045
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6046
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6047
|
+
ceiling: string;
|
|
6048
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6049
|
+
exponent: number;
|
|
6050
|
+
countervalue: string | null;
|
|
6051
|
+
rate: string | null;
|
|
6052
|
+
provider: string | null;
|
|
6053
|
+
rateTimestamp: Date | null;
|
|
6054
|
+
composed: boolean | null;
|
|
6055
|
+
recordedAt: Date;
|
|
6056
|
+
}[] | undefined;
|
|
6057
|
+
blockedReason?: {
|
|
6058
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6059
|
+
} | undefined;
|
|
5352
6060
|
} | {
|
|
5353
6061
|
type: "CREATE_ACCOUNT";
|
|
5354
6062
|
data: {
|
|
@@ -5374,6 +6082,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5374
6082
|
min: string | null;
|
|
5375
6083
|
max: string | null;
|
|
5376
6084
|
} | undefined;
|
|
6085
|
+
fiatThreshold?: {
|
|
6086
|
+
max: string;
|
|
6087
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6088
|
+
} | undefined;
|
|
5377
6089
|
whitelistIds?: string[] | undefined;
|
|
5378
6090
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5379
6091
|
}[];
|
|
@@ -5430,6 +6142,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5430
6142
|
message: string;
|
|
5431
6143
|
tinyUrl: string;
|
|
5432
6144
|
}[] | undefined;
|
|
6145
|
+
fiatValuationHistory?: {
|
|
6146
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6147
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6148
|
+
ceiling: string;
|
|
6149
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6150
|
+
exponent: number;
|
|
6151
|
+
countervalue: string | null;
|
|
6152
|
+
rate: string | null;
|
|
6153
|
+
provider: string | null;
|
|
6154
|
+
rateTimestamp: Date | null;
|
|
6155
|
+
composed: boolean | null;
|
|
6156
|
+
recordedAt: Date;
|
|
6157
|
+
}[] | undefined;
|
|
6158
|
+
blockedReason?: {
|
|
6159
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6160
|
+
} | undefined;
|
|
5433
6161
|
} | {
|
|
5434
6162
|
type: "EDIT_TOKEN_RULE";
|
|
5435
6163
|
data: {
|
|
@@ -5447,6 +6175,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5447
6175
|
min: string | null;
|
|
5448
6176
|
max: string | null;
|
|
5449
6177
|
} | undefined;
|
|
6178
|
+
fiatThreshold?: {
|
|
6179
|
+
max: string;
|
|
6180
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6181
|
+
} | undefined;
|
|
5450
6182
|
whitelistIds?: string[] | undefined;
|
|
5451
6183
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5452
6184
|
}[];
|
|
@@ -5478,6 +6210,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5478
6210
|
message: string;
|
|
5479
6211
|
tinyUrl: string;
|
|
5480
6212
|
}[] | undefined;
|
|
6213
|
+
fiatValuationHistory?: {
|
|
6214
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6215
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6216
|
+
ceiling: string;
|
|
6217
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6218
|
+
exponent: number;
|
|
6219
|
+
countervalue: string | null;
|
|
6220
|
+
rate: string | null;
|
|
6221
|
+
provider: string | null;
|
|
6222
|
+
rateTimestamp: Date | null;
|
|
6223
|
+
composed: boolean | null;
|
|
6224
|
+
recordedAt: Date;
|
|
6225
|
+
}[] | undefined;
|
|
6226
|
+
blockedReason?: {
|
|
6227
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6228
|
+
} | undefined;
|
|
5481
6229
|
} | {
|
|
5482
6230
|
type: "REVOKE_GROUP";
|
|
5483
6231
|
data: Record<string, never>;
|
|
@@ -5508,6 +6256,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5508
6256
|
message: string;
|
|
5509
6257
|
tinyUrl: string;
|
|
5510
6258
|
}[] | undefined;
|
|
6259
|
+
fiatValuationHistory?: {
|
|
6260
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6261
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6262
|
+
ceiling: string;
|
|
6263
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6264
|
+
exponent: number;
|
|
6265
|
+
countervalue: string | null;
|
|
6266
|
+
rate: string | null;
|
|
6267
|
+
provider: string | null;
|
|
6268
|
+
rateTimestamp: Date | null;
|
|
6269
|
+
composed: boolean | null;
|
|
6270
|
+
recordedAt: Date;
|
|
6271
|
+
}[] | undefined;
|
|
6272
|
+
blockedReason?: {
|
|
6273
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6274
|
+
} | undefined;
|
|
5511
6275
|
} | {
|
|
5512
6276
|
type: "CREATE_API_USER_ACCESS";
|
|
5513
6277
|
data: {
|
|
@@ -5540,6 +6304,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5540
6304
|
message: string;
|
|
5541
6305
|
tinyUrl: string;
|
|
5542
6306
|
}[] | undefined;
|
|
6307
|
+
fiatValuationHistory?: {
|
|
6308
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6309
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6310
|
+
ceiling: string;
|
|
6311
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6312
|
+
exponent: number;
|
|
6313
|
+
countervalue: string | null;
|
|
6314
|
+
rate: string | null;
|
|
6315
|
+
provider: string | null;
|
|
6316
|
+
rateTimestamp: Date | null;
|
|
6317
|
+
composed: boolean | null;
|
|
6318
|
+
recordedAt: Date;
|
|
6319
|
+
}[] | undefined;
|
|
6320
|
+
blockedReason?: {
|
|
6321
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6322
|
+
} | undefined;
|
|
5543
6323
|
} | {
|
|
5544
6324
|
type: "CREATE_SCICONFIG";
|
|
5545
6325
|
data: {
|
|
@@ -5576,6 +6356,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5576
6356
|
message: string;
|
|
5577
6357
|
tinyUrl: string;
|
|
5578
6358
|
}[] | undefined;
|
|
6359
|
+
fiatValuationHistory?: {
|
|
6360
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6361
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6362
|
+
ceiling: string;
|
|
6363
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6364
|
+
exponent: number;
|
|
6365
|
+
countervalue: string | null;
|
|
6366
|
+
rate: string | null;
|
|
6367
|
+
provider: string | null;
|
|
6368
|
+
rateTimestamp: Date | null;
|
|
6369
|
+
composed: boolean | null;
|
|
6370
|
+
recordedAt: Date;
|
|
6371
|
+
}[] | undefined;
|
|
6372
|
+
blockedReason?: {
|
|
6373
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6374
|
+
} | undefined;
|
|
5579
6375
|
} | {
|
|
5580
6376
|
type: "EDIT_SCICONFIG";
|
|
5581
6377
|
data: {
|
|
@@ -5611,6 +6407,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5611
6407
|
message: string;
|
|
5612
6408
|
tinyUrl: string;
|
|
5613
6409
|
}[] | undefined;
|
|
6410
|
+
fiatValuationHistory?: {
|
|
6411
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6412
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6413
|
+
ceiling: string;
|
|
6414
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6415
|
+
exponent: number;
|
|
6416
|
+
countervalue: string | null;
|
|
6417
|
+
rate: string | null;
|
|
6418
|
+
provider: string | null;
|
|
6419
|
+
rateTimestamp: Date | null;
|
|
6420
|
+
composed: boolean | null;
|
|
6421
|
+
recordedAt: Date;
|
|
6422
|
+
}[] | undefined;
|
|
6423
|
+
blockedReason?: {
|
|
6424
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6425
|
+
} | undefined;
|
|
5614
6426
|
} | {
|
|
5615
6427
|
type: "CREATE_API_KEY";
|
|
5616
6428
|
data: {
|
|
@@ -5645,6 +6457,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5645
6457
|
message: string;
|
|
5646
6458
|
tinyUrl: string;
|
|
5647
6459
|
}[] | undefined;
|
|
6460
|
+
fiatValuationHistory?: {
|
|
6461
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6462
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6463
|
+
ceiling: string;
|
|
6464
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6465
|
+
exponent: number;
|
|
6466
|
+
countervalue: string | null;
|
|
6467
|
+
rate: string | null;
|
|
6468
|
+
provider: string | null;
|
|
6469
|
+
rateTimestamp: Date | null;
|
|
6470
|
+
composed: boolean | null;
|
|
6471
|
+
recordedAt: Date;
|
|
6472
|
+
}[] | undefined;
|
|
6473
|
+
blockedReason?: {
|
|
6474
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6475
|
+
} | undefined;
|
|
5648
6476
|
} | {
|
|
5649
6477
|
type: "EDIT_API_KEY";
|
|
5650
6478
|
data: {
|
|
@@ -5679,6 +6507,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5679
6507
|
message: string;
|
|
5680
6508
|
tinyUrl: string;
|
|
5681
6509
|
}[] | undefined;
|
|
6510
|
+
fiatValuationHistory?: {
|
|
6511
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6512
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6513
|
+
ceiling: string;
|
|
6514
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6515
|
+
exponent: number;
|
|
6516
|
+
countervalue: string | null;
|
|
6517
|
+
rate: string | null;
|
|
6518
|
+
provider: string | null;
|
|
6519
|
+
rateTimestamp: Date | null;
|
|
6520
|
+
composed: boolean | null;
|
|
6521
|
+
recordedAt: Date;
|
|
6522
|
+
}[] | undefined;
|
|
6523
|
+
blockedReason?: {
|
|
6524
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6525
|
+
} | undefined;
|
|
5682
6526
|
} | {
|
|
5683
6527
|
type: "REVOKE_API_KEY";
|
|
5684
6528
|
data: Record<string, never>;
|
|
@@ -5709,6 +6553,95 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5709
6553
|
message: string;
|
|
5710
6554
|
tinyUrl: string;
|
|
5711
6555
|
}[] | undefined;
|
|
6556
|
+
fiatValuationHistory?: {
|
|
6557
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6558
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6559
|
+
ceiling: string;
|
|
6560
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6561
|
+
exponent: number;
|
|
6562
|
+
countervalue: string | null;
|
|
6563
|
+
rate: string | null;
|
|
6564
|
+
provider: string | null;
|
|
6565
|
+
rateTimestamp: Date | null;
|
|
6566
|
+
composed: boolean | null;
|
|
6567
|
+
recordedAt: Date;
|
|
6568
|
+
}[] | undefined;
|
|
6569
|
+
blockedReason?: {
|
|
6570
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6571
|
+
} | undefined;
|
|
6572
|
+
} | {
|
|
6573
|
+
type: "CREATE_POLICY";
|
|
6574
|
+
data: {
|
|
6575
|
+
name: string;
|
|
6576
|
+
description: string | null;
|
|
6577
|
+
asset: {
|
|
6578
|
+
network: string;
|
|
6579
|
+
contractAddress: string | null;
|
|
6580
|
+
tokenIdentifier: string | null;
|
|
6581
|
+
} | null;
|
|
6582
|
+
govRules: {
|
|
6583
|
+
reviewSteps: ({
|
|
6584
|
+
quorum: number;
|
|
6585
|
+
userIds: string[];
|
|
6586
|
+
} | {
|
|
6587
|
+
quorum: number;
|
|
6588
|
+
groupId: string;
|
|
6589
|
+
})[];
|
|
6590
|
+
threshold?: {
|
|
6591
|
+
min: string | null;
|
|
6592
|
+
max: string | null;
|
|
6593
|
+
} | undefined;
|
|
6594
|
+
fiatThreshold?: {
|
|
6595
|
+
max: string;
|
|
6596
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6597
|
+
} | undefined;
|
|
6598
|
+
whitelistIds?: string[] | undefined;
|
|
6599
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6600
|
+
}[];
|
|
6601
|
+
};
|
|
6602
|
+
id: string;
|
|
6603
|
+
legacyId: number;
|
|
6604
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
6605
|
+
reviewSteps: {
|
|
6606
|
+
stageName: string;
|
|
6607
|
+
quorum: number;
|
|
6608
|
+
}[];
|
|
6609
|
+
currentStepIndex: number;
|
|
6610
|
+
expiresAt: Date;
|
|
6611
|
+
targetId: string | null;
|
|
6612
|
+
note: Note | null;
|
|
6613
|
+
reviews: RequestReview[];
|
|
6614
|
+
createdAt: Date;
|
|
6615
|
+
updatedAt: Date;
|
|
6616
|
+
createdById: string;
|
|
6617
|
+
inflight?: {
|
|
6618
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6619
|
+
retryAfter: Date;
|
|
6620
|
+
} | undefined;
|
|
6621
|
+
scanHistory?: {
|
|
6622
|
+
type: "creation" | "pre_signature";
|
|
6623
|
+
timestamp: string;
|
|
6624
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6625
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6626
|
+
message: string;
|
|
6627
|
+
tinyUrl: string;
|
|
6628
|
+
}[] | undefined;
|
|
6629
|
+
fiatValuationHistory?: {
|
|
6630
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
6631
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
6632
|
+
ceiling: string;
|
|
6633
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
6634
|
+
exponent: number;
|
|
6635
|
+
countervalue: string | null;
|
|
6636
|
+
rate: string | null;
|
|
6637
|
+
provider: string | null;
|
|
6638
|
+
rateTimestamp: Date | null;
|
|
6639
|
+
composed: boolean | null;
|
|
6640
|
+
recordedAt: Date;
|
|
6641
|
+
}[] | undefined;
|
|
6642
|
+
blockedReason?: {
|
|
6643
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
6644
|
+
} | undefined;
|
|
5712
6645
|
}) & {
|
|
5713
6646
|
workspaceName: string;
|
|
5714
6647
|
};
|
|
@@ -5793,6 +6726,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5793
6726
|
status?: "CONFIRMED" | "DROPPED" | "FAILED" | "FAILED_ON_CHAIN" | "ON_CHAIN" | "SCHEDULED" | "SUBMITTED" | "UNKNOWN" | undefined;
|
|
5794
6727
|
sortBy?: "createdAt" | "updatedAt" | undefined;
|
|
5795
6728
|
sortOrder?: "asc" | "desc" | undefined;
|
|
6729
|
+
fromDate?: unknown;
|
|
6730
|
+
toDate?: unknown;
|
|
5796
6731
|
};
|
|
5797
6732
|
output: {
|
|
5798
6733
|
page: number;
|
|
@@ -6328,7 +7263,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6328
7263
|
meta: TrpcMeta;
|
|
6329
7264
|
}>;
|
|
6330
7265
|
}>>;
|
|
6331
|
-
|
|
7266
|
+
natsEventBackfill: import("@trpc/server").TRPCBuiltRouter<{
|
|
6332
7267
|
ctx: {
|
|
6333
7268
|
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;
|
|
6334
7269
|
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;
|
|
@@ -6380,28 +7315,101 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6380
7315
|
};
|
|
6381
7316
|
transformer: true;
|
|
6382
7317
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6383
|
-
|
|
7318
|
+
preview: import("@trpc/server").TRPCQueryProcedure<{
|
|
6384
7319
|
input: {
|
|
6385
|
-
|
|
7320
|
+
eventType: "AccountCreated" | "WorkspaceCreated";
|
|
7321
|
+
workspaceNames?: string[] | undefined;
|
|
7322
|
+
network?: string | undefined;
|
|
6386
7323
|
};
|
|
6387
|
-
output:
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
7324
|
+
output: NatsEventBackfillPreview;
|
|
7325
|
+
meta: TrpcMeta;
|
|
7326
|
+
}>;
|
|
7327
|
+
run: import("@trpc/server").TRPCMutationProcedure<{
|
|
7328
|
+
input: {
|
|
7329
|
+
eventType: "AccountCreated" | "WorkspaceCreated";
|
|
7330
|
+
workspaceNames?: string[] | undefined;
|
|
7331
|
+
network?: string | undefined;
|
|
7332
|
+
} & {
|
|
7333
|
+
concurrency: number;
|
|
7334
|
+
};
|
|
7335
|
+
output: NatsEventBackfillReport;
|
|
7336
|
+
meta: TrpcMeta;
|
|
7337
|
+
}>;
|
|
7338
|
+
}>>;
|
|
7339
|
+
configCatPromotions: import("@trpc/server").TRPCBuiltRouter<{
|
|
7340
|
+
ctx: {
|
|
7341
|
+
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;
|
|
7342
|
+
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;
|
|
7343
|
+
info?: import("@trpc/server/unstable-core-do-not-import").TRPCRequestInfo | undefined;
|
|
7344
|
+
debugAuthToken?: string;
|
|
7345
|
+
rootAuthToken?: string;
|
|
7346
|
+
backofficeRequiredPermission?: BackofficePermission;
|
|
7347
|
+
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
7348
|
+
user: {
|
|
7349
|
+
id: string;
|
|
7350
|
+
workspaceName: string;
|
|
7351
|
+
name: string;
|
|
7352
|
+
authUserId: string | null;
|
|
7353
|
+
pubKey: string;
|
|
7354
|
+
deviceType: UserDeviceType;
|
|
7355
|
+
deviceUserId: string | null;
|
|
7356
|
+
hsmId: string | null;
|
|
7357
|
+
u2fKeyHandle: string | null;
|
|
7358
|
+
u2fPubKey: string | null;
|
|
7359
|
+
legacyViewAll: boolean;
|
|
7360
|
+
role: UserRole;
|
|
7361
|
+
status: ActivationStatus$1;
|
|
7362
|
+
isSuspended: boolean;
|
|
7363
|
+
gateType: GateUserType | null;
|
|
7364
|
+
gateId: number;
|
|
7365
|
+
syncId: string;
|
|
7366
|
+
createdAt: Date;
|
|
7367
|
+
updatedAt: Date;
|
|
7368
|
+
} | null;
|
|
7369
|
+
authorization: string | null;
|
|
7370
|
+
readOnly: boolean;
|
|
7371
|
+
activityTracer: ActivityTracer;
|
|
7372
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
7373
|
+
};
|
|
7374
|
+
meta: TrpcMeta;
|
|
7375
|
+
errorShape: {
|
|
7376
|
+
message: string;
|
|
7377
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7378
|
+
data: {
|
|
7379
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
7380
|
+
httpStatus: number;
|
|
7381
|
+
path?: string;
|
|
7382
|
+
stack?: string;
|
|
7383
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
7384
|
+
maintenance?: boolean | undefined;
|
|
7385
|
+
errorCode?: string | undefined;
|
|
7386
|
+
errorContext?: Record<string, string> | undefined;
|
|
7387
|
+
};
|
|
7388
|
+
};
|
|
7389
|
+
transformer: true;
|
|
7390
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7391
|
+
matrix: import("@trpc/server").TRPCQueryProcedure<{
|
|
7392
|
+
input: {
|
|
7393
|
+
sourceEnv?: string | undefined;
|
|
7394
|
+
};
|
|
7395
|
+
output: {
|
|
7396
|
+
environments: {
|
|
7397
|
+
slug: string;
|
|
7398
|
+
displayName: string;
|
|
7399
|
+
order: number;
|
|
7400
|
+
}[];
|
|
7401
|
+
sourceEnv: string;
|
|
7402
|
+
rows: {
|
|
7403
|
+
flagKey: string;
|
|
7404
|
+
flagName: string;
|
|
7405
|
+
valueType: "boolean" | "json" | "number" | "string";
|
|
7406
|
+
cells: Record<string, {
|
|
7407
|
+
state: "blocked" | "missing" | "notAllowed" | "present" | "source";
|
|
7408
|
+
summary: string;
|
|
7409
|
+
blockers: {
|
|
7410
|
+
code: "CONFIGCAT_UNAVAILABLE" | "ENVIRONMENT_NOT_CONFIGURED" | "EXTERNAL_WRITE_FAILED" | "EXTERNAL_WRITE_OUTCOME_UNKNOWN" | "SELECTED_FLAG_ALREADY_EXISTS" | "SOURCE_FLAG_NOT_FOUND" | "TARGET_NOT_AFTER_SOURCE" | "UNSUPPORTED_FLAG";
|
|
7411
|
+
severity: "blocking";
|
|
7412
|
+
sourceEnv: string;
|
|
6405
7413
|
targetEnv?: string | undefined;
|
|
6406
7414
|
flagKey?: string | undefined;
|
|
6407
7415
|
message: string;
|
|
@@ -6456,6 +7464,71 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6456
7464
|
}>;
|
|
6457
7465
|
}>>;
|
|
6458
7466
|
}>>;
|
|
7467
|
+
hsm: import("@trpc/server").TRPCBuiltRouter<{
|
|
7468
|
+
ctx: {
|
|
7469
|
+
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;
|
|
7470
|
+
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;
|
|
7471
|
+
info?: import("@trpc/server/unstable-core-do-not-import").TRPCRequestInfo | undefined;
|
|
7472
|
+
debugAuthToken?: string;
|
|
7473
|
+
rootAuthToken?: string;
|
|
7474
|
+
backofficeRequiredPermission?: BackofficePermission;
|
|
7475
|
+
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
7476
|
+
user: {
|
|
7477
|
+
id: string;
|
|
7478
|
+
workspaceName: string;
|
|
7479
|
+
name: string;
|
|
7480
|
+
authUserId: string | null;
|
|
7481
|
+
pubKey: string;
|
|
7482
|
+
deviceType: UserDeviceType;
|
|
7483
|
+
deviceUserId: string | null;
|
|
7484
|
+
hsmId: string | null;
|
|
7485
|
+
u2fKeyHandle: string | null;
|
|
7486
|
+
u2fPubKey: string | null;
|
|
7487
|
+
legacyViewAll: boolean;
|
|
7488
|
+
role: UserRole;
|
|
7489
|
+
status: ActivationStatus$1;
|
|
7490
|
+
isSuspended: boolean;
|
|
7491
|
+
gateType: GateUserType | null;
|
|
7492
|
+
gateId: number;
|
|
7493
|
+
syncId: string;
|
|
7494
|
+
createdAt: Date;
|
|
7495
|
+
updatedAt: Date;
|
|
7496
|
+
} | null;
|
|
7497
|
+
authorization: string | null;
|
|
7498
|
+
readOnly: boolean;
|
|
7499
|
+
activityTracer: ActivityTracer;
|
|
7500
|
+
core: RuntimeInternalApiCapabilityProvider;
|
|
7501
|
+
};
|
|
7502
|
+
meta: TrpcMeta;
|
|
7503
|
+
errorShape: {
|
|
7504
|
+
message: string;
|
|
7505
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7506
|
+
data: {
|
|
7507
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
7508
|
+
httpStatus: number;
|
|
7509
|
+
path?: string;
|
|
7510
|
+
stack?: string;
|
|
7511
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
7512
|
+
maintenance?: boolean | undefined;
|
|
7513
|
+
errorCode?: string | undefined;
|
|
7514
|
+
errorContext?: Record<string, string> | undefined;
|
|
7515
|
+
};
|
|
7516
|
+
};
|
|
7517
|
+
transformer: true;
|
|
7518
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7519
|
+
authorizeSignature: import("@trpc/server").TRPCMutationProcedure<{
|
|
7520
|
+
input: {
|
|
7521
|
+
targetHsmId: string;
|
|
7522
|
+
};
|
|
7523
|
+
output: {
|
|
7524
|
+
authorized: true;
|
|
7525
|
+
} | {
|
|
7526
|
+
authorized: false;
|
|
7527
|
+
reason: Record<string, unknown>;
|
|
7528
|
+
};
|
|
7529
|
+
meta: TrpcMeta;
|
|
7530
|
+
}>;
|
|
7531
|
+
}>>;
|
|
6459
7532
|
reports: import("@trpc/server").TRPCBuiltRouter<{
|
|
6460
7533
|
ctx: {
|
|
6461
7534
|
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;
|
|
@@ -6558,6 +7631,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6558
7631
|
message: string;
|
|
6559
7632
|
tinyUrl: string;
|
|
6560
7633
|
}[] | undefined;
|
|
7634
|
+
fiatValuationHistory?: {
|
|
7635
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
7636
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
7637
|
+
ceiling: string;
|
|
7638
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7639
|
+
exponent: number;
|
|
7640
|
+
countervalue: string | null;
|
|
7641
|
+
rate: string | null;
|
|
7642
|
+
provider: string | null;
|
|
7643
|
+
rateTimestamp: Date | null;
|
|
7644
|
+
composed: boolean | null;
|
|
7645
|
+
recordedAt: Date;
|
|
7646
|
+
}[] | undefined;
|
|
7647
|
+
blockedReason?: {
|
|
7648
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
7649
|
+
} | undefined;
|
|
6561
7650
|
} | {
|
|
6562
7651
|
type: "UPDATE_QUORUM";
|
|
6563
7652
|
data: {
|
|
@@ -6590,6 +7679,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6590
7679
|
message: string;
|
|
6591
7680
|
tinyUrl: string;
|
|
6592
7681
|
}[] | undefined;
|
|
7682
|
+
fiatValuationHistory?: {
|
|
7683
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
7684
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
7685
|
+
ceiling: string;
|
|
7686
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7687
|
+
exponent: number;
|
|
7688
|
+
countervalue: string | null;
|
|
7689
|
+
rate: string | null;
|
|
7690
|
+
provider: string | null;
|
|
7691
|
+
rateTimestamp: Date | null;
|
|
7692
|
+
composed: boolean | null;
|
|
7693
|
+
recordedAt: Date;
|
|
7694
|
+
}[] | undefined;
|
|
7695
|
+
blockedReason?: {
|
|
7696
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
7697
|
+
} | undefined;
|
|
6593
7698
|
} | {
|
|
6594
7699
|
type: "SIGN_DIGESTS";
|
|
6595
7700
|
data: {
|
|
@@ -6626,6 +7731,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6626
7731
|
message: string;
|
|
6627
7732
|
tinyUrl: string;
|
|
6628
7733
|
}[] | undefined;
|
|
7734
|
+
fiatValuationHistory?: {
|
|
7735
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
7736
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
7737
|
+
ceiling: string;
|
|
7738
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7739
|
+
exponent: number;
|
|
7740
|
+
countervalue: string | null;
|
|
7741
|
+
rate: string | null;
|
|
7742
|
+
provider: string | null;
|
|
7743
|
+
rateTimestamp: Date | null;
|
|
7744
|
+
composed: boolean | null;
|
|
7745
|
+
recordedAt: Date;
|
|
7746
|
+
}[] | undefined;
|
|
7747
|
+
blockedReason?: {
|
|
7748
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
7749
|
+
} | undefined;
|
|
6629
7750
|
} | {
|
|
6630
7751
|
type: "EDIT_ACCOUNT";
|
|
6631
7752
|
data: {
|
|
@@ -6647,6 +7768,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6647
7768
|
min: string | null;
|
|
6648
7769
|
max: string | null;
|
|
6649
7770
|
} | undefined;
|
|
7771
|
+
fiatThreshold?: {
|
|
7772
|
+
max: string;
|
|
7773
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7774
|
+
} | undefined;
|
|
6650
7775
|
whitelistIds?: string[] | undefined;
|
|
6651
7776
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6652
7777
|
}[];
|
|
@@ -6698,6 +7823,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6698
7823
|
message: string;
|
|
6699
7824
|
tinyUrl: string;
|
|
6700
7825
|
}[] | undefined;
|
|
7826
|
+
fiatValuationHistory?: {
|
|
7827
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
7828
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
7829
|
+
ceiling: string;
|
|
7830
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7831
|
+
exponent: number;
|
|
7832
|
+
countervalue: string | null;
|
|
7833
|
+
rate: string | null;
|
|
7834
|
+
provider: string | null;
|
|
7835
|
+
rateTimestamp: Date | null;
|
|
7836
|
+
composed: boolean | null;
|
|
7837
|
+
recordedAt: Date;
|
|
7838
|
+
}[] | undefined;
|
|
7839
|
+
blockedReason?: {
|
|
7840
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
7841
|
+
} | undefined;
|
|
6701
7842
|
} | {
|
|
6702
7843
|
type: "CREATE_GROUP";
|
|
6703
7844
|
data: {
|
|
@@ -6732,6 +7873,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6732
7873
|
message: string;
|
|
6733
7874
|
tinyUrl: string;
|
|
6734
7875
|
}[] | undefined;
|
|
7876
|
+
fiatValuationHistory?: {
|
|
7877
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
7878
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
7879
|
+
ceiling: string;
|
|
7880
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7881
|
+
exponent: number;
|
|
7882
|
+
countervalue: string | null;
|
|
7883
|
+
rate: string | null;
|
|
7884
|
+
provider: string | null;
|
|
7885
|
+
rateTimestamp: Date | null;
|
|
7886
|
+
composed: boolean | null;
|
|
7887
|
+
recordedAt: Date;
|
|
7888
|
+
}[] | undefined;
|
|
7889
|
+
blockedReason?: {
|
|
7890
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
7891
|
+
} | undefined;
|
|
6735
7892
|
} | {
|
|
6736
7893
|
type: "EDIT_GROUP";
|
|
6737
7894
|
data: {
|
|
@@ -6766,6 +7923,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6766
7923
|
message: string;
|
|
6767
7924
|
tinyUrl: string;
|
|
6768
7925
|
}[] | undefined;
|
|
7926
|
+
fiatValuationHistory?: {
|
|
7927
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
7928
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
7929
|
+
ceiling: string;
|
|
7930
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7931
|
+
exponent: number;
|
|
7932
|
+
countervalue: string | null;
|
|
7933
|
+
rate: string | null;
|
|
7934
|
+
provider: string | null;
|
|
7935
|
+
rateTimestamp: Date | null;
|
|
7936
|
+
composed: boolean | null;
|
|
7937
|
+
recordedAt: Date;
|
|
7938
|
+
}[] | undefined;
|
|
7939
|
+
blockedReason?: {
|
|
7940
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
7941
|
+
} | undefined;
|
|
6769
7942
|
} | {
|
|
6770
7943
|
type: "CREATE_WHITELIST";
|
|
6771
7944
|
data: {
|
|
@@ -6806,6 +7979,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6806
7979
|
message: string;
|
|
6807
7980
|
tinyUrl: string;
|
|
6808
7981
|
}[] | undefined;
|
|
7982
|
+
fiatValuationHistory?: {
|
|
7983
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
7984
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
7985
|
+
ceiling: string;
|
|
7986
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
7987
|
+
exponent: number;
|
|
7988
|
+
countervalue: string | null;
|
|
7989
|
+
rate: string | null;
|
|
7990
|
+
provider: string | null;
|
|
7991
|
+
rateTimestamp: Date | null;
|
|
7992
|
+
composed: boolean | null;
|
|
7993
|
+
recordedAt: Date;
|
|
7994
|
+
}[] | undefined;
|
|
7995
|
+
blockedReason?: {
|
|
7996
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
7997
|
+
} | undefined;
|
|
6809
7998
|
} | {
|
|
6810
7999
|
type: "EDIT_WHITELIST";
|
|
6811
8000
|
data: {
|
|
@@ -6844,6 +8033,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6844
8033
|
message: string;
|
|
6845
8034
|
tinyUrl: string;
|
|
6846
8035
|
}[] | undefined;
|
|
8036
|
+
fiatValuationHistory?: {
|
|
8037
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8038
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8039
|
+
ceiling: string;
|
|
8040
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8041
|
+
exponent: number;
|
|
8042
|
+
countervalue: string | null;
|
|
8043
|
+
rate: string | null;
|
|
8044
|
+
provider: string | null;
|
|
8045
|
+
rateTimestamp: Date | null;
|
|
8046
|
+
composed: boolean | null;
|
|
8047
|
+
recordedAt: Date;
|
|
8048
|
+
}[] | undefined;
|
|
8049
|
+
blockedReason?: {
|
|
8050
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8051
|
+
} | undefined;
|
|
6847
8052
|
} | {
|
|
6848
8053
|
type: "CREATE_ENTITY";
|
|
6849
8054
|
data: {
|
|
@@ -6878,6 +8083,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6878
8083
|
message: string;
|
|
6879
8084
|
tinyUrl: string;
|
|
6880
8085
|
}[] | undefined;
|
|
8086
|
+
fiatValuationHistory?: {
|
|
8087
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8088
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8089
|
+
ceiling: string;
|
|
8090
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8091
|
+
exponent: number;
|
|
8092
|
+
countervalue: string | null;
|
|
8093
|
+
rate: string | null;
|
|
8094
|
+
provider: string | null;
|
|
8095
|
+
rateTimestamp: Date | null;
|
|
8096
|
+
composed: boolean | null;
|
|
8097
|
+
recordedAt: Date;
|
|
8098
|
+
}[] | undefined;
|
|
8099
|
+
blockedReason?: {
|
|
8100
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8101
|
+
} | undefined;
|
|
6881
8102
|
} | {
|
|
6882
8103
|
type: "EDIT_ENTITY";
|
|
6883
8104
|
data: {
|
|
@@ -6912,6 +8133,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6912
8133
|
message: string;
|
|
6913
8134
|
tinyUrl: string;
|
|
6914
8135
|
}[] | undefined;
|
|
8136
|
+
fiatValuationHistory?: {
|
|
8137
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8138
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8139
|
+
ceiling: string;
|
|
8140
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8141
|
+
exponent: number;
|
|
8142
|
+
countervalue: string | null;
|
|
8143
|
+
rate: string | null;
|
|
8144
|
+
provider: string | null;
|
|
8145
|
+
rateTimestamp: Date | null;
|
|
8146
|
+
composed: boolean | null;
|
|
8147
|
+
recordedAt: Date;
|
|
8148
|
+
}[] | undefined;
|
|
8149
|
+
blockedReason?: {
|
|
8150
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8151
|
+
} | undefined;
|
|
6915
8152
|
} | {
|
|
6916
8153
|
type: "REVOKE_ENTITY";
|
|
6917
8154
|
data: Record<string, never>;
|
|
@@ -6942,6 +8179,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6942
8179
|
message: string;
|
|
6943
8180
|
tinyUrl: string;
|
|
6944
8181
|
}[] | undefined;
|
|
8182
|
+
fiatValuationHistory?: {
|
|
8183
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8184
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8185
|
+
ceiling: string;
|
|
8186
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8187
|
+
exponent: number;
|
|
8188
|
+
countervalue: string | null;
|
|
8189
|
+
rate: string | null;
|
|
8190
|
+
provider: string | null;
|
|
8191
|
+
rateTimestamp: Date | null;
|
|
8192
|
+
composed: boolean | null;
|
|
8193
|
+
recordedAt: Date;
|
|
8194
|
+
}[] | undefined;
|
|
8195
|
+
blockedReason?: {
|
|
8196
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8197
|
+
} | undefined;
|
|
6945
8198
|
} | {
|
|
6946
8199
|
type: "CREATE_PSD_USER";
|
|
6947
8200
|
data: {
|
|
@@ -6974,6 +8227,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6974
8227
|
message: string;
|
|
6975
8228
|
tinyUrl: string;
|
|
6976
8229
|
}[] | undefined;
|
|
8230
|
+
fiatValuationHistory?: {
|
|
8231
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8232
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8233
|
+
ceiling: string;
|
|
8234
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8235
|
+
exponent: number;
|
|
8236
|
+
countervalue: string | null;
|
|
8237
|
+
rate: string | null;
|
|
8238
|
+
provider: string | null;
|
|
8239
|
+
rateTimestamp: Date | null;
|
|
8240
|
+
composed: boolean | null;
|
|
8241
|
+
recordedAt: Date;
|
|
8242
|
+
}[] | undefined;
|
|
8243
|
+
blockedReason?: {
|
|
8244
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8245
|
+
} | undefined;
|
|
6977
8246
|
} | {
|
|
6978
8247
|
type: "CREATE_API_USER";
|
|
6979
8248
|
data: {
|
|
@@ -7009,6 +8278,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7009
8278
|
message: string;
|
|
7010
8279
|
tinyUrl: string;
|
|
7011
8280
|
}[] | undefined;
|
|
8281
|
+
fiatValuationHistory?: {
|
|
8282
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8283
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8284
|
+
ceiling: string;
|
|
8285
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8286
|
+
exponent: number;
|
|
8287
|
+
countervalue: string | null;
|
|
8288
|
+
rate: string | null;
|
|
8289
|
+
provider: string | null;
|
|
8290
|
+
rateTimestamp: Date | null;
|
|
8291
|
+
composed: boolean | null;
|
|
8292
|
+
recordedAt: Date;
|
|
8293
|
+
}[] | undefined;
|
|
8294
|
+
blockedReason?: {
|
|
8295
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8296
|
+
} | undefined;
|
|
7012
8297
|
} | {
|
|
7013
8298
|
type: "REVOKE_USER";
|
|
7014
8299
|
data: Record<string, never>;
|
|
@@ -7039,6 +8324,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7039
8324
|
message: string;
|
|
7040
8325
|
tinyUrl: string;
|
|
7041
8326
|
}[] | undefined;
|
|
8327
|
+
fiatValuationHistory?: {
|
|
8328
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8329
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8330
|
+
ceiling: string;
|
|
8331
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8332
|
+
exponent: number;
|
|
8333
|
+
countervalue: string | null;
|
|
8334
|
+
rate: string | null;
|
|
8335
|
+
provider: string | null;
|
|
8336
|
+
rateTimestamp: Date | null;
|
|
8337
|
+
composed: boolean | null;
|
|
8338
|
+
recordedAt: Date;
|
|
8339
|
+
}[] | undefined;
|
|
8340
|
+
blockedReason?: {
|
|
8341
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8342
|
+
} | undefined;
|
|
7042
8343
|
} | {
|
|
7043
8344
|
type: "EDIT_WORKSPACE_RULE";
|
|
7044
8345
|
data: {
|
|
@@ -7075,59 +8376,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7075
8376
|
message: string;
|
|
7076
8377
|
tinyUrl: string;
|
|
7077
8378
|
}[] | undefined;
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
quorum: number;
|
|
7091
|
-
userIds: string[];
|
|
7092
|
-
} | {
|
|
7093
|
-
quorum: number;
|
|
7094
|
-
groupId: string;
|
|
7095
|
-
})[];
|
|
7096
|
-
threshold?: {
|
|
7097
|
-
min: string | null;
|
|
7098
|
-
max: string | null;
|
|
7099
|
-
} | undefined;
|
|
7100
|
-
whitelistIds?: string[] | undefined;
|
|
7101
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
7102
|
-
}[];
|
|
7103
|
-
};
|
|
7104
|
-
id: string;
|
|
7105
|
-
legacyId: number;
|
|
7106
|
-
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
7107
|
-
reviewSteps: {
|
|
7108
|
-
stageName: string;
|
|
7109
|
-
quorum: number;
|
|
7110
|
-
}[];
|
|
7111
|
-
currentStepIndex: number;
|
|
7112
|
-
expiresAt: Date;
|
|
7113
|
-
targetId: string | null;
|
|
7114
|
-
note: Note | null;
|
|
7115
|
-
reviews: RequestReview[];
|
|
7116
|
-
createdAt: Date;
|
|
7117
|
-
updatedAt: Date;
|
|
7118
|
-
createdById: string;
|
|
7119
|
-
inflight?: {
|
|
7120
|
-
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
7121
|
-
retryAfter: Date;
|
|
7122
|
-
} | undefined;
|
|
7123
|
-
scanHistory?: {
|
|
7124
|
-
type: "creation" | "pre_signature";
|
|
7125
|
-
timestamp: string;
|
|
7126
|
-
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7127
|
-
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7128
|
-
message: string;
|
|
7129
|
-
tinyUrl: string;
|
|
8379
|
+
fiatValuationHistory?: {
|
|
8380
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8381
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8382
|
+
ceiling: string;
|
|
8383
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8384
|
+
exponent: number;
|
|
8385
|
+
countervalue: string | null;
|
|
8386
|
+
rate: string | null;
|
|
8387
|
+
provider: string | null;
|
|
8388
|
+
rateTimestamp: Date | null;
|
|
8389
|
+
composed: boolean | null;
|
|
8390
|
+
recordedAt: Date;
|
|
7130
8391
|
}[] | undefined;
|
|
8392
|
+
blockedReason?: {
|
|
8393
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8394
|
+
} | undefined;
|
|
7131
8395
|
} | {
|
|
7132
8396
|
type: "EDIT_POLICY";
|
|
7133
8397
|
data: {
|
|
@@ -7145,6 +8409,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7145
8409
|
min: string | null;
|
|
7146
8410
|
max: string | null;
|
|
7147
8411
|
} | undefined;
|
|
8412
|
+
fiatThreshold?: {
|
|
8413
|
+
max: string;
|
|
8414
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8415
|
+
} | undefined;
|
|
7148
8416
|
whitelistIds?: string[] | undefined;
|
|
7149
8417
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
7150
8418
|
}[];
|
|
@@ -7176,6 +8444,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7176
8444
|
message: string;
|
|
7177
8445
|
tinyUrl: string;
|
|
7178
8446
|
}[] | undefined;
|
|
8447
|
+
fiatValuationHistory?: {
|
|
8448
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8449
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8450
|
+
ceiling: string;
|
|
8451
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8452
|
+
exponent: number;
|
|
8453
|
+
countervalue: string | null;
|
|
8454
|
+
rate: string | null;
|
|
8455
|
+
provider: string | null;
|
|
8456
|
+
rateTimestamp: Date | null;
|
|
8457
|
+
composed: boolean | null;
|
|
8458
|
+
recordedAt: Date;
|
|
8459
|
+
}[] | undefined;
|
|
8460
|
+
blockedReason?: {
|
|
8461
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8462
|
+
} | undefined;
|
|
7179
8463
|
} | {
|
|
7180
8464
|
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
7181
8465
|
data: null;
|
|
@@ -7206,6 +8490,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7206
8490
|
message: string;
|
|
7207
8491
|
tinyUrl: string;
|
|
7208
8492
|
}[] | undefined;
|
|
8493
|
+
fiatValuationHistory?: {
|
|
8494
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8495
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8496
|
+
ceiling: string;
|
|
8497
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8498
|
+
exponent: number;
|
|
8499
|
+
countervalue: string | null;
|
|
8500
|
+
rate: string | null;
|
|
8501
|
+
provider: string | null;
|
|
8502
|
+
rateTimestamp: Date | null;
|
|
8503
|
+
composed: boolean | null;
|
|
8504
|
+
recordedAt: Date;
|
|
8505
|
+
}[] | undefined;
|
|
8506
|
+
blockedReason?: {
|
|
8507
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8508
|
+
} | undefined;
|
|
7209
8509
|
} | {
|
|
7210
8510
|
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
7211
8511
|
data: {
|
|
@@ -7249,6 +8549,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7249
8549
|
message: string;
|
|
7250
8550
|
tinyUrl: string;
|
|
7251
8551
|
}[] | undefined;
|
|
8552
|
+
fiatValuationHistory?: {
|
|
8553
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8554
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8555
|
+
ceiling: string;
|
|
8556
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8557
|
+
exponent: number;
|
|
8558
|
+
countervalue: string | null;
|
|
8559
|
+
rate: string | null;
|
|
8560
|
+
provider: string | null;
|
|
8561
|
+
rateTimestamp: Date | null;
|
|
8562
|
+
composed: boolean | null;
|
|
8563
|
+
recordedAt: Date;
|
|
8564
|
+
}[] | undefined;
|
|
8565
|
+
blockedReason?: {
|
|
8566
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8567
|
+
} | undefined;
|
|
7252
8568
|
} | {
|
|
7253
8569
|
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
7254
8570
|
data: {
|
|
@@ -7292,6 +8608,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7292
8608
|
message: string;
|
|
7293
8609
|
tinyUrl: string;
|
|
7294
8610
|
}[] | undefined;
|
|
8611
|
+
fiatValuationHistory?: {
|
|
8612
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8613
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8614
|
+
ceiling: string;
|
|
8615
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8616
|
+
exponent: number;
|
|
8617
|
+
countervalue: string | null;
|
|
8618
|
+
rate: string | null;
|
|
8619
|
+
provider: string | null;
|
|
8620
|
+
rateTimestamp: Date | null;
|
|
8621
|
+
composed: boolean | null;
|
|
8622
|
+
recordedAt: Date;
|
|
8623
|
+
}[] | undefined;
|
|
8624
|
+
blockedReason?: {
|
|
8625
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8626
|
+
} | undefined;
|
|
7295
8627
|
} | {
|
|
7296
8628
|
type: "TRADELINK_CREATE_EXCHANGE";
|
|
7297
8629
|
data: {
|
|
@@ -7333,6 +8665,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7333
8665
|
message: string;
|
|
7334
8666
|
tinyUrl: string;
|
|
7335
8667
|
}[] | undefined;
|
|
8668
|
+
fiatValuationHistory?: {
|
|
8669
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8670
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8671
|
+
ceiling: string;
|
|
8672
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8673
|
+
exponent: number;
|
|
8674
|
+
countervalue: string | null;
|
|
8675
|
+
rate: string | null;
|
|
8676
|
+
provider: string | null;
|
|
8677
|
+
rateTimestamp: Date | null;
|
|
8678
|
+
composed: boolean | null;
|
|
8679
|
+
recordedAt: Date;
|
|
8680
|
+
}[] | undefined;
|
|
8681
|
+
blockedReason?: {
|
|
8682
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8683
|
+
} | undefined;
|
|
7336
8684
|
} | {
|
|
7337
8685
|
type: "TRADELINK_EDIT_EXCHANGE";
|
|
7338
8686
|
data: {
|
|
@@ -7374,6 +8722,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7374
8722
|
message: string;
|
|
7375
8723
|
tinyUrl: string;
|
|
7376
8724
|
}[] | undefined;
|
|
8725
|
+
fiatValuationHistory?: {
|
|
8726
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8727
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8728
|
+
ceiling: string;
|
|
8729
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8730
|
+
exponent: number;
|
|
8731
|
+
countervalue: string | null;
|
|
8732
|
+
rate: string | null;
|
|
8733
|
+
provider: string | null;
|
|
8734
|
+
rateTimestamp: Date | null;
|
|
8735
|
+
composed: boolean | null;
|
|
8736
|
+
recordedAt: Date;
|
|
8737
|
+
}[] | undefined;
|
|
8738
|
+
blockedReason?: {
|
|
8739
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8740
|
+
} | undefined;
|
|
7377
8741
|
} | {
|
|
7378
8742
|
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
7379
8743
|
data: {
|
|
@@ -7415,6 +8779,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7415
8779
|
message: string;
|
|
7416
8780
|
tinyUrl: string;
|
|
7417
8781
|
}[] | undefined;
|
|
8782
|
+
fiatValuationHistory?: {
|
|
8783
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8784
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8785
|
+
ceiling: string;
|
|
8786
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8787
|
+
exponent: number;
|
|
8788
|
+
countervalue: string | null;
|
|
8789
|
+
rate: string | null;
|
|
8790
|
+
provider: string | null;
|
|
8791
|
+
rateTimestamp: Date | null;
|
|
8792
|
+
composed: boolean | null;
|
|
8793
|
+
recordedAt: Date;
|
|
8794
|
+
}[] | undefined;
|
|
8795
|
+
blockedReason?: {
|
|
8796
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8797
|
+
} | undefined;
|
|
7418
8798
|
} | {
|
|
7419
8799
|
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
7420
8800
|
data: {
|
|
@@ -7456,6 +8836,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7456
8836
|
message: string;
|
|
7457
8837
|
tinyUrl: string;
|
|
7458
8838
|
}[] | undefined;
|
|
8839
|
+
fiatValuationHistory?: {
|
|
8840
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8841
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8842
|
+
ceiling: string;
|
|
8843
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8844
|
+
exponent: number;
|
|
8845
|
+
countervalue: string | null;
|
|
8846
|
+
rate: string | null;
|
|
8847
|
+
provider: string | null;
|
|
8848
|
+
rateTimestamp: Date | null;
|
|
8849
|
+
composed: boolean | null;
|
|
8850
|
+
recordedAt: Date;
|
|
8851
|
+
}[] | undefined;
|
|
8852
|
+
blockedReason?: {
|
|
8853
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8854
|
+
} | undefined;
|
|
7459
8855
|
} | {
|
|
7460
8856
|
type: "TRADELINK_ADJUST_PLEDGE";
|
|
7461
8857
|
data: {
|
|
@@ -7490,6 +8886,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7490
8886
|
message: string;
|
|
7491
8887
|
tinyUrl: string;
|
|
7492
8888
|
}[] | undefined;
|
|
8889
|
+
fiatValuationHistory?: {
|
|
8890
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8891
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8892
|
+
ceiling: string;
|
|
8893
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8894
|
+
exponent: number;
|
|
8895
|
+
countervalue: string | null;
|
|
8896
|
+
rate: string | null;
|
|
8897
|
+
provider: string | null;
|
|
8898
|
+
rateTimestamp: Date | null;
|
|
8899
|
+
composed: boolean | null;
|
|
8900
|
+
recordedAt: Date;
|
|
8901
|
+
}[] | undefined;
|
|
8902
|
+
blockedReason?: {
|
|
8903
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8904
|
+
} | undefined;
|
|
7493
8905
|
} | {
|
|
7494
8906
|
type: "TRADELINK_REPLEDGE";
|
|
7495
8907
|
data: {
|
|
@@ -7524,6 +8936,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7524
8936
|
message: string;
|
|
7525
8937
|
tinyUrl: string;
|
|
7526
8938
|
}[] | undefined;
|
|
8939
|
+
fiatValuationHistory?: {
|
|
8940
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8941
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8942
|
+
ceiling: string;
|
|
8943
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8944
|
+
exponent: number;
|
|
8945
|
+
countervalue: string | null;
|
|
8946
|
+
rate: string | null;
|
|
8947
|
+
provider: string | null;
|
|
8948
|
+
rateTimestamp: Date | null;
|
|
8949
|
+
composed: boolean | null;
|
|
8950
|
+
recordedAt: Date;
|
|
8951
|
+
}[] | undefined;
|
|
8952
|
+
blockedReason?: {
|
|
8953
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
8954
|
+
} | undefined;
|
|
7527
8955
|
} | {
|
|
7528
8956
|
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
7529
8957
|
data: {
|
|
@@ -7558,6 +8986,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7558
8986
|
message: string;
|
|
7559
8987
|
tinyUrl: string;
|
|
7560
8988
|
}[] | undefined;
|
|
8989
|
+
fiatValuationHistory?: {
|
|
8990
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
8991
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
8992
|
+
ceiling: string;
|
|
8993
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
8994
|
+
exponent: number;
|
|
8995
|
+
countervalue: string | null;
|
|
8996
|
+
rate: string | null;
|
|
8997
|
+
provider: string | null;
|
|
8998
|
+
rateTimestamp: Date | null;
|
|
8999
|
+
composed: boolean | null;
|
|
9000
|
+
recordedAt: Date;
|
|
9001
|
+
}[] | undefined;
|
|
9002
|
+
blockedReason?: {
|
|
9003
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9004
|
+
} | undefined;
|
|
7561
9005
|
} | {
|
|
7562
9006
|
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
7563
9007
|
data: {
|
|
@@ -7591,6 +9035,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7591
9035
|
message: string;
|
|
7592
9036
|
tinyUrl: string;
|
|
7593
9037
|
}[] | undefined;
|
|
9038
|
+
fiatValuationHistory?: {
|
|
9039
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9040
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9041
|
+
ceiling: string;
|
|
9042
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9043
|
+
exponent: number;
|
|
9044
|
+
countervalue: string | null;
|
|
9045
|
+
rate: string | null;
|
|
9046
|
+
provider: string | null;
|
|
9047
|
+
rateTimestamp: Date | null;
|
|
9048
|
+
composed: boolean | null;
|
|
9049
|
+
recordedAt: Date;
|
|
9050
|
+
}[] | undefined;
|
|
9051
|
+
blockedReason?: {
|
|
9052
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9053
|
+
} | undefined;
|
|
7594
9054
|
} | {
|
|
7595
9055
|
type: "TRADELINK_WITHDRAW";
|
|
7596
9056
|
data: {
|
|
@@ -7624,6 +9084,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7624
9084
|
message: string;
|
|
7625
9085
|
tinyUrl: string;
|
|
7626
9086
|
}[] | undefined;
|
|
9087
|
+
fiatValuationHistory?: {
|
|
9088
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9089
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9090
|
+
ceiling: string;
|
|
9091
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9092
|
+
exponent: number;
|
|
9093
|
+
countervalue: string | null;
|
|
9094
|
+
rate: string | null;
|
|
9095
|
+
provider: string | null;
|
|
9096
|
+
rateTimestamp: Date | null;
|
|
9097
|
+
composed: boolean | null;
|
|
9098
|
+
recordedAt: Date;
|
|
9099
|
+
}[] | undefined;
|
|
9100
|
+
blockedReason?: {
|
|
9101
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9102
|
+
} | undefined;
|
|
7627
9103
|
} | {
|
|
7628
9104
|
type: "TRADELINK_ARBITRATE";
|
|
7629
9105
|
data: {
|
|
@@ -7657,6 +9133,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7657
9133
|
message: string;
|
|
7658
9134
|
tinyUrl: string;
|
|
7659
9135
|
}[] | undefined;
|
|
9136
|
+
fiatValuationHistory?: {
|
|
9137
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9138
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9139
|
+
ceiling: string;
|
|
9140
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9141
|
+
exponent: number;
|
|
9142
|
+
countervalue: string | null;
|
|
9143
|
+
rate: string | null;
|
|
9144
|
+
provider: string | null;
|
|
9145
|
+
rateTimestamp: Date | null;
|
|
9146
|
+
composed: boolean | null;
|
|
9147
|
+
recordedAt: Date;
|
|
9148
|
+
}[] | undefined;
|
|
9149
|
+
blockedReason?: {
|
|
9150
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9151
|
+
} | undefined;
|
|
7660
9152
|
} | {
|
|
7661
9153
|
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
7662
9154
|
data: {
|
|
@@ -7690,6 +9182,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7690
9182
|
message: string;
|
|
7691
9183
|
tinyUrl: string;
|
|
7692
9184
|
}[] | undefined;
|
|
9185
|
+
fiatValuationHistory?: {
|
|
9186
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9187
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9188
|
+
ceiling: string;
|
|
9189
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9190
|
+
exponent: number;
|
|
9191
|
+
countervalue: string | null;
|
|
9192
|
+
rate: string | null;
|
|
9193
|
+
provider: string | null;
|
|
9194
|
+
rateTimestamp: Date | null;
|
|
9195
|
+
composed: boolean | null;
|
|
9196
|
+
recordedAt: Date;
|
|
9197
|
+
}[] | undefined;
|
|
9198
|
+
blockedReason?: {
|
|
9199
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9200
|
+
} | undefined;
|
|
7693
9201
|
} | {
|
|
7694
9202
|
type: "SIGN_MESSAGE";
|
|
7695
9203
|
data: {
|
|
@@ -7746,6 +9254,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7746
9254
|
message: string;
|
|
7747
9255
|
tinyUrl: string;
|
|
7748
9256
|
}[] | undefined;
|
|
9257
|
+
fiatValuationHistory?: {
|
|
9258
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9259
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9260
|
+
ceiling: string;
|
|
9261
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9262
|
+
exponent: number;
|
|
9263
|
+
countervalue: string | null;
|
|
9264
|
+
rate: string | null;
|
|
9265
|
+
provider: string | null;
|
|
9266
|
+
rateTimestamp: Date | null;
|
|
9267
|
+
composed: boolean | null;
|
|
9268
|
+
recordedAt: Date;
|
|
9269
|
+
}[] | undefined;
|
|
9270
|
+
blockedReason?: {
|
|
9271
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9272
|
+
} | undefined;
|
|
7749
9273
|
} | {
|
|
7750
9274
|
type: "CREATE_ACCOUNT";
|
|
7751
9275
|
data: {
|
|
@@ -7771,6 +9295,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7771
9295
|
min: string | null;
|
|
7772
9296
|
max: string | null;
|
|
7773
9297
|
} | undefined;
|
|
9298
|
+
fiatThreshold?: {
|
|
9299
|
+
max: string;
|
|
9300
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9301
|
+
} | undefined;
|
|
7774
9302
|
whitelistIds?: string[] | undefined;
|
|
7775
9303
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
7776
9304
|
}[];
|
|
@@ -7827,6 +9355,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7827
9355
|
message: string;
|
|
7828
9356
|
tinyUrl: string;
|
|
7829
9357
|
}[] | undefined;
|
|
9358
|
+
fiatValuationHistory?: {
|
|
9359
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9360
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9361
|
+
ceiling: string;
|
|
9362
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9363
|
+
exponent: number;
|
|
9364
|
+
countervalue: string | null;
|
|
9365
|
+
rate: string | null;
|
|
9366
|
+
provider: string | null;
|
|
9367
|
+
rateTimestamp: Date | null;
|
|
9368
|
+
composed: boolean | null;
|
|
9369
|
+
recordedAt: Date;
|
|
9370
|
+
}[] | undefined;
|
|
9371
|
+
blockedReason?: {
|
|
9372
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9373
|
+
} | undefined;
|
|
7830
9374
|
} | {
|
|
7831
9375
|
type: "EDIT_TOKEN_RULE";
|
|
7832
9376
|
data: {
|
|
@@ -7844,6 +9388,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7844
9388
|
min: string | null;
|
|
7845
9389
|
max: string | null;
|
|
7846
9390
|
} | undefined;
|
|
9391
|
+
fiatThreshold?: {
|
|
9392
|
+
max: string;
|
|
9393
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9394
|
+
} | undefined;
|
|
7847
9395
|
whitelistIds?: string[] | undefined;
|
|
7848
9396
|
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
7849
9397
|
}[];
|
|
@@ -7875,6 +9423,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7875
9423
|
message: string;
|
|
7876
9424
|
tinyUrl: string;
|
|
7877
9425
|
}[] | undefined;
|
|
9426
|
+
fiatValuationHistory?: {
|
|
9427
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9428
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9429
|
+
ceiling: string;
|
|
9430
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9431
|
+
exponent: number;
|
|
9432
|
+
countervalue: string | null;
|
|
9433
|
+
rate: string | null;
|
|
9434
|
+
provider: string | null;
|
|
9435
|
+
rateTimestamp: Date | null;
|
|
9436
|
+
composed: boolean | null;
|
|
9437
|
+
recordedAt: Date;
|
|
9438
|
+
}[] | undefined;
|
|
9439
|
+
blockedReason?: {
|
|
9440
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9441
|
+
} | undefined;
|
|
7878
9442
|
} | {
|
|
7879
9443
|
type: "REVOKE_GROUP";
|
|
7880
9444
|
data: Record<string, never>;
|
|
@@ -7905,6 +9469,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7905
9469
|
message: string;
|
|
7906
9470
|
tinyUrl: string;
|
|
7907
9471
|
}[] | undefined;
|
|
9472
|
+
fiatValuationHistory?: {
|
|
9473
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9474
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9475
|
+
ceiling: string;
|
|
9476
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9477
|
+
exponent: number;
|
|
9478
|
+
countervalue: string | null;
|
|
9479
|
+
rate: string | null;
|
|
9480
|
+
provider: string | null;
|
|
9481
|
+
rateTimestamp: Date | null;
|
|
9482
|
+
composed: boolean | null;
|
|
9483
|
+
recordedAt: Date;
|
|
9484
|
+
}[] | undefined;
|
|
9485
|
+
blockedReason?: {
|
|
9486
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9487
|
+
} | undefined;
|
|
7908
9488
|
} | {
|
|
7909
9489
|
type: "CREATE_API_USER_ACCESS";
|
|
7910
9490
|
data: {
|
|
@@ -7937,6 +9517,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7937
9517
|
message: string;
|
|
7938
9518
|
tinyUrl: string;
|
|
7939
9519
|
}[] | undefined;
|
|
9520
|
+
fiatValuationHistory?: {
|
|
9521
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9522
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9523
|
+
ceiling: string;
|
|
9524
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9525
|
+
exponent: number;
|
|
9526
|
+
countervalue: string | null;
|
|
9527
|
+
rate: string | null;
|
|
9528
|
+
provider: string | null;
|
|
9529
|
+
rateTimestamp: Date | null;
|
|
9530
|
+
composed: boolean | null;
|
|
9531
|
+
recordedAt: Date;
|
|
9532
|
+
}[] | undefined;
|
|
9533
|
+
blockedReason?: {
|
|
9534
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9535
|
+
} | undefined;
|
|
7940
9536
|
} | {
|
|
7941
9537
|
type: "CREATE_SCICONFIG";
|
|
7942
9538
|
data: {
|
|
@@ -7973,6 +9569,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7973
9569
|
message: string;
|
|
7974
9570
|
tinyUrl: string;
|
|
7975
9571
|
}[] | undefined;
|
|
9572
|
+
fiatValuationHistory?: {
|
|
9573
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9574
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9575
|
+
ceiling: string;
|
|
9576
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9577
|
+
exponent: number;
|
|
9578
|
+
countervalue: string | null;
|
|
9579
|
+
rate: string | null;
|
|
9580
|
+
provider: string | null;
|
|
9581
|
+
rateTimestamp: Date | null;
|
|
9582
|
+
composed: boolean | null;
|
|
9583
|
+
recordedAt: Date;
|
|
9584
|
+
}[] | undefined;
|
|
9585
|
+
blockedReason?: {
|
|
9586
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9587
|
+
} | undefined;
|
|
7976
9588
|
} | {
|
|
7977
9589
|
type: "EDIT_SCICONFIG";
|
|
7978
9590
|
data: {
|
|
@@ -8008,6 +9620,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8008
9620
|
message: string;
|
|
8009
9621
|
tinyUrl: string;
|
|
8010
9622
|
}[] | undefined;
|
|
9623
|
+
fiatValuationHistory?: {
|
|
9624
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9625
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9626
|
+
ceiling: string;
|
|
9627
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9628
|
+
exponent: number;
|
|
9629
|
+
countervalue: string | null;
|
|
9630
|
+
rate: string | null;
|
|
9631
|
+
provider: string | null;
|
|
9632
|
+
rateTimestamp: Date | null;
|
|
9633
|
+
composed: boolean | null;
|
|
9634
|
+
recordedAt: Date;
|
|
9635
|
+
}[] | undefined;
|
|
9636
|
+
blockedReason?: {
|
|
9637
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9638
|
+
} | undefined;
|
|
8011
9639
|
} | {
|
|
8012
9640
|
type: "CREATE_API_KEY";
|
|
8013
9641
|
data: {
|
|
@@ -8042,6 +9670,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8042
9670
|
message: string;
|
|
8043
9671
|
tinyUrl: string;
|
|
8044
9672
|
}[] | undefined;
|
|
9673
|
+
fiatValuationHistory?: {
|
|
9674
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9675
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9676
|
+
ceiling: string;
|
|
9677
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9678
|
+
exponent: number;
|
|
9679
|
+
countervalue: string | null;
|
|
9680
|
+
rate: string | null;
|
|
9681
|
+
provider: string | null;
|
|
9682
|
+
rateTimestamp: Date | null;
|
|
9683
|
+
composed: boolean | null;
|
|
9684
|
+
recordedAt: Date;
|
|
9685
|
+
}[] | undefined;
|
|
9686
|
+
blockedReason?: {
|
|
9687
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9688
|
+
} | undefined;
|
|
8045
9689
|
} | {
|
|
8046
9690
|
type: "EDIT_API_KEY";
|
|
8047
9691
|
data: {
|
|
@@ -8076,6 +9720,22 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8076
9720
|
message: string;
|
|
8077
9721
|
tinyUrl: string;
|
|
8078
9722
|
}[] | undefined;
|
|
9723
|
+
fiatValuationHistory?: {
|
|
9724
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9725
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9726
|
+
ceiling: string;
|
|
9727
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9728
|
+
exponent: number;
|
|
9729
|
+
countervalue: string | null;
|
|
9730
|
+
rate: string | null;
|
|
9731
|
+
provider: string | null;
|
|
9732
|
+
rateTimestamp: Date | null;
|
|
9733
|
+
composed: boolean | null;
|
|
9734
|
+
recordedAt: Date;
|
|
9735
|
+
}[] | undefined;
|
|
9736
|
+
blockedReason?: {
|
|
9737
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9738
|
+
} | undefined;
|
|
8079
9739
|
} | {
|
|
8080
9740
|
type: "REVOKE_API_KEY";
|
|
8081
9741
|
data: Record<string, never>;
|
|
@@ -8106,6 +9766,95 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8106
9766
|
message: string;
|
|
8107
9767
|
tinyUrl: string;
|
|
8108
9768
|
}[] | undefined;
|
|
9769
|
+
fiatValuationHistory?: {
|
|
9770
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9771
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9772
|
+
ceiling: string;
|
|
9773
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9774
|
+
exponent: number;
|
|
9775
|
+
countervalue: string | null;
|
|
9776
|
+
rate: string | null;
|
|
9777
|
+
provider: string | null;
|
|
9778
|
+
rateTimestamp: Date | null;
|
|
9779
|
+
composed: boolean | null;
|
|
9780
|
+
recordedAt: Date;
|
|
9781
|
+
}[] | undefined;
|
|
9782
|
+
blockedReason?: {
|
|
9783
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9784
|
+
} | undefined;
|
|
9785
|
+
} | {
|
|
9786
|
+
type: "CREATE_POLICY";
|
|
9787
|
+
data: {
|
|
9788
|
+
name: string;
|
|
9789
|
+
description: string | null;
|
|
9790
|
+
asset: {
|
|
9791
|
+
network: string;
|
|
9792
|
+
contractAddress: string | null;
|
|
9793
|
+
tokenIdentifier: string | null;
|
|
9794
|
+
} | null;
|
|
9795
|
+
govRules: {
|
|
9796
|
+
reviewSteps: ({
|
|
9797
|
+
quorum: number;
|
|
9798
|
+
userIds: string[];
|
|
9799
|
+
} | {
|
|
9800
|
+
quorum: number;
|
|
9801
|
+
groupId: string;
|
|
9802
|
+
})[];
|
|
9803
|
+
threshold?: {
|
|
9804
|
+
min: string | null;
|
|
9805
|
+
max: string | null;
|
|
9806
|
+
} | undefined;
|
|
9807
|
+
fiatThreshold?: {
|
|
9808
|
+
max: string;
|
|
9809
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9810
|
+
} | undefined;
|
|
9811
|
+
whitelistIds?: string[] | undefined;
|
|
9812
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
9813
|
+
}[];
|
|
9814
|
+
};
|
|
9815
|
+
id: string;
|
|
9816
|
+
legacyId: number;
|
|
9817
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
9818
|
+
reviewSteps: {
|
|
9819
|
+
stageName: string;
|
|
9820
|
+
quorum: number;
|
|
9821
|
+
}[];
|
|
9822
|
+
currentStepIndex: number;
|
|
9823
|
+
expiresAt: Date;
|
|
9824
|
+
targetId: string | null;
|
|
9825
|
+
note: Note | null;
|
|
9826
|
+
reviews: RequestReview[];
|
|
9827
|
+
createdAt: Date;
|
|
9828
|
+
updatedAt: Date;
|
|
9829
|
+
createdById: string;
|
|
9830
|
+
inflight?: {
|
|
9831
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
9832
|
+
retryAfter: Date;
|
|
9833
|
+
} | undefined;
|
|
9834
|
+
scanHistory?: {
|
|
9835
|
+
type: "creation" | "pre_signature";
|
|
9836
|
+
timestamp: string;
|
|
9837
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
9838
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
9839
|
+
message: string;
|
|
9840
|
+
tinyUrl: string;
|
|
9841
|
+
}[] | undefined;
|
|
9842
|
+
fiatValuationHistory?: {
|
|
9843
|
+
checkpoint: "APPROVAL" | "CREATION" | "FINAL_APPROVAL" | "PRE_SIGNATURE";
|
|
9844
|
+
status: "ABOVE_CEILING" | "UNPRICED" | "WITHIN";
|
|
9845
|
+
ceiling: string;
|
|
9846
|
+
currency: "CHF" | "EUR" | "GBP" | "JPY" | "USD";
|
|
9847
|
+
exponent: number;
|
|
9848
|
+
countervalue: string | null;
|
|
9849
|
+
rate: string | null;
|
|
9850
|
+
provider: string | null;
|
|
9851
|
+
rateTimestamp: Date | null;
|
|
9852
|
+
composed: boolean | null;
|
|
9853
|
+
recordedAt: Date;
|
|
9854
|
+
}[] | undefined;
|
|
9855
|
+
blockedReason?: {
|
|
9856
|
+
kind: "FIAT_CEILING_EXCEEDED" | "FIAT_VALUATION_UNAVAILABLE";
|
|
9857
|
+
} | undefined;
|
|
8109
9858
|
})[];
|
|
8110
9859
|
};
|
|
8111
9860
|
meta: TrpcMeta;
|