@turnkey/sdk-types 1.8.0 → 1.10.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @turnkey/sdk-types
2
2
 
3
+ ## 1.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`bbbd9d7`](https://github.com/tkhq/sdk/commit/bbbd9d79a6b71cf9b78b99bca48cc140470c34a2) Author [@ericvelazquez](https://github.com/ericvelazquez) - Add Earn rewards: listEarnRewards, earnClaimRewards, getEarnClaimRewardsStatus
8
+
9
+ ## 1.9.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#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
14
+
3
15
  ## 1.8.0
4
16
 
5
17
  ### Minor Changes
@@ -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" | "ACTIVITY_TYPE_DELETE_SECRETS";
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" | "ACTIVITY_TYPE_EARN_CLAIM_REWARDS";
514
514
  export type v1ApiKey = {
515
515
  /** A User credential that can be used to authenticate to Turnkey. */
516
516
  credential: externaldatav1Credential;
@@ -567,6 +567,8 @@ export type v1AssetBalance = {
567
567
  display?: v1AssetBalanceDisplay;
568
568
  /** The asset name */
569
569
  name?: string;
570
+ /** Solana token program address that owns this mint, inferred from getTokenAccountsByOwner. TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for classic SPL Token, TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. Empty for native SOL and non-Solana assets. */
571
+ tokenProgram?: string;
570
572
  };
571
573
  export type v1AssetBalanceDisplay = {
572
574
  /** USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
@@ -1395,6 +1397,10 @@ export type v1CreateTvcDeploymentIntent = {
1395
1397
  publicIngressPort: number;
1396
1398
  /** Optional desired replica count for this deployment. */
1397
1399
  replicas?: number;
1400
+ /** Optional desired instance cpu count. */
1401
+ instanceSizeCpus?: number;
1402
+ /** Optional desired instance memory size in GiB. */
1403
+ instanceSizeRam?: number;
1398
1404
  };
1399
1405
  export type v1CreateTvcDeploymentRequest = {
1400
1406
  type: "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT";
@@ -1438,6 +1444,15 @@ export type v1CreateTvcOperatorIntent = {
1438
1444
  /** Human-readable name for this new TVC operator */
1439
1445
  operatorName: string;
1440
1446
  };
1447
+ export type v1CreateTvcOperatorRequest = {
1448
+ type: "ACTIVITY_TYPE_CREATE_TVC_OPERATOR";
1449
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1450
+ timestampMs: string;
1451
+ /** Unique identifier for a given Organization. */
1452
+ organizationId: string;
1453
+ parameters: v1CreateTvcOperatorIntent;
1454
+ generateAppProofs?: boolean;
1455
+ };
1441
1456
  export type v1CreateTvcOperatorResult = {
1442
1457
  /** The unique identifier for the wallet containing TVC operator accounts */
1443
1458
  walletId: string;
@@ -1454,6 +1469,15 @@ export type v1CreateTvcQuorumKeyIntent = {
1454
1469
  /** Operator public keys used to encrypt and later approve the generated TVC quorum key shares */
1455
1470
  operatorEncryptKeys: string[];
1456
1471
  };
1472
+ export type v1CreateTvcQuorumKeyRequest = {
1473
+ type: "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY";
1474
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1475
+ timestampMs: string;
1476
+ /** Unique identifier for a given Organization. */
1477
+ organizationId: string;
1478
+ parameters: v1CreateTvcQuorumKeyIntent;
1479
+ generateAppProofs?: boolean;
1480
+ };
1457
1481
  export type v1CreateTvcQuorumKeyResult = {
1458
1482
  /** The unique identifier for the TVC quorum key */
1459
1483
  quorumKeyId: string;
@@ -2011,6 +2035,27 @@ export type v1DisablePrivateKeyResult = {
2011
2035
  /** Unique identifier for a given Private Key. */
2012
2036
  privateKeyId: string;
2013
2037
  };
2038
+ export type v1EarnClaimRewardsIntent = {
2039
+ /** A Turnkey-managed wallet address the rewards are attributed to. The claim transaction is signed by this wallet and the Merkl Distributor transfers every reward token to it. */
2040
+ signWith: string;
2041
+ /** CAIP-2 chain to claim rewards on (e.g. 'eip155:8453'). Rewards accrue per chain; see ListEarnRewards. */
2042
+ chainCaip2: string;
2043
+ /** Whether to sponsor this transaction via Gas Station. */
2044
+ sponsor?: boolean;
2045
+ };
2046
+ export type v1EarnClaimRewardsRequest = {
2047
+ type: "ACTIVITY_TYPE_EARN_CLAIM_REWARDS";
2048
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2049
+ timestampMs: string;
2050
+ /** Unique identifier for a given Organization. */
2051
+ organizationId: string;
2052
+ parameters: v1EarnClaimRewardsIntent;
2053
+ generateAppProofs?: boolean;
2054
+ };
2055
+ export type v1EarnClaimRewardsResult = {
2056
+ /** Identifier to poll claim status and tx hash via GetEarnClaimRewardsStatus. */
2057
+ claimRequestId: string;
2058
+ };
2014
2059
  export type v1EarnDeployWrapperIntent = {
2015
2060
  /** Address of the underlying yield vault to wrap (from the ListEarnVaults catalog). */
2016
2061
  vaultAddress: string;
@@ -2146,6 +2191,38 @@ export type v1EarnPositionDisplay = {
2146
2191
  totalWithdrawnCrypto?: string;
2147
2192
  };
2148
2193
  export type v1EarnProvider = "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE";
2194
+ export type v1EarnReward = {
2195
+ /** CAIP-2 chain the reward is claimable on (e.g. 'eip155:8453'). */
2196
+ caip2?: string;
2197
+ /** CAIP-19 asset ID of the reward token (e.g. 'eip155:8453/erc20:0xBAa5...'). Reward tokens are campaign-specific and unrelated to the position's underlying asset. */
2198
+ caip19?: string;
2199
+ /** Symbol of the reward token (e.g. 'MORPHO'), as reported by Merkl. */
2200
+ symbol?: string;
2201
+ /** Decimals of the reward token. */
2202
+ decimals?: number;
2203
+ /** Amount claimable now, in raw on-chain units of the reward token. */
2204
+ claimable?: string;
2205
+ /** Lifetime amount already claimed, in raw on-chain units of the reward token. */
2206
+ claimed?: string;
2207
+ /** Amount accrued but not yet claimable (not yet in a live on-chain merkle root; roots update roughly every 8 hours), in raw on-chain units of the reward token. */
2208
+ pending?: string;
2209
+ /** USD + crypto renderings for display only. Do not do arithmetic with these. */
2210
+ display?: v1EarnRewardDisplay;
2211
+ };
2212
+ export type v1EarnRewardDisplay = {
2213
+ /** Claimable amount in USD, for display only. Empty when the token is unpriced. */
2214
+ claimableUsd?: string;
2215
+ /** Claimable amount in the reward token's own units, for display only. */
2216
+ claimableCrypto?: string;
2217
+ /** Lifetime claimed amount in USD, for display only. Empty when the token is unpriced. */
2218
+ claimedUsd?: string;
2219
+ /** Lifetime claimed amount in the reward token's own units, for display only. */
2220
+ claimedCrypto?: string;
2221
+ /** Pending amount in USD, for display only. Empty when the token is unpriced. */
2222
+ pendingUsd?: string;
2223
+ /** Pending amount in the reward token's own units, for display only. */
2224
+ pendingCrypto?: string;
2225
+ };
2149
2226
  export type v1EarnSetWrapperStateIntent = {
2150
2227
  /** Address of the deployed Earn wrapper to update, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
2151
2228
  wrapperAddress: string;
@@ -2846,6 +2923,20 @@ export type v1GetClaimEarnFeesStatusResponse = {
2846
2923
  /** Reason the fee claim transaction failed, when status is FAILED. */
2847
2924
  error?: string;
2848
2925
  };
2926
+ export type v1GetEarnClaimRewardsStatusRequest = {
2927
+ /** Unique identifier for a given Organization. */
2928
+ organizationId: string;
2929
+ /** The claim_request_id returned by EarnClaimRewards. */
2930
+ claimRequestId: string;
2931
+ };
2932
+ export type v1GetEarnClaimRewardsStatusResponse = {
2933
+ /** Status of the rewards claim. */
2934
+ status: "PENDING" | "COMPLETED" | "FAILED";
2935
+ /** Transaction hash of the rewards claim, once available. */
2936
+ claimTxHash?: string;
2937
+ /** Reason the rewards claim transaction failed, when status is FAILED. */
2938
+ error?: string;
2939
+ };
2849
2940
  export type v1GetEarnDeployStatusRequest = {
2850
2941
  /** Unique identifier for a given Organization. */
2851
2942
  organizationId: string;
@@ -3195,6 +3286,20 @@ export type v1GetTvcDeploymentDebugLogsResponse = {
3195
3286
  /** Application log entries sorted by platform timestamp. */
3196
3287
  entries: v1TvcDeploymentDebugLogEntry[];
3197
3288
  };
3289
+ export type v1GetTvcDeploymentProvisioningDetailsRequest = {
3290
+ /** Unique identifier for a given Organization. */
3291
+ organizationId: string;
3292
+ /** Unique identifier for a given TVC Deployment. */
3293
+ deploymentId: string;
3294
+ };
3295
+ export type v1GetTvcDeploymentProvisioningDetailsResponse = {
3296
+ /** The attestation document of the provisioning enclave. Present only when a deployment is awaiting provisioning. */
3297
+ attestationDocument?: string;
3298
+ /** The manifest envelope containing the TVC deployment's manifest and signatures. Present only when a deployment is awaiting provisioning. */
3299
+ manifestEnvelope?: string;
3300
+ /** Current provisioning state. */
3301
+ provisioningState?: v1ProvisioningState;
3302
+ };
3198
3303
  export type v1GetTvcDeploymentRequest = {
3199
3304
  /** Unique identifier for a given organization. */
3200
3305
  organizationId: string;
@@ -3205,6 +3310,13 @@ export type v1GetTvcDeploymentResponse = {
3205
3310
  /** Details about a single TVC Deployment */
3206
3311
  tvcDeployment: v1TvcDeployment;
3207
3312
  };
3313
+ export type v1GetTvcOperatorsRequest = {
3314
+ /** Unique identifier for a given organization. */
3315
+ organizationId: string;
3316
+ };
3317
+ export type v1GetTvcOperatorsResponse = {
3318
+ tvcOperators: v1TvcOperator[];
3319
+ };
3208
3320
  export type v1GetTvcQosVersionsRequest = {
3209
3321
  /** Unique identifier for a given Organization. */
3210
3322
  organizationId: string;
@@ -3215,6 +3327,13 @@ export type v1GetTvcQosVersionsResponse = {
3215
3327
  /** Latest recommended QOS version for new TVC deployments. */
3216
3328
  latestVersion: string;
3217
3329
  };
3330
+ export type v1GetTvcQuorumKeysRequest = {
3331
+ /** Unique identifier for a given organization. */
3332
+ organizationId: string;
3333
+ };
3334
+ export type v1GetTvcQuorumKeysResponse = {
3335
+ tvcQuorumKeys: v1TvcQuorumKey[];
3336
+ };
3218
3337
  export type v1GetUserRequest = {
3219
3338
  /** Unique identifier for a given organization. */
3220
3339
  organizationId: string;
@@ -3876,6 +3995,7 @@ export type v1Intent = {
3876
3995
  createSwapQuoteIntentV2?: v1CreateSwapQuoteIntentV2;
3877
3996
  executeSwapIntentV3?: v1ExecuteSwapIntentV3;
3878
3997
  deleteSecretsIntent?: v1DeleteSecretsIntent;
3998
+ earnClaimRewardsIntent?: v1EarnClaimRewardsIntent;
3879
3999
  };
3880
4000
  export type v1InvitationParams = {
3881
4001
  /** The name of the intended Invitation recipient. */
@@ -3943,6 +4063,18 @@ export type v1ListEarnPositionsResponse = {
3943
4063
  /** The wallet's active Earn positions. */
3944
4064
  positions?: v1EarnPosition[];
3945
4065
  };
4066
+ export type v1ListEarnRewardsRequest = {
4067
+ /** Unique identifier for a given Organization. */
4068
+ organizationId: string;
4069
+ /** The wallet address to return rewards for. */
4070
+ walletAddress: string;
4071
+ /** Optional filter: only return rewards on this chain (e.g. 'eip155:8453'). When unset, every chain the organization has deployed Earn wrappers on is queried. */
4072
+ caip2?: string;
4073
+ };
4074
+ export type v1ListEarnRewardsResponse = {
4075
+ /** The wallet's rewards, one entry per (chain, reward token), sorted by chain then token. Entries where every amount is zero are omitted. */
4076
+ rewards?: v1EarnReward[];
4077
+ };
3946
4078
  export type v1ListEarnVaultsRequest = {
3947
4079
  /** Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
3948
4080
  organizationId: string;
@@ -4326,6 +4458,14 @@ export type v1PostTvcQuorumKeyShareIntent = {
4326
4458
  /** Re-encrypted quorum key share and approval */
4327
4459
  shareApprovalBundle: v1QuorumKeyShareApprovalBundle;
4328
4460
  };
4461
+ export type v1PostTvcQuorumKeyShareRequest = {
4462
+ type: "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE";
4463
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
4464
+ timestampMs: string;
4465
+ /** Unique identifier for a given Organization. */
4466
+ organizationId: string;
4467
+ parameters: v1PostTvcQuorumKeyShareIntent;
4468
+ };
4329
4469
  export type v1PostTvcQuorumKeyShareResult = {
4330
4470
  /** The unique identifier for the provisioning quorum key share */
4331
4471
  provisioningShareId: string;
@@ -4395,6 +4535,15 @@ export type v1ReEncryptTvcQuorumKeyShareIntent = {
4395
4535
  /** Quorum key for the TVC application */
4396
4536
  appQuorumKey: string;
4397
4537
  };
4538
+ export type v1ReEncryptTvcQuorumKeyShareRequest = {
4539
+ type: "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE";
4540
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
4541
+ timestampMs: string;
4542
+ /** Unique identifier for a given Organization. */
4543
+ organizationId: string;
4544
+ parameters: v1ReEncryptTvcQuorumKeyShareIntent;
4545
+ generateAppProofs?: boolean;
4546
+ };
4398
4547
  export type v1ReEncryptTvcQuorumKeyShareResult = {
4399
4548
  /** The unique identifier for the provisioning quorum key share */
4400
4549
  provisioningShareId: string;
@@ -4631,6 +4780,7 @@ export type v1Result = {
4631
4780
  deleteVelocityControlResult?: v1DeleteVelocityControlResult;
4632
4781
  updatePaymentMethodResult?: billingUpdatePaymentMethodResult;
4633
4782
  deleteSecretsResult?: v1DeleteSecretsResult;
4783
+ earnClaimRewardsResult?: v1EarnClaimRewardsResult;
4634
4784
  };
4635
4785
  export type v1RevertChainEntry = {
4636
4786
  /** The contract address where the revert occurred. */
@@ -4891,7 +5041,7 @@ export type v1SmsCustomizationParams = {
4891
5041
  template?: string;
4892
5042
  };
4893
5043
  export type v1SolSendTransactionIntent = {
4894
- /** Base64-encoded serialized unsigned Solana transaction */
5044
+ /** Hex-encoded serialized unsigned Solana transaction in full wire format. Legacy/V0 transactions allow 1232 bytes. V1 allows 4096 bytes with up to 12 trailing 64-byte signature slots, including the paymaster for sponsored transactions. Fill unsigned slots with zeroes. */
4895
5045
  unsignedTransaction: string;
4896
5046
  /** A wallet or private key address to sign with. This does not support private key IDs. */
4897
5047
  signWith: string;
@@ -4903,9 +5053,9 @@ export type v1SolSendTransactionIntent = {
4903
5053
  recentBlockhash?: string;
4904
5054
  };
4905
5055
  export type v1SolSendTransactionIntentV2 = {
4906
- /** Hex-encoded serialized unsigned Solana transaction (full wire format with zeroed signature placeholders) */
5056
+ /** Hex-encoded serialized unsigned Solana transaction in full wire format. Legacy/V0 transactions allow 1232 bytes. V1 allows 4096 bytes with up to 12 trailing 64-byte signature slots, including the paymaster for sponsored transactions. Fill unsigned slots with zeroes. */
4907
5057
  unsignedTransaction: string;
4908
- /** Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers. For sponsored transactions this must list every required signer of the transaction in transaction order. */
5058
+ /** Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers for legacy/V0, or up to 12 for V1 (11 when sponsored). For sponsored transactions this must list every required signer of the transaction in transaction order. */
4909
5059
  signWiths: string[];
4910
5060
  /** Whether to sponsor this transaction via Gas Station. */
4911
5061
  sponsor?: boolean;
@@ -5370,6 +5520,10 @@ export type v1TvcDeployment = {
5370
5520
  delete: boolean;
5371
5521
  /** Whether this deployment is running in debug mode. Debug-mode deployments expose enclave logs and cannot be remotely attested. */
5372
5522
  debugMode: boolean;
5523
+ /** The instance cpu count for this enclave. */
5524
+ instanceSizeCpus?: number;
5525
+ /** The instance memory size in GiB for this enclave. */
5526
+ instanceSizeRam?: number;
5373
5527
  };
5374
5528
  export type v1TvcDeploymentDebugLogEntry = {
5375
5529
  /** Application log line with its platform timestamp. */
@@ -5401,6 +5555,12 @@ export type v1TvcOperator = {
5401
5555
  publicKey: string;
5402
5556
  createdAt: externaldatav1Timestamp;
5403
5557
  updatedAt: externaldatav1Timestamp;
5558
+ /** Encryption public key for this TVC Operator. */
5559
+ encryptPublicKey: string;
5560
+ /** Signing public key for this TVC Operator. */
5561
+ signPublicKey: string;
5562
+ /** Source of the operator keys: EXTERNAL_KEY or ORG_WALLET_ACCOUNT. Absent for legacy operators whose source was not recorded. */
5563
+ keySource?: string;
5404
5564
  };
5405
5565
  export type v1TvcOperatorApproval = {
5406
5566
  /** Unique ID for this approval */
@@ -5444,6 +5604,14 @@ export type v1TvcOperatorSetParams = {
5444
5604
  /** The threshold of operators needed to reach consensus in this new Operator Set */
5445
5605
  threshold: number;
5446
5606
  };
5607
+ export type v1TvcQuorumKey = {
5608
+ id: string;
5609
+ publicKey: string;
5610
+ threshold: number;
5611
+ operatorIds: string[];
5612
+ createdAt: externaldatav1Timestamp;
5613
+ updatedAt: externaldatav1Timestamp;
5614
+ };
5447
5615
  export type v1TxError = {
5448
5616
  /** Human-readable error message describing what went wrong. */
5449
5617
  message?: string;
@@ -6309,6 +6477,22 @@ export type TGetClaimEarnFeesStatusBody = {
6309
6477
  export type TGetClaimEarnFeesStatusInput = {
6310
6478
  body: TGetClaimEarnFeesStatusBody;
6311
6479
  };
6480
+ export type TGetEarnClaimRewardsStatusResponse = {
6481
+ /** Status of the rewards claim. */
6482
+ status: "PENDING" | "COMPLETED" | "FAILED";
6483
+ /** Transaction hash of the rewards claim, once available. */
6484
+ claimTxHash?: string;
6485
+ /** Reason the rewards claim transaction failed, when status is FAILED. */
6486
+ error?: string;
6487
+ };
6488
+ export type TGetEarnClaimRewardsStatusBody = {
6489
+ organizationId?: string;
6490
+ /** The claim_request_id returned by EarnClaimRewards. */
6491
+ claimRequestId: string;
6492
+ };
6493
+ export type TGetEarnClaimRewardsStatusInput = {
6494
+ body: TGetEarnClaimRewardsStatusBody;
6495
+ };
6312
6496
  export type TGetEarnDeployStatusResponse = {
6313
6497
  /** Status of the wrapper deployment. */
6314
6498
  status: "PENDING" | "COMPLETED" | "FAILED";
@@ -6665,6 +6849,22 @@ export type TGetTvcDeploymentDebugLogsBody = {
6665
6849
  export type TGetTvcDeploymentDebugLogsInput = {
6666
6850
  body: TGetTvcDeploymentDebugLogsBody;
6667
6851
  };
6852
+ export type TGetTvcDeploymentProvisioningDetailsResponse = {
6853
+ /** The attestation document of the provisioning enclave. Present only when a deployment is awaiting provisioning. */
6854
+ attestationDocument?: string;
6855
+ /** The manifest envelope containing the TVC deployment's manifest and signatures. Present only when a deployment is awaiting provisioning. */
6856
+ manifestEnvelope?: string;
6857
+ /** Current provisioning state. */
6858
+ provisioningState?: v1ProvisioningState;
6859
+ };
6860
+ export type TGetTvcDeploymentProvisioningDetailsBody = {
6861
+ organizationId?: string;
6862
+ /** Unique identifier for a given TVC Deployment. */
6863
+ deploymentId: string;
6864
+ };
6865
+ export type TGetTvcDeploymentProvisioningDetailsInput = {
6866
+ body: TGetTvcDeploymentProvisioningDetailsBody;
6867
+ };
6668
6868
  export type TGetTvcQosVersionsResponse = {
6669
6869
  /** QOS versions supported for new TVC deployments. */
6670
6870
  availableVersions: string[];
@@ -6786,6 +6986,20 @@ export type TListEarnPositionsBody = {
6786
6986
  export type TListEarnPositionsInput = {
6787
6987
  body: TListEarnPositionsBody;
6788
6988
  };
6989
+ export type TListEarnRewardsResponse = {
6990
+ /** The wallet's rewards, one entry per (chain, reward token), sorted by chain then token. Entries where every amount is zero are omitted. */
6991
+ rewards?: v1EarnReward[];
6992
+ };
6993
+ export type TListEarnRewardsBody = {
6994
+ organizationId?: string;
6995
+ /** The wallet address to return rewards for. */
6996
+ walletAddress: string;
6997
+ /** Optional filter: only return rewards on this chain (e.g. 'eip155:8453'). When unset, every chain the organization has deployed Earn wrappers on is queried. */
6998
+ caip2?: string;
6999
+ };
7000
+ export type TListEarnRewardsInput = {
7001
+ body: TListEarnRewardsBody;
7002
+ };
6789
7003
  export type TListEarnVaultsResponse = {
6790
7004
  /** The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass page_info.end_cursor as the pagination after cursor. */
6791
7005
  vaults?: v1EarnVault[];
@@ -6974,6 +7188,24 @@ export type TGetTvcAppsBody = {
6974
7188
  export type TGetTvcAppsInput = {
6975
7189
  body: TGetTvcAppsBody;
6976
7190
  };
7191
+ export type TGetTvcOperatorsResponse = {
7192
+ tvcOperators: v1TvcOperator[];
7193
+ };
7194
+ export type TGetTvcOperatorsBody = {
7195
+ organizationId?: string;
7196
+ };
7197
+ export type TGetTvcOperatorsInput = {
7198
+ body: TGetTvcOperatorsBody;
7199
+ };
7200
+ export type TGetTvcQuorumKeysResponse = {
7201
+ tvcQuorumKeys: v1TvcQuorumKey[];
7202
+ };
7203
+ export type TGetTvcQuorumKeysBody = {
7204
+ organizationId?: string;
7205
+ };
7206
+ export type TGetTvcQuorumKeysInput = {
7207
+ body: TGetTvcQuorumKeysBody;
7208
+ };
6977
7209
  export type TListUserTagsResponse = {
6978
7210
  /** A list of user tags. */
6979
7211
  userTags: datav1Tag[];
@@ -7557,6 +7789,10 @@ export type TCreateTvcDeploymentBody = {
7557
7789
  publicIngressPort: number;
7558
7790
  /** Optional desired replica count for this deployment. */
7559
7791
  replicas?: number;
7792
+ /** Optional desired instance cpu count. */
7793
+ instanceSizeCpus?: number;
7794
+ /** Optional desired instance memory size in GiB. */
7795
+ instanceSizeRam?: number;
7560
7796
  };
7561
7797
  export type TCreateTvcDeploymentInput = {
7562
7798
  body: TCreateTvcDeploymentBody;
@@ -7577,6 +7813,54 @@ export type TCreateTvcManifestApprovalsBody = {
7577
7813
  export type TCreateTvcManifestApprovalsInput = {
7578
7814
  body: TCreateTvcManifestApprovalsBody;
7579
7815
  };
7816
+ export type TCreateTvcOperatorResponse = {
7817
+ activity: v1Activity;
7818
+ /** The unique identifier for the wallet containing TVC operator accounts */
7819
+ walletId: string;
7820
+ /** The unique identifier for the TVC operator */
7821
+ operatorId: string;
7822
+ /** Public encryption key for this TVC operator */
7823
+ encryptPublicKey: string;
7824
+ /** Public signing key for this TVC operator */
7825
+ signPublicKey: string;
7826
+ };
7827
+ export type TCreateTvcOperatorBody = {
7828
+ timestampMs?: string;
7829
+ organizationId?: string;
7830
+ /** Human-readable name for a new wallet created for this TVC operator */
7831
+ walletName?: string;
7832
+ /** Unique identifier for an existing wallet to reuse for this TVC operator */
7833
+ walletId?: string;
7834
+ /** Base derivation path for creating TVC operator wallet accounts */
7835
+ path: string;
7836
+ /** Human-readable name for this new TVC operator */
7837
+ operatorName: string;
7838
+ generateAppProofs?: boolean;
7839
+ };
7840
+ export type TCreateTvcOperatorInput = {
7841
+ body: TCreateTvcOperatorBody;
7842
+ };
7843
+ export type TCreateTvcQuorumKeyResponse = {
7844
+ activity: v1Activity;
7845
+ /** The unique identifier for the TVC quorum key */
7846
+ quorumKeyId: string;
7847
+ /** Public key for the generated TVC quorum key */
7848
+ quorumPublicKey: string;
7849
+ /** The unique identifier(s) for the generated TVC quorum key shares */
7850
+ shareIds: string[];
7851
+ };
7852
+ export type TCreateTvcQuorumKeyBody = {
7853
+ timestampMs?: string;
7854
+ organizationId?: string;
7855
+ /** The threshold of operators needed to reassemble this TVC quorum key */
7856
+ threshold: number;
7857
+ /** Operator public keys used to encrypt and later approve the generated TVC quorum key shares */
7858
+ operatorEncryptKeys: string[];
7859
+ generateAppProofs?: boolean;
7860
+ };
7861
+ export type TCreateTvcQuorumKeyInput = {
7862
+ body: TCreateTvcQuorumKeyBody;
7863
+ };
7580
7864
  export type TCreateUserTagResponse = {
7581
7865
  activity: v1Activity;
7582
7866
  /** Unique identifier for a given User Tag. */
@@ -8003,6 +8287,25 @@ export type TDeleteWebhookEndpointBody = {
8003
8287
  export type TDeleteWebhookEndpointInput = {
8004
8288
  body: TDeleteWebhookEndpointBody;
8005
8289
  };
8290
+ export type TEarnClaimRewardsResponse = {
8291
+ activity: v1Activity;
8292
+ /** Identifier to poll claim status and tx hash via GetEarnClaimRewardsStatus. */
8293
+ claimRequestId: string;
8294
+ };
8295
+ export type TEarnClaimRewardsBody = {
8296
+ timestampMs?: string;
8297
+ organizationId?: string;
8298
+ /** A Turnkey-managed wallet address the rewards are attributed to. The claim transaction is signed by this wallet and the Merkl Distributor transfers every reward token to it. */
8299
+ signWith: string;
8300
+ /** CAIP-2 chain to claim rewards on (e.g. 'eip155:8453'). Rewards accrue per chain; see ListEarnRewards. */
8301
+ chainCaip2: string;
8302
+ /** Whether to sponsor this transaction via Gas Station. */
8303
+ sponsor?: boolean;
8304
+ generateAppProofs?: boolean;
8305
+ };
8306
+ export type TEarnClaimRewardsInput = {
8307
+ body: TEarnClaimRewardsBody;
8308
+ };
8006
8309
  export type TEarnDeployWrapperResponse = {
8007
8310
  activity: v1Activity;
8008
8311
  /** Address of the deployed fee wrapper (the deposit target). */
@@ -8642,6 +8945,49 @@ export type TOtpLoginBody = {
8642
8945
  export type TOtpLoginInput = {
8643
8946
  body: TOtpLoginBody;
8644
8947
  };
8948
+ export type TPostTvcQuorumKeyShareResponse = {
8949
+ activity: v1Activity;
8950
+ /** The unique identifier for the provisioning quorum key share */
8951
+ provisioningShareId: string;
8952
+ };
8953
+ export type TPostTvcQuorumKeyShareBody = {
8954
+ timestampMs?: string;
8955
+ organizationId?: string;
8956
+ /** Unique identifier of the TVC deployment receiving quorum key share */
8957
+ deploymentId: string;
8958
+ /** Hex-encoded ephemeral public key used to encrypt the quorum key share */
8959
+ ephemeralPublicKeyHex: string;
8960
+ /** Re-encrypted quorum key share and approval */
8961
+ shareApprovalBundle: v1QuorumKeyShareApprovalBundle;
8962
+ };
8963
+ export type TPostTvcQuorumKeyShareInput = {
8964
+ body: TPostTvcQuorumKeyShareBody;
8965
+ };
8966
+ export type TReEncryptTvcQuorumKeyShareResponse = {
8967
+ activity: v1Activity;
8968
+ /** The unique identifier for the provisioning quorum key share */
8969
+ provisioningShareId: string;
8970
+ };
8971
+ export type TReEncryptTvcQuorumKeyShareBody = {
8972
+ timestampMs?: string;
8973
+ organizationId?: string;
8974
+ /** Base64-encoded attestation document for the TVC deployment provisioning enclave */
8975
+ attestationDocB64: string;
8976
+ /** Base64-encoded manifest for the TVC deployment */
8977
+ manifestB64: string;
8978
+ /** Operator encryption public key used to encrypt the hosted TVC quorum key share */
8979
+ operatorEncryptKey: string;
8980
+ /** Operator signing public key used to approve the TVC manifest */
8981
+ operatorSignKey: string;
8982
+ /** Unique identifier of the TVC deployment receiving the re-encrypted quorum key share */
8983
+ deploymentId: string;
8984
+ /** Quorum key for the TVC application */
8985
+ appQuorumKey: string;
8986
+ generateAppProofs?: boolean;
8987
+ };
8988
+ export type TReEncryptTvcQuorumKeyShareInput = {
8989
+ body: TReEncryptTvcQuorumKeyShareBody;
8990
+ };
8645
8991
  export type TRecoverUserResponse = {
8646
8992
  activity: v1Activity;
8647
8993
  /** ID of the authenticator created. */
@@ -9329,7 +9675,7 @@ export type TSolSendTransactionResponse = {
9329
9675
  export type TSolSendTransactionBody = {
9330
9676
  timestampMs?: string;
9331
9677
  organizationId?: string;
9332
- /** Base64-encoded serialized unsigned Solana transaction */
9678
+ /** Hex-encoded serialized unsigned Solana transaction in full wire format. Legacy/V0 transactions allow 1232 bytes. V1 allows 4096 bytes with up to 12 trailing 64-byte signature slots, including the paymaster for sponsored transactions. Fill unsigned slots with zeroes. */
9333
9679
  unsignedTransaction: string;
9334
9680
  /** A wallet or private key address to sign with. This does not support private key IDs. */
9335
9681
  signWith: string;
@@ -9352,9 +9698,9 @@ export type TSolSendTransactionV2Response = {
9352
9698
  export type TSolSendTransactionV2Body = {
9353
9699
  timestampMs?: string;
9354
9700
  organizationId?: string;
9355
- /** Hex-encoded serialized unsigned Solana transaction (full wire format with zeroed signature placeholders) */
9701
+ /** Hex-encoded serialized unsigned Solana transaction in full wire format. Legacy/V0 transactions allow 1232 bytes. V1 allows 4096 bytes with up to 12 trailing 64-byte signature slots, including the paymaster for sponsored transactions. Fill unsigned slots with zeroes. */
9356
9702
  unsignedTransaction: string;
9357
- /** Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers. For sponsored transactions this must list every required signer of the transaction in transaction order. */
9703
+ /** Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers for legacy/V0, or up to 12 for V1 (11 when sponsored). For sponsored transactions this must list every required signer of the transaction in transaction order. */
9358
9704
  signWiths: string[];
9359
9705
  /** Whether to sponsor this transaction via Gas Station. */
9360
9706
  sponsor?: boolean;