@turnkey/sdk-types 0.6.3 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @turnkey/sdk-types
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1062](https://github.com/tkhq/sdk/pull/1062) [`084acce`](https://github.com/tkhq/sdk/commit/084acce85fe7c15513a025e77c1571012ac82e4b) Thanks [@moe-dev](https://github.com/moe-dev)! - - **Added `handleOnRamp()` helper** to simplify fiat-to-crypto on-ramping flows directly from the SDK.
8
+ - Supports overriding defaults through optional parameters:
9
+ - `network` (e.g., `FiatOnRampBlockchainNetwork.ETHEREUM`)
10
+ - `cryptoCurrencyCode` (e.g., `FiatOnRampCryptoCurrency.ETHEREUM`)
11
+ - `fiatCurrencyAmount`, `fiatCurrencyCode`, `paymentMethod`, and `onrampProvider`.
12
+ - Integrates seamlessly with the `client.httpClient.initFiatOnRamp()` method to open a provider popup (Coinbase, MoonPay, etc.) and monitor transaction completion.
13
+
14
+ - [#1072](https://github.com/tkhq/sdk/pull/1072) [`67b03a5`](https://github.com/tkhq/sdk/commit/67b03a5d9ab1b6eabfb0b41938ac91365b5dcd9b) Thanks [@moe-dev](https://github.com/moe-dev)! - Bump packages as per mono v2025.11.0
15
+
16
+ ## 0.7.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [#1058](https://github.com/tkhq/sdk/pull/1058) [`9fbd5c4`](https://github.com/tkhq/sdk/commit/9fbd5c459782dc3721dd0935d0a4458babce258b) Author [@moeodeh3](https://github.com/moeodeh3) - Update per mono release `v2025.10.10-hotfix.2`
21
+
3
22
  ## 0.6.3
4
23
 
5
24
  ### Patch Changes
@@ -148,7 +148,7 @@ export type v1Activity = {
148
148
  result: v1Result;
149
149
  /** A list of objects representing a particular User's approval or rejection of a Consensus request, including all relevant metadata. */
150
150
  votes: v1Vote[];
151
- /** A list of app proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
151
+ /** A list of App Proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
152
152
  appProofs?: v1AppProof[];
153
153
  /** An artifact verifying a User's action. */
154
154
  fingerprint: string;
@@ -164,7 +164,7 @@ export type v1ActivityResponse = {
164
164
  activity: v1Activity;
165
165
  };
166
166
  export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
167
- 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";
167
+ 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";
168
168
  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";
169
169
  export type v1ApiKey = {
170
170
  /** A User credential that can be used to authenticate to Turnkey. */
@@ -362,6 +362,32 @@ export type v1CreateAuthenticatorsResult = {
362
362
  /** A list of Authenticator IDs. */
363
363
  authenticatorIds: string[];
364
364
  };
365
+ export type v1CreateFiatOnRampCredentialIntent = {
366
+ /** The fiat on-ramp provider */
367
+ onrampProvider: v1FiatOnRampProvider;
368
+ /** Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier */
369
+ projectId?: string;
370
+ /** Publishable API key for the on-ramp provider */
371
+ publishableApiKey: string;
372
+ /** Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key */
373
+ encryptedSecretApiKey: string;
374
+ /** Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
375
+ encryptedPrivateApiKey?: string;
376
+ /** If the on-ramp credential is a sandbox credential */
377
+ sandboxMode?: boolean;
378
+ };
379
+ export type v1CreateFiatOnRampCredentialRequest = {
380
+ type: string;
381
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
382
+ timestampMs: string;
383
+ /** Unique identifier for a given Organization. */
384
+ organizationId: string;
385
+ parameters: v1CreateFiatOnRampCredentialIntent;
386
+ };
387
+ export type v1CreateFiatOnRampCredentialResult = {
388
+ /** Unique identifier of the Fiat On-Ramp credential that was created */
389
+ fiatOnRampCredentialId: string;
390
+ };
365
391
  export type v1CreateInvitationsIntent = {
366
392
  /** A list of Invitations. */
367
393
  invitations: v1InvitationParams[];
@@ -896,6 +922,22 @@ export type v1DeleteAuthenticatorsResult = {
896
922
  /** Unique identifier for a given Authenticator. */
897
923
  authenticatorIds: string[];
898
924
  };
925
+ export type v1DeleteFiatOnRampCredentialIntent = {
926
+ /** The ID of the fiat on-ramp credential to delete */
927
+ fiatOnrampCredentialId: string;
928
+ };
929
+ export type v1DeleteFiatOnRampCredentialRequest = {
930
+ type: string;
931
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
932
+ timestampMs: string;
933
+ /** Unique identifier for a given Organization. */
934
+ organizationId: string;
935
+ parameters: v1DeleteFiatOnRampCredentialIntent;
936
+ };
937
+ export type v1DeleteFiatOnRampCredentialResult = {
938
+ /** Unique identifier of the Fiat On-Ramp credential that was deleted */
939
+ fiatOnRampCredentialId: string;
940
+ };
899
941
  export type v1DeleteInvitationIntent = {
900
942
  /** Unique identifier for a given Invitation object. */
901
943
  invitationId: string;
@@ -1206,6 +1248,60 @@ export type v1EnableAuthProxyResult = {
1206
1248
  /** A User ID with permission to initiate authentication. */
1207
1249
  userId: string;
1208
1250
  };
1251
+ export type v1EthSendRawTransactionIntent = {
1252
+ /** The raw, signed transaction to be sent. */
1253
+ signedTransaction: string;
1254
+ /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
1255
+ caip2: string;
1256
+ };
1257
+ export type v1EthSendRawTransactionRequest = {
1258
+ type: string;
1259
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1260
+ timestampMs: string;
1261
+ /** Unique identifier for a given Organization. */
1262
+ organizationId: string;
1263
+ parameters: v1EthSendRawTransactionIntent;
1264
+ };
1265
+ export type v1EthSendRawTransactionResult = {
1266
+ /** The transaction hash of the sent transaction */
1267
+ transactionHash: string;
1268
+ };
1269
+ export type v1EthSendTransactionIntent = {
1270
+ /** A wallet or private key address to sign with. This does not support private key IDs. */
1271
+ from: string;
1272
+ /** Whether to sponsor this transaction via Gas Station. */
1273
+ sponsor?: boolean;
1274
+ /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
1275
+ caip2: string;
1276
+ /** Recipient address as a hex string with 0x prefix. */
1277
+ to: string;
1278
+ /** Amount of native asset to send in wei. */
1279
+ value?: string;
1280
+ /** Hex-encoded call data for contract interactions. */
1281
+ data?: string;
1282
+ /** Transaction nonce. */
1283
+ nonce: string;
1284
+ /** Maximum amount of gas to use for this transaction. */
1285
+ gasLimit: string;
1286
+ /** Maximum total fee per gas unit (base fee + priority fee) in wei, for EIP-1559 transactions. */
1287
+ maxFeePerGas: string;
1288
+ /** Maximum priority fee (tip) per gas unit in wei, for EIP-1559 transactions. */
1289
+ maxPriorityFeePerGas: string;
1290
+ /** Unix timestamp after which the Gas Station meta-transaction is no longer valid. Only used when sponsor=true. */
1291
+ deadline?: string;
1292
+ };
1293
+ export type v1EthSendTransactionRequest = {
1294
+ type: string;
1295
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1296
+ timestampMs: string;
1297
+ /** Unique identifier for a given Organization. */
1298
+ organizationId: string;
1299
+ parameters: v1EthSendTransactionIntent;
1300
+ };
1301
+ export type v1EthSendTransactionResult = {
1302
+ /** The transaction hash of the sent transaction */
1303
+ transactionHash: string;
1304
+ };
1209
1305
  export type v1ExportPrivateKeyIntent = {
1210
1306
  /** Unique identifier for a given Private Key. */
1211
1307
  privateKeyId: string;
@@ -1274,6 +1370,26 @@ export type v1Feature = {
1274
1370
  };
1275
1371
  export type v1FeatureName = "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY";
1276
1372
  export type v1FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
1373
+ export type v1FiatOnRampCredential = {
1374
+ /** Unique identifier for a given Fiat On-Ramp Credential. */
1375
+ fiatOnrampCredentialId: string;
1376
+ /** Unique identifier for an Organization. */
1377
+ organizationId: string;
1378
+ /** The fiat on-ramp provider. */
1379
+ onrampProvider: v1FiatOnRampProvider;
1380
+ /** Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier. */
1381
+ projectId?: string;
1382
+ /** Publishable API key for the on-ramp provider. */
1383
+ publishableApiKey: string;
1384
+ /** Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key. */
1385
+ encryptedSecretApiKey: string;
1386
+ /** Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
1387
+ encryptedPrivateApiKey?: string;
1388
+ /** If the on-ramp credential is a sandbox credential. */
1389
+ sandboxMode?: boolean;
1390
+ createdAt: externaldatav1Timestamp;
1391
+ updatedAt: externaldatav1Timestamp;
1392
+ };
1277
1393
  export type v1FiatOnRampCryptoCurrency = "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC" | "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH" | "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL" | "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC";
1278
1394
  export type v1FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_AUD" | "FIAT_ON_RAMP_CURRENCY_BGN" | "FIAT_ON_RAMP_CURRENCY_BRL" | "FIAT_ON_RAMP_CURRENCY_CAD" | "FIAT_ON_RAMP_CURRENCY_CHF" | "FIAT_ON_RAMP_CURRENCY_COP" | "FIAT_ON_RAMP_CURRENCY_CZK" | "FIAT_ON_RAMP_CURRENCY_DKK" | "FIAT_ON_RAMP_CURRENCY_DOP" | "FIAT_ON_RAMP_CURRENCY_EGP" | "FIAT_ON_RAMP_CURRENCY_EUR" | "FIAT_ON_RAMP_CURRENCY_GBP" | "FIAT_ON_RAMP_CURRENCY_HKD" | "FIAT_ON_RAMP_CURRENCY_IDR" | "FIAT_ON_RAMP_CURRENCY_ILS" | "FIAT_ON_RAMP_CURRENCY_JOD" | "FIAT_ON_RAMP_CURRENCY_KES" | "FIAT_ON_RAMP_CURRENCY_KWD" | "FIAT_ON_RAMP_CURRENCY_LKR" | "FIAT_ON_RAMP_CURRENCY_MXN" | "FIAT_ON_RAMP_CURRENCY_NGN" | "FIAT_ON_RAMP_CURRENCY_NOK" | "FIAT_ON_RAMP_CURRENCY_NZD" | "FIAT_ON_RAMP_CURRENCY_OMR" | "FIAT_ON_RAMP_CURRENCY_PEN" | "FIAT_ON_RAMP_CURRENCY_PLN" | "FIAT_ON_RAMP_CURRENCY_RON" | "FIAT_ON_RAMP_CURRENCY_SEK" | "FIAT_ON_RAMP_CURRENCY_THB" | "FIAT_ON_RAMP_CURRENCY_TRY" | "FIAT_ON_RAMP_CURRENCY_TWD" | "FIAT_ON_RAMP_CURRENCY_USD" | "FIAT_ON_RAMP_CURRENCY_VND" | "FIAT_ON_RAMP_CURRENCY_ZAR";
1279
1395
  export type v1FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" | "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" | "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" | "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" | "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT";
@@ -1388,6 +1504,18 @@ export type v1GetOauthProvidersResponse = {
1388
1504
  /** A list of Oauth providers. */
1389
1505
  oauthProviders: v1OauthProvider[];
1390
1506
  };
1507
+ export type v1GetOnRampTransactionStatusRequest = {
1508
+ /** Unique identifier for a given organization. */
1509
+ organizationId: string;
1510
+ /** The unique identifier for the fiat on ramp transaction. */
1511
+ transactionId: string;
1512
+ /** Optional flag to specify if the transaction status should be refreshed from the fiat on ramp provider. Default = false. */
1513
+ refresh?: boolean;
1514
+ };
1515
+ export type v1GetOnRampTransactionStatusResponse = {
1516
+ /** The status of the fiat on ramp transaction. */
1517
+ transactionStatus: string;
1518
+ };
1391
1519
  export type v1GetOrganizationConfigsRequest = {
1392
1520
  /** Unique identifier for a given organization. */
1393
1521
  organizationId: string;
@@ -1797,6 +1925,12 @@ export type v1InitUserEmailRecoveryIntent = {
1797
1925
  expirationSeconds?: string;
1798
1926
  /** Optional parameters for customizing emails. If not provided, the default email will be used. */
1799
1927
  emailCustomization?: v1EmailCustomizationParams;
1928
+ /** Optional custom email address from which to send the OTP email */
1929
+ sendFromEmailAddress?: string;
1930
+ /** Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
1931
+ sendFromEmailSenderName?: string;
1932
+ /** Optional custom email address to use as reply-to */
1933
+ replyToEmailAddress?: string;
1800
1934
  };
1801
1935
  export type v1InitUserEmailRecoveryRequest = {
1802
1936
  type: string;
@@ -1914,6 +2048,11 @@ export type v1Intent = {
1914
2048
  oauth2AuthenticateIntent?: v1Oauth2AuthenticateIntent;
1915
2049
  deleteWalletAccountsIntent?: v1DeleteWalletAccountsIntent;
1916
2050
  deletePoliciesIntent?: v1DeletePoliciesIntent;
2051
+ ethSendRawTransactionIntent?: v1EthSendRawTransactionIntent;
2052
+ ethSendTransactionIntent?: v1EthSendTransactionIntent;
2053
+ createFiatOnRampCredentialIntent?: v1CreateFiatOnRampCredentialIntent;
2054
+ updateFiatOnRampCredentialIntent?: v1UpdateFiatOnRampCredentialIntent;
2055
+ deleteFiatOnRampCredentialIntent?: v1DeleteFiatOnRampCredentialIntent;
1917
2056
  };
1918
2057
  export type v1Invitation = {
1919
2058
  /** Unique identifier for a given Invitation object. */
@@ -1946,6 +2085,13 @@ export type v1InvitationParams = {
1946
2085
  senderUserId: string;
1947
2086
  };
1948
2087
  export type v1InvitationStatus = "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
2088
+ export type v1ListFiatOnRampCredentialsRequest = {
2089
+ /** Unique identifier for a given Organization. */
2090
+ organizationId: string;
2091
+ };
2092
+ export type v1ListFiatOnRampCredentialsResponse = {
2093
+ fiatOnRampCredentials: v1FiatOnRampCredential[];
2094
+ };
1949
2095
  export type v1ListOauth2CredentialsRequest = {
1950
2096
  /** Unique identifier for a given Organization. */
1951
2097
  organizationId: string;
@@ -2356,6 +2502,11 @@ export type v1Result = {
2356
2502
  oauth2AuthenticateResult?: v1Oauth2AuthenticateResult;
2357
2503
  deleteWalletAccountsResult?: v1DeleteWalletAccountsResult;
2358
2504
  deletePoliciesResult?: v1DeletePoliciesResult;
2505
+ ethSendRawTransactionResult?: v1EthSendRawTransactionResult;
2506
+ createFiatOnRampCredentialResult?: v1CreateFiatOnRampCredentialResult;
2507
+ updateFiatOnRampCredentialResult?: v1UpdateFiatOnRampCredentialResult;
2508
+ deleteFiatOnRampCredentialResult?: v1DeleteFiatOnRampCredentialResult;
2509
+ ethSendTransactionResult?: v1EthSendTransactionResult;
2359
2510
  };
2360
2511
  export type v1RootUserParams = {
2361
2512
  /** Human-readable name for a User. */
@@ -2623,6 +2774,32 @@ export type v1UpdateAuthProxyConfigResult = {
2623
2774
  /** Unique identifier for a given User. (representing the turnkey signer user id) */
2624
2775
  configId?: string;
2625
2776
  };
2777
+ export type v1UpdateFiatOnRampCredentialIntent = {
2778
+ /** The ID of the fiat on-ramp credential to update */
2779
+ fiatOnrampCredentialId: string;
2780
+ /** The fiat on-ramp provider */
2781
+ onrampProvider: v1FiatOnRampProvider;
2782
+ /** Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier. */
2783
+ projectId?: string;
2784
+ /** Publishable API key for the on-ramp provider */
2785
+ publishableApiKey: string;
2786
+ /** Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key */
2787
+ encryptedSecretApiKey: string;
2788
+ /** Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
2789
+ encryptedPrivateApiKey?: string;
2790
+ };
2791
+ export type v1UpdateFiatOnRampCredentialRequest = {
2792
+ type: string;
2793
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2794
+ timestampMs: string;
2795
+ /** Unique identifier for a given Organization. */
2796
+ organizationId: string;
2797
+ parameters: v1UpdateFiatOnRampCredentialIntent;
2798
+ };
2799
+ export type v1UpdateFiatOnRampCredentialResult = {
2800
+ /** Unique identifier of the Fiat On-Ramp credential that was updated */
2801
+ fiatOnRampCredentialId: string;
2802
+ };
2626
2803
  export type v1UpdateOauth2CredentialIntent = {
2627
2804
  /** The ID of the OAuth 2.0 credential to update */
2628
2805
  oauth2CredentialId: string;
@@ -3146,6 +3323,20 @@ export type TGetOauthProvidersBody = {
3146
3323
  export type TGetOauthProvidersInput = {
3147
3324
  body: TGetOauthProvidersBody;
3148
3325
  };
3326
+ export type TGetOnRampTransactionStatusResponse = {
3327
+ /** The status of the fiat on ramp transaction. */
3328
+ transactionStatus: string;
3329
+ };
3330
+ export type TGetOnRampTransactionStatusBody = {
3331
+ organizationId?: string;
3332
+ /** The unique identifier for the fiat on ramp transaction. */
3333
+ transactionId: string;
3334
+ /** Optional flag to specify if the transaction status should be refreshed from the fiat on ramp provider. Default = false. */
3335
+ refresh?: boolean;
3336
+ };
3337
+ export type TGetOnRampTransactionStatusInput = {
3338
+ body: TGetOnRampTransactionStatusBody;
3339
+ };
3149
3340
  export type TGetOrganizationResponse = {
3150
3341
  /** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
3151
3342
  organizationData: v1OrganizationData;
@@ -3280,6 +3471,15 @@ export type TGetAppProofsBody = {
3280
3471
  export type TGetAppProofsInput = {
3281
3472
  body: TGetAppProofsBody;
3282
3473
  };
3474
+ export type TListFiatOnRampCredentialsResponse = {
3475
+ fiatOnRampCredentials: v1FiatOnRampCredential[];
3476
+ };
3477
+ export type TListFiatOnRampCredentialsBody = {
3478
+ organizationId?: string;
3479
+ };
3480
+ export type TListFiatOnRampCredentialsInput = {
3481
+ body: TListFiatOnRampCredentialsBody;
3482
+ };
3283
3483
  export type TListOauth2CredentialsResponse = {
3284
3484
  oauth2Credentials: v1Oauth2Credential[];
3285
3485
  };
@@ -3481,6 +3681,30 @@ export type TCreateAuthenticatorsBody = {
3481
3681
  export type TCreateAuthenticatorsInput = {
3482
3682
  body: TCreateAuthenticatorsBody;
3483
3683
  };
3684
+ export type TCreateFiatOnRampCredentialResponse = {
3685
+ activity: v1Activity;
3686
+ /** Unique identifier of the Fiat On-Ramp credential that was created */
3687
+ fiatOnRampCredentialId: string;
3688
+ };
3689
+ export type TCreateFiatOnRampCredentialBody = {
3690
+ timestampMs?: string;
3691
+ organizationId?: string;
3692
+ /** The fiat on-ramp provider */
3693
+ onrampProvider: v1FiatOnRampProvider;
3694
+ /** Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier */
3695
+ projectId?: string;
3696
+ /** Publishable API key for the on-ramp provider */
3697
+ publishableApiKey: string;
3698
+ /** Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key */
3699
+ encryptedSecretApiKey: string;
3700
+ /** Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
3701
+ encryptedPrivateApiKey?: string;
3702
+ /** If the on-ramp credential is a sandbox credential */
3703
+ sandboxMode?: boolean;
3704
+ };
3705
+ export type TCreateFiatOnRampCredentialInput = {
3706
+ body: TCreateFiatOnRampCredentialBody;
3707
+ };
3484
3708
  export type TCreateInvitationsResponse = {
3485
3709
  activity: v1Activity;
3486
3710
  /** A list of Invitation IDs */
@@ -3804,6 +4028,20 @@ export type TDeleteAuthenticatorsBody = {
3804
4028
  export type TDeleteAuthenticatorsInput = {
3805
4029
  body: TDeleteAuthenticatorsBody;
3806
4030
  };
4031
+ export type TDeleteFiatOnRampCredentialResponse = {
4032
+ activity: v1Activity;
4033
+ /** Unique identifier of the Fiat On-Ramp credential that was deleted */
4034
+ fiatOnRampCredentialId: string;
4035
+ };
4036
+ export type TDeleteFiatOnRampCredentialBody = {
4037
+ timestampMs?: string;
4038
+ organizationId?: string;
4039
+ /** The ID of the fiat on-ramp credential to delete */
4040
+ fiatOnrampCredentialId: string;
4041
+ };
4042
+ export type TDeleteFiatOnRampCredentialInput = {
4043
+ body: TDeleteFiatOnRampCredentialBody;
4044
+ };
3807
4045
  export type TDeleteInvitationResponse = {
3808
4046
  activity: v1Activity;
3809
4047
  /** Unique identifier for a given Invitation. */
@@ -4030,6 +4268,56 @@ export type TEmailAuthBody = {
4030
4268
  export type TEmailAuthInput = {
4031
4269
  body: TEmailAuthBody;
4032
4270
  };
4271
+ export type TEthSendRawTransactionResponse = {
4272
+ activity: v1Activity;
4273
+ /** The transaction hash of the sent transaction */
4274
+ transactionHash: string;
4275
+ };
4276
+ export type TEthSendRawTransactionBody = {
4277
+ timestampMs?: string;
4278
+ organizationId?: string;
4279
+ /** The raw, signed transaction to be sent. */
4280
+ signedTransaction: string;
4281
+ /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
4282
+ caip2: string;
4283
+ };
4284
+ export type TEthSendRawTransactionInput = {
4285
+ body: TEthSendRawTransactionBody;
4286
+ };
4287
+ export type TEthSendTransactionResponse = {
4288
+ activity: v1Activity;
4289
+ /** The transaction hash of the sent transaction */
4290
+ transactionHash: string;
4291
+ };
4292
+ export type TEthSendTransactionBody = {
4293
+ timestampMs?: string;
4294
+ organizationId?: string;
4295
+ /** A wallet or private key address to sign with. This does not support private key IDs. */
4296
+ from: string;
4297
+ /** Whether to sponsor this transaction via Gas Station. */
4298
+ sponsor?: boolean;
4299
+ /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
4300
+ caip2: string;
4301
+ /** Recipient address as a hex string with 0x prefix. */
4302
+ to: string;
4303
+ /** Amount of native asset to send in wei. */
4304
+ value?: string;
4305
+ /** Hex-encoded call data for contract interactions. */
4306
+ data?: string;
4307
+ /** Transaction nonce. */
4308
+ nonce: string;
4309
+ /** Maximum amount of gas to use for this transaction. */
4310
+ gasLimit: string;
4311
+ /** Maximum total fee per gas unit (base fee + priority fee) in wei, for EIP-1559 transactions. */
4312
+ maxFeePerGas: string;
4313
+ /** Maximum priority fee (tip) per gas unit in wei, for EIP-1559 transactions. */
4314
+ maxPriorityFeePerGas: string;
4315
+ /** Unix timestamp after which the Gas Station meta-transaction is no longer valid. Only used when sponsor=true. */
4316
+ deadline?: string;
4317
+ };
4318
+ export type TEthSendTransactionInput = {
4319
+ body: TEthSendTransactionBody;
4320
+ };
4033
4321
  export type TExportPrivateKeyResponse = {
4034
4322
  activity: v1Activity;
4035
4323
  /** Unique identifier for a given Private Key. */
@@ -4280,6 +4568,12 @@ export type TInitUserEmailRecoveryBody = {
4280
4568
  expirationSeconds?: string;
4281
4569
  /** Optional parameters for customizing emails. If not provided, the default email will be used. */
4282
4570
  emailCustomization?: v1EmailCustomizationParams;
4571
+ /** Optional custom email address from which to send the OTP email */
4572
+ sendFromEmailAddress?: string;
4573
+ /** Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
4574
+ sendFromEmailSenderName?: string;
4575
+ /** Optional custom email address to use as reply-to */
4576
+ replyToEmailAddress?: string;
4283
4577
  };
4284
4578
  export type TInitUserEmailRecoveryInput = {
4285
4579
  body: TInitUserEmailRecoveryBody;
@@ -4539,6 +4833,30 @@ export type TStampLoginBody = {
4539
4833
  export type TStampLoginInput = {
4540
4834
  body: TStampLoginBody;
4541
4835
  };
4836
+ export type TUpdateFiatOnRampCredentialResponse = {
4837
+ activity: v1Activity;
4838
+ /** Unique identifier of the Fiat On-Ramp credential that was updated */
4839
+ fiatOnRampCredentialId: string;
4840
+ };
4841
+ export type TUpdateFiatOnRampCredentialBody = {
4842
+ timestampMs?: string;
4843
+ organizationId?: string;
4844
+ /** The ID of the fiat on-ramp credential to update */
4845
+ fiatOnrampCredentialId: string;
4846
+ /** The fiat on-ramp provider */
4847
+ onrampProvider: v1FiatOnRampProvider;
4848
+ /** Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier. */
4849
+ projectId?: string;
4850
+ /** Publishable API key for the on-ramp provider */
4851
+ publishableApiKey: string;
4852
+ /** Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key */
4853
+ encryptedSecretApiKey: string;
4854
+ /** Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
4855
+ encryptedPrivateApiKey?: string;
4856
+ };
4857
+ export type TUpdateFiatOnRampCredentialInput = {
4858
+ body: TUpdateFiatOnRampCredentialBody;
4859
+ };
4542
4860
  export type TUpdateOauth2CredentialResponse = {
4543
4861
  activity: v1Activity;
4544
4862
  /** Unique identifier of the OAuth 2.0 credential that was updated */
@@ -4866,7 +5184,7 @@ export type ProxyTSignupResponse = {
4866
5184
  wallet?: v1WalletResult;
4867
5185
  /** Root user ID created for this sub-organization */
4868
5186
  userId: string;
4869
- /** A list of app proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
5187
+ /** A list of App Proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
4870
5188
  appProofs?: v1AppProof[];
4871
5189
  };
4872
5190
  export type ProxyTSignupBody = {