@turnkey/sdk-types 0.14.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +289 -0
- package/dist/__generated__/types.d.ts +1390 -278
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +779 -16
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +43 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,310 @@
|
|
|
1
|
+
export type externaldatav1SignatureScheme = "SIGNATURE_SCHEME_EPHEMERAL_KEY_P256";
|
|
2
|
+
export type protobufAny = {
|
|
3
|
+
"@type"?: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
export type rpcStatus = {
|
|
7
|
+
code?: number;
|
|
8
|
+
message?: string;
|
|
9
|
+
details?: protobufAny[];
|
|
10
|
+
};
|
|
11
|
+
export type v1AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP" | "ADDRESS_FORMAT_SPARK_MAINNET" | "ADDRESS_FORMAT_SPARK_REGTEST";
|
|
12
|
+
export type v1ApiKeyCurve = "API_KEY_CURVE_P256" | "API_KEY_CURVE_SECP256K1" | "API_KEY_CURVE_ED25519";
|
|
13
|
+
export type v1ApiKeyParamsV2 = {
|
|
14
|
+
/** Human-readable name for an API Key. */
|
|
15
|
+
apiKeyName: string;
|
|
16
|
+
/** The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
17
|
+
publicKey: string;
|
|
18
|
+
/** The curve type to be used for processing API key signatures. */
|
|
19
|
+
curveType: v1ApiKeyCurve;
|
|
20
|
+
/** Optional window (in seconds) indicating how long the API Key should last. */
|
|
21
|
+
expirationSeconds?: string;
|
|
22
|
+
};
|
|
23
|
+
export type v1AppProof = {
|
|
24
|
+
/** Scheme of signing key. */
|
|
25
|
+
scheme: externaldatav1SignatureScheme;
|
|
26
|
+
/** Ephemeral public key. */
|
|
27
|
+
publicKey: string;
|
|
28
|
+
/** JSON serialized AppProofPayload. */
|
|
29
|
+
proofPayload: string;
|
|
30
|
+
/** Signature over hashed proof_payload. */
|
|
31
|
+
signature: string;
|
|
32
|
+
};
|
|
33
|
+
export type v1Attestation = {
|
|
34
|
+
/** The cbor encoded then base64 url encoded id of the credential. */
|
|
35
|
+
credentialId: string;
|
|
36
|
+
/** A base64 url encoded payload containing metadata about the signing context and the challenge. */
|
|
37
|
+
clientDataJson: string;
|
|
38
|
+
/** A base64 url encoded payload containing authenticator data and any attestation the webauthn provider chooses. */
|
|
39
|
+
attestationObject: string;
|
|
40
|
+
/** The type of authenticator transports. */
|
|
41
|
+
transports: v1AuthenticatorTransport[];
|
|
42
|
+
};
|
|
43
|
+
export type v1AuthenticatorParamsV2 = {
|
|
44
|
+
/** Human-readable name for an Authenticator. */
|
|
45
|
+
authenticatorName: string;
|
|
46
|
+
/** Challenge presented for authentication purposes. */
|
|
47
|
+
challenge: string;
|
|
48
|
+
/** The attestation that proves custody of the authenticator and provides metadata about it. */
|
|
49
|
+
attestation: v1Attestation;
|
|
50
|
+
};
|
|
51
|
+
export type v1AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
|
|
52
|
+
export type v1ClientSignature = {
|
|
53
|
+
/** The public component of a cryptographic key pair used to create the signature. */
|
|
54
|
+
publicKey: string;
|
|
55
|
+
/** The signature scheme used to generate the client signature. */
|
|
56
|
+
scheme: v1ClientSignatureScheme;
|
|
57
|
+
/** The message that was signed. */
|
|
58
|
+
message: string;
|
|
59
|
+
/** The cryptographic signature over the message. */
|
|
60
|
+
signature: string;
|
|
61
|
+
};
|
|
62
|
+
export type v1ClientSignatureScheme = "CLIENT_SIGNATURE_SCHEME_API_P256";
|
|
63
|
+
export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519" | "CURVE_P256";
|
|
64
|
+
export type v1GetAccountRequest = {
|
|
65
|
+
/** Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN' or 'PUBLIC_KEY' */
|
|
66
|
+
filterType: string;
|
|
67
|
+
/** The value of the filter to apply for the specified type. For example, a specific email or name string. */
|
|
68
|
+
filterValue: string;
|
|
69
|
+
/** Signed JWT containing a unique id, expiry, verification type, contact. Used to verify access to PII (email/phone number) when filter_type is 'EMAIL' or 'PHONE_NUMBER'. */
|
|
70
|
+
verificationToken?: string;
|
|
71
|
+
/** OIDC token to verify access to PII (email/phone number) when filter_type is 'EMAIL' or 'PHONE_NUMBER'. Needed for social linking when verification_token is not available. */
|
|
72
|
+
oidcToken?: string;
|
|
73
|
+
};
|
|
74
|
+
export type v1GetAccountResponse = {
|
|
75
|
+
organizationId?: string;
|
|
76
|
+
};
|
|
77
|
+
export type v1GetWalletKitConfigRequest = {};
|
|
78
|
+
export type v1GetWalletKitConfigResponse = {
|
|
79
|
+
/** List of enabled authentication providers (e.g., 'facebook', 'google', 'apple', 'email', 'sms', 'passkey', 'wallet') */
|
|
80
|
+
enabledProviders: string[];
|
|
81
|
+
/** Session expiration duration in seconds */
|
|
82
|
+
sessionExpirationSeconds: string;
|
|
83
|
+
/** The organization ID this configuration applies to */
|
|
84
|
+
organizationId: string;
|
|
85
|
+
/** Mapping of social login providers to their OAuth client IDs. */
|
|
86
|
+
oauthClientIds?: Record<string, any>;
|
|
87
|
+
/** OAuth redirect URL to be used for social login flows. */
|
|
88
|
+
oauthRedirectUrl?: string;
|
|
89
|
+
otpAlphanumeric?: boolean;
|
|
90
|
+
otpLength?: string;
|
|
91
|
+
};
|
|
92
|
+
export type v1InitOtpRequest = {
|
|
93
|
+
type: "ACTIVITY_TYPE_INIT_OTP_V3";
|
|
94
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
95
|
+
timestampMs: string;
|
|
96
|
+
/** Unique identifier for a given Organization. */
|
|
97
|
+
organizationId: string;
|
|
98
|
+
parameters: v1InitOtpIntentV3;
|
|
99
|
+
generateAppProofs?: boolean;
|
|
100
|
+
};
|
|
101
|
+
export type v1InitOtpResponse = {
|
|
102
|
+
/** Unique identifier for an OTP authentication */
|
|
103
|
+
otpId: string;
|
|
104
|
+
};
|
|
105
|
+
export type v1InitOtpV2Request = {
|
|
106
|
+
/** Enum to specify whether to send OTP code via SMS or email */
|
|
107
|
+
otpType: string;
|
|
108
|
+
/** Email or phone number to send the OTP code to */
|
|
109
|
+
contact: string;
|
|
110
|
+
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
111
|
+
emailCustomization?: v1ProxyEmailCustomizationParams;
|
|
112
|
+
};
|
|
113
|
+
export type v1InitOtpV2Response = {
|
|
114
|
+
/** Unique identifier for an OTP flow. */
|
|
115
|
+
otpId: string;
|
|
116
|
+
/** Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
117
|
+
otpEncryptionTargetBundle: string;
|
|
118
|
+
};
|
|
119
|
+
export type v1OAuth2AuthenticateRequest = {
|
|
120
|
+
/** The OAuth 2.0 provider to authenticate with */
|
|
121
|
+
provider: v1Oauth2Provider;
|
|
122
|
+
/** The auth_code provided by the OAuth 2.0 to the end user to be exchanged for a Bearer token in the OAuth 2.0 flow */
|
|
123
|
+
authCode: string;
|
|
124
|
+
/** The URI the user is redirected to after they have authenticated with the OAuth 2.0 provider */
|
|
125
|
+
redirectUri: string;
|
|
126
|
+
/** The code verifier used by OAuth 2.0 PKCE providers */
|
|
127
|
+
codeVerifier: string;
|
|
128
|
+
/** A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
129
|
+
nonce: string;
|
|
130
|
+
/** The client ID registered with the OAuth 2.0 provider */
|
|
131
|
+
clientId: string;
|
|
132
|
+
};
|
|
133
|
+
export type v1OAuth2AuthenticateResponse = {
|
|
134
|
+
/** A Turnkey issued OIDC token to be used with the LoginWithOAuth activity */
|
|
135
|
+
oidcToken: string;
|
|
136
|
+
};
|
|
137
|
+
export type v1OAuthLoginRequest = {
|
|
138
|
+
/** Base64 encoded OIDC token */
|
|
139
|
+
oidcToken: string;
|
|
140
|
+
/** Client-side public key generated by the user, which will be conditionally added to org data based on the validity of the oidc token associated with this request */
|
|
141
|
+
publicKey: string;
|
|
142
|
+
/** Invalidate all other previously generated Login API keys */
|
|
143
|
+
invalidateExisting?: boolean;
|
|
144
|
+
/** Unique identifier for a given Organization. If provided, this organization id will be used directly. If omitted, uses the OIDC token to look up the associated organization id. */
|
|
145
|
+
organizationId?: string;
|
|
146
|
+
};
|
|
147
|
+
export type v1OAuthLoginResponse = {
|
|
148
|
+
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
149
|
+
session: string;
|
|
150
|
+
};
|
|
151
|
+
export type v1Oauth2Provider = "OAUTH2_PROVIDER_X" | "OAUTH2_PROVIDER_DISCORD";
|
|
152
|
+
export type v1OauthProviderParams = {
|
|
153
|
+
/** Human-readable name to identify a Provider. */
|
|
154
|
+
providerName: string;
|
|
155
|
+
/** Base64 encoded OIDC token */
|
|
156
|
+
oidcToken: string;
|
|
157
|
+
};
|
|
158
|
+
export type v1OauthProviderParamsV2 = {
|
|
159
|
+
/** Human-readable name to identify a Provider. */
|
|
160
|
+
providerName: string;
|
|
161
|
+
} & ({
|
|
162
|
+
oidcToken: string;
|
|
163
|
+
} | {
|
|
164
|
+
/** OIDC claims (iss, sub, aud) to uniquely identify the user */ oidcClaims: v1OidcClaims;
|
|
165
|
+
});
|
|
166
|
+
export type v1OidcClaims = {
|
|
167
|
+
/** The issuer identifier from the OIDC token (iss claim) */
|
|
168
|
+
iss: string;
|
|
169
|
+
/** The subject identifier from the OIDC token (sub claim) */
|
|
170
|
+
sub: string;
|
|
171
|
+
/** The audience from the OIDC token (aud claim) */
|
|
172
|
+
aud: string;
|
|
173
|
+
};
|
|
174
|
+
export type v1OtpLoginRequest = {
|
|
175
|
+
type: "ACTIVITY_TYPE_OTP_LOGIN_V2";
|
|
176
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
177
|
+
timestampMs: string;
|
|
178
|
+
/** Unique identifier for a given Organization. */
|
|
179
|
+
organizationId: string;
|
|
180
|
+
parameters: v1OtpLoginIntentV2;
|
|
181
|
+
generateAppProofs?: boolean;
|
|
182
|
+
};
|
|
183
|
+
export type v1OtpLoginResponse = {
|
|
184
|
+
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
185
|
+
session: string;
|
|
186
|
+
};
|
|
187
|
+
export type v1OtpLoginV2Request = {
|
|
188
|
+
/** Session containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
189
|
+
verificationToken: string;
|
|
190
|
+
/** Client-side public key generated by the user, used as the session public key upon successful login. */
|
|
191
|
+
publicKey: string;
|
|
192
|
+
/** Signature proving authorization for this login. The signature is over the verification token ID and the new session public key. */
|
|
193
|
+
clientSignature: v1ClientSignature;
|
|
194
|
+
/** Invalidate all other previously generated Login sessions */
|
|
195
|
+
invalidateExisting?: boolean;
|
|
196
|
+
/** Unique identifier for a given Organization. If provided, this organization id will be used directly. If omitted, uses the verification token to look up the verified sub-organization based on the contact and verification type. */
|
|
197
|
+
organizationId?: string;
|
|
198
|
+
};
|
|
199
|
+
export type v1OtpLoginV2Response = {
|
|
200
|
+
/** Session containing an expiry, public key, session type, user id, and organization id */
|
|
201
|
+
session: string;
|
|
202
|
+
};
|
|
203
|
+
export type v1PathFormat = "PATH_FORMAT_BIP32";
|
|
204
|
+
export type v1ProxyEmailCustomizationParams = {
|
|
205
|
+
/** Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
|
|
206
|
+
templateId?: string;
|
|
207
|
+
};
|
|
208
|
+
export type v1SignupRequest = {
|
|
209
|
+
userEmail?: string;
|
|
210
|
+
userPhoneNumber?: string;
|
|
211
|
+
userTag?: string;
|
|
212
|
+
userName?: string;
|
|
213
|
+
organizationName?: string;
|
|
214
|
+
verificationToken?: string;
|
|
215
|
+
/** A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
216
|
+
apiKeys: v1ApiKeyParamsV2[];
|
|
217
|
+
/** A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
218
|
+
authenticators: v1AuthenticatorParamsV2[];
|
|
219
|
+
/** A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
220
|
+
oauthProviders: v1OauthProviderParams[];
|
|
221
|
+
/** The wallet to create for the sub-organization */
|
|
222
|
+
wallet?: v1WalletParams;
|
|
223
|
+
/** Optional signature proving authorization for this signup. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
224
|
+
clientSignature?: v1ClientSignature;
|
|
225
|
+
};
|
|
226
|
+
export type v1SignupResponse = {
|
|
227
|
+
organizationId: string;
|
|
228
|
+
/** Wallet created for the sub-organization, if provided in the request */
|
|
229
|
+
wallet?: v1WalletResult;
|
|
230
|
+
/** Root user ID created for this sub-organization */
|
|
231
|
+
userId: string;
|
|
232
|
+
/** A list of App Proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
|
|
233
|
+
appProofs?: v1AppProof[];
|
|
234
|
+
};
|
|
235
|
+
export type v1SignupV2Request = {
|
|
236
|
+
userEmail?: string;
|
|
237
|
+
userPhoneNumber?: string;
|
|
238
|
+
userTag?: string;
|
|
239
|
+
userName?: string;
|
|
240
|
+
organizationName?: string;
|
|
241
|
+
verificationToken?: string;
|
|
242
|
+
/** A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
243
|
+
apiKeys: v1ApiKeyParamsV2[];
|
|
244
|
+
/** A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
245
|
+
authenticators: v1AuthenticatorParamsV2[];
|
|
246
|
+
/** A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
247
|
+
oauthProviders: v1OauthProviderParamsV2[];
|
|
248
|
+
/** The wallet to create for the sub-organization */
|
|
249
|
+
wallet?: v1WalletParams;
|
|
250
|
+
/** Optional signature proving authorization for this signup. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
251
|
+
clientSignature?: v1ClientSignature;
|
|
252
|
+
};
|
|
253
|
+
export type v1SignupV2Response = {
|
|
254
|
+
organizationId: string;
|
|
255
|
+
/** Wallet created for the sub-organization, if provided in the request */
|
|
256
|
+
wallet?: v1WalletResult;
|
|
257
|
+
/** Root user ID created for this sub-organization */
|
|
258
|
+
userId: string;
|
|
259
|
+
/** A list of App Proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
|
|
260
|
+
appProofs?: v1AppProof[];
|
|
261
|
+
};
|
|
262
|
+
export type v1VerifyOtpRequest = {
|
|
263
|
+
type: "ACTIVITY_TYPE_VERIFY_OTP_V2";
|
|
264
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
265
|
+
timestampMs: string;
|
|
266
|
+
/** Unique identifier for a given Organization. */
|
|
267
|
+
organizationId: string;
|
|
268
|
+
parameters: v1VerifyOtpIntentV2;
|
|
269
|
+
generateAppProofs?: boolean;
|
|
270
|
+
};
|
|
271
|
+
export type v1VerifyOtpResponse = {
|
|
272
|
+
/** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
273
|
+
verificationToken: string;
|
|
274
|
+
};
|
|
275
|
+
export type v1VerifyOtpV2Request = {
|
|
276
|
+
/** ID representing the result of an init OTP activity. */
|
|
277
|
+
otpId: string;
|
|
278
|
+
/** Encrypted bundle containing the OTP code and a client-generated public key. Turnkey's secure enclaves will decrypt this bundle, verify the OTP code, and issue a new Verification Token. Encrypted using the target encryption key provided in the INIT_OTP activity result. */
|
|
279
|
+
encryptedOtpBundle: string;
|
|
280
|
+
};
|
|
281
|
+
export type v1VerifyOtpV2Response = {
|
|
282
|
+
/** Verification Token containing a unique id, expiry, verification type, contact signed by Turnkey's enclaves. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
283
|
+
verificationToken: string;
|
|
284
|
+
};
|
|
285
|
+
export type v1WalletAccountParams = {
|
|
286
|
+
/** Cryptographic curve used to generate a wallet Account. */
|
|
287
|
+
curve: v1Curve;
|
|
288
|
+
/** Path format used to generate a wallet Account. */
|
|
289
|
+
pathFormat: v1PathFormat;
|
|
290
|
+
/** Path used to generate a wallet Account. */
|
|
291
|
+
path: string;
|
|
292
|
+
/** Address format used to generate a wallet Acccount. */
|
|
293
|
+
addressFormat: v1AddressFormat;
|
|
294
|
+
};
|
|
295
|
+
export type v1WalletParams = {
|
|
296
|
+
/** Human-readable name for a Wallet. */
|
|
297
|
+
walletName: string;
|
|
298
|
+
/** A list of wallet Accounts. This field, if not needed, should be an empty array in your request body. */
|
|
299
|
+
accounts: v1WalletAccountParams[];
|
|
300
|
+
/** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */
|
|
301
|
+
mnemonicLength?: number;
|
|
302
|
+
};
|
|
303
|
+
export type v1WalletResult = {
|
|
304
|
+
walletId: string;
|
|
305
|
+
/** A list of account addresses. */
|
|
306
|
+
addresses: string[];
|
|
307
|
+
};
|
|
1
308
|
export type apiApiKeyParams = {
|
|
2
309
|
/** Human-readable name for an API Key. */
|
|
3
310
|
apiKeyName: string;
|
|
@@ -9,6 +316,7 @@ export type apiApiKeyParams = {
|
|
|
9
316
|
export type billingActivateBillingTierIntent = {
|
|
10
317
|
/** The product that the customer wants to subscribe to. */
|
|
11
318
|
productId: string;
|
|
319
|
+
orbPlanId?: string;
|
|
12
320
|
};
|
|
13
321
|
export type billingActivateBillingTierResult = {
|
|
14
322
|
/** The id of the product being subscribed to. */
|
|
@@ -89,7 +397,6 @@ export type externaldatav1Quorum = {
|
|
|
89
397
|
/** Unique identifiers of quorum set members. */
|
|
90
398
|
userIds: string[];
|
|
91
399
|
};
|
|
92
|
-
export type externaldatav1SignatureScheme = "SIGNATURE_SCHEME_EPHEMERAL_KEY_P256";
|
|
93
400
|
export type externaldatav1SmartContractInterface = {
|
|
94
401
|
/** The Organization the Smart Contract Interface belongs to. */
|
|
95
402
|
organizationId: string;
|
|
@@ -120,15 +427,6 @@ export type immutablecommonv1PolicyEvaluation = {
|
|
|
120
427
|
policyId?: string;
|
|
121
428
|
outcome?: v1Outcome;
|
|
122
429
|
};
|
|
123
|
-
export type protobufAny = {
|
|
124
|
-
"@type"?: string;
|
|
125
|
-
[key: string]: any;
|
|
126
|
-
};
|
|
127
|
-
export type rpcStatus = {
|
|
128
|
-
code?: number;
|
|
129
|
-
message?: string;
|
|
130
|
-
details?: protobufAny[];
|
|
131
|
-
};
|
|
132
430
|
export type v1AcceptInvitationIntent = {
|
|
133
431
|
/** Unique identifier for a given Invitation object. */
|
|
134
432
|
invitationId: string;
|
|
@@ -183,8 +481,7 @@ export type v1ActivityResponse = {
|
|
|
183
481
|
activity: v1Activity;
|
|
184
482
|
};
|
|
185
483
|
export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
186
|
-
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT";
|
|
187
|
-
export type v1AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP";
|
|
484
|
+
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE";
|
|
188
485
|
export type v1ApiKey = {
|
|
189
486
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
190
487
|
credential: externaldatav1Credential;
|
|
@@ -197,17 +494,6 @@ export type v1ApiKey = {
|
|
|
197
494
|
/** Optional window (in seconds) indicating how long the API Key should last. */
|
|
198
495
|
expirationSeconds?: string;
|
|
199
496
|
};
|
|
200
|
-
export type v1ApiKeyCurve = "API_KEY_CURVE_P256" | "API_KEY_CURVE_SECP256K1" | "API_KEY_CURVE_ED25519";
|
|
201
|
-
export type v1ApiKeyParamsV2 = {
|
|
202
|
-
/** Human-readable name for an API Key. */
|
|
203
|
-
apiKeyName: string;
|
|
204
|
-
/** The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
205
|
-
publicKey: string;
|
|
206
|
-
/** The curve type to be used for processing API key signatures. */
|
|
207
|
-
curveType: v1ApiKeyCurve;
|
|
208
|
-
/** Optional window (in seconds) indicating how long the API Key should last. */
|
|
209
|
-
expirationSeconds?: string;
|
|
210
|
-
};
|
|
211
497
|
export type v1ApiOnlyUserParams = {
|
|
212
498
|
/** The name of the new API-only User. */
|
|
213
499
|
userName: string;
|
|
@@ -218,16 +504,6 @@ export type v1ApiOnlyUserParams = {
|
|
|
218
504
|
/** A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
219
505
|
apiKeys: apiApiKeyParams[];
|
|
220
506
|
};
|
|
221
|
-
export type v1AppProof = {
|
|
222
|
-
/** Scheme of signing key. */
|
|
223
|
-
scheme: externaldatav1SignatureScheme;
|
|
224
|
-
/** Ephemeral public key. */
|
|
225
|
-
publicKey: string;
|
|
226
|
-
/** JSON serialized AppProofPayload. */
|
|
227
|
-
proofPayload: string;
|
|
228
|
-
/** Signature over hashed proof_payload. */
|
|
229
|
-
signature: string;
|
|
230
|
-
};
|
|
231
507
|
export type v1AppStatus = {
|
|
232
508
|
/** Unique identifier for this TVC App */
|
|
233
509
|
appId: string;
|
|
@@ -241,7 +517,7 @@ export type v1ApproveActivityIntent = {
|
|
|
241
517
|
fingerprint: string;
|
|
242
518
|
};
|
|
243
519
|
export type v1ApproveActivityRequest = {
|
|
244
|
-
type:
|
|
520
|
+
type: "ACTIVITY_TYPE_APPROVE_ACTIVITY";
|
|
245
521
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
246
522
|
timestampMs: string;
|
|
247
523
|
/** Unique identifier for a given Organization. */
|
|
@@ -281,16 +557,6 @@ export type v1AssetMetadata = {
|
|
|
281
557
|
/** The asset name */
|
|
282
558
|
name?: string;
|
|
283
559
|
};
|
|
284
|
-
export type v1Attestation = {
|
|
285
|
-
/** The cbor encoded then base64 url encoded id of the credential. */
|
|
286
|
-
credentialId: string;
|
|
287
|
-
/** A base64 url encoded payload containing metadata about the signing context and the challenge. */
|
|
288
|
-
clientDataJson: string;
|
|
289
|
-
/** A base64 url encoded payload containing authenticator data and any attestation the webauthn provider chooses. */
|
|
290
|
-
attestationObject: string;
|
|
291
|
-
/** The type of authenticator transports. */
|
|
292
|
-
transports: v1AuthenticatorTransport[];
|
|
293
|
-
};
|
|
294
560
|
export type v1Authenticator = {
|
|
295
561
|
/** Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
|
|
296
562
|
transports: v1AuthenticatorTransport[];
|
|
@@ -314,7 +580,7 @@ export type v1AuthenticatorAttestationResponse = {
|
|
|
314
580
|
clientDataJson: string;
|
|
315
581
|
attestationObject: string;
|
|
316
582
|
transports?: v1AuthenticatorTransport[];
|
|
317
|
-
authenticatorAttachment?:
|
|
583
|
+
authenticatorAttachment?: "cross-platform" | "platform";
|
|
318
584
|
};
|
|
319
585
|
export type v1AuthenticatorParams = {
|
|
320
586
|
/** Human-readable name for an Authenticator. */
|
|
@@ -325,15 +591,6 @@ export type v1AuthenticatorParams = {
|
|
|
325
591
|
/** Challenge presented for authentication purposes. */
|
|
326
592
|
challenge: string;
|
|
327
593
|
};
|
|
328
|
-
export type v1AuthenticatorParamsV2 = {
|
|
329
|
-
/** Human-readable name for an Authenticator. */
|
|
330
|
-
authenticatorName: string;
|
|
331
|
-
/** Challenge presented for authentication purposes. */
|
|
332
|
-
challenge: string;
|
|
333
|
-
/** The attestation that proves custody of the authenticator and provides metadata about it. */
|
|
334
|
-
attestation: v1Attestation;
|
|
335
|
-
};
|
|
336
|
-
export type v1AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
|
|
337
594
|
export type v1BootProof = {
|
|
338
595
|
/** The hex encoded Ephemeral Public Key. */
|
|
339
596
|
ephemeralPublicKeyHex: string;
|
|
@@ -354,17 +611,6 @@ export type v1BootProof = {
|
|
|
354
611
|
export type v1BootProofResponse = {
|
|
355
612
|
bootProof: v1BootProof;
|
|
356
613
|
};
|
|
357
|
-
export type v1ClientSignature = {
|
|
358
|
-
/** The public component of a cryptographic key pair used to create the signature. */
|
|
359
|
-
publicKey: string;
|
|
360
|
-
/** The signature scheme used to generate the client signature. */
|
|
361
|
-
scheme: v1ClientSignatureScheme;
|
|
362
|
-
/** The message that was signed. */
|
|
363
|
-
message: string;
|
|
364
|
-
/** The cryptographic signature over the message. */
|
|
365
|
-
signature: string;
|
|
366
|
-
};
|
|
367
|
-
export type v1ClientSignatureScheme = "CLIENT_SIGNATURE_SCHEME_API_P256";
|
|
368
614
|
export type v1Config = {
|
|
369
615
|
features?: v1Feature[];
|
|
370
616
|
quorum?: externaldatav1Quorum;
|
|
@@ -382,7 +628,7 @@ export type v1CreateApiKeysIntentV2 = {
|
|
|
382
628
|
userId: string;
|
|
383
629
|
};
|
|
384
630
|
export type v1CreateApiKeysRequest = {
|
|
385
|
-
type:
|
|
631
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2";
|
|
386
632
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
387
633
|
timestampMs: string;
|
|
388
634
|
/** Unique identifier for a given Organization. */
|
|
@@ -398,15 +644,6 @@ export type v1CreateApiOnlyUsersIntent = {
|
|
|
398
644
|
/** A list of API-only Users to create. */
|
|
399
645
|
apiOnlyUsers: v1ApiOnlyUserParams[];
|
|
400
646
|
};
|
|
401
|
-
export type v1CreateApiOnlyUsersRequest = {
|
|
402
|
-
type: string;
|
|
403
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
404
|
-
timestampMs: string;
|
|
405
|
-
/** Unique identifier for a given Organization. */
|
|
406
|
-
organizationId: string;
|
|
407
|
-
parameters: v1CreateApiOnlyUsersIntent;
|
|
408
|
-
generateAppProofs?: boolean;
|
|
409
|
-
};
|
|
410
647
|
export type v1CreateApiOnlyUsersResult = {
|
|
411
648
|
/** A list of API-only User IDs. */
|
|
412
649
|
userIds: string[];
|
|
@@ -424,7 +661,7 @@ export type v1CreateAuthenticatorsIntentV2 = {
|
|
|
424
661
|
userId: string;
|
|
425
662
|
};
|
|
426
663
|
export type v1CreateAuthenticatorsRequest = {
|
|
427
|
-
type:
|
|
664
|
+
type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2";
|
|
428
665
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
429
666
|
timestampMs: string;
|
|
430
667
|
/** Unique identifier for a given Organization. */
|
|
@@ -451,7 +688,7 @@ export type v1CreateFiatOnRampCredentialIntent = {
|
|
|
451
688
|
sandboxMode?: boolean;
|
|
452
689
|
};
|
|
453
690
|
export type v1CreateFiatOnRampCredentialRequest = {
|
|
454
|
-
type:
|
|
691
|
+
type: "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL";
|
|
455
692
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
456
693
|
timestampMs: string;
|
|
457
694
|
/** Unique identifier for a given Organization. */
|
|
@@ -468,7 +705,7 @@ export type v1CreateInvitationsIntent = {
|
|
|
468
705
|
invitations: v1InvitationParams[];
|
|
469
706
|
};
|
|
470
707
|
export type v1CreateInvitationsRequest = {
|
|
471
|
-
type:
|
|
708
|
+
type: "ACTIVITY_TYPE_CREATE_INVITATIONS";
|
|
472
709
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
473
710
|
timestampMs: string;
|
|
474
711
|
/** Unique identifier for a given Organization. */
|
|
@@ -489,7 +726,7 @@ export type v1CreateOauth2CredentialIntent = {
|
|
|
489
726
|
encryptedClientSecret: string;
|
|
490
727
|
};
|
|
491
728
|
export type v1CreateOauth2CredentialRequest = {
|
|
492
|
-
type:
|
|
729
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL";
|
|
493
730
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
494
731
|
timestampMs: string;
|
|
495
732
|
/** Unique identifier for a given Organization. */
|
|
@@ -514,7 +751,7 @@ export type v1CreateOauthProvidersIntentV2 = {
|
|
|
514
751
|
oauthProviders: v1OauthProviderParamsV2[];
|
|
515
752
|
};
|
|
516
753
|
export type v1CreateOauthProvidersRequest = {
|
|
517
|
-
type:
|
|
754
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2";
|
|
518
755
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
519
756
|
timestampMs: string;
|
|
520
757
|
/** Unique identifier for a given Organization. */
|
|
@@ -559,7 +796,7 @@ export type v1CreatePoliciesIntent = {
|
|
|
559
796
|
policies: v1CreatePolicyIntentV3[];
|
|
560
797
|
};
|
|
561
798
|
export type v1CreatePoliciesRequest = {
|
|
562
|
-
type:
|
|
799
|
+
type: "ACTIVITY_TYPE_CREATE_POLICIES";
|
|
563
800
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
564
801
|
timestampMs: string;
|
|
565
802
|
/** Unique identifier for a given Organization. */
|
|
@@ -602,7 +839,7 @@ export type v1CreatePolicyIntentV3 = {
|
|
|
602
839
|
notes: string;
|
|
603
840
|
};
|
|
604
841
|
export type v1CreatePolicyRequest = {
|
|
605
|
-
type:
|
|
842
|
+
type: "ACTIVITY_TYPE_CREATE_POLICY_V3";
|
|
606
843
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
607
844
|
timestampMs: string;
|
|
608
845
|
/** Unique identifier for a given Organization. */
|
|
@@ -621,7 +858,7 @@ export type v1CreatePrivateKeyTagIntent = {
|
|
|
621
858
|
privateKeyIds: string[];
|
|
622
859
|
};
|
|
623
860
|
export type v1CreatePrivateKeyTagRequest = {
|
|
624
|
-
type:
|
|
861
|
+
type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG";
|
|
625
862
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
626
863
|
timestampMs: string;
|
|
627
864
|
/** Unique identifier for a given Organization. */
|
|
@@ -644,7 +881,7 @@ export type v1CreatePrivateKeysIntentV2 = {
|
|
|
644
881
|
privateKeys: v1PrivateKeyParams[];
|
|
645
882
|
};
|
|
646
883
|
export type v1CreatePrivateKeysRequest = {
|
|
647
|
-
type:
|
|
884
|
+
type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
648
885
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
649
886
|
timestampMs: string;
|
|
650
887
|
/** Unique identifier for a given Organization. */
|
|
@@ -662,7 +899,7 @@ export type v1CreatePrivateKeysResultV2 = {
|
|
|
662
899
|
};
|
|
663
900
|
export type v1CreateReadOnlySessionIntent = {};
|
|
664
901
|
export type v1CreateReadOnlySessionRequest = {
|
|
665
|
-
type:
|
|
902
|
+
type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION";
|
|
666
903
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
667
904
|
timestampMs: string;
|
|
668
905
|
/** Unique identifier for a given Organization. */
|
|
@@ -697,7 +934,7 @@ export type v1CreateReadWriteSessionIntent = {
|
|
|
697
934
|
export type v1CreateReadWriteSessionIntentV2 = {
|
|
698
935
|
/** Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
699
936
|
targetPublicKey: string;
|
|
700
|
-
/**
|
|
937
|
+
/** Optional unique identifier for a given User. If none provided, the read write session will be created for the user who is making the request. */
|
|
701
938
|
userId?: string;
|
|
702
939
|
/** Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
703
940
|
apiKeyName?: string;
|
|
@@ -707,7 +944,7 @@ export type v1CreateReadWriteSessionIntentV2 = {
|
|
|
707
944
|
invalidateExisting?: boolean;
|
|
708
945
|
};
|
|
709
946
|
export type v1CreateReadWriteSessionRequest = {
|
|
710
|
-
type:
|
|
947
|
+
type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2";
|
|
711
948
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
712
949
|
timestampMs: string;
|
|
713
950
|
/** Unique identifier for a given Organization. */
|
|
@@ -755,7 +992,7 @@ export type v1CreateSmartContractInterfaceIntent = {
|
|
|
755
992
|
notes?: string;
|
|
756
993
|
};
|
|
757
994
|
export type v1CreateSmartContractInterfaceRequest = {
|
|
758
|
-
type:
|
|
995
|
+
type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE";
|
|
759
996
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
760
997
|
timestampMs: string;
|
|
761
998
|
/** Unique identifier for a given Organization. */
|
|
@@ -878,7 +1115,7 @@ export type v1CreateSubOrganizationIntentV8 = {
|
|
|
878
1115
|
clientSignature?: v1ClientSignature;
|
|
879
1116
|
};
|
|
880
1117
|
export type v1CreateSubOrganizationRequest = {
|
|
881
|
-
type:
|
|
1118
|
+
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8";
|
|
882
1119
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
883
1120
|
timestampMs: string;
|
|
884
1121
|
/** Unique identifier for a given Organization. */
|
|
@@ -937,6 +1174,14 @@ export type v1CreateTvcAppIntent = {
|
|
|
937
1174
|
/** Enables network egress for this TVC app. Default if not provided: false. */
|
|
938
1175
|
enableEgress?: boolean;
|
|
939
1176
|
};
|
|
1177
|
+
export type v1CreateTvcAppRequest = {
|
|
1178
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_APP";
|
|
1179
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1180
|
+
timestampMs: string;
|
|
1181
|
+
/** Unique identifier for a given Organization. */
|
|
1182
|
+
organizationId: string;
|
|
1183
|
+
parameters: v1CreateTvcAppIntent;
|
|
1184
|
+
};
|
|
940
1185
|
export type v1CreateTvcAppResult = {
|
|
941
1186
|
/** The unique identifier for the TVC application */
|
|
942
1187
|
appId: string;
|
|
@@ -966,13 +1211,21 @@ export type v1CreateTvcDeploymentIntent = {
|
|
|
966
1211
|
pivotContainerEncryptedPullSecret?: string;
|
|
967
1212
|
/** Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
|
|
968
1213
|
debugMode?: boolean;
|
|
969
|
-
/**
|
|
1214
|
+
/** Health check type (TVC_HEALTH_CHECK_TYPE_HTTP or TVC_HEALTH_CHECK_TYPE_GRPC). HTTP health checks are made with a GET request on /health, and gRPC health checks follow the standard gRPC health checking protocol. */
|
|
970
1215
|
healthCheckType: v1TvcHealthCheckType;
|
|
971
1216
|
/** Port to use for health checks. */
|
|
972
1217
|
healthCheckPort: number;
|
|
973
1218
|
/** Port to use for public ingress. */
|
|
974
1219
|
publicIngressPort: number;
|
|
975
1220
|
};
|
|
1221
|
+
export type v1CreateTvcDeploymentRequest = {
|
|
1222
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT";
|
|
1223
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1224
|
+
timestampMs: string;
|
|
1225
|
+
/** Unique identifier for a given Organization. */
|
|
1226
|
+
organizationId: string;
|
|
1227
|
+
parameters: v1CreateTvcDeploymentIntent;
|
|
1228
|
+
};
|
|
976
1229
|
export type v1CreateTvcDeploymentResult = {
|
|
977
1230
|
/** The unique identifier for the TVC deployment */
|
|
978
1231
|
deploymentId: string;
|
|
@@ -985,6 +1238,14 @@ export type v1CreateTvcManifestApprovalsIntent = {
|
|
|
985
1238
|
/** List of manifest approvals */
|
|
986
1239
|
approvals: v1TvcManifestApproval[];
|
|
987
1240
|
};
|
|
1241
|
+
export type v1CreateTvcManifestApprovalsRequest = {
|
|
1242
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS";
|
|
1243
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1244
|
+
timestampMs: string;
|
|
1245
|
+
/** Unique identifier for a given Organization. */
|
|
1246
|
+
organizationId: string;
|
|
1247
|
+
parameters: v1CreateTvcManifestApprovalsIntent;
|
|
1248
|
+
};
|
|
988
1249
|
export type v1CreateTvcManifestApprovalsResult = {
|
|
989
1250
|
/** The unique identifier(s) for the manifest approvals */
|
|
990
1251
|
approvalIds: string[];
|
|
@@ -996,7 +1257,7 @@ export type v1CreateUserTagIntent = {
|
|
|
996
1257
|
userIds: string[];
|
|
997
1258
|
};
|
|
998
1259
|
export type v1CreateUserTagRequest = {
|
|
999
|
-
type:
|
|
1260
|
+
type: "ACTIVITY_TYPE_CREATE_USER_TAG";
|
|
1000
1261
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1001
1262
|
timestampMs: string;
|
|
1002
1263
|
/** Unique identifier for a given Organization. */
|
|
@@ -1027,7 +1288,7 @@ export type v1CreateUsersIntentV4 = {
|
|
|
1027
1288
|
users: v1UserParamsV4[];
|
|
1028
1289
|
};
|
|
1029
1290
|
export type v1CreateUsersRequest = {
|
|
1030
|
-
type:
|
|
1291
|
+
type: "ACTIVITY_TYPE_CREATE_USERS_V4";
|
|
1031
1292
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1032
1293
|
timestampMs: string;
|
|
1033
1294
|
/** Unique identifier for a given Organization. */
|
|
@@ -1048,7 +1309,7 @@ export type v1CreateWalletAccountsIntent = {
|
|
|
1048
1309
|
persist?: boolean;
|
|
1049
1310
|
};
|
|
1050
1311
|
export type v1CreateWalletAccountsRequest = {
|
|
1051
|
-
type:
|
|
1312
|
+
type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS";
|
|
1052
1313
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1053
1314
|
timestampMs: string;
|
|
1054
1315
|
/** Unique identifier for a given Organization. */
|
|
@@ -1069,7 +1330,7 @@ export type v1CreateWalletIntent = {
|
|
|
1069
1330
|
mnemonicLength?: number;
|
|
1070
1331
|
};
|
|
1071
1332
|
export type v1CreateWalletRequest = {
|
|
1072
|
-
type:
|
|
1333
|
+
type: "ACTIVITY_TYPE_CREATE_WALLET";
|
|
1073
1334
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1074
1335
|
timestampMs: string;
|
|
1075
1336
|
/** Unique identifier for a given Organization. */
|
|
@@ -1092,7 +1353,7 @@ export type v1CreateWebhookEndpointIntent = {
|
|
|
1092
1353
|
subscriptions?: v1WebhookSubscriptionParams[];
|
|
1093
1354
|
};
|
|
1094
1355
|
export type v1CreateWebhookEndpointRequest = {
|
|
1095
|
-
type:
|
|
1356
|
+
type: "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT";
|
|
1096
1357
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1097
1358
|
timestampMs: string;
|
|
1098
1359
|
/** Unique identifier for a given Organization. */
|
|
@@ -1110,7 +1371,6 @@ export type v1CredPropsAuthenticationExtensionsClientOutputs = {
|
|
|
1110
1371
|
rk: boolean;
|
|
1111
1372
|
};
|
|
1112
1373
|
export type v1CredentialType = "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256" | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" | "CREDENTIAL_TYPE_API_KEY_SECP256K1" | "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256" | "CREDENTIAL_TYPE_API_KEY_ED25519" | "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256" | "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256" | "CREDENTIAL_TYPE_OAUTH_KEY_P256" | "CREDENTIAL_TYPE_LOGIN";
|
|
1113
|
-
export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519" | "CURVE_P256";
|
|
1114
1374
|
export type v1CustomRevertError = {
|
|
1115
1375
|
/** The name of the custom error. */
|
|
1116
1376
|
errorName?: string;
|
|
@@ -1124,7 +1384,7 @@ export type v1DeleteApiKeysIntent = {
|
|
|
1124
1384
|
apiKeyIds: string[];
|
|
1125
1385
|
};
|
|
1126
1386
|
export type v1DeleteApiKeysRequest = {
|
|
1127
|
-
type:
|
|
1387
|
+
type: "ACTIVITY_TYPE_DELETE_API_KEYS";
|
|
1128
1388
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1129
1389
|
timestampMs: string;
|
|
1130
1390
|
/** Unique identifier for a given Organization. */
|
|
@@ -1143,7 +1403,7 @@ export type v1DeleteAuthenticatorsIntent = {
|
|
|
1143
1403
|
authenticatorIds: string[];
|
|
1144
1404
|
};
|
|
1145
1405
|
export type v1DeleteAuthenticatorsRequest = {
|
|
1146
|
-
type:
|
|
1406
|
+
type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS";
|
|
1147
1407
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1148
1408
|
timestampMs: string;
|
|
1149
1409
|
/** Unique identifier for a given Organization. */
|
|
@@ -1160,7 +1420,7 @@ export type v1DeleteFiatOnRampCredentialIntent = {
|
|
|
1160
1420
|
fiatOnrampCredentialId: string;
|
|
1161
1421
|
};
|
|
1162
1422
|
export type v1DeleteFiatOnRampCredentialRequest = {
|
|
1163
|
-
type:
|
|
1423
|
+
type: "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL";
|
|
1164
1424
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1165
1425
|
timestampMs: string;
|
|
1166
1426
|
/** Unique identifier for a given Organization. */
|
|
@@ -1177,7 +1437,7 @@ export type v1DeleteInvitationIntent = {
|
|
|
1177
1437
|
invitationId: string;
|
|
1178
1438
|
};
|
|
1179
1439
|
export type v1DeleteInvitationRequest = {
|
|
1180
|
-
type:
|
|
1440
|
+
type: "ACTIVITY_TYPE_DELETE_INVITATION";
|
|
1181
1441
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1182
1442
|
timestampMs: string;
|
|
1183
1443
|
/** Unique identifier for a given Organization. */
|
|
@@ -1194,7 +1454,7 @@ export type v1DeleteOauth2CredentialIntent = {
|
|
|
1194
1454
|
oauth2CredentialId: string;
|
|
1195
1455
|
};
|
|
1196
1456
|
export type v1DeleteOauth2CredentialRequest = {
|
|
1197
|
-
type:
|
|
1457
|
+
type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL";
|
|
1198
1458
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1199
1459
|
timestampMs: string;
|
|
1200
1460
|
/** Unique identifier for a given Organization. */
|
|
@@ -1213,7 +1473,7 @@ export type v1DeleteOauthProvidersIntent = {
|
|
|
1213
1473
|
providerIds: string[];
|
|
1214
1474
|
};
|
|
1215
1475
|
export type v1DeleteOauthProvidersRequest = {
|
|
1216
|
-
type:
|
|
1476
|
+
type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS";
|
|
1217
1477
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1218
1478
|
timestampMs: string;
|
|
1219
1479
|
/** Unique identifier for a given Organization. */
|
|
@@ -1238,7 +1498,7 @@ export type v1DeletePoliciesIntent = {
|
|
|
1238
1498
|
policyIds: string[];
|
|
1239
1499
|
};
|
|
1240
1500
|
export type v1DeletePoliciesRequest = {
|
|
1241
|
-
type:
|
|
1501
|
+
type: "ACTIVITY_TYPE_DELETE_POLICIES";
|
|
1242
1502
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1243
1503
|
timestampMs: string;
|
|
1244
1504
|
/** Unique identifier for a given Organization. */
|
|
@@ -1255,7 +1515,7 @@ export type v1DeletePolicyIntent = {
|
|
|
1255
1515
|
policyId: string;
|
|
1256
1516
|
};
|
|
1257
1517
|
export type v1DeletePolicyRequest = {
|
|
1258
|
-
type:
|
|
1518
|
+
type: "ACTIVITY_TYPE_DELETE_POLICY";
|
|
1259
1519
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1260
1520
|
timestampMs: string;
|
|
1261
1521
|
/** Unique identifier for a given Organization. */
|
|
@@ -1272,7 +1532,7 @@ export type v1DeletePrivateKeyTagsIntent = {
|
|
|
1272
1532
|
privateKeyTagIds: string[];
|
|
1273
1533
|
};
|
|
1274
1534
|
export type v1DeletePrivateKeyTagsRequest = {
|
|
1275
|
-
type:
|
|
1535
|
+
type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS";
|
|
1276
1536
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1277
1537
|
timestampMs: string;
|
|
1278
1538
|
/** Unique identifier for a given Organization. */
|
|
@@ -1293,7 +1553,7 @@ export type v1DeletePrivateKeysIntent = {
|
|
|
1293
1553
|
deleteWithoutExport?: boolean;
|
|
1294
1554
|
};
|
|
1295
1555
|
export type v1DeletePrivateKeysRequest = {
|
|
1296
|
-
type:
|
|
1556
|
+
type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS";
|
|
1297
1557
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1298
1558
|
timestampMs: string;
|
|
1299
1559
|
/** Unique identifier for a given Organization. */
|
|
@@ -1310,7 +1570,7 @@ export type v1DeleteSmartContractInterfaceIntent = {
|
|
|
1310
1570
|
smartContractInterfaceId: string;
|
|
1311
1571
|
};
|
|
1312
1572
|
export type v1DeleteSmartContractInterfaceRequest = {
|
|
1313
|
-
type:
|
|
1573
|
+
type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE";
|
|
1314
1574
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1315
1575
|
timestampMs: string;
|
|
1316
1576
|
/** Unique identifier for a given Organization. */
|
|
@@ -1327,7 +1587,7 @@ export type v1DeleteSubOrganizationIntent = {
|
|
|
1327
1587
|
deleteWithoutExport?: boolean;
|
|
1328
1588
|
};
|
|
1329
1589
|
export type v1DeleteSubOrganizationRequest = {
|
|
1330
|
-
type:
|
|
1590
|
+
type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION";
|
|
1331
1591
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1332
1592
|
timestampMs: string;
|
|
1333
1593
|
/** Unique identifier for a given Organization. */
|
|
@@ -1339,12 +1599,46 @@ export type v1DeleteSubOrganizationResult = {
|
|
|
1339
1599
|
/** Unique identifier of the sub organization that was removed */
|
|
1340
1600
|
subOrganizationUuid: string;
|
|
1341
1601
|
};
|
|
1602
|
+
export type v1DeleteTvcAppAndDeploymentsIntent = {
|
|
1603
|
+
/** The unique identifier of the TVC app to delete. The app and all associated deployments will be removed. */
|
|
1604
|
+
appId: string;
|
|
1605
|
+
};
|
|
1606
|
+
export type v1DeleteTvcAppAndDeploymentsRequest = {
|
|
1607
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS";
|
|
1608
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1609
|
+
timestampMs: string;
|
|
1610
|
+
/** Unique identifier for a given Organization. */
|
|
1611
|
+
organizationId: string;
|
|
1612
|
+
parameters: v1DeleteTvcAppAndDeploymentsIntent;
|
|
1613
|
+
generateAppProofs?: boolean;
|
|
1614
|
+
};
|
|
1615
|
+
export type v1DeleteTvcAppAndDeploymentsResult = {
|
|
1616
|
+
/** The unique identifier of the deleted TVC app. */
|
|
1617
|
+
appId: string;
|
|
1618
|
+
};
|
|
1619
|
+
export type v1DeleteTvcDeploymentIntent = {
|
|
1620
|
+
/** The unique identifier of the TVC deployment to delete. */
|
|
1621
|
+
deploymentId: string;
|
|
1622
|
+
};
|
|
1623
|
+
export type v1DeleteTvcDeploymentRequest = {
|
|
1624
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT";
|
|
1625
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1626
|
+
timestampMs: string;
|
|
1627
|
+
/** Unique identifier for a given Organization. */
|
|
1628
|
+
organizationId: string;
|
|
1629
|
+
parameters: v1DeleteTvcDeploymentIntent;
|
|
1630
|
+
generateAppProofs?: boolean;
|
|
1631
|
+
};
|
|
1632
|
+
export type v1DeleteTvcDeploymentResult = {
|
|
1633
|
+
/** The unique identifier of the deleted TVC deployment. */
|
|
1634
|
+
deploymentId: string;
|
|
1635
|
+
};
|
|
1342
1636
|
export type v1DeleteUserTagsIntent = {
|
|
1343
1637
|
/** A list of User Tag IDs. */
|
|
1344
1638
|
userTagIds: string[];
|
|
1345
1639
|
};
|
|
1346
1640
|
export type v1DeleteUserTagsRequest = {
|
|
1347
|
-
type:
|
|
1641
|
+
type: "ACTIVITY_TYPE_DELETE_USER_TAGS";
|
|
1348
1642
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1349
1643
|
timestampMs: string;
|
|
1350
1644
|
/** Unique identifier for a given Organization. */
|
|
@@ -1363,7 +1657,7 @@ export type v1DeleteUsersIntent = {
|
|
|
1363
1657
|
userIds: string[];
|
|
1364
1658
|
};
|
|
1365
1659
|
export type v1DeleteUsersRequest = {
|
|
1366
|
-
type:
|
|
1660
|
+
type: "ACTIVITY_TYPE_DELETE_USERS";
|
|
1367
1661
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1368
1662
|
timestampMs: string;
|
|
1369
1663
|
/** Unique identifier for a given Organization. */
|
|
@@ -1382,7 +1676,7 @@ export type v1DeleteWalletAccountsIntent = {
|
|
|
1382
1676
|
deleteWithoutExport?: boolean;
|
|
1383
1677
|
};
|
|
1384
1678
|
export type v1DeleteWalletAccountsRequest = {
|
|
1385
|
-
type:
|
|
1679
|
+
type: "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS";
|
|
1386
1680
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1387
1681
|
timestampMs: string;
|
|
1388
1682
|
/** Unique identifier for a given Organization. */
|
|
@@ -1401,7 +1695,7 @@ export type v1DeleteWalletsIntent = {
|
|
|
1401
1695
|
deleteWithoutExport?: boolean;
|
|
1402
1696
|
};
|
|
1403
1697
|
export type v1DeleteWalletsRequest = {
|
|
1404
|
-
type:
|
|
1698
|
+
type: "ACTIVITY_TYPE_DELETE_WALLETS";
|
|
1405
1699
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1406
1700
|
timestampMs: string;
|
|
1407
1701
|
/** Unique identifier for a given Organization. */
|
|
@@ -1418,7 +1712,7 @@ export type v1DeleteWebhookEndpointIntent = {
|
|
|
1418
1712
|
endpointId: string;
|
|
1419
1713
|
};
|
|
1420
1714
|
export type v1DeleteWebhookEndpointRequest = {
|
|
1421
|
-
type:
|
|
1715
|
+
type: "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT";
|
|
1422
1716
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1423
1717
|
timestampMs: string;
|
|
1424
1718
|
/** Unique identifier for a given Organization. */
|
|
@@ -1524,7 +1818,7 @@ export type v1EmailAuthIntentV3 = {
|
|
|
1524
1818
|
replyToEmailAddress?: string;
|
|
1525
1819
|
};
|
|
1526
1820
|
export type v1EmailAuthRequest = {
|
|
1527
|
-
type:
|
|
1821
|
+
type: "ACTIVITY_TYPE_EMAIL_AUTH_V3";
|
|
1528
1822
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1529
1823
|
timestampMs: string;
|
|
1530
1824
|
/** Unique identifier for a given Organization. */
|
|
@@ -1573,7 +1867,7 @@ export type v1EthSendRawTransactionIntent = {
|
|
|
1573
1867
|
/** The raw, signed transaction to be sent. */
|
|
1574
1868
|
signedTransaction: string;
|
|
1575
1869
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1576
|
-
caip2:
|
|
1870
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
1577
1871
|
};
|
|
1578
1872
|
export type v1EthSendRawTransactionResult = {
|
|
1579
1873
|
/** The transaction hash of the sent transaction */
|
|
@@ -1585,7 +1879,7 @@ export type v1EthSendTransactionIntent = {
|
|
|
1585
1879
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
1586
1880
|
sponsor?: boolean;
|
|
1587
1881
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1588
|
-
caip2:
|
|
1882
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
1589
1883
|
/** Recipient address as a hex string with 0x prefix. */
|
|
1590
1884
|
to: string;
|
|
1591
1885
|
/** Amount of native asset to send in wei. */
|
|
@@ -1600,11 +1894,13 @@ export type v1EthSendTransactionIntent = {
|
|
|
1600
1894
|
maxFeePerGas?: string;
|
|
1601
1895
|
/** Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
1602
1896
|
maxPriorityFeePerGas?: string;
|
|
1897
|
+
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
1898
|
+
deadline?: string;
|
|
1603
1899
|
/** The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
1604
1900
|
gasStationNonce?: string;
|
|
1605
1901
|
};
|
|
1606
1902
|
export type v1EthSendTransactionRequest = {
|
|
1607
|
-
type:
|
|
1903
|
+
type: "ACTIVITY_TYPE_ETH_SEND_TRANSACTION";
|
|
1608
1904
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1609
1905
|
timestampMs: string;
|
|
1610
1906
|
/** Unique identifier for a given Organization. */
|
|
@@ -1627,7 +1923,7 @@ export type v1ExportPrivateKeyIntent = {
|
|
|
1627
1923
|
targetPublicKey: string;
|
|
1628
1924
|
};
|
|
1629
1925
|
export type v1ExportPrivateKeyRequest = {
|
|
1630
|
-
type:
|
|
1926
|
+
type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY";
|
|
1631
1927
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1632
1928
|
timestampMs: string;
|
|
1633
1929
|
/** Unique identifier for a given Organization. */
|
|
@@ -1648,7 +1944,7 @@ export type v1ExportWalletAccountIntent = {
|
|
|
1648
1944
|
targetPublicKey: string;
|
|
1649
1945
|
};
|
|
1650
1946
|
export type v1ExportWalletAccountRequest = {
|
|
1651
|
-
type:
|
|
1947
|
+
type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT";
|
|
1652
1948
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1653
1949
|
timestampMs: string;
|
|
1654
1950
|
/** Unique identifier for a given Organization. */
|
|
@@ -1671,7 +1967,7 @@ export type v1ExportWalletIntent = {
|
|
|
1671
1967
|
language?: v1MnemonicLanguage;
|
|
1672
1968
|
};
|
|
1673
1969
|
export type v1ExportWalletRequest = {
|
|
1674
|
-
type:
|
|
1970
|
+
type: "ACTIVITY_TYPE_EXPORT_WALLET";
|
|
1675
1971
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1676
1972
|
timestampMs: string;
|
|
1677
1973
|
/** Unique identifier for a given Organization. */
|
|
@@ -1812,6 +2108,15 @@ export type v1GetGasUsageResponse = {
|
|
|
1812
2108
|
/** The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
|
|
1813
2109
|
usageUsd: string;
|
|
1814
2110
|
};
|
|
2111
|
+
export type v1GetIpAllowlistRequest = {
|
|
2112
|
+
/** Unique identifier for a given organization. */
|
|
2113
|
+
organizationId: string;
|
|
2114
|
+
/** If provided, return only the allowlist for this specific API key. */
|
|
2115
|
+
publicKey?: string;
|
|
2116
|
+
};
|
|
2117
|
+
export type v1GetIpAllowlistResponse = {
|
|
2118
|
+
allowlist: v1IpAllowlist;
|
|
2119
|
+
};
|
|
1815
2120
|
export type v1GetLatestBootProofRequest = {
|
|
1816
2121
|
/** Unique identifier for a given Organization. */
|
|
1817
2122
|
organizationId: string;
|
|
@@ -1824,7 +2129,7 @@ export type v1GetNoncesRequest = {
|
|
|
1824
2129
|
/** The Ethereum address to query nonces for. */
|
|
1825
2130
|
address: string;
|
|
1826
2131
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1827
|
-
caip2:
|
|
2132
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
1828
2133
|
/** Whether to fetch the standard on-chain nonce. */
|
|
1829
2134
|
nonce?: boolean;
|
|
1830
2135
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -1970,6 +2275,44 @@ export type v1GetSubOrgIdsResponse = {
|
|
|
1970
2275
|
/** List of unique identifiers for the matching sub-organizations. */
|
|
1971
2276
|
organizationIds: string[];
|
|
1972
2277
|
};
|
|
2278
|
+
export type v1GetTvcAppDeploymentsRequest = {
|
|
2279
|
+
/** Unique identifier for a given organization. */
|
|
2280
|
+
organizationId: string;
|
|
2281
|
+
/** Unique identifier for a given TVC App. */
|
|
2282
|
+
appId: string;
|
|
2283
|
+
};
|
|
2284
|
+
export type v1GetTvcAppDeploymentsResponse = {
|
|
2285
|
+
/** List of deployments for this TVC App */
|
|
2286
|
+
tvcDeployments: v1TvcDeployment[];
|
|
2287
|
+
};
|
|
2288
|
+
export type v1GetTvcAppRequest = {
|
|
2289
|
+
/** Unique identifier for a given organization. */
|
|
2290
|
+
organizationId: string;
|
|
2291
|
+
/** Unique identifier for a given TVC App. */
|
|
2292
|
+
tvcAppId: string;
|
|
2293
|
+
};
|
|
2294
|
+
export type v1GetTvcAppResponse = {
|
|
2295
|
+
/** Details about a single TVC App */
|
|
2296
|
+
tvcApp: v1TvcApp;
|
|
2297
|
+
};
|
|
2298
|
+
export type v1GetTvcAppsRequest = {
|
|
2299
|
+
/** Unique identifier for a given organization. */
|
|
2300
|
+
organizationId: string;
|
|
2301
|
+
};
|
|
2302
|
+
export type v1GetTvcAppsResponse = {
|
|
2303
|
+
/** A list of TVC Apps. */
|
|
2304
|
+
tvcApps: v1TvcApp[];
|
|
2305
|
+
};
|
|
2306
|
+
export type v1GetTvcDeploymentRequest = {
|
|
2307
|
+
/** Unique identifier for a given organization. */
|
|
2308
|
+
organizationId: string;
|
|
2309
|
+
/** Unique identifier for a given TVC Deployment. */
|
|
2310
|
+
deploymentId: string;
|
|
2311
|
+
};
|
|
2312
|
+
export type v1GetTvcDeploymentResponse = {
|
|
2313
|
+
/** Details about a single TVC Deployment */
|
|
2314
|
+
tvcDeployment: v1TvcDeployment;
|
|
2315
|
+
};
|
|
1973
2316
|
export type v1GetUserRequest = {
|
|
1974
2317
|
/** Unique identifier for a given organization. */
|
|
1975
2318
|
organizationId: string;
|
|
@@ -2033,10 +2376,10 @@ export type v1GetWalletAccountsResponse = {
|
|
|
2033
2376
|
export type v1GetWalletAddressBalancesRequest = {
|
|
2034
2377
|
/** Unique identifier for a given organization. */
|
|
2035
2378
|
organizationId: string;
|
|
2036
|
-
/** Address corresponding to a wallet account. */
|
|
2379
|
+
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
2037
2380
|
address: string;
|
|
2038
2381
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet or 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values. */
|
|
2039
|
-
caip2:
|
|
2382
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2040
2383
|
};
|
|
2041
2384
|
export type v1GetWalletAddressBalancesResponse = {
|
|
2042
2385
|
/** List of asset balances */
|
|
@@ -2088,7 +2431,7 @@ export type v1ImportPrivateKeyIntent = {
|
|
|
2088
2431
|
addressFormats: v1AddressFormat[];
|
|
2089
2432
|
};
|
|
2090
2433
|
export type v1ImportPrivateKeyRequest = {
|
|
2091
|
-
type:
|
|
2434
|
+
type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY";
|
|
2092
2435
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2093
2436
|
timestampMs: string;
|
|
2094
2437
|
/** Unique identifier for a given Organization. */
|
|
@@ -2113,7 +2456,7 @@ export type v1ImportWalletIntent = {
|
|
|
2113
2456
|
accounts: v1WalletAccountParams[];
|
|
2114
2457
|
};
|
|
2115
2458
|
export type v1ImportWalletRequest = {
|
|
2116
|
-
type:
|
|
2459
|
+
type: "ACTIVITY_TYPE_IMPORT_WALLET";
|
|
2117
2460
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2118
2461
|
timestampMs: string;
|
|
2119
2462
|
/** Unique identifier for a given Organization. */
|
|
@@ -2152,7 +2495,7 @@ export type v1InitFiatOnRampIntent = {
|
|
|
2152
2495
|
urlForSignature?: string;
|
|
2153
2496
|
};
|
|
2154
2497
|
export type v1InitFiatOnRampRequest = {
|
|
2155
|
-
type:
|
|
2498
|
+
type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP";
|
|
2156
2499
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2157
2500
|
timestampMs: string;
|
|
2158
2501
|
/** Unique identifier for a given Organization. */
|
|
@@ -2173,7 +2516,7 @@ export type v1InitImportPrivateKeyIntent = {
|
|
|
2173
2516
|
userId: string;
|
|
2174
2517
|
};
|
|
2175
2518
|
export type v1InitImportPrivateKeyRequest = {
|
|
2176
|
-
type:
|
|
2519
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY";
|
|
2177
2520
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2178
2521
|
timestampMs: string;
|
|
2179
2522
|
/** Unique identifier for a given Organization. */
|
|
@@ -2190,7 +2533,7 @@ export type v1InitImportWalletIntent = {
|
|
|
2190
2533
|
userId: string;
|
|
2191
2534
|
};
|
|
2192
2535
|
export type v1InitImportWalletRequest = {
|
|
2193
|
-
type:
|
|
2536
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET";
|
|
2194
2537
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2195
2538
|
timestampMs: string;
|
|
2196
2539
|
/** Unique identifier for a given Organization. */
|
|
@@ -2269,7 +2612,7 @@ export type v1InitOtpAuthIntentV3 = {
|
|
|
2269
2612
|
replyToEmailAddress?: string;
|
|
2270
2613
|
};
|
|
2271
2614
|
export type v1InitOtpAuthRequest = {
|
|
2272
|
-
type:
|
|
2615
|
+
type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V3";
|
|
2273
2616
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2274
2617
|
timestampMs: string;
|
|
2275
2618
|
/** Unique identifier for a given Organization. */
|
|
@@ -2361,15 +2704,6 @@ export type v1InitOtpIntentV3 = {
|
|
|
2361
2704
|
/** Optional custom email address to use as reply-to */
|
|
2362
2705
|
replyToEmailAddress?: string;
|
|
2363
2706
|
};
|
|
2364
|
-
export type v1InitOtpRequest = {
|
|
2365
|
-
type: string;
|
|
2366
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2367
|
-
timestampMs: string;
|
|
2368
|
-
/** Unique identifier for a given Organization. */
|
|
2369
|
-
organizationId: string;
|
|
2370
|
-
parameters: v1InitOtpIntentV3;
|
|
2371
|
-
generateAppProofs?: boolean;
|
|
2372
|
-
};
|
|
2373
2707
|
export type v1InitOtpResult = {
|
|
2374
2708
|
/** Unique identifier for an OTP authentication */
|
|
2375
2709
|
otpId: string;
|
|
@@ -2413,7 +2747,7 @@ export type v1InitUserEmailRecoveryIntentV2 = {
|
|
|
2413
2747
|
replyToEmailAddress?: string;
|
|
2414
2748
|
};
|
|
2415
2749
|
export type v1InitUserEmailRecoveryRequest = {
|
|
2416
|
-
type:
|
|
2750
|
+
type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2";
|
|
2417
2751
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2418
2752
|
timestampMs: string;
|
|
2419
2753
|
/** Unique identifier for a given Organization. */
|
|
@@ -2553,6 +2887,17 @@ export type v1Intent = {
|
|
|
2553
2887
|
createWebhookEndpointIntent?: v1CreateWebhookEndpointIntent;
|
|
2554
2888
|
updateWebhookEndpointIntent?: v1UpdateWebhookEndpointIntent;
|
|
2555
2889
|
deleteWebhookEndpointIntent?: v1DeleteWebhookEndpointIntent;
|
|
2890
|
+
setIpAllowlistIntent?: v1SetIpAllowlistIntent;
|
|
2891
|
+
removeIpAllowlistIntent?: v1RemoveIpAllowlistIntent;
|
|
2892
|
+
updateTvcAppLiveDeploymentIntent?: v1UpdateTvcAppLiveDeploymentIntent;
|
|
2893
|
+
deleteTvcDeploymentIntent?: v1DeleteTvcDeploymentIntent;
|
|
2894
|
+
deleteTvcAppAndDeploymentsIntent?: v1DeleteTvcAppAndDeploymentsIntent;
|
|
2895
|
+
restoreTvcDeploymentIntent?: v1RestoreTvcDeploymentIntent;
|
|
2896
|
+
sparkSignFrostIntent?: v1SparkSignFrostIntent;
|
|
2897
|
+
sparkPrepareTransferIntent?: v1SparkPrepareTransferIntent;
|
|
2898
|
+
sparkClaimTransferIntent?: v1SparkClaimTransferIntent;
|
|
2899
|
+
sparkPrepareLightningReceiveIntent?: v1SparkPrepareLightningReceiveIntent;
|
|
2900
|
+
postTvcQuorumKeyShareIntent?: v1PostTvcQuorumKeyShareIntent;
|
|
2556
2901
|
};
|
|
2557
2902
|
export type v1InvitationParams = {
|
|
2558
2903
|
/** The name of the intended Invitation recipient. */
|
|
@@ -2566,6 +2911,32 @@ export type v1InvitationParams = {
|
|
|
2566
2911
|
/** Unique identifier for the Sender of an Invitation. */
|
|
2567
2912
|
senderUserId: string;
|
|
2568
2913
|
};
|
|
2914
|
+
export type v1IpAllowlist = {
|
|
2915
|
+
/** Unique identifier for the organization this allowlist belongs to. */
|
|
2916
|
+
organizationId: string;
|
|
2917
|
+
/** List of IP allowlist rules with their metadata. */
|
|
2918
|
+
rules: v1IpAllowlistRule[];
|
|
2919
|
+
/** Public key of the API key this allowlist applies to. Null means the allowlist applies to the entire organization. */
|
|
2920
|
+
publicKey?: string;
|
|
2921
|
+
/** Whether the IP allowlist is enabled. Only present for organization-level allowlists. Null for API key-level allowlists (presence of the allowlist implies enablement). */
|
|
2922
|
+
enabled?: boolean;
|
|
2923
|
+
/** Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
2924
|
+
onEvaluationError?: string;
|
|
2925
|
+
};
|
|
2926
|
+
export type v1IpAllowlistIntentRule = {
|
|
2927
|
+
/** CIDR block (e.g., '192.168.1.0/24', '2001:db8::/32'). */
|
|
2928
|
+
cidr: string;
|
|
2929
|
+
/** Optional human-readable label for this rule (e.g., 'Office VPN'). */
|
|
2930
|
+
label?: string;
|
|
2931
|
+
};
|
|
2932
|
+
export type v1IpAllowlistRule = {
|
|
2933
|
+
/** CIDR block (e.g., '192.168.1.0/24'). */
|
|
2934
|
+
cidr: string;
|
|
2935
|
+
/** Optional human-readable label for this rule. */
|
|
2936
|
+
label?: string;
|
|
2937
|
+
/** Creation timestamp as millisecond epoch string. */
|
|
2938
|
+
createdAt?: string;
|
|
2939
|
+
};
|
|
2569
2940
|
export type v1ListFiatOnRampCredentialsRequest = {
|
|
2570
2941
|
/** Unique identifier for a given Organization. */
|
|
2571
2942
|
organizationId: string;
|
|
@@ -2592,7 +2963,7 @@ export type v1ListSupportedAssetsRequest = {
|
|
|
2592
2963
|
/** Unique identifier for a given organization. */
|
|
2593
2964
|
organizationId: string;
|
|
2594
2965
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet or 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values. */
|
|
2595
|
-
caip2:
|
|
2966
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2596
2967
|
};
|
|
2597
2968
|
export type v1ListSupportedAssetsResponse = {
|
|
2598
2969
|
/** List of asset metadata */
|
|
@@ -2639,13 +3010,13 @@ export type v1Oauth2AuthenticateIntent = {
|
|
|
2639
3010
|
redirectUri: string;
|
|
2640
3011
|
/** The code verifier used by OAuth 2.0 PKCE providers */
|
|
2641
3012
|
codeVerifier: string;
|
|
2642
|
-
/**
|
|
2643
|
-
nonce
|
|
3013
|
+
/** A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
3014
|
+
nonce: string;
|
|
2644
3015
|
/** An optional P256 public key to which, if provided, the bearer token will be encrypted and returned via the `encrypted_bearer_token` claim of the OIDC Token */
|
|
2645
3016
|
bearerTokenTargetPublicKey?: string;
|
|
2646
3017
|
};
|
|
2647
3018
|
export type v1Oauth2AuthenticateRequest = {
|
|
2648
|
-
type:
|
|
3019
|
+
type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE";
|
|
2649
3020
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2650
3021
|
timestampMs: string;
|
|
2651
3022
|
/** Unique identifier for a given Organization. */
|
|
@@ -2671,7 +3042,6 @@ export type v1Oauth2Credential = {
|
|
|
2671
3042
|
createdAt: externaldatav1Timestamp;
|
|
2672
3043
|
updatedAt: externaldatav1Timestamp;
|
|
2673
3044
|
};
|
|
2674
|
-
export type v1Oauth2Provider = "OAUTH2_PROVIDER_X" | "OAUTH2_PROVIDER_DISCORD";
|
|
2675
3045
|
export type v1OauthIntent = {
|
|
2676
3046
|
/** Base64 encoded OIDC token */
|
|
2677
3047
|
oidcToken: string;
|
|
@@ -2695,7 +3065,7 @@ export type v1OauthLoginIntent = {
|
|
|
2695
3065
|
invalidateExisting?: boolean;
|
|
2696
3066
|
};
|
|
2697
3067
|
export type v1OauthLoginRequest = {
|
|
2698
|
-
type:
|
|
3068
|
+
type: "ACTIVITY_TYPE_OAUTH_LOGIN";
|
|
2699
3069
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2700
3070
|
timestampMs: string;
|
|
2701
3071
|
/** Unique identifier for a given Organization. */
|
|
@@ -2721,22 +3091,8 @@ export type v1OauthProvider = {
|
|
|
2721
3091
|
createdAt: externaldatav1Timestamp;
|
|
2722
3092
|
updatedAt: externaldatav1Timestamp;
|
|
2723
3093
|
};
|
|
2724
|
-
export type v1OauthProviderParams = {
|
|
2725
|
-
/** Human-readable name to identify a Provider. */
|
|
2726
|
-
providerName: string;
|
|
2727
|
-
/** Base64 encoded OIDC token */
|
|
2728
|
-
oidcToken: string;
|
|
2729
|
-
};
|
|
2730
|
-
export type v1OauthProviderParamsV2 = {
|
|
2731
|
-
/** Human-readable name to identify a Provider. */
|
|
2732
|
-
providerName: string;
|
|
2733
|
-
/** Base64 encoded OIDC token */
|
|
2734
|
-
oidcToken?: string;
|
|
2735
|
-
/** OIDC claims (iss, sub, aud) to uniquely identify the user */
|
|
2736
|
-
oidcClaims?: v1OidcClaims;
|
|
2737
|
-
};
|
|
2738
3094
|
export type v1OauthRequest = {
|
|
2739
|
-
type:
|
|
3095
|
+
type: "ACTIVITY_TYPE_OAUTH";
|
|
2740
3096
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2741
3097
|
timestampMs: string;
|
|
2742
3098
|
/** Unique identifier for a given Organization. */
|
|
@@ -2752,14 +3108,6 @@ export type v1OauthResult = {
|
|
|
2752
3108
|
/** HPKE encrypted credential bundle */
|
|
2753
3109
|
credentialBundle: string;
|
|
2754
3110
|
};
|
|
2755
|
-
export type v1OidcClaims = {
|
|
2756
|
-
/** The issuer identifier from the OIDC token (iss claim) */
|
|
2757
|
-
iss: string;
|
|
2758
|
-
/** The subject identifier from the OIDC token (sub claim) */
|
|
2759
|
-
sub: string;
|
|
2760
|
-
/** The audience from the OIDC token (aud claim) */
|
|
2761
|
-
aud: string;
|
|
2762
|
-
};
|
|
2763
3111
|
export type v1Operator = "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
2764
3112
|
export type v1OtpAuthIntent = {
|
|
2765
3113
|
/** ID representing the result of an init OTP activity. */
|
|
@@ -2776,7 +3124,7 @@ export type v1OtpAuthIntent = {
|
|
|
2776
3124
|
invalidateExisting?: boolean;
|
|
2777
3125
|
};
|
|
2778
3126
|
export type v1OtpAuthRequest = {
|
|
2779
|
-
type:
|
|
3127
|
+
type: "ACTIVITY_TYPE_OTP_AUTH";
|
|
2780
3128
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2781
3129
|
timestampMs: string;
|
|
2782
3130
|
/** Unique identifier for a given Organization. */
|
|
@@ -2816,15 +3164,6 @@ export type v1OtpLoginIntentV2 = {
|
|
|
2816
3164
|
/** Invalidate all other previously generated Login sessions */
|
|
2817
3165
|
invalidateExisting?: boolean;
|
|
2818
3166
|
};
|
|
2819
|
-
export type v1OtpLoginRequest = {
|
|
2820
|
-
type: string;
|
|
2821
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2822
|
-
timestampMs: string;
|
|
2823
|
-
/** Unique identifier for a given Organization. */
|
|
2824
|
-
organizationId: string;
|
|
2825
|
-
parameters: v1OtpLoginIntentV2;
|
|
2826
|
-
generateAppProofs?: boolean;
|
|
2827
|
-
};
|
|
2828
3167
|
export type v1OtpLoginResult = {
|
|
2829
3168
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
2830
3169
|
session: string;
|
|
@@ -2838,7 +3177,6 @@ export type v1Pagination = {
|
|
|
2838
3177
|
/** A pagination cursor. This is an object ID that enables you to fetch all objects after this ID. */
|
|
2839
3178
|
after?: string;
|
|
2840
3179
|
};
|
|
2841
|
-
export type v1PathFormat = "PATH_FORMAT_BIP32";
|
|
2842
3180
|
export type v1PayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8" | "PAYLOAD_ENCODING_EIP712" | "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION";
|
|
2843
3181
|
export type v1Policy = {
|
|
2844
3182
|
/** Unique identifier for a given Policy. */
|
|
@@ -2856,6 +3194,18 @@ export type v1Policy = {
|
|
|
2856
3194
|
/** A condition expression that evalutes to true or false. */
|
|
2857
3195
|
condition: string;
|
|
2858
3196
|
};
|
|
3197
|
+
export type v1PostTvcQuorumKeyShareIntent = {
|
|
3198
|
+
/** Unique identifier of the TVC deployment receiving quorum key share */
|
|
3199
|
+
deploymentId: string;
|
|
3200
|
+
/** Hex-encoded ephemeral public key used to encrypt the quorum key share */
|
|
3201
|
+
ephemeralPublicKeyHex: string;
|
|
3202
|
+
/** Re-encrypted quorum key share and approval */
|
|
3203
|
+
shareApprovalBundle: v1QuorumKeyShareApprovalBundle;
|
|
3204
|
+
};
|
|
3205
|
+
export type v1PostTvcQuorumKeyShareResult = {
|
|
3206
|
+
/** The unique identifier for the provisioning quorum key share */
|
|
3207
|
+
provisioningShareId: string;
|
|
3208
|
+
};
|
|
2859
3209
|
export type v1PrivateKey = {
|
|
2860
3210
|
/** Unique identifier for a given Private Key. */
|
|
2861
3211
|
privateKeyId: string;
|
|
@@ -2892,12 +3242,20 @@ export type v1PrivateKeyResult = {
|
|
|
2892
3242
|
};
|
|
2893
3243
|
export type v1PublicKeyCredentialWithAttestation = {
|
|
2894
3244
|
id: string;
|
|
2895
|
-
type:
|
|
3245
|
+
type: "public-key";
|
|
2896
3246
|
rawId: string;
|
|
2897
|
-
authenticatorAttachment?:
|
|
3247
|
+
authenticatorAttachment?: "cross-platform" | "platform";
|
|
2898
3248
|
response: v1AuthenticatorAttestationResponse;
|
|
2899
3249
|
clientExtensionResults: v1SimpleClientExtensionResults;
|
|
2900
3250
|
};
|
|
3251
|
+
export type v1QuorumKeyShareApprovalBundle = {
|
|
3252
|
+
/** Unique identifier of the operator providing this quorum key share */
|
|
3253
|
+
operatorId: string;
|
|
3254
|
+
/** Hex-encoded re-encrypted quorum key share */
|
|
3255
|
+
reEncryptedShareHex: string;
|
|
3256
|
+
/** Signature from the share set operator approving the manifest */
|
|
3257
|
+
signature: string;
|
|
3258
|
+
};
|
|
2901
3259
|
export type v1RecoverUserIntent = {
|
|
2902
3260
|
/** The new authenticator to register. */
|
|
2903
3261
|
authenticator: v1AuthenticatorParamsV2;
|
|
@@ -2905,7 +3263,7 @@ export type v1RecoverUserIntent = {
|
|
|
2905
3263
|
userId: string;
|
|
2906
3264
|
};
|
|
2907
3265
|
export type v1RecoverUserRequest = {
|
|
2908
|
-
type:
|
|
3266
|
+
type: "ACTIVITY_TYPE_RECOVER_USER";
|
|
2909
3267
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2910
3268
|
timestampMs: string;
|
|
2911
3269
|
/** Unique identifier for a given Organization. */
|
|
@@ -2922,7 +3280,7 @@ export type v1RejectActivityIntent = {
|
|
|
2922
3280
|
fingerprint: string;
|
|
2923
3281
|
};
|
|
2924
3282
|
export type v1RejectActivityRequest = {
|
|
2925
|
-
type:
|
|
3283
|
+
type: "ACTIVITY_TYPE_REJECT_ACTIVITY";
|
|
2926
3284
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2927
3285
|
timestampMs: string;
|
|
2928
3286
|
/** Unique identifier for a given Organization. */
|
|
@@ -2930,12 +3288,26 @@ export type v1RejectActivityRequest = {
|
|
|
2930
3288
|
parameters: v1RejectActivityIntent;
|
|
2931
3289
|
generateAppProofs?: boolean;
|
|
2932
3290
|
};
|
|
3291
|
+
export type v1RemoveIpAllowlistIntent = {
|
|
3292
|
+
/** The public component of an API key. If null, removes the organization-level IP allowlist. If set, removes the IP allowlist for this specific API key. */
|
|
3293
|
+
publicKey?: string;
|
|
3294
|
+
};
|
|
3295
|
+
export type v1RemoveIpAllowlistRequest = {
|
|
3296
|
+
type: "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST";
|
|
3297
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3298
|
+
timestampMs: string;
|
|
3299
|
+
/** Unique identifier for a given Organization. */
|
|
3300
|
+
organizationId: string;
|
|
3301
|
+
parameters: v1RemoveIpAllowlistIntent;
|
|
3302
|
+
generateAppProofs?: boolean;
|
|
3303
|
+
};
|
|
3304
|
+
export type v1RemoveIpAllowlistResult = {};
|
|
2933
3305
|
export type v1RemoveOrganizationFeatureIntent = {
|
|
2934
3306
|
/** Name of the feature to remove */
|
|
2935
3307
|
name: v1FeatureName;
|
|
2936
3308
|
};
|
|
2937
3309
|
export type v1RemoveOrganizationFeatureRequest = {
|
|
2938
|
-
type:
|
|
3310
|
+
type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE";
|
|
2939
3311
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2940
3312
|
timestampMs: string;
|
|
2941
3313
|
/** Unique identifier for a given Organization. */
|
|
@@ -2947,6 +3319,23 @@ export type v1RemoveOrganizationFeatureResult = {
|
|
|
2947
3319
|
/** Resulting list of organization features. */
|
|
2948
3320
|
features: v1Feature[];
|
|
2949
3321
|
};
|
|
3322
|
+
export type v1RestoreTvcDeploymentIntent = {
|
|
3323
|
+
/** The unique identifier of the TVC deployment to restore. */
|
|
3324
|
+
deploymentId: string;
|
|
3325
|
+
};
|
|
3326
|
+
export type v1RestoreTvcDeploymentRequest = {
|
|
3327
|
+
type: "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT";
|
|
3328
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3329
|
+
timestampMs: string;
|
|
3330
|
+
/** Unique identifier for a given Organization. */
|
|
3331
|
+
organizationId: string;
|
|
3332
|
+
parameters: v1RestoreTvcDeploymentIntent;
|
|
3333
|
+
generateAppProofs?: boolean;
|
|
3334
|
+
};
|
|
3335
|
+
export type v1RestoreTvcDeploymentResult = {
|
|
3336
|
+
/** The unique identifier of the restored TVC deployment. */
|
|
3337
|
+
deploymentId: string;
|
|
3338
|
+
};
|
|
2950
3339
|
export type v1Result = {
|
|
2951
3340
|
createOrganizationResult?: v1CreateOrganizationResult;
|
|
2952
3341
|
createAuthenticatorsResult?: v1CreateAuthenticatorsResult;
|
|
@@ -3053,6 +3442,17 @@ export type v1Result = {
|
|
|
3053
3442
|
createWebhookEndpointResult?: v1CreateWebhookEndpointResult;
|
|
3054
3443
|
updateWebhookEndpointResult?: v1UpdateWebhookEndpointResult;
|
|
3055
3444
|
deleteWebhookEndpointResult?: v1DeleteWebhookEndpointResult;
|
|
3445
|
+
setIpAllowlistResult?: v1SetIpAllowlistResult;
|
|
3446
|
+
removeIpAllowlistResult?: v1RemoveIpAllowlistResult;
|
|
3447
|
+
updateTvcAppLiveDeploymentResult?: v1UpdateTvcAppLiveDeploymentResult;
|
|
3448
|
+
deleteTvcDeploymentResult?: v1DeleteTvcDeploymentResult;
|
|
3449
|
+
deleteTvcAppAndDeploymentsResult?: v1DeleteTvcAppAndDeploymentsResult;
|
|
3450
|
+
restoreTvcDeploymentResult?: v1RestoreTvcDeploymentResult;
|
|
3451
|
+
sparkSignFrostResult?: v1SparkSignFrostResult;
|
|
3452
|
+
sparkPrepareTransferResult?: v1SparkPrepareTransferResult;
|
|
3453
|
+
sparkClaimTransferResult?: v1SparkClaimTransferResult;
|
|
3454
|
+
sparkPrepareLightningReceiveResult?: v1SparkPrepareLightningReceiveResult;
|
|
3455
|
+
postTvcQuorumKeyShareResult?: v1PostTvcQuorumKeyShareResult;
|
|
3056
3456
|
};
|
|
3057
3457
|
export type v1RevertChainEntry = {
|
|
3058
3458
|
/** The contract address where the revert occurred. */
|
|
@@ -3140,6 +3540,26 @@ export type v1SelectorV2 = {
|
|
|
3140
3540
|
operator?: v1Operator;
|
|
3141
3541
|
targets?: string[];
|
|
3142
3542
|
};
|
|
3543
|
+
export type v1SetIpAllowlistIntent = {
|
|
3544
|
+
/** The public component of an API key. If null, the IP allowlist applies at the organization level. If set, it applies only to this specific API key. */
|
|
3545
|
+
publicKey?: string;
|
|
3546
|
+
/** Whether the IP allowlist is enabled. Only meaningful for organization-level allowlists. Omit for API key-level allowlists. */
|
|
3547
|
+
enabled?: boolean;
|
|
3548
|
+
/** List of IP allowlist rules with CIDR blocks and optional labels. */
|
|
3549
|
+
rules?: v1IpAllowlistIntentRule[];
|
|
3550
|
+
/** Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
3551
|
+
onEvaluationError?: string;
|
|
3552
|
+
};
|
|
3553
|
+
export type v1SetIpAllowlistRequest = {
|
|
3554
|
+
type: "ACTIVITY_TYPE_SET_IP_ALLOWLIST";
|
|
3555
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3556
|
+
timestampMs: string;
|
|
3557
|
+
/** Unique identifier for a given Organization. */
|
|
3558
|
+
organizationId: string;
|
|
3559
|
+
parameters: v1SetIpAllowlistIntent;
|
|
3560
|
+
generateAppProofs?: boolean;
|
|
3561
|
+
};
|
|
3562
|
+
export type v1SetIpAllowlistResult = {};
|
|
3143
3563
|
export type v1SetOrganizationFeatureIntent = {
|
|
3144
3564
|
/** Name of the feature to set */
|
|
3145
3565
|
name: v1FeatureName;
|
|
@@ -3147,7 +3567,7 @@ export type v1SetOrganizationFeatureIntent = {
|
|
|
3147
3567
|
value: string;
|
|
3148
3568
|
};
|
|
3149
3569
|
export type v1SetOrganizationFeatureRequest = {
|
|
3150
|
-
type:
|
|
3570
|
+
type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE";
|
|
3151
3571
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3152
3572
|
timestampMs: string;
|
|
3153
3573
|
/** Unique identifier for a given Organization. */
|
|
@@ -3180,7 +3600,7 @@ export type v1SignRawPayloadIntentV2 = {
|
|
|
3180
3600
|
hashFunction: v1HashFunction;
|
|
3181
3601
|
};
|
|
3182
3602
|
export type v1SignRawPayloadRequest = {
|
|
3183
|
-
type:
|
|
3603
|
+
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2";
|
|
3184
3604
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3185
3605
|
timestampMs: string;
|
|
3186
3606
|
/** Unique identifier for a given Organization. */
|
|
@@ -3207,7 +3627,7 @@ export type v1SignRawPayloadsIntent = {
|
|
|
3207
3627
|
hashFunction: v1HashFunction;
|
|
3208
3628
|
};
|
|
3209
3629
|
export type v1SignRawPayloadsRequest = {
|
|
3210
|
-
type:
|
|
3630
|
+
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS";
|
|
3211
3631
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3212
3632
|
timestampMs: string;
|
|
3213
3633
|
/** Unique identifier for a given Organization. */
|
|
@@ -3233,7 +3653,7 @@ export type v1SignTransactionIntentV2 = {
|
|
|
3233
3653
|
type: v1TransactionType;
|
|
3234
3654
|
};
|
|
3235
3655
|
export type v1SignTransactionRequest = {
|
|
3236
|
-
type:
|
|
3656
|
+
type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2";
|
|
3237
3657
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3238
3658
|
timestampMs: string;
|
|
3239
3659
|
/** Unique identifier for a given Organization. */
|
|
@@ -3275,13 +3695,13 @@ export type v1SolSendTransactionIntent = {
|
|
|
3275
3695
|
signWith: string;
|
|
3276
3696
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
3277
3697
|
sponsor?: boolean;
|
|
3278
|
-
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
|
|
3279
|
-
caip2:
|
|
3698
|
+
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values. */
|
|
3699
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
3280
3700
|
/** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
3281
3701
|
recentBlockhash?: string;
|
|
3282
3702
|
};
|
|
3283
3703
|
export type v1SolSendTransactionRequest = {
|
|
3284
|
-
type:
|
|
3704
|
+
type: "ACTIVITY_TYPE_SOL_SEND_TRANSACTION";
|
|
3285
3705
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3286
3706
|
timestampMs: string;
|
|
3287
3707
|
/** Unique identifier for a given Organization. */
|
|
@@ -3317,6 +3737,207 @@ export type v1SolanaSendTransactionStatus = {
|
|
|
3317
3737
|
/** The Solana transaction signature, if available. */
|
|
3318
3738
|
signature?: string;
|
|
3319
3739
|
};
|
|
3740
|
+
export type v1SparkClaimLeaf = {
|
|
3741
|
+
/** Leaf identifier (UUID). */
|
|
3742
|
+
leafId: string;
|
|
3743
|
+
/** ECIES ciphertext (hex-encoded) containing the inbound transfer secret. Decrypted inside the enclave using the wallet's Identity key. */
|
|
3744
|
+
ciphertext: string;
|
|
3745
|
+
/** Hex-encoded 64-byte compact ECDSA signature binding (leaf_id, transfer_id, ciphertext) to the sender's identity key. Verified inside the enclave before decryption. */
|
|
3746
|
+
senderSignature: string;
|
|
3747
|
+
};
|
|
3748
|
+
export type v1SparkClaimPackage = {
|
|
3749
|
+
/** Leaves being claimed. */
|
|
3750
|
+
leaves: v1SparkClaimLeaf[];
|
|
3751
|
+
/** Shamir threshold for reconstructing the per-leaf claim secret. */
|
|
3752
|
+
threshold: number;
|
|
3753
|
+
/** Operators that will receive Shamir shares. */
|
|
3754
|
+
operatorRecipients: v1SparkOperatorRecipient[];
|
|
3755
|
+
/** Spark transfer identifier (UUID). Used together with each leaf's sender_signature to verify the sender bound this ciphertext to this transfer. */
|
|
3756
|
+
transferId: string;
|
|
3757
|
+
/** Sender's compressed secp256k1 identity public key (hex-encoded, 33 bytes). Used to verify the per-leaf sender_signature fields. */
|
|
3758
|
+
senderIdentityPublicKey: string;
|
|
3759
|
+
};
|
|
3760
|
+
export type v1SparkClaimTransferIntent = {
|
|
3761
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
3762
|
+
signWith: string;
|
|
3763
|
+
/** Claim package parameters. */
|
|
3764
|
+
claim: v1SparkClaimPackage;
|
|
3765
|
+
};
|
|
3766
|
+
export type v1SparkClaimTransferRequest = {
|
|
3767
|
+
type: "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER";
|
|
3768
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3769
|
+
timestampMs: string;
|
|
3770
|
+
/** Unique identifier for a given Organization. */
|
|
3771
|
+
organizationId: string;
|
|
3772
|
+
parameters: v1SparkClaimTransferIntent;
|
|
3773
|
+
};
|
|
3774
|
+
export type v1SparkClaimTransferResult = {
|
|
3775
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
3776
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
3777
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
3778
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
3779
|
+
};
|
|
3780
|
+
export type v1SparkDepositDerivation = {};
|
|
3781
|
+
export type v1SparkEncryptedOperatorPackage = {
|
|
3782
|
+
/** Spark operator identifier (UUID). */
|
|
3783
|
+
operatorId: string;
|
|
3784
|
+
/** ECIES ciphertext (hex-encoded) opaque to Turnkey after emission. */
|
|
3785
|
+
encryptedPackage: string;
|
|
3786
|
+
};
|
|
3787
|
+
export type v1SparkFrostCommitment = {
|
|
3788
|
+
/** FROST participant identifier, hex-encoded (32-byte scalar). */
|
|
3789
|
+
id: string;
|
|
3790
|
+
/** Hiding commitment D, hex-encoded compressed secp256k1 point. */
|
|
3791
|
+
hiding: string;
|
|
3792
|
+
/** Binding commitment E, hex-encoded compressed secp256k1 point. */
|
|
3793
|
+
binding: string;
|
|
3794
|
+
};
|
|
3795
|
+
export type v1SparkHtlcPreimageDerivation = {};
|
|
3796
|
+
export type v1SparkIdentityDerivation = {};
|
|
3797
|
+
export type v1SparkKeyDerivation = {
|
|
3798
|
+
/** Spark identity key derivation. */
|
|
3799
|
+
identity?: v1SparkIdentityDerivation;
|
|
3800
|
+
/** Spark signing leaf key derivation, identified by leaf ID. */
|
|
3801
|
+
signingLeaf?: v1SparkSigningLeafDerivation;
|
|
3802
|
+
/** Spark deposit key derivation. */
|
|
3803
|
+
deposit?: v1SparkDepositDerivation;
|
|
3804
|
+
/** Spark static deposit key derivation, identified by index. */
|
|
3805
|
+
staticDeposit?: v1SparkStaticDepositDerivation;
|
|
3806
|
+
/** Spark HTLC preimage key derivation. */
|
|
3807
|
+
htlcPreimage?: v1SparkHtlcPreimageDerivation;
|
|
3808
|
+
};
|
|
3809
|
+
export type v1SparkLeafPublicKey = {
|
|
3810
|
+
/** The Spark leaf_id this public key was derived for. */
|
|
3811
|
+
leafId: string;
|
|
3812
|
+
/** Hex-encoded compressed secp256k1 point (33 bytes) for the SigningLeaf derivation at leaf_id. */
|
|
3813
|
+
publicKey: string;
|
|
3814
|
+
};
|
|
3815
|
+
export type v1SparkLightningReceivePackage = {
|
|
3816
|
+
/** Feldman VSS threshold for reconstructing the preimage. */
|
|
3817
|
+
threshold: number;
|
|
3818
|
+
/** Operators that will receive Feldman shares of the preimage. Order must match the operators' numeric IDs in the Spark operator config - share index is the 1-based position in this list. */
|
|
3819
|
+
operatorRecipients: v1SparkOperatorRecipient[];
|
|
3820
|
+
};
|
|
3821
|
+
export type v1SparkOperatorRecipient = {
|
|
3822
|
+
/** Spark operator identifier (UUID). */
|
|
3823
|
+
operatorId: string;
|
|
3824
|
+
/** Operator's ECIES encryption pubkey (hex-encoded compressed secp256k1 point). */
|
|
3825
|
+
encryptionPublicKey: string;
|
|
3826
|
+
};
|
|
3827
|
+
export type v1SparkPartialSignature = {
|
|
3828
|
+
/** Hex-encoded FROST partial signature. */
|
|
3829
|
+
signatureShare: string;
|
|
3830
|
+
/** Turnkey's hiding commitment D (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
3831
|
+
hiding: string;
|
|
3832
|
+
/** Turnkey's binding commitment E (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
3833
|
+
binding: string;
|
|
3834
|
+
};
|
|
3835
|
+
export type v1SparkPrepareLightningReceiveIntent = {
|
|
3836
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
3837
|
+
signWith: string;
|
|
3838
|
+
/** Lightning receive package parameters: threshold and operator recipients. */
|
|
3839
|
+
lightningReceive: v1SparkLightningReceivePackage;
|
|
3840
|
+
};
|
|
3841
|
+
export type v1SparkPrepareLightningReceiveRequest = {
|
|
3842
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE";
|
|
3843
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3844
|
+
timestampMs: string;
|
|
3845
|
+
/** Unique identifier for a given Organization. */
|
|
3846
|
+
organizationId: string;
|
|
3847
|
+
parameters: v1SparkPrepareLightningReceiveIntent;
|
|
3848
|
+
};
|
|
3849
|
+
export type v1SparkPrepareLightningReceiveResult = {
|
|
3850
|
+
/** Per-operator ECIES-encrypted Feldman share packages. */
|
|
3851
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
3852
|
+
/** Hex-encoded SHA256(preimage). Forward to the Lightning node. */
|
|
3853
|
+
paymentHash: string;
|
|
3854
|
+
};
|
|
3855
|
+
export type v1SparkPrepareTransferIntent = {
|
|
3856
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
3857
|
+
signWith: string;
|
|
3858
|
+
/** Transfer package parameters for HD key tweak splitting. */
|
|
3859
|
+
transfer: v1SparkTransferPackage;
|
|
3860
|
+
};
|
|
3861
|
+
export type v1SparkPrepareTransferRequest = {
|
|
3862
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER";
|
|
3863
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3864
|
+
timestampMs: string;
|
|
3865
|
+
/** Unique identifier for a given Organization. */
|
|
3866
|
+
organizationId: string;
|
|
3867
|
+
parameters: v1SparkPrepareTransferIntent;
|
|
3868
|
+
};
|
|
3869
|
+
export type v1SparkPrepareTransferResult = {
|
|
3870
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
3871
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
3872
|
+
/** Hex-encoded ECDSA-DER signature of the TransferPackage signing payload, signed with the wallet's IDENTITY key. */
|
|
3873
|
+
transferUserSignature: string;
|
|
3874
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
3875
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
3876
|
+
};
|
|
3877
|
+
export type v1SparkSignFrostIntent = {
|
|
3878
|
+
/** A Spark wallet account address identifying the wallet to sign with. */
|
|
3879
|
+
signWith: string;
|
|
3880
|
+
/** Batched sign requests. Each produces a partial signature plus Turnkey's public commitments. */
|
|
3881
|
+
signatures: v1SparkSignatureRequest[];
|
|
3882
|
+
};
|
|
3883
|
+
export type v1SparkSignFrostRequest = {
|
|
3884
|
+
type: "ACTIVITY_TYPE_SPARK_SIGN_FROST";
|
|
3885
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3886
|
+
timestampMs: string;
|
|
3887
|
+
/** Unique identifier for a given Organization. */
|
|
3888
|
+
organizationId: string;
|
|
3889
|
+
parameters: v1SparkSignFrostIntent;
|
|
3890
|
+
};
|
|
3891
|
+
export type v1SparkSignFrostResult = {
|
|
3892
|
+
/** Partial signatures plus Turnkey commitments, one per request, in order. */
|
|
3893
|
+
signatures: v1SparkPartialSignature[];
|
|
3894
|
+
};
|
|
3895
|
+
export type v1SparkSignatureRequest = {
|
|
3896
|
+
/** Which key to sign with. */
|
|
3897
|
+
derivation: v1SparkKeyDerivation;
|
|
3898
|
+
/** Hex-encoded 32-byte sighash to sign. */
|
|
3899
|
+
message: string;
|
|
3900
|
+
/** Aggregate group verifying key (hex-encoded compressed secp256k1 point), computed as P_ops + P_user. Bound into the nonce HMAC. */
|
|
3901
|
+
verifyingKey: string;
|
|
3902
|
+
/** Commitments for every non-Turnkey participant. MUST NOT include an entry under Turnkey's identifier. Bound into the nonce HMAC. */
|
|
3903
|
+
operatorCommitments: v1SparkFrostCommitment[];
|
|
3904
|
+
/** Optional adaptor point T (hex-encoded 33-byte compressed secp256k1 pubkey). When set, Turnkey produces a Schnorr adaptor pre-signature with the FROST challenge bound to `R+T` (where `R` is the aggregate group nonce commitment from FROST). The party holding the discrete log `t` completes the pre-sig to a valid BIP-340 signature by adding `t` (or `-t`, for parity) to the signature scalar `s`. This is primarily used by Spark leaves-swap and other adaptor-bound flows; absent or empty leads to plain FROST signing (the typical case). */
|
|
3905
|
+
adaptorPublicKey?: string;
|
|
3906
|
+
};
|
|
3907
|
+
export type v1SparkSigningLeafDerivation = {
|
|
3908
|
+
/** Unique identifier for the Spark signing leaf. */
|
|
3909
|
+
leafId: string;
|
|
3910
|
+
};
|
|
3911
|
+
export type v1SparkStaticDepositDerivation = {
|
|
3912
|
+
/** Index used to derive the static deposit key. */
|
|
3913
|
+
index: number;
|
|
3914
|
+
};
|
|
3915
|
+
export type v1SparkTransferLeaf = {
|
|
3916
|
+
/** Leaf identifier (UUID). */
|
|
3917
|
+
leafId: string;
|
|
3918
|
+
/** Derivation for the existing (pre-transfer) leaf key. Always a SigningLeaf derivation. */
|
|
3919
|
+
oldLeafDerivation: v1SparkKeyDerivation;
|
|
3920
|
+
/** Derivation for the new (post-transfer) leaf key. Always a SigningLeaf derivation. The enclave ECIES-encrypts this private key to receiver_public_key as the per-leaf secret_cipher; HD-derived rather than random so the sender can re-derive on retry (Turnkey's enclave is stateless). */
|
|
3921
|
+
newLeafDerivation: v1SparkKeyDerivation;
|
|
3922
|
+
/** Client-produced CPFP refund signature (hex-encoded), passed through verbatim into the per-operator SendLeafKeyTweak. Empty omits the field from the operator package. */
|
|
3923
|
+
refundSignature?: string;
|
|
3924
|
+
/** Client-produced direct refund signature (hex-encoded). Passed through verbatim. */
|
|
3925
|
+
directRefundSignature?: string;
|
|
3926
|
+
/** Client-produced direct-from-CPFP refund signature (hex-encoded). Passed through verbatim. */
|
|
3927
|
+
directFromCpfpRefundSignature?: string;
|
|
3928
|
+
};
|
|
3929
|
+
export type v1SparkTransferPackage = {
|
|
3930
|
+
/** Spark transfer identifier (UUID). */
|
|
3931
|
+
transferId: string;
|
|
3932
|
+
/** Leaves being transferred. */
|
|
3933
|
+
leaves: v1SparkTransferLeaf[];
|
|
3934
|
+
/** Feldman VSS threshold for reconstructing the per-leaf tweak scalar. */
|
|
3935
|
+
threshold: number;
|
|
3936
|
+
/** Operators that will receive Feldman shares of the per-leaf tweak. Order must match the operators' numeric IDs in the Spark operator config - share index is the 1-based position in this list. */
|
|
3937
|
+
operatorRecipients: v1SparkOperatorRecipient[];
|
|
3938
|
+
/** Recipient's identity pubkey (hex-encoded compressed secp256k1 point). Each leaf's new_priv is ECIES-encrypted to this key and embedded in the per-operator package for claim-time delivery. */
|
|
3939
|
+
receiverPublicKey: string;
|
|
3940
|
+
};
|
|
3320
3941
|
export type v1StampLoginIntent = {
|
|
3321
3942
|
/** Client-side public key generated by the user, which will be conditionally added to org data based on the passkey stamp associated with this request */
|
|
3322
3943
|
publicKey: string;
|
|
@@ -3326,7 +3947,7 @@ export type v1StampLoginIntent = {
|
|
|
3326
3947
|
invalidateExisting?: boolean;
|
|
3327
3948
|
};
|
|
3328
3949
|
export type v1StampLoginRequest = {
|
|
3329
|
-
type:
|
|
3950
|
+
type: "ACTIVITY_TYPE_STAMP_LOGIN";
|
|
3330
3951
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3331
3952
|
timestampMs: string;
|
|
3332
3953
|
/** Unique identifier for a given Organization. */
|
|
@@ -3349,19 +3970,125 @@ export type v1TokenUsage = {
|
|
|
3349
3970
|
signupV2?: v1SignupUsageV2;
|
|
3350
3971
|
};
|
|
3351
3972
|
export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
3973
|
+
export type v1TvcApp = {
|
|
3974
|
+
/** Unique Identifier for this TVC App. */
|
|
3975
|
+
id: string;
|
|
3976
|
+
/** Unique Identifier of the Organization for this TVC App */
|
|
3977
|
+
organizationId: string;
|
|
3978
|
+
/** Name for this TVC App. */
|
|
3979
|
+
name: string;
|
|
3980
|
+
/** Public key for the Quorum Key associated with this TVC App */
|
|
3981
|
+
quorumPublicKey: string;
|
|
3982
|
+
/** Manifest Set (people who can approve manifests) */
|
|
3983
|
+
manifestSet: v1TvcOperatorSet;
|
|
3984
|
+
/** Share Set (people who have a share of the Quorum Key) */
|
|
3985
|
+
shareSet: v1TvcOperatorSet;
|
|
3986
|
+
/** Whether or not this TVC App has network egress enabled. */
|
|
3987
|
+
enableEgress: boolean;
|
|
3988
|
+
createdAt: externaldatav1Timestamp;
|
|
3989
|
+
updatedAt: externaldatav1Timestamp;
|
|
3990
|
+
/** The deployment currently designated to receive traffic. Null if no deployment for this app is deployed. */
|
|
3991
|
+
liveDeploymentId?: string;
|
|
3992
|
+
/** The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
|
|
3993
|
+
publicDomain: string;
|
|
3994
|
+
};
|
|
3995
|
+
export type v1TvcContainerSpec = {
|
|
3996
|
+
/** The URL for this container image. */
|
|
3997
|
+
containerUrl: string;
|
|
3998
|
+
/** The path (in-container) to the executable binary. */
|
|
3999
|
+
path: string;
|
|
4000
|
+
/** The arguments to pass to the executable. */
|
|
4001
|
+
args: string[];
|
|
4002
|
+
/** Whether or not this container requires a pull secret to access. */
|
|
4003
|
+
hasPullSecret: boolean;
|
|
4004
|
+
/** The type of health check to perform against this executable. */
|
|
4005
|
+
healthCheckType: v1TvcHealthCheckType;
|
|
4006
|
+
/** The port to use for health checks against this executable. */
|
|
4007
|
+
healthCheckPort: number;
|
|
4008
|
+
/** The port to use for public ingress to this executable. */
|
|
4009
|
+
publicIngressPort: number;
|
|
4010
|
+
};
|
|
4011
|
+
export type v1TvcDeployment = {
|
|
4012
|
+
/** Unique Identifier for this TVC Deployment. */
|
|
4013
|
+
id: string;
|
|
4014
|
+
/** Unique Identifier of the Organization for this TVC Deployment */
|
|
4015
|
+
organizationId: string;
|
|
4016
|
+
/** Unique Identifier of the TVC App for this deployment */
|
|
4017
|
+
appId: string;
|
|
4018
|
+
/** Set of TVC operators who can approve this deployment */
|
|
4019
|
+
manifestSet: v1TvcOperatorSet;
|
|
4020
|
+
/** Set of TVC operators who have a share of the Quorum Key */
|
|
4021
|
+
shareSet: v1TvcOperatorSet;
|
|
4022
|
+
/** The manifest used for this deployment */
|
|
4023
|
+
manifest: v1TvcManifest;
|
|
4024
|
+
/** List of operator approvals for this manifest */
|
|
4025
|
+
manifestApprovals: v1TvcOperatorApproval[];
|
|
4026
|
+
/** QOS Version used for this deployment */
|
|
4027
|
+
qosVersion: string;
|
|
4028
|
+
/** The pivot container spec for this deployment */
|
|
4029
|
+
pivotContainer: v1TvcContainerSpec;
|
|
4030
|
+
createdAt: externaldatav1Timestamp;
|
|
4031
|
+
updatedAt: externaldatav1Timestamp;
|
|
4032
|
+
/** Whether or not the user wants this deployment deleted from the cluster. */
|
|
4033
|
+
delete: boolean;
|
|
4034
|
+
};
|
|
3352
4035
|
export type v1TvcHealthCheckType = "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
4036
|
+
export type v1TvcManifest = {
|
|
4037
|
+
/** Unique Identifier for this TVC Manifest. */
|
|
4038
|
+
id: string;
|
|
4039
|
+
/** The manifest content (raw UTF-8 JSON bytes) */
|
|
4040
|
+
manifest: string;
|
|
4041
|
+
createdAt: externaldatav1Timestamp;
|
|
4042
|
+
updatedAt: externaldatav1Timestamp;
|
|
4043
|
+
};
|
|
3353
4044
|
export type v1TvcManifestApproval = {
|
|
3354
4045
|
/** Unique identifier of the operator providing this approval */
|
|
3355
4046
|
operatorId: string;
|
|
3356
4047
|
/** Signature from the operator approving the manifest */
|
|
3357
4048
|
signature: string;
|
|
3358
4049
|
};
|
|
4050
|
+
export type v1TvcOperator = {
|
|
4051
|
+
/** Unique Identifier for this TVC Operator. */
|
|
4052
|
+
id: string;
|
|
4053
|
+
/** Name of this TVC Operator. */
|
|
4054
|
+
name: string;
|
|
4055
|
+
/** Public key for this TVC Operator. */
|
|
4056
|
+
publicKey: string;
|
|
4057
|
+
createdAt: externaldatav1Timestamp;
|
|
4058
|
+
updatedAt: externaldatav1Timestamp;
|
|
4059
|
+
};
|
|
4060
|
+
export type v1TvcOperatorApproval = {
|
|
4061
|
+
/** Unique ID for this approval */
|
|
4062
|
+
id: string;
|
|
4063
|
+
/** Unique Identifier of the TVC Manifest being approved */
|
|
4064
|
+
manifestId: string;
|
|
4065
|
+
/** The TVC Operator who made this approval */
|
|
4066
|
+
operator: v1TvcOperator;
|
|
4067
|
+
/** Signature of the operator over the deployment manifest */
|
|
4068
|
+
approval: string;
|
|
4069
|
+
createdAt: externaldatav1Timestamp;
|
|
4070
|
+
updatedAt: externaldatav1Timestamp;
|
|
4071
|
+
};
|
|
3359
4072
|
export type v1TvcOperatorParams = {
|
|
3360
4073
|
/** The name for this new operator */
|
|
3361
4074
|
name: string;
|
|
3362
4075
|
/** Public key for this operator */
|
|
3363
4076
|
publicKey: string;
|
|
3364
4077
|
};
|
|
4078
|
+
export type v1TvcOperatorSet = {
|
|
4079
|
+
/** Unique Identifier for this TVC Operator Set. */
|
|
4080
|
+
id: string;
|
|
4081
|
+
/** Name of this TVC Operator Set. */
|
|
4082
|
+
name: string;
|
|
4083
|
+
/** Unique Identifier of the Organization for this TVC Operator Set */
|
|
4084
|
+
organizationId: string;
|
|
4085
|
+
/** List of TVC Operators in this set */
|
|
4086
|
+
operators: v1TvcOperator[];
|
|
4087
|
+
/** Threshold number of operators required for quorum. */
|
|
4088
|
+
threshold: number;
|
|
4089
|
+
createdAt: externaldatav1Timestamp;
|
|
4090
|
+
updatedAt: externaldatav1Timestamp;
|
|
4091
|
+
};
|
|
3365
4092
|
export type v1TvcOperatorSetParams = {
|
|
3366
4093
|
/** Short description for this new operator set */
|
|
3367
4094
|
name: string;
|
|
@@ -3448,7 +4175,7 @@ export type v1UpdateFiatOnRampCredentialIntent = {
|
|
|
3448
4175
|
encryptedPrivateApiKey?: string;
|
|
3449
4176
|
};
|
|
3450
4177
|
export type v1UpdateFiatOnRampCredentialRequest = {
|
|
3451
|
-
type:
|
|
4178
|
+
type: "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL";
|
|
3452
4179
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3453
4180
|
timestampMs: string;
|
|
3454
4181
|
/** Unique identifier for a given Organization. */
|
|
@@ -3471,7 +4198,7 @@ export type v1UpdateOauth2CredentialIntent = {
|
|
|
3471
4198
|
encryptedClientSecret: string;
|
|
3472
4199
|
};
|
|
3473
4200
|
export type v1UpdateOauth2CredentialRequest = {
|
|
3474
|
-
type:
|
|
4201
|
+
type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL";
|
|
3475
4202
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3476
4203
|
timestampMs: string;
|
|
3477
4204
|
/** Unique identifier for a given Organization. */
|
|
@@ -3488,12 +4215,13 @@ export type v1UpdateOrganizationNameIntent = {
|
|
|
3488
4215
|
organizationName: string;
|
|
3489
4216
|
};
|
|
3490
4217
|
export type v1UpdateOrganizationNameRequest = {
|
|
3491
|
-
type:
|
|
4218
|
+
type: "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME";
|
|
3492
4219
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3493
4220
|
timestampMs: string;
|
|
3494
4221
|
/** Unique identifier for a given Organization. */
|
|
3495
4222
|
organizationId: string;
|
|
3496
4223
|
parameters: v1UpdateOrganizationNameIntent;
|
|
4224
|
+
generateAppProofs?: boolean;
|
|
3497
4225
|
};
|
|
3498
4226
|
export type v1UpdateOrganizationNameResult = {
|
|
3499
4227
|
/** Unique identifier for the Organization. */
|
|
@@ -3530,7 +4258,7 @@ export type v1UpdatePolicyIntentV2 = {
|
|
|
3530
4258
|
policyNotes?: string;
|
|
3531
4259
|
};
|
|
3532
4260
|
export type v1UpdatePolicyRequest = {
|
|
3533
|
-
type:
|
|
4261
|
+
type: "ACTIVITY_TYPE_UPDATE_POLICY_V2";
|
|
3534
4262
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3535
4263
|
timestampMs: string;
|
|
3536
4264
|
/** Unique identifier for a given Organization. */
|
|
@@ -3557,7 +4285,7 @@ export type v1UpdatePrivateKeyTagIntent = {
|
|
|
3557
4285
|
removePrivateKeyIds: string[];
|
|
3558
4286
|
};
|
|
3559
4287
|
export type v1UpdatePrivateKeyTagRequest = {
|
|
3560
|
-
type:
|
|
4288
|
+
type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
|
|
3561
4289
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3562
4290
|
timestampMs: string;
|
|
3563
4291
|
/** Unique identifier for a given Organization. */
|
|
@@ -3576,7 +4304,7 @@ export type v1UpdateRootQuorumIntent = {
|
|
|
3576
4304
|
userIds: string[];
|
|
3577
4305
|
};
|
|
3578
4306
|
export type v1UpdateRootQuorumRequest = {
|
|
3579
|
-
type:
|
|
4307
|
+
type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
|
|
3580
4308
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3581
4309
|
timestampMs: string;
|
|
3582
4310
|
/** Unique identifier for a given Organization. */
|
|
@@ -3585,6 +4313,20 @@ export type v1UpdateRootQuorumRequest = {
|
|
|
3585
4313
|
generateAppProofs?: boolean;
|
|
3586
4314
|
};
|
|
3587
4315
|
export type v1UpdateRootQuorumResult = {};
|
|
4316
|
+
export type v1UpdateTvcAppLiveDeploymentIntent = {
|
|
4317
|
+
/** The unique identifier of the TVC deployment to set as live for the app. */
|
|
4318
|
+
deploymentId: string;
|
|
4319
|
+
};
|
|
4320
|
+
export type v1UpdateTvcAppLiveDeploymentRequest = {
|
|
4321
|
+
type: "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT";
|
|
4322
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4323
|
+
timestampMs: string;
|
|
4324
|
+
/** Unique identifier for a given Organization. */
|
|
4325
|
+
organizationId: string;
|
|
4326
|
+
parameters: v1UpdateTvcAppLiveDeploymentIntent;
|
|
4327
|
+
generateAppProofs?: boolean;
|
|
4328
|
+
};
|
|
4329
|
+
export type v1UpdateTvcAppLiveDeploymentResult = {};
|
|
3588
4330
|
export type v1UpdateUserEmailIntent = {
|
|
3589
4331
|
/** Unique identifier for a given User. */
|
|
3590
4332
|
userId: string;
|
|
@@ -3594,7 +4336,7 @@ export type v1UpdateUserEmailIntent = {
|
|
|
3594
4336
|
verificationToken?: string;
|
|
3595
4337
|
};
|
|
3596
4338
|
export type v1UpdateUserEmailRequest = {
|
|
3597
|
-
type:
|
|
4339
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL";
|
|
3598
4340
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3599
4341
|
timestampMs: string;
|
|
3600
4342
|
/** Unique identifier for a given Organization. */
|
|
@@ -3625,7 +4367,7 @@ export type v1UpdateUserNameIntent = {
|
|
|
3625
4367
|
userName: string;
|
|
3626
4368
|
};
|
|
3627
4369
|
export type v1UpdateUserNameRequest = {
|
|
3628
|
-
type:
|
|
4370
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_NAME";
|
|
3629
4371
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3630
4372
|
timestampMs: string;
|
|
3631
4373
|
/** Unique identifier for a given Organization. */
|
|
@@ -3646,7 +4388,7 @@ export type v1UpdateUserPhoneNumberIntent = {
|
|
|
3646
4388
|
verificationToken?: string;
|
|
3647
4389
|
};
|
|
3648
4390
|
export type v1UpdateUserPhoneNumberRequest = {
|
|
3649
|
-
type:
|
|
4391
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER";
|
|
3650
4392
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3651
4393
|
timestampMs: string;
|
|
3652
4394
|
/** Unique identifier for a given Organization. */
|
|
@@ -3659,7 +4401,7 @@ export type v1UpdateUserPhoneNumberResult = {
|
|
|
3659
4401
|
userId: string;
|
|
3660
4402
|
};
|
|
3661
4403
|
export type v1UpdateUserRequest = {
|
|
3662
|
-
type:
|
|
4404
|
+
type: "ACTIVITY_TYPE_UPDATE_USER";
|
|
3663
4405
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3664
4406
|
timestampMs: string;
|
|
3665
4407
|
/** Unique identifier for a given Organization. */
|
|
@@ -3682,7 +4424,7 @@ export type v1UpdateUserTagIntent = {
|
|
|
3682
4424
|
removeUserIds: string[];
|
|
3683
4425
|
};
|
|
3684
4426
|
export type v1UpdateUserTagRequest = {
|
|
3685
|
-
type:
|
|
4427
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_TAG";
|
|
3686
4428
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3687
4429
|
timestampMs: string;
|
|
3688
4430
|
/** Unique identifier for a given Organization. */
|
|
@@ -3701,7 +4443,7 @@ export type v1UpdateWalletIntent = {
|
|
|
3701
4443
|
walletName?: string;
|
|
3702
4444
|
};
|
|
3703
4445
|
export type v1UpdateWalletRequest = {
|
|
3704
|
-
type:
|
|
4446
|
+
type: "ACTIVITY_TYPE_UPDATE_WALLET";
|
|
3705
4447
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3706
4448
|
timestampMs: string;
|
|
3707
4449
|
/** Unique identifier for a given Organization. */
|
|
@@ -3724,7 +4466,7 @@ export type v1UpdateWebhookEndpointIntent = {
|
|
|
3724
4466
|
isActive?: boolean;
|
|
3725
4467
|
};
|
|
3726
4468
|
export type v1UpdateWebhookEndpointRequest = {
|
|
3727
|
-
type:
|
|
4469
|
+
type: "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT";
|
|
3728
4470
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3729
4471
|
timestampMs: string;
|
|
3730
4472
|
/** Unique identifier for a given Organization. */
|
|
@@ -3743,7 +4485,7 @@ export type v1UpsertGasUsageConfigIntent = {
|
|
|
3743
4485
|
orgWindowLimitUsd: string;
|
|
3744
4486
|
/** Gas sponsorship USD limit for sub-organizations under the billing organization. */
|
|
3745
4487
|
subOrgWindowLimitUsd: string;
|
|
3746
|
-
/** Rolling sponsorship window duration, expressed in minutes. */
|
|
4488
|
+
/** Rolling sponsorship window duration, expressed in minutes. This value can't exceed 30 days (43200 minutes). */
|
|
3747
4489
|
windowDurationMinutes: string;
|
|
3748
4490
|
/** Whether gas sponsorship is enabled for the organization. */
|
|
3749
4491
|
enabled?: boolean;
|
|
@@ -3833,6 +4575,17 @@ export type v1UserParamsV4 = {
|
|
|
3833
4575
|
/** A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
3834
4576
|
userTags: string[];
|
|
3835
4577
|
};
|
|
4578
|
+
export type v1ValidateTvcImageRequest = {
|
|
4579
|
+
/** Unique identifier for a given Organization. */
|
|
4580
|
+
organizationId: string;
|
|
4581
|
+
/** URL of the container image. */
|
|
4582
|
+
pivotContainerImageUrl: string;
|
|
4583
|
+
/** HPKE-encrypted pull secret for private images. */
|
|
4584
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
4585
|
+
};
|
|
4586
|
+
export type v1ValidateTvcImageResponse = {
|
|
4587
|
+
resolvedImageDigest?: string;
|
|
4588
|
+
};
|
|
3836
4589
|
export type v1VerifyOtpIntent = {
|
|
3837
4590
|
/** ID representing the result of an init OTP activity. */
|
|
3838
4591
|
otpId: string;
|
|
@@ -3851,15 +4604,6 @@ export type v1VerifyOtpIntentV2 = {
|
|
|
3851
4604
|
/** Expiration window (in seconds) indicating how long the verification token is valid for. If not provided, a default of 1 hour will be used. Maximum value is 86400 seconds (24 hours) */
|
|
3852
4605
|
expirationSeconds?: string;
|
|
3853
4606
|
};
|
|
3854
|
-
export type v1VerifyOtpRequest = {
|
|
3855
|
-
type: string;
|
|
3856
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3857
|
-
timestampMs: string;
|
|
3858
|
-
/** Unique identifier for a given Organization. */
|
|
3859
|
-
organizationId: string;
|
|
3860
|
-
parameters: v1VerifyOtpIntentV2;
|
|
3861
|
-
generateAppProofs?: boolean;
|
|
3862
|
-
};
|
|
3863
4607
|
export type v1VerifyOtpResult = {
|
|
3864
4608
|
/** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
3865
4609
|
verificationToken: string;
|
|
@@ -3873,7 +4617,7 @@ export type v1Vote = {
|
|
|
3873
4617
|
user: v1User;
|
|
3874
4618
|
/** Unique identifier for a given Activity object. */
|
|
3875
4619
|
activityId: string;
|
|
3876
|
-
selection:
|
|
4620
|
+
selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
|
|
3877
4621
|
/** The raw message being signed within a Vote. */
|
|
3878
4622
|
message: string;
|
|
3879
4623
|
/** The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
@@ -3920,16 +4664,6 @@ export type v1WalletAccount = {
|
|
|
3920
4664
|
/** Wallet details for this account. This is only present when include_wallet_details=true. */
|
|
3921
4665
|
walletDetails?: v1Wallet;
|
|
3922
4666
|
};
|
|
3923
|
-
export type v1WalletAccountParams = {
|
|
3924
|
-
/** Cryptographic curve used to generate a wallet Account. */
|
|
3925
|
-
curve: v1Curve;
|
|
3926
|
-
/** Path format used to generate a wallet Account. */
|
|
3927
|
-
pathFormat: v1PathFormat;
|
|
3928
|
-
/** Path used to generate a wallet Account. */
|
|
3929
|
-
path: string;
|
|
3930
|
-
/** Address format used to generate a wallet Acccount. */
|
|
3931
|
-
addressFormat: v1AddressFormat;
|
|
3932
|
-
};
|
|
3933
4667
|
export type v1WalletKitSettingsParams = {
|
|
3934
4668
|
/** List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */
|
|
3935
4669
|
enabledSocialProviders?: string[];
|
|
@@ -3938,19 +4672,6 @@ export type v1WalletKitSettingsParams = {
|
|
|
3938
4672
|
/** Oauth redirect URL to be used for social login flows. */
|
|
3939
4673
|
oauthRedirectUrl?: string;
|
|
3940
4674
|
};
|
|
3941
|
-
export type v1WalletParams = {
|
|
3942
|
-
/** Human-readable name for a Wallet. */
|
|
3943
|
-
walletName: string;
|
|
3944
|
-
/** A list of wallet Accounts. This field, if not needed, should be an empty array in your request body. */
|
|
3945
|
-
accounts: v1WalletAccountParams[];
|
|
3946
|
-
/** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */
|
|
3947
|
-
mnemonicLength?: number;
|
|
3948
|
-
};
|
|
3949
|
-
export type v1WalletResult = {
|
|
3950
|
-
walletId: string;
|
|
3951
|
-
/** A list of account addresses. */
|
|
3952
|
-
addresses: string[];
|
|
3953
|
-
};
|
|
3954
4675
|
export type v1WebAuthnStamp = {
|
|
3955
4676
|
/** A base64 url encoded Unique identifier for a given credential. */
|
|
3956
4677
|
credentialId: string;
|
|
@@ -3976,7 +4697,7 @@ export type v1WebhookEndpointData = {
|
|
|
3976
4697
|
subscriptions?: v1WebhookSubscriptionParams[];
|
|
3977
4698
|
};
|
|
3978
4699
|
export type v1WebhookSubscriptionParams = {
|
|
3979
|
-
/** The event type to subscribe to (for example, ACTIVITY_UPDATES or
|
|
4700
|
+
/** The event type to subscribe to (for example, ACTIVITY_UPDATES, BALANCE_CONFIRMED_UPDATES, or BALANCE_FINALIZED_UPDATES). */
|
|
3980
4701
|
eventType: string;
|
|
3981
4702
|
/** JSON-encoded filter criteria for this subscription. */
|
|
3982
4703
|
filtersJson?: string;
|
|
@@ -4080,6 +4801,17 @@ export type TGetGasUsageBody = {
|
|
|
4080
4801
|
export type TGetGasUsageInput = {
|
|
4081
4802
|
body: TGetGasUsageBody;
|
|
4082
4803
|
};
|
|
4804
|
+
export type TGetIpAllowlistResponse = {
|
|
4805
|
+
allowlist: v1IpAllowlist;
|
|
4806
|
+
};
|
|
4807
|
+
export type TGetIpAllowlistBody = {
|
|
4808
|
+
organizationId?: string;
|
|
4809
|
+
/** If provided, return only the allowlist for this specific API key. */
|
|
4810
|
+
publicKey?: string;
|
|
4811
|
+
};
|
|
4812
|
+
export type TGetIpAllowlistInput = {
|
|
4813
|
+
body: TGetIpAllowlistBody;
|
|
4814
|
+
};
|
|
4083
4815
|
export type TGetLatestBootProofResponse = {
|
|
4084
4816
|
bootProof: v1BootProof;
|
|
4085
4817
|
};
|
|
@@ -4102,7 +4834,7 @@ export type TGetNoncesBody = {
|
|
|
4102
4834
|
/** The Ethereum address to query nonces for. */
|
|
4103
4835
|
address: string;
|
|
4104
4836
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
4105
|
-
caip2:
|
|
4837
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
4106
4838
|
/** Whether to fetch the standard on-chain nonce. */
|
|
4107
4839
|
nonce?: boolean;
|
|
4108
4840
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -4225,6 +4957,30 @@ export type TGetSmartContractInterfaceBody = {
|
|
|
4225
4957
|
export type TGetSmartContractInterfaceInput = {
|
|
4226
4958
|
body: TGetSmartContractInterfaceBody;
|
|
4227
4959
|
};
|
|
4960
|
+
export type TGetTvcAppResponse = {
|
|
4961
|
+
/** Details about a single TVC App */
|
|
4962
|
+
tvcApp: v1TvcApp;
|
|
4963
|
+
};
|
|
4964
|
+
export type TGetTvcAppBody = {
|
|
4965
|
+
organizationId?: string;
|
|
4966
|
+
/** Unique identifier for a given TVC App. */
|
|
4967
|
+
tvcAppId: string;
|
|
4968
|
+
};
|
|
4969
|
+
export type TGetTvcAppInput = {
|
|
4970
|
+
body: TGetTvcAppBody;
|
|
4971
|
+
};
|
|
4972
|
+
export type TGetTvcDeploymentResponse = {
|
|
4973
|
+
/** Details about a single TVC Deployment */
|
|
4974
|
+
tvcDeployment: v1TvcDeployment;
|
|
4975
|
+
};
|
|
4976
|
+
export type TGetTvcDeploymentBody = {
|
|
4977
|
+
organizationId?: string;
|
|
4978
|
+
/** Unique identifier for a given TVC Deployment. */
|
|
4979
|
+
deploymentId: string;
|
|
4980
|
+
};
|
|
4981
|
+
export type TGetTvcDeploymentInput = {
|
|
4982
|
+
body: TGetTvcDeploymentBody;
|
|
4983
|
+
};
|
|
4228
4984
|
export type TGetUserResponse = {
|
|
4229
4985
|
/** Web and/or API user within your organization. */
|
|
4230
4986
|
user: v1User;
|
|
@@ -4271,10 +5027,10 @@ export type TGetWalletAddressBalancesResponse = {
|
|
|
4271
5027
|
};
|
|
4272
5028
|
export type TGetWalletAddressBalancesBody = {
|
|
4273
5029
|
organizationId?: string;
|
|
4274
|
-
/** Address corresponding to a wallet account. */
|
|
5030
|
+
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4275
5031
|
address: string;
|
|
4276
5032
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet or 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values. */
|
|
4277
|
-
caip2:
|
|
5033
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4278
5034
|
};
|
|
4279
5035
|
export type TGetWalletAddressBalancesInput = {
|
|
4280
5036
|
body: TGetWalletAddressBalancesBody;
|
|
@@ -4387,11 +5143,33 @@ export type TListSupportedAssetsResponse = {
|
|
|
4387
5143
|
export type TListSupportedAssetsBody = {
|
|
4388
5144
|
organizationId?: string;
|
|
4389
5145
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet or 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values. */
|
|
4390
|
-
caip2:
|
|
5146
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4391
5147
|
};
|
|
4392
5148
|
export type TListSupportedAssetsInput = {
|
|
4393
5149
|
body: TListSupportedAssetsBody;
|
|
4394
5150
|
};
|
|
5151
|
+
export type TGetTvcAppDeploymentsResponse = {
|
|
5152
|
+
/** List of deployments for this TVC App */
|
|
5153
|
+
tvcDeployments: v1TvcDeployment[];
|
|
5154
|
+
};
|
|
5155
|
+
export type TGetTvcAppDeploymentsBody = {
|
|
5156
|
+
organizationId?: string;
|
|
5157
|
+
/** Unique identifier for a given TVC App. */
|
|
5158
|
+
appId: string;
|
|
5159
|
+
};
|
|
5160
|
+
export type TGetTvcAppDeploymentsInput = {
|
|
5161
|
+
body: TGetTvcAppDeploymentsBody;
|
|
5162
|
+
};
|
|
5163
|
+
export type TGetTvcAppsResponse = {
|
|
5164
|
+
/** A list of TVC Apps. */
|
|
5165
|
+
tvcApps: v1TvcApp[];
|
|
5166
|
+
};
|
|
5167
|
+
export type TGetTvcAppsBody = {
|
|
5168
|
+
organizationId?: string;
|
|
5169
|
+
};
|
|
5170
|
+
export type TGetTvcAppsInput = {
|
|
5171
|
+
body: TGetTvcAppsBody;
|
|
5172
|
+
};
|
|
4395
5173
|
export type TListUserTagsResponse = {
|
|
4396
5174
|
/** A list of user tags. */
|
|
4397
5175
|
userTags: datav1Tag[];
|
|
@@ -4463,6 +5241,20 @@ export type TListWebhookEndpointsBody = {
|
|
|
4463
5241
|
export type TListWebhookEndpointsInput = {
|
|
4464
5242
|
body: TListWebhookEndpointsBody;
|
|
4465
5243
|
};
|
|
5244
|
+
export type TValidateTvcImageResponse = {
|
|
5245
|
+
activity: v1Activity;
|
|
5246
|
+
};
|
|
5247
|
+
export type TValidateTvcImageBody = {
|
|
5248
|
+
timestampMs?: string;
|
|
5249
|
+
organizationId?: string;
|
|
5250
|
+
/** URL of the container image. */
|
|
5251
|
+
pivotContainerImageUrl: string;
|
|
5252
|
+
/** HPKE-encrypted pull secret for private images. */
|
|
5253
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
5254
|
+
};
|
|
5255
|
+
export type TValidateTvcImageInput = {
|
|
5256
|
+
body: TValidateTvcImageBody;
|
|
5257
|
+
};
|
|
4466
5258
|
export type TGetWhoamiResponse = {
|
|
4467
5259
|
/** Unique identifier for a given organization. */
|
|
4468
5260
|
organizationId: string;
|
|
@@ -4487,6 +5279,7 @@ export type TApproveActivityBody = {
|
|
|
4487
5279
|
organizationId?: string;
|
|
4488
5280
|
/** An artifact verifying a User's action. */
|
|
4489
5281
|
fingerprint: string;
|
|
5282
|
+
generateAppProofs?: boolean;
|
|
4490
5283
|
};
|
|
4491
5284
|
export type TApproveActivityInput = {
|
|
4492
5285
|
body: TApproveActivityBody;
|
|
@@ -4501,25 +5294,12 @@ export type TCreateApiKeysBody = {
|
|
|
4501
5294
|
organizationId?: string;
|
|
4502
5295
|
/** A list of API Keys. */
|
|
4503
5296
|
apiKeys: v1ApiKeyParamsV2[];
|
|
4504
|
-
/** Unique identifier for a given User. */
|
|
4505
|
-
userId: string;
|
|
4506
|
-
|
|
4507
|
-
export type TCreateApiKeysInput = {
|
|
4508
|
-
body: TCreateApiKeysBody;
|
|
4509
|
-
};
|
|
4510
|
-
export type TCreateApiOnlyUsersResponse = {
|
|
4511
|
-
activity: v1Activity;
|
|
4512
|
-
/** A list of API-only User IDs. */
|
|
4513
|
-
userIds: string[];
|
|
4514
|
-
};
|
|
4515
|
-
export type TCreateApiOnlyUsersBody = {
|
|
4516
|
-
timestampMs?: string;
|
|
4517
|
-
organizationId?: string;
|
|
4518
|
-
/** A list of API-only Users to create. */
|
|
4519
|
-
apiOnlyUsers: v1ApiOnlyUserParams[];
|
|
5297
|
+
/** Unique identifier for a given User. */
|
|
5298
|
+
userId: string;
|
|
5299
|
+
generateAppProofs?: boolean;
|
|
4520
5300
|
};
|
|
4521
|
-
export type
|
|
4522
|
-
body:
|
|
5301
|
+
export type TCreateApiKeysInput = {
|
|
5302
|
+
body: TCreateApiKeysBody;
|
|
4523
5303
|
};
|
|
4524
5304
|
export type TCreateAuthenticatorsResponse = {
|
|
4525
5305
|
activity: v1Activity;
|
|
@@ -4533,6 +5313,7 @@ export type TCreateAuthenticatorsBody = {
|
|
|
4533
5313
|
authenticators: v1AuthenticatorParamsV2[];
|
|
4534
5314
|
/** Unique identifier for a given User. */
|
|
4535
5315
|
userId: string;
|
|
5316
|
+
generateAppProofs?: boolean;
|
|
4536
5317
|
};
|
|
4537
5318
|
export type TCreateAuthenticatorsInput = {
|
|
4538
5319
|
body: TCreateAuthenticatorsBody;
|
|
@@ -4557,6 +5338,7 @@ export type TCreateFiatOnRampCredentialBody = {
|
|
|
4557
5338
|
encryptedPrivateApiKey?: string;
|
|
4558
5339
|
/** If the on-ramp credential is a sandbox credential */
|
|
4559
5340
|
sandboxMode?: boolean;
|
|
5341
|
+
generateAppProofs?: boolean;
|
|
4560
5342
|
};
|
|
4561
5343
|
export type TCreateFiatOnRampCredentialInput = {
|
|
4562
5344
|
body: TCreateFiatOnRampCredentialBody;
|
|
@@ -4571,6 +5353,7 @@ export type TCreateInvitationsBody = {
|
|
|
4571
5353
|
organizationId?: string;
|
|
4572
5354
|
/** A list of Invitations. */
|
|
4573
5355
|
invitations: v1InvitationParams[];
|
|
5356
|
+
generateAppProofs?: boolean;
|
|
4574
5357
|
};
|
|
4575
5358
|
export type TCreateInvitationsInput = {
|
|
4576
5359
|
body: TCreateInvitationsBody;
|
|
@@ -4589,6 +5372,7 @@ export type TCreateOauth2CredentialBody = {
|
|
|
4589
5372
|
clientId: string;
|
|
4590
5373
|
/** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */
|
|
4591
5374
|
encryptedClientSecret: string;
|
|
5375
|
+
generateAppProofs?: boolean;
|
|
4592
5376
|
};
|
|
4593
5377
|
export type TCreateOauth2CredentialInput = {
|
|
4594
5378
|
body: TCreateOauth2CredentialBody;
|
|
@@ -4604,7 +5388,8 @@ export type TCreateOauthProvidersBody = {
|
|
|
4604
5388
|
/** The ID of the User to add an Oauth provider to */
|
|
4605
5389
|
userId: string;
|
|
4606
5390
|
/** A list of Oauth providers. */
|
|
4607
|
-
oauthProviders:
|
|
5391
|
+
oauthProviders: v1OauthProviderParamsV2[];
|
|
5392
|
+
generateAppProofs?: boolean;
|
|
4608
5393
|
};
|
|
4609
5394
|
export type TCreateOauthProvidersInput = {
|
|
4610
5395
|
body: TCreateOauthProvidersBody;
|
|
@@ -4619,6 +5404,7 @@ export type TCreatePoliciesBody = {
|
|
|
4619
5404
|
organizationId?: string;
|
|
4620
5405
|
/** An array of policy intents to be created. */
|
|
4621
5406
|
policies: v1CreatePolicyIntentV3[];
|
|
5407
|
+
generateAppProofs?: boolean;
|
|
4622
5408
|
};
|
|
4623
5409
|
export type TCreatePoliciesInput = {
|
|
4624
5410
|
body: TCreatePoliciesBody;
|
|
@@ -4641,6 +5427,7 @@ export type TCreatePolicyBody = {
|
|
|
4641
5427
|
consensus?: string;
|
|
4642
5428
|
/** Notes for a Policy. */
|
|
4643
5429
|
notes: string;
|
|
5430
|
+
generateAppProofs?: boolean;
|
|
4644
5431
|
};
|
|
4645
5432
|
export type TCreatePolicyInput = {
|
|
4646
5433
|
body: TCreatePolicyBody;
|
|
@@ -4659,6 +5446,7 @@ export type TCreatePrivateKeyTagBody = {
|
|
|
4659
5446
|
privateKeyTagName: string;
|
|
4660
5447
|
/** A list of Private Key IDs. */
|
|
4661
5448
|
privateKeyIds: string[];
|
|
5449
|
+
generateAppProofs?: boolean;
|
|
4662
5450
|
};
|
|
4663
5451
|
export type TCreatePrivateKeyTagInput = {
|
|
4664
5452
|
body: TCreatePrivateKeyTagBody;
|
|
@@ -4673,6 +5461,7 @@ export type TCreatePrivateKeysBody = {
|
|
|
4673
5461
|
organizationId?: string;
|
|
4674
5462
|
/** A list of Private Keys. */
|
|
4675
5463
|
privateKeys: v1PrivateKeyParams[];
|
|
5464
|
+
generateAppProofs?: boolean;
|
|
4676
5465
|
};
|
|
4677
5466
|
export type TCreatePrivateKeysInput = {
|
|
4678
5467
|
body: TCreatePrivateKeysBody;
|
|
@@ -4695,6 +5484,7 @@ export type TCreateReadOnlySessionResponse = {
|
|
|
4695
5484
|
export type TCreateReadOnlySessionBody = {
|
|
4696
5485
|
timestampMs?: string;
|
|
4697
5486
|
organizationId?: string;
|
|
5487
|
+
generateAppProofs?: boolean;
|
|
4698
5488
|
};
|
|
4699
5489
|
export type TCreateReadOnlySessionInput = {
|
|
4700
5490
|
body: TCreateReadOnlySessionBody;
|
|
@@ -4719,7 +5509,7 @@ export type TCreateReadWriteSessionBody = {
|
|
|
4719
5509
|
organizationId?: string;
|
|
4720
5510
|
/** Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
4721
5511
|
targetPublicKey: string;
|
|
4722
|
-
/**
|
|
5512
|
+
/** Optional unique identifier for a given User. If none provided, the read write session will be created for the user who is making the request. */
|
|
4723
5513
|
userId?: string;
|
|
4724
5514
|
/** Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
4725
5515
|
apiKeyName?: string;
|
|
@@ -4727,6 +5517,7 @@ export type TCreateReadWriteSessionBody = {
|
|
|
4727
5517
|
expirationSeconds?: string;
|
|
4728
5518
|
/** Invalidate all other previously generated ReadWriteSession API keys */
|
|
4729
5519
|
invalidateExisting?: boolean;
|
|
5520
|
+
generateAppProofs?: boolean;
|
|
4730
5521
|
};
|
|
4731
5522
|
export type TCreateReadWriteSessionInput = {
|
|
4732
5523
|
body: TCreateReadWriteSessionBody;
|
|
@@ -4748,6 +5539,7 @@ export type TCreateSmartContractInterfaceBody = {
|
|
|
4748
5539
|
label: string;
|
|
4749
5540
|
/** Notes for a Smart Contract Interface. */
|
|
4750
5541
|
notes?: string;
|
|
5542
|
+
generateAppProofs?: boolean;
|
|
4751
5543
|
};
|
|
4752
5544
|
export type TCreateSmartContractInterfaceInput = {
|
|
4753
5545
|
body: TCreateSmartContractInterfaceBody;
|
|
@@ -4764,7 +5556,7 @@ export type TCreateSubOrganizationBody = {
|
|
|
4764
5556
|
/** Name for this sub-organization */
|
|
4765
5557
|
subOrganizationName: string;
|
|
4766
5558
|
/** Root users to create within this sub-organization */
|
|
4767
|
-
rootUsers:
|
|
5559
|
+
rootUsers: v1RootUserParamsV5[];
|
|
4768
5560
|
/** The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users */
|
|
4769
5561
|
rootQuorumThreshold: number;
|
|
4770
5562
|
/** The wallet to create for the sub-organization */
|
|
@@ -4781,10 +5573,97 @@ export type TCreateSubOrganizationBody = {
|
|
|
4781
5573
|
verificationToken?: string;
|
|
4782
5574
|
/** Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
4783
5575
|
clientSignature?: v1ClientSignature;
|
|
5576
|
+
generateAppProofs?: boolean;
|
|
4784
5577
|
};
|
|
4785
5578
|
export type TCreateSubOrganizationInput = {
|
|
4786
5579
|
body: TCreateSubOrganizationBody;
|
|
4787
5580
|
};
|
|
5581
|
+
export type TCreateTvcAppResponse = {
|
|
5582
|
+
activity: v1Activity;
|
|
5583
|
+
/** The unique identifier for the TVC application */
|
|
5584
|
+
appId: string;
|
|
5585
|
+
/** The unique identifier for the TVC manifest set */
|
|
5586
|
+
manifestSetId: string;
|
|
5587
|
+
/** The unique identifier(s) of the manifest set operators */
|
|
5588
|
+
manifestSetOperatorIds: string[];
|
|
5589
|
+
/** The required number of approvals for the manifest set */
|
|
5590
|
+
manifestSetThreshold: number;
|
|
5591
|
+
};
|
|
5592
|
+
export type TCreateTvcAppBody = {
|
|
5593
|
+
timestampMs?: string;
|
|
5594
|
+
organizationId?: string;
|
|
5595
|
+
/** The name of the new TVC application */
|
|
5596
|
+
name: string;
|
|
5597
|
+
/** Quorum public key to use for this application */
|
|
5598
|
+
quorumPublicKey: string;
|
|
5599
|
+
/** Unique identifier for an existing TVC operator set to use as the Manifest Set for this TVC application. If left empty, a new Manifest Set configuration is required */
|
|
5600
|
+
manifestSetId?: string;
|
|
5601
|
+
/** Configuration to create a new TVC operator set, used as the Manifest Set for this TVC application. If left empty, a Manifest Set ID is required */
|
|
5602
|
+
manifestSetParams?: v1TvcOperatorSetParams;
|
|
5603
|
+
/** Unique identifier for an existing TVC operator set to use as the Share Set for this TVC application. If left empty, a new Share Set configuration is required */
|
|
5604
|
+
shareSetId?: string;
|
|
5605
|
+
/** Configuration to create a new TVC operator set, used as the Share Set for this TVC application. If left empty, a Share Set ID is required */
|
|
5606
|
+
shareSetParams?: v1TvcOperatorSetParams;
|
|
5607
|
+
/** Enables network egress for this TVC app. Default if not provided: false. */
|
|
5608
|
+
enableEgress?: boolean;
|
|
5609
|
+
};
|
|
5610
|
+
export type TCreateTvcAppInput = {
|
|
5611
|
+
body: TCreateTvcAppBody;
|
|
5612
|
+
};
|
|
5613
|
+
export type TCreateTvcDeploymentResponse = {
|
|
5614
|
+
activity: v1Activity;
|
|
5615
|
+
/** The unique identifier for the TVC deployment */
|
|
5616
|
+
deploymentId: string;
|
|
5617
|
+
/** The unique identifier for the TVC manifest */
|
|
5618
|
+
manifestId: string;
|
|
5619
|
+
};
|
|
5620
|
+
export type TCreateTvcDeploymentBody = {
|
|
5621
|
+
timestampMs?: string;
|
|
5622
|
+
organizationId?: string;
|
|
5623
|
+
/** The unique identifier of the to-be-deployed TVC application */
|
|
5624
|
+
appId: string;
|
|
5625
|
+
/** The QuorumOS version to use to deploy this application */
|
|
5626
|
+
qosVersion: string;
|
|
5627
|
+
/** URL of the container containing the pivot binary */
|
|
5628
|
+
pivotContainerImageUrl: string;
|
|
5629
|
+
/** Location of the binary in the pivot container */
|
|
5630
|
+
pivotPath: string;
|
|
5631
|
+
/** Arguments to pass to the pivot binary at startup. Encoded as a list of strings, for example ["--foo", "bar"] */
|
|
5632
|
+
pivotArgs: string[];
|
|
5633
|
+
/** Digest of the pivot binary in the pivot container. This value will be inserted in the QOS manifest to ensure application integrity. */
|
|
5634
|
+
expectedPivotDigest: string;
|
|
5635
|
+
/** Optional nonce to ensure uniqueness of the deployment manifest. If not provided, it defaults to the current Unix timestamp in seconds. */
|
|
5636
|
+
nonce?: number;
|
|
5637
|
+
/** Optional encrypted pull secret to authorize Turnkey to pull the pivot container image. If your image is public, leave this empty. */
|
|
5638
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
5639
|
+
/** Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
|
|
5640
|
+
debugMode?: boolean;
|
|
5641
|
+
/** Health check type (TVC_HEALTH_CHECK_TYPE_HTTP or TVC_HEALTH_CHECK_TYPE_GRPC). HTTP health checks are made with a GET request on /health, and gRPC health checks follow the standard gRPC health checking protocol. */
|
|
5642
|
+
healthCheckType: v1TvcHealthCheckType;
|
|
5643
|
+
/** Port to use for health checks. */
|
|
5644
|
+
healthCheckPort: number;
|
|
5645
|
+
/** Port to use for public ingress. */
|
|
5646
|
+
publicIngressPort: number;
|
|
5647
|
+
};
|
|
5648
|
+
export type TCreateTvcDeploymentInput = {
|
|
5649
|
+
body: TCreateTvcDeploymentBody;
|
|
5650
|
+
};
|
|
5651
|
+
export type TCreateTvcManifestApprovalsResponse = {
|
|
5652
|
+
activity: v1Activity;
|
|
5653
|
+
/** The unique identifier(s) for the manifest approvals */
|
|
5654
|
+
approvalIds: string[];
|
|
5655
|
+
};
|
|
5656
|
+
export type TCreateTvcManifestApprovalsBody = {
|
|
5657
|
+
timestampMs?: string;
|
|
5658
|
+
organizationId?: string;
|
|
5659
|
+
/** Unique identifier of the TVC deployment to approve */
|
|
5660
|
+
manifestId: string;
|
|
5661
|
+
/** List of manifest approvals */
|
|
5662
|
+
approvals: v1TvcManifestApproval[];
|
|
5663
|
+
};
|
|
5664
|
+
export type TCreateTvcManifestApprovalsInput = {
|
|
5665
|
+
body: TCreateTvcManifestApprovalsBody;
|
|
5666
|
+
};
|
|
4788
5667
|
export type TCreateUserTagResponse = {
|
|
4789
5668
|
activity: v1Activity;
|
|
4790
5669
|
/** Unique identifier for a given User Tag. */
|
|
@@ -4799,6 +5678,7 @@ export type TCreateUserTagBody = {
|
|
|
4799
5678
|
userTagName: string;
|
|
4800
5679
|
/** A list of User IDs. */
|
|
4801
5680
|
userIds: string[];
|
|
5681
|
+
generateAppProofs?: boolean;
|
|
4802
5682
|
};
|
|
4803
5683
|
export type TCreateUserTagInput = {
|
|
4804
5684
|
body: TCreateUserTagBody;
|
|
@@ -4812,7 +5692,8 @@ export type TCreateUsersBody = {
|
|
|
4812
5692
|
timestampMs?: string;
|
|
4813
5693
|
organizationId?: string;
|
|
4814
5694
|
/** A list of Users. */
|
|
4815
|
-
users:
|
|
5695
|
+
users: v1UserParamsV4[];
|
|
5696
|
+
generateAppProofs?: boolean;
|
|
4816
5697
|
};
|
|
4817
5698
|
export type TCreateUsersInput = {
|
|
4818
5699
|
body: TCreateUsersBody;
|
|
@@ -4833,6 +5714,7 @@ export type TCreateWalletBody = {
|
|
|
4833
5714
|
accounts: v1WalletAccountParams[];
|
|
4834
5715
|
/** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */
|
|
4835
5716
|
mnemonicLength?: number;
|
|
5717
|
+
generateAppProofs?: boolean;
|
|
4836
5718
|
};
|
|
4837
5719
|
export type TCreateWalletInput = {
|
|
4838
5720
|
body: TCreateWalletBody;
|
|
@@ -4851,6 +5733,7 @@ export type TCreateWalletAccountsBody = {
|
|
|
4851
5733
|
accounts: v1WalletAccountParams[];
|
|
4852
5734
|
/** Indicates if the wallet accounts should be persisted. This is helpful if you'd like to see the addresses of different derivation paths without actually creating the accounts. Defaults to true. */
|
|
4853
5735
|
persist?: boolean;
|
|
5736
|
+
generateAppProofs?: boolean;
|
|
4854
5737
|
};
|
|
4855
5738
|
export type TCreateWalletAccountsInput = {
|
|
4856
5739
|
body: TCreateWalletAccountsBody;
|
|
@@ -4871,6 +5754,7 @@ export type TCreateWebhookEndpointBody = {
|
|
|
4871
5754
|
name: string;
|
|
4872
5755
|
/** Event subscriptions to create for this endpoint. */
|
|
4873
5756
|
subscriptions?: v1WebhookSubscriptionParams[];
|
|
5757
|
+
generateAppProofs?: boolean;
|
|
4874
5758
|
};
|
|
4875
5759
|
export type TCreateWebhookEndpointInput = {
|
|
4876
5760
|
body: TCreateWebhookEndpointBody;
|
|
@@ -4887,6 +5771,7 @@ export type TDeleteApiKeysBody = {
|
|
|
4887
5771
|
userId: string;
|
|
4888
5772
|
/** A list of API Key IDs. */
|
|
4889
5773
|
apiKeyIds: string[];
|
|
5774
|
+
generateAppProofs?: boolean;
|
|
4890
5775
|
};
|
|
4891
5776
|
export type TDeleteApiKeysInput = {
|
|
4892
5777
|
body: TDeleteApiKeysBody;
|
|
@@ -4903,6 +5788,7 @@ export type TDeleteAuthenticatorsBody = {
|
|
|
4903
5788
|
userId: string;
|
|
4904
5789
|
/** A list of Authenticator IDs. */
|
|
4905
5790
|
authenticatorIds: string[];
|
|
5791
|
+
generateAppProofs?: boolean;
|
|
4906
5792
|
};
|
|
4907
5793
|
export type TDeleteAuthenticatorsInput = {
|
|
4908
5794
|
body: TDeleteAuthenticatorsBody;
|
|
@@ -4917,6 +5803,7 @@ export type TDeleteFiatOnRampCredentialBody = {
|
|
|
4917
5803
|
organizationId?: string;
|
|
4918
5804
|
/** The ID of the fiat on-ramp credential to delete */
|
|
4919
5805
|
fiatOnrampCredentialId: string;
|
|
5806
|
+
generateAppProofs?: boolean;
|
|
4920
5807
|
};
|
|
4921
5808
|
export type TDeleteFiatOnRampCredentialInput = {
|
|
4922
5809
|
body: TDeleteFiatOnRampCredentialBody;
|
|
@@ -4931,6 +5818,7 @@ export type TDeleteInvitationBody = {
|
|
|
4931
5818
|
organizationId?: string;
|
|
4932
5819
|
/** Unique identifier for a given Invitation object. */
|
|
4933
5820
|
invitationId: string;
|
|
5821
|
+
generateAppProofs?: boolean;
|
|
4934
5822
|
};
|
|
4935
5823
|
export type TDeleteInvitationInput = {
|
|
4936
5824
|
body: TDeleteInvitationBody;
|
|
@@ -4945,6 +5833,7 @@ export type TDeleteOauth2CredentialBody = {
|
|
|
4945
5833
|
organizationId?: string;
|
|
4946
5834
|
/** The ID of the OAuth 2.0 credential to delete */
|
|
4947
5835
|
oauth2CredentialId: string;
|
|
5836
|
+
generateAppProofs?: boolean;
|
|
4948
5837
|
};
|
|
4949
5838
|
export type TDeleteOauth2CredentialInput = {
|
|
4950
5839
|
body: TDeleteOauth2CredentialBody;
|
|
@@ -4961,6 +5850,7 @@ export type TDeleteOauthProvidersBody = {
|
|
|
4961
5850
|
userId: string;
|
|
4962
5851
|
/** Unique identifier for a given Provider. */
|
|
4963
5852
|
providerIds: string[];
|
|
5853
|
+
generateAppProofs?: boolean;
|
|
4964
5854
|
};
|
|
4965
5855
|
export type TDeleteOauthProvidersInput = {
|
|
4966
5856
|
body: TDeleteOauthProvidersBody;
|
|
@@ -4975,6 +5865,7 @@ export type TDeletePoliciesBody = {
|
|
|
4975
5865
|
organizationId?: string;
|
|
4976
5866
|
/** List of unique identifiers for policies within an organization */
|
|
4977
5867
|
policyIds: string[];
|
|
5868
|
+
generateAppProofs?: boolean;
|
|
4978
5869
|
};
|
|
4979
5870
|
export type TDeletePoliciesInput = {
|
|
4980
5871
|
body: TDeletePoliciesBody;
|
|
@@ -4989,6 +5880,7 @@ export type TDeletePolicyBody = {
|
|
|
4989
5880
|
organizationId?: string;
|
|
4990
5881
|
/** Unique identifier for a given Policy. */
|
|
4991
5882
|
policyId: string;
|
|
5883
|
+
generateAppProofs?: boolean;
|
|
4992
5884
|
};
|
|
4993
5885
|
export type TDeletePolicyInput = {
|
|
4994
5886
|
body: TDeletePolicyBody;
|
|
@@ -5005,6 +5897,7 @@ export type TDeletePrivateKeyTagsBody = {
|
|
|
5005
5897
|
organizationId?: string;
|
|
5006
5898
|
/** A list of Private Key Tag IDs. */
|
|
5007
5899
|
privateKeyTagIds: string[];
|
|
5900
|
+
generateAppProofs?: boolean;
|
|
5008
5901
|
};
|
|
5009
5902
|
export type TDeletePrivateKeyTagsInput = {
|
|
5010
5903
|
body: TDeletePrivateKeyTagsBody;
|
|
@@ -5021,6 +5914,7 @@ export type TDeletePrivateKeysBody = {
|
|
|
5021
5914
|
privateKeyIds: string[];
|
|
5022
5915
|
/** Optional parameter for deleting the private keys, even if any have not been previously exported. If they have been exported, this field is ignored. */
|
|
5023
5916
|
deleteWithoutExport?: boolean;
|
|
5917
|
+
generateAppProofs?: boolean;
|
|
5024
5918
|
};
|
|
5025
5919
|
export type TDeletePrivateKeysInput = {
|
|
5026
5920
|
body: TDeletePrivateKeysBody;
|
|
@@ -5035,6 +5929,7 @@ export type TDeleteSmartContractInterfaceBody = {
|
|
|
5035
5929
|
organizationId?: string;
|
|
5036
5930
|
/** The ID of a Smart Contract Interface intended for deletion. */
|
|
5037
5931
|
smartContractInterfaceId: string;
|
|
5932
|
+
generateAppProofs?: boolean;
|
|
5038
5933
|
};
|
|
5039
5934
|
export type TDeleteSmartContractInterfaceInput = {
|
|
5040
5935
|
body: TDeleteSmartContractInterfaceBody;
|
|
@@ -5049,10 +5944,41 @@ export type TDeleteSubOrganizationBody = {
|
|
|
5049
5944
|
organizationId?: string;
|
|
5050
5945
|
/** Sub-organization deletion, by default, requires associated wallets and private keys to be exported for security reasons. Set this boolean to true to force sub-organization deletion even if some wallets or private keys within it have not been exported yet. Default: false. */
|
|
5051
5946
|
deleteWithoutExport?: boolean;
|
|
5947
|
+
generateAppProofs?: boolean;
|
|
5052
5948
|
};
|
|
5053
5949
|
export type TDeleteSubOrganizationInput = {
|
|
5054
5950
|
body: TDeleteSubOrganizationBody;
|
|
5055
5951
|
};
|
|
5952
|
+
export type TDeleteTvcAppAndDeploymentsResponse = {
|
|
5953
|
+
activity: v1Activity;
|
|
5954
|
+
/** The unique identifier of the deleted TVC app. */
|
|
5955
|
+
appId: string;
|
|
5956
|
+
};
|
|
5957
|
+
export type TDeleteTvcAppAndDeploymentsBody = {
|
|
5958
|
+
timestampMs?: string;
|
|
5959
|
+
organizationId?: string;
|
|
5960
|
+
/** The unique identifier of the TVC app to delete. The app and all associated deployments will be removed. */
|
|
5961
|
+
appId: string;
|
|
5962
|
+
generateAppProofs?: boolean;
|
|
5963
|
+
};
|
|
5964
|
+
export type TDeleteTvcAppAndDeploymentsInput = {
|
|
5965
|
+
body: TDeleteTvcAppAndDeploymentsBody;
|
|
5966
|
+
};
|
|
5967
|
+
export type TDeleteTvcDeploymentResponse = {
|
|
5968
|
+
activity: v1Activity;
|
|
5969
|
+
/** The unique identifier of the deleted TVC deployment. */
|
|
5970
|
+
deploymentId: string;
|
|
5971
|
+
};
|
|
5972
|
+
export type TDeleteTvcDeploymentBody = {
|
|
5973
|
+
timestampMs?: string;
|
|
5974
|
+
organizationId?: string;
|
|
5975
|
+
/** The unique identifier of the TVC deployment to delete. */
|
|
5976
|
+
deploymentId: string;
|
|
5977
|
+
generateAppProofs?: boolean;
|
|
5978
|
+
};
|
|
5979
|
+
export type TDeleteTvcDeploymentInput = {
|
|
5980
|
+
body: TDeleteTvcDeploymentBody;
|
|
5981
|
+
};
|
|
5056
5982
|
export type TDeleteUserTagsResponse = {
|
|
5057
5983
|
activity: v1Activity;
|
|
5058
5984
|
/** A list of User Tag IDs. */
|
|
@@ -5065,6 +5991,7 @@ export type TDeleteUserTagsBody = {
|
|
|
5065
5991
|
organizationId?: string;
|
|
5066
5992
|
/** A list of User Tag IDs. */
|
|
5067
5993
|
userTagIds: string[];
|
|
5994
|
+
generateAppProofs?: boolean;
|
|
5068
5995
|
};
|
|
5069
5996
|
export type TDeleteUserTagsInput = {
|
|
5070
5997
|
body: TDeleteUserTagsBody;
|
|
@@ -5079,6 +6006,7 @@ export type TDeleteUsersBody = {
|
|
|
5079
6006
|
organizationId?: string;
|
|
5080
6007
|
/** A list of User IDs. */
|
|
5081
6008
|
userIds: string[];
|
|
6009
|
+
generateAppProofs?: boolean;
|
|
5082
6010
|
};
|
|
5083
6011
|
export type TDeleteUsersInput = {
|
|
5084
6012
|
body: TDeleteUsersBody;
|
|
@@ -5095,6 +6023,7 @@ export type TDeleteWalletAccountsBody = {
|
|
|
5095
6023
|
walletAccountIds: string[];
|
|
5096
6024
|
/** Optional parameter for deleting the wallet accounts, even if any have not been previously exported. If they have been exported, this field is ignored. */
|
|
5097
6025
|
deleteWithoutExport?: boolean;
|
|
6026
|
+
generateAppProofs?: boolean;
|
|
5098
6027
|
};
|
|
5099
6028
|
export type TDeleteWalletAccountsInput = {
|
|
5100
6029
|
body: TDeleteWalletAccountsBody;
|
|
@@ -5111,6 +6040,7 @@ export type TDeleteWalletsBody = {
|
|
|
5111
6040
|
walletIds: string[];
|
|
5112
6041
|
/** Optional parameter for deleting the wallets, even if any have not been previously exported. If they have been exported, this field is ignored. */
|
|
5113
6042
|
deleteWithoutExport?: boolean;
|
|
6043
|
+
generateAppProofs?: boolean;
|
|
5114
6044
|
};
|
|
5115
6045
|
export type TDeleteWalletsInput = {
|
|
5116
6046
|
body: TDeleteWalletsBody;
|
|
@@ -5125,6 +6055,7 @@ export type TDeleteWebhookEndpointBody = {
|
|
|
5125
6055
|
organizationId?: string;
|
|
5126
6056
|
/** Unique identifier of the webhook endpoint to delete. */
|
|
5127
6057
|
endpointId: string;
|
|
6058
|
+
generateAppProofs?: boolean;
|
|
5128
6059
|
};
|
|
5129
6060
|
export type TDeleteWebhookEndpointInput = {
|
|
5130
6061
|
body: TDeleteWebhookEndpointBody;
|
|
@@ -5157,6 +6088,7 @@ export type TEmailAuthBody = {
|
|
|
5157
6088
|
sendFromEmailSenderName?: string;
|
|
5158
6089
|
/** Optional custom email address to use as reply-to */
|
|
5159
6090
|
replyToEmailAddress?: string;
|
|
6091
|
+
generateAppProofs?: boolean;
|
|
5160
6092
|
};
|
|
5161
6093
|
export type TEmailAuthInput = {
|
|
5162
6094
|
body: TEmailAuthBody;
|
|
@@ -5174,7 +6106,7 @@ export type TEthSendTransactionBody = {
|
|
|
5174
6106
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
5175
6107
|
sponsor?: boolean;
|
|
5176
6108
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
5177
|
-
caip2:
|
|
6109
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
5178
6110
|
/** Recipient address as a hex string with 0x prefix. */
|
|
5179
6111
|
to: string;
|
|
5180
6112
|
/** Amount of native asset to send in wei. */
|
|
@@ -5189,8 +6121,11 @@ export type TEthSendTransactionBody = {
|
|
|
5189
6121
|
maxFeePerGas?: string;
|
|
5190
6122
|
/** Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
5191
6123
|
maxPriorityFeePerGas?: string;
|
|
6124
|
+
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
6125
|
+
deadline?: string;
|
|
5192
6126
|
/** The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
5193
6127
|
gasStationNonce?: string;
|
|
6128
|
+
generateAppProofs?: boolean;
|
|
5194
6129
|
};
|
|
5195
6130
|
export type TEthSendTransactionInput = {
|
|
5196
6131
|
body: TEthSendTransactionBody;
|
|
@@ -5209,6 +6144,7 @@ export type TExportPrivateKeyBody = {
|
|
|
5209
6144
|
privateKeyId: string;
|
|
5210
6145
|
/** Client-side public key generated by the user, to which the export bundle will be encrypted. */
|
|
5211
6146
|
targetPublicKey: string;
|
|
6147
|
+
generateAppProofs?: boolean;
|
|
5212
6148
|
};
|
|
5213
6149
|
export type TExportPrivateKeyInput = {
|
|
5214
6150
|
body: TExportPrivateKeyBody;
|
|
@@ -5229,6 +6165,7 @@ export type TExportWalletBody = {
|
|
|
5229
6165
|
targetPublicKey: string;
|
|
5230
6166
|
/** The language of the mnemonic to export. Defaults to English. */
|
|
5231
6167
|
language?: v1MnemonicLanguage;
|
|
6168
|
+
generateAppProofs?: boolean;
|
|
5232
6169
|
};
|
|
5233
6170
|
export type TExportWalletInput = {
|
|
5234
6171
|
body: TExportWalletBody;
|
|
@@ -5247,6 +6184,7 @@ export type TExportWalletAccountBody = {
|
|
|
5247
6184
|
address: string;
|
|
5248
6185
|
/** Client-side public key generated by the user, to which the export bundle will be encrypted. */
|
|
5249
6186
|
targetPublicKey: string;
|
|
6187
|
+
generateAppProofs?: boolean;
|
|
5250
6188
|
};
|
|
5251
6189
|
export type TExportWalletAccountInput = {
|
|
5252
6190
|
body: TExportWalletAccountBody;
|
|
@@ -5271,6 +6209,7 @@ export type TImportPrivateKeyBody = {
|
|
|
5271
6209
|
curve: v1Curve;
|
|
5272
6210
|
/** Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */
|
|
5273
6211
|
addressFormats: v1AddressFormat[];
|
|
6212
|
+
generateAppProofs?: boolean;
|
|
5274
6213
|
};
|
|
5275
6214
|
export type TImportPrivateKeyInput = {
|
|
5276
6215
|
body: TImportPrivateKeyBody;
|
|
@@ -5293,6 +6232,7 @@ export type TImportWalletBody = {
|
|
|
5293
6232
|
encryptedBundle: string;
|
|
5294
6233
|
/** A list of wallet Accounts. */
|
|
5295
6234
|
accounts: v1WalletAccountParams[];
|
|
6235
|
+
generateAppProofs?: boolean;
|
|
5296
6236
|
};
|
|
5297
6237
|
export type TImportWalletInput = {
|
|
5298
6238
|
body: TImportWalletBody;
|
|
@@ -5331,6 +6271,7 @@ export type TInitFiatOnRampBody = {
|
|
|
5331
6271
|
sandboxMode?: boolean;
|
|
5332
6272
|
/** Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled. */
|
|
5333
6273
|
urlForSignature?: string;
|
|
6274
|
+
generateAppProofs?: boolean;
|
|
5334
6275
|
};
|
|
5335
6276
|
export type TInitFiatOnRampInput = {
|
|
5336
6277
|
body: TInitFiatOnRampBody;
|
|
@@ -5345,6 +6286,7 @@ export type TInitImportPrivateKeyBody = {
|
|
|
5345
6286
|
organizationId?: string;
|
|
5346
6287
|
/** The ID of the User importing a Private Key. */
|
|
5347
6288
|
userId: string;
|
|
6289
|
+
generateAppProofs?: boolean;
|
|
5348
6290
|
};
|
|
5349
6291
|
export type TInitImportPrivateKeyInput = {
|
|
5350
6292
|
body: TInitImportPrivateKeyBody;
|
|
@@ -5359,14 +6301,17 @@ export type TInitImportWalletBody = {
|
|
|
5359
6301
|
organizationId?: string;
|
|
5360
6302
|
/** The ID of the User importing a Wallet. */
|
|
5361
6303
|
userId: string;
|
|
6304
|
+
generateAppProofs?: boolean;
|
|
5362
6305
|
};
|
|
5363
6306
|
export type TInitImportWalletInput = {
|
|
5364
6307
|
body: TInitImportWalletBody;
|
|
5365
6308
|
};
|
|
5366
6309
|
export type TInitOtpResponse = {
|
|
5367
6310
|
activity: v1Activity;
|
|
5368
|
-
/** Unique identifier for an OTP
|
|
6311
|
+
/** Unique identifier for an OTP flow */
|
|
5369
6312
|
otpId: string;
|
|
6313
|
+
/** Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
6314
|
+
otpEncryptionTargetBundle: string;
|
|
5370
6315
|
};
|
|
5371
6316
|
export type TInitOtpBody = {
|
|
5372
6317
|
timestampMs?: string;
|
|
@@ -5375,19 +6320,19 @@ export type TInitOtpBody = {
|
|
|
5375
6320
|
otpType: string;
|
|
5376
6321
|
/** Email or phone number to send the OTP code to */
|
|
5377
6322
|
contact: string;
|
|
6323
|
+
/** The name of the application. */
|
|
6324
|
+
appName: string;
|
|
5378
6325
|
/** Optional length of the OTP code. Default = 9 */
|
|
5379
6326
|
otpLength?: number;
|
|
5380
|
-
/** The name of the application. This field is required and will be used in email notifications if an email template is not provided. */
|
|
5381
|
-
appName: string;
|
|
5382
6327
|
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
5383
6328
|
emailCustomization?: v1EmailCustomizationParamsV2;
|
|
5384
|
-
/** Optional parameters for customizing SMS message. If not provided, the default
|
|
6329
|
+
/** Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
5385
6330
|
smsCustomization?: v1SmsCustomizationParams;
|
|
5386
6331
|
/** Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address. */
|
|
5387
6332
|
userIdentifier?: string;
|
|
5388
6333
|
/** Optional custom email address from which to send the OTP email */
|
|
5389
6334
|
sendFromEmailAddress?: string;
|
|
5390
|
-
/** Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true */
|
|
6335
|
+
/** Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). If set to false, OTP code will only be numeric. Default = true */
|
|
5391
6336
|
alphanumeric?: boolean;
|
|
5392
6337
|
/** Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
5393
6338
|
sendFromEmailSenderName?: string;
|
|
@@ -5395,6 +6340,7 @@ export type TInitOtpBody = {
|
|
|
5395
6340
|
expirationSeconds?: string;
|
|
5396
6341
|
/** Optional custom email address to use as reply-to */
|
|
5397
6342
|
replyToEmailAddress?: string;
|
|
6343
|
+
generateAppProofs?: boolean;
|
|
5398
6344
|
};
|
|
5399
6345
|
export type TInitOtpInput = {
|
|
5400
6346
|
body: TInitOtpBody;
|
|
@@ -5431,6 +6377,7 @@ export type TInitOtpAuthBody = {
|
|
|
5431
6377
|
expirationSeconds?: string;
|
|
5432
6378
|
/** Optional custom email address to use as reply-to */
|
|
5433
6379
|
replyToEmailAddress?: string;
|
|
6380
|
+
generateAppProofs?: boolean;
|
|
5434
6381
|
};
|
|
5435
6382
|
export type TInitOtpAuthInput = {
|
|
5436
6383
|
body: TInitOtpAuthBody;
|
|
@@ -5457,6 +6404,7 @@ export type TInitUserEmailRecoveryBody = {
|
|
|
5457
6404
|
sendFromEmailSenderName?: string;
|
|
5458
6405
|
/** Optional custom email address to use as reply-to */
|
|
5459
6406
|
replyToEmailAddress?: string;
|
|
6407
|
+
generateAppProofs?: boolean;
|
|
5460
6408
|
};
|
|
5461
6409
|
export type TInitUserEmailRecoveryInput = {
|
|
5462
6410
|
body: TInitUserEmailRecoveryBody;
|
|
@@ -5483,6 +6431,7 @@ export type TOauthBody = {
|
|
|
5483
6431
|
expirationSeconds?: string;
|
|
5484
6432
|
/** Invalidate all other previously generated Oauth API keys */
|
|
5485
6433
|
invalidateExisting?: boolean;
|
|
6434
|
+
generateAppProofs?: boolean;
|
|
5486
6435
|
};
|
|
5487
6436
|
export type TOauthInput = {
|
|
5488
6437
|
body: TOauthBody;
|
|
@@ -5503,10 +6452,11 @@ export type TOauth2AuthenticateBody = {
|
|
|
5503
6452
|
redirectUri: string;
|
|
5504
6453
|
/** The code verifier used by OAuth 2.0 PKCE providers */
|
|
5505
6454
|
codeVerifier: string;
|
|
5506
|
-
/**
|
|
5507
|
-
nonce
|
|
6455
|
+
/** A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
6456
|
+
nonce: string;
|
|
5508
6457
|
/** An optional P256 public key to which, if provided, the bearer token will be encrypted and returned via the `encrypted_bearer_token` claim of the OIDC Token */
|
|
5509
6458
|
bearerTokenTargetPublicKey?: string;
|
|
6459
|
+
generateAppProofs?: boolean;
|
|
5510
6460
|
};
|
|
5511
6461
|
export type TOauth2AuthenticateInput = {
|
|
5512
6462
|
body: TOauth2AuthenticateBody;
|
|
@@ -5527,6 +6477,7 @@ export type TOauthLoginBody = {
|
|
|
5527
6477
|
expirationSeconds?: string;
|
|
5528
6478
|
/** Invalidate all other previously generated Login API keys */
|
|
5529
6479
|
invalidateExisting?: boolean;
|
|
6480
|
+
generateAppProofs?: boolean;
|
|
5530
6481
|
};
|
|
5531
6482
|
export type TOauthLoginInput = {
|
|
5532
6483
|
body: TOauthLoginBody;
|
|
@@ -5555,6 +6506,7 @@ export type TOtpAuthBody = {
|
|
|
5555
6506
|
expirationSeconds?: string;
|
|
5556
6507
|
/** Invalidate all other previously generated OTP Auth API keys */
|
|
5557
6508
|
invalidateExisting?: boolean;
|
|
6509
|
+
generateAppProofs?: boolean;
|
|
5558
6510
|
};
|
|
5559
6511
|
export type TOtpAuthInput = {
|
|
5560
6512
|
body: TOtpAuthBody;
|
|
@@ -5577,6 +6529,7 @@ export type TOtpLoginBody = {
|
|
|
5577
6529
|
expirationSeconds?: string;
|
|
5578
6530
|
/** Invalidate all other previously generated Login sessions */
|
|
5579
6531
|
invalidateExisting?: boolean;
|
|
6532
|
+
generateAppProofs?: boolean;
|
|
5580
6533
|
};
|
|
5581
6534
|
export type TOtpLoginInput = {
|
|
5582
6535
|
body: TOtpLoginBody;
|
|
@@ -5593,6 +6546,7 @@ export type TRecoverUserBody = {
|
|
|
5593
6546
|
authenticator: v1AuthenticatorParamsV2;
|
|
5594
6547
|
/** Unique identifier for the user performing recovery. */
|
|
5595
6548
|
userId: string;
|
|
6549
|
+
generateAppProofs?: boolean;
|
|
5596
6550
|
};
|
|
5597
6551
|
export type TRecoverUserInput = {
|
|
5598
6552
|
body: TRecoverUserBody;
|
|
@@ -5605,10 +6559,24 @@ export type TRejectActivityBody = {
|
|
|
5605
6559
|
organizationId?: string;
|
|
5606
6560
|
/** An artifact verifying a User's action. */
|
|
5607
6561
|
fingerprint: string;
|
|
6562
|
+
generateAppProofs?: boolean;
|
|
5608
6563
|
};
|
|
5609
6564
|
export type TRejectActivityInput = {
|
|
5610
6565
|
body: TRejectActivityBody;
|
|
5611
6566
|
};
|
|
6567
|
+
export type TRemoveIpAllowlistResponse = {
|
|
6568
|
+
activity: v1Activity;
|
|
6569
|
+
};
|
|
6570
|
+
export type TRemoveIpAllowlistBody = {
|
|
6571
|
+
timestampMs?: string;
|
|
6572
|
+
organizationId?: string;
|
|
6573
|
+
/** The public component of an API key. If null, removes the organization-level IP allowlist. If set, removes the IP allowlist for this specific API key. */
|
|
6574
|
+
publicKey?: string;
|
|
6575
|
+
generateAppProofs?: boolean;
|
|
6576
|
+
};
|
|
6577
|
+
export type TRemoveIpAllowlistInput = {
|
|
6578
|
+
body: TRemoveIpAllowlistBody;
|
|
6579
|
+
};
|
|
5612
6580
|
export type TRemoveOrganizationFeatureResponse = {
|
|
5613
6581
|
activity: v1Activity;
|
|
5614
6582
|
/** Resulting list of organization features. */
|
|
@@ -5619,10 +6587,45 @@ export type TRemoveOrganizationFeatureBody = {
|
|
|
5619
6587
|
organizationId?: string;
|
|
5620
6588
|
/** Name of the feature to remove */
|
|
5621
6589
|
name: v1FeatureName;
|
|
6590
|
+
generateAppProofs?: boolean;
|
|
5622
6591
|
};
|
|
5623
6592
|
export type TRemoveOrganizationFeatureInput = {
|
|
5624
6593
|
body: TRemoveOrganizationFeatureBody;
|
|
5625
6594
|
};
|
|
6595
|
+
export type TRestoreTvcDeploymentResponse = {
|
|
6596
|
+
activity: v1Activity;
|
|
6597
|
+
/** The unique identifier of the restored TVC deployment. */
|
|
6598
|
+
deploymentId: string;
|
|
6599
|
+
};
|
|
6600
|
+
export type TRestoreTvcDeploymentBody = {
|
|
6601
|
+
timestampMs?: string;
|
|
6602
|
+
organizationId?: string;
|
|
6603
|
+
/** The unique identifier of the TVC deployment to restore. */
|
|
6604
|
+
deploymentId: string;
|
|
6605
|
+
generateAppProofs?: boolean;
|
|
6606
|
+
};
|
|
6607
|
+
export type TRestoreTvcDeploymentInput = {
|
|
6608
|
+
body: TRestoreTvcDeploymentBody;
|
|
6609
|
+
};
|
|
6610
|
+
export type TSetIpAllowlistResponse = {
|
|
6611
|
+
activity: v1Activity;
|
|
6612
|
+
};
|
|
6613
|
+
export type TSetIpAllowlistBody = {
|
|
6614
|
+
timestampMs?: string;
|
|
6615
|
+
organizationId?: string;
|
|
6616
|
+
/** The public component of an API key. If null, the IP allowlist applies at the organization level. If set, it applies only to this specific API key. */
|
|
6617
|
+
publicKey?: string;
|
|
6618
|
+
/** Whether the IP allowlist is enabled. Only meaningful for organization-level allowlists. Omit for API key-level allowlists. */
|
|
6619
|
+
enabled?: boolean;
|
|
6620
|
+
/** List of IP allowlist rules with CIDR blocks and optional labels. */
|
|
6621
|
+
rules?: v1IpAllowlistIntentRule[];
|
|
6622
|
+
/** Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
6623
|
+
onEvaluationError?: string;
|
|
6624
|
+
generateAppProofs?: boolean;
|
|
6625
|
+
};
|
|
6626
|
+
export type TSetIpAllowlistInput = {
|
|
6627
|
+
body: TSetIpAllowlistBody;
|
|
6628
|
+
};
|
|
5626
6629
|
export type TSetOrganizationFeatureResponse = {
|
|
5627
6630
|
activity: v1Activity;
|
|
5628
6631
|
/** Resulting list of organization features. */
|
|
@@ -5635,10 +6638,24 @@ export type TSetOrganizationFeatureBody = {
|
|
|
5635
6638
|
name: v1FeatureName;
|
|
5636
6639
|
/** Optional value for the feature. Will override existing values if feature is already set. */
|
|
5637
6640
|
value: string;
|
|
6641
|
+
generateAppProofs?: boolean;
|
|
5638
6642
|
};
|
|
5639
6643
|
export type TSetOrganizationFeatureInput = {
|
|
5640
6644
|
body: TSetOrganizationFeatureBody;
|
|
5641
6645
|
};
|
|
6646
|
+
export type TUpdateTvcAppLiveDeploymentResponse = {
|
|
6647
|
+
activity: v1Activity;
|
|
6648
|
+
};
|
|
6649
|
+
export type TUpdateTvcAppLiveDeploymentBody = {
|
|
6650
|
+
timestampMs?: string;
|
|
6651
|
+
organizationId?: string;
|
|
6652
|
+
/** The unique identifier of the TVC deployment to set as live for the app. */
|
|
6653
|
+
deploymentId: string;
|
|
6654
|
+
generateAppProofs?: boolean;
|
|
6655
|
+
};
|
|
6656
|
+
export type TUpdateTvcAppLiveDeploymentInput = {
|
|
6657
|
+
body: TUpdateTvcAppLiveDeploymentBody;
|
|
6658
|
+
};
|
|
5642
6659
|
export type TSignRawPayloadResponse = {
|
|
5643
6660
|
activity: v1Activity;
|
|
5644
6661
|
/** Component of an ECSDA signature. */
|
|
@@ -5659,6 +6676,7 @@ export type TSignRawPayloadBody = {
|
|
|
5659
6676
|
encoding: v1PayloadEncoding;
|
|
5660
6677
|
/** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
5661
6678
|
hashFunction: v1HashFunction;
|
|
6679
|
+
generateAppProofs?: boolean;
|
|
5662
6680
|
};
|
|
5663
6681
|
export type TSignRawPayloadInput = {
|
|
5664
6682
|
body: TSignRawPayloadBody;
|
|
@@ -5678,6 +6696,7 @@ export type TSignRawPayloadsBody = {
|
|
|
5678
6696
|
encoding: v1PayloadEncoding;
|
|
5679
6697
|
/** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
5680
6698
|
hashFunction: v1HashFunction;
|
|
6699
|
+
generateAppProofs?: boolean;
|
|
5681
6700
|
};
|
|
5682
6701
|
export type TSignRawPayloadsInput = {
|
|
5683
6702
|
body: TSignRawPayloadsBody;
|
|
@@ -5694,6 +6713,7 @@ export type TSignTransactionBody = {
|
|
|
5694
6713
|
/** Raw unsigned transaction to be signed */
|
|
5695
6714
|
unsignedTransaction: string;
|
|
5696
6715
|
type: v1TransactionType;
|
|
6716
|
+
generateAppProofs?: boolean;
|
|
5697
6717
|
};
|
|
5698
6718
|
export type TSignTransactionInput = {
|
|
5699
6719
|
body: TSignTransactionBody;
|
|
@@ -5712,14 +6732,87 @@ export type TSolSendTransactionBody = {
|
|
|
5712
6732
|
signWith: string;
|
|
5713
6733
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
5714
6734
|
sponsor?: boolean;
|
|
5715
|
-
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
|
|
5716
|
-
caip2:
|
|
6735
|
+
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values. */
|
|
6736
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
5717
6737
|
/** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
5718
6738
|
recentBlockhash?: string;
|
|
6739
|
+
generateAppProofs?: boolean;
|
|
5719
6740
|
};
|
|
5720
6741
|
export type TSolSendTransactionInput = {
|
|
5721
6742
|
body: TSolSendTransactionBody;
|
|
5722
6743
|
};
|
|
6744
|
+
export type TSparkClaimTransferResponse = {
|
|
6745
|
+
activity: v1Activity;
|
|
6746
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
6747
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
6748
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
6749
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
6750
|
+
};
|
|
6751
|
+
export type TSparkClaimTransferBody = {
|
|
6752
|
+
timestampMs?: string;
|
|
6753
|
+
organizationId?: string;
|
|
6754
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
6755
|
+
signWith: string;
|
|
6756
|
+
/** Claim package parameters. */
|
|
6757
|
+
claim: v1SparkClaimPackage;
|
|
6758
|
+
};
|
|
6759
|
+
export type TSparkClaimTransferInput = {
|
|
6760
|
+
body: TSparkClaimTransferBody;
|
|
6761
|
+
};
|
|
6762
|
+
export type TSparkPrepareLightningReceiveResponse = {
|
|
6763
|
+
activity: v1Activity;
|
|
6764
|
+
/** Per-operator ECIES-encrypted Feldman share packages. */
|
|
6765
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
6766
|
+
/** Hex-encoded SHA256(preimage). Forward to the Lightning node. */
|
|
6767
|
+
paymentHash: string;
|
|
6768
|
+
};
|
|
6769
|
+
export type TSparkPrepareLightningReceiveBody = {
|
|
6770
|
+
timestampMs?: string;
|
|
6771
|
+
organizationId?: string;
|
|
6772
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
6773
|
+
signWith: string;
|
|
6774
|
+
/** Lightning receive package parameters: threshold and operator recipients. */
|
|
6775
|
+
lightningReceive: v1SparkLightningReceivePackage;
|
|
6776
|
+
};
|
|
6777
|
+
export type TSparkPrepareLightningReceiveInput = {
|
|
6778
|
+
body: TSparkPrepareLightningReceiveBody;
|
|
6779
|
+
};
|
|
6780
|
+
export type TSparkPrepareTransferResponse = {
|
|
6781
|
+
activity: v1Activity;
|
|
6782
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
6783
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
6784
|
+
/** Hex-encoded ECDSA-DER signature of the TransferPackage signing payload, signed with the wallet's IDENTITY key. */
|
|
6785
|
+
transferUserSignature: string;
|
|
6786
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
6787
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
6788
|
+
};
|
|
6789
|
+
export type TSparkPrepareTransferBody = {
|
|
6790
|
+
timestampMs?: string;
|
|
6791
|
+
organizationId?: string;
|
|
6792
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
6793
|
+
signWith: string;
|
|
6794
|
+
/** Transfer package parameters for HD key tweak splitting. */
|
|
6795
|
+
transfer: v1SparkTransferPackage;
|
|
6796
|
+
};
|
|
6797
|
+
export type TSparkPrepareTransferInput = {
|
|
6798
|
+
body: TSparkPrepareTransferBody;
|
|
6799
|
+
};
|
|
6800
|
+
export type TSparkSignFrostResponse = {
|
|
6801
|
+
activity: v1Activity;
|
|
6802
|
+
/** Partial signatures plus Turnkey commitments, one per request, in order. */
|
|
6803
|
+
signatures: v1SparkPartialSignature[];
|
|
6804
|
+
};
|
|
6805
|
+
export type TSparkSignFrostBody = {
|
|
6806
|
+
timestampMs?: string;
|
|
6807
|
+
organizationId?: string;
|
|
6808
|
+
/** A Spark wallet account address identifying the wallet to sign with. */
|
|
6809
|
+
signWith: string;
|
|
6810
|
+
/** Batched sign requests. Each produces a partial signature plus Turnkey's public commitments. */
|
|
6811
|
+
signatures: v1SparkSignatureRequest[];
|
|
6812
|
+
};
|
|
6813
|
+
export type TSparkSignFrostInput = {
|
|
6814
|
+
body: TSparkSignFrostBody;
|
|
6815
|
+
};
|
|
5723
6816
|
export type TStampLoginResponse = {
|
|
5724
6817
|
activity: v1Activity;
|
|
5725
6818
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
@@ -5734,6 +6827,7 @@ export type TStampLoginBody = {
|
|
|
5734
6827
|
expirationSeconds?: string;
|
|
5735
6828
|
/** Invalidate all other previously generated Login API keys */
|
|
5736
6829
|
invalidateExisting?: boolean;
|
|
6830
|
+
generateAppProofs?: boolean;
|
|
5737
6831
|
};
|
|
5738
6832
|
export type TStampLoginInput = {
|
|
5739
6833
|
body: TStampLoginBody;
|
|
@@ -5758,6 +6852,7 @@ export type TUpdateFiatOnRampCredentialBody = {
|
|
|
5758
6852
|
encryptedSecretApiKey: string;
|
|
5759
6853
|
/** Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
|
|
5760
6854
|
encryptedPrivateApiKey?: string;
|
|
6855
|
+
generateAppProofs?: boolean;
|
|
5761
6856
|
};
|
|
5762
6857
|
export type TUpdateFiatOnRampCredentialInput = {
|
|
5763
6858
|
body: TUpdateFiatOnRampCredentialBody;
|
|
@@ -5778,6 +6873,7 @@ export type TUpdateOauth2CredentialBody = {
|
|
|
5778
6873
|
clientId: string;
|
|
5779
6874
|
/** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */
|
|
5780
6875
|
encryptedClientSecret: string;
|
|
6876
|
+
generateAppProofs?: boolean;
|
|
5781
6877
|
};
|
|
5782
6878
|
export type TUpdateOauth2CredentialInput = {
|
|
5783
6879
|
body: TUpdateOauth2CredentialBody;
|
|
@@ -5794,6 +6890,7 @@ export type TUpdateOrganizationNameBody = {
|
|
|
5794
6890
|
organizationId?: string;
|
|
5795
6891
|
/** New name for the Organization. */
|
|
5796
6892
|
organizationName: string;
|
|
6893
|
+
generateAppProofs?: boolean;
|
|
5797
6894
|
};
|
|
5798
6895
|
export type TUpdateOrganizationNameInput = {
|
|
5799
6896
|
body: TUpdateOrganizationNameBody;
|
|
@@ -5818,6 +6915,7 @@ export type TUpdatePolicyBody = {
|
|
|
5818
6915
|
policyConsensus?: string;
|
|
5819
6916
|
/** Accompanying notes for a Policy (optional). */
|
|
5820
6917
|
policyNotes?: string;
|
|
6918
|
+
generateAppProofs?: boolean;
|
|
5821
6919
|
};
|
|
5822
6920
|
export type TUpdatePolicyInput = {
|
|
5823
6921
|
body: TUpdatePolicyBody;
|
|
@@ -5838,6 +6936,7 @@ export type TUpdatePrivateKeyTagBody = {
|
|
|
5838
6936
|
addPrivateKeyIds: string[];
|
|
5839
6937
|
/** A list of Private Key IDs to remove this tag from. */
|
|
5840
6938
|
removePrivateKeyIds: string[];
|
|
6939
|
+
generateAppProofs?: boolean;
|
|
5841
6940
|
};
|
|
5842
6941
|
export type TUpdatePrivateKeyTagInput = {
|
|
5843
6942
|
body: TUpdatePrivateKeyTagBody;
|
|
@@ -5852,6 +6951,7 @@ export type TUpdateRootQuorumBody = {
|
|
|
5852
6951
|
threshold: number;
|
|
5853
6952
|
/** The unique identifiers of users who comprise the quorum set. */
|
|
5854
6953
|
userIds: string[];
|
|
6954
|
+
generateAppProofs?: boolean;
|
|
5855
6955
|
};
|
|
5856
6956
|
export type TUpdateRootQuorumInput = {
|
|
5857
6957
|
body: TUpdateRootQuorumBody;
|
|
@@ -5874,6 +6974,7 @@ export type TUpdateUserBody = {
|
|
|
5874
6974
|
userTagIds?: string[];
|
|
5875
6975
|
/** The user's phone number in E.164 format e.g. +13214567890 */
|
|
5876
6976
|
userPhoneNumber?: string;
|
|
6977
|
+
generateAppProofs?: boolean;
|
|
5877
6978
|
};
|
|
5878
6979
|
export type TUpdateUserInput = {
|
|
5879
6980
|
body: TUpdateUserBody;
|
|
@@ -5892,6 +6993,7 @@ export type TUpdateUserEmailBody = {
|
|
|
5892
6993
|
userEmail: string;
|
|
5893
6994
|
/** Signed JWT containing a unique id, expiry, verification type, contact */
|
|
5894
6995
|
verificationToken?: string;
|
|
6996
|
+
generateAppProofs?: boolean;
|
|
5895
6997
|
};
|
|
5896
6998
|
export type TUpdateUserEmailInput = {
|
|
5897
6999
|
body: TUpdateUserEmailBody;
|
|
@@ -5908,6 +7010,7 @@ export type TUpdateUserNameBody = {
|
|
|
5908
7010
|
userId: string;
|
|
5909
7011
|
/** Human-readable name for a User. */
|
|
5910
7012
|
userName: string;
|
|
7013
|
+
generateAppProofs?: boolean;
|
|
5911
7014
|
};
|
|
5912
7015
|
export type TUpdateUserNameInput = {
|
|
5913
7016
|
body: TUpdateUserNameBody;
|
|
@@ -5926,6 +7029,7 @@ export type TUpdateUserPhoneNumberBody = {
|
|
|
5926
7029
|
userPhoneNumber: string;
|
|
5927
7030
|
/** Signed JWT containing a unique id, expiry, verification type, contact */
|
|
5928
7031
|
verificationToken?: string;
|
|
7032
|
+
generateAppProofs?: boolean;
|
|
5929
7033
|
};
|
|
5930
7034
|
export type TUpdateUserPhoneNumberInput = {
|
|
5931
7035
|
body: TUpdateUserPhoneNumberBody;
|
|
@@ -5946,6 +7050,7 @@ export type TUpdateUserTagBody = {
|
|
|
5946
7050
|
addUserIds: string[];
|
|
5947
7051
|
/** A list of User IDs to remove this tag from. */
|
|
5948
7052
|
removeUserIds: string[];
|
|
7053
|
+
generateAppProofs?: boolean;
|
|
5949
7054
|
};
|
|
5950
7055
|
export type TUpdateUserTagInput = {
|
|
5951
7056
|
body: TUpdateUserTagBody;
|
|
@@ -5962,6 +7067,7 @@ export type TUpdateWalletBody = {
|
|
|
5962
7067
|
walletId: string;
|
|
5963
7068
|
/** Human-readable name for a Wallet. */
|
|
5964
7069
|
walletName?: string;
|
|
7070
|
+
generateAppProofs?: boolean;
|
|
5965
7071
|
};
|
|
5966
7072
|
export type TUpdateWalletInput = {
|
|
5967
7073
|
body: TUpdateWalletBody;
|
|
@@ -5984,6 +7090,7 @@ export type TUpdateWebhookEndpointBody = {
|
|
|
5984
7090
|
name?: string;
|
|
5985
7091
|
/** Whether this webhook endpoint is active. */
|
|
5986
7092
|
isActive?: boolean;
|
|
7093
|
+
generateAppProofs?: boolean;
|
|
5987
7094
|
};
|
|
5988
7095
|
export type TUpdateWebhookEndpointInput = {
|
|
5989
7096
|
body: TUpdateWebhookEndpointBody;
|
|
@@ -6002,6 +7109,7 @@ export type TVerifyOtpBody = {
|
|
|
6002
7109
|
encryptedOtpBundle: string;
|
|
6003
7110
|
/** Expiration window (in seconds) indicating how long the verification token is valid for. If not provided, a default of 1 hour will be used. Maximum value is 86400 seconds (24 hours) */
|
|
6004
7111
|
expirationSeconds?: string;
|
|
7112
|
+
generateAppProofs?: boolean;
|
|
6005
7113
|
};
|
|
6006
7114
|
export type TVerifyOtpInput = {
|
|
6007
7115
|
body: TVerifyOtpBody;
|
|
@@ -6038,8 +7146,8 @@ export type ProxyTOAuth2AuthenticateBody = {
|
|
|
6038
7146
|
redirectUri: string;
|
|
6039
7147
|
/** The code verifier used by OAuth 2.0 PKCE providers */
|
|
6040
7148
|
codeVerifier: string;
|
|
6041
|
-
/**
|
|
6042
|
-
nonce
|
|
7149
|
+
/** A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
7150
|
+
nonce: string;
|
|
6043
7151
|
/** The client ID registered with the OAuth 2.0 provider */
|
|
6044
7152
|
clientId: string;
|
|
6045
7153
|
};
|
|
@@ -6072,6 +7180,8 @@ export type ProxyTInitOtpBody = {
|
|
|
6072
7180
|
otpType: string;
|
|
6073
7181
|
/** Email or phone number to send the OTP code to */
|
|
6074
7182
|
contact: string;
|
|
7183
|
+
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
7184
|
+
emailCustomization?: v1ProxyEmailCustomizationParams;
|
|
6075
7185
|
};
|
|
6076
7186
|
export type ProxyTInitOtpInput = {
|
|
6077
7187
|
body: ProxyTInitOtpBody;
|
|
@@ -6087,6 +7197,8 @@ export type ProxyTInitOtpV2Body = {
|
|
|
6087
7197
|
otpType: string;
|
|
6088
7198
|
/** Email or phone number to send the OTP code to */
|
|
6089
7199
|
contact: string;
|
|
7200
|
+
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
7201
|
+
emailCustomization?: v1ProxyEmailCustomizationParams;
|
|
6090
7202
|
};
|
|
6091
7203
|
export type ProxyTInitOtpV2Input = {
|
|
6092
7204
|
body: ProxyTInitOtpV2Body;
|