@turnkey/sdk-types 0.14.0 → 1.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 +289 -0
- package/dist/__generated__/types.d.ts +1390 -278
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +779 -16
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +43 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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"];
|
|
@@ -91,6 +95,10 @@ export type paths = {
|
|
|
91
95
|
/** Get details about a single TVC Deployment */
|
|
92
96
|
post: operations["PublicApiService_GetTvcDeployment"];
|
|
93
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
|
+
};
|
|
94
102
|
"/public/v1/query/get_user": {
|
|
95
103
|
/** Get details about a user. */
|
|
96
104
|
post: operations["PublicApiService_GetUser"];
|
|
@@ -179,6 +187,10 @@ export type paths = {
|
|
|
179
187
|
/** List webhook endpoints within an organization. */
|
|
180
188
|
post: operations["PublicApiService_ListWebhookEndpoints"];
|
|
181
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
|
+
};
|
|
182
194
|
"/public/v1/query/whoami": {
|
|
183
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. */
|
|
184
196
|
post: operations["PublicApiService_GetWhoami"];
|
|
@@ -327,6 +339,14 @@ export type paths = {
|
|
|
327
339
|
/** Delete a sub-organization. */
|
|
328
340
|
post: operations["PublicApiService_DeleteSubOrganization"];
|
|
329
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
|
+
};
|
|
330
350
|
"/public/v1/submit/delete_user_tags": {
|
|
331
351
|
/** Delete user tags within an organization. */
|
|
332
352
|
post: operations["PublicApiService_DeleteUserTags"];
|
|
@@ -423,6 +443,10 @@ export type paths = {
|
|
|
423
443
|
/** Create an OTP session for a user. */
|
|
424
444
|
post: operations["PublicApiService_OtpLogin"];
|
|
425
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
|
+
};
|
|
426
450
|
"/public/v1/submit/recover_user": {
|
|
427
451
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
428
452
|
post: operations["PublicApiService_RecoverUser"];
|
|
@@ -431,14 +455,30 @@ export type paths = {
|
|
|
431
455
|
/** Reject an activity. */
|
|
432
456
|
post: operations["PublicApiService_RejectActivity"];
|
|
433
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
|
+
};
|
|
434
462
|
"/public/v1/submit/remove_organization_feature": {
|
|
435
463
|
/** Remove an organization feature. This activity must be approved by the current root quorum. */
|
|
436
464
|
post: operations["PublicApiService_RemoveOrganizationFeature"];
|
|
437
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
|
+
};
|
|
438
474
|
"/public/v1/submit/set_organization_feature": {
|
|
439
475
|
/** Set an organization feature. This activity must be approved by the current root quorum. */
|
|
440
476
|
post: operations["PublicApiService_SetOrganizationFeature"];
|
|
441
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
|
+
};
|
|
442
482
|
"/public/v1/submit/sign_raw_payload": {
|
|
443
483
|
/** Sign a raw payload. */
|
|
444
484
|
post: operations["PublicApiService_SignRawPayload"];
|
|
@@ -455,6 +495,22 @@ export type paths = {
|
|
|
455
495
|
/** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
|
|
456
496
|
post: operations["PublicApiService_SolSendTransaction"];
|
|
457
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
|
+
};
|
|
458
514
|
"/public/v1/submit/stamp_login": {
|
|
459
515
|
/** Create a session for a user through stamping client side (API key, wallet client, or passkey client). */
|
|
460
516
|
post: operations["PublicApiService_StampLogin"];
|
|
@@ -539,6 +595,7 @@ export type definitions = {
|
|
|
539
595
|
billingActivateBillingTierIntent: {
|
|
540
596
|
/** @description The product that the customer wants to subscribe to. */
|
|
541
597
|
productId: string;
|
|
598
|
+
orbPlanId?: string;
|
|
542
599
|
};
|
|
543
600
|
billingActivateBillingTierResult: {
|
|
544
601
|
/** @description The id of the product being subscribed to. */
|
|
@@ -722,9 +779,9 @@ export type definitions = {
|
|
|
722
779
|
/** @enum {string} */
|
|
723
780
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
724
781
|
/** @enum {string} */
|
|
725
|
-
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT";
|
|
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";
|
|
726
783
|
/** @enum {string} */
|
|
727
|
-
v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP";
|
|
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";
|
|
728
785
|
v1ApiKey: {
|
|
729
786
|
/** @description A User credential that can be used to authenticate to Turnkey. */
|
|
730
787
|
credential: definitions["externaldatav1Credential"];
|
|
@@ -1268,7 +1325,7 @@ export type definitions = {
|
|
|
1268
1325
|
v1CreateReadWriteSessionIntentV2: {
|
|
1269
1326
|
/** @description Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
1270
1327
|
targetPublicKey: string;
|
|
1271
|
-
/** @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. */
|
|
1272
1329
|
userId?: string;
|
|
1273
1330
|
/** @description Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
1274
1331
|
apiKeyName?: string;
|
|
@@ -1576,7 +1633,7 @@ export type definitions = {
|
|
|
1576
1633
|
pivotContainerEncryptedPullSecret?: string;
|
|
1577
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. */
|
|
1578
1635
|
debugMode?: boolean;
|
|
1579
|
-
/** @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. */
|
|
1580
1637
|
healthCheckType: definitions["v1TvcHealthCheckType"];
|
|
1581
1638
|
/**
|
|
1582
1639
|
* Format: int64
|
|
@@ -1612,7 +1669,7 @@ export type definitions = {
|
|
|
1612
1669
|
};
|
|
1613
1670
|
v1CreateTvcManifestApprovalsRequest: {
|
|
1614
1671
|
/** @enum {string} */
|
|
1615
|
-
type: "
|
|
1672
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS";
|
|
1616
1673
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1617
1674
|
timestampMs: string;
|
|
1618
1675
|
/** @description Unique identifier for a given Organization. */
|
|
@@ -1995,6 +2052,42 @@ export type definitions = {
|
|
|
1995
2052
|
/** @description Unique identifier of the sub organization that was removed */
|
|
1996
2053
|
subOrganizationUuid: string;
|
|
1997
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
|
+
};
|
|
1998
2091
|
v1DeleteUserTagsIntent: {
|
|
1999
2092
|
/** @description A list of User Tag IDs. */
|
|
2000
2093
|
userTagIds: string[];
|
|
@@ -2291,6 +2384,8 @@ export type definitions = {
|
|
|
2291
2384
|
maxFeePerGas?: string;
|
|
2292
2385
|
/** @description Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
2293
2386
|
maxPriorityFeePerGas?: string;
|
|
2387
|
+
/** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2388
|
+
deadline?: string;
|
|
2294
2389
|
/** @description The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
2295
2390
|
gasStationNonce?: string;
|
|
2296
2391
|
};
|
|
@@ -2516,6 +2611,15 @@ export type definitions = {
|
|
|
2516
2611
|
/** @description The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
|
|
2517
2612
|
usageUsd: string;
|
|
2518
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
|
+
};
|
|
2519
2623
|
v1GetLatestBootProofRequest: {
|
|
2520
2624
|
/** @description Unique identifier for a given Organization. */
|
|
2521
2625
|
organizationId: string;
|
|
@@ -2719,6 +2823,24 @@ export type definitions = {
|
|
|
2719
2823
|
/** @description A list of TVC Apps. */
|
|
2720
2824
|
tvcApps: definitions["v1TvcApp"][];
|
|
2721
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
|
+
};
|
|
2722
2844
|
v1GetTvcDeploymentRequest: {
|
|
2723
2845
|
/** @description Unique identifier for a given organization. */
|
|
2724
2846
|
organizationId: string;
|
|
@@ -2792,7 +2914,7 @@ export type definitions = {
|
|
|
2792
2914
|
v1GetWalletAddressBalancesRequest: {
|
|
2793
2915
|
/** @description Unique identifier for a given organization. */
|
|
2794
2916
|
organizationId: string;
|
|
2795
|
-
/** @description Address corresponding to a wallet account. */
|
|
2917
|
+
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
2796
2918
|
address: string;
|
|
2797
2919
|
/**
|
|
2798
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.
|
|
@@ -3339,6 +3461,17 @@ export type definitions = {
|
|
|
3339
3461
|
createWebhookEndpointIntent?: definitions["v1CreateWebhookEndpointIntent"];
|
|
3340
3462
|
updateWebhookEndpointIntent?: definitions["v1UpdateWebhookEndpointIntent"];
|
|
3341
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"];
|
|
3342
3475
|
};
|
|
3343
3476
|
v1Invitation: {
|
|
3344
3477
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -3372,6 +3505,32 @@ export type definitions = {
|
|
|
3372
3505
|
};
|
|
3373
3506
|
/** @enum {string} */
|
|
3374
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
|
+
};
|
|
3375
3534
|
v1ListFiatOnRampCredentialsRequest: {
|
|
3376
3535
|
/** @description Unique identifier for a given Organization. */
|
|
3377
3536
|
organizationId: string;
|
|
@@ -3452,8 +3611,8 @@ export type definitions = {
|
|
|
3452
3611
|
redirectUri: string;
|
|
3453
3612
|
/** @description The code verifier used by OAuth 2.0 PKCE providers */
|
|
3454
3613
|
codeVerifier: string;
|
|
3455
|
-
/** @description
|
|
3456
|
-
nonce
|
|
3614
|
+
/** @description A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
3615
|
+
nonce: string;
|
|
3457
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 */
|
|
3458
3617
|
bearerTokenTargetPublicKey?: string;
|
|
3459
3618
|
};
|
|
@@ -3692,6 +3851,27 @@ export type definitions = {
|
|
|
3692
3851
|
/** @description A condition expression that evalutes to true or false. */
|
|
3693
3852
|
condition: string;
|
|
3694
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
|
+
};
|
|
3695
3875
|
v1PrivateKey: {
|
|
3696
3876
|
/** @description Unique identifier for a given Private Key. */
|
|
3697
3877
|
privateKeyId: string;
|
|
@@ -3736,6 +3916,14 @@ export type definitions = {
|
|
|
3736
3916
|
response: definitions["v1AuthenticatorAttestationResponse"];
|
|
3737
3917
|
clientExtensionResults: definitions["v1SimpleClientExtensionResults"];
|
|
3738
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
|
+
};
|
|
3739
3927
|
v1RecoverUserIntent: {
|
|
3740
3928
|
/** @description The new authenticator to register. */
|
|
3741
3929
|
authenticator: definitions["v1AuthenticatorParamsV2"];
|
|
@@ -3776,6 +3964,23 @@ export type definitions = {
|
|
|
3776
3964
|
parameters: definitions["v1RejectActivityIntent"];
|
|
3777
3965
|
generateAppProofs?: boolean;
|
|
3778
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
|
+
};
|
|
3779
3984
|
v1RemoveOrganizationFeatureIntent: {
|
|
3780
3985
|
/** @description Name of the feature to remove */
|
|
3781
3986
|
name: definitions["v1FeatureName"];
|
|
@@ -3794,6 +3999,24 @@ export type definitions = {
|
|
|
3794
3999
|
/** @description Resulting list of organization features. */
|
|
3795
4000
|
features: definitions["v1Feature"][];
|
|
3796
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
|
+
};
|
|
3797
4020
|
v1Result: {
|
|
3798
4021
|
createOrganizationResult?: definitions["v1CreateOrganizationResult"];
|
|
3799
4022
|
createAuthenticatorsResult?: definitions["v1CreateAuthenticatorsResult"];
|
|
@@ -3900,6 +4123,17 @@ export type definitions = {
|
|
|
3900
4123
|
createWebhookEndpointResult?: definitions["v1CreateWebhookEndpointResult"];
|
|
3901
4124
|
updateWebhookEndpointResult?: definitions["v1UpdateWebhookEndpointResult"];
|
|
3902
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"];
|
|
3903
4137
|
};
|
|
3904
4138
|
v1RevertChainEntry: {
|
|
3905
4139
|
/** @description The contract address where the revert occurred. */
|
|
@@ -3987,6 +4221,29 @@ export type definitions = {
|
|
|
3987
4221
|
operator?: definitions["v1Operator"];
|
|
3988
4222
|
targets?: string[];
|
|
3989
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
|
+
};
|
|
3990
4247
|
v1SetOrganizationFeatureIntent: {
|
|
3991
4248
|
/** @description Name of the feature to set */
|
|
3992
4249
|
name: definitions["v1FeatureName"];
|
|
@@ -4133,10 +4390,10 @@ export type definitions = {
|
|
|
4133
4390
|
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
4134
4391
|
sponsor?: boolean;
|
|
4135
4392
|
/**
|
|
4136
|
-
* @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.
|
|
4137
4394
|
* @enum {string}
|
|
4138
4395
|
*/
|
|
4139
|
-
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:
|
|
4396
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
4140
4397
|
/** @description user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
4141
4398
|
recentBlockhash?: string;
|
|
4142
4399
|
};
|
|
@@ -4184,6 +4441,229 @@ export type definitions = {
|
|
|
4184
4441
|
/** @description The Solana transaction signature, if available. */
|
|
4185
4442
|
signature?: string;
|
|
4186
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
|
+
};
|
|
4187
4667
|
v1StampLoginIntent: {
|
|
4188
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 */
|
|
4189
4669
|
publicKey: string;
|
|
@@ -4250,6 +4730,10 @@ export type definitions = {
|
|
|
4250
4730
|
enableEgress: boolean;
|
|
4251
4731
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
4252
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;
|
|
4253
4737
|
};
|
|
4254
4738
|
v1TvcContainerSpec: {
|
|
4255
4739
|
/** @description The URL for this container image. */
|
|
@@ -4292,14 +4776,12 @@ export type definitions = {
|
|
|
4292
4776
|
qosVersion: string;
|
|
4293
4777
|
/** @description The pivot container spec for this deployment */
|
|
4294
4778
|
pivotContainer: definitions["v1TvcContainerSpec"];
|
|
4295
|
-
/** @description Current stage for this deployment */
|
|
4296
|
-
stage: definitions["v1TvcDeploymentStage"];
|
|
4297
4779
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
4298
4780
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4781
|
+
/** @description Whether or not the user wants this deployment deleted from the cluster. */
|
|
4782
|
+
delete: boolean;
|
|
4299
4783
|
};
|
|
4300
4784
|
/** @enum {string} */
|
|
4301
|
-
v1TvcDeploymentStage: "TVC_DEPLOYMENT_STAGE_APPROVE" | "TVC_DEPLOYMENT_STAGE_PROVISION" | "TVC_DEPLOYMENT_STAGE_LIVE" | "TVC_DEPLOYMENT_STAGE_DELETE";
|
|
4302
|
-
/** @enum {string} */
|
|
4303
4785
|
v1TvcHealthCheckType: "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
4304
4786
|
v1TvcManifest: {
|
|
4305
4787
|
/** @description Unique Identifier for this TVC Manifest. */
|
|
@@ -4518,6 +5000,7 @@ export type definitions = {
|
|
|
4518
5000
|
/** @description Unique identifier for a given Organization. */
|
|
4519
5001
|
organizationId: string;
|
|
4520
5002
|
parameters: definitions["v1UpdateOrganizationNameIntent"];
|
|
5003
|
+
generateAppProofs?: boolean;
|
|
4521
5004
|
};
|
|
4522
5005
|
v1UpdateOrganizationNameResult: {
|
|
4523
5006
|
/** @description Unique identifier for the Organization. */
|
|
@@ -4617,6 +5100,23 @@ export type definitions = {
|
|
|
4617
5100
|
v1UpdateRootQuorumResult: {
|
|
4618
5101
|
[key: string]: unknown;
|
|
4619
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
|
+
};
|
|
4620
5120
|
v1UpdateUserEmailIntent: {
|
|
4621
5121
|
/** @description Unique identifier for a given User. */
|
|
4622
5122
|
userId: string;
|
|
@@ -4782,7 +5282,7 @@ export type definitions = {
|
|
|
4782
5282
|
orgWindowLimitUsd: string;
|
|
4783
5283
|
/** @description Gas sponsorship USD limit for sub-organizations under the billing organization. */
|
|
4784
5284
|
subOrgWindowLimitUsd: string;
|
|
4785
|
-
/** @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). */
|
|
4786
5286
|
windowDurationMinutes: string;
|
|
4787
5287
|
/** @description Whether gas sponsorship is enabled for the organization. */
|
|
4788
5288
|
enabled?: boolean;
|
|
@@ -4873,6 +5373,17 @@ export type definitions = {
|
|
|
4873
5373
|
/** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
|
|
4874
5374
|
userTags: string[];
|
|
4875
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
|
+
};
|
|
4876
5387
|
v1VerifyOtpIntent: {
|
|
4877
5388
|
/** @description ID representing the result of an init OTP activity. */
|
|
4878
5389
|
otpId: string;
|
|
@@ -5032,7 +5543,7 @@ export type definitions = {
|
|
|
5032
5543
|
subscriptions?: definitions["v1WebhookSubscriptionParams"][];
|
|
5033
5544
|
};
|
|
5034
5545
|
v1WebhookSubscriptionParams: {
|
|
5035
|
-
/** @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). */
|
|
5036
5547
|
eventType: string;
|
|
5037
5548
|
/** @description JSON-encoded filter criteria for this subscription. */
|
|
5038
5549
|
filtersJson?: string;
|
|
@@ -5185,6 +5696,24 @@ export type operations = {
|
|
|
5185
5696
|
};
|
|
5186
5697
|
};
|
|
5187
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
|
+
};
|
|
5188
5717
|
/** Get the latest boot proof for a given enclave app name. */
|
|
5189
5718
|
PublicApiService_GetLatestBootProof: {
|
|
5190
5719
|
parameters: {
|
|
@@ -5437,6 +5966,24 @@ export type operations = {
|
|
|
5437
5966
|
};
|
|
5438
5967
|
};
|
|
5439
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
|
+
};
|
|
5440
5987
|
/** Get details about a user. */
|
|
5441
5988
|
PublicApiService_GetUser: {
|
|
5442
5989
|
parameters: {
|
|
@@ -5833,6 +6380,24 @@ export type operations = {
|
|
|
5833
6380
|
};
|
|
5834
6381
|
};
|
|
5835
6382
|
};
|
|
6383
|
+
/** Validate a container image URL and pull secret for TVC deployment */
|
|
6384
|
+
PublicApiService_ValidateTvcImage: {
|
|
6385
|
+
parameters: {
|
|
6386
|
+
body: {
|
|
6387
|
+
body: definitions["v1ValidateTvcImageRequest"];
|
|
6388
|
+
};
|
|
6389
|
+
};
|
|
6390
|
+
responses: {
|
|
6391
|
+
/** A successful response. */
|
|
6392
|
+
200: {
|
|
6393
|
+
schema: definitions["v1ValidateTvcImageResponse"];
|
|
6394
|
+
};
|
|
6395
|
+
/** An unexpected error response. */
|
|
6396
|
+
default: {
|
|
6397
|
+
schema: definitions["rpcStatus"];
|
|
6398
|
+
};
|
|
6399
|
+
};
|
|
6400
|
+
};
|
|
5836
6401
|
/** 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. */
|
|
5837
6402
|
PublicApiService_GetWhoami: {
|
|
5838
6403
|
parameters: {
|
|
@@ -6499,6 +7064,42 @@ export type operations = {
|
|
|
6499
7064
|
};
|
|
6500
7065
|
};
|
|
6501
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
|
+
};
|
|
6502
7103
|
/** Delete user tags within an organization. */
|
|
6503
7104
|
PublicApiService_DeleteUserTags: {
|
|
6504
7105
|
parameters: {
|
|
@@ -6931,6 +7532,24 @@ export type operations = {
|
|
|
6931
7532
|
};
|
|
6932
7533
|
};
|
|
6933
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
|
+
};
|
|
6934
7553
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
6935
7554
|
PublicApiService_RecoverUser: {
|
|
6936
7555
|
parameters: {
|
|
@@ -6967,6 +7586,24 @@ export type operations = {
|
|
|
6967
7586
|
};
|
|
6968
7587
|
};
|
|
6969
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
|
+
};
|
|
6970
7607
|
/** Remove an organization feature. This activity must be approved by the current root quorum. */
|
|
6971
7608
|
PublicApiService_RemoveOrganizationFeature: {
|
|
6972
7609
|
parameters: {
|
|
@@ -6985,6 +7622,42 @@ export type operations = {
|
|
|
6985
7622
|
};
|
|
6986
7623
|
};
|
|
6987
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
|
+
};
|
|
6988
7661
|
/** Set an organization feature. This activity must be approved by the current root quorum. */
|
|
6989
7662
|
PublicApiService_SetOrganizationFeature: {
|
|
6990
7663
|
parameters: {
|
|
@@ -7003,6 +7676,24 @@ export type operations = {
|
|
|
7003
7676
|
};
|
|
7004
7677
|
};
|
|
7005
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
|
+
};
|
|
7006
7697
|
/** Sign a raw payload. */
|
|
7007
7698
|
PublicApiService_SignRawPayload: {
|
|
7008
7699
|
parameters: {
|
|
@@ -7075,6 +7766,78 @@ export type operations = {
|
|
|
7075
7766
|
};
|
|
7076
7767
|
};
|
|
7077
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
|
+
};
|
|
7078
7841
|
/** Create a session for a user through stamping client side (API key, wallet client, or passkey client). */
|
|
7079
7842
|
PublicApiService_StampLogin: {
|
|
7080
7843
|
parameters: {
|