@turnkey/sdk-types 0.13.0 → 1.0.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 +227 -0
- package/dist/__generated__/types.d.ts +226 -135
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +185 -5
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +44 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -183,8 +183,8 @@ export type v1ActivityResponse = {
|
|
|
183
183
|
activity: v1Activity;
|
|
184
184
|
};
|
|
185
185
|
export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
186
|
-
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "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";
|
|
187
|
-
export type v1AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP";
|
|
186
|
+
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_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";
|
|
187
|
+
export type v1AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP" | "ADDRESS_FORMAT_SPARK_MAINNET" | "ADDRESS_FORMAT_SPARK_REGTEST";
|
|
188
188
|
export type v1ApiKey = {
|
|
189
189
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
190
190
|
credential: externaldatav1Credential;
|
|
@@ -241,7 +241,7 @@ export type v1ApproveActivityIntent = {
|
|
|
241
241
|
fingerprint: string;
|
|
242
242
|
};
|
|
243
243
|
export type v1ApproveActivityRequest = {
|
|
244
|
-
type:
|
|
244
|
+
type: "ACTIVITY_TYPE_APPROVE_ACTIVITY";
|
|
245
245
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
246
246
|
timestampMs: string;
|
|
247
247
|
/** Unique identifier for a given Organization. */
|
|
@@ -314,7 +314,7 @@ export type v1AuthenticatorAttestationResponse = {
|
|
|
314
314
|
clientDataJson: string;
|
|
315
315
|
attestationObject: string;
|
|
316
316
|
transports?: v1AuthenticatorTransport[];
|
|
317
|
-
authenticatorAttachment?:
|
|
317
|
+
authenticatorAttachment?: "cross-platform" | "platform";
|
|
318
318
|
};
|
|
319
319
|
export type v1AuthenticatorParams = {
|
|
320
320
|
/** Human-readable name for an Authenticator. */
|
|
@@ -382,7 +382,7 @@ export type v1CreateApiKeysIntentV2 = {
|
|
|
382
382
|
userId: string;
|
|
383
383
|
};
|
|
384
384
|
export type v1CreateApiKeysRequest = {
|
|
385
|
-
type:
|
|
385
|
+
type: "ACTIVITY_TYPE_CREATE_API_KEYS_V2";
|
|
386
386
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
387
387
|
timestampMs: string;
|
|
388
388
|
/** Unique identifier for a given Organization. */
|
|
@@ -398,15 +398,6 @@ export type v1CreateApiOnlyUsersIntent = {
|
|
|
398
398
|
/** A list of API-only Users to create. */
|
|
399
399
|
apiOnlyUsers: v1ApiOnlyUserParams[];
|
|
400
400
|
};
|
|
401
|
-
export type v1CreateApiOnlyUsersRequest = {
|
|
402
|
-
type: string;
|
|
403
|
-
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
404
|
-
timestampMs: string;
|
|
405
|
-
/** Unique identifier for a given Organization. */
|
|
406
|
-
organizationId: string;
|
|
407
|
-
parameters: v1CreateApiOnlyUsersIntent;
|
|
408
|
-
generateAppProofs?: boolean;
|
|
409
|
-
};
|
|
410
401
|
export type v1CreateApiOnlyUsersResult = {
|
|
411
402
|
/** A list of API-only User IDs. */
|
|
412
403
|
userIds: string[];
|
|
@@ -424,7 +415,7 @@ export type v1CreateAuthenticatorsIntentV2 = {
|
|
|
424
415
|
userId: string;
|
|
425
416
|
};
|
|
426
417
|
export type v1CreateAuthenticatorsRequest = {
|
|
427
|
-
type:
|
|
418
|
+
type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2";
|
|
428
419
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
429
420
|
timestampMs: string;
|
|
430
421
|
/** Unique identifier for a given Organization. */
|
|
@@ -451,7 +442,7 @@ export type v1CreateFiatOnRampCredentialIntent = {
|
|
|
451
442
|
sandboxMode?: boolean;
|
|
452
443
|
};
|
|
453
444
|
export type v1CreateFiatOnRampCredentialRequest = {
|
|
454
|
-
type:
|
|
445
|
+
type: "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL";
|
|
455
446
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
456
447
|
timestampMs: string;
|
|
457
448
|
/** Unique identifier for a given Organization. */
|
|
@@ -468,7 +459,7 @@ export type v1CreateInvitationsIntent = {
|
|
|
468
459
|
invitations: v1InvitationParams[];
|
|
469
460
|
};
|
|
470
461
|
export type v1CreateInvitationsRequest = {
|
|
471
|
-
type:
|
|
462
|
+
type: "ACTIVITY_TYPE_CREATE_INVITATIONS";
|
|
472
463
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
473
464
|
timestampMs: string;
|
|
474
465
|
/** Unique identifier for a given Organization. */
|
|
@@ -489,7 +480,7 @@ export type v1CreateOauth2CredentialIntent = {
|
|
|
489
480
|
encryptedClientSecret: string;
|
|
490
481
|
};
|
|
491
482
|
export type v1CreateOauth2CredentialRequest = {
|
|
492
|
-
type:
|
|
483
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL";
|
|
493
484
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
494
485
|
timestampMs: string;
|
|
495
486
|
/** Unique identifier for a given Organization. */
|
|
@@ -514,7 +505,7 @@ export type v1CreateOauthProvidersIntentV2 = {
|
|
|
514
505
|
oauthProviders: v1OauthProviderParamsV2[];
|
|
515
506
|
};
|
|
516
507
|
export type v1CreateOauthProvidersRequest = {
|
|
517
|
-
type:
|
|
508
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2";
|
|
518
509
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
519
510
|
timestampMs: string;
|
|
520
511
|
/** Unique identifier for a given Organization. */
|
|
@@ -559,7 +550,7 @@ export type v1CreatePoliciesIntent = {
|
|
|
559
550
|
policies: v1CreatePolicyIntentV3[];
|
|
560
551
|
};
|
|
561
552
|
export type v1CreatePoliciesRequest = {
|
|
562
|
-
type:
|
|
553
|
+
type: "ACTIVITY_TYPE_CREATE_POLICIES";
|
|
563
554
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
564
555
|
timestampMs: string;
|
|
565
556
|
/** Unique identifier for a given Organization. */
|
|
@@ -602,7 +593,7 @@ export type v1CreatePolicyIntentV3 = {
|
|
|
602
593
|
notes: string;
|
|
603
594
|
};
|
|
604
595
|
export type v1CreatePolicyRequest = {
|
|
605
|
-
type:
|
|
596
|
+
type: "ACTIVITY_TYPE_CREATE_POLICY_V3";
|
|
606
597
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
607
598
|
timestampMs: string;
|
|
608
599
|
/** Unique identifier for a given Organization. */
|
|
@@ -621,7 +612,7 @@ export type v1CreatePrivateKeyTagIntent = {
|
|
|
621
612
|
privateKeyIds: string[];
|
|
622
613
|
};
|
|
623
614
|
export type v1CreatePrivateKeyTagRequest = {
|
|
624
|
-
type:
|
|
615
|
+
type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG";
|
|
625
616
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
626
617
|
timestampMs: string;
|
|
627
618
|
/** Unique identifier for a given Organization. */
|
|
@@ -644,7 +635,7 @@ export type v1CreatePrivateKeysIntentV2 = {
|
|
|
644
635
|
privateKeys: v1PrivateKeyParams[];
|
|
645
636
|
};
|
|
646
637
|
export type v1CreatePrivateKeysRequest = {
|
|
647
|
-
type:
|
|
638
|
+
type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
|
|
648
639
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
649
640
|
timestampMs: string;
|
|
650
641
|
/** Unique identifier for a given Organization. */
|
|
@@ -662,7 +653,7 @@ export type v1CreatePrivateKeysResultV2 = {
|
|
|
662
653
|
};
|
|
663
654
|
export type v1CreateReadOnlySessionIntent = {};
|
|
664
655
|
export type v1CreateReadOnlySessionRequest = {
|
|
665
|
-
type:
|
|
656
|
+
type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION";
|
|
666
657
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
667
658
|
timestampMs: string;
|
|
668
659
|
/** Unique identifier for a given Organization. */
|
|
@@ -707,7 +698,7 @@ export type v1CreateReadWriteSessionIntentV2 = {
|
|
|
707
698
|
invalidateExisting?: boolean;
|
|
708
699
|
};
|
|
709
700
|
export type v1CreateReadWriteSessionRequest = {
|
|
710
|
-
type:
|
|
701
|
+
type: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2";
|
|
711
702
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
712
703
|
timestampMs: string;
|
|
713
704
|
/** Unique identifier for a given Organization. */
|
|
@@ -755,7 +746,7 @@ export type v1CreateSmartContractInterfaceIntent = {
|
|
|
755
746
|
notes?: string;
|
|
756
747
|
};
|
|
757
748
|
export type v1CreateSmartContractInterfaceRequest = {
|
|
758
|
-
type:
|
|
749
|
+
type: "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE";
|
|
759
750
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
760
751
|
timestampMs: string;
|
|
761
752
|
/** Unique identifier for a given Organization. */
|
|
@@ -878,7 +869,7 @@ export type v1CreateSubOrganizationIntentV8 = {
|
|
|
878
869
|
clientSignature?: v1ClientSignature;
|
|
879
870
|
};
|
|
880
871
|
export type v1CreateSubOrganizationRequest = {
|
|
881
|
-
type:
|
|
872
|
+
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8";
|
|
882
873
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
883
874
|
timestampMs: string;
|
|
884
875
|
/** Unique identifier for a given Organization. */
|
|
@@ -966,7 +957,7 @@ export type v1CreateTvcDeploymentIntent = {
|
|
|
966
957
|
pivotContainerEncryptedPullSecret?: string;
|
|
967
958
|
/** Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
|
|
968
959
|
debugMode?: boolean;
|
|
969
|
-
/**
|
|
960
|
+
/** Health check type (TVC_HEALTH_CHECK_TYPE_HTTP or TVC_HEALTH_CHECK_TYPE_GRPC). HTTP health checks are made with a GET request on /health, and gRPC health checks follow the standard gRPC health checking protocol. */
|
|
970
961
|
healthCheckType: v1TvcHealthCheckType;
|
|
971
962
|
/** Port to use for health checks. */
|
|
972
963
|
healthCheckPort: number;
|
|
@@ -996,7 +987,7 @@ export type v1CreateUserTagIntent = {
|
|
|
996
987
|
userIds: string[];
|
|
997
988
|
};
|
|
998
989
|
export type v1CreateUserTagRequest = {
|
|
999
|
-
type:
|
|
990
|
+
type: "ACTIVITY_TYPE_CREATE_USER_TAG";
|
|
1000
991
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1001
992
|
timestampMs: string;
|
|
1002
993
|
/** Unique identifier for a given Organization. */
|
|
@@ -1027,7 +1018,7 @@ export type v1CreateUsersIntentV4 = {
|
|
|
1027
1018
|
users: v1UserParamsV4[];
|
|
1028
1019
|
};
|
|
1029
1020
|
export type v1CreateUsersRequest = {
|
|
1030
|
-
type:
|
|
1021
|
+
type: "ACTIVITY_TYPE_CREATE_USERS_V4";
|
|
1031
1022
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1032
1023
|
timestampMs: string;
|
|
1033
1024
|
/** Unique identifier for a given Organization. */
|
|
@@ -1048,7 +1039,7 @@ export type v1CreateWalletAccountsIntent = {
|
|
|
1048
1039
|
persist?: boolean;
|
|
1049
1040
|
};
|
|
1050
1041
|
export type v1CreateWalletAccountsRequest = {
|
|
1051
|
-
type:
|
|
1042
|
+
type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS";
|
|
1052
1043
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1053
1044
|
timestampMs: string;
|
|
1054
1045
|
/** Unique identifier for a given Organization. */
|
|
@@ -1069,7 +1060,7 @@ export type v1CreateWalletIntent = {
|
|
|
1069
1060
|
mnemonicLength?: number;
|
|
1070
1061
|
};
|
|
1071
1062
|
export type v1CreateWalletRequest = {
|
|
1072
|
-
type:
|
|
1063
|
+
type: "ACTIVITY_TYPE_CREATE_WALLET";
|
|
1073
1064
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1074
1065
|
timestampMs: string;
|
|
1075
1066
|
/** Unique identifier for a given Organization. */
|
|
@@ -1092,7 +1083,7 @@ export type v1CreateWebhookEndpointIntent = {
|
|
|
1092
1083
|
subscriptions?: v1WebhookSubscriptionParams[];
|
|
1093
1084
|
};
|
|
1094
1085
|
export type v1CreateWebhookEndpointRequest = {
|
|
1095
|
-
type:
|
|
1086
|
+
type: "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT";
|
|
1096
1087
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1097
1088
|
timestampMs: string;
|
|
1098
1089
|
/** Unique identifier for a given Organization. */
|
|
@@ -1124,7 +1115,7 @@ export type v1DeleteApiKeysIntent = {
|
|
|
1124
1115
|
apiKeyIds: string[];
|
|
1125
1116
|
};
|
|
1126
1117
|
export type v1DeleteApiKeysRequest = {
|
|
1127
|
-
type:
|
|
1118
|
+
type: "ACTIVITY_TYPE_DELETE_API_KEYS";
|
|
1128
1119
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1129
1120
|
timestampMs: string;
|
|
1130
1121
|
/** Unique identifier for a given Organization. */
|
|
@@ -1143,7 +1134,7 @@ export type v1DeleteAuthenticatorsIntent = {
|
|
|
1143
1134
|
authenticatorIds: string[];
|
|
1144
1135
|
};
|
|
1145
1136
|
export type v1DeleteAuthenticatorsRequest = {
|
|
1146
|
-
type:
|
|
1137
|
+
type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS";
|
|
1147
1138
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1148
1139
|
timestampMs: string;
|
|
1149
1140
|
/** Unique identifier for a given Organization. */
|
|
@@ -1160,7 +1151,7 @@ export type v1DeleteFiatOnRampCredentialIntent = {
|
|
|
1160
1151
|
fiatOnrampCredentialId: string;
|
|
1161
1152
|
};
|
|
1162
1153
|
export type v1DeleteFiatOnRampCredentialRequest = {
|
|
1163
|
-
type:
|
|
1154
|
+
type: "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL";
|
|
1164
1155
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1165
1156
|
timestampMs: string;
|
|
1166
1157
|
/** Unique identifier for a given Organization. */
|
|
@@ -1177,7 +1168,7 @@ export type v1DeleteInvitationIntent = {
|
|
|
1177
1168
|
invitationId: string;
|
|
1178
1169
|
};
|
|
1179
1170
|
export type v1DeleteInvitationRequest = {
|
|
1180
|
-
type:
|
|
1171
|
+
type: "ACTIVITY_TYPE_DELETE_INVITATION";
|
|
1181
1172
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1182
1173
|
timestampMs: string;
|
|
1183
1174
|
/** Unique identifier for a given Organization. */
|
|
@@ -1194,7 +1185,7 @@ export type v1DeleteOauth2CredentialIntent = {
|
|
|
1194
1185
|
oauth2CredentialId: string;
|
|
1195
1186
|
};
|
|
1196
1187
|
export type v1DeleteOauth2CredentialRequest = {
|
|
1197
|
-
type:
|
|
1188
|
+
type: "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL";
|
|
1198
1189
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1199
1190
|
timestampMs: string;
|
|
1200
1191
|
/** Unique identifier for a given Organization. */
|
|
@@ -1213,7 +1204,7 @@ export type v1DeleteOauthProvidersIntent = {
|
|
|
1213
1204
|
providerIds: string[];
|
|
1214
1205
|
};
|
|
1215
1206
|
export type v1DeleteOauthProvidersRequest = {
|
|
1216
|
-
type:
|
|
1207
|
+
type: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS";
|
|
1217
1208
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1218
1209
|
timestampMs: string;
|
|
1219
1210
|
/** Unique identifier for a given Organization. */
|
|
@@ -1238,7 +1229,7 @@ export type v1DeletePoliciesIntent = {
|
|
|
1238
1229
|
policyIds: string[];
|
|
1239
1230
|
};
|
|
1240
1231
|
export type v1DeletePoliciesRequest = {
|
|
1241
|
-
type:
|
|
1232
|
+
type: "ACTIVITY_TYPE_DELETE_POLICIES";
|
|
1242
1233
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1243
1234
|
timestampMs: string;
|
|
1244
1235
|
/** Unique identifier for a given Organization. */
|
|
@@ -1255,7 +1246,7 @@ export type v1DeletePolicyIntent = {
|
|
|
1255
1246
|
policyId: string;
|
|
1256
1247
|
};
|
|
1257
1248
|
export type v1DeletePolicyRequest = {
|
|
1258
|
-
type:
|
|
1249
|
+
type: "ACTIVITY_TYPE_DELETE_POLICY";
|
|
1259
1250
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1260
1251
|
timestampMs: string;
|
|
1261
1252
|
/** Unique identifier for a given Organization. */
|
|
@@ -1272,7 +1263,7 @@ export type v1DeletePrivateKeyTagsIntent = {
|
|
|
1272
1263
|
privateKeyTagIds: string[];
|
|
1273
1264
|
};
|
|
1274
1265
|
export type v1DeletePrivateKeyTagsRequest = {
|
|
1275
|
-
type:
|
|
1266
|
+
type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS";
|
|
1276
1267
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1277
1268
|
timestampMs: string;
|
|
1278
1269
|
/** Unique identifier for a given Organization. */
|
|
@@ -1293,7 +1284,7 @@ export type v1DeletePrivateKeysIntent = {
|
|
|
1293
1284
|
deleteWithoutExport?: boolean;
|
|
1294
1285
|
};
|
|
1295
1286
|
export type v1DeletePrivateKeysRequest = {
|
|
1296
|
-
type:
|
|
1287
|
+
type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS";
|
|
1297
1288
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1298
1289
|
timestampMs: string;
|
|
1299
1290
|
/** Unique identifier for a given Organization. */
|
|
@@ -1310,7 +1301,7 @@ export type v1DeleteSmartContractInterfaceIntent = {
|
|
|
1310
1301
|
smartContractInterfaceId: string;
|
|
1311
1302
|
};
|
|
1312
1303
|
export type v1DeleteSmartContractInterfaceRequest = {
|
|
1313
|
-
type:
|
|
1304
|
+
type: "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE";
|
|
1314
1305
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1315
1306
|
timestampMs: string;
|
|
1316
1307
|
/** Unique identifier for a given Organization. */
|
|
@@ -1327,7 +1318,7 @@ export type v1DeleteSubOrganizationIntent = {
|
|
|
1327
1318
|
deleteWithoutExport?: boolean;
|
|
1328
1319
|
};
|
|
1329
1320
|
export type v1DeleteSubOrganizationRequest = {
|
|
1330
|
-
type:
|
|
1321
|
+
type: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION";
|
|
1331
1322
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1332
1323
|
timestampMs: string;
|
|
1333
1324
|
/** Unique identifier for a given Organization. */
|
|
@@ -1344,7 +1335,7 @@ export type v1DeleteUserTagsIntent = {
|
|
|
1344
1335
|
userTagIds: string[];
|
|
1345
1336
|
};
|
|
1346
1337
|
export type v1DeleteUserTagsRequest = {
|
|
1347
|
-
type:
|
|
1338
|
+
type: "ACTIVITY_TYPE_DELETE_USER_TAGS";
|
|
1348
1339
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1349
1340
|
timestampMs: string;
|
|
1350
1341
|
/** Unique identifier for a given Organization. */
|
|
@@ -1363,7 +1354,7 @@ export type v1DeleteUsersIntent = {
|
|
|
1363
1354
|
userIds: string[];
|
|
1364
1355
|
};
|
|
1365
1356
|
export type v1DeleteUsersRequest = {
|
|
1366
|
-
type:
|
|
1357
|
+
type: "ACTIVITY_TYPE_DELETE_USERS";
|
|
1367
1358
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1368
1359
|
timestampMs: string;
|
|
1369
1360
|
/** Unique identifier for a given Organization. */
|
|
@@ -1382,7 +1373,7 @@ export type v1DeleteWalletAccountsIntent = {
|
|
|
1382
1373
|
deleteWithoutExport?: boolean;
|
|
1383
1374
|
};
|
|
1384
1375
|
export type v1DeleteWalletAccountsRequest = {
|
|
1385
|
-
type:
|
|
1376
|
+
type: "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS";
|
|
1386
1377
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1387
1378
|
timestampMs: string;
|
|
1388
1379
|
/** Unique identifier for a given Organization. */
|
|
@@ -1401,7 +1392,7 @@ export type v1DeleteWalletsIntent = {
|
|
|
1401
1392
|
deleteWithoutExport?: boolean;
|
|
1402
1393
|
};
|
|
1403
1394
|
export type v1DeleteWalletsRequest = {
|
|
1404
|
-
type:
|
|
1395
|
+
type: "ACTIVITY_TYPE_DELETE_WALLETS";
|
|
1405
1396
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1406
1397
|
timestampMs: string;
|
|
1407
1398
|
/** Unique identifier for a given Organization. */
|
|
@@ -1418,7 +1409,7 @@ export type v1DeleteWebhookEndpointIntent = {
|
|
|
1418
1409
|
endpointId: string;
|
|
1419
1410
|
};
|
|
1420
1411
|
export type v1DeleteWebhookEndpointRequest = {
|
|
1421
|
-
type:
|
|
1412
|
+
type: "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT";
|
|
1422
1413
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1423
1414
|
timestampMs: string;
|
|
1424
1415
|
/** Unique identifier for a given Organization. */
|
|
@@ -1524,7 +1515,7 @@ export type v1EmailAuthIntentV3 = {
|
|
|
1524
1515
|
replyToEmailAddress?: string;
|
|
1525
1516
|
};
|
|
1526
1517
|
export type v1EmailAuthRequest = {
|
|
1527
|
-
type:
|
|
1518
|
+
type: "ACTIVITY_TYPE_EMAIL_AUTH_V3";
|
|
1528
1519
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1529
1520
|
timestampMs: string;
|
|
1530
1521
|
/** Unique identifier for a given Organization. */
|
|
@@ -1573,7 +1564,7 @@ export type v1EthSendRawTransactionIntent = {
|
|
|
1573
1564
|
/** The raw, signed transaction to be sent. */
|
|
1574
1565
|
signedTransaction: string;
|
|
1575
1566
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1576
|
-
caip2:
|
|
1567
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
1577
1568
|
};
|
|
1578
1569
|
export type v1EthSendRawTransactionResult = {
|
|
1579
1570
|
/** The transaction hash of the sent transaction */
|
|
@@ -1585,7 +1576,7 @@ export type v1EthSendTransactionIntent = {
|
|
|
1585
1576
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
1586
1577
|
sponsor?: boolean;
|
|
1587
1578
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1588
|
-
caip2:
|
|
1579
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
1589
1580
|
/** Recipient address as a hex string with 0x prefix. */
|
|
1590
1581
|
to: string;
|
|
1591
1582
|
/** Amount of native asset to send in wei. */
|
|
@@ -1604,7 +1595,7 @@ export type v1EthSendTransactionIntent = {
|
|
|
1604
1595
|
gasStationNonce?: string;
|
|
1605
1596
|
};
|
|
1606
1597
|
export type v1EthSendTransactionRequest = {
|
|
1607
|
-
type:
|
|
1598
|
+
type: "ACTIVITY_TYPE_ETH_SEND_TRANSACTION";
|
|
1608
1599
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1609
1600
|
timestampMs: string;
|
|
1610
1601
|
/** Unique identifier for a given Organization. */
|
|
@@ -1627,7 +1618,7 @@ export type v1ExportPrivateKeyIntent = {
|
|
|
1627
1618
|
targetPublicKey: string;
|
|
1628
1619
|
};
|
|
1629
1620
|
export type v1ExportPrivateKeyRequest = {
|
|
1630
|
-
type:
|
|
1621
|
+
type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY";
|
|
1631
1622
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1632
1623
|
timestampMs: string;
|
|
1633
1624
|
/** Unique identifier for a given Organization. */
|
|
@@ -1648,7 +1639,7 @@ export type v1ExportWalletAccountIntent = {
|
|
|
1648
1639
|
targetPublicKey: string;
|
|
1649
1640
|
};
|
|
1650
1641
|
export type v1ExportWalletAccountRequest = {
|
|
1651
|
-
type:
|
|
1642
|
+
type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT";
|
|
1652
1643
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1653
1644
|
timestampMs: string;
|
|
1654
1645
|
/** Unique identifier for a given Organization. */
|
|
@@ -1671,7 +1662,7 @@ export type v1ExportWalletIntent = {
|
|
|
1671
1662
|
language?: v1MnemonicLanguage;
|
|
1672
1663
|
};
|
|
1673
1664
|
export type v1ExportWalletRequest = {
|
|
1674
|
-
type:
|
|
1665
|
+
type: "ACTIVITY_TYPE_EXPORT_WALLET";
|
|
1675
1666
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1676
1667
|
timestampMs: string;
|
|
1677
1668
|
/** Unique identifier for a given Organization. */
|
|
@@ -1812,6 +1803,15 @@ export type v1GetGasUsageResponse = {
|
|
|
1812
1803
|
/** The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
|
|
1813
1804
|
usageUsd: string;
|
|
1814
1805
|
};
|
|
1806
|
+
export type v1GetIpAllowlistRequest = {
|
|
1807
|
+
/** Unique identifier for a given organization. */
|
|
1808
|
+
organizationId: string;
|
|
1809
|
+
/** If provided, return only the allowlist for this specific API key. */
|
|
1810
|
+
publicKey?: string;
|
|
1811
|
+
};
|
|
1812
|
+
export type v1GetIpAllowlistResponse = {
|
|
1813
|
+
allowlist: v1IpAllowlist;
|
|
1814
|
+
};
|
|
1815
1815
|
export type v1GetLatestBootProofRequest = {
|
|
1816
1816
|
/** Unique identifier for a given Organization. */
|
|
1817
1817
|
organizationId: string;
|
|
@@ -1824,7 +1824,7 @@ export type v1GetNoncesRequest = {
|
|
|
1824
1824
|
/** The Ethereum address to query nonces for. */
|
|
1825
1825
|
address: string;
|
|
1826
1826
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1827
|
-
caip2:
|
|
1827
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
1828
1828
|
/** Whether to fetch the standard on-chain nonce. */
|
|
1829
1829
|
nonce?: boolean;
|
|
1830
1830
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -2033,10 +2033,10 @@ export type v1GetWalletAccountsResponse = {
|
|
|
2033
2033
|
export type v1GetWalletAddressBalancesRequest = {
|
|
2034
2034
|
/** Unique identifier for a given organization. */
|
|
2035
2035
|
organizationId: string;
|
|
2036
|
-
/** Address corresponding to a wallet account. */
|
|
2036
|
+
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
2037
2037
|
address: string;
|
|
2038
2038
|
/** 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. */
|
|
2039
|
-
caip2:
|
|
2039
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2040
2040
|
};
|
|
2041
2041
|
export type v1GetWalletAddressBalancesResponse = {
|
|
2042
2042
|
/** List of asset balances */
|
|
@@ -2088,7 +2088,7 @@ export type v1ImportPrivateKeyIntent = {
|
|
|
2088
2088
|
addressFormats: v1AddressFormat[];
|
|
2089
2089
|
};
|
|
2090
2090
|
export type v1ImportPrivateKeyRequest = {
|
|
2091
|
-
type:
|
|
2091
|
+
type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY";
|
|
2092
2092
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2093
2093
|
timestampMs: string;
|
|
2094
2094
|
/** Unique identifier for a given Organization. */
|
|
@@ -2113,7 +2113,7 @@ export type v1ImportWalletIntent = {
|
|
|
2113
2113
|
accounts: v1WalletAccountParams[];
|
|
2114
2114
|
};
|
|
2115
2115
|
export type v1ImportWalletRequest = {
|
|
2116
|
-
type:
|
|
2116
|
+
type: "ACTIVITY_TYPE_IMPORT_WALLET";
|
|
2117
2117
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2118
2118
|
timestampMs: string;
|
|
2119
2119
|
/** Unique identifier for a given Organization. */
|
|
@@ -2152,7 +2152,7 @@ export type v1InitFiatOnRampIntent = {
|
|
|
2152
2152
|
urlForSignature?: string;
|
|
2153
2153
|
};
|
|
2154
2154
|
export type v1InitFiatOnRampRequest = {
|
|
2155
|
-
type:
|
|
2155
|
+
type: "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP";
|
|
2156
2156
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2157
2157
|
timestampMs: string;
|
|
2158
2158
|
/** Unique identifier for a given Organization. */
|
|
@@ -2173,7 +2173,7 @@ export type v1InitImportPrivateKeyIntent = {
|
|
|
2173
2173
|
userId: string;
|
|
2174
2174
|
};
|
|
2175
2175
|
export type v1InitImportPrivateKeyRequest = {
|
|
2176
|
-
type:
|
|
2176
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY";
|
|
2177
2177
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2178
2178
|
timestampMs: string;
|
|
2179
2179
|
/** Unique identifier for a given Organization. */
|
|
@@ -2190,7 +2190,7 @@ export type v1InitImportWalletIntent = {
|
|
|
2190
2190
|
userId: string;
|
|
2191
2191
|
};
|
|
2192
2192
|
export type v1InitImportWalletRequest = {
|
|
2193
|
-
type:
|
|
2193
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET";
|
|
2194
2194
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2195
2195
|
timestampMs: string;
|
|
2196
2196
|
/** Unique identifier for a given Organization. */
|
|
@@ -2269,7 +2269,7 @@ export type v1InitOtpAuthIntentV3 = {
|
|
|
2269
2269
|
replyToEmailAddress?: string;
|
|
2270
2270
|
};
|
|
2271
2271
|
export type v1InitOtpAuthRequest = {
|
|
2272
|
-
type:
|
|
2272
|
+
type: "ACTIVITY_TYPE_INIT_OTP_AUTH_V3";
|
|
2273
2273
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2274
2274
|
timestampMs: string;
|
|
2275
2275
|
/** Unique identifier for a given Organization. */
|
|
@@ -2362,7 +2362,7 @@ export type v1InitOtpIntentV3 = {
|
|
|
2362
2362
|
replyToEmailAddress?: string;
|
|
2363
2363
|
};
|
|
2364
2364
|
export type v1InitOtpRequest = {
|
|
2365
|
-
type:
|
|
2365
|
+
type: "ACTIVITY_TYPE_INIT_OTP_V3";
|
|
2366
2366
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2367
2367
|
timestampMs: string;
|
|
2368
2368
|
/** Unique identifier for a given Organization. */
|
|
@@ -2413,7 +2413,7 @@ export type v1InitUserEmailRecoveryIntentV2 = {
|
|
|
2413
2413
|
replyToEmailAddress?: string;
|
|
2414
2414
|
};
|
|
2415
2415
|
export type v1InitUserEmailRecoveryRequest = {
|
|
2416
|
-
type:
|
|
2416
|
+
type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2";
|
|
2417
2417
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2418
2418
|
timestampMs: string;
|
|
2419
2419
|
/** Unique identifier for a given Organization. */
|
|
@@ -2553,6 +2553,8 @@ export type v1Intent = {
|
|
|
2553
2553
|
createWebhookEndpointIntent?: v1CreateWebhookEndpointIntent;
|
|
2554
2554
|
updateWebhookEndpointIntent?: v1UpdateWebhookEndpointIntent;
|
|
2555
2555
|
deleteWebhookEndpointIntent?: v1DeleteWebhookEndpointIntent;
|
|
2556
|
+
setIpAllowlistIntent?: v1SetIpAllowlistIntent;
|
|
2557
|
+
removeIpAllowlistIntent?: v1RemoveIpAllowlistIntent;
|
|
2556
2558
|
};
|
|
2557
2559
|
export type v1InvitationParams = {
|
|
2558
2560
|
/** The name of the intended Invitation recipient. */
|
|
@@ -2566,6 +2568,32 @@ export type v1InvitationParams = {
|
|
|
2566
2568
|
/** Unique identifier for the Sender of an Invitation. */
|
|
2567
2569
|
senderUserId: string;
|
|
2568
2570
|
};
|
|
2571
|
+
export type v1IpAllowlist = {
|
|
2572
|
+
/** Unique identifier for the organization this allowlist belongs to. */
|
|
2573
|
+
organizationId: string;
|
|
2574
|
+
/** List of IP allowlist rules with their metadata. */
|
|
2575
|
+
rules: v1IpAllowlistRule[];
|
|
2576
|
+
/** Public key of the API key this allowlist applies to. Null means the allowlist applies to the entire organization. */
|
|
2577
|
+
publicKey?: string;
|
|
2578
|
+
/** Whether the IP allowlist is enabled. Only present for organization-level allowlists. Null for API key-level allowlists (presence of the allowlist implies enablement). */
|
|
2579
|
+
enabled?: boolean;
|
|
2580
|
+
/** Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
2581
|
+
onEvaluationError?: string;
|
|
2582
|
+
};
|
|
2583
|
+
export type v1IpAllowlistIntentRule = {
|
|
2584
|
+
/** CIDR block (e.g., '192.168.1.0/24', '2001:db8::/32'). */
|
|
2585
|
+
cidr: string;
|
|
2586
|
+
/** Optional human-readable label for this rule (e.g., 'Office VPN'). */
|
|
2587
|
+
label?: string;
|
|
2588
|
+
};
|
|
2589
|
+
export type v1IpAllowlistRule = {
|
|
2590
|
+
/** CIDR block (e.g., '192.168.1.0/24'). */
|
|
2591
|
+
cidr: string;
|
|
2592
|
+
/** Optional human-readable label for this rule. */
|
|
2593
|
+
label?: string;
|
|
2594
|
+
/** Creation timestamp as millisecond epoch string. */
|
|
2595
|
+
createdAt?: string;
|
|
2596
|
+
};
|
|
2569
2597
|
export type v1ListFiatOnRampCredentialsRequest = {
|
|
2570
2598
|
/** Unique identifier for a given Organization. */
|
|
2571
2599
|
organizationId: string;
|
|
@@ -2592,7 +2620,7 @@ export type v1ListSupportedAssetsRequest = {
|
|
|
2592
2620
|
/** Unique identifier for a given organization. */
|
|
2593
2621
|
organizationId: string;
|
|
2594
2622
|
/** 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. */
|
|
2595
|
-
caip2:
|
|
2623
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2596
2624
|
};
|
|
2597
2625
|
export type v1ListSupportedAssetsResponse = {
|
|
2598
2626
|
/** List of asset metadata */
|
|
@@ -2645,7 +2673,7 @@ export type v1Oauth2AuthenticateIntent = {
|
|
|
2645
2673
|
bearerTokenTargetPublicKey?: string;
|
|
2646
2674
|
};
|
|
2647
2675
|
export type v1Oauth2AuthenticateRequest = {
|
|
2648
|
-
type:
|
|
2676
|
+
type: "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE";
|
|
2649
2677
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2650
2678
|
timestampMs: string;
|
|
2651
2679
|
/** Unique identifier for a given Organization. */
|
|
@@ -2695,7 +2723,7 @@ export type v1OauthLoginIntent = {
|
|
|
2695
2723
|
invalidateExisting?: boolean;
|
|
2696
2724
|
};
|
|
2697
2725
|
export type v1OauthLoginRequest = {
|
|
2698
|
-
type:
|
|
2726
|
+
type: "ACTIVITY_TYPE_OAUTH_LOGIN";
|
|
2699
2727
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2700
2728
|
timestampMs: string;
|
|
2701
2729
|
/** Unique identifier for a given Organization. */
|
|
@@ -2730,13 +2758,13 @@ export type v1OauthProviderParams = {
|
|
|
2730
2758
|
export type v1OauthProviderParamsV2 = {
|
|
2731
2759
|
/** Human-readable name to identify a Provider. */
|
|
2732
2760
|
providerName: string;
|
|
2733
|
-
|
|
2734
|
-
oidcToken
|
|
2735
|
-
|
|
2736
|
-
oidcClaims
|
|
2737
|
-
};
|
|
2761
|
+
} & ({
|
|
2762
|
+
oidcToken: string;
|
|
2763
|
+
} | {
|
|
2764
|
+
/** OIDC claims (iss, sub, aud) to uniquely identify the user */ oidcClaims: v1OidcClaims;
|
|
2765
|
+
});
|
|
2738
2766
|
export type v1OauthRequest = {
|
|
2739
|
-
type:
|
|
2767
|
+
type: "ACTIVITY_TYPE_OAUTH";
|
|
2740
2768
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2741
2769
|
timestampMs: string;
|
|
2742
2770
|
/** Unique identifier for a given Organization. */
|
|
@@ -2776,7 +2804,7 @@ export type v1OtpAuthIntent = {
|
|
|
2776
2804
|
invalidateExisting?: boolean;
|
|
2777
2805
|
};
|
|
2778
2806
|
export type v1OtpAuthRequest = {
|
|
2779
|
-
type:
|
|
2807
|
+
type: "ACTIVITY_TYPE_OTP_AUTH";
|
|
2780
2808
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2781
2809
|
timestampMs: string;
|
|
2782
2810
|
/** Unique identifier for a given Organization. */
|
|
@@ -2817,7 +2845,7 @@ export type v1OtpLoginIntentV2 = {
|
|
|
2817
2845
|
invalidateExisting?: boolean;
|
|
2818
2846
|
};
|
|
2819
2847
|
export type v1OtpLoginRequest = {
|
|
2820
|
-
type:
|
|
2848
|
+
type: "ACTIVITY_TYPE_OTP_LOGIN_V2";
|
|
2821
2849
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2822
2850
|
timestampMs: string;
|
|
2823
2851
|
/** Unique identifier for a given Organization. */
|
|
@@ -2892,9 +2920,9 @@ export type v1PrivateKeyResult = {
|
|
|
2892
2920
|
};
|
|
2893
2921
|
export type v1PublicKeyCredentialWithAttestation = {
|
|
2894
2922
|
id: string;
|
|
2895
|
-
type:
|
|
2923
|
+
type: "public-key";
|
|
2896
2924
|
rawId: string;
|
|
2897
|
-
authenticatorAttachment?:
|
|
2925
|
+
authenticatorAttachment?: "cross-platform" | "platform";
|
|
2898
2926
|
response: v1AuthenticatorAttestationResponse;
|
|
2899
2927
|
clientExtensionResults: v1SimpleClientExtensionResults;
|
|
2900
2928
|
};
|
|
@@ -2905,7 +2933,7 @@ export type v1RecoverUserIntent = {
|
|
|
2905
2933
|
userId: string;
|
|
2906
2934
|
};
|
|
2907
2935
|
export type v1RecoverUserRequest = {
|
|
2908
|
-
type:
|
|
2936
|
+
type: "ACTIVITY_TYPE_RECOVER_USER";
|
|
2909
2937
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2910
2938
|
timestampMs: string;
|
|
2911
2939
|
/** Unique identifier for a given Organization. */
|
|
@@ -2922,7 +2950,7 @@ export type v1RejectActivityIntent = {
|
|
|
2922
2950
|
fingerprint: string;
|
|
2923
2951
|
};
|
|
2924
2952
|
export type v1RejectActivityRequest = {
|
|
2925
|
-
type:
|
|
2953
|
+
type: "ACTIVITY_TYPE_REJECT_ACTIVITY";
|
|
2926
2954
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2927
2955
|
timestampMs: string;
|
|
2928
2956
|
/** Unique identifier for a given Organization. */
|
|
@@ -2930,12 +2958,25 @@ export type v1RejectActivityRequest = {
|
|
|
2930
2958
|
parameters: v1RejectActivityIntent;
|
|
2931
2959
|
generateAppProofs?: boolean;
|
|
2932
2960
|
};
|
|
2961
|
+
export type v1RemoveIpAllowlistIntent = {
|
|
2962
|
+
/** The public component of an API key. If null, removes the organization-level IP allowlist. If set, removes the IP allowlist for this specific API key. */
|
|
2963
|
+
publicKey?: string;
|
|
2964
|
+
};
|
|
2965
|
+
export type v1RemoveIpAllowlistRequest = {
|
|
2966
|
+
type: "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST";
|
|
2967
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2968
|
+
timestampMs: string;
|
|
2969
|
+
/** Unique identifier for a given Organization. */
|
|
2970
|
+
organizationId: string;
|
|
2971
|
+
parameters: v1RemoveIpAllowlistIntent;
|
|
2972
|
+
};
|
|
2973
|
+
export type v1RemoveIpAllowlistResult = {};
|
|
2933
2974
|
export type v1RemoveOrganizationFeatureIntent = {
|
|
2934
2975
|
/** Name of the feature to remove */
|
|
2935
2976
|
name: v1FeatureName;
|
|
2936
2977
|
};
|
|
2937
2978
|
export type v1RemoveOrganizationFeatureRequest = {
|
|
2938
|
-
type:
|
|
2979
|
+
type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE";
|
|
2939
2980
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2940
2981
|
timestampMs: string;
|
|
2941
2982
|
/** Unique identifier for a given Organization. */
|
|
@@ -3053,6 +3094,8 @@ export type v1Result = {
|
|
|
3053
3094
|
createWebhookEndpointResult?: v1CreateWebhookEndpointResult;
|
|
3054
3095
|
updateWebhookEndpointResult?: v1UpdateWebhookEndpointResult;
|
|
3055
3096
|
deleteWebhookEndpointResult?: v1DeleteWebhookEndpointResult;
|
|
3097
|
+
setIpAllowlistResult?: v1SetIpAllowlistResult;
|
|
3098
|
+
removeIpAllowlistResult?: v1RemoveIpAllowlistResult;
|
|
3056
3099
|
};
|
|
3057
3100
|
export type v1RevertChainEntry = {
|
|
3058
3101
|
/** The contract address where the revert occurred. */
|
|
@@ -3140,6 +3183,25 @@ export type v1SelectorV2 = {
|
|
|
3140
3183
|
operator?: v1Operator;
|
|
3141
3184
|
targets?: string[];
|
|
3142
3185
|
};
|
|
3186
|
+
export type v1SetIpAllowlistIntent = {
|
|
3187
|
+
/** The public component of an API key. If null, the IP allowlist applies at the organization level. If set, it applies only to this specific API key. */
|
|
3188
|
+
publicKey?: string;
|
|
3189
|
+
/** Whether the IP allowlist is enabled. Only meaningful for organization-level allowlists. Omit for API key-level allowlists. */
|
|
3190
|
+
enabled?: boolean;
|
|
3191
|
+
/** List of IP allowlist rules with CIDR blocks and optional labels. */
|
|
3192
|
+
rules?: v1IpAllowlistIntentRule[];
|
|
3193
|
+
/** Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
3194
|
+
onEvaluationError?: string;
|
|
3195
|
+
};
|
|
3196
|
+
export type v1SetIpAllowlistRequest = {
|
|
3197
|
+
type: "ACTIVITY_TYPE_SET_IP_ALLOWLIST";
|
|
3198
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3199
|
+
timestampMs: string;
|
|
3200
|
+
/** Unique identifier for a given Organization. */
|
|
3201
|
+
organizationId: string;
|
|
3202
|
+
parameters: v1SetIpAllowlistIntent;
|
|
3203
|
+
};
|
|
3204
|
+
export type v1SetIpAllowlistResult = {};
|
|
3143
3205
|
export type v1SetOrganizationFeatureIntent = {
|
|
3144
3206
|
/** Name of the feature to set */
|
|
3145
3207
|
name: v1FeatureName;
|
|
@@ -3147,7 +3209,7 @@ export type v1SetOrganizationFeatureIntent = {
|
|
|
3147
3209
|
value: string;
|
|
3148
3210
|
};
|
|
3149
3211
|
export type v1SetOrganizationFeatureRequest = {
|
|
3150
|
-
type:
|
|
3212
|
+
type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE";
|
|
3151
3213
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3152
3214
|
timestampMs: string;
|
|
3153
3215
|
/** Unique identifier for a given Organization. */
|
|
@@ -3180,7 +3242,7 @@ export type v1SignRawPayloadIntentV2 = {
|
|
|
3180
3242
|
hashFunction: v1HashFunction;
|
|
3181
3243
|
};
|
|
3182
3244
|
export type v1SignRawPayloadRequest = {
|
|
3183
|
-
type:
|
|
3245
|
+
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2";
|
|
3184
3246
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3185
3247
|
timestampMs: string;
|
|
3186
3248
|
/** Unique identifier for a given Organization. */
|
|
@@ -3207,7 +3269,7 @@ export type v1SignRawPayloadsIntent = {
|
|
|
3207
3269
|
hashFunction: v1HashFunction;
|
|
3208
3270
|
};
|
|
3209
3271
|
export type v1SignRawPayloadsRequest = {
|
|
3210
|
-
type:
|
|
3272
|
+
type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS";
|
|
3211
3273
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3212
3274
|
timestampMs: string;
|
|
3213
3275
|
/** Unique identifier for a given Organization. */
|
|
@@ -3233,7 +3295,7 @@ export type v1SignTransactionIntentV2 = {
|
|
|
3233
3295
|
type: v1TransactionType;
|
|
3234
3296
|
};
|
|
3235
3297
|
export type v1SignTransactionRequest = {
|
|
3236
|
-
type:
|
|
3298
|
+
type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2";
|
|
3237
3299
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3238
3300
|
timestampMs: string;
|
|
3239
3301
|
/** Unique identifier for a given Organization. */
|
|
@@ -3276,12 +3338,12 @@ export type v1SolSendTransactionIntent = {
|
|
|
3276
3338
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
3277
3339
|
sponsor?: boolean;
|
|
3278
3340
|
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
|
|
3279
|
-
caip2:
|
|
3341
|
+
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG" | "solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3zQawwpjk2NsNY";
|
|
3280
3342
|
/** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
3281
3343
|
recentBlockhash?: string;
|
|
3282
3344
|
};
|
|
3283
3345
|
export type v1SolSendTransactionRequest = {
|
|
3284
|
-
type:
|
|
3346
|
+
type: "ACTIVITY_TYPE_SOL_SEND_TRANSACTION";
|
|
3285
3347
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3286
3348
|
timestampMs: string;
|
|
3287
3349
|
/** Unique identifier for a given Organization. */
|
|
@@ -3326,7 +3388,7 @@ export type v1StampLoginIntent = {
|
|
|
3326
3388
|
invalidateExisting?: boolean;
|
|
3327
3389
|
};
|
|
3328
3390
|
export type v1StampLoginRequest = {
|
|
3329
|
-
type:
|
|
3391
|
+
type: "ACTIVITY_TYPE_STAMP_LOGIN";
|
|
3330
3392
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3331
3393
|
timestampMs: string;
|
|
3332
3394
|
/** Unique identifier for a given Organization. */
|
|
@@ -3448,7 +3510,7 @@ export type v1UpdateFiatOnRampCredentialIntent = {
|
|
|
3448
3510
|
encryptedPrivateApiKey?: string;
|
|
3449
3511
|
};
|
|
3450
3512
|
export type v1UpdateFiatOnRampCredentialRequest = {
|
|
3451
|
-
type:
|
|
3513
|
+
type: "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL";
|
|
3452
3514
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3453
3515
|
timestampMs: string;
|
|
3454
3516
|
/** Unique identifier for a given Organization. */
|
|
@@ -3471,7 +3533,7 @@ export type v1UpdateOauth2CredentialIntent = {
|
|
|
3471
3533
|
encryptedClientSecret: string;
|
|
3472
3534
|
};
|
|
3473
3535
|
export type v1UpdateOauth2CredentialRequest = {
|
|
3474
|
-
type:
|
|
3536
|
+
type: "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL";
|
|
3475
3537
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3476
3538
|
timestampMs: string;
|
|
3477
3539
|
/** Unique identifier for a given Organization. */
|
|
@@ -3488,7 +3550,7 @@ export type v1UpdateOrganizationNameIntent = {
|
|
|
3488
3550
|
organizationName: string;
|
|
3489
3551
|
};
|
|
3490
3552
|
export type v1UpdateOrganizationNameRequest = {
|
|
3491
|
-
type:
|
|
3553
|
+
type: "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME";
|
|
3492
3554
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3493
3555
|
timestampMs: string;
|
|
3494
3556
|
/** Unique identifier for a given Organization. */
|
|
@@ -3530,7 +3592,7 @@ export type v1UpdatePolicyIntentV2 = {
|
|
|
3530
3592
|
policyNotes?: string;
|
|
3531
3593
|
};
|
|
3532
3594
|
export type v1UpdatePolicyRequest = {
|
|
3533
|
-
type:
|
|
3595
|
+
type: "ACTIVITY_TYPE_UPDATE_POLICY_V2";
|
|
3534
3596
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3535
3597
|
timestampMs: string;
|
|
3536
3598
|
/** Unique identifier for a given Organization. */
|
|
@@ -3557,7 +3619,7 @@ export type v1UpdatePrivateKeyTagIntent = {
|
|
|
3557
3619
|
removePrivateKeyIds: string[];
|
|
3558
3620
|
};
|
|
3559
3621
|
export type v1UpdatePrivateKeyTagRequest = {
|
|
3560
|
-
type:
|
|
3622
|
+
type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
|
|
3561
3623
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3562
3624
|
timestampMs: string;
|
|
3563
3625
|
/** Unique identifier for a given Organization. */
|
|
@@ -3576,7 +3638,7 @@ export type v1UpdateRootQuorumIntent = {
|
|
|
3576
3638
|
userIds: string[];
|
|
3577
3639
|
};
|
|
3578
3640
|
export type v1UpdateRootQuorumRequest = {
|
|
3579
|
-
type:
|
|
3641
|
+
type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
|
|
3580
3642
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3581
3643
|
timestampMs: string;
|
|
3582
3644
|
/** Unique identifier for a given Organization. */
|
|
@@ -3594,7 +3656,7 @@ export type v1UpdateUserEmailIntent = {
|
|
|
3594
3656
|
verificationToken?: string;
|
|
3595
3657
|
};
|
|
3596
3658
|
export type v1UpdateUserEmailRequest = {
|
|
3597
|
-
type:
|
|
3659
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_EMAIL";
|
|
3598
3660
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3599
3661
|
timestampMs: string;
|
|
3600
3662
|
/** Unique identifier for a given Organization. */
|
|
@@ -3625,7 +3687,7 @@ export type v1UpdateUserNameIntent = {
|
|
|
3625
3687
|
userName: string;
|
|
3626
3688
|
};
|
|
3627
3689
|
export type v1UpdateUserNameRequest = {
|
|
3628
|
-
type:
|
|
3690
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_NAME";
|
|
3629
3691
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3630
3692
|
timestampMs: string;
|
|
3631
3693
|
/** Unique identifier for a given Organization. */
|
|
@@ -3646,7 +3708,7 @@ export type v1UpdateUserPhoneNumberIntent = {
|
|
|
3646
3708
|
verificationToken?: string;
|
|
3647
3709
|
};
|
|
3648
3710
|
export type v1UpdateUserPhoneNumberRequest = {
|
|
3649
|
-
type:
|
|
3711
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER";
|
|
3650
3712
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3651
3713
|
timestampMs: string;
|
|
3652
3714
|
/** Unique identifier for a given Organization. */
|
|
@@ -3659,7 +3721,7 @@ export type v1UpdateUserPhoneNumberResult = {
|
|
|
3659
3721
|
userId: string;
|
|
3660
3722
|
};
|
|
3661
3723
|
export type v1UpdateUserRequest = {
|
|
3662
|
-
type:
|
|
3724
|
+
type: "ACTIVITY_TYPE_UPDATE_USER";
|
|
3663
3725
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3664
3726
|
timestampMs: string;
|
|
3665
3727
|
/** Unique identifier for a given Organization. */
|
|
@@ -3682,7 +3744,7 @@ export type v1UpdateUserTagIntent = {
|
|
|
3682
3744
|
removeUserIds: string[];
|
|
3683
3745
|
};
|
|
3684
3746
|
export type v1UpdateUserTagRequest = {
|
|
3685
|
-
type:
|
|
3747
|
+
type: "ACTIVITY_TYPE_UPDATE_USER_TAG";
|
|
3686
3748
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3687
3749
|
timestampMs: string;
|
|
3688
3750
|
/** Unique identifier for a given Organization. */
|
|
@@ -3701,7 +3763,7 @@ export type v1UpdateWalletIntent = {
|
|
|
3701
3763
|
walletName?: string;
|
|
3702
3764
|
};
|
|
3703
3765
|
export type v1UpdateWalletRequest = {
|
|
3704
|
-
type:
|
|
3766
|
+
type: "ACTIVITY_TYPE_UPDATE_WALLET";
|
|
3705
3767
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3706
3768
|
timestampMs: string;
|
|
3707
3769
|
/** Unique identifier for a given Organization. */
|
|
@@ -3724,7 +3786,7 @@ export type v1UpdateWebhookEndpointIntent = {
|
|
|
3724
3786
|
isActive?: boolean;
|
|
3725
3787
|
};
|
|
3726
3788
|
export type v1UpdateWebhookEndpointRequest = {
|
|
3727
|
-
type:
|
|
3789
|
+
type: "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT";
|
|
3728
3790
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3729
3791
|
timestampMs: string;
|
|
3730
3792
|
/** Unique identifier for a given Organization. */
|
|
@@ -3852,7 +3914,7 @@ export type v1VerifyOtpIntentV2 = {
|
|
|
3852
3914
|
expirationSeconds?: string;
|
|
3853
3915
|
};
|
|
3854
3916
|
export type v1VerifyOtpRequest = {
|
|
3855
|
-
type:
|
|
3917
|
+
type: "ACTIVITY_TYPE_VERIFY_OTP_V2";
|
|
3856
3918
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3857
3919
|
timestampMs: string;
|
|
3858
3920
|
/** Unique identifier for a given Organization. */
|
|
@@ -3873,7 +3935,7 @@ export type v1Vote = {
|
|
|
3873
3935
|
user: v1User;
|
|
3874
3936
|
/** Unique identifier for a given Activity object. */
|
|
3875
3937
|
activityId: string;
|
|
3876
|
-
selection:
|
|
3938
|
+
selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
|
|
3877
3939
|
/** The raw message being signed within a Vote. */
|
|
3878
3940
|
message: string;
|
|
3879
3941
|
/** The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
@@ -3976,7 +4038,7 @@ export type v1WebhookEndpointData = {
|
|
|
3976
4038
|
subscriptions?: v1WebhookSubscriptionParams[];
|
|
3977
4039
|
};
|
|
3978
4040
|
export type v1WebhookSubscriptionParams = {
|
|
3979
|
-
/** The event type to subscribe to (for example, ACTIVITY_UPDATES or
|
|
4041
|
+
/** The event type to subscribe to (for example, ACTIVITY_UPDATES or BALANCE_CONFIRMED_UPDATES). */
|
|
3980
4042
|
eventType: string;
|
|
3981
4043
|
/** JSON-encoded filter criteria for this subscription. */
|
|
3982
4044
|
filtersJson?: string;
|
|
@@ -4080,6 +4142,17 @@ export type TGetGasUsageBody = {
|
|
|
4080
4142
|
export type TGetGasUsageInput = {
|
|
4081
4143
|
body: TGetGasUsageBody;
|
|
4082
4144
|
};
|
|
4145
|
+
export type TGetIpAllowlistResponse = {
|
|
4146
|
+
allowlist: v1IpAllowlist;
|
|
4147
|
+
};
|
|
4148
|
+
export type TGetIpAllowlistBody = {
|
|
4149
|
+
organizationId?: string;
|
|
4150
|
+
/** If provided, return only the allowlist for this specific API key. */
|
|
4151
|
+
publicKey?: string;
|
|
4152
|
+
};
|
|
4153
|
+
export type TGetIpAllowlistInput = {
|
|
4154
|
+
body: TGetIpAllowlistBody;
|
|
4155
|
+
};
|
|
4083
4156
|
export type TGetLatestBootProofResponse = {
|
|
4084
4157
|
bootProof: v1BootProof;
|
|
4085
4158
|
};
|
|
@@ -4102,7 +4175,7 @@ export type TGetNoncesBody = {
|
|
|
4102
4175
|
/** The Ethereum address to query nonces for. */
|
|
4103
4176
|
address: string;
|
|
4104
4177
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
4105
|
-
caip2:
|
|
4178
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
4106
4179
|
/** Whether to fetch the standard on-chain nonce. */
|
|
4107
4180
|
nonce?: boolean;
|
|
4108
4181
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -4271,10 +4344,10 @@ export type TGetWalletAddressBalancesResponse = {
|
|
|
4271
4344
|
};
|
|
4272
4345
|
export type TGetWalletAddressBalancesBody = {
|
|
4273
4346
|
organizationId?: string;
|
|
4274
|
-
/** Address corresponding to a wallet account. */
|
|
4347
|
+
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4275
4348
|
address: string;
|
|
4276
4349
|
/** 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. */
|
|
4277
|
-
caip2:
|
|
4350
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4278
4351
|
};
|
|
4279
4352
|
export type TGetWalletAddressBalancesInput = {
|
|
4280
4353
|
body: TGetWalletAddressBalancesBody;
|
|
@@ -4387,7 +4460,7 @@ export type TListSupportedAssetsResponse = {
|
|
|
4387
4460
|
export type TListSupportedAssetsBody = {
|
|
4388
4461
|
organizationId?: string;
|
|
4389
4462
|
/** 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. */
|
|
4390
|
-
caip2:
|
|
4463
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4391
4464
|
};
|
|
4392
4465
|
export type TListSupportedAssetsInput = {
|
|
4393
4466
|
body: TListSupportedAssetsBody;
|
|
@@ -4507,20 +4580,6 @@ export type TCreateApiKeysBody = {
|
|
|
4507
4580
|
export type TCreateApiKeysInput = {
|
|
4508
4581
|
body: TCreateApiKeysBody;
|
|
4509
4582
|
};
|
|
4510
|
-
export type TCreateApiOnlyUsersResponse = {
|
|
4511
|
-
activity: v1Activity;
|
|
4512
|
-
/** A list of API-only User IDs. */
|
|
4513
|
-
userIds: string[];
|
|
4514
|
-
};
|
|
4515
|
-
export type TCreateApiOnlyUsersBody = {
|
|
4516
|
-
timestampMs?: string;
|
|
4517
|
-
organizationId?: string;
|
|
4518
|
-
/** A list of API-only Users to create. */
|
|
4519
|
-
apiOnlyUsers: v1ApiOnlyUserParams[];
|
|
4520
|
-
};
|
|
4521
|
-
export type TCreateApiOnlyUsersInput = {
|
|
4522
|
-
body: TCreateApiOnlyUsersBody;
|
|
4523
|
-
};
|
|
4524
4583
|
export type TCreateAuthenticatorsResponse = {
|
|
4525
4584
|
activity: v1Activity;
|
|
4526
4585
|
/** A list of Authenticator IDs. */
|
|
@@ -4604,7 +4663,7 @@ export type TCreateOauthProvidersBody = {
|
|
|
4604
4663
|
/** The ID of the User to add an Oauth provider to */
|
|
4605
4664
|
userId: string;
|
|
4606
4665
|
/** A list of Oauth providers. */
|
|
4607
|
-
oauthProviders:
|
|
4666
|
+
oauthProviders: v1OauthProviderParamsV2[];
|
|
4608
4667
|
};
|
|
4609
4668
|
export type TCreateOauthProvidersInput = {
|
|
4610
4669
|
body: TCreateOauthProvidersBody;
|
|
@@ -4764,7 +4823,7 @@ export type TCreateSubOrganizationBody = {
|
|
|
4764
4823
|
/** Name for this sub-organization */
|
|
4765
4824
|
subOrganizationName: string;
|
|
4766
4825
|
/** Root users to create within this sub-organization */
|
|
4767
|
-
rootUsers:
|
|
4826
|
+
rootUsers: v1RootUserParamsV5[];
|
|
4768
4827
|
/** The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users */
|
|
4769
4828
|
rootQuorumThreshold: number;
|
|
4770
4829
|
/** The wallet to create for the sub-organization */
|
|
@@ -4812,7 +4871,7 @@ export type TCreateUsersBody = {
|
|
|
4812
4871
|
timestampMs?: string;
|
|
4813
4872
|
organizationId?: string;
|
|
4814
4873
|
/** A list of Users. */
|
|
4815
|
-
users:
|
|
4874
|
+
users: v1UserParamsV4[];
|
|
4816
4875
|
};
|
|
4817
4876
|
export type TCreateUsersInput = {
|
|
4818
4877
|
body: TCreateUsersBody;
|
|
@@ -5174,7 +5233,7 @@ export type TEthSendTransactionBody = {
|
|
|
5174
5233
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
5175
5234
|
sponsor?: boolean;
|
|
5176
5235
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
5177
|
-
caip2:
|
|
5236
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
5178
5237
|
/** Recipient address as a hex string with 0x prefix. */
|
|
5179
5238
|
to: string;
|
|
5180
5239
|
/** Amount of native asset to send in wei. */
|
|
@@ -5365,8 +5424,10 @@ export type TInitImportWalletInput = {
|
|
|
5365
5424
|
};
|
|
5366
5425
|
export type TInitOtpResponse = {
|
|
5367
5426
|
activity: v1Activity;
|
|
5368
|
-
/** Unique identifier for an OTP
|
|
5427
|
+
/** Unique identifier for an OTP flow */
|
|
5369
5428
|
otpId: string;
|
|
5429
|
+
/** Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
5430
|
+
otpEncryptionTargetBundle: string;
|
|
5370
5431
|
};
|
|
5371
5432
|
export type TInitOtpBody = {
|
|
5372
5433
|
timestampMs?: string;
|
|
@@ -5375,19 +5436,19 @@ export type TInitOtpBody = {
|
|
|
5375
5436
|
otpType: string;
|
|
5376
5437
|
/** Email or phone number to send the OTP code to */
|
|
5377
5438
|
contact: string;
|
|
5439
|
+
/** The name of the application. */
|
|
5440
|
+
appName: string;
|
|
5378
5441
|
/** Optional length of the OTP code. Default = 9 */
|
|
5379
5442
|
otpLength?: number;
|
|
5380
|
-
/** The name of the application. This field is required and will be used in email notifications if an email template is not provided. */
|
|
5381
|
-
appName: string;
|
|
5382
5443
|
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
5383
5444
|
emailCustomization?: v1EmailCustomizationParamsV2;
|
|
5384
|
-
/** Optional parameters for customizing SMS message. If not provided, the default
|
|
5445
|
+
/** Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
5385
5446
|
smsCustomization?: v1SmsCustomizationParams;
|
|
5386
5447
|
/** Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address. */
|
|
5387
5448
|
userIdentifier?: string;
|
|
5388
5449
|
/** Optional custom email address from which to send the OTP email */
|
|
5389
5450
|
sendFromEmailAddress?: string;
|
|
5390
|
-
/** Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true */
|
|
5451
|
+
/** Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). If set to false, OTP code will only be numeric. Default = true */
|
|
5391
5452
|
alphanumeric?: boolean;
|
|
5392
5453
|
/** Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
5393
5454
|
sendFromEmailSenderName?: string;
|
|
@@ -5609,6 +5670,18 @@ export type TRejectActivityBody = {
|
|
|
5609
5670
|
export type TRejectActivityInput = {
|
|
5610
5671
|
body: TRejectActivityBody;
|
|
5611
5672
|
};
|
|
5673
|
+
export type TRemoveIpAllowlistResponse = {
|
|
5674
|
+
activity: v1Activity;
|
|
5675
|
+
};
|
|
5676
|
+
export type TRemoveIpAllowlistBody = {
|
|
5677
|
+
timestampMs?: string;
|
|
5678
|
+
organizationId?: string;
|
|
5679
|
+
/** The public component of an API key. If null, removes the organization-level IP allowlist. If set, removes the IP allowlist for this specific API key. */
|
|
5680
|
+
publicKey?: string;
|
|
5681
|
+
};
|
|
5682
|
+
export type TRemoveIpAllowlistInput = {
|
|
5683
|
+
body: TRemoveIpAllowlistBody;
|
|
5684
|
+
};
|
|
5612
5685
|
export type TRemoveOrganizationFeatureResponse = {
|
|
5613
5686
|
activity: v1Activity;
|
|
5614
5687
|
/** Resulting list of organization features. */
|
|
@@ -5623,6 +5696,24 @@ export type TRemoveOrganizationFeatureBody = {
|
|
|
5623
5696
|
export type TRemoveOrganizationFeatureInput = {
|
|
5624
5697
|
body: TRemoveOrganizationFeatureBody;
|
|
5625
5698
|
};
|
|
5699
|
+
export type TSetIpAllowlistResponse = {
|
|
5700
|
+
activity: v1Activity;
|
|
5701
|
+
};
|
|
5702
|
+
export type TSetIpAllowlistBody = {
|
|
5703
|
+
timestampMs?: string;
|
|
5704
|
+
organizationId?: string;
|
|
5705
|
+
/** The public component of an API key. If null, the IP allowlist applies at the organization level. If set, it applies only to this specific API key. */
|
|
5706
|
+
publicKey?: string;
|
|
5707
|
+
/** Whether the IP allowlist is enabled. Only meaningful for organization-level allowlists. Omit for API key-level allowlists. */
|
|
5708
|
+
enabled?: boolean;
|
|
5709
|
+
/** List of IP allowlist rules with CIDR blocks and optional labels. */
|
|
5710
|
+
rules?: v1IpAllowlistIntentRule[];
|
|
5711
|
+
/** Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
5712
|
+
onEvaluationError?: string;
|
|
5713
|
+
};
|
|
5714
|
+
export type TSetIpAllowlistInput = {
|
|
5715
|
+
body: TSetIpAllowlistBody;
|
|
5716
|
+
};
|
|
5626
5717
|
export type TSetOrganizationFeatureResponse = {
|
|
5627
5718
|
activity: v1Activity;
|
|
5628
5719
|
/** Resulting list of organization features. */
|
|
@@ -5713,7 +5804,7 @@ export type TSolSendTransactionBody = {
|
|
|
5713
5804
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
5714
5805
|
sponsor?: boolean;
|
|
5715
5806
|
/** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
|
|
5716
|
-
caip2:
|
|
5807
|
+
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG" | "solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3zQawwpjk2NsNY";
|
|
5717
5808
|
/** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
5718
5809
|
recentBlockhash?: string;
|
|
5719
5810
|
};
|