@turnkey/sdk-types 1.10.0 → 1.11.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 +11 -0
- package/dist/__generated__/types.d.ts +307 -83
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +492 -149
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -70,9 +70,13 @@ export type v1GetAccountRequest = {
|
|
|
70
70
|
verificationToken?: string;
|
|
71
71
|
/** OIDC token to verify access to PII (email/phone number) when filter_type is 'EMAIL' or 'PHONE_NUMBER'. Needed for social linking when verification_token is not available. */
|
|
72
72
|
oidcToken?: string;
|
|
73
|
+
/** Whether to include requires_social_linking in the response. Only applies when filter_type is 'OIDC_TOKEN'. */
|
|
74
|
+
includeRequiresSocialLinking?: boolean;
|
|
73
75
|
};
|
|
74
76
|
export type v1GetAccountResponse = {
|
|
75
77
|
organizationId?: string;
|
|
78
|
+
/** True when the organization was matched by verified email and the OIDC token is not yet a registered identity on it. */
|
|
79
|
+
requiresSocialLinking?: boolean;
|
|
76
80
|
};
|
|
77
81
|
export type v1GetWalletKitClientParamsRequest = {};
|
|
78
82
|
export type v1GetWalletKitClientParamsResponse = {
|
|
@@ -510,7 +514,7 @@ export type v1ActivityResponse = {
|
|
|
510
514
|
activity: v1Activity;
|
|
511
515
|
};
|
|
512
516
|
export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
513
|
-
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS" | "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL" | "
|
|
517
|
+
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS" | "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL" | "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROLS" | "ACTIVITY_TYPE_UPDATE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V2" | "ACTIVITY_TYPE_EXECUTE_SWAP_V3" | "ACTIVITY_TYPE_DELETE_SECRETS" | "ACTIVITY_TYPE_EARN_CLAIM_REWARDS" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3" | "ACTIVITY_TYPE_UPSERT_SWAP_FEE_SPONSORSHIP_LIMIT_CONFIG" | "ACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_SESSION";
|
|
514
518
|
export type v1ApiKey = {
|
|
515
519
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
516
520
|
credential: externaldatav1Credential;
|
|
@@ -781,6 +785,18 @@ export type v1CreateFiatOnRampCredentialResult = {
|
|
|
781
785
|
/** Unique identifier of the Fiat On-Ramp credential that was created */
|
|
782
786
|
fiatOnRampCredentialId: string;
|
|
783
787
|
};
|
|
788
|
+
export type v1CreateFiatOnRampSessionIntent = {
|
|
789
|
+
/** Identifier of a saved fiat on-ramp quote. Returned by GetFiatOnRampQuote. */
|
|
790
|
+
quoteId: string;
|
|
791
|
+
/** Destination wallet address for the buy transaction. */
|
|
792
|
+
walletAddress: string;
|
|
793
|
+
};
|
|
794
|
+
export type v1CreateFiatOnRampSessionResult = {
|
|
795
|
+
/** URL of the fiat on-ramp session for the saved quote. */
|
|
796
|
+
onRampUrl: string;
|
|
797
|
+
/** Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow. */
|
|
798
|
+
onRampTransactionId: string;
|
|
799
|
+
};
|
|
784
800
|
export type v1CreateInvitationsIntent = {
|
|
785
801
|
/** A list of Invitations. */
|
|
786
802
|
invitations: v1InvitationParams[];
|
|
@@ -988,6 +1004,8 @@ export type v1CreatePrivateKeysIntent = {
|
|
|
988
1004
|
export type v1CreatePrivateKeysIntentV2 = {
|
|
989
1005
|
/** A list of Private Keys. */
|
|
990
1006
|
privateKeys: v1PrivateKeyParams[];
|
|
1007
|
+
/** The public key of the external signer to use for creating the private keys. */
|
|
1008
|
+
externalSignerPubkey?: string;
|
|
991
1009
|
};
|
|
992
1010
|
export type v1CreatePrivateKeysRequest = {
|
|
993
1011
|
type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
@@ -1315,19 +1333,41 @@ export type v1CreateSwapQuoteIntentV2 = {
|
|
|
1315
1333
|
/** Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
1316
1334
|
destinationAddress?: string;
|
|
1317
1335
|
};
|
|
1336
|
+
export type v1CreateSwapQuoteIntentV3 = {
|
|
1337
|
+
/** Wallet account address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
1338
|
+
signWith: string;
|
|
1339
|
+
/** CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
1340
|
+
inputToken: string;
|
|
1341
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
1342
|
+
outputToken: string;
|
|
1343
|
+
/** Base-unit amount of the input asset. */
|
|
1344
|
+
inputAmount: string;
|
|
1345
|
+
/** Provider-neutral maximum allowed slippage in basis points. Turnkey converts this value to each provider's request format. When omitted, each provider applies its default slippage behavior. */
|
|
1346
|
+
slippageBps?: string;
|
|
1347
|
+
/** Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
1348
|
+
destinationAddress?: string;
|
|
1349
|
+
/** When true, Turnkey pays the provider fees for this swap and invoices them to the billing parent organization. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
|
|
1350
|
+
feeSponsorship?: boolean;
|
|
1351
|
+
/** When true, requests a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false. */
|
|
1352
|
+
fixedRate?: boolean;
|
|
1353
|
+
};
|
|
1318
1354
|
export type v1CreateSwapQuoteRequest = {
|
|
1319
|
-
type: "
|
|
1355
|
+
type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3";
|
|
1320
1356
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1321
1357
|
timestampMs: string;
|
|
1322
1358
|
/** Unique identifier for a given Organization. */
|
|
1323
1359
|
organizationId: string;
|
|
1324
|
-
parameters:
|
|
1360
|
+
parameters: v1CreateSwapQuoteIntentV3;
|
|
1325
1361
|
generateAppProofs?: boolean;
|
|
1326
1362
|
};
|
|
1327
1363
|
export type v1CreateSwapQuoteResult = {
|
|
1328
1364
|
/** One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to execute_swap_v2 to bind execution. */
|
|
1329
1365
|
quotes: v1SwapQuote[];
|
|
1330
1366
|
};
|
|
1367
|
+
export type v1CreateSwapQuoteResultV2 = {
|
|
1368
|
+
/** One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to execute_swap to bind execution. */
|
|
1369
|
+
quotes: v1SwapQuoteV2[];
|
|
1370
|
+
};
|
|
1331
1371
|
export type v1CreateTvcAppIntent = {
|
|
1332
1372
|
/** The name of the new TVC application */
|
|
1333
1373
|
name: string;
|
|
@@ -1952,11 +1992,13 @@ export type v1DeleteUsersResult = {
|
|
|
1952
1992
|
/** A list of User IDs. */
|
|
1953
1993
|
userIds: string[];
|
|
1954
1994
|
};
|
|
1955
|
-
export type
|
|
1956
|
-
|
|
1995
|
+
export type v1DeleteVelocityControlsIntent = {
|
|
1996
|
+
/** List of 1 to 32 unique identifiers for Velocity Controls within an Organization. */
|
|
1997
|
+
velocityControlIds: string[];
|
|
1957
1998
|
};
|
|
1958
|
-
export type
|
|
1959
|
-
|
|
1999
|
+
export type v1DeleteVelocityControlsResult = {
|
|
2000
|
+
/** A list of unique identifiers for the deleted Velocity Controls. */
|
|
2001
|
+
velocityControlIds: string[];
|
|
1960
2002
|
};
|
|
1961
2003
|
export type v1DeleteWalletAccountsIntent = {
|
|
1962
2004
|
/** List of unique identifiers for wallet accounts within an organization */
|
|
@@ -2023,7 +2065,7 @@ export type v1DeploymentStatus = {
|
|
|
2023
2065
|
/** Last time this deployment was updated */
|
|
2024
2066
|
lastUpdatedTime: externaldatav1Timestamp;
|
|
2025
2067
|
/** Current quorum-key provisioning state for this deployment */
|
|
2026
|
-
provisioningState
|
|
2068
|
+
provisioningState: v1ProvisioningState;
|
|
2027
2069
|
};
|
|
2028
2070
|
export type v1DisableAuthProxyIntent = {};
|
|
2029
2071
|
export type v1DisableAuthProxyResult = {};
|
|
@@ -2039,7 +2081,7 @@ export type v1EarnClaimRewardsIntent = {
|
|
|
2039
2081
|
/** A Turnkey-managed wallet address the rewards are attributed to. The claim transaction is signed by this wallet and the Merkl Distributor transfers every reward token to it. */
|
|
2040
2082
|
signWith: string;
|
|
2041
2083
|
/** CAIP-2 chain to claim rewards on (e.g. 'eip155:8453'). Rewards accrue per chain; see ListEarnRewards. */
|
|
2042
|
-
|
|
2084
|
+
caip2: string;
|
|
2043
2085
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
2044
2086
|
sponsor?: boolean;
|
|
2045
2087
|
};
|
|
@@ -2060,7 +2102,7 @@ export type v1EarnDeployWrapperIntent = {
|
|
|
2060
2102
|
/** Address of the underlying yield vault to wrap (from the ListEarnVaults catalog). */
|
|
2061
2103
|
vaultAddress: string;
|
|
2062
2104
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
2063
|
-
|
|
2105
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2064
2106
|
/** Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
|
|
2065
2107
|
clientFeeBps: string;
|
|
2066
2108
|
/** The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
@@ -2091,7 +2133,7 @@ export type v1EarnDepositIntent = {
|
|
|
2091
2133
|
/** Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
|
|
2092
2134
|
assets: string;
|
|
2093
2135
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
2094
|
-
|
|
2136
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2095
2137
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
2096
2138
|
sponsor?: boolean;
|
|
2097
2139
|
};
|
|
@@ -2190,7 +2232,7 @@ export type v1EarnPositionDisplay = {
|
|
|
2190
2232
|
/** Total withdrawn in the asset's own units, for display only. */
|
|
2191
2233
|
totalWithdrawnCrypto?: string;
|
|
2192
2234
|
};
|
|
2193
|
-
export type v1EarnProvider = "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE";
|
|
2235
|
+
export type v1EarnProvider = "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE" | "EARN_PROVIDER_KAMINO";
|
|
2194
2236
|
export type v1EarnReward = {
|
|
2195
2237
|
/** CAIP-2 chain the reward is claimable on (e.g. 'eip155:8453'). */
|
|
2196
2238
|
caip2?: string;
|
|
@@ -2300,7 +2342,7 @@ export type v1EarnWithdrawIntent = {
|
|
|
2300
2342
|
/** A Wallet account address or Private Key address to withdraw to and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
|
|
2301
2343
|
signWith: string;
|
|
2302
2344
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
2303
|
-
|
|
2345
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2304
2346
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
2305
2347
|
sponsor?: boolean;
|
|
2306
2348
|
/** The amount of the underlying asset to withdraw, in raw on-chain units. Pass 'MAX' to withdraw the entire position. */
|
|
@@ -2677,12 +2719,12 @@ export type v1ExecuteSwapIntentV3 = {
|
|
|
2677
2719
|
destinationAddress?: string;
|
|
2678
2720
|
};
|
|
2679
2721
|
export type v1ExecuteSwapRequest = {
|
|
2680
|
-
type: "
|
|
2722
|
+
type: "ACTIVITY_TYPE_EXECUTE_SWAP_V3";
|
|
2681
2723
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2682
2724
|
timestampMs: string;
|
|
2683
2725
|
/** Unique identifier for a given Organization. */
|
|
2684
2726
|
organizationId: string;
|
|
2685
|
-
parameters:
|
|
2727
|
+
parameters: v1ExecuteSwapIntentV3;
|
|
2686
2728
|
generateAppProofs?: boolean;
|
|
2687
2729
|
};
|
|
2688
2730
|
export type v1ExecuteSwapResult = {
|
|
@@ -2788,8 +2830,8 @@ export type v1Feature = {
|
|
|
2788
2830
|
name?: v1FeatureName;
|
|
2789
2831
|
value?: string;
|
|
2790
2832
|
};
|
|
2791
|
-
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" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED" | "FEATURE_NAME_SWAP_CONFIG" | "FEATURE_NAME_EARN_CONFIG";
|
|
2792
|
-
export type v1FiatOnRampBlockchainNetwork = "
|
|
2833
|
+
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" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED" | "FEATURE_NAME_SWAP_CONFIG" | "FEATURE_NAME_EARN_CONFIG" | "FEATURE_NAME_SWAP_FEE_SPONSORSHIP" | "FEATURE_NAME_SWAP_FIXED_RATE";
|
|
2834
|
+
export type v1FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
|
|
2793
2835
|
export type v1FiatOnRampCredential = {
|
|
2794
2836
|
/** Unique identifier for a given Fiat On-Ramp Credential. */
|
|
2795
2837
|
fiatOnrampCredentialId: string;
|
|
@@ -2815,7 +2857,7 @@ export type v1FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_AUD" | "FIAT_ON_RAMP_C
|
|
|
2815
2857
|
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";
|
|
2816
2858
|
export type v1FiatOnRampProvider = "FIAT_ON_RAMP_PROVIDER_COINBASE" | "FIAT_ON_RAMP_PROVIDER_MOONPAY";
|
|
2817
2859
|
export type v1GetActivePoliciesRequest = {
|
|
2818
|
-
/** Unique identifier for a given
|
|
2860
|
+
/** Unique identifier for a given Organization. */
|
|
2819
2861
|
organizationId: string;
|
|
2820
2862
|
};
|
|
2821
2863
|
export type v1GetActivePoliciesResponse = {
|
|
@@ -2825,7 +2867,7 @@ export type v1GetActivePoliciesResponse = {
|
|
|
2825
2867
|
evaluatedAtMs: string;
|
|
2826
2868
|
};
|
|
2827
2869
|
export type v1GetActivitiesRequest = {
|
|
2828
|
-
/** Unique identifier for a given
|
|
2870
|
+
/** Unique identifier for a given Organization. */
|
|
2829
2871
|
organizationId: string;
|
|
2830
2872
|
/** Array of activity statuses filtering which activities will be listed in the response. */
|
|
2831
2873
|
filterByStatus?: v1ActivityStatus[];
|
|
@@ -2839,13 +2881,13 @@ export type v1GetActivitiesResponse = {
|
|
|
2839
2881
|
activities: v1Activity[];
|
|
2840
2882
|
};
|
|
2841
2883
|
export type v1GetActivityRequest = {
|
|
2842
|
-
/** Unique identifier for a given
|
|
2884
|
+
/** Unique identifier for a given Organization. */
|
|
2843
2885
|
organizationId: string;
|
|
2844
2886
|
/** Unique identifier for a given activity object. */
|
|
2845
2887
|
activityId: string;
|
|
2846
2888
|
};
|
|
2847
2889
|
export type v1GetApiKeyRequest = {
|
|
2848
|
-
/** Unique identifier for a given
|
|
2890
|
+
/** Unique identifier for a given Organization. */
|
|
2849
2891
|
organizationId: string;
|
|
2850
2892
|
/** Unique identifier for a given API key. */
|
|
2851
2893
|
apiKeyId: string;
|
|
@@ -2855,7 +2897,7 @@ export type v1GetApiKeyResponse = {
|
|
|
2855
2897
|
apiKey: v1ApiKey;
|
|
2856
2898
|
};
|
|
2857
2899
|
export type v1GetApiKeysRequest = {
|
|
2858
|
-
/** Unique identifier for a given
|
|
2900
|
+
/** Unique identifier for a given Organization. */
|
|
2859
2901
|
organizationId: string;
|
|
2860
2902
|
/** Unique identifier for a given user. */
|
|
2861
2903
|
userId?: string;
|
|
@@ -2884,7 +2926,7 @@ export type v1GetAppStatusResponse = {
|
|
|
2884
2926
|
appStatus: v1AppStatus;
|
|
2885
2927
|
};
|
|
2886
2928
|
export type v1GetAuthenticatorRequest = {
|
|
2887
|
-
/** Unique identifier for a given
|
|
2929
|
+
/** Unique identifier for a given Organization. */
|
|
2888
2930
|
organizationId: string;
|
|
2889
2931
|
/** Unique identifier for a given authenticator. */
|
|
2890
2932
|
authenticatorId: string;
|
|
@@ -2894,7 +2936,7 @@ export type v1GetAuthenticatorResponse = {
|
|
|
2894
2936
|
authenticator: v1Authenticator;
|
|
2895
2937
|
};
|
|
2896
2938
|
export type v1GetAuthenticatorsRequest = {
|
|
2897
|
-
/** Unique identifier for a given
|
|
2939
|
+
/** Unique identifier for a given Organization. */
|
|
2898
2940
|
organizationId: string;
|
|
2899
2941
|
/** Unique identifier for a given user. */
|
|
2900
2942
|
userId: string;
|
|
@@ -2992,7 +3034,7 @@ export type v1GetGasUsageResponse = {
|
|
|
2992
3034
|
usageUsd: string;
|
|
2993
3035
|
};
|
|
2994
3036
|
export type v1GetIpAllowlistRequest = {
|
|
2995
|
-
/** Unique identifier for a given
|
|
3037
|
+
/** Unique identifier for a given Organization. */
|
|
2996
3038
|
organizationId: string;
|
|
2997
3039
|
/** If provided, return only the allowlist for this specific API key. */
|
|
2998
3040
|
publicKey?: string;
|
|
@@ -3007,7 +3049,7 @@ export type v1GetLatestBootProofRequest = {
|
|
|
3007
3049
|
appName: string;
|
|
3008
3050
|
};
|
|
3009
3051
|
export type v1GetMfaPoliciesRequest = {
|
|
3010
|
-
/** Unique identifier for a given
|
|
3052
|
+
/** Unique identifier for a given Organization. */
|
|
3011
3053
|
organizationId: string;
|
|
3012
3054
|
/** Unique identifier for a given user. */
|
|
3013
3055
|
userId: string;
|
|
@@ -3017,7 +3059,7 @@ export type v1GetMfaPoliciesResponse = {
|
|
|
3017
3059
|
mfaPolicies: v1MfaPolicy[];
|
|
3018
3060
|
};
|
|
3019
3061
|
export type v1GetMfaPolicyRequest = {
|
|
3020
|
-
/** Unique identifier for a given
|
|
3062
|
+
/** Unique identifier for a given Organization. */
|
|
3021
3063
|
organizationId: string;
|
|
3022
3064
|
/** Unique identifier for a given user. */
|
|
3023
3065
|
userId: string;
|
|
@@ -3029,7 +3071,7 @@ export type v1GetMfaPolicyResponse = {
|
|
|
3029
3071
|
mfaPolicy: v1MfaPolicy;
|
|
3030
3072
|
};
|
|
3031
3073
|
export type v1GetMfaStatusRequest = {
|
|
3032
|
-
/** Unique identifier for a given
|
|
3074
|
+
/** Unique identifier for a given Organization. */
|
|
3033
3075
|
organizationId: string;
|
|
3034
3076
|
/** The unique identifier of the activity to get MFA status for. */
|
|
3035
3077
|
activityId: string;
|
|
@@ -3068,7 +3110,7 @@ export type v1GetOauth2CredentialResponse = {
|
|
|
3068
3110
|
oauth2Credential: v1Oauth2Credential;
|
|
3069
3111
|
};
|
|
3070
3112
|
export type v1GetOauthProvidersRequest = {
|
|
3071
|
-
/** Unique identifier for a given
|
|
3113
|
+
/** Unique identifier for a given Organization. */
|
|
3072
3114
|
organizationId: string;
|
|
3073
3115
|
/** Unique identifier for a given user. */
|
|
3074
3116
|
userId?: string;
|
|
@@ -3078,7 +3120,7 @@ export type v1GetOauthProvidersResponse = {
|
|
|
3078
3120
|
oauthProviders: v1OauthProvider[];
|
|
3079
3121
|
};
|
|
3080
3122
|
export type v1GetOnRampTransactionStatusRequest = {
|
|
3081
|
-
/** Unique identifier for a given
|
|
3123
|
+
/** Unique identifier for a given Organization. */
|
|
3082
3124
|
organizationId: string;
|
|
3083
3125
|
/** The unique identifier for the fiat on ramp transaction. */
|
|
3084
3126
|
transactionId: string;
|
|
@@ -3090,7 +3132,7 @@ export type v1GetOnRampTransactionStatusResponse = {
|
|
|
3090
3132
|
transactionStatus: string;
|
|
3091
3133
|
};
|
|
3092
3134
|
export type v1GetOrganizationConfigsRequest = {
|
|
3093
|
-
/** Unique identifier for a given
|
|
3135
|
+
/** Unique identifier for a given Organization. */
|
|
3094
3136
|
organizationId: string;
|
|
3095
3137
|
};
|
|
3096
3138
|
export type v1GetOrganizationConfigsResponse = {
|
|
@@ -3098,7 +3140,7 @@ export type v1GetOrganizationConfigsResponse = {
|
|
|
3098
3140
|
configs: v1Config;
|
|
3099
3141
|
};
|
|
3100
3142
|
export type v1GetPoliciesRequest = {
|
|
3101
|
-
/** Unique identifier for a given
|
|
3143
|
+
/** Unique identifier for a given Organization. */
|
|
3102
3144
|
organizationId: string;
|
|
3103
3145
|
};
|
|
3104
3146
|
export type v1GetPoliciesResponse = {
|
|
@@ -3106,7 +3148,7 @@ export type v1GetPoliciesResponse = {
|
|
|
3106
3148
|
policies: v1Policy[];
|
|
3107
3149
|
};
|
|
3108
3150
|
export type v1GetPolicyEvaluationsRequest = {
|
|
3109
|
-
/** Unique identifier for a given
|
|
3151
|
+
/** Unique identifier for a given Organization. */
|
|
3110
3152
|
organizationId: string;
|
|
3111
3153
|
/** Unique identifier for a given activity. */
|
|
3112
3154
|
activityId: string;
|
|
@@ -3115,7 +3157,7 @@ export type v1GetPolicyEvaluationsResponse = {
|
|
|
3115
3157
|
policyEvaluations: externalactivityv1PolicyEvaluation[];
|
|
3116
3158
|
};
|
|
3117
3159
|
export type v1GetPolicyRequest = {
|
|
3118
|
-
/** Unique identifier for a given
|
|
3160
|
+
/** Unique identifier for a given Organization. */
|
|
3119
3161
|
organizationId: string;
|
|
3120
3162
|
/** Unique identifier for a given policy. */
|
|
3121
3163
|
policyId: string;
|
|
@@ -3125,7 +3167,7 @@ export type v1GetPolicyResponse = {
|
|
|
3125
3167
|
policy: v1Policy;
|
|
3126
3168
|
};
|
|
3127
3169
|
export type v1GetPrivateKeyRequest = {
|
|
3128
|
-
/** Unique identifier for a given
|
|
3170
|
+
/** Unique identifier for a given Organization. */
|
|
3129
3171
|
organizationId: string;
|
|
3130
3172
|
/** Unique identifier for a given private key. */
|
|
3131
3173
|
privateKeyId: string;
|
|
@@ -3135,7 +3177,7 @@ export type v1GetPrivateKeyResponse = {
|
|
|
3135
3177
|
privateKey: v1PrivateKey;
|
|
3136
3178
|
};
|
|
3137
3179
|
export type v1GetPrivateKeysRequest = {
|
|
3138
|
-
/** Unique identifier for a given
|
|
3180
|
+
/** Unique identifier for a given Organization. */
|
|
3139
3181
|
organizationId: string;
|
|
3140
3182
|
};
|
|
3141
3183
|
export type v1GetPrivateKeysResponse = {
|
|
@@ -3143,7 +3185,7 @@ export type v1GetPrivateKeysResponse = {
|
|
|
3143
3185
|
privateKeys: v1PrivateKey[];
|
|
3144
3186
|
};
|
|
3145
3187
|
export type v1GetSendTransactionStatusRequest = {
|
|
3146
|
-
/** Unique identifier for a given
|
|
3188
|
+
/** Unique identifier for a given Organization. */
|
|
3147
3189
|
organizationId: string;
|
|
3148
3190
|
/** The unique identifier of a send transaction request. */
|
|
3149
3191
|
sendTransactionStatusId: string;
|
|
@@ -3161,7 +3203,7 @@ export type v1GetSendTransactionStatusResponse = {
|
|
|
3161
3203
|
error?: v1TxError;
|
|
3162
3204
|
};
|
|
3163
3205
|
export type v1GetSessionProfileRequest = {
|
|
3164
|
-
/** Unique identifier for a given
|
|
3206
|
+
/** Unique identifier for a given Organization. */
|
|
3165
3207
|
organizationId: string;
|
|
3166
3208
|
/** Unique identifier for a session profile. */
|
|
3167
3209
|
sessionProfileId: string;
|
|
@@ -3171,7 +3213,7 @@ export type v1GetSessionProfileResponse = {
|
|
|
3171
3213
|
sessionProfile: v1SessionProfile;
|
|
3172
3214
|
};
|
|
3173
3215
|
export type v1GetSessionProfilesRequest = {
|
|
3174
|
-
/** Unique identifier for a given
|
|
3216
|
+
/** Unique identifier for a given Organization. */
|
|
3175
3217
|
organizationId: string;
|
|
3176
3218
|
};
|
|
3177
3219
|
export type v1GetSessionProfilesResponse = {
|
|
@@ -3179,7 +3221,7 @@ export type v1GetSessionProfilesResponse = {
|
|
|
3179
3221
|
sessionProfiles: v1SessionProfile[];
|
|
3180
3222
|
};
|
|
3181
3223
|
export type v1GetSmartContractInterfaceRequest = {
|
|
3182
|
-
/** Unique identifier for a given
|
|
3224
|
+
/** Unique identifier for a given Organization. */
|
|
3183
3225
|
organizationId: string;
|
|
3184
3226
|
/** Unique identifier for a given smart contract interface. */
|
|
3185
3227
|
smartContractInterfaceId: string;
|
|
@@ -3189,7 +3231,7 @@ export type v1GetSmartContractInterfaceResponse = {
|
|
|
3189
3231
|
smartContractInterface: externaldatav1SmartContractInterface;
|
|
3190
3232
|
};
|
|
3191
3233
|
export type v1GetSmartContractInterfacesRequest = {
|
|
3192
|
-
/** Unique identifier for a given
|
|
3234
|
+
/** Unique identifier for a given Organization. */
|
|
3193
3235
|
organizationId: string;
|
|
3194
3236
|
};
|
|
3195
3237
|
export type v1GetSmartContractInterfacesResponse = {
|
|
@@ -3210,6 +3252,14 @@ export type v1GetSubOrgIdsResponse = {
|
|
|
3210
3252
|
/** List of unique identifiers for the matching sub-organizations. */
|
|
3211
3253
|
organizationIds: string[];
|
|
3212
3254
|
};
|
|
3255
|
+
export type v1GetSwapSponsorshipUsageRequest = {
|
|
3256
|
+
/** Unique identifier for a given organization. */
|
|
3257
|
+
organizationId: string;
|
|
3258
|
+
};
|
|
3259
|
+
export type v1GetSwapSponsorshipUsageResponse = {
|
|
3260
|
+
feeSponsorship: v1SwapSponsorshipFeature;
|
|
3261
|
+
fixedRate: v1SwapSponsorshipFeature;
|
|
3262
|
+
};
|
|
3213
3263
|
export type v1GetSwapStatusRequest = {
|
|
3214
3264
|
/** Unique identifier for a given Organization. */
|
|
3215
3265
|
organizationId: string;
|
|
@@ -3245,7 +3295,7 @@ export type v1GetSwapStatusResponse = {
|
|
|
3245
3295
|
destinationAddress?: string;
|
|
3246
3296
|
};
|
|
3247
3297
|
export type v1GetTvcAppDeploymentsRequest = {
|
|
3248
|
-
/** Unique identifier for a given
|
|
3298
|
+
/** Unique identifier for a given Organization. */
|
|
3249
3299
|
organizationId: string;
|
|
3250
3300
|
/** Unique identifier for a given TVC App. */
|
|
3251
3301
|
appId: string;
|
|
@@ -3255,7 +3305,7 @@ export type v1GetTvcAppDeploymentsResponse = {
|
|
|
3255
3305
|
tvcDeployments: v1TvcDeployment[];
|
|
3256
3306
|
};
|
|
3257
3307
|
export type v1GetTvcAppRequest = {
|
|
3258
|
-
/** Unique identifier for a given
|
|
3308
|
+
/** Unique identifier for a given Organization. */
|
|
3259
3309
|
organizationId: string;
|
|
3260
3310
|
/** Unique identifier for a given TVC App. */
|
|
3261
3311
|
tvcAppId: string;
|
|
@@ -3265,8 +3315,10 @@ export type v1GetTvcAppResponse = {
|
|
|
3265
3315
|
tvcApp: v1TvcApp;
|
|
3266
3316
|
};
|
|
3267
3317
|
export type v1GetTvcAppsRequest = {
|
|
3268
|
-
/** Unique identifier for a given
|
|
3318
|
+
/** Unique identifier for a given Organization. */
|
|
3269
3319
|
organizationId: string;
|
|
3320
|
+
/** Filter TVC Apps by whether they have a live deployment. If omitted, all TVC Apps are returned. */
|
|
3321
|
+
isLive?: boolean;
|
|
3270
3322
|
};
|
|
3271
3323
|
export type v1GetTvcAppsResponse = {
|
|
3272
3324
|
/** A list of TVC Apps. */
|
|
@@ -3298,10 +3350,10 @@ export type v1GetTvcDeploymentProvisioningDetailsResponse = {
|
|
|
3298
3350
|
/** The manifest envelope containing the TVC deployment's manifest and signatures. Present only when a deployment is awaiting provisioning. */
|
|
3299
3351
|
manifestEnvelope?: string;
|
|
3300
3352
|
/** Current provisioning state. */
|
|
3301
|
-
provisioningState
|
|
3353
|
+
provisioningState: v1ProvisioningState;
|
|
3302
3354
|
};
|
|
3303
3355
|
export type v1GetTvcDeploymentRequest = {
|
|
3304
|
-
/** Unique identifier for a given
|
|
3356
|
+
/** Unique identifier for a given Organization. */
|
|
3305
3357
|
organizationId: string;
|
|
3306
3358
|
/** Unique identifier for a given TVC Deployment. */
|
|
3307
3359
|
deploymentId: string;
|
|
@@ -3311,7 +3363,7 @@ export type v1GetTvcDeploymentResponse = {
|
|
|
3311
3363
|
tvcDeployment: v1TvcDeployment;
|
|
3312
3364
|
};
|
|
3313
3365
|
export type v1GetTvcOperatorsRequest = {
|
|
3314
|
-
/** Unique identifier for a given
|
|
3366
|
+
/** Unique identifier for a given Organization. */
|
|
3315
3367
|
organizationId: string;
|
|
3316
3368
|
};
|
|
3317
3369
|
export type v1GetTvcOperatorsResponse = {
|
|
@@ -3328,14 +3380,14 @@ export type v1GetTvcQosVersionsResponse = {
|
|
|
3328
3380
|
latestVersion: string;
|
|
3329
3381
|
};
|
|
3330
3382
|
export type v1GetTvcQuorumKeysRequest = {
|
|
3331
|
-
/** Unique identifier for a given
|
|
3383
|
+
/** Unique identifier for a given Organization. */
|
|
3332
3384
|
organizationId: string;
|
|
3333
3385
|
};
|
|
3334
3386
|
export type v1GetTvcQuorumKeysResponse = {
|
|
3335
3387
|
tvcQuorumKeys: v1TvcQuorumKey[];
|
|
3336
3388
|
};
|
|
3337
3389
|
export type v1GetUserRequest = {
|
|
3338
|
-
/** Unique identifier for a given
|
|
3390
|
+
/** Unique identifier for a given Organization. */
|
|
3339
3391
|
organizationId: string;
|
|
3340
3392
|
/** Unique identifier for a given user. */
|
|
3341
3393
|
userId: string;
|
|
@@ -3345,7 +3397,7 @@ export type v1GetUserResponse = {
|
|
|
3345
3397
|
user: v1User;
|
|
3346
3398
|
};
|
|
3347
3399
|
export type v1GetUsersRequest = {
|
|
3348
|
-
/** Unique identifier for a given
|
|
3400
|
+
/** Unique identifier for a given Organization. */
|
|
3349
3401
|
organizationId: string;
|
|
3350
3402
|
};
|
|
3351
3403
|
export type v1GetUsersResponse = {
|
|
@@ -3355,7 +3407,7 @@ export type v1GetUsersResponse = {
|
|
|
3355
3407
|
export type v1GetVerifiedSubOrgIdsRequest = {
|
|
3356
3408
|
/** Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
3357
3409
|
organizationId: string;
|
|
3358
|
-
/** Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER'
|
|
3410
|
+
/** Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', or 'PUBLIC_KEY' */
|
|
3359
3411
|
filterType?: string;
|
|
3360
3412
|
/** The value of the filter to apply for the specified type. For example, a specific email or phone number string. */
|
|
3361
3413
|
filterValue?: string;
|
|
@@ -3367,7 +3419,7 @@ export type v1GetVerifiedSubOrgIdsResponse = {
|
|
|
3367
3419
|
organizationIds: string[];
|
|
3368
3420
|
};
|
|
3369
3421
|
export type v1GetWalletAccountRequest = {
|
|
3370
|
-
/** Unique identifier for a given
|
|
3422
|
+
/** Unique identifier for a given Organization. */
|
|
3371
3423
|
organizationId: string;
|
|
3372
3424
|
/** Unique identifier for a given wallet. */
|
|
3373
3425
|
walletId: string;
|
|
@@ -3381,7 +3433,7 @@ export type v1GetWalletAccountResponse = {
|
|
|
3381
3433
|
account: v1WalletAccount;
|
|
3382
3434
|
};
|
|
3383
3435
|
export type v1GetWalletAccountsRequest = {
|
|
3384
|
-
/** Unique identifier for a given
|
|
3436
|
+
/** Unique identifier for a given Organization. */
|
|
3385
3437
|
organizationId: string;
|
|
3386
3438
|
/** Unique identifier for a given wallet. If not provided, all accounts for the organization will be returned. */
|
|
3387
3439
|
walletId?: string;
|
|
@@ -3395,7 +3447,7 @@ export type v1GetWalletAccountsResponse = {
|
|
|
3395
3447
|
accounts: v1WalletAccount[];
|
|
3396
3448
|
};
|
|
3397
3449
|
export type v1GetWalletAddressBalancesRequest = {
|
|
3398
|
-
/** Unique identifier for a given
|
|
3450
|
+
/** Unique identifier for a given Organization. */
|
|
3399
3451
|
organizationId: string;
|
|
3400
3452
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
3401
3453
|
address: string;
|
|
@@ -3407,7 +3459,7 @@ export type v1GetWalletAddressBalancesResponse = {
|
|
|
3407
3459
|
balances?: v1AssetBalance[];
|
|
3408
3460
|
};
|
|
3409
3461
|
export type v1GetWalletRequest = {
|
|
3410
|
-
/** Unique identifier for a given
|
|
3462
|
+
/** Unique identifier for a given Organization. */
|
|
3411
3463
|
organizationId: string;
|
|
3412
3464
|
/** Unique identifier for a given wallet. */
|
|
3413
3465
|
walletId: string;
|
|
@@ -3417,7 +3469,7 @@ export type v1GetWalletResponse = {
|
|
|
3417
3469
|
wallet: v1Wallet;
|
|
3418
3470
|
};
|
|
3419
3471
|
export type v1GetWalletsRequest = {
|
|
3420
|
-
/** Unique identifier for a given
|
|
3472
|
+
/** Unique identifier for a given Organization. */
|
|
3421
3473
|
organizationId: string;
|
|
3422
3474
|
};
|
|
3423
3475
|
export type v1GetWalletsResponse = {
|
|
@@ -3429,7 +3481,7 @@ export type v1GetWhoamiRequest = {
|
|
|
3429
3481
|
organizationId: string;
|
|
3430
3482
|
};
|
|
3431
3483
|
export type v1GetWhoamiResponse = {
|
|
3432
|
-
/** Unique identifier for a given
|
|
3484
|
+
/** Unique identifier for a given Organization. */
|
|
3433
3485
|
organizationId: string;
|
|
3434
3486
|
/** Human-readable name for an organization. */
|
|
3435
3487
|
organizationName: string;
|
|
@@ -3990,12 +4042,16 @@ export type v1Intent = {
|
|
|
3990
4042
|
importSecretsIntent?: v1ImportSecretsIntent;
|
|
3991
4043
|
exportSecretsIntent?: v1ExportSecretsIntent;
|
|
3992
4044
|
createVelocityControlIntent?: v1CreateVelocityControlIntent;
|
|
3993
|
-
|
|
4045
|
+
deleteVelocityControlsIntent?: v1DeleteVelocityControlsIntent;
|
|
3994
4046
|
updatePaymentMethodIntent?: billingUpdatePaymentMethodIntent;
|
|
3995
4047
|
createSwapQuoteIntentV2?: v1CreateSwapQuoteIntentV2;
|
|
3996
4048
|
executeSwapIntentV3?: v1ExecuteSwapIntentV3;
|
|
3997
4049
|
deleteSecretsIntent?: v1DeleteSecretsIntent;
|
|
3998
4050
|
earnClaimRewardsIntent?: v1EarnClaimRewardsIntent;
|
|
4051
|
+
createSwapQuoteIntentV3?: v1CreateSwapQuoteIntentV3;
|
|
4052
|
+
upsertSwapFeeSponsorshipLimitConfigIntent?: v1UpsertSwapFeeSponsorshipLimitConfigIntent;
|
|
4053
|
+
upsertSwapFixedRateLimitConfigIntent?: v1UpsertSwapFixedRateLimitConfigIntent;
|
|
4054
|
+
createFiatOnRampSessionIntent?: v1CreateFiatOnRampSessionIntent;
|
|
3999
4055
|
};
|
|
4000
4056
|
export type v1InvitationParams = {
|
|
4001
4057
|
/** The name of the intended Invitation recipient. */
|
|
@@ -4106,7 +4162,7 @@ export type v1ListEmailEventsResponse = {
|
|
|
4106
4162
|
emailEvents: v1EmailEvent[];
|
|
4107
4163
|
};
|
|
4108
4164
|
export type v1ListEthTransactionHistoryRequest = {
|
|
4109
|
-
/** Unique identifier for a given
|
|
4165
|
+
/** Unique identifier for a given Organization. */
|
|
4110
4166
|
organizationId: string;
|
|
4111
4167
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4112
4168
|
address: string;
|
|
@@ -4135,7 +4191,7 @@ export type v1ListOauth2CredentialsResponse = {
|
|
|
4135
4191
|
oauth2Credentials: v1Oauth2Credential[];
|
|
4136
4192
|
};
|
|
4137
4193
|
export type v1ListPrivateKeyTagsRequest = {
|
|
4138
|
-
/** Unique identifier for a given
|
|
4194
|
+
/** Unique identifier for a given Organization. */
|
|
4139
4195
|
organizationId: string;
|
|
4140
4196
|
};
|
|
4141
4197
|
export type v1ListPrivateKeyTagsResponse = {
|
|
@@ -4153,7 +4209,7 @@ export type v1ListSecretsResponse = {
|
|
|
4153
4209
|
secrets: v1SecretMetadata[];
|
|
4154
4210
|
};
|
|
4155
4211
|
export type v1ListSolTransactionHistoryRequest = {
|
|
4156
|
-
/** Unique identifier for a given
|
|
4212
|
+
/** Unique identifier for a given Organization. */
|
|
4157
4213
|
organizationId: string;
|
|
4158
4214
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4159
4215
|
address: string;
|
|
@@ -4168,7 +4224,7 @@ export type v1ListSolTransactionHistoryResponse = {
|
|
|
4168
4224
|
pageInfo?: v1PageInfo;
|
|
4169
4225
|
};
|
|
4170
4226
|
export type v1ListSupportedAssetsRequest = {
|
|
4171
|
-
/** Unique identifier for a given
|
|
4227
|
+
/** Unique identifier for a given Organization. */
|
|
4172
4228
|
organizationId: string;
|
|
4173
4229
|
/** 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. */
|
|
4174
4230
|
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
@@ -4178,7 +4234,7 @@ export type v1ListSupportedAssetsResponse = {
|
|
|
4178
4234
|
assets?: v1AssetMetadata[];
|
|
4179
4235
|
};
|
|
4180
4236
|
export type v1ListUserTagsRequest = {
|
|
4181
|
-
/** Unique identifier for a given
|
|
4237
|
+
/** Unique identifier for a given Organization. */
|
|
4182
4238
|
organizationId: string;
|
|
4183
4239
|
};
|
|
4184
4240
|
export type v1ListUserTagsResponse = {
|
|
@@ -4777,10 +4833,14 @@ export type v1Result = {
|
|
|
4777
4833
|
importSecretsResult?: v1ImportSecretsResult;
|
|
4778
4834
|
exportSecretsResult?: v1ExportSecretsResult;
|
|
4779
4835
|
createVelocityControlResult?: v1CreateVelocityControlResult;
|
|
4780
|
-
|
|
4836
|
+
deleteVelocityControlsResult?: v1DeleteVelocityControlsResult;
|
|
4781
4837
|
updatePaymentMethodResult?: billingUpdatePaymentMethodResult;
|
|
4782
4838
|
deleteSecretsResult?: v1DeleteSecretsResult;
|
|
4783
4839
|
earnClaimRewardsResult?: v1EarnClaimRewardsResult;
|
|
4840
|
+
createSwapQuoteResultV2?: v1CreateSwapQuoteResultV2;
|
|
4841
|
+
upsertSwapFeeSponsorshipLimitConfigResult?: v1UpsertSwapFeeSponsorshipLimitConfigResult;
|
|
4842
|
+
upsertSwapFixedRateLimitConfigResult?: v1UpsertSwapFixedRateLimitConfigResult;
|
|
4843
|
+
createFiatOnRampSessionResult?: v1CreateFiatOnRampSessionResult;
|
|
4784
4844
|
};
|
|
4785
4845
|
export type v1RevertChainEntry = {
|
|
4786
4846
|
/** The contract address where the revert occurred. */
|
|
@@ -4950,6 +5010,8 @@ export type v1SignRawPayloadIntentV2 = {
|
|
|
4950
5010
|
encoding: v1PayloadEncoding;
|
|
4951
5011
|
/** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
4952
5012
|
hashFunction: v1HashFunction;
|
|
5013
|
+
/** The public key of the external signer to use for signing the payload. */
|
|
5014
|
+
externalSignerPubkey?: string;
|
|
4953
5015
|
};
|
|
4954
5016
|
export type v1SignRawPayloadRequest = {
|
|
4955
5017
|
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2";
|
|
@@ -4961,11 +5023,11 @@ export type v1SignRawPayloadRequest = {
|
|
|
4961
5023
|
generateAppProofs?: boolean;
|
|
4962
5024
|
};
|
|
4963
5025
|
export type v1SignRawPayloadResult = {
|
|
4964
|
-
/** Component of
|
|
5026
|
+
/** Component of a cryptographic signature, meaning varies based on signing scheme. */
|
|
4965
5027
|
r: string;
|
|
4966
|
-
/** Component of
|
|
5028
|
+
/** Component of a cryptographic signature, meaning varies based on signing scheme. */
|
|
4967
5029
|
s: string;
|
|
4968
|
-
/**
|
|
5030
|
+
/** Recovery ID for ECDSA signatures, "00" otherwise. */
|
|
4969
5031
|
v: string;
|
|
4970
5032
|
};
|
|
4971
5033
|
export type v1SignRawPayloadsIntent = {
|
|
@@ -4977,6 +5039,8 @@ export type v1SignRawPayloadsIntent = {
|
|
|
4977
5039
|
encoding: v1PayloadEncoding;
|
|
4978
5040
|
/** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
4979
5041
|
hashFunction: v1HashFunction;
|
|
5042
|
+
/** The public key of the external signer to use for signing the payloads. */
|
|
5043
|
+
externalSignerPubkey?: string;
|
|
4980
5044
|
};
|
|
4981
5045
|
export type v1SignRawPayloadsRequest = {
|
|
4982
5046
|
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS";
|
|
@@ -5003,6 +5067,8 @@ export type v1SignTransactionIntentV2 = {
|
|
|
5003
5067
|
/** Raw unsigned transaction to be signed */
|
|
5004
5068
|
unsignedTransaction: string;
|
|
5005
5069
|
type: v1TransactionType;
|
|
5070
|
+
/** The public key of the external signer to use for signing this transaction. */
|
|
5071
|
+
externalSignerPubkey?: string;
|
|
5006
5072
|
};
|
|
5007
5073
|
export type v1SignTransactionRequest = {
|
|
5008
5074
|
type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2";
|
|
@@ -5385,6 +5451,30 @@ export type v1SwapQuote = {
|
|
|
5385
5451
|
/** Provider-estimated completion time in seconds, when available. */
|
|
5386
5452
|
estimatedTimeSeconds?: string;
|
|
5387
5453
|
};
|
|
5454
|
+
export type v1SwapQuoteV2 = {
|
|
5455
|
+
/** Identifier for this provider quote. Pass this value to execute_swap_v2 to bind execution to this exact quote. The signer is derived from the quote; clients do not resupply sign_with on execute. */
|
|
5456
|
+
quoteId: string;
|
|
5457
|
+
/** Swap provider that produced this quote. */
|
|
5458
|
+
provider: string;
|
|
5459
|
+
/** Estimated base-unit amount of the output asset. */
|
|
5460
|
+
outputAmount: string;
|
|
5461
|
+
/** Minimum acceptable base-unit amount of the output asset after slippage. */
|
|
5462
|
+
minOutputAmount: string;
|
|
5463
|
+
/** Quote expiration as a millisecond epoch string. */
|
|
5464
|
+
expiresAt: string;
|
|
5465
|
+
/** Effective total slippage tolerance in basis points for this quote, taken from the provider response when present. When the request omits input slippage_bps, the provider may calculate this value. */
|
|
5466
|
+
slippageBps?: string;
|
|
5467
|
+
/** Client fee in basis points applied for this pair. Informational only; already reflected in output_amount and min_output_amount. */
|
|
5468
|
+
clientFeeBps: string;
|
|
5469
|
+
/** Provider-estimated completion time in seconds, when available. */
|
|
5470
|
+
estimatedTimeSeconds?: string;
|
|
5471
|
+
/** Whether Turnkey pays the provider fees for this quote. */
|
|
5472
|
+
feeSponsorship: boolean;
|
|
5473
|
+
/** Whether this quote uses a 1:1 fixed rate. */
|
|
5474
|
+
fixedRate: boolean;
|
|
5475
|
+
/** Estimated USD adjustment for the fixed rate. Present only for fixed-rate quotes. Positive is a cost billed to you; negative is an earning credited against your transaction management charges at the end of the billing period. Informational; the final amount is settled after execution. */
|
|
5476
|
+
estimatedFixedRateAdjustmentUsd?: string;
|
|
5477
|
+
};
|
|
5388
5478
|
export type v1SwapRefund = {
|
|
5389
5479
|
/** CAIP-19 asset returned by the swap provider after a failed cross-chain fill. */
|
|
5390
5480
|
asset: string;
|
|
@@ -5393,6 +5483,26 @@ export type v1SwapRefund = {
|
|
|
5393
5483
|
/** Transaction that delivered the provider refund, when applicable. */
|
|
5394
5484
|
txHash?: string;
|
|
5395
5485
|
};
|
|
5486
|
+
export type v1SwapSpendingWindow = {
|
|
5487
|
+
/** Rolling window duration in minutes. */
|
|
5488
|
+
windowDurationMinutes: number;
|
|
5489
|
+
/** The parent's window limit, or the per-child limit when queried by a sub-organization. */
|
|
5490
|
+
windowLimitUsd: string;
|
|
5491
|
+
/** Settled spending in the current window. Fixed-rate earnings offset fixed-rate costs, and usage never goes below zero. Fixed-rate usage stays zero until final fixed-rate costs are recorded. */
|
|
5492
|
+
usageUsd: string;
|
|
5493
|
+
/** Remaining spending capacity, clamped to zero. For children, also capped by remaining parent capacity. Zero when the window is disabled. This is not a reservation or a guarantee of feature eligibility. */
|
|
5494
|
+
remainingUsd: string;
|
|
5495
|
+
/** Whether the saved spending window permits new swaps. */
|
|
5496
|
+
enabled: boolean;
|
|
5497
|
+
/** Configured per-child limit. Returned only when querying the billing parent. */
|
|
5498
|
+
subOrgWindowLimitUsd?: string;
|
|
5499
|
+
};
|
|
5500
|
+
export type v1SwapSponsorshipFeature = {
|
|
5501
|
+
/** Whether the billing parent holds this feature's signed permission. Quotes can use the feature only when it is permitted and its window is enabled. */
|
|
5502
|
+
permitted: boolean;
|
|
5503
|
+
/** Absent until the billing parent saves a spending window. */
|
|
5504
|
+
window?: v1SwapSpendingWindow;
|
|
5505
|
+
};
|
|
5396
5506
|
export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
5397
5507
|
export type v1TokenUsage = {
|
|
5398
5508
|
/** Type of token usage */
|
|
@@ -6052,6 +6162,7 @@ export type v1UpsertGasUsageConfigResult = {
|
|
|
6052
6162
|
gasUsageConfigId: string;
|
|
6053
6163
|
};
|
|
6054
6164
|
export type v1UpsertSwapConfigIntent = {
|
|
6165
|
+
/** Organization-owned wallet account that receives swap fees. Required when fee_bps is set. Omit together with fee_bps to clear swap fees. */
|
|
6055
6166
|
feeReceiverWalletAddress?: string;
|
|
6056
6167
|
/** Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
|
|
6057
6168
|
feeBps?: string;
|
|
@@ -6072,6 +6183,50 @@ export type v1UpsertSwapConfigResult = {
|
|
|
6072
6183
|
feeBps?: string;
|
|
6073
6184
|
stableFeeBps?: string;
|
|
6074
6185
|
};
|
|
6186
|
+
export type v1UpsertSwapFeeSponsorshipLimitConfigIntent = {
|
|
6187
|
+
/** Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
|
|
6188
|
+
orgWindowLimitUsd: string;
|
|
6189
|
+
/** Positive USD limit for each sub-organization, no greater than the parent limit. */
|
|
6190
|
+
subOrgWindowLimitUsd: string;
|
|
6191
|
+
/** Positive rolling window duration in minutes, at most 153722867. */
|
|
6192
|
+
windowDurationMinutes: string;
|
|
6193
|
+
/** Whether this spending window permits new swaps. Setting false only turns the saved window off and keeps its limits; it doesn't require the signed permission. This does not grant or remove the signed organization permission. */
|
|
6194
|
+
enabled: boolean;
|
|
6195
|
+
};
|
|
6196
|
+
export type v1UpsertSwapFeeSponsorshipLimitConfigRequest = {
|
|
6197
|
+
type: "ACTIVITY_TYPE_UPSERT_SWAP_FEE_SPONSORSHIP_LIMIT_CONFIG";
|
|
6198
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
6199
|
+
timestampMs: string;
|
|
6200
|
+
/** Unique identifier for a given Organization. */
|
|
6201
|
+
organizationId: string;
|
|
6202
|
+
parameters: v1UpsertSwapFeeSponsorshipLimitConfigIntent;
|
|
6203
|
+
};
|
|
6204
|
+
export type v1UpsertSwapFeeSponsorshipLimitConfigResult = {
|
|
6205
|
+
/** Unique identifier of the organization the limit config was saved for. */
|
|
6206
|
+
organizationId: string;
|
|
6207
|
+
};
|
|
6208
|
+
export type v1UpsertSwapFixedRateLimitConfigIntent = {
|
|
6209
|
+
/** Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
|
|
6210
|
+
orgWindowLimitUsd: string;
|
|
6211
|
+
/** Positive USD limit for each sub-organization, no greater than the parent limit. */
|
|
6212
|
+
subOrgWindowLimitUsd: string;
|
|
6213
|
+
/** Positive rolling window duration in minutes, at most 153722867. */
|
|
6214
|
+
windowDurationMinutes: string;
|
|
6215
|
+
/** Whether this spending window permits new swaps. Setting false only turns the saved window off and keeps its limits; it doesn't require the signed permission. This does not grant or remove the signed organization permission. */
|
|
6216
|
+
enabled: boolean;
|
|
6217
|
+
};
|
|
6218
|
+
export type v1UpsertSwapFixedRateLimitConfigRequest = {
|
|
6219
|
+
type: "ACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG";
|
|
6220
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
6221
|
+
timestampMs: string;
|
|
6222
|
+
/** Unique identifier for a given Organization. */
|
|
6223
|
+
organizationId: string;
|
|
6224
|
+
parameters: v1UpsertSwapFixedRateLimitConfigIntent;
|
|
6225
|
+
};
|
|
6226
|
+
export type v1UpsertSwapFixedRateLimitConfigResult = {
|
|
6227
|
+
/** Unique identifier of the organization the limit config was saved for. */
|
|
6228
|
+
organizationId: string;
|
|
6229
|
+
};
|
|
6075
6230
|
export type v1UsageType = "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
6076
6231
|
export type v1User = {
|
|
6077
6232
|
/** Unique identifier for a given User. */
|
|
@@ -6197,8 +6352,8 @@ export type v1VelocityControlAggregationWindow = {
|
|
|
6197
6352
|
};
|
|
6198
6353
|
export type v1VelocityControlAggregationWindowInfinite = {};
|
|
6199
6354
|
export type v1VelocityControlAggregationWindowRolling = {
|
|
6200
|
-
/** Duration of the rolling window, in seconds
|
|
6201
|
-
duration:
|
|
6355
|
+
/** Duration of the rolling window, in seconds. */
|
|
6356
|
+
duration: number;
|
|
6202
6357
|
};
|
|
6203
6358
|
export type v1VelocityControlDataSource = {
|
|
6204
6359
|
/** Uses transfers of the listed on-chain assets as input data. */
|
|
@@ -6225,8 +6380,8 @@ export type v1VelocityControlDataSourceChainAssetTransfer = {
|
|
|
6225
6380
|
export type v1VelocityControlDataSourceChainAssetTransferDefinition = {
|
|
6226
6381
|
/** CAIP-19 identifier for the asset. */
|
|
6227
6382
|
caip19: string;
|
|
6228
|
-
/**
|
|
6229
|
-
decimals:
|
|
6383
|
+
/** Integer between 0 and 255 (inclusive) that specifies the number of decimal places for the asset. */
|
|
6384
|
+
decimals: number;
|
|
6230
6385
|
};
|
|
6231
6386
|
export type v1VelocityControlDataSourceChainAssetTransferFilter = {
|
|
6232
6387
|
/** Activity types whose asset transfers are included. */
|
|
@@ -6773,6 +6928,16 @@ export type TGetSmartContractInterfaceBody = {
|
|
|
6773
6928
|
export type TGetSmartContractInterfaceInput = {
|
|
6774
6929
|
body: TGetSmartContractInterfaceBody;
|
|
6775
6930
|
};
|
|
6931
|
+
export type TGetSwapSponsorshipUsageResponse = {
|
|
6932
|
+
feeSponsorship: v1SwapSponsorshipFeature;
|
|
6933
|
+
fixedRate: v1SwapSponsorshipFeature;
|
|
6934
|
+
};
|
|
6935
|
+
export type TGetSwapSponsorshipUsageBody = {
|
|
6936
|
+
organizationId?: string;
|
|
6937
|
+
};
|
|
6938
|
+
export type TGetSwapSponsorshipUsageInput = {
|
|
6939
|
+
body: TGetSwapSponsorshipUsageBody;
|
|
6940
|
+
};
|
|
6776
6941
|
export type TGetSwapStatusResponse = {
|
|
6777
6942
|
/** Normalized swap status. One of PENDING, COMPLETED, FAILED. */
|
|
6778
6943
|
status: string;
|
|
@@ -6855,7 +7020,7 @@ export type TGetTvcDeploymentProvisioningDetailsResponse = {
|
|
|
6855
7020
|
/** The manifest envelope containing the TVC deployment's manifest and signatures. Present only when a deployment is awaiting provisioning. */
|
|
6856
7021
|
manifestEnvelope?: string;
|
|
6857
7022
|
/** Current provisioning state. */
|
|
6858
|
-
provisioningState
|
|
7023
|
+
provisioningState: v1ProvisioningState;
|
|
6859
7024
|
};
|
|
6860
7025
|
export type TGetTvcDeploymentProvisioningDetailsBody = {
|
|
6861
7026
|
organizationId?: string;
|
|
@@ -7184,6 +7349,8 @@ export type TGetTvcAppsResponse = {
|
|
|
7184
7349
|
};
|
|
7185
7350
|
export type TGetTvcAppsBody = {
|
|
7186
7351
|
organizationId?: string;
|
|
7352
|
+
/** Filter TVC Apps by whether they have a live deployment. If omitted, all TVC Apps are returned. */
|
|
7353
|
+
isLive?: boolean;
|
|
7187
7354
|
};
|
|
7188
7355
|
export type TGetTvcAppsInput = {
|
|
7189
7356
|
body: TGetTvcAppsBody;
|
|
@@ -7232,7 +7399,7 @@ export type TGetVerifiedSubOrgIdsResponse = {
|
|
|
7232
7399
|
};
|
|
7233
7400
|
export type TGetVerifiedSubOrgIdsBody = {
|
|
7234
7401
|
organizationId?: string;
|
|
7235
|
-
/** Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER'
|
|
7402
|
+
/** Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', or 'PUBLIC_KEY' */
|
|
7236
7403
|
filterType?: string;
|
|
7237
7404
|
/** The value of the filter to apply for the specified type. For example, a specific email or phone number string. */
|
|
7238
7405
|
filterValue?: string;
|
|
@@ -7292,7 +7459,7 @@ export type TValidateTvcImageInput = {
|
|
|
7292
7459
|
body: TValidateTvcImageBody;
|
|
7293
7460
|
};
|
|
7294
7461
|
export type TGetWhoamiResponse = {
|
|
7295
|
-
/** Unique identifier for a given
|
|
7462
|
+
/** Unique identifier for a given Organization. */
|
|
7296
7463
|
organizationId: string;
|
|
7297
7464
|
/** Human-readable name for an organization. */
|
|
7298
7465
|
organizationName: string;
|
|
@@ -7551,6 +7718,8 @@ export type TCreatePrivateKeysBody = {
|
|
|
7551
7718
|
organizationId?: string;
|
|
7552
7719
|
/** A list of Private Keys. */
|
|
7553
7720
|
privateKeys: v1PrivateKeyParams[];
|
|
7721
|
+
/** The public key of the external signer to use for creating the private keys. */
|
|
7722
|
+
externalSignerPubkey?: string;
|
|
7554
7723
|
generateAppProofs?: boolean;
|
|
7555
7724
|
};
|
|
7556
7725
|
export type TCreatePrivateKeysInput = {
|
|
@@ -7690,8 +7859,8 @@ export type TCreateSubOrganizationInput = {
|
|
|
7690
7859
|
};
|
|
7691
7860
|
export type TCreateSwapQuoteResponse = {
|
|
7692
7861
|
activity: v1Activity;
|
|
7693
|
-
/** One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to
|
|
7694
|
-
quotes:
|
|
7862
|
+
/** One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to execute_swap to bind execution. */
|
|
7863
|
+
quotes: v1SwapQuoteV2[];
|
|
7695
7864
|
};
|
|
7696
7865
|
export type TCreateSwapQuoteBody = {
|
|
7697
7866
|
timestampMs?: string;
|
|
@@ -7708,6 +7877,10 @@ export type TCreateSwapQuoteBody = {
|
|
|
7708
7877
|
slippageBps?: string;
|
|
7709
7878
|
/** Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
7710
7879
|
destinationAddress?: string;
|
|
7880
|
+
/** When true, Turnkey pays the provider fees for this swap and invoices them to the billing parent organization. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
|
|
7881
|
+
feeSponsorship?: boolean;
|
|
7882
|
+
/** When true, requests a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false. */
|
|
7883
|
+
fixedRate?: boolean;
|
|
7711
7884
|
generateAppProofs?: boolean;
|
|
7712
7885
|
};
|
|
7713
7886
|
export type TCreateSwapQuoteInput = {
|
|
@@ -8298,7 +8471,7 @@ export type TEarnClaimRewardsBody = {
|
|
|
8298
8471
|
/** A Turnkey-managed wallet address the rewards are attributed to. The claim transaction is signed by this wallet and the Merkl Distributor transfers every reward token to it. */
|
|
8299
8472
|
signWith: string;
|
|
8300
8473
|
/** CAIP-2 chain to claim rewards on (e.g. 'eip155:8453'). Rewards accrue per chain; see ListEarnRewards. */
|
|
8301
|
-
|
|
8474
|
+
caip2: string;
|
|
8302
8475
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
8303
8476
|
sponsor?: boolean;
|
|
8304
8477
|
generateAppProofs?: boolean;
|
|
@@ -8321,7 +8494,7 @@ export type TEarnDeployWrapperBody = {
|
|
|
8321
8494
|
/** Address of the underlying yield vault to wrap (from the ListEarnVaults catalog). */
|
|
8322
8495
|
vaultAddress: string;
|
|
8323
8496
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
8324
|
-
|
|
8497
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
8325
8498
|
/** Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
|
|
8326
8499
|
clientFeeBps: string;
|
|
8327
8500
|
/** The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
@@ -8346,7 +8519,7 @@ export type TEarnDepositBody = {
|
|
|
8346
8519
|
/** Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
|
|
8347
8520
|
assets: string;
|
|
8348
8521
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
8349
|
-
|
|
8522
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
8350
8523
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
8351
8524
|
sponsor?: boolean;
|
|
8352
8525
|
generateAppProofs?: boolean;
|
|
@@ -8386,7 +8559,7 @@ export type TEarnWithdrawBody = {
|
|
|
8386
8559
|
/** A Wallet account address or Private Key address to withdraw to and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
|
|
8387
8560
|
signWith: string;
|
|
8388
8561
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
8389
|
-
|
|
8562
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
8390
8563
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
8391
8564
|
sponsor?: boolean;
|
|
8392
8565
|
/** The amount of the underlying asset to withdraw, in raw on-chain units. Pass 'MAX' to withdraw the entire position. */
|
|
@@ -9112,11 +9285,11 @@ export type TUpdateTvcAppLiveDeploymentInput = {
|
|
|
9112
9285
|
};
|
|
9113
9286
|
export type TSignRawPayloadResponse = {
|
|
9114
9287
|
activity: v1Activity;
|
|
9115
|
-
/** Component of
|
|
9288
|
+
/** Component of a cryptographic signature, meaning varies based on signing scheme. */
|
|
9116
9289
|
r: string;
|
|
9117
|
-
/** Component of
|
|
9290
|
+
/** Component of a cryptographic signature, meaning varies based on signing scheme. */
|
|
9118
9291
|
s: string;
|
|
9119
|
-
/**
|
|
9292
|
+
/** Recovery ID for ECDSA signatures, "00" otherwise. */
|
|
9120
9293
|
v: string;
|
|
9121
9294
|
};
|
|
9122
9295
|
export type TSignRawPayloadBody = {
|
|
@@ -9130,6 +9303,8 @@ export type TSignRawPayloadBody = {
|
|
|
9130
9303
|
encoding: v1PayloadEncoding;
|
|
9131
9304
|
/** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
9132
9305
|
hashFunction: v1HashFunction;
|
|
9306
|
+
/** The public key of the external signer to use for signing the payload. */
|
|
9307
|
+
externalSignerPubkey?: string;
|
|
9133
9308
|
generateAppProofs?: boolean;
|
|
9134
9309
|
};
|
|
9135
9310
|
export type TSignRawPayloadInput = {
|
|
@@ -9150,6 +9325,8 @@ export type TSignRawPayloadsBody = {
|
|
|
9150
9325
|
encoding: v1PayloadEncoding;
|
|
9151
9326
|
/** Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
9152
9327
|
hashFunction: v1HashFunction;
|
|
9328
|
+
/** The public key of the external signer to use for signing the payloads. */
|
|
9329
|
+
externalSignerPubkey?: string;
|
|
9153
9330
|
generateAppProofs?: boolean;
|
|
9154
9331
|
};
|
|
9155
9332
|
export type TSignRawPayloadsInput = {
|
|
@@ -9167,6 +9344,8 @@ export type TSignTransactionBody = {
|
|
|
9167
9344
|
/** Raw unsigned transaction to be signed */
|
|
9168
9345
|
unsignedTransaction: string;
|
|
9169
9346
|
type: v1TransactionType;
|
|
9347
|
+
/** The public key of the external signer to use for signing this transaction. */
|
|
9348
|
+
externalSignerPubkey?: string;
|
|
9170
9349
|
generateAppProofs?: boolean;
|
|
9171
9350
|
};
|
|
9172
9351
|
export type TSignTransactionInput = {
|
|
@@ -9565,6 +9744,7 @@ export type TUpsertSwapConfigResponse = {
|
|
|
9565
9744
|
export type TUpsertSwapConfigBody = {
|
|
9566
9745
|
timestampMs?: string;
|
|
9567
9746
|
organizationId?: string;
|
|
9747
|
+
/** Organization-owned wallet account that receives swap fees. Required when fee_bps is set. Omit together with fee_bps to clear swap fees. */
|
|
9568
9748
|
feeReceiverWalletAddress?: string;
|
|
9569
9749
|
/** Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
|
|
9570
9750
|
feeBps?: string;
|
|
@@ -9575,6 +9755,46 @@ export type TUpsertSwapConfigBody = {
|
|
|
9575
9755
|
export type TUpsertSwapConfigInput = {
|
|
9576
9756
|
body: TUpsertSwapConfigBody;
|
|
9577
9757
|
};
|
|
9758
|
+
export type TUpsertSwapFeeSponsorshipLimitConfigResponse = {
|
|
9759
|
+
activity: v1Activity;
|
|
9760
|
+
/** Unique identifier of the organization the limit config was saved for. */
|
|
9761
|
+
organizationId: string;
|
|
9762
|
+
};
|
|
9763
|
+
export type TUpsertSwapFeeSponsorshipLimitConfigBody = {
|
|
9764
|
+
timestampMs?: string;
|
|
9765
|
+
organizationId?: string;
|
|
9766
|
+
/** Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
|
|
9767
|
+
orgWindowLimitUsd: string;
|
|
9768
|
+
/** Positive USD limit for each sub-organization, no greater than the parent limit. */
|
|
9769
|
+
subOrgWindowLimitUsd: string;
|
|
9770
|
+
/** Positive rolling window duration in minutes, at most 153722867. */
|
|
9771
|
+
windowDurationMinutes: string;
|
|
9772
|
+
/** Whether this spending window permits new swaps. Setting false only turns the saved window off and keeps its limits; it doesn't require the signed permission. This does not grant or remove the signed organization permission. */
|
|
9773
|
+
enabled: boolean;
|
|
9774
|
+
};
|
|
9775
|
+
export type TUpsertSwapFeeSponsorshipLimitConfigInput = {
|
|
9776
|
+
body: TUpsertSwapFeeSponsorshipLimitConfigBody;
|
|
9777
|
+
};
|
|
9778
|
+
export type TUpsertSwapFixedRateLimitConfigResponse = {
|
|
9779
|
+
activity: v1Activity;
|
|
9780
|
+
/** Unique identifier of the organization the limit config was saved for. */
|
|
9781
|
+
organizationId: string;
|
|
9782
|
+
};
|
|
9783
|
+
export type TUpsertSwapFixedRateLimitConfigBody = {
|
|
9784
|
+
timestampMs?: string;
|
|
9785
|
+
organizationId?: string;
|
|
9786
|
+
/** Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
|
|
9787
|
+
orgWindowLimitUsd: string;
|
|
9788
|
+
/** Positive USD limit for each sub-organization, no greater than the parent limit. */
|
|
9789
|
+
subOrgWindowLimitUsd: string;
|
|
9790
|
+
/** Positive rolling window duration in minutes, at most 153722867. */
|
|
9791
|
+
windowDurationMinutes: string;
|
|
9792
|
+
/** Whether this spending window permits new swaps. Setting false only turns the saved window off and keeps its limits; it doesn't require the signed permission. This does not grant or remove the signed organization permission. */
|
|
9793
|
+
enabled: boolean;
|
|
9794
|
+
};
|
|
9795
|
+
export type TUpsertSwapFixedRateLimitConfigInput = {
|
|
9796
|
+
body: TUpsertSwapFixedRateLimitConfigBody;
|
|
9797
|
+
};
|
|
9578
9798
|
export type TVerifyOtpResponse = {
|
|
9579
9799
|
activity: v1Activity;
|
|
9580
9800
|
/** Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
@@ -9715,6 +9935,8 @@ export type TSolSendTransactionV2Input = {
|
|
|
9715
9935
|
};
|
|
9716
9936
|
export type ProxyTGetAccountResponse = {
|
|
9717
9937
|
organizationId?: string;
|
|
9938
|
+
/** True when the organization was matched by verified email and the OIDC token is not yet a registered identity on it. */
|
|
9939
|
+
requiresSocialLinking?: boolean;
|
|
9718
9940
|
};
|
|
9719
9941
|
export type ProxyTGetAccountBody = {
|
|
9720
9942
|
/** Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN' or 'PUBLIC_KEY' */
|
|
@@ -9725,6 +9947,8 @@ export type ProxyTGetAccountBody = {
|
|
|
9725
9947
|
verificationToken?: string;
|
|
9726
9948
|
/** OIDC token to verify access to PII (email/phone number) when filter_type is 'EMAIL' or 'PHONE_NUMBER'. Needed for social linking when verification_token is not available. */
|
|
9727
9949
|
oidcToken?: string;
|
|
9950
|
+
/** Whether to include requires_social_linking in the response. Only applies when filter_type is 'OIDC_TOKEN'. */
|
|
9951
|
+
includeRequiresSocialLinking?: boolean;
|
|
9728
9952
|
};
|
|
9729
9953
|
export type ProxyTGetAccountInput = {
|
|
9730
9954
|
body: ProxyTGetAccountBody;
|