@turnkey/sdk-types 1.0.0 → 1.2.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.
|
@@ -1,3 +1,312 @@
|
|
|
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
|
+
/** Optional human-readable name for the account. */
|
|
295
|
+
name?: string;
|
|
296
|
+
};
|
|
297
|
+
export type v1WalletParams = {
|
|
298
|
+
/** Human-readable name for a Wallet. */
|
|
299
|
+
walletName: string;
|
|
300
|
+
/** A list of wallet Accounts. This field, if not needed, should be an empty array in your request body. */
|
|
301
|
+
accounts: v1WalletAccountParams[];
|
|
302
|
+
/** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */
|
|
303
|
+
mnemonicLength?: number;
|
|
304
|
+
};
|
|
305
|
+
export type v1WalletResult = {
|
|
306
|
+
walletId: string;
|
|
307
|
+
/** A list of account addresses. */
|
|
308
|
+
addresses: string[];
|
|
309
|
+
};
|
|
1
310
|
export type apiApiKeyParams = {
|
|
2
311
|
/** Human-readable name for an API Key. */
|
|
3
312
|
apiKeyName: string;
|
|
@@ -9,6 +318,7 @@ export type apiApiKeyParams = {
|
|
|
9
318
|
export type billingActivateBillingTierIntent = {
|
|
10
319
|
/** The product that the customer wants to subscribe to. */
|
|
11
320
|
productId: string;
|
|
321
|
+
orbPlanId?: string;
|
|
12
322
|
};
|
|
13
323
|
export type billingActivateBillingTierResult = {
|
|
14
324
|
/** The id of the product being subscribed to. */
|
|
@@ -82,6 +392,8 @@ export type externaldatav1Credential = {
|
|
|
82
392
|
/** The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
83
393
|
publicKey: string;
|
|
84
394
|
type: v1CredentialType;
|
|
395
|
+
/** The session profile associated with this credential, if any. This field is only applicable for credentials of type CREDENTIAL_TYPE_LOGIN. */
|
|
396
|
+
sessionProfileId?: string;
|
|
85
397
|
};
|
|
86
398
|
export type externaldatav1Quorum = {
|
|
87
399
|
/** Count of unique approvals required to meet quorum. */
|
|
@@ -89,7 +401,6 @@ export type externaldatav1Quorum = {
|
|
|
89
401
|
/** Unique identifiers of quorum set members. */
|
|
90
402
|
userIds: string[];
|
|
91
403
|
};
|
|
92
|
-
export type externaldatav1SignatureScheme = "SIGNATURE_SCHEME_EPHEMERAL_KEY_P256";
|
|
93
404
|
export type externaldatav1SmartContractInterface = {
|
|
94
405
|
/** The Organization the Smart Contract Interface belongs to. */
|
|
95
406
|
organizationId: string;
|
|
@@ -120,15 +431,6 @@ export type immutablecommonv1PolicyEvaluation = {
|
|
|
120
431
|
policyId?: string;
|
|
121
432
|
outcome?: v1Outcome;
|
|
122
433
|
};
|
|
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
434
|
export type v1AcceptInvitationIntent = {
|
|
133
435
|
/** Unique identifier for a given Invitation object. */
|
|
134
436
|
invitationId: string;
|
|
@@ -182,9 +484,8 @@ export type v1ActivityResponse = {
|
|
|
182
484
|
/** An action that can be taken within the Turnkey infrastructure. */
|
|
183
485
|
activity: v1Activity;
|
|
184
486
|
};
|
|
185
|
-
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" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST";
|
|
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" | "ADDRESS_FORMAT_SPARK_MAINNET" | "ADDRESS_FORMAT_SPARK_REGTEST";
|
|
487
|
+
export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
488
|
+
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" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_UPSERT_EARN_CLIENT_FEE_CONFIG" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE";
|
|
188
489
|
export type v1ApiKey = {
|
|
189
490
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
190
491
|
credential: externaldatav1Credential;
|
|
@@ -197,17 +498,6 @@ export type v1ApiKey = {
|
|
|
197
498
|
/** Optional window (in seconds) indicating how long the API Key should last. */
|
|
198
499
|
expirationSeconds?: string;
|
|
199
500
|
};
|
|
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
501
|
export type v1ApiOnlyUserParams = {
|
|
212
502
|
/** The name of the new API-only User. */
|
|
213
503
|
userName: string;
|
|
@@ -218,16 +508,6 @@ export type v1ApiOnlyUserParams = {
|
|
|
218
508
|
/** A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
219
509
|
apiKeys: apiApiKeyParams[];
|
|
220
510
|
};
|
|
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
511
|
export type v1AppStatus = {
|
|
232
512
|
/** Unique identifier for this TVC App */
|
|
233
513
|
appId: string;
|
|
@@ -281,16 +561,19 @@ export type v1AssetMetadata = {
|
|
|
281
561
|
/** The asset name */
|
|
282
562
|
name?: string;
|
|
283
563
|
};
|
|
284
|
-
export type
|
|
285
|
-
/** The
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
/** The type of authenticator
|
|
292
|
-
|
|
564
|
+
export type v1AuthenticationMethod = {
|
|
565
|
+
/** The type of authenticator (e.g., AUTHENTICATION_TYPE_EMAIL, AUTHENTICATION_TYPE_SESSION) required for this MFA step. */
|
|
566
|
+
type: v1AuthenticationType;
|
|
567
|
+
/** Optional specific authenticator ID required (e.g., for requiring a specific session profile id) */
|
|
568
|
+
id?: string;
|
|
569
|
+
};
|
|
570
|
+
export type v1AuthenticationMethodParams = {
|
|
571
|
+
/** The type of authenticator (e.g., AUTHENTICATION_TYPE_PASSKEY for passkey authentication). */
|
|
572
|
+
type: v1AuthenticationType;
|
|
573
|
+
/** Optional specific authenticator ID required (e.g., UUID of a passkey authenticator). If not provided, any authenticator of the specified type can be used. */
|
|
574
|
+
id?: string;
|
|
293
575
|
};
|
|
576
|
+
export type v1AuthenticationType = "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION";
|
|
294
577
|
export type v1Authenticator = {
|
|
295
578
|
/** Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
|
|
296
579
|
transports: v1AuthenticatorTransport[];
|
|
@@ -325,23 +608,14 @@ export type v1AuthenticatorParams = {
|
|
|
325
608
|
/** Challenge presented for authentication purposes. */
|
|
326
609
|
challenge: string;
|
|
327
610
|
};
|
|
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
611
|
export type v1BootProof = {
|
|
338
612
|
/** The hex encoded Ephemeral Public Key. */
|
|
339
613
|
ephemeralPublicKeyHex: string;
|
|
340
614
|
/** The DER encoded COSE Sign1 struct Attestation doc. */
|
|
341
615
|
awsAttestationDocB64: string;
|
|
342
|
-
/** The
|
|
616
|
+
/** The base64 encoded QOS manifest. Encoding depends on qos_manifest_version. */
|
|
343
617
|
qosManifestB64: string;
|
|
344
|
-
/** The
|
|
618
|
+
/** The base64 encoded QOS manifest envelope. Encoding depends on qos_manifest_version. */
|
|
345
619
|
qosManifestEnvelopeB64: string;
|
|
346
620
|
/** The label under which the enclave app was deployed. */
|
|
347
621
|
deploymentLabel: string;
|
|
@@ -350,21 +624,12 @@ export type v1BootProof = {
|
|
|
350
624
|
/** Owner of the app i.e. 'tkhq' */
|
|
351
625
|
owner: string;
|
|
352
626
|
createdAt: externaldatav1Timestamp;
|
|
627
|
+
/** QOS manifest schema version. */
|
|
628
|
+
qosManifestVersion?: string;
|
|
353
629
|
};
|
|
354
630
|
export type v1BootProofResponse = {
|
|
355
631
|
bootProof: v1BootProof;
|
|
356
632
|
};
|
|
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
633
|
export type v1Config = {
|
|
369
634
|
features?: v1Feature[];
|
|
370
635
|
quorum?: externaldatav1Quorum;
|
|
@@ -471,6 +736,32 @@ export type v1CreateInvitationsResult = {
|
|
|
471
736
|
/** A list of Invitation IDs */
|
|
472
737
|
invitationIds: string[];
|
|
473
738
|
};
|
|
739
|
+
export type v1CreateMfaPolicyIntent = {
|
|
740
|
+
/** The ID of the User to add the MFA Policy to. */
|
|
741
|
+
userId: string;
|
|
742
|
+
/** Human-readable name for a Policy. */
|
|
743
|
+
mfaPolicyName: string;
|
|
744
|
+
/** A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
745
|
+
condition: string;
|
|
746
|
+
/** An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
747
|
+
requiredAuthenticationMethods: v1RequiredAuthenticationMethodParams[];
|
|
748
|
+
/** The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first. */
|
|
749
|
+
order: number;
|
|
750
|
+
/** Notes for an MFA Policy. */
|
|
751
|
+
notes?: string;
|
|
752
|
+
};
|
|
753
|
+
export type v1CreateMfaPolicyRequest = {
|
|
754
|
+
type: "ACTIVITY_TYPE_CREATE_MFA_POLICY";
|
|
755
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
756
|
+
timestampMs: string;
|
|
757
|
+
/** Unique identifier for a given Organization. */
|
|
758
|
+
organizationId: string;
|
|
759
|
+
parameters: v1CreateMfaPolicyIntent;
|
|
760
|
+
};
|
|
761
|
+
export type v1CreateMfaPolicyResult = {
|
|
762
|
+
/** Unique identifier for a given MFA Policy. */
|
|
763
|
+
mfaPolicyId: string;
|
|
764
|
+
};
|
|
474
765
|
export type v1CreateOauth2CredentialIntent = {
|
|
475
766
|
/** The OAuth 2.0 provider */
|
|
476
767
|
provider: v1Oauth2Provider;
|
|
@@ -688,7 +979,7 @@ export type v1CreateReadWriteSessionIntent = {
|
|
|
688
979
|
export type v1CreateReadWriteSessionIntentV2 = {
|
|
689
980
|
/** Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
690
981
|
targetPublicKey: string;
|
|
691
|
-
/**
|
|
982
|
+
/** 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. */
|
|
692
983
|
userId?: string;
|
|
693
984
|
/** Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
694
985
|
apiKeyName?: string;
|
|
@@ -734,6 +1025,28 @@ export type v1CreateReadWriteSessionResultV2 = {
|
|
|
734
1025
|
/** HPKE encrypted credential bundle */
|
|
735
1026
|
credentialBundle: string;
|
|
736
1027
|
};
|
|
1028
|
+
export type v1CreateSessionProfileIntent = {
|
|
1029
|
+
/** Human-readable name for a Session Profile. */
|
|
1030
|
+
sessionProfileName: string;
|
|
1031
|
+
/** The scope string that defines the permissions for this Session Profile. */
|
|
1032
|
+
scope: string;
|
|
1033
|
+
/** The duration in seconds for which sessions created with this Session Profile are valid. If not set, expiration will be determined by the value passed in to the intent of login activities. */
|
|
1034
|
+
expirationSeconds?: string;
|
|
1035
|
+
/** Notes for a Session Profile. */
|
|
1036
|
+
notes?: string;
|
|
1037
|
+
};
|
|
1038
|
+
export type v1CreateSessionProfileRequest = {
|
|
1039
|
+
type: "ACTIVITY_TYPE_CREATE_SESSION_PROFILE";
|
|
1040
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1041
|
+
timestampMs: string;
|
|
1042
|
+
/** Unique identifier for a given Organization. */
|
|
1043
|
+
organizationId: string;
|
|
1044
|
+
parameters: v1CreateSessionProfileIntent;
|
|
1045
|
+
};
|
|
1046
|
+
export type v1CreateSessionProfileResult = {
|
|
1047
|
+
/** Unique identifier for a given Session Profile. */
|
|
1048
|
+
sessionProfileId: string;
|
|
1049
|
+
};
|
|
737
1050
|
export type v1CreateSmartContractInterfaceIntent = {
|
|
738
1051
|
/** Corresponding contract address or program ID */
|
|
739
1052
|
smartContractAddress: string;
|
|
@@ -927,6 +1240,16 @@ export type v1CreateTvcAppIntent = {
|
|
|
927
1240
|
shareSetParams?: v1TvcOperatorSetParams;
|
|
928
1241
|
/** Enables network egress for this TVC app. Default if not provided: false. */
|
|
929
1242
|
enableEgress?: boolean;
|
|
1243
|
+
/** When true, this app may create deployments in debug-mode. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. Cannot be changed after app creation. Setting this true means the app's quorum key is considered permanently insecure, and a new app with a fresh quorum key must be created. Default if not provided: false. */
|
|
1244
|
+
enableDebugModeDeployments?: boolean;
|
|
1245
|
+
};
|
|
1246
|
+
export type v1CreateTvcAppRequest = {
|
|
1247
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_APP";
|
|
1248
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1249
|
+
timestampMs: string;
|
|
1250
|
+
/** Unique identifier for a given Organization. */
|
|
1251
|
+
organizationId: string;
|
|
1252
|
+
parameters: v1CreateTvcAppIntent;
|
|
930
1253
|
};
|
|
931
1254
|
export type v1CreateTvcAppResult = {
|
|
932
1255
|
/** The unique identifier for the TVC application */
|
|
@@ -964,6 +1287,14 @@ export type v1CreateTvcDeploymentIntent = {
|
|
|
964
1287
|
/** Port to use for public ingress. */
|
|
965
1288
|
publicIngressPort: number;
|
|
966
1289
|
};
|
|
1290
|
+
export type v1CreateTvcDeploymentRequest = {
|
|
1291
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT";
|
|
1292
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1293
|
+
timestampMs: string;
|
|
1294
|
+
/** Unique identifier for a given Organization. */
|
|
1295
|
+
organizationId: string;
|
|
1296
|
+
parameters: v1CreateTvcDeploymentIntent;
|
|
1297
|
+
};
|
|
967
1298
|
export type v1CreateTvcDeploymentResult = {
|
|
968
1299
|
/** The unique identifier for the TVC deployment */
|
|
969
1300
|
deploymentId: string;
|
|
@@ -976,10 +1307,52 @@ export type v1CreateTvcManifestApprovalsIntent = {
|
|
|
976
1307
|
/** List of manifest approvals */
|
|
977
1308
|
approvals: v1TvcManifestApproval[];
|
|
978
1309
|
};
|
|
1310
|
+
export type v1CreateTvcManifestApprovalsRequest = {
|
|
1311
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS";
|
|
1312
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1313
|
+
timestampMs: string;
|
|
1314
|
+
/** Unique identifier for a given Organization. */
|
|
1315
|
+
organizationId: string;
|
|
1316
|
+
parameters: v1CreateTvcManifestApprovalsIntent;
|
|
1317
|
+
};
|
|
979
1318
|
export type v1CreateTvcManifestApprovalsResult = {
|
|
980
1319
|
/** The unique identifier(s) for the manifest approvals */
|
|
981
1320
|
approvalIds: string[];
|
|
982
1321
|
};
|
|
1322
|
+
export type v1CreateTvcOperatorIntent = {
|
|
1323
|
+
/** Human-readable name for a new wallet created for this TVC operator */
|
|
1324
|
+
walletName?: string;
|
|
1325
|
+
/** Unique identifier for an existing wallet to reuse for this TVC operator */
|
|
1326
|
+
walletId?: string;
|
|
1327
|
+
/** Base derivation path for creating TVC operator wallet accounts */
|
|
1328
|
+
path: string;
|
|
1329
|
+
/** Human-readable name for this new TVC operator */
|
|
1330
|
+
operatorName: string;
|
|
1331
|
+
};
|
|
1332
|
+
export type v1CreateTvcOperatorResult = {
|
|
1333
|
+
/** The unique identifier for the wallet containing TVC operator accounts */
|
|
1334
|
+
walletId: string;
|
|
1335
|
+
/** The unique identifier for the TVC operator */
|
|
1336
|
+
operatorId: string;
|
|
1337
|
+
/** Public encryption key for this TVC operator */
|
|
1338
|
+
encryptPublicKey: string;
|
|
1339
|
+
/** Public signing key for this TVC operator */
|
|
1340
|
+
signPublicKey: string;
|
|
1341
|
+
};
|
|
1342
|
+
export type v1CreateTvcQuorumKeyIntent = {
|
|
1343
|
+
/** The threshold of operators needed to reassemble this TVC quorum key */
|
|
1344
|
+
threshold: number;
|
|
1345
|
+
/** Operator public keys used to encrypt and later approve the generated TVC quorum key shares */
|
|
1346
|
+
operatorEncryptKeys: string[];
|
|
1347
|
+
};
|
|
1348
|
+
export type v1CreateTvcQuorumKeyResult = {
|
|
1349
|
+
/** The unique identifier for the TVC quorum key */
|
|
1350
|
+
quorumKeyId: string;
|
|
1351
|
+
/** Public key for the generated TVC quorum key */
|
|
1352
|
+
quorumPublicKey: string;
|
|
1353
|
+
/** The unique identifier(s) for the generated TVC quorum key shares */
|
|
1354
|
+
shareIds: string[];
|
|
1355
|
+
};
|
|
983
1356
|
export type v1CreateUserTagIntent = {
|
|
984
1357
|
/** Human-readable name for a User Tag. */
|
|
985
1358
|
userTagName: string;
|
|
@@ -1101,7 +1474,6 @@ export type v1CredPropsAuthenticationExtensionsClientOutputs = {
|
|
|
1101
1474
|
rk: boolean;
|
|
1102
1475
|
};
|
|
1103
1476
|
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";
|
|
1104
|
-
export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519" | "CURVE_P256";
|
|
1105
1477
|
export type v1CustomRevertError = {
|
|
1106
1478
|
/** The name of the custom error. */
|
|
1107
1479
|
errorName?: string;
|
|
@@ -1180,6 +1552,24 @@ export type v1DeleteInvitationResult = {
|
|
|
1180
1552
|
/** Unique identifier for a given Invitation. */
|
|
1181
1553
|
invitationId: string;
|
|
1182
1554
|
};
|
|
1555
|
+
export type v1DeleteMfaPolicyIntent = {
|
|
1556
|
+
/** The ID of the User to delete the MFA Policy from. */
|
|
1557
|
+
userId: string;
|
|
1558
|
+
/** Unique identifier for a given MFA Policy. */
|
|
1559
|
+
mfaPolicyId: string;
|
|
1560
|
+
};
|
|
1561
|
+
export type v1DeleteMfaPolicyRequest = {
|
|
1562
|
+
type: "ACTIVITY_TYPE_DELETE_MFA_POLICY";
|
|
1563
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1564
|
+
timestampMs: string;
|
|
1565
|
+
/** Unique identifier for a given Organization. */
|
|
1566
|
+
organizationId: string;
|
|
1567
|
+
parameters: v1DeleteMfaPolicyIntent;
|
|
1568
|
+
};
|
|
1569
|
+
export type v1DeleteMfaPolicyResult = {
|
|
1570
|
+
/** Unique identifier for a given MFA Policy. */
|
|
1571
|
+
mfaPolicyId: string;
|
|
1572
|
+
};
|
|
1183
1573
|
export type v1DeleteOauth2CredentialIntent = {
|
|
1184
1574
|
/** The ID of the OAuth 2.0 credential to delete */
|
|
1185
1575
|
oauth2CredentialId: string;
|
|
@@ -1300,35 +1690,69 @@ export type v1DeleteSmartContractInterfaceIntent = {
|
|
|
1300
1690
|
/** The ID of a Smart Contract Interface intended for deletion. */
|
|
1301
1691
|
smartContractInterfaceId: string;
|
|
1302
1692
|
};
|
|
1303
|
-
export type v1DeleteSmartContractInterfaceRequest = {
|
|
1304
|
-
type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE";
|
|
1693
|
+
export type v1DeleteSmartContractInterfaceRequest = {
|
|
1694
|
+
type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE";
|
|
1695
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1696
|
+
timestampMs: string;
|
|
1697
|
+
/** Unique identifier for a given Organization. */
|
|
1698
|
+
organizationId: string;
|
|
1699
|
+
parameters: v1DeleteSmartContractInterfaceIntent;
|
|
1700
|
+
generateAppProofs?: boolean;
|
|
1701
|
+
};
|
|
1702
|
+
export type v1DeleteSmartContractInterfaceResult = {
|
|
1703
|
+
/** The ID of the deleted Smart Contract Interface. */
|
|
1704
|
+
smartContractInterfaceId: string;
|
|
1705
|
+
};
|
|
1706
|
+
export type v1DeleteSubOrganizationIntent = {
|
|
1707
|
+
/** 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. */
|
|
1708
|
+
deleteWithoutExport?: boolean;
|
|
1709
|
+
};
|
|
1710
|
+
export type v1DeleteSubOrganizationRequest = {
|
|
1711
|
+
type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION";
|
|
1712
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1713
|
+
timestampMs: string;
|
|
1714
|
+
/** Unique identifier for a given Organization. */
|
|
1715
|
+
organizationId: string;
|
|
1716
|
+
parameters: v1DeleteSubOrganizationIntent;
|
|
1717
|
+
generateAppProofs?: boolean;
|
|
1718
|
+
};
|
|
1719
|
+
export type v1DeleteSubOrganizationResult = {
|
|
1720
|
+
/** Unique identifier of the sub organization that was removed */
|
|
1721
|
+
subOrganizationUuid: string;
|
|
1722
|
+
};
|
|
1723
|
+
export type v1DeleteTvcAppAndDeploymentsIntent = {
|
|
1724
|
+
/** The unique identifier of the TVC app to delete. The app and all associated deployments will be removed. */
|
|
1725
|
+
appId: string;
|
|
1726
|
+
};
|
|
1727
|
+
export type v1DeleteTvcAppAndDeploymentsRequest = {
|
|
1728
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS";
|
|
1305
1729
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1306
1730
|
timestampMs: string;
|
|
1307
1731
|
/** Unique identifier for a given Organization. */
|
|
1308
1732
|
organizationId: string;
|
|
1309
|
-
parameters:
|
|
1733
|
+
parameters: v1DeleteTvcAppAndDeploymentsIntent;
|
|
1310
1734
|
generateAppProofs?: boolean;
|
|
1311
1735
|
};
|
|
1312
|
-
export type
|
|
1313
|
-
/** The
|
|
1314
|
-
|
|
1736
|
+
export type v1DeleteTvcAppAndDeploymentsResult = {
|
|
1737
|
+
/** The unique identifier of the deleted TVC app. */
|
|
1738
|
+
appId: string;
|
|
1315
1739
|
};
|
|
1316
|
-
export type
|
|
1317
|
-
/**
|
|
1318
|
-
|
|
1740
|
+
export type v1DeleteTvcDeploymentIntent = {
|
|
1741
|
+
/** The unique identifier of the TVC deployment to delete. */
|
|
1742
|
+
deploymentId: string;
|
|
1319
1743
|
};
|
|
1320
|
-
export type
|
|
1321
|
-
type: "
|
|
1744
|
+
export type v1DeleteTvcDeploymentRequest = {
|
|
1745
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT";
|
|
1322
1746
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1323
1747
|
timestampMs: string;
|
|
1324
1748
|
/** Unique identifier for a given Organization. */
|
|
1325
1749
|
organizationId: string;
|
|
1326
|
-
parameters:
|
|
1750
|
+
parameters: v1DeleteTvcDeploymentIntent;
|
|
1327
1751
|
generateAppProofs?: boolean;
|
|
1328
1752
|
};
|
|
1329
|
-
export type
|
|
1330
|
-
/**
|
|
1331
|
-
|
|
1753
|
+
export type v1DeleteTvcDeploymentResult = {
|
|
1754
|
+
/** The unique identifier of the deleted TVC deployment. */
|
|
1755
|
+
deploymentId: string;
|
|
1332
1756
|
};
|
|
1333
1757
|
export type v1DeleteUserTagsIntent = {
|
|
1334
1758
|
/** A list of User Tag IDs. */
|
|
@@ -1441,6 +1865,66 @@ export type v1DisablePrivateKeyResult = {
|
|
|
1441
1865
|
/** Unique identifier for a given Private Key. */
|
|
1442
1866
|
privateKeyId: string;
|
|
1443
1867
|
};
|
|
1868
|
+
export type v1EarnDeployWrapperIntent = {
|
|
1869
|
+
/** Address of the underlying yield vault to wrap (from the EarnVaults catalog). */
|
|
1870
|
+
vaultAddress: string;
|
|
1871
|
+
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
1872
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
1873
|
+
};
|
|
1874
|
+
export type v1EarnDeployWrapperResult = {
|
|
1875
|
+
/** Address of the deployed fee wrapper (the deposit target). */
|
|
1876
|
+
wrapperAddress: string;
|
|
1877
|
+
/** Address of the deployed fee splitter (PaymentSplitter for Morpho, RevenueSplitterOwner for Aave). */
|
|
1878
|
+
splitterAddress: string;
|
|
1879
|
+
/** Transaction hash of the wrapper deployment. */
|
|
1880
|
+
deployTxHash: string;
|
|
1881
|
+
};
|
|
1882
|
+
export type v1EarnDepositIntent = {
|
|
1883
|
+
/** Address of the underlying yield vault to deposit into. The org must have an enabled wrapper for this vault. */
|
|
1884
|
+
vaultAddress: string;
|
|
1885
|
+
/** A Wallet account address or Private Key address to deposit from and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
|
|
1886
|
+
signWith: string;
|
|
1887
|
+
/** Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
|
|
1888
|
+
assets: string;
|
|
1889
|
+
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
1890
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
1891
|
+
/** Whether to sponsor this transaction via Gas Station. */
|
|
1892
|
+
sponsor?: boolean;
|
|
1893
|
+
};
|
|
1894
|
+
export type v1EarnDepositResult = {
|
|
1895
|
+
/** Transaction hash of the deposit. */
|
|
1896
|
+
depositTxHash: string;
|
|
1897
|
+
/** Number of wrapper shares minted to the depositor, in raw on-chain units. */
|
|
1898
|
+
sharesMinted: string;
|
|
1899
|
+
/** Address of the fee wrapper the deposit was routed to. */
|
|
1900
|
+
wrapperAddress: string;
|
|
1901
|
+
/** Identifier to poll deposit status via EarnDepositStatus (for the async/sponsored path). */
|
|
1902
|
+
depositRequestId: string;
|
|
1903
|
+
};
|
|
1904
|
+
export type v1EarnWithdrawIntent = {
|
|
1905
|
+
/** Address of the underlying yield vault to withdraw from. The org must have an enabled wrapper for this vault. */
|
|
1906
|
+
vaultAddress: string;
|
|
1907
|
+
/** A Wallet account address or Private Key address to withdraw to and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
|
|
1908
|
+
signWith: string;
|
|
1909
|
+
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
1910
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
1911
|
+
/** Whether to sponsor this transaction via Gas Station. */
|
|
1912
|
+
sponsor?: boolean;
|
|
1913
|
+
/** Whether amount_value is denominated in shares or assets. 'SHARES' redeems wrapper shares (calls redeem()); 'ASSETS' withdraws underlying assets (calls withdraw(), enabling yield-only claims). */
|
|
1914
|
+
amountType: "SHARES" | "ASSETS";
|
|
1915
|
+
/** The amount to withdraw, in raw on-chain units, interpreted according to amount_type. */
|
|
1916
|
+
amountValue: string;
|
|
1917
|
+
};
|
|
1918
|
+
export type v1EarnWithdrawResult = {
|
|
1919
|
+
/** Transaction hash of the withdrawal. */
|
|
1920
|
+
withdrawTxHash: string;
|
|
1921
|
+
/** Identifier to poll withdrawal status via EarnWithdrawStatus. */
|
|
1922
|
+
withdrawRequestId: string;
|
|
1923
|
+
/** Amount of the underlying asset received, in raw on-chain units. */
|
|
1924
|
+
assetsReceived: string;
|
|
1925
|
+
/** Number of wrapper shares burned, in raw on-chain units. */
|
|
1926
|
+
sharesBurned: string;
|
|
1927
|
+
};
|
|
1444
1928
|
export type v1Effect = "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
1445
1929
|
export type v1EmailAuthCustomizationParams = {
|
|
1446
1930
|
/** The name of the application. This field is required and will be used in email notifications if an email template is not provided. */
|
|
@@ -1551,11 +2035,55 @@ export type v1EmailCustomizationParamsV2 = {
|
|
|
1551
2035
|
/** Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
|
|
1552
2036
|
templateId?: string;
|
|
1553
2037
|
};
|
|
2038
|
+
export type v1EmailEvent = {
|
|
2039
|
+
/** Unique identifier for the email event */
|
|
2040
|
+
id: string;
|
|
2041
|
+
/** Unique identifier for the organization associated with the email event */
|
|
2042
|
+
organizationId: string;
|
|
2043
|
+
/** Provider message identifier. Multiple events can share the same message ID */
|
|
2044
|
+
messageId: string;
|
|
2045
|
+
/** Email event type, such as Send, Delivery, Bounce, or DeliveryDelay */
|
|
2046
|
+
eventType: string;
|
|
2047
|
+
/** Sender email address */
|
|
2048
|
+
fromAddress: string;
|
|
2049
|
+
/** Recipient email address */
|
|
2050
|
+
toAddress: string;
|
|
2051
|
+
/** SES tenant that sent the email, when available */
|
|
2052
|
+
senderTenant?: string;
|
|
2053
|
+
/** Event timestamp as millisecond epoch string */
|
|
2054
|
+
timestamp: string;
|
|
2055
|
+
/** Creation timestamp as millisecond epoch string */
|
|
2056
|
+
createdAt: string;
|
|
2057
|
+
/** Parsed email event details. Fields are populated based on event type and available provider metadata */
|
|
2058
|
+
details: v1EmailEventDetails;
|
|
2059
|
+
};
|
|
2060
|
+
export type v1EmailEventDetails = {
|
|
2061
|
+
/** Bounce type for Bounce events */
|
|
2062
|
+
bounceType?: string;
|
|
2063
|
+
/** Bounce subtype for Bounce events */
|
|
2064
|
+
bounceSubType?: string;
|
|
2065
|
+
/** Diagnostic text for Bounce or DeliveryDelay events */
|
|
2066
|
+
diagnosticCode?: string;
|
|
2067
|
+
/** SMTP response for Delivery events */
|
|
2068
|
+
deliverySmtpResponse?: string;
|
|
2069
|
+
/** Processing time in milliseconds for Delivery events */
|
|
2070
|
+
deliveryProcessingTimeMillis?: string;
|
|
2071
|
+
/** Delay type for DeliveryDelay events */
|
|
2072
|
+
deliveryDelayType?: string;
|
|
2073
|
+
};
|
|
1554
2074
|
export type v1EnableAuthProxyIntent = {};
|
|
1555
2075
|
export type v1EnableAuthProxyResult = {
|
|
1556
2076
|
/** A User ID with permission to initiate authentication. */
|
|
1557
2077
|
userId: string;
|
|
1558
2078
|
};
|
|
2079
|
+
export type v1EthCallParams = {
|
|
2080
|
+
/** Recipient address as a hex string with 0x prefix. */
|
|
2081
|
+
to: string;
|
|
2082
|
+
/** Amount of native asset to send in wei. */
|
|
2083
|
+
value?: string;
|
|
2084
|
+
/** Hex-encoded call data for contract interactions. */
|
|
2085
|
+
data?: string;
|
|
2086
|
+
};
|
|
1559
2087
|
export type v1EthFailureDetails = {
|
|
1560
2088
|
/** Ethereum revert chain, ordered from outermost to innermost. */
|
|
1561
2089
|
revertChain?: v1RevertChainEntry[];
|
|
@@ -1564,7 +2092,7 @@ export type v1EthSendRawTransactionIntent = {
|
|
|
1564
2092
|
/** The raw, signed transaction to be sent. */
|
|
1565
2093
|
signedTransaction: string;
|
|
1566
2094
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1567
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2095
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
1568
2096
|
};
|
|
1569
2097
|
export type v1EthSendRawTransactionResult = {
|
|
1570
2098
|
/** The transaction hash of the sent transaction */
|
|
@@ -1576,7 +2104,7 @@ export type v1EthSendTransactionIntent = {
|
|
|
1576
2104
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
1577
2105
|
sponsor?: boolean;
|
|
1578
2106
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1579
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2107
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
1580
2108
|
/** Recipient address as a hex string with 0x prefix. */
|
|
1581
2109
|
to: string;
|
|
1582
2110
|
/** Amount of native asset to send in wei. */
|
|
@@ -1591,26 +2119,78 @@ export type v1EthSendTransactionIntent = {
|
|
|
1591
2119
|
maxFeePerGas?: string;
|
|
1592
2120
|
/** Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
1593
2121
|
maxPriorityFeePerGas?: string;
|
|
2122
|
+
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2123
|
+
deadline?: string;
|
|
1594
2124
|
/** The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
1595
2125
|
gasStationNonce?: string;
|
|
1596
2126
|
};
|
|
2127
|
+
export type v1EthSendTransactionIntentV2 = {
|
|
2128
|
+
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
2129
|
+
from: string;
|
|
2130
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2131
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2132
|
+
/** Whether to sponsor this transaction via Gas Station. If false or unset, the EOA pays gas. A single call uses EIP-1559; multiple calls use EIP-7702 batch execution via Gas Station. */
|
|
2133
|
+
sponsor?: boolean;
|
|
2134
|
+
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
2135
|
+
nonce?: string;
|
|
2136
|
+
/** Maximum amount of gas for the outer transaction. Omit to auto-estimate. */
|
|
2137
|
+
gasLimit?: string;
|
|
2138
|
+
/** Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
|
|
2139
|
+
maxFeePerGas?: string;
|
|
2140
|
+
/** Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
|
|
2141
|
+
maxPriorityFeePerGas?: string;
|
|
2142
|
+
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2143
|
+
deadline?: string;
|
|
2144
|
+
/** The gas station delegate contract nonce. Only used when sponsor=true. Omit to auto-fetch. */
|
|
2145
|
+
gasStationNonce?: string;
|
|
2146
|
+
/** Ordered list of calls to execute. Must contain between 1 and 50 entries. A single entry with sponsor=false uses EIP-1559; multiple entries use EIP-7702 batch execution via Gas Station. */
|
|
2147
|
+
calls: v1EthCallParams[];
|
|
2148
|
+
};
|
|
1597
2149
|
export type v1EthSendTransactionRequest = {
|
|
1598
|
-
type: "
|
|
2150
|
+
type: "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2";
|
|
1599
2151
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1600
2152
|
timestampMs: string;
|
|
1601
2153
|
/** Unique identifier for a given Organization. */
|
|
1602
2154
|
organizationId: string;
|
|
1603
|
-
parameters:
|
|
2155
|
+
parameters: v1EthSendTransactionIntentV2;
|
|
1604
2156
|
generateAppProofs?: boolean;
|
|
1605
2157
|
};
|
|
1606
2158
|
export type v1EthSendTransactionResult = {
|
|
1607
2159
|
/** The send_transaction_status ID associated with the transaction submission */
|
|
1608
2160
|
sendTransactionStatusId: string;
|
|
1609
2161
|
};
|
|
2162
|
+
export type v1EthSendTransactionResultV2 = {
|
|
2163
|
+
/** The send_transaction_status ID associated with the transaction submission */
|
|
2164
|
+
sendTransactionStatusId: string;
|
|
2165
|
+
};
|
|
1610
2166
|
export type v1EthSendTransactionStatus = {
|
|
1611
2167
|
/** The Ethereum transaction hash, if available. */
|
|
1612
2168
|
txHash?: string;
|
|
1613
2169
|
};
|
|
2170
|
+
export type v1ExecuteSwapIntent = {
|
|
2171
|
+
/** CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
2172
|
+
inputToken: string;
|
|
2173
|
+
/** CAIP-19 asset ID for the output asset. May be on a different chain than `input_token` for cross-chain swaps. */
|
|
2174
|
+
outputToken: string;
|
|
2175
|
+
/** Base-unit amount of the input asset. */
|
|
2176
|
+
inputAmount: string;
|
|
2177
|
+
/** Wallet account address to sign and submit the swap transaction from. Cross-wallet swaps are not supported. */
|
|
2178
|
+
walletAccount: string;
|
|
2179
|
+
/** Whether to sponsor the resulting swap transaction via Gas Station when supported by the chain. */
|
|
2180
|
+
sponsor?: boolean;
|
|
2181
|
+
/** Maximum allowed slippage in basis points. */
|
|
2182
|
+
slippage?: string;
|
|
2183
|
+
/** Swap provider to execute with, as returned by get_swap_quote. When omitted, execution uses the default provider. */
|
|
2184
|
+
provider?: string;
|
|
2185
|
+
};
|
|
2186
|
+
export type v1ExecuteSwapResult = {
|
|
2187
|
+
/** The send_transaction_status ID associated with the swap transaction submission */
|
|
2188
|
+
sendTransactionStatusId: string;
|
|
2189
|
+
/** Swap provider used to build the transaction. */
|
|
2190
|
+
provider?: string;
|
|
2191
|
+
/** Quote identifier used for execution, if any. */
|
|
2192
|
+
quoteId?: string;
|
|
2193
|
+
};
|
|
1614
2194
|
export type v1ExportPrivateKeyIntent = {
|
|
1615
2195
|
/** Unique identifier for a given Private Key. */
|
|
1616
2196
|
privateKeyId: string;
|
|
@@ -1680,7 +2260,7 @@ export type v1Feature = {
|
|
|
1680
2260
|
name?: v1FeatureName;
|
|
1681
2261
|
value?: string;
|
|
1682
2262
|
};
|
|
1683
|
-
export type v1FeatureName = "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED";
|
|
2263
|
+
export type v1FeatureName = "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED" | "FEATURE_NAME_SWAP_CONFIG" | "FEATURE_NAME_EARN_CONFIG";
|
|
1684
2264
|
export type v1FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
|
|
1685
2265
|
export type v1FiatOnRampCredential = {
|
|
1686
2266
|
/** Unique identifier for a given Fiat On-Ramp Credential. */
|
|
@@ -1818,13 +2398,47 @@ export type v1GetLatestBootProofRequest = {
|
|
|
1818
2398
|
/** Name of enclave app. */
|
|
1819
2399
|
appName: string;
|
|
1820
2400
|
};
|
|
2401
|
+
export type v1GetMfaPoliciesRequest = {
|
|
2402
|
+
/** Unique identifier for a given organization. */
|
|
2403
|
+
organizationId: string;
|
|
2404
|
+
/** Unique identifier for a given user. */
|
|
2405
|
+
userId: string;
|
|
2406
|
+
};
|
|
2407
|
+
export type v1GetMfaPoliciesResponse = {
|
|
2408
|
+
/** A list of multi-factor authentication policies for a user. */
|
|
2409
|
+
mfaPolicies: v1MfaPolicy[];
|
|
2410
|
+
};
|
|
2411
|
+
export type v1GetMfaPolicyRequest = {
|
|
2412
|
+
/** Unique identifier for a given organization. */
|
|
2413
|
+
organizationId: string;
|
|
2414
|
+
/** Unique identifier for a given user. */
|
|
2415
|
+
userId: string;
|
|
2416
|
+
/** Unique identifier for a given MFA policy. */
|
|
2417
|
+
mfaPolicyId: string;
|
|
2418
|
+
};
|
|
2419
|
+
export type v1GetMfaPolicyResponse = {
|
|
2420
|
+
/** Multi-factor authentication policy for a user. */
|
|
2421
|
+
mfaPolicy: v1MfaPolicy;
|
|
2422
|
+
};
|
|
2423
|
+
export type v1GetMfaStatusRequest = {
|
|
2424
|
+
/** Unique identifier for a given organization. */
|
|
2425
|
+
organizationId: string;
|
|
2426
|
+
/** The unique identifier of the activity to get MFA status for. */
|
|
2427
|
+
activityId: string;
|
|
2428
|
+
/** Optional user ID to filter MFA status for a specific user. */
|
|
2429
|
+
userId?: string;
|
|
2430
|
+
};
|
|
2431
|
+
export type v1GetMfaStatusResponse = {
|
|
2432
|
+
/** A list of MFA statuses for the activity's votes. */
|
|
2433
|
+
mfaStatuses: v1MfaStatus[];
|
|
2434
|
+
};
|
|
1821
2435
|
export type v1GetNoncesRequest = {
|
|
1822
2436
|
/** Unique identifier for a given Organization. */
|
|
1823
2437
|
organizationId: string;
|
|
1824
2438
|
/** The Ethereum address to query nonces for. */
|
|
1825
2439
|
address: string;
|
|
1826
2440
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1827
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2441
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
1828
2442
|
/** Whether to fetch the standard on-chain nonce. */
|
|
1829
2443
|
nonce?: boolean;
|
|
1830
2444
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -1938,6 +2552,24 @@ export type v1GetSendTransactionStatusResponse = {
|
|
|
1938
2552
|
/** Structured error information including revert details, if available. */
|
|
1939
2553
|
error?: v1TxError;
|
|
1940
2554
|
};
|
|
2555
|
+
export type v1GetSessionProfileRequest = {
|
|
2556
|
+
/** Unique identifier for a given organization. */
|
|
2557
|
+
organizationId: string;
|
|
2558
|
+
/** Unique identifier for a session profile. */
|
|
2559
|
+
sessionProfileId: string;
|
|
2560
|
+
};
|
|
2561
|
+
export type v1GetSessionProfileResponse = {
|
|
2562
|
+
/** Session profile for a user, including details about the user's authenticators, Oauth providers, API keys, and MFA policies. */
|
|
2563
|
+
sessionProfile: v1SessionProfile;
|
|
2564
|
+
};
|
|
2565
|
+
export type v1GetSessionProfilesRequest = {
|
|
2566
|
+
/** Unique identifier for a given organization. */
|
|
2567
|
+
organizationId: string;
|
|
2568
|
+
};
|
|
2569
|
+
export type v1GetSessionProfilesResponse = {
|
|
2570
|
+
/** A list of session profiles for users in the organization. */
|
|
2571
|
+
sessionProfiles: v1SessionProfile[];
|
|
2572
|
+
};
|
|
1941
2573
|
export type v1GetSmartContractInterfaceRequest = {
|
|
1942
2574
|
/** Unique identifier for a given organization. */
|
|
1943
2575
|
organizationId: string;
|
|
@@ -1970,6 +2602,58 @@ export type v1GetSubOrgIdsResponse = {
|
|
|
1970
2602
|
/** List of unique identifiers for the matching sub-organizations. */
|
|
1971
2603
|
organizationIds: string[];
|
|
1972
2604
|
};
|
|
2605
|
+
export type v1GetTvcAppDeploymentsRequest = {
|
|
2606
|
+
/** Unique identifier for a given organization. */
|
|
2607
|
+
organizationId: string;
|
|
2608
|
+
/** Unique identifier for a given TVC App. */
|
|
2609
|
+
appId: string;
|
|
2610
|
+
};
|
|
2611
|
+
export type v1GetTvcAppDeploymentsResponse = {
|
|
2612
|
+
/** List of deployments for this TVC App */
|
|
2613
|
+
tvcDeployments: v1TvcDeployment[];
|
|
2614
|
+
};
|
|
2615
|
+
export type v1GetTvcAppRequest = {
|
|
2616
|
+
/** Unique identifier for a given organization. */
|
|
2617
|
+
organizationId: string;
|
|
2618
|
+
/** Unique identifier for a given TVC App. */
|
|
2619
|
+
tvcAppId: string;
|
|
2620
|
+
};
|
|
2621
|
+
export type v1GetTvcAppResponse = {
|
|
2622
|
+
/** Details about a single TVC App */
|
|
2623
|
+
tvcApp: v1TvcApp;
|
|
2624
|
+
};
|
|
2625
|
+
export type v1GetTvcAppsRequest = {
|
|
2626
|
+
/** Unique identifier for a given organization. */
|
|
2627
|
+
organizationId: string;
|
|
2628
|
+
};
|
|
2629
|
+
export type v1GetTvcAppsResponse = {
|
|
2630
|
+
/** A list of TVC Apps. */
|
|
2631
|
+
tvcApps: v1TvcApp[];
|
|
2632
|
+
};
|
|
2633
|
+
export type v1GetTvcDeploymentDebugLogsRequest = {
|
|
2634
|
+
/** Unique identifier for a given Organization. */
|
|
2635
|
+
organizationId: string;
|
|
2636
|
+
/** Unique identifier for a given TVC Deployment. The deployment must be running in debug mode. */
|
|
2637
|
+
deploymentId: string;
|
|
2638
|
+
/** Limit returned history to the last N lines per replica. If unset or zero, no tail-line limit is applied. */
|
|
2639
|
+
tailLines?: number;
|
|
2640
|
+
/** Return logs newer than this many seconds ago. If unset or zero, no since-time limit is applied. Useful for clients that poll to follow logs. */
|
|
2641
|
+
sinceSeconds?: string;
|
|
2642
|
+
};
|
|
2643
|
+
export type v1GetTvcDeploymentDebugLogsResponse = {
|
|
2644
|
+
/** Application log entries sorted by platform timestamp. */
|
|
2645
|
+
entries: v1TvcDeploymentDebugLogEntry[];
|
|
2646
|
+
};
|
|
2647
|
+
export type v1GetTvcDeploymentRequest = {
|
|
2648
|
+
/** Unique identifier for a given organization. */
|
|
2649
|
+
organizationId: string;
|
|
2650
|
+
/** Unique identifier for a given TVC Deployment. */
|
|
2651
|
+
deploymentId: string;
|
|
2652
|
+
};
|
|
2653
|
+
export type v1GetTvcDeploymentResponse = {
|
|
2654
|
+
/** Details about a single TVC Deployment */
|
|
2655
|
+
tvcDeployment: v1TvcDeployment;
|
|
2656
|
+
};
|
|
1973
2657
|
export type v1GetUserRequest = {
|
|
1974
2658
|
/** Unique identifier for a given organization. */
|
|
1975
2659
|
organizationId: string;
|
|
@@ -2036,7 +2720,7 @@ export type v1GetWalletAddressBalancesRequest = {
|
|
|
2036
2720
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
2037
2721
|
address: string;
|
|
2038
2722
|
/** 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: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2723
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2040
2724
|
};
|
|
2041
2725
|
export type v1GetWalletAddressBalancesResponse = {
|
|
2042
2726
|
/** List of asset balances */
|
|
@@ -2361,15 +3045,6 @@ export type v1InitOtpIntentV3 = {
|
|
|
2361
3045
|
/** Optional custom email address to use as reply-to */
|
|
2362
3046
|
replyToEmailAddress?: string;
|
|
2363
3047
|
};
|
|
2364
|
-
export type v1InitOtpRequest = {
|
|
2365
|
-
type: "ACTIVITY_TYPE_INIT_OTP_V3";
|
|
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
3048
|
export type v1InitOtpResult = {
|
|
2374
3049
|
/** Unique identifier for an OTP authentication */
|
|
2375
3050
|
otpId: string;
|
|
@@ -2555,6 +3230,29 @@ export type v1Intent = {
|
|
|
2555
3230
|
deleteWebhookEndpointIntent?: v1DeleteWebhookEndpointIntent;
|
|
2556
3231
|
setIpAllowlistIntent?: v1SetIpAllowlistIntent;
|
|
2557
3232
|
removeIpAllowlistIntent?: v1RemoveIpAllowlistIntent;
|
|
3233
|
+
updateTvcAppLiveDeploymentIntent?: v1UpdateTvcAppLiveDeploymentIntent;
|
|
3234
|
+
deleteTvcDeploymentIntent?: v1DeleteTvcDeploymentIntent;
|
|
3235
|
+
deleteTvcAppAndDeploymentsIntent?: v1DeleteTvcAppAndDeploymentsIntent;
|
|
3236
|
+
restoreTvcDeploymentIntent?: v1RestoreTvcDeploymentIntent;
|
|
3237
|
+
sparkSignFrostIntent?: v1SparkSignFrostIntent;
|
|
3238
|
+
sparkPrepareTransferIntent?: v1SparkPrepareTransferIntent;
|
|
3239
|
+
sparkClaimTransferIntent?: v1SparkClaimTransferIntent;
|
|
3240
|
+
sparkPrepareLightningReceiveIntent?: v1SparkPrepareLightningReceiveIntent;
|
|
3241
|
+
postTvcQuorumKeyShareIntent?: v1PostTvcQuorumKeyShareIntent;
|
|
3242
|
+
ethSendTransactionIntentV2?: v1EthSendTransactionIntentV2;
|
|
3243
|
+
createMfaPolicyIntent?: v1CreateMfaPolicyIntent;
|
|
3244
|
+
updateMfaPolicyIntent?: v1UpdateMfaPolicyIntent;
|
|
3245
|
+
deleteMfaPolicyIntent?: v1DeleteMfaPolicyIntent;
|
|
3246
|
+
createSessionProfileIntent?: v1CreateSessionProfileIntent;
|
|
3247
|
+
earnDeployWrapperIntent?: v1EarnDeployWrapperIntent;
|
|
3248
|
+
earnDepositIntent?: v1EarnDepositIntent;
|
|
3249
|
+
earnWithdrawIntent?: v1EarnWithdrawIntent;
|
|
3250
|
+
upsertEarnClientFeeConfigIntent?: v1UpsertEarnClientFeeConfigIntent;
|
|
3251
|
+
executeSwapIntent?: v1ExecuteSwapIntent;
|
|
3252
|
+
upsertSwapConfigIntent?: v1UpsertSwapConfigIntent;
|
|
3253
|
+
createTvcOperatorIntent?: v1CreateTvcOperatorIntent;
|
|
3254
|
+
createTvcQuorumKeyIntent?: v1CreateTvcQuorumKeyIntent;
|
|
3255
|
+
reEncryptTvcQuorumKeyShareIntent?: v1ReEncryptTvcQuorumKeyShareIntent;
|
|
2558
3256
|
};
|
|
2559
3257
|
export type v1InvitationParams = {
|
|
2560
3258
|
/** The name of the intended Invitation recipient. */
|
|
@@ -2594,6 +3292,20 @@ export type v1IpAllowlistRule = {
|
|
|
2594
3292
|
/** Creation timestamp as millisecond epoch string. */
|
|
2595
3293
|
createdAt?: string;
|
|
2596
3294
|
};
|
|
3295
|
+
export type v1ListEmailEventsRequest = {
|
|
3296
|
+
/** Unique identifier for a given organization */
|
|
3297
|
+
organizationId: string;
|
|
3298
|
+
/** Recipient email address to list email events for */
|
|
3299
|
+
email: string;
|
|
3300
|
+
/** Optional email event type to filter by. Examples include Send, Delivery, Bounce, and DeliveryDelay */
|
|
3301
|
+
eventType?: string;
|
|
3302
|
+
/** Parameters used for cursor-based pagination */
|
|
3303
|
+
paginationOptions?: v1Pagination;
|
|
3304
|
+
};
|
|
3305
|
+
export type v1ListEmailEventsResponse = {
|
|
3306
|
+
/** Email events matching the requested filters, ordered by most recent event first. */
|
|
3307
|
+
emailEvents: v1EmailEvent[];
|
|
3308
|
+
};
|
|
2597
3309
|
export type v1ListFiatOnRampCredentialsRequest = {
|
|
2598
3310
|
/** Unique identifier for a given Organization. */
|
|
2599
3311
|
organizationId: string;
|
|
@@ -2620,7 +3332,7 @@ export type v1ListSupportedAssetsRequest = {
|
|
|
2620
3332
|
/** Unique identifier for a given organization. */
|
|
2621
3333
|
organizationId: string;
|
|
2622
3334
|
/** 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. */
|
|
2623
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3335
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2624
3336
|
};
|
|
2625
3337
|
export type v1ListSupportedAssetsResponse = {
|
|
2626
3338
|
/** List of asset metadata */
|
|
@@ -2641,10 +3353,44 @@ export type v1ListWebhookEndpointsRequest = {
|
|
|
2641
3353
|
export type v1ListWebhookEndpointsResponse = {
|
|
2642
3354
|
webhookEndpoints: v1WebhookEndpointData[];
|
|
2643
3355
|
};
|
|
3356
|
+
export type v1LogLine = {
|
|
3357
|
+
/** One log line, exactly as the application printed it (without the trailing newline) */
|
|
3358
|
+
content: string;
|
|
3359
|
+
/** When the line was logged. Stable across replays, so lines can be chronologically merged across pods */
|
|
3360
|
+
ts?: externaldatav1Timestamp;
|
|
3361
|
+
};
|
|
2644
3362
|
export type v1LoginUsage = {
|
|
2645
3363
|
/** Public key for authentication */
|
|
2646
3364
|
publicKey: string;
|
|
2647
3365
|
};
|
|
3366
|
+
export type v1MfaPolicy = {
|
|
3367
|
+
/** Unique identifier for a given MFA Policy. */
|
|
3368
|
+
mfaPolicyId: string;
|
|
3369
|
+
/** Human-readable name for an MFA Policy. */
|
|
3370
|
+
mfaPolicyName: string;
|
|
3371
|
+
/** A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
3372
|
+
condition: string;
|
|
3373
|
+
/** An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
3374
|
+
requiredAuthenticationMethods: v1RequiredAuthenticationMethod[];
|
|
3375
|
+
/** The order in which this policy is evaluated relative to other MFA policies. */
|
|
3376
|
+
order: number;
|
|
3377
|
+
/** Optional human-readable notes added by a User to describe a particular MFA policy. */
|
|
3378
|
+
notes?: string;
|
|
3379
|
+
createdAt: externaldatav1Timestamp;
|
|
3380
|
+
updatedAt: externaldatav1Timestamp;
|
|
3381
|
+
};
|
|
3382
|
+
export type v1MfaStatus = {
|
|
3383
|
+
/** Unique identifier for a given MFA Policy. */
|
|
3384
|
+
mfaPolicyId: string;
|
|
3385
|
+
/** Unique identifier for a given User. */
|
|
3386
|
+
userId: string;
|
|
3387
|
+
/** Whether the MFA policy requirements are currently satisfied. */
|
|
3388
|
+
satisfied: boolean;
|
|
3389
|
+
/** A list of authentication methods already satisfied for this MFA policy. */
|
|
3390
|
+
satisfiedMethods: v1AuthenticationMethod[];
|
|
3391
|
+
/** An ordered list of authentication requirements needed to satisfy this MFA policy. */
|
|
3392
|
+
requiredMethods: v1RequiredAuthenticationMethod[];
|
|
3393
|
+
};
|
|
2648
3394
|
export type v1MnemonicLanguage = "MNEMONIC_LANGUAGE_ENGLISH" | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | "MNEMONIC_LANGUAGE_CZECH" | "MNEMONIC_LANGUAGE_FRENCH" | "MNEMONIC_LANGUAGE_ITALIAN" | "MNEMONIC_LANGUAGE_JAPANESE" | "MNEMONIC_LANGUAGE_KOREAN" | "MNEMONIC_LANGUAGE_SPANISH";
|
|
2649
3395
|
export type v1NOOPCodegenAnchorResponse = {
|
|
2650
3396
|
stamp: v1WebAuthnStamp;
|
|
@@ -2667,8 +3413,8 @@ export type v1Oauth2AuthenticateIntent = {
|
|
|
2667
3413
|
redirectUri: string;
|
|
2668
3414
|
/** The code verifier used by OAuth 2.0 PKCE providers */
|
|
2669
3415
|
codeVerifier: string;
|
|
2670
|
-
/**
|
|
2671
|
-
nonce
|
|
3416
|
+
/** A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
3417
|
+
nonce: string;
|
|
2672
3418
|
/** 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 */
|
|
2673
3419
|
bearerTokenTargetPublicKey?: string;
|
|
2674
3420
|
};
|
|
@@ -2699,7 +3445,6 @@ export type v1Oauth2Credential = {
|
|
|
2699
3445
|
createdAt: externaldatav1Timestamp;
|
|
2700
3446
|
updatedAt: externaldatav1Timestamp;
|
|
2701
3447
|
};
|
|
2702
|
-
export type v1Oauth2Provider = "OAUTH2_PROVIDER_X" | "OAUTH2_PROVIDER_DISCORD";
|
|
2703
3448
|
export type v1OauthIntent = {
|
|
2704
3449
|
/** Base64 encoded OIDC token */
|
|
2705
3450
|
oidcToken: string;
|
|
@@ -2721,6 +3466,8 @@ export type v1OauthLoginIntent = {
|
|
|
2721
3466
|
expirationSeconds?: string;
|
|
2722
3467
|
/** Invalidate all other previously generated Login API keys */
|
|
2723
3468
|
invalidateExisting?: boolean;
|
|
3469
|
+
/** Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
3470
|
+
sessionProfileId?: string;
|
|
2724
3471
|
};
|
|
2725
3472
|
export type v1OauthLoginRequest = {
|
|
2726
3473
|
type: "ACTIVITY_TYPE_OAUTH_LOGIN";
|
|
@@ -2749,20 +3496,6 @@ export type v1OauthProvider = {
|
|
|
2749
3496
|
createdAt: externaldatav1Timestamp;
|
|
2750
3497
|
updatedAt: externaldatav1Timestamp;
|
|
2751
3498
|
};
|
|
2752
|
-
export type v1OauthProviderParams = {
|
|
2753
|
-
/** Human-readable name to identify a Provider. */
|
|
2754
|
-
providerName: string;
|
|
2755
|
-
/** Base64 encoded OIDC token */
|
|
2756
|
-
oidcToken: string;
|
|
2757
|
-
};
|
|
2758
|
-
export type v1OauthProviderParamsV2 = {
|
|
2759
|
-
/** Human-readable name to identify a Provider. */
|
|
2760
|
-
providerName: string;
|
|
2761
|
-
} & ({
|
|
2762
|
-
oidcToken: string;
|
|
2763
|
-
} | {
|
|
2764
|
-
/** OIDC claims (iss, sub, aud) to uniquely identify the user */ oidcClaims: v1OidcClaims;
|
|
2765
|
-
});
|
|
2766
3499
|
export type v1OauthRequest = {
|
|
2767
3500
|
type: "ACTIVITY_TYPE_OAUTH";
|
|
2768
3501
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
@@ -2780,14 +3513,6 @@ export type v1OauthResult = {
|
|
|
2780
3513
|
/** HPKE encrypted credential bundle */
|
|
2781
3514
|
credentialBundle: string;
|
|
2782
3515
|
};
|
|
2783
|
-
export type v1OidcClaims = {
|
|
2784
|
-
/** The issuer identifier from the OIDC token (iss claim) */
|
|
2785
|
-
iss: string;
|
|
2786
|
-
/** The subject identifier from the OIDC token (sub claim) */
|
|
2787
|
-
sub: string;
|
|
2788
|
-
/** The audience from the OIDC token (aud claim) */
|
|
2789
|
-
aud: string;
|
|
2790
|
-
};
|
|
2791
3516
|
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";
|
|
2792
3517
|
export type v1OtpAuthIntent = {
|
|
2793
3518
|
/** ID representing the result of an init OTP activity. */
|
|
@@ -2831,6 +3556,8 @@ export type v1OtpLoginIntent = {
|
|
|
2831
3556
|
invalidateExisting?: boolean;
|
|
2832
3557
|
/** Optional signature proving authorization for this login. The signature is over the verification token ID and the public key. Only required if a public key was provided during the verification step. */
|
|
2833
3558
|
clientSignature?: v1ClientSignature;
|
|
3559
|
+
/** Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
3560
|
+
sessionProfileId?: string;
|
|
2834
3561
|
};
|
|
2835
3562
|
export type v1OtpLoginIntentV2 = {
|
|
2836
3563
|
/** Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
@@ -2843,21 +3570,14 @@ export type v1OtpLoginIntentV2 = {
|
|
|
2843
3570
|
expirationSeconds?: string;
|
|
2844
3571
|
/** Invalidate all other previously generated Login sessions */
|
|
2845
3572
|
invalidateExisting?: boolean;
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
type: "ACTIVITY_TYPE_OTP_LOGIN_V2";
|
|
2849
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2850
|
-
timestampMs: string;
|
|
2851
|
-
/** Unique identifier for a given Organization. */
|
|
2852
|
-
organizationId: string;
|
|
2853
|
-
parameters: v1OtpLoginIntentV2;
|
|
2854
|
-
generateAppProofs?: boolean;
|
|
3573
|
+
/** Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
3574
|
+
sessionProfileId?: string;
|
|
2855
3575
|
};
|
|
2856
3576
|
export type v1OtpLoginResult = {
|
|
2857
3577
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
2858
3578
|
session: string;
|
|
2859
3579
|
};
|
|
2860
|
-
export type v1Outcome = "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR";
|
|
3580
|
+
export type v1Outcome = "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS";
|
|
2861
3581
|
export type v1Pagination = {
|
|
2862
3582
|
/** A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
|
|
2863
3583
|
limit?: string;
|
|
@@ -2866,7 +3586,6 @@ export type v1Pagination = {
|
|
|
2866
3586
|
/** A pagination cursor. This is an object ID that enables you to fetch all objects after this ID. */
|
|
2867
3587
|
after?: string;
|
|
2868
3588
|
};
|
|
2869
|
-
export type v1PathFormat = "PATH_FORMAT_BIP32";
|
|
2870
3589
|
export type v1PayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8" | "PAYLOAD_ENCODING_EIP712" | "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION";
|
|
2871
3590
|
export type v1Policy = {
|
|
2872
3591
|
/** Unique identifier for a given Policy. */
|
|
@@ -2884,6 +3603,18 @@ export type v1Policy = {
|
|
|
2884
3603
|
/** A condition expression that evalutes to true or false. */
|
|
2885
3604
|
condition: string;
|
|
2886
3605
|
};
|
|
3606
|
+
export type v1PostTvcQuorumKeyShareIntent = {
|
|
3607
|
+
/** Unique identifier of the TVC deployment receiving quorum key share */
|
|
3608
|
+
deploymentId: string;
|
|
3609
|
+
/** Hex-encoded ephemeral public key used to encrypt the quorum key share */
|
|
3610
|
+
ephemeralPublicKeyHex: string;
|
|
3611
|
+
/** Re-encrypted quorum key share and approval */
|
|
3612
|
+
shareApprovalBundle: v1QuorumKeyShareApprovalBundle;
|
|
3613
|
+
};
|
|
3614
|
+
export type v1PostTvcQuorumKeyShareResult = {
|
|
3615
|
+
/** The unique identifier for the provisioning quorum key share */
|
|
3616
|
+
provisioningShareId: string;
|
|
3617
|
+
};
|
|
2887
3618
|
export type v1PrivateKey = {
|
|
2888
3619
|
/** Unique identifier for a given Private Key. */
|
|
2889
3620
|
privateKeyId: string;
|
|
@@ -2926,6 +3657,32 @@ export type v1PublicKeyCredentialWithAttestation = {
|
|
|
2926
3657
|
response: v1AuthenticatorAttestationResponse;
|
|
2927
3658
|
clientExtensionResults: v1SimpleClientExtensionResults;
|
|
2928
3659
|
};
|
|
3660
|
+
export type v1QuorumKeyShareApprovalBundle = {
|
|
3661
|
+
/** Unique identifier of the operator providing this quorum key share */
|
|
3662
|
+
operatorId: string;
|
|
3663
|
+
/** Hex-encoded re-encrypted quorum key share */
|
|
3664
|
+
reEncryptedShareHex: string;
|
|
3665
|
+
/** Signature from the share set operator approving the manifest */
|
|
3666
|
+
signature: string;
|
|
3667
|
+
};
|
|
3668
|
+
export type v1ReEncryptTvcQuorumKeyShareIntent = {
|
|
3669
|
+
/** Base64-encoded attestation document for the TVC deployment provisioning enclave */
|
|
3670
|
+
attestationDocB64: string;
|
|
3671
|
+
/** Base64-encoded manifest for the TVC deployment */
|
|
3672
|
+
manifestB64: string;
|
|
3673
|
+
/** Operator encryption public key used to encrypt the hosted TVC quorum key share */
|
|
3674
|
+
operatorEncryptKey: string;
|
|
3675
|
+
/** Operator signing public key used to approve the TVC manifest */
|
|
3676
|
+
operatorSignKey: string;
|
|
3677
|
+
/** Unique identifier of the TVC deployment receiving the re-encrypted quorum key share */
|
|
3678
|
+
deploymentId: string;
|
|
3679
|
+
/** Quorum key for the TVC application */
|
|
3680
|
+
appQuorumKey: string;
|
|
3681
|
+
};
|
|
3682
|
+
export type v1ReEncryptTvcQuorumKeyShareResult = {
|
|
3683
|
+
/** The unique identifier for the provisioning quorum key share */
|
|
3684
|
+
provisioningShareId: string;
|
|
3685
|
+
};
|
|
2929
3686
|
export type v1RecoverUserIntent = {
|
|
2930
3687
|
/** The new authenticator to register. */
|
|
2931
3688
|
authenticator: v1AuthenticatorParamsV2;
|
|
@@ -2969,6 +3726,7 @@ export type v1RemoveIpAllowlistRequest = {
|
|
|
2969
3726
|
/** Unique identifier for a given Organization. */
|
|
2970
3727
|
organizationId: string;
|
|
2971
3728
|
parameters: v1RemoveIpAllowlistIntent;
|
|
3729
|
+
generateAppProofs?: boolean;
|
|
2972
3730
|
};
|
|
2973
3731
|
export type v1RemoveIpAllowlistResult = {};
|
|
2974
3732
|
export type v1RemoveOrganizationFeatureIntent = {
|
|
@@ -2988,6 +3746,31 @@ export type v1RemoveOrganizationFeatureResult = {
|
|
|
2988
3746
|
/** Resulting list of organization features. */
|
|
2989
3747
|
features: v1Feature[];
|
|
2990
3748
|
};
|
|
3749
|
+
export type v1RequiredAuthenticationMethod = {
|
|
3750
|
+
/** A list of authentication methods for this MFA step. If only one method is provided, it is required. If multiple are provided, the user must satisfy ANY one of them. */
|
|
3751
|
+
any: v1AuthenticationMethod[];
|
|
3752
|
+
};
|
|
3753
|
+
export type v1RequiredAuthenticationMethodParams = {
|
|
3754
|
+
/** A list of authentication methods for this MFA step. If only one method is provided, it is required. If multiple are provided, the user must satisfy ANY one of them. */
|
|
3755
|
+
any: v1AuthenticationMethodParams[];
|
|
3756
|
+
};
|
|
3757
|
+
export type v1RestoreTvcDeploymentIntent = {
|
|
3758
|
+
/** The unique identifier of the TVC deployment to restore. */
|
|
3759
|
+
deploymentId: string;
|
|
3760
|
+
};
|
|
3761
|
+
export type v1RestoreTvcDeploymentRequest = {
|
|
3762
|
+
type: "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT";
|
|
3763
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3764
|
+
timestampMs: string;
|
|
3765
|
+
/** Unique identifier for a given Organization. */
|
|
3766
|
+
organizationId: string;
|
|
3767
|
+
parameters: v1RestoreTvcDeploymentIntent;
|
|
3768
|
+
generateAppProofs?: boolean;
|
|
3769
|
+
};
|
|
3770
|
+
export type v1RestoreTvcDeploymentResult = {
|
|
3771
|
+
/** The unique identifier of the restored TVC deployment. */
|
|
3772
|
+
deploymentId: string;
|
|
3773
|
+
};
|
|
2991
3774
|
export type v1Result = {
|
|
2992
3775
|
createOrganizationResult?: v1CreateOrganizationResult;
|
|
2993
3776
|
createAuthenticatorsResult?: v1CreateAuthenticatorsResult;
|
|
@@ -3096,6 +3879,29 @@ export type v1Result = {
|
|
|
3096
3879
|
deleteWebhookEndpointResult?: v1DeleteWebhookEndpointResult;
|
|
3097
3880
|
setIpAllowlistResult?: v1SetIpAllowlistResult;
|
|
3098
3881
|
removeIpAllowlistResult?: v1RemoveIpAllowlistResult;
|
|
3882
|
+
updateTvcAppLiveDeploymentResult?: v1UpdateTvcAppLiveDeploymentResult;
|
|
3883
|
+
deleteTvcDeploymentResult?: v1DeleteTvcDeploymentResult;
|
|
3884
|
+
deleteTvcAppAndDeploymentsResult?: v1DeleteTvcAppAndDeploymentsResult;
|
|
3885
|
+
restoreTvcDeploymentResult?: v1RestoreTvcDeploymentResult;
|
|
3886
|
+
sparkSignFrostResult?: v1SparkSignFrostResult;
|
|
3887
|
+
sparkPrepareTransferResult?: v1SparkPrepareTransferResult;
|
|
3888
|
+
sparkClaimTransferResult?: v1SparkClaimTransferResult;
|
|
3889
|
+
sparkPrepareLightningReceiveResult?: v1SparkPrepareLightningReceiveResult;
|
|
3890
|
+
postTvcQuorumKeyShareResult?: v1PostTvcQuorumKeyShareResult;
|
|
3891
|
+
ethSendTransactionResultV2?: v1EthSendTransactionResultV2;
|
|
3892
|
+
createMfaPolicyResult?: v1CreateMfaPolicyResult;
|
|
3893
|
+
updateMfaPolicyResult?: v1UpdateMfaPolicyResult;
|
|
3894
|
+
deleteMfaPolicyResult?: v1DeleteMfaPolicyResult;
|
|
3895
|
+
createSessionProfileResult?: v1CreateSessionProfileResult;
|
|
3896
|
+
earnDeployWrapperResult?: v1EarnDeployWrapperResult;
|
|
3897
|
+
earnDepositResult?: v1EarnDepositResult;
|
|
3898
|
+
earnWithdrawResult?: v1EarnWithdrawResult;
|
|
3899
|
+
upsertEarnClientFeeConfigResult?: v1UpsertEarnClientFeeConfigResult;
|
|
3900
|
+
executeSwapResult?: v1ExecuteSwapResult;
|
|
3901
|
+
upsertSwapConfigResult?: v1UpsertSwapConfigResult;
|
|
3902
|
+
createTvcOperatorResult?: v1CreateTvcOperatorResult;
|
|
3903
|
+
createTvcQuorumKeyResult?: v1CreateTvcQuorumKeyResult;
|
|
3904
|
+
reEncryptTvcQuorumKeyShareResult?: v1ReEncryptTvcQuorumKeyShareResult;
|
|
3099
3905
|
};
|
|
3100
3906
|
export type v1RevertChainEntry = {
|
|
3101
3907
|
/** The contract address where the revert occurred. */
|
|
@@ -3183,6 +3989,20 @@ export type v1SelectorV2 = {
|
|
|
3183
3989
|
operator?: v1Operator;
|
|
3184
3990
|
targets?: string[];
|
|
3185
3991
|
};
|
|
3992
|
+
export type v1SessionProfile = {
|
|
3993
|
+
/** Unique identifier for a given Session Profile. */
|
|
3994
|
+
sessionProfileId: string;
|
|
3995
|
+
/** Human-readable name for a Session Profile. */
|
|
3996
|
+
sessionProfileName: string;
|
|
3997
|
+
/** The specific scope that a session created with this profile is limited to. */
|
|
3998
|
+
scope: string;
|
|
3999
|
+
/** Optional window (in seconds) indicating how long sessions created with this profile should last. */
|
|
4000
|
+
expirationSeconds?: string;
|
|
4001
|
+
/** Optional human-readable notes added by a User to describe a particular Session Profile. */
|
|
4002
|
+
notes?: string;
|
|
4003
|
+
createdAt: externaldatav1Timestamp;
|
|
4004
|
+
updatedAt: externaldatav1Timestamp;
|
|
4005
|
+
};
|
|
3186
4006
|
export type v1SetIpAllowlistIntent = {
|
|
3187
4007
|
/** 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. */
|
|
3188
4008
|
publicKey?: string;
|
|
@@ -3200,6 +4020,7 @@ export type v1SetIpAllowlistRequest = {
|
|
|
3200
4020
|
/** Unique identifier for a given Organization. */
|
|
3201
4021
|
organizationId: string;
|
|
3202
4022
|
parameters: v1SetIpAllowlistIntent;
|
|
4023
|
+
generateAppProofs?: boolean;
|
|
3203
4024
|
};
|
|
3204
4025
|
export type v1SetIpAllowlistResult = {};
|
|
3205
4026
|
export type v1SetOrganizationFeatureIntent = {
|
|
@@ -3337,8 +4158,8 @@ export type v1SolSendTransactionIntent = {
|
|
|
3337
4158
|
signWith: string;
|
|
3338
4159
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
3339
4160
|
sponsor?: boolean;
|
|
3340
|
-
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
|
|
3341
|
-
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:
|
|
4161
|
+
/** 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. */
|
|
4162
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
3342
4163
|
/** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
3343
4164
|
recentBlockhash?: string;
|
|
3344
4165
|
};
|
|
@@ -3379,6 +4200,207 @@ export type v1SolanaSendTransactionStatus = {
|
|
|
3379
4200
|
/** The Solana transaction signature, if available. */
|
|
3380
4201
|
signature?: string;
|
|
3381
4202
|
};
|
|
4203
|
+
export type v1SparkClaimLeaf = {
|
|
4204
|
+
/** Leaf identifier (UUID). */
|
|
4205
|
+
leafId: string;
|
|
4206
|
+
/** ECIES ciphertext (hex-encoded) containing the inbound transfer secret. Decrypted inside the enclave using the wallet's Identity key. */
|
|
4207
|
+
ciphertext: string;
|
|
4208
|
+
/** 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. */
|
|
4209
|
+
senderSignature: string;
|
|
4210
|
+
};
|
|
4211
|
+
export type v1SparkClaimPackage = {
|
|
4212
|
+
/** Leaves being claimed. */
|
|
4213
|
+
leaves: v1SparkClaimLeaf[];
|
|
4214
|
+
/** Shamir threshold for reconstructing the per-leaf claim secret. */
|
|
4215
|
+
threshold: number;
|
|
4216
|
+
/** Operators that will receive Shamir shares. */
|
|
4217
|
+
operatorRecipients: v1SparkOperatorRecipient[];
|
|
4218
|
+
/** Spark transfer identifier (UUID). Used together with each leaf's sender_signature to verify the sender bound this ciphertext to this transfer. */
|
|
4219
|
+
transferId: string;
|
|
4220
|
+
/** Sender's compressed secp256k1 identity public key (hex-encoded, 33 bytes). Used to verify the per-leaf sender_signature fields. */
|
|
4221
|
+
senderIdentityPublicKey: string;
|
|
4222
|
+
};
|
|
4223
|
+
export type v1SparkClaimTransferIntent = {
|
|
4224
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
4225
|
+
signWith: string;
|
|
4226
|
+
/** Claim package parameters. */
|
|
4227
|
+
claim: v1SparkClaimPackage;
|
|
4228
|
+
};
|
|
4229
|
+
export type v1SparkClaimTransferRequest = {
|
|
4230
|
+
type: "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER";
|
|
4231
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4232
|
+
timestampMs: string;
|
|
4233
|
+
/** Unique identifier for a given Organization. */
|
|
4234
|
+
organizationId: string;
|
|
4235
|
+
parameters: v1SparkClaimTransferIntent;
|
|
4236
|
+
};
|
|
4237
|
+
export type v1SparkClaimTransferResult = {
|
|
4238
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
4239
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
4240
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
4241
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
4242
|
+
};
|
|
4243
|
+
export type v1SparkDepositDerivation = {};
|
|
4244
|
+
export type v1SparkEncryptedOperatorPackage = {
|
|
4245
|
+
/** Spark operator identifier (UUID). */
|
|
4246
|
+
operatorId: string;
|
|
4247
|
+
/** ECIES ciphertext (hex-encoded) opaque to Turnkey after emission. */
|
|
4248
|
+
encryptedPackage: string;
|
|
4249
|
+
};
|
|
4250
|
+
export type v1SparkFrostCommitment = {
|
|
4251
|
+
/** FROST participant identifier, hex-encoded (32-byte scalar). */
|
|
4252
|
+
id: string;
|
|
4253
|
+
/** Hiding commitment D, hex-encoded compressed secp256k1 point. */
|
|
4254
|
+
hiding: string;
|
|
4255
|
+
/** Binding commitment E, hex-encoded compressed secp256k1 point. */
|
|
4256
|
+
binding: string;
|
|
4257
|
+
};
|
|
4258
|
+
export type v1SparkHtlcPreimageDerivation = {};
|
|
4259
|
+
export type v1SparkIdentityDerivation = {};
|
|
4260
|
+
export type v1SparkKeyDerivation = {
|
|
4261
|
+
/** Spark identity key derivation. */
|
|
4262
|
+
identity?: v1SparkIdentityDerivation;
|
|
4263
|
+
/** Spark signing leaf key derivation, identified by leaf ID. */
|
|
4264
|
+
signingLeaf?: v1SparkSigningLeafDerivation;
|
|
4265
|
+
/** Spark deposit key derivation. */
|
|
4266
|
+
deposit?: v1SparkDepositDerivation;
|
|
4267
|
+
/** Spark static deposit key derivation, identified by index. */
|
|
4268
|
+
staticDeposit?: v1SparkStaticDepositDerivation;
|
|
4269
|
+
/** Spark HTLC preimage key derivation. */
|
|
4270
|
+
htlcPreimage?: v1SparkHtlcPreimageDerivation;
|
|
4271
|
+
};
|
|
4272
|
+
export type v1SparkLeafPublicKey = {
|
|
4273
|
+
/** The Spark leaf_id this public key was derived for. */
|
|
4274
|
+
leafId: string;
|
|
4275
|
+
/** Hex-encoded compressed secp256k1 point (33 bytes) for the SigningLeaf derivation at leaf_id. */
|
|
4276
|
+
publicKey: string;
|
|
4277
|
+
};
|
|
4278
|
+
export type v1SparkLightningReceivePackage = {
|
|
4279
|
+
/** Feldman VSS threshold for reconstructing the preimage. */
|
|
4280
|
+
threshold: number;
|
|
4281
|
+
/** 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. */
|
|
4282
|
+
operatorRecipients: v1SparkOperatorRecipient[];
|
|
4283
|
+
};
|
|
4284
|
+
export type v1SparkOperatorRecipient = {
|
|
4285
|
+
/** Spark operator identifier (UUID). */
|
|
4286
|
+
operatorId: string;
|
|
4287
|
+
/** Operator's ECIES encryption pubkey (hex-encoded compressed secp256k1 point). */
|
|
4288
|
+
encryptionPublicKey: string;
|
|
4289
|
+
};
|
|
4290
|
+
export type v1SparkPartialSignature = {
|
|
4291
|
+
/** Hex-encoded FROST partial signature. */
|
|
4292
|
+
signatureShare: string;
|
|
4293
|
+
/** Turnkey's hiding commitment D (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
4294
|
+
hiding: string;
|
|
4295
|
+
/** Turnkey's binding commitment E (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
4296
|
+
binding: string;
|
|
4297
|
+
};
|
|
4298
|
+
export type v1SparkPrepareLightningReceiveIntent = {
|
|
4299
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
4300
|
+
signWith: string;
|
|
4301
|
+
/** Lightning receive package parameters: threshold and operator recipients. */
|
|
4302
|
+
lightningReceive: v1SparkLightningReceivePackage;
|
|
4303
|
+
};
|
|
4304
|
+
export type v1SparkPrepareLightningReceiveRequest = {
|
|
4305
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE";
|
|
4306
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4307
|
+
timestampMs: string;
|
|
4308
|
+
/** Unique identifier for a given Organization. */
|
|
4309
|
+
organizationId: string;
|
|
4310
|
+
parameters: v1SparkPrepareLightningReceiveIntent;
|
|
4311
|
+
};
|
|
4312
|
+
export type v1SparkPrepareLightningReceiveResult = {
|
|
4313
|
+
/** Per-operator ECIES-encrypted Feldman share packages. */
|
|
4314
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
4315
|
+
/** Hex-encoded SHA256(preimage). Forward to the Lightning node. */
|
|
4316
|
+
paymentHash: string;
|
|
4317
|
+
};
|
|
4318
|
+
export type v1SparkPrepareTransferIntent = {
|
|
4319
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
4320
|
+
signWith: string;
|
|
4321
|
+
/** Transfer package parameters for HD key tweak splitting. */
|
|
4322
|
+
transfer: v1SparkTransferPackage;
|
|
4323
|
+
};
|
|
4324
|
+
export type v1SparkPrepareTransferRequest = {
|
|
4325
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER";
|
|
4326
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4327
|
+
timestampMs: string;
|
|
4328
|
+
/** Unique identifier for a given Organization. */
|
|
4329
|
+
organizationId: string;
|
|
4330
|
+
parameters: v1SparkPrepareTransferIntent;
|
|
4331
|
+
};
|
|
4332
|
+
export type v1SparkPrepareTransferResult = {
|
|
4333
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
4334
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
4335
|
+
/** Hex-encoded ECDSA-DER signature of the TransferPackage signing payload, signed with the wallet's IDENTITY key. */
|
|
4336
|
+
transferUserSignature: string;
|
|
4337
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
4338
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
4339
|
+
};
|
|
4340
|
+
export type v1SparkSignFrostIntent = {
|
|
4341
|
+
/** A Spark wallet account address identifying the wallet to sign with. */
|
|
4342
|
+
signWith: string;
|
|
4343
|
+
/** Batched sign requests. Each produces a partial signature plus Turnkey's public commitments. */
|
|
4344
|
+
signatures: v1SparkSignatureRequest[];
|
|
4345
|
+
};
|
|
4346
|
+
export type v1SparkSignFrostRequest = {
|
|
4347
|
+
type: "ACTIVITY_TYPE_SPARK_SIGN_FROST";
|
|
4348
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4349
|
+
timestampMs: string;
|
|
4350
|
+
/** Unique identifier for a given Organization. */
|
|
4351
|
+
organizationId: string;
|
|
4352
|
+
parameters: v1SparkSignFrostIntent;
|
|
4353
|
+
};
|
|
4354
|
+
export type v1SparkSignFrostResult = {
|
|
4355
|
+
/** Partial signatures plus Turnkey commitments, one per request, in order. */
|
|
4356
|
+
signatures: v1SparkPartialSignature[];
|
|
4357
|
+
};
|
|
4358
|
+
export type v1SparkSignatureRequest = {
|
|
4359
|
+
/** Which key to sign with. */
|
|
4360
|
+
derivation: v1SparkKeyDerivation;
|
|
4361
|
+
/** Hex-encoded 32-byte sighash to sign. */
|
|
4362
|
+
message: string;
|
|
4363
|
+
/** Aggregate group verifying key (hex-encoded compressed secp256k1 point), computed as P_ops + P_user. Bound into the nonce HMAC. */
|
|
4364
|
+
verifyingKey: string;
|
|
4365
|
+
/** Commitments for every non-Turnkey participant. MUST NOT include an entry under Turnkey's identifier. Bound into the nonce HMAC. */
|
|
4366
|
+
operatorCommitments: v1SparkFrostCommitment[];
|
|
4367
|
+
/** 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). */
|
|
4368
|
+
adaptorPublicKey?: string;
|
|
4369
|
+
};
|
|
4370
|
+
export type v1SparkSigningLeafDerivation = {
|
|
4371
|
+
/** Unique identifier for the Spark signing leaf. */
|
|
4372
|
+
leafId: string;
|
|
4373
|
+
};
|
|
4374
|
+
export type v1SparkStaticDepositDerivation = {
|
|
4375
|
+
/** Index used to derive the static deposit key. */
|
|
4376
|
+
index: number;
|
|
4377
|
+
};
|
|
4378
|
+
export type v1SparkTransferLeaf = {
|
|
4379
|
+
/** Leaf identifier (UUID). */
|
|
4380
|
+
leafId: string;
|
|
4381
|
+
/** Derivation for the existing (pre-transfer) leaf key. Always a SigningLeaf derivation. */
|
|
4382
|
+
oldLeafDerivation: v1SparkKeyDerivation;
|
|
4383
|
+
/** 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). */
|
|
4384
|
+
newLeafDerivation: v1SparkKeyDerivation;
|
|
4385
|
+
/** Client-produced CPFP refund signature (hex-encoded), passed through verbatim into the per-operator SendLeafKeyTweak. Empty omits the field from the operator package. */
|
|
4386
|
+
refundSignature?: string;
|
|
4387
|
+
/** Client-produced direct refund signature (hex-encoded). Passed through verbatim. */
|
|
4388
|
+
directRefundSignature?: string;
|
|
4389
|
+
/** Client-produced direct-from-CPFP refund signature (hex-encoded). Passed through verbatim. */
|
|
4390
|
+
directFromCpfpRefundSignature?: string;
|
|
4391
|
+
};
|
|
4392
|
+
export type v1SparkTransferPackage = {
|
|
4393
|
+
/** Spark transfer identifier (UUID). */
|
|
4394
|
+
transferId: string;
|
|
4395
|
+
/** Leaves being transferred. */
|
|
4396
|
+
leaves: v1SparkTransferLeaf[];
|
|
4397
|
+
/** Feldman VSS threshold for reconstructing the per-leaf tweak scalar. */
|
|
4398
|
+
threshold: number;
|
|
4399
|
+
/** 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. */
|
|
4400
|
+
operatorRecipients: v1SparkOperatorRecipient[];
|
|
4401
|
+
/** 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. */
|
|
4402
|
+
receiverPublicKey: string;
|
|
4403
|
+
};
|
|
3382
4404
|
export type v1StampLoginIntent = {
|
|
3383
4405
|
/** 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 */
|
|
3384
4406
|
publicKey: string;
|
|
@@ -3386,6 +4408,8 @@ export type v1StampLoginIntent = {
|
|
|
3386
4408
|
expirationSeconds?: string;
|
|
3387
4409
|
/** Invalidate all other previously generated Login API keys */
|
|
3388
4410
|
invalidateExisting?: boolean;
|
|
4411
|
+
/** Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
4412
|
+
sessionProfileId?: string;
|
|
3389
4413
|
};
|
|
3390
4414
|
export type v1StampLoginRequest = {
|
|
3391
4415
|
type: "ACTIVITY_TYPE_STAMP_LOGIN";
|
|
@@ -3400,30 +4424,146 @@ export type v1StampLoginResult = {
|
|
|
3400
4424
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
3401
4425
|
session: string;
|
|
3402
4426
|
};
|
|
3403
|
-
export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
3404
|
-
export type v1TokenUsage = {
|
|
3405
|
-
/** Type of token usage */
|
|
3406
|
-
type: v1UsageType;
|
|
3407
|
-
/** Unique identifier for the verification token */
|
|
3408
|
-
tokenId: string;
|
|
3409
|
-
signup?: v1SignupUsage;
|
|
3410
|
-
login?: v1LoginUsage;
|
|
3411
|
-
signupV2?: v1SignupUsageV2;
|
|
4427
|
+
export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
4428
|
+
export type v1TokenUsage = {
|
|
4429
|
+
/** Type of token usage */
|
|
4430
|
+
type: v1UsageType;
|
|
4431
|
+
/** Unique identifier for the verification token */
|
|
4432
|
+
tokenId: string;
|
|
4433
|
+
signup?: v1SignupUsage;
|
|
4434
|
+
login?: v1LoginUsage;
|
|
4435
|
+
signupV2?: v1SignupUsageV2;
|
|
4436
|
+
};
|
|
4437
|
+
export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
4438
|
+
export type v1TvcApp = {
|
|
4439
|
+
/** Unique Identifier for this TVC App. */
|
|
4440
|
+
id: string;
|
|
4441
|
+
/** Unique Identifier of the Organization for this TVC App */
|
|
4442
|
+
organizationId: string;
|
|
4443
|
+
/** Name for this TVC App. */
|
|
4444
|
+
name: string;
|
|
4445
|
+
/** Public key for the Quorum Key associated with this TVC App */
|
|
4446
|
+
quorumPublicKey: string;
|
|
4447
|
+
/** Manifest Set (people who can approve manifests) */
|
|
4448
|
+
manifestSet: v1TvcOperatorSet;
|
|
4449
|
+
/** Share Set (people who have a share of the Quorum Key) */
|
|
4450
|
+
shareSet: v1TvcOperatorSet;
|
|
4451
|
+
/** Whether or not this TVC App has network egress enabled. */
|
|
4452
|
+
enableEgress: boolean;
|
|
4453
|
+
createdAt: externaldatav1Timestamp;
|
|
4454
|
+
updatedAt: externaldatav1Timestamp;
|
|
4455
|
+
/** The deployment currently designated to receive traffic. Null if no deployment for this app is deployed. */
|
|
4456
|
+
liveDeploymentId?: string;
|
|
4457
|
+
/** The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
|
|
4458
|
+
publicDomain: string;
|
|
4459
|
+
/** Whether this app permits debug-mode deployments. Set at app creation via CreateTvcAppIntent.enable_debug_mode_deployments and never updated thereafter. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. The app's quorum key is therefore considered permanently insecure once enabled — a new app with a fresh quorum key must be created to return to a secure posture. */
|
|
4460
|
+
enableDebugModeDeployments: boolean;
|
|
4461
|
+
};
|
|
4462
|
+
export type v1TvcContainerSpec = {
|
|
4463
|
+
/** The URL for this container image. */
|
|
4464
|
+
containerUrl: string;
|
|
4465
|
+
/** The path (in-container) to the executable binary. */
|
|
4466
|
+
path: string;
|
|
4467
|
+
/** The arguments to pass to the executable. */
|
|
4468
|
+
args: string[];
|
|
4469
|
+
/** Whether or not this container requires a pull secret to access. */
|
|
4470
|
+
hasPullSecret: boolean;
|
|
4471
|
+
/** The type of health check to perform against this executable. */
|
|
4472
|
+
healthCheckType: v1TvcHealthCheckType;
|
|
4473
|
+
/** The port to use for health checks against this executable. */
|
|
4474
|
+
healthCheckPort: number;
|
|
4475
|
+
/** The port to use for public ingress to this executable. */
|
|
4476
|
+
publicIngressPort: number;
|
|
4477
|
+
};
|
|
4478
|
+
export type v1TvcDeployment = {
|
|
4479
|
+
/** Unique Identifier for this TVC Deployment. */
|
|
4480
|
+
id: string;
|
|
4481
|
+
/** Unique Identifier of the Organization for this TVC Deployment */
|
|
4482
|
+
organizationId: string;
|
|
4483
|
+
/** Unique Identifier of the TVC App for this deployment */
|
|
4484
|
+
appId: string;
|
|
4485
|
+
/** Set of TVC operators who can approve this deployment */
|
|
4486
|
+
manifestSet: v1TvcOperatorSet;
|
|
4487
|
+
/** Set of TVC operators who have a share of the Quorum Key */
|
|
4488
|
+
shareSet: v1TvcOperatorSet;
|
|
4489
|
+
/** The manifest used for this deployment */
|
|
4490
|
+
manifest: v1TvcManifest;
|
|
4491
|
+
/** List of operator approvals for this manifest */
|
|
4492
|
+
manifestApprovals: v1TvcOperatorApproval[];
|
|
4493
|
+
/** QOS Version used for this deployment */
|
|
4494
|
+
qosVersion: string;
|
|
4495
|
+
/** The pivot container spec for this deployment */
|
|
4496
|
+
pivotContainer: v1TvcContainerSpec;
|
|
4497
|
+
createdAt: externaldatav1Timestamp;
|
|
4498
|
+
updatedAt: externaldatav1Timestamp;
|
|
4499
|
+
/** Whether or not the user wants this deployment deleted from the cluster. */
|
|
4500
|
+
delete: boolean;
|
|
4501
|
+
/** Whether this deployment is running in debug mode. Debug-mode deployments expose enclave logs and cannot be remotely attested. */
|
|
4502
|
+
debugMode: boolean;
|
|
4503
|
+
};
|
|
4504
|
+
export type v1TvcDeploymentDebugLogEntry = {
|
|
4505
|
+
/** Application log line with its platform timestamp. */
|
|
4506
|
+
line: v1LogLine;
|
|
4507
|
+
/** Public replica label that produced this log line, for example 'replica 2/3'. */
|
|
4508
|
+
replicaLabel: string;
|
|
3412
4509
|
};
|
|
3413
|
-
export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
3414
4510
|
export type v1TvcHealthCheckType = "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
4511
|
+
export type v1TvcManifest = {
|
|
4512
|
+
/** Unique Identifier for this TVC Manifest. */
|
|
4513
|
+
id: string;
|
|
4514
|
+
/** The manifest content (raw UTF-8 JSON bytes) */
|
|
4515
|
+
manifest: string;
|
|
4516
|
+
createdAt: externaldatav1Timestamp;
|
|
4517
|
+
updatedAt: externaldatav1Timestamp;
|
|
4518
|
+
};
|
|
3415
4519
|
export type v1TvcManifestApproval = {
|
|
3416
4520
|
/** Unique identifier of the operator providing this approval */
|
|
3417
4521
|
operatorId: string;
|
|
3418
4522
|
/** Signature from the operator approving the manifest */
|
|
3419
4523
|
signature: string;
|
|
3420
4524
|
};
|
|
4525
|
+
export type v1TvcOperator = {
|
|
4526
|
+
/** Unique Identifier for this TVC Operator. */
|
|
4527
|
+
id: string;
|
|
4528
|
+
/** Name of this TVC Operator. */
|
|
4529
|
+
name: string;
|
|
4530
|
+
/** Public key for this TVC Operator. */
|
|
4531
|
+
publicKey: string;
|
|
4532
|
+
createdAt: externaldatav1Timestamp;
|
|
4533
|
+
updatedAt: externaldatav1Timestamp;
|
|
4534
|
+
};
|
|
4535
|
+
export type v1TvcOperatorApproval = {
|
|
4536
|
+
/** Unique ID for this approval */
|
|
4537
|
+
id: string;
|
|
4538
|
+
/** Unique Identifier of the TVC Manifest being approved */
|
|
4539
|
+
manifestId: string;
|
|
4540
|
+
/** The TVC Operator who made this approval */
|
|
4541
|
+
operator: v1TvcOperator;
|
|
4542
|
+
/** Signature of the operator over the deployment manifest */
|
|
4543
|
+
approval: string;
|
|
4544
|
+
createdAt: externaldatav1Timestamp;
|
|
4545
|
+
updatedAt: externaldatav1Timestamp;
|
|
4546
|
+
};
|
|
3421
4547
|
export type v1TvcOperatorParams = {
|
|
3422
4548
|
/** The name for this new operator */
|
|
3423
4549
|
name: string;
|
|
3424
4550
|
/** Public key for this operator */
|
|
3425
4551
|
publicKey: string;
|
|
3426
4552
|
};
|
|
4553
|
+
export type v1TvcOperatorSet = {
|
|
4554
|
+
/** Unique Identifier for this TVC Operator Set. */
|
|
4555
|
+
id: string;
|
|
4556
|
+
/** Name of this TVC Operator Set. */
|
|
4557
|
+
name: string;
|
|
4558
|
+
/** Unique Identifier of the Organization for this TVC Operator Set */
|
|
4559
|
+
organizationId: string;
|
|
4560
|
+
/** List of TVC Operators in this set */
|
|
4561
|
+
operators: v1TvcOperator[];
|
|
4562
|
+
/** Threshold number of operators required for quorum. */
|
|
4563
|
+
threshold: number;
|
|
4564
|
+
createdAt: externaldatav1Timestamp;
|
|
4565
|
+
updatedAt: externaldatav1Timestamp;
|
|
4566
|
+
};
|
|
3427
4567
|
export type v1TvcOperatorSetParams = {
|
|
3428
4568
|
/** Short description for this new operator set */
|
|
3429
4569
|
name: string;
|
|
@@ -3522,6 +4662,34 @@ export type v1UpdateFiatOnRampCredentialResult = {
|
|
|
3522
4662
|
/** Unique identifier of the Fiat On-Ramp credential that was updated */
|
|
3523
4663
|
fiatOnRampCredentialId: string;
|
|
3524
4664
|
};
|
|
4665
|
+
export type v1UpdateMfaPolicyIntent = {
|
|
4666
|
+
/** The ID of the User to update the MFA Policy for. */
|
|
4667
|
+
userId: string;
|
|
4668
|
+
/** Unique identifier for a given MFA Policy. */
|
|
4669
|
+
mfaPolicyId: string;
|
|
4670
|
+
/** Human-readable name for a Policy. */
|
|
4671
|
+
mfaPolicyName?: string;
|
|
4672
|
+
/** A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
4673
|
+
condition?: string;
|
|
4674
|
+
/** An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
4675
|
+
requiredAuthenticationMethods?: v1RequiredAuthenticationMethodParams[];
|
|
4676
|
+
/** The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first. */
|
|
4677
|
+
order?: number;
|
|
4678
|
+
/** Notes for an MFA Policy. */
|
|
4679
|
+
notes?: string;
|
|
4680
|
+
};
|
|
4681
|
+
export type v1UpdateMfaPolicyRequest = {
|
|
4682
|
+
type: "ACTIVITY_TYPE_UPDATE_MFA_POLICY";
|
|
4683
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4684
|
+
timestampMs: string;
|
|
4685
|
+
/** Unique identifier for a given Organization. */
|
|
4686
|
+
organizationId: string;
|
|
4687
|
+
parameters: v1UpdateMfaPolicyIntent;
|
|
4688
|
+
};
|
|
4689
|
+
export type v1UpdateMfaPolicyResult = {
|
|
4690
|
+
/** Unique identifier for a given MFA Policy. */
|
|
4691
|
+
mfaPolicyId: string;
|
|
4692
|
+
};
|
|
3525
4693
|
export type v1UpdateOauth2CredentialIntent = {
|
|
3526
4694
|
/** The ID of the OAuth 2.0 credential to update */
|
|
3527
4695
|
oauth2CredentialId: string;
|
|
@@ -3556,6 +4724,7 @@ export type v1UpdateOrganizationNameRequest = {
|
|
|
3556
4724
|
/** Unique identifier for a given Organization. */
|
|
3557
4725
|
organizationId: string;
|
|
3558
4726
|
parameters: v1UpdateOrganizationNameIntent;
|
|
4727
|
+
generateAppProofs?: boolean;
|
|
3559
4728
|
};
|
|
3560
4729
|
export type v1UpdateOrganizationNameResult = {
|
|
3561
4730
|
/** Unique identifier for the Organization. */
|
|
@@ -3647,6 +4816,20 @@ export type v1UpdateRootQuorumRequest = {
|
|
|
3647
4816
|
generateAppProofs?: boolean;
|
|
3648
4817
|
};
|
|
3649
4818
|
export type v1UpdateRootQuorumResult = {};
|
|
4819
|
+
export type v1UpdateTvcAppLiveDeploymentIntent = {
|
|
4820
|
+
/** The unique identifier of the TVC deployment to set as live for the app. */
|
|
4821
|
+
deploymentId: string;
|
|
4822
|
+
};
|
|
4823
|
+
export type v1UpdateTvcAppLiveDeploymentRequest = {
|
|
4824
|
+
type: "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT";
|
|
4825
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4826
|
+
timestampMs: string;
|
|
4827
|
+
/** Unique identifier for a given Organization. */
|
|
4828
|
+
organizationId: string;
|
|
4829
|
+
parameters: v1UpdateTvcAppLiveDeploymentIntent;
|
|
4830
|
+
generateAppProofs?: boolean;
|
|
4831
|
+
};
|
|
4832
|
+
export type v1UpdateTvcAppLiveDeploymentResult = {};
|
|
3650
4833
|
export type v1UpdateUserEmailIntent = {
|
|
3651
4834
|
/** Unique identifier for a given User. */
|
|
3652
4835
|
userId: string;
|
|
@@ -3800,12 +4983,22 @@ export type v1UpdateWebhookEndpointResult = {
|
|
|
3800
4983
|
/** The updated webhook endpoint data. */
|
|
3801
4984
|
webhookEndpoint: v1WebhookEndpointData;
|
|
3802
4985
|
};
|
|
4986
|
+
export type v1UpsertEarnClientFeeConfigIntent = {
|
|
4987
|
+
/** Your performance fee on gross yield, in basis points (e.g., '2000' for 20%). Your fee plus Turnkey's fee cannot exceed 50% of yield. */
|
|
4988
|
+
clientFeeBps: string;
|
|
4989
|
+
/** The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
4990
|
+
clientFeeWallet: string;
|
|
4991
|
+
};
|
|
4992
|
+
export type v1UpsertEarnClientFeeConfigResult = {
|
|
4993
|
+
/** Transaction hash of the fee configuration update. */
|
|
4994
|
+
feeUpdateTxHash: string;
|
|
4995
|
+
};
|
|
3803
4996
|
export type v1UpsertGasUsageConfigIntent = {
|
|
3804
4997
|
/** Gas sponsorship USD limit for the billing organization window. */
|
|
3805
4998
|
orgWindowLimitUsd: string;
|
|
3806
4999
|
/** Gas sponsorship USD limit for sub-organizations under the billing organization. */
|
|
3807
5000
|
subOrgWindowLimitUsd: string;
|
|
3808
|
-
/** Rolling sponsorship window duration, expressed in minutes. */
|
|
5001
|
+
/** Rolling sponsorship window duration, expressed in minutes. This value can't exceed 30 days (43200 minutes). */
|
|
3809
5002
|
windowDurationMinutes: string;
|
|
3810
5003
|
/** Whether gas sponsorship is enabled for the organization. */
|
|
3811
5004
|
enabled?: boolean;
|
|
@@ -3816,6 +5009,15 @@ export type v1UpsertGasUsageConfigResult = {
|
|
|
3816
5009
|
/** Unique identifier for the gas usage configuration that was created or updated. */
|
|
3817
5010
|
gasUsageConfigId: string;
|
|
3818
5011
|
};
|
|
5012
|
+
export type v1UpsertSwapConfigIntent = {
|
|
5013
|
+
feeReceiverWalletAddress?: string;
|
|
5014
|
+
feeBps?: string;
|
|
5015
|
+
provider?: string;
|
|
5016
|
+
};
|
|
5017
|
+
export type v1UpsertSwapConfigResult = {
|
|
5018
|
+
feeReceiverWalletAddress?: string;
|
|
5019
|
+
feeBps?: string;
|
|
5020
|
+
};
|
|
3819
5021
|
export type v1UsageType = "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
3820
5022
|
export type v1User = {
|
|
3821
5023
|
/** Unique identifier for a given User. */
|
|
@@ -3836,6 +5038,8 @@ export type v1User = {
|
|
|
3836
5038
|
oauthProviders: v1OauthProvider[];
|
|
3837
5039
|
createdAt: externaldatav1Timestamp;
|
|
3838
5040
|
updatedAt: externaldatav1Timestamp;
|
|
5041
|
+
/** A list of MFA Policies that define multi-factor authentication requirements for this user. */
|
|
5042
|
+
mfaPolicies: v1MfaPolicy[];
|
|
3839
5043
|
};
|
|
3840
5044
|
export type v1UserParams = {
|
|
3841
5045
|
/** Human-readable name for a User. */
|
|
@@ -3895,6 +5099,17 @@ export type v1UserParamsV4 = {
|
|
|
3895
5099
|
/** A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
3896
5100
|
userTags: string[];
|
|
3897
5101
|
};
|
|
5102
|
+
export type v1ValidateTvcImageRequest = {
|
|
5103
|
+
/** Unique identifier for a given Organization. */
|
|
5104
|
+
organizationId: string;
|
|
5105
|
+
/** URL of the container image. */
|
|
5106
|
+
pivotContainerImageUrl: string;
|
|
5107
|
+
/** HPKE-encrypted pull secret for private images. */
|
|
5108
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
5109
|
+
};
|
|
5110
|
+
export type v1ValidateTvcImageResponse = {
|
|
5111
|
+
resolvedImageDigest?: string;
|
|
5112
|
+
};
|
|
3898
5113
|
export type v1VerifyOtpIntent = {
|
|
3899
5114
|
/** ID representing the result of an init OTP activity. */
|
|
3900
5115
|
otpId: string;
|
|
@@ -3913,15 +5128,6 @@ export type v1VerifyOtpIntentV2 = {
|
|
|
3913
5128
|
/** 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) */
|
|
3914
5129
|
expirationSeconds?: string;
|
|
3915
5130
|
};
|
|
3916
|
-
export type v1VerifyOtpRequest = {
|
|
3917
|
-
type: "ACTIVITY_TYPE_VERIFY_OTP_V2";
|
|
3918
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3919
|
-
timestampMs: string;
|
|
3920
|
-
/** Unique identifier for a given Organization. */
|
|
3921
|
-
organizationId: string;
|
|
3922
|
-
parameters: v1VerifyOtpIntentV2;
|
|
3923
|
-
generateAppProofs?: boolean;
|
|
3924
|
-
};
|
|
3925
5131
|
export type v1VerifyOtpResult = {
|
|
3926
5132
|
/** 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) */
|
|
3927
5133
|
verificationToken: string;
|
|
@@ -3981,16 +5187,8 @@ export type v1WalletAccount = {
|
|
|
3981
5187
|
publicKey?: string;
|
|
3982
5188
|
/** Wallet details for this account. This is only present when include_wallet_details=true. */
|
|
3983
5189
|
walletDetails?: v1Wallet;
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
/** Cryptographic curve used to generate a wallet Account. */
|
|
3987
|
-
curve: v1Curve;
|
|
3988
|
-
/** Path format used to generate a wallet Account. */
|
|
3989
|
-
pathFormat: v1PathFormat;
|
|
3990
|
-
/** Path used to generate a wallet Account. */
|
|
3991
|
-
path: string;
|
|
3992
|
-
/** Address format used to generate a wallet Acccount. */
|
|
3993
|
-
addressFormat: v1AddressFormat;
|
|
5190
|
+
/** Human-readable name for this Wallet Account, unique within the organization. */
|
|
5191
|
+
name?: string;
|
|
3994
5192
|
};
|
|
3995
5193
|
export type v1WalletKitSettingsParams = {
|
|
3996
5194
|
/** List of enabled social login providers (e.g., 'apple', 'google', 'facebook') */
|
|
@@ -4000,19 +5198,6 @@ export type v1WalletKitSettingsParams = {
|
|
|
4000
5198
|
/** Oauth redirect URL to be used for social login flows. */
|
|
4001
5199
|
oauthRedirectUrl?: string;
|
|
4002
5200
|
};
|
|
4003
|
-
export type v1WalletParams = {
|
|
4004
|
-
/** Human-readable name for a Wallet. */
|
|
4005
|
-
walletName: string;
|
|
4006
|
-
/** A list of wallet Accounts. This field, if not needed, should be an empty array in your request body. */
|
|
4007
|
-
accounts: v1WalletAccountParams[];
|
|
4008
|
-
/** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */
|
|
4009
|
-
mnemonicLength?: number;
|
|
4010
|
-
};
|
|
4011
|
-
export type v1WalletResult = {
|
|
4012
|
-
walletId: string;
|
|
4013
|
-
/** A list of account addresses. */
|
|
4014
|
-
addresses: string[];
|
|
4015
|
-
};
|
|
4016
5201
|
export type v1WebAuthnStamp = {
|
|
4017
5202
|
/** A base64 url encoded Unique identifier for a given credential. */
|
|
4018
5203
|
credentialId: string;
|
|
@@ -4038,7 +5223,7 @@ export type v1WebhookEndpointData = {
|
|
|
4038
5223
|
subscriptions?: v1WebhookSubscriptionParams[];
|
|
4039
5224
|
};
|
|
4040
5225
|
export type v1WebhookSubscriptionParams = {
|
|
4041
|
-
/** The event type to subscribe to (for example, ACTIVITY_UPDATES or
|
|
5226
|
+
/** The event type to subscribe to (for example, ACTIVITY_UPDATES, BALANCE_CONFIRMED_UPDATES, or BALANCE_FINALIZED_UPDATES). */
|
|
4042
5227
|
eventType: string;
|
|
4043
5228
|
/** JSON-encoded filter criteria for this subscription. */
|
|
4044
5229
|
filtersJson?: string;
|
|
@@ -4164,6 +5349,46 @@ export type TGetLatestBootProofBody = {
|
|
|
4164
5349
|
export type TGetLatestBootProofInput = {
|
|
4165
5350
|
body: TGetLatestBootProofBody;
|
|
4166
5351
|
};
|
|
5352
|
+
export type TGetMfaPoliciesResponse = {
|
|
5353
|
+
/** A list of multi-factor authentication policies for a user. */
|
|
5354
|
+
mfaPolicies: v1MfaPolicy[];
|
|
5355
|
+
};
|
|
5356
|
+
export type TGetMfaPoliciesBody = {
|
|
5357
|
+
organizationId?: string;
|
|
5358
|
+
/** Unique identifier for a given user. */
|
|
5359
|
+
userId: string;
|
|
5360
|
+
};
|
|
5361
|
+
export type TGetMfaPoliciesInput = {
|
|
5362
|
+
body: TGetMfaPoliciesBody;
|
|
5363
|
+
};
|
|
5364
|
+
export type TGetMfaPolicyResponse = {
|
|
5365
|
+
/** Multi-factor authentication policy for a user. */
|
|
5366
|
+
mfaPolicy: v1MfaPolicy;
|
|
5367
|
+
};
|
|
5368
|
+
export type TGetMfaPolicyBody = {
|
|
5369
|
+
organizationId?: string;
|
|
5370
|
+
/** Unique identifier for a given user. */
|
|
5371
|
+
userId: string;
|
|
5372
|
+
/** Unique identifier for a given MFA policy. */
|
|
5373
|
+
mfaPolicyId: string;
|
|
5374
|
+
};
|
|
5375
|
+
export type TGetMfaPolicyInput = {
|
|
5376
|
+
body: TGetMfaPolicyBody;
|
|
5377
|
+
};
|
|
5378
|
+
export type TGetMfaStatusResponse = {
|
|
5379
|
+
/** A list of MFA statuses for the activity's votes. */
|
|
5380
|
+
mfaStatuses: v1MfaStatus[];
|
|
5381
|
+
};
|
|
5382
|
+
export type TGetMfaStatusBody = {
|
|
5383
|
+
organizationId?: string;
|
|
5384
|
+
/** The unique identifier of the activity to get MFA status for. */
|
|
5385
|
+
activityId: string;
|
|
5386
|
+
/** Optional user ID to filter MFA status for a specific user. */
|
|
5387
|
+
userId?: string;
|
|
5388
|
+
};
|
|
5389
|
+
export type TGetMfaStatusInput = {
|
|
5390
|
+
body: TGetMfaStatusBody;
|
|
5391
|
+
};
|
|
4167
5392
|
export type TGetNoncesResponse = {
|
|
4168
5393
|
/** The standard on-chain nonce for the address, if requested. */
|
|
4169
5394
|
nonce?: string;
|
|
@@ -4175,7 +5400,7 @@ export type TGetNoncesBody = {
|
|
|
4175
5400
|
/** The Ethereum address to query nonces for. */
|
|
4176
5401
|
address: string;
|
|
4177
5402
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
4178
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
5403
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
4179
5404
|
/** Whether to fetch the standard on-chain nonce. */
|
|
4180
5405
|
nonce?: boolean;
|
|
4181
5406
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -4286,6 +5511,28 @@ export type TGetSendTransactionStatusBody = {
|
|
|
4286
5511
|
export type TGetSendTransactionStatusInput = {
|
|
4287
5512
|
body: TGetSendTransactionStatusBody;
|
|
4288
5513
|
};
|
|
5514
|
+
export type TGetSessionProfileResponse = {
|
|
5515
|
+
/** Session profile for a user, including details about the user's authenticators, Oauth providers, API keys, and MFA policies. */
|
|
5516
|
+
sessionProfile: v1SessionProfile;
|
|
5517
|
+
};
|
|
5518
|
+
export type TGetSessionProfileBody = {
|
|
5519
|
+
organizationId?: string;
|
|
5520
|
+
/** Unique identifier for a session profile. */
|
|
5521
|
+
sessionProfileId: string;
|
|
5522
|
+
};
|
|
5523
|
+
export type TGetSessionProfileInput = {
|
|
5524
|
+
body: TGetSessionProfileBody;
|
|
5525
|
+
};
|
|
5526
|
+
export type TGetSessionProfilesResponse = {
|
|
5527
|
+
/** A list of session profiles for users in the organization. */
|
|
5528
|
+
sessionProfiles: v1SessionProfile[];
|
|
5529
|
+
};
|
|
5530
|
+
export type TGetSessionProfilesBody = {
|
|
5531
|
+
organizationId?: string;
|
|
5532
|
+
};
|
|
5533
|
+
export type TGetSessionProfilesInput = {
|
|
5534
|
+
body: TGetSessionProfilesBody;
|
|
5535
|
+
};
|
|
4289
5536
|
export type TGetSmartContractInterfaceResponse = {
|
|
4290
5537
|
/** Object to be used in conjunction with policies to guard transaction signing. */
|
|
4291
5538
|
smartContractInterface: externaldatav1SmartContractInterface;
|
|
@@ -4298,6 +5545,46 @@ export type TGetSmartContractInterfaceBody = {
|
|
|
4298
5545
|
export type TGetSmartContractInterfaceInput = {
|
|
4299
5546
|
body: TGetSmartContractInterfaceBody;
|
|
4300
5547
|
};
|
|
5548
|
+
export type TGetTvcAppResponse = {
|
|
5549
|
+
/** Details about a single TVC App */
|
|
5550
|
+
tvcApp: v1TvcApp;
|
|
5551
|
+
};
|
|
5552
|
+
export type TGetTvcAppBody = {
|
|
5553
|
+
organizationId?: string;
|
|
5554
|
+
/** Unique identifier for a given TVC App. */
|
|
5555
|
+
tvcAppId: string;
|
|
5556
|
+
};
|
|
5557
|
+
export type TGetTvcAppInput = {
|
|
5558
|
+
body: TGetTvcAppBody;
|
|
5559
|
+
};
|
|
5560
|
+
export type TGetTvcDeploymentResponse = {
|
|
5561
|
+
/** Details about a single TVC Deployment */
|
|
5562
|
+
tvcDeployment: v1TvcDeployment;
|
|
5563
|
+
};
|
|
5564
|
+
export type TGetTvcDeploymentBody = {
|
|
5565
|
+
organizationId?: string;
|
|
5566
|
+
/** Unique identifier for a given TVC Deployment. */
|
|
5567
|
+
deploymentId: string;
|
|
5568
|
+
};
|
|
5569
|
+
export type TGetTvcDeploymentInput = {
|
|
5570
|
+
body: TGetTvcDeploymentBody;
|
|
5571
|
+
};
|
|
5572
|
+
export type TGetTvcDeploymentDebugLogsResponse = {
|
|
5573
|
+
/** Application log entries sorted by platform timestamp. */
|
|
5574
|
+
entries: v1TvcDeploymentDebugLogEntry[];
|
|
5575
|
+
};
|
|
5576
|
+
export type TGetTvcDeploymentDebugLogsBody = {
|
|
5577
|
+
organizationId?: string;
|
|
5578
|
+
/** Unique identifier for a given TVC Deployment. The deployment must be running in debug mode. */
|
|
5579
|
+
deploymentId: string;
|
|
5580
|
+
/** Limit returned history to the last N lines per replica. If unset or zero, no tail-line limit is applied. */
|
|
5581
|
+
tailLines?: number;
|
|
5582
|
+
/** Return logs newer than this many seconds ago. If unset or zero, no since-time limit is applied. Useful for clients that poll to follow logs. */
|
|
5583
|
+
sinceSeconds?: string;
|
|
5584
|
+
};
|
|
5585
|
+
export type TGetTvcDeploymentDebugLogsInput = {
|
|
5586
|
+
body: TGetTvcDeploymentDebugLogsBody;
|
|
5587
|
+
};
|
|
4301
5588
|
export type TGetUserResponse = {
|
|
4302
5589
|
/** Web and/or API user within your organization. */
|
|
4303
5590
|
user: v1User;
|
|
@@ -4347,7 +5634,7 @@ export type TGetWalletAddressBalancesBody = {
|
|
|
4347
5634
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4348
5635
|
address: string;
|
|
4349
5636
|
/** 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. */
|
|
4350
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
5637
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4351
5638
|
};
|
|
4352
5639
|
export type TGetWalletAddressBalancesInput = {
|
|
4353
5640
|
body: TGetWalletAddressBalancesBody;
|
|
@@ -4379,6 +5666,22 @@ export type TGetAppProofsBody = {
|
|
|
4379
5666
|
export type TGetAppProofsInput = {
|
|
4380
5667
|
body: TGetAppProofsBody;
|
|
4381
5668
|
};
|
|
5669
|
+
export type TListEmailEventsResponse = {
|
|
5670
|
+
/** Email events matching the requested filters, ordered by most recent event first. */
|
|
5671
|
+
emailEvents: v1EmailEvent[];
|
|
5672
|
+
};
|
|
5673
|
+
export type TListEmailEventsBody = {
|
|
5674
|
+
organizationId?: string;
|
|
5675
|
+
/** Recipient email address to list email events for */
|
|
5676
|
+
email: string;
|
|
5677
|
+
/** Optional email event type to filter by. Examples include Send, Delivery, Bounce, and DeliveryDelay */
|
|
5678
|
+
eventType?: string;
|
|
5679
|
+
/** Parameters used for cursor-based pagination */
|
|
5680
|
+
paginationOptions?: v1Pagination;
|
|
5681
|
+
};
|
|
5682
|
+
export type TListEmailEventsInput = {
|
|
5683
|
+
body: TListEmailEventsBody;
|
|
5684
|
+
};
|
|
4382
5685
|
export type TListFiatOnRampCredentialsResponse = {
|
|
4383
5686
|
fiatOnRampCredentials: v1FiatOnRampCredential[];
|
|
4384
5687
|
};
|
|
@@ -4460,11 +5763,33 @@ export type TListSupportedAssetsResponse = {
|
|
|
4460
5763
|
export type TListSupportedAssetsBody = {
|
|
4461
5764
|
organizationId?: string;
|
|
4462
5765
|
/** 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. */
|
|
4463
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
5766
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4464
5767
|
};
|
|
4465
5768
|
export type TListSupportedAssetsInput = {
|
|
4466
5769
|
body: TListSupportedAssetsBody;
|
|
4467
5770
|
};
|
|
5771
|
+
export type TGetTvcAppDeploymentsResponse = {
|
|
5772
|
+
/** List of deployments for this TVC App */
|
|
5773
|
+
tvcDeployments: v1TvcDeployment[];
|
|
5774
|
+
};
|
|
5775
|
+
export type TGetTvcAppDeploymentsBody = {
|
|
5776
|
+
organizationId?: string;
|
|
5777
|
+
/** Unique identifier for a given TVC App. */
|
|
5778
|
+
appId: string;
|
|
5779
|
+
};
|
|
5780
|
+
export type TGetTvcAppDeploymentsInput = {
|
|
5781
|
+
body: TGetTvcAppDeploymentsBody;
|
|
5782
|
+
};
|
|
5783
|
+
export type TGetTvcAppsResponse = {
|
|
5784
|
+
/** A list of TVC Apps. */
|
|
5785
|
+
tvcApps: v1TvcApp[];
|
|
5786
|
+
};
|
|
5787
|
+
export type TGetTvcAppsBody = {
|
|
5788
|
+
organizationId?: string;
|
|
5789
|
+
};
|
|
5790
|
+
export type TGetTvcAppsInput = {
|
|
5791
|
+
body: TGetTvcAppsBody;
|
|
5792
|
+
};
|
|
4468
5793
|
export type TListUserTagsResponse = {
|
|
4469
5794
|
/** A list of user tags. */
|
|
4470
5795
|
userTags: datav1Tag[];
|
|
@@ -4536,6 +5861,20 @@ export type TListWebhookEndpointsBody = {
|
|
|
4536
5861
|
export type TListWebhookEndpointsInput = {
|
|
4537
5862
|
body: TListWebhookEndpointsBody;
|
|
4538
5863
|
};
|
|
5864
|
+
export type TValidateTvcImageResponse = {
|
|
5865
|
+
activity: v1Activity;
|
|
5866
|
+
};
|
|
5867
|
+
export type TValidateTvcImageBody = {
|
|
5868
|
+
timestampMs?: string;
|
|
5869
|
+
organizationId?: string;
|
|
5870
|
+
/** URL of the container image. */
|
|
5871
|
+
pivotContainerImageUrl: string;
|
|
5872
|
+
/** HPKE-encrypted pull secret for private images. */
|
|
5873
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
5874
|
+
};
|
|
5875
|
+
export type TValidateTvcImageInput = {
|
|
5876
|
+
body: TValidateTvcImageBody;
|
|
5877
|
+
};
|
|
4539
5878
|
export type TGetWhoamiResponse = {
|
|
4540
5879
|
/** Unique identifier for a given organization. */
|
|
4541
5880
|
organizationId: string;
|
|
@@ -4560,6 +5899,7 @@ export type TApproveActivityBody = {
|
|
|
4560
5899
|
organizationId?: string;
|
|
4561
5900
|
/** An artifact verifying a User's action. */
|
|
4562
5901
|
fingerprint: string;
|
|
5902
|
+
generateAppProofs?: boolean;
|
|
4563
5903
|
};
|
|
4564
5904
|
export type TApproveActivityInput = {
|
|
4565
5905
|
body: TApproveActivityBody;
|
|
@@ -4576,6 +5916,7 @@ export type TCreateApiKeysBody = {
|
|
|
4576
5916
|
apiKeys: v1ApiKeyParamsV2[];
|
|
4577
5917
|
/** Unique identifier for a given User. */
|
|
4578
5918
|
userId: string;
|
|
5919
|
+
generateAppProofs?: boolean;
|
|
4579
5920
|
};
|
|
4580
5921
|
export type TCreateApiKeysInput = {
|
|
4581
5922
|
body: TCreateApiKeysBody;
|
|
@@ -4592,6 +5933,7 @@ export type TCreateAuthenticatorsBody = {
|
|
|
4592
5933
|
authenticators: v1AuthenticatorParamsV2[];
|
|
4593
5934
|
/** Unique identifier for a given User. */
|
|
4594
5935
|
userId: string;
|
|
5936
|
+
generateAppProofs?: boolean;
|
|
4595
5937
|
};
|
|
4596
5938
|
export type TCreateAuthenticatorsInput = {
|
|
4597
5939
|
body: TCreateAuthenticatorsBody;
|
|
@@ -4616,6 +5958,7 @@ export type TCreateFiatOnRampCredentialBody = {
|
|
|
4616
5958
|
encryptedPrivateApiKey?: string;
|
|
4617
5959
|
/** If the on-ramp credential is a sandbox credential */
|
|
4618
5960
|
sandboxMode?: boolean;
|
|
5961
|
+
generateAppProofs?: boolean;
|
|
4619
5962
|
};
|
|
4620
5963
|
export type TCreateFiatOnRampCredentialInput = {
|
|
4621
5964
|
body: TCreateFiatOnRampCredentialBody;
|
|
@@ -4630,10 +5973,35 @@ export type TCreateInvitationsBody = {
|
|
|
4630
5973
|
organizationId?: string;
|
|
4631
5974
|
/** A list of Invitations. */
|
|
4632
5975
|
invitations: v1InvitationParams[];
|
|
5976
|
+
generateAppProofs?: boolean;
|
|
4633
5977
|
};
|
|
4634
5978
|
export type TCreateInvitationsInput = {
|
|
4635
5979
|
body: TCreateInvitationsBody;
|
|
4636
5980
|
};
|
|
5981
|
+
export type TCreateMfaPolicyResponse = {
|
|
5982
|
+
activity: v1Activity;
|
|
5983
|
+
/** Unique identifier for a given MFA Policy. */
|
|
5984
|
+
mfaPolicyId: string;
|
|
5985
|
+
};
|
|
5986
|
+
export type TCreateMfaPolicyBody = {
|
|
5987
|
+
timestampMs?: string;
|
|
5988
|
+
organizationId?: string;
|
|
5989
|
+
/** The ID of the User to add the MFA Policy to. */
|
|
5990
|
+
userId: string;
|
|
5991
|
+
/** Human-readable name for a Policy. */
|
|
5992
|
+
mfaPolicyName: string;
|
|
5993
|
+
/** A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
5994
|
+
condition: string;
|
|
5995
|
+
/** An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
5996
|
+
requiredAuthenticationMethods: v1RequiredAuthenticationMethodParams[];
|
|
5997
|
+
/** The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first. */
|
|
5998
|
+
order: number;
|
|
5999
|
+
/** Notes for an MFA Policy. */
|
|
6000
|
+
notes?: string;
|
|
6001
|
+
};
|
|
6002
|
+
export type TCreateMfaPolicyInput = {
|
|
6003
|
+
body: TCreateMfaPolicyBody;
|
|
6004
|
+
};
|
|
4637
6005
|
export type TCreateOauth2CredentialResponse = {
|
|
4638
6006
|
activity: v1Activity;
|
|
4639
6007
|
/** Unique identifier of the OAuth 2.0 credential that was created */
|
|
@@ -4648,6 +6016,7 @@ export type TCreateOauth2CredentialBody = {
|
|
|
4648
6016
|
clientId: string;
|
|
4649
6017
|
/** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */
|
|
4650
6018
|
encryptedClientSecret: string;
|
|
6019
|
+
generateAppProofs?: boolean;
|
|
4651
6020
|
};
|
|
4652
6021
|
export type TCreateOauth2CredentialInput = {
|
|
4653
6022
|
body: TCreateOauth2CredentialBody;
|
|
@@ -4664,6 +6033,7 @@ export type TCreateOauthProvidersBody = {
|
|
|
4664
6033
|
userId: string;
|
|
4665
6034
|
/** A list of Oauth providers. */
|
|
4666
6035
|
oauthProviders: v1OauthProviderParamsV2[];
|
|
6036
|
+
generateAppProofs?: boolean;
|
|
4667
6037
|
};
|
|
4668
6038
|
export type TCreateOauthProvidersInput = {
|
|
4669
6039
|
body: TCreateOauthProvidersBody;
|
|
@@ -4678,6 +6048,7 @@ export type TCreatePoliciesBody = {
|
|
|
4678
6048
|
organizationId?: string;
|
|
4679
6049
|
/** An array of policy intents to be created. */
|
|
4680
6050
|
policies: v1CreatePolicyIntentV3[];
|
|
6051
|
+
generateAppProofs?: boolean;
|
|
4681
6052
|
};
|
|
4682
6053
|
export type TCreatePoliciesInput = {
|
|
4683
6054
|
body: TCreatePoliciesBody;
|
|
@@ -4700,6 +6071,7 @@ export type TCreatePolicyBody = {
|
|
|
4700
6071
|
consensus?: string;
|
|
4701
6072
|
/** Notes for a Policy. */
|
|
4702
6073
|
notes: string;
|
|
6074
|
+
generateAppProofs?: boolean;
|
|
4703
6075
|
};
|
|
4704
6076
|
export type TCreatePolicyInput = {
|
|
4705
6077
|
body: TCreatePolicyBody;
|
|
@@ -4718,6 +6090,7 @@ export type TCreatePrivateKeyTagBody = {
|
|
|
4718
6090
|
privateKeyTagName: string;
|
|
4719
6091
|
/** A list of Private Key IDs. */
|
|
4720
6092
|
privateKeyIds: string[];
|
|
6093
|
+
generateAppProofs?: boolean;
|
|
4721
6094
|
};
|
|
4722
6095
|
export type TCreatePrivateKeyTagInput = {
|
|
4723
6096
|
body: TCreatePrivateKeyTagBody;
|
|
@@ -4732,6 +6105,7 @@ export type TCreatePrivateKeysBody = {
|
|
|
4732
6105
|
organizationId?: string;
|
|
4733
6106
|
/** A list of Private Keys. */
|
|
4734
6107
|
privateKeys: v1PrivateKeyParams[];
|
|
6108
|
+
generateAppProofs?: boolean;
|
|
4735
6109
|
};
|
|
4736
6110
|
export type TCreatePrivateKeysInput = {
|
|
4737
6111
|
body: TCreatePrivateKeysBody;
|
|
@@ -4754,6 +6128,7 @@ export type TCreateReadOnlySessionResponse = {
|
|
|
4754
6128
|
export type TCreateReadOnlySessionBody = {
|
|
4755
6129
|
timestampMs?: string;
|
|
4756
6130
|
organizationId?: string;
|
|
6131
|
+
generateAppProofs?: boolean;
|
|
4757
6132
|
};
|
|
4758
6133
|
export type TCreateReadOnlySessionInput = {
|
|
4759
6134
|
body: TCreateReadOnlySessionBody;
|
|
@@ -4778,7 +6153,7 @@ export type TCreateReadWriteSessionBody = {
|
|
|
4778
6153
|
organizationId?: string;
|
|
4779
6154
|
/** Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
4780
6155
|
targetPublicKey: string;
|
|
4781
|
-
/**
|
|
6156
|
+
/** 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. */
|
|
4782
6157
|
userId?: string;
|
|
4783
6158
|
/** Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
4784
6159
|
apiKeyName?: string;
|
|
@@ -4786,10 +6161,31 @@ export type TCreateReadWriteSessionBody = {
|
|
|
4786
6161
|
expirationSeconds?: string;
|
|
4787
6162
|
/** Invalidate all other previously generated ReadWriteSession API keys */
|
|
4788
6163
|
invalidateExisting?: boolean;
|
|
6164
|
+
generateAppProofs?: boolean;
|
|
4789
6165
|
};
|
|
4790
6166
|
export type TCreateReadWriteSessionInput = {
|
|
4791
6167
|
body: TCreateReadWriteSessionBody;
|
|
4792
6168
|
};
|
|
6169
|
+
export type TCreateSessionProfileResponse = {
|
|
6170
|
+
activity: v1Activity;
|
|
6171
|
+
/** Unique identifier for a given Session Profile. */
|
|
6172
|
+
sessionProfileId: string;
|
|
6173
|
+
};
|
|
6174
|
+
export type TCreateSessionProfileBody = {
|
|
6175
|
+
timestampMs?: string;
|
|
6176
|
+
organizationId?: string;
|
|
6177
|
+
/** Human-readable name for a Session Profile. */
|
|
6178
|
+
sessionProfileName: string;
|
|
6179
|
+
/** The scope string that defines the permissions for this Session Profile. */
|
|
6180
|
+
scope: string;
|
|
6181
|
+
/** The duration in seconds for which sessions created with this Session Profile are valid. If not set, expiration will be determined by the value passed in to the intent of login activities. */
|
|
6182
|
+
expirationSeconds?: string;
|
|
6183
|
+
/** Notes for a Session Profile. */
|
|
6184
|
+
notes?: string;
|
|
6185
|
+
};
|
|
6186
|
+
export type TCreateSessionProfileInput = {
|
|
6187
|
+
body: TCreateSessionProfileBody;
|
|
6188
|
+
};
|
|
4793
6189
|
export type TCreateSmartContractInterfaceResponse = {
|
|
4794
6190
|
activity: v1Activity;
|
|
4795
6191
|
/** The ID of the created Smart Contract Interface. */
|
|
@@ -4807,6 +6203,7 @@ export type TCreateSmartContractInterfaceBody = {
|
|
|
4807
6203
|
label: string;
|
|
4808
6204
|
/** Notes for a Smart Contract Interface. */
|
|
4809
6205
|
notes?: string;
|
|
6206
|
+
generateAppProofs?: boolean;
|
|
4810
6207
|
};
|
|
4811
6208
|
export type TCreateSmartContractInterfaceInput = {
|
|
4812
6209
|
body: TCreateSmartContractInterfaceBody;
|
|
@@ -4840,9 +6237,98 @@ export type TCreateSubOrganizationBody = {
|
|
|
4840
6237
|
verificationToken?: string;
|
|
4841
6238
|
/** 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. */
|
|
4842
6239
|
clientSignature?: v1ClientSignature;
|
|
6240
|
+
generateAppProofs?: boolean;
|
|
6241
|
+
};
|
|
6242
|
+
export type TCreateSubOrganizationInput = {
|
|
6243
|
+
body: TCreateSubOrganizationBody;
|
|
6244
|
+
};
|
|
6245
|
+
export type TCreateTvcAppResponse = {
|
|
6246
|
+
activity: v1Activity;
|
|
6247
|
+
/** The unique identifier for the TVC application */
|
|
6248
|
+
appId: string;
|
|
6249
|
+
/** The unique identifier for the TVC manifest set */
|
|
6250
|
+
manifestSetId: string;
|
|
6251
|
+
/** The unique identifier(s) of the manifest set operators */
|
|
6252
|
+
manifestSetOperatorIds: string[];
|
|
6253
|
+
/** The required number of approvals for the manifest set */
|
|
6254
|
+
manifestSetThreshold: number;
|
|
6255
|
+
};
|
|
6256
|
+
export type TCreateTvcAppBody = {
|
|
6257
|
+
timestampMs?: string;
|
|
6258
|
+
organizationId?: string;
|
|
6259
|
+
/** The name of the new TVC application */
|
|
6260
|
+
name: string;
|
|
6261
|
+
/** Quorum public key to use for this application */
|
|
6262
|
+
quorumPublicKey: string;
|
|
6263
|
+
/** 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 */
|
|
6264
|
+
manifestSetId?: string;
|
|
6265
|
+
/** 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 */
|
|
6266
|
+
manifestSetParams?: v1TvcOperatorSetParams;
|
|
6267
|
+
/** 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 */
|
|
6268
|
+
shareSetId?: string;
|
|
6269
|
+
/** 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 */
|
|
6270
|
+
shareSetParams?: v1TvcOperatorSetParams;
|
|
6271
|
+
/** Enables network egress for this TVC app. Default if not provided: false. */
|
|
6272
|
+
enableEgress?: boolean;
|
|
6273
|
+
/** When true, this app may create deployments in debug-mode. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. Cannot be changed after app creation. Setting this true means the app's quorum key is considered permanently insecure, and a new app with a fresh quorum key must be created. Default if not provided: false. */
|
|
6274
|
+
enableDebugModeDeployments?: boolean;
|
|
6275
|
+
};
|
|
6276
|
+
export type TCreateTvcAppInput = {
|
|
6277
|
+
body: TCreateTvcAppBody;
|
|
6278
|
+
};
|
|
6279
|
+
export type TCreateTvcDeploymentResponse = {
|
|
6280
|
+
activity: v1Activity;
|
|
6281
|
+
/** The unique identifier for the TVC deployment */
|
|
6282
|
+
deploymentId: string;
|
|
6283
|
+
/** The unique identifier for the TVC manifest */
|
|
6284
|
+
manifestId: string;
|
|
6285
|
+
};
|
|
6286
|
+
export type TCreateTvcDeploymentBody = {
|
|
6287
|
+
timestampMs?: string;
|
|
6288
|
+
organizationId?: string;
|
|
6289
|
+
/** The unique identifier of the to-be-deployed TVC application */
|
|
6290
|
+
appId: string;
|
|
6291
|
+
/** The QuorumOS version to use to deploy this application */
|
|
6292
|
+
qosVersion: string;
|
|
6293
|
+
/** URL of the container containing the pivot binary */
|
|
6294
|
+
pivotContainerImageUrl: string;
|
|
6295
|
+
/** Location of the binary in the pivot container */
|
|
6296
|
+
pivotPath: string;
|
|
6297
|
+
/** Arguments to pass to the pivot binary at startup. Encoded as a list of strings, for example ["--foo", "bar"] */
|
|
6298
|
+
pivotArgs: string[];
|
|
6299
|
+
/** Digest of the pivot binary in the pivot container. This value will be inserted in the QOS manifest to ensure application integrity. */
|
|
6300
|
+
expectedPivotDigest: string;
|
|
6301
|
+
/** Optional nonce to ensure uniqueness of the deployment manifest. If not provided, it defaults to the current Unix timestamp in seconds. */
|
|
6302
|
+
nonce?: number;
|
|
6303
|
+
/** Optional encrypted pull secret to authorize Turnkey to pull the pivot container image. If your image is public, leave this empty. */
|
|
6304
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
6305
|
+
/** Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
|
|
6306
|
+
debugMode?: boolean;
|
|
6307
|
+
/** 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. */
|
|
6308
|
+
healthCheckType: v1TvcHealthCheckType;
|
|
6309
|
+
/** Port to use for health checks. */
|
|
6310
|
+
healthCheckPort: number;
|
|
6311
|
+
/** Port to use for public ingress. */
|
|
6312
|
+
publicIngressPort: number;
|
|
4843
6313
|
};
|
|
4844
|
-
export type
|
|
4845
|
-
body:
|
|
6314
|
+
export type TCreateTvcDeploymentInput = {
|
|
6315
|
+
body: TCreateTvcDeploymentBody;
|
|
6316
|
+
};
|
|
6317
|
+
export type TCreateTvcManifestApprovalsResponse = {
|
|
6318
|
+
activity: v1Activity;
|
|
6319
|
+
/** The unique identifier(s) for the manifest approvals */
|
|
6320
|
+
approvalIds: string[];
|
|
6321
|
+
};
|
|
6322
|
+
export type TCreateTvcManifestApprovalsBody = {
|
|
6323
|
+
timestampMs?: string;
|
|
6324
|
+
organizationId?: string;
|
|
6325
|
+
/** Unique identifier of the TVC deployment to approve */
|
|
6326
|
+
manifestId: string;
|
|
6327
|
+
/** List of manifest approvals */
|
|
6328
|
+
approvals: v1TvcManifestApproval[];
|
|
6329
|
+
};
|
|
6330
|
+
export type TCreateTvcManifestApprovalsInput = {
|
|
6331
|
+
body: TCreateTvcManifestApprovalsBody;
|
|
4846
6332
|
};
|
|
4847
6333
|
export type TCreateUserTagResponse = {
|
|
4848
6334
|
activity: v1Activity;
|
|
@@ -4858,6 +6344,7 @@ export type TCreateUserTagBody = {
|
|
|
4858
6344
|
userTagName: string;
|
|
4859
6345
|
/** A list of User IDs. */
|
|
4860
6346
|
userIds: string[];
|
|
6347
|
+
generateAppProofs?: boolean;
|
|
4861
6348
|
};
|
|
4862
6349
|
export type TCreateUserTagInput = {
|
|
4863
6350
|
body: TCreateUserTagBody;
|
|
@@ -4872,6 +6359,7 @@ export type TCreateUsersBody = {
|
|
|
4872
6359
|
organizationId?: string;
|
|
4873
6360
|
/** A list of Users. */
|
|
4874
6361
|
users: v1UserParamsV4[];
|
|
6362
|
+
generateAppProofs?: boolean;
|
|
4875
6363
|
};
|
|
4876
6364
|
export type TCreateUsersInput = {
|
|
4877
6365
|
body: TCreateUsersBody;
|
|
@@ -4892,6 +6380,7 @@ export type TCreateWalletBody = {
|
|
|
4892
6380
|
accounts: v1WalletAccountParams[];
|
|
4893
6381
|
/** Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24. */
|
|
4894
6382
|
mnemonicLength?: number;
|
|
6383
|
+
generateAppProofs?: boolean;
|
|
4895
6384
|
};
|
|
4896
6385
|
export type TCreateWalletInput = {
|
|
4897
6386
|
body: TCreateWalletBody;
|
|
@@ -4910,6 +6399,7 @@ export type TCreateWalletAccountsBody = {
|
|
|
4910
6399
|
accounts: v1WalletAccountParams[];
|
|
4911
6400
|
/** 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. */
|
|
4912
6401
|
persist?: boolean;
|
|
6402
|
+
generateAppProofs?: boolean;
|
|
4913
6403
|
};
|
|
4914
6404
|
export type TCreateWalletAccountsInput = {
|
|
4915
6405
|
body: TCreateWalletAccountsBody;
|
|
@@ -4930,6 +6420,7 @@ export type TCreateWebhookEndpointBody = {
|
|
|
4930
6420
|
name: string;
|
|
4931
6421
|
/** Event subscriptions to create for this endpoint. */
|
|
4932
6422
|
subscriptions?: v1WebhookSubscriptionParams[];
|
|
6423
|
+
generateAppProofs?: boolean;
|
|
4933
6424
|
};
|
|
4934
6425
|
export type TCreateWebhookEndpointInput = {
|
|
4935
6426
|
body: TCreateWebhookEndpointBody;
|
|
@@ -4946,6 +6437,7 @@ export type TDeleteApiKeysBody = {
|
|
|
4946
6437
|
userId: string;
|
|
4947
6438
|
/** A list of API Key IDs. */
|
|
4948
6439
|
apiKeyIds: string[];
|
|
6440
|
+
generateAppProofs?: boolean;
|
|
4949
6441
|
};
|
|
4950
6442
|
export type TDeleteApiKeysInput = {
|
|
4951
6443
|
body: TDeleteApiKeysBody;
|
|
@@ -4962,6 +6454,7 @@ export type TDeleteAuthenticatorsBody = {
|
|
|
4962
6454
|
userId: string;
|
|
4963
6455
|
/** A list of Authenticator IDs. */
|
|
4964
6456
|
authenticatorIds: string[];
|
|
6457
|
+
generateAppProofs?: boolean;
|
|
4965
6458
|
};
|
|
4966
6459
|
export type TDeleteAuthenticatorsInput = {
|
|
4967
6460
|
body: TDeleteAuthenticatorsBody;
|
|
@@ -4976,6 +6469,7 @@ export type TDeleteFiatOnRampCredentialBody = {
|
|
|
4976
6469
|
organizationId?: string;
|
|
4977
6470
|
/** The ID of the fiat on-ramp credential to delete */
|
|
4978
6471
|
fiatOnrampCredentialId: string;
|
|
6472
|
+
generateAppProofs?: boolean;
|
|
4979
6473
|
};
|
|
4980
6474
|
export type TDeleteFiatOnRampCredentialInput = {
|
|
4981
6475
|
body: TDeleteFiatOnRampCredentialBody;
|
|
@@ -4990,10 +6484,27 @@ export type TDeleteInvitationBody = {
|
|
|
4990
6484
|
organizationId?: string;
|
|
4991
6485
|
/** Unique identifier for a given Invitation object. */
|
|
4992
6486
|
invitationId: string;
|
|
6487
|
+
generateAppProofs?: boolean;
|
|
4993
6488
|
};
|
|
4994
6489
|
export type TDeleteInvitationInput = {
|
|
4995
6490
|
body: TDeleteInvitationBody;
|
|
4996
6491
|
};
|
|
6492
|
+
export type TDeleteMfaPolicyResponse = {
|
|
6493
|
+
activity: v1Activity;
|
|
6494
|
+
/** Unique identifier for a given MFA Policy. */
|
|
6495
|
+
mfaPolicyId: string;
|
|
6496
|
+
};
|
|
6497
|
+
export type TDeleteMfaPolicyBody = {
|
|
6498
|
+
timestampMs?: string;
|
|
6499
|
+
organizationId?: string;
|
|
6500
|
+
/** The ID of the User to delete the MFA Policy from. */
|
|
6501
|
+
userId: string;
|
|
6502
|
+
/** Unique identifier for a given MFA Policy. */
|
|
6503
|
+
mfaPolicyId: string;
|
|
6504
|
+
};
|
|
6505
|
+
export type TDeleteMfaPolicyInput = {
|
|
6506
|
+
body: TDeleteMfaPolicyBody;
|
|
6507
|
+
};
|
|
4997
6508
|
export type TDeleteOauth2CredentialResponse = {
|
|
4998
6509
|
activity: v1Activity;
|
|
4999
6510
|
/** Unique identifier of the OAuth 2.0 credential that was deleted */
|
|
@@ -5004,6 +6515,7 @@ export type TDeleteOauth2CredentialBody = {
|
|
|
5004
6515
|
organizationId?: string;
|
|
5005
6516
|
/** The ID of the OAuth 2.0 credential to delete */
|
|
5006
6517
|
oauth2CredentialId: string;
|
|
6518
|
+
generateAppProofs?: boolean;
|
|
5007
6519
|
};
|
|
5008
6520
|
export type TDeleteOauth2CredentialInput = {
|
|
5009
6521
|
body: TDeleteOauth2CredentialBody;
|
|
@@ -5020,6 +6532,7 @@ export type TDeleteOauthProvidersBody = {
|
|
|
5020
6532
|
userId: string;
|
|
5021
6533
|
/** Unique identifier for a given Provider. */
|
|
5022
6534
|
providerIds: string[];
|
|
6535
|
+
generateAppProofs?: boolean;
|
|
5023
6536
|
};
|
|
5024
6537
|
export type TDeleteOauthProvidersInput = {
|
|
5025
6538
|
body: TDeleteOauthProvidersBody;
|
|
@@ -5034,6 +6547,7 @@ export type TDeletePoliciesBody = {
|
|
|
5034
6547
|
organizationId?: string;
|
|
5035
6548
|
/** List of unique identifiers for policies within an organization */
|
|
5036
6549
|
policyIds: string[];
|
|
6550
|
+
generateAppProofs?: boolean;
|
|
5037
6551
|
};
|
|
5038
6552
|
export type TDeletePoliciesInput = {
|
|
5039
6553
|
body: TDeletePoliciesBody;
|
|
@@ -5048,6 +6562,7 @@ export type TDeletePolicyBody = {
|
|
|
5048
6562
|
organizationId?: string;
|
|
5049
6563
|
/** Unique identifier for a given Policy. */
|
|
5050
6564
|
policyId: string;
|
|
6565
|
+
generateAppProofs?: boolean;
|
|
5051
6566
|
};
|
|
5052
6567
|
export type TDeletePolicyInput = {
|
|
5053
6568
|
body: TDeletePolicyBody;
|
|
@@ -5064,6 +6579,7 @@ export type TDeletePrivateKeyTagsBody = {
|
|
|
5064
6579
|
organizationId?: string;
|
|
5065
6580
|
/** A list of Private Key Tag IDs. */
|
|
5066
6581
|
privateKeyTagIds: string[];
|
|
6582
|
+
generateAppProofs?: boolean;
|
|
5067
6583
|
};
|
|
5068
6584
|
export type TDeletePrivateKeyTagsInput = {
|
|
5069
6585
|
body: TDeletePrivateKeyTagsBody;
|
|
@@ -5080,6 +6596,7 @@ export type TDeletePrivateKeysBody = {
|
|
|
5080
6596
|
privateKeyIds: string[];
|
|
5081
6597
|
/** Optional parameter for deleting the private keys, even if any have not been previously exported. If they have been exported, this field is ignored. */
|
|
5082
6598
|
deleteWithoutExport?: boolean;
|
|
6599
|
+
generateAppProofs?: boolean;
|
|
5083
6600
|
};
|
|
5084
6601
|
export type TDeletePrivateKeysInput = {
|
|
5085
6602
|
body: TDeletePrivateKeysBody;
|
|
@@ -5094,6 +6611,7 @@ export type TDeleteSmartContractInterfaceBody = {
|
|
|
5094
6611
|
organizationId?: string;
|
|
5095
6612
|
/** The ID of a Smart Contract Interface intended for deletion. */
|
|
5096
6613
|
smartContractInterfaceId: string;
|
|
6614
|
+
generateAppProofs?: boolean;
|
|
5097
6615
|
};
|
|
5098
6616
|
export type TDeleteSmartContractInterfaceInput = {
|
|
5099
6617
|
body: TDeleteSmartContractInterfaceBody;
|
|
@@ -5108,10 +6626,41 @@ export type TDeleteSubOrganizationBody = {
|
|
|
5108
6626
|
organizationId?: string;
|
|
5109
6627
|
/** 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. */
|
|
5110
6628
|
deleteWithoutExport?: boolean;
|
|
6629
|
+
generateAppProofs?: boolean;
|
|
5111
6630
|
};
|
|
5112
6631
|
export type TDeleteSubOrganizationInput = {
|
|
5113
6632
|
body: TDeleteSubOrganizationBody;
|
|
5114
6633
|
};
|
|
6634
|
+
export type TDeleteTvcAppAndDeploymentsResponse = {
|
|
6635
|
+
activity: v1Activity;
|
|
6636
|
+
/** The unique identifier of the deleted TVC app. */
|
|
6637
|
+
appId: string;
|
|
6638
|
+
};
|
|
6639
|
+
export type TDeleteTvcAppAndDeploymentsBody = {
|
|
6640
|
+
timestampMs?: string;
|
|
6641
|
+
organizationId?: string;
|
|
6642
|
+
/** The unique identifier of the TVC app to delete. The app and all associated deployments will be removed. */
|
|
6643
|
+
appId: string;
|
|
6644
|
+
generateAppProofs?: boolean;
|
|
6645
|
+
};
|
|
6646
|
+
export type TDeleteTvcAppAndDeploymentsInput = {
|
|
6647
|
+
body: TDeleteTvcAppAndDeploymentsBody;
|
|
6648
|
+
};
|
|
6649
|
+
export type TDeleteTvcDeploymentResponse = {
|
|
6650
|
+
activity: v1Activity;
|
|
6651
|
+
/** The unique identifier of the deleted TVC deployment. */
|
|
6652
|
+
deploymentId: string;
|
|
6653
|
+
};
|
|
6654
|
+
export type TDeleteTvcDeploymentBody = {
|
|
6655
|
+
timestampMs?: string;
|
|
6656
|
+
organizationId?: string;
|
|
6657
|
+
/** The unique identifier of the TVC deployment to delete. */
|
|
6658
|
+
deploymentId: string;
|
|
6659
|
+
generateAppProofs?: boolean;
|
|
6660
|
+
};
|
|
6661
|
+
export type TDeleteTvcDeploymentInput = {
|
|
6662
|
+
body: TDeleteTvcDeploymentBody;
|
|
6663
|
+
};
|
|
5115
6664
|
export type TDeleteUserTagsResponse = {
|
|
5116
6665
|
activity: v1Activity;
|
|
5117
6666
|
/** A list of User Tag IDs. */
|
|
@@ -5124,6 +6673,7 @@ export type TDeleteUserTagsBody = {
|
|
|
5124
6673
|
organizationId?: string;
|
|
5125
6674
|
/** A list of User Tag IDs. */
|
|
5126
6675
|
userTagIds: string[];
|
|
6676
|
+
generateAppProofs?: boolean;
|
|
5127
6677
|
};
|
|
5128
6678
|
export type TDeleteUserTagsInput = {
|
|
5129
6679
|
body: TDeleteUserTagsBody;
|
|
@@ -5138,6 +6688,7 @@ export type TDeleteUsersBody = {
|
|
|
5138
6688
|
organizationId?: string;
|
|
5139
6689
|
/** A list of User IDs. */
|
|
5140
6690
|
userIds: string[];
|
|
6691
|
+
generateAppProofs?: boolean;
|
|
5141
6692
|
};
|
|
5142
6693
|
export type TDeleteUsersInput = {
|
|
5143
6694
|
body: TDeleteUsersBody;
|
|
@@ -5154,6 +6705,7 @@ export type TDeleteWalletAccountsBody = {
|
|
|
5154
6705
|
walletAccountIds: string[];
|
|
5155
6706
|
/** Optional parameter for deleting the wallet accounts, even if any have not been previously exported. If they have been exported, this field is ignored. */
|
|
5156
6707
|
deleteWithoutExport?: boolean;
|
|
6708
|
+
generateAppProofs?: boolean;
|
|
5157
6709
|
};
|
|
5158
6710
|
export type TDeleteWalletAccountsInput = {
|
|
5159
6711
|
body: TDeleteWalletAccountsBody;
|
|
@@ -5170,6 +6722,7 @@ export type TDeleteWalletsBody = {
|
|
|
5170
6722
|
walletIds: string[];
|
|
5171
6723
|
/** Optional parameter for deleting the wallets, even if any have not been previously exported. If they have been exported, this field is ignored. */
|
|
5172
6724
|
deleteWithoutExport?: boolean;
|
|
6725
|
+
generateAppProofs?: boolean;
|
|
5173
6726
|
};
|
|
5174
6727
|
export type TDeleteWalletsInput = {
|
|
5175
6728
|
body: TDeleteWalletsBody;
|
|
@@ -5184,6 +6737,7 @@ export type TDeleteWebhookEndpointBody = {
|
|
|
5184
6737
|
organizationId?: string;
|
|
5185
6738
|
/** Unique identifier of the webhook endpoint to delete. */
|
|
5186
6739
|
endpointId: string;
|
|
6740
|
+
generateAppProofs?: boolean;
|
|
5187
6741
|
};
|
|
5188
6742
|
export type TDeleteWebhookEndpointInput = {
|
|
5189
6743
|
body: TDeleteWebhookEndpointBody;
|
|
@@ -5216,44 +6770,11 @@ export type TEmailAuthBody = {
|
|
|
5216
6770
|
sendFromEmailSenderName?: string;
|
|
5217
6771
|
/** Optional custom email address to use as reply-to */
|
|
5218
6772
|
replyToEmailAddress?: string;
|
|
6773
|
+
generateAppProofs?: boolean;
|
|
5219
6774
|
};
|
|
5220
6775
|
export type TEmailAuthInput = {
|
|
5221
6776
|
body: TEmailAuthBody;
|
|
5222
6777
|
};
|
|
5223
|
-
export type TEthSendTransactionResponse = {
|
|
5224
|
-
activity: v1Activity;
|
|
5225
|
-
/** The send_transaction_status ID associated with the transaction submission */
|
|
5226
|
-
sendTransactionStatusId: string;
|
|
5227
|
-
};
|
|
5228
|
-
export type TEthSendTransactionBody = {
|
|
5229
|
-
timestampMs?: string;
|
|
5230
|
-
organizationId?: string;
|
|
5231
|
-
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
5232
|
-
from: string;
|
|
5233
|
-
/** Whether to sponsor this transaction via Gas Station. */
|
|
5234
|
-
sponsor?: boolean;
|
|
5235
|
-
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
5236
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
5237
|
-
/** Recipient address as a hex string with 0x prefix. */
|
|
5238
|
-
to: string;
|
|
5239
|
-
/** Amount of native asset to send in wei. */
|
|
5240
|
-
value?: string;
|
|
5241
|
-
/** Hex-encoded call data for contract interactions. */
|
|
5242
|
-
data?: string;
|
|
5243
|
-
/** Transaction nonce, for EIP-1559 and Turnkey Gas Station authorizations. */
|
|
5244
|
-
nonce?: string;
|
|
5245
|
-
/** Maximum amount of gas to use for this transaction, for EIP-1559 transactions. */
|
|
5246
|
-
gasLimit?: string;
|
|
5247
|
-
/** Maximum total fee per gas unit (base fee + priority fee) in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
5248
|
-
maxFeePerGas?: string;
|
|
5249
|
-
/** Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
5250
|
-
maxPriorityFeePerGas?: string;
|
|
5251
|
-
/** The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
5252
|
-
gasStationNonce?: string;
|
|
5253
|
-
};
|
|
5254
|
-
export type TEthSendTransactionInput = {
|
|
5255
|
-
body: TEthSendTransactionBody;
|
|
5256
|
-
};
|
|
5257
6778
|
export type TExportPrivateKeyResponse = {
|
|
5258
6779
|
activity: v1Activity;
|
|
5259
6780
|
/** Unique identifier for a given Private Key. */
|
|
@@ -5268,6 +6789,7 @@ export type TExportPrivateKeyBody = {
|
|
|
5268
6789
|
privateKeyId: string;
|
|
5269
6790
|
/** Client-side public key generated by the user, to which the export bundle will be encrypted. */
|
|
5270
6791
|
targetPublicKey: string;
|
|
6792
|
+
generateAppProofs?: boolean;
|
|
5271
6793
|
};
|
|
5272
6794
|
export type TExportPrivateKeyInput = {
|
|
5273
6795
|
body: TExportPrivateKeyBody;
|
|
@@ -5288,6 +6810,7 @@ export type TExportWalletBody = {
|
|
|
5288
6810
|
targetPublicKey: string;
|
|
5289
6811
|
/** The language of the mnemonic to export. Defaults to English. */
|
|
5290
6812
|
language?: v1MnemonicLanguage;
|
|
6813
|
+
generateAppProofs?: boolean;
|
|
5291
6814
|
};
|
|
5292
6815
|
export type TExportWalletInput = {
|
|
5293
6816
|
body: TExportWalletBody;
|
|
@@ -5306,6 +6829,7 @@ export type TExportWalletAccountBody = {
|
|
|
5306
6829
|
address: string;
|
|
5307
6830
|
/** Client-side public key generated by the user, to which the export bundle will be encrypted. */
|
|
5308
6831
|
targetPublicKey: string;
|
|
6832
|
+
generateAppProofs?: boolean;
|
|
5309
6833
|
};
|
|
5310
6834
|
export type TExportWalletAccountInput = {
|
|
5311
6835
|
body: TExportWalletAccountBody;
|
|
@@ -5330,6 +6854,7 @@ export type TImportPrivateKeyBody = {
|
|
|
5330
6854
|
curve: v1Curve;
|
|
5331
6855
|
/** Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */
|
|
5332
6856
|
addressFormats: v1AddressFormat[];
|
|
6857
|
+
generateAppProofs?: boolean;
|
|
5333
6858
|
};
|
|
5334
6859
|
export type TImportPrivateKeyInput = {
|
|
5335
6860
|
body: TImportPrivateKeyBody;
|
|
@@ -5352,6 +6877,7 @@ export type TImportWalletBody = {
|
|
|
5352
6877
|
encryptedBundle: string;
|
|
5353
6878
|
/** A list of wallet Accounts. */
|
|
5354
6879
|
accounts: v1WalletAccountParams[];
|
|
6880
|
+
generateAppProofs?: boolean;
|
|
5355
6881
|
};
|
|
5356
6882
|
export type TImportWalletInput = {
|
|
5357
6883
|
body: TImportWalletBody;
|
|
@@ -5390,6 +6916,7 @@ export type TInitFiatOnRampBody = {
|
|
|
5390
6916
|
sandboxMode?: boolean;
|
|
5391
6917
|
/** Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled. */
|
|
5392
6918
|
urlForSignature?: string;
|
|
6919
|
+
generateAppProofs?: boolean;
|
|
5393
6920
|
};
|
|
5394
6921
|
export type TInitFiatOnRampInput = {
|
|
5395
6922
|
body: TInitFiatOnRampBody;
|
|
@@ -5404,6 +6931,7 @@ export type TInitImportPrivateKeyBody = {
|
|
|
5404
6931
|
organizationId?: string;
|
|
5405
6932
|
/** The ID of the User importing a Private Key. */
|
|
5406
6933
|
userId: string;
|
|
6934
|
+
generateAppProofs?: boolean;
|
|
5407
6935
|
};
|
|
5408
6936
|
export type TInitImportPrivateKeyInput = {
|
|
5409
6937
|
body: TInitImportPrivateKeyBody;
|
|
@@ -5418,6 +6946,7 @@ export type TInitImportWalletBody = {
|
|
|
5418
6946
|
organizationId?: string;
|
|
5419
6947
|
/** The ID of the User importing a Wallet. */
|
|
5420
6948
|
userId: string;
|
|
6949
|
+
generateAppProofs?: boolean;
|
|
5421
6950
|
};
|
|
5422
6951
|
export type TInitImportWalletInput = {
|
|
5423
6952
|
body: TInitImportWalletBody;
|
|
@@ -5456,6 +6985,7 @@ export type TInitOtpBody = {
|
|
|
5456
6985
|
expirationSeconds?: string;
|
|
5457
6986
|
/** Optional custom email address to use as reply-to */
|
|
5458
6987
|
replyToEmailAddress?: string;
|
|
6988
|
+
generateAppProofs?: boolean;
|
|
5459
6989
|
};
|
|
5460
6990
|
export type TInitOtpInput = {
|
|
5461
6991
|
body: TInitOtpBody;
|
|
@@ -5492,6 +7022,7 @@ export type TInitOtpAuthBody = {
|
|
|
5492
7022
|
expirationSeconds?: string;
|
|
5493
7023
|
/** Optional custom email address to use as reply-to */
|
|
5494
7024
|
replyToEmailAddress?: string;
|
|
7025
|
+
generateAppProofs?: boolean;
|
|
5495
7026
|
};
|
|
5496
7027
|
export type TInitOtpAuthInput = {
|
|
5497
7028
|
body: TInitOtpAuthBody;
|
|
@@ -5518,6 +7049,7 @@ export type TInitUserEmailRecoveryBody = {
|
|
|
5518
7049
|
sendFromEmailSenderName?: string;
|
|
5519
7050
|
/** Optional custom email address to use as reply-to */
|
|
5520
7051
|
replyToEmailAddress?: string;
|
|
7052
|
+
generateAppProofs?: boolean;
|
|
5521
7053
|
};
|
|
5522
7054
|
export type TInitUserEmailRecoveryInput = {
|
|
5523
7055
|
body: TInitUserEmailRecoveryBody;
|
|
@@ -5544,6 +7076,7 @@ export type TOauthBody = {
|
|
|
5544
7076
|
expirationSeconds?: string;
|
|
5545
7077
|
/** Invalidate all other previously generated Oauth API keys */
|
|
5546
7078
|
invalidateExisting?: boolean;
|
|
7079
|
+
generateAppProofs?: boolean;
|
|
5547
7080
|
};
|
|
5548
7081
|
export type TOauthInput = {
|
|
5549
7082
|
body: TOauthBody;
|
|
@@ -5564,10 +7097,11 @@ export type TOauth2AuthenticateBody = {
|
|
|
5564
7097
|
redirectUri: string;
|
|
5565
7098
|
/** The code verifier used by OAuth 2.0 PKCE providers */
|
|
5566
7099
|
codeVerifier: string;
|
|
5567
|
-
/**
|
|
5568
|
-
nonce
|
|
7100
|
+
/** A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
7101
|
+
nonce: string;
|
|
5569
7102
|
/** 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 */
|
|
5570
7103
|
bearerTokenTargetPublicKey?: string;
|
|
7104
|
+
generateAppProofs?: boolean;
|
|
5571
7105
|
};
|
|
5572
7106
|
export type TOauth2AuthenticateInput = {
|
|
5573
7107
|
body: TOauth2AuthenticateBody;
|
|
@@ -5588,6 +7122,9 @@ export type TOauthLoginBody = {
|
|
|
5588
7122
|
expirationSeconds?: string;
|
|
5589
7123
|
/** Invalidate all other previously generated Login API keys */
|
|
5590
7124
|
invalidateExisting?: boolean;
|
|
7125
|
+
/** Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
7126
|
+
sessionProfileId?: string;
|
|
7127
|
+
generateAppProofs?: boolean;
|
|
5591
7128
|
};
|
|
5592
7129
|
export type TOauthLoginInput = {
|
|
5593
7130
|
body: TOauthLoginBody;
|
|
@@ -5616,6 +7153,7 @@ export type TOtpAuthBody = {
|
|
|
5616
7153
|
expirationSeconds?: string;
|
|
5617
7154
|
/** Invalidate all other previously generated OTP Auth API keys */
|
|
5618
7155
|
invalidateExisting?: boolean;
|
|
7156
|
+
generateAppProofs?: boolean;
|
|
5619
7157
|
};
|
|
5620
7158
|
export type TOtpAuthInput = {
|
|
5621
7159
|
body: TOtpAuthBody;
|
|
@@ -5638,6 +7176,9 @@ export type TOtpLoginBody = {
|
|
|
5638
7176
|
expirationSeconds?: string;
|
|
5639
7177
|
/** Invalidate all other previously generated Login sessions */
|
|
5640
7178
|
invalidateExisting?: boolean;
|
|
7179
|
+
/** Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
7180
|
+
sessionProfileId?: string;
|
|
7181
|
+
generateAppProofs?: boolean;
|
|
5641
7182
|
};
|
|
5642
7183
|
export type TOtpLoginInput = {
|
|
5643
7184
|
body: TOtpLoginBody;
|
|
@@ -5654,6 +7195,7 @@ export type TRecoverUserBody = {
|
|
|
5654
7195
|
authenticator: v1AuthenticatorParamsV2;
|
|
5655
7196
|
/** Unique identifier for the user performing recovery. */
|
|
5656
7197
|
userId: string;
|
|
7198
|
+
generateAppProofs?: boolean;
|
|
5657
7199
|
};
|
|
5658
7200
|
export type TRecoverUserInput = {
|
|
5659
7201
|
body: TRecoverUserBody;
|
|
@@ -5666,6 +7208,7 @@ export type TRejectActivityBody = {
|
|
|
5666
7208
|
organizationId?: string;
|
|
5667
7209
|
/** An artifact verifying a User's action. */
|
|
5668
7210
|
fingerprint: string;
|
|
7211
|
+
generateAppProofs?: boolean;
|
|
5669
7212
|
};
|
|
5670
7213
|
export type TRejectActivityInput = {
|
|
5671
7214
|
body: TRejectActivityBody;
|
|
@@ -5678,6 +7221,7 @@ export type TRemoveIpAllowlistBody = {
|
|
|
5678
7221
|
organizationId?: string;
|
|
5679
7222
|
/** 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. */
|
|
5680
7223
|
publicKey?: string;
|
|
7224
|
+
generateAppProofs?: boolean;
|
|
5681
7225
|
};
|
|
5682
7226
|
export type TRemoveIpAllowlistInput = {
|
|
5683
7227
|
body: TRemoveIpAllowlistBody;
|
|
@@ -5692,10 +7236,26 @@ export type TRemoveOrganizationFeatureBody = {
|
|
|
5692
7236
|
organizationId?: string;
|
|
5693
7237
|
/** Name of the feature to remove */
|
|
5694
7238
|
name: v1FeatureName;
|
|
7239
|
+
generateAppProofs?: boolean;
|
|
5695
7240
|
};
|
|
5696
7241
|
export type TRemoveOrganizationFeatureInput = {
|
|
5697
7242
|
body: TRemoveOrganizationFeatureBody;
|
|
5698
7243
|
};
|
|
7244
|
+
export type TRestoreTvcDeploymentResponse = {
|
|
7245
|
+
activity: v1Activity;
|
|
7246
|
+
/** The unique identifier of the restored TVC deployment. */
|
|
7247
|
+
deploymentId: string;
|
|
7248
|
+
};
|
|
7249
|
+
export type TRestoreTvcDeploymentBody = {
|
|
7250
|
+
timestampMs?: string;
|
|
7251
|
+
organizationId?: string;
|
|
7252
|
+
/** The unique identifier of the TVC deployment to restore. */
|
|
7253
|
+
deploymentId: string;
|
|
7254
|
+
generateAppProofs?: boolean;
|
|
7255
|
+
};
|
|
7256
|
+
export type TRestoreTvcDeploymentInput = {
|
|
7257
|
+
body: TRestoreTvcDeploymentBody;
|
|
7258
|
+
};
|
|
5699
7259
|
export type TSetIpAllowlistResponse = {
|
|
5700
7260
|
activity: v1Activity;
|
|
5701
7261
|
};
|
|
@@ -5710,6 +7270,7 @@ export type TSetIpAllowlistBody = {
|
|
|
5710
7270
|
rules?: v1IpAllowlistIntentRule[];
|
|
5711
7271
|
/** Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
5712
7272
|
onEvaluationError?: string;
|
|
7273
|
+
generateAppProofs?: boolean;
|
|
5713
7274
|
};
|
|
5714
7275
|
export type TSetIpAllowlistInput = {
|
|
5715
7276
|
body: TSetIpAllowlistBody;
|
|
@@ -5726,10 +7287,24 @@ export type TSetOrganizationFeatureBody = {
|
|
|
5726
7287
|
name: v1FeatureName;
|
|
5727
7288
|
/** Optional value for the feature. Will override existing values if feature is already set. */
|
|
5728
7289
|
value: string;
|
|
7290
|
+
generateAppProofs?: boolean;
|
|
5729
7291
|
};
|
|
5730
7292
|
export type TSetOrganizationFeatureInput = {
|
|
5731
7293
|
body: TSetOrganizationFeatureBody;
|
|
5732
7294
|
};
|
|
7295
|
+
export type TUpdateTvcAppLiveDeploymentResponse = {
|
|
7296
|
+
activity: v1Activity;
|
|
7297
|
+
};
|
|
7298
|
+
export type TUpdateTvcAppLiveDeploymentBody = {
|
|
7299
|
+
timestampMs?: string;
|
|
7300
|
+
organizationId?: string;
|
|
7301
|
+
/** The unique identifier of the TVC deployment to set as live for the app. */
|
|
7302
|
+
deploymentId: string;
|
|
7303
|
+
generateAppProofs?: boolean;
|
|
7304
|
+
};
|
|
7305
|
+
export type TUpdateTvcAppLiveDeploymentInput = {
|
|
7306
|
+
body: TUpdateTvcAppLiveDeploymentBody;
|
|
7307
|
+
};
|
|
5733
7308
|
export type TSignRawPayloadResponse = {
|
|
5734
7309
|
activity: v1Activity;
|
|
5735
7310
|
/** Component of an ECSDA signature. */
|
|
@@ -5750,6 +7325,7 @@ export type TSignRawPayloadBody = {
|
|
|
5750
7325
|
encoding: v1PayloadEncoding;
|
|
5751
7326
|
/** 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. */
|
|
5752
7327
|
hashFunction: v1HashFunction;
|
|
7328
|
+
generateAppProofs?: boolean;
|
|
5753
7329
|
};
|
|
5754
7330
|
export type TSignRawPayloadInput = {
|
|
5755
7331
|
body: TSignRawPayloadBody;
|
|
@@ -5769,6 +7345,7 @@ export type TSignRawPayloadsBody = {
|
|
|
5769
7345
|
encoding: v1PayloadEncoding;
|
|
5770
7346
|
/** 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. */
|
|
5771
7347
|
hashFunction: v1HashFunction;
|
|
7348
|
+
generateAppProofs?: boolean;
|
|
5772
7349
|
};
|
|
5773
7350
|
export type TSignRawPayloadsInput = {
|
|
5774
7351
|
body: TSignRawPayloadsBody;
|
|
@@ -5785,6 +7362,7 @@ export type TSignTransactionBody = {
|
|
|
5785
7362
|
/** Raw unsigned transaction to be signed */
|
|
5786
7363
|
unsignedTransaction: string;
|
|
5787
7364
|
type: v1TransactionType;
|
|
7365
|
+
generateAppProofs?: boolean;
|
|
5788
7366
|
};
|
|
5789
7367
|
export type TSignTransactionInput = {
|
|
5790
7368
|
body: TSignTransactionBody;
|
|
@@ -5803,14 +7381,87 @@ export type TSolSendTransactionBody = {
|
|
|
5803
7381
|
signWith: string;
|
|
5804
7382
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
5805
7383
|
sponsor?: boolean;
|
|
5806
|
-
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
|
|
5807
|
-
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:
|
|
7384
|
+
/** 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. */
|
|
7385
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
5808
7386
|
/** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
5809
7387
|
recentBlockhash?: string;
|
|
7388
|
+
generateAppProofs?: boolean;
|
|
5810
7389
|
};
|
|
5811
7390
|
export type TSolSendTransactionInput = {
|
|
5812
7391
|
body: TSolSendTransactionBody;
|
|
5813
7392
|
};
|
|
7393
|
+
export type TSparkClaimTransferResponse = {
|
|
7394
|
+
activity: v1Activity;
|
|
7395
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
7396
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
7397
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
7398
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
7399
|
+
};
|
|
7400
|
+
export type TSparkClaimTransferBody = {
|
|
7401
|
+
timestampMs?: string;
|
|
7402
|
+
organizationId?: string;
|
|
7403
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
7404
|
+
signWith: string;
|
|
7405
|
+
/** Claim package parameters. */
|
|
7406
|
+
claim: v1SparkClaimPackage;
|
|
7407
|
+
};
|
|
7408
|
+
export type TSparkClaimTransferInput = {
|
|
7409
|
+
body: TSparkClaimTransferBody;
|
|
7410
|
+
};
|
|
7411
|
+
export type TSparkPrepareLightningReceiveResponse = {
|
|
7412
|
+
activity: v1Activity;
|
|
7413
|
+
/** Per-operator ECIES-encrypted Feldman share packages. */
|
|
7414
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
7415
|
+
/** Hex-encoded SHA256(preimage). Forward to the Lightning node. */
|
|
7416
|
+
paymentHash: string;
|
|
7417
|
+
};
|
|
7418
|
+
export type TSparkPrepareLightningReceiveBody = {
|
|
7419
|
+
timestampMs?: string;
|
|
7420
|
+
organizationId?: string;
|
|
7421
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
7422
|
+
signWith: string;
|
|
7423
|
+
/** Lightning receive package parameters: threshold and operator recipients. */
|
|
7424
|
+
lightningReceive: v1SparkLightningReceivePackage;
|
|
7425
|
+
};
|
|
7426
|
+
export type TSparkPrepareLightningReceiveInput = {
|
|
7427
|
+
body: TSparkPrepareLightningReceiveBody;
|
|
7428
|
+
};
|
|
7429
|
+
export type TSparkPrepareTransferResponse = {
|
|
7430
|
+
activity: v1Activity;
|
|
7431
|
+
/** Per-operator ECIES-encrypted packages. */
|
|
7432
|
+
operatorPackages: v1SparkEncryptedOperatorPackage[];
|
|
7433
|
+
/** Hex-encoded ECDSA-DER signature of the TransferPackage signing payload, signed with the wallet's IDENTITY key. */
|
|
7434
|
+
transferUserSignature: string;
|
|
7435
|
+
/** Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
7436
|
+
newLeafPublicKeys: v1SparkLeafPublicKey[];
|
|
7437
|
+
};
|
|
7438
|
+
export type TSparkPrepareTransferBody = {
|
|
7439
|
+
timestampMs?: string;
|
|
7440
|
+
organizationId?: string;
|
|
7441
|
+
/** A Spark wallet account address identifying the wallet. */
|
|
7442
|
+
signWith: string;
|
|
7443
|
+
/** Transfer package parameters for HD key tweak splitting. */
|
|
7444
|
+
transfer: v1SparkTransferPackage;
|
|
7445
|
+
};
|
|
7446
|
+
export type TSparkPrepareTransferInput = {
|
|
7447
|
+
body: TSparkPrepareTransferBody;
|
|
7448
|
+
};
|
|
7449
|
+
export type TSparkSignFrostResponse = {
|
|
7450
|
+
activity: v1Activity;
|
|
7451
|
+
/** Partial signatures plus Turnkey commitments, one per request, in order. */
|
|
7452
|
+
signatures: v1SparkPartialSignature[];
|
|
7453
|
+
};
|
|
7454
|
+
export type TSparkSignFrostBody = {
|
|
7455
|
+
timestampMs?: string;
|
|
7456
|
+
organizationId?: string;
|
|
7457
|
+
/** A Spark wallet account address identifying the wallet to sign with. */
|
|
7458
|
+
signWith: string;
|
|
7459
|
+
/** Batched sign requests. Each produces a partial signature plus Turnkey's public commitments. */
|
|
7460
|
+
signatures: v1SparkSignatureRequest[];
|
|
7461
|
+
};
|
|
7462
|
+
export type TSparkSignFrostInput = {
|
|
7463
|
+
body: TSparkSignFrostBody;
|
|
7464
|
+
};
|
|
5814
7465
|
export type TStampLoginResponse = {
|
|
5815
7466
|
activity: v1Activity;
|
|
5816
7467
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
@@ -5825,6 +7476,9 @@ export type TStampLoginBody = {
|
|
|
5825
7476
|
expirationSeconds?: string;
|
|
5826
7477
|
/** Invalidate all other previously generated Login API keys */
|
|
5827
7478
|
invalidateExisting?: boolean;
|
|
7479
|
+
/** Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
7480
|
+
sessionProfileId?: string;
|
|
7481
|
+
generateAppProofs?: boolean;
|
|
5828
7482
|
};
|
|
5829
7483
|
export type TStampLoginInput = {
|
|
5830
7484
|
body: TStampLoginBody;
|
|
@@ -5849,10 +7503,37 @@ export type TUpdateFiatOnRampCredentialBody = {
|
|
|
5849
7503
|
encryptedSecretApiKey: string;
|
|
5850
7504
|
/** Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
|
|
5851
7505
|
encryptedPrivateApiKey?: string;
|
|
7506
|
+
generateAppProofs?: boolean;
|
|
5852
7507
|
};
|
|
5853
7508
|
export type TUpdateFiatOnRampCredentialInput = {
|
|
5854
7509
|
body: TUpdateFiatOnRampCredentialBody;
|
|
5855
7510
|
};
|
|
7511
|
+
export type TUpdateMfaPolicyResponse = {
|
|
7512
|
+
activity: v1Activity;
|
|
7513
|
+
/** Unique identifier for a given MFA Policy. */
|
|
7514
|
+
mfaPolicyId: string;
|
|
7515
|
+
};
|
|
7516
|
+
export type TUpdateMfaPolicyBody = {
|
|
7517
|
+
timestampMs?: string;
|
|
7518
|
+
organizationId?: string;
|
|
7519
|
+
/** The ID of the User to update the MFA Policy for. */
|
|
7520
|
+
userId: string;
|
|
7521
|
+
/** Unique identifier for a given MFA Policy. */
|
|
7522
|
+
mfaPolicyId: string;
|
|
7523
|
+
/** Human-readable name for a Policy. */
|
|
7524
|
+
mfaPolicyName?: string;
|
|
7525
|
+
/** A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
7526
|
+
condition?: string;
|
|
7527
|
+
/** An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
7528
|
+
requiredAuthenticationMethods?: v1RequiredAuthenticationMethodParams[];
|
|
7529
|
+
/** The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first. */
|
|
7530
|
+
order?: number;
|
|
7531
|
+
/** Notes for an MFA Policy. */
|
|
7532
|
+
notes?: string;
|
|
7533
|
+
};
|
|
7534
|
+
export type TUpdateMfaPolicyInput = {
|
|
7535
|
+
body: TUpdateMfaPolicyBody;
|
|
7536
|
+
};
|
|
5856
7537
|
export type TUpdateOauth2CredentialResponse = {
|
|
5857
7538
|
activity: v1Activity;
|
|
5858
7539
|
/** Unique identifier of the OAuth 2.0 credential that was updated */
|
|
@@ -5869,6 +7550,7 @@ export type TUpdateOauth2CredentialBody = {
|
|
|
5869
7550
|
clientId: string;
|
|
5870
7551
|
/** The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key */
|
|
5871
7552
|
encryptedClientSecret: string;
|
|
7553
|
+
generateAppProofs?: boolean;
|
|
5872
7554
|
};
|
|
5873
7555
|
export type TUpdateOauth2CredentialInput = {
|
|
5874
7556
|
body: TUpdateOauth2CredentialBody;
|
|
@@ -5885,6 +7567,7 @@ export type TUpdateOrganizationNameBody = {
|
|
|
5885
7567
|
organizationId?: string;
|
|
5886
7568
|
/** New name for the Organization. */
|
|
5887
7569
|
organizationName: string;
|
|
7570
|
+
generateAppProofs?: boolean;
|
|
5888
7571
|
};
|
|
5889
7572
|
export type TUpdateOrganizationNameInput = {
|
|
5890
7573
|
body: TUpdateOrganizationNameBody;
|
|
@@ -5909,6 +7592,7 @@ export type TUpdatePolicyBody = {
|
|
|
5909
7592
|
policyConsensus?: string;
|
|
5910
7593
|
/** Accompanying notes for a Policy (optional). */
|
|
5911
7594
|
policyNotes?: string;
|
|
7595
|
+
generateAppProofs?: boolean;
|
|
5912
7596
|
};
|
|
5913
7597
|
export type TUpdatePolicyInput = {
|
|
5914
7598
|
body: TUpdatePolicyBody;
|
|
@@ -5929,6 +7613,7 @@ export type TUpdatePrivateKeyTagBody = {
|
|
|
5929
7613
|
addPrivateKeyIds: string[];
|
|
5930
7614
|
/** A list of Private Key IDs to remove this tag from. */
|
|
5931
7615
|
removePrivateKeyIds: string[];
|
|
7616
|
+
generateAppProofs?: boolean;
|
|
5932
7617
|
};
|
|
5933
7618
|
export type TUpdatePrivateKeyTagInput = {
|
|
5934
7619
|
body: TUpdatePrivateKeyTagBody;
|
|
@@ -5943,6 +7628,7 @@ export type TUpdateRootQuorumBody = {
|
|
|
5943
7628
|
threshold: number;
|
|
5944
7629
|
/** The unique identifiers of users who comprise the quorum set. */
|
|
5945
7630
|
userIds: string[];
|
|
7631
|
+
generateAppProofs?: boolean;
|
|
5946
7632
|
};
|
|
5947
7633
|
export type TUpdateRootQuorumInput = {
|
|
5948
7634
|
body: TUpdateRootQuorumBody;
|
|
@@ -5965,6 +7651,7 @@ export type TUpdateUserBody = {
|
|
|
5965
7651
|
userTagIds?: string[];
|
|
5966
7652
|
/** The user's phone number in E.164 format e.g. +13214567890 */
|
|
5967
7653
|
userPhoneNumber?: string;
|
|
7654
|
+
generateAppProofs?: boolean;
|
|
5968
7655
|
};
|
|
5969
7656
|
export type TUpdateUserInput = {
|
|
5970
7657
|
body: TUpdateUserBody;
|
|
@@ -5983,6 +7670,7 @@ export type TUpdateUserEmailBody = {
|
|
|
5983
7670
|
userEmail: string;
|
|
5984
7671
|
/** Signed JWT containing a unique id, expiry, verification type, contact */
|
|
5985
7672
|
verificationToken?: string;
|
|
7673
|
+
generateAppProofs?: boolean;
|
|
5986
7674
|
};
|
|
5987
7675
|
export type TUpdateUserEmailInput = {
|
|
5988
7676
|
body: TUpdateUserEmailBody;
|
|
@@ -5999,6 +7687,7 @@ export type TUpdateUserNameBody = {
|
|
|
5999
7687
|
userId: string;
|
|
6000
7688
|
/** Human-readable name for a User. */
|
|
6001
7689
|
userName: string;
|
|
7690
|
+
generateAppProofs?: boolean;
|
|
6002
7691
|
};
|
|
6003
7692
|
export type TUpdateUserNameInput = {
|
|
6004
7693
|
body: TUpdateUserNameBody;
|
|
@@ -6017,6 +7706,7 @@ export type TUpdateUserPhoneNumberBody = {
|
|
|
6017
7706
|
userPhoneNumber: string;
|
|
6018
7707
|
/** Signed JWT containing a unique id, expiry, verification type, contact */
|
|
6019
7708
|
verificationToken?: string;
|
|
7709
|
+
generateAppProofs?: boolean;
|
|
6020
7710
|
};
|
|
6021
7711
|
export type TUpdateUserPhoneNumberInput = {
|
|
6022
7712
|
body: TUpdateUserPhoneNumberBody;
|
|
@@ -6037,6 +7727,7 @@ export type TUpdateUserTagBody = {
|
|
|
6037
7727
|
addUserIds: string[];
|
|
6038
7728
|
/** A list of User IDs to remove this tag from. */
|
|
6039
7729
|
removeUserIds: string[];
|
|
7730
|
+
generateAppProofs?: boolean;
|
|
6040
7731
|
};
|
|
6041
7732
|
export type TUpdateUserTagInput = {
|
|
6042
7733
|
body: TUpdateUserTagBody;
|
|
@@ -6053,6 +7744,7 @@ export type TUpdateWalletBody = {
|
|
|
6053
7744
|
walletId: string;
|
|
6054
7745
|
/** Human-readable name for a Wallet. */
|
|
6055
7746
|
walletName?: string;
|
|
7747
|
+
generateAppProofs?: boolean;
|
|
6056
7748
|
};
|
|
6057
7749
|
export type TUpdateWalletInput = {
|
|
6058
7750
|
body: TUpdateWalletBody;
|
|
@@ -6075,6 +7767,7 @@ export type TUpdateWebhookEndpointBody = {
|
|
|
6075
7767
|
name?: string;
|
|
6076
7768
|
/** Whether this webhook endpoint is active. */
|
|
6077
7769
|
isActive?: boolean;
|
|
7770
|
+
generateAppProofs?: boolean;
|
|
6078
7771
|
};
|
|
6079
7772
|
export type TUpdateWebhookEndpointInput = {
|
|
6080
7773
|
body: TUpdateWebhookEndpointBody;
|
|
@@ -6093,6 +7786,7 @@ export type TVerifyOtpBody = {
|
|
|
6093
7786
|
encryptedOtpBundle: string;
|
|
6094
7787
|
/** 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) */
|
|
6095
7788
|
expirationSeconds?: string;
|
|
7789
|
+
generateAppProofs?: boolean;
|
|
6096
7790
|
};
|
|
6097
7791
|
export type TVerifyOtpInput = {
|
|
6098
7792
|
body: TVerifyOtpBody;
|
|
@@ -6100,6 +7794,76 @@ export type TVerifyOtpInput = {
|
|
|
6100
7794
|
export type TNOOPCodegenAnchorResponse = {
|
|
6101
7795
|
activity: v1Activity;
|
|
6102
7796
|
};
|
|
7797
|
+
export type TEthSendTransactionResponse = {
|
|
7798
|
+
activity: v1Activity;
|
|
7799
|
+
/** The send_transaction_status ID associated with the transaction submission */
|
|
7800
|
+
sendTransactionStatusId: string;
|
|
7801
|
+
};
|
|
7802
|
+
export type TEthSendTransactionBody = {
|
|
7803
|
+
timestampMs?: string;
|
|
7804
|
+
organizationId?: string;
|
|
7805
|
+
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
7806
|
+
from: string;
|
|
7807
|
+
/** Whether to sponsor this transaction via Gas Station. */
|
|
7808
|
+
sponsor?: boolean;
|
|
7809
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
7810
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
7811
|
+
/** Recipient address as a hex string with 0x prefix. */
|
|
7812
|
+
to: string;
|
|
7813
|
+
/** Amount of native asset to send in wei. */
|
|
7814
|
+
value?: string;
|
|
7815
|
+
/** Hex-encoded call data for contract interactions. */
|
|
7816
|
+
data?: string;
|
|
7817
|
+
/** Transaction nonce, for EIP-1559 and Turnkey Gas Station authorizations. */
|
|
7818
|
+
nonce?: string;
|
|
7819
|
+
/** Maximum amount of gas to use for this transaction, for EIP-1559 transactions. */
|
|
7820
|
+
gasLimit?: string;
|
|
7821
|
+
/** Maximum total fee per gas unit (base fee + priority fee) in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
7822
|
+
maxFeePerGas?: string;
|
|
7823
|
+
/** Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
7824
|
+
maxPriorityFeePerGas?: string;
|
|
7825
|
+
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
7826
|
+
deadline?: string;
|
|
7827
|
+
/** The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
7828
|
+
gasStationNonce?: string;
|
|
7829
|
+
generateAppProofs?: boolean;
|
|
7830
|
+
};
|
|
7831
|
+
export type TEthSendTransactionInput = {
|
|
7832
|
+
body: TEthSendTransactionBody;
|
|
7833
|
+
};
|
|
7834
|
+
export type TEthSendTransactionV2Response = {
|
|
7835
|
+
activity: v1Activity;
|
|
7836
|
+
/** The send_transaction_status ID associated with the transaction submission */
|
|
7837
|
+
sendTransactionStatusId: string;
|
|
7838
|
+
};
|
|
7839
|
+
export type TEthSendTransactionV2Body = {
|
|
7840
|
+
timestampMs?: string;
|
|
7841
|
+
organizationId?: string;
|
|
7842
|
+
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
7843
|
+
from: string;
|
|
7844
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
7845
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
7846
|
+
/** Whether to sponsor this transaction via Gas Station. If false or unset, the EOA pays gas. A single call uses EIP-1559; multiple calls use EIP-7702 batch execution via Gas Station. */
|
|
7847
|
+
sponsor?: boolean;
|
|
7848
|
+
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
7849
|
+
nonce?: string;
|
|
7850
|
+
/** Maximum amount of gas for the outer transaction. Omit to auto-estimate. */
|
|
7851
|
+
gasLimit?: string;
|
|
7852
|
+
/** Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
|
|
7853
|
+
maxFeePerGas?: string;
|
|
7854
|
+
/** Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
|
|
7855
|
+
maxPriorityFeePerGas?: string;
|
|
7856
|
+
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
7857
|
+
deadline?: string;
|
|
7858
|
+
/** The gas station delegate contract nonce. Only used when sponsor=true. Omit to auto-fetch. */
|
|
7859
|
+
gasStationNonce?: string;
|
|
7860
|
+
/** Ordered list of calls to execute. Must contain between 1 and 50 entries. A single entry with sponsor=false uses EIP-1559; multiple entries use EIP-7702 batch execution via Gas Station. */
|
|
7861
|
+
calls: v1EthCallParams[];
|
|
7862
|
+
generateAppProofs?: boolean;
|
|
7863
|
+
};
|
|
7864
|
+
export type TEthSendTransactionV2Input = {
|
|
7865
|
+
body: TEthSendTransactionV2Body;
|
|
7866
|
+
};
|
|
6103
7867
|
export type ProxyTGetAccountResponse = {
|
|
6104
7868
|
organizationId?: string;
|
|
6105
7869
|
};
|
|
@@ -6129,8 +7893,8 @@ export type ProxyTOAuth2AuthenticateBody = {
|
|
|
6129
7893
|
redirectUri: string;
|
|
6130
7894
|
/** The code verifier used by OAuth 2.0 PKCE providers */
|
|
6131
7895
|
codeVerifier: string;
|
|
6132
|
-
/**
|
|
6133
|
-
nonce
|
|
7896
|
+
/** A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
7897
|
+
nonce: string;
|
|
6134
7898
|
/** The client ID registered with the OAuth 2.0 provider */
|
|
6135
7899
|
clientId: string;
|
|
6136
7900
|
};
|
|
@@ -6163,6 +7927,8 @@ export type ProxyTInitOtpBody = {
|
|
|
6163
7927
|
otpType: string;
|
|
6164
7928
|
/** Email or phone number to send the OTP code to */
|
|
6165
7929
|
contact: string;
|
|
7930
|
+
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
7931
|
+
emailCustomization?: v1ProxyEmailCustomizationParams;
|
|
6166
7932
|
};
|
|
6167
7933
|
export type ProxyTInitOtpInput = {
|
|
6168
7934
|
body: ProxyTInitOtpBody;
|
|
@@ -6178,6 +7944,8 @@ export type ProxyTInitOtpV2Body = {
|
|
|
6178
7944
|
otpType: string;
|
|
6179
7945
|
/** Email or phone number to send the OTP code to */
|
|
6180
7946
|
contact: string;
|
|
7947
|
+
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
7948
|
+
emailCustomization?: v1ProxyEmailCustomizationParams;
|
|
6181
7949
|
};
|
|
6182
7950
|
export type ProxyTInitOtpV2Input = {
|
|
6183
7951
|
body: ProxyTInitOtpV2Body;
|