@turnkey/http 3.18.1 → 4.1.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 +277 -1
- package/dist/__fixtures__/shared.d.ts +6 -0
- package/dist/__fixtures__/shared.d.ts.map +1 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +375 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +626 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +626 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +69430 -3921
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +600 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +551 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +1462 -33
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/__tests__/async-test.d.ts +2 -0
- package/dist/__tests__/async-test.d.ts.map +1 -0
- package/dist/__tests__/request-test.d.ts +2 -0
- package/dist/__tests__/request-test.d.ts.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +3 -3
|
@@ -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,18 @@ 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
|
+
};
|
|
98
|
+
"/public/v1/query/get_tvc_deployment_provisioning_details": {
|
|
99
|
+
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
100
|
+
post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
|
|
101
|
+
};
|
|
82
102
|
"/public/v1/query/get_user": {
|
|
83
103
|
/** Get details about a user. */
|
|
84
104
|
post: operations["PublicApiService_GetUser"];
|
|
@@ -135,6 +155,14 @@ export type paths = {
|
|
|
135
155
|
/** List supported assets for the specified network. This feature is in beta - please contact support for access. */
|
|
136
156
|
post: operations["PublicApiService_ListSupportedAssets"];
|
|
137
157
|
};
|
|
158
|
+
"/public/v1/query/list_tvc_app_deployments": {
|
|
159
|
+
/** List all deployments for a given TVC App */
|
|
160
|
+
post: operations["PublicApiService_GetTvcAppDeployments"];
|
|
161
|
+
};
|
|
162
|
+
"/public/v1/query/list_tvc_apps": {
|
|
163
|
+
/** List all TVC Apps within an organization. */
|
|
164
|
+
post: operations["PublicApiService_GetTvcApps"];
|
|
165
|
+
};
|
|
138
166
|
"/public/v1/query/list_user_tags": {
|
|
139
167
|
/** List all user tags within an organization. */
|
|
140
168
|
post: operations["PublicApiService_ListUserTags"];
|
|
@@ -159,6 +187,10 @@ export type paths = {
|
|
|
159
187
|
/** List webhook endpoints within an organization. */
|
|
160
188
|
post: operations["PublicApiService_ListWebhookEndpoints"];
|
|
161
189
|
};
|
|
190
|
+
"/public/v1/query/validate_tvc_image": {
|
|
191
|
+
/** Validate a container image URL and pull secret for TVC deployment */
|
|
192
|
+
post: operations["PublicApiService_ValidateTvcImage"];
|
|
193
|
+
};
|
|
162
194
|
"/public/v1/query/whoami": {
|
|
163
195
|
/** 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
196
|
post: operations["PublicApiService_GetWhoami"];
|
|
@@ -227,6 +259,18 @@ export type paths = {
|
|
|
227
259
|
/** Create a new sub-organization. */
|
|
228
260
|
post: operations["PublicApiService_CreateSubOrganization"];
|
|
229
261
|
};
|
|
262
|
+
"/public/v1/submit/create_tvc_app": {
|
|
263
|
+
/** Create a new TVC application */
|
|
264
|
+
post: operations["PublicApiService_CreateTvcApp"];
|
|
265
|
+
};
|
|
266
|
+
"/public/v1/submit/create_tvc_deployment": {
|
|
267
|
+
/** Create a new TVC Deployment */
|
|
268
|
+
post: operations["PublicApiService_CreateTvcDeployment"];
|
|
269
|
+
};
|
|
270
|
+
"/public/v1/submit/create_tvc_manifest_approvals": {
|
|
271
|
+
/** Post one or more manifest approvals for a TVC Manifest */
|
|
272
|
+
post: operations["PublicApiService_CreateTvcManifestApprovals"];
|
|
273
|
+
};
|
|
230
274
|
"/public/v1/submit/create_user_tag": {
|
|
231
275
|
/** Create a user tag and add it to users. */
|
|
232
276
|
post: operations["PublicApiService_CreateUserTag"];
|
|
@@ -295,6 +339,14 @@ export type paths = {
|
|
|
295
339
|
/** Delete a sub-organization. */
|
|
296
340
|
post: operations["PublicApiService_DeleteSubOrganization"];
|
|
297
341
|
};
|
|
342
|
+
"/public/v1/submit/delete_tvc_app_and_deployments": {
|
|
343
|
+
/** Delete a TVC App and all of its deployments */
|
|
344
|
+
post: operations["PublicApiService_DeleteTvcAppAndDeployments"];
|
|
345
|
+
};
|
|
346
|
+
"/public/v1/submit/delete_tvc_deployment": {
|
|
347
|
+
/** Delete a TVC Deployment */
|
|
348
|
+
post: operations["PublicApiService_DeleteTvcDeployment"];
|
|
349
|
+
};
|
|
298
350
|
"/public/v1/submit/delete_user_tags": {
|
|
299
351
|
/** Delete user tags within an organization. */
|
|
300
352
|
post: operations["PublicApiService_DeleteUserTags"];
|
|
@@ -319,6 +371,10 @@ export type paths = {
|
|
|
319
371
|
/** Authenticate a user via email. */
|
|
320
372
|
post: operations["PublicApiService_EmailAuth"];
|
|
321
373
|
};
|
|
374
|
+
"/public/v1/submit/eth_send_raw_transaction": {
|
|
375
|
+
/** Submit a raw transaction (serialized and signed) for broadcasting to the network. */
|
|
376
|
+
post: operations["PublicApiService_EthSendRawTransaction"];
|
|
377
|
+
};
|
|
322
378
|
"/public/v1/submit/eth_send_transaction": {
|
|
323
379
|
/** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
|
|
324
380
|
post: operations["PublicApiService_EthSendTransaction"];
|
|
@@ -387,6 +443,10 @@ export type paths = {
|
|
|
387
443
|
/** Create an OTP session for a user. */
|
|
388
444
|
post: operations["PublicApiService_OtpLogin"];
|
|
389
445
|
};
|
|
446
|
+
"/public/v1/submit/post_tvc_quorum_key_share": {
|
|
447
|
+
/** Post re-encrypted quorum key share for a TVC deployment. */
|
|
448
|
+
post: operations["PublicApiService_PostTvcQuorumKeyShare"];
|
|
449
|
+
};
|
|
390
450
|
"/public/v1/submit/recover_user": {
|
|
391
451
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
392
452
|
post: operations["PublicApiService_RecoverUser"];
|
|
@@ -395,14 +455,30 @@ export type paths = {
|
|
|
395
455
|
/** Reject an activity. */
|
|
396
456
|
post: operations["PublicApiService_RejectActivity"];
|
|
397
457
|
};
|
|
458
|
+
"/public/v1/submit/remove_ip_allowlist": {
|
|
459
|
+
/** 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). */
|
|
460
|
+
post: operations["PublicApiService_RemoveIpAllowlist"];
|
|
461
|
+
};
|
|
398
462
|
"/public/v1/submit/remove_organization_feature": {
|
|
399
463
|
/** Remove an organization feature. This activity must be approved by the current root quorum. */
|
|
400
464
|
post: operations["PublicApiService_RemoveOrganizationFeature"];
|
|
401
465
|
};
|
|
466
|
+
"/public/v1/submit/restore_tvc_deployment": {
|
|
467
|
+
/** Restore a deleted TVC Deployment */
|
|
468
|
+
post: operations["PublicApiService_RestoreTvcDeployment"];
|
|
469
|
+
};
|
|
470
|
+
"/public/v1/submit/set_ip_allowlist": {
|
|
471
|
+
/** 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. */
|
|
472
|
+
post: operations["PublicApiService_SetIpAllowlist"];
|
|
473
|
+
};
|
|
402
474
|
"/public/v1/submit/set_organization_feature": {
|
|
403
475
|
/** Set an organization feature. This activity must be approved by the current root quorum. */
|
|
404
476
|
post: operations["PublicApiService_SetOrganizationFeature"];
|
|
405
477
|
};
|
|
478
|
+
"/public/v1/submit/set_tvc_app_live_deployment": {
|
|
479
|
+
/** Set the live deployment for a TVC App */
|
|
480
|
+
post: operations["PublicApiService_UpdateTvcAppLiveDeployment"];
|
|
481
|
+
};
|
|
406
482
|
"/public/v1/submit/sign_raw_payload": {
|
|
407
483
|
/** Sign a raw payload. */
|
|
408
484
|
post: operations["PublicApiService_SignRawPayload"];
|
|
@@ -419,6 +495,22 @@ export type paths = {
|
|
|
419
495
|
/** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
|
|
420
496
|
post: operations["PublicApiService_SolSendTransaction"];
|
|
421
497
|
};
|
|
498
|
+
"/public/v1/submit/spark_claim_transfer": {
|
|
499
|
+
/** Construct receiver-side encrypted operator packages to claim a Spark transfer. Does not perform FROST signing. */
|
|
500
|
+
post: operations["PublicApiService_SparkClaimTransfer"];
|
|
501
|
+
};
|
|
502
|
+
"/public/v1/submit/spark_prepare_lightning_receive": {
|
|
503
|
+
/** Generate a Lightning preimage and distribute Feldman shares to operators for a Spark Lightning receive. Does not perform FROST signing. */
|
|
504
|
+
post: operations["PublicApiService_SparkPrepareLightningReceive"];
|
|
505
|
+
};
|
|
506
|
+
"/public/v1/submit/spark_prepare_transfer": {
|
|
507
|
+
/** Construct sender-side encrypted operator packages for a Spark BTC transfer. Does not perform FROST signing. */
|
|
508
|
+
post: operations["PublicApiService_SparkPrepareTransfer"];
|
|
509
|
+
};
|
|
510
|
+
"/public/v1/submit/spark_sign_frost": {
|
|
511
|
+
/** Perform pure FROST partial signing for a Spark wallet. Produces partial signatures without constructing operator packages. */
|
|
512
|
+
post: operations["PublicApiService_SparkSignFrost"];
|
|
513
|
+
};
|
|
422
514
|
"/public/v1/submit/stamp_login": {
|
|
423
515
|
/** Create a session for a user through stamping client side (API key, wallet client, or passkey client). */
|
|
424
516
|
post: operations["PublicApiService_StampLogin"];
|
|
@@ -482,6 +574,14 @@ export type paths = {
|
|
|
482
574
|
"/tkhq/api/v1/noop-codegen-anchor": {
|
|
483
575
|
post: operations["PublicApiService_NOOPCodegenAnchor"];
|
|
484
576
|
};
|
|
577
|
+
"/tkhq/api/v1/refresh_feature_flags": {
|
|
578
|
+
/** Refresh feature flags by triggering a DB read to flush the in-memory cache. */
|
|
579
|
+
post: operations["PublicApiService_RefreshFeatureFlags"];
|
|
580
|
+
};
|
|
581
|
+
"/tkhq/api/v1/test_rate_limits": {
|
|
582
|
+
/** Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite. */
|
|
583
|
+
post: operations["PublicApiService_TestRateLimits"];
|
|
584
|
+
};
|
|
485
585
|
};
|
|
486
586
|
export type definitions = {
|
|
487
587
|
apiApiKeyParams: {
|
|
@@ -495,6 +595,7 @@ export type definitions = {
|
|
|
495
595
|
billingActivateBillingTierIntent: {
|
|
496
596
|
/** @description The product that the customer wants to subscribe to. */
|
|
497
597
|
productId: string;
|
|
598
|
+
orbPlanId?: string;
|
|
498
599
|
};
|
|
499
600
|
billingActivateBillingTierResult: {
|
|
500
601
|
/** @description The id of the product being subscribed to. */
|
|
@@ -678,9 +779,9 @@ export type definitions = {
|
|
|
678
779
|
/** @enum {string} */
|
|
679
780
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
680
781
|
/** @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";
|
|
782
|
+
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE";
|
|
682
783
|
/** @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";
|
|
784
|
+
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
785
|
v1ApiKey: {
|
|
685
786
|
/** @description A User credential that can be used to authenticate to Turnkey. */
|
|
686
787
|
credential: definitions["externaldatav1Credential"];
|
|
@@ -1023,20 +1124,30 @@ export type definitions = {
|
|
|
1023
1124
|
/** @description A list of Oauth providers. */
|
|
1024
1125
|
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
1025
1126
|
};
|
|
1127
|
+
v1CreateOauthProvidersIntentV2: {
|
|
1128
|
+
/** @description The ID of the User to add an Oauth provider to */
|
|
1129
|
+
userId: string;
|
|
1130
|
+
/** @description A list of Oauth providers. */
|
|
1131
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
1132
|
+
};
|
|
1026
1133
|
v1CreateOauthProvidersRequest: {
|
|
1027
1134
|
/** @enum {string} */
|
|
1028
|
-
type: "
|
|
1135
|
+
type: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2";
|
|
1029
1136
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1030
1137
|
timestampMs: string;
|
|
1031
1138
|
/** @description Unique identifier for a given Organization. */
|
|
1032
1139
|
organizationId: string;
|
|
1033
|
-
parameters: definitions["
|
|
1140
|
+
parameters: definitions["v1CreateOauthProvidersIntentV2"];
|
|
1034
1141
|
generateAppProofs?: boolean;
|
|
1035
1142
|
};
|
|
1036
1143
|
v1CreateOauthProvidersResult: {
|
|
1037
1144
|
/** @description A list of unique identifiers for Oauth Providers */
|
|
1038
1145
|
providerIds: string[];
|
|
1039
1146
|
};
|
|
1147
|
+
v1CreateOauthProvidersResultV2: {
|
|
1148
|
+
/** @description A list of unique identifiers for Oauth Providers */
|
|
1149
|
+
providerIds: string[];
|
|
1150
|
+
};
|
|
1040
1151
|
v1CreateOrganizationIntent: {
|
|
1041
1152
|
/** @description Human-readable name for an Organization. */
|
|
1042
1153
|
organizationName: string;
|
|
@@ -1214,7 +1325,7 @@ export type definitions = {
|
|
|
1214
1325
|
v1CreateReadWriteSessionIntentV2: {
|
|
1215
1326
|
/** @description Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
1216
1327
|
targetPublicKey: string;
|
|
1217
|
-
/** @description
|
|
1328
|
+
/** @description Optional unique identifier for a given User. If none provided, the read write session will be created for the user who is making the request. */
|
|
1218
1329
|
userId?: string;
|
|
1219
1330
|
/** @description Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
1220
1331
|
apiKeyName?: string;
|
|
@@ -1392,14 +1503,39 @@ export type definitions = {
|
|
|
1392
1503
|
/** @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
1504
|
clientSignature?: definitions["v1ClientSignature"];
|
|
1394
1505
|
};
|
|
1506
|
+
v1CreateSubOrganizationIntentV8: {
|
|
1507
|
+
/** @description Name for this sub-organization */
|
|
1508
|
+
subOrganizationName: string;
|
|
1509
|
+
/** @description Root users to create within this sub-organization */
|
|
1510
|
+
rootUsers: definitions["v1RootUserParamsV5"][];
|
|
1511
|
+
/**
|
|
1512
|
+
* Format: int32
|
|
1513
|
+
* @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
|
|
1514
|
+
*/
|
|
1515
|
+
rootQuorumThreshold: number;
|
|
1516
|
+
/** @description The wallet to create for the sub-organization */
|
|
1517
|
+
wallet?: definitions["v1WalletParams"];
|
|
1518
|
+
/** @description Disable email recovery for the sub-organization */
|
|
1519
|
+
disableEmailRecovery?: boolean;
|
|
1520
|
+
/** @description Disable email auth for the sub-organization */
|
|
1521
|
+
disableEmailAuth?: boolean;
|
|
1522
|
+
/** @description Disable OTP SMS auth for the sub-organization */
|
|
1523
|
+
disableSmsAuth?: boolean;
|
|
1524
|
+
/** @description Disable OTP email auth for the sub-organization */
|
|
1525
|
+
disableOtpEmailAuth?: boolean;
|
|
1526
|
+
/** @description Signed JWT containing a unique id, expiry, verification type, contact */
|
|
1527
|
+
verificationToken?: string;
|
|
1528
|
+
/** @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. */
|
|
1529
|
+
clientSignature?: definitions["v1ClientSignature"];
|
|
1530
|
+
};
|
|
1395
1531
|
v1CreateSubOrganizationRequest: {
|
|
1396
1532
|
/** @enum {string} */
|
|
1397
|
-
type: "
|
|
1533
|
+
type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8";
|
|
1398
1534
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1399
1535
|
timestampMs: string;
|
|
1400
1536
|
/** @description Unique identifier for a given Organization. */
|
|
1401
1537
|
organizationId: string;
|
|
1402
|
-
parameters: definitions["
|
|
1538
|
+
parameters: definitions["v1CreateSubOrganizationIntentV8"];
|
|
1403
1539
|
generateAppProofs?: boolean;
|
|
1404
1540
|
};
|
|
1405
1541
|
v1CreateSubOrganizationResult: {
|
|
@@ -1432,6 +1568,11 @@ export type definitions = {
|
|
|
1432
1568
|
wallet?: definitions["v1WalletResult"];
|
|
1433
1569
|
rootUserIds?: string[];
|
|
1434
1570
|
};
|
|
1571
|
+
v1CreateSubOrganizationResultV8: {
|
|
1572
|
+
subOrganizationId: string;
|
|
1573
|
+
wallet?: definitions["v1WalletResult"];
|
|
1574
|
+
rootUserIds?: string[];
|
|
1575
|
+
};
|
|
1435
1576
|
v1CreateTvcAppIntent: {
|
|
1436
1577
|
/** @description The name of the new TVC application */
|
|
1437
1578
|
name: string;
|
|
@@ -1448,6 +1589,15 @@ export type definitions = {
|
|
|
1448
1589
|
/** @description Enables network egress for this TVC app. Default if not provided: false. */
|
|
1449
1590
|
enableEgress?: boolean;
|
|
1450
1591
|
};
|
|
1592
|
+
v1CreateTvcAppRequest: {
|
|
1593
|
+
/** @enum {string} */
|
|
1594
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_APP";
|
|
1595
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1596
|
+
timestampMs: string;
|
|
1597
|
+
/** @description Unique identifier for a given Organization. */
|
|
1598
|
+
organizationId: string;
|
|
1599
|
+
parameters: definitions["v1CreateTvcAppIntent"];
|
|
1600
|
+
};
|
|
1451
1601
|
v1CreateTvcAppResult: {
|
|
1452
1602
|
/** @description The unique identifier for the TVC application */
|
|
1453
1603
|
appId: string;
|
|
@@ -1483,7 +1633,7 @@ export type definitions = {
|
|
|
1483
1633
|
pivotContainerEncryptedPullSecret?: string;
|
|
1484
1634
|
/** @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
1635
|
debugMode?: boolean;
|
|
1486
|
-
/** @description
|
|
1636
|
+
/** @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
1637
|
healthCheckType: definitions["v1TvcHealthCheckType"];
|
|
1488
1638
|
/**
|
|
1489
1639
|
* Format: int64
|
|
@@ -1496,6 +1646,15 @@ export type definitions = {
|
|
|
1496
1646
|
*/
|
|
1497
1647
|
publicIngressPort: number;
|
|
1498
1648
|
};
|
|
1649
|
+
v1CreateTvcDeploymentRequest: {
|
|
1650
|
+
/** @enum {string} */
|
|
1651
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT";
|
|
1652
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1653
|
+
timestampMs: string;
|
|
1654
|
+
/** @description Unique identifier for a given Organization. */
|
|
1655
|
+
organizationId: string;
|
|
1656
|
+
parameters: definitions["v1CreateTvcDeploymentIntent"];
|
|
1657
|
+
};
|
|
1499
1658
|
v1CreateTvcDeploymentResult: {
|
|
1500
1659
|
/** @description The unique identifier for the TVC deployment */
|
|
1501
1660
|
deploymentId: string;
|
|
@@ -1508,6 +1667,15 @@ export type definitions = {
|
|
|
1508
1667
|
/** @description List of manifest approvals */
|
|
1509
1668
|
approvals: definitions["v1TvcManifestApproval"][];
|
|
1510
1669
|
};
|
|
1670
|
+
v1CreateTvcManifestApprovalsRequest: {
|
|
1671
|
+
/** @enum {string} */
|
|
1672
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS";
|
|
1673
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1674
|
+
timestampMs: string;
|
|
1675
|
+
/** @description Unique identifier for a given Organization. */
|
|
1676
|
+
organizationId: string;
|
|
1677
|
+
parameters: definitions["v1CreateTvcManifestApprovalsIntent"];
|
|
1678
|
+
};
|
|
1511
1679
|
v1CreateTvcManifestApprovalsResult: {
|
|
1512
1680
|
/** @description The unique identifier(s) for the manifest approvals */
|
|
1513
1681
|
approvalIds: string[];
|
|
@@ -1546,14 +1714,18 @@ export type definitions = {
|
|
|
1546
1714
|
/** @description A list of Users. */
|
|
1547
1715
|
users: definitions["v1UserParamsV3"][];
|
|
1548
1716
|
};
|
|
1717
|
+
v1CreateUsersIntentV4: {
|
|
1718
|
+
/** @description A list of Users. */
|
|
1719
|
+
users: definitions["v1UserParamsV4"][];
|
|
1720
|
+
};
|
|
1549
1721
|
v1CreateUsersRequest: {
|
|
1550
1722
|
/** @enum {string} */
|
|
1551
|
-
type: "
|
|
1723
|
+
type: "ACTIVITY_TYPE_CREATE_USERS_V4";
|
|
1552
1724
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1553
1725
|
timestampMs: string;
|
|
1554
1726
|
/** @description Unique identifier for a given Organization. */
|
|
1555
1727
|
organizationId: string;
|
|
1556
|
-
parameters: definitions["
|
|
1728
|
+
parameters: definitions["v1CreateUsersIntentV4"];
|
|
1557
1729
|
generateAppProofs?: boolean;
|
|
1558
1730
|
};
|
|
1559
1731
|
v1CreateUsersResult: {
|
|
@@ -1880,6 +2052,42 @@ export type definitions = {
|
|
|
1880
2052
|
/** @description Unique identifier of the sub organization that was removed */
|
|
1881
2053
|
subOrganizationUuid: string;
|
|
1882
2054
|
};
|
|
2055
|
+
v1DeleteTvcAppAndDeploymentsIntent: {
|
|
2056
|
+
/** @description The unique identifier of the TVC app to delete. The app and all associated deployments will be removed. */
|
|
2057
|
+
appId: string;
|
|
2058
|
+
};
|
|
2059
|
+
v1DeleteTvcAppAndDeploymentsRequest: {
|
|
2060
|
+
/** @enum {string} */
|
|
2061
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS";
|
|
2062
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2063
|
+
timestampMs: string;
|
|
2064
|
+
/** @description Unique identifier for a given Organization. */
|
|
2065
|
+
organizationId: string;
|
|
2066
|
+
parameters: definitions["v1DeleteTvcAppAndDeploymentsIntent"];
|
|
2067
|
+
generateAppProofs?: boolean;
|
|
2068
|
+
};
|
|
2069
|
+
v1DeleteTvcAppAndDeploymentsResult: {
|
|
2070
|
+
/** @description The unique identifier of the deleted TVC app. */
|
|
2071
|
+
appId: string;
|
|
2072
|
+
};
|
|
2073
|
+
v1DeleteTvcDeploymentIntent: {
|
|
2074
|
+
/** @description The unique identifier of the TVC deployment to delete. */
|
|
2075
|
+
deploymentId: string;
|
|
2076
|
+
};
|
|
2077
|
+
v1DeleteTvcDeploymentRequest: {
|
|
2078
|
+
/** @enum {string} */
|
|
2079
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT";
|
|
2080
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2081
|
+
timestampMs: string;
|
|
2082
|
+
/** @description Unique identifier for a given Organization. */
|
|
2083
|
+
organizationId: string;
|
|
2084
|
+
parameters: definitions["v1DeleteTvcDeploymentIntent"];
|
|
2085
|
+
generateAppProofs?: boolean;
|
|
2086
|
+
};
|
|
2087
|
+
v1DeleteTvcDeploymentResult: {
|
|
2088
|
+
/** @description The unique identifier of the deleted TVC deployment. */
|
|
2089
|
+
deploymentId: string;
|
|
2090
|
+
};
|
|
1883
2091
|
v1DeleteUserTagsIntent: {
|
|
1884
2092
|
/** @description A list of User Tag IDs. */
|
|
1885
2093
|
userTagIds: string[];
|
|
@@ -2138,6 +2346,16 @@ export type definitions = {
|
|
|
2138
2346
|
*/
|
|
2139
2347
|
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2140
2348
|
};
|
|
2349
|
+
v1EthSendRawTransactionRequest: {
|
|
2350
|
+
/** @enum {string} */
|
|
2351
|
+
type: "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION";
|
|
2352
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2353
|
+
timestampMs: string;
|
|
2354
|
+
/** @description Unique identifier for a given Organization. */
|
|
2355
|
+
organizationId: string;
|
|
2356
|
+
parameters: definitions["v1EthSendRawTransactionIntent"];
|
|
2357
|
+
generateAppProofs?: boolean;
|
|
2358
|
+
};
|
|
2141
2359
|
v1EthSendRawTransactionResult: {
|
|
2142
2360
|
/** @description The transaction hash of the sent transaction */
|
|
2143
2361
|
transactionHash: string;
|
|
@@ -2166,6 +2384,8 @@ export type definitions = {
|
|
|
2166
2384
|
maxFeePerGas?: string;
|
|
2167
2385
|
/** @description Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
2168
2386
|
maxPriorityFeePerGas?: string;
|
|
2387
|
+
/** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2388
|
+
deadline?: string;
|
|
2169
2389
|
/** @description The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
2170
2390
|
gasStationNonce?: string;
|
|
2171
2391
|
};
|
|
@@ -2391,6 +2611,15 @@ export type definitions = {
|
|
|
2391
2611
|
/** @description The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
|
|
2392
2612
|
usageUsd: string;
|
|
2393
2613
|
};
|
|
2614
|
+
v1GetIpAllowlistRequest: {
|
|
2615
|
+
/** @description Unique identifier for a given organization. */
|
|
2616
|
+
organizationId: string;
|
|
2617
|
+
/** @description If provided, return only the allowlist for this specific API key. */
|
|
2618
|
+
publicKey?: string;
|
|
2619
|
+
};
|
|
2620
|
+
v1GetIpAllowlistResponse: {
|
|
2621
|
+
allowlist: definitions["v1IpAllowlist"];
|
|
2622
|
+
};
|
|
2394
2623
|
v1GetLatestBootProofRequest: {
|
|
2395
2624
|
/** @description Unique identifier for a given Organization. */
|
|
2396
2625
|
organizationId: string;
|
|
@@ -2463,6 +2692,14 @@ export type definitions = {
|
|
|
2463
2692
|
/** @description Organization configs including quorum settings and organization features. */
|
|
2464
2693
|
configs: definitions["v1Config"];
|
|
2465
2694
|
};
|
|
2695
|
+
v1GetOrganizationRequest: {
|
|
2696
|
+
/** @description Unique identifier for a given organization. */
|
|
2697
|
+
organizationId: string;
|
|
2698
|
+
};
|
|
2699
|
+
v1GetOrganizationResponse: {
|
|
2700
|
+
/** @description Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
|
|
2701
|
+
organizationData: definitions["v1OrganizationData"];
|
|
2702
|
+
};
|
|
2466
2703
|
v1GetPoliciesRequest: {
|
|
2467
2704
|
/** @description Unique identifier for a given organization. */
|
|
2468
2705
|
organizationId: string;
|
|
@@ -2558,6 +2795,62 @@ export type definitions = {
|
|
|
2558
2795
|
/** @description List of unique identifiers for the matching sub-organizations. */
|
|
2559
2796
|
organizationIds: string[];
|
|
2560
2797
|
};
|
|
2798
|
+
v1GetTvcAppDeploymentsRequest: {
|
|
2799
|
+
/** @description Unique identifier for a given organization. */
|
|
2800
|
+
organizationId: string;
|
|
2801
|
+
/** @description Unique identifier for a given TVC App. */
|
|
2802
|
+
appId: string;
|
|
2803
|
+
};
|
|
2804
|
+
v1GetTvcAppDeploymentsResponse: {
|
|
2805
|
+
/** @description List of deployments for this TVC App */
|
|
2806
|
+
tvcDeployments: definitions["v1TvcDeployment"][];
|
|
2807
|
+
};
|
|
2808
|
+
v1GetTvcAppRequest: {
|
|
2809
|
+
/** @description Unique identifier for a given organization. */
|
|
2810
|
+
organizationId: string;
|
|
2811
|
+
/** @description Unique identifier for a given TVC App. */
|
|
2812
|
+
tvcAppId: string;
|
|
2813
|
+
};
|
|
2814
|
+
v1GetTvcAppResponse: {
|
|
2815
|
+
/** @description Details about a single TVC App */
|
|
2816
|
+
tvcApp: definitions["v1TvcApp"];
|
|
2817
|
+
};
|
|
2818
|
+
v1GetTvcAppsRequest: {
|
|
2819
|
+
/** @description Unique identifier for a given organization. */
|
|
2820
|
+
organizationId: string;
|
|
2821
|
+
};
|
|
2822
|
+
v1GetTvcAppsResponse: {
|
|
2823
|
+
/** @description A list of TVC Apps. */
|
|
2824
|
+
tvcApps: definitions["v1TvcApp"][];
|
|
2825
|
+
};
|
|
2826
|
+
v1GetTvcDeploymentProvisioningDetailsRequest: {
|
|
2827
|
+
/** @description Unique identifier for a given Organization. */
|
|
2828
|
+
organizationId: string;
|
|
2829
|
+
/** @description Unique identifier for a given TVC Deployment. */
|
|
2830
|
+
deploymentId: string;
|
|
2831
|
+
};
|
|
2832
|
+
v1GetTvcDeploymentProvisioningDetailsResponse: {
|
|
2833
|
+
/**
|
|
2834
|
+
* Format: byte
|
|
2835
|
+
* @description The attestation document of the provisioning enclave in a TVC deployment.
|
|
2836
|
+
*/
|
|
2837
|
+
attestationDocument: string;
|
|
2838
|
+
/**
|
|
2839
|
+
* Format: byte
|
|
2840
|
+
* @description The manifest envelope containing the TVC deployment's manifest and signatures.
|
|
2841
|
+
*/
|
|
2842
|
+
manifestEnvelope: string;
|
|
2843
|
+
};
|
|
2844
|
+
v1GetTvcDeploymentRequest: {
|
|
2845
|
+
/** @description Unique identifier for a given organization. */
|
|
2846
|
+
organizationId: string;
|
|
2847
|
+
/** @description Unique identifier for a given TVC Deployment. */
|
|
2848
|
+
deploymentId: string;
|
|
2849
|
+
};
|
|
2850
|
+
v1GetTvcDeploymentResponse: {
|
|
2851
|
+
/** @description Details about a single TVC Deployment */
|
|
2852
|
+
tvcDeployment: definitions["v1TvcDeployment"];
|
|
2853
|
+
};
|
|
2561
2854
|
v1GetUserRequest: {
|
|
2562
2855
|
/** @description Unique identifier for a given organization. */
|
|
2563
2856
|
organizationId: string;
|
|
@@ -2621,7 +2914,7 @@ export type definitions = {
|
|
|
2621
2914
|
v1GetWalletAddressBalancesRequest: {
|
|
2622
2915
|
/** @description Unique identifier for a given organization. */
|
|
2623
2916
|
organizationId: string;
|
|
2624
|
-
/** @description Address corresponding to a wallet account. */
|
|
2917
|
+
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
2625
2918
|
address: string;
|
|
2626
2919
|
/**
|
|
2627
2920
|
* @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 +3238,55 @@ export type definitions = {
|
|
|
2945
3238
|
/** @description Optional custom email address to use as reply-to */
|
|
2946
3239
|
replyToEmailAddress?: string;
|
|
2947
3240
|
};
|
|
3241
|
+
v1InitOtpIntentV3: {
|
|
3242
|
+
/** @description Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL */
|
|
3243
|
+
otpType: string;
|
|
3244
|
+
/** @description Email or phone number to send the OTP code to */
|
|
3245
|
+
contact: string;
|
|
3246
|
+
/** @description The name of the application. */
|
|
3247
|
+
appName: string;
|
|
3248
|
+
/**
|
|
3249
|
+
* Format: int32
|
|
3250
|
+
* @description Optional length of the OTP code. Default = 9
|
|
3251
|
+
*/
|
|
3252
|
+
otpLength?: number;
|
|
3253
|
+
/** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
|
|
3254
|
+
emailCustomization?: definitions["v1EmailCustomizationParamsV2"];
|
|
3255
|
+
/** @description Optional parameters for customizing SMS message. If not provided, the default sms message will be used. */
|
|
3256
|
+
smsCustomization?: definitions["v1SmsCustomizationParams"];
|
|
3257
|
+
/** @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. */
|
|
3258
|
+
userIdentifier?: string;
|
|
3259
|
+
/** @description Optional custom email address from which to send the OTP email */
|
|
3260
|
+
sendFromEmailAddress?: string;
|
|
3261
|
+
/** @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 */
|
|
3262
|
+
alphanumeric?: boolean;
|
|
3263
|
+
/** @description Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications' */
|
|
3264
|
+
sendFromEmailSenderName?: string;
|
|
3265
|
+
/** @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) */
|
|
3266
|
+
expirationSeconds?: string;
|
|
3267
|
+
/** @description Optional custom email address to use as reply-to */
|
|
3268
|
+
replyToEmailAddress?: string;
|
|
3269
|
+
};
|
|
2948
3270
|
v1InitOtpRequest: {
|
|
2949
3271
|
/** @enum {string} */
|
|
2950
|
-
type: "
|
|
3272
|
+
type: "ACTIVITY_TYPE_INIT_OTP_V3";
|
|
2951
3273
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2952
3274
|
timestampMs: string;
|
|
2953
3275
|
/** @description Unique identifier for a given Organization. */
|
|
2954
3276
|
organizationId: string;
|
|
2955
|
-
parameters: definitions["
|
|
3277
|
+
parameters: definitions["v1InitOtpIntentV3"];
|
|
2956
3278
|
generateAppProofs?: boolean;
|
|
2957
3279
|
};
|
|
2958
3280
|
v1InitOtpResult: {
|
|
2959
3281
|
/** @description Unique identifier for an OTP authentication */
|
|
2960
3282
|
otpId: string;
|
|
2961
3283
|
};
|
|
3284
|
+
v1InitOtpResultV2: {
|
|
3285
|
+
/** @description Unique identifier for an OTP flow */
|
|
3286
|
+
otpId: string;
|
|
3287
|
+
/** @description Signed bundle containing a target encryption key to use when submitting OTP codes. */
|
|
3288
|
+
otpEncryptionTargetBundle: string;
|
|
3289
|
+
};
|
|
2962
3290
|
v1InitUserEmailRecoveryIntent: {
|
|
2963
3291
|
/** @description Email of the user starting recovery */
|
|
2964
3292
|
email: string;
|
|
@@ -3123,10 +3451,45 @@ export type definitions = {
|
|
|
3123
3451
|
createTvcDeploymentIntent?: definitions["v1CreateTvcDeploymentIntent"];
|
|
3124
3452
|
createTvcManifestApprovalsIntent?: definitions["v1CreateTvcManifestApprovalsIntent"];
|
|
3125
3453
|
solSendTransactionIntent?: definitions["v1SolSendTransactionIntent"];
|
|
3454
|
+
initOtpIntentV3?: definitions["v1InitOtpIntentV3"];
|
|
3455
|
+
verifyOtpIntentV2?: definitions["v1VerifyOtpIntentV2"];
|
|
3456
|
+
otpLoginIntentV2?: definitions["v1OtpLoginIntentV2"];
|
|
3126
3457
|
updateOrganizationNameIntent?: definitions["v1UpdateOrganizationNameIntent"];
|
|
3458
|
+
createSubOrganizationIntentV8?: definitions["v1CreateSubOrganizationIntentV8"];
|
|
3459
|
+
createOauthProvidersIntentV2?: definitions["v1CreateOauthProvidersIntentV2"];
|
|
3460
|
+
createUsersIntentV4?: definitions["v1CreateUsersIntentV4"];
|
|
3127
3461
|
createWebhookEndpointIntent?: definitions["v1CreateWebhookEndpointIntent"];
|
|
3128
3462
|
updateWebhookEndpointIntent?: definitions["v1UpdateWebhookEndpointIntent"];
|
|
3129
3463
|
deleteWebhookEndpointIntent?: definitions["v1DeleteWebhookEndpointIntent"];
|
|
3464
|
+
setIpAllowlistIntent?: definitions["v1SetIpAllowlistIntent"];
|
|
3465
|
+
removeIpAllowlistIntent?: definitions["v1RemoveIpAllowlistIntent"];
|
|
3466
|
+
updateTvcAppLiveDeploymentIntent?: definitions["v1UpdateTvcAppLiveDeploymentIntent"];
|
|
3467
|
+
deleteTvcDeploymentIntent?: definitions["v1DeleteTvcDeploymentIntent"];
|
|
3468
|
+
deleteTvcAppAndDeploymentsIntent?: definitions["v1DeleteTvcAppAndDeploymentsIntent"];
|
|
3469
|
+
restoreTvcDeploymentIntent?: definitions["v1RestoreTvcDeploymentIntent"];
|
|
3470
|
+
sparkSignFrostIntent?: definitions["v1SparkSignFrostIntent"];
|
|
3471
|
+
sparkPrepareTransferIntent?: definitions["v1SparkPrepareTransferIntent"];
|
|
3472
|
+
sparkClaimTransferIntent?: definitions["v1SparkClaimTransferIntent"];
|
|
3473
|
+
sparkPrepareLightningReceiveIntent?: definitions["v1SparkPrepareLightningReceiveIntent"];
|
|
3474
|
+
postTvcQuorumKeyShareIntent?: definitions["v1PostTvcQuorumKeyShareIntent"];
|
|
3475
|
+
};
|
|
3476
|
+
v1Invitation: {
|
|
3477
|
+
/** @description Unique identifier for a given Invitation object. */
|
|
3478
|
+
invitationId: string;
|
|
3479
|
+
/** @description The name of the intended Invitation recipient. */
|
|
3480
|
+
receiverUserName: string;
|
|
3481
|
+
/** @description The email address of the intended Invitation recipient. */
|
|
3482
|
+
receiverEmail: string;
|
|
3483
|
+
/** @description A list of tags assigned to the Invitation recipient. */
|
|
3484
|
+
receiverUserTags: string[];
|
|
3485
|
+
/** @description The User's permissible access method(s). */
|
|
3486
|
+
accessType: definitions["v1AccessType"];
|
|
3487
|
+
/** @description The current processing status of a specified Invitation. */
|
|
3488
|
+
status: definitions["v1InvitationStatus"];
|
|
3489
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
3490
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
3491
|
+
/** @description Unique identifier for the Sender of an Invitation. */
|
|
3492
|
+
senderUserId: string;
|
|
3130
3493
|
};
|
|
3131
3494
|
v1InvitationParams: {
|
|
3132
3495
|
/** @description The name of the intended Invitation recipient. */
|
|
@@ -3140,6 +3503,34 @@ export type definitions = {
|
|
|
3140
3503
|
/** @description Unique identifier for the Sender of an Invitation. */
|
|
3141
3504
|
senderUserId: string;
|
|
3142
3505
|
};
|
|
3506
|
+
/** @enum {string} */
|
|
3507
|
+
v1InvitationStatus: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
|
|
3508
|
+
v1IpAllowlist: {
|
|
3509
|
+
/** @description Unique identifier for the organization this allowlist belongs to. */
|
|
3510
|
+
organizationId: string;
|
|
3511
|
+
/** @description List of IP allowlist rules with their metadata. */
|
|
3512
|
+
rules: definitions["v1IpAllowlistRule"][];
|
|
3513
|
+
/** @description Public key of the API key this allowlist applies to. Null means the allowlist applies to the entire organization. */
|
|
3514
|
+
publicKey?: string;
|
|
3515
|
+
/** @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). */
|
|
3516
|
+
enabled?: boolean;
|
|
3517
|
+
/** @description Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
3518
|
+
onEvaluationError?: string;
|
|
3519
|
+
};
|
|
3520
|
+
v1IpAllowlistIntentRule: {
|
|
3521
|
+
/** @description CIDR block (e.g., '192.168.1.0/24', '2001:db8::/32'). */
|
|
3522
|
+
cidr: string;
|
|
3523
|
+
/** @description Optional human-readable label for this rule (e.g., 'Office VPN'). */
|
|
3524
|
+
label?: string;
|
|
3525
|
+
};
|
|
3526
|
+
v1IpAllowlistRule: {
|
|
3527
|
+
/** @description CIDR block (e.g., '192.168.1.0/24'). */
|
|
3528
|
+
cidr: string;
|
|
3529
|
+
/** @description Optional human-readable label for this rule. */
|
|
3530
|
+
label?: string;
|
|
3531
|
+
/** @description Creation timestamp as millisecond epoch string. */
|
|
3532
|
+
createdAt?: string;
|
|
3533
|
+
};
|
|
3143
3534
|
v1ListFiatOnRampCredentialsRequest: {
|
|
3144
3535
|
/** @description Unique identifier for a given Organization. */
|
|
3145
3536
|
organizationId: string;
|
|
@@ -3220,8 +3611,8 @@ export type definitions = {
|
|
|
3220
3611
|
redirectUri: string;
|
|
3221
3612
|
/** @description The code verifier used by OAuth 2.0 PKCE providers */
|
|
3222
3613
|
codeVerifier: string;
|
|
3223
|
-
/** @description
|
|
3224
|
-
nonce
|
|
3614
|
+
/** @description A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
3615
|
+
nonce: string;
|
|
3225
3616
|
/** @description An optional P256 public key to which, if provided, the bearer token will be encrypted and returned via the `encrypted_bearer_token` claim of the OIDC Token */
|
|
3226
3617
|
bearerTokenTargetPublicKey?: string;
|
|
3227
3618
|
};
|
|
@@ -3311,6 +3702,14 @@ export type definitions = {
|
|
|
3311
3702
|
/** @description Base64 encoded OIDC token */
|
|
3312
3703
|
oidcToken: string;
|
|
3313
3704
|
};
|
|
3705
|
+
v1OauthProviderParamsV2: {
|
|
3706
|
+
/** @description Human-readable name to identify a Provider. */
|
|
3707
|
+
providerName: string;
|
|
3708
|
+
/** @description Base64 encoded OIDC token */
|
|
3709
|
+
oidcToken?: string;
|
|
3710
|
+
/** @description OIDC claims (iss, sub, aud) to uniquely identify the user */
|
|
3711
|
+
oidcClaims?: definitions["v1OidcClaims"];
|
|
3712
|
+
};
|
|
3314
3713
|
v1OauthRequest: {
|
|
3315
3714
|
/** @enum {string} */
|
|
3316
3715
|
type: "ACTIVITY_TYPE_OAUTH";
|
|
@@ -3329,8 +3728,29 @@ export type definitions = {
|
|
|
3329
3728
|
/** @description HPKE encrypted credential bundle */
|
|
3330
3729
|
credentialBundle: string;
|
|
3331
3730
|
};
|
|
3731
|
+
v1OidcClaims: {
|
|
3732
|
+
/** @description The issuer identifier from the OIDC token (iss claim) */
|
|
3733
|
+
iss: string;
|
|
3734
|
+
/** @description The subject identifier from the OIDC token (sub claim) */
|
|
3735
|
+
sub: string;
|
|
3736
|
+
/** @description The audience from the OIDC token (aud claim) */
|
|
3737
|
+
aud: string;
|
|
3738
|
+
};
|
|
3332
3739
|
/** @enum {string} */
|
|
3333
3740
|
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";
|
|
3741
|
+
v1OrganizationData: {
|
|
3742
|
+
organizationId?: string;
|
|
3743
|
+
name?: string;
|
|
3744
|
+
users?: definitions["v1User"][];
|
|
3745
|
+
policies?: definitions["v1Policy"][];
|
|
3746
|
+
privateKeys?: definitions["v1PrivateKey"][];
|
|
3747
|
+
invitations?: definitions["v1Invitation"][];
|
|
3748
|
+
tags?: definitions["datav1Tag"][];
|
|
3749
|
+
rootQuorum?: definitions["externaldatav1Quorum"];
|
|
3750
|
+
features?: definitions["v1Feature"][];
|
|
3751
|
+
wallets?: definitions["v1Wallet"][];
|
|
3752
|
+
smartContractInterfaceReferences?: definitions["v1SmartContractInterfaceReference"][];
|
|
3753
|
+
};
|
|
3334
3754
|
v1OtpAuthIntent: {
|
|
3335
3755
|
/** @description ID representing the result of an init OTP activity. */
|
|
3336
3756
|
otpId: string;
|
|
@@ -3375,14 +3795,26 @@ export type definitions = {
|
|
|
3375
3795
|
/** @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
3796
|
clientSignature?: definitions["v1ClientSignature"];
|
|
3377
3797
|
};
|
|
3798
|
+
v1OtpLoginIntentV2: {
|
|
3799
|
+
/** @description Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
3800
|
+
verificationToken: string;
|
|
3801
|
+
/** @description Client-side public key generated by the user, used as the session public key upon successful login */
|
|
3802
|
+
publicKey: string;
|
|
3803
|
+
/** @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. */
|
|
3804
|
+
clientSignature: definitions["v1ClientSignature"];
|
|
3805
|
+
/** @description Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used. */
|
|
3806
|
+
expirationSeconds?: string;
|
|
3807
|
+
/** @description Invalidate all other previously generated Login sessions */
|
|
3808
|
+
invalidateExisting?: boolean;
|
|
3809
|
+
};
|
|
3378
3810
|
v1OtpLoginRequest: {
|
|
3379
3811
|
/** @enum {string} */
|
|
3380
|
-
type: "
|
|
3812
|
+
type: "ACTIVITY_TYPE_OTP_LOGIN_V2";
|
|
3381
3813
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3382
3814
|
timestampMs: string;
|
|
3383
3815
|
/** @description Unique identifier for a given Organization. */
|
|
3384
3816
|
organizationId: string;
|
|
3385
|
-
parameters: definitions["
|
|
3817
|
+
parameters: definitions["v1OtpLoginIntentV2"];
|
|
3386
3818
|
generateAppProofs?: boolean;
|
|
3387
3819
|
};
|
|
3388
3820
|
v1OtpLoginResult: {
|
|
@@ -3419,6 +3851,27 @@ export type definitions = {
|
|
|
3419
3851
|
/** @description A condition expression that evalutes to true or false. */
|
|
3420
3852
|
condition: string;
|
|
3421
3853
|
};
|
|
3854
|
+
v1PostTvcQuorumKeyShareIntent: {
|
|
3855
|
+
/** @description Unique identifier of the TVC deployment receiving quorum key share */
|
|
3856
|
+
deploymentId: string;
|
|
3857
|
+
/** @description Hex-encoded ephemeral public key used to encrypt the quorum key share */
|
|
3858
|
+
ephemeralPublicKeyHex: string;
|
|
3859
|
+
/** @description Re-encrypted quorum key share and approval */
|
|
3860
|
+
shareApprovalBundle: definitions["v1QuorumKeyShareApprovalBundle"];
|
|
3861
|
+
};
|
|
3862
|
+
v1PostTvcQuorumKeyShareRequest: {
|
|
3863
|
+
/** @enum {string} */
|
|
3864
|
+
type: "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE";
|
|
3865
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3866
|
+
timestampMs: string;
|
|
3867
|
+
/** @description Unique identifier for a given Organization. */
|
|
3868
|
+
organizationId: string;
|
|
3869
|
+
parameters: definitions["v1PostTvcQuorumKeyShareIntent"];
|
|
3870
|
+
};
|
|
3871
|
+
v1PostTvcQuorumKeyShareResult: {
|
|
3872
|
+
/** @description The unique identifier for the provisioning quorum key share */
|
|
3873
|
+
provisioningShareId: string;
|
|
3874
|
+
};
|
|
3422
3875
|
v1PrivateKey: {
|
|
3423
3876
|
/** @description Unique identifier for a given Private Key. */
|
|
3424
3877
|
privateKeyId: string;
|
|
@@ -3463,6 +3916,14 @@ export type definitions = {
|
|
|
3463
3916
|
response: definitions["v1AuthenticatorAttestationResponse"];
|
|
3464
3917
|
clientExtensionResults: definitions["v1SimpleClientExtensionResults"];
|
|
3465
3918
|
};
|
|
3919
|
+
v1QuorumKeyShareApprovalBundle: {
|
|
3920
|
+
/** @description Unique identifier of the operator providing this quorum key share */
|
|
3921
|
+
operatorId: string;
|
|
3922
|
+
/** @description Hex-encoded re-encrypted quorum key share */
|
|
3923
|
+
reEncryptedShareHex: string;
|
|
3924
|
+
/** @description Signature from the share set operator approving the manifest */
|
|
3925
|
+
signature: string;
|
|
3926
|
+
};
|
|
3466
3927
|
v1RecoverUserIntent: {
|
|
3467
3928
|
/** @description The new authenticator to register. */
|
|
3468
3929
|
authenticator: definitions["v1AuthenticatorParamsV2"];
|
|
@@ -3483,6 +3944,12 @@ export type definitions = {
|
|
|
3483
3944
|
/** @description ID of the authenticator created. */
|
|
3484
3945
|
authenticatorId: string[];
|
|
3485
3946
|
};
|
|
3947
|
+
v1RefreshFeatureFlagsRequest: {
|
|
3948
|
+
[key: string]: unknown;
|
|
3949
|
+
};
|
|
3950
|
+
v1RefreshFeatureFlagsResponse: {
|
|
3951
|
+
[key: string]: unknown;
|
|
3952
|
+
};
|
|
3486
3953
|
v1RejectActivityIntent: {
|
|
3487
3954
|
/** @description An artifact verifying a User's action. */
|
|
3488
3955
|
fingerprint: string;
|
|
@@ -3497,6 +3964,23 @@ export type definitions = {
|
|
|
3497
3964
|
parameters: definitions["v1RejectActivityIntent"];
|
|
3498
3965
|
generateAppProofs?: boolean;
|
|
3499
3966
|
};
|
|
3967
|
+
v1RemoveIpAllowlistIntent: {
|
|
3968
|
+
/** @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. */
|
|
3969
|
+
publicKey?: string;
|
|
3970
|
+
};
|
|
3971
|
+
v1RemoveIpAllowlistRequest: {
|
|
3972
|
+
/** @enum {string} */
|
|
3973
|
+
type: "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST";
|
|
3974
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3975
|
+
timestampMs: string;
|
|
3976
|
+
/** @description Unique identifier for a given Organization. */
|
|
3977
|
+
organizationId: string;
|
|
3978
|
+
parameters: definitions["v1RemoveIpAllowlistIntent"];
|
|
3979
|
+
generateAppProofs?: boolean;
|
|
3980
|
+
};
|
|
3981
|
+
v1RemoveIpAllowlistResult: {
|
|
3982
|
+
[key: string]: unknown;
|
|
3983
|
+
};
|
|
3500
3984
|
v1RemoveOrganizationFeatureIntent: {
|
|
3501
3985
|
/** @description Name of the feature to remove */
|
|
3502
3986
|
name: definitions["v1FeatureName"];
|
|
@@ -3515,6 +3999,24 @@ export type definitions = {
|
|
|
3515
3999
|
/** @description Resulting list of organization features. */
|
|
3516
4000
|
features: definitions["v1Feature"][];
|
|
3517
4001
|
};
|
|
4002
|
+
v1RestoreTvcDeploymentIntent: {
|
|
4003
|
+
/** @description The unique identifier of the TVC deployment to restore. */
|
|
4004
|
+
deploymentId: string;
|
|
4005
|
+
};
|
|
4006
|
+
v1RestoreTvcDeploymentRequest: {
|
|
4007
|
+
/** @enum {string} */
|
|
4008
|
+
type: "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT";
|
|
4009
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4010
|
+
timestampMs: string;
|
|
4011
|
+
/** @description Unique identifier for a given Organization. */
|
|
4012
|
+
organizationId: string;
|
|
4013
|
+
parameters: definitions["v1RestoreTvcDeploymentIntent"];
|
|
4014
|
+
generateAppProofs?: boolean;
|
|
4015
|
+
};
|
|
4016
|
+
v1RestoreTvcDeploymentResult: {
|
|
4017
|
+
/** @description The unique identifier of the restored TVC deployment. */
|
|
4018
|
+
deploymentId: string;
|
|
4019
|
+
};
|
|
3518
4020
|
v1Result: {
|
|
3519
4021
|
createOrganizationResult?: definitions["v1CreateOrganizationResult"];
|
|
3520
4022
|
createAuthenticatorsResult?: definitions["v1CreateAuthenticatorsResult"];
|
|
@@ -3614,10 +4116,24 @@ export type definitions = {
|
|
|
3614
4116
|
createTvcDeploymentResult?: definitions["v1CreateTvcDeploymentResult"];
|
|
3615
4117
|
createTvcManifestApprovalsResult?: definitions["v1CreateTvcManifestApprovalsResult"];
|
|
3616
4118
|
solSendTransactionResult?: definitions["v1SolSendTransactionResult"];
|
|
4119
|
+
initOtpResultV2?: definitions["v1InitOtpResultV2"];
|
|
3617
4120
|
updateOrganizationNameResult?: definitions["v1UpdateOrganizationNameResult"];
|
|
4121
|
+
createSubOrganizationResultV8?: definitions["v1CreateSubOrganizationResultV8"];
|
|
4122
|
+
createOauthProvidersResultV2?: definitions["v1CreateOauthProvidersResultV2"];
|
|
3618
4123
|
createWebhookEndpointResult?: definitions["v1CreateWebhookEndpointResult"];
|
|
3619
4124
|
updateWebhookEndpointResult?: definitions["v1UpdateWebhookEndpointResult"];
|
|
3620
4125
|
deleteWebhookEndpointResult?: definitions["v1DeleteWebhookEndpointResult"];
|
|
4126
|
+
setIpAllowlistResult?: definitions["v1SetIpAllowlistResult"];
|
|
4127
|
+
removeIpAllowlistResult?: definitions["v1RemoveIpAllowlistResult"];
|
|
4128
|
+
updateTvcAppLiveDeploymentResult?: definitions["v1UpdateTvcAppLiveDeploymentResult"];
|
|
4129
|
+
deleteTvcDeploymentResult?: definitions["v1DeleteTvcDeploymentResult"];
|
|
4130
|
+
deleteTvcAppAndDeploymentsResult?: definitions["v1DeleteTvcAppAndDeploymentsResult"];
|
|
4131
|
+
restoreTvcDeploymentResult?: definitions["v1RestoreTvcDeploymentResult"];
|
|
4132
|
+
sparkSignFrostResult?: definitions["v1SparkSignFrostResult"];
|
|
4133
|
+
sparkPrepareTransferResult?: definitions["v1SparkPrepareTransferResult"];
|
|
4134
|
+
sparkClaimTransferResult?: definitions["v1SparkClaimTransferResult"];
|
|
4135
|
+
sparkPrepareLightningReceiveResult?: definitions["v1SparkPrepareLightningReceiveResult"];
|
|
4136
|
+
postTvcQuorumKeyShareResult?: definitions["v1PostTvcQuorumKeyShareResult"];
|
|
3621
4137
|
};
|
|
3622
4138
|
v1RevertChainEntry: {
|
|
3623
4139
|
/** @description The contract address where the revert occurred. */
|
|
@@ -3681,16 +4197,53 @@ export type definitions = {
|
|
|
3681
4197
|
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
3682
4198
|
oauthProviders: definitions["v1OauthProviderParams"][];
|
|
3683
4199
|
};
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
4200
|
+
v1RootUserParamsV5: {
|
|
4201
|
+
/** @description Human-readable name for a User. */
|
|
4202
|
+
userName: string;
|
|
4203
|
+
/** @description The user's email address. */
|
|
4204
|
+
userEmail?: string;
|
|
4205
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
4206
|
+
userPhoneNumber?: string;
|
|
4207
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4208
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
4209
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
4210
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
4211
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
4212
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
4213
|
+
};
|
|
4214
|
+
v1Selector: {
|
|
4215
|
+
subject?: string;
|
|
4216
|
+
operator?: definitions["v1Operator"];
|
|
4217
|
+
target?: string;
|
|
4218
|
+
};
|
|
4219
|
+
v1SelectorV2: {
|
|
4220
|
+
subject?: string;
|
|
4221
|
+
operator?: definitions["v1Operator"];
|
|
3692
4222
|
targets?: string[];
|
|
3693
4223
|
};
|
|
4224
|
+
v1SetIpAllowlistIntent: {
|
|
4225
|
+
/** @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. */
|
|
4226
|
+
publicKey?: string;
|
|
4227
|
+
/** @description Whether the IP allowlist is enabled. Only meaningful for organization-level allowlists. Omit for API key-level allowlists. */
|
|
4228
|
+
enabled?: boolean;
|
|
4229
|
+
/** @description List of IP allowlist rules with CIDR blocks and optional labels. */
|
|
4230
|
+
rules?: definitions["v1IpAllowlistIntentRule"][];
|
|
4231
|
+
/** @description Behavior when an error occurs during IP allowlist evaluation. Valid values: ALLOW, DENY. Defaults to DENY. */
|
|
4232
|
+
onEvaluationError?: string;
|
|
4233
|
+
};
|
|
4234
|
+
v1SetIpAllowlistRequest: {
|
|
4235
|
+
/** @enum {string} */
|
|
4236
|
+
type: "ACTIVITY_TYPE_SET_IP_ALLOWLIST";
|
|
4237
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4238
|
+
timestampMs: string;
|
|
4239
|
+
/** @description Unique identifier for a given Organization. */
|
|
4240
|
+
organizationId: string;
|
|
4241
|
+
parameters: definitions["v1SetIpAllowlistIntent"];
|
|
4242
|
+
generateAppProofs?: boolean;
|
|
4243
|
+
};
|
|
4244
|
+
v1SetIpAllowlistResult: {
|
|
4245
|
+
[key: string]: unknown;
|
|
4246
|
+
};
|
|
3694
4247
|
v1SetOrganizationFeatureIntent: {
|
|
3695
4248
|
/** @description Name of the feature to set */
|
|
3696
4249
|
name: definitions["v1FeatureName"];
|
|
@@ -3806,11 +4359,23 @@ export type definitions = {
|
|
|
3806
4359
|
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
3807
4360
|
oauthProviders?: definitions["v1OauthProviderParams"][];
|
|
3808
4361
|
};
|
|
4362
|
+
v1SignupUsageV2: {
|
|
4363
|
+
email?: string;
|
|
4364
|
+
phoneNumber?: string;
|
|
4365
|
+
apiKeys?: definitions["v1ApiKeyParamsV2"][];
|
|
4366
|
+
authenticators?: definitions["v1AuthenticatorParamsV2"][];
|
|
4367
|
+
oauthProviders?: definitions["v1OauthProviderParamsV2"][];
|
|
4368
|
+
};
|
|
3809
4369
|
v1SimpleClientExtensionResults: {
|
|
3810
4370
|
appid?: boolean;
|
|
3811
4371
|
appidExclude?: boolean;
|
|
3812
4372
|
credProps?: definitions["v1CredPropsAuthenticationExtensionsClientOutputs"];
|
|
3813
4373
|
};
|
|
4374
|
+
v1SmartContractInterfaceReference: {
|
|
4375
|
+
smartContractInterfaceId?: string;
|
|
4376
|
+
smartContractAddress?: string;
|
|
4377
|
+
digest?: string;
|
|
4378
|
+
};
|
|
3814
4379
|
/** @enum {string} */
|
|
3815
4380
|
v1SmartContractInterfaceType: "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" | "SMART_CONTRACT_INTERFACE_TYPE_SOLANA";
|
|
3816
4381
|
v1SmsCustomizationParams: {
|
|
@@ -3825,10 +4390,10 @@ export type definitions = {
|
|
|
3825
4390
|
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
3826
4391
|
sponsor?: boolean;
|
|
3827
4392
|
/**
|
|
3828
|
-
* @description CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet).
|
|
4393
|
+
* @description CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values.
|
|
3829
4394
|
* @enum {string}
|
|
3830
4395
|
*/
|
|
3831
|
-
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:
|
|
4396
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
3832
4397
|
/** @description user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
3833
4398
|
recentBlockhash?: string;
|
|
3834
4399
|
};
|
|
@@ -3876,6 +4441,229 @@ export type definitions = {
|
|
|
3876
4441
|
/** @description The Solana transaction signature, if available. */
|
|
3877
4442
|
signature?: string;
|
|
3878
4443
|
};
|
|
4444
|
+
v1SparkClaimLeaf: {
|
|
4445
|
+
/** @description Leaf identifier (UUID). */
|
|
4446
|
+
leafId: string;
|
|
4447
|
+
/** @description ECIES ciphertext (hex-encoded) containing the inbound transfer secret. Decrypted inside the enclave using the wallet's Identity key. */
|
|
4448
|
+
ciphertext: string;
|
|
4449
|
+
/** @description Hex-encoded 64-byte compact ECDSA signature binding (leaf_id, transfer_id, ciphertext) to the sender's identity key. Verified inside the enclave before decryption. */
|
|
4450
|
+
senderSignature: string;
|
|
4451
|
+
};
|
|
4452
|
+
v1SparkClaimPackage: {
|
|
4453
|
+
/** @description Leaves being claimed. */
|
|
4454
|
+
leaves: definitions["v1SparkClaimLeaf"][];
|
|
4455
|
+
/**
|
|
4456
|
+
* Format: int64
|
|
4457
|
+
* @description Shamir threshold for reconstructing the per-leaf claim secret.
|
|
4458
|
+
*/
|
|
4459
|
+
threshold: number;
|
|
4460
|
+
/** @description Operators that will receive Shamir shares. */
|
|
4461
|
+
operatorRecipients: definitions["v1SparkOperatorRecipient"][];
|
|
4462
|
+
/** @description Spark transfer identifier (UUID). Used together with each leaf's sender_signature to verify the sender bound this ciphertext to this transfer. */
|
|
4463
|
+
transferId: string;
|
|
4464
|
+
/** @description Sender's compressed secp256k1 identity public key (hex-encoded, 33 bytes). Used to verify the per-leaf sender_signature fields. */
|
|
4465
|
+
senderIdentityPublicKey: string;
|
|
4466
|
+
};
|
|
4467
|
+
v1SparkClaimTransferIntent: {
|
|
4468
|
+
/** @description A Spark wallet account address identifying the wallet. */
|
|
4469
|
+
signWith: string;
|
|
4470
|
+
/** @description Claim package parameters. */
|
|
4471
|
+
claim: definitions["v1SparkClaimPackage"];
|
|
4472
|
+
};
|
|
4473
|
+
v1SparkClaimTransferRequest: {
|
|
4474
|
+
/** @enum {string} */
|
|
4475
|
+
type: "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER";
|
|
4476
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4477
|
+
timestampMs: string;
|
|
4478
|
+
/** @description Unique identifier for a given Organization. */
|
|
4479
|
+
organizationId: string;
|
|
4480
|
+
parameters: definitions["v1SparkClaimTransferIntent"];
|
|
4481
|
+
};
|
|
4482
|
+
v1SparkClaimTransferResult: {
|
|
4483
|
+
/** @description Per-operator ECIES-encrypted packages. */
|
|
4484
|
+
operatorPackages: definitions["v1SparkEncryptedOperatorPackage"][];
|
|
4485
|
+
/** @description Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
4486
|
+
newLeafPublicKeys: definitions["v1SparkLeafPublicKey"][];
|
|
4487
|
+
};
|
|
4488
|
+
v1SparkDepositDerivation: {
|
|
4489
|
+
[key: string]: unknown;
|
|
4490
|
+
};
|
|
4491
|
+
v1SparkEncryptedOperatorPackage: {
|
|
4492
|
+
/** @description Spark operator identifier (UUID). */
|
|
4493
|
+
operatorId: string;
|
|
4494
|
+
/** @description ECIES ciphertext (hex-encoded) opaque to Turnkey after emission. */
|
|
4495
|
+
encryptedPackage: string;
|
|
4496
|
+
};
|
|
4497
|
+
v1SparkFrostCommitment: {
|
|
4498
|
+
/** @description FROST participant identifier, hex-encoded (32-byte scalar). */
|
|
4499
|
+
id: string;
|
|
4500
|
+
/** @description Hiding commitment D, hex-encoded compressed secp256k1 point. */
|
|
4501
|
+
hiding: string;
|
|
4502
|
+
/** @description Binding commitment E, hex-encoded compressed secp256k1 point. */
|
|
4503
|
+
binding: string;
|
|
4504
|
+
};
|
|
4505
|
+
v1SparkHtlcPreimageDerivation: {
|
|
4506
|
+
[key: string]: unknown;
|
|
4507
|
+
};
|
|
4508
|
+
v1SparkIdentityDerivation: {
|
|
4509
|
+
[key: string]: unknown;
|
|
4510
|
+
};
|
|
4511
|
+
v1SparkKeyDerivation: {
|
|
4512
|
+
/** @description Spark identity key derivation. */
|
|
4513
|
+
identity?: definitions["v1SparkIdentityDerivation"];
|
|
4514
|
+
/** @description Spark signing leaf key derivation, identified by leaf ID. */
|
|
4515
|
+
signingLeaf?: definitions["v1SparkSigningLeafDerivation"];
|
|
4516
|
+
/** @description Spark deposit key derivation. */
|
|
4517
|
+
deposit?: definitions["v1SparkDepositDerivation"];
|
|
4518
|
+
/** @description Spark static deposit key derivation, identified by index. */
|
|
4519
|
+
staticDeposit?: definitions["v1SparkStaticDepositDerivation"];
|
|
4520
|
+
/** @description Spark HTLC preimage key derivation. */
|
|
4521
|
+
htlcPreimage?: definitions["v1SparkHtlcPreimageDerivation"];
|
|
4522
|
+
};
|
|
4523
|
+
v1SparkLeafPublicKey: {
|
|
4524
|
+
/** @description The Spark leaf_id this public key was derived for. */
|
|
4525
|
+
leafId: string;
|
|
4526
|
+
/** @description Hex-encoded compressed secp256k1 point (33 bytes) for the SigningLeaf derivation at leaf_id. */
|
|
4527
|
+
publicKey: string;
|
|
4528
|
+
};
|
|
4529
|
+
v1SparkLightningReceivePackage: {
|
|
4530
|
+
/**
|
|
4531
|
+
* Format: int64
|
|
4532
|
+
* @description Feldman VSS threshold for reconstructing the preimage.
|
|
4533
|
+
*/
|
|
4534
|
+
threshold: number;
|
|
4535
|
+
/** @description Operators that will receive Feldman shares of the preimage. Order must match the operators' numeric IDs in the Spark operator config - share index is the 1-based position in this list. */
|
|
4536
|
+
operatorRecipients: definitions["v1SparkOperatorRecipient"][];
|
|
4537
|
+
};
|
|
4538
|
+
v1SparkOperatorRecipient: {
|
|
4539
|
+
/** @description Spark operator identifier (UUID). */
|
|
4540
|
+
operatorId: string;
|
|
4541
|
+
/** @description Operator's ECIES encryption pubkey (hex-encoded compressed secp256k1 point). */
|
|
4542
|
+
encryptionPublicKey: string;
|
|
4543
|
+
};
|
|
4544
|
+
v1SparkPartialSignature: {
|
|
4545
|
+
/** @description Hex-encoded FROST partial signature. */
|
|
4546
|
+
signatureShare: string;
|
|
4547
|
+
/** @description Turnkey's hiding commitment D (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
4548
|
+
hiding: string;
|
|
4549
|
+
/** @description Turnkey's binding commitment E (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
4550
|
+
binding: string;
|
|
4551
|
+
};
|
|
4552
|
+
v1SparkPrepareLightningReceiveIntent: {
|
|
4553
|
+
/** @description A Spark wallet account address identifying the wallet. */
|
|
4554
|
+
signWith: string;
|
|
4555
|
+
/** @description Lightning receive package parameters: threshold and operator recipients. */
|
|
4556
|
+
lightningReceive: definitions["v1SparkLightningReceivePackage"];
|
|
4557
|
+
};
|
|
4558
|
+
v1SparkPrepareLightningReceiveRequest: {
|
|
4559
|
+
/** @enum {string} */
|
|
4560
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE";
|
|
4561
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4562
|
+
timestampMs: string;
|
|
4563
|
+
/** @description Unique identifier for a given Organization. */
|
|
4564
|
+
organizationId: string;
|
|
4565
|
+
parameters: definitions["v1SparkPrepareLightningReceiveIntent"];
|
|
4566
|
+
};
|
|
4567
|
+
v1SparkPrepareLightningReceiveResult: {
|
|
4568
|
+
/** @description Per-operator ECIES-encrypted Feldman share packages. */
|
|
4569
|
+
operatorPackages: definitions["v1SparkEncryptedOperatorPackage"][];
|
|
4570
|
+
/** @description Hex-encoded SHA256(preimage). Forward to the Lightning node. */
|
|
4571
|
+
paymentHash: string;
|
|
4572
|
+
};
|
|
4573
|
+
v1SparkPrepareTransferIntent: {
|
|
4574
|
+
/** @description A Spark wallet account address identifying the wallet. */
|
|
4575
|
+
signWith: string;
|
|
4576
|
+
/** @description Transfer package parameters for HD key tweak splitting. */
|
|
4577
|
+
transfer: definitions["v1SparkTransferPackage"];
|
|
4578
|
+
};
|
|
4579
|
+
v1SparkPrepareTransferRequest: {
|
|
4580
|
+
/** @enum {string} */
|
|
4581
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER";
|
|
4582
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4583
|
+
timestampMs: string;
|
|
4584
|
+
/** @description Unique identifier for a given Organization. */
|
|
4585
|
+
organizationId: string;
|
|
4586
|
+
parameters: definitions["v1SparkPrepareTransferIntent"];
|
|
4587
|
+
};
|
|
4588
|
+
v1SparkPrepareTransferResult: {
|
|
4589
|
+
/** @description Per-operator ECIES-encrypted packages. */
|
|
4590
|
+
operatorPackages: definitions["v1SparkEncryptedOperatorPackage"][];
|
|
4591
|
+
/** @description Hex-encoded ECDSA-DER signature of the TransferPackage signing payload, signed with the wallet's IDENTITY key. */
|
|
4592
|
+
transferUserSignature: string;
|
|
4593
|
+
/** @description Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
4594
|
+
newLeafPublicKeys: definitions["v1SparkLeafPublicKey"][];
|
|
4595
|
+
};
|
|
4596
|
+
v1SparkSignFrostIntent: {
|
|
4597
|
+
/** @description A Spark wallet account address identifying the wallet to sign with. */
|
|
4598
|
+
signWith: string;
|
|
4599
|
+
/** @description Batched sign requests. Each produces a partial signature plus Turnkey's public commitments. */
|
|
4600
|
+
signatures: definitions["v1SparkSignatureRequest"][];
|
|
4601
|
+
};
|
|
4602
|
+
v1SparkSignFrostRequest: {
|
|
4603
|
+
/** @enum {string} */
|
|
4604
|
+
type: "ACTIVITY_TYPE_SPARK_SIGN_FROST";
|
|
4605
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4606
|
+
timestampMs: string;
|
|
4607
|
+
/** @description Unique identifier for a given Organization. */
|
|
4608
|
+
organizationId: string;
|
|
4609
|
+
parameters: definitions["v1SparkSignFrostIntent"];
|
|
4610
|
+
};
|
|
4611
|
+
v1SparkSignFrostResult: {
|
|
4612
|
+
/** @description Partial signatures plus Turnkey commitments, one per request, in order. */
|
|
4613
|
+
signatures: definitions["v1SparkPartialSignature"][];
|
|
4614
|
+
};
|
|
4615
|
+
v1SparkSignatureRequest: {
|
|
4616
|
+
/** @description Which key to sign with. */
|
|
4617
|
+
derivation: definitions["v1SparkKeyDerivation"];
|
|
4618
|
+
/** @description Hex-encoded 32-byte sighash to sign. */
|
|
4619
|
+
message: string;
|
|
4620
|
+
/** @description Aggregate group verifying key (hex-encoded compressed secp256k1 point), computed as P_ops + P_user. Bound into the nonce HMAC. */
|
|
4621
|
+
verifyingKey: string;
|
|
4622
|
+
/** @description Commitments for every non-Turnkey participant. MUST NOT include an entry under Turnkey's identifier. Bound into the nonce HMAC. */
|
|
4623
|
+
operatorCommitments: definitions["v1SparkFrostCommitment"][];
|
|
4624
|
+
/** @description Optional adaptor point T (hex-encoded 33-byte compressed secp256k1 pubkey). When set, Turnkey produces a Schnorr adaptor pre-signature with the FROST challenge bound to `R+T` (where `R` is the aggregate group nonce commitment from FROST). The party holding the discrete log `t` completes the pre-sig to a valid BIP-340 signature by adding `t` (or `-t`, for parity) to the signature scalar `s`. This is primarily used by Spark leaves-swap and other adaptor-bound flows; absent or empty leads to plain FROST signing (the typical case). */
|
|
4625
|
+
adaptorPublicKey?: string;
|
|
4626
|
+
};
|
|
4627
|
+
v1SparkSigningLeafDerivation: {
|
|
4628
|
+
/** @description Unique identifier for the Spark signing leaf. */
|
|
4629
|
+
leafId: string;
|
|
4630
|
+
};
|
|
4631
|
+
v1SparkStaticDepositDerivation: {
|
|
4632
|
+
/**
|
|
4633
|
+
* Format: int64
|
|
4634
|
+
* @description Index used to derive the static deposit key.
|
|
4635
|
+
*/
|
|
4636
|
+
index: number;
|
|
4637
|
+
};
|
|
4638
|
+
v1SparkTransferLeaf: {
|
|
4639
|
+
/** @description Leaf identifier (UUID). */
|
|
4640
|
+
leafId: string;
|
|
4641
|
+
/** @description Derivation for the existing (pre-transfer) leaf key. Always a SigningLeaf derivation. */
|
|
4642
|
+
oldLeafDerivation: definitions["v1SparkKeyDerivation"];
|
|
4643
|
+
/** @description Derivation for the new (post-transfer) leaf key. Always a SigningLeaf derivation. The enclave ECIES-encrypts this private key to receiver_public_key as the per-leaf secret_cipher; HD-derived rather than random so the sender can re-derive on retry (Turnkey's enclave is stateless). */
|
|
4644
|
+
newLeafDerivation: definitions["v1SparkKeyDerivation"];
|
|
4645
|
+
/** @description Client-produced CPFP refund signature (hex-encoded), passed through verbatim into the per-operator SendLeafKeyTweak. Empty omits the field from the operator package. */
|
|
4646
|
+
refundSignature?: string;
|
|
4647
|
+
/** @description Client-produced direct refund signature (hex-encoded). Passed through verbatim. */
|
|
4648
|
+
directRefundSignature?: string;
|
|
4649
|
+
/** @description Client-produced direct-from-CPFP refund signature (hex-encoded). Passed through verbatim. */
|
|
4650
|
+
directFromCpfpRefundSignature?: string;
|
|
4651
|
+
};
|
|
4652
|
+
v1SparkTransferPackage: {
|
|
4653
|
+
/** @description Spark transfer identifier (UUID). */
|
|
4654
|
+
transferId: string;
|
|
4655
|
+
/** @description Leaves being transferred. */
|
|
4656
|
+
leaves: definitions["v1SparkTransferLeaf"][];
|
|
4657
|
+
/**
|
|
4658
|
+
* Format: int64
|
|
4659
|
+
* @description Feldman VSS threshold for reconstructing the per-leaf tweak scalar.
|
|
4660
|
+
*/
|
|
4661
|
+
threshold: number;
|
|
4662
|
+
/** @description Operators that will receive Feldman shares of the per-leaf tweak. Order must match the operators' numeric IDs in the Spark operator config - share index is the 1-based position in this list. */
|
|
4663
|
+
operatorRecipients: definitions["v1SparkOperatorRecipient"][];
|
|
4664
|
+
/** @description Recipient's identity pubkey (hex-encoded compressed secp256k1 point). Each leaf's new_priv is ECIES-encrypted to this key and embedded in the per-operator package for claim-time delivery. */
|
|
4665
|
+
receiverPublicKey: string;
|
|
4666
|
+
};
|
|
3879
4667
|
v1StampLoginIntent: {
|
|
3880
4668
|
/** @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 */
|
|
3881
4669
|
publicKey: string;
|
|
@@ -3900,6 +4688,20 @@ export type definitions = {
|
|
|
3900
4688
|
};
|
|
3901
4689
|
/** @enum {string} */
|
|
3902
4690
|
v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
4691
|
+
v1TestRateLimitsRequest: {
|
|
4692
|
+
/** @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. */
|
|
4693
|
+
organizationId: string;
|
|
4694
|
+
/** @description Whether or not to set a limit on this request. */
|
|
4695
|
+
isSetLimit: boolean;
|
|
4696
|
+
/**
|
|
4697
|
+
* Format: int64
|
|
4698
|
+
* @description Rate limit to set for org, if is_set_limit is set to true.
|
|
4699
|
+
*/
|
|
4700
|
+
limit: number;
|
|
4701
|
+
};
|
|
4702
|
+
v1TestRateLimitsResponse: {
|
|
4703
|
+
[key: string]: unknown;
|
|
4704
|
+
};
|
|
3903
4705
|
v1TokenUsage: {
|
|
3904
4706
|
/** @description Type of token usage */
|
|
3905
4707
|
type: definitions["v1UsageType"];
|
|
@@ -3907,23 +4709,145 @@ export type definitions = {
|
|
|
3907
4709
|
tokenId: string;
|
|
3908
4710
|
signup?: definitions["v1SignupUsage"];
|
|
3909
4711
|
login?: definitions["v1LoginUsage"];
|
|
4712
|
+
signupV2?: definitions["v1SignupUsageV2"];
|
|
3910
4713
|
};
|
|
3911
4714
|
/** @enum {string} */
|
|
3912
4715
|
v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
4716
|
+
v1TvcApp: {
|
|
4717
|
+
/** @description Unique Identifier for this TVC App. */
|
|
4718
|
+
id: string;
|
|
4719
|
+
/** @description Unique Identifier of the Organization for this TVC App */
|
|
4720
|
+
organizationId: string;
|
|
4721
|
+
/** @description Name for this TVC App. */
|
|
4722
|
+
name: string;
|
|
4723
|
+
/** @description Public key for the Quorum Key associated with this TVC App */
|
|
4724
|
+
quorumPublicKey: string;
|
|
4725
|
+
/** @description Manifest Set (people who can approve manifests) */
|
|
4726
|
+
manifestSet: definitions["v1TvcOperatorSet"];
|
|
4727
|
+
/** @description Share Set (people who have a share of the Quorum Key) */
|
|
4728
|
+
shareSet: definitions["v1TvcOperatorSet"];
|
|
4729
|
+
/** @description Whether or not this TVC App has network egress enabled. */
|
|
4730
|
+
enableEgress: boolean;
|
|
4731
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4732
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4733
|
+
/** @description The deployment currently designated to receive traffic. Null if no deployment for this app is deployed. */
|
|
4734
|
+
liveDeploymentId?: string;
|
|
4735
|
+
/** @description The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
|
|
4736
|
+
publicDomain: string;
|
|
4737
|
+
};
|
|
4738
|
+
v1TvcContainerSpec: {
|
|
4739
|
+
/** @description The URL for this container image. */
|
|
4740
|
+
containerUrl: string;
|
|
4741
|
+
/** @description The path (in-container) to the executable binary. */
|
|
4742
|
+
path: string;
|
|
4743
|
+
/** @description The arguments to pass to the executable. */
|
|
4744
|
+
args: string[];
|
|
4745
|
+
/** @description Whether or not this container requires a pull secret to access. */
|
|
4746
|
+
hasPullSecret: boolean;
|
|
4747
|
+
/** @description The type of health check to perform against this executable. */
|
|
4748
|
+
healthCheckType: definitions["v1TvcHealthCheckType"];
|
|
4749
|
+
/**
|
|
4750
|
+
* Format: int64
|
|
4751
|
+
* @description The port to use for health checks against this executable.
|
|
4752
|
+
*/
|
|
4753
|
+
healthCheckPort: number;
|
|
4754
|
+
/**
|
|
4755
|
+
* Format: int64
|
|
4756
|
+
* @description The port to use for public ingress to this executable.
|
|
4757
|
+
*/
|
|
4758
|
+
publicIngressPort: number;
|
|
4759
|
+
};
|
|
4760
|
+
v1TvcDeployment: {
|
|
4761
|
+
/** @description Unique Identifier for this TVC Deployment. */
|
|
4762
|
+
id: string;
|
|
4763
|
+
/** @description Unique Identifier of the Organization for this TVC Deployment */
|
|
4764
|
+
organizationId: string;
|
|
4765
|
+
/** @description Unique Identifier of the TVC App for this deployment */
|
|
4766
|
+
appId: string;
|
|
4767
|
+
/** @description Set of TVC operators who can approve this deployment */
|
|
4768
|
+
manifestSet: definitions["v1TvcOperatorSet"];
|
|
4769
|
+
/** @description Set of TVC operators who have a share of the Quorum Key */
|
|
4770
|
+
shareSet: definitions["v1TvcOperatorSet"];
|
|
4771
|
+
/** @description The manifest used for this deployment */
|
|
4772
|
+
manifest: definitions["v1TvcManifest"];
|
|
4773
|
+
/** @description List of operator approvals for this manifest */
|
|
4774
|
+
manifestApprovals: definitions["v1TvcOperatorApproval"][];
|
|
4775
|
+
/** @description QOS Version used for this deployment */
|
|
4776
|
+
qosVersion: string;
|
|
4777
|
+
/** @description The pivot container spec for this deployment */
|
|
4778
|
+
pivotContainer: definitions["v1TvcContainerSpec"];
|
|
4779
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4780
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4781
|
+
/** @description Whether or not the user wants this deployment deleted from the cluster. */
|
|
4782
|
+
delete: boolean;
|
|
4783
|
+
};
|
|
3913
4784
|
/** @enum {string} */
|
|
3914
4785
|
v1TvcHealthCheckType: "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
4786
|
+
v1TvcManifest: {
|
|
4787
|
+
/** @description Unique Identifier for this TVC Manifest. */
|
|
4788
|
+
id: string;
|
|
4789
|
+
/**
|
|
4790
|
+
* Format: byte
|
|
4791
|
+
* @description The manifest content (raw UTF-8 JSON bytes)
|
|
4792
|
+
*/
|
|
4793
|
+
manifest: string;
|
|
4794
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4795
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4796
|
+
};
|
|
3915
4797
|
v1TvcManifestApproval: {
|
|
3916
4798
|
/** @description Unique identifier of the operator providing this approval */
|
|
3917
4799
|
operatorId: string;
|
|
3918
4800
|
/** @description Signature from the operator approving the manifest */
|
|
3919
4801
|
signature: string;
|
|
3920
4802
|
};
|
|
4803
|
+
v1TvcOperator: {
|
|
4804
|
+
/** @description Unique Identifier for this TVC Operator. */
|
|
4805
|
+
id: string;
|
|
4806
|
+
/** @description Name of this TVC Operator. */
|
|
4807
|
+
name: string;
|
|
4808
|
+
/** @description Public key for this TVC Operator. */
|
|
4809
|
+
publicKey: string;
|
|
4810
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4811
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4812
|
+
};
|
|
4813
|
+
v1TvcOperatorApproval: {
|
|
4814
|
+
/** @description Unique ID for this approval */
|
|
4815
|
+
id: string;
|
|
4816
|
+
/** @description Unique Identifier of the TVC Manifest being approved */
|
|
4817
|
+
manifestId: string;
|
|
4818
|
+
/** @description The TVC Operator who made this approval */
|
|
4819
|
+
operator: definitions["v1TvcOperator"];
|
|
4820
|
+
/**
|
|
4821
|
+
* Format: byte
|
|
4822
|
+
* @description Signature of the operator over the deployment manifest
|
|
4823
|
+
*/
|
|
4824
|
+
approval: string;
|
|
4825
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4826
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4827
|
+
};
|
|
3921
4828
|
v1TvcOperatorParams: {
|
|
3922
4829
|
/** @description The name for this new operator */
|
|
3923
4830
|
name: string;
|
|
3924
4831
|
/** @description Public key for this operator */
|
|
3925
4832
|
publicKey: string;
|
|
3926
4833
|
};
|
|
4834
|
+
v1TvcOperatorSet: {
|
|
4835
|
+
/** @description Unique Identifier for this TVC Operator Set. */
|
|
4836
|
+
id: string;
|
|
4837
|
+
/** @description Name of this TVC Operator Set. */
|
|
4838
|
+
name: string;
|
|
4839
|
+
/** @description Unique Identifier of the Organization for this TVC Operator Set */
|
|
4840
|
+
organizationId: string;
|
|
4841
|
+
/** @description List of TVC Operators in this set */
|
|
4842
|
+
operators: definitions["v1TvcOperator"][];
|
|
4843
|
+
/**
|
|
4844
|
+
* Format: int64
|
|
4845
|
+
* @description Threshold number of operators required for quorum.
|
|
4846
|
+
*/
|
|
4847
|
+
threshold: number;
|
|
4848
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4849
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4850
|
+
};
|
|
3927
4851
|
v1TvcOperatorSetParams: {
|
|
3928
4852
|
/** @description Short description for this new operator set */
|
|
3929
4853
|
name: string;
|
|
@@ -4005,6 +4929,8 @@ export type definitions = {
|
|
|
4005
4929
|
sendFromEmailSenderName?: string;
|
|
4006
4930
|
/** @description Verification token required for get account with PII (email/phone number). Default false. */
|
|
4007
4931
|
verificationTokenRequiredForGetAccountPii?: boolean;
|
|
4932
|
+
/** @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. */
|
|
4933
|
+
socialLinkingClientIds?: string[];
|
|
4008
4934
|
};
|
|
4009
4935
|
v1UpdateAuthProxyConfigResult: {
|
|
4010
4936
|
/** @description Unique identifier for a given User. (representing the turnkey signer user id) */
|
|
@@ -4074,6 +5000,7 @@ export type definitions = {
|
|
|
4074
5000
|
/** @description Unique identifier for a given Organization. */
|
|
4075
5001
|
organizationId: string;
|
|
4076
5002
|
parameters: definitions["v1UpdateOrganizationNameIntent"];
|
|
5003
|
+
generateAppProofs?: boolean;
|
|
4077
5004
|
};
|
|
4078
5005
|
v1UpdateOrganizationNameResult: {
|
|
4079
5006
|
/** @description Unique identifier for the Organization. */
|
|
@@ -4173,6 +5100,23 @@ export type definitions = {
|
|
|
4173
5100
|
v1UpdateRootQuorumResult: {
|
|
4174
5101
|
[key: string]: unknown;
|
|
4175
5102
|
};
|
|
5103
|
+
v1UpdateTvcAppLiveDeploymentIntent: {
|
|
5104
|
+
/** @description The unique identifier of the TVC deployment to set as live for the app. */
|
|
5105
|
+
deploymentId: string;
|
|
5106
|
+
};
|
|
5107
|
+
v1UpdateTvcAppLiveDeploymentRequest: {
|
|
5108
|
+
/** @enum {string} */
|
|
5109
|
+
type: "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT";
|
|
5110
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5111
|
+
timestampMs: string;
|
|
5112
|
+
/** @description Unique identifier for a given Organization. */
|
|
5113
|
+
organizationId: string;
|
|
5114
|
+
parameters: definitions["v1UpdateTvcAppLiveDeploymentIntent"];
|
|
5115
|
+
generateAppProofs?: boolean;
|
|
5116
|
+
};
|
|
5117
|
+
v1UpdateTvcAppLiveDeploymentResult: {
|
|
5118
|
+
[key: string]: unknown;
|
|
5119
|
+
};
|
|
4176
5120
|
v1UpdateUserEmailIntent: {
|
|
4177
5121
|
/** @description Unique identifier for a given User. */
|
|
4178
5122
|
userId: string;
|
|
@@ -4338,7 +5282,7 @@ export type definitions = {
|
|
|
4338
5282
|
orgWindowLimitUsd: string;
|
|
4339
5283
|
/** @description Gas sponsorship USD limit for sub-organizations under the billing organization. */
|
|
4340
5284
|
subOrgWindowLimitUsd: string;
|
|
4341
|
-
/** @description Rolling sponsorship window duration, expressed in minutes. */
|
|
5285
|
+
/** @description Rolling sponsorship window duration, expressed in minutes. This value can't exceed 30 days (43200 minutes). */
|
|
4342
5286
|
windowDurationMinutes: string;
|
|
4343
5287
|
/** @description Whether gas sponsorship is enabled for the organization. */
|
|
4344
5288
|
enabled?: boolean;
|
|
@@ -4413,6 +5357,33 @@ export type definitions = {
|
|
|
4413
5357
|
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
4414
5358
|
userTags: string[];
|
|
4415
5359
|
};
|
|
5360
|
+
v1UserParamsV4: {
|
|
5361
|
+
/** @description Human-readable name for a User. */
|
|
5362
|
+
userName: string;
|
|
5363
|
+
/** @description The user's email address. */
|
|
5364
|
+
userEmail?: string;
|
|
5365
|
+
/** @description The user's phone number in E.164 format e.g. +13214567890 */
|
|
5366
|
+
userPhoneNumber?: string;
|
|
5367
|
+
/** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
|
|
5368
|
+
apiKeys: definitions["v1ApiKeyParamsV2"][];
|
|
5369
|
+
/** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
|
|
5370
|
+
authenticators: definitions["v1AuthenticatorParamsV2"][];
|
|
5371
|
+
/** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
|
|
5372
|
+
oauthProviders: definitions["v1OauthProviderParamsV2"][];
|
|
5373
|
+
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
5374
|
+
userTags: string[];
|
|
5375
|
+
};
|
|
5376
|
+
v1ValidateTvcImageRequest: {
|
|
5377
|
+
/** @description Unique identifier for a given Organization. */
|
|
5378
|
+
organizationId: string;
|
|
5379
|
+
/** @description URL of the container image. */
|
|
5380
|
+
pivotContainerImageUrl: string;
|
|
5381
|
+
/** @description HPKE-encrypted pull secret for private images. */
|
|
5382
|
+
pivotContainerEncryptedPullSecret?: string;
|
|
5383
|
+
};
|
|
5384
|
+
v1ValidateTvcImageResponse: {
|
|
5385
|
+
resolvedImageDigest?: string;
|
|
5386
|
+
};
|
|
4416
5387
|
v1VerifyOtpIntent: {
|
|
4417
5388
|
/** @description ID representing the result of an init OTP activity. */
|
|
4418
5389
|
otpId: string;
|
|
@@ -4423,14 +5394,22 @@ export type definitions = {
|
|
|
4423
5394
|
/** @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
5395
|
publicKey?: string;
|
|
4425
5396
|
};
|
|
5397
|
+
v1VerifyOtpIntentV2: {
|
|
5398
|
+
/** @description UUID representing an OTP flow. A new UUID is created for each init OTP activity. */
|
|
5399
|
+
otpId: string;
|
|
5400
|
+
/** @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. */
|
|
5401
|
+
encryptedOtpBundle: string;
|
|
5402
|
+
/** @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) */
|
|
5403
|
+
expirationSeconds?: string;
|
|
5404
|
+
};
|
|
4426
5405
|
v1VerifyOtpRequest: {
|
|
4427
5406
|
/** @enum {string} */
|
|
4428
|
-
type: "
|
|
5407
|
+
type: "ACTIVITY_TYPE_VERIFY_OTP_V2";
|
|
4429
5408
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4430
5409
|
timestampMs: string;
|
|
4431
5410
|
/** @description Unique identifier for a given Organization. */
|
|
4432
5411
|
organizationId: string;
|
|
4433
|
-
parameters: definitions["
|
|
5412
|
+
parameters: definitions["v1VerifyOtpIntentV2"];
|
|
4434
5413
|
generateAppProofs?: boolean;
|
|
4435
5414
|
};
|
|
4436
5415
|
v1VerifyOtpResult: {
|
|
@@ -4564,7 +5543,7 @@ export type definitions = {
|
|
|
4564
5543
|
subscriptions?: definitions["v1WebhookSubscriptionParams"][];
|
|
4565
5544
|
};
|
|
4566
5545
|
v1WebhookSubscriptionParams: {
|
|
4567
|
-
/** @description The event type to subscribe to (for example, ACTIVITY_UPDATES or
|
|
5546
|
+
/** @description The event type to subscribe to (for example, ACTIVITY_UPDATES, BALANCE_CONFIRMED_UPDATES, or BALANCE_FINALIZED_UPDATES). */
|
|
4568
5547
|
eventType: string;
|
|
4569
5548
|
/** @description JSON-encoded filter criteria for this subscription. */
|
|
4570
5549
|
filtersJson?: string;
|
|
@@ -4717,6 +5696,24 @@ export type operations = {
|
|
|
4717
5696
|
};
|
|
4718
5697
|
};
|
|
4719
5698
|
};
|
|
5699
|
+
/** Get IP allowlist and rules for an organization. */
|
|
5700
|
+
PublicApiService_GetIpAllowlist: {
|
|
5701
|
+
parameters: {
|
|
5702
|
+
body: {
|
|
5703
|
+
body: definitions["v1GetIpAllowlistRequest"];
|
|
5704
|
+
};
|
|
5705
|
+
};
|
|
5706
|
+
responses: {
|
|
5707
|
+
/** A successful response. */
|
|
5708
|
+
200: {
|
|
5709
|
+
schema: definitions["v1GetIpAllowlistResponse"];
|
|
5710
|
+
};
|
|
5711
|
+
/** An unexpected error response. */
|
|
5712
|
+
default: {
|
|
5713
|
+
schema: definitions["rpcStatus"];
|
|
5714
|
+
};
|
|
5715
|
+
};
|
|
5716
|
+
};
|
|
4720
5717
|
/** Get the latest boot proof for a given enclave app name. */
|
|
4721
5718
|
PublicApiService_GetLatestBootProof: {
|
|
4722
5719
|
parameters: {
|
|
@@ -4807,6 +5804,24 @@ export type operations = {
|
|
|
4807
5804
|
};
|
|
4808
5805
|
};
|
|
4809
5806
|
};
|
|
5807
|
+
/** Get details about an organization. */
|
|
5808
|
+
PublicApiService_GetOrganization: {
|
|
5809
|
+
parameters: {
|
|
5810
|
+
body: {
|
|
5811
|
+
body: definitions["v1GetOrganizationRequest"];
|
|
5812
|
+
};
|
|
5813
|
+
};
|
|
5814
|
+
responses: {
|
|
5815
|
+
/** A successful response. */
|
|
5816
|
+
200: {
|
|
5817
|
+
schema: definitions["v1GetOrganizationResponse"];
|
|
5818
|
+
};
|
|
5819
|
+
/** An unexpected error response. */
|
|
5820
|
+
default: {
|
|
5821
|
+
schema: definitions["rpcStatus"];
|
|
5822
|
+
};
|
|
5823
|
+
};
|
|
5824
|
+
};
|
|
4810
5825
|
/** Get quorum settings and features for an organization. */
|
|
4811
5826
|
PublicApiService_GetOrganizationConfigs: {
|
|
4812
5827
|
parameters: {
|
|
@@ -4915,6 +5930,60 @@ export type operations = {
|
|
|
4915
5930
|
};
|
|
4916
5931
|
};
|
|
4917
5932
|
};
|
|
5933
|
+
/** Get details about a single TVC App */
|
|
5934
|
+
PublicApiService_GetTvcApp: {
|
|
5935
|
+
parameters: {
|
|
5936
|
+
body: {
|
|
5937
|
+
body: definitions["v1GetTvcAppRequest"];
|
|
5938
|
+
};
|
|
5939
|
+
};
|
|
5940
|
+
responses: {
|
|
5941
|
+
/** A successful response. */
|
|
5942
|
+
200: {
|
|
5943
|
+
schema: definitions["v1GetTvcAppResponse"];
|
|
5944
|
+
};
|
|
5945
|
+
/** An unexpected error response. */
|
|
5946
|
+
default: {
|
|
5947
|
+
schema: definitions["rpcStatus"];
|
|
5948
|
+
};
|
|
5949
|
+
};
|
|
5950
|
+
};
|
|
5951
|
+
/** Get details about a single TVC Deployment */
|
|
5952
|
+
PublicApiService_GetTvcDeployment: {
|
|
5953
|
+
parameters: {
|
|
5954
|
+
body: {
|
|
5955
|
+
body: definitions["v1GetTvcDeploymentRequest"];
|
|
5956
|
+
};
|
|
5957
|
+
};
|
|
5958
|
+
responses: {
|
|
5959
|
+
/** A successful response. */
|
|
5960
|
+
200: {
|
|
5961
|
+
schema: definitions["v1GetTvcDeploymentResponse"];
|
|
5962
|
+
};
|
|
5963
|
+
/** An unexpected error response. */
|
|
5964
|
+
default: {
|
|
5965
|
+
schema: definitions["rpcStatus"];
|
|
5966
|
+
};
|
|
5967
|
+
};
|
|
5968
|
+
};
|
|
5969
|
+
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
5970
|
+
PublicApiService_GetTvcDeploymentProvisioningDetails: {
|
|
5971
|
+
parameters: {
|
|
5972
|
+
body: {
|
|
5973
|
+
body: definitions["v1GetTvcDeploymentProvisioningDetailsRequest"];
|
|
5974
|
+
};
|
|
5975
|
+
};
|
|
5976
|
+
responses: {
|
|
5977
|
+
/** A successful response. */
|
|
5978
|
+
200: {
|
|
5979
|
+
schema: definitions["v1GetTvcDeploymentProvisioningDetailsResponse"];
|
|
5980
|
+
};
|
|
5981
|
+
/** An unexpected error response. */
|
|
5982
|
+
default: {
|
|
5983
|
+
schema: definitions["rpcStatus"];
|
|
5984
|
+
};
|
|
5985
|
+
};
|
|
5986
|
+
};
|
|
4918
5987
|
/** Get details about a user. */
|
|
4919
5988
|
PublicApiService_GetUser: {
|
|
4920
5989
|
parameters: {
|
|
@@ -5167,6 +6236,42 @@ export type operations = {
|
|
|
5167
6236
|
};
|
|
5168
6237
|
};
|
|
5169
6238
|
};
|
|
6239
|
+
/** List all deployments for a given TVC App */
|
|
6240
|
+
PublicApiService_GetTvcAppDeployments: {
|
|
6241
|
+
parameters: {
|
|
6242
|
+
body: {
|
|
6243
|
+
body: definitions["v1GetTvcAppDeploymentsRequest"];
|
|
6244
|
+
};
|
|
6245
|
+
};
|
|
6246
|
+
responses: {
|
|
6247
|
+
/** A successful response. */
|
|
6248
|
+
200: {
|
|
6249
|
+
schema: definitions["v1GetTvcAppDeploymentsResponse"];
|
|
6250
|
+
};
|
|
6251
|
+
/** An unexpected error response. */
|
|
6252
|
+
default: {
|
|
6253
|
+
schema: definitions["rpcStatus"];
|
|
6254
|
+
};
|
|
6255
|
+
};
|
|
6256
|
+
};
|
|
6257
|
+
/** List all TVC Apps within an organization. */
|
|
6258
|
+
PublicApiService_GetTvcApps: {
|
|
6259
|
+
parameters: {
|
|
6260
|
+
body: {
|
|
6261
|
+
body: definitions["v1GetTvcAppsRequest"];
|
|
6262
|
+
};
|
|
6263
|
+
};
|
|
6264
|
+
responses: {
|
|
6265
|
+
/** A successful response. */
|
|
6266
|
+
200: {
|
|
6267
|
+
schema: definitions["v1GetTvcAppsResponse"];
|
|
6268
|
+
};
|
|
6269
|
+
/** An unexpected error response. */
|
|
6270
|
+
default: {
|
|
6271
|
+
schema: definitions["rpcStatus"];
|
|
6272
|
+
};
|
|
6273
|
+
};
|
|
6274
|
+
};
|
|
5170
6275
|
/** List all user tags within an organization. */
|
|
5171
6276
|
PublicApiService_ListUserTags: {
|
|
5172
6277
|
parameters: {
|
|
@@ -5261,13 +6366,31 @@ export type operations = {
|
|
|
5261
6366
|
PublicApiService_ListWebhookEndpoints: {
|
|
5262
6367
|
parameters: {
|
|
5263
6368
|
body: {
|
|
5264
|
-
body: definitions["v1ListWebhookEndpointsRequest"];
|
|
6369
|
+
body: definitions["v1ListWebhookEndpointsRequest"];
|
|
6370
|
+
};
|
|
6371
|
+
};
|
|
6372
|
+
responses: {
|
|
6373
|
+
/** A successful response. */
|
|
6374
|
+
200: {
|
|
6375
|
+
schema: definitions["v1ListWebhookEndpointsResponse"];
|
|
6376
|
+
};
|
|
6377
|
+
/** An unexpected error response. */
|
|
6378
|
+
default: {
|
|
6379
|
+
schema: definitions["rpcStatus"];
|
|
6380
|
+
};
|
|
6381
|
+
};
|
|
6382
|
+
};
|
|
6383
|
+
/** Validate a container image URL and pull secret for TVC deployment */
|
|
6384
|
+
PublicApiService_ValidateTvcImage: {
|
|
6385
|
+
parameters: {
|
|
6386
|
+
body: {
|
|
6387
|
+
body: definitions["v1ValidateTvcImageRequest"];
|
|
5265
6388
|
};
|
|
5266
6389
|
};
|
|
5267
6390
|
responses: {
|
|
5268
6391
|
/** A successful response. */
|
|
5269
6392
|
200: {
|
|
5270
|
-
schema: definitions["
|
|
6393
|
+
schema: definitions["v1ValidateTvcImageResponse"];
|
|
5271
6394
|
};
|
|
5272
6395
|
/** An unexpected error response. */
|
|
5273
6396
|
default: {
|
|
@@ -5581,6 +6704,60 @@ export type operations = {
|
|
|
5581
6704
|
};
|
|
5582
6705
|
};
|
|
5583
6706
|
};
|
|
6707
|
+
/** Create a new TVC application */
|
|
6708
|
+
PublicApiService_CreateTvcApp: {
|
|
6709
|
+
parameters: {
|
|
6710
|
+
body: {
|
|
6711
|
+
body: definitions["v1CreateTvcAppRequest"];
|
|
6712
|
+
};
|
|
6713
|
+
};
|
|
6714
|
+
responses: {
|
|
6715
|
+
/** A successful response. */
|
|
6716
|
+
200: {
|
|
6717
|
+
schema: definitions["v1ActivityResponse"];
|
|
6718
|
+
};
|
|
6719
|
+
/** An unexpected error response. */
|
|
6720
|
+
default: {
|
|
6721
|
+
schema: definitions["rpcStatus"];
|
|
6722
|
+
};
|
|
6723
|
+
};
|
|
6724
|
+
};
|
|
6725
|
+
/** Create a new TVC Deployment */
|
|
6726
|
+
PublicApiService_CreateTvcDeployment: {
|
|
6727
|
+
parameters: {
|
|
6728
|
+
body: {
|
|
6729
|
+
body: definitions["v1CreateTvcDeploymentRequest"];
|
|
6730
|
+
};
|
|
6731
|
+
};
|
|
6732
|
+
responses: {
|
|
6733
|
+
/** A successful response. */
|
|
6734
|
+
200: {
|
|
6735
|
+
schema: definitions["v1ActivityResponse"];
|
|
6736
|
+
};
|
|
6737
|
+
/** An unexpected error response. */
|
|
6738
|
+
default: {
|
|
6739
|
+
schema: definitions["rpcStatus"];
|
|
6740
|
+
};
|
|
6741
|
+
};
|
|
6742
|
+
};
|
|
6743
|
+
/** Post one or more manifest approvals for a TVC Manifest */
|
|
6744
|
+
PublicApiService_CreateTvcManifestApprovals: {
|
|
6745
|
+
parameters: {
|
|
6746
|
+
body: {
|
|
6747
|
+
body: definitions["v1CreateTvcManifestApprovalsRequest"];
|
|
6748
|
+
};
|
|
6749
|
+
};
|
|
6750
|
+
responses: {
|
|
6751
|
+
/** A successful response. */
|
|
6752
|
+
200: {
|
|
6753
|
+
schema: definitions["v1ActivityResponse"];
|
|
6754
|
+
};
|
|
6755
|
+
/** An unexpected error response. */
|
|
6756
|
+
default: {
|
|
6757
|
+
schema: definitions["rpcStatus"];
|
|
6758
|
+
};
|
|
6759
|
+
};
|
|
6760
|
+
};
|
|
5584
6761
|
/** Create a user tag and add it to users. */
|
|
5585
6762
|
PublicApiService_CreateUserTag: {
|
|
5586
6763
|
parameters: {
|
|
@@ -5887,6 +7064,42 @@ export type operations = {
|
|
|
5887
7064
|
};
|
|
5888
7065
|
};
|
|
5889
7066
|
};
|
|
7067
|
+
/** Delete a TVC App and all of its deployments */
|
|
7068
|
+
PublicApiService_DeleteTvcAppAndDeployments: {
|
|
7069
|
+
parameters: {
|
|
7070
|
+
body: {
|
|
7071
|
+
body: definitions["v1DeleteTvcAppAndDeploymentsRequest"];
|
|
7072
|
+
};
|
|
7073
|
+
};
|
|
7074
|
+
responses: {
|
|
7075
|
+
/** A successful response. */
|
|
7076
|
+
200: {
|
|
7077
|
+
schema: definitions["v1ActivityResponse"];
|
|
7078
|
+
};
|
|
7079
|
+
/** An unexpected error response. */
|
|
7080
|
+
default: {
|
|
7081
|
+
schema: definitions["rpcStatus"];
|
|
7082
|
+
};
|
|
7083
|
+
};
|
|
7084
|
+
};
|
|
7085
|
+
/** Delete a TVC Deployment */
|
|
7086
|
+
PublicApiService_DeleteTvcDeployment: {
|
|
7087
|
+
parameters: {
|
|
7088
|
+
body: {
|
|
7089
|
+
body: definitions["v1DeleteTvcDeploymentRequest"];
|
|
7090
|
+
};
|
|
7091
|
+
};
|
|
7092
|
+
responses: {
|
|
7093
|
+
/** A successful response. */
|
|
7094
|
+
200: {
|
|
7095
|
+
schema: definitions["v1ActivityResponse"];
|
|
7096
|
+
};
|
|
7097
|
+
/** An unexpected error response. */
|
|
7098
|
+
default: {
|
|
7099
|
+
schema: definitions["rpcStatus"];
|
|
7100
|
+
};
|
|
7101
|
+
};
|
|
7102
|
+
};
|
|
5890
7103
|
/** Delete user tags within an organization. */
|
|
5891
7104
|
PublicApiService_DeleteUserTags: {
|
|
5892
7105
|
parameters: {
|
|
@@ -5995,6 +7208,24 @@ export type operations = {
|
|
|
5995
7208
|
};
|
|
5996
7209
|
};
|
|
5997
7210
|
};
|
|
7211
|
+
/** Submit a raw transaction (serialized and signed) for broadcasting to the network. */
|
|
7212
|
+
PublicApiService_EthSendRawTransaction: {
|
|
7213
|
+
parameters: {
|
|
7214
|
+
body: {
|
|
7215
|
+
body: definitions["v1EthSendRawTransactionRequest"];
|
|
7216
|
+
};
|
|
7217
|
+
};
|
|
7218
|
+
responses: {
|
|
7219
|
+
/** A successful response. */
|
|
7220
|
+
200: {
|
|
7221
|
+
schema: definitions["v1ActivityResponse"];
|
|
7222
|
+
};
|
|
7223
|
+
/** An unexpected error response. */
|
|
7224
|
+
default: {
|
|
7225
|
+
schema: definitions["rpcStatus"];
|
|
7226
|
+
};
|
|
7227
|
+
};
|
|
7228
|
+
};
|
|
5998
7229
|
/** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
|
|
5999
7230
|
PublicApiService_EthSendTransaction: {
|
|
6000
7231
|
parameters: {
|
|
@@ -6301,6 +7532,24 @@ export type operations = {
|
|
|
6301
7532
|
};
|
|
6302
7533
|
};
|
|
6303
7534
|
};
|
|
7535
|
+
/** Post re-encrypted quorum key share for a TVC deployment. */
|
|
7536
|
+
PublicApiService_PostTvcQuorumKeyShare: {
|
|
7537
|
+
parameters: {
|
|
7538
|
+
body: {
|
|
7539
|
+
body: definitions["v1PostTvcQuorumKeyShareRequest"];
|
|
7540
|
+
};
|
|
7541
|
+
};
|
|
7542
|
+
responses: {
|
|
7543
|
+
/** A successful response. */
|
|
7544
|
+
200: {
|
|
7545
|
+
schema: definitions["v1ActivityResponse"];
|
|
7546
|
+
};
|
|
7547
|
+
/** An unexpected error response. */
|
|
7548
|
+
default: {
|
|
7549
|
+
schema: definitions["rpcStatus"];
|
|
7550
|
+
};
|
|
7551
|
+
};
|
|
7552
|
+
};
|
|
6304
7553
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
6305
7554
|
PublicApiService_RecoverUser: {
|
|
6306
7555
|
parameters: {
|
|
@@ -6337,6 +7586,24 @@ export type operations = {
|
|
|
6337
7586
|
};
|
|
6338
7587
|
};
|
|
6339
7588
|
};
|
|
7589
|
+
/** 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). */
|
|
7590
|
+
PublicApiService_RemoveIpAllowlist: {
|
|
7591
|
+
parameters: {
|
|
7592
|
+
body: {
|
|
7593
|
+
body: definitions["v1RemoveIpAllowlistRequest"];
|
|
7594
|
+
};
|
|
7595
|
+
};
|
|
7596
|
+
responses: {
|
|
7597
|
+
/** A successful response. */
|
|
7598
|
+
200: {
|
|
7599
|
+
schema: definitions["v1ActivityResponse"];
|
|
7600
|
+
};
|
|
7601
|
+
/** An unexpected error response. */
|
|
7602
|
+
default: {
|
|
7603
|
+
schema: definitions["rpcStatus"];
|
|
7604
|
+
};
|
|
7605
|
+
};
|
|
7606
|
+
};
|
|
6340
7607
|
/** Remove an organization feature. This activity must be approved by the current root quorum. */
|
|
6341
7608
|
PublicApiService_RemoveOrganizationFeature: {
|
|
6342
7609
|
parameters: {
|
|
@@ -6355,6 +7622,42 @@ export type operations = {
|
|
|
6355
7622
|
};
|
|
6356
7623
|
};
|
|
6357
7624
|
};
|
|
7625
|
+
/** Restore a deleted TVC Deployment */
|
|
7626
|
+
PublicApiService_RestoreTvcDeployment: {
|
|
7627
|
+
parameters: {
|
|
7628
|
+
body: {
|
|
7629
|
+
body: definitions["v1RestoreTvcDeploymentRequest"];
|
|
7630
|
+
};
|
|
7631
|
+
};
|
|
7632
|
+
responses: {
|
|
7633
|
+
/** A successful response. */
|
|
7634
|
+
200: {
|
|
7635
|
+
schema: definitions["v1ActivityResponse"];
|
|
7636
|
+
};
|
|
7637
|
+
/** An unexpected error response. */
|
|
7638
|
+
default: {
|
|
7639
|
+
schema: definitions["rpcStatus"];
|
|
7640
|
+
};
|
|
7641
|
+
};
|
|
7642
|
+
};
|
|
7643
|
+
/** 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. */
|
|
7644
|
+
PublicApiService_SetIpAllowlist: {
|
|
7645
|
+
parameters: {
|
|
7646
|
+
body: {
|
|
7647
|
+
body: definitions["v1SetIpAllowlistRequest"];
|
|
7648
|
+
};
|
|
7649
|
+
};
|
|
7650
|
+
responses: {
|
|
7651
|
+
/** A successful response. */
|
|
7652
|
+
200: {
|
|
7653
|
+
schema: definitions["v1ActivityResponse"];
|
|
7654
|
+
};
|
|
7655
|
+
/** An unexpected error response. */
|
|
7656
|
+
default: {
|
|
7657
|
+
schema: definitions["rpcStatus"];
|
|
7658
|
+
};
|
|
7659
|
+
};
|
|
7660
|
+
};
|
|
6358
7661
|
/** Set an organization feature. This activity must be approved by the current root quorum. */
|
|
6359
7662
|
PublicApiService_SetOrganizationFeature: {
|
|
6360
7663
|
parameters: {
|
|
@@ -6373,6 +7676,24 @@ export type operations = {
|
|
|
6373
7676
|
};
|
|
6374
7677
|
};
|
|
6375
7678
|
};
|
|
7679
|
+
/** Set the live deployment for a TVC App */
|
|
7680
|
+
PublicApiService_UpdateTvcAppLiveDeployment: {
|
|
7681
|
+
parameters: {
|
|
7682
|
+
body: {
|
|
7683
|
+
body: definitions["v1UpdateTvcAppLiveDeploymentRequest"];
|
|
7684
|
+
};
|
|
7685
|
+
};
|
|
7686
|
+
responses: {
|
|
7687
|
+
/** A successful response. */
|
|
7688
|
+
200: {
|
|
7689
|
+
schema: definitions["v1ActivityResponse"];
|
|
7690
|
+
};
|
|
7691
|
+
/** An unexpected error response. */
|
|
7692
|
+
default: {
|
|
7693
|
+
schema: definitions["rpcStatus"];
|
|
7694
|
+
};
|
|
7695
|
+
};
|
|
7696
|
+
};
|
|
6376
7697
|
/** Sign a raw payload. */
|
|
6377
7698
|
PublicApiService_SignRawPayload: {
|
|
6378
7699
|
parameters: {
|
|
@@ -6445,6 +7766,78 @@ export type operations = {
|
|
|
6445
7766
|
};
|
|
6446
7767
|
};
|
|
6447
7768
|
};
|
|
7769
|
+
/** Construct receiver-side encrypted operator packages to claim a Spark transfer. Does not perform FROST signing. */
|
|
7770
|
+
PublicApiService_SparkClaimTransfer: {
|
|
7771
|
+
parameters: {
|
|
7772
|
+
body: {
|
|
7773
|
+
body: definitions["v1SparkClaimTransferRequest"];
|
|
7774
|
+
};
|
|
7775
|
+
};
|
|
7776
|
+
responses: {
|
|
7777
|
+
/** A successful response. */
|
|
7778
|
+
200: {
|
|
7779
|
+
schema: definitions["v1ActivityResponse"];
|
|
7780
|
+
};
|
|
7781
|
+
/** An unexpected error response. */
|
|
7782
|
+
default: {
|
|
7783
|
+
schema: definitions["rpcStatus"];
|
|
7784
|
+
};
|
|
7785
|
+
};
|
|
7786
|
+
};
|
|
7787
|
+
/** Generate a Lightning preimage and distribute Feldman shares to operators for a Spark Lightning receive. Does not perform FROST signing. */
|
|
7788
|
+
PublicApiService_SparkPrepareLightningReceive: {
|
|
7789
|
+
parameters: {
|
|
7790
|
+
body: {
|
|
7791
|
+
body: definitions["v1SparkPrepareLightningReceiveRequest"];
|
|
7792
|
+
};
|
|
7793
|
+
};
|
|
7794
|
+
responses: {
|
|
7795
|
+
/** A successful response. */
|
|
7796
|
+
200: {
|
|
7797
|
+
schema: definitions["v1ActivityResponse"];
|
|
7798
|
+
};
|
|
7799
|
+
/** An unexpected error response. */
|
|
7800
|
+
default: {
|
|
7801
|
+
schema: definitions["rpcStatus"];
|
|
7802
|
+
};
|
|
7803
|
+
};
|
|
7804
|
+
};
|
|
7805
|
+
/** Construct sender-side encrypted operator packages for a Spark BTC transfer. Does not perform FROST signing. */
|
|
7806
|
+
PublicApiService_SparkPrepareTransfer: {
|
|
7807
|
+
parameters: {
|
|
7808
|
+
body: {
|
|
7809
|
+
body: definitions["v1SparkPrepareTransferRequest"];
|
|
7810
|
+
};
|
|
7811
|
+
};
|
|
7812
|
+
responses: {
|
|
7813
|
+
/** A successful response. */
|
|
7814
|
+
200: {
|
|
7815
|
+
schema: definitions["v1ActivityResponse"];
|
|
7816
|
+
};
|
|
7817
|
+
/** An unexpected error response. */
|
|
7818
|
+
default: {
|
|
7819
|
+
schema: definitions["rpcStatus"];
|
|
7820
|
+
};
|
|
7821
|
+
};
|
|
7822
|
+
};
|
|
7823
|
+
/** Perform pure FROST partial signing for a Spark wallet. Produces partial signatures without constructing operator packages. */
|
|
7824
|
+
PublicApiService_SparkSignFrost: {
|
|
7825
|
+
parameters: {
|
|
7826
|
+
body: {
|
|
7827
|
+
body: definitions["v1SparkSignFrostRequest"];
|
|
7828
|
+
};
|
|
7829
|
+
};
|
|
7830
|
+
responses: {
|
|
7831
|
+
/** A successful response. */
|
|
7832
|
+
200: {
|
|
7833
|
+
schema: definitions["v1ActivityResponse"];
|
|
7834
|
+
};
|
|
7835
|
+
/** An unexpected error response. */
|
|
7836
|
+
default: {
|
|
7837
|
+
schema: definitions["rpcStatus"];
|
|
7838
|
+
};
|
|
7839
|
+
};
|
|
7840
|
+
};
|
|
6448
7841
|
/** Create a session for a user through stamping client side (API key, wallet client, or passkey client). */
|
|
6449
7842
|
PublicApiService_StampLogin: {
|
|
6450
7843
|
parameters: {
|
|
@@ -6727,6 +8120,42 @@ export type operations = {
|
|
|
6727
8120
|
};
|
|
6728
8121
|
};
|
|
6729
8122
|
};
|
|
8123
|
+
/** Refresh feature flags by triggering a DB read to flush the in-memory cache. */
|
|
8124
|
+
PublicApiService_RefreshFeatureFlags: {
|
|
8125
|
+
parameters: {
|
|
8126
|
+
body: {
|
|
8127
|
+
body: definitions["v1RefreshFeatureFlagsRequest"];
|
|
8128
|
+
};
|
|
8129
|
+
};
|
|
8130
|
+
responses: {
|
|
8131
|
+
/** A successful response. */
|
|
8132
|
+
200: {
|
|
8133
|
+
schema: definitions["v1RefreshFeatureFlagsResponse"];
|
|
8134
|
+
};
|
|
8135
|
+
/** An unexpected error response. */
|
|
8136
|
+
default: {
|
|
8137
|
+
schema: definitions["rpcStatus"];
|
|
8138
|
+
};
|
|
8139
|
+
};
|
|
8140
|
+
};
|
|
8141
|
+
/** Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite. */
|
|
8142
|
+
PublicApiService_TestRateLimits: {
|
|
8143
|
+
parameters: {
|
|
8144
|
+
body: {
|
|
8145
|
+
body: definitions["v1TestRateLimitsRequest"];
|
|
8146
|
+
};
|
|
8147
|
+
};
|
|
8148
|
+
responses: {
|
|
8149
|
+
/** A successful response. */
|
|
8150
|
+
200: {
|
|
8151
|
+
schema: definitions["v1TestRateLimitsResponse"];
|
|
8152
|
+
};
|
|
8153
|
+
/** An unexpected error response. */
|
|
8154
|
+
default: {
|
|
8155
|
+
schema: definitions["rpcStatus"];
|
|
8156
|
+
};
|
|
8157
|
+
};
|
|
8158
|
+
};
|
|
6730
8159
|
};
|
|
6731
8160
|
export type external = {};
|
|
6732
8161
|
//# sourceMappingURL=public_api.types.d.ts.map
|