@ledgerhq/revault-api 1.82.0 → 1.82.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-DBd4wGTx.d.mts → app-lib-B1PMGp4x.d.mts} +2373 -2058
- package/lib/fakes.d.mts +1 -1
- package/lib/fakes.mjs +1 -1
- package/lib/index.d.mts +2 -2
- package/lib/index.mjs +315 -2
- package/lib/index.mjs.map +1 -1
- package/lib/internal/app-lib.d.mts +950 -761
- package/package.json +1 -1
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import z
|
|
3
|
-
import { PrismaClient } from "@/generated/prisma/client";
|
|
1
|
+
import { Cr as RateLimitMetricsMeta, Er as ActivationStatus, Jr as UserDeviceType, Mr as GateUserType, Pr as MaintenanceMode, Qr as BackofficePermission, Xn as VaultRequestResponse, Yr as UserRole, Zr as ExtendedPrismaClient, ia as SendOnlyTransactionData, io as Note, mr as BackofficePermissionMeta, oa as TransactionData, pi as HsmCertificate, qn as RequestReview, wr as ActivityTracer, yr as zOidcConfig } from "../app-lib-B1PMGp4x.mjs";
|
|
2
|
+
import z from "zod";
|
|
4
3
|
import "trpc-to-openapi";
|
|
5
|
-
|
|
6
|
-
import "ioredis";
|
|
7
|
-
//#region src/workspaces/schemas.d.ts
|
|
4
|
+
//#region src/core/workspaces/schemas.d.ts
|
|
8
5
|
declare const zWorkspaceName: z.ZodString;
|
|
9
6
|
//#endregion
|
|
10
7
|
//#region src/internal/app.d.ts
|
|
@@ -63,7 +60,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
63
60
|
errorResponses?: number[] | Record<number, string>;
|
|
64
61
|
};
|
|
65
62
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
66
|
-
errorShape:
|
|
63
|
+
errorShape: {
|
|
64
|
+
message: string;
|
|
65
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
66
|
+
data: {
|
|
67
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
68
|
+
httpStatus: number;
|
|
69
|
+
path?: string;
|
|
70
|
+
stack?: string;
|
|
71
|
+
maintenance?: boolean | undefined;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
67
74
|
transformer: true;
|
|
68
75
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
69
76
|
backoffice: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -121,7 +128,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
121
128
|
errorResponses?: number[] | Record<number, string>;
|
|
122
129
|
};
|
|
123
130
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
124
|
-
errorShape:
|
|
131
|
+
errorShape: {
|
|
132
|
+
message: string;
|
|
133
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
134
|
+
data: {
|
|
135
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
136
|
+
httpStatus: number;
|
|
137
|
+
path?: string;
|
|
138
|
+
stack?: string;
|
|
139
|
+
maintenance?: boolean | undefined;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
125
142
|
transformer: true;
|
|
126
143
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
127
144
|
me: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -207,7 +224,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
207
224
|
errorResponses?: number[] | Record<number, string>;
|
|
208
225
|
};
|
|
209
226
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
210
|
-
errorShape:
|
|
227
|
+
errorShape: {
|
|
228
|
+
message: string;
|
|
229
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
230
|
+
data: {
|
|
231
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
232
|
+
httpStatus: number;
|
|
233
|
+
path?: string;
|
|
234
|
+
stack?: string;
|
|
235
|
+
maintenance?: boolean | undefined;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
211
238
|
transformer: true;
|
|
212
239
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
213
240
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -409,7 +436,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
409
436
|
errorResponses?: number[] | Record<number, string>;
|
|
410
437
|
};
|
|
411
438
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
412
|
-
errorShape:
|
|
439
|
+
errorShape: {
|
|
440
|
+
message: string;
|
|
441
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
442
|
+
data: {
|
|
443
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
444
|
+
httpStatus: number;
|
|
445
|
+
path?: string;
|
|
446
|
+
stack?: string;
|
|
447
|
+
maintenance?: boolean | undefined;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
413
450
|
transformer: true;
|
|
414
451
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
415
452
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -907,7 +944,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
907
944
|
errorResponses?: number[] | Record<number, string>;
|
|
908
945
|
};
|
|
909
946
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
910
|
-
errorShape:
|
|
947
|
+
errorShape: {
|
|
948
|
+
message: string;
|
|
949
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
950
|
+
data: {
|
|
951
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
952
|
+
httpStatus: number;
|
|
953
|
+
path?: string;
|
|
954
|
+
stack?: string;
|
|
955
|
+
maintenance?: boolean | undefined;
|
|
956
|
+
};
|
|
957
|
+
};
|
|
911
958
|
transformer: true;
|
|
912
959
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
913
960
|
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
@@ -1057,7 +1104,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1057
1104
|
errorResponses?: number[] | Record<number, string>;
|
|
1058
1105
|
};
|
|
1059
1106
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1060
|
-
errorShape:
|
|
1107
|
+
errorShape: {
|
|
1108
|
+
message: string;
|
|
1109
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1110
|
+
data: {
|
|
1111
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
1112
|
+
httpStatus: number;
|
|
1113
|
+
path?: string;
|
|
1114
|
+
stack?: string;
|
|
1115
|
+
maintenance?: boolean | undefined;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1061
1118
|
transformer: true;
|
|
1062
1119
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1063
1120
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1211,7 +1268,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1211
1268
|
errorResponses?: number[] | Record<number, string>;
|
|
1212
1269
|
};
|
|
1213
1270
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1214
|
-
errorShape:
|
|
1271
|
+
errorShape: {
|
|
1272
|
+
message: string;
|
|
1273
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1274
|
+
data: {
|
|
1275
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
1276
|
+
httpStatus: number;
|
|
1277
|
+
path?: string;
|
|
1278
|
+
stack?: string;
|
|
1279
|
+
maintenance?: boolean | undefined;
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1215
1282
|
transformer: true;
|
|
1216
1283
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1217
1284
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1351,7 +1418,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1351
1418
|
errorResponses?: number[] | Record<number, string>;
|
|
1352
1419
|
};
|
|
1353
1420
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1354
|
-
errorShape:
|
|
1421
|
+
errorShape: {
|
|
1422
|
+
message: string;
|
|
1423
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1424
|
+
data: {
|
|
1425
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
1426
|
+
httpStatus: number;
|
|
1427
|
+
path?: string;
|
|
1428
|
+
stack?: string;
|
|
1429
|
+
maintenance?: boolean | undefined;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1355
1432
|
transformer: true;
|
|
1356
1433
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1357
1434
|
networkOptions: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1664,7 +1741,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1664
1741
|
errorResponses?: number[] | Record<number, string>;
|
|
1665
1742
|
};
|
|
1666
1743
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1667
|
-
errorShape:
|
|
1744
|
+
errorShape: {
|
|
1745
|
+
message: string;
|
|
1746
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1747
|
+
data: {
|
|
1748
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
1749
|
+
httpStatus: number;
|
|
1750
|
+
path?: string;
|
|
1751
|
+
stack?: string;
|
|
1752
|
+
maintenance?: boolean | undefined;
|
|
1753
|
+
};
|
|
1754
|
+
};
|
|
1668
1755
|
transformer: true;
|
|
1669
1756
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1670
1757
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -1839,7 +1926,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1839
1926
|
errorResponses?: number[] | Record<number, string>;
|
|
1840
1927
|
};
|
|
1841
1928
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
1842
|
-
errorShape:
|
|
1929
|
+
errorShape: {
|
|
1930
|
+
message: string;
|
|
1931
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
1932
|
+
data: {
|
|
1933
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
1934
|
+
httpStatus: number;
|
|
1935
|
+
path?: string;
|
|
1936
|
+
stack?: string;
|
|
1937
|
+
maintenance?: boolean | undefined;
|
|
1938
|
+
};
|
|
1939
|
+
};
|
|
1843
1940
|
transformer: true;
|
|
1844
1941
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
1845
1942
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2000,7 +2097,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2000
2097
|
errorResponses?: number[] | Record<number, string>;
|
|
2001
2098
|
};
|
|
2002
2099
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2003
|
-
errorShape:
|
|
2100
|
+
errorShape: {
|
|
2101
|
+
message: string;
|
|
2102
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2103
|
+
data: {
|
|
2104
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
2105
|
+
httpStatus: number;
|
|
2106
|
+
path?: string;
|
|
2107
|
+
stack?: string;
|
|
2108
|
+
maintenance?: boolean | undefined;
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2004
2111
|
transformer: true;
|
|
2005
2112
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2006
2113
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2393,7 +2500,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2393
2500
|
errorResponses?: number[] | Record<number, string>;
|
|
2394
2501
|
};
|
|
2395
2502
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2396
|
-
errorShape:
|
|
2503
|
+
errorShape: {
|
|
2504
|
+
message: string;
|
|
2505
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2506
|
+
data: {
|
|
2507
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
2508
|
+
httpStatus: number;
|
|
2509
|
+
path?: string;
|
|
2510
|
+
stack?: string;
|
|
2511
|
+
maintenance?: boolean | undefined;
|
|
2512
|
+
};
|
|
2513
|
+
};
|
|
2397
2514
|
transformer: true;
|
|
2398
2515
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2399
2516
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2498,7 +2615,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2498
2615
|
errorResponses?: number[] | Record<number, string>;
|
|
2499
2616
|
};
|
|
2500
2617
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2501
|
-
errorShape:
|
|
2618
|
+
errorShape: {
|
|
2619
|
+
message: string;
|
|
2620
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2621
|
+
data: {
|
|
2622
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
2623
|
+
httpStatus: number;
|
|
2624
|
+
path?: string;
|
|
2625
|
+
stack?: string;
|
|
2626
|
+
maintenance?: boolean | undefined;
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2502
2629
|
transformer: true;
|
|
2503
2630
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2504
2631
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2539,11 +2666,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2539
2666
|
params: {
|
|
2540
2667
|
startDate: Date;
|
|
2541
2668
|
endDate: Date;
|
|
2542
|
-
|
|
2543
|
-
network: string;
|
|
2544
|
-
contractAddress: string | null;
|
|
2545
|
-
tokenIdentifier: string | null;
|
|
2546
|
-
}[];
|
|
2669
|
+
accountIds?: string[] | undefined;
|
|
2547
2670
|
};
|
|
2548
2671
|
} | {
|
|
2549
2672
|
type: "TRANSACTIONS";
|
|
@@ -2604,11 +2727,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2604
2727
|
params: {
|
|
2605
2728
|
startDate: Date;
|
|
2606
2729
|
endDate: Date;
|
|
2607
|
-
|
|
2608
|
-
network: string;
|
|
2609
|
-
contractAddress: string | null;
|
|
2610
|
-
tokenIdentifier: string | null;
|
|
2611
|
-
}[];
|
|
2730
|
+
accountIds?: string[] | undefined;
|
|
2612
2731
|
};
|
|
2613
2732
|
} | {
|
|
2614
2733
|
type: "TRANSACTIONS";
|
|
@@ -2699,7 +2818,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2699
2818
|
errorResponses?: number[] | Record<number, string>;
|
|
2700
2819
|
};
|
|
2701
2820
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
2702
|
-
errorShape:
|
|
2821
|
+
errorShape: {
|
|
2822
|
+
message: string;
|
|
2823
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
2824
|
+
data: {
|
|
2825
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
2826
|
+
httpStatus: number;
|
|
2827
|
+
path?: string;
|
|
2828
|
+
stack?: string;
|
|
2829
|
+
maintenance?: boolean | undefined;
|
|
2830
|
+
};
|
|
2831
|
+
};
|
|
2703
2832
|
transformer: true;
|
|
2704
2833
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2705
2834
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -2755,10 +2884,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2755
2884
|
id: string;
|
|
2756
2885
|
};
|
|
2757
2886
|
output: ({
|
|
2758
|
-
type: "
|
|
2887
|
+
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
2759
2888
|
data: {
|
|
2760
|
-
|
|
2761
|
-
|
|
2889
|
+
settlement: {
|
|
2890
|
+
quorum: number;
|
|
2891
|
+
userIds: string[];
|
|
2892
|
+
}[];
|
|
2893
|
+
withdraw: {
|
|
2894
|
+
quorum: number;
|
|
2895
|
+
userIds: string[];
|
|
2896
|
+
}[];
|
|
2897
|
+
arbitration: {
|
|
2898
|
+
quorum: number;
|
|
2899
|
+
userIds: string[];
|
|
2900
|
+
}[];
|
|
2762
2901
|
};
|
|
2763
2902
|
id: string;
|
|
2764
2903
|
legacyId: number;
|
|
@@ -2780,10 +2919,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2780
2919
|
retryAfter: Date;
|
|
2781
2920
|
} | undefined;
|
|
2782
2921
|
} | {
|
|
2783
|
-
type: "
|
|
2784
|
-
data:
|
|
2785
|
-
quorum: number;
|
|
2786
|
-
};
|
|
2922
|
+
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
2923
|
+
data: null;
|
|
2787
2924
|
id: string;
|
|
2788
2925
|
legacyId: number;
|
|
2789
2926
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -2804,10 +2941,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2804
2941
|
retryAfter: Date;
|
|
2805
2942
|
} | undefined;
|
|
2806
2943
|
} | {
|
|
2807
|
-
type: "
|
|
2944
|
+
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
2808
2945
|
data: {
|
|
2809
|
-
|
|
2810
|
-
|
|
2946
|
+
settlement: {
|
|
2947
|
+
quorum: number;
|
|
2948
|
+
userIds: string[];
|
|
2949
|
+
}[];
|
|
2950
|
+
withdraw: {
|
|
2951
|
+
quorum: number;
|
|
2952
|
+
userIds: string[];
|
|
2953
|
+
}[];
|
|
2954
|
+
arbitration: {
|
|
2955
|
+
quorum: number;
|
|
2956
|
+
userIds: string[];
|
|
2957
|
+
}[];
|
|
2811
2958
|
};
|
|
2812
2959
|
id: string;
|
|
2813
2960
|
legacyId: number;
|
|
@@ -2829,33 +2976,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2829
2976
|
retryAfter: Date;
|
|
2830
2977
|
} | undefined;
|
|
2831
2978
|
} | {
|
|
2832
|
-
type: "
|
|
2979
|
+
type: "TRADELINK_CREATE_EXCHANGE";
|
|
2833
2980
|
data: {
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
primaryType: string;
|
|
2845
|
-
domain: Record<string, any>;
|
|
2846
|
-
message: Record<string, any>;
|
|
2847
|
-
};
|
|
2848
|
-
} | {
|
|
2849
|
-
type: "CIP8";
|
|
2850
|
-
data: string;
|
|
2851
|
-
signingKey: "PAYMENT" | "STAKE";
|
|
2852
|
-
} | {
|
|
2853
|
-
type: "BIP137";
|
|
2854
|
-
data: string;
|
|
2855
|
-
};
|
|
2856
|
-
accountId: string;
|
|
2857
|
-
address: string;
|
|
2858
|
-
derivationPath: string;
|
|
2981
|
+
tradelinkId: string;
|
|
2982
|
+
groups: {
|
|
2983
|
+
quorum: number;
|
|
2984
|
+
userIds: string[];
|
|
2985
|
+
}[];
|
|
2986
|
+
whitelist: {
|
|
2987
|
+
name: string;
|
|
2988
|
+
currency: string;
|
|
2989
|
+
address: string;
|
|
2990
|
+
}[];
|
|
2859
2991
|
};
|
|
2860
2992
|
id: string;
|
|
2861
2993
|
legacyId: number;
|
|
@@ -2877,12 +3009,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2877
3009
|
retryAfter: Date;
|
|
2878
3010
|
} | undefined;
|
|
2879
3011
|
} | {
|
|
2880
|
-
type: "
|
|
3012
|
+
type: "TRADELINK_EDIT_EXCHANGE";
|
|
2881
3013
|
data: {
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
3014
|
+
tradelinkId: string;
|
|
3015
|
+
groups: {
|
|
3016
|
+
quorum: number;
|
|
3017
|
+
userIds: string[];
|
|
3018
|
+
}[];
|
|
3019
|
+
whitelist: {
|
|
3020
|
+
name: string;
|
|
3021
|
+
currency: string;
|
|
3022
|
+
address: string;
|
|
2886
3023
|
}[];
|
|
2887
3024
|
};
|
|
2888
3025
|
id: string;
|
|
@@ -2905,58 +3042,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2905
3042
|
retryAfter: Date;
|
|
2906
3043
|
} | undefined;
|
|
2907
3044
|
} | {
|
|
2908
|
-
type: "
|
|
3045
|
+
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
2909
3046
|
data: {
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
rules: {
|
|
2921
|
-
reviewSteps: ({
|
|
2922
|
-
quorum: number;
|
|
2923
|
-
userIds: string[];
|
|
2924
|
-
} | {
|
|
2925
|
-
quorum: number;
|
|
2926
|
-
groupId: string;
|
|
2927
|
-
})[];
|
|
2928
|
-
threshold?: {
|
|
2929
|
-
min: string | null;
|
|
2930
|
-
max: string | null;
|
|
2931
|
-
} | undefined;
|
|
2932
|
-
whitelistIds?: string[] | undefined;
|
|
2933
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
2934
|
-
}[];
|
|
2935
|
-
};
|
|
2936
|
-
} | {
|
|
2937
|
-
type: "TRADELINK";
|
|
2938
|
-
assetManagerId: string;
|
|
2939
|
-
exchangeConfigs: {
|
|
2940
|
-
exchangeId: string;
|
|
2941
|
-
repledgeAuthorized: boolean;
|
|
2942
|
-
needsAssetManagerApprovalForSettlements: boolean;
|
|
2943
|
-
}[];
|
|
2944
|
-
} | {
|
|
2945
|
-
type: "RAW_SIGNING";
|
|
2946
|
-
policy: {
|
|
2947
|
-
rules: {
|
|
2948
|
-
operationType: "SIGN_DIGESTS";
|
|
2949
|
-
reviewSteps: {
|
|
2950
|
-
quorum: number;
|
|
2951
|
-
userIds: string[];
|
|
2952
|
-
}[];
|
|
2953
|
-
}[];
|
|
2954
|
-
};
|
|
2955
|
-
};
|
|
2956
|
-
portfolioIds?: string[] | undefined;
|
|
2957
|
-
index: number;
|
|
2958
|
-
derivationPath: string;
|
|
2959
|
-
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
3047
|
+
tradelinkId: string;
|
|
3048
|
+
groups: {
|
|
3049
|
+
quorum: number;
|
|
3050
|
+
userIds: string[];
|
|
3051
|
+
}[];
|
|
3052
|
+
whitelist: {
|
|
3053
|
+
name: string;
|
|
3054
|
+
currency: string;
|
|
3055
|
+
address: string;
|
|
3056
|
+
}[];
|
|
2960
3057
|
};
|
|
2961
3058
|
id: string;
|
|
2962
3059
|
legacyId: number;
|
|
@@ -2978,49 +3075,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2978
3075
|
retryAfter: Date;
|
|
2979
3076
|
} | undefined;
|
|
2980
3077
|
} | {
|
|
2981
|
-
type: "
|
|
3078
|
+
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
2982
3079
|
data: {
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
} | {
|
|
2994
|
-
quorum: number;
|
|
2995
|
-
groupId: string;
|
|
2996
|
-
})[];
|
|
2997
|
-
threshold?: {
|
|
2998
|
-
min: string | null;
|
|
2999
|
-
max: string | null;
|
|
3000
|
-
} | undefined;
|
|
3001
|
-
whitelistIds?: string[] | undefined;
|
|
3002
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3003
|
-
}[];
|
|
3004
|
-
};
|
|
3005
|
-
} | {
|
|
3006
|
-
type: "TRADELINK";
|
|
3007
|
-
exchangeConfigs: {
|
|
3008
|
-
exchangeId: string;
|
|
3009
|
-
repledgeAuthorized: boolean;
|
|
3010
|
-
needsAssetManagerApprovalForSettlements: boolean;
|
|
3011
|
-
}[];
|
|
3012
|
-
} | {
|
|
3013
|
-
type: "RAW_SIGNING";
|
|
3014
|
-
policy: {
|
|
3015
|
-
rules: {
|
|
3016
|
-
operationType: "SIGN_DIGESTS";
|
|
3017
|
-
reviewSteps: {
|
|
3018
|
-
quorum: number;
|
|
3019
|
-
userIds: string[];
|
|
3020
|
-
}[];
|
|
3021
|
-
}[];
|
|
3022
|
-
};
|
|
3023
|
-
};
|
|
3080
|
+
tradelinkId: string;
|
|
3081
|
+
groups: {
|
|
3082
|
+
quorum: number;
|
|
3083
|
+
userIds: string[];
|
|
3084
|
+
}[];
|
|
3085
|
+
whitelist: {
|
|
3086
|
+
name: string;
|
|
3087
|
+
currency: string;
|
|
3088
|
+
address: string;
|
|
3089
|
+
}[];
|
|
3024
3090
|
};
|
|
3025
3091
|
id: string;
|
|
3026
3092
|
legacyId: number;
|
|
@@ -3042,25 +3108,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3042
3108
|
retryAfter: Date;
|
|
3043
3109
|
} | undefined;
|
|
3044
3110
|
} | {
|
|
3045
|
-
type: "
|
|
3111
|
+
type: "TRADELINK_ADJUST_PLEDGE";
|
|
3046
3112
|
data: {
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
reviewSteps: ({
|
|
3051
|
-
quorum: number;
|
|
3052
|
-
userIds: string[];
|
|
3053
|
-
} | {
|
|
3054
|
-
quorum: number;
|
|
3055
|
-
groupId: string;
|
|
3056
|
-
})[];
|
|
3057
|
-
threshold?: {
|
|
3058
|
-
min: string | null;
|
|
3059
|
-
max: string | null;
|
|
3060
|
-
} | undefined;
|
|
3061
|
-
whitelistIds?: string[] | undefined;
|
|
3062
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3063
|
-
}[];
|
|
3113
|
+
accountId: string;
|
|
3114
|
+
exchangeId: string;
|
|
3115
|
+
amount: string;
|
|
3064
3116
|
};
|
|
3065
3117
|
id: string;
|
|
3066
3118
|
legacyId: number;
|
|
@@ -3082,11 +3134,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3082
3134
|
retryAfter: Date;
|
|
3083
3135
|
} | undefined;
|
|
3084
3136
|
} | {
|
|
3085
|
-
type: "
|
|
3137
|
+
type: "TRADELINK_REPLEDGE";
|
|
3086
3138
|
data: {
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3139
|
+
accountId: string;
|
|
3140
|
+
exchangeId: string;
|
|
3141
|
+
amount: string;
|
|
3090
3142
|
};
|
|
3091
3143
|
id: string;
|
|
3092
3144
|
legacyId: number;
|
|
@@ -3108,11 +3160,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3108
3160
|
retryAfter: Date;
|
|
3109
3161
|
} | undefined;
|
|
3110
3162
|
} | {
|
|
3111
|
-
type: "
|
|
3163
|
+
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
3112
3164
|
data: {
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3165
|
+
accountId: string;
|
|
3166
|
+
exchangeId: string;
|
|
3167
|
+
transaction: SendOnlyTransactionData;
|
|
3116
3168
|
};
|
|
3117
3169
|
id: string;
|
|
3118
3170
|
legacyId: number;
|
|
@@ -3134,8 +3186,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3134
3186
|
retryAfter: Date;
|
|
3135
3187
|
} | undefined;
|
|
3136
3188
|
} | {
|
|
3137
|
-
type: "
|
|
3138
|
-
data:
|
|
3189
|
+
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
3190
|
+
data: {
|
|
3191
|
+
accountId: string;
|
|
3192
|
+
exchangeId: string;
|
|
3193
|
+
};
|
|
3139
3194
|
id: string;
|
|
3140
3195
|
legacyId: number;
|
|
3141
3196
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3156,17 +3211,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3156
3211
|
retryAfter: Date;
|
|
3157
3212
|
} | undefined;
|
|
3158
3213
|
} | {
|
|
3159
|
-
type: "
|
|
3214
|
+
type: "TRADELINK_WITHDRAW";
|
|
3160
3215
|
data: {
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
addresses: {
|
|
3164
|
-
name: string;
|
|
3165
|
-
currency: string;
|
|
3166
|
-
address: string;
|
|
3167
|
-
destinationTag?: string | undefined;
|
|
3168
|
-
}[];
|
|
3169
|
-
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
3216
|
+
accountId: string;
|
|
3217
|
+
transaction: SendOnlyTransactionData;
|
|
3170
3218
|
};
|
|
3171
3219
|
id: string;
|
|
3172
3220
|
legacyId: number;
|
|
@@ -3188,15 +3236,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3188
3236
|
retryAfter: Date;
|
|
3189
3237
|
} | undefined;
|
|
3190
3238
|
} | {
|
|
3191
|
-
type: "
|
|
3239
|
+
type: "TRADELINK_ARBITRATE";
|
|
3192
3240
|
data: {
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
name: string;
|
|
3196
|
-
currency: string;
|
|
3197
|
-
address: string;
|
|
3198
|
-
destinationTag?: string | undefined;
|
|
3199
|
-
}[];
|
|
3241
|
+
accountId: string;
|
|
3242
|
+
transaction: SendOnlyTransactionData;
|
|
3200
3243
|
};
|
|
3201
3244
|
id: string;
|
|
3202
3245
|
legacyId: number;
|
|
@@ -3218,11 +3261,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3218
3261
|
retryAfter: Date;
|
|
3219
3262
|
} | undefined;
|
|
3220
3263
|
} | {
|
|
3221
|
-
type: "
|
|
3264
|
+
type: "UPDATE_QUORUM";
|
|
3222
3265
|
data: {
|
|
3223
|
-
|
|
3224
|
-
accountIds: string[];
|
|
3225
|
-
memberIds: string[];
|
|
3266
|
+
quorum: number;
|
|
3226
3267
|
};
|
|
3227
3268
|
id: string;
|
|
3228
3269
|
legacyId: number;
|
|
@@ -3244,11 +3285,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3244
3285
|
retryAfter: Date;
|
|
3245
3286
|
} | undefined;
|
|
3246
3287
|
} | {
|
|
3247
|
-
type: "
|
|
3288
|
+
type: "CREATE_TRANSACTION";
|
|
3248
3289
|
data: {
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
memberIds: string[];
|
|
3290
|
+
accountId: string;
|
|
3291
|
+
transaction: TransactionData;
|
|
3252
3292
|
};
|
|
3253
3293
|
id: string;
|
|
3254
3294
|
legacyId: number;
|
|
@@ -3270,8 +3310,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3270
3310
|
retryAfter: Date;
|
|
3271
3311
|
} | undefined;
|
|
3272
3312
|
} | {
|
|
3273
|
-
type: "
|
|
3274
|
-
data:
|
|
3313
|
+
type: "SIGN_DIGESTS";
|
|
3314
|
+
data: {
|
|
3315
|
+
accountId: string;
|
|
3316
|
+
digests: {
|
|
3317
|
+
digest: string;
|
|
3318
|
+
derivationPath: string;
|
|
3319
|
+
}[];
|
|
3320
|
+
};
|
|
3275
3321
|
id: string;
|
|
3276
3322
|
legacyId: number;
|
|
3277
3323
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3292,9 +3338,49 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3292
3338
|
retryAfter: Date;
|
|
3293
3339
|
} | undefined;
|
|
3294
3340
|
} | {
|
|
3295
|
-
type: "
|
|
3341
|
+
type: "EDIT_ACCOUNT";
|
|
3296
3342
|
data: {
|
|
3297
|
-
|
|
3343
|
+
name: string;
|
|
3344
|
+
governance: {
|
|
3345
|
+
type: "CLASSIC";
|
|
3346
|
+
policy: {
|
|
3347
|
+
policyId: string;
|
|
3348
|
+
} | {
|
|
3349
|
+
rules: {
|
|
3350
|
+
reviewSteps: ({
|
|
3351
|
+
quorum: number;
|
|
3352
|
+
userIds: string[];
|
|
3353
|
+
} | {
|
|
3354
|
+
quorum: number;
|
|
3355
|
+
groupId: string;
|
|
3356
|
+
})[];
|
|
3357
|
+
threshold?: {
|
|
3358
|
+
min: string | null;
|
|
3359
|
+
max: string | null;
|
|
3360
|
+
} | undefined;
|
|
3361
|
+
whitelistIds?: string[] | undefined;
|
|
3362
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3363
|
+
}[];
|
|
3364
|
+
};
|
|
3365
|
+
} | {
|
|
3366
|
+
type: "TRADELINK";
|
|
3367
|
+
exchangeConfigs: {
|
|
3368
|
+
exchangeId: string;
|
|
3369
|
+
repledgeAuthorized: boolean;
|
|
3370
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
3371
|
+
}[];
|
|
3372
|
+
} | {
|
|
3373
|
+
type: "RAW_SIGNING";
|
|
3374
|
+
policy: {
|
|
3375
|
+
rules: {
|
|
3376
|
+
operationType: "SIGN_DIGESTS";
|
|
3377
|
+
reviewSteps: {
|
|
3378
|
+
quorum: number;
|
|
3379
|
+
userIds: string[];
|
|
3380
|
+
}[];
|
|
3381
|
+
}[];
|
|
3382
|
+
};
|
|
3383
|
+
};
|
|
3298
3384
|
};
|
|
3299
3385
|
id: string;
|
|
3300
3386
|
legacyId: number;
|
|
@@ -3316,12 +3402,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3316
3402
|
retryAfter: Date;
|
|
3317
3403
|
} | undefined;
|
|
3318
3404
|
} | {
|
|
3319
|
-
type: "
|
|
3405
|
+
type: "CREATE_GROUP";
|
|
3320
3406
|
data: {
|
|
3321
3407
|
name: string;
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
viewAll?: boolean | undefined;
|
|
3408
|
+
description: string | null;
|
|
3409
|
+
members: string[];
|
|
3325
3410
|
};
|
|
3326
3411
|
id: string;
|
|
3327
3412
|
legacyId: number;
|
|
@@ -3343,9 +3428,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3343
3428
|
retryAfter: Date;
|
|
3344
3429
|
} | undefined;
|
|
3345
3430
|
} | {
|
|
3346
|
-
type: "
|
|
3431
|
+
type: "EDIT_GROUP";
|
|
3347
3432
|
data: {
|
|
3348
3433
|
name: string;
|
|
3434
|
+
description: string | null;
|
|
3435
|
+
members: string[];
|
|
3349
3436
|
};
|
|
3350
3437
|
id: string;
|
|
3351
3438
|
legacyId: number;
|
|
@@ -3367,8 +3454,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3367
3454
|
retryAfter: Date;
|
|
3368
3455
|
} | undefined;
|
|
3369
3456
|
} | {
|
|
3370
|
-
type: "
|
|
3371
|
-
data:
|
|
3457
|
+
type: "CREATE_WHITELIST";
|
|
3458
|
+
data: {
|
|
3459
|
+
name: string;
|
|
3460
|
+
description: string | null;
|
|
3461
|
+
addresses: {
|
|
3462
|
+
name: string;
|
|
3463
|
+
currency: string;
|
|
3464
|
+
address: string;
|
|
3465
|
+
destinationTag?: string | undefined;
|
|
3466
|
+
}[];
|
|
3467
|
+
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
3468
|
+
};
|
|
3372
3469
|
id: string;
|
|
3373
3470
|
legacyId: number;
|
|
3374
3471
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3389,12 +3486,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3389
3486
|
retryAfter: Date;
|
|
3390
3487
|
} | undefined;
|
|
3391
3488
|
} | {
|
|
3392
|
-
type: "
|
|
3489
|
+
type: "EDIT_WHITELIST";
|
|
3393
3490
|
data: {
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3491
|
+
name: string;
|
|
3492
|
+
addresses: {
|
|
3493
|
+
name: string;
|
|
3494
|
+
currency: string;
|
|
3495
|
+
address: string;
|
|
3496
|
+
destinationTag?: string | undefined;
|
|
3398
3497
|
}[];
|
|
3399
3498
|
};
|
|
3400
3499
|
id: string;
|
|
@@ -3417,13 +3516,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3417
3516
|
retryAfter: Date;
|
|
3418
3517
|
} | undefined;
|
|
3419
3518
|
} | {
|
|
3420
|
-
type: "
|
|
3519
|
+
type: "CREATE_ENTITY";
|
|
3421
3520
|
data: {
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
customContractCallEnabled: boolean;
|
|
3426
|
-
};
|
|
3521
|
+
name: string;
|
|
3522
|
+
accountIds: string[];
|
|
3523
|
+
memberIds: string[];
|
|
3427
3524
|
};
|
|
3428
3525
|
id: string;
|
|
3429
3526
|
legacyId: number;
|
|
@@ -3445,12 +3542,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3445
3542
|
retryAfter: Date;
|
|
3446
3543
|
} | undefined;
|
|
3447
3544
|
} | {
|
|
3448
|
-
type: "
|
|
3545
|
+
type: "EDIT_ENTITY";
|
|
3449
3546
|
data: {
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
};
|
|
3547
|
+
name: string;
|
|
3548
|
+
accountIds: string[];
|
|
3549
|
+
memberIds: string[];
|
|
3454
3550
|
};
|
|
3455
3551
|
id: string;
|
|
3456
3552
|
legacyId: number;
|
|
@@ -3472,11 +3568,31 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3472
3568
|
retryAfter: Date;
|
|
3473
3569
|
} | undefined;
|
|
3474
3570
|
} | {
|
|
3475
|
-
type: "
|
|
3571
|
+
type: "REVOKE_ENTITY";
|
|
3572
|
+
data: Record<string, never>;
|
|
3573
|
+
id: string;
|
|
3574
|
+
legacyId: number;
|
|
3575
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
3576
|
+
reviewSteps: {
|
|
3577
|
+
stageName: string;
|
|
3578
|
+
quorum: number;
|
|
3579
|
+
}[];
|
|
3580
|
+
currentStepIndex: number;
|
|
3581
|
+
expiresAt: Date;
|
|
3582
|
+
targetId: string | null;
|
|
3583
|
+
note: Note | null;
|
|
3584
|
+
reviews: RequestReview[];
|
|
3585
|
+
createdAt: Date;
|
|
3586
|
+
updatedAt: Date;
|
|
3587
|
+
createdById: string;
|
|
3588
|
+
inflight?: {
|
|
3589
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3590
|
+
retryAfter: Date;
|
|
3591
|
+
} | undefined;
|
|
3592
|
+
} | {
|
|
3593
|
+
type: "CREATE_PSD_USER";
|
|
3476
3594
|
data: {
|
|
3477
|
-
|
|
3478
|
-
entities: string[];
|
|
3479
|
-
scopes: Record<string, never>;
|
|
3595
|
+
registrationId: string;
|
|
3480
3596
|
};
|
|
3481
3597
|
id: string;
|
|
3482
3598
|
legacyId: number;
|
|
@@ -3498,11 +3614,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3498
3614
|
retryAfter: Date;
|
|
3499
3615
|
} | undefined;
|
|
3500
3616
|
} | {
|
|
3501
|
-
type: "
|
|
3617
|
+
type: "CREATE_API_USER";
|
|
3502
3618
|
data: {
|
|
3503
3619
|
name: string;
|
|
3504
|
-
|
|
3505
|
-
|
|
3620
|
+
pubKey: string;
|
|
3621
|
+
role: "ADMIN" | "OPERATOR";
|
|
3622
|
+
viewAll?: boolean | undefined;
|
|
3506
3623
|
};
|
|
3507
3624
|
id: string;
|
|
3508
3625
|
legacyId: number;
|
|
@@ -3524,7 +3641,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3524
3641
|
retryAfter: Date;
|
|
3525
3642
|
} | undefined;
|
|
3526
3643
|
} | {
|
|
3527
|
-
type: "
|
|
3644
|
+
type: "REVOKE_USER";
|
|
3528
3645
|
data: Record<string, never>;
|
|
3529
3646
|
id: string;
|
|
3530
3647
|
legacyId: number;
|
|
@@ -3545,6 +3662,34 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3545
3662
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3546
3663
|
retryAfter: Date;
|
|
3547
3664
|
} | undefined;
|
|
3665
|
+
} | {
|
|
3666
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
3667
|
+
data: {
|
|
3668
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
3669
|
+
reviewConfig: {
|
|
3670
|
+
quorum: number;
|
|
3671
|
+
userIds: string[];
|
|
3672
|
+
}[];
|
|
3673
|
+
};
|
|
3674
|
+
id: string;
|
|
3675
|
+
legacyId: number;
|
|
3676
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
3677
|
+
reviewSteps: {
|
|
3678
|
+
stageName: string;
|
|
3679
|
+
quorum: number;
|
|
3680
|
+
}[];
|
|
3681
|
+
currentStepIndex: number;
|
|
3682
|
+
expiresAt: Date;
|
|
3683
|
+
targetId: string | null;
|
|
3684
|
+
note: Note | null;
|
|
3685
|
+
reviews: RequestReview[];
|
|
3686
|
+
createdAt: Date;
|
|
3687
|
+
updatedAt: Date;
|
|
3688
|
+
createdById: string;
|
|
3689
|
+
inflight?: {
|
|
3690
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3691
|
+
retryAfter: Date;
|
|
3692
|
+
} | undefined;
|
|
3548
3693
|
} | {
|
|
3549
3694
|
type: "CREATE_POLICY";
|
|
3550
3695
|
data: {
|
|
@@ -3631,8 +3776,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3631
3776
|
retryAfter: Date;
|
|
3632
3777
|
} | undefined;
|
|
3633
3778
|
} | {
|
|
3634
|
-
type: "
|
|
3635
|
-
data:
|
|
3779
|
+
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
3780
|
+
data: {
|
|
3781
|
+
previousPublicKeys: string[];
|
|
3782
|
+
requestedPublicKeys: string[];
|
|
3783
|
+
};
|
|
3636
3784
|
id: string;
|
|
3637
3785
|
legacyId: number;
|
|
3638
3786
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3653,88 +3801,33 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3653
3801
|
retryAfter: Date;
|
|
3654
3802
|
} | undefined;
|
|
3655
3803
|
} | {
|
|
3656
|
-
type: "
|
|
3804
|
+
type: "SIGN_MESSAGE";
|
|
3657
3805
|
data: {
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
}
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
createdAt: Date;
|
|
3684
|
-
updatedAt: Date;
|
|
3685
|
-
createdById: string;
|
|
3686
|
-
inflight?: {
|
|
3687
|
-
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3688
|
-
retryAfter: Date;
|
|
3689
|
-
} | undefined;
|
|
3690
|
-
} | {
|
|
3691
|
-
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
3692
|
-
data: {
|
|
3693
|
-
settlement: {
|
|
3694
|
-
quorum: number;
|
|
3695
|
-
userIds: string[];
|
|
3696
|
-
}[];
|
|
3697
|
-
withdraw: {
|
|
3698
|
-
quorum: number;
|
|
3699
|
-
userIds: string[];
|
|
3700
|
-
}[];
|
|
3701
|
-
arbitration: {
|
|
3702
|
-
quorum: number;
|
|
3703
|
-
userIds: string[];
|
|
3704
|
-
}[];
|
|
3705
|
-
};
|
|
3706
|
-
id: string;
|
|
3707
|
-
legacyId: number;
|
|
3708
|
-
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
3709
|
-
reviewSteps: {
|
|
3710
|
-
stageName: string;
|
|
3711
|
-
quorum: number;
|
|
3712
|
-
}[];
|
|
3713
|
-
currentStepIndex: number;
|
|
3714
|
-
expiresAt: Date;
|
|
3715
|
-
targetId: string | null;
|
|
3716
|
-
note: Note | null;
|
|
3717
|
-
reviews: RequestReview[];
|
|
3718
|
-
createdAt: Date;
|
|
3719
|
-
updatedAt: Date;
|
|
3720
|
-
createdById: string;
|
|
3721
|
-
inflight?: {
|
|
3722
|
-
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3723
|
-
retryAfter: Date;
|
|
3724
|
-
} | undefined;
|
|
3725
|
-
} | {
|
|
3726
|
-
type: "TRADELINK_CREATE_EXCHANGE";
|
|
3727
|
-
data: {
|
|
3728
|
-
tradelinkId: string;
|
|
3729
|
-
groups: {
|
|
3730
|
-
quorum: number;
|
|
3731
|
-
userIds: string[];
|
|
3732
|
-
}[];
|
|
3733
|
-
whitelist: {
|
|
3734
|
-
name: string;
|
|
3735
|
-
currency: string;
|
|
3736
|
-
address: string;
|
|
3737
|
-
}[];
|
|
3806
|
+
message: {
|
|
3807
|
+
type: "EIP191";
|
|
3808
|
+
data: string;
|
|
3809
|
+
} | {
|
|
3810
|
+
type: "EIP712";
|
|
3811
|
+
data: {
|
|
3812
|
+
types: Record<string, {
|
|
3813
|
+
name: string;
|
|
3814
|
+
type: string;
|
|
3815
|
+
}[]>;
|
|
3816
|
+
primaryType: string;
|
|
3817
|
+
domain: Record<string, any>;
|
|
3818
|
+
message: Record<string, any>;
|
|
3819
|
+
};
|
|
3820
|
+
} | {
|
|
3821
|
+
type: "CIP8";
|
|
3822
|
+
data: string;
|
|
3823
|
+
signingKey: "PAYMENT" | "STAKE";
|
|
3824
|
+
} | {
|
|
3825
|
+
type: "BIP137";
|
|
3826
|
+
data: string;
|
|
3827
|
+
};
|
|
3828
|
+
accountId: string;
|
|
3829
|
+
address: string;
|
|
3830
|
+
derivationPath: string;
|
|
3738
3831
|
};
|
|
3739
3832
|
id: string;
|
|
3740
3833
|
legacyId: number;
|
|
@@ -3756,18 +3849,58 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3756
3849
|
retryAfter: Date;
|
|
3757
3850
|
} | undefined;
|
|
3758
3851
|
} | {
|
|
3759
|
-
type: "
|
|
3852
|
+
type: "CREATE_ACCOUNT";
|
|
3760
3853
|
data: {
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3854
|
+
name: string;
|
|
3855
|
+
currency: string;
|
|
3856
|
+
contractAddress: string | null;
|
|
3857
|
+
tokenIdentifier: string | null;
|
|
3858
|
+
bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
|
|
3859
|
+
governance: {
|
|
3860
|
+
type: "CLASSIC";
|
|
3861
|
+
policy: {
|
|
3862
|
+
policyId: string;
|
|
3863
|
+
} | {
|
|
3864
|
+
rules: {
|
|
3865
|
+
reviewSteps: ({
|
|
3866
|
+
quorum: number;
|
|
3867
|
+
userIds: string[];
|
|
3868
|
+
} | {
|
|
3869
|
+
quorum: number;
|
|
3870
|
+
groupId: string;
|
|
3871
|
+
})[];
|
|
3872
|
+
threshold?: {
|
|
3873
|
+
min: string | null;
|
|
3874
|
+
max: string | null;
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
whitelistIds?: string[] | undefined;
|
|
3877
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3878
|
+
}[];
|
|
3879
|
+
};
|
|
3880
|
+
} | {
|
|
3881
|
+
type: "TRADELINK";
|
|
3882
|
+
assetManagerId: string;
|
|
3883
|
+
exchangeConfigs: {
|
|
3884
|
+
exchangeId: string;
|
|
3885
|
+
repledgeAuthorized: boolean;
|
|
3886
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
3887
|
+
}[];
|
|
3888
|
+
} | {
|
|
3889
|
+
type: "RAW_SIGNING";
|
|
3890
|
+
policy: {
|
|
3891
|
+
rules: {
|
|
3892
|
+
operationType: "SIGN_DIGESTS";
|
|
3893
|
+
reviewSteps: {
|
|
3894
|
+
quorum: number;
|
|
3895
|
+
userIds: string[];
|
|
3896
|
+
}[];
|
|
3897
|
+
}[];
|
|
3898
|
+
};
|
|
3899
|
+
};
|
|
3900
|
+
portfolioIds?: string[] | undefined;
|
|
3901
|
+
index: number;
|
|
3902
|
+
derivationPath: string;
|
|
3903
|
+
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
3771
3904
|
};
|
|
3772
3905
|
id: string;
|
|
3773
3906
|
legacyId: number;
|
|
@@ -3789,17 +3922,24 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3789
3922
|
retryAfter: Date;
|
|
3790
3923
|
} | undefined;
|
|
3791
3924
|
} | {
|
|
3792
|
-
type: "
|
|
3925
|
+
type: "EDIT_TOKEN_RULE";
|
|
3793
3926
|
data: {
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3927
|
+
parentAccountId: string;
|
|
3928
|
+
contractAddress: string;
|
|
3929
|
+
rules: {
|
|
3930
|
+
reviewSteps: ({
|
|
3931
|
+
quorum: number;
|
|
3932
|
+
userIds: string[];
|
|
3933
|
+
} | {
|
|
3934
|
+
quorum: number;
|
|
3935
|
+
groupId: string;
|
|
3936
|
+
})[];
|
|
3937
|
+
threshold?: {
|
|
3938
|
+
min: string | null;
|
|
3939
|
+
max: string | null;
|
|
3940
|
+
} | undefined;
|
|
3941
|
+
whitelistIds?: string[] | undefined;
|
|
3942
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3803
3943
|
}[];
|
|
3804
3944
|
};
|
|
3805
3945
|
id: string;
|
|
@@ -3822,19 +3962,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3822
3962
|
retryAfter: Date;
|
|
3823
3963
|
} | undefined;
|
|
3824
3964
|
} | {
|
|
3825
|
-
type: "
|
|
3826
|
-
data:
|
|
3827
|
-
tradelinkId: string;
|
|
3828
|
-
groups: {
|
|
3829
|
-
quorum: number;
|
|
3830
|
-
userIds: string[];
|
|
3831
|
-
}[];
|
|
3832
|
-
whitelist: {
|
|
3833
|
-
name: string;
|
|
3834
|
-
currency: string;
|
|
3835
|
-
address: string;
|
|
3836
|
-
}[];
|
|
3837
|
-
};
|
|
3965
|
+
type: "REVOKE_GROUP";
|
|
3966
|
+
data: Record<string, never>;
|
|
3838
3967
|
id: string;
|
|
3839
3968
|
legacyId: number;
|
|
3840
3969
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3855,11 +3984,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3855
3984
|
retryAfter: Date;
|
|
3856
3985
|
} | undefined;
|
|
3857
3986
|
} | {
|
|
3858
|
-
type: "
|
|
3987
|
+
type: "CREATE_API_USER_ACCESS";
|
|
3859
3988
|
data: {
|
|
3860
|
-
|
|
3861
|
-
exchangeId: string;
|
|
3862
|
-
amount: string;
|
|
3989
|
+
name: string;
|
|
3863
3990
|
};
|
|
3864
3991
|
id: string;
|
|
3865
3992
|
legacyId: number;
|
|
@@ -3881,11 +4008,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3881
4008
|
retryAfter: Date;
|
|
3882
4009
|
} | undefined;
|
|
3883
4010
|
} | {
|
|
3884
|
-
type: "
|
|
4011
|
+
type: "CREATE_SCICONFIG";
|
|
3885
4012
|
data: {
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
4013
|
+
account: string;
|
|
4014
|
+
config: {
|
|
4015
|
+
dapps: string[] | null;
|
|
4016
|
+
customContractCallEnabled: boolean;
|
|
4017
|
+
};
|
|
3889
4018
|
};
|
|
3890
4019
|
id: string;
|
|
3891
4020
|
legacyId: number;
|
|
@@ -3907,11 +4036,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3907
4036
|
retryAfter: Date;
|
|
3908
4037
|
} | undefined;
|
|
3909
4038
|
} | {
|
|
3910
|
-
type: "
|
|
4039
|
+
type: "EDIT_SCICONFIG";
|
|
3911
4040
|
data: {
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
4041
|
+
config: {
|
|
4042
|
+
dapps: string[] | null;
|
|
4043
|
+
customContractCallEnabled: boolean;
|
|
4044
|
+
};
|
|
3915
4045
|
};
|
|
3916
4046
|
id: string;
|
|
3917
4047
|
legacyId: number;
|
|
@@ -3933,10 +4063,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3933
4063
|
retryAfter: Date;
|
|
3934
4064
|
} | undefined;
|
|
3935
4065
|
} | {
|
|
3936
|
-
type: "
|
|
4066
|
+
type: "CREATE_API_KEY";
|
|
3937
4067
|
data: {
|
|
3938
|
-
|
|
3939
|
-
|
|
4068
|
+
name: string;
|
|
4069
|
+
entities: string[];
|
|
4070
|
+
scopes: Record<string, never>;
|
|
3940
4071
|
};
|
|
3941
4072
|
id: string;
|
|
3942
4073
|
legacyId: number;
|
|
@@ -3958,10 +4089,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3958
4089
|
retryAfter: Date;
|
|
3959
4090
|
} | undefined;
|
|
3960
4091
|
} | {
|
|
3961
|
-
type: "
|
|
4092
|
+
type: "EDIT_API_KEY";
|
|
3962
4093
|
data: {
|
|
3963
|
-
|
|
3964
|
-
|
|
4094
|
+
name: string;
|
|
4095
|
+
entities: string[];
|
|
4096
|
+
scopes: Record<string, never>;
|
|
3965
4097
|
};
|
|
3966
4098
|
id: string;
|
|
3967
4099
|
legacyId: number;
|
|
@@ -3983,11 +4115,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3983
4115
|
retryAfter: Date;
|
|
3984
4116
|
} | undefined;
|
|
3985
4117
|
} | {
|
|
3986
|
-
type: "
|
|
3987
|
-
data:
|
|
3988
|
-
accountId: string;
|
|
3989
|
-
transaction: SendOnlyTransactionData;
|
|
3990
|
-
};
|
|
4118
|
+
type: "REVOKE_API_KEY";
|
|
4119
|
+
data: Record<string, never>;
|
|
3991
4120
|
id: string;
|
|
3992
4121
|
legacyId: number;
|
|
3993
4122
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -4139,7 +4268,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4139
4268
|
errorResponses?: number[] | Record<number, string>;
|
|
4140
4269
|
};
|
|
4141
4270
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
4142
|
-
errorShape:
|
|
4271
|
+
errorShape: {
|
|
4272
|
+
message: string;
|
|
4273
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4274
|
+
data: {
|
|
4275
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
4276
|
+
httpStatus: number;
|
|
4277
|
+
path?: string;
|
|
4278
|
+
stack?: string;
|
|
4279
|
+
maintenance?: boolean | undefined;
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4143
4282
|
transformer: true;
|
|
4144
4283
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4145
4284
|
dryRun: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4374,7 +4513,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4374
4513
|
errorResponses?: number[] | Record<number, string>;
|
|
4375
4514
|
};
|
|
4376
4515
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
4377
|
-
errorShape:
|
|
4516
|
+
errorShape: {
|
|
4517
|
+
message: string;
|
|
4518
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4519
|
+
data: {
|
|
4520
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
4521
|
+
httpStatus: number;
|
|
4522
|
+
path?: string;
|
|
4523
|
+
stack?: string;
|
|
4524
|
+
maintenance?: boolean | undefined;
|
|
4525
|
+
};
|
|
4526
|
+
};
|
|
4378
4527
|
transformer: true;
|
|
4379
4528
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4380
4529
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4511,7 +4660,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4511
4660
|
errorResponses?: number[] | Record<number, string>;
|
|
4512
4661
|
};
|
|
4513
4662
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
4514
|
-
errorShape:
|
|
4663
|
+
errorShape: {
|
|
4664
|
+
message: string;
|
|
4665
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4666
|
+
data: {
|
|
4667
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
4668
|
+
httpStatus: number;
|
|
4669
|
+
path?: string;
|
|
4670
|
+
stack?: string;
|
|
4671
|
+
maintenance?: boolean | undefined;
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4515
4674
|
transformer: true;
|
|
4516
4675
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4517
4676
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4685,8 +4844,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4685
4844
|
errorResponses?: number[] | Record<number, string>;
|
|
4686
4845
|
};
|
|
4687
4846
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
4688
|
-
errorShape:
|
|
4689
|
-
|
|
4847
|
+
errorShape: {
|
|
4848
|
+
message: string;
|
|
4849
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
4850
|
+
data: {
|
|
4851
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
4852
|
+
httpStatus: number;
|
|
4853
|
+
path?: string;
|
|
4854
|
+
stack?: string;
|
|
4855
|
+
maintenance?: boolean | undefined;
|
|
4856
|
+
};
|
|
4857
|
+
};
|
|
4858
|
+
transformer: true;
|
|
4690
4859
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4691
4860
|
objectsVersion: import("@trpc/server").TRPCQueryProcedure<{
|
|
4692
4861
|
input: {
|
|
@@ -4866,7 +5035,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4866
5035
|
errorResponses?: number[] | Record<number, string>;
|
|
4867
5036
|
};
|
|
4868
5037
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
4869
|
-
errorShape:
|
|
5038
|
+
errorShape: {
|
|
5039
|
+
message: string;
|
|
5040
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
5041
|
+
data: {
|
|
5042
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
5043
|
+
httpStatus: number;
|
|
5044
|
+
path?: string;
|
|
5045
|
+
stack?: string;
|
|
5046
|
+
maintenance?: boolean | undefined;
|
|
5047
|
+
};
|
|
5048
|
+
};
|
|
4870
5049
|
transformer: true;
|
|
4871
5050
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
4872
5051
|
listRequests: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -4886,10 +5065,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4886
5065
|
pageSize: number;
|
|
4887
5066
|
total: number;
|
|
4888
5067
|
results: ({
|
|
4889
|
-
type: "
|
|
5068
|
+
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
4890
5069
|
data: {
|
|
4891
|
-
|
|
4892
|
-
|
|
5070
|
+
settlement: {
|
|
5071
|
+
quorum: number;
|
|
5072
|
+
userIds: string[];
|
|
5073
|
+
}[];
|
|
5074
|
+
withdraw: {
|
|
5075
|
+
quorum: number;
|
|
5076
|
+
userIds: string[];
|
|
5077
|
+
}[];
|
|
5078
|
+
arbitration: {
|
|
5079
|
+
quorum: number;
|
|
5080
|
+
userIds: string[];
|
|
5081
|
+
}[];
|
|
4893
5082
|
};
|
|
4894
5083
|
id: string;
|
|
4895
5084
|
legacyId: number;
|
|
@@ -4911,10 +5100,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4911
5100
|
retryAfter: Date;
|
|
4912
5101
|
} | undefined;
|
|
4913
5102
|
} | {
|
|
4914
|
-
type: "
|
|
4915
|
-
data:
|
|
4916
|
-
quorum: number;
|
|
4917
|
-
};
|
|
5103
|
+
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
5104
|
+
data: null;
|
|
4918
5105
|
id: string;
|
|
4919
5106
|
legacyId: number;
|
|
4920
5107
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -4935,10 +5122,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4935
5122
|
retryAfter: Date;
|
|
4936
5123
|
} | undefined;
|
|
4937
5124
|
} | {
|
|
4938
|
-
type: "
|
|
5125
|
+
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
4939
5126
|
data: {
|
|
4940
|
-
|
|
4941
|
-
|
|
5127
|
+
settlement: {
|
|
5128
|
+
quorum: number;
|
|
5129
|
+
userIds: string[];
|
|
5130
|
+
}[];
|
|
5131
|
+
withdraw: {
|
|
5132
|
+
quorum: number;
|
|
5133
|
+
userIds: string[];
|
|
5134
|
+
}[];
|
|
5135
|
+
arbitration: {
|
|
5136
|
+
quorum: number;
|
|
5137
|
+
userIds: string[];
|
|
5138
|
+
}[];
|
|
4942
5139
|
};
|
|
4943
5140
|
id: string;
|
|
4944
5141
|
legacyId: number;
|
|
@@ -4960,33 +5157,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4960
5157
|
retryAfter: Date;
|
|
4961
5158
|
} | undefined;
|
|
4962
5159
|
} | {
|
|
4963
|
-
type: "
|
|
5160
|
+
type: "TRADELINK_CREATE_EXCHANGE";
|
|
4964
5161
|
data: {
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
primaryType: string;
|
|
4976
|
-
domain: Record<string, any>;
|
|
4977
|
-
message: Record<string, any>;
|
|
4978
|
-
};
|
|
4979
|
-
} | {
|
|
4980
|
-
type: "CIP8";
|
|
4981
|
-
data: string;
|
|
4982
|
-
signingKey: "PAYMENT" | "STAKE";
|
|
4983
|
-
} | {
|
|
4984
|
-
type: "BIP137";
|
|
4985
|
-
data: string;
|
|
4986
|
-
};
|
|
4987
|
-
accountId: string;
|
|
4988
|
-
address: string;
|
|
4989
|
-
derivationPath: string;
|
|
5162
|
+
tradelinkId: string;
|
|
5163
|
+
groups: {
|
|
5164
|
+
quorum: number;
|
|
5165
|
+
userIds: string[];
|
|
5166
|
+
}[];
|
|
5167
|
+
whitelist: {
|
|
5168
|
+
name: string;
|
|
5169
|
+
currency: string;
|
|
5170
|
+
address: string;
|
|
5171
|
+
}[];
|
|
4990
5172
|
};
|
|
4991
5173
|
id: string;
|
|
4992
5174
|
legacyId: number;
|
|
@@ -5008,12 +5190,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5008
5190
|
retryAfter: Date;
|
|
5009
5191
|
} | undefined;
|
|
5010
5192
|
} | {
|
|
5011
|
-
type: "
|
|
5193
|
+
type: "TRADELINK_EDIT_EXCHANGE";
|
|
5012
5194
|
data: {
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5195
|
+
tradelinkId: string;
|
|
5196
|
+
groups: {
|
|
5197
|
+
quorum: number;
|
|
5198
|
+
userIds: string[];
|
|
5199
|
+
}[];
|
|
5200
|
+
whitelist: {
|
|
5201
|
+
name: string;
|
|
5202
|
+
currency: string;
|
|
5203
|
+
address: string;
|
|
5017
5204
|
}[];
|
|
5018
5205
|
};
|
|
5019
5206
|
id: string;
|
|
@@ -5036,58 +5223,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5036
5223
|
retryAfter: Date;
|
|
5037
5224
|
} | undefined;
|
|
5038
5225
|
} | {
|
|
5039
|
-
type: "
|
|
5226
|
+
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
5040
5227
|
data: {
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
rules: {
|
|
5052
|
-
reviewSteps: ({
|
|
5053
|
-
quorum: number;
|
|
5054
|
-
userIds: string[];
|
|
5055
|
-
} | {
|
|
5056
|
-
quorum: number;
|
|
5057
|
-
groupId: string;
|
|
5058
|
-
})[];
|
|
5059
|
-
threshold?: {
|
|
5060
|
-
min: string | null;
|
|
5061
|
-
max: string | null;
|
|
5062
|
-
} | undefined;
|
|
5063
|
-
whitelistIds?: string[] | undefined;
|
|
5064
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5065
|
-
}[];
|
|
5066
|
-
};
|
|
5067
|
-
} | {
|
|
5068
|
-
type: "TRADELINK";
|
|
5069
|
-
assetManagerId: string;
|
|
5070
|
-
exchangeConfigs: {
|
|
5071
|
-
exchangeId: string;
|
|
5072
|
-
repledgeAuthorized: boolean;
|
|
5073
|
-
needsAssetManagerApprovalForSettlements: boolean;
|
|
5074
|
-
}[];
|
|
5075
|
-
} | {
|
|
5076
|
-
type: "RAW_SIGNING";
|
|
5077
|
-
policy: {
|
|
5078
|
-
rules: {
|
|
5079
|
-
operationType: "SIGN_DIGESTS";
|
|
5080
|
-
reviewSteps: {
|
|
5081
|
-
quorum: number;
|
|
5082
|
-
userIds: string[];
|
|
5083
|
-
}[];
|
|
5084
|
-
}[];
|
|
5085
|
-
};
|
|
5086
|
-
};
|
|
5087
|
-
portfolioIds?: string[] | undefined;
|
|
5088
|
-
index: number;
|
|
5089
|
-
derivationPath: string;
|
|
5090
|
-
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
5228
|
+
tradelinkId: string;
|
|
5229
|
+
groups: {
|
|
5230
|
+
quorum: number;
|
|
5231
|
+
userIds: string[];
|
|
5232
|
+
}[];
|
|
5233
|
+
whitelist: {
|
|
5234
|
+
name: string;
|
|
5235
|
+
currency: string;
|
|
5236
|
+
address: string;
|
|
5237
|
+
}[];
|
|
5091
5238
|
};
|
|
5092
5239
|
id: string;
|
|
5093
5240
|
legacyId: number;
|
|
@@ -5109,49 +5256,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5109
5256
|
retryAfter: Date;
|
|
5110
5257
|
} | undefined;
|
|
5111
5258
|
} | {
|
|
5112
|
-
type: "
|
|
5259
|
+
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
5113
5260
|
data: {
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
} | {
|
|
5125
|
-
quorum: number;
|
|
5126
|
-
groupId: string;
|
|
5127
|
-
})[];
|
|
5128
|
-
threshold?: {
|
|
5129
|
-
min: string | null;
|
|
5130
|
-
max: string | null;
|
|
5131
|
-
} | undefined;
|
|
5132
|
-
whitelistIds?: string[] | undefined;
|
|
5133
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5134
|
-
}[];
|
|
5135
|
-
};
|
|
5136
|
-
} | {
|
|
5137
|
-
type: "TRADELINK";
|
|
5138
|
-
exchangeConfigs: {
|
|
5139
|
-
exchangeId: string;
|
|
5140
|
-
repledgeAuthorized: boolean;
|
|
5141
|
-
needsAssetManagerApprovalForSettlements: boolean;
|
|
5142
|
-
}[];
|
|
5143
|
-
} | {
|
|
5144
|
-
type: "RAW_SIGNING";
|
|
5145
|
-
policy: {
|
|
5146
|
-
rules: {
|
|
5147
|
-
operationType: "SIGN_DIGESTS";
|
|
5148
|
-
reviewSteps: {
|
|
5149
|
-
quorum: number;
|
|
5150
|
-
userIds: string[];
|
|
5151
|
-
}[];
|
|
5152
|
-
}[];
|
|
5153
|
-
};
|
|
5154
|
-
};
|
|
5261
|
+
tradelinkId: string;
|
|
5262
|
+
groups: {
|
|
5263
|
+
quorum: number;
|
|
5264
|
+
userIds: string[];
|
|
5265
|
+
}[];
|
|
5266
|
+
whitelist: {
|
|
5267
|
+
name: string;
|
|
5268
|
+
currency: string;
|
|
5269
|
+
address: string;
|
|
5270
|
+
}[];
|
|
5155
5271
|
};
|
|
5156
5272
|
id: string;
|
|
5157
5273
|
legacyId: number;
|
|
@@ -5173,25 +5289,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5173
5289
|
retryAfter: Date;
|
|
5174
5290
|
} | undefined;
|
|
5175
5291
|
} | {
|
|
5176
|
-
type: "
|
|
5292
|
+
type: "TRADELINK_ADJUST_PLEDGE";
|
|
5177
5293
|
data: {
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
reviewSteps: ({
|
|
5182
|
-
quorum: number;
|
|
5183
|
-
userIds: string[];
|
|
5184
|
-
} | {
|
|
5185
|
-
quorum: number;
|
|
5186
|
-
groupId: string;
|
|
5187
|
-
})[];
|
|
5188
|
-
threshold?: {
|
|
5189
|
-
min: string | null;
|
|
5190
|
-
max: string | null;
|
|
5191
|
-
} | undefined;
|
|
5192
|
-
whitelistIds?: string[] | undefined;
|
|
5193
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5194
|
-
}[];
|
|
5294
|
+
accountId: string;
|
|
5295
|
+
exchangeId: string;
|
|
5296
|
+
amount: string;
|
|
5195
5297
|
};
|
|
5196
5298
|
id: string;
|
|
5197
5299
|
legacyId: number;
|
|
@@ -5213,11 +5315,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5213
5315
|
retryAfter: Date;
|
|
5214
5316
|
} | undefined;
|
|
5215
5317
|
} | {
|
|
5216
|
-
type: "
|
|
5318
|
+
type: "TRADELINK_REPLEDGE";
|
|
5217
5319
|
data: {
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5320
|
+
accountId: string;
|
|
5321
|
+
exchangeId: string;
|
|
5322
|
+
amount: string;
|
|
5221
5323
|
};
|
|
5222
5324
|
id: string;
|
|
5223
5325
|
legacyId: number;
|
|
@@ -5239,11 +5341,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5239
5341
|
retryAfter: Date;
|
|
5240
5342
|
} | undefined;
|
|
5241
5343
|
} | {
|
|
5242
|
-
type: "
|
|
5344
|
+
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
5243
5345
|
data: {
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5346
|
+
accountId: string;
|
|
5347
|
+
exchangeId: string;
|
|
5348
|
+
transaction: SendOnlyTransactionData;
|
|
5247
5349
|
};
|
|
5248
5350
|
id: string;
|
|
5249
5351
|
legacyId: number;
|
|
@@ -5265,8 +5367,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5265
5367
|
retryAfter: Date;
|
|
5266
5368
|
} | undefined;
|
|
5267
5369
|
} | {
|
|
5268
|
-
type: "
|
|
5269
|
-
data:
|
|
5370
|
+
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
5371
|
+
data: {
|
|
5372
|
+
accountId: string;
|
|
5373
|
+
exchangeId: string;
|
|
5374
|
+
};
|
|
5270
5375
|
id: string;
|
|
5271
5376
|
legacyId: number;
|
|
5272
5377
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5287,17 +5392,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5287
5392
|
retryAfter: Date;
|
|
5288
5393
|
} | undefined;
|
|
5289
5394
|
} | {
|
|
5290
|
-
type: "
|
|
5395
|
+
type: "TRADELINK_WITHDRAW";
|
|
5291
5396
|
data: {
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
addresses: {
|
|
5295
|
-
name: string;
|
|
5296
|
-
currency: string;
|
|
5297
|
-
address: string;
|
|
5298
|
-
destinationTag?: string | undefined;
|
|
5299
|
-
}[];
|
|
5300
|
-
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
5397
|
+
accountId: string;
|
|
5398
|
+
transaction: SendOnlyTransactionData;
|
|
5301
5399
|
};
|
|
5302
5400
|
id: string;
|
|
5303
5401
|
legacyId: number;
|
|
@@ -5319,15 +5417,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5319
5417
|
retryAfter: Date;
|
|
5320
5418
|
} | undefined;
|
|
5321
5419
|
} | {
|
|
5322
|
-
type: "
|
|
5420
|
+
type: "TRADELINK_ARBITRATE";
|
|
5323
5421
|
data: {
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
name: string;
|
|
5327
|
-
currency: string;
|
|
5328
|
-
address: string;
|
|
5329
|
-
destinationTag?: string | undefined;
|
|
5330
|
-
}[];
|
|
5422
|
+
accountId: string;
|
|
5423
|
+
transaction: SendOnlyTransactionData;
|
|
5331
5424
|
};
|
|
5332
5425
|
id: string;
|
|
5333
5426
|
legacyId: number;
|
|
@@ -5349,11 +5442,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5349
5442
|
retryAfter: Date;
|
|
5350
5443
|
} | undefined;
|
|
5351
5444
|
} | {
|
|
5352
|
-
type: "
|
|
5445
|
+
type: "UPDATE_QUORUM";
|
|
5353
5446
|
data: {
|
|
5354
|
-
|
|
5355
|
-
accountIds: string[];
|
|
5356
|
-
memberIds: string[];
|
|
5447
|
+
quorum: number;
|
|
5357
5448
|
};
|
|
5358
5449
|
id: string;
|
|
5359
5450
|
legacyId: number;
|
|
@@ -5375,11 +5466,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5375
5466
|
retryAfter: Date;
|
|
5376
5467
|
} | undefined;
|
|
5377
5468
|
} | {
|
|
5378
|
-
type: "
|
|
5469
|
+
type: "CREATE_TRANSACTION";
|
|
5379
5470
|
data: {
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
memberIds: string[];
|
|
5471
|
+
accountId: string;
|
|
5472
|
+
transaction: TransactionData;
|
|
5383
5473
|
};
|
|
5384
5474
|
id: string;
|
|
5385
5475
|
legacyId: number;
|
|
@@ -5401,8 +5491,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5401
5491
|
retryAfter: Date;
|
|
5402
5492
|
} | undefined;
|
|
5403
5493
|
} | {
|
|
5404
|
-
type: "
|
|
5405
|
-
data:
|
|
5494
|
+
type: "SIGN_DIGESTS";
|
|
5495
|
+
data: {
|
|
5496
|
+
accountId: string;
|
|
5497
|
+
digests: {
|
|
5498
|
+
digest: string;
|
|
5499
|
+
derivationPath: string;
|
|
5500
|
+
}[];
|
|
5501
|
+
};
|
|
5406
5502
|
id: string;
|
|
5407
5503
|
legacyId: number;
|
|
5408
5504
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5423,9 +5519,49 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5423
5519
|
retryAfter: Date;
|
|
5424
5520
|
} | undefined;
|
|
5425
5521
|
} | {
|
|
5426
|
-
type: "
|
|
5522
|
+
type: "EDIT_ACCOUNT";
|
|
5427
5523
|
data: {
|
|
5428
|
-
|
|
5524
|
+
name: string;
|
|
5525
|
+
governance: {
|
|
5526
|
+
type: "CLASSIC";
|
|
5527
|
+
policy: {
|
|
5528
|
+
policyId: string;
|
|
5529
|
+
} | {
|
|
5530
|
+
rules: {
|
|
5531
|
+
reviewSteps: ({
|
|
5532
|
+
quorum: number;
|
|
5533
|
+
userIds: string[];
|
|
5534
|
+
} | {
|
|
5535
|
+
quorum: number;
|
|
5536
|
+
groupId: string;
|
|
5537
|
+
})[];
|
|
5538
|
+
threshold?: {
|
|
5539
|
+
min: string | null;
|
|
5540
|
+
max: string | null;
|
|
5541
|
+
} | undefined;
|
|
5542
|
+
whitelistIds?: string[] | undefined;
|
|
5543
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5544
|
+
}[];
|
|
5545
|
+
};
|
|
5546
|
+
} | {
|
|
5547
|
+
type: "TRADELINK";
|
|
5548
|
+
exchangeConfigs: {
|
|
5549
|
+
exchangeId: string;
|
|
5550
|
+
repledgeAuthorized: boolean;
|
|
5551
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
5552
|
+
}[];
|
|
5553
|
+
} | {
|
|
5554
|
+
type: "RAW_SIGNING";
|
|
5555
|
+
policy: {
|
|
5556
|
+
rules: {
|
|
5557
|
+
operationType: "SIGN_DIGESTS";
|
|
5558
|
+
reviewSteps: {
|
|
5559
|
+
quorum: number;
|
|
5560
|
+
userIds: string[];
|
|
5561
|
+
}[];
|
|
5562
|
+
}[];
|
|
5563
|
+
};
|
|
5564
|
+
};
|
|
5429
5565
|
};
|
|
5430
5566
|
id: string;
|
|
5431
5567
|
legacyId: number;
|
|
@@ -5447,12 +5583,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5447
5583
|
retryAfter: Date;
|
|
5448
5584
|
} | undefined;
|
|
5449
5585
|
} | {
|
|
5450
|
-
type: "
|
|
5586
|
+
type: "CREATE_GROUP";
|
|
5451
5587
|
data: {
|
|
5452
5588
|
name: string;
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
viewAll?: boolean | undefined;
|
|
5589
|
+
description: string | null;
|
|
5590
|
+
members: string[];
|
|
5456
5591
|
};
|
|
5457
5592
|
id: string;
|
|
5458
5593
|
legacyId: number;
|
|
@@ -5474,9 +5609,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5474
5609
|
retryAfter: Date;
|
|
5475
5610
|
} | undefined;
|
|
5476
5611
|
} | {
|
|
5477
|
-
type: "
|
|
5612
|
+
type: "EDIT_GROUP";
|
|
5478
5613
|
data: {
|
|
5479
5614
|
name: string;
|
|
5615
|
+
description: string | null;
|
|
5616
|
+
members: string[];
|
|
5480
5617
|
};
|
|
5481
5618
|
id: string;
|
|
5482
5619
|
legacyId: number;
|
|
@@ -5498,8 +5635,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5498
5635
|
retryAfter: Date;
|
|
5499
5636
|
} | undefined;
|
|
5500
5637
|
} | {
|
|
5501
|
-
type: "
|
|
5502
|
-
data:
|
|
5638
|
+
type: "CREATE_WHITELIST";
|
|
5639
|
+
data: {
|
|
5640
|
+
name: string;
|
|
5641
|
+
description: string | null;
|
|
5642
|
+
addresses: {
|
|
5643
|
+
name: string;
|
|
5644
|
+
currency: string;
|
|
5645
|
+
address: string;
|
|
5646
|
+
destinationTag?: string | undefined;
|
|
5647
|
+
}[];
|
|
5648
|
+
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
5649
|
+
};
|
|
5503
5650
|
id: string;
|
|
5504
5651
|
legacyId: number;
|
|
5505
5652
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5520,12 +5667,14 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5520
5667
|
retryAfter: Date;
|
|
5521
5668
|
} | undefined;
|
|
5522
5669
|
} | {
|
|
5523
|
-
type: "
|
|
5670
|
+
type: "EDIT_WHITELIST";
|
|
5524
5671
|
data: {
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5672
|
+
name: string;
|
|
5673
|
+
addresses: {
|
|
5674
|
+
name: string;
|
|
5675
|
+
currency: string;
|
|
5676
|
+
address: string;
|
|
5677
|
+
destinationTag?: string | undefined;
|
|
5529
5678
|
}[];
|
|
5530
5679
|
};
|
|
5531
5680
|
id: string;
|
|
@@ -5548,13 +5697,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5548
5697
|
retryAfter: Date;
|
|
5549
5698
|
} | undefined;
|
|
5550
5699
|
} | {
|
|
5551
|
-
type: "
|
|
5700
|
+
type: "CREATE_ENTITY";
|
|
5552
5701
|
data: {
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
customContractCallEnabled: boolean;
|
|
5557
|
-
};
|
|
5702
|
+
name: string;
|
|
5703
|
+
accountIds: string[];
|
|
5704
|
+
memberIds: string[];
|
|
5558
5705
|
};
|
|
5559
5706
|
id: string;
|
|
5560
5707
|
legacyId: number;
|
|
@@ -5576,12 +5723,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5576
5723
|
retryAfter: Date;
|
|
5577
5724
|
} | undefined;
|
|
5578
5725
|
} | {
|
|
5579
|
-
type: "
|
|
5726
|
+
type: "EDIT_ENTITY";
|
|
5580
5727
|
data: {
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
};
|
|
5728
|
+
name: string;
|
|
5729
|
+
accountIds: string[];
|
|
5730
|
+
memberIds: string[];
|
|
5585
5731
|
};
|
|
5586
5732
|
id: string;
|
|
5587
5733
|
legacyId: number;
|
|
@@ -5603,11 +5749,31 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5603
5749
|
retryAfter: Date;
|
|
5604
5750
|
} | undefined;
|
|
5605
5751
|
} | {
|
|
5606
|
-
type: "
|
|
5752
|
+
type: "REVOKE_ENTITY";
|
|
5753
|
+
data: Record<string, never>;
|
|
5754
|
+
id: string;
|
|
5755
|
+
legacyId: number;
|
|
5756
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
5757
|
+
reviewSteps: {
|
|
5758
|
+
stageName: string;
|
|
5759
|
+
quorum: number;
|
|
5760
|
+
}[];
|
|
5761
|
+
currentStepIndex: number;
|
|
5762
|
+
expiresAt: Date;
|
|
5763
|
+
targetId: string | null;
|
|
5764
|
+
note: Note | null;
|
|
5765
|
+
reviews: RequestReview[];
|
|
5766
|
+
createdAt: Date;
|
|
5767
|
+
updatedAt: Date;
|
|
5768
|
+
createdById: string;
|
|
5769
|
+
inflight?: {
|
|
5770
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5771
|
+
retryAfter: Date;
|
|
5772
|
+
} | undefined;
|
|
5773
|
+
} | {
|
|
5774
|
+
type: "CREATE_PSD_USER";
|
|
5607
5775
|
data: {
|
|
5608
|
-
|
|
5609
|
-
entities: string[];
|
|
5610
|
-
scopes: Record<string, never>;
|
|
5776
|
+
registrationId: string;
|
|
5611
5777
|
};
|
|
5612
5778
|
id: string;
|
|
5613
5779
|
legacyId: number;
|
|
@@ -5629,11 +5795,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5629
5795
|
retryAfter: Date;
|
|
5630
5796
|
} | undefined;
|
|
5631
5797
|
} | {
|
|
5632
|
-
type: "
|
|
5798
|
+
type: "CREATE_API_USER";
|
|
5633
5799
|
data: {
|
|
5634
5800
|
name: string;
|
|
5635
|
-
|
|
5636
|
-
|
|
5801
|
+
pubKey: string;
|
|
5802
|
+
role: "ADMIN" | "OPERATOR";
|
|
5803
|
+
viewAll?: boolean | undefined;
|
|
5637
5804
|
};
|
|
5638
5805
|
id: string;
|
|
5639
5806
|
legacyId: number;
|
|
@@ -5655,7 +5822,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5655
5822
|
retryAfter: Date;
|
|
5656
5823
|
} | undefined;
|
|
5657
5824
|
} | {
|
|
5658
|
-
type: "
|
|
5825
|
+
type: "REVOKE_USER";
|
|
5659
5826
|
data: Record<string, never>;
|
|
5660
5827
|
id: string;
|
|
5661
5828
|
legacyId: number;
|
|
@@ -5677,29 +5844,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5677
5844
|
retryAfter: Date;
|
|
5678
5845
|
} | undefined;
|
|
5679
5846
|
} | {
|
|
5680
|
-
type: "
|
|
5847
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
5681
5848
|
data: {
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
contractAddress: string | null;
|
|
5687
|
-
tokenIdentifier: string | null;
|
|
5688
|
-
} | null;
|
|
5689
|
-
govRules: {
|
|
5690
|
-
reviewSteps: ({
|
|
5691
|
-
quorum: number;
|
|
5692
|
-
userIds: string[];
|
|
5693
|
-
} | {
|
|
5694
|
-
quorum: number;
|
|
5695
|
-
groupId: string;
|
|
5696
|
-
})[];
|
|
5697
|
-
threshold?: {
|
|
5698
|
-
min: string | null;
|
|
5699
|
-
max: string | null;
|
|
5700
|
-
} | undefined;
|
|
5701
|
-
whitelistIds?: string[] | undefined;
|
|
5702
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5849
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
5850
|
+
reviewConfig: {
|
|
5851
|
+
quorum: number;
|
|
5852
|
+
userIds: string[];
|
|
5703
5853
|
}[];
|
|
5704
5854
|
};
|
|
5705
5855
|
id: string;
|
|
@@ -5722,10 +5872,15 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5722
5872
|
retryAfter: Date;
|
|
5723
5873
|
} | undefined;
|
|
5724
5874
|
} | {
|
|
5725
|
-
type: "
|
|
5875
|
+
type: "CREATE_POLICY";
|
|
5726
5876
|
data: {
|
|
5727
5877
|
name: string;
|
|
5728
5878
|
description: string | null;
|
|
5879
|
+
asset: {
|
|
5880
|
+
network: string;
|
|
5881
|
+
contractAddress: string | null;
|
|
5882
|
+
tokenIdentifier: string | null;
|
|
5883
|
+
} | null;
|
|
5729
5884
|
govRules: {
|
|
5730
5885
|
reviewSteps: ({
|
|
5731
5886
|
quorum: number;
|
|
@@ -5762,41 +5917,24 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5762
5917
|
retryAfter: Date;
|
|
5763
5918
|
} | undefined;
|
|
5764
5919
|
} | {
|
|
5765
|
-
type: "
|
|
5766
|
-
data: null;
|
|
5767
|
-
id: string;
|
|
5768
|
-
legacyId: number;
|
|
5769
|
-
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
5770
|
-
reviewSteps: {
|
|
5771
|
-
stageName: string;
|
|
5772
|
-
quorum: number;
|
|
5773
|
-
}[];
|
|
5774
|
-
currentStepIndex: number;
|
|
5775
|
-
expiresAt: Date;
|
|
5776
|
-
targetId: string | null;
|
|
5777
|
-
note: Note | null;
|
|
5778
|
-
reviews: RequestReview[];
|
|
5779
|
-
createdAt: Date;
|
|
5780
|
-
updatedAt: Date;
|
|
5781
|
-
createdById: string;
|
|
5782
|
-
inflight?: {
|
|
5783
|
-
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5784
|
-
retryAfter: Date;
|
|
5785
|
-
} | undefined;
|
|
5786
|
-
} | {
|
|
5787
|
-
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
5920
|
+
type: "EDIT_POLICY";
|
|
5788
5921
|
data: {
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5922
|
+
name: string;
|
|
5923
|
+
description: string | null;
|
|
5924
|
+
govRules: {
|
|
5925
|
+
reviewSteps: ({
|
|
5926
|
+
quorum: number;
|
|
5927
|
+
userIds: string[];
|
|
5928
|
+
} | {
|
|
5929
|
+
quorum: number;
|
|
5930
|
+
groupId: string;
|
|
5931
|
+
})[];
|
|
5932
|
+
threshold?: {
|
|
5933
|
+
min: string | null;
|
|
5934
|
+
max: string | null;
|
|
5935
|
+
} | undefined;
|
|
5936
|
+
whitelistIds?: string[] | undefined;
|
|
5937
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5800
5938
|
}[];
|
|
5801
5939
|
};
|
|
5802
5940
|
id: string;
|
|
@@ -5819,20 +5957,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5819
5957
|
retryAfter: Date;
|
|
5820
5958
|
} | undefined;
|
|
5821
5959
|
} | {
|
|
5822
|
-
type: "
|
|
5960
|
+
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
5823
5961
|
data: {
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
userIds: string[];
|
|
5827
|
-
}[];
|
|
5828
|
-
withdraw: {
|
|
5829
|
-
quorum: number;
|
|
5830
|
-
userIds: string[];
|
|
5831
|
-
}[];
|
|
5832
|
-
arbitration: {
|
|
5833
|
-
quorum: number;
|
|
5834
|
-
userIds: string[];
|
|
5835
|
-
}[];
|
|
5962
|
+
previousPublicKeys: string[];
|
|
5963
|
+
requestedPublicKeys: string[];
|
|
5836
5964
|
};
|
|
5837
5965
|
id: string;
|
|
5838
5966
|
legacyId: number;
|
|
@@ -5854,18 +5982,33 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5854
5982
|
retryAfter: Date;
|
|
5855
5983
|
} | undefined;
|
|
5856
5984
|
} | {
|
|
5857
|
-
type: "
|
|
5985
|
+
type: "SIGN_MESSAGE";
|
|
5858
5986
|
data: {
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5987
|
+
message: {
|
|
5988
|
+
type: "EIP191";
|
|
5989
|
+
data: string;
|
|
5990
|
+
} | {
|
|
5991
|
+
type: "EIP712";
|
|
5992
|
+
data: {
|
|
5993
|
+
types: Record<string, {
|
|
5994
|
+
name: string;
|
|
5995
|
+
type: string;
|
|
5996
|
+
}[]>;
|
|
5997
|
+
primaryType: string;
|
|
5998
|
+
domain: Record<string, any>;
|
|
5999
|
+
message: Record<string, any>;
|
|
6000
|
+
};
|
|
6001
|
+
} | {
|
|
6002
|
+
type: "CIP8";
|
|
6003
|
+
data: string;
|
|
6004
|
+
signingKey: "PAYMENT" | "STAKE";
|
|
6005
|
+
} | {
|
|
6006
|
+
type: "BIP137";
|
|
6007
|
+
data: string;
|
|
6008
|
+
};
|
|
6009
|
+
accountId: string;
|
|
6010
|
+
address: string;
|
|
6011
|
+
derivationPath: string;
|
|
5869
6012
|
};
|
|
5870
6013
|
id: string;
|
|
5871
6014
|
legacyId: number;
|
|
@@ -5887,18 +6030,58 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5887
6030
|
retryAfter: Date;
|
|
5888
6031
|
} | undefined;
|
|
5889
6032
|
} | {
|
|
5890
|
-
type: "
|
|
6033
|
+
type: "CREATE_ACCOUNT";
|
|
5891
6034
|
data: {
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
6035
|
+
name: string;
|
|
6036
|
+
currency: string;
|
|
6037
|
+
contractAddress: string | null;
|
|
6038
|
+
tokenIdentifier: string | null;
|
|
6039
|
+
bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
|
|
6040
|
+
governance: {
|
|
6041
|
+
type: "CLASSIC";
|
|
6042
|
+
policy: {
|
|
6043
|
+
policyId: string;
|
|
6044
|
+
} | {
|
|
6045
|
+
rules: {
|
|
6046
|
+
reviewSteps: ({
|
|
6047
|
+
quorum: number;
|
|
6048
|
+
userIds: string[];
|
|
6049
|
+
} | {
|
|
6050
|
+
quorum: number;
|
|
6051
|
+
groupId: string;
|
|
6052
|
+
})[];
|
|
6053
|
+
threshold?: {
|
|
6054
|
+
min: string | null;
|
|
6055
|
+
max: string | null;
|
|
6056
|
+
} | undefined;
|
|
6057
|
+
whitelistIds?: string[] | undefined;
|
|
6058
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6059
|
+
}[];
|
|
6060
|
+
};
|
|
6061
|
+
} | {
|
|
6062
|
+
type: "TRADELINK";
|
|
6063
|
+
assetManagerId: string;
|
|
6064
|
+
exchangeConfigs: {
|
|
6065
|
+
exchangeId: string;
|
|
6066
|
+
repledgeAuthorized: boolean;
|
|
6067
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
6068
|
+
}[];
|
|
6069
|
+
} | {
|
|
6070
|
+
type: "RAW_SIGNING";
|
|
6071
|
+
policy: {
|
|
6072
|
+
rules: {
|
|
6073
|
+
operationType: "SIGN_DIGESTS";
|
|
6074
|
+
reviewSteps: {
|
|
6075
|
+
quorum: number;
|
|
6076
|
+
userIds: string[];
|
|
6077
|
+
}[];
|
|
6078
|
+
}[];
|
|
6079
|
+
};
|
|
6080
|
+
};
|
|
6081
|
+
portfolioIds?: string[] | undefined;
|
|
6082
|
+
index: number;
|
|
6083
|
+
derivationPath: string;
|
|
6084
|
+
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
5902
6085
|
};
|
|
5903
6086
|
id: string;
|
|
5904
6087
|
legacyId: number;
|
|
@@ -5920,17 +6103,24 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5920
6103
|
retryAfter: Date;
|
|
5921
6104
|
} | undefined;
|
|
5922
6105
|
} | {
|
|
5923
|
-
type: "
|
|
6106
|
+
type: "EDIT_TOKEN_RULE";
|
|
5924
6107
|
data: {
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
6108
|
+
parentAccountId: string;
|
|
6109
|
+
contractAddress: string;
|
|
6110
|
+
rules: {
|
|
6111
|
+
reviewSteps: ({
|
|
6112
|
+
quorum: number;
|
|
6113
|
+
userIds: string[];
|
|
6114
|
+
} | {
|
|
6115
|
+
quorum: number;
|
|
6116
|
+
groupId: string;
|
|
6117
|
+
})[];
|
|
6118
|
+
threshold?: {
|
|
6119
|
+
min: string | null;
|
|
6120
|
+
max: string | null;
|
|
6121
|
+
} | undefined;
|
|
6122
|
+
whitelistIds?: string[] | undefined;
|
|
6123
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5934
6124
|
}[];
|
|
5935
6125
|
};
|
|
5936
6126
|
id: string;
|
|
@@ -5953,19 +6143,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5953
6143
|
retryAfter: Date;
|
|
5954
6144
|
} | undefined;
|
|
5955
6145
|
} | {
|
|
5956
|
-
type: "
|
|
5957
|
-
data:
|
|
5958
|
-
tradelinkId: string;
|
|
5959
|
-
groups: {
|
|
5960
|
-
quorum: number;
|
|
5961
|
-
userIds: string[];
|
|
5962
|
-
}[];
|
|
5963
|
-
whitelist: {
|
|
5964
|
-
name: string;
|
|
5965
|
-
currency: string;
|
|
5966
|
-
address: string;
|
|
5967
|
-
}[];
|
|
5968
|
-
};
|
|
6146
|
+
type: "REVOKE_GROUP";
|
|
6147
|
+
data: Record<string, never>;
|
|
5969
6148
|
id: string;
|
|
5970
6149
|
legacyId: number;
|
|
5971
6150
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5986,11 +6165,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5986
6165
|
retryAfter: Date;
|
|
5987
6166
|
} | undefined;
|
|
5988
6167
|
} | {
|
|
5989
|
-
type: "
|
|
6168
|
+
type: "CREATE_API_USER_ACCESS";
|
|
5990
6169
|
data: {
|
|
5991
|
-
|
|
5992
|
-
exchangeId: string;
|
|
5993
|
-
amount: string;
|
|
6170
|
+
name: string;
|
|
5994
6171
|
};
|
|
5995
6172
|
id: string;
|
|
5996
6173
|
legacyId: number;
|
|
@@ -6012,11 +6189,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6012
6189
|
retryAfter: Date;
|
|
6013
6190
|
} | undefined;
|
|
6014
6191
|
} | {
|
|
6015
|
-
type: "
|
|
6192
|
+
type: "CREATE_SCICONFIG";
|
|
6016
6193
|
data: {
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6194
|
+
account: string;
|
|
6195
|
+
config: {
|
|
6196
|
+
dapps: string[] | null;
|
|
6197
|
+
customContractCallEnabled: boolean;
|
|
6198
|
+
};
|
|
6020
6199
|
};
|
|
6021
6200
|
id: string;
|
|
6022
6201
|
legacyId: number;
|
|
@@ -6038,11 +6217,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6038
6217
|
retryAfter: Date;
|
|
6039
6218
|
} | undefined;
|
|
6040
6219
|
} | {
|
|
6041
|
-
type: "
|
|
6220
|
+
type: "EDIT_SCICONFIG";
|
|
6042
6221
|
data: {
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6222
|
+
config: {
|
|
6223
|
+
dapps: string[] | null;
|
|
6224
|
+
customContractCallEnabled: boolean;
|
|
6225
|
+
};
|
|
6046
6226
|
};
|
|
6047
6227
|
id: string;
|
|
6048
6228
|
legacyId: number;
|
|
@@ -6064,10 +6244,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6064
6244
|
retryAfter: Date;
|
|
6065
6245
|
} | undefined;
|
|
6066
6246
|
} | {
|
|
6067
|
-
type: "
|
|
6247
|
+
type: "CREATE_API_KEY";
|
|
6068
6248
|
data: {
|
|
6069
|
-
|
|
6070
|
-
|
|
6249
|
+
name: string;
|
|
6250
|
+
entities: string[];
|
|
6251
|
+
scopes: Record<string, never>;
|
|
6071
6252
|
};
|
|
6072
6253
|
id: string;
|
|
6073
6254
|
legacyId: number;
|
|
@@ -6089,10 +6270,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6089
6270
|
retryAfter: Date;
|
|
6090
6271
|
} | undefined;
|
|
6091
6272
|
} | {
|
|
6092
|
-
type: "
|
|
6273
|
+
type: "EDIT_API_KEY";
|
|
6093
6274
|
data: {
|
|
6094
|
-
|
|
6095
|
-
|
|
6275
|
+
name: string;
|
|
6276
|
+
entities: string[];
|
|
6277
|
+
scopes: Record<string, never>;
|
|
6096
6278
|
};
|
|
6097
6279
|
id: string;
|
|
6098
6280
|
legacyId: number;
|
|
@@ -6114,11 +6296,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6114
6296
|
retryAfter: Date;
|
|
6115
6297
|
} | undefined;
|
|
6116
6298
|
} | {
|
|
6117
|
-
type: "
|
|
6118
|
-
data:
|
|
6119
|
-
accountId: string;
|
|
6120
|
-
transaction: SendOnlyTransactionData;
|
|
6121
|
-
};
|
|
6299
|
+
type: "REVOKE_API_KEY";
|
|
6300
|
+
data: Record<string, never>;
|
|
6122
6301
|
id: string;
|
|
6123
6302
|
legacyId: number;
|
|
6124
6303
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6256,7 +6435,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6256
6435
|
errorResponses?: number[] | Record<number, string>;
|
|
6257
6436
|
};
|
|
6258
6437
|
} & RateLimitMetricsMeta & BackofficePermissionMeta;
|
|
6259
|
-
errorShape:
|
|
6438
|
+
errorShape: {
|
|
6439
|
+
message: string;
|
|
6440
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
6441
|
+
data: {
|
|
6442
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
6443
|
+
httpStatus: number;
|
|
6444
|
+
path?: string;
|
|
6445
|
+
stack?: string;
|
|
6446
|
+
maintenance?: boolean | undefined;
|
|
6447
|
+
};
|
|
6448
|
+
};
|
|
6260
6449
|
transformer: true;
|
|
6261
6450
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6262
6451
|
list: import("@trpc/server").TRPCQueryProcedure<{
|