@turnkey/sdk-types 0.11.2 → 0.12.1

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.
@@ -183,7 +183,7 @@ export type v1ActivityResponse = {
183
183
  activity: v1Activity;
184
184
  };
185
185
  export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
186
- 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";
186
+ 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_UPDATE_ORGANIZATION_NAME";
187
187
  export type v1AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP";
188
188
  export type v1ApiKey = {
189
189
  /** A User credential that can be used to authenticate to Turnkey. */
@@ -241,6 +241,38 @@ export type v1ApproveActivityRequest = {
241
241
  parameters: v1ApproveActivityIntent;
242
242
  generateAppProofs?: boolean;
243
243
  };
244
+ export type v1AssetBalance = {
245
+ /** The caip-19 asset identifier */
246
+ caip19?: string;
247
+ /** The asset symbol */
248
+ symbol?: string;
249
+ /** The balance in atomic units */
250
+ balance?: string;
251
+ /** The number of decimals this asset uses */
252
+ decimals?: number;
253
+ /** Normalized balance values for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. Use the balance field instead. */
254
+ display?: v1AssetBalanceDisplay;
255
+ /** The asset name */
256
+ name?: string;
257
+ };
258
+ export type v1AssetBalanceDisplay = {
259
+ /** USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
260
+ usd?: string;
261
+ /** Normalized crypto value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
262
+ crypto?: string;
263
+ };
264
+ export type v1AssetMetadata = {
265
+ /** The caip-19 asset identifier */
266
+ caip19?: string;
267
+ /** The asset symbol */
268
+ symbol?: string;
269
+ /** The number of decimals this asset uses */
270
+ decimals?: number;
271
+ /** The url of the asset logo */
272
+ logoUrl?: string;
273
+ /** The asset name */
274
+ name?: string;
275
+ };
244
276
  export type v1Attestation = {
245
277
  /** The cbor encoded then base64 url encoded id of the credential. */
246
278
  credentialId: string;
@@ -844,6 +876,70 @@ export type v1CreateSubOrganizationResultV7 = {
844
876
  wallet?: v1WalletResult;
845
877
  rootUserIds?: string[];
846
878
  };
879
+ export type v1CreateTvcAppIntent = {
880
+ /** The name of the new TVC application */
881
+ name: string;
882
+ /** Quorum public key to use for this application */
883
+ quorumPublicKey: string;
884
+ /** Unique identifier for an existing TVC operator set to use as the Manifest Set for this TVC application. If left empty, a new Manifest Set configuration is required */
885
+ manifestSetId?: string;
886
+ /** Configuration to create a new TVC operator set, used as the Manifest Set for this TVC application. If left empty, a Manifest Set ID is required */
887
+ manifestSetParams?: v1TvcOperatorSetParams;
888
+ /** Unique identifier for an existing TVC operator set to use as the Share Set for this TVC application. If left empty, a new Share Set configuration is required */
889
+ shareSetId?: string;
890
+ /** Configuration to create a new TVC operator set, used as the Share Set for this TVC application. If left empty, a Share Set ID is required */
891
+ shareSetParams?: v1TvcOperatorSetParams;
892
+ /** Enables external connectivity for this TVC app. Default if not provided: false. */
893
+ externalConnectivity?: boolean;
894
+ };
895
+ export type v1CreateTvcAppResult = {
896
+ /** The unique identifier for the TVC application */
897
+ appId: string;
898
+ /** The unique identifier for the TVC manifest set */
899
+ manifestSetId: string;
900
+ /** The unique identifier(s) of the manifest set operators */
901
+ manifestSetOperatorIds: string[];
902
+ /** The required number of approvals for the manifest set */
903
+ manifestSetThreshold: number;
904
+ };
905
+ export type v1CreateTvcDeploymentIntent = {
906
+ /** The unique identifier of the to-be-deployed TVC application */
907
+ appId: string;
908
+ /** The QuorumOS version to use to deploy this application */
909
+ qosVersion: string;
910
+ /** URL of the container containing the pivot binary */
911
+ pivotContainerImageUrl: string;
912
+ /** Location of the binary in the pivot container */
913
+ pivotPath: string;
914
+ /** Arguments to pass to the pivot binary at startup. Encoded as a list of strings, for example ["--foo", "bar"] */
915
+ pivotArgs: string[];
916
+ /** Digest of the pivot binary in the pivot container. This value will be inserted in the QOS manifest to ensure application integrity. */
917
+ expectedPivotDigest: string;
918
+ /** Optional nonce to ensure uniqueness of the deployment manifest. If not provided, it defaults to the current Unix timestamp in seconds. */
919
+ nonce?: number;
920
+ /** Optional encrypted pull secret to authorize Turnkey to pull the pivot container image. If your image is public, leave this empty. */
921
+ pivotContainerEncryptedPullSecret?: string;
922
+ /** Address(es) on which the pivot binary listens. A bind address can be a port alone (e.g. "3000") or an ip:port (e.g. "127.0.0.1:3000"). If provided as a port alone, the IP is assumed to be 0.0.0.0 */
923
+ pivotBindAddresses?: string[];
924
+ /** Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
925
+ debugMode?: boolean;
926
+ };
927
+ export type v1CreateTvcDeploymentResult = {
928
+ /** The unique identifier for the TVC deployment */
929
+ deploymentId: string;
930
+ /** The unique identifier for the TVC manifest */
931
+ manifestId: string;
932
+ };
933
+ export type v1CreateTvcManifestApprovalsIntent = {
934
+ /** Unique identifier of the TVC deployment to approve */
935
+ manifestId: string;
936
+ /** List of manifest approvals */
937
+ approvals: v1TvcManifestApproval[];
938
+ };
939
+ export type v1CreateTvcManifestApprovalsResult = {
940
+ /** The unique identifier(s) for the manifest approvals */
941
+ approvalIds: string[];
942
+ };
847
943
  export type v1CreateUserTagIntent = {
848
944
  /** Human-readable name for a User Tag. */
849
945
  userTagName: string;
@@ -938,7 +1034,13 @@ export type v1CredPropsAuthenticationExtensionsClientOutputs = {
938
1034
  rk: boolean;
939
1035
  };
940
1036
  export type v1CredentialType = "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256" | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" | "CREDENTIAL_TYPE_API_KEY_SECP256K1" | "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256" | "CREDENTIAL_TYPE_API_KEY_ED25519" | "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256" | "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256" | "CREDENTIAL_TYPE_OAUTH_KEY_P256" | "CREDENTIAL_TYPE_LOGIN";
941
- export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519";
1037
+ export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519" | "CURVE_P256";
1038
+ export type v1CustomRevertError = {
1039
+ /** The name of the custom error. */
1040
+ errorName?: string;
1041
+ /** The decoded parameters as a JSON object. */
1042
+ paramsJson?: string;
1043
+ };
942
1044
  export type v1DeleteApiKeysIntent = {
943
1045
  /** Unique identifier for a given User. */
944
1046
  userId: string;
@@ -1366,15 +1468,6 @@ export type v1EthSendRawTransactionIntent = {
1366
1468
  /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
1367
1469
  caip2: string;
1368
1470
  };
1369
- export type v1EthSendRawTransactionRequest = {
1370
- type: string;
1371
- /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1372
- timestampMs: string;
1373
- /** Unique identifier for a given Organization. */
1374
- organizationId: string;
1375
- parameters: v1EthSendRawTransactionIntent;
1376
- generateAppProofs?: boolean;
1377
- };
1378
1471
  export type v1EthSendRawTransactionResult = {
1379
1472
  /** The transaction hash of the sent transaction */
1380
1473
  transactionHash: string;
@@ -1413,7 +1506,7 @@ export type v1EthSendTransactionRequest = {
1413
1506
  generateAppProofs?: boolean;
1414
1507
  };
1415
1508
  export type v1EthSendTransactionResult = {
1416
- /** The send_transaction_status ID associated with the transaction submission for sponsored transactions */
1509
+ /** The send_transaction_status ID associated with the transaction submission */
1417
1510
  sendTransactionStatusId: string;
1418
1511
  };
1419
1512
  export type v1EthSendTransactionStatus = {
@@ -1564,16 +1657,6 @@ export type v1GetAppProofsRequest = {
1564
1657
  export type v1GetAppProofsResponse = {
1565
1658
  appProofs: v1AppProof[];
1566
1659
  };
1567
- export type v1GetAttestationDocumentRequest = {
1568
- /** Unique identifier for a given organization. */
1569
- organizationId: string;
1570
- /** The enclave type, one of: ump, notarizer, signer, evm-parser. */
1571
- enclaveType: string;
1572
- };
1573
- export type v1GetAttestationDocumentResponse = {
1574
- /** Raw (CBOR-encoded) attestation document. */
1575
- attestationDocument: string;
1576
- };
1577
1660
  export type v1GetAuthenticatorRequest = {
1578
1661
  /** Unique identifier for a given organization. */
1579
1662
  organizationId: string;
@@ -1623,7 +1706,7 @@ export type v1GetNoncesRequest = {
1623
1706
  organizationId: string;
1624
1707
  /** The Ethereum address to query nonces for. */
1625
1708
  address: string;
1626
- /** The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
1709
+ /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
1627
1710
  caip2: string;
1628
1711
  /** Whether to fetch the standard on-chain nonce. */
1629
1712
  nonce?: boolean;
@@ -1675,14 +1758,6 @@ export type v1GetOrganizationConfigsResponse = {
1675
1758
  /** Organization configs including quorum settings and organization features. */
1676
1759
  configs: v1Config;
1677
1760
  };
1678
- export type v1GetOrganizationRequest = {
1679
- /** Unique identifier for a given organization. */
1680
- organizationId: string;
1681
- };
1682
- export type v1GetOrganizationResponse = {
1683
- /** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
1684
- organizationData: v1OrganizationData;
1685
- };
1686
1761
  export type v1GetPoliciesRequest = {
1687
1762
  /** Unique identifier for a given organization. */
1688
1763
  organizationId: string;
@@ -1741,6 +1816,8 @@ export type v1GetSendTransactionStatusResponse = {
1741
1816
  eth?: v1EthSendTransactionStatus;
1742
1817
  /** The error encountered when broadcasting or confirming the transaction, if any. */
1743
1818
  txError?: string;
1819
+ /** Structured error information including revert details, if available. */
1820
+ error?: v1TxError;
1744
1821
  };
1745
1822
  export type v1GetSmartContractInterfaceRequest = {
1746
1823
  /** Unique identifier for a given organization. */
@@ -1834,6 +1911,18 @@ export type v1GetWalletAccountsResponse = {
1834
1911
  /** A list of accounts generated from a wallet that share a common seed. */
1835
1912
  accounts: v1WalletAccount[];
1836
1913
  };
1914
+ export type v1GetWalletAddressBalancesRequest = {
1915
+ /** Unique identifier for a given organization. */
1916
+ organizationId: string;
1917
+ /** Address corresponding to a wallet account. */
1918
+ address: string;
1919
+ /** 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. */
1920
+ caip2: string;
1921
+ };
1922
+ export type v1GetWalletAddressBalancesResponse = {
1923
+ /** List of asset balances */
1924
+ balances?: v1AssetBalance[];
1925
+ };
1837
1926
  export type v1GetWalletRequest = {
1838
1927
  /** Unique identifier for a given organization. */
1839
1928
  organizationId: string;
@@ -2127,6 +2216,32 @@ export type v1InitOtpIntentV2 = {
2127
2216
  /** Optional custom email address to use as reply-to */
2128
2217
  replyToEmailAddress?: string;
2129
2218
  };
2219
+ export type v1InitOtpIntentV3 = {
2220
+ /** Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
2221
+ otpType: string;
2222
+ /** Email or phone number to send the OTP code to */
2223
+ contact: string;
2224
+ /** The name of the application. */
2225
+ appName: string;
2226
+ /** Optional length of the OTP code. Default = 9 */
2227
+ otpLength?: number;
2228
+ /** Optional parameters for customizing emails. If not provided, the default email will be used. */
2229
+ emailCustomization?: v1EmailCustomizationParamsV2;
2230
+ /** Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
2231
+ smsCustomization?: v1SmsCustomizationParams;
2232
+ /** Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address. */
2233
+ userIdentifier?: string;
2234
+ /** Optional custom email address from which to send the OTP email */
2235
+ sendFromEmailAddress?: string;
2236
+ /** Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). If set to false, OTP code will only be numeric. Default = true */
2237
+ alphanumeric?: boolean;
2238
+ /** Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
2239
+ sendFromEmailSenderName?: string;
2240
+ /** Expiration window (in seconds) indicating how long the OTP is valid for. If not provided, a default of 5 minutes will be used. Maximum value is 600 seconds (10 minutes) */
2241
+ expirationSeconds?: string;
2242
+ /** Optional custom email address to use as reply-to */
2243
+ replyToEmailAddress?: string;
2244
+ };
2130
2245
  export type v1InitOtpRequest = {
2131
2246
  type: string;
2132
2247
  /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
@@ -2299,24 +2414,11 @@ export type v1Intent = {
2299
2414
  initOtpIntentV2?: v1InitOtpIntentV2;
2300
2415
  initOtpAuthIntentV3?: v1InitOtpAuthIntentV3;
2301
2416
  upsertGasUsageConfigIntent?: v1UpsertGasUsageConfigIntent;
2302
- };
2303
- export type v1Invitation = {
2304
- /** Unique identifier for a given Invitation object. */
2305
- invitationId: string;
2306
- /** The name of the intended Invitation recipient. */
2307
- receiverUserName: string;
2308
- /** The email address of the intended Invitation recipient. */
2309
- receiverEmail: string;
2310
- /** A list of tags assigned to the Invitation recipient. */
2311
- receiverUserTags: string[];
2312
- /** The User's permissible access method(s). */
2313
- accessType: v1AccessType;
2314
- /** The current processing status of a specified Invitation. */
2315
- status: v1InvitationStatus;
2316
- createdAt: externaldatav1Timestamp;
2317
- updatedAt: externaldatav1Timestamp;
2318
- /** Unique identifier for the Sender of an Invitation. */
2319
- senderUserId: string;
2417
+ createTvcAppIntent?: v1CreateTvcAppIntent;
2418
+ createTvcDeploymentIntent?: v1CreateTvcDeploymentIntent;
2419
+ createTvcManifestApprovalsIntent?: v1CreateTvcManifestApprovalsIntent;
2420
+ solSendTransactionIntent?: v1SolSendTransactionIntent;
2421
+ updateOrganizationNameIntent?: v1UpdateOrganizationNameIntent;
2320
2422
  };
2321
2423
  export type v1InvitationParams = {
2322
2424
  /** The name of the intended Invitation recipient. */
@@ -2330,7 +2432,6 @@ export type v1InvitationParams = {
2330
2432
  /** Unique identifier for the Sender of an Invitation. */
2331
2433
  senderUserId: string;
2332
2434
  };
2333
- export type v1InvitationStatus = "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
2334
2435
  export type v1ListFiatOnRampCredentialsRequest = {
2335
2436
  /** Unique identifier for a given Organization. */
2336
2437
  organizationId: string;
@@ -2353,6 +2454,16 @@ export type v1ListPrivateKeyTagsResponse = {
2353
2454
  /** A list of private key tags. */
2354
2455
  privateKeyTags: datav1Tag[];
2355
2456
  };
2457
+ export type v1ListSupportedAssetsRequest = {
2458
+ /** Unique identifier for a given organization. */
2459
+ organizationId: string;
2460
+ /** 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. */
2461
+ caip2: string;
2462
+ };
2463
+ export type v1ListSupportedAssetsResponse = {
2464
+ /** List of asset metadata */
2465
+ assets?: v1AssetMetadata[];
2466
+ };
2356
2467
  export type v1ListUserTagsRequest = {
2357
2468
  /** Unique identifier for a given organization. */
2358
2469
  organizationId: string;
@@ -2370,6 +2481,14 @@ export type v1NOOPCodegenAnchorResponse = {
2370
2481
  stamp: v1WebAuthnStamp;
2371
2482
  tokenUsage?: v1TokenUsage;
2372
2483
  };
2484
+ export type v1NativeRevertError = {
2485
+ /** The type of native error: 'error_string', 'panic', or 'execution_reverted'. */
2486
+ nativeType?: string;
2487
+ /** The error message for Error(string) reverts. */
2488
+ message?: string;
2489
+ /** The panic code for Panic(uint256) reverts. */
2490
+ panicCode?: string;
2491
+ };
2373
2492
  export type v1Oauth2AuthenticateIntent = {
2374
2493
  /** The OAuth 2.0 credential id whose client_id and client_secret will be used in the OAuth 2.0 flow */
2375
2494
  oauth2CredentialId: string;
@@ -2485,19 +2604,6 @@ export type v1OauthResult = {
2485
2604
  credentialBundle: string;
2486
2605
  };
2487
2606
  export type v1Operator = "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2488
- export type v1OrganizationData = {
2489
- organizationId?: string;
2490
- name?: string;
2491
- users?: v1User[];
2492
- policies?: v1Policy[];
2493
- privateKeys?: v1PrivateKey[];
2494
- invitations?: v1Invitation[];
2495
- tags?: datav1Tag[];
2496
- rootQuorum?: externaldatav1Quorum;
2497
- features?: v1Feature[];
2498
- wallets?: v1Wallet[];
2499
- smartContractInterfaceReferences?: v1SmartContractInterfaceReference[];
2500
- };
2501
2607
  export type v1OtpAuthIntent = {
2502
2608
  /** ID representing the result of an init OTP activity. */
2503
2609
  otpId: string;
@@ -2767,6 +2873,25 @@ export type v1Result = {
2767
2873
  deleteFiatOnRampCredentialResult?: v1DeleteFiatOnRampCredentialResult;
2768
2874
  ethSendTransactionResult?: v1EthSendTransactionResult;
2769
2875
  upsertGasUsageConfigResult?: v1UpsertGasUsageConfigResult;
2876
+ createTvcAppResult?: v1CreateTvcAppResult;
2877
+ createTvcDeploymentResult?: v1CreateTvcDeploymentResult;
2878
+ createTvcManifestApprovalsResult?: v1CreateTvcManifestApprovalsResult;
2879
+ solSendTransactionResult?: v1SolSendTransactionResult;
2880
+ updateOrganizationNameResult?: v1UpdateOrganizationNameResult;
2881
+ };
2882
+ export type v1RevertChainEntry = {
2883
+ /** The contract address where the revert occurred. */
2884
+ address?: string;
2885
+ /** Type of error: 'unknown', 'native', or 'custom'. */
2886
+ errorType?: string;
2887
+ /** Human-readable message describing this revert. */
2888
+ displayMessage?: string;
2889
+ /** Details for unknown error types. */
2890
+ unknown?: v1UnknownRevertError;
2891
+ /** Details for native Solidity errors (Error, Panic, execution reverted). */
2892
+ native?: v1NativeRevertError;
2893
+ /** Details for custom contract errors. */
2894
+ custom?: v1CustomRevertError;
2770
2895
  };
2771
2896
  export type v1RootUserParams = {
2772
2897
  /** Human-readable name for a User. */
@@ -2942,16 +3067,36 @@ export type v1SimpleClientExtensionResults = {
2942
3067
  appidExclude?: boolean;
2943
3068
  credProps?: v1CredPropsAuthenticationExtensionsClientOutputs;
2944
3069
  };
2945
- export type v1SmartContractInterfaceReference = {
2946
- smartContractInterfaceId?: string;
2947
- smartContractAddress?: string;
2948
- digest?: string;
2949
- };
2950
3070
  export type v1SmartContractInterfaceType = "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" | "SMART_CONTRACT_INTERFACE_TYPE_SOLANA";
2951
3071
  export type v1SmsCustomizationParams = {
2952
3072
  /** Template containing references to .OtpCode i.e Your OTP is {{.OtpCode}} */
2953
3073
  template?: string;
2954
3074
  };
3075
+ export type v1SolSendTransactionIntent = {
3076
+ /** Base64-encoded serialized unsigned Solana transaction */
3077
+ unsignedTransaction: string;
3078
+ /** A wallet or private key address to sign with. This does not support private key IDs. */
3079
+ signWith: string;
3080
+ /** Whether to sponsor this transaction via Gas Station. */
3081
+ sponsor?: boolean;
3082
+ /** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
3083
+ caip2: string;
3084
+ /** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
3085
+ recentBlockhash?: string;
3086
+ };
3087
+ export type v1SolSendTransactionRequest = {
3088
+ type: string;
3089
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3090
+ timestampMs: string;
3091
+ /** Unique identifier for a given Organization. */
3092
+ organizationId: string;
3093
+ parameters: v1SolSendTransactionIntent;
3094
+ generateAppProofs?: boolean;
3095
+ };
3096
+ export type v1SolSendTransactionResult = {
3097
+ /** The send_transaction_status ID associated with the transaction submission */
3098
+ sendTransactionStatusId: string;
3099
+ };
2955
3100
  export type v1StampLoginIntent = {
2956
3101
  /** Client-side public key generated by the user, which will be conditionally added to org data based on the passkey stamp associated with this request */
2957
3102
  publicKey: string;
@@ -2974,15 +3119,6 @@ export type v1StampLoginResult = {
2974
3119
  session: string;
2975
3120
  };
2976
3121
  export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
2977
- export type v1TestRateLimitsRequest = {
2978
- /** Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons. */
2979
- organizationId: string;
2980
- /** Whether or not to set a limit on this request. */
2981
- isSetLimit: boolean;
2982
- /** Rate limit to set for org, if is_set_limit is set to true. */
2983
- limit: number;
2984
- };
2985
- export type v1TestRateLimitsResponse = {};
2986
3122
  export type v1TokenUsage = {
2987
3123
  /** Type of token usage */
2988
3124
  type: v1UsageType;
@@ -2991,7 +3127,41 @@ export type v1TokenUsage = {
2991
3127
  signup?: v1SignupUsage;
2992
3128
  login?: v1LoginUsage;
2993
3129
  };
2994
- export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN";
3130
+ export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
3131
+ export type v1TvcManifestApproval = {
3132
+ /** Unique identifier of the operator providing this approval */
3133
+ operatorId: string;
3134
+ /** Signature from the operator approving the manifest */
3135
+ signature: string;
3136
+ };
3137
+ export type v1TvcOperatorParams = {
3138
+ /** The name for this new operator */
3139
+ name: string;
3140
+ /** Public key for this operator */
3141
+ publicKey: string;
3142
+ };
3143
+ export type v1TvcOperatorSetParams = {
3144
+ /** Short description for this new operator set */
3145
+ name: string;
3146
+ /** Operators to create as part of this new operator set */
3147
+ newOperators?: v1TvcOperatorParams[];
3148
+ /** Existing operators to use as part of this new operator set */
3149
+ existingOperatorIds?: string[];
3150
+ /** The threshold of operators needed to reach consensus in this new Operator Set */
3151
+ threshold: number;
3152
+ };
3153
+ export type v1TxError = {
3154
+ /** Human-readable error message describing what went wrong. */
3155
+ message?: string;
3156
+ /** Chain of revert errors from nested contract calls, ordered from outermost to innermost. */
3157
+ revertChain?: v1RevertChainEntry[];
3158
+ };
3159
+ export type v1UnknownRevertError = {
3160
+ /** The 4-byte error selector, if available. */
3161
+ selector?: string;
3162
+ /** The raw error data, hex-encoded. */
3163
+ data?: string;
3164
+ };
2995
3165
  export type v1UpdateAllowedOriginsIntent = {
2996
3166
  /** Additional origins requests are allowed from besides Turnkey origins */
2997
3167
  allowedOrigins: string[];
@@ -3085,6 +3255,24 @@ export type v1UpdateOauth2CredentialResult = {
3085
3255
  /** Unique identifier of the OAuth 2.0 credential that was updated */
3086
3256
  oauth2CredentialId: string;
3087
3257
  };
3258
+ export type v1UpdateOrganizationNameIntent = {
3259
+ /** New name for the Organization. */
3260
+ organizationName: string;
3261
+ };
3262
+ export type v1UpdateOrganizationNameRequest = {
3263
+ type: string;
3264
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3265
+ timestampMs: string;
3266
+ /** Unique identifier for a given Organization. */
3267
+ organizationId: string;
3268
+ parameters: v1UpdateOrganizationNameIntent;
3269
+ };
3270
+ export type v1UpdateOrganizationNameResult = {
3271
+ /** Unique identifier for the Organization. */
3272
+ organizationId: string;
3273
+ /** The updated organization name. */
3274
+ organizationName: string;
3275
+ };
3088
3276
  export type v1UpdatePolicyIntent = {
3089
3277
  /** Unique identifier for a given Policy. */
3090
3278
  policyId: string;
@@ -3304,6 +3492,8 @@ export type v1UpsertGasUsageConfigIntent = {
3304
3492
  subOrgWindowLimitUsd: string;
3305
3493
  /** Rolling sponsorship window duration, expressed in minutes. */
3306
3494
  windowDurationMinutes: string;
3495
+ /** Whether gas sponsorship is enabled for the organization. */
3496
+ enabled?: boolean;
3307
3497
  };
3308
3498
  export type v1UpsertGasUsageConfigResult = {
3309
3499
  /** Unique identifier for the gas usage configuration that was created or updated. */
@@ -3528,18 +3718,6 @@ export type TGetApiKeysBody = {
3528
3718
  export type TGetApiKeysInput = {
3529
3719
  body: TGetApiKeysBody;
3530
3720
  };
3531
- export type TGetAttestationDocumentResponse = {
3532
- /** Raw (CBOR-encoded) attestation document. */
3533
- attestationDocument: string;
3534
- };
3535
- export type TGetAttestationDocumentBody = {
3536
- organizationId?: string;
3537
- /** The enclave type, one of: ump, notarizer, signer, evm-parser. */
3538
- enclaveType: string;
3539
- };
3540
- export type TGetAttestationDocumentInput = {
3541
- body: TGetAttestationDocumentBody;
3542
- };
3543
3721
  export type TGetAuthenticatorResponse = {
3544
3722
  /** An authenticator. */
3545
3723
  authenticator: v1Authenticator;
@@ -3610,7 +3788,7 @@ export type TGetNoncesBody = {
3610
3788
  organizationId?: string;
3611
3789
  /** The Ethereum address to query nonces for. */
3612
3790
  address: string;
3613
- /** The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
3791
+ /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
3614
3792
  caip2: string;
3615
3793
  /** Whether to fetch the standard on-chain nonce. */
3616
3794
  nonce?: boolean;
@@ -3657,16 +3835,6 @@ export type TGetOnRampTransactionStatusBody = {
3657
3835
  export type TGetOnRampTransactionStatusInput = {
3658
3836
  body: TGetOnRampTransactionStatusBody;
3659
3837
  };
3660
- export type TGetOrganizationResponse = {
3661
- /** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
3662
- organizationData: v1OrganizationData;
3663
- };
3664
- export type TGetOrganizationBody = {
3665
- organizationId?: string;
3666
- };
3667
- export type TGetOrganizationInput = {
3668
- body: TGetOrganizationBody;
3669
- };
3670
3838
  export type TGetOrganizationConfigsResponse = {
3671
3839
  /** Organization configs including quorum settings and organization features. */
3672
3840
  configs: v1Config;
@@ -3719,6 +3887,8 @@ export type TGetSendTransactionStatusResponse = {
3719
3887
  eth?: v1EthSendTransactionStatus;
3720
3888
  /** The error encountered when broadcasting or confirming the transaction, if any. */
3721
3889
  txError?: string;
3890
+ /** Structured error information including revert details, if available. */
3891
+ error?: v1TxError;
3722
3892
  };
3723
3893
  export type TGetSendTransactionStatusBody = {
3724
3894
  organizationId?: string;
@@ -3780,6 +3950,20 @@ export type TGetWalletAccountBody = {
3780
3950
  export type TGetWalletAccountInput = {
3781
3951
  body: TGetWalletAccountBody;
3782
3952
  };
3953
+ export type TGetWalletAddressBalancesResponse = {
3954
+ /** List of asset balances */
3955
+ balances?: v1AssetBalance[];
3956
+ };
3957
+ export type TGetWalletAddressBalancesBody = {
3958
+ organizationId?: string;
3959
+ /** Address corresponding to a wallet account. */
3960
+ address: string;
3961
+ /** 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. */
3962
+ caip2: string;
3963
+ };
3964
+ export type TGetWalletAddressBalancesInput = {
3965
+ body: TGetWalletAddressBalancesBody;
3966
+ };
3783
3967
  export type TGetActivitiesResponse = {
3784
3968
  /** A list of activities. */
3785
3969
  activities: v1Activity[];
@@ -3881,6 +4065,18 @@ export type TGetSubOrgIdsBody = {
3881
4065
  export type TGetSubOrgIdsInput = {
3882
4066
  body: TGetSubOrgIdsBody;
3883
4067
  };
4068
+ export type TListSupportedAssetsResponse = {
4069
+ /** List of asset metadata */
4070
+ assets?: v1AssetMetadata[];
4071
+ };
4072
+ export type TListSupportedAssetsBody = {
4073
+ organizationId?: string;
4074
+ /** 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. */
4075
+ caip2: string;
4076
+ };
4077
+ export type TListSupportedAssetsInput = {
4078
+ body: TListSupportedAssetsBody;
4079
+ };
3884
4080
  export type TListUserTagsResponse = {
3885
4081
  /** A list of user tags. */
3886
4082
  userTags: datav1Tag[];
@@ -4607,25 +4803,9 @@ export type TEmailAuthBody = {
4607
4803
  export type TEmailAuthInput = {
4608
4804
  body: TEmailAuthBody;
4609
4805
  };
4610
- export type TEthSendRawTransactionResponse = {
4611
- activity: v1Activity;
4612
- /** The transaction hash of the sent transaction */
4613
- transactionHash: string;
4614
- };
4615
- export type TEthSendRawTransactionBody = {
4616
- timestampMs?: string;
4617
- organizationId?: string;
4618
- /** The raw, signed transaction to be sent. */
4619
- signedTransaction: string;
4620
- /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
4621
- caip2: string;
4622
- };
4623
- export type TEthSendRawTransactionInput = {
4624
- body: TEthSendRawTransactionBody;
4625
- };
4626
4806
  export type TEthSendTransactionResponse = {
4627
4807
  activity: v1Activity;
4628
- /** The send_transaction_status ID associated with the transaction submission for sponsored transactions */
4808
+ /** The send_transaction_status ID associated with the transaction submission */
4629
4809
  sendTransactionStatusId: string;
4630
4810
  };
4631
4811
  export type TEthSendTransactionBody = {
@@ -5160,6 +5340,28 @@ export type TSignTransactionBody = {
5160
5340
  export type TSignTransactionInput = {
5161
5341
  body: TSignTransactionBody;
5162
5342
  };
5343
+ export type TSolSendTransactionResponse = {
5344
+ activity: v1Activity;
5345
+ /** The send_transaction_status ID associated with the transaction submission */
5346
+ sendTransactionStatusId: string;
5347
+ };
5348
+ export type TSolSendTransactionBody = {
5349
+ timestampMs?: string;
5350
+ organizationId?: string;
5351
+ /** Base64-encoded serialized unsigned Solana transaction */
5352
+ unsignedTransaction: string;
5353
+ /** A wallet or private key address to sign with. This does not support private key IDs. */
5354
+ signWith: string;
5355
+ /** Whether to sponsor this transaction via Gas Station. */
5356
+ sponsor?: boolean;
5357
+ /** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
5358
+ caip2: string;
5359
+ /** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
5360
+ recentBlockhash?: string;
5361
+ };
5362
+ export type TSolSendTransactionInput = {
5363
+ body: TSolSendTransactionBody;
5364
+ };
5163
5365
  export type TStampLoginResponse = {
5164
5366
  activity: v1Activity;
5165
5367
  /** Signed JWT containing an expiry, public key, session type, user id, and organization id */
@@ -5222,6 +5424,22 @@ export type TUpdateOauth2CredentialBody = {
5222
5424
  export type TUpdateOauth2CredentialInput = {
5223
5425
  body: TUpdateOauth2CredentialBody;
5224
5426
  };
5427
+ export type TUpdateOrganizationNameResponse = {
5428
+ activity: v1Activity;
5429
+ /** Unique identifier for the Organization. */
5430
+ organizationId: string;
5431
+ /** The updated organization name. */
5432
+ organizationName: string;
5433
+ };
5434
+ export type TUpdateOrganizationNameBody = {
5435
+ timestampMs?: string;
5436
+ organizationId?: string;
5437
+ /** New name for the Organization. */
5438
+ organizationName: string;
5439
+ };
5440
+ export type TUpdateOrganizationNameInput = {
5441
+ body: TUpdateOrganizationNameBody;
5442
+ };
5225
5443
  export type TUpdatePolicyResponse = {
5226
5444
  activity: v1Activity;
5227
5445
  /** Unique identifier for a given Policy. */
@@ -5413,17 +5631,6 @@ export type TVerifyOtpInput = {
5413
5631
  export type TNOOPCodegenAnchorResponse = {
5414
5632
  activity: v1Activity;
5415
5633
  };
5416
- export type TTestRateLimitsResponse = {};
5417
- export type TTestRateLimitsBody = {
5418
- organizationId?: string;
5419
- /** Whether or not to set a limit on this request. */
5420
- isSetLimit: boolean;
5421
- /** Rate limit to set for org, if is_set_limit is set to true. */
5422
- limit: number;
5423
- };
5424
- export type TTestRateLimitsInput = {
5425
- body: TTestRateLimitsBody;
5426
- };
5427
5634
  export type ProxyTGetAccountResponse = {
5428
5635
  organizationId?: string;
5429
5636
  };