@turnkey/sdk-types 0.12.0 → 0.13.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.
|
@@ -183,7 +183,7 @@ 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";
|
|
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
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";
|
|
188
188
|
export type v1ApiKey = {
|
|
189
189
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
@@ -228,6 +228,14 @@ export type v1AppProof = {
|
|
|
228
228
|
/** Signature over hashed proof_payload. */
|
|
229
229
|
signature: string;
|
|
230
230
|
};
|
|
231
|
+
export type v1AppStatus = {
|
|
232
|
+
/** Unique identifier for this TVC App */
|
|
233
|
+
appId: string;
|
|
234
|
+
/** List of deployment statuses for this app */
|
|
235
|
+
deployments: v1DeploymentStatus[];
|
|
236
|
+
/** The deployment ID currently serving traffic for this app */
|
|
237
|
+
targetedDeploymentId: string;
|
|
238
|
+
};
|
|
231
239
|
export type v1ApproveActivityIntent = {
|
|
232
240
|
/** An artifact verifying a User's action. */
|
|
233
241
|
fingerprint: string;
|
|
@@ -252,6 +260,8 @@ export type v1AssetBalance = {
|
|
|
252
260
|
decimals?: number;
|
|
253
261
|
/** Normalized balance values for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. Use the balance field instead. */
|
|
254
262
|
display?: v1AssetBalanceDisplay;
|
|
263
|
+
/** The asset name */
|
|
264
|
+
name?: string;
|
|
255
265
|
};
|
|
256
266
|
export type v1AssetBalanceDisplay = {
|
|
257
267
|
/** USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
|
|
@@ -260,10 +270,16 @@ export type v1AssetBalanceDisplay = {
|
|
|
260
270
|
crypto?: string;
|
|
261
271
|
};
|
|
262
272
|
export type v1AssetMetadata = {
|
|
273
|
+
/** The caip-19 asset identifier */
|
|
263
274
|
caip19?: string;
|
|
275
|
+
/** The asset symbol */
|
|
264
276
|
symbol?: string;
|
|
277
|
+
/** The number of decimals this asset uses */
|
|
265
278
|
decimals?: number;
|
|
279
|
+
/** The url of the asset logo */
|
|
266
280
|
logoUrl?: string;
|
|
281
|
+
/** The asset name */
|
|
282
|
+
name?: string;
|
|
267
283
|
};
|
|
268
284
|
export type v1Attestation = {
|
|
269
285
|
/** The cbor encoded then base64 url encoded id of the credential. */
|
|
@@ -382,6 +398,15 @@ export type v1CreateApiOnlyUsersIntent = {
|
|
|
382
398
|
/** A list of API-only Users to create. */
|
|
383
399
|
apiOnlyUsers: v1ApiOnlyUserParams[];
|
|
384
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
|
+
};
|
|
385
410
|
export type v1CreateApiOnlyUsersResult = {
|
|
386
411
|
/** A list of API-only User IDs. */
|
|
387
412
|
userIds: string[];
|
|
@@ -482,19 +507,29 @@ export type v1CreateOauthProvidersIntent = {
|
|
|
482
507
|
/** A list of Oauth providers. */
|
|
483
508
|
oauthProviders: v1OauthProviderParams[];
|
|
484
509
|
};
|
|
510
|
+
export type v1CreateOauthProvidersIntentV2 = {
|
|
511
|
+
/** The ID of the User to add an Oauth provider to */
|
|
512
|
+
userId: string;
|
|
513
|
+
/** A list of Oauth providers. */
|
|
514
|
+
oauthProviders: v1OauthProviderParamsV2[];
|
|
515
|
+
};
|
|
485
516
|
export type v1CreateOauthProvidersRequest = {
|
|
486
517
|
type: string;
|
|
487
518
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
488
519
|
timestampMs: string;
|
|
489
520
|
/** Unique identifier for a given Organization. */
|
|
490
521
|
organizationId: string;
|
|
491
|
-
parameters:
|
|
522
|
+
parameters: v1CreateOauthProvidersIntentV2;
|
|
492
523
|
generateAppProofs?: boolean;
|
|
493
524
|
};
|
|
494
525
|
export type v1CreateOauthProvidersResult = {
|
|
495
526
|
/** A list of unique identifiers for Oauth Providers */
|
|
496
527
|
providerIds: string[];
|
|
497
528
|
};
|
|
529
|
+
export type v1CreateOauthProvidersResultV2 = {
|
|
530
|
+
/** A list of unique identifiers for Oauth Providers */
|
|
531
|
+
providerIds: string[];
|
|
532
|
+
};
|
|
498
533
|
export type v1CreateOrganizationIntent = {
|
|
499
534
|
/** Human-readable name for an Organization. */
|
|
500
535
|
organizationName: string;
|
|
@@ -820,13 +855,35 @@ export type v1CreateSubOrganizationIntentV7 = {
|
|
|
820
855
|
/** Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
821
856
|
clientSignature?: v1ClientSignature;
|
|
822
857
|
};
|
|
858
|
+
export type v1CreateSubOrganizationIntentV8 = {
|
|
859
|
+
/** Name for this sub-organization */
|
|
860
|
+
subOrganizationName: string;
|
|
861
|
+
/** Root users to create within this sub-organization */
|
|
862
|
+
rootUsers: v1RootUserParamsV5[];
|
|
863
|
+
/** The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users */
|
|
864
|
+
rootQuorumThreshold: number;
|
|
865
|
+
/** The wallet to create for the sub-organization */
|
|
866
|
+
wallet?: v1WalletParams;
|
|
867
|
+
/** Disable email recovery for the sub-organization */
|
|
868
|
+
disableEmailRecovery?: boolean;
|
|
869
|
+
/** Disable email auth for the sub-organization */
|
|
870
|
+
disableEmailAuth?: boolean;
|
|
871
|
+
/** Disable OTP SMS auth for the sub-organization */
|
|
872
|
+
disableSmsAuth?: boolean;
|
|
873
|
+
/** Disable OTP email auth for the sub-organization */
|
|
874
|
+
disableOtpEmailAuth?: boolean;
|
|
875
|
+
/** Signed JWT containing a unique id, expiry, verification type, contact */
|
|
876
|
+
verificationToken?: string;
|
|
877
|
+
/** Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
878
|
+
clientSignature?: v1ClientSignature;
|
|
879
|
+
};
|
|
823
880
|
export type v1CreateSubOrganizationRequest = {
|
|
824
881
|
type: string;
|
|
825
882
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
826
883
|
timestampMs: string;
|
|
827
884
|
/** Unique identifier for a given Organization. */
|
|
828
885
|
organizationId: string;
|
|
829
|
-
parameters:
|
|
886
|
+
parameters: v1CreateSubOrganizationIntentV8;
|
|
830
887
|
generateAppProofs?: boolean;
|
|
831
888
|
};
|
|
832
889
|
export type v1CreateSubOrganizationResult = {
|
|
@@ -859,6 +916,11 @@ export type v1CreateSubOrganizationResultV7 = {
|
|
|
859
916
|
wallet?: v1WalletResult;
|
|
860
917
|
rootUserIds?: string[];
|
|
861
918
|
};
|
|
919
|
+
export type v1CreateSubOrganizationResultV8 = {
|
|
920
|
+
subOrganizationId: string;
|
|
921
|
+
wallet?: v1WalletResult;
|
|
922
|
+
rootUserIds?: string[];
|
|
923
|
+
};
|
|
862
924
|
export type v1CreateTvcAppIntent = {
|
|
863
925
|
/** The name of the new TVC application */
|
|
864
926
|
name: string;
|
|
@@ -872,8 +934,8 @@ export type v1CreateTvcAppIntent = {
|
|
|
872
934
|
shareSetId?: string;
|
|
873
935
|
/** Configuration to create a new TVC operator set, used as the Share Set for this TVC application. If left empty, a Share Set ID is required */
|
|
874
936
|
shareSetParams?: v1TvcOperatorSetParams;
|
|
875
|
-
/** Enables
|
|
876
|
-
|
|
937
|
+
/** Enables network egress for this TVC app. Default if not provided: false. */
|
|
938
|
+
enableEgress?: boolean;
|
|
877
939
|
};
|
|
878
940
|
export type v1CreateTvcAppResult = {
|
|
879
941
|
/** The unique identifier for the TVC application */
|
|
@@ -898,18 +960,18 @@ export type v1CreateTvcDeploymentIntent = {
|
|
|
898
960
|
pivotArgs: string[];
|
|
899
961
|
/** Digest of the pivot binary in the pivot container. This value will be inserted in the QOS manifest to ensure application integrity. */
|
|
900
962
|
expectedPivotDigest: string;
|
|
901
|
-
/** URL of the container containing the host binary */
|
|
902
|
-
hostContainerImageUrl: string;
|
|
903
|
-
/** Location of the binary inside the host container */
|
|
904
|
-
hostPath: string;
|
|
905
|
-
/** Arguments to pass to the host binary at startup. Encoded as a list of strings, for example ["--foo", "bar"] */
|
|
906
|
-
hostArgs: string[];
|
|
907
963
|
/** Optional nonce to ensure uniqueness of the deployment manifest. If not provided, it defaults to the current Unix timestamp in seconds. */
|
|
908
964
|
nonce?: number;
|
|
909
965
|
/** Optional encrypted pull secret to authorize Turnkey to pull the pivot container image. If your image is public, leave this empty. */
|
|
910
966
|
pivotContainerEncryptedPullSecret?: string;
|
|
911
|
-
/** Optional
|
|
912
|
-
|
|
967
|
+
/** Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
|
|
968
|
+
debugMode?: boolean;
|
|
969
|
+
/** Heath 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
|
+
healthCheckType: v1TvcHealthCheckType;
|
|
971
|
+
/** Port to use for health checks. */
|
|
972
|
+
healthCheckPort: number;
|
|
973
|
+
/** Port to use for public ingress. */
|
|
974
|
+
publicIngressPort: number;
|
|
913
975
|
};
|
|
914
976
|
export type v1CreateTvcDeploymentResult = {
|
|
915
977
|
/** The unique identifier for the TVC deployment */
|
|
@@ -960,13 +1022,17 @@ export type v1CreateUsersIntentV3 = {
|
|
|
960
1022
|
/** A list of Users. */
|
|
961
1023
|
users: v1UserParamsV3[];
|
|
962
1024
|
};
|
|
1025
|
+
export type v1CreateUsersIntentV4 = {
|
|
1026
|
+
/** A list of Users. */
|
|
1027
|
+
users: v1UserParamsV4[];
|
|
1028
|
+
};
|
|
963
1029
|
export type v1CreateUsersRequest = {
|
|
964
1030
|
type: string;
|
|
965
1031
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
966
1032
|
timestampMs: string;
|
|
967
1033
|
/** Unique identifier for a given Organization. */
|
|
968
1034
|
organizationId: string;
|
|
969
|
-
parameters:
|
|
1035
|
+
parameters: v1CreateUsersIntentV4;
|
|
970
1036
|
generateAppProofs?: boolean;
|
|
971
1037
|
};
|
|
972
1038
|
export type v1CreateUsersResult = {
|
|
@@ -1017,6 +1083,29 @@ export type v1CreateWalletResult = {
|
|
|
1017
1083
|
/** A list of account addresses. */
|
|
1018
1084
|
addresses: string[];
|
|
1019
1085
|
};
|
|
1086
|
+
export type v1CreateWebhookEndpointIntent = {
|
|
1087
|
+
/** The destination URL for webhook delivery. */
|
|
1088
|
+
url: string;
|
|
1089
|
+
/** Human-readable name for this webhook endpoint. */
|
|
1090
|
+
name: string;
|
|
1091
|
+
/** Event subscriptions to create for this endpoint. */
|
|
1092
|
+
subscriptions?: v1WebhookSubscriptionParams[];
|
|
1093
|
+
};
|
|
1094
|
+
export type v1CreateWebhookEndpointRequest = {
|
|
1095
|
+
type: string;
|
|
1096
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1097
|
+
timestampMs: string;
|
|
1098
|
+
/** Unique identifier for a given Organization. */
|
|
1099
|
+
organizationId: string;
|
|
1100
|
+
parameters: v1CreateWebhookEndpointIntent;
|
|
1101
|
+
generateAppProofs?: boolean;
|
|
1102
|
+
};
|
|
1103
|
+
export type v1CreateWebhookEndpointResult = {
|
|
1104
|
+
/** Unique identifier of the created webhook endpoint. */
|
|
1105
|
+
endpointId: string;
|
|
1106
|
+
/** The created webhook endpoint data. */
|
|
1107
|
+
webhookEndpoint: v1WebhookEndpointData;
|
|
1108
|
+
};
|
|
1020
1109
|
export type v1CredPropsAuthenticationExtensionsClientOutputs = {
|
|
1021
1110
|
rk: boolean;
|
|
1022
1111
|
};
|
|
@@ -1324,6 +1413,33 @@ export type v1DeleteWalletsResult = {
|
|
|
1324
1413
|
/** A list of wallet unique identifiers that were removed */
|
|
1325
1414
|
walletIds: string[];
|
|
1326
1415
|
};
|
|
1416
|
+
export type v1DeleteWebhookEndpointIntent = {
|
|
1417
|
+
/** Unique identifier of the webhook endpoint to delete. */
|
|
1418
|
+
endpointId: string;
|
|
1419
|
+
};
|
|
1420
|
+
export type v1DeleteWebhookEndpointRequest = {
|
|
1421
|
+
type: string;
|
|
1422
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1423
|
+
timestampMs: string;
|
|
1424
|
+
/** Unique identifier for a given Organization. */
|
|
1425
|
+
organizationId: string;
|
|
1426
|
+
parameters: v1DeleteWebhookEndpointIntent;
|
|
1427
|
+
generateAppProofs?: boolean;
|
|
1428
|
+
};
|
|
1429
|
+
export type v1DeleteWebhookEndpointResult = {
|
|
1430
|
+
/** Unique identifier of the deleted webhook endpoint. */
|
|
1431
|
+
endpointId: string;
|
|
1432
|
+
};
|
|
1433
|
+
export type v1DeploymentStatus = {
|
|
1434
|
+
/** Unique identifier for this deployment (corresponds to k8s deployment label) */
|
|
1435
|
+
deploymentId: string;
|
|
1436
|
+
/** Number of ready replicas */
|
|
1437
|
+
readyReplicas: number;
|
|
1438
|
+
/** Desired number of replicas */
|
|
1439
|
+
desiredReplicas: number;
|
|
1440
|
+
/** Last time this deployment was updated */
|
|
1441
|
+
lastUpdatedTime: externaldatav1Timestamp;
|
|
1442
|
+
};
|
|
1327
1443
|
export type v1DisableAuthProxyIntent = {};
|
|
1328
1444
|
export type v1DisableAuthProxyResult = {};
|
|
1329
1445
|
export type v1DisablePrivateKeyIntent = {
|
|
@@ -1449,6 +1565,10 @@ export type v1EnableAuthProxyResult = {
|
|
|
1449
1565
|
/** A User ID with permission to initiate authentication. */
|
|
1450
1566
|
userId: string;
|
|
1451
1567
|
};
|
|
1568
|
+
export type v1EthFailureDetails = {
|
|
1569
|
+
/** Ethereum revert chain, ordered from outermost to innermost. */
|
|
1570
|
+
revertChain?: v1RevertChainEntry[];
|
|
1571
|
+
};
|
|
1452
1572
|
export type v1EthSendRawTransactionIntent = {
|
|
1453
1573
|
/** The raw, signed transaction to be sent. */
|
|
1454
1574
|
signedTransaction: string;
|
|
@@ -1569,7 +1689,7 @@ export type v1Feature = {
|
|
|
1569
1689
|
name?: v1FeatureName;
|
|
1570
1690
|
value?: string;
|
|
1571
1691
|
};
|
|
1572
|
-
export type v1FeatureName = "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY";
|
|
1692
|
+
export type v1FeatureName = "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED";
|
|
1573
1693
|
export type v1FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
|
|
1574
1694
|
export type v1FiatOnRampCredential = {
|
|
1575
1695
|
/** Unique identifier for a given Fiat On-Ramp Credential. */
|
|
@@ -1644,6 +1764,16 @@ export type v1GetAppProofsRequest = {
|
|
|
1644
1764
|
export type v1GetAppProofsResponse = {
|
|
1645
1765
|
appProofs: v1AppProof[];
|
|
1646
1766
|
};
|
|
1767
|
+
export type v1GetAppStatusRequest = {
|
|
1768
|
+
/** Unique identifier for a given Organization. */
|
|
1769
|
+
organizationId: string;
|
|
1770
|
+
/** Unique identifier for a given TVC App. */
|
|
1771
|
+
appId: string;
|
|
1772
|
+
};
|
|
1773
|
+
export type v1GetAppStatusResponse = {
|
|
1774
|
+
/** Live runtime status for the TVC App */
|
|
1775
|
+
appStatus: v1AppStatus;
|
|
1776
|
+
};
|
|
1647
1777
|
export type v1GetAuthenticatorRequest = {
|
|
1648
1778
|
/** Unique identifier for a given organization. */
|
|
1649
1779
|
organizationId: string;
|
|
@@ -1693,7 +1823,7 @@ export type v1GetNoncesRequest = {
|
|
|
1693
1823
|
organizationId: string;
|
|
1694
1824
|
/** The Ethereum address to query nonces for. */
|
|
1695
1825
|
address: string;
|
|
1696
|
-
/**
|
|
1826
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
1697
1827
|
caip2: string;
|
|
1698
1828
|
/** Whether to fetch the standard on-chain nonce. */
|
|
1699
1829
|
nonce?: boolean;
|
|
@@ -1801,6 +1931,8 @@ export type v1GetSendTransactionStatusResponse = {
|
|
|
1801
1931
|
txStatus: string;
|
|
1802
1932
|
/** Ethereum-specific transaction status. */
|
|
1803
1933
|
eth?: v1EthSendTransactionStatus;
|
|
1934
|
+
/** Solana-specific transaction status. */
|
|
1935
|
+
solana?: v1SolanaSendTransactionStatus;
|
|
1804
1936
|
/** The error encountered when broadcasting or confirming the transaction, if any. */
|
|
1805
1937
|
txError?: string;
|
|
1806
1938
|
/** Structured error information including revert details, if available. */
|
|
@@ -1903,7 +2035,7 @@ export type v1GetWalletAddressBalancesRequest = {
|
|
|
1903
2035
|
organizationId: string;
|
|
1904
2036
|
/** Address corresponding to a wallet account. */
|
|
1905
2037
|
address: string;
|
|
1906
|
-
/**
|
|
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. */
|
|
1907
2039
|
caip2: string;
|
|
1908
2040
|
};
|
|
1909
2041
|
export type v1GetWalletAddressBalancesResponse = {
|
|
@@ -1996,7 +2128,7 @@ export type v1ImportWalletResult = {
|
|
|
1996
2128
|
addresses: string[];
|
|
1997
2129
|
};
|
|
1998
2130
|
export type v1InitFiatOnRampIntent = {
|
|
1999
|
-
/** Enum to
|
|
2131
|
+
/** Enum to specify which on-ramp provider to use */
|
|
2000
2132
|
onrampProvider: v1FiatOnRampProvider;
|
|
2001
2133
|
/** Destination wallet address for the buy transaction. */
|
|
2002
2134
|
walletAddress: string;
|
|
@@ -2071,7 +2203,7 @@ export type v1InitImportWalletResult = {
|
|
|
2071
2203
|
importBundle: string;
|
|
2072
2204
|
};
|
|
2073
2205
|
export type v1InitOtpAuthIntent = {
|
|
2074
|
-
/** Enum to
|
|
2206
|
+
/** Enum to specify whether to send OTP via SMS or email */
|
|
2075
2207
|
otpType: string;
|
|
2076
2208
|
/** Email or phone number to send the OTP code to */
|
|
2077
2209
|
contact: string;
|
|
@@ -2089,7 +2221,7 @@ export type v1InitOtpAuthIntent = {
|
|
|
2089
2221
|
replyToEmailAddress?: string;
|
|
2090
2222
|
};
|
|
2091
2223
|
export type v1InitOtpAuthIntentV2 = {
|
|
2092
|
-
/** Enum to
|
|
2224
|
+
/** Enum to specify whether to send OTP via SMS or email */
|
|
2093
2225
|
otpType: string;
|
|
2094
2226
|
/** Email or phone number to send the OTP code to */
|
|
2095
2227
|
contact: string;
|
|
@@ -2203,19 +2335,51 @@ export type v1InitOtpIntentV2 = {
|
|
|
2203
2335
|
/** Optional custom email address to use as reply-to */
|
|
2204
2336
|
replyToEmailAddress?: string;
|
|
2205
2337
|
};
|
|
2338
|
+
export type v1InitOtpIntentV3 = {
|
|
2339
|
+
/** Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
|
|
2340
|
+
otpType: string;
|
|
2341
|
+
/** Email or phone number to send the OTP code to */
|
|
2342
|
+
contact: string;
|
|
2343
|
+
/** The name of the application. */
|
|
2344
|
+
appName: string;
|
|
2345
|
+
/** Optional length of the OTP code. Default = 9 */
|
|
2346
|
+
otpLength?: number;
|
|
2347
|
+
/** Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
2348
|
+
emailCustomization?: v1EmailCustomizationParamsV2;
|
|
2349
|
+
/** Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
2350
|
+
smsCustomization?: v1SmsCustomizationParams;
|
|
2351
|
+
/** 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. */
|
|
2352
|
+
userIdentifier?: string;
|
|
2353
|
+
/** Optional custom email address from which to send the OTP email */
|
|
2354
|
+
sendFromEmailAddress?: string;
|
|
2355
|
+
/** 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 */
|
|
2356
|
+
alphanumeric?: boolean;
|
|
2357
|
+
/** Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
2358
|
+
sendFromEmailSenderName?: string;
|
|
2359
|
+
/** Expiration window (in seconds) indicating how long the OTP is valid for. If not provided, a default of 5 minutes will be used. Maximum value is 600 seconds (10 minutes) */
|
|
2360
|
+
expirationSeconds?: string;
|
|
2361
|
+
/** Optional custom email address to use as reply-to */
|
|
2362
|
+
replyToEmailAddress?: string;
|
|
2363
|
+
};
|
|
2206
2364
|
export type v1InitOtpRequest = {
|
|
2207
2365
|
type: string;
|
|
2208
2366
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2209
2367
|
timestampMs: string;
|
|
2210
2368
|
/** Unique identifier for a given Organization. */
|
|
2211
2369
|
organizationId: string;
|
|
2212
|
-
parameters:
|
|
2370
|
+
parameters: v1InitOtpIntentV3;
|
|
2213
2371
|
generateAppProofs?: boolean;
|
|
2214
2372
|
};
|
|
2215
2373
|
export type v1InitOtpResult = {
|
|
2216
2374
|
/** Unique identifier for an OTP authentication */
|
|
2217
2375
|
otpId: string;
|
|
2218
2376
|
};
|
|
2377
|
+
export type v1InitOtpResultV2 = {
|
|
2378
|
+
/** Unique identifier for an OTP flow */
|
|
2379
|
+
otpId: string;
|
|
2380
|
+
/** Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
2381
|
+
otpEncryptionTargetBundle: string;
|
|
2382
|
+
};
|
|
2219
2383
|
export type v1InitUserEmailRecoveryIntent = {
|
|
2220
2384
|
/** Email of the user starting recovery */
|
|
2221
2385
|
email: string;
|
|
@@ -2379,6 +2543,16 @@ export type v1Intent = {
|
|
|
2379
2543
|
createTvcDeploymentIntent?: v1CreateTvcDeploymentIntent;
|
|
2380
2544
|
createTvcManifestApprovalsIntent?: v1CreateTvcManifestApprovalsIntent;
|
|
2381
2545
|
solSendTransactionIntent?: v1SolSendTransactionIntent;
|
|
2546
|
+
initOtpIntentV3?: v1InitOtpIntentV3;
|
|
2547
|
+
verifyOtpIntentV2?: v1VerifyOtpIntentV2;
|
|
2548
|
+
otpLoginIntentV2?: v1OtpLoginIntentV2;
|
|
2549
|
+
updateOrganizationNameIntent?: v1UpdateOrganizationNameIntent;
|
|
2550
|
+
createSubOrganizationIntentV8?: v1CreateSubOrganizationIntentV8;
|
|
2551
|
+
createOauthProvidersIntentV2?: v1CreateOauthProvidersIntentV2;
|
|
2552
|
+
createUsersIntentV4?: v1CreateUsersIntentV4;
|
|
2553
|
+
createWebhookEndpointIntent?: v1CreateWebhookEndpointIntent;
|
|
2554
|
+
updateWebhookEndpointIntent?: v1UpdateWebhookEndpointIntent;
|
|
2555
|
+
deleteWebhookEndpointIntent?: v1DeleteWebhookEndpointIntent;
|
|
2382
2556
|
};
|
|
2383
2557
|
export type v1InvitationParams = {
|
|
2384
2558
|
/** The name of the intended Invitation recipient. */
|
|
@@ -2417,10 +2591,11 @@ export type v1ListPrivateKeyTagsResponse = {
|
|
|
2417
2591
|
export type v1ListSupportedAssetsRequest = {
|
|
2418
2592
|
/** Unique identifier for a given organization. */
|
|
2419
2593
|
organizationId: string;
|
|
2420
|
-
/**
|
|
2594
|
+
/** 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. */
|
|
2421
2595
|
caip2: string;
|
|
2422
2596
|
};
|
|
2423
2597
|
export type v1ListSupportedAssetsResponse = {
|
|
2598
|
+
/** List of asset metadata */
|
|
2424
2599
|
assets?: v1AssetMetadata[];
|
|
2425
2600
|
};
|
|
2426
2601
|
export type v1ListUserTagsRequest = {
|
|
@@ -2431,6 +2606,13 @@ export type v1ListUserTagsResponse = {
|
|
|
2431
2606
|
/** A list of user tags. */
|
|
2432
2607
|
userTags: datav1Tag[];
|
|
2433
2608
|
};
|
|
2609
|
+
export type v1ListWebhookEndpointsRequest = {
|
|
2610
|
+
/** Unique identifier for a given Organization. */
|
|
2611
|
+
organizationId: string;
|
|
2612
|
+
};
|
|
2613
|
+
export type v1ListWebhookEndpointsResponse = {
|
|
2614
|
+
webhookEndpoints: v1WebhookEndpointData[];
|
|
2615
|
+
};
|
|
2434
2616
|
export type v1LoginUsage = {
|
|
2435
2617
|
/** Public key for authentication */
|
|
2436
2618
|
publicKey: string;
|
|
@@ -2545,6 +2727,14 @@ export type v1OauthProviderParams = {
|
|
|
2545
2727
|
/** Base64 encoded OIDC token */
|
|
2546
2728
|
oidcToken: string;
|
|
2547
2729
|
};
|
|
2730
|
+
export type v1OauthProviderParamsV2 = {
|
|
2731
|
+
/** Human-readable name to identify a Provider. */
|
|
2732
|
+
providerName: string;
|
|
2733
|
+
/** Base64 encoded OIDC token */
|
|
2734
|
+
oidcToken?: string;
|
|
2735
|
+
/** OIDC claims (iss, sub, aud) to uniquely identify the user */
|
|
2736
|
+
oidcClaims?: v1OidcClaims;
|
|
2737
|
+
};
|
|
2548
2738
|
export type v1OauthRequest = {
|
|
2549
2739
|
type: string;
|
|
2550
2740
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
@@ -2562,6 +2752,14 @@ export type v1OauthResult = {
|
|
|
2562
2752
|
/** HPKE encrypted credential bundle */
|
|
2563
2753
|
credentialBundle: string;
|
|
2564
2754
|
};
|
|
2755
|
+
export type v1OidcClaims = {
|
|
2756
|
+
/** The issuer identifier from the OIDC token (iss claim) */
|
|
2757
|
+
iss: string;
|
|
2758
|
+
/** The subject identifier from the OIDC token (sub claim) */
|
|
2759
|
+
sub: string;
|
|
2760
|
+
/** The audience from the OIDC token (aud claim) */
|
|
2761
|
+
aud: string;
|
|
2762
|
+
};
|
|
2565
2763
|
export type v1Operator = "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
|
|
2566
2764
|
export type v1OtpAuthIntent = {
|
|
2567
2765
|
/** ID representing the result of an init OTP activity. */
|
|
@@ -2606,13 +2804,25 @@ export type v1OtpLoginIntent = {
|
|
|
2606
2804
|
/** Optional signature proving authorization for this login. The signature is over the verification token ID and the public key. Only required if a public key was provided during the verification step. */
|
|
2607
2805
|
clientSignature?: v1ClientSignature;
|
|
2608
2806
|
};
|
|
2807
|
+
export type v1OtpLoginIntentV2 = {
|
|
2808
|
+
/** Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
2809
|
+
verificationToken: string;
|
|
2810
|
+
/** Client-side public key generated by the user, used as the session public key upon successful login */
|
|
2811
|
+
publicKey: string;
|
|
2812
|
+
/** Required signature proving authorization for this login. The signature is over the verification token ID and the public key. Required for secure OTP login process. */
|
|
2813
|
+
clientSignature: v1ClientSignature;
|
|
2814
|
+
/** Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used. */
|
|
2815
|
+
expirationSeconds?: string;
|
|
2816
|
+
/** Invalidate all other previously generated Login sessions */
|
|
2817
|
+
invalidateExisting?: boolean;
|
|
2818
|
+
};
|
|
2609
2819
|
export type v1OtpLoginRequest = {
|
|
2610
2820
|
type: string;
|
|
2611
2821
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2612
2822
|
timestampMs: string;
|
|
2613
2823
|
/** Unique identifier for a given Organization. */
|
|
2614
2824
|
organizationId: string;
|
|
2615
|
-
parameters:
|
|
2825
|
+
parameters: v1OtpLoginIntentV2;
|
|
2616
2826
|
generateAppProofs?: boolean;
|
|
2617
2827
|
};
|
|
2618
2828
|
export type v1OtpLoginResult = {
|
|
@@ -2836,6 +3046,13 @@ export type v1Result = {
|
|
|
2836
3046
|
createTvcDeploymentResult?: v1CreateTvcDeploymentResult;
|
|
2837
3047
|
createTvcManifestApprovalsResult?: v1CreateTvcManifestApprovalsResult;
|
|
2838
3048
|
solSendTransactionResult?: v1SolSendTransactionResult;
|
|
3049
|
+
initOtpResultV2?: v1InitOtpResultV2;
|
|
3050
|
+
updateOrganizationNameResult?: v1UpdateOrganizationNameResult;
|
|
3051
|
+
createSubOrganizationResultV8?: v1CreateSubOrganizationResultV8;
|
|
3052
|
+
createOauthProvidersResultV2?: v1CreateOauthProvidersResultV2;
|
|
3053
|
+
createWebhookEndpointResult?: v1CreateWebhookEndpointResult;
|
|
3054
|
+
updateWebhookEndpointResult?: v1UpdateWebhookEndpointResult;
|
|
3055
|
+
deleteWebhookEndpointResult?: v1DeleteWebhookEndpointResult;
|
|
2839
3056
|
};
|
|
2840
3057
|
export type v1RevertChainEntry = {
|
|
2841
3058
|
/** The contract address where the revert occurred. */
|
|
@@ -2899,6 +3116,20 @@ export type v1RootUserParamsV4 = {
|
|
|
2899
3116
|
/** A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
2900
3117
|
oauthProviders: v1OauthProviderParams[];
|
|
2901
3118
|
};
|
|
3119
|
+
export type v1RootUserParamsV5 = {
|
|
3120
|
+
/** Human-readable name for a User. */
|
|
3121
|
+
userName: string;
|
|
3122
|
+
/** The user's email address. */
|
|
3123
|
+
userEmail?: string;
|
|
3124
|
+
/** The user's phone number in E.164 format e.g. +13214567890 */
|
|
3125
|
+
userPhoneNumber?: string;
|
|
3126
|
+
/** A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
3127
|
+
apiKeys: v1ApiKeyParamsV2[];
|
|
3128
|
+
/** A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
3129
|
+
authenticators: v1AuthenticatorParamsV2[];
|
|
3130
|
+
/** A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
3131
|
+
oauthProviders: v1OauthProviderParamsV2[];
|
|
3132
|
+
};
|
|
2902
3133
|
export type v1Selector = {
|
|
2903
3134
|
subject?: string;
|
|
2904
3135
|
operator?: v1Operator;
|
|
@@ -3020,6 +3251,13 @@ export type v1SignupUsage = {
|
|
|
3020
3251
|
authenticators?: v1AuthenticatorParamsV2[];
|
|
3021
3252
|
oauthProviders?: v1OauthProviderParams[];
|
|
3022
3253
|
};
|
|
3254
|
+
export type v1SignupUsageV2 = {
|
|
3255
|
+
email?: string;
|
|
3256
|
+
phoneNumber?: string;
|
|
3257
|
+
apiKeys?: v1ApiKeyParamsV2[];
|
|
3258
|
+
authenticators?: v1AuthenticatorParamsV2[];
|
|
3259
|
+
oauthProviders?: v1OauthProviderParamsV2[];
|
|
3260
|
+
};
|
|
3023
3261
|
export type v1SimpleClientExtensionResults = {
|
|
3024
3262
|
appid?: boolean;
|
|
3025
3263
|
appidExclude?: boolean;
|
|
@@ -3055,6 +3293,30 @@ export type v1SolSendTransactionResult = {
|
|
|
3055
3293
|
/** The send_transaction_status ID associated with the transaction submission */
|
|
3056
3294
|
sendTransactionStatusId: string;
|
|
3057
3295
|
};
|
|
3296
|
+
export type v1SolanaConfig = {
|
|
3297
|
+
/** Whether Solana rent prefunding is enabled for the organization. When omitted, the existing rent-prefund state is left unchanged. */
|
|
3298
|
+
rentPrefundEnabled?: boolean;
|
|
3299
|
+
};
|
|
3300
|
+
export type v1SolanaFailureDetails = {
|
|
3301
|
+
/** Where the Solana failure occurred, such as simulation or preflight. */
|
|
3302
|
+
source?: string;
|
|
3303
|
+
/** The Solana JSON-RPC error code, if available. */
|
|
3304
|
+
rpcCode?: number;
|
|
3305
|
+
/** The Solana JSON-RPC error message, if available. */
|
|
3306
|
+
rpcMessage?: string;
|
|
3307
|
+
/** The raw Solana transaction error object serialized as JSON, if available. */
|
|
3308
|
+
transactionErrorJson?: string;
|
|
3309
|
+
/** Program logs returned by Solana simulation or preflight, if available. */
|
|
3310
|
+
logs?: string[];
|
|
3311
|
+
/** Compute units consumed during simulation or preflight, if available. */
|
|
3312
|
+
unitsConsumed?: string;
|
|
3313
|
+
/** The raw Solana inner instructions payload serialized as JSON, if available. */
|
|
3314
|
+
innerInstructionsJson?: string;
|
|
3315
|
+
};
|
|
3316
|
+
export type v1SolanaSendTransactionStatus = {
|
|
3317
|
+
/** The Solana transaction signature, if available. */
|
|
3318
|
+
signature?: string;
|
|
3319
|
+
};
|
|
3058
3320
|
export type v1StampLoginIntent = {
|
|
3059
3321
|
/** Client-side public key generated by the user, which will be conditionally added to org data based on the passkey stamp associated with this request */
|
|
3060
3322
|
publicKey: string;
|
|
@@ -3084,8 +3346,10 @@ export type v1TokenUsage = {
|
|
|
3084
3346
|
tokenId: string;
|
|
3085
3347
|
signup?: v1SignupUsage;
|
|
3086
3348
|
login?: v1LoginUsage;
|
|
3349
|
+
signupV2?: v1SignupUsageV2;
|
|
3087
3350
|
};
|
|
3088
3351
|
export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
3352
|
+
export type v1TvcHealthCheckType = "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
3089
3353
|
export type v1TvcManifestApproval = {
|
|
3090
3354
|
/** Unique identifier of the operator providing this approval */
|
|
3091
3355
|
operatorId: string;
|
|
@@ -3113,6 +3377,10 @@ export type v1TxError = {
|
|
|
3113
3377
|
message?: string;
|
|
3114
3378
|
/** Chain of revert errors from nested contract calls, ordered from outermost to innermost. */
|
|
3115
3379
|
revertChain?: v1RevertChainEntry[];
|
|
3380
|
+
/** Solana-specific failure details for simulation or preflight errors, if available. */
|
|
3381
|
+
solana?: v1SolanaFailureDetails;
|
|
3382
|
+
/** Ethereum-specific failure details, if available. */
|
|
3383
|
+
eth?: v1EthFailureDetails;
|
|
3116
3384
|
};
|
|
3117
3385
|
export type v1UnknownRevertError = {
|
|
3118
3386
|
/** The 4-byte error selector, if available. */
|
|
@@ -3158,6 +3426,8 @@ export type v1UpdateAuthProxyConfigIntent = {
|
|
|
3158
3426
|
sendFromEmailSenderName?: string;
|
|
3159
3427
|
/** Verification token required for get account with PII (email/phone number). Default false. */
|
|
3160
3428
|
verificationTokenRequiredForGetAccountPii?: boolean;
|
|
3429
|
+
/** Whitelisted OAuth client IDs for social account linking. When a user authenticates via a social provider with an email matching an existing account, the accounts will be linked if the client ID is in this list and the issuer is considered a trusted provider. */
|
|
3430
|
+
socialLinkingClientIds?: string[];
|
|
3161
3431
|
};
|
|
3162
3432
|
export type v1UpdateAuthProxyConfigResult = {
|
|
3163
3433
|
/** Unique identifier for a given User. (representing the turnkey signer user id) */
|
|
@@ -3213,6 +3483,24 @@ export type v1UpdateOauth2CredentialResult = {
|
|
|
3213
3483
|
/** Unique identifier of the OAuth 2.0 credential that was updated */
|
|
3214
3484
|
oauth2CredentialId: string;
|
|
3215
3485
|
};
|
|
3486
|
+
export type v1UpdateOrganizationNameIntent = {
|
|
3487
|
+
/** New name for the Organization. */
|
|
3488
|
+
organizationName: string;
|
|
3489
|
+
};
|
|
3490
|
+
export type v1UpdateOrganizationNameRequest = {
|
|
3491
|
+
type: string;
|
|
3492
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3493
|
+
timestampMs: string;
|
|
3494
|
+
/** Unique identifier for a given Organization. */
|
|
3495
|
+
organizationId: string;
|
|
3496
|
+
parameters: v1UpdateOrganizationNameIntent;
|
|
3497
|
+
};
|
|
3498
|
+
export type v1UpdateOrganizationNameResult = {
|
|
3499
|
+
/** Unique identifier for the Organization. */
|
|
3500
|
+
organizationId: string;
|
|
3501
|
+
/** The updated organization name. */
|
|
3502
|
+
organizationName: string;
|
|
3503
|
+
};
|
|
3216
3504
|
export type v1UpdatePolicyIntent = {
|
|
3217
3505
|
/** Unique identifier for a given Policy. */
|
|
3218
3506
|
policyId: string;
|
|
@@ -3425,6 +3713,31 @@ export type v1UpdateWalletResult = {
|
|
|
3425
3713
|
/** A Wallet ID. */
|
|
3426
3714
|
walletId: string;
|
|
3427
3715
|
};
|
|
3716
|
+
export type v1UpdateWebhookEndpointIntent = {
|
|
3717
|
+
/** Unique identifier of the webhook endpoint to update. */
|
|
3718
|
+
endpointId: string;
|
|
3719
|
+
/** Updated destination URL for webhook delivery. */
|
|
3720
|
+
url?: string;
|
|
3721
|
+
/** Updated human-readable name for this webhook endpoint. */
|
|
3722
|
+
name?: string;
|
|
3723
|
+
/** Whether this webhook endpoint is active. */
|
|
3724
|
+
isActive?: boolean;
|
|
3725
|
+
};
|
|
3726
|
+
export type v1UpdateWebhookEndpointRequest = {
|
|
3727
|
+
type: string;
|
|
3728
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3729
|
+
timestampMs: string;
|
|
3730
|
+
/** Unique identifier for a given Organization. */
|
|
3731
|
+
organizationId: string;
|
|
3732
|
+
parameters: v1UpdateWebhookEndpointIntent;
|
|
3733
|
+
generateAppProofs?: boolean;
|
|
3734
|
+
};
|
|
3735
|
+
export type v1UpdateWebhookEndpointResult = {
|
|
3736
|
+
/** Unique identifier of the updated webhook endpoint. */
|
|
3737
|
+
endpointId: string;
|
|
3738
|
+
/** The updated webhook endpoint data. */
|
|
3739
|
+
webhookEndpoint: v1WebhookEndpointData;
|
|
3740
|
+
};
|
|
3428
3741
|
export type v1UpsertGasUsageConfigIntent = {
|
|
3429
3742
|
/** Gas sponsorship USD limit for the billing organization window. */
|
|
3430
3743
|
orgWindowLimitUsd: string;
|
|
@@ -3434,6 +3747,8 @@ export type v1UpsertGasUsageConfigIntent = {
|
|
|
3434
3747
|
windowDurationMinutes: string;
|
|
3435
3748
|
/** Whether gas sponsorship is enabled for the organization. */
|
|
3436
3749
|
enabled?: boolean;
|
|
3750
|
+
/** Optional Solana sponsorship settings. If omitted, the existing Solana sponsorship state is left unchanged. */
|
|
3751
|
+
solanaConfig?: v1SolanaConfig;
|
|
3437
3752
|
};
|
|
3438
3753
|
export type v1UpsertGasUsageConfigResult = {
|
|
3439
3754
|
/** Unique identifier for the gas usage configuration that was created or updated. */
|
|
@@ -3502,6 +3817,22 @@ export type v1UserParamsV3 = {
|
|
|
3502
3817
|
/** A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
3503
3818
|
userTags: string[];
|
|
3504
3819
|
};
|
|
3820
|
+
export type v1UserParamsV4 = {
|
|
3821
|
+
/** Human-readable name for a User. */
|
|
3822
|
+
userName: string;
|
|
3823
|
+
/** The user's email address. */
|
|
3824
|
+
userEmail?: string;
|
|
3825
|
+
/** The user's phone number in E.164 format e.g. +13214567890 */
|
|
3826
|
+
userPhoneNumber?: string;
|
|
3827
|
+
/** A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
3828
|
+
apiKeys: v1ApiKeyParamsV2[];
|
|
3829
|
+
/** A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
3830
|
+
authenticators: v1AuthenticatorParamsV2[];
|
|
3831
|
+
/** A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
3832
|
+
oauthProviders: v1OauthProviderParamsV2[];
|
|
3833
|
+
/** A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
3834
|
+
userTags: string[];
|
|
3835
|
+
};
|
|
3505
3836
|
export type v1VerifyOtpIntent = {
|
|
3506
3837
|
/** ID representing the result of an init OTP activity. */
|
|
3507
3838
|
otpId: string;
|
|
@@ -3512,13 +3843,21 @@ export type v1VerifyOtpIntent = {
|
|
|
3512
3843
|
/** Client-side public key generated by the user, which will be added to the JWT response and verified in subsequent requests via a client proof signature */
|
|
3513
3844
|
publicKey?: string;
|
|
3514
3845
|
};
|
|
3846
|
+
export type v1VerifyOtpIntentV2 = {
|
|
3847
|
+
/** UUID representing an OTP flow. A new UUID is created for each init OTP activity. */
|
|
3848
|
+
otpId: string;
|
|
3849
|
+
/** Encrypted bundle containing the OTP code and a client-generated public key. Turnkey's secure enclaves will decrypt this bundle, verify the OTP code, and issue a new Verification Token. Encrypted using the target encryption key provided in the INIT_OTP activity result. */
|
|
3850
|
+
encryptedOtpBundle: string;
|
|
3851
|
+
/** Expiration window (in seconds) indicating how long the verification token is valid for. If not provided, a default of 1 hour will be used. Maximum value is 86400 seconds (24 hours) */
|
|
3852
|
+
expirationSeconds?: string;
|
|
3853
|
+
};
|
|
3515
3854
|
export type v1VerifyOtpRequest = {
|
|
3516
3855
|
type: string;
|
|
3517
3856
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3518
3857
|
timestampMs: string;
|
|
3519
3858
|
/** Unique identifier for a given Organization. */
|
|
3520
3859
|
organizationId: string;
|
|
3521
|
-
parameters:
|
|
3860
|
+
parameters: v1VerifyOtpIntentV2;
|
|
3522
3861
|
generateAppProofs?: boolean;
|
|
3523
3862
|
};
|
|
3524
3863
|
export type v1VerifyOtpResult = {
|
|
@@ -3622,6 +3961,28 @@ export type v1WebAuthnStamp = {
|
|
|
3622
3961
|
/** The base64 url encoded signature bytes contained within the WebAuthn assertion response. */
|
|
3623
3962
|
signature: string;
|
|
3624
3963
|
};
|
|
3964
|
+
export type v1WebhookEndpointData = {
|
|
3965
|
+
/** Unique identifier of the webhook endpoint. */
|
|
3966
|
+
endpointId: string;
|
|
3967
|
+
/** Unique identifier for a given Organization. */
|
|
3968
|
+
organizationId: string;
|
|
3969
|
+
/** The destination URL for webhook delivery. */
|
|
3970
|
+
url: string;
|
|
3971
|
+
/** Human-readable name for this webhook endpoint. */
|
|
3972
|
+
name: string;
|
|
3973
|
+
/** Whether this webhook endpoint is active. */
|
|
3974
|
+
isActive: boolean;
|
|
3975
|
+
/** Current subscriptions attached to this endpoint. */
|
|
3976
|
+
subscriptions?: v1WebhookSubscriptionParams[];
|
|
3977
|
+
};
|
|
3978
|
+
export type v1WebhookSubscriptionParams = {
|
|
3979
|
+
/** The event type to subscribe to (for example, ACTIVITY_UPDATES or BALANCE_UPDATES). */
|
|
3980
|
+
eventType: string;
|
|
3981
|
+
/** JSON-encoded filter criteria for this subscription. */
|
|
3982
|
+
filtersJson?: string;
|
|
3983
|
+
/** Whether this subscription is active. */
|
|
3984
|
+
isActive?: boolean;
|
|
3985
|
+
};
|
|
3625
3986
|
export type TGetActivityResponse = {
|
|
3626
3987
|
/** An action that can be taken within the Turnkey infrastructure. */
|
|
3627
3988
|
activity: v1Activity;
|
|
@@ -3658,6 +4019,18 @@ export type TGetApiKeysBody = {
|
|
|
3658
4019
|
export type TGetApiKeysInput = {
|
|
3659
4020
|
body: TGetApiKeysBody;
|
|
3660
4021
|
};
|
|
4022
|
+
export type TGetAppStatusResponse = {
|
|
4023
|
+
/** Live runtime status for the TVC App */
|
|
4024
|
+
appStatus: v1AppStatus;
|
|
4025
|
+
};
|
|
4026
|
+
export type TGetAppStatusBody = {
|
|
4027
|
+
organizationId?: string;
|
|
4028
|
+
/** Unique identifier for a given TVC App. */
|
|
4029
|
+
appId: string;
|
|
4030
|
+
};
|
|
4031
|
+
export type TGetAppStatusInput = {
|
|
4032
|
+
body: TGetAppStatusBody;
|
|
4033
|
+
};
|
|
3661
4034
|
export type TGetAuthenticatorResponse = {
|
|
3662
4035
|
/** An authenticator. */
|
|
3663
4036
|
authenticator: v1Authenticator;
|
|
@@ -3728,7 +4101,7 @@ export type TGetNoncesBody = {
|
|
|
3728
4101
|
organizationId?: string;
|
|
3729
4102
|
/** The Ethereum address to query nonces for. */
|
|
3730
4103
|
address: string;
|
|
3731
|
-
/**
|
|
4104
|
+
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
3732
4105
|
caip2: string;
|
|
3733
4106
|
/** Whether to fetch the standard on-chain nonce. */
|
|
3734
4107
|
nonce?: boolean;
|
|
@@ -3825,6 +4198,8 @@ export type TGetSendTransactionStatusResponse = {
|
|
|
3825
4198
|
txStatus: string;
|
|
3826
4199
|
/** Ethereum-specific transaction status. */
|
|
3827
4200
|
eth?: v1EthSendTransactionStatus;
|
|
4201
|
+
/** Solana-specific transaction status. */
|
|
4202
|
+
solana?: v1SolanaSendTransactionStatus;
|
|
3828
4203
|
/** The error encountered when broadcasting or confirming the transaction, if any. */
|
|
3829
4204
|
txError?: string;
|
|
3830
4205
|
/** Structured error information including revert details, if available. */
|
|
@@ -3898,7 +4273,7 @@ export type TGetWalletAddressBalancesBody = {
|
|
|
3898
4273
|
organizationId?: string;
|
|
3899
4274
|
/** Address corresponding to a wallet account. */
|
|
3900
4275
|
address: string;
|
|
3901
|
-
/**
|
|
4276
|
+
/** 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. */
|
|
3902
4277
|
caip2: string;
|
|
3903
4278
|
};
|
|
3904
4279
|
export type TGetWalletAddressBalancesInput = {
|
|
@@ -4006,11 +4381,12 @@ export type TGetSubOrgIdsInput = {
|
|
|
4006
4381
|
body: TGetSubOrgIdsBody;
|
|
4007
4382
|
};
|
|
4008
4383
|
export type TListSupportedAssetsResponse = {
|
|
4384
|
+
/** List of asset metadata */
|
|
4009
4385
|
assets?: v1AssetMetadata[];
|
|
4010
4386
|
};
|
|
4011
4387
|
export type TListSupportedAssetsBody = {
|
|
4012
4388
|
organizationId?: string;
|
|
4013
|
-
/**
|
|
4389
|
+
/** 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. */
|
|
4014
4390
|
caip2: string;
|
|
4015
4391
|
};
|
|
4016
4392
|
export type TListSupportedAssetsInput = {
|
|
@@ -4078,6 +4454,15 @@ export type TGetWalletsBody = {
|
|
|
4078
4454
|
export type TGetWalletsInput = {
|
|
4079
4455
|
body: TGetWalletsBody;
|
|
4080
4456
|
};
|
|
4457
|
+
export type TListWebhookEndpointsResponse = {
|
|
4458
|
+
webhookEndpoints: v1WebhookEndpointData[];
|
|
4459
|
+
};
|
|
4460
|
+
export type TListWebhookEndpointsBody = {
|
|
4461
|
+
organizationId?: string;
|
|
4462
|
+
};
|
|
4463
|
+
export type TListWebhookEndpointsInput = {
|
|
4464
|
+
body: TListWebhookEndpointsBody;
|
|
4465
|
+
};
|
|
4081
4466
|
export type TGetWhoamiResponse = {
|
|
4082
4467
|
/** Unique identifier for a given organization. */
|
|
4083
4468
|
organizationId: string;
|
|
@@ -4122,6 +4507,20 @@ export type TCreateApiKeysBody = {
|
|
|
4122
4507
|
export type TCreateApiKeysInput = {
|
|
4123
4508
|
body: TCreateApiKeysBody;
|
|
4124
4509
|
};
|
|
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
|
+
};
|
|
4125
4524
|
export type TCreateAuthenticatorsResponse = {
|
|
4126
4525
|
activity: v1Activity;
|
|
4127
4526
|
/** A list of Authenticator IDs. */
|
|
@@ -4456,6 +4855,26 @@ export type TCreateWalletAccountsBody = {
|
|
|
4456
4855
|
export type TCreateWalletAccountsInput = {
|
|
4457
4856
|
body: TCreateWalletAccountsBody;
|
|
4458
4857
|
};
|
|
4858
|
+
export type TCreateWebhookEndpointResponse = {
|
|
4859
|
+
activity: v1Activity;
|
|
4860
|
+
/** Unique identifier of the created webhook endpoint. */
|
|
4861
|
+
endpointId: string;
|
|
4862
|
+
/** The created webhook endpoint data. */
|
|
4863
|
+
webhookEndpoint: v1WebhookEndpointData;
|
|
4864
|
+
};
|
|
4865
|
+
export type TCreateWebhookEndpointBody = {
|
|
4866
|
+
timestampMs?: string;
|
|
4867
|
+
organizationId?: string;
|
|
4868
|
+
/** The destination URL for webhook delivery. */
|
|
4869
|
+
url: string;
|
|
4870
|
+
/** Human-readable name for this webhook endpoint. */
|
|
4871
|
+
name: string;
|
|
4872
|
+
/** Event subscriptions to create for this endpoint. */
|
|
4873
|
+
subscriptions?: v1WebhookSubscriptionParams[];
|
|
4874
|
+
};
|
|
4875
|
+
export type TCreateWebhookEndpointInput = {
|
|
4876
|
+
body: TCreateWebhookEndpointBody;
|
|
4877
|
+
};
|
|
4459
4878
|
export type TDeleteApiKeysResponse = {
|
|
4460
4879
|
activity: v1Activity;
|
|
4461
4880
|
/** A list of API Key IDs. */
|
|
@@ -4696,6 +5115,20 @@ export type TDeleteWalletsBody = {
|
|
|
4696
5115
|
export type TDeleteWalletsInput = {
|
|
4697
5116
|
body: TDeleteWalletsBody;
|
|
4698
5117
|
};
|
|
5118
|
+
export type TDeleteWebhookEndpointResponse = {
|
|
5119
|
+
activity: v1Activity;
|
|
5120
|
+
/** Unique identifier of the deleted webhook endpoint. */
|
|
5121
|
+
endpointId: string;
|
|
5122
|
+
};
|
|
5123
|
+
export type TDeleteWebhookEndpointBody = {
|
|
5124
|
+
timestampMs?: string;
|
|
5125
|
+
organizationId?: string;
|
|
5126
|
+
/** Unique identifier of the webhook endpoint to delete. */
|
|
5127
|
+
endpointId: string;
|
|
5128
|
+
};
|
|
5129
|
+
export type TDeleteWebhookEndpointInput = {
|
|
5130
|
+
body: TDeleteWebhookEndpointBody;
|
|
5131
|
+
};
|
|
4699
5132
|
export type TEmailAuthResponse = {
|
|
4700
5133
|
activity: v1Activity;
|
|
4701
5134
|
/** Unique identifier for the authenticating User. */
|
|
@@ -4876,7 +5309,7 @@ export type TInitFiatOnRampResponse = {
|
|
|
4876
5309
|
export type TInitFiatOnRampBody = {
|
|
4877
5310
|
timestampMs?: string;
|
|
4878
5311
|
organizationId?: string;
|
|
4879
|
-
/** Enum to
|
|
5312
|
+
/** Enum to specify which on-ramp provider to use */
|
|
4880
5313
|
onrampProvider: v1FiatOnRampProvider;
|
|
4881
5314
|
/** Destination wallet address for the buy transaction. */
|
|
4882
5315
|
walletAddress: string;
|
|
@@ -5134,16 +5567,16 @@ export type TOtpLoginResponse = {
|
|
|
5134
5567
|
export type TOtpLoginBody = {
|
|
5135
5568
|
timestampMs?: string;
|
|
5136
5569
|
organizationId?: string;
|
|
5137
|
-
/** Signed
|
|
5570
|
+
/** Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
5138
5571
|
verificationToken: string;
|
|
5139
|
-
/** Client-side public key generated by the user,
|
|
5572
|
+
/** Client-side public key generated by the user, used as the session public key upon successful login */
|
|
5140
5573
|
publicKey: string;
|
|
5574
|
+
/** Required signature proving authorization for this login. The signature is over the verification token ID and the public key. Required for secure OTP login process. */
|
|
5575
|
+
clientSignature: v1ClientSignature;
|
|
5141
5576
|
/** Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used. */
|
|
5142
5577
|
expirationSeconds?: string;
|
|
5143
|
-
/** Invalidate all other previously generated Login
|
|
5578
|
+
/** Invalidate all other previously generated Login sessions */
|
|
5144
5579
|
invalidateExisting?: boolean;
|
|
5145
|
-
/** Optional signature proving authorization for this login. The signature is over the verification token ID and the public key. Only required if a public key was provided during the verification step. */
|
|
5146
|
-
clientSignature?: v1ClientSignature;
|
|
5147
5580
|
};
|
|
5148
5581
|
export type TOtpLoginInput = {
|
|
5149
5582
|
body: TOtpLoginBody;
|
|
@@ -5349,6 +5782,22 @@ export type TUpdateOauth2CredentialBody = {
|
|
|
5349
5782
|
export type TUpdateOauth2CredentialInput = {
|
|
5350
5783
|
body: TUpdateOauth2CredentialBody;
|
|
5351
5784
|
};
|
|
5785
|
+
export type TUpdateOrganizationNameResponse = {
|
|
5786
|
+
activity: v1Activity;
|
|
5787
|
+
/** Unique identifier for the Organization. */
|
|
5788
|
+
organizationId: string;
|
|
5789
|
+
/** The updated organization name. */
|
|
5790
|
+
organizationName: string;
|
|
5791
|
+
};
|
|
5792
|
+
export type TUpdateOrganizationNameBody = {
|
|
5793
|
+
timestampMs?: string;
|
|
5794
|
+
organizationId?: string;
|
|
5795
|
+
/** New name for the Organization. */
|
|
5796
|
+
organizationName: string;
|
|
5797
|
+
};
|
|
5798
|
+
export type TUpdateOrganizationNameInput = {
|
|
5799
|
+
body: TUpdateOrganizationNameBody;
|
|
5800
|
+
};
|
|
5352
5801
|
export type TUpdatePolicyResponse = {
|
|
5353
5802
|
activity: v1Activity;
|
|
5354
5803
|
/** Unique identifier for a given Policy. */
|
|
@@ -5517,6 +5966,28 @@ export type TUpdateWalletBody = {
|
|
|
5517
5966
|
export type TUpdateWalletInput = {
|
|
5518
5967
|
body: TUpdateWalletBody;
|
|
5519
5968
|
};
|
|
5969
|
+
export type TUpdateWebhookEndpointResponse = {
|
|
5970
|
+
activity: v1Activity;
|
|
5971
|
+
/** Unique identifier of the updated webhook endpoint. */
|
|
5972
|
+
endpointId: string;
|
|
5973
|
+
/** The updated webhook endpoint data. */
|
|
5974
|
+
webhookEndpoint: v1WebhookEndpointData;
|
|
5975
|
+
};
|
|
5976
|
+
export type TUpdateWebhookEndpointBody = {
|
|
5977
|
+
timestampMs?: string;
|
|
5978
|
+
organizationId?: string;
|
|
5979
|
+
/** Unique identifier of the webhook endpoint to update. */
|
|
5980
|
+
endpointId: string;
|
|
5981
|
+
/** Updated destination URL for webhook delivery. */
|
|
5982
|
+
url?: string;
|
|
5983
|
+
/** Updated human-readable name for this webhook endpoint. */
|
|
5984
|
+
name?: string;
|
|
5985
|
+
/** Whether this webhook endpoint is active. */
|
|
5986
|
+
isActive?: boolean;
|
|
5987
|
+
};
|
|
5988
|
+
export type TUpdateWebhookEndpointInput = {
|
|
5989
|
+
body: TUpdateWebhookEndpointBody;
|
|
5990
|
+
};
|
|
5520
5991
|
export type TVerifyOtpResponse = {
|
|
5521
5992
|
activity: v1Activity;
|
|
5522
5993
|
/** 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) */
|
|
@@ -5525,14 +5996,12 @@ export type TVerifyOtpResponse = {
|
|
|
5525
5996
|
export type TVerifyOtpBody = {
|
|
5526
5997
|
timestampMs?: string;
|
|
5527
5998
|
organizationId?: string;
|
|
5528
|
-
/**
|
|
5999
|
+
/** UUID representing an OTP flow. A new UUID is created for each init OTP activity. */
|
|
5529
6000
|
otpId: string;
|
|
5530
|
-
/** OTP
|
|
5531
|
-
|
|
6001
|
+
/** Encrypted bundle containing the OTP code and a client-generated public key. Turnkey's secure enclaves will decrypt this bundle, verify the OTP code, and issue a new Verification Token. Encrypted using the target encryption key provided in the INIT_OTP activity result. */
|
|
6002
|
+
encryptedOtpBundle: string;
|
|
5532
6003
|
/** Expiration window (in seconds) indicating how long the verification token is valid for. If not provided, a default of 1 hour will be used. Maximum value is 86400 seconds (24 hours) */
|
|
5533
6004
|
expirationSeconds?: string;
|
|
5534
|
-
/** Client-side public key generated by the user, which will be added to the JWT response and verified in subsequent requests via a client proof signature */
|
|
5535
|
-
publicKey?: string;
|
|
5536
6005
|
};
|
|
5537
6006
|
export type TVerifyOtpInput = {
|
|
5538
6007
|
body: TVerifyOtpBody;
|
|
@@ -5599,7 +6068,7 @@ export type ProxyTInitOtpResponse = {
|
|
|
5599
6068
|
otpId: string;
|
|
5600
6069
|
};
|
|
5601
6070
|
export type ProxyTInitOtpBody = {
|
|
5602
|
-
/** Enum to
|
|
6071
|
+
/** Enum to specify whether to send OTP via SMS or email */
|
|
5603
6072
|
otpType: string;
|
|
5604
6073
|
/** Email or phone number to send the OTP code to */
|
|
5605
6074
|
contact: string;
|
|
@@ -5607,6 +6076,21 @@ export type ProxyTInitOtpBody = {
|
|
|
5607
6076
|
export type ProxyTInitOtpInput = {
|
|
5608
6077
|
body: ProxyTInitOtpBody;
|
|
5609
6078
|
};
|
|
6079
|
+
export type ProxyTInitOtpV2Response = {
|
|
6080
|
+
/** Unique identifier for an OTP flow. */
|
|
6081
|
+
otpId: string;
|
|
6082
|
+
/** Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
6083
|
+
otpEncryptionTargetBundle: string;
|
|
6084
|
+
};
|
|
6085
|
+
export type ProxyTInitOtpV2Body = {
|
|
6086
|
+
/** Enum to specify whether to send OTP code via SMS or email */
|
|
6087
|
+
otpType: string;
|
|
6088
|
+
/** Email or phone number to send the OTP code to */
|
|
6089
|
+
contact: string;
|
|
6090
|
+
};
|
|
6091
|
+
export type ProxyTInitOtpV2Input = {
|
|
6092
|
+
body: ProxyTInitOtpV2Body;
|
|
6093
|
+
};
|
|
5610
6094
|
export type ProxyTOtpLoginResponse = {
|
|
5611
6095
|
/** Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
5612
6096
|
session: string;
|
|
@@ -5626,6 +6110,25 @@ export type ProxyTOtpLoginBody = {
|
|
|
5626
6110
|
export type ProxyTOtpLoginInput = {
|
|
5627
6111
|
body: ProxyTOtpLoginBody;
|
|
5628
6112
|
};
|
|
6113
|
+
export type ProxyTOtpLoginV2Response = {
|
|
6114
|
+
/** Session containing an expiry, public key, session type, user id, and organization id */
|
|
6115
|
+
session: string;
|
|
6116
|
+
};
|
|
6117
|
+
export type ProxyTOtpLoginV2Body = {
|
|
6118
|
+
/** Session containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
6119
|
+
verificationToken: string;
|
|
6120
|
+
/** Client-side public key generated by the user, used as the session public key upon successful login. */
|
|
6121
|
+
publicKey: string;
|
|
6122
|
+
/** Signature proving authorization for this login. The signature is over the verification token ID and the new session public key. */
|
|
6123
|
+
clientSignature: v1ClientSignature;
|
|
6124
|
+
/** Invalidate all other previously generated Login sessions */
|
|
6125
|
+
invalidateExisting?: boolean;
|
|
6126
|
+
/** Unique identifier for a given Organization. If provided, this organization id will be used directly. If omitted, uses the verification token to look up the verified sub-organization based on the contact and verification type. */
|
|
6127
|
+
organizationId?: string;
|
|
6128
|
+
};
|
|
6129
|
+
export type ProxyTOtpLoginV2Input = {
|
|
6130
|
+
body: ProxyTOtpLoginV2Body;
|
|
6131
|
+
};
|
|
5629
6132
|
export type ProxyTVerifyOtpResponse = {
|
|
5630
6133
|
/** 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) */
|
|
5631
6134
|
verificationToken: string;
|
|
@@ -5641,6 +6144,19 @@ export type ProxyTVerifyOtpBody = {
|
|
|
5641
6144
|
export type ProxyTVerifyOtpInput = {
|
|
5642
6145
|
body: ProxyTVerifyOtpBody;
|
|
5643
6146
|
};
|
|
6147
|
+
export type ProxyTVerifyOtpV2Response = {
|
|
6148
|
+
/** Verification Token containing a unique id, expiry, verification type, contact signed by Turnkey's enclaves. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
|
|
6149
|
+
verificationToken: string;
|
|
6150
|
+
};
|
|
6151
|
+
export type ProxyTVerifyOtpV2Body = {
|
|
6152
|
+
/** ID representing the result of an init OTP activity. */
|
|
6153
|
+
otpId: string;
|
|
6154
|
+
/** Encrypted bundle containing the OTP code and a client-generated public key. Turnkey's secure enclaves will decrypt this bundle, verify the OTP code, and issue a new Verification Token. Encrypted using the target encryption key provided in the INIT_OTP activity result. */
|
|
6155
|
+
encryptedOtpBundle: string;
|
|
6156
|
+
};
|
|
6157
|
+
export type ProxyTVerifyOtpV2Input = {
|
|
6158
|
+
body: ProxyTVerifyOtpV2Body;
|
|
6159
|
+
};
|
|
5644
6160
|
export type ProxyTSignupResponse = {
|
|
5645
6161
|
organizationId: string;
|
|
5646
6162
|
/** Wallet created for the sub-organization, if provided in the request */
|
|
@@ -5671,6 +6187,36 @@ export type ProxyTSignupBody = {
|
|
|
5671
6187
|
export type ProxyTSignupInput = {
|
|
5672
6188
|
body: ProxyTSignupBody;
|
|
5673
6189
|
};
|
|
6190
|
+
export type ProxyTSignupV2Response = {
|
|
6191
|
+
organizationId: string;
|
|
6192
|
+
/** Wallet created for the sub-organization, if provided in the request */
|
|
6193
|
+
wallet?: v1WalletResult;
|
|
6194
|
+
/** Root user ID created for this sub-organization */
|
|
6195
|
+
userId: string;
|
|
6196
|
+
/** A list of App Proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations. */
|
|
6197
|
+
appProofs?: v1AppProof[];
|
|
6198
|
+
};
|
|
6199
|
+
export type ProxyTSignupV2Body = {
|
|
6200
|
+
userEmail?: string;
|
|
6201
|
+
userPhoneNumber?: string;
|
|
6202
|
+
userTag?: string;
|
|
6203
|
+
userName?: string;
|
|
6204
|
+
organizationName?: string;
|
|
6205
|
+
verificationToken?: string;
|
|
6206
|
+
/** A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
6207
|
+
apiKeys: v1ApiKeyParamsV2[];
|
|
6208
|
+
/** A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
6209
|
+
authenticators: v1AuthenticatorParamsV2[];
|
|
6210
|
+
/** A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
6211
|
+
oauthProviders: v1OauthProviderParamsV2[];
|
|
6212
|
+
/** The wallet to create for the sub-organization */
|
|
6213
|
+
wallet?: v1WalletParams;
|
|
6214
|
+
/** Optional signature proving authorization for this signup. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
|
|
6215
|
+
clientSignature?: v1ClientSignature;
|
|
6216
|
+
};
|
|
6217
|
+
export type ProxyTSignupV2Input = {
|
|
6218
|
+
body: ProxyTSignupV2Body;
|
|
6219
|
+
};
|
|
5674
6220
|
export type ProxyTGetWalletKitConfigResponse = {
|
|
5675
6221
|
/** List of enabled authentication providers (e.g., 'facebook', 'google', 'apple', 'email', 'sms', 'passkey', 'wallet') */
|
|
5676
6222
|
enabledProviders: string[];
|