@turnkey/http 6.0.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +92 -17
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +152 -27
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +152 -27
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +27463 -13034
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +146 -26
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +135 -25
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +420 -107
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +2 -2
|
@@ -123,12 +123,8 @@ export type paths = {
|
|
|
123
123
|
/** Get details about a smart contract interface. */
|
|
124
124
|
post: operations["PublicApiService_GetSmartContractInterface"];
|
|
125
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
126
|
"/public/v1/query/get_swap_status": {
|
|
131
|
-
/**
|
|
127
|
+
/** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
|
|
132
128
|
post: operations["PublicApiService_GetSwapStatus"];
|
|
133
129
|
};
|
|
134
130
|
"/public/v1/query/get_tvc_app": {
|
|
@@ -147,6 +143,10 @@ export type paths = {
|
|
|
147
143
|
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
148
144
|
post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
|
|
149
145
|
};
|
|
146
|
+
"/public/v1/query/get_tvc_qos_versions": {
|
|
147
|
+
/** List QOS versions supported for new TVC deployments and the latest recommended QOS version. */
|
|
148
|
+
post: operations["PublicApiService_GetTvcQosVersions"];
|
|
149
|
+
};
|
|
150
150
|
"/public/v1/query/get_user": {
|
|
151
151
|
/** Get details about a user. */
|
|
152
152
|
post: operations["PublicApiService_GetUser"];
|
|
@@ -211,6 +211,10 @@ export type paths = {
|
|
|
211
211
|
/** List all private keys within an organization. */
|
|
212
212
|
post: operations["PublicApiService_GetPrivateKeys"];
|
|
213
213
|
};
|
|
214
|
+
"/public/v1/query/list_secrets": {
|
|
215
|
+
/** List secret metadata for an organization. */
|
|
216
|
+
post: operations["PublicApiService_ListSecrets"];
|
|
217
|
+
};
|
|
214
218
|
"/public/v1/query/list_smart_contract_interfaces": {
|
|
215
219
|
/** List all smart contract interfaces within an organization. */
|
|
216
220
|
post: operations["PublicApiService_GetSmartContractInterfaces"];
|
|
@@ -347,6 +351,10 @@ export type paths = {
|
|
|
347
351
|
/** 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). */
|
|
348
352
|
post: operations["PublicApiService_CreateSubOrganization"];
|
|
349
353
|
};
|
|
354
|
+
"/public/v1/submit/create_swap_quote": {
|
|
355
|
+
/** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
|
|
356
|
+
post: operations["PublicApiService_CreateSwapQuote"];
|
|
357
|
+
};
|
|
350
358
|
"/public/v1/submit/create_tvc_app": {
|
|
351
359
|
/** Create a new TVC application */
|
|
352
360
|
post: operations["PublicApiService_CreateTvcApp"];
|
|
@@ -495,14 +503,22 @@ export type paths = {
|
|
|
495
503
|
/** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
|
|
496
504
|
post: operations["PublicApiService_EthSendTransaction"];
|
|
497
505
|
};
|
|
506
|
+
"/public/v1/submit/eth_undelegate_7702": {
|
|
507
|
+
/** Submit an EIP-7702 undelegation transaction. */
|
|
508
|
+
post: operations["PublicApiService_EthUndelegate7702"];
|
|
509
|
+
};
|
|
498
510
|
"/public/v1/submit/execute_swap": {
|
|
499
|
-
/** Execute
|
|
511
|
+
/** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V2. */
|
|
500
512
|
post: operations["PublicApiService_ExecuteSwap"];
|
|
501
513
|
};
|
|
502
514
|
"/public/v1/submit/export_private_key": {
|
|
503
515
|
/** Export a private key. */
|
|
504
516
|
post: operations["PublicApiService_ExportPrivateKey"];
|
|
505
517
|
};
|
|
518
|
+
"/public/v1/submit/export_secrets": {
|
|
519
|
+
/** Export secrets encrypted to client-provided target public keys. */
|
|
520
|
+
post: operations["PublicApiService_ExportSecrets"];
|
|
521
|
+
};
|
|
506
522
|
"/public/v1/submit/export_wallet": {
|
|
507
523
|
/** Export a wallet. */
|
|
508
524
|
post: operations["PublicApiService_ExportWallet"];
|
|
@@ -515,6 +531,10 @@ export type paths = {
|
|
|
515
531
|
/** Import a private key. */
|
|
516
532
|
post: operations["PublicApiService_ImportPrivateKey"];
|
|
517
533
|
};
|
|
534
|
+
"/public/v1/submit/import_secrets": {
|
|
535
|
+
/** Import secrets encrypted to target keys returned from InitImportSecrets. */
|
|
536
|
+
post: operations["PublicApiService_ImportSecrets"];
|
|
537
|
+
};
|
|
518
538
|
"/public/v1/submit/import_wallet": {
|
|
519
539
|
/** Import a wallet. */
|
|
520
540
|
post: operations["PublicApiService_ImportWallet"];
|
|
@@ -917,7 +937,7 @@ export type definitions = {
|
|
|
917
937
|
/** @enum {string} */
|
|
918
938
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
919
939
|
/** @enum {string} */
|
|
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";
|
|
940
|
+
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" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS";
|
|
921
941
|
/** @enum {string} */
|
|
922
942
|
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";
|
|
923
943
|
v1ApiKey: {
|
|
@@ -1026,6 +1046,8 @@ export type definitions = {
|
|
|
1026
1046
|
logoUrl?: string;
|
|
1027
1047
|
/** @description The asset name */
|
|
1028
1048
|
name?: string;
|
|
1049
|
+
/** @description Whether this asset is on Turnkey's stablecoin list (used for stablepair swap fee pricing). */
|
|
1050
|
+
stable?: boolean;
|
|
1029
1051
|
};
|
|
1030
1052
|
v1Attestation: {
|
|
1031
1053
|
/** @description The cbor encoded then base64 url encoded id of the credential. */
|
|
@@ -1438,6 +1460,8 @@ export type definitions = {
|
|
|
1438
1460
|
consensus?: string;
|
|
1439
1461
|
/** @description Notes for a Policy. */
|
|
1440
1462
|
notes: string;
|
|
1463
|
+
/** @description The time expression that triggers the Effect */
|
|
1464
|
+
time?: string;
|
|
1441
1465
|
};
|
|
1442
1466
|
v1CreatePolicyRequest: {
|
|
1443
1467
|
/** @enum {string} */
|
|
@@ -1815,6 +1839,32 @@ export type definitions = {
|
|
|
1815
1839
|
wallet?: definitions["v1WalletResult"];
|
|
1816
1840
|
rootUserIds?: string[];
|
|
1817
1841
|
};
|
|
1842
|
+
v1CreateSwapQuoteIntent: {
|
|
1843
|
+
/** @description Wallet account or Private Key address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
1844
|
+
signWith: string;
|
|
1845
|
+
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
1846
|
+
inputToken: string;
|
|
1847
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
1848
|
+
outputToken: string;
|
|
1849
|
+
/** @description Base-unit amount of the input asset. */
|
|
1850
|
+
inputAmount: string;
|
|
1851
|
+
/** @description Provider-neutral maximum allowed slippage in basis points. Turnkey converts this value to each provider's request format. When omitted, each provider applies its default slippage behavior. */
|
|
1852
|
+
slippageBps?: string;
|
|
1853
|
+
};
|
|
1854
|
+
v1CreateSwapQuoteRequest: {
|
|
1855
|
+
/** @enum {string} */
|
|
1856
|
+
type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE";
|
|
1857
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1858
|
+
timestampMs: string;
|
|
1859
|
+
/** @description Unique identifier for a given Organization. */
|
|
1860
|
+
organizationId: string;
|
|
1861
|
+
parameters: definitions["v1CreateSwapQuoteIntent"];
|
|
1862
|
+
generateAppProofs?: boolean;
|
|
1863
|
+
};
|
|
1864
|
+
v1CreateSwapQuoteResult: {
|
|
1865
|
+
/** @description One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to execute_swap_v2 to bind execution. */
|
|
1866
|
+
quotes: definitions["v1SwapQuote"][];
|
|
1867
|
+
};
|
|
1818
1868
|
v1CreateTvcAppIntent: {
|
|
1819
1869
|
/** @description The name of the new TVC application */
|
|
1820
1870
|
name: string;
|
|
@@ -1854,6 +1904,15 @@ export type definitions = {
|
|
|
1854
1904
|
* @description The required number of approvals for the manifest set
|
|
1855
1905
|
*/
|
|
1856
1906
|
manifestSetThreshold: number;
|
|
1907
|
+
/** @description The unique identifier for the TVC share set */
|
|
1908
|
+
shareSetId: string;
|
|
1909
|
+
/** @description The unique identifiers of the share set operators */
|
|
1910
|
+
shareSetOperatorIds: string[];
|
|
1911
|
+
/**
|
|
1912
|
+
* Format: int64
|
|
1913
|
+
* @description The required number of approvals for the share set
|
|
1914
|
+
*/
|
|
1915
|
+
shareSetThreshold: number;
|
|
1857
1916
|
};
|
|
1858
1917
|
v1CreateTvcDeploymentIntent: {
|
|
1859
1918
|
/** @description The unique identifier of the to-be-deployed TVC application */
|
|
@@ -2547,7 +2606,7 @@ export type definitions = {
|
|
|
2547
2606
|
* @enum {string}
|
|
2548
2607
|
*/
|
|
2549
2608
|
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2550
|
-
/** @description Your
|
|
2609
|
+
/** @description Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
|
|
2551
2610
|
clientFeeBps: string;
|
|
2552
2611
|
/** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
2553
2612
|
clientFeeWallet: string;
|
|
@@ -2608,15 +2667,15 @@ export type definitions = {
|
|
|
2608
2667
|
provider?: definitions["v1EarnProvider"];
|
|
2609
2668
|
/** @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
2669
|
caip19?: string;
|
|
2611
|
-
/** @description Gross annual percentage yield, expressed as a decimal fraction (before
|
|
2670
|
+
/** @description Gross annual percentage yield, expressed as a decimal fraction (before fees). */
|
|
2612
2671
|
apyPct?: string;
|
|
2613
2672
|
/** @description Total deposited through this wrapper (wrapper TVL), in raw on-chain units of the underlying asset. */
|
|
2614
2673
|
totalDeposited?: string;
|
|
2615
2674
|
/** @description Normalized total-deposited values for display only (usd + crypto). Do not do arithmetic with these; use total_deposited instead. */
|
|
2616
2675
|
display?: definitions["v1EarnValueDisplay"];
|
|
2617
|
-
/** @description Annual percentage yield net of
|
|
2676
|
+
/** @description Annual percentage yield net of fees, expressed as a decimal fraction. */
|
|
2618
2677
|
netApyPct?: string;
|
|
2619
|
-
/** @description Client
|
|
2678
|
+
/** @description Client fee taken on yield, in basis points. */
|
|
2620
2679
|
clientFeeBps?: string;
|
|
2621
2680
|
/** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
|
|
2622
2681
|
depositsDisabled?: boolean;
|
|
@@ -2624,10 +2683,12 @@ export type definitions = {
|
|
|
2624
2683
|
name?: string;
|
|
2625
2684
|
/** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
|
|
2626
2685
|
curator?: string;
|
|
2627
|
-
/** @description The client's claimable
|
|
2686
|
+
/** @description The client's claimable 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
2687
|
claimableClientFee?: string;
|
|
2629
2688
|
/** @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
2689
|
claimableClientFeeDisplay?: definitions["v1EarnValueDisplay"];
|
|
2690
|
+
/** @description The wallet address that receives the client's fee payouts on-chain. Unset when a sub-org queries. */
|
|
2691
|
+
clientFeeWallet?: string;
|
|
2631
2692
|
};
|
|
2632
2693
|
v1EarnPosition: {
|
|
2633
2694
|
/** @description Address of the underlying yield vault. */
|
|
@@ -2892,6 +2953,8 @@ export type definitions = {
|
|
|
2892
2953
|
deliveryProcessingTimeMillis?: string;
|
|
2893
2954
|
/** @description Delay type for DeliveryDelay events */
|
|
2894
2955
|
deliveryDelayType?: string;
|
|
2956
|
+
/** @description Feedback type for Complaint events */
|
|
2957
|
+
complaintFeedbackType?: string;
|
|
2895
2958
|
};
|
|
2896
2959
|
v1EnableAuthProxyIntent: {
|
|
2897
2960
|
[key: string]: unknown;
|
|
@@ -2984,7 +3047,7 @@ export type definitions = {
|
|
|
2984
3047
|
maxPriorityFeePerGas?: string;
|
|
2985
3048
|
/** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2986
3049
|
deadline?: string;
|
|
2987
|
-
/** @description The gas station delegate contract nonce.
|
|
3050
|
+
/** @description The gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored transactions and non-sponsored multi-call batches. Omit to auto-fetch. Use the nonces endpoint for replay protection. */
|
|
2988
3051
|
gasStationNonce?: string;
|
|
2989
3052
|
/** @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
3053
|
calls: definitions["v1EthCallParams"][];
|
|
@@ -3034,6 +3097,37 @@ export type definitions = {
|
|
|
3034
3097
|
/** @description Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
3035
3098
|
turnkey?: definitions["v1TransactionHistoryTurnkey"];
|
|
3036
3099
|
};
|
|
3100
|
+
v1EthUndelegate7702Intent: {
|
|
3101
|
+
/** @description A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
3102
|
+
from: string;
|
|
3103
|
+
/**
|
|
3104
|
+
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
3105
|
+
* @enum {string}
|
|
3106
|
+
*/
|
|
3107
|
+
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:421614";
|
|
3108
|
+
/** @description Outer transaction nonce. Omit to auto-fetch. */
|
|
3109
|
+
nonce?: string;
|
|
3110
|
+
/** @description Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
3111
|
+
gasLimit?: string;
|
|
3112
|
+
/** @description Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
|
|
3113
|
+
maxFeePerGas?: string;
|
|
3114
|
+
/** @description Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
|
|
3115
|
+
maxPriorityFeePerGas?: string;
|
|
3116
|
+
};
|
|
3117
|
+
v1EthUndelegate7702Request: {
|
|
3118
|
+
/** @enum {string} */
|
|
3119
|
+
type: "ACTIVITY_TYPE_ETH_UNDELEGATE_7702";
|
|
3120
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3121
|
+
timestampMs: string;
|
|
3122
|
+
/** @description Unique identifier for a given Organization. */
|
|
3123
|
+
organizationId: string;
|
|
3124
|
+
parameters: definitions["v1EthUndelegate7702Intent"];
|
|
3125
|
+
generateAppProofs?: boolean;
|
|
3126
|
+
};
|
|
3127
|
+
v1EthUndelegate7702Result: {
|
|
3128
|
+
/** @description The send_transaction_status ID associated with the undelegation transaction submission */
|
|
3129
|
+
sendTransactionStatusId: string;
|
|
3130
|
+
};
|
|
3037
3131
|
v1ExecuteSwapIntent: {
|
|
3038
3132
|
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
3039
3133
|
inputToken: string;
|
|
@@ -3047,24 +3141,46 @@ export type definitions = {
|
|
|
3047
3141
|
sponsor?: boolean;
|
|
3048
3142
|
/** @description Maximum allowed slippage in basis points. */
|
|
3049
3143
|
slippage?: string;
|
|
3050
|
-
/** @description Swap provider to execute with, as returned by
|
|
3144
|
+
/** @description Swap provider to execute with, as returned by create_swap_quote. When omitted, execution uses the default provider. */
|
|
3051
3145
|
provider?: string;
|
|
3052
3146
|
/** @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
3147
|
minOutputAmount: string;
|
|
3054
3148
|
};
|
|
3149
|
+
v1ExecuteSwapIntentV2: {
|
|
3150
|
+
/** @description Quote identifier returned by create_swap_quote. Execution is bound to this quote; the signer is derived from the quote and must not be resupplied. */
|
|
3151
|
+
quoteId: string;
|
|
3152
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
3153
|
+
inputToken: string;
|
|
3154
|
+
/** @description Exact base-unit amount of the input asset committed by the quote. */
|
|
3155
|
+
inputAmount: string;
|
|
3156
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3157
|
+
outputToken: string;
|
|
3158
|
+
/** @description Exact quoted base-unit output amount committed by the quote. */
|
|
3159
|
+
quotedOutputAmount: string;
|
|
3160
|
+
/** @description Exact minimum base-unit output committed by the quote. */
|
|
3161
|
+
minOutputAmount: string;
|
|
3162
|
+
/** @description Whether the quoted transaction is sponsored. */
|
|
3163
|
+
sponsor: boolean;
|
|
3164
|
+
/** @description Exact EVM sender (EOA account) nonce. Valid only for a non-sponsored EVM swap. Honored for already-delegated (Type-2) batch swaps and single-call swaps; ignored for not-yet-delegated EIP-7702 (Type-4) batches where the outer nonce is derived from the authorization. Prefer gas_station_nonce for batch replay protection and use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
3165
|
+
evmNonce?: string;
|
|
3166
|
+
/** @description Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
|
|
3167
|
+
recentBlockhash?: string;
|
|
3168
|
+
/** @description Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
3169
|
+
gasStationNonce?: string;
|
|
3170
|
+
};
|
|
3055
3171
|
v1ExecuteSwapRequest: {
|
|
3056
3172
|
/** @enum {string} */
|
|
3057
|
-
type: "
|
|
3173
|
+
type: "ACTIVITY_TYPE_EXECUTE_SWAP_V2";
|
|
3058
3174
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3059
3175
|
timestampMs: string;
|
|
3060
3176
|
/** @description Unique identifier for a given Organization. */
|
|
3061
3177
|
organizationId: string;
|
|
3062
|
-
parameters: definitions["
|
|
3178
|
+
parameters: definitions["v1ExecuteSwapIntentV2"];
|
|
3063
3179
|
generateAppProofs?: boolean;
|
|
3064
3180
|
};
|
|
3065
3181
|
v1ExecuteSwapResult: {
|
|
3066
|
-
/** @description
|
|
3067
|
-
|
|
3182
|
+
/** @description Identifier to poll swap status via GetSwapStatus. */
|
|
3183
|
+
swapRequestId: string;
|
|
3068
3184
|
/** @description Swap provider used to build the transaction. */
|
|
3069
3185
|
provider?: string;
|
|
3070
3186
|
/** @description Quote identifier used for execution, if any. */
|
|
@@ -3092,6 +3208,31 @@ export type definitions = {
|
|
|
3092
3208
|
/** @description Export bundle containing a private key encrypted to the client's target public key. */
|
|
3093
3209
|
exportBundle: string;
|
|
3094
3210
|
};
|
|
3211
|
+
v1ExportSecretParams: {
|
|
3212
|
+
/** @description Unique identifier for the secret to export. */
|
|
3213
|
+
secretId: string;
|
|
3214
|
+
/** @description Client-side public key generated by the user, to which the exported secret will be encrypted. */
|
|
3215
|
+
targetPublicKey: string;
|
|
3216
|
+
/** @description Transport encryption suite used for the exported secret. */
|
|
3217
|
+
encryptionSuite: definitions["v1TransportEncryptionSuite"];
|
|
3218
|
+
};
|
|
3219
|
+
v1ExportSecretsIntent: {
|
|
3220
|
+
/** @description A list of secrets to export. */
|
|
3221
|
+
secrets: definitions["v1ExportSecretParams"][];
|
|
3222
|
+
};
|
|
3223
|
+
v1ExportSecretsRequest: {
|
|
3224
|
+
/** @enum {string} */
|
|
3225
|
+
type: "ACTIVITY_TYPE_EXPORT_SECRETS";
|
|
3226
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3227
|
+
timestampMs: string;
|
|
3228
|
+
/** @description Unique identifier for a given Organization. */
|
|
3229
|
+
organizationId: string;
|
|
3230
|
+
parameters: definitions["v1ExportSecretsIntent"];
|
|
3231
|
+
};
|
|
3232
|
+
v1ExportSecretsResult: {
|
|
3233
|
+
/** @description Encryption suite specific payload containing each secret ciphertext, in the order the params were specified. For enclave encrypt v1 each entry is a JSON-encoded ServerSendMsg. */
|
|
3234
|
+
secretPayloads: string[];
|
|
3235
|
+
};
|
|
3095
3236
|
v1ExportWalletAccountIntent: {
|
|
3096
3237
|
/** @description Address to identify Wallet Account. */
|
|
3097
3238
|
address: string;
|
|
@@ -3354,7 +3495,7 @@ export type definitions = {
|
|
|
3354
3495
|
v1GetLatestBootProofRequest: {
|
|
3355
3496
|
/** @description Unique identifier for a given Organization. */
|
|
3356
3497
|
organizationId: string;
|
|
3357
|
-
/** @description
|
|
3498
|
+
/** @description Unique identifier (UUID) of the enclave app. */
|
|
3358
3499
|
appName: string;
|
|
3359
3500
|
};
|
|
3360
3501
|
v1GetMfaPoliciesRequest: {
|
|
@@ -3578,35 +3719,11 @@ export type definitions = {
|
|
|
3578
3719
|
/** @description List of unique identifiers for the matching sub-organizations. */
|
|
3579
3720
|
organizationIds: string[];
|
|
3580
3721
|
};
|
|
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
3722
|
v1GetSwapStatusRequest: {
|
|
3606
3723
|
/** @description Unique identifier for a given Organization. */
|
|
3607
3724
|
organizationId: string;
|
|
3608
|
-
/** @description
|
|
3609
|
-
|
|
3725
|
+
/** @description The swap_request_id returned by ExecuteSwap. */
|
|
3726
|
+
swapRequestId: string;
|
|
3610
3727
|
};
|
|
3611
3728
|
v1GetSwapStatusResponse: {
|
|
3612
3729
|
/** @description Normalized swap status. One of PENDING, COMPLETED, FAILED. */
|
|
@@ -3614,7 +3731,7 @@ export type definitions = {
|
|
|
3614
3731
|
/** @description SAME_CHAIN or CROSS_CHAIN. */
|
|
3615
3732
|
swapKind: string;
|
|
3616
3733
|
/** @description Swap provider that executed the swap. */
|
|
3617
|
-
provider
|
|
3734
|
+
provider: string;
|
|
3618
3735
|
/** @description CAIP-19 asset ID for the input asset. */
|
|
3619
3736
|
inputToken: string;
|
|
3620
3737
|
/** @description CAIP-19 asset ID for the output asset. */
|
|
@@ -3623,20 +3740,16 @@ export type definitions = {
|
|
|
3623
3740
|
inputAmount: string;
|
|
3624
3741
|
/** @description Final included origin-chain transaction hash, when known. */
|
|
3625
3742
|
originTxHash?: string;
|
|
3626
|
-
/** @description
|
|
3627
|
-
|
|
3628
|
-
/** @description Actual base-unit output amount on COMPLETED, when known. */
|
|
3743
|
+
/** @description Provider-reported destination-chain transaction hashes; cross-chain COMPLETED only. */
|
|
3744
|
+
destinationTxHashes?: string[];
|
|
3745
|
+
/** @description Actual base-unit output amount on COMPLETED, when known. Unset on FAILED. */
|
|
3629
3746
|
outputAmount?: string;
|
|
3630
|
-
/** @description
|
|
3631
|
-
|
|
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;
|
|
3747
|
+
/** @description Funds returned by the provider after a successful origin transfer and failed cross-chain fill. Omitted for origin transaction failures and same-chain swaps. */
|
|
3748
|
+
refund?: definitions["v1SwapRefund"];
|
|
3638
3749
|
/** @description Timestamp of the last swap status change, as millisecond epoch string. */
|
|
3639
3750
|
updatedAt: string;
|
|
3751
|
+
/** @description Normalized failure details, present whenever status is FAILED. */
|
|
3752
|
+
error?: definitions["v1SwapError"];
|
|
3640
3753
|
};
|
|
3641
3754
|
v1GetTvcAppDeploymentsRequest: {
|
|
3642
3755
|
/** @description Unique identifier for a given organization. */
|
|
@@ -3714,6 +3827,16 @@ export type definitions = {
|
|
|
3714
3827
|
/** @description Details about a single TVC Deployment */
|
|
3715
3828
|
tvcDeployment: definitions["v1TvcDeployment"];
|
|
3716
3829
|
};
|
|
3830
|
+
v1GetTvcQosVersionsRequest: {
|
|
3831
|
+
/** @description Unique identifier for a given Organization. */
|
|
3832
|
+
organizationId: string;
|
|
3833
|
+
};
|
|
3834
|
+
v1GetTvcQosVersionsResponse: {
|
|
3835
|
+
/** @description QOS versions supported for new TVC deployments. */
|
|
3836
|
+
availableVersions: string[];
|
|
3837
|
+
/** @description Latest recommended QOS version for new TVC deployments. */
|
|
3838
|
+
latestVersion: string;
|
|
3839
|
+
};
|
|
3717
3840
|
v1GetUserRequest: {
|
|
3718
3841
|
/** @description Unique identifier for a given organization. */
|
|
3719
3842
|
organizationId: string;
|
|
@@ -3783,7 +3906,7 @@ export type definitions = {
|
|
|
3783
3906
|
* @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.
|
|
3784
3907
|
* @enum {string}
|
|
3785
3908
|
*/
|
|
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";
|
|
3909
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3787
3910
|
};
|
|
3788
3911
|
v1GetWalletAddressBalancesResponse: {
|
|
3789
3912
|
/** @description List of asset balances */
|
|
@@ -3851,6 +3974,35 @@ export type definitions = {
|
|
|
3851
3974
|
/** @description A list of addresses. */
|
|
3852
3975
|
addresses: definitions["immutableactivityv1Address"][];
|
|
3853
3976
|
};
|
|
3977
|
+
v1ImportSecretParams: {
|
|
3978
|
+
/** @description Optional human-readable name for the secret. Names must be unique within an organization when provided. */
|
|
3979
|
+
name?: string;
|
|
3980
|
+
/** @description Encryption suite specific payload containing the secret ciphertext. For enclave encrypt v1 this is a JSON-encoded ClientSendMsg. */
|
|
3981
|
+
secretPayload: string;
|
|
3982
|
+
/** @description Targeted transport encryption public key, as returned by InitImportSecrets. */
|
|
3983
|
+
targetPublicKey: string;
|
|
3984
|
+
/** @description Transport encryption suite used for the ingress secret. */
|
|
3985
|
+
encryptionSuite: definitions["v1TransportEncryptionSuite"];
|
|
3986
|
+
/** @description Policy-visible, static properties to permanently bind to the secret. */
|
|
3987
|
+
staticProperties?: definitions["v1KeyValue"][];
|
|
3988
|
+
};
|
|
3989
|
+
v1ImportSecretsIntent: {
|
|
3990
|
+
/** @description A list of secrets to import. */
|
|
3991
|
+
secrets: definitions["v1ImportSecretParams"][];
|
|
3992
|
+
};
|
|
3993
|
+
v1ImportSecretsRequest: {
|
|
3994
|
+
/** @enum {string} */
|
|
3995
|
+
type: "ACTIVITY_TYPE_IMPORT_SECRETS";
|
|
3996
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3997
|
+
timestampMs: string;
|
|
3998
|
+
/** @description Unique identifier for a given Organization. */
|
|
3999
|
+
organizationId: string;
|
|
4000
|
+
parameters: definitions["v1ImportSecretsIntent"];
|
|
4001
|
+
};
|
|
4002
|
+
v1ImportSecretsResult: {
|
|
4003
|
+
/** @description Unique identifier for each imported secret, in the order the params were specified. */
|
|
4004
|
+
secretIds: string[];
|
|
4005
|
+
};
|
|
3854
4006
|
v1ImportWalletIntent: {
|
|
3855
4007
|
/** @description The ID of the User importing a Wallet. */
|
|
3856
4008
|
userId: string;
|
|
@@ -4375,6 +4527,12 @@ export type definitions = {
|
|
|
4375
4527
|
claimSwapFeesIntent?: definitions["v1ClaimSwapFeesIntent"];
|
|
4376
4528
|
earnSetWrapperStateIntent?: definitions["v1EarnSetWrapperStateIntent"];
|
|
4377
4529
|
claimEarnFeesIntent?: definitions["v1ClaimEarnFeesIntent"];
|
|
4530
|
+
updateWalletAccountNameIntent?: definitions["v1UpdateWalletAccountNameIntent"];
|
|
4531
|
+
ethUndelegate7702Intent?: definitions["v1EthUndelegate7702Intent"];
|
|
4532
|
+
executeSwapIntentV2?: definitions["v1ExecuteSwapIntentV2"];
|
|
4533
|
+
createSwapQuoteIntent?: definitions["v1CreateSwapQuoteIntent"];
|
|
4534
|
+
importSecretsIntent?: definitions["v1ImportSecretsIntent"];
|
|
4535
|
+
exportSecretsIntent?: definitions["v1ExportSecretsIntent"];
|
|
4378
4536
|
};
|
|
4379
4537
|
v1Invitation: {
|
|
4380
4538
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -4434,6 +4592,10 @@ export type definitions = {
|
|
|
4434
4592
|
/** @description Creation timestamp as millisecond epoch string. */
|
|
4435
4593
|
createdAt?: string;
|
|
4436
4594
|
};
|
|
4595
|
+
v1KeyValue: {
|
|
4596
|
+
key?: string;
|
|
4597
|
+
value?: string;
|
|
4598
|
+
};
|
|
4437
4599
|
v1ListEarnEnabledVaultsRequest: {
|
|
4438
4600
|
/** @description Unique identifier for a given Organization. */
|
|
4439
4601
|
organizationId: string;
|
|
@@ -4467,8 +4629,10 @@ export type definitions = {
|
|
|
4467
4629
|
paginationOptions?: definitions["v1Pagination"];
|
|
4468
4630
|
};
|
|
4469
4631
|
v1ListEarnVaultsResponse: {
|
|
4470
|
-
/** @description The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass
|
|
4632
|
+
/** @description The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass page_info.end_cursor as the pagination after cursor. */
|
|
4471
4633
|
vaults?: definitions["v1EarnVault"][];
|
|
4634
|
+
/** @description Pagination metadata for the returned page. Pass end_cursor as the next request's after cursor (or start_cursor as the before cursor) to page through the catalog. Cursors are opaque; do not parse them. */
|
|
4635
|
+
pageInfo?: definitions["v1PageInfo"];
|
|
4472
4636
|
};
|
|
4473
4637
|
v1ListEmailEventsRequest: {
|
|
4474
4638
|
/** @description Unique identifier for a given organization */
|
|
@@ -4495,13 +4659,12 @@ export type definitions = {
|
|
|
4495
4659
|
*/
|
|
4496
4660
|
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
4661
|
/** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
4498
|
-
paginationOptions?: definitions["
|
|
4662
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
4499
4663
|
};
|
|
4500
4664
|
v1ListEthTransactionHistoryResponse: {
|
|
4501
4665
|
/** @description EVM transactions for the requested address, ordered by most recent first. */
|
|
4502
4666
|
transactions: definitions["v1EthTransactionHistoryItem"][];
|
|
4503
|
-
|
|
4504
|
-
paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
|
|
4667
|
+
pageInfo?: definitions["v1PageInfo"];
|
|
4505
4668
|
};
|
|
4506
4669
|
v1ListFiatOnRampCredentialsRequest: {
|
|
4507
4670
|
/** @description Unique identifier for a given Organization. */
|
|
@@ -4525,6 +4688,16 @@ export type definitions = {
|
|
|
4525
4688
|
/** @description A list of private key tags. */
|
|
4526
4689
|
privateKeyTags: definitions["datav1Tag"][];
|
|
4527
4690
|
};
|
|
4691
|
+
v1ListSecretsRequest: {
|
|
4692
|
+
/** @description Unique identifier for the organization or sub-organization whose secrets are listed. */
|
|
4693
|
+
organizationId: string;
|
|
4694
|
+
/** @description Parameters used for cursor-based pagination. */
|
|
4695
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
4696
|
+
};
|
|
4697
|
+
v1ListSecretsResponse: {
|
|
4698
|
+
/** @description Metadata for each secret in the organization, ordered by most recently created first. */
|
|
4699
|
+
secrets: definitions["v1SecretMetadata"][];
|
|
4700
|
+
};
|
|
4528
4701
|
v1ListSolTransactionHistoryRequest: {
|
|
4529
4702
|
/** @description Unique identifier for a given organization. */
|
|
4530
4703
|
organizationId: string;
|
|
@@ -4536,13 +4709,12 @@ export type definitions = {
|
|
|
4536
4709
|
*/
|
|
4537
4710
|
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:mainnet" | "solana:devnet";
|
|
4538
4711
|
/** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
4539
|
-
paginationOptions?: definitions["
|
|
4712
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
4540
4713
|
};
|
|
4541
4714
|
v1ListSolTransactionHistoryResponse: {
|
|
4542
4715
|
/** @description Solana transactions for the requested address, ordered by most recent first. */
|
|
4543
4716
|
transactions: definitions["v1SolTransactionHistoryItem"][];
|
|
4544
|
-
|
|
4545
|
-
paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
|
|
4717
|
+
pageInfo?: definitions["v1PageInfo"];
|
|
4546
4718
|
};
|
|
4547
4719
|
v1ListSupportedAssetsRequest: {
|
|
4548
4720
|
/** @description Unique identifier for a given organization. */
|
|
@@ -4551,7 +4723,7 @@ export type definitions = {
|
|
|
4551
4723
|
* @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.
|
|
4552
4724
|
* @enum {string}
|
|
4553
4725
|
*/
|
|
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:
|
|
4726
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4555
4727
|
};
|
|
4556
4728
|
v1ListSupportedAssetsResponse: {
|
|
4557
4729
|
/** @description List of asset metadata */
|
|
@@ -4856,7 +5028,13 @@ export type definitions = {
|
|
|
4856
5028
|
session: string;
|
|
4857
5029
|
};
|
|
4858
5030
|
/** @enum {string} */
|
|
4859
|
-
v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS";
|
|
5031
|
+
v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS" | "OUTCOME_TIME_INACTIVE";
|
|
5032
|
+
v1PageInfo: {
|
|
5033
|
+
hasNextPage?: boolean;
|
|
5034
|
+
hasPreviousPage?: boolean;
|
|
5035
|
+
startCursor?: string;
|
|
5036
|
+
endCursor?: string;
|
|
5037
|
+
};
|
|
4860
5038
|
v1Pagination: {
|
|
4861
5039
|
/** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
|
|
4862
5040
|
limit?: string;
|
|
@@ -4884,6 +5062,8 @@ export type definitions = {
|
|
|
4884
5062
|
consensus: string;
|
|
4885
5063
|
/** @description A condition expression that evalutes to true or false. */
|
|
4886
5064
|
condition: string;
|
|
5065
|
+
/** @description A time expression that evalutes to true or false. */
|
|
5066
|
+
time?: string;
|
|
4887
5067
|
};
|
|
4888
5068
|
v1PostTvcQuorumKeyShareIntent: {
|
|
4889
5069
|
/** @description Unique identifier of the TVC deployment receiving quorum key share */
|
|
@@ -5222,6 +5402,11 @@ export type definitions = {
|
|
|
5222
5402
|
claimSwapFeesResult?: definitions["v1ClaimSwapFeesResult"];
|
|
5223
5403
|
earnSetWrapperStateResult?: definitions["v1EarnSetWrapperStateResult"];
|
|
5224
5404
|
claimEarnFeesResult?: definitions["v1ClaimEarnFeesResult"];
|
|
5405
|
+
updateWalletAccountNameResult?: definitions["v1UpdateWalletAccountNameResult"];
|
|
5406
|
+
ethUndelegate7702Result?: definitions["v1EthUndelegate7702Result"];
|
|
5407
|
+
createSwapQuoteResult?: definitions["v1CreateSwapQuoteResult"];
|
|
5408
|
+
importSecretsResult?: definitions["v1ImportSecretsResult"];
|
|
5409
|
+
exportSecretsResult?: definitions["v1ExportSecretsResult"];
|
|
5225
5410
|
};
|
|
5226
5411
|
v1RevertChainEntry: {
|
|
5227
5412
|
/** @description The contract address where the revert occurred. */
|
|
@@ -5299,6 +5484,19 @@ export type definitions = {
|
|
|
5299
5484
|
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
5300
5485
|
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
5301
5486
|
};
|
|
5487
|
+
v1SecretMetadata: {
|
|
5488
|
+
/** @description Unique identifier for the secret. */
|
|
5489
|
+
secretId: string;
|
|
5490
|
+
/** @description Optional human-readable name for the secret. */
|
|
5491
|
+
name?: string;
|
|
5492
|
+
/** @description Policy visible static properties bound to the secret at creation time. */
|
|
5493
|
+
staticProperties: definitions["v1KeyValue"][];
|
|
5494
|
+
/**
|
|
5495
|
+
* Format: uint64
|
|
5496
|
+
* @description Unix timestamp in milliseconds for when the secret was created.
|
|
5497
|
+
*/
|
|
5498
|
+
createdAtUnixMs: string;
|
|
5499
|
+
};
|
|
5302
5500
|
v1Selector: {
|
|
5303
5501
|
subject?: string;
|
|
5304
5502
|
operator?: definitions["v1Operator"];
|
|
@@ -5838,15 +6036,41 @@ export type definitions = {
|
|
|
5838
6036
|
/** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
5839
6037
|
session: string;
|
|
5840
6038
|
};
|
|
5841
|
-
|
|
5842
|
-
/** @description
|
|
6039
|
+
v1SwapError: {
|
|
6040
|
+
/** @description Stable machine-readable failure reason. One of ORIGIN_TRANSACTION_FAILED or PROVIDER_FILL_FAILED. */
|
|
6041
|
+
reason: string;
|
|
6042
|
+
/** @description Human-readable description of the swap failure. */
|
|
6043
|
+
message: string;
|
|
6044
|
+
/** @description Origin-chain transaction failure details, present when reason is ORIGIN_TRANSACTION_FAILED and details are available. */
|
|
6045
|
+
originTxError?: definitions["v1TxError"];
|
|
6046
|
+
/** @description Optional detail from the swap provider about why the fill did not complete, when available. */
|
|
6047
|
+
providerReason?: string;
|
|
6048
|
+
};
|
|
6049
|
+
v1SwapQuote: {
|
|
6050
|
+
/** @description Identifier for this provider quote. Pass this value to execute_swap_v2 to bind execution to this exact quote. The signer is derived from the quote; clients do not resupply sign_with on execute. */
|
|
5843
6051
|
quoteId: string;
|
|
5844
|
-
/** @description Swap provider that produced this quote.
|
|
6052
|
+
/** @description Swap provider that produced this quote. */
|
|
5845
6053
|
provider: string;
|
|
5846
6054
|
/** @description Estimated base-unit amount of the output asset. */
|
|
5847
6055
|
outputAmount: string;
|
|
5848
6056
|
/** @description Minimum acceptable base-unit amount of the output asset after slippage. */
|
|
5849
|
-
minOutputAmount
|
|
6057
|
+
minOutputAmount: string;
|
|
6058
|
+
/** @description Quote expiration as a millisecond epoch string. */
|
|
6059
|
+
expiresAt: string;
|
|
6060
|
+
/** @description Effective total slippage tolerance in basis points for this quote, taken from the provider response when present. When the request omits input slippage_bps, the provider may calculate this value. */
|
|
6061
|
+
slippageBps?: string;
|
|
6062
|
+
/** @description Client fee in basis points applied for this pair. Informational only; already reflected in output_amount and min_output_amount. */
|
|
6063
|
+
clientFeeBps: string;
|
|
6064
|
+
/** @description Provider-estimated completion time in seconds, when available. */
|
|
6065
|
+
estimatedTimeSeconds?: string;
|
|
6066
|
+
};
|
|
6067
|
+
v1SwapRefund: {
|
|
6068
|
+
/** @description CAIP-19 asset returned by the swap provider after a failed cross-chain fill. */
|
|
6069
|
+
asset: string;
|
|
6070
|
+
/** @description Base-unit amount returned by the swap provider. */
|
|
6071
|
+
amount: string;
|
|
6072
|
+
/** @description Transaction that delivered the provider refund, when applicable. */
|
|
6073
|
+
txHash?: string;
|
|
5850
6074
|
};
|
|
5851
6075
|
/** @enum {string} */
|
|
5852
6076
|
v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
@@ -5909,20 +6133,6 @@ export type definitions = {
|
|
|
5909
6133
|
/** @description The CAIP-19 asset identifier. */
|
|
5910
6134
|
caip19: string;
|
|
5911
6135
|
};
|
|
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
6136
|
v1TransactionHistoryTransfer: {
|
|
5927
6137
|
/**
|
|
5928
6138
|
* @description Transfer direction relative to the queried address.
|
|
@@ -6316,6 +6526,8 @@ export type definitions = {
|
|
|
6316
6526
|
policyConsensus?: string;
|
|
6317
6527
|
/** @description Accompanying notes for a Policy (optional). */
|
|
6318
6528
|
policyNotes?: string;
|
|
6529
|
+
/** @description The time expression that triggers the Effect (optional). */
|
|
6530
|
+
time?: string;
|
|
6319
6531
|
};
|
|
6320
6532
|
v1UpdatePolicyRequest: {
|
|
6321
6533
|
/** @enum {string} */
|
|
@@ -6512,6 +6724,16 @@ export type definitions = {
|
|
|
6512
6724
|
/** @description Unique identifier for a given User Tag. */
|
|
6513
6725
|
userTagId: string;
|
|
6514
6726
|
};
|
|
6727
|
+
v1UpdateWalletAccountNameIntent: {
|
|
6728
|
+
/** @description Unique identifier for a given Wallet Account. */
|
|
6729
|
+
walletAccountId: string;
|
|
6730
|
+
/** @description Human-readable name for this Wallet Account. */
|
|
6731
|
+
name: string;
|
|
6732
|
+
};
|
|
6733
|
+
v1UpdateWalletAccountNameResult: {
|
|
6734
|
+
/** @description Unique identifier for a given Wallet Account. */
|
|
6735
|
+
walletAccountId: string;
|
|
6736
|
+
};
|
|
6515
6737
|
v1UpdateWalletIntent: {
|
|
6516
6738
|
/** @description Unique identifier for a given Wallet. */
|
|
6517
6739
|
walletId: string;
|
|
@@ -6578,8 +6800,7 @@ export type definitions = {
|
|
|
6578
6800
|
feeReceiverWalletAddress?: string;
|
|
6579
6801
|
/** @description Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
|
|
6580
6802
|
feeBps?: string;
|
|
6581
|
-
|
|
6582
|
-
/** @description Optional override applied when both swap assets are stablecoins; falls back to fee_bps when unset. */
|
|
6803
|
+
/** @description Optional Enterprise-only override applied when both swap assets are stablecoins; falls back to fee_bps when unset. Non-Enterprise orgs may only set fee_bps. */
|
|
6583
6804
|
stableFeeBps?: string;
|
|
6584
6805
|
};
|
|
6585
6806
|
v1UpsertSwapConfigRequest: {
|
|
@@ -6780,6 +7001,8 @@ export type definitions = {
|
|
|
6780
7001
|
walletDetails?: definitions["v1Wallet"];
|
|
6781
7002
|
/** @description Human-readable name for this Wallet Account, unique within the organization. */
|
|
6782
7003
|
name?: string;
|
|
7004
|
+
/** @description The CAIP-2 namespace shared by the chains supported by this account (for example, 'eip155' or 'solana'). */
|
|
7005
|
+
caip2Prefix?: string;
|
|
6783
7006
|
};
|
|
6784
7007
|
v1WalletAccountParams: {
|
|
6785
7008
|
/** @description Cryptographic curve used to generate a wallet Account. */
|
|
@@ -7402,25 +7625,7 @@ export type operations = {
|
|
|
7402
7625
|
};
|
|
7403
7626
|
};
|
|
7404
7627
|
};
|
|
7405
|
-
/**
|
|
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. */
|
|
7628
|
+
/** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
|
|
7424
7629
|
PublicApiService_GetSwapStatus: {
|
|
7425
7630
|
parameters: {
|
|
7426
7631
|
body: {
|
|
@@ -7510,6 +7715,24 @@ export type operations = {
|
|
|
7510
7715
|
};
|
|
7511
7716
|
};
|
|
7512
7717
|
};
|
|
7718
|
+
/** List QOS versions supported for new TVC deployments and the latest recommended QOS version. */
|
|
7719
|
+
PublicApiService_GetTvcQosVersions: {
|
|
7720
|
+
parameters: {
|
|
7721
|
+
body: {
|
|
7722
|
+
body: definitions["v1GetTvcQosVersionsRequest"];
|
|
7723
|
+
};
|
|
7724
|
+
};
|
|
7725
|
+
responses: {
|
|
7726
|
+
/** A successful response. */
|
|
7727
|
+
200: {
|
|
7728
|
+
schema: definitions["v1GetTvcQosVersionsResponse"];
|
|
7729
|
+
};
|
|
7730
|
+
/** An unexpected error response. */
|
|
7731
|
+
default: {
|
|
7732
|
+
schema: definitions["rpcStatus"];
|
|
7733
|
+
};
|
|
7734
|
+
};
|
|
7735
|
+
};
|
|
7513
7736
|
/** Get details about a user. */
|
|
7514
7737
|
PublicApiService_GetUser: {
|
|
7515
7738
|
parameters: {
|
|
@@ -7798,6 +8021,24 @@ export type operations = {
|
|
|
7798
8021
|
};
|
|
7799
8022
|
};
|
|
7800
8023
|
};
|
|
8024
|
+
/** List secret metadata for an organization. */
|
|
8025
|
+
PublicApiService_ListSecrets: {
|
|
8026
|
+
parameters: {
|
|
8027
|
+
body: {
|
|
8028
|
+
body: definitions["v1ListSecretsRequest"];
|
|
8029
|
+
};
|
|
8030
|
+
};
|
|
8031
|
+
responses: {
|
|
8032
|
+
/** A successful response. */
|
|
8033
|
+
200: {
|
|
8034
|
+
schema: definitions["v1ListSecretsResponse"];
|
|
8035
|
+
};
|
|
8036
|
+
/** An unexpected error response. */
|
|
8037
|
+
default: {
|
|
8038
|
+
schema: definitions["rpcStatus"];
|
|
8039
|
+
};
|
|
8040
|
+
};
|
|
8041
|
+
};
|
|
7801
8042
|
/** List all smart contract interfaces within an organization. */
|
|
7802
8043
|
PublicApiService_GetSmartContractInterfaces: {
|
|
7803
8044
|
parameters: {
|
|
@@ -8410,6 +8651,24 @@ export type operations = {
|
|
|
8410
8651
|
};
|
|
8411
8652
|
};
|
|
8412
8653
|
};
|
|
8654
|
+
/** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
|
|
8655
|
+
PublicApiService_CreateSwapQuote: {
|
|
8656
|
+
parameters: {
|
|
8657
|
+
body: {
|
|
8658
|
+
body: definitions["v1CreateSwapQuoteRequest"];
|
|
8659
|
+
};
|
|
8660
|
+
};
|
|
8661
|
+
responses: {
|
|
8662
|
+
/** A successful response. */
|
|
8663
|
+
200: {
|
|
8664
|
+
schema: definitions["v1ActivityResponse"];
|
|
8665
|
+
};
|
|
8666
|
+
/** An unexpected error response. */
|
|
8667
|
+
default: {
|
|
8668
|
+
schema: definitions["rpcStatus"];
|
|
8669
|
+
};
|
|
8670
|
+
};
|
|
8671
|
+
};
|
|
8413
8672
|
/** Create a new TVC application */
|
|
8414
8673
|
PublicApiService_CreateTvcApp: {
|
|
8415
8674
|
parameters: {
|
|
@@ -9076,7 +9335,25 @@ export type operations = {
|
|
|
9076
9335
|
};
|
|
9077
9336
|
};
|
|
9078
9337
|
};
|
|
9079
|
-
/**
|
|
9338
|
+
/** Submit an EIP-7702 undelegation transaction. */
|
|
9339
|
+
PublicApiService_EthUndelegate7702: {
|
|
9340
|
+
parameters: {
|
|
9341
|
+
body: {
|
|
9342
|
+
body: definitions["v1EthUndelegate7702Request"];
|
|
9343
|
+
};
|
|
9344
|
+
};
|
|
9345
|
+
responses: {
|
|
9346
|
+
/** A successful response. */
|
|
9347
|
+
200: {
|
|
9348
|
+
schema: definitions["v1ActivityResponse"];
|
|
9349
|
+
};
|
|
9350
|
+
/** An unexpected error response. */
|
|
9351
|
+
default: {
|
|
9352
|
+
schema: definitions["rpcStatus"];
|
|
9353
|
+
};
|
|
9354
|
+
};
|
|
9355
|
+
};
|
|
9356
|
+
/** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V2. */
|
|
9080
9357
|
PublicApiService_ExecuteSwap: {
|
|
9081
9358
|
parameters: {
|
|
9082
9359
|
body: {
|
|
@@ -9112,6 +9389,24 @@ export type operations = {
|
|
|
9112
9389
|
};
|
|
9113
9390
|
};
|
|
9114
9391
|
};
|
|
9392
|
+
/** Export secrets encrypted to client-provided target public keys. */
|
|
9393
|
+
PublicApiService_ExportSecrets: {
|
|
9394
|
+
parameters: {
|
|
9395
|
+
body: {
|
|
9396
|
+
body: definitions["v1ExportSecretsRequest"];
|
|
9397
|
+
};
|
|
9398
|
+
};
|
|
9399
|
+
responses: {
|
|
9400
|
+
/** A successful response. */
|
|
9401
|
+
200: {
|
|
9402
|
+
schema: definitions["v1ActivityResponse"];
|
|
9403
|
+
};
|
|
9404
|
+
/** An unexpected error response. */
|
|
9405
|
+
default: {
|
|
9406
|
+
schema: definitions["rpcStatus"];
|
|
9407
|
+
};
|
|
9408
|
+
};
|
|
9409
|
+
};
|
|
9115
9410
|
/** Export a wallet. */
|
|
9116
9411
|
PublicApiService_ExportWallet: {
|
|
9117
9412
|
parameters: {
|
|
@@ -9166,6 +9461,24 @@ export type operations = {
|
|
|
9166
9461
|
};
|
|
9167
9462
|
};
|
|
9168
9463
|
};
|
|
9464
|
+
/** Import secrets encrypted to target keys returned from InitImportSecrets. */
|
|
9465
|
+
PublicApiService_ImportSecrets: {
|
|
9466
|
+
parameters: {
|
|
9467
|
+
body: {
|
|
9468
|
+
body: definitions["v1ImportSecretsRequest"];
|
|
9469
|
+
};
|
|
9470
|
+
};
|
|
9471
|
+
responses: {
|
|
9472
|
+
/** A successful response. */
|
|
9473
|
+
200: {
|
|
9474
|
+
schema: definitions["v1ActivityResponse"];
|
|
9475
|
+
};
|
|
9476
|
+
/** An unexpected error response. */
|
|
9477
|
+
default: {
|
|
9478
|
+
schema: definitions["rpcStatus"];
|
|
9479
|
+
};
|
|
9480
|
+
};
|
|
9481
|
+
};
|
|
9169
9482
|
/** Import a wallet. */
|
|
9170
9483
|
PublicApiService_ImportWallet: {
|
|
9171
9484
|
parameters: {
|