@turnkey/sdk-types 0.7.0 → 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 +13 -0
- package/dist/__generated__/types.d.ts +277 -7
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +296 -6
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
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
|
+
|
|
3
16
|
## 0.7.0
|
|
4
17
|
|
|
5
18
|
### Minor 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
|
|
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" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION";
|
|
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;
|
|
@@ -1209,8 +1251,8 @@ export type v1EnableAuthProxyResult = {
|
|
|
1209
1251
|
export type v1EthSendRawTransactionIntent = {
|
|
1210
1252
|
/** The raw, signed transaction to be sent. */
|
|
1211
1253
|
signedTransaction: string;
|
|
1212
|
-
/**
|
|
1213
|
-
|
|
1254
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1255
|
+
caip2: string;
|
|
1214
1256
|
};
|
|
1215
1257
|
export type v1EthSendRawTransactionRequest = {
|
|
1216
1258
|
type: string;
|
|
@@ -1224,6 +1266,42 @@ export type v1EthSendRawTransactionResult = {
|
|
|
1224
1266
|
/** The transaction hash of the sent transaction */
|
|
1225
1267
|
transactionHash: string;
|
|
1226
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
|
+
};
|
|
1227
1305
|
export type v1ExportPrivateKeyIntent = {
|
|
1228
1306
|
/** Unique identifier for a given Private Key. */
|
|
1229
1307
|
privateKeyId: string;
|
|
@@ -1292,6 +1370,26 @@ export type v1Feature = {
|
|
|
1292
1370
|
};
|
|
1293
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";
|
|
1294
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
|
+
};
|
|
1295
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";
|
|
1296
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";
|
|
1297
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";
|
|
@@ -1406,6 +1504,18 @@ export type v1GetOauthProvidersResponse = {
|
|
|
1406
1504
|
/** A list of Oauth providers. */
|
|
1407
1505
|
oauthProviders: v1OauthProvider[];
|
|
1408
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
|
+
};
|
|
1409
1519
|
export type v1GetOrganizationConfigsRequest = {
|
|
1410
1520
|
/** Unique identifier for a given organization. */
|
|
1411
1521
|
organizationId: string;
|
|
@@ -1939,6 +2049,10 @@ export type v1Intent = {
|
|
|
1939
2049
|
deleteWalletAccountsIntent?: v1DeleteWalletAccountsIntent;
|
|
1940
2050
|
deletePoliciesIntent?: v1DeletePoliciesIntent;
|
|
1941
2051
|
ethSendRawTransactionIntent?: v1EthSendRawTransactionIntent;
|
|
2052
|
+
ethSendTransactionIntent?: v1EthSendTransactionIntent;
|
|
2053
|
+
createFiatOnRampCredentialIntent?: v1CreateFiatOnRampCredentialIntent;
|
|
2054
|
+
updateFiatOnRampCredentialIntent?: v1UpdateFiatOnRampCredentialIntent;
|
|
2055
|
+
deleteFiatOnRampCredentialIntent?: v1DeleteFiatOnRampCredentialIntent;
|
|
1942
2056
|
};
|
|
1943
2057
|
export type v1Invitation = {
|
|
1944
2058
|
/** Unique identifier for a given Invitation object. */
|
|
@@ -1971,6 +2085,13 @@ export type v1InvitationParams = {
|
|
|
1971
2085
|
senderUserId: string;
|
|
1972
2086
|
};
|
|
1973
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
|
+
};
|
|
1974
2095
|
export type v1ListOauth2CredentialsRequest = {
|
|
1975
2096
|
/** Unique identifier for a given Organization. */
|
|
1976
2097
|
organizationId: string;
|
|
@@ -2382,6 +2503,10 @@ export type v1Result = {
|
|
|
2382
2503
|
deleteWalletAccountsResult?: v1DeleteWalletAccountsResult;
|
|
2383
2504
|
deletePoliciesResult?: v1DeletePoliciesResult;
|
|
2384
2505
|
ethSendRawTransactionResult?: v1EthSendRawTransactionResult;
|
|
2506
|
+
createFiatOnRampCredentialResult?: v1CreateFiatOnRampCredentialResult;
|
|
2507
|
+
updateFiatOnRampCredentialResult?: v1UpdateFiatOnRampCredentialResult;
|
|
2508
|
+
deleteFiatOnRampCredentialResult?: v1DeleteFiatOnRampCredentialResult;
|
|
2509
|
+
ethSendTransactionResult?: v1EthSendTransactionResult;
|
|
2385
2510
|
};
|
|
2386
2511
|
export type v1RootUserParams = {
|
|
2387
2512
|
/** Human-readable name for a User. */
|
|
@@ -2649,6 +2774,32 @@ export type v1UpdateAuthProxyConfigResult = {
|
|
|
2649
2774
|
/** Unique identifier for a given User. (representing the turnkey signer user id) */
|
|
2650
2775
|
configId?: string;
|
|
2651
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
|
+
};
|
|
2652
2803
|
export type v1UpdateOauth2CredentialIntent = {
|
|
2653
2804
|
/** The ID of the OAuth 2.0 credential to update */
|
|
2654
2805
|
oauth2CredentialId: string;
|
|
@@ -3172,6 +3323,20 @@ export type TGetOauthProvidersBody = {
|
|
|
3172
3323
|
export type TGetOauthProvidersInput = {
|
|
3173
3324
|
body: TGetOauthProvidersBody;
|
|
3174
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
|
+
};
|
|
3175
3340
|
export type TGetOrganizationResponse = {
|
|
3176
3341
|
/** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
|
|
3177
3342
|
organizationData: v1OrganizationData;
|
|
@@ -3306,6 +3471,15 @@ export type TGetAppProofsBody = {
|
|
|
3306
3471
|
export type TGetAppProofsInput = {
|
|
3307
3472
|
body: TGetAppProofsBody;
|
|
3308
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
|
+
};
|
|
3309
3483
|
export type TListOauth2CredentialsResponse = {
|
|
3310
3484
|
oauth2Credentials: v1Oauth2Credential[];
|
|
3311
3485
|
};
|
|
@@ -3507,6 +3681,30 @@ export type TCreateAuthenticatorsBody = {
|
|
|
3507
3681
|
export type TCreateAuthenticatorsInput = {
|
|
3508
3682
|
body: TCreateAuthenticatorsBody;
|
|
3509
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
|
+
};
|
|
3510
3708
|
export type TCreateInvitationsResponse = {
|
|
3511
3709
|
activity: v1Activity;
|
|
3512
3710
|
/** A list of Invitation IDs */
|
|
@@ -3830,6 +4028,20 @@ export type TDeleteAuthenticatorsBody = {
|
|
|
3830
4028
|
export type TDeleteAuthenticatorsInput = {
|
|
3831
4029
|
body: TDeleteAuthenticatorsBody;
|
|
3832
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
|
+
};
|
|
3833
4045
|
export type TDeleteInvitationResponse = {
|
|
3834
4046
|
activity: v1Activity;
|
|
3835
4047
|
/** Unique identifier for a given Invitation. */
|
|
@@ -4066,12 +4278,46 @@ export type TEthSendRawTransactionBody = {
|
|
|
4066
4278
|
organizationId?: string;
|
|
4067
4279
|
/** The raw, signed transaction to be sent. */
|
|
4068
4280
|
signedTransaction: string;
|
|
4069
|
-
/**
|
|
4070
|
-
|
|
4281
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
4282
|
+
caip2: string;
|
|
4071
4283
|
};
|
|
4072
4284
|
export type TEthSendRawTransactionInput = {
|
|
4073
4285
|
body: TEthSendRawTransactionBody;
|
|
4074
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
|
+
};
|
|
4075
4321
|
export type TExportPrivateKeyResponse = {
|
|
4076
4322
|
activity: v1Activity;
|
|
4077
4323
|
/** Unique identifier for a given Private Key. */
|
|
@@ -4587,6 +4833,30 @@ export type TStampLoginBody = {
|
|
|
4587
4833
|
export type TStampLoginInput = {
|
|
4588
4834
|
body: TStampLoginBody;
|
|
4589
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
|
+
};
|
|
4590
4860
|
export type TUpdateOauth2CredentialResponse = {
|
|
4591
4861
|
activity: v1Activity;
|
|
4592
4862
|
/** Unique identifier of the OAuth 2.0 credential that was updated */
|
|
@@ -4914,7 +5184,7 @@ export type ProxyTSignupResponse = {
|
|
|
4914
5184
|
wallet?: v1WalletResult;
|
|
4915
5185
|
/** Root user ID created for this sub-organization */
|
|
4916
5186
|
userId: string;
|
|
4917
|
-
/** A list of
|
|
5187
|
+
/** A list of App Proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
|
|
4918
5188
|
appProofs?: v1AppProof[];
|
|
4919
5189
|
};
|
|
4920
5190
|
export type ProxyTSignupBody = {
|