@turnkey/http 4.1.1 → 6.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.
Files changed (24) hide show
  1. package/CHANGELOG.md +75 -0
  2. package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +515 -5
  3. package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
  4. package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +855 -5
  5. package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
  6. package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +855 -5
  7. package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
  8. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +75730 -8740
  9. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
  10. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +821 -5
  11. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
  12. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +754 -6
  13. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
  14. package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +1992 -70
  15. package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
  16. package/dist/async.d.ts.map +1 -1
  17. package/dist/async.js +24 -0
  18. package/dist/async.js.map +1 -1
  19. package/dist/async.mjs +24 -0
  20. package/dist/async.mjs.map +1 -1
  21. package/dist/version.d.ts +1 -1
  22. package/dist/version.js +1 -1
  23. package/dist/version.mjs +1 -1
  24. package/package.json +2 -2
@@ -31,6 +31,22 @@ export type paths = {
31
31
  /** Get the boot proof for a given ephemeral key. */
32
32
  post: operations["PublicApiService_GetBootProof"];
33
33
  };
34
+ "/public/v1/query/get_claim_earn_fees_status": {
35
+ /** Poll the status of a fee claim by its claim_request_id. */
36
+ post: operations["PublicApiService_GetClaimEarnFeesStatus"];
37
+ };
38
+ "/public/v1/query/get_earn_deploy_status": {
39
+ /** Poll the status of a wrapper deployment by its deploy_request_id. */
40
+ post: operations["PublicApiService_GetEarnDeployStatus"];
41
+ };
42
+ "/public/v1/query/get_earn_deposit_status": {
43
+ /** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
44
+ post: operations["PublicApiService_GetEarnDepositStatus"];
45
+ };
46
+ "/public/v1/query/get_earn_withdraw_status": {
47
+ /** Poll the status of a withdrawal by its withdraw_request_id. */
48
+ post: operations["PublicApiService_GetEarnWithdrawStatus"];
49
+ };
34
50
  "/public/v1/query/get_gas_usage": {
35
51
  /** Get gas usage and gas limits for either the parent organization or a sub-organization. */
36
52
  post: operations["PublicApiService_GetGasUsage"];
@@ -43,6 +59,18 @@ export type paths = {
43
59
  /** Get the latest boot proof for a given enclave app name. */
44
60
  post: operations["PublicApiService_GetLatestBootProof"];
45
61
  };
62
+ "/public/v1/query/get_mfa_policies": {
63
+ /** Get all MFA policies for a user. */
64
+ post: operations["PublicApiService_GetMfaPolicies"];
65
+ };
66
+ "/public/v1/query/get_mfa_policy": {
67
+ /** Get a single MFA policy for a user. */
68
+ post: operations["PublicApiService_GetMfaPolicy"];
69
+ };
70
+ "/public/v1/query/get_mfa_status": {
71
+ /** Get the MFA status of an activity for a specific user or all voting users. */
72
+ post: operations["PublicApiService_GetMfaStatus"];
73
+ };
46
74
  "/public/v1/query/get_nonces": {
47
75
  /** 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
76
  post: operations["PublicApiService_GetNonces"];
@@ -83,10 +111,26 @@ export type paths = {
83
111
  /** Get the status of a send transaction request. */
84
112
  post: operations["PublicApiService_GetSendTransactionStatus"];
85
113
  };
114
+ "/public/v1/query/get_session_profile": {
115
+ /** Get a single session profile for an organization. */
116
+ post: operations["PublicApiService_GetSessionProfile"];
117
+ };
118
+ "/public/v1/query/get_session_profiles": {
119
+ /** Get all session profiles for an organization. */
120
+ post: operations["PublicApiService_GetSessionProfiles"];
121
+ };
86
122
  "/public/v1/query/get_smart_contract_interface": {
87
123
  /** Get details about a smart contract interface. */
88
124
  post: operations["PublicApiService_GetSmartContractInterface"];
89
125
  };
126
+ "/public/v1/query/get_swap_quote": {
127
+ /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
128
+ post: operations["PublicApiService_GetSwapQuote"];
129
+ };
130
+ "/public/v1/query/get_swap_status": {
131
+ /** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
132
+ post: operations["PublicApiService_GetSwapStatus"];
133
+ };
90
134
  "/public/v1/query/get_tvc_app": {
91
135
  /** Get details about a single TVC App */
92
136
  post: operations["PublicApiService_GetTvcApp"];
@@ -95,6 +139,10 @@ export type paths = {
95
139
  /** Get details about a single TVC Deployment */
96
140
  post: operations["PublicApiService_GetTvcDeployment"];
97
141
  };
142
+ "/public/v1/query/get_tvc_deployment_debug_logs": {
143
+ /** 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. */
144
+ post: operations["PublicApiService_GetTvcDeploymentDebugLogs"];
145
+ };
98
146
  "/public/v1/query/get_tvc_deployment_provisioning_details": {
99
147
  /** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
100
148
  post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
@@ -112,7 +160,7 @@ export type paths = {
112
160
  post: operations["PublicApiService_GetWalletAccount"];
113
161
  };
114
162
  "/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. This feature is in beta - please contact support for access. */
163
+ /** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
116
164
  post: operations["PublicApiService_GetWalletAddressBalances"];
117
165
  };
118
166
  "/public/v1/query/list_activities": {
@@ -123,6 +171,26 @@ export type paths = {
123
171
  /** List the App Proofs for the given activity. */
124
172
  post: operations["PublicApiService_GetAppProofs"];
125
173
  };
174
+ "/public/v1/query/list_earn_enabled_vaults": {
175
+ /** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
176
+ post: operations["PublicApiService_ListEarnEnabledVaults"];
177
+ };
178
+ "/public/v1/query/list_earn_positions": {
179
+ /** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
180
+ post: operations["PublicApiService_ListEarnPositions"];
181
+ };
182
+ "/public/v1/query/list_earn_vaults": {
183
+ /** 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. */
184
+ post: operations["PublicApiService_ListEarnVaults"];
185
+ };
186
+ "/public/v1/query/list_email_events": {
187
+ /** List email events for the organization. */
188
+ post: operations["PublicApiService_ListEmailEvents"];
189
+ };
190
+ "/public/v1/query/list_eth_transaction_history": {
191
+ /** List Ethereum transaction history for a wallet address on the specified network. */
192
+ post: operations["PublicApiService_ListEthTransactionHistory"];
193
+ };
126
194
  "/public/v1/query/list_fiat_on_ramp_credentials": {
127
195
  /** List all fiat on ramp provider credentials within an organization. */
128
196
  post: operations["PublicApiService_ListFiatOnRampCredentials"];
@@ -147,12 +215,16 @@ export type paths = {
147
215
  /** List all smart contract interfaces within an organization. */
148
216
  post: operations["PublicApiService_GetSmartContractInterfaces"];
149
217
  };
218
+ "/public/v1/query/list_sol_transaction_history": {
219
+ /** List Solana transaction history for a wallet address on the specified network. */
220
+ post: operations["PublicApiService_ListSolTransactionHistory"];
221
+ };
150
222
  "/public/v1/query/list_suborgs": {
151
223
  /** Get all suborg IDs associated given a parent org ID and an optional filter. */
152
224
  post: operations["PublicApiService_GetSubOrgIds"];
153
225
  };
154
226
  "/public/v1/query/list_supported_assets": {
155
- /** List supported assets for the specified network. This feature is in beta - please contact support for access. */
227
+ /** List supported assets for the specified network. */
156
228
  post: operations["PublicApiService_ListSupportedAssets"];
157
229
  };
158
230
  "/public/v1/query/list_tvc_app_deployments": {
@@ -199,6 +271,14 @@ export type paths = {
199
271
  /** Approve an activity. */
200
272
  post: operations["PublicApiService_ApproveActivity"];
201
273
  };
274
+ "/public/v1/submit/claim_earn_fees": {
275
+ /** Claim earn fees through the activity pipeline. */
276
+ post: operations["PublicApiService_ClaimEarnFees"];
277
+ };
278
+ "/public/v1/submit/claim_swap_fees": {
279
+ /** Claim swap fees through the activity pipeline. */
280
+ post: operations["PublicApiService_ClaimSwapFees"];
281
+ };
202
282
  "/public/v1/submit/create_api_keys": {
203
283
  /** Add API keys to an existing user. */
204
284
  post: operations["PublicApiService_CreateApiKeys"];
@@ -219,6 +299,10 @@ export type paths = {
219
299
  /** Create invitations to join an existing organization. */
220
300
  post: operations["PublicApiService_CreateInvitations"];
221
301
  };
302
+ "/public/v1/submit/create_mfa_policy": {
303
+ /** Create a new MFA policy for a user. */
304
+ post: operations["PublicApiService_CreateMfaPolicy"];
305
+ };
222
306
  "/public/v1/submit/create_oauth2_credential": {
223
307
  /** Enable authentication for end users with an OAuth 2.0 provider */
224
308
  post: operations["PublicApiService_CreateOauth2Credential"];
@@ -251,12 +335,16 @@ export type paths = {
251
335
  /** Create a read write session for a user. */
252
336
  post: operations["PublicApiService_CreateReadWriteSession"];
253
337
  };
338
+ "/public/v1/submit/create_session_profile": {
339
+ /** Create a new session profile for an organization. */
340
+ post: operations["PublicApiService_CreateSessionProfile"];
341
+ };
254
342
  "/public/v1/submit/create_smart_contract_interface": {
255
343
  /** Create an ABI/IDL in JSON. */
256
344
  post: operations["PublicApiService_CreateSmartContractInterface"];
257
345
  };
258
346
  "/public/v1/submit/create_sub_organization": {
259
- /** Create a new sub-organization. */
347
+ /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
260
348
  post: operations["PublicApiService_CreateSubOrganization"];
261
349
  };
262
350
  "/public/v1/submit/create_tvc_app": {
@@ -271,12 +359,20 @@ export type paths = {
271
359
  /** Post one or more manifest approvals for a TVC Manifest */
272
360
  post: operations["PublicApiService_CreateTvcManifestApprovals"];
273
361
  };
362
+ "/public/v1/submit/create_tvc_operator": {
363
+ /** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
364
+ post: operations["PublicApiService_CreateTvcOperator"];
365
+ };
366
+ "/public/v1/submit/create_tvc_quorum_key": {
367
+ /** Create a hosted TVC quorum key and encrypted shares. */
368
+ post: operations["PublicApiService_CreateTvcQuorumKey"];
369
+ };
274
370
  "/public/v1/submit/create_user_tag": {
275
371
  /** Create a user tag and add it to users. */
276
372
  post: operations["PublicApiService_CreateUserTag"];
277
373
  };
278
374
  "/public/v1/submit/create_users": {
279
- /** Create users in an existing organization. */
375
+ /** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
280
376
  post: operations["PublicApiService_CreateUsers"];
281
377
  };
282
378
  "/public/v1/submit/create_wallet": {
@@ -307,6 +403,10 @@ export type paths = {
307
403
  /** Delete an existing invitation. */
308
404
  post: operations["PublicApiService_DeleteInvitation"];
309
405
  };
406
+ "/public/v1/submit/delete_mfa_policy": {
407
+ /** Delete an MFA policy for a user. */
408
+ post: operations["PublicApiService_DeleteMfaPolicy"];
409
+ };
310
410
  "/public/v1/submit/delete_oauth2_credential": {
311
411
  /** Disable authentication for end users with an OAuth 2.0 provider */
312
412
  post: operations["PublicApiService_DeleteOauth2Credential"];
@@ -367,6 +467,22 @@ export type paths = {
367
467
  /** Delete a webhook endpoint for an organization. */
368
468
  post: operations["PublicApiService_DeleteWebhookEndpoint"];
369
469
  };
470
+ "/public/v1/submit/earn_deploy_wrapper": {
471
+ /** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
472
+ post: operations["PublicApiService_EarnDeployWrapper"];
473
+ };
474
+ "/public/v1/submit/earn_deposit": {
475
+ /** Deposit assets from a wallet into an enabled yield vault. */
476
+ post: operations["PublicApiService_EarnDeposit"];
477
+ };
478
+ "/public/v1/submit/earn_set_wrapper_state": {
479
+ /** Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed. */
480
+ post: operations["PublicApiService_EarnSetWrapperState"];
481
+ };
482
+ "/public/v1/submit/earn_withdraw": {
483
+ /** Withdraw assets or redeem shares from an enabled yield vault. */
484
+ post: operations["PublicApiService_EarnWithdraw"];
485
+ };
370
486
  "/public/v1/submit/email_auth": {
371
487
  /** Authenticate a user via email. */
372
488
  post: operations["PublicApiService_EmailAuth"];
@@ -379,6 +495,10 @@ export type paths = {
379
495
  /** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
380
496
  post: operations["PublicApiService_EthSendTransaction"];
381
497
  };
498
+ "/public/v1/submit/execute_swap": {
499
+ /** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
500
+ post: operations["PublicApiService_ExecuteSwap"];
501
+ };
382
502
  "/public/v1/submit/export_private_key": {
383
503
  /** Export a private key. */
384
504
  post: operations["PublicApiService_ExportPrivateKey"];
@@ -407,6 +527,10 @@ export type paths = {
407
527
  /** Initialize a new private key import. */
408
528
  post: operations["PublicApiService_InitImportPrivateKey"];
409
529
  };
530
+ "/public/v1/submit/init_import_secrets": {
531
+ /** Initialize secret imports by generating Ingress Encryption Target Keys. */
532
+ post: operations["PublicApiService_InitImportSecrets"];
533
+ };
410
534
  "/public/v1/submit/init_import_wallet": {
411
535
  /** Initialize a new wallet import. */
412
536
  post: operations["PublicApiService_InitImportWallet"];
@@ -447,6 +571,10 @@ export type paths = {
447
571
  /** Post re-encrypted quorum key share for a TVC deployment. */
448
572
  post: operations["PublicApiService_PostTvcQuorumKeyShare"];
449
573
  };
574
+ "/public/v1/submit/re_encrypt_tvc_quorum_key_share": {
575
+ /** Re-encrypt a hosted TVC quorum key share for a deployment. */
576
+ post: operations["PublicApiService_ReEncryptTvcQuorumKeyShare"];
577
+ };
450
578
  "/public/v1/submit/recover_user": {
451
579
  /** Complete the process of recovering a user by adding an authenticator. */
452
580
  post: operations["PublicApiService_RecoverUser"];
@@ -492,7 +620,7 @@ export type paths = {
492
620
  post: operations["PublicApiService_SignTransaction"];
493
621
  };
494
622
  "/public/v1/submit/sol_send_transaction": {
495
- /** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
623
+ /** Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning. */
496
624
  post: operations["PublicApiService_SolSendTransaction"];
497
625
  };
498
626
  "/public/v1/submit/spark_claim_transfer": {
@@ -519,6 +647,10 @@ export type paths = {
519
647
  /** Update a fiat on ramp provider credential */
520
648
  post: operations["PublicApiService_UpdateFiatOnRampCredential"];
521
649
  };
650
+ "/public/v1/submit/update_mfa_policy": {
651
+ /** Update an MFA policy for a user. */
652
+ post: operations["PublicApiService_UpdateMfaPolicy"];
653
+ };
522
654
  "/public/v1/submit/update_oauth2_credential": {
523
655
  /** Update an OAuth 2.0 provider credential */
524
656
  post: operations["PublicApiService_UpdateOauth2Credential"];
@@ -567,6 +699,10 @@ export type paths = {
567
699
  /** Update a webhook endpoint for an organization. */
568
700
  post: operations["PublicApiService_UpdateWebhookEndpoint"];
569
701
  };
702
+ "/public/v1/submit/upsert_swap_config": {
703
+ /** Enable or disable swap configuration for an organization. */
704
+ post: operations["PublicApiService_UpsertSwapConfig"];
705
+ };
570
706
  "/public/v1/submit/verify_otp": {
571
707
  /** Verify a generic OTP. */
572
708
  post: operations["PublicApiService_VerifyOtp"];
@@ -669,6 +805,8 @@ export type definitions = {
669
805
  /** @description The public component of a cryptographic key pair used to sign messages and transactions. */
670
806
  publicKey: string;
671
807
  type: definitions["v1CredentialType"];
808
+ /** @description The session profile associated with this credential, if any. This field is only applicable for credentials of type CREDENTIAL_TYPE_LOGIN. */
809
+ sessionProfileId?: string;
672
810
  };
673
811
  externaldatav1Quorum: {
674
812
  /**
@@ -777,9 +915,9 @@ export type definitions = {
777
915
  activity: definitions["v1Activity"];
778
916
  };
779
917
  /** @enum {string} */
780
- v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
918
+ 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
919
  /** @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";
920
+ 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_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" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES";
783
921
  /** @enum {string} */
784
922
  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
923
  v1ApiKey: {
@@ -899,6 +1037,20 @@ export type definitions = {
899
1037
  /** @description The type of authenticator transports. */
900
1038
  transports: definitions["v1AuthenticatorTransport"][];
901
1039
  };
1040
+ v1AuthenticationMethod: {
1041
+ /** @description The type of authenticator (e.g., AUTHENTICATION_TYPE_EMAIL, AUTHENTICATION_TYPE_SESSION) required for this MFA step. */
1042
+ type: definitions["v1AuthenticationType"];
1043
+ /** @description Optional specific authenticator ID required (e.g., for requiring a specific session profile id) */
1044
+ id?: string;
1045
+ };
1046
+ v1AuthenticationMethodParams: {
1047
+ /** @description The type of authenticator (e.g., AUTHENTICATION_TYPE_PASSKEY for passkey authentication). */
1048
+ type: definitions["v1AuthenticationType"];
1049
+ /** @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. */
1050
+ id?: string;
1051
+ };
1052
+ /** @enum {string} */
1053
+ v1AuthenticationType: "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION";
902
1054
  v1Authenticator: {
903
1055
  /** @description Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
904
1056
  transports: definitions["v1AuthenticatorTransport"][];
@@ -949,9 +1101,9 @@ export type definitions = {
949
1101
  ephemeralPublicKeyHex: string;
950
1102
  /** @description The DER encoded COSE Sign1 struct Attestation doc. */
951
1103
  awsAttestationDocB64: string;
952
- /** @description The borsch serialized base64 encoded Manifest. */
1104
+ /** @description The base64 encoded QOS manifest. Encoding depends on qos_manifest_version. */
953
1105
  qosManifestB64: string;
954
- /** @description The borsch serialized base64 encoded Manifest Envelope. */
1106
+ /** @description The base64 encoded QOS manifest envelope. Encoding depends on qos_manifest_version. */
955
1107
  qosManifestEnvelopeB64: string;
956
1108
  /** @description The label under which the enclave app was deployed. */
957
1109
  deploymentLabel: string;
@@ -960,10 +1112,47 @@ export type definitions = {
960
1112
  /** @description Owner of the app i.e. 'tkhq' */
961
1113
  owner: string;
962
1114
  createdAt: definitions["externaldatav1Timestamp"];
1115
+ /** @description QOS manifest schema version. */
1116
+ qosManifestVersion?: string;
963
1117
  };
964
1118
  v1BootProofResponse: {
965
1119
  bootProof: definitions["v1BootProof"];
966
1120
  };
1121
+ v1ClaimEarnFeesIntent: {
1122
+ /** @description Address of the deployed Earn wrapper to claim fees for. Must be one of the org's deployed wrappers. */
1123
+ wrapperAddress: string;
1124
+ };
1125
+ v1ClaimEarnFeesRequest: {
1126
+ /** @enum {string} */
1127
+ type: "ACTIVITY_TYPE_CLAIM_EARN_FEES";
1128
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1129
+ timestampMs: string;
1130
+ /** @description Unique identifier for a given Organization. */
1131
+ organizationId: string;
1132
+ parameters: definitions["v1ClaimEarnFeesIntent"];
1133
+ generateAppProofs?: boolean;
1134
+ };
1135
+ v1ClaimEarnFeesResult: {
1136
+ /** @description Identifier to poll claim status and tx hash via GetClaimEarnFeesStatus. */
1137
+ claimRequestId: string;
1138
+ };
1139
+ v1ClaimSwapFeesIntent: {
1140
+ [key: string]: unknown;
1141
+ };
1142
+ v1ClaimSwapFeesRequest: {
1143
+ /** @enum {string} */
1144
+ type: "ACTIVITY_TYPE_CLAIM_SWAP_FEES";
1145
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1146
+ timestampMs: string;
1147
+ /** @description Unique identifier for a given Organization. */
1148
+ organizationId: string;
1149
+ parameters: definitions["v1ClaimSwapFeesIntent"];
1150
+ generateAppProofs?: boolean;
1151
+ };
1152
+ v1ClaimSwapFeesResult: {
1153
+ /** @description Relay claim request ID submitted through the permit endpoint. */
1154
+ requestId: string;
1155
+ };
967
1156
  v1ClientSignature: {
968
1157
  /** @description The public component of a cryptographic key pair used to create the signature. */
969
1158
  publicKey: string;
@@ -1096,6 +1285,36 @@ export type definitions = {
1096
1285
  /** @description A list of Invitation IDs */
1097
1286
  invitationIds: string[];
1098
1287
  };
1288
+ v1CreateMfaPolicyIntent: {
1289
+ /** @description The ID of the User to add the MFA Policy to. */
1290
+ userId: string;
1291
+ /** @description Human-readable name for a Policy. */
1292
+ mfaPolicyName: string;
1293
+ /** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
1294
+ condition: string;
1295
+ /** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
1296
+ requiredAuthenticationMethods: definitions["v1RequiredAuthenticationMethodParams"][];
1297
+ /**
1298
+ * Format: int64
1299
+ * @description The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first.
1300
+ */
1301
+ order: number;
1302
+ /** @description Notes for an MFA Policy. */
1303
+ notes?: string;
1304
+ };
1305
+ v1CreateMfaPolicyRequest: {
1306
+ /** @enum {string} */
1307
+ type: "ACTIVITY_TYPE_CREATE_MFA_POLICY";
1308
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1309
+ timestampMs: string;
1310
+ /** @description Unique identifier for a given Organization. */
1311
+ organizationId: string;
1312
+ parameters: definitions["v1CreateMfaPolicyIntent"];
1313
+ };
1314
+ v1CreateMfaPolicyResult: {
1315
+ /** @description Unique identifier for a given MFA Policy. */
1316
+ mfaPolicyId: string;
1317
+ };
1099
1318
  v1CreateOauth2CredentialIntent: {
1100
1319
  /** @description The OAuth 2.0 provider */
1101
1320
  provider: definitions["v1Oauth2Provider"];
@@ -1372,6 +1591,29 @@ export type definitions = {
1372
1591
  /** @description HPKE encrypted credential bundle */
1373
1592
  credentialBundle: string;
1374
1593
  };
1594
+ v1CreateSessionProfileIntent: {
1595
+ /** @description Human-readable name for a Session Profile. */
1596
+ sessionProfileName: string;
1597
+ /** @description The scope string that defines the permissions for this Session Profile. */
1598
+ scope: string;
1599
+ /** @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. */
1600
+ expirationSeconds?: string;
1601
+ /** @description Notes for a Session Profile. */
1602
+ notes?: string;
1603
+ };
1604
+ v1CreateSessionProfileRequest: {
1605
+ /** @enum {string} */
1606
+ type: "ACTIVITY_TYPE_CREATE_SESSION_PROFILE";
1607
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1608
+ timestampMs: string;
1609
+ /** @description Unique identifier for a given Organization. */
1610
+ organizationId: string;
1611
+ parameters: definitions["v1CreateSessionProfileIntent"];
1612
+ };
1613
+ v1CreateSessionProfileResult: {
1614
+ /** @description Unique identifier for a given Session Profile. */
1615
+ sessionProfileId: string;
1616
+ };
1375
1617
  v1CreateSmartContractInterfaceIntent: {
1376
1618
  /** @description Corresponding contract address or program ID */
1377
1619
  smartContractAddress: string;
@@ -1588,6 +1830,8 @@ export type definitions = {
1588
1830
  shareSetParams?: definitions["v1TvcOperatorSetParams"];
1589
1831
  /** @description Enables network egress for this TVC app. Default if not provided: false. */
1590
1832
  enableEgress?: boolean;
1833
+ /** @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. */
1834
+ enableDebugModeDeployments?: boolean;
1591
1835
  };
1592
1836
  v1CreateTvcAppRequest: {
1593
1837
  /** @enum {string} */
@@ -1645,6 +1889,11 @@ export type definitions = {
1645
1889
  * @description Port to use for public ingress.
1646
1890
  */
1647
1891
  publicIngressPort: number;
1892
+ /**
1893
+ * Format: int64
1894
+ * @description Optional desired replica count for this deployment.
1895
+ */
1896
+ replicas?: number;
1648
1897
  };
1649
1898
  v1CreateTvcDeploymentRequest: {
1650
1899
  /** @enum {string} */
@@ -1680,6 +1929,63 @@ export type definitions = {
1680
1929
  /** @description The unique identifier(s) for the manifest approvals */
1681
1930
  approvalIds: string[];
1682
1931
  };
1932
+ v1CreateTvcOperatorIntent: {
1933
+ /** @description Human-readable name for a new wallet created for this TVC operator */
1934
+ walletName?: string;
1935
+ /** @description Unique identifier for an existing wallet to reuse for this TVC operator */
1936
+ walletId?: string;
1937
+ /** @description Base derivation path for creating TVC operator wallet accounts */
1938
+ path: string;
1939
+ /** @description Human-readable name for this new TVC operator */
1940
+ operatorName: string;
1941
+ };
1942
+ v1CreateTvcOperatorRequest: {
1943
+ /** @enum {string} */
1944
+ type: "ACTIVITY_TYPE_CREATE_TVC_OPERATOR";
1945
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1946
+ timestampMs: string;
1947
+ /** @description Unique identifier for a given Organization. */
1948
+ organizationId: string;
1949
+ parameters: definitions["v1CreateTvcOperatorIntent"];
1950
+ generateAppProofs?: boolean;
1951
+ };
1952
+ v1CreateTvcOperatorResult: {
1953
+ /** @description The unique identifier for the wallet containing TVC operator accounts */
1954
+ walletId: string;
1955
+ /** @description The unique identifier for the TVC operator */
1956
+ operatorId: string;
1957
+ /** @description Public encryption key for this TVC operator */
1958
+ encryptPublicKey: string;
1959
+ /** @description Public signing key for this TVC operator */
1960
+ signPublicKey: string;
1961
+ };
1962
+ v1CreateTvcQuorumKeyIntent: {
1963
+ /**
1964
+ * Format: int64
1965
+ * @description The threshold of operators needed to reassemble this TVC quorum key
1966
+ */
1967
+ threshold: number;
1968
+ /** @description Operator public keys used to encrypt and later approve the generated TVC quorum key shares */
1969
+ operatorEncryptKeys: string[];
1970
+ };
1971
+ v1CreateTvcQuorumKeyRequest: {
1972
+ /** @enum {string} */
1973
+ type: "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY";
1974
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1975
+ timestampMs: string;
1976
+ /** @description Unique identifier for a given Organization. */
1977
+ organizationId: string;
1978
+ parameters: definitions["v1CreateTvcQuorumKeyIntent"];
1979
+ generateAppProofs?: boolean;
1980
+ };
1981
+ v1CreateTvcQuorumKeyResult: {
1982
+ /** @description The unique identifier for the TVC quorum key */
1983
+ quorumKeyId: string;
1984
+ /** @description Public key for the generated TVC quorum key */
1985
+ quorumPublicKey: string;
1986
+ /** @description The unique identifier(s) for the generated TVC quorum key shares */
1987
+ shareIds: string[];
1988
+ };
1683
1989
  v1CreateUserTagIntent: {
1684
1990
  /** @description Human-readable name for a User Tag. */
1685
1991
  userTagName: string;
@@ -1894,6 +2200,25 @@ export type definitions = {
1894
2200
  /** @description Unique identifier for a given Invitation. */
1895
2201
  invitationId: string;
1896
2202
  };
2203
+ v1DeleteMfaPolicyIntent: {
2204
+ /** @description The ID of the User to delete the MFA Policy from. */
2205
+ userId: string;
2206
+ /** @description Unique identifier for a given MFA Policy. */
2207
+ mfaPolicyId: string;
2208
+ };
2209
+ v1DeleteMfaPolicyRequest: {
2210
+ /** @enum {string} */
2211
+ type: "ACTIVITY_TYPE_DELETE_MFA_POLICY";
2212
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2213
+ timestampMs: string;
2214
+ /** @description Unique identifier for a given Organization. */
2215
+ organizationId: string;
2216
+ parameters: definitions["v1DeleteMfaPolicyIntent"];
2217
+ };
2218
+ v1DeleteMfaPolicyResult: {
2219
+ /** @description Unique identifier for a given MFA Policy. */
2220
+ mfaPolicyId: string;
2221
+ };
1897
2222
  v1DeleteOauth2CredentialIntent: {
1898
2223
  /** @description The ID of the OAuth 2.0 credential to delete */
1899
2224
  oauth2CredentialId: string;
@@ -2214,6 +2539,209 @@ export type definitions = {
2214
2539
  /** @description Unique identifier for a given Private Key. */
2215
2540
  privateKeyId: string;
2216
2541
  };
2542
+ v1EarnDeployWrapperIntent: {
2543
+ /** @description Address of the underlying yield vault to wrap (from the ListEarnVaults catalog). */
2544
+ vaultAddress: string;
2545
+ /**
2546
+ * @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
2547
+ * @enum {string}
2548
+ */
2549
+ chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
2550
+ /** @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. */
2551
+ clientFeeBps: string;
2552
+ /** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
2553
+ clientFeeWallet: string;
2554
+ };
2555
+ v1EarnDeployWrapperRequest: {
2556
+ /** @enum {string} */
2557
+ type: "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER";
2558
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2559
+ timestampMs: string;
2560
+ /** @description Unique identifier for a given Organization. */
2561
+ organizationId: string;
2562
+ parameters: definitions["v1EarnDeployWrapperIntent"];
2563
+ generateAppProofs?: boolean;
2564
+ };
2565
+ v1EarnDeployWrapperResult: {
2566
+ /** @description Address of the deployed fee wrapper (the deposit target). */
2567
+ wrapperAddress: string;
2568
+ /** @description Address of the deployed fee splitter (PaymentSplitter for Morpho, RevenueSplitterOwner for Aave). */
2569
+ splitterAddress: string;
2570
+ /** @description Identifier to poll deploy status. */
2571
+ deployRequestId: string;
2572
+ };
2573
+ v1EarnDepositIntent: {
2574
+ /** @description Address of the deployed Earn wrapper to deposit into, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
2575
+ wrapperAddress: string;
2576
+ /** @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. */
2577
+ signWith: string;
2578
+ /** @description Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
2579
+ assets: string;
2580
+ /**
2581
+ * @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
2582
+ * @enum {string}
2583
+ */
2584
+ chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
2585
+ /** @description Whether to sponsor this transaction via Gas Station. */
2586
+ sponsor?: boolean;
2587
+ };
2588
+ v1EarnDepositRequest: {
2589
+ /** @enum {string} */
2590
+ type: "ACTIVITY_TYPE_EARN_DEPOSIT";
2591
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2592
+ timestampMs: string;
2593
+ /** @description Unique identifier for a given Organization. */
2594
+ organizationId: string;
2595
+ parameters: definitions["v1EarnDepositIntent"];
2596
+ generateAppProofs?: boolean;
2597
+ };
2598
+ v1EarnDepositResult: {
2599
+ /** @description Identifier to poll deposit status and tx hash via GetEarnDepositStatus. */
2600
+ depositRequestId: string;
2601
+ };
2602
+ v1EarnEnabledVault: {
2603
+ /** @description Address of the underlying yield vault. */
2604
+ vaultAddress?: string;
2605
+ /** @description Address of the deployed fee wrapper (the deposit target). */
2606
+ wrapperAddress?: string;
2607
+ /** @description Yield provider for the vault. */
2608
+ provider?: definitions["v1EarnProvider"];
2609
+ /** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
2610
+ caip19?: string;
2611
+ /** @description Gross annual percentage yield, expressed as a decimal fraction (before Turnkey and client fees). */
2612
+ apyPct?: string;
2613
+ /** @description Total deposited through this wrapper (wrapper TVL), in raw on-chain units of the underlying asset. */
2614
+ totalDeposited?: string;
2615
+ /** @description Normalized total-deposited values for display only (usd + crypto). Do not do arithmetic with these; use total_deposited instead. */
2616
+ display?: definitions["v1EarnValueDisplay"];
2617
+ /** @description Annual percentage yield net of the Turnkey and client performance fees, expressed as a decimal fraction. */
2618
+ netApyPct?: string;
2619
+ /** @description Client performance fee taken on yield, in basis points. Currently org-wide; moving to a per-vault setting. */
2620
+ clientFeeBps?: string;
2621
+ /** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
2622
+ depositsDisabled?: boolean;
2623
+ /** @description Human-readable vault name from the provider (e.g. 'Steakhouse Prime USDC' for Morpho; the reserve symbol for Aave). */
2624
+ name?: string;
2625
+ /** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
2626
+ curator?: string;
2627
+ /** @description The client's claimable performance fee (releasable now), in raw on-chain units of the underlying asset (the caip19 asset). Turnkey's fee is excluded. Only returned to the parent org; unset when a sub-org queries. */
2628
+ claimableClientFee?: string;
2629
+ /** @description Normalized claimable_client_fee for display only (usd + crypto). Do not do arithmetic with these; use claimable_client_fee. Unset when a sub-org queries. */
2630
+ claimableClientFeeDisplay?: definitions["v1EarnValueDisplay"];
2631
+ };
2632
+ v1EarnPosition: {
2633
+ /** @description Address of the underlying yield vault. */
2634
+ vaultAddress?: string;
2635
+ /** @description Address of the fee wrapper holding the position. */
2636
+ wrapperAddress?: string;
2637
+ /** @description Yield provider for the vault. */
2638
+ provider?: definitions["v1EarnProvider"];
2639
+ /** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
2640
+ caip19?: string;
2641
+ /** @description Current value of the position in the underlying asset, in raw on-chain units (already net of the wrapper fee). */
2642
+ currentValue?: string;
2643
+ /** @description Lifetime total deposited into this position, in raw on-chain units. */
2644
+ totalDeposited?: string;
2645
+ /** @description Lifetime total withdrawn from this position, in raw on-chain units. */
2646
+ totalWithdrawn?: string;
2647
+ /** @description USD + crypto renderings for display only. Do not do arithmetic with these. */
2648
+ display?: definitions["v1EarnPositionDisplay"];
2649
+ /** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
2650
+ depositsDisabled?: boolean;
2651
+ };
2652
+ v1EarnPositionDisplay: {
2653
+ /** @description Current value in USD, for display only. */
2654
+ currentValueUsd?: string;
2655
+ /** @description Total deposited in USD, for display only. */
2656
+ totalDepositedUsd?: string;
2657
+ /** @description Total withdrawn in USD, for display only. */
2658
+ totalWithdrawnUsd?: string;
2659
+ /** @description Current value in the asset's own units, for display only. */
2660
+ currentValueCrypto?: string;
2661
+ /** @description Total deposited in the asset's own units, for display only. */
2662
+ totalDepositedCrypto?: string;
2663
+ /** @description Total withdrawn in the asset's own units, for display only. */
2664
+ totalWithdrawnCrypto?: string;
2665
+ };
2666
+ /** @enum {string} */
2667
+ v1EarnProvider: "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE";
2668
+ v1EarnSetWrapperStateIntent: {
2669
+ /** @description Address of the deployed Earn wrapper to update, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
2670
+ wrapperAddress: string;
2671
+ /** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Set to false to re-enable deposits. */
2672
+ depositsDisabled: boolean;
2673
+ };
2674
+ v1EarnSetWrapperStateRequest: {
2675
+ /** @enum {string} */
2676
+ type: "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE";
2677
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2678
+ timestampMs: string;
2679
+ /** @description Unique identifier for a given Organization. */
2680
+ organizationId: string;
2681
+ parameters: definitions["v1EarnSetWrapperStateIntent"];
2682
+ generateAppProofs?: boolean;
2683
+ };
2684
+ v1EarnSetWrapperStateResult: {
2685
+ /** @description Address of the updated Earn wrapper. */
2686
+ wrapperAddress: string;
2687
+ /** @description The wrapper's deposit state after this activity. */
2688
+ depositsDisabled: boolean;
2689
+ };
2690
+ v1EarnValueDisplay: {
2691
+ /** @description USD value, for display only. */
2692
+ usd?: string;
2693
+ /** @description Normalized amount in the asset's own units, for display only. */
2694
+ crypto?: string;
2695
+ };
2696
+ v1EarnVault: {
2697
+ /** @description Address of the underlying yield vault. */
2698
+ vaultAddress?: string;
2699
+ /** @description Yield provider for the vault. */
2700
+ provider?: definitions["v1EarnProvider"];
2701
+ /** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
2702
+ caip19?: string;
2703
+ /** @description Total value locked in the vault, in raw on-chain units of the underlying asset. The catalog is sorted by the USD value of this. */
2704
+ tvl?: string;
2705
+ /** @description Current annual percentage yield, expressed as a decimal fraction (e.g., '0.0812' for 8.12%). */
2706
+ apyPct?: string;
2707
+ /** @description Whether the organization has enabled this vault. */
2708
+ enabled?: boolean;
2709
+ /** @description Normalized TVL values for display purposes only (usd + crypto). Do not do arithmetic with these; use tvl instead. */
2710
+ display?: definitions["v1EarnValueDisplay"];
2711
+ /** @description Human-readable vault name from the provider (e.g. 'Steakhouse Prime USDC' for Morpho; the reserve symbol for Aave). */
2712
+ name?: string;
2713
+ /** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
2714
+ curator?: string;
2715
+ };
2716
+ v1EarnWithdrawIntent: {
2717
+ /** @description Address of the deployed Earn wrapper holding the position to withdraw from, from ListEarnPositions. Must be one of the org's deployed wrappers. */
2718
+ wrapperAddress: string;
2719
+ /** @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. */
2720
+ signWith: string;
2721
+ /**
2722
+ * @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
2723
+ * @enum {string}
2724
+ */
2725
+ chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
2726
+ /** @description Whether to sponsor this transaction via Gas Station. */
2727
+ sponsor?: boolean;
2728
+ /** @description The amount of the underlying asset to withdraw, in raw on-chain units. Pass 'MAX' to withdraw the entire position. */
2729
+ amountValue: string;
2730
+ };
2731
+ v1EarnWithdrawRequest: {
2732
+ /** @enum {string} */
2733
+ type: "ACTIVITY_TYPE_EARN_WITHDRAW";
2734
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2735
+ timestampMs: string;
2736
+ /** @description Unique identifier for a given Organization. */
2737
+ organizationId: string;
2738
+ parameters: definitions["v1EarnWithdrawIntent"];
2739
+ generateAppProofs?: boolean;
2740
+ };
2741
+ v1EarnWithdrawResult: {
2742
+ /** @description Identifier to poll withdrawal status and tx hash via GetEarnWithdrawStatus. */
2743
+ withdrawRequestId: string;
2744
+ };
2217
2745
  /** @enum {string} */
2218
2746
  v1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2219
2747
  v1EmailAuthCustomizationParams: {
@@ -2326,6 +2854,45 @@ export type definitions = {
2326
2854
  /** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
2327
2855
  templateId?: string;
2328
2856
  };
2857
+ v1EmailEvent: {
2858
+ /** @description Unique identifier for the email event */
2859
+ id: string;
2860
+ /** @description Unique identifier for the organization associated with the email event */
2861
+ organizationId: string;
2862
+ /** @description Provider message identifier. Multiple events can share the same message ID */
2863
+ messageId: string;
2864
+ /** @description Email event type, such as Send, Delivery, Bounce, or DeliveryDelay */
2865
+ eventType: string;
2866
+ /** @description Sender email address */
2867
+ fromAddress: string;
2868
+ /** @description Recipient email address */
2869
+ toAddress: string;
2870
+ /** @description SES tenant that sent the email, when available */
2871
+ senderTenant?: string;
2872
+ /** @description Event timestamp as millisecond epoch string */
2873
+ timestamp: string;
2874
+ /** @description Creation timestamp as millisecond epoch string */
2875
+ createdAt: string;
2876
+ /** @description Parsed email event details. Fields are populated based on event type and available provider metadata */
2877
+ details: definitions["v1EmailEventDetails"];
2878
+ };
2879
+ v1EmailEventDetails: {
2880
+ /** @description Bounce type for Bounce events */
2881
+ bounceType?: string;
2882
+ /** @description Bounce subtype for Bounce events */
2883
+ bounceSubType?: string;
2884
+ /** @description Diagnostic text for Bounce or DeliveryDelay events */
2885
+ diagnosticCode?: string;
2886
+ /** @description SMTP response for Delivery events */
2887
+ deliverySmtpResponse?: string;
2888
+ /**
2889
+ * Format: uint64
2890
+ * @description Processing time in milliseconds for Delivery events
2891
+ */
2892
+ deliveryProcessingTimeMillis?: string;
2893
+ /** @description Delay type for DeliveryDelay events */
2894
+ deliveryDelayType?: string;
2895
+ };
2329
2896
  v1EnableAuthProxyIntent: {
2330
2897
  [key: string]: unknown;
2331
2898
  };
@@ -2333,6 +2900,14 @@ export type definitions = {
2333
2900
  /** @description A User ID with permission to initiate authentication. */
2334
2901
  userId: string;
2335
2902
  };
2903
+ v1EthCallParams: {
2904
+ /** @description Recipient address as a hex string with 0x prefix. */
2905
+ to: string;
2906
+ /** @description Amount of native asset to send in wei. */
2907
+ value?: string;
2908
+ /** @description Hex-encoded call data for contract interactions. */
2909
+ data?: string;
2910
+ };
2336
2911
  v1EthFailureDetails: {
2337
2912
  /** @description Ethereum revert chain, ordered from outermost to innermost. */
2338
2913
  revertChain?: definitions["v1RevertChainEntry"][];
@@ -2344,7 +2919,7 @@ export type definitions = {
2344
2919
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
2345
2920
  * @enum {string}
2346
2921
  */
2347
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
2922
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
2348
2923
  };
2349
2924
  v1EthSendRawTransactionRequest: {
2350
2925
  /** @enum {string} */
@@ -2369,7 +2944,7 @@ export type definitions = {
2369
2944
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
2370
2945
  * @enum {string}
2371
2946
  */
2372
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
2947
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
2373
2948
  /** @description Recipient address as a hex string with 0x prefix. */
2374
2949
  to: string;
2375
2950
  /** @description Amount of native asset to send in wei. */
@@ -2389,24 +2964,112 @@ export type definitions = {
2389
2964
  /** @description The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
2390
2965
  gasStationNonce?: string;
2391
2966
  };
2967
+ v1EthSendTransactionIntentV2: {
2968
+ /** @description A wallet or private key address to sign with. This does not support private key IDs. */
2969
+ from: string;
2970
+ /**
2971
+ * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
2972
+ * @enum {string}
2973
+ */
2974
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
2975
+ /** @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. */
2976
+ sponsor?: boolean;
2977
+ /** @description Outer transaction nonce. Omit to auto-fetch. */
2978
+ nonce?: string;
2979
+ /** @description Maximum amount of gas for the outer transaction. Omit to auto-estimate. */
2980
+ gasLimit?: string;
2981
+ /** @description Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
2982
+ maxFeePerGas?: string;
2983
+ /** @description Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
2984
+ maxPriorityFeePerGas?: string;
2985
+ /** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
2986
+ deadline?: string;
2987
+ /** @description The gas station delegate contract nonce. Only used when sponsor=true. Omit to auto-fetch. */
2988
+ gasStationNonce?: string;
2989
+ /** @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. */
2990
+ calls: definitions["v1EthCallParams"][];
2991
+ };
2392
2992
  v1EthSendTransactionRequest: {
2393
2993
  /** @enum {string} */
2394
- type: "ACTIVITY_TYPE_ETH_SEND_TRANSACTION";
2994
+ type: "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2";
2395
2995
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2396
2996
  timestampMs: string;
2397
2997
  /** @description Unique identifier for a given Organization. */
2398
2998
  organizationId: string;
2399
- parameters: definitions["v1EthSendTransactionIntent"];
2999
+ parameters: definitions["v1EthSendTransactionIntentV2"];
2400
3000
  generateAppProofs?: boolean;
2401
3001
  };
2402
3002
  v1EthSendTransactionResult: {
2403
3003
  /** @description The send_transaction_status ID associated with the transaction submission */
2404
3004
  sendTransactionStatusId: string;
2405
3005
  };
3006
+ v1EthSendTransactionResultV2: {
3007
+ /** @description The send_transaction_status ID associated with the transaction submission */
3008
+ sendTransactionStatusId: string;
3009
+ };
2406
3010
  v1EthSendTransactionStatus: {
2407
3011
  /** @description The Ethereum transaction hash, if available. */
2408
3012
  txHash?: string;
2409
3013
  };
3014
+ v1EthTransactionHistoryItem: {
3015
+ /** @description EVM transaction hash. */
3016
+ transactionHash: string;
3017
+ /** @description Block metadata for the transaction. */
3018
+ block: definitions["v1TransactionHistoryBlock"];
3019
+ /**
3020
+ * @description Transaction confirmation status.
3021
+ * @enum {string}
3022
+ */
3023
+ status: "CONFIRMED" | "FINALIZED";
3024
+ /** @description Origin of the transaction. Examples include TURNKEY. */
3025
+ origin: string;
3026
+ /** @description EVM sender address for the transaction. */
3027
+ from: string;
3028
+ /** @description EVM transaction destination address, such as the called contract or EVM tx.to. Omitted for contract-creation transactions with no destination. Recipients and payers of value transfers are reflected in transfers[].counterparty. */
3029
+ to?: string;
3030
+ /** @description Transaction fee information. */
3031
+ fee: definitions["v1TransactionHistoryFee"];
3032
+ /** @description Asset transfers associated with the transaction. */
3033
+ transfers: definitions["v1TransactionHistoryTransfer"][];
3034
+ /** @description Turnkey-specific metadata for transactions originated by Turnkey. */
3035
+ turnkey?: definitions["v1TransactionHistoryTurnkey"];
3036
+ };
3037
+ v1ExecuteSwapIntent: {
3038
+ /** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
3039
+ inputToken: string;
3040
+ /** @description CAIP-19 asset ID for the output asset. May be on a different chain than `input_token` for cross-chain swaps. */
3041
+ outputToken: string;
3042
+ /** @description Base-unit amount of the input asset. */
3043
+ inputAmount: string;
3044
+ /** @description Wallet account address to sign and submit the swap transaction from. Cross-wallet swaps are not supported. */
3045
+ walletAccount: string;
3046
+ /** @description Whether to sponsor the resulting swap transaction via Gas Station when supported by the chain. */
3047
+ sponsor?: boolean;
3048
+ /** @description Maximum allowed slippage in basis points. */
3049
+ slippage?: string;
3050
+ /** @description Swap provider to execute with, as returned by get_swap_quote. When omitted, execution uses the default provider. */
3051
+ provider?: string;
3052
+ /** @description Minimum acceptable base-unit amount of the output asset. Execution fails if the swap provider's quoted minimum output falls below this floor at execution time. */
3053
+ minOutputAmount: string;
3054
+ };
3055
+ v1ExecuteSwapRequest: {
3056
+ /** @enum {string} */
3057
+ type: "ACTIVITY_TYPE_EXECUTE_SWAP";
3058
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3059
+ timestampMs: string;
3060
+ /** @description Unique identifier for a given Organization. */
3061
+ organizationId: string;
3062
+ parameters: definitions["v1ExecuteSwapIntent"];
3063
+ generateAppProofs?: boolean;
3064
+ };
3065
+ v1ExecuteSwapResult: {
3066
+ /** @description The send_transaction_status ID associated with the swap transaction submission */
3067
+ sendTransactionStatusId: string;
3068
+ /** @description Swap provider used to build the transaction. */
3069
+ provider?: string;
3070
+ /** @description Quote identifier used for execution, if any. */
3071
+ quoteId?: string;
3072
+ };
2410
3073
  v1ExportPrivateKeyIntent: {
2411
3074
  /** @description Unique identifier for a given Private Key. */
2412
3075
  privateKeyId: string;
@@ -2480,7 +3143,7 @@ export type definitions = {
2480
3143
  value?: string;
2481
3144
  };
2482
3145
  /** @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";
3146
+ 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
3147
  /** @enum {string} */
2485
3148
  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
3149
  v1FiatOnRampCredential: {
@@ -2596,6 +3259,74 @@ export type definitions = {
2596
3259
  /** @description Hex encoded ephemeral public key. */
2597
3260
  ephemeralKey: string;
2598
3261
  };
3262
+ v1GetClaimEarnFeesStatusRequest: {
3263
+ /** @description Unique identifier for a given Organization. */
3264
+ organizationId: string;
3265
+ /** @description The claim_request_id returned by ClaimEarnFees. */
3266
+ claimRequestId: string;
3267
+ };
3268
+ v1GetClaimEarnFeesStatusResponse: {
3269
+ /**
3270
+ * @description Status of the fee claim.
3271
+ * @enum {string}
3272
+ */
3273
+ status: "PENDING" | "COMPLETED" | "FAILED";
3274
+ /** @description Transaction hash of the fee claim, once available. */
3275
+ claimTxHash?: string;
3276
+ /** @description Reason the fee claim transaction failed, when status is FAILED. */
3277
+ error?: string;
3278
+ };
3279
+ v1GetEarnDeployStatusRequest: {
3280
+ /** @description Unique identifier for a given Organization. */
3281
+ organizationId: string;
3282
+ /** @description The deploy_request_id returned by EarnDeployWrapper. */
3283
+ deployRequestId: string;
3284
+ };
3285
+ v1GetEarnDeployStatusResponse: {
3286
+ /**
3287
+ * @description Status of the wrapper deployment.
3288
+ * @enum {string}
3289
+ */
3290
+ status: "PENDING" | "COMPLETED" | "FAILED";
3291
+ /** @description Transaction hash of the deployment, once available. */
3292
+ deployTxHash?: string;
3293
+ /** @description Reason the deployment transaction failed, when status is FAILED. */
3294
+ error?: string;
3295
+ };
3296
+ v1GetEarnDepositStatusRequest: {
3297
+ /** @description Unique identifier for a given Organization. */
3298
+ organizationId: string;
3299
+ /** @description The deposit_request_id returned by EarnDeposit. */
3300
+ depositRequestId: string;
3301
+ };
3302
+ v1GetEarnDepositStatusResponse: {
3303
+ /**
3304
+ * @description Status of the deposit.
3305
+ * @enum {string}
3306
+ */
3307
+ status: "PENDING" | "COMPLETED" | "FAILED";
3308
+ /** @description Transaction hash of the deposit, once available. */
3309
+ depositTxHash?: string;
3310
+ /** @description Reason the deposit transaction failed, when status is FAILED. */
3311
+ error?: string;
3312
+ };
3313
+ v1GetEarnWithdrawStatusRequest: {
3314
+ /** @description Unique identifier for a given Organization. */
3315
+ organizationId: string;
3316
+ /** @description The withdraw_request_id returned by EarnWithdraw. */
3317
+ withdrawRequestId: string;
3318
+ };
3319
+ v1GetEarnWithdrawStatusResponse: {
3320
+ /**
3321
+ * @description Status of the withdrawal.
3322
+ * @enum {string}
3323
+ */
3324
+ status: "PENDING" | "COMPLETED" | "FAILED";
3325
+ /** @description Transaction hash of the withdrawal, once available. */
3326
+ withdrawTxHash?: string;
3327
+ /** @description Reason the withdrawal transaction failed, when status is FAILED. */
3328
+ error?: string;
3329
+ };
2599
3330
  v1GetGasUsageRequest: {
2600
3331
  /** @description Unique identifier for a given Organization. */
2601
3332
  organizationId: string;
@@ -2626,6 +3357,40 @@ export type definitions = {
2626
3357
  /** @description Name of enclave app. */
2627
3358
  appName: string;
2628
3359
  };
3360
+ v1GetMfaPoliciesRequest: {
3361
+ /** @description Unique identifier for a given organization. */
3362
+ organizationId: string;
3363
+ /** @description Unique identifier for a given user. */
3364
+ userId: string;
3365
+ };
3366
+ v1GetMfaPoliciesResponse: {
3367
+ /** @description A list of multi-factor authentication policies for a user. */
3368
+ mfaPolicies: definitions["v1MfaPolicy"][];
3369
+ };
3370
+ v1GetMfaPolicyRequest: {
3371
+ /** @description Unique identifier for a given organization. */
3372
+ organizationId: string;
3373
+ /** @description Unique identifier for a given user. */
3374
+ userId: string;
3375
+ /** @description Unique identifier for a given MFA policy. */
3376
+ mfaPolicyId: string;
3377
+ };
3378
+ v1GetMfaPolicyResponse: {
3379
+ /** @description Multi-factor authentication policy for a user. */
3380
+ mfaPolicy: definitions["v1MfaPolicy"];
3381
+ };
3382
+ v1GetMfaStatusRequest: {
3383
+ /** @description Unique identifier for a given organization. */
3384
+ organizationId: string;
3385
+ /** @description The unique identifier of the activity to get MFA status for. */
3386
+ activityId: string;
3387
+ /** @description Optional user ID to filter MFA status for a specific user. */
3388
+ userId?: string;
3389
+ };
3390
+ v1GetMfaStatusResponse: {
3391
+ /** @description A list of MFA statuses for the activity's votes. */
3392
+ mfaStatuses: definitions["v1MfaStatus"][];
3393
+ };
2629
3394
  v1GetNoncesRequest: {
2630
3395
  /** @description Unique identifier for a given Organization. */
2631
3396
  organizationId: string;
@@ -2635,7 +3400,7 @@ export type definitions = {
2635
3400
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
2636
3401
  * @enum {string}
2637
3402
  */
2638
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
3403
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
2639
3404
  /** @description Whether to fetch the standard on-chain nonce. */
2640
3405
  nonce?: boolean;
2641
3406
  /** @description Whether to fetch the gas station nonce used for sponsored transactions. */
@@ -2763,6 +3528,24 @@ export type definitions = {
2763
3528
  /** @description Structured error information including revert details, if available. */
2764
3529
  error?: definitions["v1TxError"];
2765
3530
  };
3531
+ v1GetSessionProfileRequest: {
3532
+ /** @description Unique identifier for a given organization. */
3533
+ organizationId: string;
3534
+ /** @description Unique identifier for a session profile. */
3535
+ sessionProfileId: string;
3536
+ };
3537
+ v1GetSessionProfileResponse: {
3538
+ /** @description Session profile for a user, including details about the user's authenticators, Oauth providers, API keys, and MFA policies. */
3539
+ sessionProfile: definitions["v1SessionProfile"];
3540
+ };
3541
+ v1GetSessionProfilesRequest: {
3542
+ /** @description Unique identifier for a given organization. */
3543
+ organizationId: string;
3544
+ };
3545
+ v1GetSessionProfilesResponse: {
3546
+ /** @description A list of session profiles for users in the organization. */
3547
+ sessionProfiles: definitions["v1SessionProfile"][];
3548
+ };
2766
3549
  v1GetSmartContractInterfaceRequest: {
2767
3550
  /** @description Unique identifier for a given organization. */
2768
3551
  organizationId: string;
@@ -2795,6 +3578,66 @@ export type definitions = {
2795
3578
  /** @description List of unique identifiers for the matching sub-organizations. */
2796
3579
  organizationIds: string[];
2797
3580
  };
3581
+ v1GetSwapQuoteRequest: {
3582
+ /** @description Unique identifier for a given Organization. */
3583
+ organizationId: string;
3584
+ /** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
3585
+ inputToken: string;
3586
+ /** @description CAIP-19 asset ID for the output asset. */
3587
+ outputToken: string;
3588
+ /** @description Base-unit amount of the input asset. */
3589
+ inputAmount: string;
3590
+ /** @description Wallet account address used to price the executable provider quote. */
3591
+ walletAccount: string;
3592
+ /** @description Maximum allowed slippage in basis points. */
3593
+ slippage?: string;
3594
+ };
3595
+ v1GetSwapQuoteResponse: {
3596
+ /** @description CAIP-19 asset ID for the input asset. */
3597
+ inputToken: string;
3598
+ /** @description CAIP-19 asset ID for the output asset. */
3599
+ outputToken: string;
3600
+ /** @description Base-unit amount of the input asset. */
3601
+ inputAmount: string;
3602
+ /** @description One quote per available swap provider. */
3603
+ quotes: definitions["v1SwapQuoteOption"][];
3604
+ };
3605
+ v1GetSwapStatusRequest: {
3606
+ /** @description Unique identifier for a given Organization. */
3607
+ organizationId: string;
3608
+ /** @description Identifier returned in the execute_swap activity result. */
3609
+ sendTransactionStatusId: string;
3610
+ };
3611
+ v1GetSwapStatusResponse: {
3612
+ /** @description Normalized swap status. One of PENDING, COMPLETED, FAILED. */
3613
+ status: string;
3614
+ /** @description SAME_CHAIN or CROSS_CHAIN. */
3615
+ swapKind: string;
3616
+ /** @description Swap provider that executed the swap. */
3617
+ provider?: string;
3618
+ /** @description CAIP-19 asset ID for the input asset. */
3619
+ inputToken: string;
3620
+ /** @description CAIP-19 asset ID for the output asset. */
3621
+ outputToken: string;
3622
+ /** @description Base-unit amount of the input asset. */
3623
+ inputAmount: string;
3624
+ /** @description Final included origin-chain transaction hash, when known. */
3625
+ originTxHash?: string;
3626
+ /** @description Destination-chain fill transaction hash; cross-chain COMPLETED only. */
3627
+ destinationTxHash?: string;
3628
+ /** @description Actual base-unit output amount on COMPLETED, when known. */
3629
+ outputAmount?: string;
3630
+ /** @description CAIP-19 of the asset the user holds after a FAILED swap, when recoverable. */
3631
+ settledAsset?: string;
3632
+ /** @description Base-unit amount of settled_asset. */
3633
+ settledAmount?: string;
3634
+ /** @description Transaction that delivered the settled funds, when applicable. */
3635
+ settlementTxHash?: string;
3636
+ /** @description Non-normative raw provider status passthrough; cross-chain only. */
3637
+ providerStatus?: string;
3638
+ /** @description Timestamp of the last swap status change, as millisecond epoch string. */
3639
+ updatedAt: string;
3640
+ };
2798
3641
  v1GetTvcAppDeploymentsRequest: {
2799
3642
  /** @description Unique identifier for a given organization. */
2800
3643
  organizationId: string;
@@ -2823,6 +3666,26 @@ export type definitions = {
2823
3666
  /** @description A list of TVC Apps. */
2824
3667
  tvcApps: definitions["v1TvcApp"][];
2825
3668
  };
3669
+ v1GetTvcDeploymentDebugLogsRequest: {
3670
+ /** @description Unique identifier for a given Organization. */
3671
+ organizationId: string;
3672
+ /** @description Unique identifier for a given TVC Deployment. The deployment must be running in debug mode. */
3673
+ deploymentId: string;
3674
+ /**
3675
+ * Format: int32
3676
+ * @description Limit returned history to the last N lines per replica. If unset or zero, no tail-line limit is applied.
3677
+ */
3678
+ tailLines?: number;
3679
+ /**
3680
+ * Format: int64
3681
+ * @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.
3682
+ */
3683
+ sinceSeconds?: string;
3684
+ };
3685
+ v1GetTvcDeploymentDebugLogsResponse: {
3686
+ /** @description Application log entries sorted by platform timestamp. */
3687
+ entries: definitions["v1TvcDeploymentDebugLogEntry"][];
3688
+ };
2826
3689
  v1GetTvcDeploymentProvisioningDetailsRequest: {
2827
3690
  /** @description Unique identifier for a given Organization. */
2828
3691
  organizationId: string;
@@ -2920,7 +3783,7 @@ export type definitions = {
2920
3783
  * @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
3784
  * @enum {string}
2922
3785
  */
2923
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
3786
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
2924
3787
  };
2925
3788
  v1GetWalletAddressBalancesResponse: {
2926
3789
  /** @description List of asset balances */
@@ -3074,6 +3937,28 @@ export type definitions = {
3074
3937
  /** @description Import bundle containing a public key and signature to use for importing client data. */
3075
3938
  importBundle: string;
3076
3939
  };
3940
+ v1InitImportSecretsIntent: {
3941
+ /** @description Transport encryption suite used for ingress secrets. */
3942
+ encryptionSuite: definitions["v1TransportEncryptionSuite"];
3943
+ /**
3944
+ * Format: int32
3945
+ * @description The number of secrets the user intends to import.
3946
+ */
3947
+ numSecrets: number;
3948
+ };
3949
+ v1InitImportSecretsRequest: {
3950
+ /** @enum {string} */
3951
+ type: "ACTIVITY_TYPE_INIT_IMPORT_SECRETS";
3952
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3953
+ timestampMs: string;
3954
+ /** @description Unique identifier for a given Organization. */
3955
+ organizationId: string;
3956
+ parameters: definitions["v1InitImportSecretsIntent"];
3957
+ };
3958
+ v1InitImportSecretsResult: {
3959
+ /** @description Enclave ingress target keys along with metadata specific to the encryption suite. For enclave encrypt v1 this will be ServerTargetMsgV1. */
3960
+ enclaveTargetMessages: string[];
3961
+ };
3077
3962
  v1InitImportWalletIntent: {
3078
3963
  /** @description The ID of the User importing a Wallet. */
3079
3964
  userId: string;
@@ -3472,6 +4357,24 @@ export type definitions = {
3472
4357
  sparkClaimTransferIntent?: definitions["v1SparkClaimTransferIntent"];
3473
4358
  sparkPrepareLightningReceiveIntent?: definitions["v1SparkPrepareLightningReceiveIntent"];
3474
4359
  postTvcQuorumKeyShareIntent?: definitions["v1PostTvcQuorumKeyShareIntent"];
4360
+ ethSendTransactionIntentV2?: definitions["v1EthSendTransactionIntentV2"];
4361
+ createMfaPolicyIntent?: definitions["v1CreateMfaPolicyIntent"];
4362
+ updateMfaPolicyIntent?: definitions["v1UpdateMfaPolicyIntent"];
4363
+ deleteMfaPolicyIntent?: definitions["v1DeleteMfaPolicyIntent"];
4364
+ createSessionProfileIntent?: definitions["v1CreateSessionProfileIntent"];
4365
+ earnDeployWrapperIntent?: definitions["v1EarnDeployWrapperIntent"];
4366
+ earnDepositIntent?: definitions["v1EarnDepositIntent"];
4367
+ earnWithdrawIntent?: definitions["v1EarnWithdrawIntent"];
4368
+ executeSwapIntent?: definitions["v1ExecuteSwapIntent"];
4369
+ upsertSwapConfigIntent?: definitions["v1UpsertSwapConfigIntent"];
4370
+ createTvcOperatorIntent?: definitions["v1CreateTvcOperatorIntent"];
4371
+ createTvcQuorumKeyIntent?: definitions["v1CreateTvcQuorumKeyIntent"];
4372
+ reEncryptTvcQuorumKeyShareIntent?: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
4373
+ initImportSecretsIntent?: definitions["v1InitImportSecretsIntent"];
4374
+ solSendTransactionIntentV2?: definitions["v1SolSendTransactionIntentV2"];
4375
+ claimSwapFeesIntent?: definitions["v1ClaimSwapFeesIntent"];
4376
+ earnSetWrapperStateIntent?: definitions["v1EarnSetWrapperStateIntent"];
4377
+ claimEarnFeesIntent?: definitions["v1ClaimEarnFeesIntent"];
3475
4378
  };
3476
4379
  v1Invitation: {
3477
4380
  /** @description Unique identifier for a given Invitation object. */
@@ -3531,6 +4434,75 @@ export type definitions = {
3531
4434
  /** @description Creation timestamp as millisecond epoch string. */
3532
4435
  createdAt?: string;
3533
4436
  };
4437
+ v1ListEarnEnabledVaultsRequest: {
4438
+ /** @description Unique identifier for a given Organization. */
4439
+ organizationId: string;
4440
+ /** @description Optional filter: only return enabled vaults from this provider. Leave EARN_PROVIDER_UNSPECIFIED to return all providers. */
4441
+ provider?: definitions["v1EarnProvider"];
4442
+ /** @description Optional filter: only return enabled vaults whose underlying asset matches this CAIP-19 asset ID (e.g. 'eip155:8453/erc20:0x833589...'). The chain is taken from the CAIP-19 identifier. */
4443
+ caip19?: string;
4444
+ };
4445
+ v1ListEarnEnabledVaultsResponse: {
4446
+ /** @description The organization's deployed wrappers. */
4447
+ enabledVaults?: definitions["v1EarnEnabledVault"][];
4448
+ };
4449
+ v1ListEarnPositionsRequest: {
4450
+ /** @description Unique identifier for a given Organization. */
4451
+ organizationId: string;
4452
+ /** @description The wallet address to return positions for. */
4453
+ walletAddress: string;
4454
+ };
4455
+ v1ListEarnPositionsResponse: {
4456
+ /** @description The wallet's active Earn positions. */
4457
+ positions?: definitions["v1EarnPosition"][];
4458
+ };
4459
+ v1ListEarnVaultsRequest: {
4460
+ /** @description Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
4461
+ organizationId: string;
4462
+ /** @description Optional filter: only return vaults from this provider. Leave EARN_PROVIDER_UNSPECIFIED to return all providers. */
4463
+ provider?: definitions["v1EarnProvider"];
4464
+ /** @description CAIP-19 asset ID (e.g. 'eip155:8453/erc20:0x833589...') to return vaults for. Only vaults whose underlying asset matches are returned; the chain is taken from the CAIP-19 identifier. */
4465
+ caip19: string;
4466
+ /** @description Pagination over the TVL-sorted catalog. before/after cursors are a vault_address from a prior page. */
4467
+ paginationOptions?: definitions["v1Pagination"];
4468
+ };
4469
+ v1ListEarnVaultsResponse: {
4470
+ /** @description The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass the last vault_address as the pagination after cursor. */
4471
+ vaults?: definitions["v1EarnVault"][];
4472
+ };
4473
+ v1ListEmailEventsRequest: {
4474
+ /** @description Unique identifier for a given organization */
4475
+ organizationId: string;
4476
+ /** @description Recipient email address to list email events for */
4477
+ email: string;
4478
+ /** @description Optional email event type to filter by. Examples include Send, Delivery, Bounce, and DeliveryDelay */
4479
+ eventType?: string;
4480
+ /** @description Parameters used for cursor-based pagination */
4481
+ paginationOptions?: definitions["v1Pagination"];
4482
+ };
4483
+ v1ListEmailEventsResponse: {
4484
+ /** @description Email events matching the requested filters, ordered by most recent event first. */
4485
+ emailEvents: definitions["v1EmailEvent"][];
4486
+ };
4487
+ v1ListEthTransactionHistoryRequest: {
4488
+ /** @description Unique identifier for a given organization. */
4489
+ organizationId: string;
4490
+ /** @description Address corresponding to a wallet account. Private key addresses are not supported. */
4491
+ address: string;
4492
+ /**
4493
+ * @description EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
4494
+ * @enum {string}
4495
+ */
4496
+ 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";
4497
+ /** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
4498
+ paginationOptions?: definitions["v1TransactionHistoryPaginationOptions"];
4499
+ };
4500
+ v1ListEthTransactionHistoryResponse: {
4501
+ /** @description EVM transactions for the requested address, ordered by most recent first. */
4502
+ transactions: definitions["v1EthTransactionHistoryItem"][];
4503
+ /** @description Opaque pagination cursors for fetching adjacent transaction-history pages. */
4504
+ paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
4505
+ };
3534
4506
  v1ListFiatOnRampCredentialsRequest: {
3535
4507
  /** @description Unique identifier for a given Organization. */
3536
4508
  organizationId: string;
@@ -3553,6 +4525,25 @@ export type definitions = {
3553
4525
  /** @description A list of private key tags. */
3554
4526
  privateKeyTags: definitions["datav1Tag"][];
3555
4527
  };
4528
+ v1ListSolTransactionHistoryRequest: {
4529
+ /** @description Unique identifier for a given organization. */
4530
+ organizationId: string;
4531
+ /** @description Address corresponding to a wallet account. Private key addresses are not supported. */
4532
+ address: string;
4533
+ /**
4534
+ * @description Solana CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values.
4535
+ * @enum {string}
4536
+ */
4537
+ caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:mainnet" | "solana:devnet";
4538
+ /** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
4539
+ paginationOptions?: definitions["v1TransactionHistoryPaginationOptions"];
4540
+ };
4541
+ v1ListSolTransactionHistoryResponse: {
4542
+ /** @description Solana transactions for the requested address, ordered by most recent first. */
4543
+ transactions: definitions["v1SolTransactionHistoryItem"][];
4544
+ /** @description Opaque pagination cursors for fetching adjacent transaction-history pages. */
4545
+ paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
4546
+ };
3556
4547
  v1ListSupportedAssetsRequest: {
3557
4548
  /** @description Unique identifier for a given organization. */
3558
4549
  organizationId: string;
@@ -3560,7 +4551,7 @@ export type definitions = {
3560
4551
  * @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
4552
  * @enum {string}
3562
4553
  */
3563
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
4554
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
3564
4555
  };
3565
4556
  v1ListSupportedAssetsResponse: {
3566
4557
  /** @description List of asset metadata */
@@ -3581,10 +4572,47 @@ export type definitions = {
3581
4572
  v1ListWebhookEndpointsResponse: {
3582
4573
  webhookEndpoints: definitions["v1WebhookEndpointData"][];
3583
4574
  };
4575
+ v1LogLine: {
4576
+ /** @description One log line, exactly as the application printed it (without the trailing newline) */
4577
+ content: string;
4578
+ /** @description When the line was logged. Stable across replays, so lines can be chronologically merged across pods */
4579
+ ts?: definitions["externaldatav1Timestamp"];
4580
+ };
3584
4581
  v1LoginUsage: {
3585
4582
  /** @description Public key for authentication */
3586
4583
  publicKey: string;
3587
4584
  };
4585
+ v1MfaPolicy: {
4586
+ /** @description Unique identifier for a given MFA Policy. */
4587
+ mfaPolicyId: string;
4588
+ /** @description Human-readable name for an MFA Policy. */
4589
+ mfaPolicyName: string;
4590
+ /** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
4591
+ condition: string;
4592
+ /** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
4593
+ requiredAuthenticationMethods: definitions["v1RequiredAuthenticationMethod"][];
4594
+ /**
4595
+ * Format: int64
4596
+ * @description The order in which this policy is evaluated relative to other MFA policies.
4597
+ */
4598
+ order: number;
4599
+ /** @description Optional human-readable notes added by a User to describe a particular MFA policy. */
4600
+ notes?: string;
4601
+ createdAt: definitions["externaldatav1Timestamp"];
4602
+ updatedAt: definitions["externaldatav1Timestamp"];
4603
+ };
4604
+ v1MfaStatus: {
4605
+ /** @description Unique identifier for a given MFA Policy. */
4606
+ mfaPolicyId: string;
4607
+ /** @description Unique identifier for a given User. */
4608
+ userId: string;
4609
+ /** @description Whether the MFA policy requirements are currently satisfied. */
4610
+ satisfied: boolean;
4611
+ /** @description A list of authentication methods already satisfied for this MFA policy. */
4612
+ satisfiedMethods: definitions["v1AuthenticationMethod"][];
4613
+ /** @description An ordered list of authentication requirements needed to satisfy this MFA policy. */
4614
+ requiredMethods: definitions["v1RequiredAuthenticationMethod"][];
4615
+ };
3588
4616
  /** @enum {string} */
3589
4617
  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";
3590
4618
  v1NOOPCodegenAnchorResponse: {
@@ -3667,6 +4695,8 @@ export type definitions = {
3667
4695
  expirationSeconds?: string;
3668
4696
  /** @description Invalidate all other previously generated Login API keys */
3669
4697
  invalidateExisting?: boolean;
4698
+ /** @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. */
4699
+ sessionProfileId?: string;
3670
4700
  };
3671
4701
  v1OauthLoginRequest: {
3672
4702
  /** @enum {string} */
@@ -3794,6 +4824,8 @@ export type definitions = {
3794
4824
  invalidateExisting?: boolean;
3795
4825
  /** @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
4826
  clientSignature?: definitions["v1ClientSignature"];
4827
+ /** @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. */
4828
+ sessionProfileId?: string;
3797
4829
  };
3798
4830
  v1OtpLoginIntentV2: {
3799
4831
  /** @description Signed Verification Token containing a unique id, expiry, verification type, contact */
@@ -3806,6 +4838,8 @@ export type definitions = {
3806
4838
  expirationSeconds?: string;
3807
4839
  /** @description Invalidate all other previously generated Login sessions */
3808
4840
  invalidateExisting?: boolean;
4841
+ /** @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. */
4842
+ sessionProfileId?: string;
3809
4843
  };
3810
4844
  v1OtpLoginRequest: {
3811
4845
  /** @enum {string} */
@@ -3822,7 +4856,7 @@ export type definitions = {
3822
4856
  session: string;
3823
4857
  };
3824
4858
  /** @enum {string} */
3825
- v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR";
4859
+ v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS";
3826
4860
  v1Pagination: {
3827
4861
  /** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
3828
4862
  limit?: string;
@@ -3924,6 +4958,34 @@ export type definitions = {
3924
4958
  /** @description Signature from the share set operator approving the manifest */
3925
4959
  signature: string;
3926
4960
  };
4961
+ v1ReEncryptTvcQuorumKeyShareIntent: {
4962
+ /** @description Base64-encoded attestation document for the TVC deployment provisioning enclave */
4963
+ attestationDocB64: string;
4964
+ /** @description Base64-encoded manifest for the TVC deployment */
4965
+ manifestB64: string;
4966
+ /** @description Operator encryption public key used to encrypt the hosted TVC quorum key share */
4967
+ operatorEncryptKey: string;
4968
+ /** @description Operator signing public key used to approve the TVC manifest */
4969
+ operatorSignKey: string;
4970
+ /** @description Unique identifier of the TVC deployment receiving the re-encrypted quorum key share */
4971
+ deploymentId: string;
4972
+ /** @description Quorum key for the TVC application */
4973
+ appQuorumKey: string;
4974
+ };
4975
+ v1ReEncryptTvcQuorumKeyShareRequest: {
4976
+ /** @enum {string} */
4977
+ type: "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE";
4978
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
4979
+ timestampMs: string;
4980
+ /** @description Unique identifier for a given Organization. */
4981
+ organizationId: string;
4982
+ parameters: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
4983
+ generateAppProofs?: boolean;
4984
+ };
4985
+ v1ReEncryptTvcQuorumKeyShareResult: {
4986
+ /** @description The unique identifier for the provisioning quorum key share */
4987
+ provisioningShareId: string;
4988
+ };
3927
4989
  v1RecoverUserIntent: {
3928
4990
  /** @description The new authenticator to register. */
3929
4991
  authenticator: definitions["v1AuthenticatorParamsV2"];
@@ -3999,6 +5061,14 @@ export type definitions = {
3999
5061
  /** @description Resulting list of organization features. */
4000
5062
  features: definitions["v1Feature"][];
4001
5063
  };
5064
+ v1RequiredAuthenticationMethod: {
5065
+ /** @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. */
5066
+ any: definitions["v1AuthenticationMethod"][];
5067
+ };
5068
+ v1RequiredAuthenticationMethodParams: {
5069
+ /** @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. */
5070
+ any: definitions["v1AuthenticationMethodParams"][];
5071
+ };
4002
5072
  v1RestoreTvcDeploymentIntent: {
4003
5073
  /** @description The unique identifier of the TVC deployment to restore. */
4004
5074
  deploymentId: string;
@@ -4134,6 +5204,24 @@ export type definitions = {
4134
5204
  sparkClaimTransferResult?: definitions["v1SparkClaimTransferResult"];
4135
5205
  sparkPrepareLightningReceiveResult?: definitions["v1SparkPrepareLightningReceiveResult"];
4136
5206
  postTvcQuorumKeyShareResult?: definitions["v1PostTvcQuorumKeyShareResult"];
5207
+ ethSendTransactionResultV2?: definitions["v1EthSendTransactionResultV2"];
5208
+ createMfaPolicyResult?: definitions["v1CreateMfaPolicyResult"];
5209
+ updateMfaPolicyResult?: definitions["v1UpdateMfaPolicyResult"];
5210
+ deleteMfaPolicyResult?: definitions["v1DeleteMfaPolicyResult"];
5211
+ createSessionProfileResult?: definitions["v1CreateSessionProfileResult"];
5212
+ earnDeployWrapperResult?: definitions["v1EarnDeployWrapperResult"];
5213
+ earnDepositResult?: definitions["v1EarnDepositResult"];
5214
+ earnWithdrawResult?: definitions["v1EarnWithdrawResult"];
5215
+ executeSwapResult?: definitions["v1ExecuteSwapResult"];
5216
+ upsertSwapConfigResult?: definitions["v1UpsertSwapConfigResult"];
5217
+ createTvcOperatorResult?: definitions["v1CreateTvcOperatorResult"];
5218
+ createTvcQuorumKeyResult?: definitions["v1CreateTvcQuorumKeyResult"];
5219
+ reEncryptTvcQuorumKeyShareResult?: definitions["v1ReEncryptTvcQuorumKeyShareResult"];
5220
+ initImportSecretsResult?: definitions["v1InitImportSecretsResult"];
5221
+ solSendTransactionResultV2?: definitions["v1SolSendTransactionResultV2"];
5222
+ claimSwapFeesResult?: definitions["v1ClaimSwapFeesResult"];
5223
+ earnSetWrapperStateResult?: definitions["v1EarnSetWrapperStateResult"];
5224
+ claimEarnFeesResult?: definitions["v1ClaimEarnFeesResult"];
4137
5225
  };
4138
5226
  v1RevertChainEntry: {
4139
5227
  /** @description The contract address where the revert occurred. */
@@ -4221,6 +5309,20 @@ export type definitions = {
4221
5309
  operator?: definitions["v1Operator"];
4222
5310
  targets?: string[];
4223
5311
  };
5312
+ v1SessionProfile: {
5313
+ /** @description Unique identifier for a given Session Profile. */
5314
+ sessionProfileId: string;
5315
+ /** @description Human-readable name for a Session Profile. */
5316
+ sessionProfileName: string;
5317
+ /** @description The specific scope that a session created with this profile is limited to. */
5318
+ scope: string;
5319
+ /** @description Optional window (in seconds) indicating how long sessions created with this profile should last. */
5320
+ expirationSeconds?: string;
5321
+ /** @description Optional human-readable notes added by a User to describe a particular Session Profile. */
5322
+ notes?: string;
5323
+ createdAt: definitions["externaldatav1Timestamp"];
5324
+ updatedAt: definitions["externaldatav1Timestamp"];
5325
+ };
4224
5326
  v1SetIpAllowlistIntent: {
4225
5327
  /** @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
5328
  publicKey?: string;
@@ -4397,20 +5499,68 @@ export type definitions = {
4397
5499
  /** @description user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
4398
5500
  recentBlockhash?: string;
4399
5501
  };
5502
+ v1SolSendTransactionIntentV2: {
5503
+ /** @description Hex-encoded serialized unsigned Solana transaction (full wire format with zeroed signature placeholders) */
5504
+ unsignedTransaction: string;
5505
+ /** @description Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers. For sponsored transactions this must list every required signer of the transaction in transaction order. */
5506
+ signWiths: string[];
5507
+ /** @description Whether to sponsor this transaction via Gas Station. */
5508
+ sponsor?: boolean;
5509
+ /**
5510
+ * @description CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values.
5511
+ * @enum {string}
5512
+ */
5513
+ caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
5514
+ /** @description User-provided blockhash for replay protection / deadline control. If provided, it is used as-is, including for sponsored transactions (the transaction is only broadcastable while the blockhash is current). If omitted and sponsor=true, a fresh blockhash is fetched during execution. */
5515
+ recentBlockhash?: string;
5516
+ };
4400
5517
  v1SolSendTransactionRequest: {
4401
5518
  /** @enum {string} */
4402
- type: "ACTIVITY_TYPE_SOL_SEND_TRANSACTION";
5519
+ type: "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2";
4403
5520
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
4404
5521
  timestampMs: string;
4405
5522
  /** @description Unique identifier for a given Organization. */
4406
5523
  organizationId: string;
4407
- parameters: definitions["v1SolSendTransactionIntent"];
5524
+ parameters: definitions["v1SolSendTransactionIntentV2"];
4408
5525
  generateAppProofs?: boolean;
4409
5526
  };
4410
5527
  v1SolSendTransactionResult: {
4411
5528
  /** @description The send_transaction_status ID associated with the transaction submission */
4412
5529
  sendTransactionStatusId: string;
4413
5530
  };
5531
+ v1SolSendTransactionResultV2: {
5532
+ /** @description The send_transaction_status ID associated with the transaction submission */
5533
+ sendTransactionStatusId: string;
5534
+ };
5535
+ v1SolTransactionHistoryItem: {
5536
+ /** @description Solana transaction signature. */
5537
+ signature: string;
5538
+ /** @description Block metadata for the transaction. */
5539
+ block: definitions["v1TransactionHistoryBlock"];
5540
+ /**
5541
+ * @description Transaction confirmation status.
5542
+ * @enum {string}
5543
+ */
5544
+ status: "CONFIRMED" | "FINALIZED";
5545
+ /** @description Origin of the transaction. Examples include TURNKEY. */
5546
+ origin: string;
5547
+ /** @description Address that paid the Solana transaction fee. This is the first signer in the transaction message. */
5548
+ feePayer: string;
5549
+ /** @description Addresses that signed the Solana transaction, in message order. */
5550
+ signers: definitions["v1SolTransactionHistorySigner"][];
5551
+ /** @description Transaction fee information. */
5552
+ fee: definitions["v1TransactionHistoryFee"];
5553
+ /** @description Asset transfers associated with the transaction. */
5554
+ transfers: definitions["v1TransactionHistoryTransfer"][];
5555
+ /** @description Turnkey-specific metadata for transactions originated by Turnkey. */
5556
+ turnkey?: definitions["v1TransactionHistoryTurnkey"];
5557
+ };
5558
+ v1SolTransactionHistorySigner: {
5559
+ /** @description Address of the Solana transaction signer. */
5560
+ address: string;
5561
+ /** @description Whether the signer account was writable in the Solana transaction message. */
5562
+ writable: boolean;
5563
+ };
4414
5564
  v1SolanaConfig: {
4415
5565
  /** @description Whether Solana rent prefunding is enabled for the organization. When omitted, the existing rent-prefund state is left unchanged. */
4416
5566
  rentPrefundEnabled?: boolean;
@@ -4671,6 +5821,8 @@ export type definitions = {
4671
5821
  expirationSeconds?: string;
4672
5822
  /** @description Invalidate all other previously generated Login API keys */
4673
5823
  invalidateExisting?: boolean;
5824
+ /** @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. */
5825
+ sessionProfileId?: string;
4674
5826
  };
4675
5827
  v1StampLoginRequest: {
4676
5828
  /** @enum {string} */
@@ -4686,6 +5838,16 @@ export type definitions = {
4686
5838
  /** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
4687
5839
  session: string;
4688
5840
  };
5841
+ v1SwapQuoteOption: {
5842
+ /** @description Identifier for this provider quote. */
5843
+ quoteId: string;
5844
+ /** @description Swap provider that produced this quote. Pass this value to execute_swap to force a specific provider. */
5845
+ provider: string;
5846
+ /** @description Estimated base-unit amount of the output asset. */
5847
+ outputAmount: string;
5848
+ /** @description Minimum acceptable base-unit amount of the output asset after slippage. */
5849
+ minOutputAmount?: string;
5850
+ };
4689
5851
  /** @enum {string} */
4690
5852
  v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
4691
5853
  v1TestRateLimitsRequest: {
@@ -4711,8 +5873,83 @@ export type definitions = {
4711
5873
  login?: definitions["v1LoginUsage"];
4712
5874
  signupV2?: definitions["v1SignupUsageV2"];
4713
5875
  };
5876
+ v1TransactionHistoryAsset: {
5877
+ /** @description The CAIP-19 asset identifier. */
5878
+ caip19: string;
5879
+ /** @description The asset symbol. */
5880
+ symbol: string;
5881
+ /** @description The asset name. */
5882
+ name: string;
5883
+ /**
5884
+ * Format: int32
5885
+ * @description The number of decimals this asset uses.
5886
+ */
5887
+ decimals: number;
5888
+ };
5889
+ v1TransactionHistoryBlock: {
5890
+ /**
5891
+ * Format: int64
5892
+ * @description Block number containing the transaction.
5893
+ */
5894
+ number: string;
5895
+ /** @description Block hash containing the transaction. */
5896
+ hash: string;
5897
+ /** @description Block timestamp in RFC 3339 format. */
5898
+ timestamp: string;
5899
+ };
5900
+ v1TransactionHistoryDisplay: {
5901
+ /** @description Normalized crypto value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
5902
+ crypto?: string;
5903
+ /** @description USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
5904
+ usd?: string;
5905
+ };
5906
+ v1TransactionHistoryFee: {
5907
+ /** @description Fee amount in atomic units. */
5908
+ amount: string;
5909
+ /** @description The CAIP-19 asset identifier. */
5910
+ caip19: string;
5911
+ };
5912
+ v1TransactionHistoryPaginationCursors: {
5913
+ /** @description Opaque base64-encoded cursor for fetching transactions immediately before the current page in the newest-first result order. Omitted when no such page exists. */
5914
+ before?: string;
5915
+ /** @description Opaque base64-encoded cursor for fetching transactions immediately after the current page in the newest-first result order. Omitted when no such page exists. */
5916
+ after?: string;
5917
+ };
5918
+ v1TransactionHistoryPaginationOptions: {
5919
+ /** @description Maximum number of transactions to return, between 1 and 100. Defaults to 25. */
5920
+ limit?: string;
5921
+ /** @description Opaque base64-encoded cursor returned by this API. Fetches transactions immediately before the cursor in the newest-first result order. Must not be constructed or modified by clients. Cannot be used with after. */
5922
+ before?: string;
5923
+ /** @description Opaque base64-encoded cursor returned by this API. Fetches transactions immediately after the cursor in the newest-first result order. Must not be constructed or modified by clients. Cannot be used with before. */
5924
+ after?: string;
5925
+ };
5926
+ v1TransactionHistoryTransfer: {
5927
+ /**
5928
+ * @description Transfer direction relative to the queried address.
5929
+ * @enum {string}
5930
+ */
5931
+ direction: "IN" | "OUT";
5932
+ /** @description Asset metadata for the transfer. Omitted when the asset cannot be determined. */
5933
+ asset?: definitions["v1TransactionHistoryAsset"];
5934
+ /** @description Transfer amount in atomic units. */
5935
+ amount: string;
5936
+ /** @description Counterparty address for the transfer. */
5937
+ counterparty: string;
5938
+ /** @description Normalized transfer values for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. Use the amount field instead. */
5939
+ display?: definitions["v1TransactionHistoryDisplay"];
5940
+ };
5941
+ v1TransactionHistoryTurnkey: {
5942
+ /** @description Whether the transaction fee was sponsored by Turnkey. */
5943
+ sponsored: boolean;
5944
+ /** @description Fingerprint of the Turnkey activity that submitted the transaction. */
5945
+ activityFingerprint?: string;
5946
+ /** @description Timestamp when Turnkey submitted the transaction, in RFC 3339 format. */
5947
+ submittedAt?: string;
5948
+ };
4714
5949
  /** @enum {string} */
4715
5950
  v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
5951
+ /** @enum {string} */
5952
+ v1TransportEncryptionSuite: "TRANSPORT_ENCRYPTION_SUITE_ENCLAVE_ENCRYPT_V1";
4716
5953
  v1TvcApp: {
4717
5954
  /** @description Unique Identifier for this TVC App. */
4718
5955
  id: string;
@@ -4734,6 +5971,8 @@ export type definitions = {
4734
5971
  liveDeploymentId?: string;
4735
5972
  /** @description The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
4736
5973
  publicDomain: string;
5974
+ /** @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. */
5975
+ enableDebugModeDeployments: boolean;
4737
5976
  };
4738
5977
  v1TvcContainerSpec: {
4739
5978
  /** @description The URL for this container image. */
@@ -4780,6 +6019,14 @@ export type definitions = {
4780
6019
  updatedAt: definitions["externaldatav1Timestamp"];
4781
6020
  /** @description Whether or not the user wants this deployment deleted from the cluster. */
4782
6021
  delete: boolean;
6022
+ /** @description Whether this deployment is running in debug mode. Debug-mode deployments expose enclave logs and cannot be remotely attested. */
6023
+ debugMode: boolean;
6024
+ };
6025
+ v1TvcDeploymentDebugLogEntry: {
6026
+ /** @description Application log line with its platform timestamp. */
6027
+ line: definitions["v1LogLine"];
6028
+ /** @description Public replica label that produced this log line, for example 'replica 2/3'. */
6029
+ replicaLabel: string;
4783
6030
  };
4784
6031
  /** @enum {string} */
4785
6032
  v1TvcHealthCheckType: "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
@@ -4931,6 +6178,8 @@ export type definitions = {
4931
6178
  verificationTokenRequiredForGetAccountPii?: boolean;
4932
6179
  /** @description Whitelisted OAuth client IDs for social account linking. When a user authenticates via a social provider with an email matching an existing account, the accounts will be linked if the client ID is in this list and the issuer is considered a trusted provider. */
4933
6180
  socialLinkingClientIds?: string[];
6181
+ /** @description Whether captcha verification is required on sign up & otp init. */
6182
+ captchaEnabled?: boolean;
4934
6183
  };
4935
6184
  v1UpdateAuthProxyConfigResult: {
4936
6185
  /** @description Unique identifier for a given User. (representing the turnkey signer user id) */
@@ -4964,6 +6213,38 @@ export type definitions = {
4964
6213
  /** @description Unique identifier of the Fiat On-Ramp credential that was updated */
4965
6214
  fiatOnRampCredentialId: string;
4966
6215
  };
6216
+ v1UpdateMfaPolicyIntent: {
6217
+ /** @description The ID of the User to update the MFA Policy for. */
6218
+ userId: string;
6219
+ /** @description Unique identifier for a given MFA Policy. */
6220
+ mfaPolicyId: string;
6221
+ /** @description Human-readable name for a Policy. */
6222
+ mfaPolicyName?: string;
6223
+ /** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
6224
+ condition?: string;
6225
+ /** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
6226
+ requiredAuthenticationMethods?: definitions["v1RequiredAuthenticationMethodParams"][];
6227
+ /**
6228
+ * Format: int64
6229
+ * @description The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first.
6230
+ */
6231
+ order?: number;
6232
+ /** @description Notes for an MFA Policy. */
6233
+ notes?: string;
6234
+ };
6235
+ v1UpdateMfaPolicyRequest: {
6236
+ /** @enum {string} */
6237
+ type: "ACTIVITY_TYPE_UPDATE_MFA_POLICY";
6238
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
6239
+ timestampMs: string;
6240
+ /** @description Unique identifier for a given Organization. */
6241
+ organizationId: string;
6242
+ parameters: definitions["v1UpdateMfaPolicyIntent"];
6243
+ };
6244
+ v1UpdateMfaPolicyResult: {
6245
+ /** @description Unique identifier for a given MFA Policy. */
6246
+ mfaPolicyId: string;
6247
+ };
4967
6248
  v1UpdateOauth2CredentialIntent: {
4968
6249
  /** @description The ID of the OAuth 2.0 credential to update */
4969
6250
  oauth2CredentialId: string;
@@ -5293,6 +6574,29 @@ export type definitions = {
5293
6574
  /** @description Unique identifier for the gas usage configuration that was created or updated. */
5294
6575
  gasUsageConfigId: string;
5295
6576
  };
6577
+ v1UpsertSwapConfigIntent: {
6578
+ feeReceiverWalletAddress?: string;
6579
+ /** @description Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
6580
+ feeBps?: string;
6581
+ provider?: string;
6582
+ /** @description Optional override applied when both swap assets are stablecoins; falls back to fee_bps when unset. */
6583
+ stableFeeBps?: string;
6584
+ };
6585
+ v1UpsertSwapConfigRequest: {
6586
+ /** @enum {string} */
6587
+ type: "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG";
6588
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
6589
+ timestampMs: string;
6590
+ /** @description Unique identifier for a given Organization. */
6591
+ organizationId: string;
6592
+ parameters: definitions["v1UpsertSwapConfigIntent"];
6593
+ generateAppProofs?: boolean;
6594
+ };
6595
+ v1UpsertSwapConfigResult: {
6596
+ feeReceiverWalletAddress?: string;
6597
+ feeBps?: string;
6598
+ stableFeeBps?: string;
6599
+ };
5296
6600
  /** @enum {string} */
5297
6601
  v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
5298
6602
  v1User: {
@@ -5314,6 +6618,8 @@ export type definitions = {
5314
6618
  oauthProviders: definitions["v1OauthProvider"][];
5315
6619
  createdAt: definitions["externaldatav1Timestamp"];
5316
6620
  updatedAt: definitions["externaldatav1Timestamp"];
6621
+ /** @description A list of MFA Policies that define multi-factor authentication requirements for this user. */
6622
+ mfaPolicies: definitions["v1MfaPolicy"][];
5317
6623
  };
5318
6624
  v1UserParams: {
5319
6625
  /** @description Human-readable name for a User. */
@@ -5472,6 +6778,8 @@ export type definitions = {
5472
6778
  publicKey?: string;
5473
6779
  /** @description Wallet details for this account. This is only present when include_wallet_details=true. */
5474
6780
  walletDetails?: definitions["v1Wallet"];
6781
+ /** @description Human-readable name for this Wallet Account, unique within the organization. */
6782
+ name?: string;
5475
6783
  };
5476
6784
  v1WalletAccountParams: {
5477
6785
  /** @description Cryptographic curve used to generate a wallet Account. */
@@ -5482,6 +6790,8 @@ export type definitions = {
5482
6790
  path: string;
5483
6791
  /** @description Address format used to generate a wallet Acccount. */
5484
6792
  addressFormat: definitions["v1AddressFormat"];
6793
+ /** @description Optional human-readable name for the account. */
6794
+ name?: string;
5485
6795
  };
5486
6796
  v1WalletKitSettingsParams: {
5487
6797
  /**
@@ -5678,17 +6988,17 @@ export type operations = {
5678
6988
  };
5679
6989
  };
5680
6990
  };
5681
- /** Get gas usage and gas limits for either the parent organization or a sub-organization. */
5682
- PublicApiService_GetGasUsage: {
6991
+ /** Poll the status of a fee claim by its claim_request_id. */
6992
+ PublicApiService_GetClaimEarnFeesStatus: {
5683
6993
  parameters: {
5684
6994
  body: {
5685
- body: definitions["v1GetGasUsageRequest"];
6995
+ body: definitions["v1GetClaimEarnFeesStatusRequest"];
5686
6996
  };
5687
6997
  };
5688
6998
  responses: {
5689
6999
  /** A successful response. */
5690
7000
  200: {
5691
- schema: definitions["v1GetGasUsageResponse"];
7001
+ schema: definitions["v1GetClaimEarnFeesStatusResponse"];
5692
7002
  };
5693
7003
  /** An unexpected error response. */
5694
7004
  default: {
@@ -5696,17 +7006,17 @@ export type operations = {
5696
7006
  };
5697
7007
  };
5698
7008
  };
5699
- /** Get IP allowlist and rules for an organization. */
5700
- PublicApiService_GetIpAllowlist: {
7009
+ /** Poll the status of a wrapper deployment by its deploy_request_id. */
7010
+ PublicApiService_GetEarnDeployStatus: {
5701
7011
  parameters: {
5702
7012
  body: {
5703
- body: definitions["v1GetIpAllowlistRequest"];
7013
+ body: definitions["v1GetEarnDeployStatusRequest"];
5704
7014
  };
5705
7015
  };
5706
7016
  responses: {
5707
7017
  /** A successful response. */
5708
7018
  200: {
5709
- schema: definitions["v1GetIpAllowlistResponse"];
7019
+ schema: definitions["v1GetEarnDeployStatusResponse"];
5710
7020
  };
5711
7021
  /** An unexpected error response. */
5712
7022
  default: {
@@ -5714,17 +7024,17 @@ export type operations = {
5714
7024
  };
5715
7025
  };
5716
7026
  };
5717
- /** Get the latest boot proof for a given enclave app name. */
5718
- PublicApiService_GetLatestBootProof: {
7027
+ /** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
7028
+ PublicApiService_GetEarnDepositStatus: {
5719
7029
  parameters: {
5720
7030
  body: {
5721
- body: definitions["v1GetLatestBootProofRequest"];
7031
+ body: definitions["v1GetEarnDepositStatusRequest"];
5722
7032
  };
5723
7033
  };
5724
7034
  responses: {
5725
7035
  /** A successful response. */
5726
7036
  200: {
5727
- schema: definitions["v1BootProofResponse"];
7037
+ schema: definitions["v1GetEarnDepositStatusResponse"];
5728
7038
  };
5729
7039
  /** An unexpected error response. */
5730
7040
  default: {
@@ -5732,17 +7042,17 @@ export type operations = {
5732
7042
  };
5733
7043
  };
5734
7044
  };
5735
- /** 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
- PublicApiService_GetNonces: {
7045
+ /** Poll the status of a withdrawal by its withdraw_request_id. */
7046
+ PublicApiService_GetEarnWithdrawStatus: {
5737
7047
  parameters: {
5738
7048
  body: {
5739
- body: definitions["v1GetNoncesRequest"];
7049
+ body: definitions["v1GetEarnWithdrawStatusRequest"];
5740
7050
  };
5741
7051
  };
5742
7052
  responses: {
5743
7053
  /** A successful response. */
5744
7054
  200: {
5745
- schema: definitions["v1GetNoncesResponse"];
7055
+ schema: definitions["v1GetEarnWithdrawStatusResponse"];
5746
7056
  };
5747
7057
  /** An unexpected error response. */
5748
7058
  default: {
@@ -5750,17 +7060,17 @@ export type operations = {
5750
7060
  };
5751
7061
  };
5752
7062
  };
5753
- /** Get details about an OAuth 2.0 credential. */
5754
- PublicApiService_GetOauth2Credential: {
7063
+ /** Get gas usage and gas limits for either the parent organization or a sub-organization. */
7064
+ PublicApiService_GetGasUsage: {
5755
7065
  parameters: {
5756
7066
  body: {
5757
- body: definitions["v1GetOauth2CredentialRequest"];
7067
+ body: definitions["v1GetGasUsageRequest"];
5758
7068
  };
5759
7069
  };
5760
7070
  responses: {
5761
7071
  /** A successful response. */
5762
7072
  200: {
5763
- schema: definitions["v1GetOauth2CredentialResponse"];
7073
+ schema: definitions["v1GetGasUsageResponse"];
5764
7074
  };
5765
7075
  /** An unexpected error response. */
5766
7076
  default: {
@@ -5768,17 +7078,17 @@ export type operations = {
5768
7078
  };
5769
7079
  };
5770
7080
  };
5771
- /** Get details about Oauth providers for a user. */
5772
- PublicApiService_GetOauthProviders: {
7081
+ /** Get IP allowlist and rules for an organization. */
7082
+ PublicApiService_GetIpAllowlist: {
5773
7083
  parameters: {
5774
7084
  body: {
5775
- body: definitions["v1GetOauthProvidersRequest"];
7085
+ body: definitions["v1GetIpAllowlistRequest"];
5776
7086
  };
5777
7087
  };
5778
7088
  responses: {
5779
7089
  /** A successful response. */
5780
7090
  200: {
5781
- schema: definitions["v1GetOauthProvidersResponse"];
7091
+ schema: definitions["v1GetIpAllowlistResponse"];
5782
7092
  };
5783
7093
  /** An unexpected error response. */
5784
7094
  default: {
@@ -5786,17 +7096,17 @@ export type operations = {
5786
7096
  };
5787
7097
  };
5788
7098
  };
5789
- /** Get the status of an on ramp transaction. */
5790
- PublicApiService_GetOnRampTransactionStatus: {
7099
+ /** Get the latest boot proof for a given enclave app name. */
7100
+ PublicApiService_GetLatestBootProof: {
5791
7101
  parameters: {
5792
7102
  body: {
5793
- body: definitions["v1GetOnRampTransactionStatusRequest"];
7103
+ body: definitions["v1GetLatestBootProofRequest"];
5794
7104
  };
5795
7105
  };
5796
7106
  responses: {
5797
7107
  /** A successful response. */
5798
7108
  200: {
5799
- schema: definitions["v1GetOnRampTransactionStatusResponse"];
7109
+ schema: definitions["v1BootProofResponse"];
5800
7110
  };
5801
7111
  /** An unexpected error response. */
5802
7112
  default: {
@@ -5804,17 +7114,17 @@ export type operations = {
5804
7114
  };
5805
7115
  };
5806
7116
  };
5807
- /** Get details about an organization. */
5808
- PublicApiService_GetOrganization: {
7117
+ /** Get all MFA policies for a user. */
7118
+ PublicApiService_GetMfaPolicies: {
5809
7119
  parameters: {
5810
7120
  body: {
5811
- body: definitions["v1GetOrganizationRequest"];
7121
+ body: definitions["v1GetMfaPoliciesRequest"];
5812
7122
  };
5813
7123
  };
5814
7124
  responses: {
5815
7125
  /** A successful response. */
5816
7126
  200: {
5817
- schema: definitions["v1GetOrganizationResponse"];
7127
+ schema: definitions["v1GetMfaPoliciesResponse"];
5818
7128
  };
5819
7129
  /** An unexpected error response. */
5820
7130
  default: {
@@ -5822,17 +7132,17 @@ export type operations = {
5822
7132
  };
5823
7133
  };
5824
7134
  };
5825
- /** Get quorum settings and features for an organization. */
5826
- PublicApiService_GetOrganizationConfigs: {
7135
+ /** Get a single MFA policy for a user. */
7136
+ PublicApiService_GetMfaPolicy: {
5827
7137
  parameters: {
5828
7138
  body: {
5829
- body: definitions["v1GetOrganizationConfigsRequest"];
7139
+ body: definitions["v1GetMfaPolicyRequest"];
5830
7140
  };
5831
7141
  };
5832
7142
  responses: {
5833
7143
  /** A successful response. */
5834
7144
  200: {
5835
- schema: definitions["v1GetOrganizationConfigsResponse"];
7145
+ schema: definitions["v1GetMfaPolicyResponse"];
5836
7146
  };
5837
7147
  /** An unexpected error response. */
5838
7148
  default: {
@@ -5840,17 +7150,17 @@ export type operations = {
5840
7150
  };
5841
7151
  };
5842
7152
  };
5843
- /** Get details about a policy. */
5844
- PublicApiService_GetPolicy: {
7153
+ /** Get the MFA status of an activity for a specific user or all voting users. */
7154
+ PublicApiService_GetMfaStatus: {
5845
7155
  parameters: {
5846
7156
  body: {
5847
- body: definitions["v1GetPolicyRequest"];
7157
+ body: definitions["v1GetMfaStatusRequest"];
5848
7158
  };
5849
7159
  };
5850
7160
  responses: {
5851
7161
  /** A successful response. */
5852
7162
  200: {
5853
- schema: definitions["v1GetPolicyResponse"];
7163
+ schema: definitions["v1GetMfaStatusResponse"];
5854
7164
  };
5855
7165
  /** An unexpected error response. */
5856
7166
  default: {
@@ -5858,11 +7168,137 @@ export type operations = {
5858
7168
  };
5859
7169
  };
5860
7170
  };
5861
- /** Get the policy evaluations for an activity. */
5862
- PublicApiService_GetPolicyEvaluations: {
7171
+ /** 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. */
7172
+ PublicApiService_GetNonces: {
5863
7173
  parameters: {
5864
7174
  body: {
5865
- body: definitions["v1GetPolicyEvaluationsRequest"];
7175
+ body: definitions["v1GetNoncesRequest"];
7176
+ };
7177
+ };
7178
+ responses: {
7179
+ /** A successful response. */
7180
+ 200: {
7181
+ schema: definitions["v1GetNoncesResponse"];
7182
+ };
7183
+ /** An unexpected error response. */
7184
+ default: {
7185
+ schema: definitions["rpcStatus"];
7186
+ };
7187
+ };
7188
+ };
7189
+ /** Get details about an OAuth 2.0 credential. */
7190
+ PublicApiService_GetOauth2Credential: {
7191
+ parameters: {
7192
+ body: {
7193
+ body: definitions["v1GetOauth2CredentialRequest"];
7194
+ };
7195
+ };
7196
+ responses: {
7197
+ /** A successful response. */
7198
+ 200: {
7199
+ schema: definitions["v1GetOauth2CredentialResponse"];
7200
+ };
7201
+ /** An unexpected error response. */
7202
+ default: {
7203
+ schema: definitions["rpcStatus"];
7204
+ };
7205
+ };
7206
+ };
7207
+ /** Get details about Oauth providers for a user. */
7208
+ PublicApiService_GetOauthProviders: {
7209
+ parameters: {
7210
+ body: {
7211
+ body: definitions["v1GetOauthProvidersRequest"];
7212
+ };
7213
+ };
7214
+ responses: {
7215
+ /** A successful response. */
7216
+ 200: {
7217
+ schema: definitions["v1GetOauthProvidersResponse"];
7218
+ };
7219
+ /** An unexpected error response. */
7220
+ default: {
7221
+ schema: definitions["rpcStatus"];
7222
+ };
7223
+ };
7224
+ };
7225
+ /** Get the status of an on ramp transaction. */
7226
+ PublicApiService_GetOnRampTransactionStatus: {
7227
+ parameters: {
7228
+ body: {
7229
+ body: definitions["v1GetOnRampTransactionStatusRequest"];
7230
+ };
7231
+ };
7232
+ responses: {
7233
+ /** A successful response. */
7234
+ 200: {
7235
+ schema: definitions["v1GetOnRampTransactionStatusResponse"];
7236
+ };
7237
+ /** An unexpected error response. */
7238
+ default: {
7239
+ schema: definitions["rpcStatus"];
7240
+ };
7241
+ };
7242
+ };
7243
+ /** Get details about an organization. */
7244
+ PublicApiService_GetOrganization: {
7245
+ parameters: {
7246
+ body: {
7247
+ body: definitions["v1GetOrganizationRequest"];
7248
+ };
7249
+ };
7250
+ responses: {
7251
+ /** A successful response. */
7252
+ 200: {
7253
+ schema: definitions["v1GetOrganizationResponse"];
7254
+ };
7255
+ /** An unexpected error response. */
7256
+ default: {
7257
+ schema: definitions["rpcStatus"];
7258
+ };
7259
+ };
7260
+ };
7261
+ /** Get quorum settings and features for an organization. */
7262
+ PublicApiService_GetOrganizationConfigs: {
7263
+ parameters: {
7264
+ body: {
7265
+ body: definitions["v1GetOrganizationConfigsRequest"];
7266
+ };
7267
+ };
7268
+ responses: {
7269
+ /** A successful response. */
7270
+ 200: {
7271
+ schema: definitions["v1GetOrganizationConfigsResponse"];
7272
+ };
7273
+ /** An unexpected error response. */
7274
+ default: {
7275
+ schema: definitions["rpcStatus"];
7276
+ };
7277
+ };
7278
+ };
7279
+ /** Get details about a policy. */
7280
+ PublicApiService_GetPolicy: {
7281
+ parameters: {
7282
+ body: {
7283
+ body: definitions["v1GetPolicyRequest"];
7284
+ };
7285
+ };
7286
+ responses: {
7287
+ /** A successful response. */
7288
+ 200: {
7289
+ schema: definitions["v1GetPolicyResponse"];
7290
+ };
7291
+ /** An unexpected error response. */
7292
+ default: {
7293
+ schema: definitions["rpcStatus"];
7294
+ };
7295
+ };
7296
+ };
7297
+ /** Get the policy evaluations for an activity. */
7298
+ PublicApiService_GetPolicyEvaluations: {
7299
+ parameters: {
7300
+ body: {
7301
+ body: definitions["v1GetPolicyEvaluationsRequest"];
5866
7302
  };
5867
7303
  };
5868
7304
  responses: {
@@ -5912,6 +7348,42 @@ export type operations = {
5912
7348
  };
5913
7349
  };
5914
7350
  };
7351
+ /** Get a single session profile for an organization. */
7352
+ PublicApiService_GetSessionProfile: {
7353
+ parameters: {
7354
+ body: {
7355
+ body: definitions["v1GetSessionProfileRequest"];
7356
+ };
7357
+ };
7358
+ responses: {
7359
+ /** A successful response. */
7360
+ 200: {
7361
+ schema: definitions["v1GetSessionProfileResponse"];
7362
+ };
7363
+ /** An unexpected error response. */
7364
+ default: {
7365
+ schema: definitions["rpcStatus"];
7366
+ };
7367
+ };
7368
+ };
7369
+ /** Get all session profiles for an organization. */
7370
+ PublicApiService_GetSessionProfiles: {
7371
+ parameters: {
7372
+ body: {
7373
+ body: definitions["v1GetSessionProfilesRequest"];
7374
+ };
7375
+ };
7376
+ responses: {
7377
+ /** A successful response. */
7378
+ 200: {
7379
+ schema: definitions["v1GetSessionProfilesResponse"];
7380
+ };
7381
+ /** An unexpected error response. */
7382
+ default: {
7383
+ schema: definitions["rpcStatus"];
7384
+ };
7385
+ };
7386
+ };
5915
7387
  /** Get details about a smart contract interface. */
5916
7388
  PublicApiService_GetSmartContractInterface: {
5917
7389
  parameters: {
@@ -5930,6 +7402,42 @@ export type operations = {
5930
7402
  };
5931
7403
  };
5932
7404
  };
7405
+ /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
7406
+ PublicApiService_GetSwapQuote: {
7407
+ parameters: {
7408
+ body: {
7409
+ body: definitions["v1GetSwapQuoteRequest"];
7410
+ };
7411
+ };
7412
+ responses: {
7413
+ /** A successful response. */
7414
+ 200: {
7415
+ schema: definitions["v1GetSwapQuoteResponse"];
7416
+ };
7417
+ /** An unexpected error response. */
7418
+ default: {
7419
+ schema: definitions["rpcStatus"];
7420
+ };
7421
+ };
7422
+ };
7423
+ /** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
7424
+ PublicApiService_GetSwapStatus: {
7425
+ parameters: {
7426
+ body: {
7427
+ body: definitions["v1GetSwapStatusRequest"];
7428
+ };
7429
+ };
7430
+ responses: {
7431
+ /** A successful response. */
7432
+ 200: {
7433
+ schema: definitions["v1GetSwapStatusResponse"];
7434
+ };
7435
+ /** An unexpected error response. */
7436
+ default: {
7437
+ schema: definitions["rpcStatus"];
7438
+ };
7439
+ };
7440
+ };
5933
7441
  /** Get details about a single TVC App */
5934
7442
  PublicApiService_GetTvcApp: {
5935
7443
  parameters: {
@@ -5966,6 +7474,24 @@ export type operations = {
5966
7474
  };
5967
7475
  };
5968
7476
  };
7477
+ /** 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. */
7478
+ PublicApiService_GetTvcDeploymentDebugLogs: {
7479
+ parameters: {
7480
+ body: {
7481
+ body: definitions["v1GetTvcDeploymentDebugLogsRequest"];
7482
+ };
7483
+ };
7484
+ responses: {
7485
+ /** A successful response. */
7486
+ 200: {
7487
+ schema: definitions["v1GetTvcDeploymentDebugLogsResponse"];
7488
+ };
7489
+ /** An unexpected error response. */
7490
+ default: {
7491
+ schema: definitions["rpcStatus"];
7492
+ };
7493
+ };
7494
+ };
5969
7495
  /** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
5970
7496
  PublicApiService_GetTvcDeploymentProvisioningDetails: {
5971
7497
  parameters: {
@@ -6038,7 +7564,7 @@ export type operations = {
6038
7564
  };
6039
7565
  };
6040
7566
  };
6041
- /** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. This feature is in beta - please contact support for access. */
7567
+ /** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
6042
7568
  PublicApiService_GetWalletAddressBalances: {
6043
7569
  parameters: {
6044
7570
  body: {
@@ -6078,13 +7604,103 @@ export type operations = {
6078
7604
  PublicApiService_GetAppProofs: {
6079
7605
  parameters: {
6080
7606
  body: {
6081
- body: definitions["v1GetAppProofsRequest"];
7607
+ body: definitions["v1GetAppProofsRequest"];
7608
+ };
7609
+ };
7610
+ responses: {
7611
+ /** A successful response. */
7612
+ 200: {
7613
+ schema: definitions["v1GetAppProofsResponse"];
7614
+ };
7615
+ /** An unexpected error response. */
7616
+ default: {
7617
+ schema: definitions["rpcStatus"];
7618
+ };
7619
+ };
7620
+ };
7621
+ /** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
7622
+ PublicApiService_ListEarnEnabledVaults: {
7623
+ parameters: {
7624
+ body: {
7625
+ body: definitions["v1ListEarnEnabledVaultsRequest"];
7626
+ };
7627
+ };
7628
+ responses: {
7629
+ /** A successful response. */
7630
+ 200: {
7631
+ schema: definitions["v1ListEarnEnabledVaultsResponse"];
7632
+ };
7633
+ /** An unexpected error response. */
7634
+ default: {
7635
+ schema: definitions["rpcStatus"];
7636
+ };
7637
+ };
7638
+ };
7639
+ /** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
7640
+ PublicApiService_ListEarnPositions: {
7641
+ parameters: {
7642
+ body: {
7643
+ body: definitions["v1ListEarnPositionsRequest"];
7644
+ };
7645
+ };
7646
+ responses: {
7647
+ /** A successful response. */
7648
+ 200: {
7649
+ schema: definitions["v1ListEarnPositionsResponse"];
7650
+ };
7651
+ /** An unexpected error response. */
7652
+ default: {
7653
+ schema: definitions["rpcStatus"];
7654
+ };
7655
+ };
7656
+ };
7657
+ /** 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. */
7658
+ PublicApiService_ListEarnVaults: {
7659
+ parameters: {
7660
+ body: {
7661
+ body: definitions["v1ListEarnVaultsRequest"];
7662
+ };
7663
+ };
7664
+ responses: {
7665
+ /** A successful response. */
7666
+ 200: {
7667
+ schema: definitions["v1ListEarnVaultsResponse"];
7668
+ };
7669
+ /** An unexpected error response. */
7670
+ default: {
7671
+ schema: definitions["rpcStatus"];
7672
+ };
7673
+ };
7674
+ };
7675
+ /** List email events for the organization. */
7676
+ PublicApiService_ListEmailEvents: {
7677
+ parameters: {
7678
+ body: {
7679
+ body: definitions["v1ListEmailEventsRequest"];
7680
+ };
7681
+ };
7682
+ responses: {
7683
+ /** A successful response. */
7684
+ 200: {
7685
+ schema: definitions["v1ListEmailEventsResponse"];
7686
+ };
7687
+ /** An unexpected error response. */
7688
+ default: {
7689
+ schema: definitions["rpcStatus"];
7690
+ };
7691
+ };
7692
+ };
7693
+ /** List Ethereum transaction history for a wallet address on the specified network. */
7694
+ PublicApiService_ListEthTransactionHistory: {
7695
+ parameters: {
7696
+ body: {
7697
+ body: definitions["v1ListEthTransactionHistoryRequest"];
6082
7698
  };
6083
7699
  };
6084
7700
  responses: {
6085
7701
  /** A successful response. */
6086
7702
  200: {
6087
- schema: definitions["v1GetAppProofsResponse"];
7703
+ schema: definitions["v1ListEthTransactionHistoryResponse"];
6088
7704
  };
6089
7705
  /** An unexpected error response. */
6090
7706
  default: {
@@ -6200,6 +7816,24 @@ export type operations = {
6200
7816
  };
6201
7817
  };
6202
7818
  };
7819
+ /** List Solana transaction history for a wallet address on the specified network. */
7820
+ PublicApiService_ListSolTransactionHistory: {
7821
+ parameters: {
7822
+ body: {
7823
+ body: definitions["v1ListSolTransactionHistoryRequest"];
7824
+ };
7825
+ };
7826
+ responses: {
7827
+ /** A successful response. */
7828
+ 200: {
7829
+ schema: definitions["v1ListSolTransactionHistoryResponse"];
7830
+ };
7831
+ /** An unexpected error response. */
7832
+ default: {
7833
+ schema: definitions["rpcStatus"];
7834
+ };
7835
+ };
7836
+ };
6203
7837
  /** Get all suborg IDs associated given a parent org ID and an optional filter. */
6204
7838
  PublicApiService_GetSubOrgIds: {
6205
7839
  parameters: {
@@ -6218,7 +7852,7 @@ export type operations = {
6218
7852
  };
6219
7853
  };
6220
7854
  };
6221
- /** List supported assets for the specified network. This feature is in beta - please contact support for access. */
7855
+ /** List supported assets for the specified network. */
6222
7856
  PublicApiService_ListSupportedAssets: {
6223
7857
  parameters: {
6224
7858
  body: {
@@ -6434,6 +8068,42 @@ export type operations = {
6434
8068
  };
6435
8069
  };
6436
8070
  };
8071
+ /** Claim earn fees through the activity pipeline. */
8072
+ PublicApiService_ClaimEarnFees: {
8073
+ parameters: {
8074
+ body: {
8075
+ body: definitions["v1ClaimEarnFeesRequest"];
8076
+ };
8077
+ };
8078
+ responses: {
8079
+ /** A successful response. */
8080
+ 200: {
8081
+ schema: definitions["v1ActivityResponse"];
8082
+ };
8083
+ /** An unexpected error response. */
8084
+ default: {
8085
+ schema: definitions["rpcStatus"];
8086
+ };
8087
+ };
8088
+ };
8089
+ /** Claim swap fees through the activity pipeline. */
8090
+ PublicApiService_ClaimSwapFees: {
8091
+ parameters: {
8092
+ body: {
8093
+ body: definitions["v1ClaimSwapFeesRequest"];
8094
+ };
8095
+ };
8096
+ responses: {
8097
+ /** A successful response. */
8098
+ 200: {
8099
+ schema: definitions["v1ActivityResponse"];
8100
+ };
8101
+ /** An unexpected error response. */
8102
+ default: {
8103
+ schema: definitions["rpcStatus"];
8104
+ };
8105
+ };
8106
+ };
6437
8107
  /** Add API keys to an existing user. */
6438
8108
  PublicApiService_CreateApiKeys: {
6439
8109
  parameters: {
@@ -6524,6 +8194,24 @@ export type operations = {
6524
8194
  };
6525
8195
  };
6526
8196
  };
8197
+ /** Create a new MFA policy for a user. */
8198
+ PublicApiService_CreateMfaPolicy: {
8199
+ parameters: {
8200
+ body: {
8201
+ body: definitions["v1CreateMfaPolicyRequest"];
8202
+ };
8203
+ };
8204
+ responses: {
8205
+ /** A successful response. */
8206
+ 200: {
8207
+ schema: definitions["v1ActivityResponse"];
8208
+ };
8209
+ /** An unexpected error response. */
8210
+ default: {
8211
+ schema: definitions["rpcStatus"];
8212
+ };
8213
+ };
8214
+ };
6527
8215
  /** Enable authentication for end users with an OAuth 2.0 provider */
6528
8216
  PublicApiService_CreateOauth2Credential: {
6529
8217
  parameters: {
@@ -6668,6 +8356,24 @@ export type operations = {
6668
8356
  };
6669
8357
  };
6670
8358
  };
8359
+ /** Create a new session profile for an organization. */
8360
+ PublicApiService_CreateSessionProfile: {
8361
+ parameters: {
8362
+ body: {
8363
+ body: definitions["v1CreateSessionProfileRequest"];
8364
+ };
8365
+ };
8366
+ responses: {
8367
+ /** A successful response. */
8368
+ 200: {
8369
+ schema: definitions["v1ActivityResponse"];
8370
+ };
8371
+ /** An unexpected error response. */
8372
+ default: {
8373
+ schema: definitions["rpcStatus"];
8374
+ };
8375
+ };
8376
+ };
6671
8377
  /** Create an ABI/IDL in JSON. */
6672
8378
  PublicApiService_CreateSmartContractInterface: {
6673
8379
  parameters: {
@@ -6686,7 +8392,7 @@ export type operations = {
6686
8392
  };
6687
8393
  };
6688
8394
  };
6689
- /** Create a new sub-organization. */
8395
+ /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
6690
8396
  PublicApiService_CreateSubOrganization: {
6691
8397
  parameters: {
6692
8398
  body: {
@@ -6758,6 +8464,42 @@ export type operations = {
6758
8464
  };
6759
8465
  };
6760
8466
  };
8467
+ /** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
8468
+ PublicApiService_CreateTvcOperator: {
8469
+ parameters: {
8470
+ body: {
8471
+ body: definitions["v1CreateTvcOperatorRequest"];
8472
+ };
8473
+ };
8474
+ responses: {
8475
+ /** A successful response. */
8476
+ 200: {
8477
+ schema: definitions["v1ActivityResponse"];
8478
+ };
8479
+ /** An unexpected error response. */
8480
+ default: {
8481
+ schema: definitions["rpcStatus"];
8482
+ };
8483
+ };
8484
+ };
8485
+ /** Create a hosted TVC quorum key and encrypted shares. */
8486
+ PublicApiService_CreateTvcQuorumKey: {
8487
+ parameters: {
8488
+ body: {
8489
+ body: definitions["v1CreateTvcQuorumKeyRequest"];
8490
+ };
8491
+ };
8492
+ responses: {
8493
+ /** A successful response. */
8494
+ 200: {
8495
+ schema: definitions["v1ActivityResponse"];
8496
+ };
8497
+ /** An unexpected error response. */
8498
+ default: {
8499
+ schema: definitions["rpcStatus"];
8500
+ };
8501
+ };
8502
+ };
6761
8503
  /** Create a user tag and add it to users. */
6762
8504
  PublicApiService_CreateUserTag: {
6763
8505
  parameters: {
@@ -6776,7 +8518,7 @@ export type operations = {
6776
8518
  };
6777
8519
  };
6778
8520
  };
6779
- /** Create users in an existing organization. */
8521
+ /** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
6780
8522
  PublicApiService_CreateUsers: {
6781
8523
  parameters: {
6782
8524
  body: {
@@ -6920,6 +8662,24 @@ export type operations = {
6920
8662
  };
6921
8663
  };
6922
8664
  };
8665
+ /** Delete an MFA policy for a user. */
8666
+ PublicApiService_DeleteMfaPolicy: {
8667
+ parameters: {
8668
+ body: {
8669
+ body: definitions["v1DeleteMfaPolicyRequest"];
8670
+ };
8671
+ };
8672
+ responses: {
8673
+ /** A successful response. */
8674
+ 200: {
8675
+ schema: definitions["v1ActivityResponse"];
8676
+ };
8677
+ /** An unexpected error response. */
8678
+ default: {
8679
+ schema: definitions["rpcStatus"];
8680
+ };
8681
+ };
8682
+ };
6923
8683
  /** Disable authentication for end users with an OAuth 2.0 provider */
6924
8684
  PublicApiService_DeleteOauth2Credential: {
6925
8685
  parameters: {
@@ -7190,6 +8950,78 @@ export type operations = {
7190
8950
  };
7191
8951
  };
7192
8952
  };
8953
+ /** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
8954
+ PublicApiService_EarnDeployWrapper: {
8955
+ parameters: {
8956
+ body: {
8957
+ body: definitions["v1EarnDeployWrapperRequest"];
8958
+ };
8959
+ };
8960
+ responses: {
8961
+ /** A successful response. */
8962
+ 200: {
8963
+ schema: definitions["v1ActivityResponse"];
8964
+ };
8965
+ /** An unexpected error response. */
8966
+ default: {
8967
+ schema: definitions["rpcStatus"];
8968
+ };
8969
+ };
8970
+ };
8971
+ /** Deposit assets from a wallet into an enabled yield vault. */
8972
+ PublicApiService_EarnDeposit: {
8973
+ parameters: {
8974
+ body: {
8975
+ body: definitions["v1EarnDepositRequest"];
8976
+ };
8977
+ };
8978
+ responses: {
8979
+ /** A successful response. */
8980
+ 200: {
8981
+ schema: definitions["v1ActivityResponse"];
8982
+ };
8983
+ /** An unexpected error response. */
8984
+ default: {
8985
+ schema: definitions["rpcStatus"];
8986
+ };
8987
+ };
8988
+ };
8989
+ /** Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed. */
8990
+ PublicApiService_EarnSetWrapperState: {
8991
+ parameters: {
8992
+ body: {
8993
+ body: definitions["v1EarnSetWrapperStateRequest"];
8994
+ };
8995
+ };
8996
+ responses: {
8997
+ /** A successful response. */
8998
+ 200: {
8999
+ schema: definitions["v1ActivityResponse"];
9000
+ };
9001
+ /** An unexpected error response. */
9002
+ default: {
9003
+ schema: definitions["rpcStatus"];
9004
+ };
9005
+ };
9006
+ };
9007
+ /** Withdraw assets or redeem shares from an enabled yield vault. */
9008
+ PublicApiService_EarnWithdraw: {
9009
+ parameters: {
9010
+ body: {
9011
+ body: definitions["v1EarnWithdrawRequest"];
9012
+ };
9013
+ };
9014
+ responses: {
9015
+ /** A successful response. */
9016
+ 200: {
9017
+ schema: definitions["v1ActivityResponse"];
9018
+ };
9019
+ /** An unexpected error response. */
9020
+ default: {
9021
+ schema: definitions["rpcStatus"];
9022
+ };
9023
+ };
9024
+ };
7193
9025
  /** Authenticate a user via email. */
7194
9026
  PublicApiService_EmailAuth: {
7195
9027
  parameters: {
@@ -7244,6 +9076,24 @@ export type operations = {
7244
9076
  };
7245
9077
  };
7246
9078
  };
9079
+ /** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
9080
+ PublicApiService_ExecuteSwap: {
9081
+ parameters: {
9082
+ body: {
9083
+ body: definitions["v1ExecuteSwapRequest"];
9084
+ };
9085
+ };
9086
+ responses: {
9087
+ /** A successful response. */
9088
+ 200: {
9089
+ schema: definitions["v1ActivityResponse"];
9090
+ };
9091
+ /** An unexpected error response. */
9092
+ default: {
9093
+ schema: definitions["rpcStatus"];
9094
+ };
9095
+ };
9096
+ };
7247
9097
  /** Export a private key. */
7248
9098
  PublicApiService_ExportPrivateKey: {
7249
9099
  parameters: {
@@ -7370,6 +9220,24 @@ export type operations = {
7370
9220
  };
7371
9221
  };
7372
9222
  };
9223
+ /** Initialize secret imports by generating Ingress Encryption Target Keys. */
9224
+ PublicApiService_InitImportSecrets: {
9225
+ parameters: {
9226
+ body: {
9227
+ body: definitions["v1InitImportSecretsRequest"];
9228
+ };
9229
+ };
9230
+ responses: {
9231
+ /** A successful response. */
9232
+ 200: {
9233
+ schema: definitions["v1ActivityResponse"];
9234
+ };
9235
+ /** An unexpected error response. */
9236
+ default: {
9237
+ schema: definitions["rpcStatus"];
9238
+ };
9239
+ };
9240
+ };
7373
9241
  /** Initialize a new wallet import. */
7374
9242
  PublicApiService_InitImportWallet: {
7375
9243
  parameters: {
@@ -7550,6 +9418,24 @@ export type operations = {
7550
9418
  };
7551
9419
  };
7552
9420
  };
9421
+ /** Re-encrypt a hosted TVC quorum key share for a deployment. */
9422
+ PublicApiService_ReEncryptTvcQuorumKeyShare: {
9423
+ parameters: {
9424
+ body: {
9425
+ body: definitions["v1ReEncryptTvcQuorumKeyShareRequest"];
9426
+ };
9427
+ };
9428
+ responses: {
9429
+ /** A successful response. */
9430
+ 200: {
9431
+ schema: definitions["v1ActivityResponse"];
9432
+ };
9433
+ /** An unexpected error response. */
9434
+ default: {
9435
+ schema: definitions["rpcStatus"];
9436
+ };
9437
+ };
9438
+ };
7553
9439
  /** Complete the process of recovering a user by adding an authenticator. */
7554
9440
  PublicApiService_RecoverUser: {
7555
9441
  parameters: {
@@ -7748,7 +9634,7 @@ export type operations = {
7748
9634
  };
7749
9635
  };
7750
9636
  };
7751
- /** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
9637
+ /** Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning. */
7752
9638
  PublicApiService_SolSendTransaction: {
7753
9639
  parameters: {
7754
9640
  body: {
@@ -7874,6 +9760,24 @@ export type operations = {
7874
9760
  };
7875
9761
  };
7876
9762
  };
9763
+ /** Update an MFA policy for a user. */
9764
+ PublicApiService_UpdateMfaPolicy: {
9765
+ parameters: {
9766
+ body: {
9767
+ body: definitions["v1UpdateMfaPolicyRequest"];
9768
+ };
9769
+ };
9770
+ responses: {
9771
+ /** A successful response. */
9772
+ 200: {
9773
+ schema: definitions["v1ActivityResponse"];
9774
+ };
9775
+ /** An unexpected error response. */
9776
+ default: {
9777
+ schema: definitions["rpcStatus"];
9778
+ };
9779
+ };
9780
+ };
7877
9781
  /** Update an OAuth 2.0 provider credential */
7878
9782
  PublicApiService_UpdateOauth2Credential: {
7879
9783
  parameters: {
@@ -8090,6 +9994,24 @@ export type operations = {
8090
9994
  };
8091
9995
  };
8092
9996
  };
9997
+ /** Enable or disable swap configuration for an organization. */
9998
+ PublicApiService_UpsertSwapConfig: {
9999
+ parameters: {
10000
+ body: {
10001
+ body: definitions["v1UpsertSwapConfigRequest"];
10002
+ };
10003
+ };
10004
+ responses: {
10005
+ /** A successful response. */
10006
+ 200: {
10007
+ schema: definitions["v1ActivityResponse"];
10008
+ };
10009
+ /** An unexpected error response. */
10010
+ default: {
10011
+ schema: definitions["rpcStatus"];
10012
+ };
10013
+ };
10014
+ };
8093
10015
  /** Verify a generic OTP. */
8094
10016
  PublicApiService_VerifyOtp: {
8095
10017
  parameters: {