@turnkey/sdk-browser 6.1.1 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/dist/__generated__/sdk-client-base.d.ts +22 -0
- package/dist/__generated__/sdk-client-base.d.ts.map +1 -1
- package/dist/__generated__/sdk-client-base.js +360 -3
- package/dist/__generated__/sdk-client-base.js.map +1 -1
- package/dist/__generated__/sdk-client-base.mjs +360 -3
- package/dist/__generated__/sdk-client-base.mjs.map +1 -1
- package/dist/__generated__/sdk_api_types.d.ts +56 -1
- package/dist/__generated__/sdk_api_types.d.ts.map +1 -1
- package/dist/__generated__/version.d.ts +1 -1
- package/dist/__generated__/version.js +1 -1
- package/dist/__generated__/version.mjs +1 -1
- package/dist/__inputs__/public_api.types.d.ts +1455 -21
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export type paths = {
|
|
6
|
+
"/public/v1/query/earn_deposit_status": {
|
|
7
|
+
/** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
|
|
8
|
+
post: operations["PublicApiService_EarnDepositStatus"];
|
|
9
|
+
};
|
|
10
|
+
"/public/v1/query/earn_enabled_vaults": {
|
|
11
|
+
/** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
|
|
12
|
+
post: operations["PublicApiService_EarnEnabledVaults"];
|
|
13
|
+
};
|
|
14
|
+
"/public/v1/query/earn_positions": {
|
|
15
|
+
/** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
|
|
16
|
+
post: operations["PublicApiService_EarnPositions"];
|
|
17
|
+
};
|
|
18
|
+
"/public/v1/query/earn_vaults": {
|
|
19
|
+
/** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
|
|
20
|
+
post: operations["PublicApiService_EarnVaults"];
|
|
21
|
+
};
|
|
22
|
+
"/public/v1/query/earn_withdraw_status": {
|
|
23
|
+
/** Poll the status of a withdrawal by its withdraw_request_id. */
|
|
24
|
+
post: operations["PublicApiService_EarnWithdrawStatus"];
|
|
25
|
+
};
|
|
6
26
|
"/public/v1/query/get_activity": {
|
|
7
27
|
/** Get details about an activity. */
|
|
8
28
|
post: operations["PublicApiService_GetActivity"];
|
|
@@ -43,6 +63,18 @@ export type paths = {
|
|
|
43
63
|
/** Get the latest boot proof for a given enclave app name. */
|
|
44
64
|
post: operations["PublicApiService_GetLatestBootProof"];
|
|
45
65
|
};
|
|
66
|
+
"/public/v1/query/get_mfa_policies": {
|
|
67
|
+
/** Get all MFA policies for a user. */
|
|
68
|
+
post: operations["PublicApiService_GetMfaPolicies"];
|
|
69
|
+
};
|
|
70
|
+
"/public/v1/query/get_mfa_policy": {
|
|
71
|
+
/** Get a single MFA policy for a user. */
|
|
72
|
+
post: operations["PublicApiService_GetMfaPolicy"];
|
|
73
|
+
};
|
|
74
|
+
"/public/v1/query/get_mfa_status": {
|
|
75
|
+
/** Get the MFA status of an activity for a specific user or all voting users. */
|
|
76
|
+
post: operations["PublicApiService_GetMfaStatus"];
|
|
77
|
+
};
|
|
46
78
|
"/public/v1/query/get_nonces": {
|
|
47
79
|
/** Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions. */
|
|
48
80
|
post: operations["PublicApiService_GetNonces"];
|
|
@@ -83,10 +115,26 @@ export type paths = {
|
|
|
83
115
|
/** Get the status of a send transaction request. */
|
|
84
116
|
post: operations["PublicApiService_GetSendTransactionStatus"];
|
|
85
117
|
};
|
|
118
|
+
"/public/v1/query/get_session_profile": {
|
|
119
|
+
/** Get a single session profile for an organization. */
|
|
120
|
+
post: operations["PublicApiService_GetSessionProfile"];
|
|
121
|
+
};
|
|
122
|
+
"/public/v1/query/get_session_profiles": {
|
|
123
|
+
/** Get all session profiles for an organization. */
|
|
124
|
+
post: operations["PublicApiService_GetSessionProfiles"];
|
|
125
|
+
};
|
|
86
126
|
"/public/v1/query/get_smart_contract_interface": {
|
|
87
127
|
/** Get details about a smart contract interface. */
|
|
88
128
|
post: operations["PublicApiService_GetSmartContractInterface"];
|
|
89
129
|
};
|
|
130
|
+
"/public/v1/query/get_swap_quote": {
|
|
131
|
+
/** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
|
|
132
|
+
post: operations["PublicApiService_GetSwapQuote"];
|
|
133
|
+
};
|
|
134
|
+
"/public/v1/query/get_swap_status": {
|
|
135
|
+
/** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
|
|
136
|
+
post: operations["PublicApiService_GetSwapStatus"];
|
|
137
|
+
};
|
|
90
138
|
"/public/v1/query/get_tvc_app": {
|
|
91
139
|
/** Get details about a single TVC App */
|
|
92
140
|
post: operations["PublicApiService_GetTvcApp"];
|
|
@@ -95,6 +143,10 @@ export type paths = {
|
|
|
95
143
|
/** Get details about a single TVC Deployment */
|
|
96
144
|
post: operations["PublicApiService_GetTvcDeployment"];
|
|
97
145
|
};
|
|
146
|
+
"/public/v1/query/get_tvc_deployment_debug_logs": {
|
|
147
|
+
/** Get a bounded window of application logs from a debug-mode TVC deployment. Returned lines are collected from every running replica and sorted by platform timestamp. */
|
|
148
|
+
post: operations["PublicApiService_GetTvcDeploymentDebugLogs"];
|
|
149
|
+
};
|
|
98
150
|
"/public/v1/query/get_tvc_deployment_provisioning_details": {
|
|
99
151
|
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
100
152
|
post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
|
|
@@ -112,7 +164,7 @@ export type paths = {
|
|
|
112
164
|
post: operations["PublicApiService_GetWalletAccount"];
|
|
113
165
|
};
|
|
114
166
|
"/public/v1/query/get_wallet_address_balances": {
|
|
115
|
-
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
167
|
+
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
|
|
116
168
|
post: operations["PublicApiService_GetWalletAddressBalances"];
|
|
117
169
|
};
|
|
118
170
|
"/public/v1/query/list_activities": {
|
|
@@ -123,6 +175,10 @@ export type paths = {
|
|
|
123
175
|
/** List the App Proofs for the given activity. */
|
|
124
176
|
post: operations["PublicApiService_GetAppProofs"];
|
|
125
177
|
};
|
|
178
|
+
"/public/v1/query/list_email_events": {
|
|
179
|
+
/** List email events for the organization. */
|
|
180
|
+
post: operations["PublicApiService_ListEmailEvents"];
|
|
181
|
+
};
|
|
126
182
|
"/public/v1/query/list_fiat_on_ramp_credentials": {
|
|
127
183
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
128
184
|
post: operations["PublicApiService_ListFiatOnRampCredentials"];
|
|
@@ -152,7 +208,7 @@ export type paths = {
|
|
|
152
208
|
post: operations["PublicApiService_GetSubOrgIds"];
|
|
153
209
|
};
|
|
154
210
|
"/public/v1/query/list_supported_assets": {
|
|
155
|
-
/** List supported assets for the specified network.
|
|
211
|
+
/** List supported assets for the specified network. */
|
|
156
212
|
post: operations["PublicApiService_ListSupportedAssets"];
|
|
157
213
|
};
|
|
158
214
|
"/public/v1/query/list_tvc_app_deployments": {
|
|
@@ -219,6 +275,10 @@ export type paths = {
|
|
|
219
275
|
/** Create invitations to join an existing organization. */
|
|
220
276
|
post: operations["PublicApiService_CreateInvitations"];
|
|
221
277
|
};
|
|
278
|
+
"/public/v1/submit/create_mfa_policy": {
|
|
279
|
+
/** Create a new MFA policy for a user. */
|
|
280
|
+
post: operations["PublicApiService_CreateMfaPolicy"];
|
|
281
|
+
};
|
|
222
282
|
"/public/v1/submit/create_oauth2_credential": {
|
|
223
283
|
/** Enable authentication for end users with an OAuth 2.0 provider */
|
|
224
284
|
post: operations["PublicApiService_CreateOauth2Credential"];
|
|
@@ -251,6 +311,10 @@ export type paths = {
|
|
|
251
311
|
/** Create a read write session for a user. */
|
|
252
312
|
post: operations["PublicApiService_CreateReadWriteSession"];
|
|
253
313
|
};
|
|
314
|
+
"/public/v1/submit/create_session_profile": {
|
|
315
|
+
/** Create a new session profile for an organization. */
|
|
316
|
+
post: operations["PublicApiService_CreateSessionProfile"];
|
|
317
|
+
};
|
|
254
318
|
"/public/v1/submit/create_smart_contract_interface": {
|
|
255
319
|
/** Create an ABI/IDL in JSON. */
|
|
256
320
|
post: operations["PublicApiService_CreateSmartContractInterface"];
|
|
@@ -271,6 +335,14 @@ export type paths = {
|
|
|
271
335
|
/** Post one or more manifest approvals for a TVC Manifest */
|
|
272
336
|
post: operations["PublicApiService_CreateTvcManifestApprovals"];
|
|
273
337
|
};
|
|
338
|
+
"/public/v1/submit/create_tvc_operator": {
|
|
339
|
+
/** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
|
|
340
|
+
post: operations["PublicApiService_CreateTvcOperator"];
|
|
341
|
+
};
|
|
342
|
+
"/public/v1/submit/create_tvc_quorum_key": {
|
|
343
|
+
/** Create a hosted TVC quorum key and encrypted shares. */
|
|
344
|
+
post: operations["PublicApiService_CreateTvcQuorumKey"];
|
|
345
|
+
};
|
|
274
346
|
"/public/v1/submit/create_user_tag": {
|
|
275
347
|
/** Create a user tag and add it to users. */
|
|
276
348
|
post: operations["PublicApiService_CreateUserTag"];
|
|
@@ -307,6 +379,10 @@ export type paths = {
|
|
|
307
379
|
/** Delete an existing invitation. */
|
|
308
380
|
post: operations["PublicApiService_DeleteInvitation"];
|
|
309
381
|
};
|
|
382
|
+
"/public/v1/submit/delete_mfa_policy": {
|
|
383
|
+
/** Delete an MFA policy for a user. */
|
|
384
|
+
post: operations["PublicApiService_DeleteMfaPolicy"];
|
|
385
|
+
};
|
|
310
386
|
"/public/v1/submit/delete_oauth2_credential": {
|
|
311
387
|
/** Disable authentication for end users with an OAuth 2.0 provider */
|
|
312
388
|
post: operations["PublicApiService_DeleteOauth2Credential"];
|
|
@@ -367,6 +443,18 @@ export type paths = {
|
|
|
367
443
|
/** Delete a webhook endpoint for an organization. */
|
|
368
444
|
post: operations["PublicApiService_DeleteWebhookEndpoint"];
|
|
369
445
|
};
|
|
446
|
+
"/public/v1/submit/earn_deploy_wrapper": {
|
|
447
|
+
/** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
|
|
448
|
+
post: operations["PublicApiService_EarnDeployWrapper"];
|
|
449
|
+
};
|
|
450
|
+
"/public/v1/submit/earn_deposit": {
|
|
451
|
+
/** Deposit assets from a wallet into an enabled yield vault. */
|
|
452
|
+
post: operations["PublicApiService_EarnDeposit"];
|
|
453
|
+
};
|
|
454
|
+
"/public/v1/submit/earn_withdraw": {
|
|
455
|
+
/** Withdraw assets or redeem shares from an enabled yield vault. */
|
|
456
|
+
post: operations["PublicApiService_EarnWithdraw"];
|
|
457
|
+
};
|
|
370
458
|
"/public/v1/submit/email_auth": {
|
|
371
459
|
/** Authenticate a user via email. */
|
|
372
460
|
post: operations["PublicApiService_EmailAuth"];
|
|
@@ -379,6 +467,10 @@ export type paths = {
|
|
|
379
467
|
/** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
|
|
380
468
|
post: operations["PublicApiService_EthSendTransaction"];
|
|
381
469
|
};
|
|
470
|
+
"/public/v1/submit/execute_swap": {
|
|
471
|
+
/** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
|
|
472
|
+
post: operations["PublicApiService_ExecuteSwap"];
|
|
473
|
+
};
|
|
382
474
|
"/public/v1/submit/export_private_key": {
|
|
383
475
|
/** Export a private key. */
|
|
384
476
|
post: operations["PublicApiService_ExportPrivateKey"];
|
|
@@ -447,6 +539,10 @@ export type paths = {
|
|
|
447
539
|
/** Post re-encrypted quorum key share for a TVC deployment. */
|
|
448
540
|
post: operations["PublicApiService_PostTvcQuorumKeyShare"];
|
|
449
541
|
};
|
|
542
|
+
"/public/v1/submit/re_encrypt_tvc_quorum_key_share": {
|
|
543
|
+
/** Re-encrypt a hosted TVC quorum key share for a deployment. */
|
|
544
|
+
post: operations["PublicApiService_ReEncryptTvcQuorumKeyShare"];
|
|
545
|
+
};
|
|
450
546
|
"/public/v1/submit/recover_user": {
|
|
451
547
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
452
548
|
post: operations["PublicApiService_RecoverUser"];
|
|
@@ -519,6 +615,10 @@ export type paths = {
|
|
|
519
615
|
/** Update a fiat on ramp provider credential */
|
|
520
616
|
post: operations["PublicApiService_UpdateFiatOnRampCredential"];
|
|
521
617
|
};
|
|
618
|
+
"/public/v1/submit/update_mfa_policy": {
|
|
619
|
+
/** Update an MFA policy for a user. */
|
|
620
|
+
post: operations["PublicApiService_UpdateMfaPolicy"];
|
|
621
|
+
};
|
|
522
622
|
"/public/v1/submit/update_oauth2_credential": {
|
|
523
623
|
/** Update an OAuth 2.0 provider credential */
|
|
524
624
|
post: operations["PublicApiService_UpdateOauth2Credential"];
|
|
@@ -567,6 +667,14 @@ export type paths = {
|
|
|
567
667
|
/** Update a webhook endpoint for an organization. */
|
|
568
668
|
post: operations["PublicApiService_UpdateWebhookEndpoint"];
|
|
569
669
|
};
|
|
670
|
+
"/public/v1/submit/upsert_earn_client_fee_config": {
|
|
671
|
+
/** Set the client's Earn fee rate and payout wallet for the organization. */
|
|
672
|
+
post: operations["PublicApiService_UpsertEarnClientFeeConfig"];
|
|
673
|
+
};
|
|
674
|
+
"/public/v1/submit/upsert_swap_config": {
|
|
675
|
+
/** Enable or disable swap configuration for an organization. */
|
|
676
|
+
post: operations["PublicApiService_UpsertSwapConfig"];
|
|
677
|
+
};
|
|
570
678
|
"/public/v1/submit/verify_otp": {
|
|
571
679
|
/** Verify a generic OTP. */
|
|
572
680
|
post: operations["PublicApiService_VerifyOtp"];
|
|
@@ -669,6 +777,8 @@ export type definitions = {
|
|
|
669
777
|
/** @description The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
670
778
|
publicKey: string;
|
|
671
779
|
type: definitions["v1CredentialType"];
|
|
780
|
+
/** @description The session profile associated with this credential, if any. This field is only applicable for credentials of type CREDENTIAL_TYPE_LOGIN. */
|
|
781
|
+
sessionProfileId?: string;
|
|
672
782
|
};
|
|
673
783
|
externaldatav1Quorum: {
|
|
674
784
|
/**
|
|
@@ -777,9 +887,9 @@ export type definitions = {
|
|
|
777
887
|
activity: definitions["v1Activity"];
|
|
778
888
|
};
|
|
779
889
|
/** @enum {string} */
|
|
780
|
-
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
890
|
+
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
781
891
|
/** @enum {string} */
|
|
782
|
-
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";
|
|
892
|
+
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";
|
|
783
893
|
/** @enum {string} */
|
|
784
894
|
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";
|
|
785
895
|
v1ApiKey: {
|
|
@@ -899,6 +1009,20 @@ export type definitions = {
|
|
|
899
1009
|
/** @description The type of authenticator transports. */
|
|
900
1010
|
transports: definitions["v1AuthenticatorTransport"][];
|
|
901
1011
|
};
|
|
1012
|
+
v1AuthenticationMethod: {
|
|
1013
|
+
/** @description The type of authenticator (e.g., AUTHENTICATION_TYPE_EMAIL, AUTHENTICATION_TYPE_SESSION) required for this MFA step. */
|
|
1014
|
+
type: definitions["v1AuthenticationType"];
|
|
1015
|
+
/** @description Optional specific authenticator ID required (e.g., for requiring a specific session profile id) */
|
|
1016
|
+
id?: string;
|
|
1017
|
+
};
|
|
1018
|
+
v1AuthenticationMethodParams: {
|
|
1019
|
+
/** @description The type of authenticator (e.g., AUTHENTICATION_TYPE_PASSKEY for passkey authentication). */
|
|
1020
|
+
type: definitions["v1AuthenticationType"];
|
|
1021
|
+
/** @description Optional specific authenticator ID required (e.g., UUID of a passkey authenticator). If not provided, any authenticator of the specified type can be used. */
|
|
1022
|
+
id?: string;
|
|
1023
|
+
};
|
|
1024
|
+
/** @enum {string} */
|
|
1025
|
+
v1AuthenticationType: "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION";
|
|
902
1026
|
v1Authenticator: {
|
|
903
1027
|
/** @description Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
|
|
904
1028
|
transports: definitions["v1AuthenticatorTransport"][];
|
|
@@ -949,9 +1073,9 @@ export type definitions = {
|
|
|
949
1073
|
ephemeralPublicKeyHex: string;
|
|
950
1074
|
/** @description The DER encoded COSE Sign1 struct Attestation doc. */
|
|
951
1075
|
awsAttestationDocB64: string;
|
|
952
|
-
/** @description The
|
|
1076
|
+
/** @description The base64 encoded QOS manifest. Encoding depends on qos_manifest_version. */
|
|
953
1077
|
qosManifestB64: string;
|
|
954
|
-
/** @description The
|
|
1078
|
+
/** @description The base64 encoded QOS manifest envelope. Encoding depends on qos_manifest_version. */
|
|
955
1079
|
qosManifestEnvelopeB64: string;
|
|
956
1080
|
/** @description The label under which the enclave app was deployed. */
|
|
957
1081
|
deploymentLabel: string;
|
|
@@ -960,6 +1084,8 @@ export type definitions = {
|
|
|
960
1084
|
/** @description Owner of the app i.e. 'tkhq' */
|
|
961
1085
|
owner: string;
|
|
962
1086
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
1087
|
+
/** @description QOS manifest schema version. */
|
|
1088
|
+
qosManifestVersion?: string;
|
|
963
1089
|
};
|
|
964
1090
|
v1BootProofResponse: {
|
|
965
1091
|
bootProof: definitions["v1BootProof"];
|
|
@@ -1096,6 +1222,36 @@ export type definitions = {
|
|
|
1096
1222
|
/** @description A list of Invitation IDs */
|
|
1097
1223
|
invitationIds: string[];
|
|
1098
1224
|
};
|
|
1225
|
+
v1CreateMfaPolicyIntent: {
|
|
1226
|
+
/** @description The ID of the User to add the MFA Policy to. */
|
|
1227
|
+
userId: string;
|
|
1228
|
+
/** @description Human-readable name for a Policy. */
|
|
1229
|
+
mfaPolicyName: string;
|
|
1230
|
+
/** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
1231
|
+
condition: string;
|
|
1232
|
+
/** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
1233
|
+
requiredAuthenticationMethods: definitions["v1RequiredAuthenticationMethodParams"][];
|
|
1234
|
+
/**
|
|
1235
|
+
* Format: int64
|
|
1236
|
+
* @description The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first.
|
|
1237
|
+
*/
|
|
1238
|
+
order: number;
|
|
1239
|
+
/** @description Notes for an MFA Policy. */
|
|
1240
|
+
notes?: string;
|
|
1241
|
+
};
|
|
1242
|
+
v1CreateMfaPolicyRequest: {
|
|
1243
|
+
/** @enum {string} */
|
|
1244
|
+
type: "ACTIVITY_TYPE_CREATE_MFA_POLICY";
|
|
1245
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1246
|
+
timestampMs: string;
|
|
1247
|
+
/** @description Unique identifier for a given Organization. */
|
|
1248
|
+
organizationId: string;
|
|
1249
|
+
parameters: definitions["v1CreateMfaPolicyIntent"];
|
|
1250
|
+
};
|
|
1251
|
+
v1CreateMfaPolicyResult: {
|
|
1252
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
1253
|
+
mfaPolicyId: string;
|
|
1254
|
+
};
|
|
1099
1255
|
v1CreateOauth2CredentialIntent: {
|
|
1100
1256
|
/** @description The OAuth 2.0 provider */
|
|
1101
1257
|
provider: definitions["v1Oauth2Provider"];
|
|
@@ -1372,6 +1528,29 @@ export type definitions = {
|
|
|
1372
1528
|
/** @description HPKE encrypted credential bundle */
|
|
1373
1529
|
credentialBundle: string;
|
|
1374
1530
|
};
|
|
1531
|
+
v1CreateSessionProfileIntent: {
|
|
1532
|
+
/** @description Human-readable name for a Session Profile. */
|
|
1533
|
+
sessionProfileName: string;
|
|
1534
|
+
/** @description The scope string that defines the permissions for this Session Profile. */
|
|
1535
|
+
scope: string;
|
|
1536
|
+
/** @description 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. */
|
|
1537
|
+
expirationSeconds?: string;
|
|
1538
|
+
/** @description Notes for a Session Profile. */
|
|
1539
|
+
notes?: string;
|
|
1540
|
+
};
|
|
1541
|
+
v1CreateSessionProfileRequest: {
|
|
1542
|
+
/** @enum {string} */
|
|
1543
|
+
type: "ACTIVITY_TYPE_CREATE_SESSION_PROFILE";
|
|
1544
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1545
|
+
timestampMs: string;
|
|
1546
|
+
/** @description Unique identifier for a given Organization. */
|
|
1547
|
+
organizationId: string;
|
|
1548
|
+
parameters: definitions["v1CreateSessionProfileIntent"];
|
|
1549
|
+
};
|
|
1550
|
+
v1CreateSessionProfileResult: {
|
|
1551
|
+
/** @description Unique identifier for a given Session Profile. */
|
|
1552
|
+
sessionProfileId: string;
|
|
1553
|
+
};
|
|
1375
1554
|
v1CreateSmartContractInterfaceIntent: {
|
|
1376
1555
|
/** @description Corresponding contract address or program ID */
|
|
1377
1556
|
smartContractAddress: string;
|
|
@@ -1588,6 +1767,8 @@ export type definitions = {
|
|
|
1588
1767
|
shareSetParams?: definitions["v1TvcOperatorSetParams"];
|
|
1589
1768
|
/** @description Enables network egress for this TVC app. Default if not provided: false. */
|
|
1590
1769
|
enableEgress?: boolean;
|
|
1770
|
+
/** @description 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. */
|
|
1771
|
+
enableDebugModeDeployments?: boolean;
|
|
1591
1772
|
};
|
|
1592
1773
|
v1CreateTvcAppRequest: {
|
|
1593
1774
|
/** @enum {string} */
|
|
@@ -1680,6 +1861,63 @@ export type definitions = {
|
|
|
1680
1861
|
/** @description The unique identifier(s) for the manifest approvals */
|
|
1681
1862
|
approvalIds: string[];
|
|
1682
1863
|
};
|
|
1864
|
+
v1CreateTvcOperatorIntent: {
|
|
1865
|
+
/** @description Human-readable name for a new wallet created for this TVC operator */
|
|
1866
|
+
walletName?: string;
|
|
1867
|
+
/** @description Unique identifier for an existing wallet to reuse for this TVC operator */
|
|
1868
|
+
walletId?: string;
|
|
1869
|
+
/** @description Base derivation path for creating TVC operator wallet accounts */
|
|
1870
|
+
path: string;
|
|
1871
|
+
/** @description Human-readable name for this new TVC operator */
|
|
1872
|
+
operatorName: string;
|
|
1873
|
+
};
|
|
1874
|
+
v1CreateTvcOperatorRequest: {
|
|
1875
|
+
/** @enum {string} */
|
|
1876
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_OPERATOR";
|
|
1877
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1878
|
+
timestampMs: string;
|
|
1879
|
+
/** @description Unique identifier for a given Organization. */
|
|
1880
|
+
organizationId: string;
|
|
1881
|
+
parameters: definitions["v1CreateTvcOperatorIntent"];
|
|
1882
|
+
generateAppProofs?: boolean;
|
|
1883
|
+
};
|
|
1884
|
+
v1CreateTvcOperatorResult: {
|
|
1885
|
+
/** @description The unique identifier for the wallet containing TVC operator accounts */
|
|
1886
|
+
walletId: string;
|
|
1887
|
+
/** @description The unique identifier for the TVC operator */
|
|
1888
|
+
operatorId: string;
|
|
1889
|
+
/** @description Public encryption key for this TVC operator */
|
|
1890
|
+
encryptPublicKey: string;
|
|
1891
|
+
/** @description Public signing key for this TVC operator */
|
|
1892
|
+
signPublicKey: string;
|
|
1893
|
+
};
|
|
1894
|
+
v1CreateTvcQuorumKeyIntent: {
|
|
1895
|
+
/**
|
|
1896
|
+
* Format: int64
|
|
1897
|
+
* @description The threshold of operators needed to reassemble this TVC quorum key
|
|
1898
|
+
*/
|
|
1899
|
+
threshold: number;
|
|
1900
|
+
/** @description Operator public keys used to encrypt and later approve the generated TVC quorum key shares */
|
|
1901
|
+
operatorEncryptKeys: string[];
|
|
1902
|
+
};
|
|
1903
|
+
v1CreateTvcQuorumKeyRequest: {
|
|
1904
|
+
/** @enum {string} */
|
|
1905
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY";
|
|
1906
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1907
|
+
timestampMs: string;
|
|
1908
|
+
/** @description Unique identifier for a given Organization. */
|
|
1909
|
+
organizationId: string;
|
|
1910
|
+
parameters: definitions["v1CreateTvcQuorumKeyIntent"];
|
|
1911
|
+
generateAppProofs?: boolean;
|
|
1912
|
+
};
|
|
1913
|
+
v1CreateTvcQuorumKeyResult: {
|
|
1914
|
+
/** @description The unique identifier for the TVC quorum key */
|
|
1915
|
+
quorumKeyId: string;
|
|
1916
|
+
/** @description Public key for the generated TVC quorum key */
|
|
1917
|
+
quorumPublicKey: string;
|
|
1918
|
+
/** @description The unique identifier(s) for the generated TVC quorum key shares */
|
|
1919
|
+
shareIds: string[];
|
|
1920
|
+
};
|
|
1683
1921
|
v1CreateUserTagIntent: {
|
|
1684
1922
|
/** @description Human-readable name for a User Tag. */
|
|
1685
1923
|
userTagName: string;
|
|
@@ -1894,6 +2132,25 @@ export type definitions = {
|
|
|
1894
2132
|
/** @description Unique identifier for a given Invitation. */
|
|
1895
2133
|
invitationId: string;
|
|
1896
2134
|
};
|
|
2135
|
+
v1DeleteMfaPolicyIntent: {
|
|
2136
|
+
/** @description The ID of the User to delete the MFA Policy from. */
|
|
2137
|
+
userId: string;
|
|
2138
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
2139
|
+
mfaPolicyId: string;
|
|
2140
|
+
};
|
|
2141
|
+
v1DeleteMfaPolicyRequest: {
|
|
2142
|
+
/** @enum {string} */
|
|
2143
|
+
type: "ACTIVITY_TYPE_DELETE_MFA_POLICY";
|
|
2144
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2145
|
+
timestampMs: string;
|
|
2146
|
+
/** @description Unique identifier for a given Organization. */
|
|
2147
|
+
organizationId: string;
|
|
2148
|
+
parameters: definitions["v1DeleteMfaPolicyIntent"];
|
|
2149
|
+
};
|
|
2150
|
+
v1DeleteMfaPolicyResult: {
|
|
2151
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
2152
|
+
mfaPolicyId: string;
|
|
2153
|
+
};
|
|
1897
2154
|
v1DeleteOauth2CredentialIntent: {
|
|
1898
2155
|
/** @description The ID of the OAuth 2.0 credential to delete */
|
|
1899
2156
|
oauth2CredentialId: string;
|
|
@@ -2214,6 +2471,224 @@ export type definitions = {
|
|
|
2214
2471
|
/** @description Unique identifier for a given Private Key. */
|
|
2215
2472
|
privateKeyId: string;
|
|
2216
2473
|
};
|
|
2474
|
+
v1EarnDeployWrapperIntent: {
|
|
2475
|
+
/** @description Address of the underlying yield vault to wrap (from the EarnVaults catalog). */
|
|
2476
|
+
vaultAddress: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2479
|
+
* @enum {string}
|
|
2480
|
+
*/
|
|
2481
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2482
|
+
};
|
|
2483
|
+
v1EarnDeployWrapperRequest: {
|
|
2484
|
+
/** @enum {string} */
|
|
2485
|
+
type: "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER";
|
|
2486
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2487
|
+
timestampMs: string;
|
|
2488
|
+
/** @description Unique identifier for a given Organization. */
|
|
2489
|
+
organizationId: string;
|
|
2490
|
+
parameters: definitions["v1EarnDeployWrapperIntent"];
|
|
2491
|
+
generateAppProofs?: boolean;
|
|
2492
|
+
};
|
|
2493
|
+
v1EarnDeployWrapperResult: {
|
|
2494
|
+
/** @description Address of the deployed fee wrapper (the deposit target). */
|
|
2495
|
+
wrapperAddress: string;
|
|
2496
|
+
/** @description Address of the deployed fee splitter (PaymentSplitter for Morpho, RevenueSplitterOwner for Aave). */
|
|
2497
|
+
splitterAddress: string;
|
|
2498
|
+
/** @description Transaction hash of the wrapper deployment. */
|
|
2499
|
+
deployTxHash: string;
|
|
2500
|
+
};
|
|
2501
|
+
v1EarnDepositIntent: {
|
|
2502
|
+
/** @description Address of the underlying yield vault to deposit into. The org must have an enabled wrapper for this vault. */
|
|
2503
|
+
vaultAddress: string;
|
|
2504
|
+
/** @description 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. */
|
|
2505
|
+
signWith: string;
|
|
2506
|
+
/** @description Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
|
|
2507
|
+
assets: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2510
|
+
* @enum {string}
|
|
2511
|
+
*/
|
|
2512
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2513
|
+
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2514
|
+
sponsor?: boolean;
|
|
2515
|
+
};
|
|
2516
|
+
v1EarnDepositRequest: {
|
|
2517
|
+
/** @enum {string} */
|
|
2518
|
+
type: "ACTIVITY_TYPE_EARN_DEPOSIT";
|
|
2519
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2520
|
+
timestampMs: string;
|
|
2521
|
+
/** @description Unique identifier for a given Organization. */
|
|
2522
|
+
organizationId: string;
|
|
2523
|
+
parameters: definitions["v1EarnDepositIntent"];
|
|
2524
|
+
generateAppProofs?: boolean;
|
|
2525
|
+
};
|
|
2526
|
+
v1EarnDepositResult: {
|
|
2527
|
+
/** @description Transaction hash of the deposit. */
|
|
2528
|
+
depositTxHash: string;
|
|
2529
|
+
/** @description Number of wrapper shares minted to the depositor, in raw on-chain units. */
|
|
2530
|
+
sharesMinted: string;
|
|
2531
|
+
/** @description Address of the fee wrapper the deposit was routed to. */
|
|
2532
|
+
wrapperAddress: string;
|
|
2533
|
+
/** @description Identifier to poll deposit status via EarnDepositStatus (for the async/sponsored path). */
|
|
2534
|
+
depositRequestId: string;
|
|
2535
|
+
};
|
|
2536
|
+
v1EarnDepositStatusRequest: {
|
|
2537
|
+
/** @description Unique identifier for a given Organization. */
|
|
2538
|
+
organizationId: string;
|
|
2539
|
+
/** @description The deposit_request_id returned by EarnDeposit. */
|
|
2540
|
+
depositRequestId: string;
|
|
2541
|
+
};
|
|
2542
|
+
v1EarnDepositStatusResponse: {
|
|
2543
|
+
/**
|
|
2544
|
+
* @description Status of the deposit.
|
|
2545
|
+
* @enum {string}
|
|
2546
|
+
*/
|
|
2547
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
2548
|
+
/** @description Transaction hash of the deposit, once available. */
|
|
2549
|
+
depositTxHash?: string;
|
|
2550
|
+
};
|
|
2551
|
+
v1EarnEnabledVault: {
|
|
2552
|
+
/** @description Address of the underlying yield vault. */
|
|
2553
|
+
vaultAddress?: string;
|
|
2554
|
+
/** @description Address of the deployed fee wrapper (the deposit target). */
|
|
2555
|
+
wrapperAddress?: string;
|
|
2556
|
+
/** @description Address of the deployed fee splitter. */
|
|
2557
|
+
splitterAddress?: string;
|
|
2558
|
+
/** @description CAIP-2 chain ID the vault lives on. */
|
|
2559
|
+
chainCaip2?: string;
|
|
2560
|
+
/** @description Yield provider for the vault ('morpho' or 'aave'). */
|
|
2561
|
+
provider?: string;
|
|
2562
|
+
/** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
|
|
2563
|
+
asset?: string;
|
|
2564
|
+
/** @description Current annual percentage yield, expressed as a decimal fraction. */
|
|
2565
|
+
apyPct?: string;
|
|
2566
|
+
/** @description Total deposited through this wrapper (wrapper TVL), in raw on-chain units of the underlying asset. */
|
|
2567
|
+
totalDeposited?: string;
|
|
2568
|
+
};
|
|
2569
|
+
v1EarnEnabledVaultsRequest: {
|
|
2570
|
+
/** @description Unique identifier for a given Organization. */
|
|
2571
|
+
organizationId: string;
|
|
2572
|
+
};
|
|
2573
|
+
v1EarnEnabledVaultsResponse: {
|
|
2574
|
+
/** @description The organization's deployed wrappers. */
|
|
2575
|
+
enabledVaults?: definitions["v1EarnEnabledVault"][];
|
|
2576
|
+
};
|
|
2577
|
+
v1EarnPosition: {
|
|
2578
|
+
/** @description Address of the underlying yield vault. */
|
|
2579
|
+
vaultAddress?: string;
|
|
2580
|
+
/** @description Address of the fee wrapper holding the position. */
|
|
2581
|
+
wrapperAddress?: string;
|
|
2582
|
+
/** @description CAIP-2 chain ID the vault lives on. */
|
|
2583
|
+
chainCaip2?: string;
|
|
2584
|
+
/** @description Yield provider for the vault ('morpho' or 'aave'). */
|
|
2585
|
+
provider?: string;
|
|
2586
|
+
/** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
|
|
2587
|
+
asset?: string;
|
|
2588
|
+
/** @description Number of wrapper shares held, in raw on-chain units. */
|
|
2589
|
+
shares?: string;
|
|
2590
|
+
/** @description Current value of the position in the underlying asset, in raw on-chain units (already net of the wrapper fee). */
|
|
2591
|
+
currentValue?: string;
|
|
2592
|
+
/** @description Net amount deposited, in raw on-chain units. */
|
|
2593
|
+
costBasis?: string;
|
|
2594
|
+
/** @description Yield grossed up for display, in raw on-chain units. */
|
|
2595
|
+
grossYield?: string;
|
|
2596
|
+
/** @description Combined Turnkey + client fee on the yield, in raw on-chain units. */
|
|
2597
|
+
projectedFee?: string;
|
|
2598
|
+
/** @description Yield net of fees, in raw on-chain units. */
|
|
2599
|
+
yieldLessFees?: string;
|
|
2600
|
+
};
|
|
2601
|
+
v1EarnPositionsRequest: {
|
|
2602
|
+
/** @description Unique identifier for a given Organization. */
|
|
2603
|
+
organizationId: string;
|
|
2604
|
+
/** @description The wallet address to return positions for. */
|
|
2605
|
+
walletAddress: string;
|
|
2606
|
+
};
|
|
2607
|
+
v1EarnPositionsResponse: {
|
|
2608
|
+
/** @description The wallet's active Earn positions. */
|
|
2609
|
+
positions?: definitions["v1EarnPosition"][];
|
|
2610
|
+
};
|
|
2611
|
+
v1EarnVault: {
|
|
2612
|
+
/** @description Address of the underlying yield vault. */
|
|
2613
|
+
vaultAddress?: string;
|
|
2614
|
+
/** @description CAIP-2 chain ID the vault lives on. */
|
|
2615
|
+
chainCaip2?: string;
|
|
2616
|
+
/** @description Yield provider for the vault ('morpho' or 'aave'). */
|
|
2617
|
+
provider?: string;
|
|
2618
|
+
/** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
|
|
2619
|
+
asset?: string;
|
|
2620
|
+
/** @description Token address of the vault's underlying asset. */
|
|
2621
|
+
assetAddress?: string;
|
|
2622
|
+
/** @description Total value locked in the vault, in raw on-chain units of the underlying asset. */
|
|
2623
|
+
tvl?: string;
|
|
2624
|
+
/** @description Current annual percentage yield, expressed as a decimal fraction (e.g., '0.0812' for 8.12%). */
|
|
2625
|
+
apyPct?: string;
|
|
2626
|
+
/** @description Whether the organization has enabled this vault. */
|
|
2627
|
+
enabled?: boolean;
|
|
2628
|
+
};
|
|
2629
|
+
v1EarnVaultsRequest: {
|
|
2630
|
+
/** @description Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
|
|
2631
|
+
organizationId: string;
|
|
2632
|
+
};
|
|
2633
|
+
v1EarnVaultsResponse: {
|
|
2634
|
+
/** @description The catalog of wrappable vaults, sorted by TVL descending. */
|
|
2635
|
+
vaults?: definitions["v1EarnVault"][];
|
|
2636
|
+
};
|
|
2637
|
+
v1EarnWithdrawIntent: {
|
|
2638
|
+
/** @description Address of the underlying yield vault to withdraw from. The org must have an enabled wrapper for this vault. */
|
|
2639
|
+
vaultAddress: string;
|
|
2640
|
+
/** @description 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. */
|
|
2641
|
+
signWith: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2644
|
+
* @enum {string}
|
|
2645
|
+
*/
|
|
2646
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2647
|
+
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2648
|
+
sponsor?: boolean;
|
|
2649
|
+
/**
|
|
2650
|
+
* @description 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).
|
|
2651
|
+
* @enum {string}
|
|
2652
|
+
*/
|
|
2653
|
+
amountType: "SHARES" | "ASSETS";
|
|
2654
|
+
/** @description The amount to withdraw, in raw on-chain units, interpreted according to amount_type. */
|
|
2655
|
+
amountValue: string;
|
|
2656
|
+
};
|
|
2657
|
+
v1EarnWithdrawRequest: {
|
|
2658
|
+
/** @enum {string} */
|
|
2659
|
+
type: "ACTIVITY_TYPE_EARN_WITHDRAW";
|
|
2660
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2661
|
+
timestampMs: string;
|
|
2662
|
+
/** @description Unique identifier for a given Organization. */
|
|
2663
|
+
organizationId: string;
|
|
2664
|
+
parameters: definitions["v1EarnWithdrawIntent"];
|
|
2665
|
+
generateAppProofs?: boolean;
|
|
2666
|
+
};
|
|
2667
|
+
v1EarnWithdrawResult: {
|
|
2668
|
+
/** @description Transaction hash of the withdrawal. */
|
|
2669
|
+
withdrawTxHash: string;
|
|
2670
|
+
/** @description Identifier to poll withdrawal status via EarnWithdrawStatus. */
|
|
2671
|
+
withdrawRequestId: string;
|
|
2672
|
+
/** @description Amount of the underlying asset received, in raw on-chain units. */
|
|
2673
|
+
assetsReceived: string;
|
|
2674
|
+
/** @description Number of wrapper shares burned, in raw on-chain units. */
|
|
2675
|
+
sharesBurned: string;
|
|
2676
|
+
};
|
|
2677
|
+
v1EarnWithdrawStatusRequest: {
|
|
2678
|
+
/** @description Unique identifier for a given Organization. */
|
|
2679
|
+
organizationId: string;
|
|
2680
|
+
/** @description The withdraw_request_id returned by EarnWithdraw. */
|
|
2681
|
+
withdrawRequestId: string;
|
|
2682
|
+
};
|
|
2683
|
+
v1EarnWithdrawStatusResponse: {
|
|
2684
|
+
/**
|
|
2685
|
+
* @description Status of the withdrawal.
|
|
2686
|
+
* @enum {string}
|
|
2687
|
+
*/
|
|
2688
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
2689
|
+
/** @description Transaction hash of the withdrawal, once available. */
|
|
2690
|
+
withdrawTxHash?: string;
|
|
2691
|
+
};
|
|
2217
2692
|
/** @enum {string} */
|
|
2218
2693
|
v1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
2219
2694
|
v1EmailAuthCustomizationParams: {
|
|
@@ -2326,6 +2801,45 @@ export type definitions = {
|
|
|
2326
2801
|
/** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
|
|
2327
2802
|
templateId?: string;
|
|
2328
2803
|
};
|
|
2804
|
+
v1EmailEvent: {
|
|
2805
|
+
/** @description Unique identifier for the email event */
|
|
2806
|
+
id: string;
|
|
2807
|
+
/** @description Unique identifier for the organization associated with the email event */
|
|
2808
|
+
organizationId: string;
|
|
2809
|
+
/** @description Provider message identifier. Multiple events can share the same message ID */
|
|
2810
|
+
messageId: string;
|
|
2811
|
+
/** @description Email event type, such as Send, Delivery, Bounce, or DeliveryDelay */
|
|
2812
|
+
eventType: string;
|
|
2813
|
+
/** @description Sender email address */
|
|
2814
|
+
fromAddress: string;
|
|
2815
|
+
/** @description Recipient email address */
|
|
2816
|
+
toAddress: string;
|
|
2817
|
+
/** @description SES tenant that sent the email, when available */
|
|
2818
|
+
senderTenant?: string;
|
|
2819
|
+
/** @description Event timestamp as millisecond epoch string */
|
|
2820
|
+
timestamp: string;
|
|
2821
|
+
/** @description Creation timestamp as millisecond epoch string */
|
|
2822
|
+
createdAt: string;
|
|
2823
|
+
/** @description Parsed email event details. Fields are populated based on event type and available provider metadata */
|
|
2824
|
+
details: definitions["v1EmailEventDetails"];
|
|
2825
|
+
};
|
|
2826
|
+
v1EmailEventDetails: {
|
|
2827
|
+
/** @description Bounce type for Bounce events */
|
|
2828
|
+
bounceType?: string;
|
|
2829
|
+
/** @description Bounce subtype for Bounce events */
|
|
2830
|
+
bounceSubType?: string;
|
|
2831
|
+
/** @description Diagnostic text for Bounce or DeliveryDelay events */
|
|
2832
|
+
diagnosticCode?: string;
|
|
2833
|
+
/** @description SMTP response for Delivery events */
|
|
2834
|
+
deliverySmtpResponse?: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* Format: uint64
|
|
2837
|
+
* @description Processing time in milliseconds for Delivery events
|
|
2838
|
+
*/
|
|
2839
|
+
deliveryProcessingTimeMillis?: string;
|
|
2840
|
+
/** @description Delay type for DeliveryDelay events */
|
|
2841
|
+
deliveryDelayType?: string;
|
|
2842
|
+
};
|
|
2329
2843
|
v1EnableAuthProxyIntent: {
|
|
2330
2844
|
[key: string]: unknown;
|
|
2331
2845
|
};
|
|
@@ -2333,6 +2847,14 @@ export type definitions = {
|
|
|
2333
2847
|
/** @description A User ID with permission to initiate authentication. */
|
|
2334
2848
|
userId: string;
|
|
2335
2849
|
};
|
|
2850
|
+
v1EthCallParams: {
|
|
2851
|
+
/** @description Recipient address as a hex string with 0x prefix. */
|
|
2852
|
+
to: string;
|
|
2853
|
+
/** @description Amount of native asset to send in wei. */
|
|
2854
|
+
value?: string;
|
|
2855
|
+
/** @description Hex-encoded call data for contract interactions. */
|
|
2856
|
+
data?: string;
|
|
2857
|
+
};
|
|
2336
2858
|
v1EthFailureDetails: {
|
|
2337
2859
|
/** @description Ethereum revert chain, ordered from outermost to innermost. */
|
|
2338
2860
|
revertChain?: definitions["v1RevertChainEntry"][];
|
|
@@ -2344,7 +2866,7 @@ export type definitions = {
|
|
|
2344
2866
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2345
2867
|
* @enum {string}
|
|
2346
2868
|
*/
|
|
2347
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2869
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2348
2870
|
};
|
|
2349
2871
|
v1EthSendRawTransactionRequest: {
|
|
2350
2872
|
/** @enum {string} */
|
|
@@ -2369,7 +2891,7 @@ export type definitions = {
|
|
|
2369
2891
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2370
2892
|
* @enum {string}
|
|
2371
2893
|
*/
|
|
2372
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2894
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2373
2895
|
/** @description Recipient address as a hex string with 0x prefix. */
|
|
2374
2896
|
to: string;
|
|
2375
2897
|
/** @description Amount of native asset to send in wei. */
|
|
@@ -2389,24 +2911,87 @@ export type definitions = {
|
|
|
2389
2911
|
/** @description The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
2390
2912
|
gasStationNonce?: string;
|
|
2391
2913
|
};
|
|
2914
|
+
v1EthSendTransactionIntentV2: {
|
|
2915
|
+
/** @description A wallet or private key address to sign with. This does not support private key IDs. */
|
|
2916
|
+
from: string;
|
|
2917
|
+
/**
|
|
2918
|
+
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2919
|
+
* @enum {string}
|
|
2920
|
+
*/
|
|
2921
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2922
|
+
/** @description 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. */
|
|
2923
|
+
sponsor?: boolean;
|
|
2924
|
+
/** @description Outer transaction nonce. Omit to auto-fetch. */
|
|
2925
|
+
nonce?: string;
|
|
2926
|
+
/** @description Maximum amount of gas for the outer transaction. Omit to auto-estimate. */
|
|
2927
|
+
gasLimit?: string;
|
|
2928
|
+
/** @description Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
|
|
2929
|
+
maxFeePerGas?: string;
|
|
2930
|
+
/** @description Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
|
|
2931
|
+
maxPriorityFeePerGas?: string;
|
|
2932
|
+
/** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2933
|
+
deadline?: string;
|
|
2934
|
+
/** @description The gas station delegate contract nonce. Only used when sponsor=true. Omit to auto-fetch. */
|
|
2935
|
+
gasStationNonce?: string;
|
|
2936
|
+
/** @description 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. */
|
|
2937
|
+
calls: definitions["v1EthCallParams"][];
|
|
2938
|
+
};
|
|
2392
2939
|
v1EthSendTransactionRequest: {
|
|
2393
2940
|
/** @enum {string} */
|
|
2394
|
-
type: "
|
|
2941
|
+
type: "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2";
|
|
2395
2942
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2396
2943
|
timestampMs: string;
|
|
2397
2944
|
/** @description Unique identifier for a given Organization. */
|
|
2398
2945
|
organizationId: string;
|
|
2399
|
-
parameters: definitions["
|
|
2946
|
+
parameters: definitions["v1EthSendTransactionIntentV2"];
|
|
2400
2947
|
generateAppProofs?: boolean;
|
|
2401
2948
|
};
|
|
2402
2949
|
v1EthSendTransactionResult: {
|
|
2403
2950
|
/** @description The send_transaction_status ID associated with the transaction submission */
|
|
2404
2951
|
sendTransactionStatusId: string;
|
|
2405
2952
|
};
|
|
2953
|
+
v1EthSendTransactionResultV2: {
|
|
2954
|
+
/** @description The send_transaction_status ID associated with the transaction submission */
|
|
2955
|
+
sendTransactionStatusId: string;
|
|
2956
|
+
};
|
|
2406
2957
|
v1EthSendTransactionStatus: {
|
|
2407
2958
|
/** @description The Ethereum transaction hash, if available. */
|
|
2408
2959
|
txHash?: string;
|
|
2409
2960
|
};
|
|
2961
|
+
v1ExecuteSwapIntent: {
|
|
2962
|
+
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
2963
|
+
inputToken: string;
|
|
2964
|
+
/** @description CAIP-19 asset ID for the output asset. May be on a different chain than `input_token` for cross-chain swaps. */
|
|
2965
|
+
outputToken: string;
|
|
2966
|
+
/** @description Base-unit amount of the input asset. */
|
|
2967
|
+
inputAmount: string;
|
|
2968
|
+
/** @description Wallet account address to sign and submit the swap transaction from. Cross-wallet swaps are not supported. */
|
|
2969
|
+
walletAccount: string;
|
|
2970
|
+
/** @description Whether to sponsor the resulting swap transaction via Gas Station when supported by the chain. */
|
|
2971
|
+
sponsor?: boolean;
|
|
2972
|
+
/** @description Maximum allowed slippage in basis points. */
|
|
2973
|
+
slippage?: string;
|
|
2974
|
+
/** @description Swap provider to execute with, as returned by get_swap_quote. When omitted, execution uses the default provider. */
|
|
2975
|
+
provider?: string;
|
|
2976
|
+
};
|
|
2977
|
+
v1ExecuteSwapRequest: {
|
|
2978
|
+
/** @enum {string} */
|
|
2979
|
+
type: "ACTIVITY_TYPE_EXECUTE_SWAP";
|
|
2980
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2981
|
+
timestampMs: string;
|
|
2982
|
+
/** @description Unique identifier for a given Organization. */
|
|
2983
|
+
organizationId: string;
|
|
2984
|
+
parameters: definitions["v1ExecuteSwapIntent"];
|
|
2985
|
+
generateAppProofs?: boolean;
|
|
2986
|
+
};
|
|
2987
|
+
v1ExecuteSwapResult: {
|
|
2988
|
+
/** @description The send_transaction_status ID associated with the swap transaction submission */
|
|
2989
|
+
sendTransactionStatusId: string;
|
|
2990
|
+
/** @description Swap provider used to build the transaction. */
|
|
2991
|
+
provider?: string;
|
|
2992
|
+
/** @description Quote identifier used for execution, if any. */
|
|
2993
|
+
quoteId?: string;
|
|
2994
|
+
};
|
|
2410
2995
|
v1ExportPrivateKeyIntent: {
|
|
2411
2996
|
/** @description Unique identifier for a given Private Key. */
|
|
2412
2997
|
privateKeyId: string;
|
|
@@ -2480,7 +3065,7 @@ export type definitions = {
|
|
|
2480
3065
|
value?: string;
|
|
2481
3066
|
};
|
|
2482
3067
|
/** @enum {string} */
|
|
2483
|
-
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";
|
|
3068
|
+
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";
|
|
2484
3069
|
/** @enum {string} */
|
|
2485
3070
|
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";
|
|
2486
3071
|
v1FiatOnRampCredential: {
|
|
@@ -2626,6 +3211,40 @@ export type definitions = {
|
|
|
2626
3211
|
/** @description Name of enclave app. */
|
|
2627
3212
|
appName: string;
|
|
2628
3213
|
};
|
|
3214
|
+
v1GetMfaPoliciesRequest: {
|
|
3215
|
+
/** @description Unique identifier for a given organization. */
|
|
3216
|
+
organizationId: string;
|
|
3217
|
+
/** @description Unique identifier for a given user. */
|
|
3218
|
+
userId: string;
|
|
3219
|
+
};
|
|
3220
|
+
v1GetMfaPoliciesResponse: {
|
|
3221
|
+
/** @description A list of multi-factor authentication policies for a user. */
|
|
3222
|
+
mfaPolicies: definitions["v1MfaPolicy"][];
|
|
3223
|
+
};
|
|
3224
|
+
v1GetMfaPolicyRequest: {
|
|
3225
|
+
/** @description Unique identifier for a given organization. */
|
|
3226
|
+
organizationId: string;
|
|
3227
|
+
/** @description Unique identifier for a given user. */
|
|
3228
|
+
userId: string;
|
|
3229
|
+
/** @description Unique identifier for a given MFA policy. */
|
|
3230
|
+
mfaPolicyId: string;
|
|
3231
|
+
};
|
|
3232
|
+
v1GetMfaPolicyResponse: {
|
|
3233
|
+
/** @description Multi-factor authentication policy for a user. */
|
|
3234
|
+
mfaPolicy: definitions["v1MfaPolicy"];
|
|
3235
|
+
};
|
|
3236
|
+
v1GetMfaStatusRequest: {
|
|
3237
|
+
/** @description Unique identifier for a given organization. */
|
|
3238
|
+
organizationId: string;
|
|
3239
|
+
/** @description The unique identifier of the activity to get MFA status for. */
|
|
3240
|
+
activityId: string;
|
|
3241
|
+
/** @description Optional user ID to filter MFA status for a specific user. */
|
|
3242
|
+
userId?: string;
|
|
3243
|
+
};
|
|
3244
|
+
v1GetMfaStatusResponse: {
|
|
3245
|
+
/** @description A list of MFA statuses for the activity's votes. */
|
|
3246
|
+
mfaStatuses: definitions["v1MfaStatus"][];
|
|
3247
|
+
};
|
|
2629
3248
|
v1GetNoncesRequest: {
|
|
2630
3249
|
/** @description Unique identifier for a given Organization. */
|
|
2631
3250
|
organizationId: string;
|
|
@@ -2635,7 +3254,7 @@ export type definitions = {
|
|
|
2635
3254
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2636
3255
|
* @enum {string}
|
|
2637
3256
|
*/
|
|
2638
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
3257
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2639
3258
|
/** @description Whether to fetch the standard on-chain nonce. */
|
|
2640
3259
|
nonce?: boolean;
|
|
2641
3260
|
/** @description Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -2763,6 +3382,24 @@ export type definitions = {
|
|
|
2763
3382
|
/** @description Structured error information including revert details, if available. */
|
|
2764
3383
|
error?: definitions["v1TxError"];
|
|
2765
3384
|
};
|
|
3385
|
+
v1GetSessionProfileRequest: {
|
|
3386
|
+
/** @description Unique identifier for a given organization. */
|
|
3387
|
+
organizationId: string;
|
|
3388
|
+
/** @description Unique identifier for a session profile. */
|
|
3389
|
+
sessionProfileId: string;
|
|
3390
|
+
};
|
|
3391
|
+
v1GetSessionProfileResponse: {
|
|
3392
|
+
/** @description Session profile for a user, including details about the user's authenticators, Oauth providers, API keys, and MFA policies. */
|
|
3393
|
+
sessionProfile: definitions["v1SessionProfile"];
|
|
3394
|
+
};
|
|
3395
|
+
v1GetSessionProfilesRequest: {
|
|
3396
|
+
/** @description Unique identifier for a given organization. */
|
|
3397
|
+
organizationId: string;
|
|
3398
|
+
};
|
|
3399
|
+
v1GetSessionProfilesResponse: {
|
|
3400
|
+
/** @description A list of session profiles for users in the organization. */
|
|
3401
|
+
sessionProfiles: definitions["v1SessionProfile"][];
|
|
3402
|
+
};
|
|
2766
3403
|
v1GetSmartContractInterfaceRequest: {
|
|
2767
3404
|
/** @description Unique identifier for a given organization. */
|
|
2768
3405
|
organizationId: string;
|
|
@@ -2795,6 +3432,64 @@ export type definitions = {
|
|
|
2795
3432
|
/** @description List of unique identifiers for the matching sub-organizations. */
|
|
2796
3433
|
organizationIds: string[];
|
|
2797
3434
|
};
|
|
3435
|
+
v1GetSwapQuoteRequest: {
|
|
3436
|
+
/** @description Unique identifier for a given Organization. */
|
|
3437
|
+
organizationId: string;
|
|
3438
|
+
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
3439
|
+
inputToken: string;
|
|
3440
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3441
|
+
outputToken: string;
|
|
3442
|
+
/** @description Base-unit amount of the input asset. */
|
|
3443
|
+
inputAmount: string;
|
|
3444
|
+
/** @description Maximum allowed slippage in basis points. */
|
|
3445
|
+
slippage?: string;
|
|
3446
|
+
};
|
|
3447
|
+
v1GetSwapQuoteResponse: {
|
|
3448
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
3449
|
+
inputToken: string;
|
|
3450
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3451
|
+
outputToken: string;
|
|
3452
|
+
/** @description Base-unit amount of the input asset. */
|
|
3453
|
+
inputAmount: string;
|
|
3454
|
+
/** @description One quote per available swap provider. */
|
|
3455
|
+
quotes: definitions["v1SwapQuoteOption"][];
|
|
3456
|
+
};
|
|
3457
|
+
v1GetSwapStatusRequest: {
|
|
3458
|
+
/** @description Unique identifier for a given Organization. */
|
|
3459
|
+
organizationId: string;
|
|
3460
|
+
/** @description Identifier returned in the execute_swap activity result. */
|
|
3461
|
+
sendTransactionStatusId: string;
|
|
3462
|
+
};
|
|
3463
|
+
v1GetSwapStatusResponse: {
|
|
3464
|
+
/** @description Normalized swap status. One of PENDING, COMPLETED, FAILED. */
|
|
3465
|
+
status: string;
|
|
3466
|
+
/** @description SAME_CHAIN or CROSS_CHAIN. */
|
|
3467
|
+
swapKind: string;
|
|
3468
|
+
/** @description Swap provider that executed the swap. */
|
|
3469
|
+
provider?: string;
|
|
3470
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
3471
|
+
inputToken: string;
|
|
3472
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3473
|
+
outputToken: string;
|
|
3474
|
+
/** @description Base-unit amount of the input asset. */
|
|
3475
|
+
inputAmount: string;
|
|
3476
|
+
/** @description Final included origin-chain transaction hash, when known. */
|
|
3477
|
+
originTxHash?: string;
|
|
3478
|
+
/** @description Destination-chain fill transaction hash; cross-chain COMPLETED only. */
|
|
3479
|
+
destinationTxHash?: string;
|
|
3480
|
+
/** @description Actual base-unit output amount on COMPLETED, when known. */
|
|
3481
|
+
outputAmount?: string;
|
|
3482
|
+
/** @description CAIP-19 of the asset the user holds after a FAILED swap, when recoverable. */
|
|
3483
|
+
settledAsset?: string;
|
|
3484
|
+
/** @description Base-unit amount of settled_asset. */
|
|
3485
|
+
settledAmount?: string;
|
|
3486
|
+
/** @description Transaction that delivered the settled funds, when applicable. */
|
|
3487
|
+
settlementTxHash?: string;
|
|
3488
|
+
/** @description Non-normative raw provider status passthrough; cross-chain only. */
|
|
3489
|
+
providerStatus?: string;
|
|
3490
|
+
/** @description Timestamp of the last swap status change, as millisecond epoch string. */
|
|
3491
|
+
updatedAt: string;
|
|
3492
|
+
};
|
|
2798
3493
|
v1GetTvcAppDeploymentsRequest: {
|
|
2799
3494
|
/** @description Unique identifier for a given organization. */
|
|
2800
3495
|
organizationId: string;
|
|
@@ -2823,6 +3518,26 @@ export type definitions = {
|
|
|
2823
3518
|
/** @description A list of TVC Apps. */
|
|
2824
3519
|
tvcApps: definitions["v1TvcApp"][];
|
|
2825
3520
|
};
|
|
3521
|
+
v1GetTvcDeploymentDebugLogsRequest: {
|
|
3522
|
+
/** @description Unique identifier for a given Organization. */
|
|
3523
|
+
organizationId: string;
|
|
3524
|
+
/** @description Unique identifier for a given TVC Deployment. The deployment must be running in debug mode. */
|
|
3525
|
+
deploymentId: string;
|
|
3526
|
+
/**
|
|
3527
|
+
* Format: int32
|
|
3528
|
+
* @description Limit returned history to the last N lines per replica. If unset or zero, no tail-line limit is applied.
|
|
3529
|
+
*/
|
|
3530
|
+
tailLines?: number;
|
|
3531
|
+
/**
|
|
3532
|
+
* Format: int64
|
|
3533
|
+
* @description 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.
|
|
3534
|
+
*/
|
|
3535
|
+
sinceSeconds?: string;
|
|
3536
|
+
};
|
|
3537
|
+
v1GetTvcDeploymentDebugLogsResponse: {
|
|
3538
|
+
/** @description Application log entries sorted by platform timestamp. */
|
|
3539
|
+
entries: definitions["v1TvcDeploymentDebugLogEntry"][];
|
|
3540
|
+
};
|
|
2826
3541
|
v1GetTvcDeploymentProvisioningDetailsRequest: {
|
|
2827
3542
|
/** @description Unique identifier for a given Organization. */
|
|
2828
3543
|
organizationId: string;
|
|
@@ -2920,7 +3635,7 @@ export type definitions = {
|
|
|
2920
3635
|
* @description 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.
|
|
2921
3636
|
* @enum {string}
|
|
2922
3637
|
*/
|
|
2923
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3638
|
+
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";
|
|
2924
3639
|
};
|
|
2925
3640
|
v1GetWalletAddressBalancesResponse: {
|
|
2926
3641
|
/** @description List of asset balances */
|
|
@@ -3472,6 +4187,20 @@ export type definitions = {
|
|
|
3472
4187
|
sparkClaimTransferIntent?: definitions["v1SparkClaimTransferIntent"];
|
|
3473
4188
|
sparkPrepareLightningReceiveIntent?: definitions["v1SparkPrepareLightningReceiveIntent"];
|
|
3474
4189
|
postTvcQuorumKeyShareIntent?: definitions["v1PostTvcQuorumKeyShareIntent"];
|
|
4190
|
+
ethSendTransactionIntentV2?: definitions["v1EthSendTransactionIntentV2"];
|
|
4191
|
+
createMfaPolicyIntent?: definitions["v1CreateMfaPolicyIntent"];
|
|
4192
|
+
updateMfaPolicyIntent?: definitions["v1UpdateMfaPolicyIntent"];
|
|
4193
|
+
deleteMfaPolicyIntent?: definitions["v1DeleteMfaPolicyIntent"];
|
|
4194
|
+
createSessionProfileIntent?: definitions["v1CreateSessionProfileIntent"];
|
|
4195
|
+
earnDeployWrapperIntent?: definitions["v1EarnDeployWrapperIntent"];
|
|
4196
|
+
earnDepositIntent?: definitions["v1EarnDepositIntent"];
|
|
4197
|
+
earnWithdrawIntent?: definitions["v1EarnWithdrawIntent"];
|
|
4198
|
+
upsertEarnClientFeeConfigIntent?: definitions["v1UpsertEarnClientFeeConfigIntent"];
|
|
4199
|
+
executeSwapIntent?: definitions["v1ExecuteSwapIntent"];
|
|
4200
|
+
upsertSwapConfigIntent?: definitions["v1UpsertSwapConfigIntent"];
|
|
4201
|
+
createTvcOperatorIntent?: definitions["v1CreateTvcOperatorIntent"];
|
|
4202
|
+
createTvcQuorumKeyIntent?: definitions["v1CreateTvcQuorumKeyIntent"];
|
|
4203
|
+
reEncryptTvcQuorumKeyShareIntent?: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
|
|
3475
4204
|
};
|
|
3476
4205
|
v1Invitation: {
|
|
3477
4206
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -3531,6 +4260,20 @@ export type definitions = {
|
|
|
3531
4260
|
/** @description Creation timestamp as millisecond epoch string. */
|
|
3532
4261
|
createdAt?: string;
|
|
3533
4262
|
};
|
|
4263
|
+
v1ListEmailEventsRequest: {
|
|
4264
|
+
/** @description Unique identifier for a given organization */
|
|
4265
|
+
organizationId: string;
|
|
4266
|
+
/** @description Recipient email address to list email events for */
|
|
4267
|
+
email: string;
|
|
4268
|
+
/** @description Optional email event type to filter by. Examples include Send, Delivery, Bounce, and DeliveryDelay */
|
|
4269
|
+
eventType?: string;
|
|
4270
|
+
/** @description Parameters used for cursor-based pagination */
|
|
4271
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
4272
|
+
};
|
|
4273
|
+
v1ListEmailEventsResponse: {
|
|
4274
|
+
/** @description Email events matching the requested filters, ordered by most recent event first. */
|
|
4275
|
+
emailEvents: definitions["v1EmailEvent"][];
|
|
4276
|
+
};
|
|
3534
4277
|
v1ListFiatOnRampCredentialsRequest: {
|
|
3535
4278
|
/** @description Unique identifier for a given Organization. */
|
|
3536
4279
|
organizationId: string;
|
|
@@ -3560,7 +4303,7 @@ export type definitions = {
|
|
|
3560
4303
|
* @description 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.
|
|
3561
4304
|
* @enum {string}
|
|
3562
4305
|
*/
|
|
3563
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4306
|
+
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";
|
|
3564
4307
|
};
|
|
3565
4308
|
v1ListSupportedAssetsResponse: {
|
|
3566
4309
|
/** @description List of asset metadata */
|
|
@@ -3581,14 +4324,51 @@ export type definitions = {
|
|
|
3581
4324
|
v1ListWebhookEndpointsResponse: {
|
|
3582
4325
|
webhookEndpoints: definitions["v1WebhookEndpointData"][];
|
|
3583
4326
|
};
|
|
4327
|
+
v1LogLine: {
|
|
4328
|
+
/** @description One log line, exactly as the application printed it (without the trailing newline) */
|
|
4329
|
+
content: string;
|
|
4330
|
+
/** @description When the line was logged. Stable across replays, so lines can be chronologically merged across pods */
|
|
4331
|
+
ts?: definitions["externaldatav1Timestamp"];
|
|
4332
|
+
};
|
|
3584
4333
|
v1LoginUsage: {
|
|
3585
4334
|
/** @description Public key for authentication */
|
|
3586
4335
|
publicKey: string;
|
|
3587
4336
|
};
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
4337
|
+
v1MfaPolicy: {
|
|
4338
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
4339
|
+
mfaPolicyId: string;
|
|
4340
|
+
/** @description Human-readable name for an MFA Policy. */
|
|
4341
|
+
mfaPolicyName: string;
|
|
4342
|
+
/** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
4343
|
+
condition: string;
|
|
4344
|
+
/** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
4345
|
+
requiredAuthenticationMethods: definitions["v1RequiredAuthenticationMethod"][];
|
|
4346
|
+
/**
|
|
4347
|
+
* Format: int64
|
|
4348
|
+
* @description The order in which this policy is evaluated relative to other MFA policies.
|
|
4349
|
+
*/
|
|
4350
|
+
order: number;
|
|
4351
|
+
/** @description Optional human-readable notes added by a User to describe a particular MFA policy. */
|
|
4352
|
+
notes?: string;
|
|
4353
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4354
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4355
|
+
};
|
|
4356
|
+
v1MfaStatus: {
|
|
4357
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
4358
|
+
mfaPolicyId: string;
|
|
4359
|
+
/** @description Unique identifier for a given User. */
|
|
4360
|
+
userId: string;
|
|
4361
|
+
/** @description Whether the MFA policy requirements are currently satisfied. */
|
|
4362
|
+
satisfied: boolean;
|
|
4363
|
+
/** @description A list of authentication methods already satisfied for this MFA policy. */
|
|
4364
|
+
satisfiedMethods: definitions["v1AuthenticationMethod"][];
|
|
4365
|
+
/** @description An ordered list of authentication requirements needed to satisfy this MFA policy. */
|
|
4366
|
+
requiredMethods: definitions["v1RequiredAuthenticationMethod"][];
|
|
4367
|
+
};
|
|
4368
|
+
/** @enum {string} */
|
|
4369
|
+
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";
|
|
4370
|
+
v1NOOPCodegenAnchorResponse: {
|
|
4371
|
+
stamp: definitions["v1WebAuthnStamp"];
|
|
3592
4372
|
tokenUsage?: definitions["v1TokenUsage"];
|
|
3593
4373
|
};
|
|
3594
4374
|
v1NativeRevertError: {
|
|
@@ -3667,6 +4447,8 @@ export type definitions = {
|
|
|
3667
4447
|
expirationSeconds?: string;
|
|
3668
4448
|
/** @description Invalidate all other previously generated Login API keys */
|
|
3669
4449
|
invalidateExisting?: boolean;
|
|
4450
|
+
/** @description 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. */
|
|
4451
|
+
sessionProfileId?: string;
|
|
3670
4452
|
};
|
|
3671
4453
|
v1OauthLoginRequest: {
|
|
3672
4454
|
/** @enum {string} */
|
|
@@ -3794,6 +4576,8 @@ export type definitions = {
|
|
|
3794
4576
|
invalidateExisting?: boolean;
|
|
3795
4577
|
/** @description 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. */
|
|
3796
4578
|
clientSignature?: definitions["v1ClientSignature"];
|
|
4579
|
+
/** @description 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. */
|
|
4580
|
+
sessionProfileId?: string;
|
|
3797
4581
|
};
|
|
3798
4582
|
v1OtpLoginIntentV2: {
|
|
3799
4583
|
/** @description Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
@@ -3806,6 +4590,8 @@ export type definitions = {
|
|
|
3806
4590
|
expirationSeconds?: string;
|
|
3807
4591
|
/** @description Invalidate all other previously generated Login sessions */
|
|
3808
4592
|
invalidateExisting?: boolean;
|
|
4593
|
+
/** @description 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. */
|
|
4594
|
+
sessionProfileId?: string;
|
|
3809
4595
|
};
|
|
3810
4596
|
v1OtpLoginRequest: {
|
|
3811
4597
|
/** @enum {string} */
|
|
@@ -3822,7 +4608,7 @@ export type definitions = {
|
|
|
3822
4608
|
session: string;
|
|
3823
4609
|
};
|
|
3824
4610
|
/** @enum {string} */
|
|
3825
|
-
v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR";
|
|
4611
|
+
v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS";
|
|
3826
4612
|
v1Pagination: {
|
|
3827
4613
|
/** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
|
|
3828
4614
|
limit?: string;
|
|
@@ -3924,6 +4710,34 @@ export type definitions = {
|
|
|
3924
4710
|
/** @description Signature from the share set operator approving the manifest */
|
|
3925
4711
|
signature: string;
|
|
3926
4712
|
};
|
|
4713
|
+
v1ReEncryptTvcQuorumKeyShareIntent: {
|
|
4714
|
+
/** @description Base64-encoded attestation document for the TVC deployment provisioning enclave */
|
|
4715
|
+
attestationDocB64: string;
|
|
4716
|
+
/** @description Base64-encoded manifest for the TVC deployment */
|
|
4717
|
+
manifestB64: string;
|
|
4718
|
+
/** @description Operator encryption public key used to encrypt the hosted TVC quorum key share */
|
|
4719
|
+
operatorEncryptKey: string;
|
|
4720
|
+
/** @description Operator signing public key used to approve the TVC manifest */
|
|
4721
|
+
operatorSignKey: string;
|
|
4722
|
+
/** @description Unique identifier of the TVC deployment receiving the re-encrypted quorum key share */
|
|
4723
|
+
deploymentId: string;
|
|
4724
|
+
/** @description Quorum key for the TVC application */
|
|
4725
|
+
appQuorumKey: string;
|
|
4726
|
+
};
|
|
4727
|
+
v1ReEncryptTvcQuorumKeyShareRequest: {
|
|
4728
|
+
/** @enum {string} */
|
|
4729
|
+
type: "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE";
|
|
4730
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4731
|
+
timestampMs: string;
|
|
4732
|
+
/** @description Unique identifier for a given Organization. */
|
|
4733
|
+
organizationId: string;
|
|
4734
|
+
parameters: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
|
|
4735
|
+
generateAppProofs?: boolean;
|
|
4736
|
+
};
|
|
4737
|
+
v1ReEncryptTvcQuorumKeyShareResult: {
|
|
4738
|
+
/** @description The unique identifier for the provisioning quorum key share */
|
|
4739
|
+
provisioningShareId: string;
|
|
4740
|
+
};
|
|
3927
4741
|
v1RecoverUserIntent: {
|
|
3928
4742
|
/** @description The new authenticator to register. */
|
|
3929
4743
|
authenticator: definitions["v1AuthenticatorParamsV2"];
|
|
@@ -3999,6 +4813,14 @@ export type definitions = {
|
|
|
3999
4813
|
/** @description Resulting list of organization features. */
|
|
4000
4814
|
features: definitions["v1Feature"][];
|
|
4001
4815
|
};
|
|
4816
|
+
v1RequiredAuthenticationMethod: {
|
|
4817
|
+
/** @description 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. */
|
|
4818
|
+
any: definitions["v1AuthenticationMethod"][];
|
|
4819
|
+
};
|
|
4820
|
+
v1RequiredAuthenticationMethodParams: {
|
|
4821
|
+
/** @description 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. */
|
|
4822
|
+
any: definitions["v1AuthenticationMethodParams"][];
|
|
4823
|
+
};
|
|
4002
4824
|
v1RestoreTvcDeploymentIntent: {
|
|
4003
4825
|
/** @description The unique identifier of the TVC deployment to restore. */
|
|
4004
4826
|
deploymentId: string;
|
|
@@ -4134,6 +4956,20 @@ export type definitions = {
|
|
|
4134
4956
|
sparkClaimTransferResult?: definitions["v1SparkClaimTransferResult"];
|
|
4135
4957
|
sparkPrepareLightningReceiveResult?: definitions["v1SparkPrepareLightningReceiveResult"];
|
|
4136
4958
|
postTvcQuorumKeyShareResult?: definitions["v1PostTvcQuorumKeyShareResult"];
|
|
4959
|
+
ethSendTransactionResultV2?: definitions["v1EthSendTransactionResultV2"];
|
|
4960
|
+
createMfaPolicyResult?: definitions["v1CreateMfaPolicyResult"];
|
|
4961
|
+
updateMfaPolicyResult?: definitions["v1UpdateMfaPolicyResult"];
|
|
4962
|
+
deleteMfaPolicyResult?: definitions["v1DeleteMfaPolicyResult"];
|
|
4963
|
+
createSessionProfileResult?: definitions["v1CreateSessionProfileResult"];
|
|
4964
|
+
earnDeployWrapperResult?: definitions["v1EarnDeployWrapperResult"];
|
|
4965
|
+
earnDepositResult?: definitions["v1EarnDepositResult"];
|
|
4966
|
+
earnWithdrawResult?: definitions["v1EarnWithdrawResult"];
|
|
4967
|
+
upsertEarnClientFeeConfigResult?: definitions["v1UpsertEarnClientFeeConfigResult"];
|
|
4968
|
+
executeSwapResult?: definitions["v1ExecuteSwapResult"];
|
|
4969
|
+
upsertSwapConfigResult?: definitions["v1UpsertSwapConfigResult"];
|
|
4970
|
+
createTvcOperatorResult?: definitions["v1CreateTvcOperatorResult"];
|
|
4971
|
+
createTvcQuorumKeyResult?: definitions["v1CreateTvcQuorumKeyResult"];
|
|
4972
|
+
reEncryptTvcQuorumKeyShareResult?: definitions["v1ReEncryptTvcQuorumKeyShareResult"];
|
|
4137
4973
|
};
|
|
4138
4974
|
v1RevertChainEntry: {
|
|
4139
4975
|
/** @description The contract address where the revert occurred. */
|
|
@@ -4221,6 +5057,20 @@ export type definitions = {
|
|
|
4221
5057
|
operator?: definitions["v1Operator"];
|
|
4222
5058
|
targets?: string[];
|
|
4223
5059
|
};
|
|
5060
|
+
v1SessionProfile: {
|
|
5061
|
+
/** @description Unique identifier for a given Session Profile. */
|
|
5062
|
+
sessionProfileId: string;
|
|
5063
|
+
/** @description Human-readable name for a Session Profile. */
|
|
5064
|
+
sessionProfileName: string;
|
|
5065
|
+
/** @description The specific scope that a session created with this profile is limited to. */
|
|
5066
|
+
scope: string;
|
|
5067
|
+
/** @description Optional window (in seconds) indicating how long sessions created with this profile should last. */
|
|
5068
|
+
expirationSeconds?: string;
|
|
5069
|
+
/** @description Optional human-readable notes added by a User to describe a particular Session Profile. */
|
|
5070
|
+
notes?: string;
|
|
5071
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
5072
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
5073
|
+
};
|
|
4224
5074
|
v1SetIpAllowlistIntent: {
|
|
4225
5075
|
/** @description 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. */
|
|
4226
5076
|
publicKey?: string;
|
|
@@ -4671,6 +5521,8 @@ export type definitions = {
|
|
|
4671
5521
|
expirationSeconds?: string;
|
|
4672
5522
|
/** @description Invalidate all other previously generated Login API keys */
|
|
4673
5523
|
invalidateExisting?: boolean;
|
|
5524
|
+
/** @description 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. */
|
|
5525
|
+
sessionProfileId?: string;
|
|
4674
5526
|
};
|
|
4675
5527
|
v1StampLoginRequest: {
|
|
4676
5528
|
/** @enum {string} */
|
|
@@ -4686,6 +5538,16 @@ export type definitions = {
|
|
|
4686
5538
|
/** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
4687
5539
|
session: string;
|
|
4688
5540
|
};
|
|
5541
|
+
v1SwapQuoteOption: {
|
|
5542
|
+
/** @description Identifier for this provider quote. */
|
|
5543
|
+
quoteId: string;
|
|
5544
|
+
/** @description Swap provider that produced this quote. Pass this value to execute_swap to force a specific provider. */
|
|
5545
|
+
provider: string;
|
|
5546
|
+
/** @description Estimated base-unit amount of the output asset. */
|
|
5547
|
+
outputAmount: string;
|
|
5548
|
+
/** @description Minimum acceptable base-unit amount of the output asset after slippage. */
|
|
5549
|
+
minOutputAmount?: string;
|
|
5550
|
+
};
|
|
4689
5551
|
/** @enum {string} */
|
|
4690
5552
|
v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
4691
5553
|
v1TestRateLimitsRequest: {
|
|
@@ -4734,6 +5596,8 @@ export type definitions = {
|
|
|
4734
5596
|
liveDeploymentId?: string;
|
|
4735
5597
|
/** @description The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
|
|
4736
5598
|
publicDomain: string;
|
|
5599
|
+
/** @description 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. */
|
|
5600
|
+
enableDebugModeDeployments: boolean;
|
|
4737
5601
|
};
|
|
4738
5602
|
v1TvcContainerSpec: {
|
|
4739
5603
|
/** @description The URL for this container image. */
|
|
@@ -4780,6 +5644,14 @@ export type definitions = {
|
|
|
4780
5644
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4781
5645
|
/** @description Whether or not the user wants this deployment deleted from the cluster. */
|
|
4782
5646
|
delete: boolean;
|
|
5647
|
+
/** @description Whether this deployment is running in debug mode. Debug-mode deployments expose enclave logs and cannot be remotely attested. */
|
|
5648
|
+
debugMode: boolean;
|
|
5649
|
+
};
|
|
5650
|
+
v1TvcDeploymentDebugLogEntry: {
|
|
5651
|
+
/** @description Application log line with its platform timestamp. */
|
|
5652
|
+
line: definitions["v1LogLine"];
|
|
5653
|
+
/** @description Public replica label that produced this log line, for example 'replica 2/3'. */
|
|
5654
|
+
replicaLabel: string;
|
|
4783
5655
|
};
|
|
4784
5656
|
/** @enum {string} */
|
|
4785
5657
|
v1TvcHealthCheckType: "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
@@ -4964,6 +5836,38 @@ export type definitions = {
|
|
|
4964
5836
|
/** @description Unique identifier of the Fiat On-Ramp credential that was updated */
|
|
4965
5837
|
fiatOnRampCredentialId: string;
|
|
4966
5838
|
};
|
|
5839
|
+
v1UpdateMfaPolicyIntent: {
|
|
5840
|
+
/** @description The ID of the User to update the MFA Policy for. */
|
|
5841
|
+
userId: string;
|
|
5842
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
5843
|
+
mfaPolicyId: string;
|
|
5844
|
+
/** @description Human-readable name for a Policy. */
|
|
5845
|
+
mfaPolicyName?: string;
|
|
5846
|
+
/** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
5847
|
+
condition?: string;
|
|
5848
|
+
/** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
5849
|
+
requiredAuthenticationMethods?: definitions["v1RequiredAuthenticationMethodParams"][];
|
|
5850
|
+
/**
|
|
5851
|
+
* Format: int64
|
|
5852
|
+
* @description The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first.
|
|
5853
|
+
*/
|
|
5854
|
+
order?: number;
|
|
5855
|
+
/** @description Notes for an MFA Policy. */
|
|
5856
|
+
notes?: string;
|
|
5857
|
+
};
|
|
5858
|
+
v1UpdateMfaPolicyRequest: {
|
|
5859
|
+
/** @enum {string} */
|
|
5860
|
+
type: "ACTIVITY_TYPE_UPDATE_MFA_POLICY";
|
|
5861
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5862
|
+
timestampMs: string;
|
|
5863
|
+
/** @description Unique identifier for a given Organization. */
|
|
5864
|
+
organizationId: string;
|
|
5865
|
+
parameters: definitions["v1UpdateMfaPolicyIntent"];
|
|
5866
|
+
};
|
|
5867
|
+
v1UpdateMfaPolicyResult: {
|
|
5868
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
5869
|
+
mfaPolicyId: string;
|
|
5870
|
+
};
|
|
4967
5871
|
v1UpdateOauth2CredentialIntent: {
|
|
4968
5872
|
/** @description The ID of the OAuth 2.0 credential to update */
|
|
4969
5873
|
oauth2CredentialId: string;
|
|
@@ -5277,6 +6181,25 @@ export type definitions = {
|
|
|
5277
6181
|
/** @description The updated webhook endpoint data. */
|
|
5278
6182
|
webhookEndpoint: definitions["v1WebhookEndpointData"];
|
|
5279
6183
|
};
|
|
6184
|
+
v1UpsertEarnClientFeeConfigIntent: {
|
|
6185
|
+
/** @description 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. */
|
|
6186
|
+
clientFeeBps: string;
|
|
6187
|
+
/** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
6188
|
+
clientFeeWallet: string;
|
|
6189
|
+
};
|
|
6190
|
+
v1UpsertEarnClientFeeConfigRequest: {
|
|
6191
|
+
/** @enum {string} */
|
|
6192
|
+
type: "ACTIVITY_TYPE_UPSERT_EARN_CLIENT_FEE_CONFIG";
|
|
6193
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
6194
|
+
timestampMs: string;
|
|
6195
|
+
/** @description Unique identifier for a given Organization. */
|
|
6196
|
+
organizationId: string;
|
|
6197
|
+
parameters: definitions["v1UpsertEarnClientFeeConfigIntent"];
|
|
6198
|
+
};
|
|
6199
|
+
v1UpsertEarnClientFeeConfigResult: {
|
|
6200
|
+
/** @description Transaction hash of the fee configuration update. */
|
|
6201
|
+
feeUpdateTxHash: string;
|
|
6202
|
+
};
|
|
5280
6203
|
v1UpsertGasUsageConfigIntent: {
|
|
5281
6204
|
/** @description Gas sponsorship USD limit for the billing organization window. */
|
|
5282
6205
|
orgWindowLimitUsd: string;
|
|
@@ -5293,6 +6216,25 @@ export type definitions = {
|
|
|
5293
6216
|
/** @description Unique identifier for the gas usage configuration that was created or updated. */
|
|
5294
6217
|
gasUsageConfigId: string;
|
|
5295
6218
|
};
|
|
6219
|
+
v1UpsertSwapConfigIntent: {
|
|
6220
|
+
feeReceiverWalletAddress?: string;
|
|
6221
|
+
feeBps?: string;
|
|
6222
|
+
provider?: string;
|
|
6223
|
+
};
|
|
6224
|
+
v1UpsertSwapConfigRequest: {
|
|
6225
|
+
/** @enum {string} */
|
|
6226
|
+
type: "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG";
|
|
6227
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
6228
|
+
timestampMs: string;
|
|
6229
|
+
/** @description Unique identifier for a given Organization. */
|
|
6230
|
+
organizationId: string;
|
|
6231
|
+
parameters: definitions["v1UpsertSwapConfigIntent"];
|
|
6232
|
+
generateAppProofs?: boolean;
|
|
6233
|
+
};
|
|
6234
|
+
v1UpsertSwapConfigResult: {
|
|
6235
|
+
feeReceiverWalletAddress?: string;
|
|
6236
|
+
feeBps?: string;
|
|
6237
|
+
};
|
|
5296
6238
|
/** @enum {string} */
|
|
5297
6239
|
v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
5298
6240
|
v1User: {
|
|
@@ -5314,6 +6256,8 @@ export type definitions = {
|
|
|
5314
6256
|
oauthProviders: definitions["v1OauthProvider"][];
|
|
5315
6257
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
5316
6258
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
6259
|
+
/** @description A list of MFA Policies that define multi-factor authentication requirements for this user. */
|
|
6260
|
+
mfaPolicies: definitions["v1MfaPolicy"][];
|
|
5317
6261
|
};
|
|
5318
6262
|
v1UserParams: {
|
|
5319
6263
|
/** @description Human-readable name for a User. */
|
|
@@ -5472,6 +6416,8 @@ export type definitions = {
|
|
|
5472
6416
|
publicKey?: string;
|
|
5473
6417
|
/** @description Wallet details for this account. This is only present when include_wallet_details=true. */
|
|
5474
6418
|
walletDetails?: definitions["v1Wallet"];
|
|
6419
|
+
/** @description Human-readable name for this Wallet Account, unique within the organization. */
|
|
6420
|
+
name?: string;
|
|
5475
6421
|
};
|
|
5476
6422
|
v1WalletAccountParams: {
|
|
5477
6423
|
/** @description Cryptographic curve used to generate a wallet Account. */
|
|
@@ -5482,6 +6428,8 @@ export type definitions = {
|
|
|
5482
6428
|
path: string;
|
|
5483
6429
|
/** @description Address format used to generate a wallet Acccount. */
|
|
5484
6430
|
addressFormat: definitions["v1AddressFormat"];
|
|
6431
|
+
/** @description Optional human-readable name for the account. */
|
|
6432
|
+
name?: string;
|
|
5485
6433
|
};
|
|
5486
6434
|
v1WalletKitSettingsParams: {
|
|
5487
6435
|
/**
|
|
@@ -5552,6 +6500,96 @@ export type definitions = {
|
|
|
5552
6500
|
};
|
|
5553
6501
|
};
|
|
5554
6502
|
export type operations = {
|
|
6503
|
+
/** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
|
|
6504
|
+
PublicApiService_EarnDepositStatus: {
|
|
6505
|
+
parameters: {
|
|
6506
|
+
body: {
|
|
6507
|
+
body: definitions["v1EarnDepositStatusRequest"];
|
|
6508
|
+
};
|
|
6509
|
+
};
|
|
6510
|
+
responses: {
|
|
6511
|
+
/** A successful response. */
|
|
6512
|
+
200: {
|
|
6513
|
+
schema: definitions["v1EarnDepositStatusResponse"];
|
|
6514
|
+
};
|
|
6515
|
+
/** An unexpected error response. */
|
|
6516
|
+
default: {
|
|
6517
|
+
schema: definitions["rpcStatus"];
|
|
6518
|
+
};
|
|
6519
|
+
};
|
|
6520
|
+
};
|
|
6521
|
+
/** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
|
|
6522
|
+
PublicApiService_EarnEnabledVaults: {
|
|
6523
|
+
parameters: {
|
|
6524
|
+
body: {
|
|
6525
|
+
body: definitions["v1EarnEnabledVaultsRequest"];
|
|
6526
|
+
};
|
|
6527
|
+
};
|
|
6528
|
+
responses: {
|
|
6529
|
+
/** A successful response. */
|
|
6530
|
+
200: {
|
|
6531
|
+
schema: definitions["v1EarnEnabledVaultsResponse"];
|
|
6532
|
+
};
|
|
6533
|
+
/** An unexpected error response. */
|
|
6534
|
+
default: {
|
|
6535
|
+
schema: definitions["rpcStatus"];
|
|
6536
|
+
};
|
|
6537
|
+
};
|
|
6538
|
+
};
|
|
6539
|
+
/** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
|
|
6540
|
+
PublicApiService_EarnPositions: {
|
|
6541
|
+
parameters: {
|
|
6542
|
+
body: {
|
|
6543
|
+
body: definitions["v1EarnPositionsRequest"];
|
|
6544
|
+
};
|
|
6545
|
+
};
|
|
6546
|
+
responses: {
|
|
6547
|
+
/** A successful response. */
|
|
6548
|
+
200: {
|
|
6549
|
+
schema: definitions["v1EarnPositionsResponse"];
|
|
6550
|
+
};
|
|
6551
|
+
/** An unexpected error response. */
|
|
6552
|
+
default: {
|
|
6553
|
+
schema: definitions["rpcStatus"];
|
|
6554
|
+
};
|
|
6555
|
+
};
|
|
6556
|
+
};
|
|
6557
|
+
/** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
|
|
6558
|
+
PublicApiService_EarnVaults: {
|
|
6559
|
+
parameters: {
|
|
6560
|
+
body: {
|
|
6561
|
+
body: definitions["v1EarnVaultsRequest"];
|
|
6562
|
+
};
|
|
6563
|
+
};
|
|
6564
|
+
responses: {
|
|
6565
|
+
/** A successful response. */
|
|
6566
|
+
200: {
|
|
6567
|
+
schema: definitions["v1EarnVaultsResponse"];
|
|
6568
|
+
};
|
|
6569
|
+
/** An unexpected error response. */
|
|
6570
|
+
default: {
|
|
6571
|
+
schema: definitions["rpcStatus"];
|
|
6572
|
+
};
|
|
6573
|
+
};
|
|
6574
|
+
};
|
|
6575
|
+
/** Poll the status of a withdrawal by its withdraw_request_id. */
|
|
6576
|
+
PublicApiService_EarnWithdrawStatus: {
|
|
6577
|
+
parameters: {
|
|
6578
|
+
body: {
|
|
6579
|
+
body: definitions["v1EarnWithdrawStatusRequest"];
|
|
6580
|
+
};
|
|
6581
|
+
};
|
|
6582
|
+
responses: {
|
|
6583
|
+
/** A successful response. */
|
|
6584
|
+
200: {
|
|
6585
|
+
schema: definitions["v1EarnWithdrawStatusResponse"];
|
|
6586
|
+
};
|
|
6587
|
+
/** An unexpected error response. */
|
|
6588
|
+
default: {
|
|
6589
|
+
schema: definitions["rpcStatus"];
|
|
6590
|
+
};
|
|
6591
|
+
};
|
|
6592
|
+
};
|
|
5555
6593
|
/** Get details about an activity. */
|
|
5556
6594
|
PublicApiService_GetActivity: {
|
|
5557
6595
|
parameters: {
|
|
@@ -5732,6 +6770,60 @@ export type operations = {
|
|
|
5732
6770
|
};
|
|
5733
6771
|
};
|
|
5734
6772
|
};
|
|
6773
|
+
/** Get all MFA policies for a user. */
|
|
6774
|
+
PublicApiService_GetMfaPolicies: {
|
|
6775
|
+
parameters: {
|
|
6776
|
+
body: {
|
|
6777
|
+
body: definitions["v1GetMfaPoliciesRequest"];
|
|
6778
|
+
};
|
|
6779
|
+
};
|
|
6780
|
+
responses: {
|
|
6781
|
+
/** A successful response. */
|
|
6782
|
+
200: {
|
|
6783
|
+
schema: definitions["v1GetMfaPoliciesResponse"];
|
|
6784
|
+
};
|
|
6785
|
+
/** An unexpected error response. */
|
|
6786
|
+
default: {
|
|
6787
|
+
schema: definitions["rpcStatus"];
|
|
6788
|
+
};
|
|
6789
|
+
};
|
|
6790
|
+
};
|
|
6791
|
+
/** Get a single MFA policy for a user. */
|
|
6792
|
+
PublicApiService_GetMfaPolicy: {
|
|
6793
|
+
parameters: {
|
|
6794
|
+
body: {
|
|
6795
|
+
body: definitions["v1GetMfaPolicyRequest"];
|
|
6796
|
+
};
|
|
6797
|
+
};
|
|
6798
|
+
responses: {
|
|
6799
|
+
/** A successful response. */
|
|
6800
|
+
200: {
|
|
6801
|
+
schema: definitions["v1GetMfaPolicyResponse"];
|
|
6802
|
+
};
|
|
6803
|
+
/** An unexpected error response. */
|
|
6804
|
+
default: {
|
|
6805
|
+
schema: definitions["rpcStatus"];
|
|
6806
|
+
};
|
|
6807
|
+
};
|
|
6808
|
+
};
|
|
6809
|
+
/** Get the MFA status of an activity for a specific user or all voting users. */
|
|
6810
|
+
PublicApiService_GetMfaStatus: {
|
|
6811
|
+
parameters: {
|
|
6812
|
+
body: {
|
|
6813
|
+
body: definitions["v1GetMfaStatusRequest"];
|
|
6814
|
+
};
|
|
6815
|
+
};
|
|
6816
|
+
responses: {
|
|
6817
|
+
/** A successful response. */
|
|
6818
|
+
200: {
|
|
6819
|
+
schema: definitions["v1GetMfaStatusResponse"];
|
|
6820
|
+
};
|
|
6821
|
+
/** An unexpected error response. */
|
|
6822
|
+
default: {
|
|
6823
|
+
schema: definitions["rpcStatus"];
|
|
6824
|
+
};
|
|
6825
|
+
};
|
|
6826
|
+
};
|
|
5735
6827
|
/** Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions. */
|
|
5736
6828
|
PublicApiService_GetNonces: {
|
|
5737
6829
|
parameters: {
|
|
@@ -5912,6 +7004,42 @@ export type operations = {
|
|
|
5912
7004
|
};
|
|
5913
7005
|
};
|
|
5914
7006
|
};
|
|
7007
|
+
/** Get a single session profile for an organization. */
|
|
7008
|
+
PublicApiService_GetSessionProfile: {
|
|
7009
|
+
parameters: {
|
|
7010
|
+
body: {
|
|
7011
|
+
body: definitions["v1GetSessionProfileRequest"];
|
|
7012
|
+
};
|
|
7013
|
+
};
|
|
7014
|
+
responses: {
|
|
7015
|
+
/** A successful response. */
|
|
7016
|
+
200: {
|
|
7017
|
+
schema: definitions["v1GetSessionProfileResponse"];
|
|
7018
|
+
};
|
|
7019
|
+
/** An unexpected error response. */
|
|
7020
|
+
default: {
|
|
7021
|
+
schema: definitions["rpcStatus"];
|
|
7022
|
+
};
|
|
7023
|
+
};
|
|
7024
|
+
};
|
|
7025
|
+
/** Get all session profiles for an organization. */
|
|
7026
|
+
PublicApiService_GetSessionProfiles: {
|
|
7027
|
+
parameters: {
|
|
7028
|
+
body: {
|
|
7029
|
+
body: definitions["v1GetSessionProfilesRequest"];
|
|
7030
|
+
};
|
|
7031
|
+
};
|
|
7032
|
+
responses: {
|
|
7033
|
+
/** A successful response. */
|
|
7034
|
+
200: {
|
|
7035
|
+
schema: definitions["v1GetSessionProfilesResponse"];
|
|
7036
|
+
};
|
|
7037
|
+
/** An unexpected error response. */
|
|
7038
|
+
default: {
|
|
7039
|
+
schema: definitions["rpcStatus"];
|
|
7040
|
+
};
|
|
7041
|
+
};
|
|
7042
|
+
};
|
|
5915
7043
|
/** Get details about a smart contract interface. */
|
|
5916
7044
|
PublicApiService_GetSmartContractInterface: {
|
|
5917
7045
|
parameters: {
|
|
@@ -5930,6 +7058,42 @@ export type operations = {
|
|
|
5930
7058
|
};
|
|
5931
7059
|
};
|
|
5932
7060
|
};
|
|
7061
|
+
/** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
|
|
7062
|
+
PublicApiService_GetSwapQuote: {
|
|
7063
|
+
parameters: {
|
|
7064
|
+
body: {
|
|
7065
|
+
body: definitions["v1GetSwapQuoteRequest"];
|
|
7066
|
+
};
|
|
7067
|
+
};
|
|
7068
|
+
responses: {
|
|
7069
|
+
/** A successful response. */
|
|
7070
|
+
200: {
|
|
7071
|
+
schema: definitions["v1GetSwapQuoteResponse"];
|
|
7072
|
+
};
|
|
7073
|
+
/** An unexpected error response. */
|
|
7074
|
+
default: {
|
|
7075
|
+
schema: definitions["rpcStatus"];
|
|
7076
|
+
};
|
|
7077
|
+
};
|
|
7078
|
+
};
|
|
7079
|
+
/** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
|
|
7080
|
+
PublicApiService_GetSwapStatus: {
|
|
7081
|
+
parameters: {
|
|
7082
|
+
body: {
|
|
7083
|
+
body: definitions["v1GetSwapStatusRequest"];
|
|
7084
|
+
};
|
|
7085
|
+
};
|
|
7086
|
+
responses: {
|
|
7087
|
+
/** A successful response. */
|
|
7088
|
+
200: {
|
|
7089
|
+
schema: definitions["v1GetSwapStatusResponse"];
|
|
7090
|
+
};
|
|
7091
|
+
/** An unexpected error response. */
|
|
7092
|
+
default: {
|
|
7093
|
+
schema: definitions["rpcStatus"];
|
|
7094
|
+
};
|
|
7095
|
+
};
|
|
7096
|
+
};
|
|
5933
7097
|
/** Get details about a single TVC App */
|
|
5934
7098
|
PublicApiService_GetTvcApp: {
|
|
5935
7099
|
parameters: {
|
|
@@ -5966,6 +7130,24 @@ export type operations = {
|
|
|
5966
7130
|
};
|
|
5967
7131
|
};
|
|
5968
7132
|
};
|
|
7133
|
+
/** Get a bounded window of application logs from a debug-mode TVC deployment. Returned lines are collected from every running replica and sorted by platform timestamp. */
|
|
7134
|
+
PublicApiService_GetTvcDeploymentDebugLogs: {
|
|
7135
|
+
parameters: {
|
|
7136
|
+
body: {
|
|
7137
|
+
body: definitions["v1GetTvcDeploymentDebugLogsRequest"];
|
|
7138
|
+
};
|
|
7139
|
+
};
|
|
7140
|
+
responses: {
|
|
7141
|
+
/** A successful response. */
|
|
7142
|
+
200: {
|
|
7143
|
+
schema: definitions["v1GetTvcDeploymentDebugLogsResponse"];
|
|
7144
|
+
};
|
|
7145
|
+
/** An unexpected error response. */
|
|
7146
|
+
default: {
|
|
7147
|
+
schema: definitions["rpcStatus"];
|
|
7148
|
+
};
|
|
7149
|
+
};
|
|
7150
|
+
};
|
|
5969
7151
|
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
5970
7152
|
PublicApiService_GetTvcDeploymentProvisioningDetails: {
|
|
5971
7153
|
parameters: {
|
|
@@ -6038,7 +7220,7 @@ export type operations = {
|
|
|
6038
7220
|
};
|
|
6039
7221
|
};
|
|
6040
7222
|
};
|
|
6041
|
-
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
7223
|
+
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
|
|
6042
7224
|
PublicApiService_GetWalletAddressBalances: {
|
|
6043
7225
|
parameters: {
|
|
6044
7226
|
body: {
|
|
@@ -6092,6 +7274,24 @@ export type operations = {
|
|
|
6092
7274
|
};
|
|
6093
7275
|
};
|
|
6094
7276
|
};
|
|
7277
|
+
/** List email events for the organization. */
|
|
7278
|
+
PublicApiService_ListEmailEvents: {
|
|
7279
|
+
parameters: {
|
|
7280
|
+
body: {
|
|
7281
|
+
body: definitions["v1ListEmailEventsRequest"];
|
|
7282
|
+
};
|
|
7283
|
+
};
|
|
7284
|
+
responses: {
|
|
7285
|
+
/** A successful response. */
|
|
7286
|
+
200: {
|
|
7287
|
+
schema: definitions["v1ListEmailEventsResponse"];
|
|
7288
|
+
};
|
|
7289
|
+
/** An unexpected error response. */
|
|
7290
|
+
default: {
|
|
7291
|
+
schema: definitions["rpcStatus"];
|
|
7292
|
+
};
|
|
7293
|
+
};
|
|
7294
|
+
};
|
|
6095
7295
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
6096
7296
|
PublicApiService_ListFiatOnRampCredentials: {
|
|
6097
7297
|
parameters: {
|
|
@@ -6218,7 +7418,7 @@ export type operations = {
|
|
|
6218
7418
|
};
|
|
6219
7419
|
};
|
|
6220
7420
|
};
|
|
6221
|
-
/** List supported assets for the specified network.
|
|
7421
|
+
/** List supported assets for the specified network. */
|
|
6222
7422
|
PublicApiService_ListSupportedAssets: {
|
|
6223
7423
|
parameters: {
|
|
6224
7424
|
body: {
|
|
@@ -6524,6 +7724,24 @@ export type operations = {
|
|
|
6524
7724
|
};
|
|
6525
7725
|
};
|
|
6526
7726
|
};
|
|
7727
|
+
/** Create a new MFA policy for a user. */
|
|
7728
|
+
PublicApiService_CreateMfaPolicy: {
|
|
7729
|
+
parameters: {
|
|
7730
|
+
body: {
|
|
7731
|
+
body: definitions["v1CreateMfaPolicyRequest"];
|
|
7732
|
+
};
|
|
7733
|
+
};
|
|
7734
|
+
responses: {
|
|
7735
|
+
/** A successful response. */
|
|
7736
|
+
200: {
|
|
7737
|
+
schema: definitions["v1ActivityResponse"];
|
|
7738
|
+
};
|
|
7739
|
+
/** An unexpected error response. */
|
|
7740
|
+
default: {
|
|
7741
|
+
schema: definitions["rpcStatus"];
|
|
7742
|
+
};
|
|
7743
|
+
};
|
|
7744
|
+
};
|
|
6527
7745
|
/** Enable authentication for end users with an OAuth 2.0 provider */
|
|
6528
7746
|
PublicApiService_CreateOauth2Credential: {
|
|
6529
7747
|
parameters: {
|
|
@@ -6668,6 +7886,24 @@ export type operations = {
|
|
|
6668
7886
|
};
|
|
6669
7887
|
};
|
|
6670
7888
|
};
|
|
7889
|
+
/** Create a new session profile for an organization. */
|
|
7890
|
+
PublicApiService_CreateSessionProfile: {
|
|
7891
|
+
parameters: {
|
|
7892
|
+
body: {
|
|
7893
|
+
body: definitions["v1CreateSessionProfileRequest"];
|
|
7894
|
+
};
|
|
7895
|
+
};
|
|
7896
|
+
responses: {
|
|
7897
|
+
/** A successful response. */
|
|
7898
|
+
200: {
|
|
7899
|
+
schema: definitions["v1ActivityResponse"];
|
|
7900
|
+
};
|
|
7901
|
+
/** An unexpected error response. */
|
|
7902
|
+
default: {
|
|
7903
|
+
schema: definitions["rpcStatus"];
|
|
7904
|
+
};
|
|
7905
|
+
};
|
|
7906
|
+
};
|
|
6671
7907
|
/** Create an ABI/IDL in JSON. */
|
|
6672
7908
|
PublicApiService_CreateSmartContractInterface: {
|
|
6673
7909
|
parameters: {
|
|
@@ -6758,6 +7994,42 @@ export type operations = {
|
|
|
6758
7994
|
};
|
|
6759
7995
|
};
|
|
6760
7996
|
};
|
|
7997
|
+
/** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
|
|
7998
|
+
PublicApiService_CreateTvcOperator: {
|
|
7999
|
+
parameters: {
|
|
8000
|
+
body: {
|
|
8001
|
+
body: definitions["v1CreateTvcOperatorRequest"];
|
|
8002
|
+
};
|
|
8003
|
+
};
|
|
8004
|
+
responses: {
|
|
8005
|
+
/** A successful response. */
|
|
8006
|
+
200: {
|
|
8007
|
+
schema: definitions["v1ActivityResponse"];
|
|
8008
|
+
};
|
|
8009
|
+
/** An unexpected error response. */
|
|
8010
|
+
default: {
|
|
8011
|
+
schema: definitions["rpcStatus"];
|
|
8012
|
+
};
|
|
8013
|
+
};
|
|
8014
|
+
};
|
|
8015
|
+
/** Create a hosted TVC quorum key and encrypted shares. */
|
|
8016
|
+
PublicApiService_CreateTvcQuorumKey: {
|
|
8017
|
+
parameters: {
|
|
8018
|
+
body: {
|
|
8019
|
+
body: definitions["v1CreateTvcQuorumKeyRequest"];
|
|
8020
|
+
};
|
|
8021
|
+
};
|
|
8022
|
+
responses: {
|
|
8023
|
+
/** A successful response. */
|
|
8024
|
+
200: {
|
|
8025
|
+
schema: definitions["v1ActivityResponse"];
|
|
8026
|
+
};
|
|
8027
|
+
/** An unexpected error response. */
|
|
8028
|
+
default: {
|
|
8029
|
+
schema: definitions["rpcStatus"];
|
|
8030
|
+
};
|
|
8031
|
+
};
|
|
8032
|
+
};
|
|
6761
8033
|
/** Create a user tag and add it to users. */
|
|
6762
8034
|
PublicApiService_CreateUserTag: {
|
|
6763
8035
|
parameters: {
|
|
@@ -6920,6 +8192,24 @@ export type operations = {
|
|
|
6920
8192
|
};
|
|
6921
8193
|
};
|
|
6922
8194
|
};
|
|
8195
|
+
/** Delete an MFA policy for a user. */
|
|
8196
|
+
PublicApiService_DeleteMfaPolicy: {
|
|
8197
|
+
parameters: {
|
|
8198
|
+
body: {
|
|
8199
|
+
body: definitions["v1DeleteMfaPolicyRequest"];
|
|
8200
|
+
};
|
|
8201
|
+
};
|
|
8202
|
+
responses: {
|
|
8203
|
+
/** A successful response. */
|
|
8204
|
+
200: {
|
|
8205
|
+
schema: definitions["v1ActivityResponse"];
|
|
8206
|
+
};
|
|
8207
|
+
/** An unexpected error response. */
|
|
8208
|
+
default: {
|
|
8209
|
+
schema: definitions["rpcStatus"];
|
|
8210
|
+
};
|
|
8211
|
+
};
|
|
8212
|
+
};
|
|
6923
8213
|
/** Disable authentication for end users with an OAuth 2.0 provider */
|
|
6924
8214
|
PublicApiService_DeleteOauth2Credential: {
|
|
6925
8215
|
parameters: {
|
|
@@ -7190,6 +8480,60 @@ export type operations = {
|
|
|
7190
8480
|
};
|
|
7191
8481
|
};
|
|
7192
8482
|
};
|
|
8483
|
+
/** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
|
|
8484
|
+
PublicApiService_EarnDeployWrapper: {
|
|
8485
|
+
parameters: {
|
|
8486
|
+
body: {
|
|
8487
|
+
body: definitions["v1EarnDeployWrapperRequest"];
|
|
8488
|
+
};
|
|
8489
|
+
};
|
|
8490
|
+
responses: {
|
|
8491
|
+
/** A successful response. */
|
|
8492
|
+
200: {
|
|
8493
|
+
schema: definitions["v1ActivityResponse"];
|
|
8494
|
+
};
|
|
8495
|
+
/** An unexpected error response. */
|
|
8496
|
+
default: {
|
|
8497
|
+
schema: definitions["rpcStatus"];
|
|
8498
|
+
};
|
|
8499
|
+
};
|
|
8500
|
+
};
|
|
8501
|
+
/** Deposit assets from a wallet into an enabled yield vault. */
|
|
8502
|
+
PublicApiService_EarnDeposit: {
|
|
8503
|
+
parameters: {
|
|
8504
|
+
body: {
|
|
8505
|
+
body: definitions["v1EarnDepositRequest"];
|
|
8506
|
+
};
|
|
8507
|
+
};
|
|
8508
|
+
responses: {
|
|
8509
|
+
/** A successful response. */
|
|
8510
|
+
200: {
|
|
8511
|
+
schema: definitions["v1ActivityResponse"];
|
|
8512
|
+
};
|
|
8513
|
+
/** An unexpected error response. */
|
|
8514
|
+
default: {
|
|
8515
|
+
schema: definitions["rpcStatus"];
|
|
8516
|
+
};
|
|
8517
|
+
};
|
|
8518
|
+
};
|
|
8519
|
+
/** Withdraw assets or redeem shares from an enabled yield vault. */
|
|
8520
|
+
PublicApiService_EarnWithdraw: {
|
|
8521
|
+
parameters: {
|
|
8522
|
+
body: {
|
|
8523
|
+
body: definitions["v1EarnWithdrawRequest"];
|
|
8524
|
+
};
|
|
8525
|
+
};
|
|
8526
|
+
responses: {
|
|
8527
|
+
/** A successful response. */
|
|
8528
|
+
200: {
|
|
8529
|
+
schema: definitions["v1ActivityResponse"];
|
|
8530
|
+
};
|
|
8531
|
+
/** An unexpected error response. */
|
|
8532
|
+
default: {
|
|
8533
|
+
schema: definitions["rpcStatus"];
|
|
8534
|
+
};
|
|
8535
|
+
};
|
|
8536
|
+
};
|
|
7193
8537
|
/** Authenticate a user via email. */
|
|
7194
8538
|
PublicApiService_EmailAuth: {
|
|
7195
8539
|
parameters: {
|
|
@@ -7244,6 +8588,24 @@ export type operations = {
|
|
|
7244
8588
|
};
|
|
7245
8589
|
};
|
|
7246
8590
|
};
|
|
8591
|
+
/** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
|
|
8592
|
+
PublicApiService_ExecuteSwap: {
|
|
8593
|
+
parameters: {
|
|
8594
|
+
body: {
|
|
8595
|
+
body: definitions["v1ExecuteSwapRequest"];
|
|
8596
|
+
};
|
|
8597
|
+
};
|
|
8598
|
+
responses: {
|
|
8599
|
+
/** A successful response. */
|
|
8600
|
+
200: {
|
|
8601
|
+
schema: definitions["v1ActivityResponse"];
|
|
8602
|
+
};
|
|
8603
|
+
/** An unexpected error response. */
|
|
8604
|
+
default: {
|
|
8605
|
+
schema: definitions["rpcStatus"];
|
|
8606
|
+
};
|
|
8607
|
+
};
|
|
8608
|
+
};
|
|
7247
8609
|
/** Export a private key. */
|
|
7248
8610
|
PublicApiService_ExportPrivateKey: {
|
|
7249
8611
|
parameters: {
|
|
@@ -7550,6 +8912,24 @@ export type operations = {
|
|
|
7550
8912
|
};
|
|
7551
8913
|
};
|
|
7552
8914
|
};
|
|
8915
|
+
/** Re-encrypt a hosted TVC quorum key share for a deployment. */
|
|
8916
|
+
PublicApiService_ReEncryptTvcQuorumKeyShare: {
|
|
8917
|
+
parameters: {
|
|
8918
|
+
body: {
|
|
8919
|
+
body: definitions["v1ReEncryptTvcQuorumKeyShareRequest"];
|
|
8920
|
+
};
|
|
8921
|
+
};
|
|
8922
|
+
responses: {
|
|
8923
|
+
/** A successful response. */
|
|
8924
|
+
200: {
|
|
8925
|
+
schema: definitions["v1ActivityResponse"];
|
|
8926
|
+
};
|
|
8927
|
+
/** An unexpected error response. */
|
|
8928
|
+
default: {
|
|
8929
|
+
schema: definitions["rpcStatus"];
|
|
8930
|
+
};
|
|
8931
|
+
};
|
|
8932
|
+
};
|
|
7553
8933
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
7554
8934
|
PublicApiService_RecoverUser: {
|
|
7555
8935
|
parameters: {
|
|
@@ -7874,6 +9254,24 @@ export type operations = {
|
|
|
7874
9254
|
};
|
|
7875
9255
|
};
|
|
7876
9256
|
};
|
|
9257
|
+
/** Update an MFA policy for a user. */
|
|
9258
|
+
PublicApiService_UpdateMfaPolicy: {
|
|
9259
|
+
parameters: {
|
|
9260
|
+
body: {
|
|
9261
|
+
body: definitions["v1UpdateMfaPolicyRequest"];
|
|
9262
|
+
};
|
|
9263
|
+
};
|
|
9264
|
+
responses: {
|
|
9265
|
+
/** A successful response. */
|
|
9266
|
+
200: {
|
|
9267
|
+
schema: definitions["v1ActivityResponse"];
|
|
9268
|
+
};
|
|
9269
|
+
/** An unexpected error response. */
|
|
9270
|
+
default: {
|
|
9271
|
+
schema: definitions["rpcStatus"];
|
|
9272
|
+
};
|
|
9273
|
+
};
|
|
9274
|
+
};
|
|
7877
9275
|
/** Update an OAuth 2.0 provider credential */
|
|
7878
9276
|
PublicApiService_UpdateOauth2Credential: {
|
|
7879
9277
|
parameters: {
|
|
@@ -8090,6 +9488,42 @@ export type operations = {
|
|
|
8090
9488
|
};
|
|
8091
9489
|
};
|
|
8092
9490
|
};
|
|
9491
|
+
/** Set the client's Earn fee rate and payout wallet for the organization. */
|
|
9492
|
+
PublicApiService_UpsertEarnClientFeeConfig: {
|
|
9493
|
+
parameters: {
|
|
9494
|
+
body: {
|
|
9495
|
+
body: definitions["v1UpsertEarnClientFeeConfigRequest"];
|
|
9496
|
+
};
|
|
9497
|
+
};
|
|
9498
|
+
responses: {
|
|
9499
|
+
/** A successful response. */
|
|
9500
|
+
200: {
|
|
9501
|
+
schema: definitions["v1ActivityResponse"];
|
|
9502
|
+
};
|
|
9503
|
+
/** An unexpected error response. */
|
|
9504
|
+
default: {
|
|
9505
|
+
schema: definitions["rpcStatus"];
|
|
9506
|
+
};
|
|
9507
|
+
};
|
|
9508
|
+
};
|
|
9509
|
+
/** Enable or disable swap configuration for an organization. */
|
|
9510
|
+
PublicApiService_UpsertSwapConfig: {
|
|
9511
|
+
parameters: {
|
|
9512
|
+
body: {
|
|
9513
|
+
body: definitions["v1UpsertSwapConfigRequest"];
|
|
9514
|
+
};
|
|
9515
|
+
};
|
|
9516
|
+
responses: {
|
|
9517
|
+
/** A successful response. */
|
|
9518
|
+
200: {
|
|
9519
|
+
schema: definitions["v1ActivityResponse"];
|
|
9520
|
+
};
|
|
9521
|
+
/** An unexpected error response. */
|
|
9522
|
+
default: {
|
|
9523
|
+
schema: definitions["rpcStatus"];
|
|
9524
|
+
};
|
|
9525
|
+
};
|
|
9526
|
+
};
|
|
8093
9527
|
/** Verify a generic OTP. */
|
|
8094
9528
|
PublicApiService_VerifyOtp: {
|
|
8095
9529
|
parameters: {
|