@turnkey/sdk-types 1.7.0 → 1.9.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 +12 -0
- package/dist/__generated__/types.d.ts +75 -124
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +72 -9
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @turnkey/sdk-types
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1532](https://github.com/tkhq/sdk/pull/1532) [`4066714`](https://github.com/tkhq/sdk/commit/406671483c664b009df94f6487589dc35fd4b312) Thanks [@t-vila](https://github.com/t-vila)! - `createKeyPair` now raises `API_KEY_STORAGE_UNAVAILABLE` when the device refuses to persist a generated key pair, instead of a generic failure
|
|
8
|
+
|
|
9
|
+
## 1.8.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#1525](https://github.com/tkhq/sdk/pull/1525) [`78533a0`](https://github.com/tkhq/sdk/commit/78533a0acb604d47da211fedd26136c2538b2434) Thanks [@moe-dev](https://github.com/moe-dev)! - Update as per mono v2026.9.4
|
|
14
|
+
|
|
3
15
|
## 1.7.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -108,7 +108,7 @@ export type v1InitOtpResponse = {
|
|
|
108
108
|
otpId: string;
|
|
109
109
|
};
|
|
110
110
|
export type v1InitOtpV2Request = {
|
|
111
|
-
/** Enum to specify whether to send OTP code via SMS or
|
|
111
|
+
/** Enum to specify whether to send OTP code via SMS, email, or WhatsApp */
|
|
112
112
|
otpType: string;
|
|
113
113
|
/** Email or phone number to send the OTP code to */
|
|
114
114
|
contact: string;
|
|
@@ -510,7 +510,7 @@ export type v1ActivityResponse = {
|
|
|
510
510
|
activity: v1Activity;
|
|
511
511
|
};
|
|
512
512
|
export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
513
|
-
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_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";
|
|
513
|
+
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_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";
|
|
514
514
|
export type v1ApiKey = {
|
|
515
515
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
516
516
|
credential: externaldatav1Credential;
|
|
@@ -1522,15 +1522,6 @@ export type v1CreateVelocityControlIntent = {
|
|
|
1522
1522
|
/** Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
1523
1523
|
identifier: string;
|
|
1524
1524
|
};
|
|
1525
|
-
export type v1CreateVelocityControlRequest = {
|
|
1526
|
-
type: "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL";
|
|
1527
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1528
|
-
timestampMs: string;
|
|
1529
|
-
/** Unique identifier for a given Organization. */
|
|
1530
|
-
organizationId: string;
|
|
1531
|
-
parameters: v1CreateVelocityControlIntent;
|
|
1532
|
-
generateAppProofs?: boolean;
|
|
1533
|
-
};
|
|
1534
1525
|
export type v1CreateVelocityControlResult = {
|
|
1535
1526
|
velocityControlId: string;
|
|
1536
1527
|
};
|
|
@@ -1817,6 +1808,22 @@ export type v1DeletePrivateKeysResult = {
|
|
|
1817
1808
|
/** A list of private key unique identifiers that were removed */
|
|
1818
1809
|
privateKeyIds: string[];
|
|
1819
1810
|
};
|
|
1811
|
+
export type v1DeleteSecretsIntent = {
|
|
1812
|
+
/** Unique identifiers of the secrets to delete. Must contain between 1 and 32 distinct UUIDs. All secrets must belong to the organization. */
|
|
1813
|
+
secretIds: string[];
|
|
1814
|
+
};
|
|
1815
|
+
export type v1DeleteSecretsRequest = {
|
|
1816
|
+
type: "ACTIVITY_TYPE_DELETE_SECRETS";
|
|
1817
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1818
|
+
timestampMs: string;
|
|
1819
|
+
/** Unique identifier for a given Organization. */
|
|
1820
|
+
organizationId: string;
|
|
1821
|
+
parameters: v1DeleteSecretsIntent;
|
|
1822
|
+
};
|
|
1823
|
+
export type v1DeleteSecretsResult = {
|
|
1824
|
+
/** Unique identifiers of the deleted secrets, in the order requested. */
|
|
1825
|
+
secretIds: string[];
|
|
1826
|
+
};
|
|
1820
1827
|
export type v1DeleteSmartContractInterfaceIntent = {
|
|
1821
1828
|
/** The ID of a Smart Contract Interface intended for deletion. */
|
|
1822
1829
|
smartContractInterfaceId: string;
|
|
@@ -1924,15 +1931,6 @@ export type v1DeleteUsersResult = {
|
|
|
1924
1931
|
export type v1DeleteVelocityControlIntent = {
|
|
1925
1932
|
velocityControlId: string;
|
|
1926
1933
|
};
|
|
1927
|
-
export type v1DeleteVelocityControlRequest = {
|
|
1928
|
-
type: "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROL";
|
|
1929
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1930
|
-
timestampMs: string;
|
|
1931
|
-
/** Unique identifier for a given Organization. */
|
|
1932
|
-
organizationId: string;
|
|
1933
|
-
parameters: v1DeleteVelocityControlIntent;
|
|
1934
|
-
generateAppProofs?: boolean;
|
|
1935
|
-
};
|
|
1936
1934
|
export type v1DeleteVelocityControlResult = {
|
|
1937
1935
|
velocityControlId: string;
|
|
1938
1936
|
};
|
|
@@ -2102,6 +2100,16 @@ export type v1EarnEnabledVault = {
|
|
|
2102
2100
|
liquidityDisplay?: v1EarnValueDisplay;
|
|
2103
2101
|
/** 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). */
|
|
2104
2102
|
exposures?: v1EarnVaultExposure[];
|
|
2103
|
+
/** 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. */
|
|
2104
|
+
forceDeallocatableLiquidity?: string;
|
|
2105
|
+
/** Normalized force-deallocatable liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use force_deallocatable_liquidity instead. */
|
|
2106
|
+
forceDeallocatableLiquidityDisplay?: v1EarnValueDisplay;
|
|
2107
|
+
/** 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. */
|
|
2108
|
+
deployStatus?: string;
|
|
2109
|
+
/** Request id of the wrapper's most recent deploy, for polling GetEarnDeployStatus. Empty when no deploy is recorded. */
|
|
2110
|
+
deployRequestId?: string;
|
|
2111
|
+
/** Failure detail when deploy_status is FAILED. */
|
|
2112
|
+
deployError?: string;
|
|
2105
2113
|
};
|
|
2106
2114
|
export type v1EarnPosition = {
|
|
2107
2115
|
/** Address of the underlying yield vault. */
|
|
@@ -2188,6 +2196,10 @@ export type v1EarnVault = {
|
|
|
2188
2196
|
liquidity?: string;
|
|
2189
2197
|
/** Normalized liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use liquidity instead. */
|
|
2190
2198
|
liquidityDisplay?: v1EarnValueDisplay;
|
|
2199
|
+
/** 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. */
|
|
2200
|
+
forceDeallocatableLiquidity?: string;
|
|
2201
|
+
/** Normalized force-deallocatable liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use force_deallocatable_liquidity instead. */
|
|
2202
|
+
forceDeallocatableLiquidityDisplay?: v1EarnValueDisplay;
|
|
2191
2203
|
};
|
|
2192
2204
|
export type v1EarnVaultExposure = {
|
|
2193
2205
|
/** Provider-specific identifier for the market (the Morpho Blue market id). */
|
|
@@ -2399,7 +2411,7 @@ export type v1EthSendRawTransactionIntent = {
|
|
|
2399
2411
|
/** The raw, signed transaction to be sent. */
|
|
2400
2412
|
signedTransaction: string;
|
|
2401
2413
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2402
|
-
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";
|
|
2414
|
+
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";
|
|
2403
2415
|
};
|
|
2404
2416
|
export type v1EthSendRawTransactionResult = {
|
|
2405
2417
|
/** The transaction hash of the sent transaction */
|
|
@@ -2411,7 +2423,7 @@ export type v1EthSendTransactionIntent = {
|
|
|
2411
2423
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
2412
2424
|
sponsor?: boolean;
|
|
2413
2425
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2414
|
-
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";
|
|
2426
|
+
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";
|
|
2415
2427
|
/** Recipient address as a hex string with 0x prefix. */
|
|
2416
2428
|
to: string;
|
|
2417
2429
|
/** Amount of native asset to send in wei. */
|
|
@@ -2435,7 +2447,7 @@ export type v1EthSendTransactionIntentV2 = {
|
|
|
2435
2447
|
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
2436
2448
|
from: string;
|
|
2437
2449
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2438
|
-
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";
|
|
2450
|
+
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";
|
|
2439
2451
|
/** 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. */
|
|
2440
2452
|
sponsor?: boolean;
|
|
2441
2453
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
@@ -2493,12 +2505,14 @@ export type v1EthTransactionHistoryItem = {
|
|
|
2493
2505
|
transfers: v1TransactionHistoryTransfer[];
|
|
2494
2506
|
/** Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
2495
2507
|
turnkey?: v1TransactionHistoryTurnkey;
|
|
2508
|
+
/** Whether the transaction failed during on-chain execution. Omitted when execution outcome is unavailable. */
|
|
2509
|
+
executionFailed?: boolean;
|
|
2496
2510
|
};
|
|
2497
2511
|
export type v1EthUndelegate7702Intent = {
|
|
2498
2512
|
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
2499
2513
|
from: string;
|
|
2500
2514
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2501
|
-
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";
|
|
2515
|
+
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";
|
|
2502
2516
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
2503
2517
|
nonce?: string;
|
|
2504
2518
|
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
@@ -2630,6 +2644,8 @@ export type v1ExportSecretParams = {
|
|
|
2630
2644
|
targetPublicKey: string;
|
|
2631
2645
|
/** Transport encryption suite used for the exported secret. */
|
|
2632
2646
|
encryptionSuite: v1TransportEncryptionSuite;
|
|
2647
|
+
/** Bind metadata to the request. */
|
|
2648
|
+
requestContext?: v1KeyValue[];
|
|
2633
2649
|
};
|
|
2634
2650
|
export type v1ExportSecretsIntent = {
|
|
2635
2651
|
/** A list of secrets to export. */
|
|
@@ -2939,7 +2955,7 @@ export type v1GetNoncesRequest = {
|
|
|
2939
2955
|
/** The Ethereum address to query nonces for. */
|
|
2940
2956
|
address: string;
|
|
2941
2957
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2942
|
-
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";
|
|
2958
|
+
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";
|
|
2943
2959
|
/** Whether to fetch the standard on-chain nonce. */
|
|
2944
2960
|
nonce?: boolean;
|
|
2945
2961
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -3134,6 +3150,8 @@ export type v1GetSwapStatusResponse = {
|
|
|
3134
3150
|
updatedAt: string;
|
|
3135
3151
|
/** Normalized failure details, present whenever status is FAILED. */
|
|
3136
3152
|
error?: v1SwapError;
|
|
3153
|
+
/** Address that receives the output asset. */
|
|
3154
|
+
destinationAddress?: string;
|
|
3137
3155
|
};
|
|
3138
3156
|
export type v1GetTvcAppDeploymentsRequest = {
|
|
3139
3157
|
/** Unique identifier for a given organization. */
|
|
@@ -3215,13 +3233,6 @@ export type v1GetUsersResponse = {
|
|
|
3215
3233
|
/** A list of users. */
|
|
3216
3234
|
users: v1User[];
|
|
3217
3235
|
};
|
|
3218
|
-
export type v1GetVelocityControlRequest = {
|
|
3219
|
-
organizationId: string;
|
|
3220
|
-
velocityControlId: string;
|
|
3221
|
-
};
|
|
3222
|
-
export type v1GetVelocityControlResponse = {
|
|
3223
|
-
velocityControl: v1VelocityControl;
|
|
3224
|
-
};
|
|
3225
3236
|
export type v1GetVerifiedSubOrgIdsRequest = {
|
|
3226
3237
|
/** Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
3227
3238
|
organizationId: string;
|
|
@@ -3270,7 +3281,7 @@ export type v1GetWalletAddressBalancesRequest = {
|
|
|
3270
3281
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
3271
3282
|
address: string;
|
|
3272
3283
|
/** 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. */
|
|
3273
|
-
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3284
|
+
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";
|
|
3274
3285
|
};
|
|
3275
3286
|
export type v1GetWalletAddressBalancesResponse = {
|
|
3276
3287
|
/** List of asset balances */
|
|
@@ -3864,6 +3875,7 @@ export type v1Intent = {
|
|
|
3864
3875
|
updatePaymentMethodIntent?: billingUpdatePaymentMethodIntent;
|
|
3865
3876
|
createSwapQuoteIntentV2?: v1CreateSwapQuoteIntentV2;
|
|
3866
3877
|
executeSwapIntentV3?: v1ExecuteSwapIntentV3;
|
|
3878
|
+
deleteSecretsIntent?: v1DeleteSecretsIntent;
|
|
3867
3879
|
};
|
|
3868
3880
|
export type v1InvitationParams = {
|
|
3869
3881
|
/** The name of the intended Invitation recipient. */
|
|
@@ -3967,7 +3979,7 @@ export type v1ListEthTransactionHistoryRequest = {
|
|
|
3967
3979
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
3968
3980
|
address: string;
|
|
3969
3981
|
/** EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
3970
|
-
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";
|
|
3982
|
+
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";
|
|
3971
3983
|
/** Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
3972
3984
|
paginationOptions?: v1Pagination;
|
|
3973
3985
|
};
|
|
@@ -4027,7 +4039,7 @@ export type v1ListSupportedAssetsRequest = {
|
|
|
4027
4039
|
/** Unique identifier for a given organization. */
|
|
4028
4040
|
organizationId: string;
|
|
4029
4041
|
/** 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. */
|
|
4030
|
-
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4042
|
+
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";
|
|
4031
4043
|
};
|
|
4032
4044
|
export type v1ListSupportedAssetsResponse = {
|
|
4033
4045
|
/** List of asset metadata */
|
|
@@ -4041,14 +4053,6 @@ export type v1ListUserTagsResponse = {
|
|
|
4041
4053
|
/** A list of user tags. */
|
|
4042
4054
|
userTags: datav1Tag[];
|
|
4043
4055
|
};
|
|
4044
|
-
export type v1ListVelocityControlsRequest = {
|
|
4045
|
-
organizationId: string;
|
|
4046
|
-
paginationOptions?: v1Pagination;
|
|
4047
|
-
};
|
|
4048
|
-
export type v1ListVelocityControlsResponse = {
|
|
4049
|
-
velocityControls: v1VelocityControl[];
|
|
4050
|
-
pageInfo: v1PageInfo;
|
|
4051
|
-
};
|
|
4052
4056
|
export type v1ListWebhookEndpointsRequest = {
|
|
4053
4057
|
/** Unique identifier for a given Organization. */
|
|
4054
4058
|
organizationId: string;
|
|
@@ -4626,6 +4630,7 @@ export type v1Result = {
|
|
|
4626
4630
|
createVelocityControlResult?: v1CreateVelocityControlResult;
|
|
4627
4631
|
deleteVelocityControlResult?: v1DeleteVelocityControlResult;
|
|
4628
4632
|
updatePaymentMethodResult?: billingUpdatePaymentMethodResult;
|
|
4633
|
+
deleteSecretsResult?: v1DeleteSecretsResult;
|
|
4629
4634
|
};
|
|
4630
4635
|
export type v1RevertChainEntry = {
|
|
4631
4636
|
/** The contract address where the revert occurred. */
|
|
@@ -4945,6 +4950,8 @@ export type v1SolTransactionHistoryItem = {
|
|
|
4945
4950
|
transfers: v1TransactionHistoryTransfer[];
|
|
4946
4951
|
/** Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
4947
4952
|
turnkey?: v1TransactionHistoryTurnkey;
|
|
4953
|
+
/** Whether the transaction failed during on-chain execution. Omitted when execution outcome is unavailable. */
|
|
4954
|
+
executionFailed?: boolean;
|
|
4948
4955
|
};
|
|
4949
4956
|
export type v1SolTransactionHistorySigner = {
|
|
4950
4957
|
/** Address of the Solana transaction signer. */
|
|
@@ -5989,24 +5996,6 @@ export type v1ValidateTvcImageRequest = {
|
|
|
5989
5996
|
export type v1ValidateTvcImageResponse = {
|
|
5990
5997
|
resolvedImageDigest?: string;
|
|
5991
5998
|
};
|
|
5992
|
-
export type v1VelocityControl = {
|
|
5993
|
-
/** Unique identifier for the Velocity Control. */
|
|
5994
|
-
velocityControlId: string;
|
|
5995
|
-
/** Identifier of the Organization that owns the Velocity Control. */
|
|
5996
|
-
organizationId: string;
|
|
5997
|
-
/** Human-readable name for the Velocity Control. */
|
|
5998
|
-
name: string;
|
|
5999
|
-
/** Data source for the Velocity Control. */
|
|
6000
|
-
dataSource: v1VelocityControlDataSource;
|
|
6001
|
-
/** Aggregation expression that the Velocity Control evaluates. */
|
|
6002
|
-
aggregation: v1VelocityControlAggregation;
|
|
6003
|
-
/** Time when the Velocity Control was created. */
|
|
6004
|
-
createdAt: externaldatav1Timestamp;
|
|
6005
|
-
/** Time when the Velocity Control was last updated. */
|
|
6006
|
-
updatedAt: externaldatav1Timestamp;
|
|
6007
|
-
/** Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
6008
|
-
identifier: string;
|
|
6009
|
-
};
|
|
6010
5999
|
export type v1VelocityControlAggregation = {
|
|
6011
6000
|
/** Method that aggregates matching data points. */
|
|
6012
6001
|
method: v1VelocityControlAggregationMethod;
|
|
@@ -6455,7 +6444,7 @@ export type TGetNoncesBody = {
|
|
|
6455
6444
|
/** The Ethereum address to query nonces for. */
|
|
6456
6445
|
address: string;
|
|
6457
6446
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
6458
|
-
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";
|
|
6447
|
+
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";
|
|
6459
6448
|
/** Whether to fetch the standard on-chain nonce. */
|
|
6460
6449
|
nonce?: boolean;
|
|
6461
6450
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -6625,6 +6614,8 @@ export type TGetSwapStatusResponse = {
|
|
|
6625
6614
|
updatedAt: string;
|
|
6626
6615
|
/** Normalized failure details, present whenever status is FAILED. */
|
|
6627
6616
|
error?: v1SwapError;
|
|
6617
|
+
/** Address that receives the output asset. */
|
|
6618
|
+
destinationAddress?: string;
|
|
6628
6619
|
};
|
|
6629
6620
|
export type TGetSwapStatusBody = {
|
|
6630
6621
|
organizationId?: string;
|
|
@@ -6698,16 +6689,6 @@ export type TGetUserBody = {
|
|
|
6698
6689
|
export type TGetUserInput = {
|
|
6699
6690
|
body: TGetUserBody;
|
|
6700
6691
|
};
|
|
6701
|
-
export type TGetVelocityControlResponse = {
|
|
6702
|
-
velocityControl: v1VelocityControl;
|
|
6703
|
-
};
|
|
6704
|
-
export type TGetVelocityControlBody = {
|
|
6705
|
-
organizationId?: string;
|
|
6706
|
-
velocityControlId: string;
|
|
6707
|
-
};
|
|
6708
|
-
export type TGetVelocityControlInput = {
|
|
6709
|
-
body: TGetVelocityControlBody;
|
|
6710
|
-
};
|
|
6711
6692
|
export type TGetWalletResponse = {
|
|
6712
6693
|
/** A collection of deterministically generated cryptographic public / private key pairs that share a common seed. */
|
|
6713
6694
|
wallet: v1Wallet;
|
|
@@ -6745,7 +6726,7 @@ export type TGetWalletAddressBalancesBody = {
|
|
|
6745
6726
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
6746
6727
|
address: string;
|
|
6747
6728
|
/** 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. */
|
|
6748
|
-
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6729
|
+
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";
|
|
6749
6730
|
};
|
|
6750
6731
|
export type TGetWalletAddressBalancesInput = {
|
|
6751
6732
|
body: TGetWalletAddressBalancesBody;
|
|
@@ -6849,7 +6830,7 @@ export type TListEthTransactionHistoryBody = {
|
|
|
6849
6830
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
6850
6831
|
address: string;
|
|
6851
6832
|
/** EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
6852
|
-
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";
|
|
6833
|
+
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";
|
|
6853
6834
|
/** Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
6854
6835
|
paginationOptions?: v1Pagination;
|
|
6855
6836
|
};
|
|
@@ -6966,7 +6947,7 @@ export type TListSupportedAssetsResponse = {
|
|
|
6966
6947
|
export type TListSupportedAssetsBody = {
|
|
6967
6948
|
organizationId?: string;
|
|
6968
6949
|
/** 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. */
|
|
6969
|
-
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6950
|
+
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";
|
|
6970
6951
|
};
|
|
6971
6952
|
export type TListSupportedAssetsInput = {
|
|
6972
6953
|
body: TListSupportedAssetsBody;
|
|
@@ -7013,17 +6994,6 @@ export type TGetUsersBody = {
|
|
|
7013
6994
|
export type TGetUsersInput = {
|
|
7014
6995
|
body: TGetUsersBody;
|
|
7015
6996
|
};
|
|
7016
|
-
export type TListVelocityControlsResponse = {
|
|
7017
|
-
velocityControls: v1VelocityControl[];
|
|
7018
|
-
pageInfo: v1PageInfo;
|
|
7019
|
-
};
|
|
7020
|
-
export type TListVelocityControlsBody = {
|
|
7021
|
-
organizationId?: string;
|
|
7022
|
-
paginationOptions?: v1Pagination;
|
|
7023
|
-
};
|
|
7024
|
-
export type TListVelocityControlsInput = {
|
|
7025
|
-
body: TListVelocityControlsBody;
|
|
7026
|
-
};
|
|
7027
6997
|
export type TGetVerifiedSubOrgIdsResponse = {
|
|
7028
6998
|
/** List of unique identifiers for the matching sub-organizations. */
|
|
7029
6999
|
organizationIds: string[];
|
|
@@ -7641,26 +7611,6 @@ export type TCreateUsersBody = {
|
|
|
7641
7611
|
export type TCreateUsersInput = {
|
|
7642
7612
|
body: TCreateUsersBody;
|
|
7643
7613
|
};
|
|
7644
|
-
export type TCreateVelocityControlResponse = {
|
|
7645
|
-
activity: v1Activity;
|
|
7646
|
-
velocityControlId: string;
|
|
7647
|
-
};
|
|
7648
|
-
export type TCreateVelocityControlBody = {
|
|
7649
|
-
timestampMs?: string;
|
|
7650
|
-
organizationId?: string;
|
|
7651
|
-
/** Human-readable name for the Velocity Control. */
|
|
7652
|
-
name: string;
|
|
7653
|
-
/** Data source for the Velocity Control. */
|
|
7654
|
-
dataSource: v1VelocityControlDataSource;
|
|
7655
|
-
/** Aggregation expression that the Velocity Control evaluates. */
|
|
7656
|
-
aggregation: v1VelocityControlAggregation;
|
|
7657
|
-
/** Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
7658
|
-
identifier: string;
|
|
7659
|
-
generateAppProofs?: boolean;
|
|
7660
|
-
};
|
|
7661
|
-
export type TCreateVelocityControlInput = {
|
|
7662
|
-
body: TCreateVelocityControlBody;
|
|
7663
|
-
};
|
|
7664
7614
|
export type TCreateWalletResponse = {
|
|
7665
7615
|
activity: v1Activity;
|
|
7666
7616
|
/** Unique identifier for a Wallet. */
|
|
@@ -7898,6 +7848,20 @@ export type TDeletePrivateKeysBody = {
|
|
|
7898
7848
|
export type TDeletePrivateKeysInput = {
|
|
7899
7849
|
body: TDeletePrivateKeysBody;
|
|
7900
7850
|
};
|
|
7851
|
+
export type TDeleteSecretsResponse = {
|
|
7852
|
+
activity: v1Activity;
|
|
7853
|
+
/** Unique identifiers of the deleted secrets, in the order requested. */
|
|
7854
|
+
secretIds: string[];
|
|
7855
|
+
};
|
|
7856
|
+
export type TDeleteSecretsBody = {
|
|
7857
|
+
timestampMs?: string;
|
|
7858
|
+
organizationId?: string;
|
|
7859
|
+
/** Unique identifiers of the secrets to delete. Must contain between 1 and 32 distinct UUIDs. All secrets must belong to the organization. */
|
|
7860
|
+
secretIds: string[];
|
|
7861
|
+
};
|
|
7862
|
+
export type TDeleteSecretsInput = {
|
|
7863
|
+
body: TDeleteSecretsBody;
|
|
7864
|
+
};
|
|
7901
7865
|
export type TDeleteSmartContractInterfaceResponse = {
|
|
7902
7866
|
activity: v1Activity;
|
|
7903
7867
|
/** The ID of the deleted Smart Contract Interface. */
|
|
@@ -7990,19 +7954,6 @@ export type TDeleteUsersBody = {
|
|
|
7990
7954
|
export type TDeleteUsersInput = {
|
|
7991
7955
|
body: TDeleteUsersBody;
|
|
7992
7956
|
};
|
|
7993
|
-
export type TDeleteVelocityControlResponse = {
|
|
7994
|
-
activity: v1Activity;
|
|
7995
|
-
velocityControlId: string;
|
|
7996
|
-
};
|
|
7997
|
-
export type TDeleteVelocityControlBody = {
|
|
7998
|
-
timestampMs?: string;
|
|
7999
|
-
organizationId?: string;
|
|
8000
|
-
velocityControlId: string;
|
|
8001
|
-
generateAppProofs?: boolean;
|
|
8002
|
-
};
|
|
8003
|
-
export type TDeleteVelocityControlInput = {
|
|
8004
|
-
body: TDeleteVelocityControlBody;
|
|
8005
|
-
};
|
|
8006
7957
|
export type TDeleteWalletAccountsResponse = {
|
|
8007
7958
|
activity: v1Activity;
|
|
8008
7959
|
/** A list of wallet account unique identifiers that were removed */
|
|
@@ -8186,7 +8137,7 @@ export type TEthUndelegate7702Body = {
|
|
|
8186
8137
|
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
8187
8138
|
from: string;
|
|
8188
8139
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
8189
|
-
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";
|
|
8140
|
+
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";
|
|
8190
8141
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
8191
8142
|
nonce?: string;
|
|
8192
8143
|
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
@@ -9313,7 +9264,7 @@ export type TEthSendTransactionBody = {
|
|
|
9313
9264
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
9314
9265
|
sponsor?: boolean;
|
|
9315
9266
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
9316
|
-
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";
|
|
9267
|
+
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";
|
|
9317
9268
|
/** Recipient address as a hex string with 0x prefix. */
|
|
9318
9269
|
to: string;
|
|
9319
9270
|
/** Amount of native asset to send in wei. */
|
|
@@ -9348,7 +9299,7 @@ export type TEthSendTransactionV2Body = {
|
|
|
9348
9299
|
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
9349
9300
|
from: string;
|
|
9350
9301
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
9351
|
-
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";
|
|
9302
|
+
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";
|
|
9352
9303
|
/** 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. */
|
|
9353
9304
|
sponsor?: boolean;
|
|
9354
9305
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
@@ -9475,7 +9426,7 @@ export type ProxyTInitOtpResponse = {
|
|
|
9475
9426
|
otpId: string;
|
|
9476
9427
|
};
|
|
9477
9428
|
export type ProxyTInitOtpBody = {
|
|
9478
|
-
/** Enum to specify whether to send OTP via SMS or
|
|
9429
|
+
/** Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
9479
9430
|
otpType: string;
|
|
9480
9431
|
/** Email or phone number to send the OTP code to */
|
|
9481
9432
|
contact: string;
|
|
@@ -9492,7 +9443,7 @@ export type ProxyTInitOtpV2Response = {
|
|
|
9492
9443
|
otpEncryptionTargetBundle: string;
|
|
9493
9444
|
};
|
|
9494
9445
|
export type ProxyTInitOtpV2Body = {
|
|
9495
|
-
/** Enum to specify whether to send OTP code via SMS or
|
|
9446
|
+
/** Enum to specify whether to send OTP code via SMS, email, or WhatsApp */
|
|
9496
9447
|
otpType: string;
|
|
9497
9448
|
/** Email or phone number to send the OTP code to */
|
|
9498
9449
|
contact: string;
|