@turnkey/sdk-types 1.6.0 → 1.8.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.
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export type paths = {
|
|
6
|
+
"/public/v1/query/get_active_policies": {
|
|
7
|
+
/** For each policy in an organization, report whether it is currently active based on the enclave's trusted timestamp and the policy's time window (if any). Policies without a time field are always active. */
|
|
8
|
+
post: operations["PublicApiService_GetActivePolicies"];
|
|
9
|
+
};
|
|
6
10
|
"/public/v1/query/get_activity": {
|
|
7
11
|
/** Get details about an activity. */
|
|
8
12
|
post: operations["PublicApiService_GetActivity"];
|
|
@@ -151,6 +155,10 @@ export type paths = {
|
|
|
151
155
|
/** Get details about a user. */
|
|
152
156
|
post: operations["PublicApiService_GetUser"];
|
|
153
157
|
};
|
|
158
|
+
"/public/v1/query/get_velocity_control": {
|
|
159
|
+
/** Get details about a velocity control. */
|
|
160
|
+
post: operations["PublicApiService_GetVelocityControl"];
|
|
161
|
+
};
|
|
154
162
|
"/public/v1/query/get_wallet": {
|
|
155
163
|
/** Get details about a wallet. */
|
|
156
164
|
post: operations["PublicApiService_GetWallet"];
|
|
@@ -247,6 +255,10 @@ export type paths = {
|
|
|
247
255
|
/** List all users within an organization. */
|
|
248
256
|
post: operations["PublicApiService_GetUsers"];
|
|
249
257
|
};
|
|
258
|
+
"/public/v1/query/list_velocity_controls": {
|
|
259
|
+
/** List all velocity controls within an organization. */
|
|
260
|
+
post: operations["PublicApiService_ListVelocityControls"];
|
|
261
|
+
};
|
|
250
262
|
"/public/v1/query/list_verified_suborgs": {
|
|
251
263
|
/** Get all email or phone verified suborg IDs associated given a parent org ID. */
|
|
252
264
|
post: operations["PublicApiService_GetVerifiedSubOrgIds"];
|
|
@@ -383,6 +395,10 @@ export type paths = {
|
|
|
383
395
|
/** 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). */
|
|
384
396
|
post: operations["PublicApiService_CreateUsers"];
|
|
385
397
|
};
|
|
398
|
+
"/public/v1/submit/create_velocity_control": {
|
|
399
|
+
/** Create a new velocity control. */
|
|
400
|
+
post: operations["PublicApiService_CreateVelocityControl"];
|
|
401
|
+
};
|
|
386
402
|
"/public/v1/submit/create_wallet": {
|
|
387
403
|
/** Create a wallet and derive addresses. */
|
|
388
404
|
post: operations["PublicApiService_CreateWallet"];
|
|
@@ -439,6 +455,10 @@ export type paths = {
|
|
|
439
455
|
/** Delete private keys for an organization. */
|
|
440
456
|
post: operations["PublicApiService_DeletePrivateKeys"];
|
|
441
457
|
};
|
|
458
|
+
"/public/v1/submit/delete_secrets": {
|
|
459
|
+
/** Delete secrets by their unique identifiers. All secrets must belong to the organization. */
|
|
460
|
+
post: operations["PublicApiService_DeleteSecrets"];
|
|
461
|
+
};
|
|
442
462
|
"/public/v1/submit/delete_smart_contract_interface": {
|
|
443
463
|
/** Delete a smart contract interface. */
|
|
444
464
|
post: operations["PublicApiService_DeleteSmartContractInterface"];
|
|
@@ -463,6 +483,10 @@ export type paths = {
|
|
|
463
483
|
/** Delete users within an organization. */
|
|
464
484
|
post: operations["PublicApiService_DeleteUsers"];
|
|
465
485
|
};
|
|
486
|
+
"/public/v1/submit/delete_velocity_control": {
|
|
487
|
+
/** Delete an existing velocity control. */
|
|
488
|
+
post: operations["PublicApiService_DeleteVelocityControl"];
|
|
489
|
+
};
|
|
466
490
|
"/public/v1/submit/delete_wallet_accounts": {
|
|
467
491
|
/** Delete wallet accounts for an organization. */
|
|
468
492
|
post: operations["PublicApiService_DeleteWalletAccounts"];
|
|
@@ -795,6 +819,14 @@ export type definitions = {
|
|
|
795
819
|
/** @description The email address associated with the payment method. */
|
|
796
820
|
cardHolderEmail: string;
|
|
797
821
|
};
|
|
822
|
+
billingUpdatePaymentMethodIntent: {
|
|
823
|
+
/** @description The email that will receive invoices for the payment method. */
|
|
824
|
+
paymentEmail: string;
|
|
825
|
+
};
|
|
826
|
+
billingUpdatePaymentMethodResult: {
|
|
827
|
+
/** @description The email address associated with the payment method. */
|
|
828
|
+
paymentEmail: string;
|
|
829
|
+
};
|
|
798
830
|
datav1Tag: {
|
|
799
831
|
/** @description Unique identifier for a given Tag. */
|
|
800
832
|
tagId: string;
|
|
@@ -904,6 +936,18 @@ export type definitions = {
|
|
|
904
936
|
};
|
|
905
937
|
/** @enum {string} */
|
|
906
938
|
v1AccessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
939
|
+
v1ActivePolicyStatus: {
|
|
940
|
+
/** @description Unique identifier for the organization the policy belongs to. */
|
|
941
|
+
organizationId: string;
|
|
942
|
+
/** @description Unique identifier for a given policy. */
|
|
943
|
+
policyId: string;
|
|
944
|
+
/** @description Whether the policy is currently active. A policy without a time window is always active. */
|
|
945
|
+
active: boolean;
|
|
946
|
+
/** @description The policy's time expression, absent when the policy has no time window. */
|
|
947
|
+
timeExpr?: string;
|
|
948
|
+
/** @description Set when the policy's time expression could not be evaluated; the policy is reported inactive. */
|
|
949
|
+
error?: string;
|
|
950
|
+
};
|
|
907
951
|
v1Activity: {
|
|
908
952
|
/** @description Unique identifier for a given Activity object. */
|
|
909
953
|
id: string;
|
|
@@ -937,7 +981,7 @@ export type definitions = {
|
|
|
937
981
|
/** @enum {string} */
|
|
938
982
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
939
983
|
/** @enum {string} */
|
|
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";
|
|
984
|
+
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" | "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL" | "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROL" | "ACTIVITY_TYPE_UPDATE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V2" | "ACTIVITY_TYPE_EXECUTE_SWAP_V3" | "ACTIVITY_TYPE_DELETE_SECRETS";
|
|
941
985
|
/** @enum {string} */
|
|
942
986
|
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";
|
|
943
987
|
v1ApiKey: {
|
|
@@ -1048,6 +1092,8 @@ export type definitions = {
|
|
|
1048
1092
|
name?: string;
|
|
1049
1093
|
/** @description Whether this asset is on Turnkey's stablecoin list (used for stablepair swap fee pricing). */
|
|
1050
1094
|
stable?: boolean;
|
|
1095
|
+
/** @description Earn yield providers with vaults denominated in this asset. Empty when the asset is not supported by Earn. */
|
|
1096
|
+
earnProviders?: definitions["v1EarnProvider"][];
|
|
1051
1097
|
};
|
|
1052
1098
|
v1Attestation: {
|
|
1053
1099
|
/** @description The cbor encoded then base64 url encoded id of the credential. */
|
|
@@ -1851,6 +1897,20 @@ export type definitions = {
|
|
|
1851
1897
|
/** @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
1898
|
slippageBps?: string;
|
|
1853
1899
|
};
|
|
1900
|
+
v1CreateSwapQuoteIntentV2: {
|
|
1901
|
+
/** @description Wallet account address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
1902
|
+
signWith: string;
|
|
1903
|
+
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
1904
|
+
inputToken: string;
|
|
1905
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
1906
|
+
outputToken: string;
|
|
1907
|
+
/** @description Base-unit amount of the input asset. */
|
|
1908
|
+
inputAmount: string;
|
|
1909
|
+
/** @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. */
|
|
1910
|
+
slippageBps?: string;
|
|
1911
|
+
/** @description Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
1912
|
+
destinationAddress?: string;
|
|
1913
|
+
};
|
|
1854
1914
|
v1CreateSwapQuoteRequest: {
|
|
1855
1915
|
/** @enum {string} */
|
|
1856
1916
|
type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE";
|
|
@@ -2097,6 +2157,29 @@ export type definitions = {
|
|
|
2097
2157
|
/** @description A list of User IDs. */
|
|
2098
2158
|
userIds: string[];
|
|
2099
2159
|
};
|
|
2160
|
+
v1CreateVelocityControlIntent: {
|
|
2161
|
+
/** @description Human-readable name for the Velocity Control. */
|
|
2162
|
+
name: string;
|
|
2163
|
+
/** @description Data source for the Velocity Control. */
|
|
2164
|
+
dataSource: definitions["v1VelocityControlDataSource"];
|
|
2165
|
+
/** @description Aggregation expression that the Velocity Control evaluates. */
|
|
2166
|
+
aggregation: definitions["v1VelocityControlAggregation"];
|
|
2167
|
+
/** @description Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
2168
|
+
identifier: string;
|
|
2169
|
+
};
|
|
2170
|
+
v1CreateVelocityControlRequest: {
|
|
2171
|
+
/** @enum {string} */
|
|
2172
|
+
type: "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL";
|
|
2173
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2174
|
+
timestampMs: string;
|
|
2175
|
+
/** @description Unique identifier for a given Organization. */
|
|
2176
|
+
organizationId: string;
|
|
2177
|
+
parameters: definitions["v1CreateVelocityControlIntent"];
|
|
2178
|
+
generateAppProofs?: boolean;
|
|
2179
|
+
};
|
|
2180
|
+
v1CreateVelocityControlResult: {
|
|
2181
|
+
velocityControlId: string;
|
|
2182
|
+
};
|
|
2100
2183
|
v1CreateWalletAccountsIntent: {
|
|
2101
2184
|
/** @description Unique identifier for a given Wallet. */
|
|
2102
2185
|
walletId: string;
|
|
@@ -2400,6 +2483,23 @@ export type definitions = {
|
|
|
2400
2483
|
/** @description A list of private key unique identifiers that were removed */
|
|
2401
2484
|
privateKeyIds: string[];
|
|
2402
2485
|
};
|
|
2486
|
+
v1DeleteSecretsIntent: {
|
|
2487
|
+
/** @description Unique identifiers of the secrets to delete. Must contain between 1 and 32 distinct UUIDs. All secrets must belong to the organization. */
|
|
2488
|
+
secretIds: string[];
|
|
2489
|
+
};
|
|
2490
|
+
v1DeleteSecretsRequest: {
|
|
2491
|
+
/** @enum {string} */
|
|
2492
|
+
type: "ACTIVITY_TYPE_DELETE_SECRETS";
|
|
2493
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2494
|
+
timestampMs: string;
|
|
2495
|
+
/** @description Unique identifier for a given Organization. */
|
|
2496
|
+
organizationId: string;
|
|
2497
|
+
parameters: definitions["v1DeleteSecretsIntent"];
|
|
2498
|
+
};
|
|
2499
|
+
v1DeleteSecretsResult: {
|
|
2500
|
+
/** @description Unique identifiers of the deleted secrets, in the order requested. */
|
|
2501
|
+
secretIds: string[];
|
|
2502
|
+
};
|
|
2403
2503
|
v1DeleteSmartContractInterfaceIntent: {
|
|
2404
2504
|
/** @description The ID of a Smart Contract Interface intended for deletion. */
|
|
2405
2505
|
smartContractInterfaceId: string;
|
|
@@ -2510,6 +2610,22 @@ export type definitions = {
|
|
|
2510
2610
|
/** @description A list of User IDs. */
|
|
2511
2611
|
userIds: string[];
|
|
2512
2612
|
};
|
|
2613
|
+
v1DeleteVelocityControlIntent: {
|
|
2614
|
+
velocityControlId: string;
|
|
2615
|
+
};
|
|
2616
|
+
v1DeleteVelocityControlRequest: {
|
|
2617
|
+
/** @enum {string} */
|
|
2618
|
+
type: "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROL";
|
|
2619
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2620
|
+
timestampMs: string;
|
|
2621
|
+
/** @description Unique identifier for a given Organization. */
|
|
2622
|
+
organizationId: string;
|
|
2623
|
+
parameters: definitions["v1DeleteVelocityControlIntent"];
|
|
2624
|
+
generateAppProofs?: boolean;
|
|
2625
|
+
};
|
|
2626
|
+
v1DeleteVelocityControlResult: {
|
|
2627
|
+
velocityControlId: string;
|
|
2628
|
+
};
|
|
2513
2629
|
v1DeleteWalletAccountsIntent: {
|
|
2514
2630
|
/** @description List of unique identifiers for wallet accounts within an organization */
|
|
2515
2631
|
walletAccountIds: string[];
|
|
@@ -2583,6 +2699,8 @@ export type definitions = {
|
|
|
2583
2699
|
desiredReplicas: number;
|
|
2584
2700
|
/** @description Last time this deployment was updated */
|
|
2585
2701
|
lastUpdatedTime: definitions["externaldatav1Timestamp"];
|
|
2702
|
+
/** @description Current quorum-key provisioning state for this deployment */
|
|
2703
|
+
provisioningState?: definitions["v1ProvisioningState"];
|
|
2586
2704
|
};
|
|
2587
2705
|
v1DisableAuthProxyIntent: {
|
|
2588
2706
|
[key: string]: unknown;
|
|
@@ -2689,6 +2807,22 @@ export type definitions = {
|
|
|
2689
2807
|
claimableClientFeeDisplay?: definitions["v1EarnValueDisplay"];
|
|
2690
2808
|
/** @description The wallet address that receives the client's fee payouts on-chain. Unset when a sub-org queries. */
|
|
2691
2809
|
clientFeeWallet?: string;
|
|
2810
|
+
/** @description Assets currently withdrawable from the underlying vault without a reallocation, in raw on-chain units of the underlying asset. This is the vault's liquidity, not the wrapper's balance. Empty when the provider does not report it. */
|
|
2811
|
+
liquidity?: string;
|
|
2812
|
+
/** @description Normalized liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use liquidity instead. */
|
|
2813
|
+
liquidityDisplay?: definitions["v1EarnValueDisplay"];
|
|
2814
|
+
/** @description The underlying markets the vault allocates into, ranked by supplied amount descending. Only populated when the request sets include_exposure, and only for providers that expose an allocation breakdown (Morpho). */
|
|
2815
|
+
exposures?: definitions["v1EarnVaultExposure"][];
|
|
2816
|
+
/** @description Additional assets withdrawable from the underlying vault by force-deallocating its non-liquidity adapters at zero penalty, in raw on-chain units of the underlying asset. Additive to liquidity. Empty when the provider does not report it. */
|
|
2817
|
+
forceDeallocatableLiquidity?: string;
|
|
2818
|
+
/** @description Normalized force-deallocatable liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use force_deallocatable_liquidity instead. */
|
|
2819
|
+
forceDeallocatableLiquidityDisplay?: definitions["v1EarnValueDisplay"];
|
|
2820
|
+
/** @description On-chain status of the wrapper deployment: PENDING, COMPLETED, or FAILED. Only a COMPLETED wrapper is usable. Empty when no deploy is recorded for the wrapper. */
|
|
2821
|
+
deployStatus?: string;
|
|
2822
|
+
/** @description Request id of the wrapper's most recent deploy, for polling GetEarnDeployStatus. Empty when no deploy is recorded. */
|
|
2823
|
+
deployRequestId?: string;
|
|
2824
|
+
/** @description Failure detail when deploy_status is FAILED. */
|
|
2825
|
+
deployError?: string;
|
|
2692
2826
|
};
|
|
2693
2827
|
v1EarnPosition: {
|
|
2694
2828
|
/** @description Address of the underlying yield vault. */
|
|
@@ -2773,6 +2907,30 @@ export type definitions = {
|
|
|
2773
2907
|
name?: string;
|
|
2774
2908
|
/** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
|
|
2775
2909
|
curator?: string;
|
|
2910
|
+
/** @description Assets currently withdrawable from the vault without a reallocation, in raw on-chain units of the underlying asset. Empty when the provider does not report it. */
|
|
2911
|
+
liquidity?: string;
|
|
2912
|
+
/** @description Normalized liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use liquidity instead. */
|
|
2913
|
+
liquidityDisplay?: definitions["v1EarnValueDisplay"];
|
|
2914
|
+
/** @description Additional assets withdrawable from the vault by force-deallocating its non-liquidity adapters at zero penalty, in raw on-chain units of the underlying asset. Additive to liquidity. Empty when the provider does not report it. */
|
|
2915
|
+
forceDeallocatableLiquidity?: string;
|
|
2916
|
+
/** @description Normalized force-deallocatable liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use force_deallocatable_liquidity instead. */
|
|
2917
|
+
forceDeallocatableLiquidityDisplay?: definitions["v1EarnValueDisplay"];
|
|
2918
|
+
};
|
|
2919
|
+
v1EarnVaultExposure: {
|
|
2920
|
+
/** @description Provider-specific identifier for the market (the Morpho Blue market id). */
|
|
2921
|
+
marketId?: string;
|
|
2922
|
+
/** @description Symbol of the market's collateral asset (e.g. 'cbBTC'). Empty for an idle/uncollateralized market. */
|
|
2923
|
+
collateralSymbol?: string;
|
|
2924
|
+
/** @description CAIP-19 asset ID of the market's collateral asset. Empty for an idle/uncollateralized market. */
|
|
2925
|
+
collateralCaip19?: string;
|
|
2926
|
+
/** @description The market's liquidation loan-to-value, expressed as a decimal fraction (e.g. '0.86' for 86%). */
|
|
2927
|
+
lltvPct?: string;
|
|
2928
|
+
/** @description Assets the vault supplies to this market, in raw on-chain units of the underlying asset. */
|
|
2929
|
+
supplied?: string;
|
|
2930
|
+
/** @description Normalized supplied values for display purposes only (usd + crypto). Do not do arithmetic with these; use supplied instead. */
|
|
2931
|
+
display?: definitions["v1EarnValueDisplay"];
|
|
2932
|
+
/** @description This market's share of the vault's supplied assets, as a decimal fraction (e.g. '0.997' for 99.7%). */
|
|
2933
|
+
sharePct?: string;
|
|
2776
2934
|
};
|
|
2777
2935
|
v1EarnWithdrawIntent: {
|
|
2778
2936
|
/** @description Address of the deployed Earn wrapper holding the position to withdraw from, from ListEarnPositions. Must be one of the org's deployed wrappers. */
|
|
@@ -2982,7 +3140,7 @@ export type definitions = {
|
|
|
2982
3140
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2983
3141
|
* @enum {string}
|
|
2984
3142
|
*/
|
|
2985
|
-
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";
|
|
3143
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
2986
3144
|
};
|
|
2987
3145
|
v1EthSendRawTransactionRequest: {
|
|
2988
3146
|
/** @enum {string} */
|
|
@@ -3007,7 +3165,7 @@ export type definitions = {
|
|
|
3007
3165
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
3008
3166
|
* @enum {string}
|
|
3009
3167
|
*/
|
|
3010
|
-
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";
|
|
3168
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
3011
3169
|
/** @description Recipient address as a hex string with 0x prefix. */
|
|
3012
3170
|
to: string;
|
|
3013
3171
|
/** @description Amount of native asset to send in wei. */
|
|
@@ -3034,7 +3192,7 @@ export type definitions = {
|
|
|
3034
3192
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
3035
3193
|
* @enum {string}
|
|
3036
3194
|
*/
|
|
3037
|
-
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";
|
|
3195
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
3038
3196
|
/** @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. */
|
|
3039
3197
|
sponsor?: boolean;
|
|
3040
3198
|
/** @description Outer transaction nonce. Omit to auto-fetch. */
|
|
@@ -3096,6 +3254,8 @@ export type definitions = {
|
|
|
3096
3254
|
transfers: definitions["v1TransactionHistoryTransfer"][];
|
|
3097
3255
|
/** @description Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
3098
3256
|
turnkey?: definitions["v1TransactionHistoryTurnkey"];
|
|
3257
|
+
/** @description Whether the transaction failed during on-chain execution. Omitted when execution outcome is unavailable. */
|
|
3258
|
+
executionFailed?: boolean;
|
|
3099
3259
|
};
|
|
3100
3260
|
v1EthUndelegate7702Intent: {
|
|
3101
3261
|
/** @description A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
@@ -3104,7 +3264,7 @@ export type definitions = {
|
|
|
3104
3264
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
3105
3265
|
* @enum {string}
|
|
3106
3266
|
*/
|
|
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";
|
|
3267
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
3108
3268
|
/** @description Outer transaction nonce. Omit to auto-fetch. */
|
|
3109
3269
|
nonce?: string;
|
|
3110
3270
|
/** @description Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
@@ -3168,6 +3328,30 @@ export type definitions = {
|
|
|
3168
3328
|
/** @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
3329
|
gasStationNonce?: string;
|
|
3170
3330
|
};
|
|
3331
|
+
v1ExecuteSwapIntentV3: {
|
|
3332
|
+
/** @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. */
|
|
3333
|
+
quoteId: string;
|
|
3334
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
3335
|
+
inputToken: string;
|
|
3336
|
+
/** @description Exact base-unit amount of the input asset committed by the quote. */
|
|
3337
|
+
inputAmount: string;
|
|
3338
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3339
|
+
outputToken: string;
|
|
3340
|
+
/** @description Exact quoted base-unit output amount committed by the quote. */
|
|
3341
|
+
quotedOutputAmount: string;
|
|
3342
|
+
/** @description Exact minimum base-unit output committed by the quote. */
|
|
3343
|
+
minOutputAmount: string;
|
|
3344
|
+
/** @description Whether the quoted transaction is sponsored. */
|
|
3345
|
+
sponsor: boolean;
|
|
3346
|
+
/** @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. */
|
|
3347
|
+
evmNonce?: string;
|
|
3348
|
+
/** @description Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
|
|
3349
|
+
recentBlockhash?: string;
|
|
3350
|
+
/** @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. */
|
|
3351
|
+
gasStationNonce?: string;
|
|
3352
|
+
/** @description Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
3353
|
+
destinationAddress?: string;
|
|
3354
|
+
};
|
|
3171
3355
|
v1ExecuteSwapRequest: {
|
|
3172
3356
|
/** @enum {string} */
|
|
3173
3357
|
type: "ACTIVITY_TYPE_EXECUTE_SWAP_V2";
|
|
@@ -3215,6 +3399,8 @@ export type definitions = {
|
|
|
3215
3399
|
targetPublicKey: string;
|
|
3216
3400
|
/** @description Transport encryption suite used for the exported secret. */
|
|
3217
3401
|
encryptionSuite: definitions["v1TransportEncryptionSuite"];
|
|
3402
|
+
/** @description Bind metadata to the request. */
|
|
3403
|
+
requestContext?: definitions["v1KeyValue"][];
|
|
3218
3404
|
};
|
|
3219
3405
|
v1ExportSecretsIntent: {
|
|
3220
3406
|
/** @description A list of secrets to export. */
|
|
@@ -3315,6 +3501,19 @@ export type definitions = {
|
|
|
3315
3501
|
v1FiatOnRampPaymentMethod: "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" | "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" | "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" | "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" | "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT";
|
|
3316
3502
|
/** @enum {string} */
|
|
3317
3503
|
v1FiatOnRampProvider: "FIAT_ON_RAMP_PROVIDER_COINBASE" | "FIAT_ON_RAMP_PROVIDER_MOONPAY";
|
|
3504
|
+
v1GetActivePoliciesRequest: {
|
|
3505
|
+
/** @description Unique identifier for a given organization. */
|
|
3506
|
+
organizationId: string;
|
|
3507
|
+
};
|
|
3508
|
+
v1GetActivePoliciesResponse: {
|
|
3509
|
+
/** @description The active/inactive status of every policy in the organization. */
|
|
3510
|
+
statuses: definitions["v1ActivePolicyStatus"][];
|
|
3511
|
+
/**
|
|
3512
|
+
* Format: uint64
|
|
3513
|
+
* @description The enclave's trusted timestamp (Unix epoch milliseconds) used to evaluate every policy.
|
|
3514
|
+
*/
|
|
3515
|
+
evaluatedAtMs: string;
|
|
3516
|
+
};
|
|
3318
3517
|
v1GetActivitiesRequest: {
|
|
3319
3518
|
/** @description Unique identifier for a given organization. */
|
|
3320
3519
|
organizationId: string;
|
|
@@ -3541,7 +3740,7 @@ export type definitions = {
|
|
|
3541
3740
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
3542
3741
|
* @enum {string}
|
|
3543
3742
|
*/
|
|
3544
|
-
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";
|
|
3743
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
3545
3744
|
/** @description Whether to fetch the standard on-chain nonce. */
|
|
3546
3745
|
nonce?: boolean;
|
|
3547
3746
|
/** @description Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -3750,6 +3949,8 @@ export type definitions = {
|
|
|
3750
3949
|
updatedAt: string;
|
|
3751
3950
|
/** @description Normalized failure details, present whenever status is FAILED. */
|
|
3752
3951
|
error?: definitions["v1SwapError"];
|
|
3952
|
+
/** @description Address that receives the output asset. */
|
|
3953
|
+
destinationAddress?: string;
|
|
3753
3954
|
};
|
|
3754
3955
|
v1GetTvcAppDeploymentsRequest: {
|
|
3755
3956
|
/** @description Unique identifier for a given organization. */
|
|
@@ -3808,14 +4009,16 @@ export type definitions = {
|
|
|
3808
4009
|
v1GetTvcDeploymentProvisioningDetailsResponse: {
|
|
3809
4010
|
/**
|
|
3810
4011
|
* Format: byte
|
|
3811
|
-
* @description The attestation document of the provisioning enclave
|
|
4012
|
+
* @description The attestation document of the provisioning enclave. Present only when a deployment is awaiting provisioning.
|
|
3812
4013
|
*/
|
|
3813
|
-
attestationDocument
|
|
4014
|
+
attestationDocument?: string;
|
|
3814
4015
|
/**
|
|
3815
4016
|
* Format: byte
|
|
3816
|
-
* @description The manifest envelope containing the TVC deployment's manifest and signatures.
|
|
4017
|
+
* @description The manifest envelope containing the TVC deployment's manifest and signatures. Present only when a deployment is awaiting provisioning.
|
|
3817
4018
|
*/
|
|
3818
|
-
manifestEnvelope
|
|
4019
|
+
manifestEnvelope?: string;
|
|
4020
|
+
/** @description Current provisioning state. */
|
|
4021
|
+
provisioningState?: definitions["v1ProvisioningState"];
|
|
3819
4022
|
};
|
|
3820
4023
|
v1GetTvcDeploymentRequest: {
|
|
3821
4024
|
/** @description Unique identifier for a given organization. */
|
|
@@ -3855,6 +4058,13 @@ export type definitions = {
|
|
|
3855
4058
|
/** @description A list of users. */
|
|
3856
4059
|
users: definitions["v1User"][];
|
|
3857
4060
|
};
|
|
4061
|
+
v1GetVelocityControlRequest: {
|
|
4062
|
+
organizationId: string;
|
|
4063
|
+
velocityControlId: string;
|
|
4064
|
+
};
|
|
4065
|
+
v1GetVelocityControlResponse: {
|
|
4066
|
+
velocityControl: definitions["v1VelocityControl"];
|
|
4067
|
+
};
|
|
3858
4068
|
v1GetVerifiedSubOrgIdsRequest: {
|
|
3859
4069
|
/** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
3860
4070
|
organizationId: string;
|
|
@@ -3906,7 +4116,7 @@ export type definitions = {
|
|
|
3906
4116
|
* @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.
|
|
3907
4117
|
* @enum {string}
|
|
3908
4118
|
*/
|
|
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";
|
|
4119
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3910
4120
|
};
|
|
3911
4121
|
v1GetWalletAddressBalancesResponse: {
|
|
3912
4122
|
/** @description List of asset balances */
|
|
@@ -4130,7 +4340,7 @@ export type definitions = {
|
|
|
4130
4340
|
importBundle: string;
|
|
4131
4341
|
};
|
|
4132
4342
|
v1InitOtpAuthIntent: {
|
|
4133
|
-
/** @description Enum to specify whether to send OTP via SMS or
|
|
4343
|
+
/** @description Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
4134
4344
|
otpType: string;
|
|
4135
4345
|
/** @description Email or phone number to send the OTP code to */
|
|
4136
4346
|
contact: string;
|
|
@@ -4148,7 +4358,7 @@ export type definitions = {
|
|
|
4148
4358
|
replyToEmailAddress?: string;
|
|
4149
4359
|
};
|
|
4150
4360
|
v1InitOtpAuthIntentV2: {
|
|
4151
|
-
/** @description Enum to specify whether to send OTP via SMS or
|
|
4361
|
+
/** @description Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
4152
4362
|
otpType: string;
|
|
4153
4363
|
/** @description Email or phone number to send the OTP code to */
|
|
4154
4364
|
contact: string;
|
|
@@ -4173,7 +4383,7 @@ export type definitions = {
|
|
|
4173
4383
|
replyToEmailAddress?: string;
|
|
4174
4384
|
};
|
|
4175
4385
|
v1InitOtpAuthIntentV3: {
|
|
4176
|
-
/** @description Whether to send OTP via SMS or
|
|
4386
|
+
/** @description Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
4177
4387
|
otpType: string;
|
|
4178
4388
|
/** @description Email or phone number to send the OTP code to */
|
|
4179
4389
|
contact: string;
|
|
@@ -4220,7 +4430,7 @@ export type definitions = {
|
|
|
4220
4430
|
otpId: string;
|
|
4221
4431
|
};
|
|
4222
4432
|
v1InitOtpIntent: {
|
|
4223
|
-
/** @description Whether to send OTP via SMS or
|
|
4433
|
+
/** @description Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
4224
4434
|
otpType: string;
|
|
4225
4435
|
/** @description Email or phone number to send the OTP code to */
|
|
4226
4436
|
contact: string;
|
|
@@ -4247,7 +4457,7 @@ export type definitions = {
|
|
|
4247
4457
|
replyToEmailAddress?: string;
|
|
4248
4458
|
};
|
|
4249
4459
|
v1InitOtpIntentV2: {
|
|
4250
|
-
/** @description Whether to send OTP via SMS or
|
|
4460
|
+
/** @description Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
4251
4461
|
otpType: string;
|
|
4252
4462
|
/** @description Email or phone number to send the OTP code to */
|
|
4253
4463
|
contact: string;
|
|
@@ -4276,7 +4486,7 @@ export type definitions = {
|
|
|
4276
4486
|
replyToEmailAddress?: string;
|
|
4277
4487
|
};
|
|
4278
4488
|
v1InitOtpIntentV3: {
|
|
4279
|
-
/** @description Whether to send OTP via SMS or
|
|
4489
|
+
/** @description Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
4280
4490
|
otpType: string;
|
|
4281
4491
|
/** @description Email or phone number to send the OTP code to */
|
|
4282
4492
|
contact: string;
|
|
@@ -4533,6 +4743,12 @@ export type definitions = {
|
|
|
4533
4743
|
createSwapQuoteIntent?: definitions["v1CreateSwapQuoteIntent"];
|
|
4534
4744
|
importSecretsIntent?: definitions["v1ImportSecretsIntent"];
|
|
4535
4745
|
exportSecretsIntent?: definitions["v1ExportSecretsIntent"];
|
|
4746
|
+
createVelocityControlIntent?: definitions["v1CreateVelocityControlIntent"];
|
|
4747
|
+
deleteVelocityControlIntent?: definitions["v1DeleteVelocityControlIntent"];
|
|
4748
|
+
updatePaymentMethodIntent?: definitions["billingUpdatePaymentMethodIntent"];
|
|
4749
|
+
createSwapQuoteIntentV2?: definitions["v1CreateSwapQuoteIntentV2"];
|
|
4750
|
+
executeSwapIntentV3?: definitions["v1ExecuteSwapIntentV3"];
|
|
4751
|
+
deleteSecretsIntent?: definitions["v1DeleteSecretsIntent"];
|
|
4536
4752
|
};
|
|
4537
4753
|
v1Invitation: {
|
|
4538
4754
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -4603,6 +4819,8 @@ export type definitions = {
|
|
|
4603
4819
|
provider?: definitions["v1EarnProvider"];
|
|
4604
4820
|
/** @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. */
|
|
4605
4821
|
caip19?: string;
|
|
4822
|
+
/** @description When true, populate each vault's exposures (the underlying markets it allocates into). This costs an extra provider query per vault, so leave it off for list views. */
|
|
4823
|
+
includeExposure?: boolean;
|
|
4606
4824
|
};
|
|
4607
4825
|
v1ListEarnEnabledVaultsResponse: {
|
|
4608
4826
|
/** @description The organization's deployed wrappers. */
|
|
@@ -4657,7 +4875,7 @@ export type definitions = {
|
|
|
4657
4875
|
* @description EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
4658
4876
|
* @enum {string}
|
|
4659
4877
|
*/
|
|
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";
|
|
4878
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
4661
4879
|
/** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
4662
4880
|
paginationOptions?: definitions["v1Pagination"];
|
|
4663
4881
|
};
|
|
@@ -4723,7 +4941,7 @@ export type definitions = {
|
|
|
4723
4941
|
* @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.
|
|
4724
4942
|
* @enum {string}
|
|
4725
4943
|
*/
|
|
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";
|
|
4944
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4727
4945
|
};
|
|
4728
4946
|
v1ListSupportedAssetsResponse: {
|
|
4729
4947
|
/** @description List of asset metadata */
|
|
@@ -4737,6 +4955,14 @@ export type definitions = {
|
|
|
4737
4955
|
/** @description A list of user tags. */
|
|
4738
4956
|
userTags: definitions["datav1Tag"][];
|
|
4739
4957
|
};
|
|
4958
|
+
v1ListVelocityControlsRequest: {
|
|
4959
|
+
organizationId: string;
|
|
4960
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
4961
|
+
};
|
|
4962
|
+
v1ListVelocityControlsResponse: {
|
|
4963
|
+
velocityControls: definitions["v1VelocityControl"][];
|
|
4964
|
+
pageInfo: definitions["v1PageInfo"];
|
|
4965
|
+
};
|
|
4740
4966
|
v1ListWebhookEndpointsRequest: {
|
|
4741
4967
|
/** @description Unique identifier for a given Organization. */
|
|
4742
4968
|
organizationId: string;
|
|
@@ -5120,6 +5346,8 @@ export type definitions = {
|
|
|
5120
5346
|
privateKeyId?: string;
|
|
5121
5347
|
addresses?: definitions["immutableactivityv1Address"][];
|
|
5122
5348
|
};
|
|
5349
|
+
/** @enum {string} */
|
|
5350
|
+
v1ProvisioningState: "PROVISIONING_STATE_PENDING" | "PROVISIONING_STATE_AWAITING_PROVISION" | "PROVISIONING_STATE_PROVISIONED";
|
|
5123
5351
|
v1PublicKeyCredentialWithAttestation: {
|
|
5124
5352
|
id: string;
|
|
5125
5353
|
/** @enum {string} */
|
|
@@ -5407,6 +5635,10 @@ export type definitions = {
|
|
|
5407
5635
|
createSwapQuoteResult?: definitions["v1CreateSwapQuoteResult"];
|
|
5408
5636
|
importSecretsResult?: definitions["v1ImportSecretsResult"];
|
|
5409
5637
|
exportSecretsResult?: definitions["v1ExportSecretsResult"];
|
|
5638
|
+
createVelocityControlResult?: definitions["v1CreateVelocityControlResult"];
|
|
5639
|
+
deleteVelocityControlResult?: definitions["v1DeleteVelocityControlResult"];
|
|
5640
|
+
updatePaymentMethodResult?: definitions["billingUpdatePaymentMethodResult"];
|
|
5641
|
+
deleteSecretsResult?: definitions["v1DeleteSecretsResult"];
|
|
5410
5642
|
};
|
|
5411
5643
|
v1RevertChainEntry: {
|
|
5412
5644
|
/** @description The contract address where the revert occurred. */
|
|
@@ -5752,6 +5984,8 @@ export type definitions = {
|
|
|
5752
5984
|
transfers: definitions["v1TransactionHistoryTransfer"][];
|
|
5753
5985
|
/** @description Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
5754
5986
|
turnkey?: definitions["v1TransactionHistoryTurnkey"];
|
|
5987
|
+
/** @description Whether the transaction failed during on-chain execution. Omitted when execution outcome is unavailable. */
|
|
5988
|
+
executionFailed?: boolean;
|
|
5755
5989
|
};
|
|
5756
5990
|
v1SolTransactionHistorySigner: {
|
|
5757
5991
|
/** @description Address of the Solana transaction signer. */
|
|
@@ -6911,6 +7145,118 @@ export type definitions = {
|
|
|
6911
7145
|
v1ValidateTvcImageResponse: {
|
|
6912
7146
|
resolvedImageDigest?: string;
|
|
6913
7147
|
};
|
|
7148
|
+
v1VelocityControl: {
|
|
7149
|
+
/** @description Unique identifier for the Velocity Control. */
|
|
7150
|
+
velocityControlId: string;
|
|
7151
|
+
/** @description Identifier of the Organization that owns the Velocity Control. */
|
|
7152
|
+
organizationId: string;
|
|
7153
|
+
/** @description Human-readable name for the Velocity Control. */
|
|
7154
|
+
name: string;
|
|
7155
|
+
/** @description Data source for the Velocity Control. */
|
|
7156
|
+
dataSource: definitions["v1VelocityControlDataSource"];
|
|
7157
|
+
/** @description Aggregation expression that the Velocity Control evaluates. */
|
|
7158
|
+
aggregation: definitions["v1VelocityControlAggregation"];
|
|
7159
|
+
/** @description Time when the Velocity Control was created. */
|
|
7160
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
7161
|
+
/** @description Time when the Velocity Control was last updated. */
|
|
7162
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
7163
|
+
/** @description Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
7164
|
+
identifier: string;
|
|
7165
|
+
};
|
|
7166
|
+
v1VelocityControlAggregation: {
|
|
7167
|
+
/** @description Method that aggregates matching data points. */
|
|
7168
|
+
method: definitions["v1VelocityControlAggregationMethod"];
|
|
7169
|
+
/** @description Comparison between the aggregate and the threshold. */
|
|
7170
|
+
operator: definitions["v1VelocityControlAggregationOperator"];
|
|
7171
|
+
/** @description Non-negative base-10 decimal string with at most 38 total digits and 18 fractional digits. */
|
|
7172
|
+
threshold: string;
|
|
7173
|
+
/** @description Time window for the aggregation. */
|
|
7174
|
+
window: definitions["v1VelocityControlAggregationWindow"];
|
|
7175
|
+
/** @description Scope that partitions matching data before aggregation. */
|
|
7176
|
+
groupBy: definitions["v1VelocityControlAggregationGroupBy"];
|
|
7177
|
+
};
|
|
7178
|
+
v1VelocityControlAggregationGroupBy: {
|
|
7179
|
+
/** @description Uses one shared bucket for the Organization. */
|
|
7180
|
+
organization?: definitions["v1VelocityControlAggregationGroupByOrganization"];
|
|
7181
|
+
/** @description Uses one bucket for each User. */
|
|
7182
|
+
user?: definitions["v1VelocityControlAggregationGroupByUser"];
|
|
7183
|
+
/** @description Uses one bucket for each Wallet. */
|
|
7184
|
+
wallet?: definitions["v1VelocityControlAggregationGroupByWallet"];
|
|
7185
|
+
};
|
|
7186
|
+
v1VelocityControlAggregationGroupByOrganization: {
|
|
7187
|
+
[key: string]: unknown;
|
|
7188
|
+
};
|
|
7189
|
+
v1VelocityControlAggregationGroupByUser: {
|
|
7190
|
+
[key: string]: unknown;
|
|
7191
|
+
};
|
|
7192
|
+
v1VelocityControlAggregationGroupByWallet: {
|
|
7193
|
+
[key: string]: unknown;
|
|
7194
|
+
};
|
|
7195
|
+
/** @enum {string} */
|
|
7196
|
+
v1VelocityControlAggregationMethod: "VELOCITY_CONTROL_AGGREGATION_METHOD_SUM" | "VELOCITY_CONTROL_AGGREGATION_METHOD_COUNT";
|
|
7197
|
+
/** @enum {string} */
|
|
7198
|
+
v1VelocityControlAggregationOperator: "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN";
|
|
7199
|
+
v1VelocityControlAggregationWindow: {
|
|
7200
|
+
/** @description Uses a rolling time window. */
|
|
7201
|
+
rolling?: definitions["v1VelocityControlAggregationWindowRolling"];
|
|
7202
|
+
/** @description Uses all matching data without a time limit. */
|
|
7203
|
+
infinite?: definitions["v1VelocityControlAggregationWindowInfinite"];
|
|
7204
|
+
};
|
|
7205
|
+
v1VelocityControlAggregationWindowInfinite: {
|
|
7206
|
+
[key: string]: unknown;
|
|
7207
|
+
};
|
|
7208
|
+
v1VelocityControlAggregationWindowRolling: {
|
|
7209
|
+
/** @description Duration of the rolling window, in seconds, as a base-10 integer string. */
|
|
7210
|
+
duration: string;
|
|
7211
|
+
};
|
|
7212
|
+
v1VelocityControlDataSource: {
|
|
7213
|
+
/** @description Uses transfers of the listed on-chain assets as input data. */
|
|
7214
|
+
chainAssetTransfer?: definitions["v1VelocityControlDataSourceChainAssetTransfer"];
|
|
7215
|
+
/** @description Uses executed Turnkey activities as input data. */
|
|
7216
|
+
activityExecution?: definitions["v1VelocityControlDataSourceActivityExecution"];
|
|
7217
|
+
};
|
|
7218
|
+
v1VelocityControlDataSourceActivityExecution: {
|
|
7219
|
+
/** @description Filters activity executions by type. */
|
|
7220
|
+
filter?: definitions["v1VelocityControlDataSourceActivityExecutionFilter"];
|
|
7221
|
+
};
|
|
7222
|
+
v1VelocityControlDataSourceActivityExecutionFilter: {
|
|
7223
|
+
/** @description Activity types whose executions are included. */
|
|
7224
|
+
activity?: definitions["v1VelocityControlDataSourceFilterActivity"][];
|
|
7225
|
+
};
|
|
7226
|
+
v1VelocityControlDataSourceChainAssetTransfer: {
|
|
7227
|
+
/** @description Assets whose transfers are included in the data source. */
|
|
7228
|
+
definition: definitions["v1VelocityControlDataSourceChainAssetTransferDefinition"][];
|
|
7229
|
+
/** @description Filters asset transfers by activity type. */
|
|
7230
|
+
filter?: definitions["v1VelocityControlDataSourceChainAssetTransferFilter"];
|
|
7231
|
+
/** @description Selects when to measure an asset transfer. */
|
|
7232
|
+
phase?: definitions["v1VelocityControlDataSourcePhase"];
|
|
7233
|
+
};
|
|
7234
|
+
v1VelocityControlDataSourceChainAssetTransferDefinition: {
|
|
7235
|
+
/** @description CAIP-19 identifier for the asset. */
|
|
7236
|
+
caip19: string;
|
|
7237
|
+
/** @description Base-10 integer string from 0 through 255 that specifies the number of decimal places for the asset. */
|
|
7238
|
+
decimals: string;
|
|
7239
|
+
};
|
|
7240
|
+
v1VelocityControlDataSourceChainAssetTransferFilter: {
|
|
7241
|
+
/** @description Activity types whose asset transfers are included. */
|
|
7242
|
+
activity?: definitions["v1VelocityControlDataSourceFilterActivity"][];
|
|
7243
|
+
};
|
|
7244
|
+
v1VelocityControlDataSourceFilterActivity: {
|
|
7245
|
+
/** @description Name of an activity type to include, such as `ACTIVITY_TYPE_SOL_SEND_TRANSACTION`. */
|
|
7246
|
+
activityType: string;
|
|
7247
|
+
};
|
|
7248
|
+
v1VelocityControlDataSourcePhase: {
|
|
7249
|
+
/** @description Measures the transfer when Turnkey signs the transaction and returns it to the user. */
|
|
7250
|
+
signature?: definitions["v1VelocityControlDataSourcePhaseSignature"];
|
|
7251
|
+
/** @description Reserved for future use. Measures the transfer after the transaction lands on chain. */
|
|
7252
|
+
submission?: definitions["v1VelocityControlDataSourcePhaseSubmission"];
|
|
7253
|
+
};
|
|
7254
|
+
v1VelocityControlDataSourcePhaseSignature: {
|
|
7255
|
+
[key: string]: unknown;
|
|
7256
|
+
};
|
|
7257
|
+
v1VelocityControlDataSourcePhaseSubmission: {
|
|
7258
|
+
[key: string]: unknown;
|
|
7259
|
+
};
|
|
6914
7260
|
v1VerifyOtpIntent: {
|
|
6915
7261
|
/** @description ID representing the result of an init OTP activity. */
|
|
6916
7262
|
otpId: string;
|
|
@@ -7085,6 +7431,24 @@ export type definitions = {
|
|
|
7085
7431
|
};
|
|
7086
7432
|
};
|
|
7087
7433
|
export type operations = {
|
|
7434
|
+
/** For each policy in an organization, report whether it is currently active based on the enclave's trusted timestamp and the policy's time window (if any). Policies without a time field are always active. */
|
|
7435
|
+
PublicApiService_GetActivePolicies: {
|
|
7436
|
+
parameters: {
|
|
7437
|
+
body: {
|
|
7438
|
+
body: definitions["v1GetActivePoliciesRequest"];
|
|
7439
|
+
};
|
|
7440
|
+
};
|
|
7441
|
+
responses: {
|
|
7442
|
+
/** A successful response. */
|
|
7443
|
+
200: {
|
|
7444
|
+
schema: definitions["v1GetActivePoliciesResponse"];
|
|
7445
|
+
};
|
|
7446
|
+
/** An unexpected error response. */
|
|
7447
|
+
default: {
|
|
7448
|
+
schema: definitions["rpcStatus"];
|
|
7449
|
+
};
|
|
7450
|
+
};
|
|
7451
|
+
};
|
|
7088
7452
|
/** Get details about an activity. */
|
|
7089
7453
|
PublicApiService_GetActivity: {
|
|
7090
7454
|
parameters: {
|
|
@@ -7751,6 +8115,24 @@ export type operations = {
|
|
|
7751
8115
|
};
|
|
7752
8116
|
};
|
|
7753
8117
|
};
|
|
8118
|
+
/** Get details about a velocity control. */
|
|
8119
|
+
PublicApiService_GetVelocityControl: {
|
|
8120
|
+
parameters: {
|
|
8121
|
+
body: {
|
|
8122
|
+
body: definitions["v1GetVelocityControlRequest"];
|
|
8123
|
+
};
|
|
8124
|
+
};
|
|
8125
|
+
responses: {
|
|
8126
|
+
/** A successful response. */
|
|
8127
|
+
200: {
|
|
8128
|
+
schema: definitions["v1GetVelocityControlResponse"];
|
|
8129
|
+
};
|
|
8130
|
+
/** An unexpected error response. */
|
|
8131
|
+
default: {
|
|
8132
|
+
schema: definitions["rpcStatus"];
|
|
8133
|
+
};
|
|
8134
|
+
};
|
|
8135
|
+
};
|
|
7754
8136
|
/** Get details about a wallet. */
|
|
7755
8137
|
PublicApiService_GetWallet: {
|
|
7756
8138
|
parameters: {
|
|
@@ -8183,6 +8565,24 @@ export type operations = {
|
|
|
8183
8565
|
};
|
|
8184
8566
|
};
|
|
8185
8567
|
};
|
|
8568
|
+
/** List all velocity controls within an organization. */
|
|
8569
|
+
PublicApiService_ListVelocityControls: {
|
|
8570
|
+
parameters: {
|
|
8571
|
+
body: {
|
|
8572
|
+
body: definitions["v1ListVelocityControlsRequest"];
|
|
8573
|
+
};
|
|
8574
|
+
};
|
|
8575
|
+
responses: {
|
|
8576
|
+
/** A successful response. */
|
|
8577
|
+
200: {
|
|
8578
|
+
schema: definitions["v1ListVelocityControlsResponse"];
|
|
8579
|
+
};
|
|
8580
|
+
/** An unexpected error response. */
|
|
8581
|
+
default: {
|
|
8582
|
+
schema: definitions["rpcStatus"];
|
|
8583
|
+
};
|
|
8584
|
+
};
|
|
8585
|
+
};
|
|
8186
8586
|
/** Get all email or phone verified suborg IDs associated given a parent org ID. */
|
|
8187
8587
|
PublicApiService_GetVerifiedSubOrgIds: {
|
|
8188
8588
|
parameters: {
|
|
@@ -8795,6 +9195,24 @@ export type operations = {
|
|
|
8795
9195
|
};
|
|
8796
9196
|
};
|
|
8797
9197
|
};
|
|
9198
|
+
/** Create a new velocity control. */
|
|
9199
|
+
PublicApiService_CreateVelocityControl: {
|
|
9200
|
+
parameters: {
|
|
9201
|
+
body: {
|
|
9202
|
+
body: definitions["v1CreateVelocityControlRequest"];
|
|
9203
|
+
};
|
|
9204
|
+
};
|
|
9205
|
+
responses: {
|
|
9206
|
+
/** A successful response. */
|
|
9207
|
+
200: {
|
|
9208
|
+
schema: definitions["v1ActivityResponse"];
|
|
9209
|
+
};
|
|
9210
|
+
/** An unexpected error response. */
|
|
9211
|
+
default: {
|
|
9212
|
+
schema: definitions["rpcStatus"];
|
|
9213
|
+
};
|
|
9214
|
+
};
|
|
9215
|
+
};
|
|
8798
9216
|
/** Create a wallet and derive addresses. */
|
|
8799
9217
|
PublicApiService_CreateWallet: {
|
|
8800
9218
|
parameters: {
|
|
@@ -9047,6 +9465,24 @@ export type operations = {
|
|
|
9047
9465
|
};
|
|
9048
9466
|
};
|
|
9049
9467
|
};
|
|
9468
|
+
/** Delete secrets by their unique identifiers. All secrets must belong to the organization. */
|
|
9469
|
+
PublicApiService_DeleteSecrets: {
|
|
9470
|
+
parameters: {
|
|
9471
|
+
body: {
|
|
9472
|
+
body: definitions["v1DeleteSecretsRequest"];
|
|
9473
|
+
};
|
|
9474
|
+
};
|
|
9475
|
+
responses: {
|
|
9476
|
+
/** A successful response. */
|
|
9477
|
+
200: {
|
|
9478
|
+
schema: definitions["v1ActivityResponse"];
|
|
9479
|
+
};
|
|
9480
|
+
/** An unexpected error response. */
|
|
9481
|
+
default: {
|
|
9482
|
+
schema: definitions["rpcStatus"];
|
|
9483
|
+
};
|
|
9484
|
+
};
|
|
9485
|
+
};
|
|
9050
9486
|
/** Delete a smart contract interface. */
|
|
9051
9487
|
PublicApiService_DeleteSmartContractInterface: {
|
|
9052
9488
|
parameters: {
|
|
@@ -9155,6 +9591,24 @@ export type operations = {
|
|
|
9155
9591
|
};
|
|
9156
9592
|
};
|
|
9157
9593
|
};
|
|
9594
|
+
/** Delete an existing velocity control. */
|
|
9595
|
+
PublicApiService_DeleteVelocityControl: {
|
|
9596
|
+
parameters: {
|
|
9597
|
+
body: {
|
|
9598
|
+
body: definitions["v1DeleteVelocityControlRequest"];
|
|
9599
|
+
};
|
|
9600
|
+
};
|
|
9601
|
+
responses: {
|
|
9602
|
+
/** A successful response. */
|
|
9603
|
+
200: {
|
|
9604
|
+
schema: definitions["v1ActivityResponse"];
|
|
9605
|
+
};
|
|
9606
|
+
/** An unexpected error response. */
|
|
9607
|
+
default: {
|
|
9608
|
+
schema: definitions["rpcStatus"];
|
|
9609
|
+
};
|
|
9610
|
+
};
|
|
9611
|
+
};
|
|
9158
9612
|
/** Delete wallet accounts for an organization. */
|
|
9159
9613
|
PublicApiService_DeleteWalletAccounts: {
|
|
9160
9614
|
parameters: {
|