@ledgerhq/revault-api 1.82.2 → 1.83.1
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-Dak2ZzBR.d.mts → app-lib-CylpEF5I.d.mts} +26604 -23870
- package/lib/fakes.d.mts +1 -1
- package/lib/fakes.mjs +1 -0
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +2 -2
- package/lib/index.mjs +35 -19
- package/lib/index.mjs.map +1 -1
- package/lib/internal/app-lib.d.mts +901 -5
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as UserRole, Dr as zOidcConfig, J as ActivityTracer, Ji as TransactionData, K as BackofficePermissionMeta, Ka as Note, Ki as SendOnlyTransactionData, Sn as UserDeviceType, X as BackofficePermission, Y as ExtendedPrismaClient, cn as MaintenanceMode, en as ActivationStatus, it as VaultRequestResponse, oi as HsmCertificate, on as GateUserType, po as HsmWorkspaceComparison, q as RateLimitMetricsMeta, tt as RequestReview } from "../app-lib-CylpEF5I.mjs";
|
|
2
2
|
import z from "zod";
|
|
3
3
|
import "trpc-to-openapi";
|
|
4
4
|
//#region src/core/workspaces/schemas.d.ts
|
|
5
5
|
declare const zWorkspaceName: z.ZodString;
|
|
6
6
|
//#endregion
|
|
7
|
-
//#region src/internal/
|
|
7
|
+
//#region src/entrypoints/internal-api/router.d.ts
|
|
8
8
|
declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9
9
|
ctx: {
|
|
10
10
|
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;
|
|
@@ -13,6 +13,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
13
13
|
debugAuthToken?: string;
|
|
14
14
|
rootAuthToken?: string;
|
|
15
15
|
backofficeRequiredPermission?: BackofficePermission;
|
|
16
|
+
core: unknown;
|
|
16
17
|
prisma: ExtendedPrismaClient;
|
|
17
18
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
18
19
|
user: {
|
|
@@ -68,6 +69,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
68
69
|
httpStatus: number;
|
|
69
70
|
path?: string;
|
|
70
71
|
stack?: string;
|
|
72
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
71
73
|
maintenance?: boolean | undefined;
|
|
72
74
|
};
|
|
73
75
|
};
|
|
@@ -81,6 +83,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
81
83
|
debugAuthToken?: string;
|
|
82
84
|
rootAuthToken?: string;
|
|
83
85
|
backofficeRequiredPermission?: BackofficePermission;
|
|
86
|
+
core: unknown;
|
|
84
87
|
prisma: ExtendedPrismaClient;
|
|
85
88
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
86
89
|
user: {
|
|
@@ -136,6 +139,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
136
139
|
httpStatus: number;
|
|
137
140
|
path?: string;
|
|
138
141
|
stack?: string;
|
|
142
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
139
143
|
maintenance?: boolean | undefined;
|
|
140
144
|
};
|
|
141
145
|
};
|
|
@@ -177,6 +181,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
177
181
|
debugAuthToken?: string;
|
|
178
182
|
rootAuthToken?: string;
|
|
179
183
|
backofficeRequiredPermission?: BackofficePermission;
|
|
184
|
+
core: unknown;
|
|
180
185
|
prisma: ExtendedPrismaClient;
|
|
181
186
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
182
187
|
user: {
|
|
@@ -232,6 +237,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
232
237
|
httpStatus: number;
|
|
233
238
|
path?: string;
|
|
234
239
|
stack?: string;
|
|
240
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
235
241
|
maintenance?: boolean | undefined;
|
|
236
242
|
};
|
|
237
243
|
};
|
|
@@ -258,6 +264,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
258
264
|
name: string;
|
|
259
265
|
mode: "GATE_COMPAT" | "STANDALONE";
|
|
260
266
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
267
|
+
maintenanceMode: "FULL" | "OFF" | "READ_ONLY";
|
|
261
268
|
pkiRootCaFetched: boolean;
|
|
262
269
|
createdAt: Date;
|
|
263
270
|
updatedAt: Date;
|
|
@@ -297,12 +304,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
297
304
|
name: string;
|
|
298
305
|
mode: "GATE_COMPAT" | "STANDALONE";
|
|
299
306
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
307
|
+
maintenanceMode: "FULL" | "OFF" | "READ_ONLY";
|
|
300
308
|
pkiRootCaFetched: boolean;
|
|
301
309
|
createdAt: Date;
|
|
302
310
|
updatedAt: Date;
|
|
303
311
|
} & {
|
|
304
312
|
status: "ACTIVE" | "INACTIVE";
|
|
305
|
-
maintenanceMode: "FULL" | "OFF";
|
|
313
|
+
maintenanceMode: "FULL" | "OFF" | "READ_ONLY";
|
|
306
314
|
oidcConfig: {
|
|
307
315
|
url: string;
|
|
308
316
|
clientId: string;
|
|
@@ -330,11 +338,43 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
330
338
|
};
|
|
331
339
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
332
340
|
}>;
|
|
341
|
+
setMaintenanceMode: import("@trpc/server").TRPCMutationProcedure<{
|
|
342
|
+
input: {
|
|
343
|
+
workspaceNames: string[];
|
|
344
|
+
maintenanceMode: "FULL" | "OFF" | "READ_ONLY";
|
|
345
|
+
confirmation: string;
|
|
346
|
+
};
|
|
347
|
+
output: {
|
|
348
|
+
maintenanceMode: "FULL" | "OFF" | "READ_ONLY";
|
|
349
|
+
totalCount: number;
|
|
350
|
+
changedCount: number;
|
|
351
|
+
};
|
|
352
|
+
meta: {
|
|
353
|
+
[x: string]: unknown;
|
|
354
|
+
} & {
|
|
355
|
+
openapi?: {
|
|
356
|
+
enabled?: boolean;
|
|
357
|
+
method: import("trpc-to-openapi").OpenApiMethod;
|
|
358
|
+
path: `/${string}`;
|
|
359
|
+
operationId?: string;
|
|
360
|
+
summary?: string;
|
|
361
|
+
description?: string;
|
|
362
|
+
protect?: boolean;
|
|
363
|
+
tags?: string[];
|
|
364
|
+
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
365
|
+
deprecated?: boolean;
|
|
366
|
+
requestHeaders?: import("zod").ZodObject;
|
|
367
|
+
responseHeaders?: import("zod").ZodObject;
|
|
368
|
+
successDescription?: string;
|
|
369
|
+
errorResponses?: number[] | Record<number, string>;
|
|
370
|
+
};
|
|
371
|
+
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
372
|
+
}>;
|
|
333
373
|
edit: import("@trpc/server").TRPCMutationProcedure<{
|
|
334
374
|
input: {
|
|
335
375
|
name: string;
|
|
336
376
|
mode?: "GATE_COMPAT" | "STANDALONE" | undefined;
|
|
337
|
-
maintenanceMode?: "FULL" | "OFF" | undefined;
|
|
377
|
+
maintenanceMode?: "FULL" | "OFF" | "READ_ONLY" | undefined;
|
|
338
378
|
oidcConfig?: {
|
|
339
379
|
url: string;
|
|
340
380
|
clientId: string;
|
|
@@ -347,12 +387,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
347
387
|
name: string;
|
|
348
388
|
mode: "GATE_COMPAT" | "STANDALONE";
|
|
349
389
|
hsmHostingMode: "HOSTED" | "ON_PREM";
|
|
390
|
+
maintenanceMode: "FULL" | "OFF" | "READ_ONLY";
|
|
350
391
|
pkiRootCaFetched: boolean;
|
|
351
392
|
createdAt: Date;
|
|
352
393
|
updatedAt: Date;
|
|
353
394
|
} & {
|
|
354
395
|
status: "ACTIVE" | "INACTIVE";
|
|
355
|
-
maintenanceMode: "FULL" | "OFF";
|
|
396
|
+
maintenanceMode: "FULL" | "OFF" | "READ_ONLY";
|
|
356
397
|
oidcConfig: {
|
|
357
398
|
url: string;
|
|
358
399
|
clientId: string;
|
|
@@ -389,6 +430,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
389
430
|
debugAuthToken?: string;
|
|
390
431
|
rootAuthToken?: string;
|
|
391
432
|
backofficeRequiredPermission?: BackofficePermission;
|
|
433
|
+
core: unknown;
|
|
392
434
|
prisma: ExtendedPrismaClient;
|
|
393
435
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
394
436
|
user: {
|
|
@@ -444,6 +486,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
444
486
|
httpStatus: number;
|
|
445
487
|
path?: string;
|
|
446
488
|
stack?: string;
|
|
489
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
447
490
|
maintenance?: boolean | undefined;
|
|
448
491
|
};
|
|
449
492
|
};
|
|
@@ -897,6 +940,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
897
940
|
debugAuthToken?: string;
|
|
898
941
|
rootAuthToken?: string;
|
|
899
942
|
backofficeRequiredPermission?: BackofficePermission;
|
|
943
|
+
core: unknown;
|
|
900
944
|
prisma: ExtendedPrismaClient;
|
|
901
945
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
902
946
|
user: {
|
|
@@ -952,6 +996,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
952
996
|
httpStatus: number;
|
|
953
997
|
path?: string;
|
|
954
998
|
stack?: string;
|
|
999
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
955
1000
|
maintenance?: boolean | undefined;
|
|
956
1001
|
};
|
|
957
1002
|
};
|
|
@@ -1057,6 +1102,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1057
1102
|
debugAuthToken?: string;
|
|
1058
1103
|
rootAuthToken?: string;
|
|
1059
1104
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1105
|
+
core: unknown;
|
|
1060
1106
|
prisma: ExtendedPrismaClient;
|
|
1061
1107
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1062
1108
|
user: {
|
|
@@ -1112,6 +1158,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1112
1158
|
httpStatus: number;
|
|
1113
1159
|
path?: string;
|
|
1114
1160
|
stack?: string;
|
|
1161
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
1115
1162
|
maintenance?: boolean | undefined;
|
|
1116
1163
|
};
|
|
1117
1164
|
};
|
|
@@ -1221,6 +1268,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1221
1268
|
debugAuthToken?: string;
|
|
1222
1269
|
rootAuthToken?: string;
|
|
1223
1270
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1271
|
+
core: unknown;
|
|
1224
1272
|
prisma: ExtendedPrismaClient;
|
|
1225
1273
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1226
1274
|
user: {
|
|
@@ -1276,6 +1324,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1276
1324
|
httpStatus: number;
|
|
1277
1325
|
path?: string;
|
|
1278
1326
|
stack?: string;
|
|
1327
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
1279
1328
|
maintenance?: boolean | undefined;
|
|
1280
1329
|
};
|
|
1281
1330
|
};
|
|
@@ -1371,6 +1420,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1371
1420
|
debugAuthToken?: string;
|
|
1372
1421
|
rootAuthToken?: string;
|
|
1373
1422
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1423
|
+
core: unknown;
|
|
1374
1424
|
prisma: ExtendedPrismaClient;
|
|
1375
1425
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1376
1426
|
user: {
|
|
@@ -1426,6 +1476,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1426
1476
|
httpStatus: number;
|
|
1427
1477
|
path?: string;
|
|
1428
1478
|
stack?: string;
|
|
1479
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
1429
1480
|
maintenance?: boolean | undefined;
|
|
1430
1481
|
};
|
|
1431
1482
|
};
|
|
@@ -1694,6 +1745,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1694
1745
|
debugAuthToken?: string;
|
|
1695
1746
|
rootAuthToken?: string;
|
|
1696
1747
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1748
|
+
core: unknown;
|
|
1697
1749
|
prisma: ExtendedPrismaClient;
|
|
1698
1750
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1699
1751
|
user: {
|
|
@@ -1749,6 +1801,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1749
1801
|
httpStatus: number;
|
|
1750
1802
|
path?: string;
|
|
1751
1803
|
stack?: string;
|
|
1804
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
1752
1805
|
maintenance?: boolean | undefined;
|
|
1753
1806
|
};
|
|
1754
1807
|
};
|
|
@@ -1879,6 +1932,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1879
1932
|
debugAuthToken?: string;
|
|
1880
1933
|
rootAuthToken?: string;
|
|
1881
1934
|
backofficeRequiredPermission?: BackofficePermission;
|
|
1935
|
+
core: unknown;
|
|
1882
1936
|
prisma: ExtendedPrismaClient;
|
|
1883
1937
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
1884
1938
|
user: {
|
|
@@ -1934,6 +1988,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1934
1988
|
httpStatus: number;
|
|
1935
1989
|
path?: string;
|
|
1936
1990
|
stack?: string;
|
|
1991
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
1937
1992
|
maintenance?: boolean | undefined;
|
|
1938
1993
|
};
|
|
1939
1994
|
};
|
|
@@ -2044,6 +2099,142 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2044
2099
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2045
2100
|
}>;
|
|
2046
2101
|
}>>;
|
|
2102
|
+
webhooks: import("@trpc/server").TRPCBuiltRouter<{
|
|
2103
|
+
ctx: {
|
|
2104
|
+
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;
|
|
2105
|
+
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;
|
|
2106
|
+
info?: import("@trpc/server/unstable-core-do-not-import").TRPCRequestInfo | undefined;
|
|
2107
|
+
debugAuthToken?: string;
|
|
2108
|
+
rootAuthToken?: string;
|
|
2109
|
+
backofficeRequiredPermission?: BackofficePermission;
|
|
2110
|
+
core: unknown;
|
|
2111
|
+
prisma: ExtendedPrismaClient;
|
|
2112
|
+
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2113
|
+
user: {
|
|
2114
|
+
id: string;
|
|
2115
|
+
workspaceName: string;
|
|
2116
|
+
name: string;
|
|
2117
|
+
authUserId: string | null;
|
|
2118
|
+
pubKey: string;
|
|
2119
|
+
deviceType: UserDeviceType;
|
|
2120
|
+
deviceUserId: string | null;
|
|
2121
|
+
hsmId: string | null;
|
|
2122
|
+
u2fKeyHandle: string | null;
|
|
2123
|
+
u2fPubKey: string | null;
|
|
2124
|
+
legacyViewAll: boolean;
|
|
2125
|
+
role: UserRole;
|
|
2126
|
+
status: ActivationStatus;
|
|
2127
|
+
isSuspended: boolean;
|
|
2128
|
+
gateType: GateUserType | null;
|
|
2129
|
+
gateId: number;
|
|
2130
|
+
syncId: string;
|
|
2131
|
+
createdAt: Date;
|
|
2132
|
+
updatedAt: Date;
|
|
2133
|
+
} | null;
|
|
2134
|
+
authorization: string | null;
|
|
2135
|
+
readOnly: boolean;
|
|
2136
|
+
activityTracer: ActivityTracer;
|
|
2137
|
+
};
|
|
2138
|
+
meta: {
|
|
2139
|
+
[x: string]: unknown;
|
|
2140
|
+
} & {
|
|
2141
|
+
openapi?: {
|
|
2142
|
+
enabled?: boolean;
|
|
2143
|
+
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2144
|
+
path: `/${string}`;
|
|
2145
|
+
operationId?: string;
|
|
2146
|
+
summary?: string;
|
|
2147
|
+
description?: string;
|
|
2148
|
+
protect?: boolean;
|
|
2149
|
+
tags?: string[];
|
|
2150
|
+
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2151
|
+
deprecated?: boolean;
|
|
2152
|
+
requestHeaders?: import("zod").ZodObject;
|
|
2153
|
+
responseHeaders?: import("zod").ZodObject;
|
|
2154
|
+
successDescription?: string;
|
|
2155
|
+
errorResponses?: number[] | Record<number, string>;
|
|
2156
|
+
};
|
|
2157
|
+
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2158
|
+
errorShape: {
|
|
2159
|
+
message: string;
|
|
2160
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2161
|
+
data: {
|
|
2162
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
2163
|
+
httpStatus: number;
|
|
2164
|
+
path?: string;
|
|
2165
|
+
stack?: string;
|
|
2166
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
2167
|
+
maintenance?: boolean | undefined;
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2170
|
+
transformer: true;
|
|
2171
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2172
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
2173
|
+
input: {
|
|
2174
|
+
page?: number | undefined;
|
|
2175
|
+
pageSize?: number | undefined;
|
|
2176
|
+
workspaceName?: string | string[] | undefined;
|
|
2177
|
+
status?: "BROKEN" | "DISABLED" | "ENABLED" | undefined;
|
|
2178
|
+
search?: string | undefined;
|
|
2179
|
+
sortOrder?: "asc" | "desc" | undefined;
|
|
2180
|
+
statsWindowDays?: unknown;
|
|
2181
|
+
};
|
|
2182
|
+
output: {
|
|
2183
|
+
page: number;
|
|
2184
|
+
next: number | null;
|
|
2185
|
+
prev: number | null;
|
|
2186
|
+
pageSize: number;
|
|
2187
|
+
total: number;
|
|
2188
|
+
results: {
|
|
2189
|
+
id: string;
|
|
2190
|
+
name: string;
|
|
2191
|
+
description: string | null;
|
|
2192
|
+
url: string;
|
|
2193
|
+
status: "BROKEN" | "DISABLED" | "ENABLED";
|
|
2194
|
+
rules: {
|
|
2195
|
+
id: string;
|
|
2196
|
+
actions: ("AccountBalanceUpdated" | "ReportCompleted" | "ReportFailed" | "RequestAborted" | "RequestActivatedReviews" | "RequestApproved" | "RequestCreated" | "RequestExecuted" | "RequestExpired" | "RequestFailed" | "RequestReceivedApproval" | "RequestReceivedRejection" | "TransactionConfirmed" | "TransactionDropped" | "TransactionFailed" | "TransactionOnChain" | "TransactionScheduled" | "TransactionSubmitted" | "UserRegistrationCompleted" | "UserSuspended" | "UserUnsuspended")[];
|
|
2197
|
+
requestTypes: ("CREATE_ACCOUNT" | "CREATE_API_KEY" | "CREATE_API_USER" | "CREATE_API_USER_ACCESS" | "CREATE_ENTITY" | "CREATE_GROUP" | "CREATE_POLICY" | "CREATE_PSD_USER" | "CREATE_SCICONFIG" | "CREATE_TRANSACTION" | "CREATE_WHITELIST" | "EDIT_ACCOUNT" | "EDIT_API_KEY" | "EDIT_ENTITY" | "EDIT_EXTERNAL_SIGNER_PUBKEYS" | "EDIT_GROUP" | "EDIT_POLICY" | "EDIT_SCICONFIG" | "EDIT_TOKEN_RULE" | "EDIT_WHITELIST" | "EDIT_WORKSPACE_RULE" | "REVOKE_API_KEY" | "REVOKE_ENTITY" | "REVOKE_GROUP" | "REVOKE_USER" | "SIGN_DIGESTS" | "SIGN_MESSAGE" | "TRADELINK_ACTIVATE_ACCOUNT" | "TRADELINK_ADJUST_PLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_CREATE_ASSET_MANAGER" | "TRADELINK_CREATE_CUSTODIAN" | "TRADELINK_CREATE_EXCHANGE" | "TRADELINK_CREATE_SETTLEMENT" | "TRADELINK_EDIT_ASSET_MANAGER" | "TRADELINK_EDIT_CUSTODIAN" | "TRADELINK_EDIT_EXCHANGE" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_REPLEDGE" | "TRADELINK_WITHDRAW" | "UPDATE_QUORUM")[];
|
|
2198
|
+
}[];
|
|
2199
|
+
scopeUserIds: string[];
|
|
2200
|
+
retryStrategy: "EXPONENTIAL" | "FIXED" | "LINEAR";
|
|
2201
|
+
maxRetries: number;
|
|
2202
|
+
initialIntervalMs: number;
|
|
2203
|
+
createdAt: Date;
|
|
2204
|
+
updatedAt: Date;
|
|
2205
|
+
consecutiveFailures: number;
|
|
2206
|
+
brokenSince: Date | null;
|
|
2207
|
+
stats: {
|
|
2208
|
+
windowDays: number;
|
|
2209
|
+
delivered: number;
|
|
2210
|
+
failed: number;
|
|
2211
|
+
successRate: number | null;
|
|
2212
|
+
};
|
|
2213
|
+
workspaceName: string;
|
|
2214
|
+
}[];
|
|
2215
|
+
};
|
|
2216
|
+
meta: {
|
|
2217
|
+
[x: string]: unknown;
|
|
2218
|
+
} & {
|
|
2219
|
+
openapi?: {
|
|
2220
|
+
enabled?: boolean;
|
|
2221
|
+
method: import("trpc-to-openapi").OpenApiMethod;
|
|
2222
|
+
path: `/${string}`;
|
|
2223
|
+
operationId?: string;
|
|
2224
|
+
summary?: string;
|
|
2225
|
+
description?: string;
|
|
2226
|
+
protect?: boolean;
|
|
2227
|
+
tags?: string[];
|
|
2228
|
+
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
2229
|
+
deprecated?: boolean;
|
|
2230
|
+
requestHeaders?: import("zod").ZodObject;
|
|
2231
|
+
responseHeaders?: import("zod").ZodObject;
|
|
2232
|
+
successDescription?: string;
|
|
2233
|
+
errorResponses?: number[] | Record<number, string>;
|
|
2234
|
+
};
|
|
2235
|
+
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2236
|
+
}>;
|
|
2237
|
+
}>>;
|
|
2047
2238
|
policies: import("@trpc/server").TRPCBuiltRouter<{
|
|
2048
2239
|
ctx: {
|
|
2049
2240
|
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;
|
|
@@ -2052,6 +2243,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2052
2243
|
debugAuthToken?: string;
|
|
2053
2244
|
rootAuthToken?: string;
|
|
2054
2245
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2246
|
+
core: unknown;
|
|
2055
2247
|
prisma: ExtendedPrismaClient;
|
|
2056
2248
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2057
2249
|
user: {
|
|
@@ -2107,6 +2299,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2107
2299
|
httpStatus: number;
|
|
2108
2300
|
path?: string;
|
|
2109
2301
|
stack?: string;
|
|
2302
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
2110
2303
|
maintenance?: boolean | undefined;
|
|
2111
2304
|
};
|
|
2112
2305
|
};
|
|
@@ -2458,6 +2651,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2458
2651
|
debugAuthToken?: string;
|
|
2459
2652
|
rootAuthToken?: string;
|
|
2460
2653
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2654
|
+
core: unknown;
|
|
2461
2655
|
prisma: ExtendedPrismaClient;
|
|
2462
2656
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2463
2657
|
user: {
|
|
@@ -2513,6 +2707,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2513
2707
|
httpStatus: number;
|
|
2514
2708
|
path?: string;
|
|
2515
2709
|
stack?: string;
|
|
2710
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
2516
2711
|
maintenance?: boolean | undefined;
|
|
2517
2712
|
};
|
|
2518
2713
|
};
|
|
@@ -2573,6 +2768,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2573
2768
|
debugAuthToken?: string;
|
|
2574
2769
|
rootAuthToken?: string;
|
|
2575
2770
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2771
|
+
core: unknown;
|
|
2576
2772
|
prisma: ExtendedPrismaClient;
|
|
2577
2773
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2578
2774
|
user: {
|
|
@@ -2628,6 +2824,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2628
2824
|
httpStatus: number;
|
|
2629
2825
|
path?: string;
|
|
2630
2826
|
stack?: string;
|
|
2827
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
2631
2828
|
maintenance?: boolean | undefined;
|
|
2632
2829
|
};
|
|
2633
2830
|
};
|
|
@@ -2776,6 +2973,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2776
2973
|
debugAuthToken?: string;
|
|
2777
2974
|
rootAuthToken?: string;
|
|
2778
2975
|
backofficeRequiredPermission?: BackofficePermission;
|
|
2976
|
+
core: unknown;
|
|
2779
2977
|
prisma: ExtendedPrismaClient;
|
|
2780
2978
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
2781
2979
|
user: {
|
|
@@ -2831,6 +3029,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2831
3029
|
httpStatus: number;
|
|
2832
3030
|
path?: string;
|
|
2833
3031
|
stack?: string;
|
|
3032
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
2834
3033
|
maintenance?: boolean | undefined;
|
|
2835
3034
|
};
|
|
2836
3035
|
};
|
|
@@ -2913,6 +3112,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2913
3112
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
2914
3113
|
retryAfter: Date;
|
|
2915
3114
|
} | undefined;
|
|
3115
|
+
scanHistory?: {
|
|
3116
|
+
type: "creation" | "pre_signature";
|
|
3117
|
+
timestamp: string;
|
|
3118
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3119
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3120
|
+
message: string;
|
|
3121
|
+
tinyUrl: string;
|
|
3122
|
+
}[] | undefined;
|
|
2916
3123
|
} | {
|
|
2917
3124
|
type: "UPDATE_QUORUM";
|
|
2918
3125
|
data: {
|
|
@@ -2937,11 +3144,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2937
3144
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
2938
3145
|
retryAfter: Date;
|
|
2939
3146
|
} | undefined;
|
|
3147
|
+
scanHistory?: {
|
|
3148
|
+
type: "creation" | "pre_signature";
|
|
3149
|
+
timestamp: string;
|
|
3150
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3151
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3152
|
+
message: string;
|
|
3153
|
+
tinyUrl: string;
|
|
3154
|
+
}[] | undefined;
|
|
2940
3155
|
} | {
|
|
2941
3156
|
type: "CREATE_TRANSACTION";
|
|
2942
3157
|
data: {
|
|
2943
3158
|
accountId: string;
|
|
2944
3159
|
transaction: TransactionData;
|
|
3160
|
+
maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
|
|
2945
3161
|
};
|
|
2946
3162
|
id: string;
|
|
2947
3163
|
legacyId: number;
|
|
@@ -2962,6 +3178,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2962
3178
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
2963
3179
|
retryAfter: Date;
|
|
2964
3180
|
} | undefined;
|
|
3181
|
+
scanHistory?: {
|
|
3182
|
+
type: "creation" | "pre_signature";
|
|
3183
|
+
timestamp: string;
|
|
3184
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3185
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3186
|
+
message: string;
|
|
3187
|
+
tinyUrl: string;
|
|
3188
|
+
}[] | undefined;
|
|
2965
3189
|
} | {
|
|
2966
3190
|
type: "SIGN_MESSAGE";
|
|
2967
3191
|
data: {
|
|
@@ -3010,6 +3234,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3010
3234
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3011
3235
|
retryAfter: Date;
|
|
3012
3236
|
} | undefined;
|
|
3237
|
+
scanHistory?: {
|
|
3238
|
+
type: "creation" | "pre_signature";
|
|
3239
|
+
timestamp: string;
|
|
3240
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3241
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3242
|
+
message: string;
|
|
3243
|
+
tinyUrl: string;
|
|
3244
|
+
}[] | undefined;
|
|
3013
3245
|
} | {
|
|
3014
3246
|
type: "SIGN_DIGESTS";
|
|
3015
3247
|
data: {
|
|
@@ -3038,6 +3270,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3038
3270
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3039
3271
|
retryAfter: Date;
|
|
3040
3272
|
} | undefined;
|
|
3273
|
+
scanHistory?: {
|
|
3274
|
+
type: "creation" | "pre_signature";
|
|
3275
|
+
timestamp: string;
|
|
3276
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3277
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3278
|
+
message: string;
|
|
3279
|
+
tinyUrl: string;
|
|
3280
|
+
}[] | undefined;
|
|
3041
3281
|
} | {
|
|
3042
3282
|
type: "CREATE_ACCOUNT";
|
|
3043
3283
|
data: {
|
|
@@ -3111,6 +3351,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3111
3351
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3112
3352
|
retryAfter: Date;
|
|
3113
3353
|
} | undefined;
|
|
3354
|
+
scanHistory?: {
|
|
3355
|
+
type: "creation" | "pre_signature";
|
|
3356
|
+
timestamp: string;
|
|
3357
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3358
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3359
|
+
message: string;
|
|
3360
|
+
tinyUrl: string;
|
|
3361
|
+
}[] | undefined;
|
|
3114
3362
|
} | {
|
|
3115
3363
|
type: "EDIT_ACCOUNT";
|
|
3116
3364
|
data: {
|
|
@@ -3175,6 +3423,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3175
3423
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3176
3424
|
retryAfter: Date;
|
|
3177
3425
|
} | undefined;
|
|
3426
|
+
scanHistory?: {
|
|
3427
|
+
type: "creation" | "pre_signature";
|
|
3428
|
+
timestamp: string;
|
|
3429
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3430
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3431
|
+
message: string;
|
|
3432
|
+
tinyUrl: string;
|
|
3433
|
+
}[] | undefined;
|
|
3178
3434
|
} | {
|
|
3179
3435
|
type: "EDIT_TOKEN_RULE";
|
|
3180
3436
|
data: {
|
|
@@ -3215,6 +3471,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3215
3471
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3216
3472
|
retryAfter: Date;
|
|
3217
3473
|
} | undefined;
|
|
3474
|
+
scanHistory?: {
|
|
3475
|
+
type: "creation" | "pre_signature";
|
|
3476
|
+
timestamp: string;
|
|
3477
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3478
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3479
|
+
message: string;
|
|
3480
|
+
tinyUrl: string;
|
|
3481
|
+
}[] | undefined;
|
|
3218
3482
|
} | {
|
|
3219
3483
|
type: "CREATE_GROUP";
|
|
3220
3484
|
data: {
|
|
@@ -3241,6 +3505,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3241
3505
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3242
3506
|
retryAfter: Date;
|
|
3243
3507
|
} | undefined;
|
|
3508
|
+
scanHistory?: {
|
|
3509
|
+
type: "creation" | "pre_signature";
|
|
3510
|
+
timestamp: string;
|
|
3511
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3512
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3513
|
+
message: string;
|
|
3514
|
+
tinyUrl: string;
|
|
3515
|
+
}[] | undefined;
|
|
3244
3516
|
} | {
|
|
3245
3517
|
type: "EDIT_GROUP";
|
|
3246
3518
|
data: {
|
|
@@ -3267,6 +3539,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3267
3539
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3268
3540
|
retryAfter: Date;
|
|
3269
3541
|
} | undefined;
|
|
3542
|
+
scanHistory?: {
|
|
3543
|
+
type: "creation" | "pre_signature";
|
|
3544
|
+
timestamp: string;
|
|
3545
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3546
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3547
|
+
message: string;
|
|
3548
|
+
tinyUrl: string;
|
|
3549
|
+
}[] | undefined;
|
|
3270
3550
|
} | {
|
|
3271
3551
|
type: "REVOKE_GROUP";
|
|
3272
3552
|
data: Record<string, never>;
|
|
@@ -3289,6 +3569,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3289
3569
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3290
3570
|
retryAfter: Date;
|
|
3291
3571
|
} | undefined;
|
|
3572
|
+
scanHistory?: {
|
|
3573
|
+
type: "creation" | "pre_signature";
|
|
3574
|
+
timestamp: string;
|
|
3575
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3576
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3577
|
+
message: string;
|
|
3578
|
+
tinyUrl: string;
|
|
3579
|
+
}[] | undefined;
|
|
3292
3580
|
} | {
|
|
3293
3581
|
type: "CREATE_WHITELIST";
|
|
3294
3582
|
data: {
|
|
@@ -3321,6 +3609,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3321
3609
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3322
3610
|
retryAfter: Date;
|
|
3323
3611
|
} | undefined;
|
|
3612
|
+
scanHistory?: {
|
|
3613
|
+
type: "creation" | "pre_signature";
|
|
3614
|
+
timestamp: string;
|
|
3615
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3616
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3617
|
+
message: string;
|
|
3618
|
+
tinyUrl: string;
|
|
3619
|
+
}[] | undefined;
|
|
3324
3620
|
} | {
|
|
3325
3621
|
type: "EDIT_WHITELIST";
|
|
3326
3622
|
data: {
|
|
@@ -3351,6 +3647,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3351
3647
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3352
3648
|
retryAfter: Date;
|
|
3353
3649
|
} | undefined;
|
|
3650
|
+
scanHistory?: {
|
|
3651
|
+
type: "creation" | "pre_signature";
|
|
3652
|
+
timestamp: string;
|
|
3653
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3654
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3655
|
+
message: string;
|
|
3656
|
+
tinyUrl: string;
|
|
3657
|
+
}[] | undefined;
|
|
3354
3658
|
} | {
|
|
3355
3659
|
type: "CREATE_ENTITY";
|
|
3356
3660
|
data: {
|
|
@@ -3377,6 +3681,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3377
3681
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3378
3682
|
retryAfter: Date;
|
|
3379
3683
|
} | undefined;
|
|
3684
|
+
scanHistory?: {
|
|
3685
|
+
type: "creation" | "pre_signature";
|
|
3686
|
+
timestamp: string;
|
|
3687
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3688
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3689
|
+
message: string;
|
|
3690
|
+
tinyUrl: string;
|
|
3691
|
+
}[] | undefined;
|
|
3380
3692
|
} | {
|
|
3381
3693
|
type: "EDIT_ENTITY";
|
|
3382
3694
|
data: {
|
|
@@ -3403,6 +3715,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3403
3715
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3404
3716
|
retryAfter: Date;
|
|
3405
3717
|
} | undefined;
|
|
3718
|
+
scanHistory?: {
|
|
3719
|
+
type: "creation" | "pre_signature";
|
|
3720
|
+
timestamp: string;
|
|
3721
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3722
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3723
|
+
message: string;
|
|
3724
|
+
tinyUrl: string;
|
|
3725
|
+
}[] | undefined;
|
|
3406
3726
|
} | {
|
|
3407
3727
|
type: "REVOKE_ENTITY";
|
|
3408
3728
|
data: Record<string, never>;
|
|
@@ -3425,6 +3745,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3425
3745
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3426
3746
|
retryAfter: Date;
|
|
3427
3747
|
} | undefined;
|
|
3748
|
+
scanHistory?: {
|
|
3749
|
+
type: "creation" | "pre_signature";
|
|
3750
|
+
timestamp: string;
|
|
3751
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3752
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3753
|
+
message: string;
|
|
3754
|
+
tinyUrl: string;
|
|
3755
|
+
}[] | undefined;
|
|
3428
3756
|
} | {
|
|
3429
3757
|
type: "CREATE_PSD_USER";
|
|
3430
3758
|
data: {
|
|
@@ -3449,6 +3777,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3449
3777
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3450
3778
|
retryAfter: Date;
|
|
3451
3779
|
} | undefined;
|
|
3780
|
+
scanHistory?: {
|
|
3781
|
+
type: "creation" | "pre_signature";
|
|
3782
|
+
timestamp: string;
|
|
3783
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3784
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3785
|
+
message: string;
|
|
3786
|
+
tinyUrl: string;
|
|
3787
|
+
}[] | undefined;
|
|
3452
3788
|
} | {
|
|
3453
3789
|
type: "CREATE_API_USER";
|
|
3454
3790
|
data: {
|
|
@@ -3476,6 +3812,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3476
3812
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3477
3813
|
retryAfter: Date;
|
|
3478
3814
|
} | undefined;
|
|
3815
|
+
scanHistory?: {
|
|
3816
|
+
type: "creation" | "pre_signature";
|
|
3817
|
+
timestamp: string;
|
|
3818
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3819
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3820
|
+
message: string;
|
|
3821
|
+
tinyUrl: string;
|
|
3822
|
+
}[] | undefined;
|
|
3479
3823
|
} | {
|
|
3480
3824
|
type: "CREATE_API_USER_ACCESS";
|
|
3481
3825
|
data: {
|
|
@@ -3500,6 +3844,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3500
3844
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3501
3845
|
retryAfter: Date;
|
|
3502
3846
|
} | undefined;
|
|
3847
|
+
scanHistory?: {
|
|
3848
|
+
type: "creation" | "pre_signature";
|
|
3849
|
+
timestamp: string;
|
|
3850
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3851
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3852
|
+
message: string;
|
|
3853
|
+
tinyUrl: string;
|
|
3854
|
+
}[] | undefined;
|
|
3503
3855
|
} | {
|
|
3504
3856
|
type: "REVOKE_USER";
|
|
3505
3857
|
data: Record<string, never>;
|
|
@@ -3522,6 +3874,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3522
3874
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3523
3875
|
retryAfter: Date;
|
|
3524
3876
|
} | undefined;
|
|
3877
|
+
scanHistory?: {
|
|
3878
|
+
type: "creation" | "pre_signature";
|
|
3879
|
+
timestamp: string;
|
|
3880
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3881
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3882
|
+
message: string;
|
|
3883
|
+
tinyUrl: string;
|
|
3884
|
+
}[] | undefined;
|
|
3525
3885
|
} | {
|
|
3526
3886
|
type: "EDIT_WORKSPACE_RULE";
|
|
3527
3887
|
data: {
|
|
@@ -3550,6 +3910,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3550
3910
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3551
3911
|
retryAfter: Date;
|
|
3552
3912
|
} | undefined;
|
|
3913
|
+
scanHistory?: {
|
|
3914
|
+
type: "creation" | "pre_signature";
|
|
3915
|
+
timestamp: string;
|
|
3916
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3917
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3918
|
+
message: string;
|
|
3919
|
+
tinyUrl: string;
|
|
3920
|
+
}[] | undefined;
|
|
3553
3921
|
} | {
|
|
3554
3922
|
type: "CREATE_SCICONFIG";
|
|
3555
3923
|
data: {
|
|
@@ -3578,6 +3946,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3578
3946
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3579
3947
|
retryAfter: Date;
|
|
3580
3948
|
} | undefined;
|
|
3949
|
+
scanHistory?: {
|
|
3950
|
+
type: "creation" | "pre_signature";
|
|
3951
|
+
timestamp: string;
|
|
3952
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3953
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3954
|
+
message: string;
|
|
3955
|
+
tinyUrl: string;
|
|
3956
|
+
}[] | undefined;
|
|
3581
3957
|
} | {
|
|
3582
3958
|
type: "EDIT_SCICONFIG";
|
|
3583
3959
|
data: {
|
|
@@ -3605,6 +3981,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3605
3981
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3606
3982
|
retryAfter: Date;
|
|
3607
3983
|
} | undefined;
|
|
3984
|
+
scanHistory?: {
|
|
3985
|
+
type: "creation" | "pre_signature";
|
|
3986
|
+
timestamp: string;
|
|
3987
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3988
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3989
|
+
message: string;
|
|
3990
|
+
tinyUrl: string;
|
|
3991
|
+
}[] | undefined;
|
|
3608
3992
|
} | {
|
|
3609
3993
|
type: "CREATE_API_KEY";
|
|
3610
3994
|
data: {
|
|
@@ -3631,6 +4015,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3631
4015
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3632
4016
|
retryAfter: Date;
|
|
3633
4017
|
} | undefined;
|
|
4018
|
+
scanHistory?: {
|
|
4019
|
+
type: "creation" | "pre_signature";
|
|
4020
|
+
timestamp: string;
|
|
4021
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4022
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4023
|
+
message: string;
|
|
4024
|
+
tinyUrl: string;
|
|
4025
|
+
}[] | undefined;
|
|
3634
4026
|
} | {
|
|
3635
4027
|
type: "EDIT_API_KEY";
|
|
3636
4028
|
data: {
|
|
@@ -3657,6 +4049,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3657
4049
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3658
4050
|
retryAfter: Date;
|
|
3659
4051
|
} | undefined;
|
|
4052
|
+
scanHistory?: {
|
|
4053
|
+
type: "creation" | "pre_signature";
|
|
4054
|
+
timestamp: string;
|
|
4055
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4056
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4057
|
+
message: string;
|
|
4058
|
+
tinyUrl: string;
|
|
4059
|
+
}[] | undefined;
|
|
3660
4060
|
} | {
|
|
3661
4061
|
type: "REVOKE_API_KEY";
|
|
3662
4062
|
data: Record<string, never>;
|
|
@@ -3679,6 +4079,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3679
4079
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3680
4080
|
retryAfter: Date;
|
|
3681
4081
|
} | undefined;
|
|
4082
|
+
scanHistory?: {
|
|
4083
|
+
type: "creation" | "pre_signature";
|
|
4084
|
+
timestamp: string;
|
|
4085
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4086
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4087
|
+
message: string;
|
|
4088
|
+
tinyUrl: string;
|
|
4089
|
+
}[] | undefined;
|
|
3682
4090
|
} | {
|
|
3683
4091
|
type: "CREATE_POLICY";
|
|
3684
4092
|
data: {
|
|
@@ -3724,6 +4132,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3724
4132
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3725
4133
|
retryAfter: Date;
|
|
3726
4134
|
} | undefined;
|
|
4135
|
+
scanHistory?: {
|
|
4136
|
+
type: "creation" | "pre_signature";
|
|
4137
|
+
timestamp: string;
|
|
4138
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4139
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4140
|
+
message: string;
|
|
4141
|
+
tinyUrl: string;
|
|
4142
|
+
}[] | undefined;
|
|
3727
4143
|
} | {
|
|
3728
4144
|
type: "EDIT_POLICY";
|
|
3729
4145
|
data: {
|
|
@@ -3764,6 +4180,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3764
4180
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3765
4181
|
retryAfter: Date;
|
|
3766
4182
|
} | undefined;
|
|
4183
|
+
scanHistory?: {
|
|
4184
|
+
type: "creation" | "pre_signature";
|
|
4185
|
+
timestamp: string;
|
|
4186
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4187
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4188
|
+
message: string;
|
|
4189
|
+
tinyUrl: string;
|
|
4190
|
+
}[] | undefined;
|
|
3767
4191
|
} | {
|
|
3768
4192
|
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
3769
4193
|
data: null;
|
|
@@ -3786,6 +4210,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3786
4210
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3787
4211
|
retryAfter: Date;
|
|
3788
4212
|
} | undefined;
|
|
4213
|
+
scanHistory?: {
|
|
4214
|
+
type: "creation" | "pre_signature";
|
|
4215
|
+
timestamp: string;
|
|
4216
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4217
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4218
|
+
message: string;
|
|
4219
|
+
tinyUrl: string;
|
|
4220
|
+
}[] | undefined;
|
|
3789
4221
|
} | {
|
|
3790
4222
|
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
3791
4223
|
data: {
|
|
@@ -3821,6 +4253,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3821
4253
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3822
4254
|
retryAfter: Date;
|
|
3823
4255
|
} | undefined;
|
|
4256
|
+
scanHistory?: {
|
|
4257
|
+
type: "creation" | "pre_signature";
|
|
4258
|
+
timestamp: string;
|
|
4259
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4260
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4261
|
+
message: string;
|
|
4262
|
+
tinyUrl: string;
|
|
4263
|
+
}[] | undefined;
|
|
3824
4264
|
} | {
|
|
3825
4265
|
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
3826
4266
|
data: {
|
|
@@ -3856,6 +4296,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3856
4296
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3857
4297
|
retryAfter: Date;
|
|
3858
4298
|
} | undefined;
|
|
4299
|
+
scanHistory?: {
|
|
4300
|
+
type: "creation" | "pre_signature";
|
|
4301
|
+
timestamp: string;
|
|
4302
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4303
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4304
|
+
message: string;
|
|
4305
|
+
tinyUrl: string;
|
|
4306
|
+
}[] | undefined;
|
|
3859
4307
|
} | {
|
|
3860
4308
|
type: "TRADELINK_CREATE_EXCHANGE";
|
|
3861
4309
|
data: {
|
|
@@ -3889,6 +4337,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3889
4337
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3890
4338
|
retryAfter: Date;
|
|
3891
4339
|
} | undefined;
|
|
4340
|
+
scanHistory?: {
|
|
4341
|
+
type: "creation" | "pre_signature";
|
|
4342
|
+
timestamp: string;
|
|
4343
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4344
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4345
|
+
message: string;
|
|
4346
|
+
tinyUrl: string;
|
|
4347
|
+
}[] | undefined;
|
|
3892
4348
|
} | {
|
|
3893
4349
|
type: "TRADELINK_EDIT_EXCHANGE";
|
|
3894
4350
|
data: {
|
|
@@ -3922,6 +4378,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3922
4378
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3923
4379
|
retryAfter: Date;
|
|
3924
4380
|
} | undefined;
|
|
4381
|
+
scanHistory?: {
|
|
4382
|
+
type: "creation" | "pre_signature";
|
|
4383
|
+
timestamp: string;
|
|
4384
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4385
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4386
|
+
message: string;
|
|
4387
|
+
tinyUrl: string;
|
|
4388
|
+
}[] | undefined;
|
|
3925
4389
|
} | {
|
|
3926
4390
|
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
3927
4391
|
data: {
|
|
@@ -3955,6 +4419,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3955
4419
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3956
4420
|
retryAfter: Date;
|
|
3957
4421
|
} | undefined;
|
|
4422
|
+
scanHistory?: {
|
|
4423
|
+
type: "creation" | "pre_signature";
|
|
4424
|
+
timestamp: string;
|
|
4425
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4426
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4427
|
+
message: string;
|
|
4428
|
+
tinyUrl: string;
|
|
4429
|
+
}[] | undefined;
|
|
3958
4430
|
} | {
|
|
3959
4431
|
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
3960
4432
|
data: {
|
|
@@ -3988,6 +4460,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3988
4460
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3989
4461
|
retryAfter: Date;
|
|
3990
4462
|
} | undefined;
|
|
4463
|
+
scanHistory?: {
|
|
4464
|
+
type: "creation" | "pre_signature";
|
|
4465
|
+
timestamp: string;
|
|
4466
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4467
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4468
|
+
message: string;
|
|
4469
|
+
tinyUrl: string;
|
|
4470
|
+
}[] | undefined;
|
|
3991
4471
|
} | {
|
|
3992
4472
|
type: "TRADELINK_ADJUST_PLEDGE";
|
|
3993
4473
|
data: {
|
|
@@ -4014,6 +4494,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4014
4494
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4015
4495
|
retryAfter: Date;
|
|
4016
4496
|
} | undefined;
|
|
4497
|
+
scanHistory?: {
|
|
4498
|
+
type: "creation" | "pre_signature";
|
|
4499
|
+
timestamp: string;
|
|
4500
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4501
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4502
|
+
message: string;
|
|
4503
|
+
tinyUrl: string;
|
|
4504
|
+
}[] | undefined;
|
|
4017
4505
|
} | {
|
|
4018
4506
|
type: "TRADELINK_REPLEDGE";
|
|
4019
4507
|
data: {
|
|
@@ -4040,6 +4528,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4040
4528
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4041
4529
|
retryAfter: Date;
|
|
4042
4530
|
} | undefined;
|
|
4531
|
+
scanHistory?: {
|
|
4532
|
+
type: "creation" | "pre_signature";
|
|
4533
|
+
timestamp: string;
|
|
4534
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4535
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4536
|
+
message: string;
|
|
4537
|
+
tinyUrl: string;
|
|
4538
|
+
}[] | undefined;
|
|
4043
4539
|
} | {
|
|
4044
4540
|
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
4045
4541
|
data: {
|
|
@@ -4066,6 +4562,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4066
4562
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4067
4563
|
retryAfter: Date;
|
|
4068
4564
|
} | undefined;
|
|
4565
|
+
scanHistory?: {
|
|
4566
|
+
type: "creation" | "pre_signature";
|
|
4567
|
+
timestamp: string;
|
|
4568
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4569
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4570
|
+
message: string;
|
|
4571
|
+
tinyUrl: string;
|
|
4572
|
+
}[] | undefined;
|
|
4069
4573
|
} | {
|
|
4070
4574
|
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
4071
4575
|
data: {
|
|
@@ -4091,6 +4595,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4091
4595
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4092
4596
|
retryAfter: Date;
|
|
4093
4597
|
} | undefined;
|
|
4598
|
+
scanHistory?: {
|
|
4599
|
+
type: "creation" | "pre_signature";
|
|
4600
|
+
timestamp: string;
|
|
4601
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4602
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4603
|
+
message: string;
|
|
4604
|
+
tinyUrl: string;
|
|
4605
|
+
}[] | undefined;
|
|
4094
4606
|
} | {
|
|
4095
4607
|
type: "TRADELINK_WITHDRAW";
|
|
4096
4608
|
data: {
|
|
@@ -4116,6 +4628,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4116
4628
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4117
4629
|
retryAfter: Date;
|
|
4118
4630
|
} | undefined;
|
|
4631
|
+
scanHistory?: {
|
|
4632
|
+
type: "creation" | "pre_signature";
|
|
4633
|
+
timestamp: string;
|
|
4634
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4635
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4636
|
+
message: string;
|
|
4637
|
+
tinyUrl: string;
|
|
4638
|
+
}[] | undefined;
|
|
4119
4639
|
} | {
|
|
4120
4640
|
type: "TRADELINK_ARBITRATE";
|
|
4121
4641
|
data: {
|
|
@@ -4141,6 +4661,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4141
4661
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4142
4662
|
retryAfter: Date;
|
|
4143
4663
|
} | undefined;
|
|
4664
|
+
scanHistory?: {
|
|
4665
|
+
type: "creation" | "pre_signature";
|
|
4666
|
+
timestamp: string;
|
|
4667
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4668
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4669
|
+
message: string;
|
|
4670
|
+
tinyUrl: string;
|
|
4671
|
+
}[] | undefined;
|
|
4144
4672
|
}) & {
|
|
4145
4673
|
workspaceName: string;
|
|
4146
4674
|
};
|
|
@@ -4226,6 +4754,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4226
4754
|
debugAuthToken?: string;
|
|
4227
4755
|
rootAuthToken?: string;
|
|
4228
4756
|
backofficeRequiredPermission?: BackofficePermission;
|
|
4757
|
+
core: unknown;
|
|
4229
4758
|
prisma: ExtendedPrismaClient;
|
|
4230
4759
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
4231
4760
|
user: {
|
|
@@ -4281,6 +4810,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4281
4810
|
httpStatus: number;
|
|
4282
4811
|
path?: string;
|
|
4283
4812
|
stack?: string;
|
|
4813
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
4284
4814
|
maintenance?: boolean | undefined;
|
|
4285
4815
|
};
|
|
4286
4816
|
};
|
|
@@ -4471,6 +5001,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4471
5001
|
debugAuthToken?: string;
|
|
4472
5002
|
rootAuthToken?: string;
|
|
4473
5003
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5004
|
+
core: unknown;
|
|
4474
5005
|
prisma: ExtendedPrismaClient;
|
|
4475
5006
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
4476
5007
|
user: {
|
|
@@ -4526,6 +5057,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4526
5057
|
httpStatus: number;
|
|
4527
5058
|
path?: string;
|
|
4528
5059
|
stack?: string;
|
|
5060
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
4529
5061
|
maintenance?: boolean | undefined;
|
|
4530
5062
|
};
|
|
4531
5063
|
};
|
|
@@ -4618,6 +5150,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4618
5150
|
debugAuthToken?: string;
|
|
4619
5151
|
rootAuthToken?: string;
|
|
4620
5152
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5153
|
+
core: unknown;
|
|
4621
5154
|
prisma: ExtendedPrismaClient;
|
|
4622
5155
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
4623
5156
|
user: {
|
|
@@ -4673,6 +5206,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4673
5206
|
httpStatus: number;
|
|
4674
5207
|
path?: string;
|
|
4675
5208
|
stack?: string;
|
|
5209
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
4676
5210
|
maintenance?: boolean | undefined;
|
|
4677
5211
|
};
|
|
4678
5212
|
};
|
|
@@ -4802,6 +5336,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4802
5336
|
debugAuthToken?: string;
|
|
4803
5337
|
rootAuthToken?: string;
|
|
4804
5338
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5339
|
+
core: unknown;
|
|
4805
5340
|
prisma: ExtendedPrismaClient;
|
|
4806
5341
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
4807
5342
|
user: {
|
|
@@ -4857,6 +5392,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4857
5392
|
httpStatus: number;
|
|
4858
5393
|
path?: string;
|
|
4859
5394
|
stack?: string;
|
|
5395
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
4860
5396
|
maintenance?: boolean | undefined;
|
|
4861
5397
|
};
|
|
4862
5398
|
};
|
|
@@ -4983,6 +5519,33 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4983
5519
|
};
|
|
4984
5520
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
4985
5521
|
}>;
|
|
5522
|
+
compareWithHsm: import("@trpc/server").TRPCQueryProcedure<{
|
|
5523
|
+
input: {
|
|
5524
|
+
workspaceName: string;
|
|
5525
|
+
comparator: "whitelists" | "workspace-name";
|
|
5526
|
+
};
|
|
5527
|
+
output: HsmWorkspaceComparison;
|
|
5528
|
+
meta: {
|
|
5529
|
+
[x: string]: unknown;
|
|
5530
|
+
} & {
|
|
5531
|
+
openapi?: {
|
|
5532
|
+
enabled?: boolean;
|
|
5533
|
+
method: import("trpc-to-openapi").OpenApiMethod;
|
|
5534
|
+
path: `/${string}`;
|
|
5535
|
+
operationId?: string;
|
|
5536
|
+
summary?: string;
|
|
5537
|
+
description?: string;
|
|
5538
|
+
protect?: boolean;
|
|
5539
|
+
tags?: string[];
|
|
5540
|
+
contentTypes?: import("trpc-to-openapi").OpenApiContentType[];
|
|
5541
|
+
deprecated?: boolean;
|
|
5542
|
+
requestHeaders?: import("zod").ZodObject;
|
|
5543
|
+
responseHeaders?: import("zod").ZodObject;
|
|
5544
|
+
successDescription?: string;
|
|
5545
|
+
errorResponses?: number[] | Record<number, string>;
|
|
5546
|
+
};
|
|
5547
|
+
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
5548
|
+
}>;
|
|
4986
5549
|
}>>;
|
|
4987
5550
|
}>>;
|
|
4988
5551
|
reports: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -4993,6 +5556,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4993
5556
|
debugAuthToken?: string;
|
|
4994
5557
|
rootAuthToken?: string;
|
|
4995
5558
|
backofficeRequiredPermission?: BackofficePermission;
|
|
5559
|
+
core: unknown;
|
|
4996
5560
|
prisma: ExtendedPrismaClient;
|
|
4997
5561
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
4998
5562
|
user: {
|
|
@@ -5048,6 +5612,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5048
5612
|
httpStatus: number;
|
|
5049
5613
|
path?: string;
|
|
5050
5614
|
stack?: string;
|
|
5615
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
5051
5616
|
maintenance?: boolean | undefined;
|
|
5052
5617
|
};
|
|
5053
5618
|
};
|
|
@@ -5094,6 +5659,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5094
5659
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5095
5660
|
retryAfter: Date;
|
|
5096
5661
|
} | undefined;
|
|
5662
|
+
scanHistory?: {
|
|
5663
|
+
type: "creation" | "pre_signature";
|
|
5664
|
+
timestamp: string;
|
|
5665
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
5666
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
5667
|
+
message: string;
|
|
5668
|
+
tinyUrl: string;
|
|
5669
|
+
}[] | undefined;
|
|
5097
5670
|
} | {
|
|
5098
5671
|
type: "UPDATE_QUORUM";
|
|
5099
5672
|
data: {
|
|
@@ -5118,11 +5691,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5118
5691
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5119
5692
|
retryAfter: Date;
|
|
5120
5693
|
} | undefined;
|
|
5694
|
+
scanHistory?: {
|
|
5695
|
+
type: "creation" | "pre_signature";
|
|
5696
|
+
timestamp: string;
|
|
5697
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
5698
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
5699
|
+
message: string;
|
|
5700
|
+
tinyUrl: string;
|
|
5701
|
+
}[] | undefined;
|
|
5121
5702
|
} | {
|
|
5122
5703
|
type: "CREATE_TRANSACTION";
|
|
5123
5704
|
data: {
|
|
5124
5705
|
accountId: string;
|
|
5125
5706
|
transaction: TransactionData;
|
|
5707
|
+
maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
|
|
5126
5708
|
};
|
|
5127
5709
|
id: string;
|
|
5128
5710
|
legacyId: number;
|
|
@@ -5143,6 +5725,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5143
5725
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5144
5726
|
retryAfter: Date;
|
|
5145
5727
|
} | undefined;
|
|
5728
|
+
scanHistory?: {
|
|
5729
|
+
type: "creation" | "pre_signature";
|
|
5730
|
+
timestamp: string;
|
|
5731
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
5732
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
5733
|
+
message: string;
|
|
5734
|
+
tinyUrl: string;
|
|
5735
|
+
}[] | undefined;
|
|
5146
5736
|
} | {
|
|
5147
5737
|
type: "SIGN_MESSAGE";
|
|
5148
5738
|
data: {
|
|
@@ -5191,6 +5781,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5191
5781
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5192
5782
|
retryAfter: Date;
|
|
5193
5783
|
} | undefined;
|
|
5784
|
+
scanHistory?: {
|
|
5785
|
+
type: "creation" | "pre_signature";
|
|
5786
|
+
timestamp: string;
|
|
5787
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
5788
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
5789
|
+
message: string;
|
|
5790
|
+
tinyUrl: string;
|
|
5791
|
+
}[] | undefined;
|
|
5194
5792
|
} | {
|
|
5195
5793
|
type: "SIGN_DIGESTS";
|
|
5196
5794
|
data: {
|
|
@@ -5219,6 +5817,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5219
5817
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5220
5818
|
retryAfter: Date;
|
|
5221
5819
|
} | undefined;
|
|
5820
|
+
scanHistory?: {
|
|
5821
|
+
type: "creation" | "pre_signature";
|
|
5822
|
+
timestamp: string;
|
|
5823
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
5824
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
5825
|
+
message: string;
|
|
5826
|
+
tinyUrl: string;
|
|
5827
|
+
}[] | undefined;
|
|
5222
5828
|
} | {
|
|
5223
5829
|
type: "CREATE_ACCOUNT";
|
|
5224
5830
|
data: {
|
|
@@ -5292,6 +5898,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5292
5898
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5293
5899
|
retryAfter: Date;
|
|
5294
5900
|
} | undefined;
|
|
5901
|
+
scanHistory?: {
|
|
5902
|
+
type: "creation" | "pre_signature";
|
|
5903
|
+
timestamp: string;
|
|
5904
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
5905
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
5906
|
+
message: string;
|
|
5907
|
+
tinyUrl: string;
|
|
5908
|
+
}[] | undefined;
|
|
5295
5909
|
} | {
|
|
5296
5910
|
type: "EDIT_ACCOUNT";
|
|
5297
5911
|
data: {
|
|
@@ -5356,6 +5970,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5356
5970
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5357
5971
|
retryAfter: Date;
|
|
5358
5972
|
} | undefined;
|
|
5973
|
+
scanHistory?: {
|
|
5974
|
+
type: "creation" | "pre_signature";
|
|
5975
|
+
timestamp: string;
|
|
5976
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
5977
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
5978
|
+
message: string;
|
|
5979
|
+
tinyUrl: string;
|
|
5980
|
+
}[] | undefined;
|
|
5359
5981
|
} | {
|
|
5360
5982
|
type: "EDIT_TOKEN_RULE";
|
|
5361
5983
|
data: {
|
|
@@ -5396,6 +6018,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5396
6018
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5397
6019
|
retryAfter: Date;
|
|
5398
6020
|
} | undefined;
|
|
6021
|
+
scanHistory?: {
|
|
6022
|
+
type: "creation" | "pre_signature";
|
|
6023
|
+
timestamp: string;
|
|
6024
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6025
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6026
|
+
message: string;
|
|
6027
|
+
tinyUrl: string;
|
|
6028
|
+
}[] | undefined;
|
|
5399
6029
|
} | {
|
|
5400
6030
|
type: "CREATE_GROUP";
|
|
5401
6031
|
data: {
|
|
@@ -5422,6 +6052,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5422
6052
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5423
6053
|
retryAfter: Date;
|
|
5424
6054
|
} | undefined;
|
|
6055
|
+
scanHistory?: {
|
|
6056
|
+
type: "creation" | "pre_signature";
|
|
6057
|
+
timestamp: string;
|
|
6058
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6059
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6060
|
+
message: string;
|
|
6061
|
+
tinyUrl: string;
|
|
6062
|
+
}[] | undefined;
|
|
5425
6063
|
} | {
|
|
5426
6064
|
type: "EDIT_GROUP";
|
|
5427
6065
|
data: {
|
|
@@ -5448,6 +6086,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5448
6086
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5449
6087
|
retryAfter: Date;
|
|
5450
6088
|
} | undefined;
|
|
6089
|
+
scanHistory?: {
|
|
6090
|
+
type: "creation" | "pre_signature";
|
|
6091
|
+
timestamp: string;
|
|
6092
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6093
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6094
|
+
message: string;
|
|
6095
|
+
tinyUrl: string;
|
|
6096
|
+
}[] | undefined;
|
|
5451
6097
|
} | {
|
|
5452
6098
|
type: "REVOKE_GROUP";
|
|
5453
6099
|
data: Record<string, never>;
|
|
@@ -5470,6 +6116,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5470
6116
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5471
6117
|
retryAfter: Date;
|
|
5472
6118
|
} | undefined;
|
|
6119
|
+
scanHistory?: {
|
|
6120
|
+
type: "creation" | "pre_signature";
|
|
6121
|
+
timestamp: string;
|
|
6122
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6123
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6124
|
+
message: string;
|
|
6125
|
+
tinyUrl: string;
|
|
6126
|
+
}[] | undefined;
|
|
5473
6127
|
} | {
|
|
5474
6128
|
type: "CREATE_WHITELIST";
|
|
5475
6129
|
data: {
|
|
@@ -5502,6 +6156,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5502
6156
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5503
6157
|
retryAfter: Date;
|
|
5504
6158
|
} | undefined;
|
|
6159
|
+
scanHistory?: {
|
|
6160
|
+
type: "creation" | "pre_signature";
|
|
6161
|
+
timestamp: string;
|
|
6162
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6163
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6164
|
+
message: string;
|
|
6165
|
+
tinyUrl: string;
|
|
6166
|
+
}[] | undefined;
|
|
5505
6167
|
} | {
|
|
5506
6168
|
type: "EDIT_WHITELIST";
|
|
5507
6169
|
data: {
|
|
@@ -5532,6 +6194,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5532
6194
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5533
6195
|
retryAfter: Date;
|
|
5534
6196
|
} | undefined;
|
|
6197
|
+
scanHistory?: {
|
|
6198
|
+
type: "creation" | "pre_signature";
|
|
6199
|
+
timestamp: string;
|
|
6200
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6201
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6202
|
+
message: string;
|
|
6203
|
+
tinyUrl: string;
|
|
6204
|
+
}[] | undefined;
|
|
5535
6205
|
} | {
|
|
5536
6206
|
type: "CREATE_ENTITY";
|
|
5537
6207
|
data: {
|
|
@@ -5558,6 +6228,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5558
6228
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5559
6229
|
retryAfter: Date;
|
|
5560
6230
|
} | undefined;
|
|
6231
|
+
scanHistory?: {
|
|
6232
|
+
type: "creation" | "pre_signature";
|
|
6233
|
+
timestamp: string;
|
|
6234
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6235
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6236
|
+
message: string;
|
|
6237
|
+
tinyUrl: string;
|
|
6238
|
+
}[] | undefined;
|
|
5561
6239
|
} | {
|
|
5562
6240
|
type: "EDIT_ENTITY";
|
|
5563
6241
|
data: {
|
|
@@ -5584,6 +6262,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5584
6262
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5585
6263
|
retryAfter: Date;
|
|
5586
6264
|
} | undefined;
|
|
6265
|
+
scanHistory?: {
|
|
6266
|
+
type: "creation" | "pre_signature";
|
|
6267
|
+
timestamp: string;
|
|
6268
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6269
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6270
|
+
message: string;
|
|
6271
|
+
tinyUrl: string;
|
|
6272
|
+
}[] | undefined;
|
|
5587
6273
|
} | {
|
|
5588
6274
|
type: "REVOKE_ENTITY";
|
|
5589
6275
|
data: Record<string, never>;
|
|
@@ -5606,6 +6292,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5606
6292
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5607
6293
|
retryAfter: Date;
|
|
5608
6294
|
} | undefined;
|
|
6295
|
+
scanHistory?: {
|
|
6296
|
+
type: "creation" | "pre_signature";
|
|
6297
|
+
timestamp: string;
|
|
6298
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6299
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6300
|
+
message: string;
|
|
6301
|
+
tinyUrl: string;
|
|
6302
|
+
}[] | undefined;
|
|
5609
6303
|
} | {
|
|
5610
6304
|
type: "CREATE_PSD_USER";
|
|
5611
6305
|
data: {
|
|
@@ -5630,6 +6324,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5630
6324
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5631
6325
|
retryAfter: Date;
|
|
5632
6326
|
} | undefined;
|
|
6327
|
+
scanHistory?: {
|
|
6328
|
+
type: "creation" | "pre_signature";
|
|
6329
|
+
timestamp: string;
|
|
6330
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6331
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6332
|
+
message: string;
|
|
6333
|
+
tinyUrl: string;
|
|
6334
|
+
}[] | undefined;
|
|
5633
6335
|
} | {
|
|
5634
6336
|
type: "CREATE_API_USER";
|
|
5635
6337
|
data: {
|
|
@@ -5657,6 +6359,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5657
6359
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5658
6360
|
retryAfter: Date;
|
|
5659
6361
|
} | undefined;
|
|
6362
|
+
scanHistory?: {
|
|
6363
|
+
type: "creation" | "pre_signature";
|
|
6364
|
+
timestamp: string;
|
|
6365
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6366
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6367
|
+
message: string;
|
|
6368
|
+
tinyUrl: string;
|
|
6369
|
+
}[] | undefined;
|
|
5660
6370
|
} | {
|
|
5661
6371
|
type: "CREATE_API_USER_ACCESS";
|
|
5662
6372
|
data: {
|
|
@@ -5681,6 +6391,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5681
6391
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5682
6392
|
retryAfter: Date;
|
|
5683
6393
|
} | undefined;
|
|
6394
|
+
scanHistory?: {
|
|
6395
|
+
type: "creation" | "pre_signature";
|
|
6396
|
+
timestamp: string;
|
|
6397
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6398
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6399
|
+
message: string;
|
|
6400
|
+
tinyUrl: string;
|
|
6401
|
+
}[] | undefined;
|
|
5684
6402
|
} | {
|
|
5685
6403
|
type: "REVOKE_USER";
|
|
5686
6404
|
data: Record<string, never>;
|
|
@@ -5703,6 +6421,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5703
6421
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5704
6422
|
retryAfter: Date;
|
|
5705
6423
|
} | undefined;
|
|
6424
|
+
scanHistory?: {
|
|
6425
|
+
type: "creation" | "pre_signature";
|
|
6426
|
+
timestamp: string;
|
|
6427
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6428
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6429
|
+
message: string;
|
|
6430
|
+
tinyUrl: string;
|
|
6431
|
+
}[] | undefined;
|
|
5706
6432
|
} | {
|
|
5707
6433
|
type: "EDIT_WORKSPACE_RULE";
|
|
5708
6434
|
data: {
|
|
@@ -5731,6 +6457,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5731
6457
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5732
6458
|
retryAfter: Date;
|
|
5733
6459
|
} | undefined;
|
|
6460
|
+
scanHistory?: {
|
|
6461
|
+
type: "creation" | "pre_signature";
|
|
6462
|
+
timestamp: string;
|
|
6463
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6464
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6465
|
+
message: string;
|
|
6466
|
+
tinyUrl: string;
|
|
6467
|
+
}[] | undefined;
|
|
5734
6468
|
} | {
|
|
5735
6469
|
type: "CREATE_SCICONFIG";
|
|
5736
6470
|
data: {
|
|
@@ -5759,6 +6493,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5759
6493
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5760
6494
|
retryAfter: Date;
|
|
5761
6495
|
} | undefined;
|
|
6496
|
+
scanHistory?: {
|
|
6497
|
+
type: "creation" | "pre_signature";
|
|
6498
|
+
timestamp: string;
|
|
6499
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6500
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6501
|
+
message: string;
|
|
6502
|
+
tinyUrl: string;
|
|
6503
|
+
}[] | undefined;
|
|
5762
6504
|
} | {
|
|
5763
6505
|
type: "EDIT_SCICONFIG";
|
|
5764
6506
|
data: {
|
|
@@ -5786,6 +6528,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5786
6528
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5787
6529
|
retryAfter: Date;
|
|
5788
6530
|
} | undefined;
|
|
6531
|
+
scanHistory?: {
|
|
6532
|
+
type: "creation" | "pre_signature";
|
|
6533
|
+
timestamp: string;
|
|
6534
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6535
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6536
|
+
message: string;
|
|
6537
|
+
tinyUrl: string;
|
|
6538
|
+
}[] | undefined;
|
|
5789
6539
|
} | {
|
|
5790
6540
|
type: "CREATE_API_KEY";
|
|
5791
6541
|
data: {
|
|
@@ -5812,6 +6562,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5812
6562
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5813
6563
|
retryAfter: Date;
|
|
5814
6564
|
} | undefined;
|
|
6565
|
+
scanHistory?: {
|
|
6566
|
+
type: "creation" | "pre_signature";
|
|
6567
|
+
timestamp: string;
|
|
6568
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6569
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6570
|
+
message: string;
|
|
6571
|
+
tinyUrl: string;
|
|
6572
|
+
}[] | undefined;
|
|
5815
6573
|
} | {
|
|
5816
6574
|
type: "EDIT_API_KEY";
|
|
5817
6575
|
data: {
|
|
@@ -5838,6 +6596,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5838
6596
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5839
6597
|
retryAfter: Date;
|
|
5840
6598
|
} | undefined;
|
|
6599
|
+
scanHistory?: {
|
|
6600
|
+
type: "creation" | "pre_signature";
|
|
6601
|
+
timestamp: string;
|
|
6602
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6603
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6604
|
+
message: string;
|
|
6605
|
+
tinyUrl: string;
|
|
6606
|
+
}[] | undefined;
|
|
5841
6607
|
} | {
|
|
5842
6608
|
type: "REVOKE_API_KEY";
|
|
5843
6609
|
data: Record<string, never>;
|
|
@@ -5860,6 +6626,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5860
6626
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5861
6627
|
retryAfter: Date;
|
|
5862
6628
|
} | undefined;
|
|
6629
|
+
scanHistory?: {
|
|
6630
|
+
type: "creation" | "pre_signature";
|
|
6631
|
+
timestamp: string;
|
|
6632
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6633
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6634
|
+
message: string;
|
|
6635
|
+
tinyUrl: string;
|
|
6636
|
+
}[] | undefined;
|
|
5863
6637
|
} | {
|
|
5864
6638
|
type: "CREATE_POLICY";
|
|
5865
6639
|
data: {
|
|
@@ -5905,6 +6679,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5905
6679
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5906
6680
|
retryAfter: Date;
|
|
5907
6681
|
} | undefined;
|
|
6682
|
+
scanHistory?: {
|
|
6683
|
+
type: "creation" | "pre_signature";
|
|
6684
|
+
timestamp: string;
|
|
6685
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6686
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6687
|
+
message: string;
|
|
6688
|
+
tinyUrl: string;
|
|
6689
|
+
}[] | undefined;
|
|
5908
6690
|
} | {
|
|
5909
6691
|
type: "EDIT_POLICY";
|
|
5910
6692
|
data: {
|
|
@@ -5945,6 +6727,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5945
6727
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5946
6728
|
retryAfter: Date;
|
|
5947
6729
|
} | undefined;
|
|
6730
|
+
scanHistory?: {
|
|
6731
|
+
type: "creation" | "pre_signature";
|
|
6732
|
+
timestamp: string;
|
|
6733
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6734
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6735
|
+
message: string;
|
|
6736
|
+
tinyUrl: string;
|
|
6737
|
+
}[] | undefined;
|
|
5948
6738
|
} | {
|
|
5949
6739
|
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
5950
6740
|
data: null;
|
|
@@ -5967,6 +6757,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5967
6757
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5968
6758
|
retryAfter: Date;
|
|
5969
6759
|
} | undefined;
|
|
6760
|
+
scanHistory?: {
|
|
6761
|
+
type: "creation" | "pre_signature";
|
|
6762
|
+
timestamp: string;
|
|
6763
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6764
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6765
|
+
message: string;
|
|
6766
|
+
tinyUrl: string;
|
|
6767
|
+
}[] | undefined;
|
|
5970
6768
|
} | {
|
|
5971
6769
|
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
5972
6770
|
data: {
|
|
@@ -6002,6 +6800,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6002
6800
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6003
6801
|
retryAfter: Date;
|
|
6004
6802
|
} | undefined;
|
|
6803
|
+
scanHistory?: {
|
|
6804
|
+
type: "creation" | "pre_signature";
|
|
6805
|
+
timestamp: string;
|
|
6806
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6807
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6808
|
+
message: string;
|
|
6809
|
+
tinyUrl: string;
|
|
6810
|
+
}[] | undefined;
|
|
6005
6811
|
} | {
|
|
6006
6812
|
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
6007
6813
|
data: {
|
|
@@ -6037,6 +6843,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6037
6843
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6038
6844
|
retryAfter: Date;
|
|
6039
6845
|
} | undefined;
|
|
6846
|
+
scanHistory?: {
|
|
6847
|
+
type: "creation" | "pre_signature";
|
|
6848
|
+
timestamp: string;
|
|
6849
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6850
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6851
|
+
message: string;
|
|
6852
|
+
tinyUrl: string;
|
|
6853
|
+
}[] | undefined;
|
|
6040
6854
|
} | {
|
|
6041
6855
|
type: "TRADELINK_CREATE_EXCHANGE";
|
|
6042
6856
|
data: {
|
|
@@ -6070,6 +6884,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6070
6884
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6071
6885
|
retryAfter: Date;
|
|
6072
6886
|
} | undefined;
|
|
6887
|
+
scanHistory?: {
|
|
6888
|
+
type: "creation" | "pre_signature";
|
|
6889
|
+
timestamp: string;
|
|
6890
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6891
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6892
|
+
message: string;
|
|
6893
|
+
tinyUrl: string;
|
|
6894
|
+
}[] | undefined;
|
|
6073
6895
|
} | {
|
|
6074
6896
|
type: "TRADELINK_EDIT_EXCHANGE";
|
|
6075
6897
|
data: {
|
|
@@ -6103,6 +6925,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6103
6925
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6104
6926
|
retryAfter: Date;
|
|
6105
6927
|
} | undefined;
|
|
6928
|
+
scanHistory?: {
|
|
6929
|
+
type: "creation" | "pre_signature";
|
|
6930
|
+
timestamp: string;
|
|
6931
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6932
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6933
|
+
message: string;
|
|
6934
|
+
tinyUrl: string;
|
|
6935
|
+
}[] | undefined;
|
|
6106
6936
|
} | {
|
|
6107
6937
|
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
6108
6938
|
data: {
|
|
@@ -6136,6 +6966,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6136
6966
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6137
6967
|
retryAfter: Date;
|
|
6138
6968
|
} | undefined;
|
|
6969
|
+
scanHistory?: {
|
|
6970
|
+
type: "creation" | "pre_signature";
|
|
6971
|
+
timestamp: string;
|
|
6972
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
6973
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
6974
|
+
message: string;
|
|
6975
|
+
tinyUrl: string;
|
|
6976
|
+
}[] | undefined;
|
|
6139
6977
|
} | {
|
|
6140
6978
|
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
6141
6979
|
data: {
|
|
@@ -6169,6 +7007,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6169
7007
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6170
7008
|
retryAfter: Date;
|
|
6171
7009
|
} | undefined;
|
|
7010
|
+
scanHistory?: {
|
|
7011
|
+
type: "creation" | "pre_signature";
|
|
7012
|
+
timestamp: string;
|
|
7013
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7014
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7015
|
+
message: string;
|
|
7016
|
+
tinyUrl: string;
|
|
7017
|
+
}[] | undefined;
|
|
6172
7018
|
} | {
|
|
6173
7019
|
type: "TRADELINK_ADJUST_PLEDGE";
|
|
6174
7020
|
data: {
|
|
@@ -6195,6 +7041,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6195
7041
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6196
7042
|
retryAfter: Date;
|
|
6197
7043
|
} | undefined;
|
|
7044
|
+
scanHistory?: {
|
|
7045
|
+
type: "creation" | "pre_signature";
|
|
7046
|
+
timestamp: string;
|
|
7047
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7048
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7049
|
+
message: string;
|
|
7050
|
+
tinyUrl: string;
|
|
7051
|
+
}[] | undefined;
|
|
6198
7052
|
} | {
|
|
6199
7053
|
type: "TRADELINK_REPLEDGE";
|
|
6200
7054
|
data: {
|
|
@@ -6221,6 +7075,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6221
7075
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6222
7076
|
retryAfter: Date;
|
|
6223
7077
|
} | undefined;
|
|
7078
|
+
scanHistory?: {
|
|
7079
|
+
type: "creation" | "pre_signature";
|
|
7080
|
+
timestamp: string;
|
|
7081
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7082
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7083
|
+
message: string;
|
|
7084
|
+
tinyUrl: string;
|
|
7085
|
+
}[] | undefined;
|
|
6224
7086
|
} | {
|
|
6225
7087
|
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
6226
7088
|
data: {
|
|
@@ -6247,6 +7109,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6247
7109
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6248
7110
|
retryAfter: Date;
|
|
6249
7111
|
} | undefined;
|
|
7112
|
+
scanHistory?: {
|
|
7113
|
+
type: "creation" | "pre_signature";
|
|
7114
|
+
timestamp: string;
|
|
7115
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7116
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7117
|
+
message: string;
|
|
7118
|
+
tinyUrl: string;
|
|
7119
|
+
}[] | undefined;
|
|
6250
7120
|
} | {
|
|
6251
7121
|
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
6252
7122
|
data: {
|
|
@@ -6272,6 +7142,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6272
7142
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6273
7143
|
retryAfter: Date;
|
|
6274
7144
|
} | undefined;
|
|
7145
|
+
scanHistory?: {
|
|
7146
|
+
type: "creation" | "pre_signature";
|
|
7147
|
+
timestamp: string;
|
|
7148
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7149
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7150
|
+
message: string;
|
|
7151
|
+
tinyUrl: string;
|
|
7152
|
+
}[] | undefined;
|
|
6275
7153
|
} | {
|
|
6276
7154
|
type: "TRADELINK_WITHDRAW";
|
|
6277
7155
|
data: {
|
|
@@ -6297,6 +7175,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6297
7175
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6298
7176
|
retryAfter: Date;
|
|
6299
7177
|
} | undefined;
|
|
7178
|
+
scanHistory?: {
|
|
7179
|
+
type: "creation" | "pre_signature";
|
|
7180
|
+
timestamp: string;
|
|
7181
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7182
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7183
|
+
message: string;
|
|
7184
|
+
tinyUrl: string;
|
|
7185
|
+
}[] | undefined;
|
|
6300
7186
|
} | {
|
|
6301
7187
|
type: "TRADELINK_ARBITRATE";
|
|
6302
7188
|
data: {
|
|
@@ -6322,6 +7208,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6322
7208
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
6323
7209
|
retryAfter: Date;
|
|
6324
7210
|
} | undefined;
|
|
7211
|
+
scanHistory?: {
|
|
7212
|
+
type: "creation" | "pre_signature";
|
|
7213
|
+
timestamp: string;
|
|
7214
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
7215
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
7216
|
+
message: string;
|
|
7217
|
+
tinyUrl: string;
|
|
7218
|
+
}[] | undefined;
|
|
6325
7219
|
})[];
|
|
6326
7220
|
};
|
|
6327
7221
|
meta: {
|
|
@@ -6393,6 +7287,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6393
7287
|
debugAuthToken?: string;
|
|
6394
7288
|
rootAuthToken?: string;
|
|
6395
7289
|
backofficeRequiredPermission?: BackofficePermission;
|
|
7290
|
+
core: unknown;
|
|
6396
7291
|
prisma: ExtendedPrismaClient;
|
|
6397
7292
|
io: import("socket.io").Server<import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, import("socket.io").DefaultEventsMap, any> | null;
|
|
6398
7293
|
user: {
|
|
@@ -6448,6 +7343,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6448
7343
|
httpStatus: number;
|
|
6449
7344
|
path?: string;
|
|
6450
7345
|
stack?: string;
|
|
7346
|
+
maintenanceMode?: "FULL" | "READ_ONLY" | undefined;
|
|
6451
7347
|
maintenance?: boolean | undefined;
|
|
6452
7348
|
};
|
|
6453
7349
|
};
|