@turnkey/sdk-types 1.3.0 → 1.4.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.
|
@@ -490,7 +490,7 @@ export type v1ActivityResponse = {
|
|
|
490
490
|
activity: v1Activity;
|
|
491
491
|
};
|
|
492
492
|
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";
|
|
493
|
-
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";
|
|
493
|
+
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";
|
|
494
494
|
export type v1ApiKey = {
|
|
495
495
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
496
496
|
credential: externaldatav1Credential;
|
|
@@ -565,6 +565,8 @@ export type v1AssetMetadata = {
|
|
|
565
565
|
logoUrl?: string;
|
|
566
566
|
/** The asset name */
|
|
567
567
|
name?: string;
|
|
568
|
+
/** Whether this asset is on Turnkey's stablecoin list (used for stablepair swap fee pricing). */
|
|
569
|
+
stable?: boolean;
|
|
568
570
|
};
|
|
569
571
|
export type v1AuthenticationMethod = {
|
|
570
572
|
/** The type of authenticator (e.g., AUTHENTICATION_TYPE_EMAIL, AUTHENTICATION_TYPE_SESSION) required for this MFA step. */
|
|
@@ -653,6 +655,15 @@ export type v1ClaimEarnFeesResult = {
|
|
|
653
655
|
claimRequestId: string;
|
|
654
656
|
};
|
|
655
657
|
export type v1ClaimSwapFeesIntent = {};
|
|
658
|
+
export type v1ClaimSwapFeesRequest = {
|
|
659
|
+
type: "ACTIVITY_TYPE_CLAIM_SWAP_FEES";
|
|
660
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
661
|
+
timestampMs: string;
|
|
662
|
+
/** Unique identifier for a given Organization. */
|
|
663
|
+
organizationId: string;
|
|
664
|
+
parameters: v1ClaimSwapFeesIntent;
|
|
665
|
+
generateAppProofs?: boolean;
|
|
666
|
+
};
|
|
656
667
|
export type v1ClaimSwapFeesResult = {
|
|
657
668
|
/** Relay claim request ID submitted through the permit endpoint. */
|
|
658
669
|
requestId: string;
|
|
@@ -909,6 +920,8 @@ export type v1CreatePolicyIntentV3 = {
|
|
|
909
920
|
consensus?: string;
|
|
910
921
|
/** Notes for a Policy. */
|
|
911
922
|
notes: string;
|
|
923
|
+
/** The time expression that triggers the Effect */
|
|
924
|
+
time?: string;
|
|
912
925
|
};
|
|
913
926
|
export type v1CreatePolicyRequest = {
|
|
914
927
|
type: "ACTIVITY_TYPE_CREATE_POLICY_V3";
|
|
@@ -1252,6 +1265,22 @@ export type v1CreateSubOrganizationResultV8 = {
|
|
|
1252
1265
|
wallet?: v1WalletResult;
|
|
1253
1266
|
rootUserIds?: string[];
|
|
1254
1267
|
};
|
|
1268
|
+
export type v1CreateSwapQuoteIntent = {
|
|
1269
|
+
/** Wallet account or Private Key address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
1270
|
+
signWith: string;
|
|
1271
|
+
/** CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
1272
|
+
inputToken: string;
|
|
1273
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
1274
|
+
outputToken: string;
|
|
1275
|
+
/** Base-unit amount of the input asset. */
|
|
1276
|
+
inputAmount: string;
|
|
1277
|
+
/** 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. */
|
|
1278
|
+
slippageBps?: string;
|
|
1279
|
+
};
|
|
1280
|
+
export type v1CreateSwapQuoteResult = {
|
|
1281
|
+
/** 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. */
|
|
1282
|
+
quotes: v1SwapQuote[];
|
|
1283
|
+
};
|
|
1255
1284
|
export type v1CreateTvcAppIntent = {
|
|
1256
1285
|
/** The name of the new TVC application */
|
|
1257
1286
|
name: string;
|
|
@@ -1287,6 +1316,12 @@ export type v1CreateTvcAppResult = {
|
|
|
1287
1316
|
manifestSetOperatorIds: string[];
|
|
1288
1317
|
/** The required number of approvals for the manifest set */
|
|
1289
1318
|
manifestSetThreshold: number;
|
|
1319
|
+
/** The unique identifier for the TVC share set */
|
|
1320
|
+
shareSetId: string;
|
|
1321
|
+
/** The unique identifiers of the share set operators */
|
|
1322
|
+
shareSetOperatorIds: string[];
|
|
1323
|
+
/** The required number of approvals for the share set */
|
|
1324
|
+
shareSetThreshold: number;
|
|
1290
1325
|
};
|
|
1291
1326
|
export type v1CreateTvcDeploymentIntent = {
|
|
1292
1327
|
/** The unique identifier of the to-be-deployed TVC application */
|
|
@@ -1899,7 +1934,7 @@ export type v1EarnDeployWrapperIntent = {
|
|
|
1899
1934
|
vaultAddress: string;
|
|
1900
1935
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
1901
1936
|
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
1902
|
-
/** Your
|
|
1937
|
+
/** Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
|
|
1903
1938
|
clientFeeBps: string;
|
|
1904
1939
|
/** The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
1905
1940
|
clientFeeWallet: string;
|
|
@@ -1955,15 +1990,15 @@ export type v1EarnEnabledVault = {
|
|
|
1955
1990
|
provider?: v1EarnProvider;
|
|
1956
1991
|
/** CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
|
|
1957
1992
|
caip19?: string;
|
|
1958
|
-
/** Gross annual percentage yield, expressed as a decimal fraction (before
|
|
1993
|
+
/** Gross annual percentage yield, expressed as a decimal fraction (before fees). */
|
|
1959
1994
|
apyPct?: string;
|
|
1960
1995
|
/** Total deposited through this wrapper (wrapper TVL), in raw on-chain units of the underlying asset. */
|
|
1961
1996
|
totalDeposited?: string;
|
|
1962
1997
|
/** Normalized total-deposited values for display only (usd + crypto). Do not do arithmetic with these; use total_deposited instead. */
|
|
1963
1998
|
display?: v1EarnValueDisplay;
|
|
1964
|
-
/** Annual percentage yield net of
|
|
1999
|
+
/** Annual percentage yield net of fees, expressed as a decimal fraction. */
|
|
1965
2000
|
netApyPct?: string;
|
|
1966
|
-
/** Client
|
|
2001
|
+
/** Client fee taken on yield, in basis points. */
|
|
1967
2002
|
clientFeeBps?: string;
|
|
1968
2003
|
/** When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
|
|
1969
2004
|
depositsDisabled?: boolean;
|
|
@@ -1971,10 +2006,12 @@ export type v1EarnEnabledVault = {
|
|
|
1971
2006
|
name?: string;
|
|
1972
2007
|
/** Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
|
|
1973
2008
|
curator?: string;
|
|
1974
|
-
/** The client's claimable
|
|
2009
|
+
/** The client's claimable fee (releasable now), in raw on-chain units of the underlying asset (the caip19 asset). Turnkey's fee is excluded. Only returned to the parent org; unset when a sub-org queries. */
|
|
1975
2010
|
claimableClientFee?: string;
|
|
1976
2011
|
/** Normalized claimable_client_fee for display only (usd + crypto). Do not do arithmetic with these; use claimable_client_fee. Unset when a sub-org queries. */
|
|
1977
2012
|
claimableClientFeeDisplay?: v1EarnValueDisplay;
|
|
2013
|
+
/** The wallet address that receives the client's fee payouts on-chain. Unset when a sub-org queries. */
|
|
2014
|
+
clientFeeWallet?: string;
|
|
1978
2015
|
};
|
|
1979
2016
|
export type v1EarnPosition = {
|
|
1980
2017
|
/** Address of the underlying yield vault. */
|
|
@@ -2228,6 +2265,8 @@ export type v1EmailEventDetails = {
|
|
|
2228
2265
|
deliveryProcessingTimeMillis?: string;
|
|
2229
2266
|
/** Delay type for DeliveryDelay events */
|
|
2230
2267
|
deliveryDelayType?: string;
|
|
2268
|
+
/** Feedback type for Complaint events */
|
|
2269
|
+
complaintFeedbackType?: string;
|
|
2231
2270
|
};
|
|
2232
2271
|
export type v1EnableAuthProxyIntent = {};
|
|
2233
2272
|
export type v1EnableAuthProxyResult = {
|
|
@@ -2299,7 +2338,7 @@ export type v1EthSendTransactionIntentV2 = {
|
|
|
2299
2338
|
maxPriorityFeePerGas?: string;
|
|
2300
2339
|
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2301
2340
|
deadline?: string;
|
|
2302
|
-
/** The gas station delegate contract nonce.
|
|
2341
|
+
/** The gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored transactions and non-sponsored multi-call batches. Omit to auto-fetch. Use the nonces endpoint for replay protection. */
|
|
2303
2342
|
gasStationNonce?: string;
|
|
2304
2343
|
/** Ordered list of calls to execute. Must contain between 1 and 50 entries. A single entry with sponsor=false uses EIP-1559; multiple entries use EIP-7702 batch execution via Gas Station. */
|
|
2305
2344
|
calls: v1EthCallParams[];
|
|
@@ -2345,6 +2384,33 @@ export type v1EthTransactionHistoryItem = {
|
|
|
2345
2384
|
/** Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
2346
2385
|
turnkey?: v1TransactionHistoryTurnkey;
|
|
2347
2386
|
};
|
|
2387
|
+
export type v1EthUndelegate7702Intent = {
|
|
2388
|
+
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
2389
|
+
from: string;
|
|
2390
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2391
|
+
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:421614";
|
|
2392
|
+
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
2393
|
+
nonce?: string;
|
|
2394
|
+
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
2395
|
+
gasLimit?: string;
|
|
2396
|
+
/** Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
|
|
2397
|
+
maxFeePerGas?: string;
|
|
2398
|
+
/** Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
|
|
2399
|
+
maxPriorityFeePerGas?: string;
|
|
2400
|
+
};
|
|
2401
|
+
export type v1EthUndelegate7702Request = {
|
|
2402
|
+
type: "ACTIVITY_TYPE_ETH_UNDELEGATE_7702";
|
|
2403
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2404
|
+
timestampMs: string;
|
|
2405
|
+
/** Unique identifier for a given Organization. */
|
|
2406
|
+
organizationId: string;
|
|
2407
|
+
parameters: v1EthUndelegate7702Intent;
|
|
2408
|
+
generateAppProofs?: boolean;
|
|
2409
|
+
};
|
|
2410
|
+
export type v1EthUndelegate7702Result = {
|
|
2411
|
+
/** The send_transaction_status ID associated with the undelegation transaction submission */
|
|
2412
|
+
sendTransactionStatusId: string;
|
|
2413
|
+
};
|
|
2348
2414
|
export type v1ExecuteSwapIntent = {
|
|
2349
2415
|
/** CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
2350
2416
|
inputToken: string;
|
|
@@ -2358,14 +2424,36 @@ export type v1ExecuteSwapIntent = {
|
|
|
2358
2424
|
sponsor?: boolean;
|
|
2359
2425
|
/** Maximum allowed slippage in basis points. */
|
|
2360
2426
|
slippage?: string;
|
|
2361
|
-
/** Swap provider to execute with, as returned by
|
|
2427
|
+
/** Swap provider to execute with, as returned by create_swap_quote. When omitted, execution uses the default provider. */
|
|
2362
2428
|
provider?: string;
|
|
2363
2429
|
/** Minimum acceptable base-unit amount of the output asset. Execution fails if the swap provider's quoted minimum output falls below this floor at execution time. */
|
|
2364
2430
|
minOutputAmount: string;
|
|
2365
2431
|
};
|
|
2432
|
+
export type v1ExecuteSwapIntentV2 = {
|
|
2433
|
+
/** Quote identifier returned by create_swap_quote. Execution is bound to this quote; the signer is derived from the quote and must not be resupplied. */
|
|
2434
|
+
quoteId: string;
|
|
2435
|
+
/** CAIP-19 asset ID for the input asset. */
|
|
2436
|
+
inputToken: string;
|
|
2437
|
+
/** Exact base-unit amount of the input asset committed by the quote. */
|
|
2438
|
+
inputAmount: string;
|
|
2439
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
2440
|
+
outputToken: string;
|
|
2441
|
+
/** Exact quoted base-unit output amount committed by the quote. */
|
|
2442
|
+
quotedOutputAmount: string;
|
|
2443
|
+
/** Exact minimum base-unit output committed by the quote. */
|
|
2444
|
+
minOutputAmount: string;
|
|
2445
|
+
/** Whether the quoted transaction is sponsored. */
|
|
2446
|
+
sponsor: boolean;
|
|
2447
|
+
/** Exact EVM sender (EOA account) nonce. Valid only for a non-sponsored EVM swap. Honored for already-delegated (Type-2) batch swaps and single-call swaps; ignored for not-yet-delegated EIP-7702 (Type-4) batches where the outer nonce is derived from the authorization. Prefer gas_station_nonce for batch replay protection and use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
2448
|
+
evmNonce?: string;
|
|
2449
|
+
/** Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
|
|
2450
|
+
recentBlockhash?: string;
|
|
2451
|
+
/** Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
2452
|
+
gasStationNonce?: string;
|
|
2453
|
+
};
|
|
2366
2454
|
export type v1ExecuteSwapResult = {
|
|
2367
|
-
/**
|
|
2368
|
-
|
|
2455
|
+
/** Identifier to poll swap status via GetSwapStatus. */
|
|
2456
|
+
swapRequestId: string;
|
|
2369
2457
|
/** Swap provider used to build the transaction. */
|
|
2370
2458
|
provider?: string;
|
|
2371
2459
|
/** Quote identifier used for execution, if any. */
|
|
@@ -2551,6 +2639,20 @@ export type v1GetBootProofRequest = {
|
|
|
2551
2639
|
/** Hex encoded ephemeral public key. */
|
|
2552
2640
|
ephemeralKey: string;
|
|
2553
2641
|
};
|
|
2642
|
+
export type v1GetClaimEarnFeesStatusRequest = {
|
|
2643
|
+
/** Unique identifier for a given Organization. */
|
|
2644
|
+
organizationId: string;
|
|
2645
|
+
/** The claim_request_id returned by ClaimEarnFees. */
|
|
2646
|
+
claimRequestId: string;
|
|
2647
|
+
};
|
|
2648
|
+
export type v1GetClaimEarnFeesStatusResponse = {
|
|
2649
|
+
/** Status of the fee claim. */
|
|
2650
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
2651
|
+
/** Transaction hash of the fee claim, once available. */
|
|
2652
|
+
claimTxHash?: string;
|
|
2653
|
+
/** Reason the fee claim transaction failed, when status is FAILED. */
|
|
2654
|
+
error?: string;
|
|
2655
|
+
};
|
|
2554
2656
|
export type v1GetEarnDeployStatusRequest = {
|
|
2555
2657
|
/** Unique identifier for a given Organization. */
|
|
2556
2658
|
organizationId: string;
|
|
@@ -2617,7 +2719,7 @@ export type v1GetIpAllowlistResponse = {
|
|
|
2617
2719
|
export type v1GetLatestBootProofRequest = {
|
|
2618
2720
|
/** Unique identifier for a given Organization. */
|
|
2619
2721
|
organizationId: string;
|
|
2620
|
-
/**
|
|
2722
|
+
/** Unique identifier (UUID) of the enclave app. */
|
|
2621
2723
|
appName: string;
|
|
2622
2724
|
};
|
|
2623
2725
|
export type v1GetMfaPoliciesRequest = {
|
|
@@ -2824,6 +2926,38 @@ export type v1GetSubOrgIdsResponse = {
|
|
|
2824
2926
|
/** List of unique identifiers for the matching sub-organizations. */
|
|
2825
2927
|
organizationIds: string[];
|
|
2826
2928
|
};
|
|
2929
|
+
export type v1GetSwapStatusRequest = {
|
|
2930
|
+
/** Unique identifier for a given Organization. */
|
|
2931
|
+
organizationId: string;
|
|
2932
|
+
/** The swap_request_id returned by ExecuteSwap. */
|
|
2933
|
+
swapRequestId: string;
|
|
2934
|
+
};
|
|
2935
|
+
export type v1GetSwapStatusResponse = {
|
|
2936
|
+
/** Normalized swap status. One of PENDING, COMPLETED, FAILED. */
|
|
2937
|
+
status: string;
|
|
2938
|
+
/** SAME_CHAIN or CROSS_CHAIN. */
|
|
2939
|
+
swapKind: string;
|
|
2940
|
+
/** Swap provider that executed the swap. */
|
|
2941
|
+
provider: string;
|
|
2942
|
+
/** CAIP-19 asset ID for the input asset. */
|
|
2943
|
+
inputToken: string;
|
|
2944
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
2945
|
+
outputToken: string;
|
|
2946
|
+
/** Base-unit amount of the input asset. */
|
|
2947
|
+
inputAmount: string;
|
|
2948
|
+
/** Final included origin-chain transaction hash, when known. */
|
|
2949
|
+
originTxHash?: string;
|
|
2950
|
+
/** Provider-reported destination-chain transaction hashes; cross-chain COMPLETED only. */
|
|
2951
|
+
destinationTxHashes?: string[];
|
|
2952
|
+
/** Actual base-unit output amount on COMPLETED, when known. Unset on FAILED. */
|
|
2953
|
+
outputAmount?: string;
|
|
2954
|
+
/** Asset and amount returned to the user after a failed swap, when recoverable. Present only on FAILED. */
|
|
2955
|
+
refund?: v1SwapRefund;
|
|
2956
|
+
/** Timestamp of the last swap status change, as millisecond epoch string. */
|
|
2957
|
+
updatedAt: string;
|
|
2958
|
+
/** Normalized failure details, present whenever status is FAILED. */
|
|
2959
|
+
error?: v1SwapError;
|
|
2960
|
+
};
|
|
2827
2961
|
export type v1GetTvcAppDeploymentsRequest = {
|
|
2828
2962
|
/** Unique identifier for a given organization. */
|
|
2829
2963
|
organizationId: string;
|
|
@@ -2942,7 +3076,7 @@ export type v1GetWalletAddressBalancesRequest = {
|
|
|
2942
3076
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
2943
3077
|
address: string;
|
|
2944
3078
|
/** 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. */
|
|
2945
|
-
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3079
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2946
3080
|
};
|
|
2947
3081
|
export type v1GetWalletAddressBalancesResponse = {
|
|
2948
3082
|
/** List of asset balances */
|
|
@@ -3489,6 +3623,10 @@ export type v1Intent = {
|
|
|
3489
3623
|
claimSwapFeesIntent?: v1ClaimSwapFeesIntent;
|
|
3490
3624
|
earnSetWrapperStateIntent?: v1EarnSetWrapperStateIntent;
|
|
3491
3625
|
claimEarnFeesIntent?: v1ClaimEarnFeesIntent;
|
|
3626
|
+
updateWalletAccountNameIntent?: v1UpdateWalletAccountNameIntent;
|
|
3627
|
+
ethUndelegate7702Intent?: v1EthUndelegate7702Intent;
|
|
3628
|
+
executeSwapIntentV2?: v1ExecuteSwapIntentV2;
|
|
3629
|
+
createSwapQuoteIntent?: v1CreateSwapQuoteIntent;
|
|
3492
3630
|
};
|
|
3493
3631
|
export type v1InvitationParams = {
|
|
3494
3632
|
/** The name of the intended Invitation recipient. */
|
|
@@ -3561,8 +3699,10 @@ export type v1ListEarnVaultsRequest = {
|
|
|
3561
3699
|
paginationOptions?: v1Pagination;
|
|
3562
3700
|
};
|
|
3563
3701
|
export type v1ListEarnVaultsResponse = {
|
|
3564
|
-
/** The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass
|
|
3702
|
+
/** The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass page_info.end_cursor as the pagination after cursor. */
|
|
3565
3703
|
vaults?: v1EarnVault[];
|
|
3704
|
+
/** Pagination metadata for the returned page. Pass end_cursor as the next request's after cursor (or start_cursor as the before cursor) to page through the catalog. Cursors are opaque; do not parse them. */
|
|
3705
|
+
pageInfo?: v1PageInfo;
|
|
3566
3706
|
};
|
|
3567
3707
|
export type v1ListEmailEventsRequest = {
|
|
3568
3708
|
/** Unique identifier for a given organization */
|
|
@@ -3636,7 +3776,7 @@ export type v1ListSupportedAssetsRequest = {
|
|
|
3636
3776
|
/** Unique identifier for a given organization. */
|
|
3637
3777
|
organizationId: string;
|
|
3638
3778
|
/** 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. */
|
|
3639
|
-
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:
|
|
3779
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3640
3780
|
};
|
|
3641
3781
|
export type v1ListSupportedAssetsResponse = {
|
|
3642
3782
|
/** List of asset metadata */
|
|
@@ -3881,7 +4021,13 @@ export type v1OtpLoginResult = {
|
|
|
3881
4021
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
3882
4022
|
session: string;
|
|
3883
4023
|
};
|
|
3884
|
-
export type v1Outcome = "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS";
|
|
4024
|
+
export type v1Outcome = "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS" | "OUTCOME_TIME_INACTIVE";
|
|
4025
|
+
export type v1PageInfo = {
|
|
4026
|
+
hasNextPage?: boolean;
|
|
4027
|
+
hasPreviousPage?: boolean;
|
|
4028
|
+
startCursor?: string;
|
|
4029
|
+
endCursor?: string;
|
|
4030
|
+
};
|
|
3885
4031
|
export type v1Pagination = {
|
|
3886
4032
|
/** A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
|
|
3887
4033
|
limit?: string;
|
|
@@ -3906,6 +4052,8 @@ export type v1Policy = {
|
|
|
3906
4052
|
consensus: string;
|
|
3907
4053
|
/** A condition expression that evalutes to true or false. */
|
|
3908
4054
|
condition: string;
|
|
4055
|
+
/** A time expression that evalutes to true or false. */
|
|
4056
|
+
time?: string;
|
|
3909
4057
|
};
|
|
3910
4058
|
export type v1PostTvcQuorumKeyShareIntent = {
|
|
3911
4059
|
/** Unique identifier of the TVC deployment receiving quorum key share */
|
|
@@ -4210,6 +4358,9 @@ export type v1Result = {
|
|
|
4210
4358
|
claimSwapFeesResult?: v1ClaimSwapFeesResult;
|
|
4211
4359
|
earnSetWrapperStateResult?: v1EarnSetWrapperStateResult;
|
|
4212
4360
|
claimEarnFeesResult?: v1ClaimEarnFeesResult;
|
|
4361
|
+
updateWalletAccountNameResult?: v1UpdateWalletAccountNameResult;
|
|
4362
|
+
ethUndelegate7702Result?: v1EthUndelegate7702Result;
|
|
4363
|
+
createSwapQuoteResult?: v1CreateSwapQuoteResult;
|
|
4213
4364
|
};
|
|
4214
4365
|
export type v1RevertChainEntry = {
|
|
4215
4366
|
/** The contract address where the revert occurred. */
|
|
@@ -4774,6 +4925,40 @@ export type v1StampLoginResult = {
|
|
|
4774
4925
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
4775
4926
|
session: string;
|
|
4776
4927
|
};
|
|
4928
|
+
export type v1SwapError = {
|
|
4929
|
+
/** Stable machine-readable failure reason. One of ORIGIN_TRANSACTION_FAILED or PROVIDER_FILL_FAILED. */
|
|
4930
|
+
reason: string;
|
|
4931
|
+
/** Human-readable description of the swap failure. */
|
|
4932
|
+
message: string;
|
|
4933
|
+
/** Origin-chain transaction failure details, present when reason is ORIGIN_TRANSACTION_FAILED and details are available. */
|
|
4934
|
+
originTxError?: v1TxError;
|
|
4935
|
+
};
|
|
4936
|
+
export type v1SwapQuote = {
|
|
4937
|
+
/** 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. */
|
|
4938
|
+
quoteId: string;
|
|
4939
|
+
/** Swap provider that produced this quote. */
|
|
4940
|
+
provider: string;
|
|
4941
|
+
/** Estimated base-unit amount of the output asset. */
|
|
4942
|
+
outputAmount: string;
|
|
4943
|
+
/** Minimum acceptable base-unit amount of the output asset after slippage. */
|
|
4944
|
+
minOutputAmount: string;
|
|
4945
|
+
/** Quote expiration as a millisecond epoch string. */
|
|
4946
|
+
expiresAt: string;
|
|
4947
|
+
/** Provider-neutral maximum allowed slippage in basis points, echoed from the quote request when set. */
|
|
4948
|
+
slippageBps?: string;
|
|
4949
|
+
/** Client fee in basis points applied for this pair. Informational only; already reflected in output_amount and min_output_amount. */
|
|
4950
|
+
clientFeeBps: string;
|
|
4951
|
+
/** Provider-estimated completion time in seconds, when available. */
|
|
4952
|
+
estimatedTimeSeconds?: string;
|
|
4953
|
+
};
|
|
4954
|
+
export type v1SwapRefund = {
|
|
4955
|
+
/** CAIP-19 asset returned to the user after a failed swap. */
|
|
4956
|
+
asset: string;
|
|
4957
|
+
/** Base-unit amount of the refunded asset. */
|
|
4958
|
+
amount: string;
|
|
4959
|
+
/** Transaction that delivered the refunded funds, when applicable. */
|
|
4960
|
+
txHash?: string;
|
|
4961
|
+
};
|
|
4777
4962
|
export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
4778
4963
|
export type v1TokenUsage = {
|
|
4779
4964
|
/** Type of token usage */
|
|
@@ -5176,6 +5361,8 @@ export type v1UpdatePolicyIntentV2 = {
|
|
|
5176
5361
|
policyConsensus?: string;
|
|
5177
5362
|
/** Accompanying notes for a Policy (optional). */
|
|
5178
5363
|
policyNotes?: string;
|
|
5364
|
+
/** The time expression that triggers the Effect (optional). */
|
|
5365
|
+
time?: string;
|
|
5179
5366
|
};
|
|
5180
5367
|
export type v1UpdatePolicyRequest = {
|
|
5181
5368
|
type: "ACTIVITY_TYPE_UPDATE_POLICY_V2";
|
|
@@ -5356,6 +5543,16 @@ export type v1UpdateUserTagResult = {
|
|
|
5356
5543
|
/** Unique identifier for a given User Tag. */
|
|
5357
5544
|
userTagId: string;
|
|
5358
5545
|
};
|
|
5546
|
+
export type v1UpdateWalletAccountNameIntent = {
|
|
5547
|
+
/** Unique identifier for a given Wallet Account. */
|
|
5548
|
+
walletAccountId: string;
|
|
5549
|
+
/** Human-readable name for this Wallet Account. */
|
|
5550
|
+
name: string;
|
|
5551
|
+
};
|
|
5552
|
+
export type v1UpdateWalletAccountNameResult = {
|
|
5553
|
+
/** Unique identifier for a given Wallet Account. */
|
|
5554
|
+
walletAccountId: string;
|
|
5555
|
+
};
|
|
5359
5556
|
export type v1UpdateWalletIntent = {
|
|
5360
5557
|
/** Unique identifier for a given Wallet. */
|
|
5361
5558
|
walletId: string;
|
|
@@ -5420,10 +5617,18 @@ export type v1UpsertSwapConfigIntent = {
|
|
|
5420
5617
|
feeReceiverWalletAddress?: string;
|
|
5421
5618
|
/** Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
|
|
5422
5619
|
feeBps?: string;
|
|
5423
|
-
|
|
5424
|
-
/** Optional override applied when both swap assets are stablecoins; falls back to fee_bps when unset. */
|
|
5620
|
+
/** Optional Enterprise-only override applied when both swap assets are stablecoins; falls back to fee_bps when unset. Non-Enterprise orgs may only set fee_bps. */
|
|
5425
5621
|
stableFeeBps?: string;
|
|
5426
5622
|
};
|
|
5623
|
+
export type v1UpsertSwapConfigRequest = {
|
|
5624
|
+
type: "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG";
|
|
5625
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5626
|
+
timestampMs: string;
|
|
5627
|
+
/** Unique identifier for a given Organization. */
|
|
5628
|
+
organizationId: string;
|
|
5629
|
+
parameters: v1UpsertSwapConfigIntent;
|
|
5630
|
+
generateAppProofs?: boolean;
|
|
5631
|
+
};
|
|
5427
5632
|
export type v1UpsertSwapConfigResult = {
|
|
5428
5633
|
feeReceiverWalletAddress?: string;
|
|
5429
5634
|
feeBps?: string;
|
|
@@ -5724,6 +5929,22 @@ export type TGetBootProofBody = {
|
|
|
5724
5929
|
export type TGetBootProofInput = {
|
|
5725
5930
|
body: TGetBootProofBody;
|
|
5726
5931
|
};
|
|
5932
|
+
export type TGetClaimEarnFeesStatusResponse = {
|
|
5933
|
+
/** Status of the fee claim. */
|
|
5934
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
5935
|
+
/** Transaction hash of the fee claim, once available. */
|
|
5936
|
+
claimTxHash?: string;
|
|
5937
|
+
/** Reason the fee claim transaction failed, when status is FAILED. */
|
|
5938
|
+
error?: string;
|
|
5939
|
+
};
|
|
5940
|
+
export type TGetClaimEarnFeesStatusBody = {
|
|
5941
|
+
organizationId?: string;
|
|
5942
|
+
/** The claim_request_id returned by ClaimEarnFees. */
|
|
5943
|
+
claimRequestId: string;
|
|
5944
|
+
};
|
|
5945
|
+
export type TGetClaimEarnFeesStatusInput = {
|
|
5946
|
+
body: TGetClaimEarnFeesStatusBody;
|
|
5947
|
+
};
|
|
5727
5948
|
export type TGetEarnDeployStatusResponse = {
|
|
5728
5949
|
/** Status of the wrapper deployment. */
|
|
5729
5950
|
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
@@ -5802,7 +6023,7 @@ export type TGetLatestBootProofResponse = {
|
|
|
5802
6023
|
};
|
|
5803
6024
|
export type TGetLatestBootProofBody = {
|
|
5804
6025
|
organizationId?: string;
|
|
5805
|
-
/**
|
|
6026
|
+
/** Unique identifier (UUID) of the enclave app. */
|
|
5806
6027
|
appName: string;
|
|
5807
6028
|
};
|
|
5808
6029
|
export type TGetLatestBootProofInput = {
|
|
@@ -6004,6 +6225,40 @@ export type TGetSmartContractInterfaceBody = {
|
|
|
6004
6225
|
export type TGetSmartContractInterfaceInput = {
|
|
6005
6226
|
body: TGetSmartContractInterfaceBody;
|
|
6006
6227
|
};
|
|
6228
|
+
export type TGetSwapStatusResponse = {
|
|
6229
|
+
/** Normalized swap status. One of PENDING, COMPLETED, FAILED. */
|
|
6230
|
+
status: string;
|
|
6231
|
+
/** SAME_CHAIN or CROSS_CHAIN. */
|
|
6232
|
+
swapKind: string;
|
|
6233
|
+
/** Swap provider that executed the swap. */
|
|
6234
|
+
provider: string;
|
|
6235
|
+
/** CAIP-19 asset ID for the input asset. */
|
|
6236
|
+
inputToken: string;
|
|
6237
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
6238
|
+
outputToken: string;
|
|
6239
|
+
/** Base-unit amount of the input asset. */
|
|
6240
|
+
inputAmount: string;
|
|
6241
|
+
/** Final included origin-chain transaction hash, when known. */
|
|
6242
|
+
originTxHash?: string;
|
|
6243
|
+
/** Provider-reported destination-chain transaction hashes; cross-chain COMPLETED only. */
|
|
6244
|
+
destinationTxHashes?: string[];
|
|
6245
|
+
/** Actual base-unit output amount on COMPLETED, when known. Unset on FAILED. */
|
|
6246
|
+
outputAmount?: string;
|
|
6247
|
+
/** Asset and amount returned to the user after a failed swap, when recoverable. Present only on FAILED. */
|
|
6248
|
+
refund?: v1SwapRefund;
|
|
6249
|
+
/** Timestamp of the last swap status change, as millisecond epoch string. */
|
|
6250
|
+
updatedAt: string;
|
|
6251
|
+
/** Normalized failure details, present whenever status is FAILED. */
|
|
6252
|
+
error?: v1SwapError;
|
|
6253
|
+
};
|
|
6254
|
+
export type TGetSwapStatusBody = {
|
|
6255
|
+
organizationId?: string;
|
|
6256
|
+
/** The swap_request_id returned by ExecuteSwap. */
|
|
6257
|
+
swapRequestId: string;
|
|
6258
|
+
};
|
|
6259
|
+
export type TGetSwapStatusInput = {
|
|
6260
|
+
body: TGetSwapStatusBody;
|
|
6261
|
+
};
|
|
6007
6262
|
export type TGetTvcAppResponse = {
|
|
6008
6263
|
/** Details about a single TVC App */
|
|
6009
6264
|
tvcApp: v1TvcApp;
|
|
@@ -6093,7 +6348,7 @@ export type TGetWalletAddressBalancesBody = {
|
|
|
6093
6348
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
6094
6349
|
address: string;
|
|
6095
6350
|
/** 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. */
|
|
6096
|
-
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6351
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6097
6352
|
};
|
|
6098
6353
|
export type TGetWalletAddressBalancesInput = {
|
|
6099
6354
|
body: TGetWalletAddressBalancesBody;
|
|
@@ -6152,8 +6407,10 @@ export type TListEarnPositionsInput = {
|
|
|
6152
6407
|
body: TListEarnPositionsBody;
|
|
6153
6408
|
};
|
|
6154
6409
|
export type TListEarnVaultsResponse = {
|
|
6155
|
-
/** The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass
|
|
6410
|
+
/** The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass page_info.end_cursor as the pagination after cursor. */
|
|
6156
6411
|
vaults?: v1EarnVault[];
|
|
6412
|
+
/** Pagination metadata for the returned page. Pass end_cursor as the next request's after cursor (or start_cursor as the before cursor) to page through the catalog. Cursors are opaque; do not parse them. */
|
|
6413
|
+
pageInfo?: v1PageInfo;
|
|
6157
6414
|
};
|
|
6158
6415
|
export type TListEarnVaultsBody = {
|
|
6159
6416
|
organizationId?: string;
|
|
@@ -6300,7 +6557,7 @@ export type TListSupportedAssetsResponse = {
|
|
|
6300
6557
|
export type TListSupportedAssetsBody = {
|
|
6301
6558
|
organizationId?: string;
|
|
6302
6559
|
/** 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. */
|
|
6303
|
-
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:
|
|
6560
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6304
6561
|
};
|
|
6305
6562
|
export type TListSupportedAssetsInput = {
|
|
6306
6563
|
body: TListSupportedAssetsBody;
|
|
@@ -6456,6 +6713,19 @@ export type TClaimEarnFeesBody = {
|
|
|
6456
6713
|
export type TClaimEarnFeesInput = {
|
|
6457
6714
|
body: TClaimEarnFeesBody;
|
|
6458
6715
|
};
|
|
6716
|
+
export type TClaimSwapFeesResponse = {
|
|
6717
|
+
activity: v1Activity;
|
|
6718
|
+
/** Relay claim request ID submitted through the permit endpoint. */
|
|
6719
|
+
requestId: string;
|
|
6720
|
+
};
|
|
6721
|
+
export type TClaimSwapFeesBody = {
|
|
6722
|
+
timestampMs?: string;
|
|
6723
|
+
organizationId?: string;
|
|
6724
|
+
generateAppProofs?: boolean;
|
|
6725
|
+
};
|
|
6726
|
+
export type TClaimSwapFeesInput = {
|
|
6727
|
+
body: TClaimSwapFeesBody;
|
|
6728
|
+
};
|
|
6459
6729
|
export type TCreateApiKeysResponse = {
|
|
6460
6730
|
activity: v1Activity;
|
|
6461
6731
|
/** A list of API Key IDs. */
|
|
@@ -6623,6 +6893,8 @@ export type TCreatePolicyBody = {
|
|
|
6623
6893
|
consensus?: string;
|
|
6624
6894
|
/** Notes for a Policy. */
|
|
6625
6895
|
notes: string;
|
|
6896
|
+
/** The time expression that triggers the Effect */
|
|
6897
|
+
time?: string;
|
|
6626
6898
|
generateAppProofs?: boolean;
|
|
6627
6899
|
};
|
|
6628
6900
|
export type TCreatePolicyInput = {
|
|
@@ -6804,6 +7076,12 @@ export type TCreateTvcAppResponse = {
|
|
|
6804
7076
|
manifestSetOperatorIds: string[];
|
|
6805
7077
|
/** The required number of approvals for the manifest set */
|
|
6806
7078
|
manifestSetThreshold: number;
|
|
7079
|
+
/** The unique identifier for the TVC share set */
|
|
7080
|
+
shareSetId: string;
|
|
7081
|
+
/** The unique identifiers of the share set operators */
|
|
7082
|
+
shareSetOperatorIds: string[];
|
|
7083
|
+
/** The required number of approvals for the share set */
|
|
7084
|
+
shareSetThreshold: number;
|
|
6807
7085
|
};
|
|
6808
7086
|
export type TCreateTvcAppBody = {
|
|
6809
7087
|
timestampMs?: string;
|
|
@@ -7312,7 +7590,7 @@ export type TEarnDeployWrapperBody = {
|
|
|
7312
7590
|
vaultAddress: string;
|
|
7313
7591
|
/** CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base). */
|
|
7314
7592
|
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
7315
|
-
/** Your
|
|
7593
|
+
/** Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
|
|
7316
7594
|
clientFeeBps: string;
|
|
7317
7595
|
/** The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
7318
7596
|
clientFeeWallet: string;
|
|
@@ -7419,6 +7697,31 @@ export type TEmailAuthBody = {
|
|
|
7419
7697
|
export type TEmailAuthInput = {
|
|
7420
7698
|
body: TEmailAuthBody;
|
|
7421
7699
|
};
|
|
7700
|
+
export type TEthUndelegate7702Response = {
|
|
7701
|
+
activity: v1Activity;
|
|
7702
|
+
/** The send_transaction_status ID associated with the undelegation transaction submission */
|
|
7703
|
+
sendTransactionStatusId: string;
|
|
7704
|
+
};
|
|
7705
|
+
export type TEthUndelegate7702Body = {
|
|
7706
|
+
timestampMs?: string;
|
|
7707
|
+
organizationId?: string;
|
|
7708
|
+
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
7709
|
+
from: string;
|
|
7710
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
7711
|
+
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:421614";
|
|
7712
|
+
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
7713
|
+
nonce?: string;
|
|
7714
|
+
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
7715
|
+
gasLimit?: string;
|
|
7716
|
+
/** Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
|
|
7717
|
+
maxFeePerGas?: string;
|
|
7718
|
+
/** Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
|
|
7719
|
+
maxPriorityFeePerGas?: string;
|
|
7720
|
+
generateAppProofs?: boolean;
|
|
7721
|
+
};
|
|
7722
|
+
export type TEthUndelegate7702Input = {
|
|
7723
|
+
body: TEthUndelegate7702Body;
|
|
7724
|
+
};
|
|
7422
7725
|
export type TExportPrivateKeyResponse = {
|
|
7423
7726
|
activity: v1Activity;
|
|
7424
7727
|
/** Unique identifier for a given Private Key. */
|
|
@@ -8213,6 +8516,8 @@ export type TUpdatePolicyBody = {
|
|
|
8213
8516
|
policyConsensus?: string;
|
|
8214
8517
|
/** Accompanying notes for a Policy (optional). */
|
|
8215
8518
|
policyNotes?: string;
|
|
8519
|
+
/** The time expression that triggers the Effect (optional). */
|
|
8520
|
+
time?: string;
|
|
8216
8521
|
generateAppProofs?: boolean;
|
|
8217
8522
|
};
|
|
8218
8523
|
export type TUpdatePolicyInput = {
|
|
@@ -8393,6 +8698,25 @@ export type TUpdateWebhookEndpointBody = {
|
|
|
8393
8698
|
export type TUpdateWebhookEndpointInput = {
|
|
8394
8699
|
body: TUpdateWebhookEndpointBody;
|
|
8395
8700
|
};
|
|
8701
|
+
export type TUpsertSwapConfigResponse = {
|
|
8702
|
+
activity: v1Activity;
|
|
8703
|
+
feeReceiverWalletAddress?: string;
|
|
8704
|
+
feeBps?: string;
|
|
8705
|
+
stableFeeBps?: string;
|
|
8706
|
+
};
|
|
8707
|
+
export type TUpsertSwapConfigBody = {
|
|
8708
|
+
timestampMs?: string;
|
|
8709
|
+
organizationId?: string;
|
|
8710
|
+
feeReceiverWalletAddress?: string;
|
|
8711
|
+
/** Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
|
|
8712
|
+
feeBps?: string;
|
|
8713
|
+
/** Optional Enterprise-only override applied when both swap assets are stablecoins; falls back to fee_bps when unset. Non-Enterprise orgs may only set fee_bps. */
|
|
8714
|
+
stableFeeBps?: string;
|
|
8715
|
+
generateAppProofs?: boolean;
|
|
8716
|
+
};
|
|
8717
|
+
export type TUpsertSwapConfigInput = {
|
|
8718
|
+
body: TUpsertSwapConfigBody;
|
|
8719
|
+
};
|
|
8396
8720
|
export type TVerifyOtpResponse = {
|
|
8397
8721
|
activity: v1Activity;
|
|
8398
8722
|
/** 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) */
|
|
@@ -8476,7 +8800,7 @@ export type TEthSendTransactionV2Body = {
|
|
|
8476
8800
|
maxPriorityFeePerGas?: string;
|
|
8477
8801
|
/** Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
8478
8802
|
deadline?: string;
|
|
8479
|
-
/** The gas station delegate contract nonce.
|
|
8803
|
+
/** The gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored transactions and non-sponsored multi-call batches. Omit to auto-fetch. Use the nonces endpoint for replay protection. */
|
|
8480
8804
|
gasStationNonce?: string;
|
|
8481
8805
|
/** Ordered list of calls to execute. Must contain between 1 and 50 entries. A single entry with sponsor=false uses EIP-1559; multiple entries use EIP-7702 batch execution via Gas Station. */
|
|
8482
8806
|
calls: v1EthCallParams[];
|