@turnkey/sdk-browser 5.16.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +229 -1
- package/dist/__clients__/browser-clients.d.ts +2 -0
- package/dist/__clients__/browser-clients.d.ts.map +1 -1
- package/dist/__clients__/browser-clients.js +3 -0
- package/dist/__clients__/browser-clients.js.map +1 -1
- package/dist/__clients__/browser-clients.mjs +4 -1
- package/dist/__clients__/browser-clients.mjs.map +1 -1
- package/dist/__generated__/sdk-client-base.d.ts +6 -2
- package/dist/__generated__/sdk-client-base.d.ts.map +1 -1
- package/dist/__generated__/sdk-client-base.js +116 -50
- package/dist/__generated__/sdk-client-base.js.map +1 -1
- package/dist/__generated__/sdk-client-base.mjs +116 -50
- package/dist/__generated__/sdk-client-base.mjs.map +1 -1
- package/dist/__generated__/sdk_api_types.d.ts +18 -8
- package/dist/__generated__/sdk_api_types.d.ts.map +1 -1
- package/dist/__generated__/version.d.ts +1 -1
- package/dist/__generated__/version.d.ts.map +1 -1
- package/dist/__generated__/version.js +1 -1
- package/dist/__generated__/version.mjs +1 -1
- package/dist/__inputs__/public_api.types.d.ts +866 -20
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -35,6 +35,10 @@ export type paths = {
|
|
|
35
35
|
/** Get gas usage and gas limits for either the parent organization or a sub-organization. */
|
|
36
36
|
post: operations["PublicApiService_GetGasUsage"];
|
|
37
37
|
};
|
|
38
|
+
"/public/v1/query/get_ip_allowlist": {
|
|
39
|
+
/** Get IP allowlist and rules for an organization. */
|
|
40
|
+
post: operations["PublicApiService_GetIpAllowlist"];
|
|
41
|
+
};
|
|
38
42
|
"/public/v1/query/get_latest_boot_proof": {
|
|
39
43
|
/** Get the latest boot proof for a given enclave app name. */
|
|
40
44
|
post: operations["PublicApiService_GetLatestBootProof"];
|
|
@@ -55,6 +59,10 @@ export type paths = {
|
|
|
55
59
|
/** Get the status of an on ramp transaction. */
|
|
56
60
|
post: operations["PublicApiService_GetOnRampTransactionStatus"];
|
|
57
61
|
};
|
|
62
|
+
"/public/v1/query/get_organization": {
|
|
63
|
+
/** Get details about an organization. */
|
|
64
|
+
post: operations["PublicApiService_GetOrganization"];
|
|
65
|
+
};
|
|
58
66
|
"/public/v1/query/get_organization_configs": {
|
|
59
67
|
/** Get quorum settings and features for an organization. */
|
|
60
68
|
post: operations["PublicApiService_GetOrganizationConfigs"];
|
|
@@ -79,6 +87,14 @@ export type paths = {
|
|
|
79
87
|
/** Get details about a smart contract interface. */
|
|
80
88
|
post: operations["PublicApiService_GetSmartContractInterface"];
|
|
81
89
|
};
|
|
90
|
+
"/public/v1/query/get_tvc_app": {
|
|
91
|
+
/** Get details about a single TVC App */
|
|
92
|
+
post: operations["PublicApiService_GetTvcApp"];
|
|
93
|
+
};
|
|
94
|
+
"/public/v1/query/get_tvc_deployment": {
|
|
95
|
+
/** Get details about a single TVC Deployment */
|
|
96
|
+
post: operations["PublicApiService_GetTvcDeployment"];
|
|
97
|
+
};
|
|
82
98
|
"/public/v1/query/get_user": {
|
|
83
99
|
/** Get details about a user. */
|
|
84
100
|
post: operations["PublicApiService_GetUser"];
|
|
@@ -135,6 +151,14 @@ export type paths = {
|
|
|
135
151
|
/** List supported assets for the specified network. This feature is in beta - please contact support for access. */
|
|
136
152
|
post: operations["PublicApiService_ListSupportedAssets"];
|
|
137
153
|
};
|
|
154
|
+
"/public/v1/query/list_tvc_app_deployments": {
|
|
155
|
+
/** List all deployments for a given TVC App */
|
|
156
|
+
post: operations["PublicApiService_GetTvcAppDeployments"];
|
|
157
|
+
};
|
|
158
|
+
"/public/v1/query/list_tvc_apps": {
|
|
159
|
+
/** List all TVC Apps within an organization. */
|
|
160
|
+
post: operations["PublicApiService_GetTvcApps"];
|
|
161
|
+
};
|
|
138
162
|
"/public/v1/query/list_user_tags": {
|
|
139
163
|
/** List all user tags within an organization. */
|
|
140
164
|
post: operations["PublicApiService_ListUserTags"];
|
|
@@ -159,6 +183,10 @@ export type paths = {
|
|
|
159
183
|
/** List webhook endpoints within an organization. */
|
|
160
184
|
post: operations["PublicApiService_ListWebhookEndpoints"];
|
|
161
185
|
};
|
|
186
|
+
"/public/v1/query/validate_tvc_image": {
|
|
187
|
+
/** Validate a container image URL and pull secret for TVC deployment */
|
|
188
|
+
post: operations["PublicApiService_ValidateTvcImage"];
|
|
189
|
+
};
|
|
162
190
|
"/public/v1/query/whoami": {
|
|
163
191
|
/** 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. */
|
|
164
192
|
post: operations["PublicApiService_GetWhoami"];
|
|
@@ -227,6 +255,18 @@ export type paths = {
|
|
|
227
255
|
/** Create a new sub-organization. */
|
|
228
256
|
post: operations["PublicApiService_CreateSubOrganization"];
|
|
229
257
|
};
|
|
258
|
+
"/public/v1/submit/create_tvc_app": {
|
|
259
|
+
/** Create a new TVC application */
|
|
260
|
+
post: operations["PublicApiService_CreateTvcApp"];
|
|
261
|
+
};
|
|
262
|
+
"/public/v1/submit/create_tvc_deployment": {
|
|
263
|
+
/** Create a new TVC Deployment */
|
|
264
|
+
post: operations["PublicApiService_CreateTvcDeployment"];
|
|
265
|
+
};
|
|
266
|
+
"/public/v1/submit/create_tvc_manifest_approvals": {
|
|
267
|
+
/** Post one or more manifest approvals for a TVC Manifest */
|
|
268
|
+
post: operations["PublicApiService_CreateTvcManifestApprovals"];
|
|
269
|
+
};
|
|
230
270
|
"/public/v1/submit/create_user_tag": {
|
|
231
271
|
/** Create a user tag and add it to users. */
|
|
232
272
|
post: operations["PublicApiService_CreateUserTag"];
|
|
@@ -319,6 +359,10 @@ export type paths = {
|
|
|
319
359
|
/** Authenticate a user via email. */
|
|
320
360
|
post: operations["PublicApiService_EmailAuth"];
|
|
321
361
|
};
|
|
362
|
+
"/public/v1/submit/eth_send_raw_transaction": {
|
|
363
|
+
/** Submit a raw transaction (serialized and signed) for broadcasting to the network. */
|
|
364
|
+
post: operations["PublicApiService_EthSendRawTransaction"];
|
|
365
|
+
};
|
|
322
366
|
"/public/v1/submit/eth_send_transaction": {
|
|
323
367
|
/** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
|
|
324
368
|
post: operations["PublicApiService_EthSendTransaction"];
|
|
@@ -395,10 +439,18 @@ export type paths = {
|
|
|
395
439
|
/** Reject an activity. */
|
|
396
440
|
post: operations["PublicApiService_RejectActivity"];
|
|
397
441
|
};
|
|
442
|
+
"/public/v1/submit/remove_ip_allowlist": {
|
|
443
|
+
/** Delete IP allowlist and all associated rules for organization or API key. After removal, access will be determined by organization-level allowlist (for API keys) or allowed from all IPs (for organizations). */
|
|
444
|
+
post: operations["PublicApiService_RemoveIpAllowlist"];
|
|
445
|
+
};
|
|
398
446
|
"/public/v1/submit/remove_organization_feature": {
|
|
399
447
|
/** Remove an organization feature. This activity must be approved by the current root quorum. */
|
|
400
448
|
post: operations["PublicApiService_RemoveOrganizationFeature"];
|
|
401
449
|
};
|
|
450
|
+
"/public/v1/submit/set_ip_allowlist": {
|
|
451
|
+
/** Create or update IP allowlist and rules for organization or API key. The IP allowlist restricts API access to specific CIDR blocks. Organization-level allowlists apply to all API keys unless overridden by a key-specific allowlist. */
|
|
452
|
+
post: operations["PublicApiService_SetIpAllowlist"];
|
|
453
|
+
};
|
|
402
454
|
"/public/v1/submit/set_organization_feature": {
|
|
403
455
|
/** Set an organization feature. This activity must be approved by the current root quorum. */
|
|
404
456
|
post: operations["PublicApiService_SetOrganizationFeature"];
|
|
@@ -482,6 +534,14 @@ export type paths = {
|
|
|
482
534
|
"/tkhq/api/v1/noop-codegen-anchor": {
|
|
483
535
|
post: operations["PublicApiService_NOOPCodegenAnchor"];
|
|
484
536
|
};
|
|
537
|
+
"/tkhq/api/v1/refresh_feature_flags": {
|
|
538
|
+
/** Refresh feature flags by triggering a DB read to flush the in-memory cache. */
|
|
539
|
+
post: operations["PublicApiService_RefreshFeatureFlags"];
|
|
540
|
+
};
|
|
541
|
+
"/tkhq/api/v1/test_rate_limits": {
|
|
542
|
+
/** Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite. */
|
|
543
|
+
post: operations["PublicApiService_TestRateLimits"];
|
|
544
|
+
};
|
|
485
545
|
};
|
|
486
546
|
export type definitions = {
|
|
487
547
|
apiApiKeyParams: {
|
|
@@ -678,9 +738,9 @@ export type definitions = {
|
|
|
678
738
|
/** @enum {string} */
|
|
679
739
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
680
740
|
/** @enum {string} */
|
|
681
|
-
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_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT";
|
|
741
|
+
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST";
|
|
682
742
|
/** @enum {string} */
|
|
683
|
-
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";
|
|
743
|
+
v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP" | "ADDRESS_FORMAT_SPARK_MAINNET" | "ADDRESS_FORMAT_SPARK_REGTEST";
|
|
684
744
|
v1ApiKey: {
|
|
685
745
|
/** @description A User credential that can be used to authenticate to Turnkey. */
|
|
686
746
|
credential: definitions["externaldatav1Credential"];
|
|
@@ -1023,20 +1083,30 @@ export type definitions = {
|
|
|
1023
1083
|
/** @description A list of Oauth providers. */
|
|
1024
1084
|
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
1025
1085
|
};
|
|
1086
|
+
v1CreateOauthProvidersIntentV2: {
|
|
1087
|
+
/** @description The ID of the User to add an Oauth provider to */
|
|
1088
|
+
userId: string;
|
|
1089
|
+
/** @description A list of Oauth providers. */
|
|
1090
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
1091
|
+
};
|
|
1026
1092
|
v1CreateOauthProvidersRequest: {
|
|
1027
1093
|
/** @enum {string} */
|
|
1028
|
-
type: "
|
|
1094
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2";
|
|
1029
1095
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1030
1096
|
timestampMs: string;
|
|
1031
1097
|
/** @description Unique identifier for a given Organization. */
|
|
1032
1098
|
organizationId: string;
|
|
1033
|
-
parameters: definitions["
|
|
1099
|
+
parameters: definitions["v1CreateOauthProvidersIntentV2"];
|
|
1034
1100
|
generateAppProofs?: boolean;
|
|
1035
1101
|
};
|
|
1036
1102
|
v1CreateOauthProvidersResult: {
|
|
1037
1103
|
/** @description A list of unique identifiers for Oauth Providers */
|
|
1038
1104
|
providerIds: string[];
|
|
1039
1105
|
};
|
|
1106
|
+
v1CreateOauthProvidersResultV2: {
|
|
1107
|
+
/** @description A list of unique identifiers for Oauth Providers */
|
|
1108
|
+
providerIds: string[];
|
|
1109
|
+
};
|
|
1040
1110
|
v1CreateOrganizationIntent: {
|
|
1041
1111
|
/** @description Human-readable name for an Organization. */
|
|
1042
1112
|
organizationName: string;
|
|
@@ -1392,14 +1462,39 @@ export type definitions = {
|
|
|
1392
1462
|
/** @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. */
|
|
1393
1463
|
clientSignature?: definitions["v1ClientSignature"];
|
|
1394
1464
|
};
|
|
1465
|
+
v1CreateSubOrganizationIntentV8: {
|
|
1466
|
+
/** @description Name for this sub-organization */
|
|
1467
|
+
subOrganizationName: string;
|
|
1468
|
+
/** @description Root users to create within this sub-organization */
|
|
1469
|
+
rootUsers: definitions["v1RootUserParamsV5"][];
|
|
1470
|
+
/**
|
|
1471
|
+
* Format: int32
|
|
1472
|
+
* @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
|
|
1473
|
+
*/
|
|
1474
|
+
rootQuorumThreshold: number;
|
|
1475
|
+
/** @description The wallet to create for the sub-organization */
|
|
1476
|
+
wallet?: definitions["v1WalletParams"];
|
|
1477
|
+
/** @description Disable email recovery for the sub-organization */
|
|
1478
|
+
disableEmailRecovery?: boolean;
|
|
1479
|
+
/** @description Disable email auth for the sub-organization */
|
|
1480
|
+
disableEmailAuth?: boolean;
|
|
1481
|
+
/** @description Disable OTP SMS auth for the sub-organization */
|
|
1482
|
+
disableSmsAuth?: boolean;
|
|
1483
|
+
/** @description Disable OTP email auth for the sub-organization */
|
|
1484
|
+
disableOtpEmailAuth?: boolean;
|
|
1485
|
+
/** @description Signed JWT containing a unique id, expiry, verification type, contact */
|
|
1486
|
+
verificationToken?: string;
|
|
1487
|
+
/** @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. */
|
|
1488
|
+
clientSignature?: definitions["v1ClientSignature"];
|
|
1489
|
+
};
|
|
1395
1490
|
v1CreateSubOrganizationRequest: {
|
|
1396
1491
|
/** @enum {string} */
|
|
1397
|
-
type: "
|
|
1492
|
+
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8";
|
|
1398
1493
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1399
1494
|
timestampMs: string;
|
|
1400
1495
|
/** @description Unique identifier for a given Organization. */
|
|
1401
1496
|
organizationId: string;
|
|
1402
|
-
parameters: definitions["
|
|
1497
|
+
parameters: definitions["v1CreateSubOrganizationIntentV8"];
|
|
1403
1498
|
generateAppProofs?: boolean;
|
|
1404
1499
|
};
|
|
1405
1500
|
v1CreateSubOrganizationResult: {
|
|
@@ -1432,6 +1527,11 @@ export type definitions = {
|
|
|
1432
1527
|
wallet?: definitions["v1WalletResult"];
|
|
1433
1528
|
rootUserIds?: string[];
|
|
1434
1529
|
};
|
|
1530
|
+
v1CreateSubOrganizationResultV8: {
|
|
1531
|
+
subOrganizationId: string;
|
|
1532
|
+
wallet?: definitions["v1WalletResult"];
|
|
1533
|
+
rootUserIds?: string[];
|
|
1534
|
+
};
|
|
1435
1535
|
v1CreateTvcAppIntent: {
|
|
1436
1536
|
/** @description The name of the new TVC application */
|
|
1437
1537
|
name: string;
|
|
@@ -1448,6 +1548,15 @@ export type definitions = {
|
|
|
1448
1548
|
/** @description Enables network egress for this TVC app. Default if not provided: false. */
|
|
1449
1549
|
enableEgress?: boolean;
|
|
1450
1550
|
};
|
|
1551
|
+
v1CreateTvcAppRequest: {
|
|
1552
|
+
/** @enum {string} */
|
|
1553
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_APP";
|
|
1554
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1555
|
+
timestampMs: string;
|
|
1556
|
+
/** @description Unique identifier for a given Organization. */
|
|
1557
|
+
organizationId: string;
|
|
1558
|
+
parameters: definitions["v1CreateTvcAppIntent"];
|
|
1559
|
+
};
|
|
1451
1560
|
v1CreateTvcAppResult: {
|
|
1452
1561
|
/** @description The unique identifier for the TVC application */
|
|
1453
1562
|
appId: string;
|
|
@@ -1483,7 +1592,7 @@ export type definitions = {
|
|
|
1483
1592
|
pivotContainerEncryptedPullSecret?: string;
|
|
1484
1593
|
/** @description Optional flag to indicate whether to deploy the TVC app in debug mode, which includes additional logging and debugging tools. Default is false. */
|
|
1485
1594
|
debugMode?: boolean;
|
|
1486
|
-
/** @description
|
|
1595
|
+
/** @description Health check type (TVC_HEALTH_CHECK_TYPE_HTTP or TVC_HEALTH_CHECK_TYPE_GRPC). HTTP health checks are made with a GET request on /health, and gRPC health checks follow the standard gRPC health checking protocol. */
|
|
1487
1596
|
healthCheckType: definitions["v1TvcHealthCheckType"];
|
|
1488
1597
|
/**
|
|
1489
1598
|
* Format: int64
|
|
@@ -1496,6 +1605,15 @@ export type definitions = {
|
|
|
1496
1605
|
*/
|
|
1497
1606
|
publicIngressPort: number;
|
|
1498
1607
|
};
|
|
1608
|
+
v1CreateTvcDeploymentRequest: {
|
|
1609
|
+
/** @enum {string} */
|
|
1610
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT";
|
|
1611
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1612
|
+
timestampMs: string;
|
|
1613
|
+
/** @description Unique identifier for a given Organization. */
|
|
1614
|
+
organizationId: string;
|
|
1615
|
+
parameters: definitions["v1CreateTvcDeploymentIntent"];
|
|
1616
|
+
};
|
|
1499
1617
|
v1CreateTvcDeploymentResult: {
|
|
1500
1618
|
/** @description The unique identifier for the TVC deployment */
|
|
1501
1619
|
deploymentId: string;
|
|
@@ -1508,6 +1626,15 @@ export type definitions = {
|
|
|
1508
1626
|
/** @description List of manifest approvals */
|
|
1509
1627
|
approvals: definitions["v1TvcManifestApproval"][];
|
|
1510
1628
|
};
|
|
1629
|
+
v1CreateTvcManifestApprovalsRequest: {
|
|
1630
|
+
/** @enum {string} */
|
|
1631
|
+
type: "ACTIVITY_TYPE_APPROVE_TVC_DEPLOYMENT";
|
|
1632
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1633
|
+
timestampMs: string;
|
|
1634
|
+
/** @description Unique identifier for a given Organization. */
|
|
1635
|
+
organizationId: string;
|
|
1636
|
+
parameters: definitions["v1CreateTvcManifestApprovalsIntent"];
|
|
1637
|
+
};
|
|
1511
1638
|
v1CreateTvcManifestApprovalsResult: {
|
|
1512
1639
|
/** @description The unique identifier(s) for the manifest approvals */
|
|
1513
1640
|
approvalIds: string[];
|
|
@@ -1546,14 +1673,18 @@ export type definitions = {
|
|
|
1546
1673
|
/** @description A list of Users. */
|
|
1547
1674
|
users: definitions["v1UserParamsV3"][];
|
|
1548
1675
|
};
|
|
1676
|
+
v1CreateUsersIntentV4: {
|
|
1677
|
+
/** @description A list of Users. */
|
|
1678
|
+
users: definitions["v1UserParamsV4"][];
|
|
1679
|
+
};
|
|
1549
1680
|
v1CreateUsersRequest: {
|
|
1550
1681
|
/** @enum {string} */
|
|
1551
|
-
type: "
|
|
1682
|
+
type: "ACTIVITY_TYPE_CREATE_USERS_V4";
|
|
1552
1683
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1553
1684
|
timestampMs: string;
|
|
1554
1685
|
/** @description Unique identifier for a given Organization. */
|
|
1555
1686
|
organizationId: string;
|
|
1556
|
-
parameters: definitions["
|
|
1687
|
+
parameters: definitions["v1CreateUsersIntentV4"];
|
|
1557
1688
|
generateAppProofs?: boolean;
|
|
1558
1689
|
};
|
|
1559
1690
|
v1CreateUsersResult: {
|
|
@@ -2138,6 +2269,16 @@ export type definitions = {
|
|
|
2138
2269
|
*/
|
|
2139
2270
|
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2140
2271
|
};
|
|
2272
|
+
v1EthSendRawTransactionRequest: {
|
|
2273
|
+
/** @enum {string} */
|
|
2274
|
+
type: "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION";
|
|
2275
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2276
|
+
timestampMs: string;
|
|
2277
|
+
/** @description Unique identifier for a given Organization. */
|
|
2278
|
+
organizationId: string;
|
|
2279
|
+
parameters: definitions["v1EthSendRawTransactionIntent"];
|
|
2280
|
+
generateAppProofs?: boolean;
|
|
2281
|
+
};
|
|
2141
2282
|
v1EthSendRawTransactionResult: {
|
|
2142
2283
|
/** @description The transaction hash of the sent transaction */
|
|
2143
2284
|
transactionHash: string;
|
|
@@ -2391,6 +2532,15 @@ export type definitions = {
|
|
|
2391
2532
|
/** @description The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
|
|
2392
2533
|
usageUsd: string;
|
|
2393
2534
|
};
|
|
2535
|
+
v1GetIpAllowlistRequest: {
|
|
2536
|
+
/** @description Unique identifier for a given organization. */
|
|
2537
|
+
organizationId: string;
|
|
2538
|
+
/** @description If provided, return only the allowlist for this specific API key. */
|
|
2539
|
+
publicKey?: string;
|
|
2540
|
+
};
|
|
2541
|
+
v1GetIpAllowlistResponse: {
|
|
2542
|
+
allowlist: definitions["v1IpAllowlist"];
|
|
2543
|
+
};
|
|
2394
2544
|
v1GetLatestBootProofRequest: {
|
|
2395
2545
|
/** @description Unique identifier for a given Organization. */
|
|
2396
2546
|
organizationId: string;
|
|
@@ -2463,6 +2613,14 @@ export type definitions = {
|
|
|
2463
2613
|
/** @description Organization configs including quorum settings and organization features. */
|
|
2464
2614
|
configs: definitions["v1Config"];
|
|
2465
2615
|
};
|
|
2616
|
+
v1GetOrganizationRequest: {
|
|
2617
|
+
/** @description Unique identifier for a given organization. */
|
|
2618
|
+
organizationId: string;
|
|
2619
|
+
};
|
|
2620
|
+
v1GetOrganizationResponse: {
|
|
2621
|
+
/** @description Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
|
|
2622
|
+
organizationData: definitions["v1OrganizationData"];
|
|
2623
|
+
};
|
|
2466
2624
|
v1GetPoliciesRequest: {
|
|
2467
2625
|
/** @description Unique identifier for a given organization. */
|
|
2468
2626
|
organizationId: string;
|
|
@@ -2558,6 +2716,44 @@ export type definitions = {
|
|
|
2558
2716
|
/** @description List of unique identifiers for the matching sub-organizations. */
|
|
2559
2717
|
organizationIds: string[];
|
|
2560
2718
|
};
|
|
2719
|
+
v1GetTvcAppDeploymentsRequest: {
|
|
2720
|
+
/** @description Unique identifier for a given organization. */
|
|
2721
|
+
organizationId: string;
|
|
2722
|
+
/** @description Unique identifier for a given TVC App. */
|
|
2723
|
+
appId: string;
|
|
2724
|
+
};
|
|
2725
|
+
v1GetTvcAppDeploymentsResponse: {
|
|
2726
|
+
/** @description List of deployments for this TVC App */
|
|
2727
|
+
tvcDeployments: definitions["v1TvcDeployment"][];
|
|
2728
|
+
};
|
|
2729
|
+
v1GetTvcAppRequest: {
|
|
2730
|
+
/** @description Unique identifier for a given organization. */
|
|
2731
|
+
organizationId: string;
|
|
2732
|
+
/** @description Unique identifier for a given TVC App. */
|
|
2733
|
+
tvcAppId: string;
|
|
2734
|
+
};
|
|
2735
|
+
v1GetTvcAppResponse: {
|
|
2736
|
+
/** @description Details about a single TVC App */
|
|
2737
|
+
tvcApp: definitions["v1TvcApp"];
|
|
2738
|
+
};
|
|
2739
|
+
v1GetTvcAppsRequest: {
|
|
2740
|
+
/** @description Unique identifier for a given organization. */
|
|
2741
|
+
organizationId: string;
|
|
2742
|
+
};
|
|
2743
|
+
v1GetTvcAppsResponse: {
|
|
2744
|
+
/** @description A list of TVC Apps. */
|
|
2745
|
+
tvcApps: definitions["v1TvcApp"][];
|
|
2746
|
+
};
|
|
2747
|
+
v1GetTvcDeploymentRequest: {
|
|
2748
|
+
/** @description Unique identifier for a given organization. */
|
|
2749
|
+
organizationId: string;
|
|
2750
|
+
/** @description Unique identifier for a given TVC Deployment. */
|
|
2751
|
+
deploymentId: string;
|
|
2752
|
+
};
|
|
2753
|
+
v1GetTvcDeploymentResponse: {
|
|
2754
|
+
/** @description Details about a single TVC Deployment */
|
|
2755
|
+
tvcDeployment: definitions["v1TvcDeployment"];
|
|
2756
|
+
};
|
|
2561
2757
|
v1GetUserRequest: {
|
|
2562
2758
|
/** @description Unique identifier for a given organization. */
|
|
2563
2759
|
organizationId: string;
|
|
@@ -2621,7 +2817,7 @@ export type definitions = {
|
|
|
2621
2817
|
v1GetWalletAddressBalancesRequest: {
|
|
2622
2818
|
/** @description Unique identifier for a given organization. */
|
|
2623
2819
|
organizationId: string;
|
|
2624
|
-
/** @description Address corresponding to a wallet account. */
|
|
2820
|
+
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
2625
2821
|
address: string;
|
|
2626
2822
|
/**
|
|
2627
2823
|
* @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.
|
|
@@ -2945,20 +3141,55 @@ export type definitions = {
|
|
|
2945
3141
|
/** @description Optional custom email address to use as reply-to */
|
|
2946
3142
|
replyToEmailAddress?: string;
|
|
2947
3143
|
};
|
|
3144
|
+
v1InitOtpIntentV3: {
|
|
3145
|
+
/** @description Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
|
|
3146
|
+
otpType: string;
|
|
3147
|
+
/** @description Email or phone number to send the OTP code to */
|
|
3148
|
+
contact: string;
|
|
3149
|
+
/** @description The name of the application. */
|
|
3150
|
+
appName: string;
|
|
3151
|
+
/**
|
|
3152
|
+
* Format: int32
|
|
3153
|
+
* @description Optional length of the OTP code. Default = 9
|
|
3154
|
+
*/
|
|
3155
|
+
otpLength?: number;
|
|
3156
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
3157
|
+
emailCustomization?: definitions["v1EmailCustomizationParamsV2"];
|
|
3158
|
+
/** @description Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
3159
|
+
smsCustomization?: definitions["v1SmsCustomizationParams"];
|
|
3160
|
+
/** @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. */
|
|
3161
|
+
userIdentifier?: string;
|
|
3162
|
+
/** @description Optional custom email address from which to send the OTP email */
|
|
3163
|
+
sendFromEmailAddress?: string;
|
|
3164
|
+
/** @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 */
|
|
3165
|
+
alphanumeric?: boolean;
|
|
3166
|
+
/** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
3167
|
+
sendFromEmailSenderName?: string;
|
|
3168
|
+
/** @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) */
|
|
3169
|
+
expirationSeconds?: string;
|
|
3170
|
+
/** @description Optional custom email address to use as reply-to */
|
|
3171
|
+
replyToEmailAddress?: string;
|
|
3172
|
+
};
|
|
2948
3173
|
v1InitOtpRequest: {
|
|
2949
3174
|
/** @enum {string} */
|
|
2950
|
-
type: "
|
|
3175
|
+
type: "ACTIVITY_TYPE_INIT_OTP_V3";
|
|
2951
3176
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2952
3177
|
timestampMs: string;
|
|
2953
3178
|
/** @description Unique identifier for a given Organization. */
|
|
2954
3179
|
organizationId: string;
|
|
2955
|
-
parameters: definitions["
|
|
3180
|
+
parameters: definitions["v1InitOtpIntentV3"];
|
|
2956
3181
|
generateAppProofs?: boolean;
|
|
2957
3182
|
};
|
|
2958
3183
|
v1InitOtpResult: {
|
|
2959
3184
|
/** @description Unique identifier for an OTP authentication */
|
|
2960
3185
|
otpId: string;
|
|
2961
3186
|
};
|
|
3187
|
+
v1InitOtpResultV2: {
|
|
3188
|
+
/** @description Unique identifier for an OTP flow */
|
|
3189
|
+
otpId: string;
|
|
3190
|
+
/** @description Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
3191
|
+
otpEncryptionTargetBundle: string;
|
|
3192
|
+
};
|
|
2962
3193
|
v1InitUserEmailRecoveryIntent: {
|
|
2963
3194
|
/** @description Email of the user starting recovery */
|
|
2964
3195
|
email: string;
|
|
@@ -3123,10 +3354,36 @@ export type definitions = {
|
|
|
3123
3354
|
createTvcDeploymentIntent?: definitions["v1CreateTvcDeploymentIntent"];
|
|
3124
3355
|
createTvcManifestApprovalsIntent?: definitions["v1CreateTvcManifestApprovalsIntent"];
|
|
3125
3356
|
solSendTransactionIntent?: definitions["v1SolSendTransactionIntent"];
|
|
3357
|
+
initOtpIntentV3?: definitions["v1InitOtpIntentV3"];
|
|
3358
|
+
verifyOtpIntentV2?: definitions["v1VerifyOtpIntentV2"];
|
|
3359
|
+
otpLoginIntentV2?: definitions["v1OtpLoginIntentV2"];
|
|
3126
3360
|
updateOrganizationNameIntent?: definitions["v1UpdateOrganizationNameIntent"];
|
|
3361
|
+
createSubOrganizationIntentV8?: definitions["v1CreateSubOrganizationIntentV8"];
|
|
3362
|
+
createOauthProvidersIntentV2?: definitions["v1CreateOauthProvidersIntentV2"];
|
|
3363
|
+
createUsersIntentV4?: definitions["v1CreateUsersIntentV4"];
|
|
3127
3364
|
createWebhookEndpointIntent?: definitions["v1CreateWebhookEndpointIntent"];
|
|
3128
3365
|
updateWebhookEndpointIntent?: definitions["v1UpdateWebhookEndpointIntent"];
|
|
3129
3366
|
deleteWebhookEndpointIntent?: definitions["v1DeleteWebhookEndpointIntent"];
|
|
3367
|
+
setIpAllowlistIntent?: definitions["v1SetIpAllowlistIntent"];
|
|
3368
|
+
removeIpAllowlistIntent?: definitions["v1RemoveIpAllowlistIntent"];
|
|
3369
|
+
};
|
|
3370
|
+
v1Invitation: {
|
|
3371
|
+
/** @description Unique identifier for a given Invitation object. */
|
|
3372
|
+
invitationId: string;
|
|
3373
|
+
/** @description The name of the intended Invitation recipient. */
|
|
3374
|
+
receiverUserName: string;
|
|
3375
|
+
/** @description The email address of the intended Invitation recipient. */
|
|
3376
|
+
receiverEmail: string;
|
|
3377
|
+
/** @description A list of tags assigned to the Invitation recipient. */
|
|
3378
|
+
receiverUserTags: string[];
|
|
3379
|
+
/** @description The User's permissible access method(s). */
|
|
3380
|
+
accessType: definitions["v1AccessType"];
|
|
3381
|
+
/** @description The current processing status of a specified Invitation. */
|
|
3382
|
+
status: definitions["v1InvitationStatus"];
|
|
3383
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
3384
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
3385
|
+
/** @description Unique identifier for the Sender of an Invitation. */
|
|
3386
|
+
senderUserId: string;
|
|
3130
3387
|
};
|
|
3131
3388
|
v1InvitationParams: {
|
|
3132
3389
|
/** @description The name of the intended Invitation recipient. */
|
|
@@ -3140,6 +3397,34 @@ export type definitions = {
|
|
|
3140
3397
|
/** @description Unique identifier for the Sender of an Invitation. */
|
|
3141
3398
|
senderUserId: string;
|
|
3142
3399
|
};
|
|
3400
|
+
/** @enum {string} */
|
|
3401
|
+
v1InvitationStatus: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
|
|
3402
|
+
v1IpAllowlist: {
|
|
3403
|
+
/** @description Unique identifier for the organization this allowlist belongs to. */
|
|
3404
|
+
organizationId: string;
|
|
3405
|
+
/** @description List of IP allowlist rules with their metadata. */
|
|
3406
|
+
rules: definitions["v1IpAllowlistRule"][];
|
|
3407
|
+
/** @description Public key of the API key this allowlist applies to. Null means the allowlist applies to the entire organization. */
|
|
3408
|
+
publicKey?: string;
|
|
3409
|
+
/** @description Whether the IP allowlist is enabled. Only present for organization-level allowlists. Null for API key-level allowlists (presence of the allowlist implies enablement). */
|
|
3410
|
+
enabled?: boolean;
|
|
3411
|
+
/** @description Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
3412
|
+
onEvaluationError?: string;
|
|
3413
|
+
};
|
|
3414
|
+
v1IpAllowlistIntentRule: {
|
|
3415
|
+
/** @description CIDR block (e.g., '192.168.1.0/24', '2001:db8::/32'). */
|
|
3416
|
+
cidr: string;
|
|
3417
|
+
/** @description Optional human-readable label for this rule (e.g., 'Office VPN'). */
|
|
3418
|
+
label?: string;
|
|
3419
|
+
};
|
|
3420
|
+
v1IpAllowlistRule: {
|
|
3421
|
+
/** @description CIDR block (e.g., '192.168.1.0/24'). */
|
|
3422
|
+
cidr: string;
|
|
3423
|
+
/** @description Optional human-readable label for this rule. */
|
|
3424
|
+
label?: string;
|
|
3425
|
+
/** @description Creation timestamp as millisecond epoch string. */
|
|
3426
|
+
createdAt?: string;
|
|
3427
|
+
};
|
|
3143
3428
|
v1ListFiatOnRampCredentialsRequest: {
|
|
3144
3429
|
/** @description Unique identifier for a given Organization. */
|
|
3145
3430
|
organizationId: string;
|
|
@@ -3311,6 +3596,14 @@ export type definitions = {
|
|
|
3311
3596
|
/** @description Base64 encoded OIDC token */
|
|
3312
3597
|
oidcToken: string;
|
|
3313
3598
|
};
|
|
3599
|
+
v1OauthProviderParamsV2: {
|
|
3600
|
+
/** @description Human-readable name to identify a Provider. */
|
|
3601
|
+
providerName: string;
|
|
3602
|
+
/** @description Base64 encoded OIDC token */
|
|
3603
|
+
oidcToken?: string;
|
|
3604
|
+
/** @description OIDC claims (iss, sub, aud) to uniquely identify the user */
|
|
3605
|
+
oidcClaims?: definitions["v1OidcClaims"];
|
|
3606
|
+
};
|
|
3314
3607
|
v1OauthRequest: {
|
|
3315
3608
|
/** @enum {string} */
|
|
3316
3609
|
type: "ACTIVITY_TYPE_OAUTH";
|
|
@@ -3329,8 +3622,29 @@ export type definitions = {
|
|
|
3329
3622
|
/** @description HPKE encrypted credential bundle */
|
|
3330
3623
|
credentialBundle: string;
|
|
3331
3624
|
};
|
|
3625
|
+
v1OidcClaims: {
|
|
3626
|
+
/** @description The issuer identifier from the OIDC token (iss claim) */
|
|
3627
|
+
iss: string;
|
|
3628
|
+
/** @description The subject identifier from the OIDC token (sub claim) */
|
|
3629
|
+
sub: string;
|
|
3630
|
+
/** @description The audience from the OIDC token (aud claim) */
|
|
3631
|
+
aud: string;
|
|
3632
|
+
};
|
|
3332
3633
|
/** @enum {string} */
|
|
3333
3634
|
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";
|
|
3635
|
+
v1OrganizationData: {
|
|
3636
|
+
organizationId?: string;
|
|
3637
|
+
name?: string;
|
|
3638
|
+
users?: definitions["v1User"][];
|
|
3639
|
+
policies?: definitions["v1Policy"][];
|
|
3640
|
+
privateKeys?: definitions["v1PrivateKey"][];
|
|
3641
|
+
invitations?: definitions["v1Invitation"][];
|
|
3642
|
+
tags?: definitions["datav1Tag"][];
|
|
3643
|
+
rootQuorum?: definitions["externaldatav1Quorum"];
|
|
3644
|
+
features?: definitions["v1Feature"][];
|
|
3645
|
+
wallets?: definitions["v1Wallet"][];
|
|
3646
|
+
smartContractInterfaceReferences?: definitions["v1SmartContractInterfaceReference"][];
|
|
3647
|
+
};
|
|
3334
3648
|
v1OtpAuthIntent: {
|
|
3335
3649
|
/** @description ID representing the result of an init OTP activity. */
|
|
3336
3650
|
otpId: string;
|
|
@@ -3375,14 +3689,26 @@ export type definitions = {
|
|
|
3375
3689
|
/** @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. */
|
|
3376
3690
|
clientSignature?: definitions["v1ClientSignature"];
|
|
3377
3691
|
};
|
|
3692
|
+
v1OtpLoginIntentV2: {
|
|
3693
|
+
/** @description Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
3694
|
+
verificationToken: string;
|
|
3695
|
+
/** @description Client-side public key generated by the user, used as the session public key upon successful login */
|
|
3696
|
+
publicKey: string;
|
|
3697
|
+
/** @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. */
|
|
3698
|
+
clientSignature: definitions["v1ClientSignature"];
|
|
3699
|
+
/** @description Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used. */
|
|
3700
|
+
expirationSeconds?: string;
|
|
3701
|
+
/** @description Invalidate all other previously generated Login sessions */
|
|
3702
|
+
invalidateExisting?: boolean;
|
|
3703
|
+
};
|
|
3378
3704
|
v1OtpLoginRequest: {
|
|
3379
3705
|
/** @enum {string} */
|
|
3380
|
-
type: "
|
|
3706
|
+
type: "ACTIVITY_TYPE_OTP_LOGIN_V2";
|
|
3381
3707
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3382
3708
|
timestampMs: string;
|
|
3383
3709
|
/** @description Unique identifier for a given Organization. */
|
|
3384
3710
|
organizationId: string;
|
|
3385
|
-
parameters: definitions["
|
|
3711
|
+
parameters: definitions["v1OtpLoginIntentV2"];
|
|
3386
3712
|
generateAppProofs?: boolean;
|
|
3387
3713
|
};
|
|
3388
3714
|
v1OtpLoginResult: {
|
|
@@ -3483,6 +3809,12 @@ export type definitions = {
|
|
|
3483
3809
|
/** @description ID of the authenticator created. */
|
|
3484
3810
|
authenticatorId: string[];
|
|
3485
3811
|
};
|
|
3812
|
+
v1RefreshFeatureFlagsRequest: {
|
|
3813
|
+
[key: string]: unknown;
|
|
3814
|
+
};
|
|
3815
|
+
v1RefreshFeatureFlagsResponse: {
|
|
3816
|
+
[key: string]: unknown;
|
|
3817
|
+
};
|
|
3486
3818
|
v1RejectActivityIntent: {
|
|
3487
3819
|
/** @description An artifact verifying a User's action. */
|
|
3488
3820
|
fingerprint: string;
|
|
@@ -3497,6 +3829,22 @@ export type definitions = {
|
|
|
3497
3829
|
parameters: definitions["v1RejectActivityIntent"];
|
|
3498
3830
|
generateAppProofs?: boolean;
|
|
3499
3831
|
};
|
|
3832
|
+
v1RemoveIpAllowlistIntent: {
|
|
3833
|
+
/** @description The public component of an API key. If null, removes the organization-level IP allowlist. If set, removes the IP allowlist for this specific API key. */
|
|
3834
|
+
publicKey?: string;
|
|
3835
|
+
};
|
|
3836
|
+
v1RemoveIpAllowlistRequest: {
|
|
3837
|
+
/** @enum {string} */
|
|
3838
|
+
type: "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST";
|
|
3839
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3840
|
+
timestampMs: string;
|
|
3841
|
+
/** @description Unique identifier for a given Organization. */
|
|
3842
|
+
organizationId: string;
|
|
3843
|
+
parameters: definitions["v1RemoveIpAllowlistIntent"];
|
|
3844
|
+
};
|
|
3845
|
+
v1RemoveIpAllowlistResult: {
|
|
3846
|
+
[key: string]: unknown;
|
|
3847
|
+
};
|
|
3500
3848
|
v1RemoveOrganizationFeatureIntent: {
|
|
3501
3849
|
/** @description Name of the feature to remove */
|
|
3502
3850
|
name: definitions["v1FeatureName"];
|
|
@@ -3614,10 +3962,15 @@ export type definitions = {
|
|
|
3614
3962
|
createTvcDeploymentResult?: definitions["v1CreateTvcDeploymentResult"];
|
|
3615
3963
|
createTvcManifestApprovalsResult?: definitions["v1CreateTvcManifestApprovalsResult"];
|
|
3616
3964
|
solSendTransactionResult?: definitions["v1SolSendTransactionResult"];
|
|
3965
|
+
initOtpResultV2?: definitions["v1InitOtpResultV2"];
|
|
3617
3966
|
updateOrganizationNameResult?: definitions["v1UpdateOrganizationNameResult"];
|
|
3967
|
+
createSubOrganizationResultV8?: definitions["v1CreateSubOrganizationResultV8"];
|
|
3968
|
+
createOauthProvidersResultV2?: definitions["v1CreateOauthProvidersResultV2"];
|
|
3618
3969
|
createWebhookEndpointResult?: definitions["v1CreateWebhookEndpointResult"];
|
|
3619
3970
|
updateWebhookEndpointResult?: definitions["v1UpdateWebhookEndpointResult"];
|
|
3620
3971
|
deleteWebhookEndpointResult?: definitions["v1DeleteWebhookEndpointResult"];
|
|
3972
|
+
setIpAllowlistResult?: definitions["v1SetIpAllowlistResult"];
|
|
3973
|
+
removeIpAllowlistResult?: definitions["v1RemoveIpAllowlistResult"];
|
|
3621
3974
|
};
|
|
3622
3975
|
v1RevertChainEntry: {
|
|
3623
3976
|
/** @description The contract address where the revert occurred. */
|
|
@@ -3681,6 +4034,20 @@ export type definitions = {
|
|
|
3681
4034
|
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
3682
4035
|
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
3683
4036
|
};
|
|
4037
|
+
v1RootUserParamsV5: {
|
|
4038
|
+
/** @description Human-readable name for a User. */
|
|
4039
|
+
userName: string;
|
|
4040
|
+
/** @description The user's email address. */
|
|
4041
|
+
userEmail?: string;
|
|
4042
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
4043
|
+
userPhoneNumber?: string;
|
|
4044
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4045
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
4046
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4047
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
4048
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
4049
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
4050
|
+
};
|
|
3684
4051
|
v1Selector: {
|
|
3685
4052
|
subject?: string;
|
|
3686
4053
|
operator?: definitions["v1Operator"];
|
|
@@ -3691,6 +4058,28 @@ export type definitions = {
|
|
|
3691
4058
|
operator?: definitions["v1Operator"];
|
|
3692
4059
|
targets?: string[];
|
|
3693
4060
|
};
|
|
4061
|
+
v1SetIpAllowlistIntent: {
|
|
4062
|
+
/** @description The public component of an API key. If null, the IP allowlist applies at the organization level. If set, it applies only to this specific API key. */
|
|
4063
|
+
publicKey?: string;
|
|
4064
|
+
/** @description Whether the IP allowlist is enabled. Only meaningful for organization-level allowlists. Omit for API key-level allowlists. */
|
|
4065
|
+
enabled?: boolean;
|
|
4066
|
+
/** @description List of IP allowlist rules with CIDR blocks and optional labels. */
|
|
4067
|
+
rules?: definitions["v1IpAllowlistIntentRule"][];
|
|
4068
|
+
/** @description Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
4069
|
+
onEvaluationError?: string;
|
|
4070
|
+
};
|
|
4071
|
+
v1SetIpAllowlistRequest: {
|
|
4072
|
+
/** @enum {string} */
|
|
4073
|
+
type: "ACTIVITY_TYPE_SET_IP_ALLOWLIST";
|
|
4074
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4075
|
+
timestampMs: string;
|
|
4076
|
+
/** @description Unique identifier for a given Organization. */
|
|
4077
|
+
organizationId: string;
|
|
4078
|
+
parameters: definitions["v1SetIpAllowlistIntent"];
|
|
4079
|
+
};
|
|
4080
|
+
v1SetIpAllowlistResult: {
|
|
4081
|
+
[key: string]: unknown;
|
|
4082
|
+
};
|
|
3694
4083
|
v1SetOrganizationFeatureIntent: {
|
|
3695
4084
|
/** @description Name of the feature to set */
|
|
3696
4085
|
name: definitions["v1FeatureName"];
|
|
@@ -3806,11 +4195,23 @@ export type definitions = {
|
|
|
3806
4195
|
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
3807
4196
|
oauthProviders?: definitions["v1OauthProviderParams"][];
|
|
3808
4197
|
};
|
|
4198
|
+
v1SignupUsageV2: {
|
|
4199
|
+
email?: string;
|
|
4200
|
+
phoneNumber?: string;
|
|
4201
|
+
apiKeys?: definitions["v1ApiKeyParamsV2"][];
|
|
4202
|
+
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
4203
|
+
oauthProviders?: definitions["v1OauthProviderParamsV2"][];
|
|
4204
|
+
};
|
|
3809
4205
|
v1SimpleClientExtensionResults: {
|
|
3810
4206
|
appid?: boolean;
|
|
3811
4207
|
appidExclude?: boolean;
|
|
3812
4208
|
credProps?: definitions["v1CredPropsAuthenticationExtensionsClientOutputs"];
|
|
3813
4209
|
};
|
|
4210
|
+
v1SmartContractInterfaceReference: {
|
|
4211
|
+
smartContractInterfaceId?: string;
|
|
4212
|
+
smartContractAddress?: string;
|
|
4213
|
+
digest?: string;
|
|
4214
|
+
};
|
|
3814
4215
|
/** @enum {string} */
|
|
3815
4216
|
v1SmartContractInterfaceType: "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" | "SMART_CONTRACT_INTERFACE_TYPE_SOLANA";
|
|
3816
4217
|
v1SmsCustomizationParams: {
|
|
@@ -3900,6 +4301,20 @@ export type definitions = {
|
|
|
3900
4301
|
};
|
|
3901
4302
|
/** @enum {string} */
|
|
3902
4303
|
v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
4304
|
+
v1TestRateLimitsRequest: {
|
|
4305
|
+
/** @description Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons. */
|
|
4306
|
+
organizationId: string;
|
|
4307
|
+
/** @description Whether or not to set a limit on this request. */
|
|
4308
|
+
isSetLimit: boolean;
|
|
4309
|
+
/**
|
|
4310
|
+
* Format: int64
|
|
4311
|
+
* @description Rate limit to set for org, if is_set_limit is set to true.
|
|
4312
|
+
*/
|
|
4313
|
+
limit: number;
|
|
4314
|
+
};
|
|
4315
|
+
v1TestRateLimitsResponse: {
|
|
4316
|
+
[key: string]: unknown;
|
|
4317
|
+
};
|
|
3903
4318
|
v1TokenUsage: {
|
|
3904
4319
|
/** @description Type of token usage */
|
|
3905
4320
|
type: definitions["v1UsageType"];
|
|
@@ -3907,22 +4322,146 @@ export type definitions = {
|
|
|
3907
4322
|
tokenId: string;
|
|
3908
4323
|
signup?: definitions["v1SignupUsage"];
|
|
3909
4324
|
login?: definitions["v1LoginUsage"];
|
|
4325
|
+
signupV2?: definitions["v1SignupUsageV2"];
|
|
3910
4326
|
};
|
|
3911
4327
|
/** @enum {string} */
|
|
3912
4328
|
v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
4329
|
+
v1TvcApp: {
|
|
4330
|
+
/** @description Unique Identifier for this TVC App. */
|
|
4331
|
+
id: string;
|
|
4332
|
+
/** @description Unique Identifier of the Organization for this TVC App */
|
|
4333
|
+
organizationId: string;
|
|
4334
|
+
/** @description Name for this TVC App. */
|
|
4335
|
+
name: string;
|
|
4336
|
+
/** @description Public key for the Quorum Key associated with this TVC App */
|
|
4337
|
+
quorumPublicKey: string;
|
|
4338
|
+
/** @description Manifest Set (people who can approve manifests) */
|
|
4339
|
+
manifestSet: definitions["v1TvcOperatorSet"];
|
|
4340
|
+
/** @description Share Set (people who have a share of the Quorum Key) */
|
|
4341
|
+
shareSet: definitions["v1TvcOperatorSet"];
|
|
4342
|
+
/** @description Whether or not this TVC App has network egress enabled. */
|
|
4343
|
+
enableEgress: boolean;
|
|
4344
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4345
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4346
|
+
/** @description The deployment currently designated to receive traffic. Null if no deployment for this app is deployed. */
|
|
4347
|
+
liveDeploymentId?: string;
|
|
4348
|
+
};
|
|
4349
|
+
v1TvcContainerSpec: {
|
|
4350
|
+
/** @description The URL for this container image. */
|
|
4351
|
+
containerUrl: string;
|
|
4352
|
+
/** @description The path (in-container) to the executable binary. */
|
|
4353
|
+
path: string;
|
|
4354
|
+
/** @description The arguments to pass to the executable. */
|
|
4355
|
+
args: string[];
|
|
4356
|
+
/** @description Whether or not this container requires a pull secret to access. */
|
|
4357
|
+
hasPullSecret: boolean;
|
|
4358
|
+
/** @description The type of health check to perform against this executable. */
|
|
4359
|
+
healthCheckType: definitions["v1TvcHealthCheckType"];
|
|
4360
|
+
/**
|
|
4361
|
+
* Format: int64
|
|
4362
|
+
* @description The port to use for health checks against this executable.
|
|
4363
|
+
*/
|
|
4364
|
+
healthCheckPort: number;
|
|
4365
|
+
/**
|
|
4366
|
+
* Format: int64
|
|
4367
|
+
* @description The port to use for public ingress to this executable.
|
|
4368
|
+
*/
|
|
4369
|
+
publicIngressPort: number;
|
|
4370
|
+
};
|
|
4371
|
+
v1TvcDeployment: {
|
|
4372
|
+
/** @description Unique Identifier for this TVC Deployment. */
|
|
4373
|
+
id: string;
|
|
4374
|
+
/** @description Unique Identifier of the Organization for this TVC Deployment */
|
|
4375
|
+
organizationId: string;
|
|
4376
|
+
/** @description Unique Identifier of the TVC App for this deployment */
|
|
4377
|
+
appId: string;
|
|
4378
|
+
/** @description Set of TVC operators who can approve this deployment */
|
|
4379
|
+
manifestSet: definitions["v1TvcOperatorSet"];
|
|
4380
|
+
/** @description Set of TVC operators who have a share of the Quorum Key */
|
|
4381
|
+
shareSet: definitions["v1TvcOperatorSet"];
|
|
4382
|
+
/** @description The manifest used for this deployment */
|
|
4383
|
+
manifest: definitions["v1TvcManifest"];
|
|
4384
|
+
/** @description List of operator approvals for this manifest */
|
|
4385
|
+
manifestApprovals: definitions["v1TvcOperatorApproval"][];
|
|
4386
|
+
/** @description QOS Version used for this deployment */
|
|
4387
|
+
qosVersion: string;
|
|
4388
|
+
/** @description The pivot container spec for this deployment */
|
|
4389
|
+
pivotContainer: definitions["v1TvcContainerSpec"];
|
|
4390
|
+
/** @description Current stage for this deployment */
|
|
4391
|
+
stage: definitions["v1TvcDeploymentStage"];
|
|
4392
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4393
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4394
|
+
/** @description Whether or not the user wants this deployment deleted from the cluster. */
|
|
4395
|
+
delete: boolean;
|
|
4396
|
+
};
|
|
4397
|
+
/** @enum {string} */
|
|
4398
|
+
v1TvcDeploymentStage: "TVC_DEPLOYMENT_STAGE_APPROVE" | "TVC_DEPLOYMENT_STAGE_PROVISION" | "TVC_DEPLOYMENT_STAGE_LIVE" | "TVC_DEPLOYMENT_STAGE_DELETE";
|
|
3913
4399
|
/** @enum {string} */
|
|
3914
4400
|
v1TvcHealthCheckType: "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
4401
|
+
v1TvcManifest: {
|
|
4402
|
+
/** @description Unique Identifier for this TVC Manifest. */
|
|
4403
|
+
id: string;
|
|
4404
|
+
/**
|
|
4405
|
+
* Format: byte
|
|
4406
|
+
* @description The manifest content (raw UTF-8 JSON bytes)
|
|
4407
|
+
*/
|
|
4408
|
+
manifest: string;
|
|
4409
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4410
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4411
|
+
};
|
|
3915
4412
|
v1TvcManifestApproval: {
|
|
3916
4413
|
/** @description Unique identifier of the operator providing this approval */
|
|
3917
4414
|
operatorId: string;
|
|
3918
4415
|
/** @description Signature from the operator approving the manifest */
|
|
3919
4416
|
signature: string;
|
|
3920
4417
|
};
|
|
3921
|
-
|
|
3922
|
-
/** @description
|
|
4418
|
+
v1TvcOperator: {
|
|
4419
|
+
/** @description Unique Identifier for this TVC Operator. */
|
|
4420
|
+
id: string;
|
|
4421
|
+
/** @description Name of this TVC Operator. */
|
|
3923
4422
|
name: string;
|
|
3924
|
-
/** @description Public key for this
|
|
4423
|
+
/** @description Public key for this TVC Operator. */
|
|
3925
4424
|
publicKey: string;
|
|
4425
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4426
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4427
|
+
};
|
|
4428
|
+
v1TvcOperatorApproval: {
|
|
4429
|
+
/** @description Unique ID for this approval */
|
|
4430
|
+
id: string;
|
|
4431
|
+
/** @description Unique Identifier of the TVC Manifest being approved */
|
|
4432
|
+
manifestId: string;
|
|
4433
|
+
/** @description The TVC Operator who made this approval */
|
|
4434
|
+
operator: definitions["v1TvcOperator"];
|
|
4435
|
+
/**
|
|
4436
|
+
* Format: byte
|
|
4437
|
+
* @description Signature of the operator over the deployment manifest
|
|
4438
|
+
*/
|
|
4439
|
+
approval: string;
|
|
4440
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4441
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4442
|
+
};
|
|
4443
|
+
v1TvcOperatorParams: {
|
|
4444
|
+
/** @description The name for this new operator */
|
|
4445
|
+
name: string;
|
|
4446
|
+
/** @description Public key for this operator */
|
|
4447
|
+
publicKey: string;
|
|
4448
|
+
};
|
|
4449
|
+
v1TvcOperatorSet: {
|
|
4450
|
+
/** @description Unique Identifier for this TVC Operator Set. */
|
|
4451
|
+
id: string;
|
|
4452
|
+
/** @description Name of this TVC Operator Set. */
|
|
4453
|
+
name: string;
|
|
4454
|
+
/** @description Unique Identifier of the Organization for this TVC Operator Set */
|
|
4455
|
+
organizationId: string;
|
|
4456
|
+
/** @description List of TVC Operators in this set */
|
|
4457
|
+
operators: definitions["v1TvcOperator"][];
|
|
4458
|
+
/**
|
|
4459
|
+
* Format: int64
|
|
4460
|
+
* @description Threshold number of operators required for quorum.
|
|
4461
|
+
*/
|
|
4462
|
+
threshold: number;
|
|
4463
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4464
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
3926
4465
|
};
|
|
3927
4466
|
v1TvcOperatorSetParams: {
|
|
3928
4467
|
/** @description Short description for this new operator set */
|
|
@@ -4005,6 +4544,8 @@ export type definitions = {
|
|
|
4005
4544
|
sendFromEmailSenderName?: string;
|
|
4006
4545
|
/** @description Verification token required for get account with PII (email/phone number). Default false. */
|
|
4007
4546
|
verificationTokenRequiredForGetAccountPii?: boolean;
|
|
4547
|
+
/** @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. */
|
|
4548
|
+
socialLinkingClientIds?: string[];
|
|
4008
4549
|
};
|
|
4009
4550
|
v1UpdateAuthProxyConfigResult: {
|
|
4010
4551
|
/** @description Unique identifier for a given User. (representing the turnkey signer user id) */
|
|
@@ -4413,6 +4954,33 @@ export type definitions = {
|
|
|
4413
4954
|
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
4414
4955
|
userTags: string[];
|
|
4415
4956
|
};
|
|
4957
|
+
v1UserParamsV4: {
|
|
4958
|
+
/** @description Human-readable name for a User. */
|
|
4959
|
+
userName: string;
|
|
4960
|
+
/** @description The user's email address. */
|
|
4961
|
+
userEmail?: string;
|
|
4962
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
4963
|
+
userPhoneNumber?: string;
|
|
4964
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4965
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
4966
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4967
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
4968
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
4969
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
4970
|
+
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
4971
|
+
userTags: string[];
|
|
4972
|
+
};
|
|
4973
|
+
v1ValidateTvcImageRequest: {
|
|
4974
|
+
/** @description Unique identifier for a given Organization. */
|
|
4975
|
+
organizationId: string;
|
|
4976
|
+
/** @description URL of the container image. */
|
|
4977
|
+
pivotContainerImageUrl: string;
|
|
4978
|
+
/** @description HPKE-encrypted pull secret for private images. */
|
|
4979
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
4980
|
+
};
|
|
4981
|
+
v1ValidateTvcImageResponse: {
|
|
4982
|
+
resolvedImageDigest?: string;
|
|
4983
|
+
};
|
|
4416
4984
|
v1VerifyOtpIntent: {
|
|
4417
4985
|
/** @description ID representing the result of an init OTP activity. */
|
|
4418
4986
|
otpId: string;
|
|
@@ -4423,14 +4991,22 @@ export type definitions = {
|
|
|
4423
4991
|
/** @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 */
|
|
4424
4992
|
publicKey?: string;
|
|
4425
4993
|
};
|
|
4994
|
+
v1VerifyOtpIntentV2: {
|
|
4995
|
+
/** @description UUID representing an OTP flow. A new UUID is created for each init OTP activity. */
|
|
4996
|
+
otpId: string;
|
|
4997
|
+
/** @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. */
|
|
4998
|
+
encryptedOtpBundle: string;
|
|
4999
|
+
/** @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) */
|
|
5000
|
+
expirationSeconds?: string;
|
|
5001
|
+
};
|
|
4426
5002
|
v1VerifyOtpRequest: {
|
|
4427
5003
|
/** @enum {string} */
|
|
4428
|
-
type: "
|
|
5004
|
+
type: "ACTIVITY_TYPE_VERIFY_OTP_V2";
|
|
4429
5005
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4430
5006
|
timestampMs: string;
|
|
4431
5007
|
/** @description Unique identifier for a given Organization. */
|
|
4432
5008
|
organizationId: string;
|
|
4433
|
-
parameters: definitions["
|
|
5009
|
+
parameters: definitions["v1VerifyOtpIntentV2"];
|
|
4434
5010
|
generateAppProofs?: boolean;
|
|
4435
5011
|
};
|
|
4436
5012
|
v1VerifyOtpResult: {
|
|
@@ -4564,7 +5140,7 @@ export type definitions = {
|
|
|
4564
5140
|
subscriptions?: definitions["v1WebhookSubscriptionParams"][];
|
|
4565
5141
|
};
|
|
4566
5142
|
v1WebhookSubscriptionParams: {
|
|
4567
|
-
/** @description The event type to subscribe to (for example, ACTIVITY_UPDATES or
|
|
5143
|
+
/** @description The event type to subscribe to (for example, ACTIVITY_UPDATES or BALANCE_CONFIRMED_UPDATES). */
|
|
4568
5144
|
eventType: string;
|
|
4569
5145
|
/** @description JSON-encoded filter criteria for this subscription. */
|
|
4570
5146
|
filtersJson?: string;
|
|
@@ -4717,6 +5293,24 @@ export type operations = {
|
|
|
4717
5293
|
};
|
|
4718
5294
|
};
|
|
4719
5295
|
};
|
|
5296
|
+
/** Get IP allowlist and rules for an organization. */
|
|
5297
|
+
PublicApiService_GetIpAllowlist: {
|
|
5298
|
+
parameters: {
|
|
5299
|
+
body: {
|
|
5300
|
+
body: definitions["v1GetIpAllowlistRequest"];
|
|
5301
|
+
};
|
|
5302
|
+
};
|
|
5303
|
+
responses: {
|
|
5304
|
+
/** A successful response. */
|
|
5305
|
+
200: {
|
|
5306
|
+
schema: definitions["v1GetIpAllowlistResponse"];
|
|
5307
|
+
};
|
|
5308
|
+
/** An unexpected error response. */
|
|
5309
|
+
default: {
|
|
5310
|
+
schema: definitions["rpcStatus"];
|
|
5311
|
+
};
|
|
5312
|
+
};
|
|
5313
|
+
};
|
|
4720
5314
|
/** Get the latest boot proof for a given enclave app name. */
|
|
4721
5315
|
PublicApiService_GetLatestBootProof: {
|
|
4722
5316
|
parameters: {
|
|
@@ -4807,6 +5401,24 @@ export type operations = {
|
|
|
4807
5401
|
};
|
|
4808
5402
|
};
|
|
4809
5403
|
};
|
|
5404
|
+
/** Get details about an organization. */
|
|
5405
|
+
PublicApiService_GetOrganization: {
|
|
5406
|
+
parameters: {
|
|
5407
|
+
body: {
|
|
5408
|
+
body: definitions["v1GetOrganizationRequest"];
|
|
5409
|
+
};
|
|
5410
|
+
};
|
|
5411
|
+
responses: {
|
|
5412
|
+
/** A successful response. */
|
|
5413
|
+
200: {
|
|
5414
|
+
schema: definitions["v1GetOrganizationResponse"];
|
|
5415
|
+
};
|
|
5416
|
+
/** An unexpected error response. */
|
|
5417
|
+
default: {
|
|
5418
|
+
schema: definitions["rpcStatus"];
|
|
5419
|
+
};
|
|
5420
|
+
};
|
|
5421
|
+
};
|
|
4810
5422
|
/** Get quorum settings and features for an organization. */
|
|
4811
5423
|
PublicApiService_GetOrganizationConfigs: {
|
|
4812
5424
|
parameters: {
|
|
@@ -4915,6 +5527,42 @@ export type operations = {
|
|
|
4915
5527
|
};
|
|
4916
5528
|
};
|
|
4917
5529
|
};
|
|
5530
|
+
/** Get details about a single TVC App */
|
|
5531
|
+
PublicApiService_GetTvcApp: {
|
|
5532
|
+
parameters: {
|
|
5533
|
+
body: {
|
|
5534
|
+
body: definitions["v1GetTvcAppRequest"];
|
|
5535
|
+
};
|
|
5536
|
+
};
|
|
5537
|
+
responses: {
|
|
5538
|
+
/** A successful response. */
|
|
5539
|
+
200: {
|
|
5540
|
+
schema: definitions["v1GetTvcAppResponse"];
|
|
5541
|
+
};
|
|
5542
|
+
/** An unexpected error response. */
|
|
5543
|
+
default: {
|
|
5544
|
+
schema: definitions["rpcStatus"];
|
|
5545
|
+
};
|
|
5546
|
+
};
|
|
5547
|
+
};
|
|
5548
|
+
/** Get details about a single TVC Deployment */
|
|
5549
|
+
PublicApiService_GetTvcDeployment: {
|
|
5550
|
+
parameters: {
|
|
5551
|
+
body: {
|
|
5552
|
+
body: definitions["v1GetTvcDeploymentRequest"];
|
|
5553
|
+
};
|
|
5554
|
+
};
|
|
5555
|
+
responses: {
|
|
5556
|
+
/** A successful response. */
|
|
5557
|
+
200: {
|
|
5558
|
+
schema: definitions["v1GetTvcDeploymentResponse"];
|
|
5559
|
+
};
|
|
5560
|
+
/** An unexpected error response. */
|
|
5561
|
+
default: {
|
|
5562
|
+
schema: definitions["rpcStatus"];
|
|
5563
|
+
};
|
|
5564
|
+
};
|
|
5565
|
+
};
|
|
4918
5566
|
/** Get details about a user. */
|
|
4919
5567
|
PublicApiService_GetUser: {
|
|
4920
5568
|
parameters: {
|
|
@@ -5167,6 +5815,42 @@ export type operations = {
|
|
|
5167
5815
|
};
|
|
5168
5816
|
};
|
|
5169
5817
|
};
|
|
5818
|
+
/** List all deployments for a given TVC App */
|
|
5819
|
+
PublicApiService_GetTvcAppDeployments: {
|
|
5820
|
+
parameters: {
|
|
5821
|
+
body: {
|
|
5822
|
+
body: definitions["v1GetTvcAppDeploymentsRequest"];
|
|
5823
|
+
};
|
|
5824
|
+
};
|
|
5825
|
+
responses: {
|
|
5826
|
+
/** A successful response. */
|
|
5827
|
+
200: {
|
|
5828
|
+
schema: definitions["v1GetTvcAppDeploymentsResponse"];
|
|
5829
|
+
};
|
|
5830
|
+
/** An unexpected error response. */
|
|
5831
|
+
default: {
|
|
5832
|
+
schema: definitions["rpcStatus"];
|
|
5833
|
+
};
|
|
5834
|
+
};
|
|
5835
|
+
};
|
|
5836
|
+
/** List all TVC Apps within an organization. */
|
|
5837
|
+
PublicApiService_GetTvcApps: {
|
|
5838
|
+
parameters: {
|
|
5839
|
+
body: {
|
|
5840
|
+
body: definitions["v1GetTvcAppsRequest"];
|
|
5841
|
+
};
|
|
5842
|
+
};
|
|
5843
|
+
responses: {
|
|
5844
|
+
/** A successful response. */
|
|
5845
|
+
200: {
|
|
5846
|
+
schema: definitions["v1GetTvcAppsResponse"];
|
|
5847
|
+
};
|
|
5848
|
+
/** An unexpected error response. */
|
|
5849
|
+
default: {
|
|
5850
|
+
schema: definitions["rpcStatus"];
|
|
5851
|
+
};
|
|
5852
|
+
};
|
|
5853
|
+
};
|
|
5170
5854
|
/** List all user tags within an organization. */
|
|
5171
5855
|
PublicApiService_ListUserTags: {
|
|
5172
5856
|
parameters: {
|
|
@@ -5275,6 +5959,24 @@ export type operations = {
|
|
|
5275
5959
|
};
|
|
5276
5960
|
};
|
|
5277
5961
|
};
|
|
5962
|
+
/** Validate a container image URL and pull secret for TVC deployment */
|
|
5963
|
+
PublicApiService_ValidateTvcImage: {
|
|
5964
|
+
parameters: {
|
|
5965
|
+
body: {
|
|
5966
|
+
body: definitions["v1ValidateTvcImageRequest"];
|
|
5967
|
+
};
|
|
5968
|
+
};
|
|
5969
|
+
responses: {
|
|
5970
|
+
/** A successful response. */
|
|
5971
|
+
200: {
|
|
5972
|
+
schema: definitions["v1ValidateTvcImageResponse"];
|
|
5973
|
+
};
|
|
5974
|
+
/** An unexpected error response. */
|
|
5975
|
+
default: {
|
|
5976
|
+
schema: definitions["rpcStatus"];
|
|
5977
|
+
};
|
|
5978
|
+
};
|
|
5979
|
+
};
|
|
5278
5980
|
/** 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. */
|
|
5279
5981
|
PublicApiService_GetWhoami: {
|
|
5280
5982
|
parameters: {
|
|
@@ -5581,6 +6283,60 @@ export type operations = {
|
|
|
5581
6283
|
};
|
|
5582
6284
|
};
|
|
5583
6285
|
};
|
|
6286
|
+
/** Create a new TVC application */
|
|
6287
|
+
PublicApiService_CreateTvcApp: {
|
|
6288
|
+
parameters: {
|
|
6289
|
+
body: {
|
|
6290
|
+
body: definitions["v1CreateTvcAppRequest"];
|
|
6291
|
+
};
|
|
6292
|
+
};
|
|
6293
|
+
responses: {
|
|
6294
|
+
/** A successful response. */
|
|
6295
|
+
200: {
|
|
6296
|
+
schema: definitions["v1ActivityResponse"];
|
|
6297
|
+
};
|
|
6298
|
+
/** An unexpected error response. */
|
|
6299
|
+
default: {
|
|
6300
|
+
schema: definitions["rpcStatus"];
|
|
6301
|
+
};
|
|
6302
|
+
};
|
|
6303
|
+
};
|
|
6304
|
+
/** Create a new TVC Deployment */
|
|
6305
|
+
PublicApiService_CreateTvcDeployment: {
|
|
6306
|
+
parameters: {
|
|
6307
|
+
body: {
|
|
6308
|
+
body: definitions["v1CreateTvcDeploymentRequest"];
|
|
6309
|
+
};
|
|
6310
|
+
};
|
|
6311
|
+
responses: {
|
|
6312
|
+
/** A successful response. */
|
|
6313
|
+
200: {
|
|
6314
|
+
schema: definitions["v1ActivityResponse"];
|
|
6315
|
+
};
|
|
6316
|
+
/** An unexpected error response. */
|
|
6317
|
+
default: {
|
|
6318
|
+
schema: definitions["rpcStatus"];
|
|
6319
|
+
};
|
|
6320
|
+
};
|
|
6321
|
+
};
|
|
6322
|
+
/** Post one or more manifest approvals for a TVC Manifest */
|
|
6323
|
+
PublicApiService_CreateTvcManifestApprovals: {
|
|
6324
|
+
parameters: {
|
|
6325
|
+
body: {
|
|
6326
|
+
body: definitions["v1CreateTvcManifestApprovalsRequest"];
|
|
6327
|
+
};
|
|
6328
|
+
};
|
|
6329
|
+
responses: {
|
|
6330
|
+
/** A successful response. */
|
|
6331
|
+
200: {
|
|
6332
|
+
schema: definitions["v1ActivityResponse"];
|
|
6333
|
+
};
|
|
6334
|
+
/** An unexpected error response. */
|
|
6335
|
+
default: {
|
|
6336
|
+
schema: definitions["rpcStatus"];
|
|
6337
|
+
};
|
|
6338
|
+
};
|
|
6339
|
+
};
|
|
5584
6340
|
/** Create a user tag and add it to users. */
|
|
5585
6341
|
PublicApiService_CreateUserTag: {
|
|
5586
6342
|
parameters: {
|
|
@@ -5995,6 +6751,24 @@ export type operations = {
|
|
|
5995
6751
|
};
|
|
5996
6752
|
};
|
|
5997
6753
|
};
|
|
6754
|
+
/** Submit a raw transaction (serialized and signed) for broadcasting to the network. */
|
|
6755
|
+
PublicApiService_EthSendRawTransaction: {
|
|
6756
|
+
parameters: {
|
|
6757
|
+
body: {
|
|
6758
|
+
body: definitions["v1EthSendRawTransactionRequest"];
|
|
6759
|
+
};
|
|
6760
|
+
};
|
|
6761
|
+
responses: {
|
|
6762
|
+
/** A successful response. */
|
|
6763
|
+
200: {
|
|
6764
|
+
schema: definitions["v1ActivityResponse"];
|
|
6765
|
+
};
|
|
6766
|
+
/** An unexpected error response. */
|
|
6767
|
+
default: {
|
|
6768
|
+
schema: definitions["rpcStatus"];
|
|
6769
|
+
};
|
|
6770
|
+
};
|
|
6771
|
+
};
|
|
5998
6772
|
/** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
|
|
5999
6773
|
PublicApiService_EthSendTransaction: {
|
|
6000
6774
|
parameters: {
|
|
@@ -6337,6 +7111,24 @@ export type operations = {
|
|
|
6337
7111
|
};
|
|
6338
7112
|
};
|
|
6339
7113
|
};
|
|
7114
|
+
/** Delete IP allowlist and all associated rules for organization or API key. After removal, access will be determined by organization-level allowlist (for API keys) or allowed from all IPs (for organizations). */
|
|
7115
|
+
PublicApiService_RemoveIpAllowlist: {
|
|
7116
|
+
parameters: {
|
|
7117
|
+
body: {
|
|
7118
|
+
body: definitions["v1RemoveIpAllowlistRequest"];
|
|
7119
|
+
};
|
|
7120
|
+
};
|
|
7121
|
+
responses: {
|
|
7122
|
+
/** A successful response. */
|
|
7123
|
+
200: {
|
|
7124
|
+
schema: definitions["v1ActivityResponse"];
|
|
7125
|
+
};
|
|
7126
|
+
/** An unexpected error response. */
|
|
7127
|
+
default: {
|
|
7128
|
+
schema: definitions["rpcStatus"];
|
|
7129
|
+
};
|
|
7130
|
+
};
|
|
7131
|
+
};
|
|
6340
7132
|
/** Remove an organization feature. This activity must be approved by the current root quorum. */
|
|
6341
7133
|
PublicApiService_RemoveOrganizationFeature: {
|
|
6342
7134
|
parameters: {
|
|
@@ -6355,6 +7147,24 @@ export type operations = {
|
|
|
6355
7147
|
};
|
|
6356
7148
|
};
|
|
6357
7149
|
};
|
|
7150
|
+
/** Create or update IP allowlist and rules for organization or API key. The IP allowlist restricts API access to specific CIDR blocks. Organization-level allowlists apply to all API keys unless overridden by a key-specific allowlist. */
|
|
7151
|
+
PublicApiService_SetIpAllowlist: {
|
|
7152
|
+
parameters: {
|
|
7153
|
+
body: {
|
|
7154
|
+
body: definitions["v1SetIpAllowlistRequest"];
|
|
7155
|
+
};
|
|
7156
|
+
};
|
|
7157
|
+
responses: {
|
|
7158
|
+
/** A successful response. */
|
|
7159
|
+
200: {
|
|
7160
|
+
schema: definitions["v1ActivityResponse"];
|
|
7161
|
+
};
|
|
7162
|
+
/** An unexpected error response. */
|
|
7163
|
+
default: {
|
|
7164
|
+
schema: definitions["rpcStatus"];
|
|
7165
|
+
};
|
|
7166
|
+
};
|
|
7167
|
+
};
|
|
6358
7168
|
/** Set an organization feature. This activity must be approved by the current root quorum. */
|
|
6359
7169
|
PublicApiService_SetOrganizationFeature: {
|
|
6360
7170
|
parameters: {
|
|
@@ -6727,6 +7537,42 @@ export type operations = {
|
|
|
6727
7537
|
};
|
|
6728
7538
|
};
|
|
6729
7539
|
};
|
|
7540
|
+
/** Refresh feature flags by triggering a DB read to flush the in-memory cache. */
|
|
7541
|
+
PublicApiService_RefreshFeatureFlags: {
|
|
7542
|
+
parameters: {
|
|
7543
|
+
body: {
|
|
7544
|
+
body: definitions["v1RefreshFeatureFlagsRequest"];
|
|
7545
|
+
};
|
|
7546
|
+
};
|
|
7547
|
+
responses: {
|
|
7548
|
+
/** A successful response. */
|
|
7549
|
+
200: {
|
|
7550
|
+
schema: definitions["v1RefreshFeatureFlagsResponse"];
|
|
7551
|
+
};
|
|
7552
|
+
/** An unexpected error response. */
|
|
7553
|
+
default: {
|
|
7554
|
+
schema: definitions["rpcStatus"];
|
|
7555
|
+
};
|
|
7556
|
+
};
|
|
7557
|
+
};
|
|
7558
|
+
/** Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite. */
|
|
7559
|
+
PublicApiService_TestRateLimits: {
|
|
7560
|
+
parameters: {
|
|
7561
|
+
body: {
|
|
7562
|
+
body: definitions["v1TestRateLimitsRequest"];
|
|
7563
|
+
};
|
|
7564
|
+
};
|
|
7565
|
+
responses: {
|
|
7566
|
+
/** A successful response. */
|
|
7567
|
+
200: {
|
|
7568
|
+
schema: definitions["v1TestRateLimitsResponse"];
|
|
7569
|
+
};
|
|
7570
|
+
/** An unexpected error response. */
|
|
7571
|
+
default: {
|
|
7572
|
+
schema: definitions["rpcStatus"];
|
|
7573
|
+
};
|
|
7574
|
+
};
|
|
7575
|
+
};
|
|
6730
7576
|
};
|
|
6731
7577
|
export type external = {};
|
|
6732
7578
|
//# sourceMappingURL=public_api.types.d.ts.map
|