@turnkey/sdk-types 0.12.1 → 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.
|
@@ -15,6 +15,10 @@ export type paths = {
|
|
|
15
15
|
/** Get details about API keys for a user. */
|
|
16
16
|
post: operations["PublicApiService_GetApiKeys"];
|
|
17
17
|
};
|
|
18
|
+
"/public/v1/query/get_app_status": {
|
|
19
|
+
/** Get live runtime status for a TVC App from the cluster. */
|
|
20
|
+
post: operations["PublicApiService_GetAppStatus"];
|
|
21
|
+
};
|
|
18
22
|
"/public/v1/query/get_authenticator": {
|
|
19
23
|
/** Get details about an authenticator. */
|
|
20
24
|
post: operations["PublicApiService_GetAuthenticator"];
|
|
@@ -100,7 +104,7 @@ export type paths = {
|
|
|
100
104
|
post: operations["PublicApiService_GetWalletAccount"];
|
|
101
105
|
};
|
|
102
106
|
"/public/v1/query/get_wallet_address_balances": {
|
|
103
|
-
/** Get
|
|
107
|
+
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. This feature is in beta - please contact support for access. */
|
|
104
108
|
post: operations["PublicApiService_GetWalletAddressBalances"];
|
|
105
109
|
};
|
|
106
110
|
"/public/v1/query/list_activities": {
|
|
@@ -140,7 +144,7 @@ export type paths = {
|
|
|
140
144
|
post: operations["PublicApiService_GetSubOrgIds"];
|
|
141
145
|
};
|
|
142
146
|
"/public/v1/query/list_supported_assets": {
|
|
143
|
-
/** List supported assets for the specified network */
|
|
147
|
+
/** List supported assets for the specified network. This feature is in beta - please contact support for access. */
|
|
144
148
|
post: operations["PublicApiService_ListSupportedAssets"];
|
|
145
149
|
};
|
|
146
150
|
"/public/v1/query/list_tvc_app_deployments": {
|
|
@@ -171,6 +175,10 @@ export type paths = {
|
|
|
171
175
|
/** List all wallets within an organization. */
|
|
172
176
|
post: operations["PublicApiService_GetWallets"];
|
|
173
177
|
};
|
|
178
|
+
"/public/v1/query/list_webhook_endpoints": {
|
|
179
|
+
/** List webhook endpoints within an organization. */
|
|
180
|
+
post: operations["PublicApiService_ListWebhookEndpoints"];
|
|
181
|
+
};
|
|
174
182
|
"/public/v1/query/whoami": {
|
|
175
183
|
/** Get basic information about your current API or WebAuthN user and their organization. Affords sub-organization look ups via parent organization for WebAuthN or API key users. */
|
|
176
184
|
post: operations["PublicApiService_GetWhoami"];
|
|
@@ -267,6 +275,10 @@ export type paths = {
|
|
|
267
275
|
/** Derive additional addresses using an existing wallet. */
|
|
268
276
|
post: operations["PublicApiService_CreateWalletAccounts"];
|
|
269
277
|
};
|
|
278
|
+
"/public/v1/submit/create_webhook_endpoint": {
|
|
279
|
+
/** Create a webhook endpoint for an organization. */
|
|
280
|
+
post: operations["PublicApiService_CreateWebhookEndpoint"];
|
|
281
|
+
};
|
|
270
282
|
"/public/v1/submit/delete_api_keys": {
|
|
271
283
|
/** Remove api keys from a user. */
|
|
272
284
|
post: operations["PublicApiService_DeleteApiKeys"];
|
|
@@ -331,6 +343,10 @@ export type paths = {
|
|
|
331
343
|
/** Delete wallets for an organization. */
|
|
332
344
|
post: operations["PublicApiService_DeleteWallets"];
|
|
333
345
|
};
|
|
346
|
+
"/public/v1/submit/delete_webhook_endpoint": {
|
|
347
|
+
/** Delete a webhook endpoint for an organization. */
|
|
348
|
+
post: operations["PublicApiService_DeleteWebhookEndpoint"];
|
|
349
|
+
};
|
|
334
350
|
"/public/v1/submit/email_auth": {
|
|
335
351
|
/** Authenticate a user via email. */
|
|
336
352
|
post: operations["PublicApiService_EmailAuth"];
|
|
@@ -451,6 +467,10 @@ export type paths = {
|
|
|
451
467
|
/** Update an OAuth 2.0 provider credential */
|
|
452
468
|
post: operations["PublicApiService_UpdateOauth2Credential"];
|
|
453
469
|
};
|
|
470
|
+
"/public/v1/submit/update_organization_name": {
|
|
471
|
+
/** Update the name of an organization. */
|
|
472
|
+
post: operations["PublicApiService_UpdateOrganizationName"];
|
|
473
|
+
};
|
|
454
474
|
"/public/v1/submit/update_policy": {
|
|
455
475
|
/** Update an existing policy. */
|
|
456
476
|
post: operations["PublicApiService_UpdatePolicy"];
|
|
@@ -487,6 +507,10 @@ export type paths = {
|
|
|
487
507
|
/** Update a wallet for an organization. */
|
|
488
508
|
post: operations["PublicApiService_UpdateWallet"];
|
|
489
509
|
};
|
|
510
|
+
"/public/v1/submit/update_webhook_endpoint": {
|
|
511
|
+
/** Update a webhook endpoint for an organization. */
|
|
512
|
+
post: operations["PublicApiService_UpdateWebhookEndpoint"];
|
|
513
|
+
};
|
|
490
514
|
"/public/v1/submit/verify_otp": {
|
|
491
515
|
/** Verify a generic OTP. */
|
|
492
516
|
post: operations["PublicApiService_VerifyOtp"];
|
|
@@ -698,7 +722,7 @@ export type definitions = {
|
|
|
698
722
|
/** @enum {string} */
|
|
699
723
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
700
724
|
/** @enum {string} */
|
|
701
|
-
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";
|
|
725
|
+
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";
|
|
702
726
|
/** @enum {string} */
|
|
703
727
|
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";
|
|
704
728
|
v1ApiKey: {
|
|
@@ -748,6 +772,14 @@ export type definitions = {
|
|
|
748
772
|
/** @description Signature over hashed proof_payload. */
|
|
749
773
|
signature: string;
|
|
750
774
|
};
|
|
775
|
+
v1AppStatus: {
|
|
776
|
+
/** @description Unique identifier for this TVC App */
|
|
777
|
+
appId: string;
|
|
778
|
+
/** @description List of deployment statuses for this app */
|
|
779
|
+
deployments: definitions["v1DeploymentStatus"][];
|
|
780
|
+
/** @description The deployment ID currently serving traffic for this app */
|
|
781
|
+
targetedDeploymentId: string;
|
|
782
|
+
};
|
|
751
783
|
v1ApproveActivityIntent: {
|
|
752
784
|
/** @description An artifact verifying a User's action. */
|
|
753
785
|
fingerprint: string;
|
|
@@ -776,6 +808,8 @@ export type definitions = {
|
|
|
776
808
|
decimals?: number;
|
|
777
809
|
/** @description 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. */
|
|
778
810
|
display?: definitions["v1AssetBalanceDisplay"];
|
|
811
|
+
/** @description The asset name */
|
|
812
|
+
name?: string;
|
|
779
813
|
};
|
|
780
814
|
v1AssetBalanceDisplay: {
|
|
781
815
|
/** @description USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
|
|
@@ -784,11 +818,19 @@ export type definitions = {
|
|
|
784
818
|
crypto?: string;
|
|
785
819
|
};
|
|
786
820
|
v1AssetMetadata: {
|
|
821
|
+
/** @description The caip-19 asset identifier */
|
|
787
822
|
caip19?: string;
|
|
823
|
+
/** @description The asset symbol */
|
|
788
824
|
symbol?: string;
|
|
789
|
-
/**
|
|
825
|
+
/**
|
|
826
|
+
* Format: int32
|
|
827
|
+
* @description The number of decimals this asset uses
|
|
828
|
+
*/
|
|
790
829
|
decimals?: number;
|
|
830
|
+
/** @description The url of the asset logo */
|
|
791
831
|
logoUrl?: string;
|
|
832
|
+
/** @description The asset name */
|
|
833
|
+
name?: string;
|
|
792
834
|
};
|
|
793
835
|
v1Attestation: {
|
|
794
836
|
/** @description The cbor encoded then base64 url encoded id of the credential. */
|
|
@@ -1025,20 +1067,30 @@ export type definitions = {
|
|
|
1025
1067
|
/** @description A list of Oauth providers. */
|
|
1026
1068
|
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
1027
1069
|
};
|
|
1070
|
+
v1CreateOauthProvidersIntentV2: {
|
|
1071
|
+
/** @description The ID of the User to add an Oauth provider to */
|
|
1072
|
+
userId: string;
|
|
1073
|
+
/** @description A list of Oauth providers. */
|
|
1074
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
1075
|
+
};
|
|
1028
1076
|
v1CreateOauthProvidersRequest: {
|
|
1029
1077
|
/** @enum {string} */
|
|
1030
|
-
type: "
|
|
1078
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2";
|
|
1031
1079
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1032
1080
|
timestampMs: string;
|
|
1033
1081
|
/** @description Unique identifier for a given Organization. */
|
|
1034
1082
|
organizationId: string;
|
|
1035
|
-
parameters: definitions["
|
|
1083
|
+
parameters: definitions["v1CreateOauthProvidersIntentV2"];
|
|
1036
1084
|
generateAppProofs?: boolean;
|
|
1037
1085
|
};
|
|
1038
1086
|
v1CreateOauthProvidersResult: {
|
|
1039
1087
|
/** @description A list of unique identifiers for Oauth Providers */
|
|
1040
1088
|
providerIds: string[];
|
|
1041
1089
|
};
|
|
1090
|
+
v1CreateOauthProvidersResultV2: {
|
|
1091
|
+
/** @description A list of unique identifiers for Oauth Providers */
|
|
1092
|
+
providerIds: string[];
|
|
1093
|
+
};
|
|
1042
1094
|
v1CreateOrganizationIntent: {
|
|
1043
1095
|
/** @description Human-readable name for an Organization. */
|
|
1044
1096
|
organizationName: string;
|
|
@@ -1394,14 +1446,39 @@ export type definitions = {
|
|
|
1394
1446
|
/** @description 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. */
|
|
1395
1447
|
clientSignature?: definitions["v1ClientSignature"];
|
|
1396
1448
|
};
|
|
1449
|
+
v1CreateSubOrganizationIntentV8: {
|
|
1450
|
+
/** @description Name for this sub-organization */
|
|
1451
|
+
subOrganizationName: string;
|
|
1452
|
+
/** @description Root users to create within this sub-organization */
|
|
1453
|
+
rootUsers: definitions["v1RootUserParamsV5"][];
|
|
1454
|
+
/**
|
|
1455
|
+
* Format: int32
|
|
1456
|
+
* @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
|
|
1457
|
+
*/
|
|
1458
|
+
rootQuorumThreshold: number;
|
|
1459
|
+
/** @description The wallet to create for the sub-organization */
|
|
1460
|
+
wallet?: definitions["v1WalletParams"];
|
|
1461
|
+
/** @description Disable email recovery for the sub-organization */
|
|
1462
|
+
disableEmailRecovery?: boolean;
|
|
1463
|
+
/** @description Disable email auth for the sub-organization */
|
|
1464
|
+
disableEmailAuth?: boolean;
|
|
1465
|
+
/** @description Disable OTP SMS auth for the sub-organization */
|
|
1466
|
+
disableSmsAuth?: boolean;
|
|
1467
|
+
/** @description Disable OTP email auth for the sub-organization */
|
|
1468
|
+
disableOtpEmailAuth?: boolean;
|
|
1469
|
+
/** @description Signed JWT containing a unique id, expiry, verification type, contact */
|
|
1470
|
+
verificationToken?: string;
|
|
1471
|
+
/** @description 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. */
|
|
1472
|
+
clientSignature?: definitions["v1ClientSignature"];
|
|
1473
|
+
};
|
|
1397
1474
|
v1CreateSubOrganizationRequest: {
|
|
1398
1475
|
/** @enum {string} */
|
|
1399
|
-
type: "
|
|
1476
|
+
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8";
|
|
1400
1477
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1401
1478
|
timestampMs: string;
|
|
1402
1479
|
/** @description Unique identifier for a given Organization. */
|
|
1403
1480
|
organizationId: string;
|
|
1404
|
-
parameters: definitions["
|
|
1481
|
+
parameters: definitions["v1CreateSubOrganizationIntentV8"];
|
|
1405
1482
|
generateAppProofs?: boolean;
|
|
1406
1483
|
};
|
|
1407
1484
|
v1CreateSubOrganizationResult: {
|
|
@@ -1434,6 +1511,11 @@ export type definitions = {
|
|
|
1434
1511
|
wallet?: definitions["v1WalletResult"];
|
|
1435
1512
|
rootUserIds?: string[];
|
|
1436
1513
|
};
|
|
1514
|
+
v1CreateSubOrganizationResultV8: {
|
|
1515
|
+
subOrganizationId: string;
|
|
1516
|
+
wallet?: definitions["v1WalletResult"];
|
|
1517
|
+
rootUserIds?: string[];
|
|
1518
|
+
};
|
|
1437
1519
|
v1CreateTvcAppIntent: {
|
|
1438
1520
|
/** @description The name of the new TVC application */
|
|
1439
1521
|
name: string;
|
|
@@ -1447,8 +1529,8 @@ export type definitions = {
|
|
|
1447
1529
|
shareSetId?: string;
|
|
1448
1530
|
/** @description 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 */
|
|
1449
1531
|
shareSetParams?: definitions["v1TvcOperatorSetParams"];
|
|
1450
|
-
/** @description Enables
|
|
1451
|
-
|
|
1532
|
+
/** @description Enables network egress for this TVC app. Default if not provided: false. */
|
|
1533
|
+
enableEgress?: boolean;
|
|
1452
1534
|
};
|
|
1453
1535
|
v1CreateTvcAppRequest: {
|
|
1454
1536
|
/** @enum {string} */
|
|
@@ -1485,12 +1567,6 @@ export type definitions = {
|
|
|
1485
1567
|
pivotArgs: string[];
|
|
1486
1568
|
/** @description Digest of the pivot binary in the pivot container. This value will be inserted in the QOS manifest to ensure application integrity. */
|
|
1487
1569
|
expectedPivotDigest: string;
|
|
1488
|
-
/** @description URL of the container containing the host binary */
|
|
1489
|
-
hostContainerImageUrl: string;
|
|
1490
|
-
/** @description Location of the binary inside the host container */
|
|
1491
|
-
hostPath: string;
|
|
1492
|
-
/** @description Arguments to pass to the host binary at startup. Encoded as a list of strings, for example ["--foo", "bar"] */
|
|
1493
|
-
hostArgs: string[];
|
|
1494
1570
|
/**
|
|
1495
1571
|
* Format: int64
|
|
1496
1572
|
* @description Optional nonce to ensure uniqueness of the deployment manifest. If not provided, it defaults to the current Unix timestamp in seconds.
|
|
@@ -1498,8 +1574,20 @@ export type definitions = {
|
|
|
1498
1574
|
nonce?: number;
|
|
1499
1575
|
/** @description Optional encrypted pull secret to authorize Turnkey to pull the pivot container image. If your image is public, leave this empty. */
|
|
1500
1576
|
pivotContainerEncryptedPullSecret?: string;
|
|
1501
|
-
/** @description Optional
|
|
1502
|
-
|
|
1577
|
+
/** @description Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
|
|
1578
|
+
debugMode?: boolean;
|
|
1579
|
+
/** @description 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. */
|
|
1580
|
+
healthCheckType: definitions["v1TvcHealthCheckType"];
|
|
1581
|
+
/**
|
|
1582
|
+
* Format: int64
|
|
1583
|
+
* @description Port to use for health checks.
|
|
1584
|
+
*/
|
|
1585
|
+
healthCheckPort: number;
|
|
1586
|
+
/**
|
|
1587
|
+
* Format: int64
|
|
1588
|
+
* @description Port to use for public ingress.
|
|
1589
|
+
*/
|
|
1590
|
+
publicIngressPort: number;
|
|
1503
1591
|
};
|
|
1504
1592
|
v1CreateTvcDeploymentRequest: {
|
|
1505
1593
|
/** @enum {string} */
|
|
@@ -1569,14 +1657,18 @@ export type definitions = {
|
|
|
1569
1657
|
/** @description A list of Users. */
|
|
1570
1658
|
users: definitions["v1UserParamsV3"][];
|
|
1571
1659
|
};
|
|
1660
|
+
v1CreateUsersIntentV4: {
|
|
1661
|
+
/** @description A list of Users. */
|
|
1662
|
+
users: definitions["v1UserParamsV4"][];
|
|
1663
|
+
};
|
|
1572
1664
|
v1CreateUsersRequest: {
|
|
1573
1665
|
/** @enum {string} */
|
|
1574
|
-
type: "
|
|
1666
|
+
type: "ACTIVITY_TYPE_CREATE_USERS_V4";
|
|
1575
1667
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1576
1668
|
timestampMs: string;
|
|
1577
1669
|
/** @description Unique identifier for a given Organization. */
|
|
1578
1670
|
organizationId: string;
|
|
1579
|
-
parameters: definitions["
|
|
1671
|
+
parameters: definitions["v1CreateUsersIntentV4"];
|
|
1580
1672
|
generateAppProofs?: boolean;
|
|
1581
1673
|
};
|
|
1582
1674
|
v1CreateUsersResult: {
|
|
@@ -1632,6 +1724,30 @@ export type definitions = {
|
|
|
1632
1724
|
/** @description A list of account addresses. */
|
|
1633
1725
|
addresses: string[];
|
|
1634
1726
|
};
|
|
1727
|
+
v1CreateWebhookEndpointIntent: {
|
|
1728
|
+
/** @description The destination URL for webhook delivery. */
|
|
1729
|
+
url: string;
|
|
1730
|
+
/** @description Human-readable name for this webhook endpoint. */
|
|
1731
|
+
name: string;
|
|
1732
|
+
/** @description Event subscriptions to create for this endpoint. */
|
|
1733
|
+
subscriptions?: definitions["v1WebhookSubscriptionParams"][];
|
|
1734
|
+
};
|
|
1735
|
+
v1CreateWebhookEndpointRequest: {
|
|
1736
|
+
/** @enum {string} */
|
|
1737
|
+
type: "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT";
|
|
1738
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1739
|
+
timestampMs: string;
|
|
1740
|
+
/** @description Unique identifier for a given Organization. */
|
|
1741
|
+
organizationId: string;
|
|
1742
|
+
parameters: definitions["v1CreateWebhookEndpointIntent"];
|
|
1743
|
+
generateAppProofs?: boolean;
|
|
1744
|
+
};
|
|
1745
|
+
v1CreateWebhookEndpointResult: {
|
|
1746
|
+
/** @description Unique identifier of the created webhook endpoint. */
|
|
1747
|
+
endpointId: string;
|
|
1748
|
+
/** @description The created webhook endpoint data. */
|
|
1749
|
+
webhookEndpoint: definitions["v1WebhookEndpointData"];
|
|
1750
|
+
};
|
|
1635
1751
|
v1CredPropsAuthenticationExtensionsClientOutputs: {
|
|
1636
1752
|
rk: boolean;
|
|
1637
1753
|
};
|
|
@@ -1957,6 +2073,40 @@ export type definitions = {
|
|
|
1957
2073
|
/** @description A list of wallet unique identifiers that were removed */
|
|
1958
2074
|
walletIds: string[];
|
|
1959
2075
|
};
|
|
2076
|
+
v1DeleteWebhookEndpointIntent: {
|
|
2077
|
+
/** @description Unique identifier of the webhook endpoint to delete. */
|
|
2078
|
+
endpointId: string;
|
|
2079
|
+
};
|
|
2080
|
+
v1DeleteWebhookEndpointRequest: {
|
|
2081
|
+
/** @enum {string} */
|
|
2082
|
+
type: "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT";
|
|
2083
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2084
|
+
timestampMs: string;
|
|
2085
|
+
/** @description Unique identifier for a given Organization. */
|
|
2086
|
+
organizationId: string;
|
|
2087
|
+
parameters: definitions["v1DeleteWebhookEndpointIntent"];
|
|
2088
|
+
generateAppProofs?: boolean;
|
|
2089
|
+
};
|
|
2090
|
+
v1DeleteWebhookEndpointResult: {
|
|
2091
|
+
/** @description Unique identifier of the deleted webhook endpoint. */
|
|
2092
|
+
endpointId: string;
|
|
2093
|
+
};
|
|
2094
|
+
v1DeploymentStatus: {
|
|
2095
|
+
/** @description Unique identifier for this deployment (corresponds to k8s deployment label) */
|
|
2096
|
+
deploymentId: string;
|
|
2097
|
+
/**
|
|
2098
|
+
* Format: int32
|
|
2099
|
+
* @description Number of ready replicas
|
|
2100
|
+
*/
|
|
2101
|
+
readyReplicas: number;
|
|
2102
|
+
/**
|
|
2103
|
+
* Format: int32
|
|
2104
|
+
* @description Desired number of replicas
|
|
2105
|
+
*/
|
|
2106
|
+
desiredReplicas: number;
|
|
2107
|
+
/** @description Last time this deployment was updated */
|
|
2108
|
+
lastUpdatedTime: definitions["externaldatav1Timestamp"];
|
|
2109
|
+
};
|
|
1960
2110
|
v1DisableAuthProxyIntent: {
|
|
1961
2111
|
[key: string]: unknown;
|
|
1962
2112
|
};
|
|
@@ -2090,6 +2240,10 @@ export type definitions = {
|
|
|
2090
2240
|
/** @description A User ID with permission to initiate authentication. */
|
|
2091
2241
|
userId: string;
|
|
2092
2242
|
};
|
|
2243
|
+
v1EthFailureDetails: {
|
|
2244
|
+
/** @description Ethereum revert chain, ordered from outermost to innermost. */
|
|
2245
|
+
revertChain?: definitions["v1RevertChainEntry"][];
|
|
2246
|
+
};
|
|
2093
2247
|
v1EthSendRawTransactionIntent: {
|
|
2094
2248
|
/** @description The raw, signed transaction to be sent. */
|
|
2095
2249
|
signedTransaction: string;
|
|
@@ -2097,7 +2251,7 @@ export type definitions = {
|
|
|
2097
2251
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2098
2252
|
* @enum {string}
|
|
2099
2253
|
*/
|
|
2100
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532";
|
|
2254
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2101
2255
|
};
|
|
2102
2256
|
v1EthSendRawTransactionRequest: {
|
|
2103
2257
|
/** @enum {string} */
|
|
@@ -2231,7 +2385,7 @@ export type definitions = {
|
|
|
2231
2385
|
value?: string;
|
|
2232
2386
|
};
|
|
2233
2387
|
/** @enum {string} */
|
|
2234
|
-
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";
|
|
2388
|
+
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";
|
|
2235
2389
|
/** @enum {string} */
|
|
2236
2390
|
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";
|
|
2237
2391
|
v1FiatOnRampCredential: {
|
|
@@ -2311,6 +2465,16 @@ export type definitions = {
|
|
|
2311
2465
|
v1GetAppProofsResponse: {
|
|
2312
2466
|
appProofs: definitions["v1AppProof"][];
|
|
2313
2467
|
};
|
|
2468
|
+
v1GetAppStatusRequest: {
|
|
2469
|
+
/** @description Unique identifier for a given Organization. */
|
|
2470
|
+
organizationId: string;
|
|
2471
|
+
/** @description Unique identifier for a given TVC App. */
|
|
2472
|
+
appId: string;
|
|
2473
|
+
};
|
|
2474
|
+
v1GetAppStatusResponse: {
|
|
2475
|
+
/** @description Live runtime status for the TVC App */
|
|
2476
|
+
appStatus: definitions["v1AppStatus"];
|
|
2477
|
+
};
|
|
2314
2478
|
v1GetAuthenticatorRequest: {
|
|
2315
2479
|
/** @description Unique identifier for a given organization. */
|
|
2316
2480
|
organizationId: string;
|
|
@@ -2363,8 +2527,11 @@ export type definitions = {
|
|
|
2363
2527
|
organizationId: string;
|
|
2364
2528
|
/** @description The Ethereum address to query nonces for. */
|
|
2365
2529
|
address: string;
|
|
2366
|
-
/**
|
|
2367
|
-
|
|
2530
|
+
/**
|
|
2531
|
+
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2532
|
+
* @enum {string}
|
|
2533
|
+
*/
|
|
2534
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2368
2535
|
/** @description Whether to fetch the standard on-chain nonce. */
|
|
2369
2536
|
nonce?: boolean;
|
|
2370
2537
|
/** @description Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -2485,6 +2652,8 @@ export type definitions = {
|
|
|
2485
2652
|
txStatus: string;
|
|
2486
2653
|
/** @description Ethereum-specific transaction status. */
|
|
2487
2654
|
eth?: definitions["v1EthSendTransactionStatus"];
|
|
2655
|
+
/** @description Solana-specific transaction status. */
|
|
2656
|
+
solana?: definitions["v1SolanaSendTransactionStatus"];
|
|
2488
2657
|
/** @description The error encountered when broadcasting or confirming the transaction, if any. */
|
|
2489
2658
|
txError?: string;
|
|
2490
2659
|
/** @description Structured error information including revert details, if available. */
|
|
@@ -2625,8 +2794,11 @@ export type definitions = {
|
|
|
2625
2794
|
organizationId: string;
|
|
2626
2795
|
/** @description Address corresponding to a wallet account. */
|
|
2627
2796
|
address: string;
|
|
2628
|
-
/**
|
|
2629
|
-
|
|
2797
|
+
/**
|
|
2798
|
+
* @description 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.
|
|
2799
|
+
* @enum {string}
|
|
2800
|
+
*/
|
|
2801
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2630
2802
|
};
|
|
2631
2803
|
v1GetWalletAddressBalancesResponse: {
|
|
2632
2804
|
/** @description List of asset balances */
|
|
@@ -2721,7 +2893,7 @@ export type definitions = {
|
|
|
2721
2893
|
addresses: string[];
|
|
2722
2894
|
};
|
|
2723
2895
|
v1InitFiatOnRampIntent: {
|
|
2724
|
-
/** @description Enum to
|
|
2896
|
+
/** @description Enum to specify which on-ramp provider to use */
|
|
2725
2897
|
onrampProvider: definitions["v1FiatOnRampProvider"];
|
|
2726
2898
|
/** @description Destination wallet address for the buy transaction. */
|
|
2727
2899
|
walletAddress: string;
|
|
@@ -2799,7 +2971,7 @@ export type definitions = {
|
|
|
2799
2971
|
importBundle: string;
|
|
2800
2972
|
};
|
|
2801
2973
|
v1InitOtpAuthIntent: {
|
|
2802
|
-
/** @description Enum to
|
|
2974
|
+
/** @description Enum to specify whether to send OTP via SMS or email */
|
|
2803
2975
|
otpType: string;
|
|
2804
2976
|
/** @description Email or phone number to send the OTP code to */
|
|
2805
2977
|
contact: string;
|
|
@@ -2817,7 +2989,7 @@ export type definitions = {
|
|
|
2817
2989
|
replyToEmailAddress?: string;
|
|
2818
2990
|
};
|
|
2819
2991
|
v1InitOtpAuthIntentV2: {
|
|
2820
|
-
/** @description Enum to
|
|
2992
|
+
/** @description Enum to specify whether to send OTP via SMS or email */
|
|
2821
2993
|
otpType: string;
|
|
2822
2994
|
/** @description Email or phone number to send the OTP code to */
|
|
2823
2995
|
contact: string;
|
|
@@ -2944,20 +3116,55 @@ export type definitions = {
|
|
|
2944
3116
|
/** @description Optional custom email address to use as reply-to */
|
|
2945
3117
|
replyToEmailAddress?: string;
|
|
2946
3118
|
};
|
|
3119
|
+
v1InitOtpIntentV3: {
|
|
3120
|
+
/** @description Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
|
|
3121
|
+
otpType: string;
|
|
3122
|
+
/** @description Email or phone number to send the OTP code to */
|
|
3123
|
+
contact: string;
|
|
3124
|
+
/** @description The name of the application. */
|
|
3125
|
+
appName: string;
|
|
3126
|
+
/**
|
|
3127
|
+
* Format: int32
|
|
3128
|
+
* @description Optional length of the OTP code. Default = 9
|
|
3129
|
+
*/
|
|
3130
|
+
otpLength?: number;
|
|
3131
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
3132
|
+
emailCustomization?: definitions["v1EmailCustomizationParamsV2"];
|
|
3133
|
+
/** @description Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
3134
|
+
smsCustomization?: definitions["v1SmsCustomizationParams"];
|
|
3135
|
+
/** @description 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. */
|
|
3136
|
+
userIdentifier?: string;
|
|
3137
|
+
/** @description Optional custom email address from which to send the OTP email */
|
|
3138
|
+
sendFromEmailAddress?: string;
|
|
3139
|
+
/** @description 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 */
|
|
3140
|
+
alphanumeric?: boolean;
|
|
3141
|
+
/** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
3142
|
+
sendFromEmailSenderName?: string;
|
|
3143
|
+
/** @description 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) */
|
|
3144
|
+
expirationSeconds?: string;
|
|
3145
|
+
/** @description Optional custom email address to use as reply-to */
|
|
3146
|
+
replyToEmailAddress?: string;
|
|
3147
|
+
};
|
|
2947
3148
|
v1InitOtpRequest: {
|
|
2948
3149
|
/** @enum {string} */
|
|
2949
|
-
type: "
|
|
3150
|
+
type: "ACTIVITY_TYPE_INIT_OTP_V3";
|
|
2950
3151
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2951
3152
|
timestampMs: string;
|
|
2952
3153
|
/** @description Unique identifier for a given Organization. */
|
|
2953
3154
|
organizationId: string;
|
|
2954
|
-
parameters: definitions["
|
|
3155
|
+
parameters: definitions["v1InitOtpIntentV3"];
|
|
2955
3156
|
generateAppProofs?: boolean;
|
|
2956
3157
|
};
|
|
2957
3158
|
v1InitOtpResult: {
|
|
2958
3159
|
/** @description Unique identifier for an OTP authentication */
|
|
2959
3160
|
otpId: string;
|
|
2960
3161
|
};
|
|
3162
|
+
v1InitOtpResultV2: {
|
|
3163
|
+
/** @description Unique identifier for an OTP flow */
|
|
3164
|
+
otpId: string;
|
|
3165
|
+
/** @description Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
3166
|
+
otpEncryptionTargetBundle: string;
|
|
3167
|
+
};
|
|
2961
3168
|
v1InitUserEmailRecoveryIntent: {
|
|
2962
3169
|
/** @description Email of the user starting recovery */
|
|
2963
3170
|
email: string;
|
|
@@ -3122,6 +3329,16 @@ export type definitions = {
|
|
|
3122
3329
|
createTvcDeploymentIntent?: definitions["v1CreateTvcDeploymentIntent"];
|
|
3123
3330
|
createTvcManifestApprovalsIntent?: definitions["v1CreateTvcManifestApprovalsIntent"];
|
|
3124
3331
|
solSendTransactionIntent?: definitions["v1SolSendTransactionIntent"];
|
|
3332
|
+
initOtpIntentV3?: definitions["v1InitOtpIntentV3"];
|
|
3333
|
+
verifyOtpIntentV2?: definitions["v1VerifyOtpIntentV2"];
|
|
3334
|
+
otpLoginIntentV2?: definitions["v1OtpLoginIntentV2"];
|
|
3335
|
+
updateOrganizationNameIntent?: definitions["v1UpdateOrganizationNameIntent"];
|
|
3336
|
+
createSubOrganizationIntentV8?: definitions["v1CreateSubOrganizationIntentV8"];
|
|
3337
|
+
createOauthProvidersIntentV2?: definitions["v1CreateOauthProvidersIntentV2"];
|
|
3338
|
+
createUsersIntentV4?: definitions["v1CreateUsersIntentV4"];
|
|
3339
|
+
createWebhookEndpointIntent?: definitions["v1CreateWebhookEndpointIntent"];
|
|
3340
|
+
updateWebhookEndpointIntent?: definitions["v1UpdateWebhookEndpointIntent"];
|
|
3341
|
+
deleteWebhookEndpointIntent?: definitions["v1DeleteWebhookEndpointIntent"];
|
|
3125
3342
|
};
|
|
3126
3343
|
v1Invitation: {
|
|
3127
3344
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -3180,10 +3397,14 @@ export type definitions = {
|
|
|
3180
3397
|
v1ListSupportedAssetsRequest: {
|
|
3181
3398
|
/** @description Unique identifier for a given organization. */
|
|
3182
3399
|
organizationId: string;
|
|
3183
|
-
/**
|
|
3184
|
-
|
|
3400
|
+
/**
|
|
3401
|
+
* @description 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.
|
|
3402
|
+
* @enum {string}
|
|
3403
|
+
*/
|
|
3404
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3185
3405
|
};
|
|
3186
3406
|
v1ListSupportedAssetsResponse: {
|
|
3407
|
+
/** @description List of asset metadata */
|
|
3187
3408
|
assets?: definitions["v1AssetMetadata"][];
|
|
3188
3409
|
};
|
|
3189
3410
|
v1ListUserTagsRequest: {
|
|
@@ -3194,6 +3415,13 @@ export type definitions = {
|
|
|
3194
3415
|
/** @description A list of user tags. */
|
|
3195
3416
|
userTags: definitions["datav1Tag"][];
|
|
3196
3417
|
};
|
|
3418
|
+
v1ListWebhookEndpointsRequest: {
|
|
3419
|
+
/** @description Unique identifier for a given Organization. */
|
|
3420
|
+
organizationId: string;
|
|
3421
|
+
};
|
|
3422
|
+
v1ListWebhookEndpointsResponse: {
|
|
3423
|
+
webhookEndpoints: definitions["v1WebhookEndpointData"][];
|
|
3424
|
+
};
|
|
3197
3425
|
v1LoginUsage: {
|
|
3198
3426
|
/** @description Public key for authentication */
|
|
3199
3427
|
publicKey: string;
|
|
@@ -3315,6 +3543,14 @@ export type definitions = {
|
|
|
3315
3543
|
/** @description Base64 encoded OIDC token */
|
|
3316
3544
|
oidcToken: string;
|
|
3317
3545
|
};
|
|
3546
|
+
v1OauthProviderParamsV2: {
|
|
3547
|
+
/** @description Human-readable name to identify a Provider. */
|
|
3548
|
+
providerName: string;
|
|
3549
|
+
/** @description Base64 encoded OIDC token */
|
|
3550
|
+
oidcToken?: string;
|
|
3551
|
+
/** @description OIDC claims (iss, sub, aud) to uniquely identify the user */
|
|
3552
|
+
oidcClaims?: definitions["v1OidcClaims"];
|
|
3553
|
+
};
|
|
3318
3554
|
v1OauthRequest: {
|
|
3319
3555
|
/** @enum {string} */
|
|
3320
3556
|
type: "ACTIVITY_TYPE_OAUTH";
|
|
@@ -3333,6 +3569,14 @@ export type definitions = {
|
|
|
3333
3569
|
/** @description HPKE encrypted credential bundle */
|
|
3334
3570
|
credentialBundle: string;
|
|
3335
3571
|
};
|
|
3572
|
+
v1OidcClaims: {
|
|
3573
|
+
/** @description The issuer identifier from the OIDC token (iss claim) */
|
|
3574
|
+
iss: string;
|
|
3575
|
+
/** @description The subject identifier from the OIDC token (sub claim) */
|
|
3576
|
+
sub: string;
|
|
3577
|
+
/** @description The audience from the OIDC token (aud claim) */
|
|
3578
|
+
aud: string;
|
|
3579
|
+
};
|
|
3336
3580
|
/** @enum {string} */
|
|
3337
3581
|
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";
|
|
3338
3582
|
v1OrganizationData: {
|
|
@@ -3392,14 +3636,26 @@ export type definitions = {
|
|
|
3392
3636
|
/** @description 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. */
|
|
3393
3637
|
clientSignature?: definitions["v1ClientSignature"];
|
|
3394
3638
|
};
|
|
3639
|
+
v1OtpLoginIntentV2: {
|
|
3640
|
+
/** @description Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
3641
|
+
verificationToken: string;
|
|
3642
|
+
/** @description Client-side public key generated by the user, used as the session public key upon successful login */
|
|
3643
|
+
publicKey: string;
|
|
3644
|
+
/** @description 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. */
|
|
3645
|
+
clientSignature: definitions["v1ClientSignature"];
|
|
3646
|
+
/** @description Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used. */
|
|
3647
|
+
expirationSeconds?: string;
|
|
3648
|
+
/** @description Invalidate all other previously generated Login sessions */
|
|
3649
|
+
invalidateExisting?: boolean;
|
|
3650
|
+
};
|
|
3395
3651
|
v1OtpLoginRequest: {
|
|
3396
3652
|
/** @enum {string} */
|
|
3397
|
-
type: "
|
|
3653
|
+
type: "ACTIVITY_TYPE_OTP_LOGIN_V2";
|
|
3398
3654
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3399
3655
|
timestampMs: string;
|
|
3400
3656
|
/** @description Unique identifier for a given Organization. */
|
|
3401
3657
|
organizationId: string;
|
|
3402
|
-
parameters: definitions["
|
|
3658
|
+
parameters: definitions["v1OtpLoginIntentV2"];
|
|
3403
3659
|
generateAppProofs?: boolean;
|
|
3404
3660
|
};
|
|
3405
3661
|
v1OtpLoginResult: {
|
|
@@ -3637,6 +3893,13 @@ export type definitions = {
|
|
|
3637
3893
|
createTvcDeploymentResult?: definitions["v1CreateTvcDeploymentResult"];
|
|
3638
3894
|
createTvcManifestApprovalsResult?: definitions["v1CreateTvcManifestApprovalsResult"];
|
|
3639
3895
|
solSendTransactionResult?: definitions["v1SolSendTransactionResult"];
|
|
3896
|
+
initOtpResultV2?: definitions["v1InitOtpResultV2"];
|
|
3897
|
+
updateOrganizationNameResult?: definitions["v1UpdateOrganizationNameResult"];
|
|
3898
|
+
createSubOrganizationResultV8?: definitions["v1CreateSubOrganizationResultV8"];
|
|
3899
|
+
createOauthProvidersResultV2?: definitions["v1CreateOauthProvidersResultV2"];
|
|
3900
|
+
createWebhookEndpointResult?: definitions["v1CreateWebhookEndpointResult"];
|
|
3901
|
+
updateWebhookEndpointResult?: definitions["v1UpdateWebhookEndpointResult"];
|
|
3902
|
+
deleteWebhookEndpointResult?: definitions["v1DeleteWebhookEndpointResult"];
|
|
3640
3903
|
};
|
|
3641
3904
|
v1RevertChainEntry: {
|
|
3642
3905
|
/** @description The contract address where the revert occurred. */
|
|
@@ -3700,6 +3963,20 @@ export type definitions = {
|
|
|
3700
3963
|
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
3701
3964
|
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
3702
3965
|
};
|
|
3966
|
+
v1RootUserParamsV5: {
|
|
3967
|
+
/** @description Human-readable name for a User. */
|
|
3968
|
+
userName: string;
|
|
3969
|
+
/** @description The user's email address. */
|
|
3970
|
+
userEmail?: string;
|
|
3971
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
3972
|
+
userPhoneNumber?: string;
|
|
3973
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
3974
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
3975
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
3976
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
3977
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
3978
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
3979
|
+
};
|
|
3703
3980
|
v1Selector: {
|
|
3704
3981
|
subject?: string;
|
|
3705
3982
|
operator?: definitions["v1Operator"];
|
|
@@ -3825,6 +4102,13 @@ export type definitions = {
|
|
|
3825
4102
|
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
3826
4103
|
oauthProviders?: definitions["v1OauthProviderParams"][];
|
|
3827
4104
|
};
|
|
4105
|
+
v1SignupUsageV2: {
|
|
4106
|
+
email?: string;
|
|
4107
|
+
phoneNumber?: string;
|
|
4108
|
+
apiKeys?: definitions["v1ApiKeyParamsV2"][];
|
|
4109
|
+
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
4110
|
+
oauthProviders?: definitions["v1OauthProviderParamsV2"][];
|
|
4111
|
+
};
|
|
3828
4112
|
v1SimpleClientExtensionResults: {
|
|
3829
4113
|
appid?: boolean;
|
|
3830
4114
|
appidExclude?: boolean;
|
|
@@ -3870,6 +4154,36 @@ export type definitions = {
|
|
|
3870
4154
|
/** @description The send_transaction_status ID associated with the transaction submission */
|
|
3871
4155
|
sendTransactionStatusId: string;
|
|
3872
4156
|
};
|
|
4157
|
+
v1SolanaConfig: {
|
|
4158
|
+
/** @description Whether Solana rent prefunding is enabled for the organization. When omitted, the existing rent-prefund state is left unchanged. */
|
|
4159
|
+
rentPrefundEnabled?: boolean;
|
|
4160
|
+
};
|
|
4161
|
+
v1SolanaFailureDetails: {
|
|
4162
|
+
/** @description Where the Solana failure occurred, such as simulation or preflight. */
|
|
4163
|
+
source?: string;
|
|
4164
|
+
/**
|
|
4165
|
+
* Format: int32
|
|
4166
|
+
* @description The Solana JSON-RPC error code, if available.
|
|
4167
|
+
*/
|
|
4168
|
+
rpcCode?: number;
|
|
4169
|
+
/** @description The Solana JSON-RPC error message, if available. */
|
|
4170
|
+
rpcMessage?: string;
|
|
4171
|
+
/** @description The raw Solana transaction error object serialized as JSON, if available. */
|
|
4172
|
+
transactionErrorJson?: string;
|
|
4173
|
+
/** @description Program logs returned by Solana simulation or preflight, if available. */
|
|
4174
|
+
logs?: string[];
|
|
4175
|
+
/**
|
|
4176
|
+
* Format: uint64
|
|
4177
|
+
* @description Compute units consumed during simulation or preflight, if available.
|
|
4178
|
+
*/
|
|
4179
|
+
unitsConsumed?: string;
|
|
4180
|
+
/** @description The raw Solana inner instructions payload serialized as JSON, if available. */
|
|
4181
|
+
innerInstructionsJson?: string;
|
|
4182
|
+
};
|
|
4183
|
+
v1SolanaSendTransactionStatus: {
|
|
4184
|
+
/** @description The Solana transaction signature, if available. */
|
|
4185
|
+
signature?: string;
|
|
4186
|
+
};
|
|
3873
4187
|
v1StampLoginIntent: {
|
|
3874
4188
|
/** @description 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 */
|
|
3875
4189
|
publicKey: string;
|
|
@@ -3915,6 +4229,7 @@ export type definitions = {
|
|
|
3915
4229
|
tokenId: string;
|
|
3916
4230
|
signup?: definitions["v1SignupUsage"];
|
|
3917
4231
|
login?: definitions["v1LoginUsage"];
|
|
4232
|
+
signupV2?: definitions["v1SignupUsageV2"];
|
|
3918
4233
|
};
|
|
3919
4234
|
/** @enum {string} */
|
|
3920
4235
|
v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
@@ -3931,8 +4246,8 @@ export type definitions = {
|
|
|
3931
4246
|
manifestSet: definitions["v1TvcOperatorSet"];
|
|
3932
4247
|
/** @description Share Set (people who have a share of the Quorum Key) */
|
|
3933
4248
|
shareSet: definitions["v1TvcOperatorSet"];
|
|
3934
|
-
/** @description Whether or not this TVC App has
|
|
3935
|
-
|
|
4249
|
+
/** @description Whether or not this TVC App has network egress enabled. */
|
|
4250
|
+
enableEgress: boolean;
|
|
3936
4251
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
3937
4252
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
3938
4253
|
};
|
|
@@ -3945,6 +4260,18 @@ export type definitions = {
|
|
|
3945
4260
|
args: string[];
|
|
3946
4261
|
/** @description Whether or not this container requires a pull secret to access. */
|
|
3947
4262
|
hasPullSecret: boolean;
|
|
4263
|
+
/** @description The type of health check to perform against this executable. */
|
|
4264
|
+
healthCheckType: definitions["v1TvcHealthCheckType"];
|
|
4265
|
+
/**
|
|
4266
|
+
* Format: int64
|
|
4267
|
+
* @description The port to use for health checks against this executable.
|
|
4268
|
+
*/
|
|
4269
|
+
healthCheckPort: number;
|
|
4270
|
+
/**
|
|
4271
|
+
* Format: int64
|
|
4272
|
+
* @description The port to use for public ingress to this executable.
|
|
4273
|
+
*/
|
|
4274
|
+
publicIngressPort: number;
|
|
3948
4275
|
};
|
|
3949
4276
|
v1TvcDeployment: {
|
|
3950
4277
|
/** @description Unique Identifier for this TVC Deployment. */
|
|
@@ -3965,8 +4292,6 @@ export type definitions = {
|
|
|
3965
4292
|
qosVersion: string;
|
|
3966
4293
|
/** @description The pivot container spec for this deployment */
|
|
3967
4294
|
pivotContainer: definitions["v1TvcContainerSpec"];
|
|
3968
|
-
/** @description The pivot container spec for this deployment */
|
|
3969
|
-
hostContainer: definitions["v1TvcContainerSpec"];
|
|
3970
4295
|
/** @description Current stage for this deployment */
|
|
3971
4296
|
stage: definitions["v1TvcDeploymentStage"];
|
|
3972
4297
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
@@ -3974,6 +4299,8 @@ export type definitions = {
|
|
|
3974
4299
|
};
|
|
3975
4300
|
/** @enum {string} */
|
|
3976
4301
|
v1TvcDeploymentStage: "TVC_DEPLOYMENT_STAGE_APPROVE" | "TVC_DEPLOYMENT_STAGE_PROVISION" | "TVC_DEPLOYMENT_STAGE_LIVE" | "TVC_DEPLOYMENT_STAGE_DELETE";
|
|
4302
|
+
/** @enum {string} */
|
|
4303
|
+
v1TvcHealthCheckType: "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
3977
4304
|
v1TvcManifest: {
|
|
3978
4305
|
/** @description Unique Identifier for this TVC Manifest. */
|
|
3979
4306
|
id: string;
|
|
@@ -4057,6 +4384,10 @@ export type definitions = {
|
|
|
4057
4384
|
message?: string;
|
|
4058
4385
|
/** @description Chain of revert errors from nested contract calls, ordered from outermost to innermost. */
|
|
4059
4386
|
revertChain?: definitions["v1RevertChainEntry"][];
|
|
4387
|
+
/** @description Solana-specific failure details for simulation or preflight errors, if available. */
|
|
4388
|
+
solana?: definitions["v1SolanaFailureDetails"];
|
|
4389
|
+
/** @description Ethereum-specific failure details, if available. */
|
|
4390
|
+
eth?: definitions["v1EthFailureDetails"];
|
|
4060
4391
|
};
|
|
4061
4392
|
v1UnknownRevertError: {
|
|
4062
4393
|
/** @description The 4-byte error selector, if available. */
|
|
@@ -4116,6 +4447,8 @@ export type definitions = {
|
|
|
4116
4447
|
sendFromEmailSenderName?: string;
|
|
4117
4448
|
/** @description Verification token required for get account with PII (email/phone number). Default false. */
|
|
4118
4449
|
verificationTokenRequiredForGetAccountPii?: boolean;
|
|
4450
|
+
/** @description 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. */
|
|
4451
|
+
socialLinkingClientIds?: string[];
|
|
4119
4452
|
};
|
|
4120
4453
|
v1UpdateAuthProxyConfigResult: {
|
|
4121
4454
|
/** @description Unique identifier for a given User. (representing the turnkey signer user id) */
|
|
@@ -4173,6 +4506,25 @@ export type definitions = {
|
|
|
4173
4506
|
/** @description Unique identifier of the OAuth 2.0 credential that was updated */
|
|
4174
4507
|
oauth2CredentialId: string;
|
|
4175
4508
|
};
|
|
4509
|
+
v1UpdateOrganizationNameIntent: {
|
|
4510
|
+
/** @description New name for the Organization. */
|
|
4511
|
+
organizationName: string;
|
|
4512
|
+
};
|
|
4513
|
+
v1UpdateOrganizationNameRequest: {
|
|
4514
|
+
/** @enum {string} */
|
|
4515
|
+
type: "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME";
|
|
4516
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4517
|
+
timestampMs: string;
|
|
4518
|
+
/** @description Unique identifier for a given Organization. */
|
|
4519
|
+
organizationId: string;
|
|
4520
|
+
parameters: definitions["v1UpdateOrganizationNameIntent"];
|
|
4521
|
+
};
|
|
4522
|
+
v1UpdateOrganizationNameResult: {
|
|
4523
|
+
/** @description Unique identifier for the Organization. */
|
|
4524
|
+
organizationId: string;
|
|
4525
|
+
/** @description The updated organization name. */
|
|
4526
|
+
organizationName: string;
|
|
4527
|
+
};
|
|
4176
4528
|
v1UpdatePolicyIntent: {
|
|
4177
4529
|
/** @description Unique identifier for a given Policy. */
|
|
4178
4530
|
policyId: string;
|
|
@@ -4399,6 +4751,32 @@ export type definitions = {
|
|
|
4399
4751
|
/** @description A Wallet ID. */
|
|
4400
4752
|
walletId: string;
|
|
4401
4753
|
};
|
|
4754
|
+
v1UpdateWebhookEndpointIntent: {
|
|
4755
|
+
/** @description Unique identifier of the webhook endpoint to update. */
|
|
4756
|
+
endpointId: string;
|
|
4757
|
+
/** @description Updated destination URL for webhook delivery. */
|
|
4758
|
+
url?: string;
|
|
4759
|
+
/** @description Updated human-readable name for this webhook endpoint. */
|
|
4760
|
+
name?: string;
|
|
4761
|
+
/** @description Whether this webhook endpoint is active. */
|
|
4762
|
+
isActive?: boolean;
|
|
4763
|
+
};
|
|
4764
|
+
v1UpdateWebhookEndpointRequest: {
|
|
4765
|
+
/** @enum {string} */
|
|
4766
|
+
type: "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT";
|
|
4767
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4768
|
+
timestampMs: string;
|
|
4769
|
+
/** @description Unique identifier for a given Organization. */
|
|
4770
|
+
organizationId: string;
|
|
4771
|
+
parameters: definitions["v1UpdateWebhookEndpointIntent"];
|
|
4772
|
+
generateAppProofs?: boolean;
|
|
4773
|
+
};
|
|
4774
|
+
v1UpdateWebhookEndpointResult: {
|
|
4775
|
+
/** @description Unique identifier of the updated webhook endpoint. */
|
|
4776
|
+
endpointId: string;
|
|
4777
|
+
/** @description The updated webhook endpoint data. */
|
|
4778
|
+
webhookEndpoint: definitions["v1WebhookEndpointData"];
|
|
4779
|
+
};
|
|
4402
4780
|
v1UpsertGasUsageConfigIntent: {
|
|
4403
4781
|
/** @description Gas sponsorship USD limit for the billing organization window. */
|
|
4404
4782
|
orgWindowLimitUsd: string;
|
|
@@ -4408,6 +4786,8 @@ export type definitions = {
|
|
|
4408
4786
|
windowDurationMinutes: string;
|
|
4409
4787
|
/** @description Whether gas sponsorship is enabled for the organization. */
|
|
4410
4788
|
enabled?: boolean;
|
|
4789
|
+
/** @description Optional Solana sponsorship settings. If omitted, the existing Solana sponsorship state is left unchanged. */
|
|
4790
|
+
solanaConfig?: definitions["v1SolanaConfig"];
|
|
4411
4791
|
};
|
|
4412
4792
|
v1UpsertGasUsageConfigResult: {
|
|
4413
4793
|
/** @description Unique identifier for the gas usage configuration that was created or updated. */
|
|
@@ -4477,6 +4857,22 @@ export type definitions = {
|
|
|
4477
4857
|
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
4478
4858
|
userTags: string[];
|
|
4479
4859
|
};
|
|
4860
|
+
v1UserParamsV4: {
|
|
4861
|
+
/** @description Human-readable name for a User. */
|
|
4862
|
+
userName: string;
|
|
4863
|
+
/** @description The user's email address. */
|
|
4864
|
+
userEmail?: string;
|
|
4865
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
4866
|
+
userPhoneNumber?: string;
|
|
4867
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4868
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
4869
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4870
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
4871
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
4872
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
4873
|
+
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
4874
|
+
userTags: string[];
|
|
4875
|
+
};
|
|
4480
4876
|
v1VerifyOtpIntent: {
|
|
4481
4877
|
/** @description ID representing the result of an init OTP activity. */
|
|
4482
4878
|
otpId: string;
|
|
@@ -4487,14 +4883,22 @@ export type definitions = {
|
|
|
4487
4883
|
/** @description 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 */
|
|
4488
4884
|
publicKey?: string;
|
|
4489
4885
|
};
|
|
4886
|
+
v1VerifyOtpIntentV2: {
|
|
4887
|
+
/** @description UUID representing an OTP flow. A new UUID is created for each init OTP activity. */
|
|
4888
|
+
otpId: string;
|
|
4889
|
+
/** @description 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. */
|
|
4890
|
+
encryptedOtpBundle: string;
|
|
4891
|
+
/** @description 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) */
|
|
4892
|
+
expirationSeconds?: string;
|
|
4893
|
+
};
|
|
4490
4894
|
v1VerifyOtpRequest: {
|
|
4491
4895
|
/** @enum {string} */
|
|
4492
|
-
type: "
|
|
4896
|
+
type: "ACTIVITY_TYPE_VERIFY_OTP_V2";
|
|
4493
4897
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4494
4898
|
timestampMs: string;
|
|
4495
4899
|
/** @description Unique identifier for a given Organization. */
|
|
4496
4900
|
organizationId: string;
|
|
4497
|
-
parameters: definitions["
|
|
4901
|
+
parameters: definitions["v1VerifyOtpIntentV2"];
|
|
4498
4902
|
generateAppProofs?: boolean;
|
|
4499
4903
|
};
|
|
4500
4904
|
v1VerifyOtpResult: {
|
|
@@ -4613,6 +5017,28 @@ export type definitions = {
|
|
|
4613
5017
|
/** @description The base64 url encoded signature bytes contained within the WebAuthn assertion response. */
|
|
4614
5018
|
signature: string;
|
|
4615
5019
|
};
|
|
5020
|
+
v1WebhookEndpointData: {
|
|
5021
|
+
/** @description Unique identifier of the webhook endpoint. */
|
|
5022
|
+
endpointId: string;
|
|
5023
|
+
/** @description Unique identifier for a given Organization. */
|
|
5024
|
+
organizationId: string;
|
|
5025
|
+
/** @description The destination URL for webhook delivery. */
|
|
5026
|
+
url: string;
|
|
5027
|
+
/** @description Human-readable name for this webhook endpoint. */
|
|
5028
|
+
name: string;
|
|
5029
|
+
/** @description Whether this webhook endpoint is active. */
|
|
5030
|
+
isActive: boolean;
|
|
5031
|
+
/** @description Current subscriptions attached to this endpoint. */
|
|
5032
|
+
subscriptions?: definitions["v1WebhookSubscriptionParams"][];
|
|
5033
|
+
};
|
|
5034
|
+
v1WebhookSubscriptionParams: {
|
|
5035
|
+
/** @description The event type to subscribe to (for example, ACTIVITY_UPDATES or BALANCE_UPDATES). */
|
|
5036
|
+
eventType: string;
|
|
5037
|
+
/** @description JSON-encoded filter criteria for this subscription. */
|
|
5038
|
+
filtersJson?: string;
|
|
5039
|
+
/** @description Whether this subscription is active. */
|
|
5040
|
+
isActive?: boolean;
|
|
5041
|
+
};
|
|
4616
5042
|
};
|
|
4617
5043
|
export type operations = {
|
|
4618
5044
|
/** Get details about an activity. */
|
|
@@ -4669,6 +5095,24 @@ export type operations = {
|
|
|
4669
5095
|
};
|
|
4670
5096
|
};
|
|
4671
5097
|
};
|
|
5098
|
+
/** Get live runtime status for a TVC App from the cluster. */
|
|
5099
|
+
PublicApiService_GetAppStatus: {
|
|
5100
|
+
parameters: {
|
|
5101
|
+
body: {
|
|
5102
|
+
body: definitions["v1GetAppStatusRequest"];
|
|
5103
|
+
};
|
|
5104
|
+
};
|
|
5105
|
+
responses: {
|
|
5106
|
+
/** A successful response. */
|
|
5107
|
+
200: {
|
|
5108
|
+
schema: definitions["v1GetAppStatusResponse"];
|
|
5109
|
+
};
|
|
5110
|
+
/** An unexpected error response. */
|
|
5111
|
+
default: {
|
|
5112
|
+
schema: definitions["rpcStatus"];
|
|
5113
|
+
};
|
|
5114
|
+
};
|
|
5115
|
+
};
|
|
4672
5116
|
/** Get details about an authenticator. */
|
|
4673
5117
|
PublicApiService_GetAuthenticator: {
|
|
4674
5118
|
parameters: {
|
|
@@ -5047,7 +5491,7 @@ export type operations = {
|
|
|
5047
5491
|
};
|
|
5048
5492
|
};
|
|
5049
5493
|
};
|
|
5050
|
-
/** Get
|
|
5494
|
+
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. This feature is in beta - please contact support for access. */
|
|
5051
5495
|
PublicApiService_GetWalletAddressBalances: {
|
|
5052
5496
|
parameters: {
|
|
5053
5497
|
body: {
|
|
@@ -5227,7 +5671,7 @@ export type operations = {
|
|
|
5227
5671
|
};
|
|
5228
5672
|
};
|
|
5229
5673
|
};
|
|
5230
|
-
/** List supported assets for the specified network */
|
|
5674
|
+
/** List supported assets for the specified network. This feature is in beta - please contact support for access. */
|
|
5231
5675
|
PublicApiService_ListSupportedAssets: {
|
|
5232
5676
|
parameters: {
|
|
5233
5677
|
body: {
|
|
@@ -5371,6 +5815,24 @@ export type operations = {
|
|
|
5371
5815
|
};
|
|
5372
5816
|
};
|
|
5373
5817
|
};
|
|
5818
|
+
/** List webhook endpoints within an organization. */
|
|
5819
|
+
PublicApiService_ListWebhookEndpoints: {
|
|
5820
|
+
parameters: {
|
|
5821
|
+
body: {
|
|
5822
|
+
body: definitions["v1ListWebhookEndpointsRequest"];
|
|
5823
|
+
};
|
|
5824
|
+
};
|
|
5825
|
+
responses: {
|
|
5826
|
+
/** A successful response. */
|
|
5827
|
+
200: {
|
|
5828
|
+
schema: definitions["v1ListWebhookEndpointsResponse"];
|
|
5829
|
+
};
|
|
5830
|
+
/** An unexpected error response. */
|
|
5831
|
+
default: {
|
|
5832
|
+
schema: definitions["rpcStatus"];
|
|
5833
|
+
};
|
|
5834
|
+
};
|
|
5835
|
+
};
|
|
5374
5836
|
/** Get basic information about your current API or WebAuthN user and their organization. Affords sub-organization look ups via parent organization for WebAuthN or API key users. */
|
|
5375
5837
|
PublicApiService_GetWhoami: {
|
|
5376
5838
|
parameters: {
|
|
@@ -5803,6 +6265,24 @@ export type operations = {
|
|
|
5803
6265
|
};
|
|
5804
6266
|
};
|
|
5805
6267
|
};
|
|
6268
|
+
/** Create a webhook endpoint for an organization. */
|
|
6269
|
+
PublicApiService_CreateWebhookEndpoint: {
|
|
6270
|
+
parameters: {
|
|
6271
|
+
body: {
|
|
6272
|
+
body: definitions["v1CreateWebhookEndpointRequest"];
|
|
6273
|
+
};
|
|
6274
|
+
};
|
|
6275
|
+
responses: {
|
|
6276
|
+
/** A successful response. */
|
|
6277
|
+
200: {
|
|
6278
|
+
schema: definitions["v1ActivityResponse"];
|
|
6279
|
+
};
|
|
6280
|
+
/** An unexpected error response. */
|
|
6281
|
+
default: {
|
|
6282
|
+
schema: definitions["rpcStatus"];
|
|
6283
|
+
};
|
|
6284
|
+
};
|
|
6285
|
+
};
|
|
5806
6286
|
/** Remove api keys from a user. */
|
|
5807
6287
|
PublicApiService_DeleteApiKeys: {
|
|
5808
6288
|
parameters: {
|
|
@@ -6091,6 +6571,24 @@ export type operations = {
|
|
|
6091
6571
|
};
|
|
6092
6572
|
};
|
|
6093
6573
|
};
|
|
6574
|
+
/** Delete a webhook endpoint for an organization. */
|
|
6575
|
+
PublicApiService_DeleteWebhookEndpoint: {
|
|
6576
|
+
parameters: {
|
|
6577
|
+
body: {
|
|
6578
|
+
body: definitions["v1DeleteWebhookEndpointRequest"];
|
|
6579
|
+
};
|
|
6580
|
+
};
|
|
6581
|
+
responses: {
|
|
6582
|
+
/** A successful response. */
|
|
6583
|
+
200: {
|
|
6584
|
+
schema: definitions["v1ActivityResponse"];
|
|
6585
|
+
};
|
|
6586
|
+
/** An unexpected error response. */
|
|
6587
|
+
default: {
|
|
6588
|
+
schema: definitions["rpcStatus"];
|
|
6589
|
+
};
|
|
6590
|
+
};
|
|
6591
|
+
};
|
|
6094
6592
|
/** Authenticate a user via email. */
|
|
6095
6593
|
PublicApiService_EmailAuth: {
|
|
6096
6594
|
parameters: {
|
|
@@ -6631,6 +7129,24 @@ export type operations = {
|
|
|
6631
7129
|
};
|
|
6632
7130
|
};
|
|
6633
7131
|
};
|
|
7132
|
+
/** Update the name of an organization. */
|
|
7133
|
+
PublicApiService_UpdateOrganizationName: {
|
|
7134
|
+
parameters: {
|
|
7135
|
+
body: {
|
|
7136
|
+
body: definitions["v1UpdateOrganizationNameRequest"];
|
|
7137
|
+
};
|
|
7138
|
+
};
|
|
7139
|
+
responses: {
|
|
7140
|
+
/** A successful response. */
|
|
7141
|
+
200: {
|
|
7142
|
+
schema: definitions["v1ActivityResponse"];
|
|
7143
|
+
};
|
|
7144
|
+
/** An unexpected error response. */
|
|
7145
|
+
default: {
|
|
7146
|
+
schema: definitions["rpcStatus"];
|
|
7147
|
+
};
|
|
7148
|
+
};
|
|
7149
|
+
};
|
|
6634
7150
|
/** Update an existing policy. */
|
|
6635
7151
|
PublicApiService_UpdatePolicy: {
|
|
6636
7152
|
parameters: {
|
|
@@ -6793,6 +7309,24 @@ export type operations = {
|
|
|
6793
7309
|
};
|
|
6794
7310
|
};
|
|
6795
7311
|
};
|
|
7312
|
+
/** Update a webhook endpoint for an organization. */
|
|
7313
|
+
PublicApiService_UpdateWebhookEndpoint: {
|
|
7314
|
+
parameters: {
|
|
7315
|
+
body: {
|
|
7316
|
+
body: definitions["v1UpdateWebhookEndpointRequest"];
|
|
7317
|
+
};
|
|
7318
|
+
};
|
|
7319
|
+
responses: {
|
|
7320
|
+
/** A successful response. */
|
|
7321
|
+
200: {
|
|
7322
|
+
schema: definitions["v1ActivityResponse"];
|
|
7323
|
+
};
|
|
7324
|
+
/** An unexpected error response. */
|
|
7325
|
+
default: {
|
|
7326
|
+
schema: definitions["rpcStatus"];
|
|
7327
|
+
};
|
|
7328
|
+
};
|
|
7329
|
+
};
|
|
6796
7330
|
/** Verify a generic OTP. */
|
|
6797
7331
|
PublicApiService_VerifyOtp: {
|
|
6798
7332
|
parameters: {
|