@ledgerhq/revault-api 1.82.1 → 1.82.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{app-lib-B1PMGp4x.d.mts → app-lib-Dak2ZzBR.d.mts} +376 -369
- package/lib/fakes.d.mts +1 -1
- package/lib/fakes.mjs +20 -16
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/index.mjs +20 -19
- package/lib/index.mjs.map +1 -1
- package/lib/internal/app-lib.d.mts +734 -729
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-Dak2ZzBR.mjs";
|
|
2
2
|
import z from "zod";
|
|
3
3
|
import "trpc-to-openapi";
|
|
4
4
|
//#region src/core/workspaces/schemas.d.ts
|
|
@@ -1947,7 +1947,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1947
1947
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1948
1948
|
address?: string | undefined;
|
|
1949
1949
|
currency?: string | undefined;
|
|
1950
|
-
sortBy?: "createdAt" | "name" | "status" | "updatedAt" | undefined;
|
|
1950
|
+
sortBy?: "addressCount" | "createdAt" | "name" | "status" | "updatedAt" | undefined;
|
|
1951
1951
|
sortOrder?: "asc" | "desc" | undefined;
|
|
1952
1952
|
};
|
|
1953
1953
|
output: {
|
|
@@ -1968,6 +1968,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1968
1968
|
address: string;
|
|
1969
1969
|
destinationTag?: string | undefined;
|
|
1970
1970
|
}[];
|
|
1971
|
+
addressCount: number;
|
|
1971
1972
|
createdAt: Date;
|
|
1972
1973
|
updatedAt: Date;
|
|
1973
1974
|
description: string | null;
|
|
@@ -2013,6 +2014,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2013
2014
|
address: string;
|
|
2014
2015
|
destinationTag?: string | undefined;
|
|
2015
2016
|
}[];
|
|
2017
|
+
addressCount: number;
|
|
2016
2018
|
createdAt: Date;
|
|
2017
2019
|
updatedAt: Date;
|
|
2018
2020
|
description: string | null;
|
|
@@ -2137,6 +2139,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2137
2139
|
address: string;
|
|
2138
2140
|
destinationTag?: string | undefined;
|
|
2139
2141
|
}[];
|
|
2142
|
+
addressCount: number;
|
|
2140
2143
|
createdAt: Date;
|
|
2141
2144
|
updatedAt: Date;
|
|
2142
2145
|
description: string | null;
|
|
@@ -2264,6 +2267,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2264
2267
|
address: string;
|
|
2265
2268
|
destinationTag?: string | undefined;
|
|
2266
2269
|
}[];
|
|
2270
|
+
addressCount: number;
|
|
2267
2271
|
createdAt: Date;
|
|
2268
2272
|
updatedAt: Date;
|
|
2269
2273
|
description: string | null;
|
|
@@ -2373,6 +2377,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2373
2377
|
address: string;
|
|
2374
2378
|
destinationTag?: string | undefined;
|
|
2375
2379
|
}[];
|
|
2380
|
+
addressCount: number;
|
|
2376
2381
|
createdAt: Date;
|
|
2377
2382
|
updatedAt: Date;
|
|
2378
2383
|
description: string | null;
|
|
@@ -2884,20 +2889,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2884
2889
|
id: string;
|
|
2885
2890
|
};
|
|
2886
2891
|
output: ({
|
|
2887
|
-
type: "
|
|
2892
|
+
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
2888
2893
|
data: {
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
userIds: string[];
|
|
2892
|
-
}[];
|
|
2893
|
-
withdraw: {
|
|
2894
|
-
quorum: number;
|
|
2895
|
-
userIds: string[];
|
|
2896
|
-
}[];
|
|
2897
|
-
arbitration: {
|
|
2898
|
-
quorum: number;
|
|
2899
|
-
userIds: string[];
|
|
2900
|
-
}[];
|
|
2894
|
+
previousPublicKeys: string[];
|
|
2895
|
+
requestedPublicKeys: string[];
|
|
2901
2896
|
};
|
|
2902
2897
|
id: string;
|
|
2903
2898
|
legacyId: number;
|
|
@@ -2919,8 +2914,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2919
2914
|
retryAfter: Date;
|
|
2920
2915
|
} | undefined;
|
|
2921
2916
|
} | {
|
|
2922
|
-
type: "
|
|
2923
|
-
data:
|
|
2917
|
+
type: "UPDATE_QUORUM";
|
|
2918
|
+
data: {
|
|
2919
|
+
quorum: number;
|
|
2920
|
+
};
|
|
2924
2921
|
id: string;
|
|
2925
2922
|
legacyId: number;
|
|
2926
2923
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -2941,20 +2938,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2941
2938
|
retryAfter: Date;
|
|
2942
2939
|
} | undefined;
|
|
2943
2940
|
} | {
|
|
2944
|
-
type: "
|
|
2941
|
+
type: "CREATE_TRANSACTION";
|
|
2945
2942
|
data: {
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
userIds: string[];
|
|
2949
|
-
}[];
|
|
2950
|
-
withdraw: {
|
|
2951
|
-
quorum: number;
|
|
2952
|
-
userIds: string[];
|
|
2953
|
-
}[];
|
|
2954
|
-
arbitration: {
|
|
2955
|
-
quorum: number;
|
|
2956
|
-
userIds: string[];
|
|
2957
|
-
}[];
|
|
2943
|
+
accountId: string;
|
|
2944
|
+
transaction: TransactionData;
|
|
2958
2945
|
};
|
|
2959
2946
|
id: string;
|
|
2960
2947
|
legacyId: number;
|
|
@@ -2976,18 +2963,33 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2976
2963
|
retryAfter: Date;
|
|
2977
2964
|
} | undefined;
|
|
2978
2965
|
} | {
|
|
2979
|
-
type: "
|
|
2966
|
+
type: "SIGN_MESSAGE";
|
|
2980
2967
|
data: {
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2968
|
+
message: {
|
|
2969
|
+
type: "EIP191";
|
|
2970
|
+
data: string;
|
|
2971
|
+
} | {
|
|
2972
|
+
type: "EIP712";
|
|
2973
|
+
data: {
|
|
2974
|
+
types: Record<string, {
|
|
2975
|
+
name: string;
|
|
2976
|
+
type: string;
|
|
2977
|
+
}[]>;
|
|
2978
|
+
primaryType: string;
|
|
2979
|
+
domain: Record<string, any>;
|
|
2980
|
+
message: Record<string, any>;
|
|
2981
|
+
};
|
|
2982
|
+
} | {
|
|
2983
|
+
type: "CIP8";
|
|
2984
|
+
data: string;
|
|
2985
|
+
signingKey: "PAYMENT" | "STAKE";
|
|
2986
|
+
} | {
|
|
2987
|
+
type: "BIP137";
|
|
2988
|
+
data: string;
|
|
2989
|
+
};
|
|
2990
|
+
accountId: string;
|
|
2991
|
+
address: string;
|
|
2992
|
+
derivationPath: string;
|
|
2991
2993
|
};
|
|
2992
2994
|
id: string;
|
|
2993
2995
|
legacyId: number;
|
|
@@ -3009,17 +3011,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3009
3011
|
retryAfter: Date;
|
|
3010
3012
|
} | undefined;
|
|
3011
3013
|
} | {
|
|
3012
|
-
type: "
|
|
3014
|
+
type: "SIGN_DIGESTS";
|
|
3013
3015
|
data: {
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
}[];
|
|
3019
|
-
whitelist: {
|
|
3020
|
-
name: string;
|
|
3021
|
-
currency: string;
|
|
3022
|
-
address: string;
|
|
3016
|
+
accountId: string;
|
|
3017
|
+
digests: {
|
|
3018
|
+
digest: string;
|
|
3019
|
+
derivationPath: string;
|
|
3023
3020
|
}[];
|
|
3024
3021
|
};
|
|
3025
3022
|
id: string;
|
|
@@ -3042,18 +3039,58 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3042
3039
|
retryAfter: Date;
|
|
3043
3040
|
} | undefined;
|
|
3044
3041
|
} | {
|
|
3045
|
-
type: "
|
|
3042
|
+
type: "CREATE_ACCOUNT";
|
|
3046
3043
|
data: {
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3044
|
+
name: string;
|
|
3045
|
+
currency: string;
|
|
3046
|
+
contractAddress: string | null;
|
|
3047
|
+
tokenIdentifier: string | null;
|
|
3048
|
+
bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
|
|
3049
|
+
governance: {
|
|
3050
|
+
type: "CLASSIC";
|
|
3051
|
+
policy: {
|
|
3052
|
+
policyId: string;
|
|
3053
|
+
} | {
|
|
3054
|
+
rules: {
|
|
3055
|
+
reviewSteps: ({
|
|
3056
|
+
quorum: number;
|
|
3057
|
+
userIds: string[];
|
|
3058
|
+
} | {
|
|
3059
|
+
quorum: number;
|
|
3060
|
+
groupId: string;
|
|
3061
|
+
})[];
|
|
3062
|
+
threshold?: {
|
|
3063
|
+
min: string | null;
|
|
3064
|
+
max: string | null;
|
|
3065
|
+
} | undefined;
|
|
3066
|
+
whitelistIds?: string[] | undefined;
|
|
3067
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3068
|
+
}[];
|
|
3069
|
+
};
|
|
3070
|
+
} | {
|
|
3071
|
+
type: "TRADELINK";
|
|
3072
|
+
assetManagerId: string;
|
|
3073
|
+
exchangeConfigs: {
|
|
3074
|
+
exchangeId: string;
|
|
3075
|
+
repledgeAuthorized: boolean;
|
|
3076
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
3077
|
+
}[];
|
|
3078
|
+
} | {
|
|
3079
|
+
type: "RAW_SIGNING";
|
|
3080
|
+
policy: {
|
|
3081
|
+
rules: {
|
|
3082
|
+
operationType: "SIGN_DIGESTS";
|
|
3083
|
+
reviewSteps: {
|
|
3084
|
+
quorum: number;
|
|
3085
|
+
userIds: string[];
|
|
3086
|
+
}[];
|
|
3087
|
+
}[];
|
|
3088
|
+
};
|
|
3089
|
+
};
|
|
3090
|
+
portfolioIds?: string[] | undefined;
|
|
3091
|
+
index: number;
|
|
3092
|
+
derivationPath: string;
|
|
3093
|
+
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";
|
|
3057
3094
|
};
|
|
3058
3095
|
id: string;
|
|
3059
3096
|
legacyId: number;
|
|
@@ -3075,18 +3112,49 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3075
3112
|
retryAfter: Date;
|
|
3076
3113
|
} | undefined;
|
|
3077
3114
|
} | {
|
|
3078
|
-
type: "
|
|
3115
|
+
type: "EDIT_ACCOUNT";
|
|
3079
3116
|
data: {
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3117
|
+
name: string;
|
|
3118
|
+
governance: {
|
|
3119
|
+
type: "CLASSIC";
|
|
3120
|
+
policy: {
|
|
3121
|
+
policyId: string;
|
|
3122
|
+
} | {
|
|
3123
|
+
rules: {
|
|
3124
|
+
reviewSteps: ({
|
|
3125
|
+
quorum: number;
|
|
3126
|
+
userIds: string[];
|
|
3127
|
+
} | {
|
|
3128
|
+
quorum: number;
|
|
3129
|
+
groupId: string;
|
|
3130
|
+
})[];
|
|
3131
|
+
threshold?: {
|
|
3132
|
+
min: string | null;
|
|
3133
|
+
max: string | null;
|
|
3134
|
+
} | undefined;
|
|
3135
|
+
whitelistIds?: string[] | undefined;
|
|
3136
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3137
|
+
}[];
|
|
3138
|
+
};
|
|
3139
|
+
} | {
|
|
3140
|
+
type: "TRADELINK";
|
|
3141
|
+
exchangeConfigs: {
|
|
3142
|
+
exchangeId: string;
|
|
3143
|
+
repledgeAuthorized: boolean;
|
|
3144
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
3145
|
+
}[];
|
|
3146
|
+
} | {
|
|
3147
|
+
type: "RAW_SIGNING";
|
|
3148
|
+
policy: {
|
|
3149
|
+
rules: {
|
|
3150
|
+
operationType: "SIGN_DIGESTS";
|
|
3151
|
+
reviewSteps: {
|
|
3152
|
+
quorum: number;
|
|
3153
|
+
userIds: string[];
|
|
3154
|
+
}[];
|
|
3155
|
+
}[];
|
|
3156
|
+
};
|
|
3157
|
+
};
|
|
3090
3158
|
};
|
|
3091
3159
|
id: string;
|
|
3092
3160
|
legacyId: number;
|
|
@@ -3108,11 +3176,25 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3108
3176
|
retryAfter: Date;
|
|
3109
3177
|
} | undefined;
|
|
3110
3178
|
} | {
|
|
3111
|
-
type: "
|
|
3179
|
+
type: "EDIT_TOKEN_RULE";
|
|
3112
3180
|
data: {
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3181
|
+
parentAccountId: string;
|
|
3182
|
+
contractAddress: string;
|
|
3183
|
+
rules: {
|
|
3184
|
+
reviewSteps: ({
|
|
3185
|
+
quorum: number;
|
|
3186
|
+
userIds: string[];
|
|
3187
|
+
} | {
|
|
3188
|
+
quorum: number;
|
|
3189
|
+
groupId: string;
|
|
3190
|
+
})[];
|
|
3191
|
+
threshold?: {
|
|
3192
|
+
min: string | null;
|
|
3193
|
+
max: string | null;
|
|
3194
|
+
} | undefined;
|
|
3195
|
+
whitelistIds?: string[] | undefined;
|
|
3196
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3197
|
+
}[];
|
|
3116
3198
|
};
|
|
3117
3199
|
id: string;
|
|
3118
3200
|
legacyId: number;
|
|
@@ -3134,11 +3216,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3134
3216
|
retryAfter: Date;
|
|
3135
3217
|
} | undefined;
|
|
3136
3218
|
} | {
|
|
3137
|
-
type: "
|
|
3219
|
+
type: "CREATE_GROUP";
|
|
3138
3220
|
data: {
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3221
|
+
name: string;
|
|
3222
|
+
description: string | null;
|
|
3223
|
+
members: string[];
|
|
3142
3224
|
};
|
|
3143
3225
|
id: string;
|
|
3144
3226
|
legacyId: number;
|
|
@@ -3160,11 +3242,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3160
3242
|
retryAfter: Date;
|
|
3161
3243
|
} | undefined;
|
|
3162
3244
|
} | {
|
|
3163
|
-
type: "
|
|
3245
|
+
type: "EDIT_GROUP";
|
|
3164
3246
|
data: {
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3247
|
+
name: string;
|
|
3248
|
+
description: string | null;
|
|
3249
|
+
members: string[];
|
|
3168
3250
|
};
|
|
3169
3251
|
id: string;
|
|
3170
3252
|
legacyId: number;
|
|
@@ -3186,11 +3268,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3186
3268
|
retryAfter: Date;
|
|
3187
3269
|
} | undefined;
|
|
3188
3270
|
} | {
|
|
3189
|
-
type: "
|
|
3190
|
-
data:
|
|
3191
|
-
accountId: string;
|
|
3192
|
-
exchangeId: string;
|
|
3193
|
-
};
|
|
3271
|
+
type: "REVOKE_GROUP";
|
|
3272
|
+
data: Record<string, never>;
|
|
3194
3273
|
id: string;
|
|
3195
3274
|
legacyId: number;
|
|
3196
3275
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3211,11 +3290,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3211
3290
|
retryAfter: Date;
|
|
3212
3291
|
} | undefined;
|
|
3213
3292
|
} | {
|
|
3214
|
-
type: "
|
|
3293
|
+
type: "CREATE_WHITELIST";
|
|
3215
3294
|
data: {
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3295
|
+
name: string;
|
|
3296
|
+
description: string | null;
|
|
3297
|
+
addresses: {
|
|
3298
|
+
name: string;
|
|
3299
|
+
currency: string;
|
|
3300
|
+
address: string;
|
|
3301
|
+
destinationTag?: string | undefined;
|
|
3302
|
+
}[];
|
|
3303
|
+
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
3304
|
+
};
|
|
3219
3305
|
id: string;
|
|
3220
3306
|
legacyId: number;
|
|
3221
3307
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3236,10 +3322,15 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3236
3322
|
retryAfter: Date;
|
|
3237
3323
|
} | undefined;
|
|
3238
3324
|
} | {
|
|
3239
|
-
type: "
|
|
3325
|
+
type: "EDIT_WHITELIST";
|
|
3240
3326
|
data: {
|
|
3241
|
-
|
|
3242
|
-
|
|
3327
|
+
name: string;
|
|
3328
|
+
addresses: {
|
|
3329
|
+
name: string;
|
|
3330
|
+
currency: string;
|
|
3331
|
+
address: string;
|
|
3332
|
+
destinationTag?: string | undefined;
|
|
3333
|
+
}[];
|
|
3243
3334
|
};
|
|
3244
3335
|
id: string;
|
|
3245
3336
|
legacyId: number;
|
|
@@ -3261,9 +3352,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3261
3352
|
retryAfter: Date;
|
|
3262
3353
|
} | undefined;
|
|
3263
3354
|
} | {
|
|
3264
|
-
type: "
|
|
3355
|
+
type: "CREATE_ENTITY";
|
|
3265
3356
|
data: {
|
|
3266
|
-
|
|
3357
|
+
name: string;
|
|
3358
|
+
accountIds: string[];
|
|
3359
|
+
memberIds: string[];
|
|
3267
3360
|
};
|
|
3268
3361
|
id: string;
|
|
3269
3362
|
legacyId: number;
|
|
@@ -3285,10 +3378,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3285
3378
|
retryAfter: Date;
|
|
3286
3379
|
} | undefined;
|
|
3287
3380
|
} | {
|
|
3288
|
-
type: "
|
|
3381
|
+
type: "EDIT_ENTITY";
|
|
3289
3382
|
data: {
|
|
3290
|
-
|
|
3291
|
-
|
|
3383
|
+
name: string;
|
|
3384
|
+
accountIds: string[];
|
|
3385
|
+
memberIds: string[];
|
|
3292
3386
|
};
|
|
3293
3387
|
id: string;
|
|
3294
3388
|
legacyId: number;
|
|
@@ -3310,14 +3404,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3310
3404
|
retryAfter: Date;
|
|
3311
3405
|
} | undefined;
|
|
3312
3406
|
} | {
|
|
3313
|
-
type: "
|
|
3314
|
-
data:
|
|
3315
|
-
accountId: string;
|
|
3316
|
-
digests: {
|
|
3317
|
-
digest: string;
|
|
3318
|
-
derivationPath: string;
|
|
3319
|
-
}[];
|
|
3320
|
-
};
|
|
3407
|
+
type: "REVOKE_ENTITY";
|
|
3408
|
+
data: Record<string, never>;
|
|
3321
3409
|
id: string;
|
|
3322
3410
|
legacyId: number;
|
|
3323
3411
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3338,49 +3426,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3338
3426
|
retryAfter: Date;
|
|
3339
3427
|
} | undefined;
|
|
3340
3428
|
} | {
|
|
3341
|
-
type: "
|
|
3429
|
+
type: "CREATE_PSD_USER";
|
|
3342
3430
|
data: {
|
|
3343
|
-
|
|
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
|
-
};
|
|
3431
|
+
registrationId: string;
|
|
3384
3432
|
};
|
|
3385
3433
|
id: string;
|
|
3386
3434
|
legacyId: number;
|
|
@@ -3402,11 +3450,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3402
3450
|
retryAfter: Date;
|
|
3403
3451
|
} | undefined;
|
|
3404
3452
|
} | {
|
|
3405
|
-
type: "
|
|
3453
|
+
type: "CREATE_API_USER";
|
|
3406
3454
|
data: {
|
|
3407
3455
|
name: string;
|
|
3408
|
-
|
|
3409
|
-
|
|
3456
|
+
pubKey: string;
|
|
3457
|
+
role: "ADMIN" | "OPERATOR";
|
|
3458
|
+
viewAll?: boolean | undefined;
|
|
3410
3459
|
};
|
|
3411
3460
|
id: string;
|
|
3412
3461
|
legacyId: number;
|
|
@@ -3428,11 +3477,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3428
3477
|
retryAfter: Date;
|
|
3429
3478
|
} | undefined;
|
|
3430
3479
|
} | {
|
|
3431
|
-
type: "
|
|
3480
|
+
type: "CREATE_API_USER_ACCESS";
|
|
3432
3481
|
data: {
|
|
3433
3482
|
name: string;
|
|
3434
|
-
description: string | null;
|
|
3435
|
-
members: string[];
|
|
3436
3483
|
};
|
|
3437
3484
|
id: string;
|
|
3438
3485
|
legacyId: number;
|
|
@@ -3454,18 +3501,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3454
3501
|
retryAfter: Date;
|
|
3455
3502
|
} | undefined;
|
|
3456
3503
|
} | {
|
|
3457
|
-
type: "
|
|
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
|
-
};
|
|
3504
|
+
type: "REVOKE_USER";
|
|
3505
|
+
data: Record<string, never>;
|
|
3469
3506
|
id: string;
|
|
3470
3507
|
legacyId: number;
|
|
3471
3508
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3486,14 +3523,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3486
3523
|
retryAfter: Date;
|
|
3487
3524
|
} | undefined;
|
|
3488
3525
|
} | {
|
|
3489
|
-
type: "
|
|
3526
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
3490
3527
|
data: {
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
address: string;
|
|
3496
|
-
destinationTag?: string | undefined;
|
|
3528
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
3529
|
+
reviewConfig: {
|
|
3530
|
+
quorum: number;
|
|
3531
|
+
userIds: string[];
|
|
3497
3532
|
}[];
|
|
3498
3533
|
};
|
|
3499
3534
|
id: string;
|
|
@@ -3516,11 +3551,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3516
3551
|
retryAfter: Date;
|
|
3517
3552
|
} | undefined;
|
|
3518
3553
|
} | {
|
|
3519
|
-
type: "
|
|
3554
|
+
type: "CREATE_SCICONFIG";
|
|
3520
3555
|
data: {
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3556
|
+
account: string;
|
|
3557
|
+
config: {
|
|
3558
|
+
dapps: string[] | null;
|
|
3559
|
+
customContractCallEnabled: boolean;
|
|
3560
|
+
};
|
|
3524
3561
|
};
|
|
3525
3562
|
id: string;
|
|
3526
3563
|
legacyId: number;
|
|
@@ -3542,11 +3579,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3542
3579
|
retryAfter: Date;
|
|
3543
3580
|
} | undefined;
|
|
3544
3581
|
} | {
|
|
3545
|
-
type: "
|
|
3582
|
+
type: "EDIT_SCICONFIG";
|
|
3546
3583
|
data: {
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3584
|
+
config: {
|
|
3585
|
+
dapps: string[] | null;
|
|
3586
|
+
customContractCallEnabled: boolean;
|
|
3587
|
+
};
|
|
3550
3588
|
};
|
|
3551
3589
|
id: string;
|
|
3552
3590
|
legacyId: number;
|
|
@@ -3568,31 +3606,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3568
3606
|
retryAfter: Date;
|
|
3569
3607
|
} | undefined;
|
|
3570
3608
|
} | {
|
|
3571
|
-
type: "
|
|
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";
|
|
3609
|
+
type: "CREATE_API_KEY";
|
|
3594
3610
|
data: {
|
|
3595
|
-
|
|
3611
|
+
name: string;
|
|
3612
|
+
entities: string[];
|
|
3613
|
+
scopes: Record<string, never>;
|
|
3596
3614
|
};
|
|
3597
3615
|
id: string;
|
|
3598
3616
|
legacyId: number;
|
|
@@ -3614,12 +3632,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3614
3632
|
retryAfter: Date;
|
|
3615
3633
|
} | undefined;
|
|
3616
3634
|
} | {
|
|
3617
|
-
type: "
|
|
3635
|
+
type: "EDIT_API_KEY";
|
|
3618
3636
|
data: {
|
|
3619
3637
|
name: string;
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
viewAll?: boolean | undefined;
|
|
3638
|
+
entities: string[];
|
|
3639
|
+
scopes: Record<string, never>;
|
|
3623
3640
|
};
|
|
3624
3641
|
id: string;
|
|
3625
3642
|
legacyId: number;
|
|
@@ -3641,7 +3658,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3641
3658
|
retryAfter: Date;
|
|
3642
3659
|
} | undefined;
|
|
3643
3660
|
} | {
|
|
3644
|
-
type: "
|
|
3661
|
+
type: "REVOKE_API_KEY";
|
|
3645
3662
|
data: Record<string, never>;
|
|
3646
3663
|
id: string;
|
|
3647
3664
|
legacyId: number;
|
|
@@ -3662,34 +3679,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3662
3679
|
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3663
3680
|
retryAfter: Date;
|
|
3664
3681
|
} | 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;
|
|
3693
3682
|
} | {
|
|
3694
3683
|
type: "CREATE_POLICY";
|
|
3695
3684
|
data: {
|
|
@@ -3776,11 +3765,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3776
3765
|
retryAfter: Date;
|
|
3777
3766
|
} | undefined;
|
|
3778
3767
|
} | {
|
|
3779
|
-
type: "
|
|
3780
|
-
data:
|
|
3781
|
-
previousPublicKeys: string[];
|
|
3782
|
-
requestedPublicKeys: string[];
|
|
3783
|
-
};
|
|
3768
|
+
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
3769
|
+
data: null;
|
|
3784
3770
|
id: string;
|
|
3785
3771
|
legacyId: number;
|
|
3786
3772
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3801,33 +3787,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3801
3787
|
retryAfter: Date;
|
|
3802
3788
|
} | undefined;
|
|
3803
3789
|
} | {
|
|
3804
|
-
type: "
|
|
3790
|
+
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
3805
3791
|
data: {
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
}
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
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;
|
|
3792
|
+
settlement: {
|
|
3793
|
+
quorum: number;
|
|
3794
|
+
userIds: string[];
|
|
3795
|
+
}[];
|
|
3796
|
+
withdraw: {
|
|
3797
|
+
quorum: number;
|
|
3798
|
+
userIds: string[];
|
|
3799
|
+
}[];
|
|
3800
|
+
arbitration: {
|
|
3801
|
+
quorum: number;
|
|
3802
|
+
userIds: string[];
|
|
3803
|
+
}[];
|
|
3831
3804
|
};
|
|
3832
3805
|
id: string;
|
|
3833
3806
|
legacyId: number;
|
|
@@ -3849,58 +3822,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3849
3822
|
retryAfter: Date;
|
|
3850
3823
|
} | undefined;
|
|
3851
3824
|
} | {
|
|
3852
|
-
type: "
|
|
3825
|
+
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
3853
3826
|
data: {
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
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";
|
|
3827
|
+
settlement: {
|
|
3828
|
+
quorum: number;
|
|
3829
|
+
userIds: string[];
|
|
3830
|
+
}[];
|
|
3831
|
+
withdraw: {
|
|
3832
|
+
quorum: number;
|
|
3833
|
+
userIds: string[];
|
|
3834
|
+
}[];
|
|
3835
|
+
arbitration: {
|
|
3836
|
+
quorum: number;
|
|
3837
|
+
userIds: string[];
|
|
3838
|
+
}[];
|
|
3904
3839
|
};
|
|
3905
3840
|
id: string;
|
|
3906
3841
|
legacyId: number;
|
|
@@ -3922,24 +3857,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3922
3857
|
retryAfter: Date;
|
|
3923
3858
|
} | undefined;
|
|
3924
3859
|
} | {
|
|
3925
|
-
type: "
|
|
3860
|
+
type: "TRADELINK_CREATE_EXCHANGE";
|
|
3926
3861
|
data: {
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
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";
|
|
3862
|
+
tradelinkId: string;
|
|
3863
|
+
groups: {
|
|
3864
|
+
quorum: number;
|
|
3865
|
+
userIds: string[];
|
|
3866
|
+
}[];
|
|
3867
|
+
whitelist: {
|
|
3868
|
+
name: string;
|
|
3869
|
+
currency: string;
|
|
3870
|
+
address: string;
|
|
3943
3871
|
}[];
|
|
3944
3872
|
};
|
|
3945
3873
|
id: string;
|
|
@@ -3962,8 +3890,19 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3962
3890
|
retryAfter: Date;
|
|
3963
3891
|
} | undefined;
|
|
3964
3892
|
} | {
|
|
3965
|
-
type: "
|
|
3966
|
-
data:
|
|
3893
|
+
type: "TRADELINK_EDIT_EXCHANGE";
|
|
3894
|
+
data: {
|
|
3895
|
+
tradelinkId: string;
|
|
3896
|
+
groups: {
|
|
3897
|
+
quorum: number;
|
|
3898
|
+
userIds: string[];
|
|
3899
|
+
}[];
|
|
3900
|
+
whitelist: {
|
|
3901
|
+
name: string;
|
|
3902
|
+
currency: string;
|
|
3903
|
+
address: string;
|
|
3904
|
+
}[];
|
|
3905
|
+
};
|
|
3967
3906
|
id: string;
|
|
3968
3907
|
legacyId: number;
|
|
3969
3908
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3984,9 +3923,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3984
3923
|
retryAfter: Date;
|
|
3985
3924
|
} | undefined;
|
|
3986
3925
|
} | {
|
|
3987
|
-
type: "
|
|
3926
|
+
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
3988
3927
|
data: {
|
|
3989
|
-
|
|
3928
|
+
tradelinkId: string;
|
|
3929
|
+
groups: {
|
|
3930
|
+
quorum: number;
|
|
3931
|
+
userIds: string[];
|
|
3932
|
+
}[];
|
|
3933
|
+
whitelist: {
|
|
3934
|
+
name: string;
|
|
3935
|
+
currency: string;
|
|
3936
|
+
address: string;
|
|
3937
|
+
}[];
|
|
3990
3938
|
};
|
|
3991
3939
|
id: string;
|
|
3992
3940
|
legacyId: number;
|
|
@@ -4008,13 +3956,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4008
3956
|
retryAfter: Date;
|
|
4009
3957
|
} | undefined;
|
|
4010
3958
|
} | {
|
|
4011
|
-
type: "
|
|
3959
|
+
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
4012
3960
|
data: {
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
};
|
|
3961
|
+
tradelinkId: string;
|
|
3962
|
+
groups: {
|
|
3963
|
+
quorum: number;
|
|
3964
|
+
userIds: string[];
|
|
3965
|
+
}[];
|
|
3966
|
+
whitelist: {
|
|
3967
|
+
name: string;
|
|
3968
|
+
currency: string;
|
|
3969
|
+
address: string;
|
|
3970
|
+
}[];
|
|
4018
3971
|
};
|
|
4019
3972
|
id: string;
|
|
4020
3973
|
legacyId: number;
|
|
@@ -4036,12 +3989,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4036
3989
|
retryAfter: Date;
|
|
4037
3990
|
} | undefined;
|
|
4038
3991
|
} | {
|
|
4039
|
-
type: "
|
|
3992
|
+
type: "TRADELINK_ADJUST_PLEDGE";
|
|
4040
3993
|
data: {
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
};
|
|
3994
|
+
accountId: string;
|
|
3995
|
+
exchangeId: string;
|
|
3996
|
+
amount: string;
|
|
4045
3997
|
};
|
|
4046
3998
|
id: string;
|
|
4047
3999
|
legacyId: number;
|
|
@@ -4063,11 +4015,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4063
4015
|
retryAfter: Date;
|
|
4064
4016
|
} | undefined;
|
|
4065
4017
|
} | {
|
|
4066
|
-
type: "
|
|
4018
|
+
type: "TRADELINK_REPLEDGE";
|
|
4067
4019
|
data: {
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4020
|
+
accountId: string;
|
|
4021
|
+
exchangeId: string;
|
|
4022
|
+
amount: string;
|
|
4071
4023
|
};
|
|
4072
4024
|
id: string;
|
|
4073
4025
|
legacyId: number;
|
|
@@ -4089,11 +4041,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4089
4041
|
retryAfter: Date;
|
|
4090
4042
|
} | undefined;
|
|
4091
4043
|
} | {
|
|
4092
|
-
type: "
|
|
4044
|
+
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
4093
4045
|
data: {
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4046
|
+
accountId: string;
|
|
4047
|
+
exchangeId: string;
|
|
4048
|
+
transaction: SendOnlyTransactionData;
|
|
4097
4049
|
};
|
|
4098
4050
|
id: string;
|
|
4099
4051
|
legacyId: number;
|
|
@@ -4115,8 +4067,61 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4115
4067
|
retryAfter: Date;
|
|
4116
4068
|
} | undefined;
|
|
4117
4069
|
} | {
|
|
4118
|
-
type: "
|
|
4119
|
-
data:
|
|
4070
|
+
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
4071
|
+
data: {
|
|
4072
|
+
accountId: string;
|
|
4073
|
+
exchangeId: string;
|
|
4074
|
+
};
|
|
4075
|
+
id: string;
|
|
4076
|
+
legacyId: number;
|
|
4077
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
4078
|
+
reviewSteps: {
|
|
4079
|
+
stageName: string;
|
|
4080
|
+
quorum: number;
|
|
4081
|
+
}[];
|
|
4082
|
+
currentStepIndex: number;
|
|
4083
|
+
expiresAt: Date;
|
|
4084
|
+
targetId: string | null;
|
|
4085
|
+
note: Note | null;
|
|
4086
|
+
reviews: RequestReview[];
|
|
4087
|
+
createdAt: Date;
|
|
4088
|
+
updatedAt: Date;
|
|
4089
|
+
createdById: string;
|
|
4090
|
+
inflight?: {
|
|
4091
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4092
|
+
retryAfter: Date;
|
|
4093
|
+
} | undefined;
|
|
4094
|
+
} | {
|
|
4095
|
+
type: "TRADELINK_WITHDRAW";
|
|
4096
|
+
data: {
|
|
4097
|
+
accountId: string;
|
|
4098
|
+
transaction: SendOnlyTransactionData;
|
|
4099
|
+
};
|
|
4100
|
+
id: string;
|
|
4101
|
+
legacyId: number;
|
|
4102
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
4103
|
+
reviewSteps: {
|
|
4104
|
+
stageName: string;
|
|
4105
|
+
quorum: number;
|
|
4106
|
+
}[];
|
|
4107
|
+
currentStepIndex: number;
|
|
4108
|
+
expiresAt: Date;
|
|
4109
|
+
targetId: string | null;
|
|
4110
|
+
note: Note | null;
|
|
4111
|
+
reviews: RequestReview[];
|
|
4112
|
+
createdAt: Date;
|
|
4113
|
+
updatedAt: Date;
|
|
4114
|
+
createdById: string;
|
|
4115
|
+
inflight?: {
|
|
4116
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4117
|
+
retryAfter: Date;
|
|
4118
|
+
} | undefined;
|
|
4119
|
+
} | {
|
|
4120
|
+
type: "TRADELINK_ARBITRATE";
|
|
4121
|
+
data: {
|
|
4122
|
+
accountId: string;
|
|
4123
|
+
transaction: SendOnlyTransactionData;
|
|
4124
|
+
};
|
|
4120
4125
|
id: string;
|
|
4121
4126
|
legacyId: number;
|
|
4122
4127
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5065,20 +5070,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5065
5070
|
pageSize: number;
|
|
5066
5071
|
total: number;
|
|
5067
5072
|
results: ({
|
|
5068
|
-
type: "
|
|
5073
|
+
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
5069
5074
|
data: {
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
userIds: string[];
|
|
5073
|
-
}[];
|
|
5074
|
-
withdraw: {
|
|
5075
|
-
quorum: number;
|
|
5076
|
-
userIds: string[];
|
|
5077
|
-
}[];
|
|
5078
|
-
arbitration: {
|
|
5079
|
-
quorum: number;
|
|
5080
|
-
userIds: string[];
|
|
5081
|
-
}[];
|
|
5075
|
+
previousPublicKeys: string[];
|
|
5076
|
+
requestedPublicKeys: string[];
|
|
5082
5077
|
};
|
|
5083
5078
|
id: string;
|
|
5084
5079
|
legacyId: number;
|
|
@@ -5100,8 +5095,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5100
5095
|
retryAfter: Date;
|
|
5101
5096
|
} | undefined;
|
|
5102
5097
|
} | {
|
|
5103
|
-
type: "
|
|
5104
|
-
data:
|
|
5098
|
+
type: "UPDATE_QUORUM";
|
|
5099
|
+
data: {
|
|
5100
|
+
quorum: number;
|
|
5101
|
+
};
|
|
5105
5102
|
id: string;
|
|
5106
5103
|
legacyId: number;
|
|
5107
5104
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5122,20 +5119,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5122
5119
|
retryAfter: Date;
|
|
5123
5120
|
} | undefined;
|
|
5124
5121
|
} | {
|
|
5125
|
-
type: "
|
|
5122
|
+
type: "CREATE_TRANSACTION";
|
|
5126
5123
|
data: {
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
userIds: string[];
|
|
5130
|
-
}[];
|
|
5131
|
-
withdraw: {
|
|
5132
|
-
quorum: number;
|
|
5133
|
-
userIds: string[];
|
|
5134
|
-
}[];
|
|
5135
|
-
arbitration: {
|
|
5136
|
-
quorum: number;
|
|
5137
|
-
userIds: string[];
|
|
5138
|
-
}[];
|
|
5124
|
+
accountId: string;
|
|
5125
|
+
transaction: TransactionData;
|
|
5139
5126
|
};
|
|
5140
5127
|
id: string;
|
|
5141
5128
|
legacyId: number;
|
|
@@ -5157,18 +5144,33 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5157
5144
|
retryAfter: Date;
|
|
5158
5145
|
} | undefined;
|
|
5159
5146
|
} | {
|
|
5160
|
-
type: "
|
|
5147
|
+
type: "SIGN_MESSAGE";
|
|
5161
5148
|
data: {
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5149
|
+
message: {
|
|
5150
|
+
type: "EIP191";
|
|
5151
|
+
data: string;
|
|
5152
|
+
} | {
|
|
5153
|
+
type: "EIP712";
|
|
5154
|
+
data: {
|
|
5155
|
+
types: Record<string, {
|
|
5156
|
+
name: string;
|
|
5157
|
+
type: string;
|
|
5158
|
+
}[]>;
|
|
5159
|
+
primaryType: string;
|
|
5160
|
+
domain: Record<string, any>;
|
|
5161
|
+
message: Record<string, any>;
|
|
5162
|
+
};
|
|
5163
|
+
} | {
|
|
5164
|
+
type: "CIP8";
|
|
5165
|
+
data: string;
|
|
5166
|
+
signingKey: "PAYMENT" | "STAKE";
|
|
5167
|
+
} | {
|
|
5168
|
+
type: "BIP137";
|
|
5169
|
+
data: string;
|
|
5170
|
+
};
|
|
5171
|
+
accountId: string;
|
|
5172
|
+
address: string;
|
|
5173
|
+
derivationPath: string;
|
|
5172
5174
|
};
|
|
5173
5175
|
id: string;
|
|
5174
5176
|
legacyId: number;
|
|
@@ -5190,17 +5192,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5190
5192
|
retryAfter: Date;
|
|
5191
5193
|
} | undefined;
|
|
5192
5194
|
} | {
|
|
5193
|
-
type: "
|
|
5195
|
+
type: "SIGN_DIGESTS";
|
|
5194
5196
|
data: {
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
}[];
|
|
5200
|
-
whitelist: {
|
|
5201
|
-
name: string;
|
|
5202
|
-
currency: string;
|
|
5203
|
-
address: string;
|
|
5197
|
+
accountId: string;
|
|
5198
|
+
digests: {
|
|
5199
|
+
digest: string;
|
|
5200
|
+
derivationPath: string;
|
|
5204
5201
|
}[];
|
|
5205
5202
|
};
|
|
5206
5203
|
id: string;
|
|
@@ -5223,18 +5220,58 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5223
5220
|
retryAfter: Date;
|
|
5224
5221
|
} | undefined;
|
|
5225
5222
|
} | {
|
|
5226
|
-
type: "
|
|
5223
|
+
type: "CREATE_ACCOUNT";
|
|
5227
5224
|
data: {
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5225
|
+
name: string;
|
|
5226
|
+
currency: string;
|
|
5227
|
+
contractAddress: string | null;
|
|
5228
|
+
tokenIdentifier: string | null;
|
|
5229
|
+
bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
|
|
5230
|
+
governance: {
|
|
5231
|
+
type: "CLASSIC";
|
|
5232
|
+
policy: {
|
|
5233
|
+
policyId: string;
|
|
5234
|
+
} | {
|
|
5235
|
+
rules: {
|
|
5236
|
+
reviewSteps: ({
|
|
5237
|
+
quorum: number;
|
|
5238
|
+
userIds: string[];
|
|
5239
|
+
} | {
|
|
5240
|
+
quorum: number;
|
|
5241
|
+
groupId: string;
|
|
5242
|
+
})[];
|
|
5243
|
+
threshold?: {
|
|
5244
|
+
min: string | null;
|
|
5245
|
+
max: string | null;
|
|
5246
|
+
} | undefined;
|
|
5247
|
+
whitelistIds?: string[] | undefined;
|
|
5248
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5249
|
+
}[];
|
|
5250
|
+
};
|
|
5251
|
+
} | {
|
|
5252
|
+
type: "TRADELINK";
|
|
5253
|
+
assetManagerId: string;
|
|
5254
|
+
exchangeConfigs: {
|
|
5255
|
+
exchangeId: string;
|
|
5256
|
+
repledgeAuthorized: boolean;
|
|
5257
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
5258
|
+
}[];
|
|
5259
|
+
} | {
|
|
5260
|
+
type: "RAW_SIGNING";
|
|
5261
|
+
policy: {
|
|
5262
|
+
rules: {
|
|
5263
|
+
operationType: "SIGN_DIGESTS";
|
|
5264
|
+
reviewSteps: {
|
|
5265
|
+
quorum: number;
|
|
5266
|
+
userIds: string[];
|
|
5267
|
+
}[];
|
|
5268
|
+
}[];
|
|
5269
|
+
};
|
|
5270
|
+
};
|
|
5271
|
+
portfolioIds?: string[] | undefined;
|
|
5272
|
+
index: number;
|
|
5273
|
+
derivationPath: string;
|
|
5274
|
+
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";
|
|
5238
5275
|
};
|
|
5239
5276
|
id: string;
|
|
5240
5277
|
legacyId: number;
|
|
@@ -5256,18 +5293,49 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5256
5293
|
retryAfter: Date;
|
|
5257
5294
|
} | undefined;
|
|
5258
5295
|
} | {
|
|
5259
|
-
type: "
|
|
5296
|
+
type: "EDIT_ACCOUNT";
|
|
5260
5297
|
data: {
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5298
|
+
name: string;
|
|
5299
|
+
governance: {
|
|
5300
|
+
type: "CLASSIC";
|
|
5301
|
+
policy: {
|
|
5302
|
+
policyId: string;
|
|
5303
|
+
} | {
|
|
5304
|
+
rules: {
|
|
5305
|
+
reviewSteps: ({
|
|
5306
|
+
quorum: number;
|
|
5307
|
+
userIds: string[];
|
|
5308
|
+
} | {
|
|
5309
|
+
quorum: number;
|
|
5310
|
+
groupId: string;
|
|
5311
|
+
})[];
|
|
5312
|
+
threshold?: {
|
|
5313
|
+
min: string | null;
|
|
5314
|
+
max: string | null;
|
|
5315
|
+
} | undefined;
|
|
5316
|
+
whitelistIds?: string[] | undefined;
|
|
5317
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5318
|
+
}[];
|
|
5319
|
+
};
|
|
5320
|
+
} | {
|
|
5321
|
+
type: "TRADELINK";
|
|
5322
|
+
exchangeConfigs: {
|
|
5323
|
+
exchangeId: string;
|
|
5324
|
+
repledgeAuthorized: boolean;
|
|
5325
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
5326
|
+
}[];
|
|
5327
|
+
} | {
|
|
5328
|
+
type: "RAW_SIGNING";
|
|
5329
|
+
policy: {
|
|
5330
|
+
rules: {
|
|
5331
|
+
operationType: "SIGN_DIGESTS";
|
|
5332
|
+
reviewSteps: {
|
|
5333
|
+
quorum: number;
|
|
5334
|
+
userIds: string[];
|
|
5335
|
+
}[];
|
|
5336
|
+
}[];
|
|
5337
|
+
};
|
|
5338
|
+
};
|
|
5271
5339
|
};
|
|
5272
5340
|
id: string;
|
|
5273
5341
|
legacyId: number;
|
|
@@ -5289,11 +5357,25 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5289
5357
|
retryAfter: Date;
|
|
5290
5358
|
} | undefined;
|
|
5291
5359
|
} | {
|
|
5292
|
-
type: "
|
|
5360
|
+
type: "EDIT_TOKEN_RULE";
|
|
5293
5361
|
data: {
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5362
|
+
parentAccountId: string;
|
|
5363
|
+
contractAddress: string;
|
|
5364
|
+
rules: {
|
|
5365
|
+
reviewSteps: ({
|
|
5366
|
+
quorum: number;
|
|
5367
|
+
userIds: string[];
|
|
5368
|
+
} | {
|
|
5369
|
+
quorum: number;
|
|
5370
|
+
groupId: string;
|
|
5371
|
+
})[];
|
|
5372
|
+
threshold?: {
|
|
5373
|
+
min: string | null;
|
|
5374
|
+
max: string | null;
|
|
5375
|
+
} | undefined;
|
|
5376
|
+
whitelistIds?: string[] | undefined;
|
|
5377
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5378
|
+
}[];
|
|
5297
5379
|
};
|
|
5298
5380
|
id: string;
|
|
5299
5381
|
legacyId: number;
|
|
@@ -5315,11 +5397,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5315
5397
|
retryAfter: Date;
|
|
5316
5398
|
} | undefined;
|
|
5317
5399
|
} | {
|
|
5318
|
-
type: "
|
|
5400
|
+
type: "CREATE_GROUP";
|
|
5319
5401
|
data: {
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5402
|
+
name: string;
|
|
5403
|
+
description: string | null;
|
|
5404
|
+
members: string[];
|
|
5323
5405
|
};
|
|
5324
5406
|
id: string;
|
|
5325
5407
|
legacyId: number;
|
|
@@ -5341,11 +5423,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5341
5423
|
retryAfter: Date;
|
|
5342
5424
|
} | undefined;
|
|
5343
5425
|
} | {
|
|
5344
|
-
type: "
|
|
5426
|
+
type: "EDIT_GROUP";
|
|
5345
5427
|
data: {
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5428
|
+
name: string;
|
|
5429
|
+
description: string | null;
|
|
5430
|
+
members: string[];
|
|
5349
5431
|
};
|
|
5350
5432
|
id: string;
|
|
5351
5433
|
legacyId: number;
|
|
@@ -5367,11 +5449,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5367
5449
|
retryAfter: Date;
|
|
5368
5450
|
} | undefined;
|
|
5369
5451
|
} | {
|
|
5370
|
-
type: "
|
|
5371
|
-
data:
|
|
5372
|
-
accountId: string;
|
|
5373
|
-
exchangeId: string;
|
|
5374
|
-
};
|
|
5452
|
+
type: "REVOKE_GROUP";
|
|
5453
|
+
data: Record<string, never>;
|
|
5375
5454
|
id: string;
|
|
5376
5455
|
legacyId: number;
|
|
5377
5456
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5392,10 +5471,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5392
5471
|
retryAfter: Date;
|
|
5393
5472
|
} | undefined;
|
|
5394
5473
|
} | {
|
|
5395
|
-
type: "
|
|
5474
|
+
type: "CREATE_WHITELIST";
|
|
5396
5475
|
data: {
|
|
5397
|
-
|
|
5398
|
-
|
|
5476
|
+
name: string;
|
|
5477
|
+
description: string | null;
|
|
5478
|
+
addresses: {
|
|
5479
|
+
name: string;
|
|
5480
|
+
currency: string;
|
|
5481
|
+
address: string;
|
|
5482
|
+
destinationTag?: string | undefined;
|
|
5483
|
+
}[];
|
|
5484
|
+
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
5399
5485
|
};
|
|
5400
5486
|
id: string;
|
|
5401
5487
|
legacyId: number;
|
|
@@ -5417,10 +5503,15 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5417
5503
|
retryAfter: Date;
|
|
5418
5504
|
} | undefined;
|
|
5419
5505
|
} | {
|
|
5420
|
-
type: "
|
|
5506
|
+
type: "EDIT_WHITELIST";
|
|
5421
5507
|
data: {
|
|
5422
|
-
|
|
5423
|
-
|
|
5508
|
+
name: string;
|
|
5509
|
+
addresses: {
|
|
5510
|
+
name: string;
|
|
5511
|
+
currency: string;
|
|
5512
|
+
address: string;
|
|
5513
|
+
destinationTag?: string | undefined;
|
|
5514
|
+
}[];
|
|
5424
5515
|
};
|
|
5425
5516
|
id: string;
|
|
5426
5517
|
legacyId: number;
|
|
@@ -5442,9 +5533,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5442
5533
|
retryAfter: Date;
|
|
5443
5534
|
} | undefined;
|
|
5444
5535
|
} | {
|
|
5445
|
-
type: "
|
|
5536
|
+
type: "CREATE_ENTITY";
|
|
5446
5537
|
data: {
|
|
5447
|
-
|
|
5538
|
+
name: string;
|
|
5539
|
+
accountIds: string[];
|
|
5540
|
+
memberIds: string[];
|
|
5448
5541
|
};
|
|
5449
5542
|
id: string;
|
|
5450
5543
|
legacyId: number;
|
|
@@ -5466,10 +5559,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5466
5559
|
retryAfter: Date;
|
|
5467
5560
|
} | undefined;
|
|
5468
5561
|
} | {
|
|
5469
|
-
type: "
|
|
5562
|
+
type: "EDIT_ENTITY";
|
|
5470
5563
|
data: {
|
|
5471
|
-
|
|
5472
|
-
|
|
5564
|
+
name: string;
|
|
5565
|
+
accountIds: string[];
|
|
5566
|
+
memberIds: string[];
|
|
5473
5567
|
};
|
|
5474
5568
|
id: string;
|
|
5475
5569
|
legacyId: number;
|
|
@@ -5491,14 +5585,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5491
5585
|
retryAfter: Date;
|
|
5492
5586
|
} | undefined;
|
|
5493
5587
|
} | {
|
|
5494
|
-
type: "
|
|
5495
|
-
data:
|
|
5496
|
-
accountId: string;
|
|
5497
|
-
digests: {
|
|
5498
|
-
digest: string;
|
|
5499
|
-
derivationPath: string;
|
|
5500
|
-
}[];
|
|
5501
|
-
};
|
|
5588
|
+
type: "REVOKE_ENTITY";
|
|
5589
|
+
data: Record<string, never>;
|
|
5502
5590
|
id: string;
|
|
5503
5591
|
legacyId: number;
|
|
5504
5592
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5519,49 +5607,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5519
5607
|
retryAfter: Date;
|
|
5520
5608
|
} | undefined;
|
|
5521
5609
|
} | {
|
|
5522
|
-
type: "
|
|
5610
|
+
type: "CREATE_PSD_USER";
|
|
5523
5611
|
data: {
|
|
5524
|
-
|
|
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
|
-
};
|
|
5612
|
+
registrationId: string;
|
|
5565
5613
|
};
|
|
5566
5614
|
id: string;
|
|
5567
5615
|
legacyId: number;
|
|
@@ -5583,11 +5631,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5583
5631
|
retryAfter: Date;
|
|
5584
5632
|
} | undefined;
|
|
5585
5633
|
} | {
|
|
5586
|
-
type: "
|
|
5634
|
+
type: "CREATE_API_USER";
|
|
5587
5635
|
data: {
|
|
5588
5636
|
name: string;
|
|
5589
|
-
|
|
5590
|
-
|
|
5637
|
+
pubKey: string;
|
|
5638
|
+
role: "ADMIN" | "OPERATOR";
|
|
5639
|
+
viewAll?: boolean | undefined;
|
|
5591
5640
|
};
|
|
5592
5641
|
id: string;
|
|
5593
5642
|
legacyId: number;
|
|
@@ -5609,11 +5658,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5609
5658
|
retryAfter: Date;
|
|
5610
5659
|
} | undefined;
|
|
5611
5660
|
} | {
|
|
5612
|
-
type: "
|
|
5661
|
+
type: "CREATE_API_USER_ACCESS";
|
|
5613
5662
|
data: {
|
|
5614
5663
|
name: string;
|
|
5615
|
-
description: string | null;
|
|
5616
|
-
members: string[];
|
|
5617
5664
|
};
|
|
5618
5665
|
id: string;
|
|
5619
5666
|
legacyId: number;
|
|
@@ -5635,18 +5682,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5635
5682
|
retryAfter: Date;
|
|
5636
5683
|
} | undefined;
|
|
5637
5684
|
} | {
|
|
5638
|
-
type: "
|
|
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
|
-
};
|
|
5685
|
+
type: "REVOKE_USER";
|
|
5686
|
+
data: Record<string, never>;
|
|
5650
5687
|
id: string;
|
|
5651
5688
|
legacyId: number;
|
|
5652
5689
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -5667,14 +5704,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5667
5704
|
retryAfter: Date;
|
|
5668
5705
|
} | undefined;
|
|
5669
5706
|
} | {
|
|
5670
|
-
type: "
|
|
5707
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
5671
5708
|
data: {
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
address: string;
|
|
5677
|
-
destinationTag?: string | undefined;
|
|
5709
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
5710
|
+
reviewConfig: {
|
|
5711
|
+
quorum: number;
|
|
5712
|
+
userIds: string[];
|
|
5678
5713
|
}[];
|
|
5679
5714
|
};
|
|
5680
5715
|
id: string;
|
|
@@ -5697,11 +5732,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5697
5732
|
retryAfter: Date;
|
|
5698
5733
|
} | undefined;
|
|
5699
5734
|
} | {
|
|
5700
|
-
type: "
|
|
5735
|
+
type: "CREATE_SCICONFIG";
|
|
5701
5736
|
data: {
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5737
|
+
account: string;
|
|
5738
|
+
config: {
|
|
5739
|
+
dapps: string[] | null;
|
|
5740
|
+
customContractCallEnabled: boolean;
|
|
5741
|
+
};
|
|
5705
5742
|
};
|
|
5706
5743
|
id: string;
|
|
5707
5744
|
legacyId: number;
|
|
@@ -5723,11 +5760,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5723
5760
|
retryAfter: Date;
|
|
5724
5761
|
} | undefined;
|
|
5725
5762
|
} | {
|
|
5726
|
-
type: "
|
|
5763
|
+
type: "EDIT_SCICONFIG";
|
|
5727
5764
|
data: {
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5765
|
+
config: {
|
|
5766
|
+
dapps: string[] | null;
|
|
5767
|
+
customContractCallEnabled: boolean;
|
|
5768
|
+
};
|
|
5731
5769
|
};
|
|
5732
5770
|
id: string;
|
|
5733
5771
|
legacyId: number;
|
|
@@ -5749,31 +5787,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5749
5787
|
retryAfter: Date;
|
|
5750
5788
|
} | undefined;
|
|
5751
5789
|
} | {
|
|
5752
|
-
type: "
|
|
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";
|
|
5790
|
+
type: "CREATE_API_KEY";
|
|
5775
5791
|
data: {
|
|
5776
|
-
|
|
5792
|
+
name: string;
|
|
5793
|
+
entities: string[];
|
|
5794
|
+
scopes: Record<string, never>;
|
|
5777
5795
|
};
|
|
5778
5796
|
id: string;
|
|
5779
5797
|
legacyId: number;
|
|
@@ -5795,12 +5813,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5795
5813
|
retryAfter: Date;
|
|
5796
5814
|
} | undefined;
|
|
5797
5815
|
} | {
|
|
5798
|
-
type: "
|
|
5816
|
+
type: "EDIT_API_KEY";
|
|
5799
5817
|
data: {
|
|
5800
5818
|
name: string;
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
viewAll?: boolean | undefined;
|
|
5819
|
+
entities: string[];
|
|
5820
|
+
scopes: Record<string, never>;
|
|
5804
5821
|
};
|
|
5805
5822
|
id: string;
|
|
5806
5823
|
legacyId: number;
|
|
@@ -5822,7 +5839,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5822
5839
|
retryAfter: Date;
|
|
5823
5840
|
} | undefined;
|
|
5824
5841
|
} | {
|
|
5825
|
-
type: "
|
|
5842
|
+
type: "REVOKE_API_KEY";
|
|
5826
5843
|
data: Record<string, never>;
|
|
5827
5844
|
id: string;
|
|
5828
5845
|
legacyId: number;
|
|
@@ -5844,12 +5861,29 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5844
5861
|
retryAfter: Date;
|
|
5845
5862
|
} | undefined;
|
|
5846
5863
|
} | {
|
|
5847
|
-
type: "
|
|
5864
|
+
type: "CREATE_POLICY";
|
|
5848
5865
|
data: {
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5866
|
+
name: string;
|
|
5867
|
+
description: string | null;
|
|
5868
|
+
asset: {
|
|
5869
|
+
network: string;
|
|
5870
|
+
contractAddress: string | null;
|
|
5871
|
+
tokenIdentifier: string | null;
|
|
5872
|
+
} | null;
|
|
5873
|
+
govRules: {
|
|
5874
|
+
reviewSteps: ({
|
|
5875
|
+
quorum: number;
|
|
5876
|
+
userIds: string[];
|
|
5877
|
+
} | {
|
|
5878
|
+
quorum: number;
|
|
5879
|
+
groupId: string;
|
|
5880
|
+
})[];
|
|
5881
|
+
threshold?: {
|
|
5882
|
+
min: string | null;
|
|
5883
|
+
max: string | null;
|
|
5884
|
+
} | undefined;
|
|
5885
|
+
whitelistIds?: string[] | undefined;
|
|
5886
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5853
5887
|
}[];
|
|
5854
5888
|
};
|
|
5855
5889
|
id: string;
|
|
@@ -5872,15 +5906,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5872
5906
|
retryAfter: Date;
|
|
5873
5907
|
} | undefined;
|
|
5874
5908
|
} | {
|
|
5875
|
-
type: "
|
|
5909
|
+
type: "EDIT_POLICY";
|
|
5876
5910
|
data: {
|
|
5877
|
-
name: string;
|
|
5878
|
-
description: string | null;
|
|
5879
|
-
asset: {
|
|
5880
|
-
network: string;
|
|
5881
|
-
contractAddress: string | null;
|
|
5882
|
-
tokenIdentifier: string | null;
|
|
5883
|
-
} | null;
|
|
5911
|
+
name: string;
|
|
5912
|
+
description: string | null;
|
|
5884
5913
|
govRules: {
|
|
5885
5914
|
reviewSteps: ({
|
|
5886
5915
|
quorum: number;
|
|
@@ -5917,24 +5946,41 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5917
5946
|
retryAfter: Date;
|
|
5918
5947
|
} | undefined;
|
|
5919
5948
|
} | {
|
|
5920
|
-
type: "
|
|
5949
|
+
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
5950
|
+
data: null;
|
|
5951
|
+
id: string;
|
|
5952
|
+
legacyId: number;
|
|
5953
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
5954
|
+
reviewSteps: {
|
|
5955
|
+
stageName: string;
|
|
5956
|
+
quorum: number;
|
|
5957
|
+
}[];
|
|
5958
|
+
currentStepIndex: number;
|
|
5959
|
+
expiresAt: Date;
|
|
5960
|
+
targetId: string | null;
|
|
5961
|
+
note: Note | null;
|
|
5962
|
+
reviews: RequestReview[];
|
|
5963
|
+
createdAt: Date;
|
|
5964
|
+
updatedAt: Date;
|
|
5965
|
+
createdById: string;
|
|
5966
|
+
inflight?: {
|
|
5967
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
5968
|
+
retryAfter: Date;
|
|
5969
|
+
} | undefined;
|
|
5970
|
+
} | {
|
|
5971
|
+
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
5921
5972
|
data: {
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
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";
|
|
5973
|
+
settlement: {
|
|
5974
|
+
quorum: number;
|
|
5975
|
+
userIds: string[];
|
|
5976
|
+
}[];
|
|
5977
|
+
withdraw: {
|
|
5978
|
+
quorum: number;
|
|
5979
|
+
userIds: string[];
|
|
5980
|
+
}[];
|
|
5981
|
+
arbitration: {
|
|
5982
|
+
quorum: number;
|
|
5983
|
+
userIds: string[];
|
|
5938
5984
|
}[];
|
|
5939
5985
|
};
|
|
5940
5986
|
id: string;
|
|
@@ -5957,10 +6003,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5957
6003
|
retryAfter: Date;
|
|
5958
6004
|
} | undefined;
|
|
5959
6005
|
} | {
|
|
5960
|
-
type: "
|
|
6006
|
+
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
5961
6007
|
data: {
|
|
5962
|
-
|
|
5963
|
-
|
|
6008
|
+
settlement: {
|
|
6009
|
+
quorum: number;
|
|
6010
|
+
userIds: string[];
|
|
6011
|
+
}[];
|
|
6012
|
+
withdraw: {
|
|
6013
|
+
quorum: number;
|
|
6014
|
+
userIds: string[];
|
|
6015
|
+
}[];
|
|
6016
|
+
arbitration: {
|
|
6017
|
+
quorum: number;
|
|
6018
|
+
userIds: string[];
|
|
6019
|
+
}[];
|
|
5964
6020
|
};
|
|
5965
6021
|
id: string;
|
|
5966
6022
|
legacyId: number;
|
|
@@ -5982,33 +6038,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5982
6038
|
retryAfter: Date;
|
|
5983
6039
|
} | undefined;
|
|
5984
6040
|
} | {
|
|
5985
|
-
type: "
|
|
6041
|
+
type: "TRADELINK_CREATE_EXCHANGE";
|
|
5986
6042
|
data: {
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
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;
|
|
6043
|
+
tradelinkId: string;
|
|
6044
|
+
groups: {
|
|
6045
|
+
quorum: number;
|
|
6046
|
+
userIds: string[];
|
|
6047
|
+
}[];
|
|
6048
|
+
whitelist: {
|
|
6049
|
+
name: string;
|
|
6050
|
+
currency: string;
|
|
6051
|
+
address: string;
|
|
6052
|
+
}[];
|
|
6012
6053
|
};
|
|
6013
6054
|
id: string;
|
|
6014
6055
|
legacyId: number;
|
|
@@ -6030,58 +6071,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6030
6071
|
retryAfter: Date;
|
|
6031
6072
|
} | undefined;
|
|
6032
6073
|
} | {
|
|
6033
|
-
type: "
|
|
6074
|
+
type: "TRADELINK_EDIT_EXCHANGE";
|
|
6034
6075
|
data: {
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
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";
|
|
6076
|
+
tradelinkId: string;
|
|
6077
|
+
groups: {
|
|
6078
|
+
quorum: number;
|
|
6079
|
+
userIds: string[];
|
|
6080
|
+
}[];
|
|
6081
|
+
whitelist: {
|
|
6082
|
+
name: string;
|
|
6083
|
+
currency: string;
|
|
6084
|
+
address: string;
|
|
6085
|
+
}[];
|
|
6085
6086
|
};
|
|
6086
6087
|
id: string;
|
|
6087
6088
|
legacyId: number;
|
|
@@ -6103,24 +6104,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6103
6104
|
retryAfter: Date;
|
|
6104
6105
|
} | undefined;
|
|
6105
6106
|
} | {
|
|
6106
|
-
type: "
|
|
6107
|
+
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
6107
6108
|
data: {
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
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";
|
|
6109
|
+
tradelinkId: string;
|
|
6110
|
+
groups: {
|
|
6111
|
+
quorum: number;
|
|
6112
|
+
userIds: string[];
|
|
6113
|
+
}[];
|
|
6114
|
+
whitelist: {
|
|
6115
|
+
name: string;
|
|
6116
|
+
currency: string;
|
|
6117
|
+
address: string;
|
|
6124
6118
|
}[];
|
|
6125
6119
|
};
|
|
6126
6120
|
id: string;
|
|
@@ -6143,8 +6137,19 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6143
6137
|
retryAfter: Date;
|
|
6144
6138
|
} | undefined;
|
|
6145
6139
|
} | {
|
|
6146
|
-
type: "
|
|
6147
|
-
data:
|
|
6140
|
+
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
6141
|
+
data: {
|
|
6142
|
+
tradelinkId: string;
|
|
6143
|
+
groups: {
|
|
6144
|
+
quorum: number;
|
|
6145
|
+
userIds: string[];
|
|
6146
|
+
}[];
|
|
6147
|
+
whitelist: {
|
|
6148
|
+
name: string;
|
|
6149
|
+
currency: string;
|
|
6150
|
+
address: string;
|
|
6151
|
+
}[];
|
|
6152
|
+
};
|
|
6148
6153
|
id: string;
|
|
6149
6154
|
legacyId: number;
|
|
6150
6155
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6165,9 +6170,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6165
6170
|
retryAfter: Date;
|
|
6166
6171
|
} | undefined;
|
|
6167
6172
|
} | {
|
|
6168
|
-
type: "
|
|
6173
|
+
type: "TRADELINK_ADJUST_PLEDGE";
|
|
6169
6174
|
data: {
|
|
6170
|
-
|
|
6175
|
+
accountId: string;
|
|
6176
|
+
exchangeId: string;
|
|
6177
|
+
amount: string;
|
|
6171
6178
|
};
|
|
6172
6179
|
id: string;
|
|
6173
6180
|
legacyId: number;
|
|
@@ -6189,13 +6196,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6189
6196
|
retryAfter: Date;
|
|
6190
6197
|
} | undefined;
|
|
6191
6198
|
} | {
|
|
6192
|
-
type: "
|
|
6199
|
+
type: "TRADELINK_REPLEDGE";
|
|
6193
6200
|
data: {
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
customContractCallEnabled: boolean;
|
|
6198
|
-
};
|
|
6201
|
+
accountId: string;
|
|
6202
|
+
exchangeId: string;
|
|
6203
|
+
amount: string;
|
|
6199
6204
|
};
|
|
6200
6205
|
id: string;
|
|
6201
6206
|
legacyId: number;
|
|
@@ -6217,12 +6222,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6217
6222
|
retryAfter: Date;
|
|
6218
6223
|
} | undefined;
|
|
6219
6224
|
} | {
|
|
6220
|
-
type: "
|
|
6225
|
+
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
6221
6226
|
data: {
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
};
|
|
6227
|
+
accountId: string;
|
|
6228
|
+
exchangeId: string;
|
|
6229
|
+
transaction: SendOnlyTransactionData;
|
|
6226
6230
|
};
|
|
6227
6231
|
id: string;
|
|
6228
6232
|
legacyId: number;
|
|
@@ -6244,11 +6248,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6244
6248
|
retryAfter: Date;
|
|
6245
6249
|
} | undefined;
|
|
6246
6250
|
} | {
|
|
6247
|
-
type: "
|
|
6251
|
+
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
6248
6252
|
data: {
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
scopes: Record<string, never>;
|
|
6253
|
+
accountId: string;
|
|
6254
|
+
exchangeId: string;
|
|
6252
6255
|
};
|
|
6253
6256
|
id: string;
|
|
6254
6257
|
legacyId: number;
|
|
@@ -6270,11 +6273,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6270
6273
|
retryAfter: Date;
|
|
6271
6274
|
} | undefined;
|
|
6272
6275
|
} | {
|
|
6273
|
-
type: "
|
|
6276
|
+
type: "TRADELINK_WITHDRAW";
|
|
6274
6277
|
data: {
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
scopes: Record<string, never>;
|
|
6278
|
+
accountId: string;
|
|
6279
|
+
transaction: SendOnlyTransactionData;
|
|
6278
6280
|
};
|
|
6279
6281
|
id: string;
|
|
6280
6282
|
legacyId: number;
|
|
@@ -6296,8 +6298,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6296
6298
|
retryAfter: Date;
|
|
6297
6299
|
} | undefined;
|
|
6298
6300
|
} | {
|
|
6299
|
-
type: "
|
|
6300
|
-
data:
|
|
6301
|
+
type: "TRADELINK_ARBITRATE";
|
|
6302
|
+
data: {
|
|
6303
|
+
accountId: string;
|
|
6304
|
+
transaction: SendOnlyTransactionData;
|
|
6305
|
+
};
|
|
6301
6306
|
id: string;
|
|
6302
6307
|
legacyId: number;
|
|
6303
6308
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|