@turnkey/sdk-types 1.0.0 → 1.2.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.
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export type paths = {
|
|
6
|
+
"/public/v1/query/earn_deposit_status": {
|
|
7
|
+
/** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
|
|
8
|
+
post: operations["PublicApiService_EarnDepositStatus"];
|
|
9
|
+
};
|
|
10
|
+
"/public/v1/query/earn_enabled_vaults": {
|
|
11
|
+
/** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
|
|
12
|
+
post: operations["PublicApiService_EarnEnabledVaults"];
|
|
13
|
+
};
|
|
14
|
+
"/public/v1/query/earn_positions": {
|
|
15
|
+
/** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
|
|
16
|
+
post: operations["PublicApiService_EarnPositions"];
|
|
17
|
+
};
|
|
18
|
+
"/public/v1/query/earn_vaults": {
|
|
19
|
+
/** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
|
|
20
|
+
post: operations["PublicApiService_EarnVaults"];
|
|
21
|
+
};
|
|
22
|
+
"/public/v1/query/earn_withdraw_status": {
|
|
23
|
+
/** Poll the status of a withdrawal by its withdraw_request_id. */
|
|
24
|
+
post: operations["PublicApiService_EarnWithdrawStatus"];
|
|
25
|
+
};
|
|
6
26
|
"/public/v1/query/get_activity": {
|
|
7
27
|
/** Get details about an activity. */
|
|
8
28
|
post: operations["PublicApiService_GetActivity"];
|
|
@@ -43,6 +63,18 @@ export type paths = {
|
|
|
43
63
|
/** Get the latest boot proof for a given enclave app name. */
|
|
44
64
|
post: operations["PublicApiService_GetLatestBootProof"];
|
|
45
65
|
};
|
|
66
|
+
"/public/v1/query/get_mfa_policies": {
|
|
67
|
+
/** Get all MFA policies for a user. */
|
|
68
|
+
post: operations["PublicApiService_GetMfaPolicies"];
|
|
69
|
+
};
|
|
70
|
+
"/public/v1/query/get_mfa_policy": {
|
|
71
|
+
/** Get a single MFA policy for a user. */
|
|
72
|
+
post: operations["PublicApiService_GetMfaPolicy"];
|
|
73
|
+
};
|
|
74
|
+
"/public/v1/query/get_mfa_status": {
|
|
75
|
+
/** Get the MFA status of an activity for a specific user or all voting users. */
|
|
76
|
+
post: operations["PublicApiService_GetMfaStatus"];
|
|
77
|
+
};
|
|
46
78
|
"/public/v1/query/get_nonces": {
|
|
47
79
|
/** Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions. */
|
|
48
80
|
post: operations["PublicApiService_GetNonces"];
|
|
@@ -83,10 +115,26 @@ export type paths = {
|
|
|
83
115
|
/** Get the status of a send transaction request. */
|
|
84
116
|
post: operations["PublicApiService_GetSendTransactionStatus"];
|
|
85
117
|
};
|
|
118
|
+
"/public/v1/query/get_session_profile": {
|
|
119
|
+
/** Get a single session profile for an organization. */
|
|
120
|
+
post: operations["PublicApiService_GetSessionProfile"];
|
|
121
|
+
};
|
|
122
|
+
"/public/v1/query/get_session_profiles": {
|
|
123
|
+
/** Get all session profiles for an organization. */
|
|
124
|
+
post: operations["PublicApiService_GetSessionProfiles"];
|
|
125
|
+
};
|
|
86
126
|
"/public/v1/query/get_smart_contract_interface": {
|
|
87
127
|
/** Get details about a smart contract interface. */
|
|
88
128
|
post: operations["PublicApiService_GetSmartContractInterface"];
|
|
89
129
|
};
|
|
130
|
+
"/public/v1/query/get_swap_quote": {
|
|
131
|
+
/** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
|
|
132
|
+
post: operations["PublicApiService_GetSwapQuote"];
|
|
133
|
+
};
|
|
134
|
+
"/public/v1/query/get_swap_status": {
|
|
135
|
+
/** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
|
|
136
|
+
post: operations["PublicApiService_GetSwapStatus"];
|
|
137
|
+
};
|
|
90
138
|
"/public/v1/query/get_tvc_app": {
|
|
91
139
|
/** Get details about a single TVC App */
|
|
92
140
|
post: operations["PublicApiService_GetTvcApp"];
|
|
@@ -95,6 +143,14 @@ export type paths = {
|
|
|
95
143
|
/** Get details about a single TVC Deployment */
|
|
96
144
|
post: operations["PublicApiService_GetTvcDeployment"];
|
|
97
145
|
};
|
|
146
|
+
"/public/v1/query/get_tvc_deployment_debug_logs": {
|
|
147
|
+
/** Get a bounded window of application logs from a debug-mode TVC deployment. Returned lines are collected from every running replica and sorted by platform timestamp. */
|
|
148
|
+
post: operations["PublicApiService_GetTvcDeploymentDebugLogs"];
|
|
149
|
+
};
|
|
150
|
+
"/public/v1/query/get_tvc_deployment_provisioning_details": {
|
|
151
|
+
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
152
|
+
post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
|
|
153
|
+
};
|
|
98
154
|
"/public/v1/query/get_user": {
|
|
99
155
|
/** Get details about a user. */
|
|
100
156
|
post: operations["PublicApiService_GetUser"];
|
|
@@ -108,7 +164,7 @@ export type paths = {
|
|
|
108
164
|
post: operations["PublicApiService_GetWalletAccount"];
|
|
109
165
|
};
|
|
110
166
|
"/public/v1/query/get_wallet_address_balances": {
|
|
111
|
-
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
167
|
+
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
|
|
112
168
|
post: operations["PublicApiService_GetWalletAddressBalances"];
|
|
113
169
|
};
|
|
114
170
|
"/public/v1/query/list_activities": {
|
|
@@ -119,6 +175,10 @@ export type paths = {
|
|
|
119
175
|
/** List the App Proofs for the given activity. */
|
|
120
176
|
post: operations["PublicApiService_GetAppProofs"];
|
|
121
177
|
};
|
|
178
|
+
"/public/v1/query/list_email_events": {
|
|
179
|
+
/** List email events for the organization. */
|
|
180
|
+
post: operations["PublicApiService_ListEmailEvents"];
|
|
181
|
+
};
|
|
122
182
|
"/public/v1/query/list_fiat_on_ramp_credentials": {
|
|
123
183
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
124
184
|
post: operations["PublicApiService_ListFiatOnRampCredentials"];
|
|
@@ -148,7 +208,7 @@ export type paths = {
|
|
|
148
208
|
post: operations["PublicApiService_GetSubOrgIds"];
|
|
149
209
|
};
|
|
150
210
|
"/public/v1/query/list_supported_assets": {
|
|
151
|
-
/** List supported assets for the specified network.
|
|
211
|
+
/** List supported assets for the specified network. */
|
|
152
212
|
post: operations["PublicApiService_ListSupportedAssets"];
|
|
153
213
|
};
|
|
154
214
|
"/public/v1/query/list_tvc_app_deployments": {
|
|
@@ -215,6 +275,10 @@ export type paths = {
|
|
|
215
275
|
/** Create invitations to join an existing organization. */
|
|
216
276
|
post: operations["PublicApiService_CreateInvitations"];
|
|
217
277
|
};
|
|
278
|
+
"/public/v1/submit/create_mfa_policy": {
|
|
279
|
+
/** Create a new MFA policy for a user. */
|
|
280
|
+
post: operations["PublicApiService_CreateMfaPolicy"];
|
|
281
|
+
};
|
|
218
282
|
"/public/v1/submit/create_oauth2_credential": {
|
|
219
283
|
/** Enable authentication for end users with an OAuth 2.0 provider */
|
|
220
284
|
post: operations["PublicApiService_CreateOauth2Credential"];
|
|
@@ -247,6 +311,10 @@ export type paths = {
|
|
|
247
311
|
/** Create a read write session for a user. */
|
|
248
312
|
post: operations["PublicApiService_CreateReadWriteSession"];
|
|
249
313
|
};
|
|
314
|
+
"/public/v1/submit/create_session_profile": {
|
|
315
|
+
/** Create a new session profile for an organization. */
|
|
316
|
+
post: operations["PublicApiService_CreateSessionProfile"];
|
|
317
|
+
};
|
|
250
318
|
"/public/v1/submit/create_smart_contract_interface": {
|
|
251
319
|
/** Create an ABI/IDL in JSON. */
|
|
252
320
|
post: operations["PublicApiService_CreateSmartContractInterface"];
|
|
@@ -267,6 +335,14 @@ export type paths = {
|
|
|
267
335
|
/** Post one or more manifest approvals for a TVC Manifest */
|
|
268
336
|
post: operations["PublicApiService_CreateTvcManifestApprovals"];
|
|
269
337
|
};
|
|
338
|
+
"/public/v1/submit/create_tvc_operator": {
|
|
339
|
+
/** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
|
|
340
|
+
post: operations["PublicApiService_CreateTvcOperator"];
|
|
341
|
+
};
|
|
342
|
+
"/public/v1/submit/create_tvc_quorum_key": {
|
|
343
|
+
/** Create a hosted TVC quorum key and encrypted shares. */
|
|
344
|
+
post: operations["PublicApiService_CreateTvcQuorumKey"];
|
|
345
|
+
};
|
|
270
346
|
"/public/v1/submit/create_user_tag": {
|
|
271
347
|
/** Create a user tag and add it to users. */
|
|
272
348
|
post: operations["PublicApiService_CreateUserTag"];
|
|
@@ -303,6 +379,10 @@ export type paths = {
|
|
|
303
379
|
/** Delete an existing invitation. */
|
|
304
380
|
post: operations["PublicApiService_DeleteInvitation"];
|
|
305
381
|
};
|
|
382
|
+
"/public/v1/submit/delete_mfa_policy": {
|
|
383
|
+
/** Delete an MFA policy for a user. */
|
|
384
|
+
post: operations["PublicApiService_DeleteMfaPolicy"];
|
|
385
|
+
};
|
|
306
386
|
"/public/v1/submit/delete_oauth2_credential": {
|
|
307
387
|
/** Disable authentication for end users with an OAuth 2.0 provider */
|
|
308
388
|
post: operations["PublicApiService_DeleteOauth2Credential"];
|
|
@@ -335,6 +415,14 @@ export type paths = {
|
|
|
335
415
|
/** Delete a sub-organization. */
|
|
336
416
|
post: operations["PublicApiService_DeleteSubOrganization"];
|
|
337
417
|
};
|
|
418
|
+
"/public/v1/submit/delete_tvc_app_and_deployments": {
|
|
419
|
+
/** Delete a TVC App and all of its deployments */
|
|
420
|
+
post: operations["PublicApiService_DeleteTvcAppAndDeployments"];
|
|
421
|
+
};
|
|
422
|
+
"/public/v1/submit/delete_tvc_deployment": {
|
|
423
|
+
/** Delete a TVC Deployment */
|
|
424
|
+
post: operations["PublicApiService_DeleteTvcDeployment"];
|
|
425
|
+
};
|
|
338
426
|
"/public/v1/submit/delete_user_tags": {
|
|
339
427
|
/** Delete user tags within an organization. */
|
|
340
428
|
post: operations["PublicApiService_DeleteUserTags"];
|
|
@@ -355,6 +443,18 @@ export type paths = {
|
|
|
355
443
|
/** Delete a webhook endpoint for an organization. */
|
|
356
444
|
post: operations["PublicApiService_DeleteWebhookEndpoint"];
|
|
357
445
|
};
|
|
446
|
+
"/public/v1/submit/earn_deploy_wrapper": {
|
|
447
|
+
/** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
|
|
448
|
+
post: operations["PublicApiService_EarnDeployWrapper"];
|
|
449
|
+
};
|
|
450
|
+
"/public/v1/submit/earn_deposit": {
|
|
451
|
+
/** Deposit assets from a wallet into an enabled yield vault. */
|
|
452
|
+
post: operations["PublicApiService_EarnDeposit"];
|
|
453
|
+
};
|
|
454
|
+
"/public/v1/submit/earn_withdraw": {
|
|
455
|
+
/** Withdraw assets or redeem shares from an enabled yield vault. */
|
|
456
|
+
post: operations["PublicApiService_EarnWithdraw"];
|
|
457
|
+
};
|
|
358
458
|
"/public/v1/submit/email_auth": {
|
|
359
459
|
/** Authenticate a user via email. */
|
|
360
460
|
post: operations["PublicApiService_EmailAuth"];
|
|
@@ -367,6 +467,10 @@ export type paths = {
|
|
|
367
467
|
/** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
|
|
368
468
|
post: operations["PublicApiService_EthSendTransaction"];
|
|
369
469
|
};
|
|
470
|
+
"/public/v1/submit/execute_swap": {
|
|
471
|
+
/** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
|
|
472
|
+
post: operations["PublicApiService_ExecuteSwap"];
|
|
473
|
+
};
|
|
370
474
|
"/public/v1/submit/export_private_key": {
|
|
371
475
|
/** Export a private key. */
|
|
372
476
|
post: operations["PublicApiService_ExportPrivateKey"];
|
|
@@ -431,6 +535,14 @@ export type paths = {
|
|
|
431
535
|
/** Create an OTP session for a user. */
|
|
432
536
|
post: operations["PublicApiService_OtpLogin"];
|
|
433
537
|
};
|
|
538
|
+
"/public/v1/submit/post_tvc_quorum_key_share": {
|
|
539
|
+
/** Post re-encrypted quorum key share for a TVC deployment. */
|
|
540
|
+
post: operations["PublicApiService_PostTvcQuorumKeyShare"];
|
|
541
|
+
};
|
|
542
|
+
"/public/v1/submit/re_encrypt_tvc_quorum_key_share": {
|
|
543
|
+
/** Re-encrypt a hosted TVC quorum key share for a deployment. */
|
|
544
|
+
post: operations["PublicApiService_ReEncryptTvcQuorumKeyShare"];
|
|
545
|
+
};
|
|
434
546
|
"/public/v1/submit/recover_user": {
|
|
435
547
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
436
548
|
post: operations["PublicApiService_RecoverUser"];
|
|
@@ -447,6 +559,10 @@ export type paths = {
|
|
|
447
559
|
/** Remove an organization feature. This activity must be approved by the current root quorum. */
|
|
448
560
|
post: operations["PublicApiService_RemoveOrganizationFeature"];
|
|
449
561
|
};
|
|
562
|
+
"/public/v1/submit/restore_tvc_deployment": {
|
|
563
|
+
/** Restore a deleted TVC Deployment */
|
|
564
|
+
post: operations["PublicApiService_RestoreTvcDeployment"];
|
|
565
|
+
};
|
|
450
566
|
"/public/v1/submit/set_ip_allowlist": {
|
|
451
567
|
/** Create or update IP allowlist and rules for organization or API key. The IP allowlist restricts API access to specific CIDR blocks. Organization-level allowlists apply to all API keys unless overridden by a key-specific allowlist. */
|
|
452
568
|
post: operations["PublicApiService_SetIpAllowlist"];
|
|
@@ -455,6 +571,10 @@ export type paths = {
|
|
|
455
571
|
/** Set an organization feature. This activity must be approved by the current root quorum. */
|
|
456
572
|
post: operations["PublicApiService_SetOrganizationFeature"];
|
|
457
573
|
};
|
|
574
|
+
"/public/v1/submit/set_tvc_app_live_deployment": {
|
|
575
|
+
/** Set the live deployment for a TVC App */
|
|
576
|
+
post: operations["PublicApiService_UpdateTvcAppLiveDeployment"];
|
|
577
|
+
};
|
|
458
578
|
"/public/v1/submit/sign_raw_payload": {
|
|
459
579
|
/** Sign a raw payload. */
|
|
460
580
|
post: operations["PublicApiService_SignRawPayload"];
|
|
@@ -471,6 +591,22 @@ export type paths = {
|
|
|
471
591
|
/** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
|
|
472
592
|
post: operations["PublicApiService_SolSendTransaction"];
|
|
473
593
|
};
|
|
594
|
+
"/public/v1/submit/spark_claim_transfer": {
|
|
595
|
+
/** Construct receiver-side encrypted operator packages to claim a Spark transfer. Does not perform FROST signing. */
|
|
596
|
+
post: operations["PublicApiService_SparkClaimTransfer"];
|
|
597
|
+
};
|
|
598
|
+
"/public/v1/submit/spark_prepare_lightning_receive": {
|
|
599
|
+
/** Generate a Lightning preimage and distribute Feldman shares to operators for a Spark Lightning receive. Does not perform FROST signing. */
|
|
600
|
+
post: operations["PublicApiService_SparkPrepareLightningReceive"];
|
|
601
|
+
};
|
|
602
|
+
"/public/v1/submit/spark_prepare_transfer": {
|
|
603
|
+
/** Construct sender-side encrypted operator packages for a Spark BTC transfer. Does not perform FROST signing. */
|
|
604
|
+
post: operations["PublicApiService_SparkPrepareTransfer"];
|
|
605
|
+
};
|
|
606
|
+
"/public/v1/submit/spark_sign_frost": {
|
|
607
|
+
/** Perform pure FROST partial signing for a Spark wallet. Produces partial signatures without constructing operator packages. */
|
|
608
|
+
post: operations["PublicApiService_SparkSignFrost"];
|
|
609
|
+
};
|
|
474
610
|
"/public/v1/submit/stamp_login": {
|
|
475
611
|
/** Create a session for a user through stamping client side (API key, wallet client, or passkey client). */
|
|
476
612
|
post: operations["PublicApiService_StampLogin"];
|
|
@@ -479,6 +615,10 @@ export type paths = {
|
|
|
479
615
|
/** Update a fiat on ramp provider credential */
|
|
480
616
|
post: operations["PublicApiService_UpdateFiatOnRampCredential"];
|
|
481
617
|
};
|
|
618
|
+
"/public/v1/submit/update_mfa_policy": {
|
|
619
|
+
/** Update an MFA policy for a user. */
|
|
620
|
+
post: operations["PublicApiService_UpdateMfaPolicy"];
|
|
621
|
+
};
|
|
482
622
|
"/public/v1/submit/update_oauth2_credential": {
|
|
483
623
|
/** Update an OAuth 2.0 provider credential */
|
|
484
624
|
post: operations["PublicApiService_UpdateOauth2Credential"];
|
|
@@ -527,6 +667,14 @@ export type paths = {
|
|
|
527
667
|
/** Update a webhook endpoint for an organization. */
|
|
528
668
|
post: operations["PublicApiService_UpdateWebhookEndpoint"];
|
|
529
669
|
};
|
|
670
|
+
"/public/v1/submit/upsert_earn_client_fee_config": {
|
|
671
|
+
/** Set the client's Earn fee rate and payout wallet for the organization. */
|
|
672
|
+
post: operations["PublicApiService_UpsertEarnClientFeeConfig"];
|
|
673
|
+
};
|
|
674
|
+
"/public/v1/submit/upsert_swap_config": {
|
|
675
|
+
/** Enable or disable swap configuration for an organization. */
|
|
676
|
+
post: operations["PublicApiService_UpsertSwapConfig"];
|
|
677
|
+
};
|
|
530
678
|
"/public/v1/submit/verify_otp": {
|
|
531
679
|
/** Verify a generic OTP. */
|
|
532
680
|
post: operations["PublicApiService_VerifyOtp"];
|
|
@@ -555,6 +703,7 @@ export type definitions = {
|
|
|
555
703
|
billingActivateBillingTierIntent: {
|
|
556
704
|
/** @description The product that the customer wants to subscribe to. */
|
|
557
705
|
productId: string;
|
|
706
|
+
orbPlanId?: string;
|
|
558
707
|
};
|
|
559
708
|
billingActivateBillingTierResult: {
|
|
560
709
|
/** @description The id of the product being subscribed to. */
|
|
@@ -628,6 +777,8 @@ export type definitions = {
|
|
|
628
777
|
/** @description The public component of a cryptographic key pair used to sign messages and transactions. */
|
|
629
778
|
publicKey: string;
|
|
630
779
|
type: definitions["v1CredentialType"];
|
|
780
|
+
/** @description The session profile associated with this credential, if any. This field is only applicable for credentials of type CREDENTIAL_TYPE_LOGIN. */
|
|
781
|
+
sessionProfileId?: string;
|
|
631
782
|
};
|
|
632
783
|
externaldatav1Quorum: {
|
|
633
784
|
/**
|
|
@@ -736,9 +887,9 @@ export type definitions = {
|
|
|
736
887
|
activity: definitions["v1Activity"];
|
|
737
888
|
};
|
|
738
889
|
/** @enum {string} */
|
|
739
|
-
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
|
|
890
|
+
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
740
891
|
/** @enum {string} */
|
|
741
|
-
v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST";
|
|
892
|
+
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" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_UPSERT_EARN_CLIENT_FEE_CONFIG" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE";
|
|
742
893
|
/** @enum {string} */
|
|
743
894
|
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";
|
|
744
895
|
v1ApiKey: {
|
|
@@ -858,6 +1009,20 @@ export type definitions = {
|
|
|
858
1009
|
/** @description The type of authenticator transports. */
|
|
859
1010
|
transports: definitions["v1AuthenticatorTransport"][];
|
|
860
1011
|
};
|
|
1012
|
+
v1AuthenticationMethod: {
|
|
1013
|
+
/** @description The type of authenticator (e.g., AUTHENTICATION_TYPE_EMAIL, AUTHENTICATION_TYPE_SESSION) required for this MFA step. */
|
|
1014
|
+
type: definitions["v1AuthenticationType"];
|
|
1015
|
+
/** @description Optional specific authenticator ID required (e.g., for requiring a specific session profile id) */
|
|
1016
|
+
id?: string;
|
|
1017
|
+
};
|
|
1018
|
+
v1AuthenticationMethodParams: {
|
|
1019
|
+
/** @description The type of authenticator (e.g., AUTHENTICATION_TYPE_PASSKEY for passkey authentication). */
|
|
1020
|
+
type: definitions["v1AuthenticationType"];
|
|
1021
|
+
/** @description Optional specific authenticator ID required (e.g., UUID of a passkey authenticator). If not provided, any authenticator of the specified type can be used. */
|
|
1022
|
+
id?: string;
|
|
1023
|
+
};
|
|
1024
|
+
/** @enum {string} */
|
|
1025
|
+
v1AuthenticationType: "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION";
|
|
861
1026
|
v1Authenticator: {
|
|
862
1027
|
/** @description Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
|
|
863
1028
|
transports: definitions["v1AuthenticatorTransport"][];
|
|
@@ -908,9 +1073,9 @@ export type definitions = {
|
|
|
908
1073
|
ephemeralPublicKeyHex: string;
|
|
909
1074
|
/** @description The DER encoded COSE Sign1 struct Attestation doc. */
|
|
910
1075
|
awsAttestationDocB64: string;
|
|
911
|
-
/** @description The
|
|
1076
|
+
/** @description The base64 encoded QOS manifest. Encoding depends on qos_manifest_version. */
|
|
912
1077
|
qosManifestB64: string;
|
|
913
|
-
/** @description The
|
|
1078
|
+
/** @description The base64 encoded QOS manifest envelope. Encoding depends on qos_manifest_version. */
|
|
914
1079
|
qosManifestEnvelopeB64: string;
|
|
915
1080
|
/** @description The label under which the enclave app was deployed. */
|
|
916
1081
|
deploymentLabel: string;
|
|
@@ -919,6 +1084,8 @@ export type definitions = {
|
|
|
919
1084
|
/** @description Owner of the app i.e. 'tkhq' */
|
|
920
1085
|
owner: string;
|
|
921
1086
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
1087
|
+
/** @description QOS manifest schema version. */
|
|
1088
|
+
qosManifestVersion?: string;
|
|
922
1089
|
};
|
|
923
1090
|
v1BootProofResponse: {
|
|
924
1091
|
bootProof: definitions["v1BootProof"];
|
|
@@ -1055,6 +1222,36 @@ export type definitions = {
|
|
|
1055
1222
|
/** @description A list of Invitation IDs */
|
|
1056
1223
|
invitationIds: string[];
|
|
1057
1224
|
};
|
|
1225
|
+
v1CreateMfaPolicyIntent: {
|
|
1226
|
+
/** @description The ID of the User to add the MFA Policy to. */
|
|
1227
|
+
userId: string;
|
|
1228
|
+
/** @description Human-readable name for a Policy. */
|
|
1229
|
+
mfaPolicyName: string;
|
|
1230
|
+
/** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
1231
|
+
condition: string;
|
|
1232
|
+
/** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
1233
|
+
requiredAuthenticationMethods: definitions["v1RequiredAuthenticationMethodParams"][];
|
|
1234
|
+
/**
|
|
1235
|
+
* Format: int64
|
|
1236
|
+
* @description The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first.
|
|
1237
|
+
*/
|
|
1238
|
+
order: number;
|
|
1239
|
+
/** @description Notes for an MFA Policy. */
|
|
1240
|
+
notes?: string;
|
|
1241
|
+
};
|
|
1242
|
+
v1CreateMfaPolicyRequest: {
|
|
1243
|
+
/** @enum {string} */
|
|
1244
|
+
type: "ACTIVITY_TYPE_CREATE_MFA_POLICY";
|
|
1245
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1246
|
+
timestampMs: string;
|
|
1247
|
+
/** @description Unique identifier for a given Organization. */
|
|
1248
|
+
organizationId: string;
|
|
1249
|
+
parameters: definitions["v1CreateMfaPolicyIntent"];
|
|
1250
|
+
};
|
|
1251
|
+
v1CreateMfaPolicyResult: {
|
|
1252
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
1253
|
+
mfaPolicyId: string;
|
|
1254
|
+
};
|
|
1058
1255
|
v1CreateOauth2CredentialIntent: {
|
|
1059
1256
|
/** @description The OAuth 2.0 provider */
|
|
1060
1257
|
provider: definitions["v1Oauth2Provider"];
|
|
@@ -1284,7 +1481,7 @@ export type definitions = {
|
|
|
1284
1481
|
v1CreateReadWriteSessionIntentV2: {
|
|
1285
1482
|
/** @description Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted. */
|
|
1286
1483
|
targetPublicKey: string;
|
|
1287
|
-
/** @description
|
|
1484
|
+
/** @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. */
|
|
1288
1485
|
userId?: string;
|
|
1289
1486
|
/** @description Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp> */
|
|
1290
1487
|
apiKeyName?: string;
|
|
@@ -1331,6 +1528,29 @@ export type definitions = {
|
|
|
1331
1528
|
/** @description HPKE encrypted credential bundle */
|
|
1332
1529
|
credentialBundle: string;
|
|
1333
1530
|
};
|
|
1531
|
+
v1CreateSessionProfileIntent: {
|
|
1532
|
+
/** @description Human-readable name for a Session Profile. */
|
|
1533
|
+
sessionProfileName: string;
|
|
1534
|
+
/** @description The scope string that defines the permissions for this Session Profile. */
|
|
1535
|
+
scope: string;
|
|
1536
|
+
/** @description The duration in seconds for which sessions created with this Session Profile are valid. If not set, expiration will be determined by the value passed in to the intent of login activities. */
|
|
1537
|
+
expirationSeconds?: string;
|
|
1538
|
+
/** @description Notes for a Session Profile. */
|
|
1539
|
+
notes?: string;
|
|
1540
|
+
};
|
|
1541
|
+
v1CreateSessionProfileRequest: {
|
|
1542
|
+
/** @enum {string} */
|
|
1543
|
+
type: "ACTIVITY_TYPE_CREATE_SESSION_PROFILE";
|
|
1544
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1545
|
+
timestampMs: string;
|
|
1546
|
+
/** @description Unique identifier for a given Organization. */
|
|
1547
|
+
organizationId: string;
|
|
1548
|
+
parameters: definitions["v1CreateSessionProfileIntent"];
|
|
1549
|
+
};
|
|
1550
|
+
v1CreateSessionProfileResult: {
|
|
1551
|
+
/** @description Unique identifier for a given Session Profile. */
|
|
1552
|
+
sessionProfileId: string;
|
|
1553
|
+
};
|
|
1334
1554
|
v1CreateSmartContractInterfaceIntent: {
|
|
1335
1555
|
/** @description Corresponding contract address or program ID */
|
|
1336
1556
|
smartContractAddress: string;
|
|
@@ -1547,6 +1767,8 @@ export type definitions = {
|
|
|
1547
1767
|
shareSetParams?: definitions["v1TvcOperatorSetParams"];
|
|
1548
1768
|
/** @description Enables network egress for this TVC app. Default if not provided: false. */
|
|
1549
1769
|
enableEgress?: boolean;
|
|
1770
|
+
/** @description When true, this app may create deployments in debug-mode. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. Cannot be changed after app creation. Setting this true means the app's quorum key is considered permanently insecure, and a new app with a fresh quorum key must be created. Default if not provided: false. */
|
|
1771
|
+
enableDebugModeDeployments?: boolean;
|
|
1550
1772
|
};
|
|
1551
1773
|
v1CreateTvcAppRequest: {
|
|
1552
1774
|
/** @enum {string} */
|
|
@@ -1628,7 +1850,7 @@ export type definitions = {
|
|
|
1628
1850
|
};
|
|
1629
1851
|
v1CreateTvcManifestApprovalsRequest: {
|
|
1630
1852
|
/** @enum {string} */
|
|
1631
|
-
type: "
|
|
1853
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS";
|
|
1632
1854
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1633
1855
|
timestampMs: string;
|
|
1634
1856
|
/** @description Unique identifier for a given Organization. */
|
|
@@ -1639,6 +1861,63 @@ export type definitions = {
|
|
|
1639
1861
|
/** @description The unique identifier(s) for the manifest approvals */
|
|
1640
1862
|
approvalIds: string[];
|
|
1641
1863
|
};
|
|
1864
|
+
v1CreateTvcOperatorIntent: {
|
|
1865
|
+
/** @description Human-readable name for a new wallet created for this TVC operator */
|
|
1866
|
+
walletName?: string;
|
|
1867
|
+
/** @description Unique identifier for an existing wallet to reuse for this TVC operator */
|
|
1868
|
+
walletId?: string;
|
|
1869
|
+
/** @description Base derivation path for creating TVC operator wallet accounts */
|
|
1870
|
+
path: string;
|
|
1871
|
+
/** @description Human-readable name for this new TVC operator */
|
|
1872
|
+
operatorName: string;
|
|
1873
|
+
};
|
|
1874
|
+
v1CreateTvcOperatorRequest: {
|
|
1875
|
+
/** @enum {string} */
|
|
1876
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_OPERATOR";
|
|
1877
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1878
|
+
timestampMs: string;
|
|
1879
|
+
/** @description Unique identifier for a given Organization. */
|
|
1880
|
+
organizationId: string;
|
|
1881
|
+
parameters: definitions["v1CreateTvcOperatorIntent"];
|
|
1882
|
+
generateAppProofs?: boolean;
|
|
1883
|
+
};
|
|
1884
|
+
v1CreateTvcOperatorResult: {
|
|
1885
|
+
/** @description The unique identifier for the wallet containing TVC operator accounts */
|
|
1886
|
+
walletId: string;
|
|
1887
|
+
/** @description The unique identifier for the TVC operator */
|
|
1888
|
+
operatorId: string;
|
|
1889
|
+
/** @description Public encryption key for this TVC operator */
|
|
1890
|
+
encryptPublicKey: string;
|
|
1891
|
+
/** @description Public signing key for this TVC operator */
|
|
1892
|
+
signPublicKey: string;
|
|
1893
|
+
};
|
|
1894
|
+
v1CreateTvcQuorumKeyIntent: {
|
|
1895
|
+
/**
|
|
1896
|
+
* Format: int64
|
|
1897
|
+
* @description The threshold of operators needed to reassemble this TVC quorum key
|
|
1898
|
+
*/
|
|
1899
|
+
threshold: number;
|
|
1900
|
+
/** @description Operator public keys used to encrypt and later approve the generated TVC quorum key shares */
|
|
1901
|
+
operatorEncryptKeys: string[];
|
|
1902
|
+
};
|
|
1903
|
+
v1CreateTvcQuorumKeyRequest: {
|
|
1904
|
+
/** @enum {string} */
|
|
1905
|
+
type: "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY";
|
|
1906
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1907
|
+
timestampMs: string;
|
|
1908
|
+
/** @description Unique identifier for a given Organization. */
|
|
1909
|
+
organizationId: string;
|
|
1910
|
+
parameters: definitions["v1CreateTvcQuorumKeyIntent"];
|
|
1911
|
+
generateAppProofs?: boolean;
|
|
1912
|
+
};
|
|
1913
|
+
v1CreateTvcQuorumKeyResult: {
|
|
1914
|
+
/** @description The unique identifier for the TVC quorum key */
|
|
1915
|
+
quorumKeyId: string;
|
|
1916
|
+
/** @description Public key for the generated TVC quorum key */
|
|
1917
|
+
quorumPublicKey: string;
|
|
1918
|
+
/** @description The unique identifier(s) for the generated TVC quorum key shares */
|
|
1919
|
+
shareIds: string[];
|
|
1920
|
+
};
|
|
1642
1921
|
v1CreateUserTagIntent: {
|
|
1643
1922
|
/** @description Human-readable name for a User Tag. */
|
|
1644
1923
|
userTagName: string;
|
|
@@ -1853,6 +2132,25 @@ export type definitions = {
|
|
|
1853
2132
|
/** @description Unique identifier for a given Invitation. */
|
|
1854
2133
|
invitationId: string;
|
|
1855
2134
|
};
|
|
2135
|
+
v1DeleteMfaPolicyIntent: {
|
|
2136
|
+
/** @description The ID of the User to delete the MFA Policy from. */
|
|
2137
|
+
userId: string;
|
|
2138
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
2139
|
+
mfaPolicyId: string;
|
|
2140
|
+
};
|
|
2141
|
+
v1DeleteMfaPolicyRequest: {
|
|
2142
|
+
/** @enum {string} */
|
|
2143
|
+
type: "ACTIVITY_TYPE_DELETE_MFA_POLICY";
|
|
2144
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2145
|
+
timestampMs: string;
|
|
2146
|
+
/** @description Unique identifier for a given Organization. */
|
|
2147
|
+
organizationId: string;
|
|
2148
|
+
parameters: definitions["v1DeleteMfaPolicyIntent"];
|
|
2149
|
+
};
|
|
2150
|
+
v1DeleteMfaPolicyResult: {
|
|
2151
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
2152
|
+
mfaPolicyId: string;
|
|
2153
|
+
};
|
|
1856
2154
|
v1DeleteOauth2CredentialIntent: {
|
|
1857
2155
|
/** @description The ID of the OAuth 2.0 credential to delete */
|
|
1858
2156
|
oauth2CredentialId: string;
|
|
@@ -2011,6 +2309,42 @@ export type definitions = {
|
|
|
2011
2309
|
/** @description Unique identifier of the sub organization that was removed */
|
|
2012
2310
|
subOrganizationUuid: string;
|
|
2013
2311
|
};
|
|
2312
|
+
v1DeleteTvcAppAndDeploymentsIntent: {
|
|
2313
|
+
/** @description The unique identifier of the TVC app to delete. The app and all associated deployments will be removed. */
|
|
2314
|
+
appId: string;
|
|
2315
|
+
};
|
|
2316
|
+
v1DeleteTvcAppAndDeploymentsRequest: {
|
|
2317
|
+
/** @enum {string} */
|
|
2318
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS";
|
|
2319
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2320
|
+
timestampMs: string;
|
|
2321
|
+
/** @description Unique identifier for a given Organization. */
|
|
2322
|
+
organizationId: string;
|
|
2323
|
+
parameters: definitions["v1DeleteTvcAppAndDeploymentsIntent"];
|
|
2324
|
+
generateAppProofs?: boolean;
|
|
2325
|
+
};
|
|
2326
|
+
v1DeleteTvcAppAndDeploymentsResult: {
|
|
2327
|
+
/** @description The unique identifier of the deleted TVC app. */
|
|
2328
|
+
appId: string;
|
|
2329
|
+
};
|
|
2330
|
+
v1DeleteTvcDeploymentIntent: {
|
|
2331
|
+
/** @description The unique identifier of the TVC deployment to delete. */
|
|
2332
|
+
deploymentId: string;
|
|
2333
|
+
};
|
|
2334
|
+
v1DeleteTvcDeploymentRequest: {
|
|
2335
|
+
/** @enum {string} */
|
|
2336
|
+
type: "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT";
|
|
2337
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2338
|
+
timestampMs: string;
|
|
2339
|
+
/** @description Unique identifier for a given Organization. */
|
|
2340
|
+
organizationId: string;
|
|
2341
|
+
parameters: definitions["v1DeleteTvcDeploymentIntent"];
|
|
2342
|
+
generateAppProofs?: boolean;
|
|
2343
|
+
};
|
|
2344
|
+
v1DeleteTvcDeploymentResult: {
|
|
2345
|
+
/** @description The unique identifier of the deleted TVC deployment. */
|
|
2346
|
+
deploymentId: string;
|
|
2347
|
+
};
|
|
2014
2348
|
v1DeleteUserTagsIntent: {
|
|
2015
2349
|
/** @description A list of User Tag IDs. */
|
|
2016
2350
|
userTagIds: string[];
|
|
@@ -2137,6 +2471,224 @@ export type definitions = {
|
|
|
2137
2471
|
/** @description Unique identifier for a given Private Key. */
|
|
2138
2472
|
privateKeyId: string;
|
|
2139
2473
|
};
|
|
2474
|
+
v1EarnDeployWrapperIntent: {
|
|
2475
|
+
/** @description Address of the underlying yield vault to wrap (from the EarnVaults catalog). */
|
|
2476
|
+
vaultAddress: string;
|
|
2477
|
+
/**
|
|
2478
|
+
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2479
|
+
* @enum {string}
|
|
2480
|
+
*/
|
|
2481
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2482
|
+
};
|
|
2483
|
+
v1EarnDeployWrapperRequest: {
|
|
2484
|
+
/** @enum {string} */
|
|
2485
|
+
type: "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER";
|
|
2486
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2487
|
+
timestampMs: string;
|
|
2488
|
+
/** @description Unique identifier for a given Organization. */
|
|
2489
|
+
organizationId: string;
|
|
2490
|
+
parameters: definitions["v1EarnDeployWrapperIntent"];
|
|
2491
|
+
generateAppProofs?: boolean;
|
|
2492
|
+
};
|
|
2493
|
+
v1EarnDeployWrapperResult: {
|
|
2494
|
+
/** @description Address of the deployed fee wrapper (the deposit target). */
|
|
2495
|
+
wrapperAddress: string;
|
|
2496
|
+
/** @description Address of the deployed fee splitter (PaymentSplitter for Morpho, RevenueSplitterOwner for Aave). */
|
|
2497
|
+
splitterAddress: string;
|
|
2498
|
+
/** @description Transaction hash of the wrapper deployment. */
|
|
2499
|
+
deployTxHash: string;
|
|
2500
|
+
};
|
|
2501
|
+
v1EarnDepositIntent: {
|
|
2502
|
+
/** @description Address of the underlying yield vault to deposit into. The org must have an enabled wrapper for this vault. */
|
|
2503
|
+
vaultAddress: string;
|
|
2504
|
+
/** @description A Wallet account address or Private Key address to deposit from and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
|
|
2505
|
+
signWith: string;
|
|
2506
|
+
/** @description Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
|
|
2507
|
+
assets: string;
|
|
2508
|
+
/**
|
|
2509
|
+
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2510
|
+
* @enum {string}
|
|
2511
|
+
*/
|
|
2512
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2513
|
+
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2514
|
+
sponsor?: boolean;
|
|
2515
|
+
};
|
|
2516
|
+
v1EarnDepositRequest: {
|
|
2517
|
+
/** @enum {string} */
|
|
2518
|
+
type: "ACTIVITY_TYPE_EARN_DEPOSIT";
|
|
2519
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2520
|
+
timestampMs: string;
|
|
2521
|
+
/** @description Unique identifier for a given Organization. */
|
|
2522
|
+
organizationId: string;
|
|
2523
|
+
parameters: definitions["v1EarnDepositIntent"];
|
|
2524
|
+
generateAppProofs?: boolean;
|
|
2525
|
+
};
|
|
2526
|
+
v1EarnDepositResult: {
|
|
2527
|
+
/** @description Transaction hash of the deposit. */
|
|
2528
|
+
depositTxHash: string;
|
|
2529
|
+
/** @description Number of wrapper shares minted to the depositor, in raw on-chain units. */
|
|
2530
|
+
sharesMinted: string;
|
|
2531
|
+
/** @description Address of the fee wrapper the deposit was routed to. */
|
|
2532
|
+
wrapperAddress: string;
|
|
2533
|
+
/** @description Identifier to poll deposit status via EarnDepositStatus (for the async/sponsored path). */
|
|
2534
|
+
depositRequestId: string;
|
|
2535
|
+
};
|
|
2536
|
+
v1EarnDepositStatusRequest: {
|
|
2537
|
+
/** @description Unique identifier for a given Organization. */
|
|
2538
|
+
organizationId: string;
|
|
2539
|
+
/** @description The deposit_request_id returned by EarnDeposit. */
|
|
2540
|
+
depositRequestId: string;
|
|
2541
|
+
};
|
|
2542
|
+
v1EarnDepositStatusResponse: {
|
|
2543
|
+
/**
|
|
2544
|
+
* @description Status of the deposit.
|
|
2545
|
+
* @enum {string}
|
|
2546
|
+
*/
|
|
2547
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
2548
|
+
/** @description Transaction hash of the deposit, once available. */
|
|
2549
|
+
depositTxHash?: string;
|
|
2550
|
+
};
|
|
2551
|
+
v1EarnEnabledVault: {
|
|
2552
|
+
/** @description Address of the underlying yield vault. */
|
|
2553
|
+
vaultAddress?: string;
|
|
2554
|
+
/** @description Address of the deployed fee wrapper (the deposit target). */
|
|
2555
|
+
wrapperAddress?: string;
|
|
2556
|
+
/** @description Address of the deployed fee splitter. */
|
|
2557
|
+
splitterAddress?: string;
|
|
2558
|
+
/** @description CAIP-2 chain ID the vault lives on. */
|
|
2559
|
+
chainCaip2?: string;
|
|
2560
|
+
/** @description Yield provider for the vault ('morpho' or 'aave'). */
|
|
2561
|
+
provider?: string;
|
|
2562
|
+
/** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
|
|
2563
|
+
asset?: string;
|
|
2564
|
+
/** @description Current annual percentage yield, expressed as a decimal fraction. */
|
|
2565
|
+
apyPct?: string;
|
|
2566
|
+
/** @description Total deposited through this wrapper (wrapper TVL), in raw on-chain units of the underlying asset. */
|
|
2567
|
+
totalDeposited?: string;
|
|
2568
|
+
};
|
|
2569
|
+
v1EarnEnabledVaultsRequest: {
|
|
2570
|
+
/** @description Unique identifier for a given Organization. */
|
|
2571
|
+
organizationId: string;
|
|
2572
|
+
};
|
|
2573
|
+
v1EarnEnabledVaultsResponse: {
|
|
2574
|
+
/** @description The organization's deployed wrappers. */
|
|
2575
|
+
enabledVaults?: definitions["v1EarnEnabledVault"][];
|
|
2576
|
+
};
|
|
2577
|
+
v1EarnPosition: {
|
|
2578
|
+
/** @description Address of the underlying yield vault. */
|
|
2579
|
+
vaultAddress?: string;
|
|
2580
|
+
/** @description Address of the fee wrapper holding the position. */
|
|
2581
|
+
wrapperAddress?: string;
|
|
2582
|
+
/** @description CAIP-2 chain ID the vault lives on. */
|
|
2583
|
+
chainCaip2?: string;
|
|
2584
|
+
/** @description Yield provider for the vault ('morpho' or 'aave'). */
|
|
2585
|
+
provider?: string;
|
|
2586
|
+
/** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
|
|
2587
|
+
asset?: string;
|
|
2588
|
+
/** @description Number of wrapper shares held, in raw on-chain units. */
|
|
2589
|
+
shares?: string;
|
|
2590
|
+
/** @description Current value of the position in the underlying asset, in raw on-chain units (already net of the wrapper fee). */
|
|
2591
|
+
currentValue?: string;
|
|
2592
|
+
/** @description Net amount deposited, in raw on-chain units. */
|
|
2593
|
+
costBasis?: string;
|
|
2594
|
+
/** @description Yield grossed up for display, in raw on-chain units. */
|
|
2595
|
+
grossYield?: string;
|
|
2596
|
+
/** @description Combined Turnkey + client fee on the yield, in raw on-chain units. */
|
|
2597
|
+
projectedFee?: string;
|
|
2598
|
+
/** @description Yield net of fees, in raw on-chain units. */
|
|
2599
|
+
yieldLessFees?: string;
|
|
2600
|
+
};
|
|
2601
|
+
v1EarnPositionsRequest: {
|
|
2602
|
+
/** @description Unique identifier for a given Organization. */
|
|
2603
|
+
organizationId: string;
|
|
2604
|
+
/** @description The wallet address to return positions for. */
|
|
2605
|
+
walletAddress: string;
|
|
2606
|
+
};
|
|
2607
|
+
v1EarnPositionsResponse: {
|
|
2608
|
+
/** @description The wallet's active Earn positions. */
|
|
2609
|
+
positions?: definitions["v1EarnPosition"][];
|
|
2610
|
+
};
|
|
2611
|
+
v1EarnVault: {
|
|
2612
|
+
/** @description Address of the underlying yield vault. */
|
|
2613
|
+
vaultAddress?: string;
|
|
2614
|
+
/** @description CAIP-2 chain ID the vault lives on. */
|
|
2615
|
+
chainCaip2?: string;
|
|
2616
|
+
/** @description Yield provider for the vault ('morpho' or 'aave'). */
|
|
2617
|
+
provider?: string;
|
|
2618
|
+
/** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
|
|
2619
|
+
asset?: string;
|
|
2620
|
+
/** @description Token address of the vault's underlying asset. */
|
|
2621
|
+
assetAddress?: string;
|
|
2622
|
+
/** @description Total value locked in the vault, in raw on-chain units of the underlying asset. */
|
|
2623
|
+
tvl?: string;
|
|
2624
|
+
/** @description Current annual percentage yield, expressed as a decimal fraction (e.g., '0.0812' for 8.12%). */
|
|
2625
|
+
apyPct?: string;
|
|
2626
|
+
/** @description Whether the organization has enabled this vault. */
|
|
2627
|
+
enabled?: boolean;
|
|
2628
|
+
};
|
|
2629
|
+
v1EarnVaultsRequest: {
|
|
2630
|
+
/** @description Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
|
|
2631
|
+
organizationId: string;
|
|
2632
|
+
};
|
|
2633
|
+
v1EarnVaultsResponse: {
|
|
2634
|
+
/** @description The catalog of wrappable vaults, sorted by TVL descending. */
|
|
2635
|
+
vaults?: definitions["v1EarnVault"][];
|
|
2636
|
+
};
|
|
2637
|
+
v1EarnWithdrawIntent: {
|
|
2638
|
+
/** @description Address of the underlying yield vault to withdraw from. The org must have an enabled wrapper for this vault. */
|
|
2639
|
+
vaultAddress: string;
|
|
2640
|
+
/** @description A Wallet account address or Private Key address to withdraw to and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
|
|
2641
|
+
signWith: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2644
|
+
* @enum {string}
|
|
2645
|
+
*/
|
|
2646
|
+
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2647
|
+
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2648
|
+
sponsor?: boolean;
|
|
2649
|
+
/**
|
|
2650
|
+
* @description Whether amount_value is denominated in shares or assets. 'SHARES' redeems wrapper shares (calls redeem()); 'ASSETS' withdraws underlying assets (calls withdraw(), enabling yield-only claims).
|
|
2651
|
+
* @enum {string}
|
|
2652
|
+
*/
|
|
2653
|
+
amountType: "SHARES" | "ASSETS";
|
|
2654
|
+
/** @description The amount to withdraw, in raw on-chain units, interpreted according to amount_type. */
|
|
2655
|
+
amountValue: string;
|
|
2656
|
+
};
|
|
2657
|
+
v1EarnWithdrawRequest: {
|
|
2658
|
+
/** @enum {string} */
|
|
2659
|
+
type: "ACTIVITY_TYPE_EARN_WITHDRAW";
|
|
2660
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2661
|
+
timestampMs: string;
|
|
2662
|
+
/** @description Unique identifier for a given Organization. */
|
|
2663
|
+
organizationId: string;
|
|
2664
|
+
parameters: definitions["v1EarnWithdrawIntent"];
|
|
2665
|
+
generateAppProofs?: boolean;
|
|
2666
|
+
};
|
|
2667
|
+
v1EarnWithdrawResult: {
|
|
2668
|
+
/** @description Transaction hash of the withdrawal. */
|
|
2669
|
+
withdrawTxHash: string;
|
|
2670
|
+
/** @description Identifier to poll withdrawal status via EarnWithdrawStatus. */
|
|
2671
|
+
withdrawRequestId: string;
|
|
2672
|
+
/** @description Amount of the underlying asset received, in raw on-chain units. */
|
|
2673
|
+
assetsReceived: string;
|
|
2674
|
+
/** @description Number of wrapper shares burned, in raw on-chain units. */
|
|
2675
|
+
sharesBurned: string;
|
|
2676
|
+
};
|
|
2677
|
+
v1EarnWithdrawStatusRequest: {
|
|
2678
|
+
/** @description Unique identifier for a given Organization. */
|
|
2679
|
+
organizationId: string;
|
|
2680
|
+
/** @description The withdraw_request_id returned by EarnWithdraw. */
|
|
2681
|
+
withdrawRequestId: string;
|
|
2682
|
+
};
|
|
2683
|
+
v1EarnWithdrawStatusResponse: {
|
|
2684
|
+
/**
|
|
2685
|
+
* @description Status of the withdrawal.
|
|
2686
|
+
* @enum {string}
|
|
2687
|
+
*/
|
|
2688
|
+
status: "PENDING" | "COMPLETE" | "FAILED";
|
|
2689
|
+
/** @description Transaction hash of the withdrawal, once available. */
|
|
2690
|
+
withdrawTxHash?: string;
|
|
2691
|
+
};
|
|
2140
2692
|
/** @enum {string} */
|
|
2141
2693
|
v1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
2142
2694
|
v1EmailAuthCustomizationParams: {
|
|
@@ -2249,6 +2801,45 @@ export type definitions = {
|
|
|
2249
2801
|
/** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
|
|
2250
2802
|
templateId?: string;
|
|
2251
2803
|
};
|
|
2804
|
+
v1EmailEvent: {
|
|
2805
|
+
/** @description Unique identifier for the email event */
|
|
2806
|
+
id: string;
|
|
2807
|
+
/** @description Unique identifier for the organization associated with the email event */
|
|
2808
|
+
organizationId: string;
|
|
2809
|
+
/** @description Provider message identifier. Multiple events can share the same message ID */
|
|
2810
|
+
messageId: string;
|
|
2811
|
+
/** @description Email event type, such as Send, Delivery, Bounce, or DeliveryDelay */
|
|
2812
|
+
eventType: string;
|
|
2813
|
+
/** @description Sender email address */
|
|
2814
|
+
fromAddress: string;
|
|
2815
|
+
/** @description Recipient email address */
|
|
2816
|
+
toAddress: string;
|
|
2817
|
+
/** @description SES tenant that sent the email, when available */
|
|
2818
|
+
senderTenant?: string;
|
|
2819
|
+
/** @description Event timestamp as millisecond epoch string */
|
|
2820
|
+
timestamp: string;
|
|
2821
|
+
/** @description Creation timestamp as millisecond epoch string */
|
|
2822
|
+
createdAt: string;
|
|
2823
|
+
/** @description Parsed email event details. Fields are populated based on event type and available provider metadata */
|
|
2824
|
+
details: definitions["v1EmailEventDetails"];
|
|
2825
|
+
};
|
|
2826
|
+
v1EmailEventDetails: {
|
|
2827
|
+
/** @description Bounce type for Bounce events */
|
|
2828
|
+
bounceType?: string;
|
|
2829
|
+
/** @description Bounce subtype for Bounce events */
|
|
2830
|
+
bounceSubType?: string;
|
|
2831
|
+
/** @description Diagnostic text for Bounce or DeliveryDelay events */
|
|
2832
|
+
diagnosticCode?: string;
|
|
2833
|
+
/** @description SMTP response for Delivery events */
|
|
2834
|
+
deliverySmtpResponse?: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* Format: uint64
|
|
2837
|
+
* @description Processing time in milliseconds for Delivery events
|
|
2838
|
+
*/
|
|
2839
|
+
deliveryProcessingTimeMillis?: string;
|
|
2840
|
+
/** @description Delay type for DeliveryDelay events */
|
|
2841
|
+
deliveryDelayType?: string;
|
|
2842
|
+
};
|
|
2252
2843
|
v1EnableAuthProxyIntent: {
|
|
2253
2844
|
[key: string]: unknown;
|
|
2254
2845
|
};
|
|
@@ -2256,6 +2847,14 @@ export type definitions = {
|
|
|
2256
2847
|
/** @description A User ID with permission to initiate authentication. */
|
|
2257
2848
|
userId: string;
|
|
2258
2849
|
};
|
|
2850
|
+
v1EthCallParams: {
|
|
2851
|
+
/** @description Recipient address as a hex string with 0x prefix. */
|
|
2852
|
+
to: string;
|
|
2853
|
+
/** @description Amount of native asset to send in wei. */
|
|
2854
|
+
value?: string;
|
|
2855
|
+
/** @description Hex-encoded call data for contract interactions. */
|
|
2856
|
+
data?: string;
|
|
2857
|
+
};
|
|
2259
2858
|
v1EthFailureDetails: {
|
|
2260
2859
|
/** @description Ethereum revert chain, ordered from outermost to innermost. */
|
|
2261
2860
|
revertChain?: definitions["v1RevertChainEntry"][];
|
|
@@ -2267,7 +2866,7 @@ export type definitions = {
|
|
|
2267
2866
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2268
2867
|
* @enum {string}
|
|
2269
2868
|
*/
|
|
2270
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2869
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2271
2870
|
};
|
|
2272
2871
|
v1EthSendRawTransactionRequest: {
|
|
2273
2872
|
/** @enum {string} */
|
|
@@ -2292,7 +2891,7 @@ export type definitions = {
|
|
|
2292
2891
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2293
2892
|
* @enum {string}
|
|
2294
2893
|
*/
|
|
2295
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
2894
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2296
2895
|
/** @description Recipient address as a hex string with 0x prefix. */
|
|
2297
2896
|
to: string;
|
|
2298
2897
|
/** @description Amount of native asset to send in wei. */
|
|
@@ -2307,27 +2906,92 @@ export type definitions = {
|
|
|
2307
2906
|
maxFeePerGas?: string;
|
|
2308
2907
|
/** @description Maximum priority fee (tip) per gas unit in wei. Required for non-sponsored (EIP-1559) transactions. Not used for sponsored transactions. */
|
|
2309
2908
|
maxPriorityFeePerGas?: string;
|
|
2909
|
+
/** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2910
|
+
deadline?: string;
|
|
2310
2911
|
/** @description The gas station delegate contract nonce. Only used when sponsor=true. Include this if you want maximal security posture. */
|
|
2311
2912
|
gasStationNonce?: string;
|
|
2312
2913
|
};
|
|
2914
|
+
v1EthSendTransactionIntentV2: {
|
|
2915
|
+
/** @description A wallet or private key address to sign with. This does not support private key IDs. */
|
|
2916
|
+
from: string;
|
|
2917
|
+
/**
|
|
2918
|
+
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2919
|
+
* @enum {string}
|
|
2920
|
+
*/
|
|
2921
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2922
|
+
/** @description Whether to sponsor this transaction via Gas Station. If false or unset, the EOA pays gas. A single call uses EIP-1559; multiple calls use EIP-7702 batch execution via Gas Station. */
|
|
2923
|
+
sponsor?: boolean;
|
|
2924
|
+
/** @description Outer transaction nonce. Omit to auto-fetch. */
|
|
2925
|
+
nonce?: string;
|
|
2926
|
+
/** @description Maximum amount of gas for the outer transaction. Omit to auto-estimate. */
|
|
2927
|
+
gasLimit?: string;
|
|
2928
|
+
/** @description Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
|
|
2929
|
+
maxFeePerGas?: string;
|
|
2930
|
+
/** @description Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
|
|
2931
|
+
maxPriorityFeePerGas?: string;
|
|
2932
|
+
/** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
|
|
2933
|
+
deadline?: string;
|
|
2934
|
+
/** @description The gas station delegate contract nonce. Only used when sponsor=true. Omit to auto-fetch. */
|
|
2935
|
+
gasStationNonce?: string;
|
|
2936
|
+
/** @description Ordered list of calls to execute. Must contain between 1 and 50 entries. A single entry with sponsor=false uses EIP-1559; multiple entries use EIP-7702 batch execution via Gas Station. */
|
|
2937
|
+
calls: definitions["v1EthCallParams"][];
|
|
2938
|
+
};
|
|
2313
2939
|
v1EthSendTransactionRequest: {
|
|
2314
2940
|
/** @enum {string} */
|
|
2315
|
-
type: "
|
|
2941
|
+
type: "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2";
|
|
2316
2942
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2317
2943
|
timestampMs: string;
|
|
2318
2944
|
/** @description Unique identifier for a given Organization. */
|
|
2319
2945
|
organizationId: string;
|
|
2320
|
-
parameters: definitions["
|
|
2946
|
+
parameters: definitions["v1EthSendTransactionIntentV2"];
|
|
2321
2947
|
generateAppProofs?: boolean;
|
|
2322
2948
|
};
|
|
2323
2949
|
v1EthSendTransactionResult: {
|
|
2324
2950
|
/** @description The send_transaction_status ID associated with the transaction submission */
|
|
2325
2951
|
sendTransactionStatusId: string;
|
|
2326
2952
|
};
|
|
2953
|
+
v1EthSendTransactionResultV2: {
|
|
2954
|
+
/** @description The send_transaction_status ID associated with the transaction submission */
|
|
2955
|
+
sendTransactionStatusId: string;
|
|
2956
|
+
};
|
|
2327
2957
|
v1EthSendTransactionStatus: {
|
|
2328
2958
|
/** @description The Ethereum transaction hash, if available. */
|
|
2329
2959
|
txHash?: string;
|
|
2330
2960
|
};
|
|
2961
|
+
v1ExecuteSwapIntent: {
|
|
2962
|
+
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
2963
|
+
inputToken: string;
|
|
2964
|
+
/** @description CAIP-19 asset ID for the output asset. May be on a different chain than `input_token` for cross-chain swaps. */
|
|
2965
|
+
outputToken: string;
|
|
2966
|
+
/** @description Base-unit amount of the input asset. */
|
|
2967
|
+
inputAmount: string;
|
|
2968
|
+
/** @description Wallet account address to sign and submit the swap transaction from. Cross-wallet swaps are not supported. */
|
|
2969
|
+
walletAccount: string;
|
|
2970
|
+
/** @description Whether to sponsor the resulting swap transaction via Gas Station when supported by the chain. */
|
|
2971
|
+
sponsor?: boolean;
|
|
2972
|
+
/** @description Maximum allowed slippage in basis points. */
|
|
2973
|
+
slippage?: string;
|
|
2974
|
+
/** @description Swap provider to execute with, as returned by get_swap_quote. When omitted, execution uses the default provider. */
|
|
2975
|
+
provider?: string;
|
|
2976
|
+
};
|
|
2977
|
+
v1ExecuteSwapRequest: {
|
|
2978
|
+
/** @enum {string} */
|
|
2979
|
+
type: "ACTIVITY_TYPE_EXECUTE_SWAP";
|
|
2980
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2981
|
+
timestampMs: string;
|
|
2982
|
+
/** @description Unique identifier for a given Organization. */
|
|
2983
|
+
organizationId: string;
|
|
2984
|
+
parameters: definitions["v1ExecuteSwapIntent"];
|
|
2985
|
+
generateAppProofs?: boolean;
|
|
2986
|
+
};
|
|
2987
|
+
v1ExecuteSwapResult: {
|
|
2988
|
+
/** @description The send_transaction_status ID associated with the swap transaction submission */
|
|
2989
|
+
sendTransactionStatusId: string;
|
|
2990
|
+
/** @description Swap provider used to build the transaction. */
|
|
2991
|
+
provider?: string;
|
|
2992
|
+
/** @description Quote identifier used for execution, if any. */
|
|
2993
|
+
quoteId?: string;
|
|
2994
|
+
};
|
|
2331
2995
|
v1ExportPrivateKeyIntent: {
|
|
2332
2996
|
/** @description Unique identifier for a given Private Key. */
|
|
2333
2997
|
privateKeyId: string;
|
|
@@ -2401,7 +3065,7 @@ export type definitions = {
|
|
|
2401
3065
|
value?: string;
|
|
2402
3066
|
};
|
|
2403
3067
|
/** @enum {string} */
|
|
2404
|
-
v1FeatureName: "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED";
|
|
3068
|
+
v1FeatureName: "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK" | "FEATURE_NAME_SMS_AUTH" | "FEATURE_NAME_OTP_EMAIL_AUTH" | "FEATURE_NAME_AUTH_PROXY" | "FEATURE_NAME_SOLANA_RENT_PREFUND_ENABLED" | "FEATURE_NAME_SWAP_CONFIG" | "FEATURE_NAME_EARN_CONFIG";
|
|
2405
3069
|
/** @enum {string} */
|
|
2406
3070
|
v1FiatOnRampBlockchainNetwork: "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
|
|
2407
3071
|
v1FiatOnRampCredential: {
|
|
@@ -2547,6 +3211,40 @@ export type definitions = {
|
|
|
2547
3211
|
/** @description Name of enclave app. */
|
|
2548
3212
|
appName: string;
|
|
2549
3213
|
};
|
|
3214
|
+
v1GetMfaPoliciesRequest: {
|
|
3215
|
+
/** @description Unique identifier for a given organization. */
|
|
3216
|
+
organizationId: string;
|
|
3217
|
+
/** @description Unique identifier for a given user. */
|
|
3218
|
+
userId: string;
|
|
3219
|
+
};
|
|
3220
|
+
v1GetMfaPoliciesResponse: {
|
|
3221
|
+
/** @description A list of multi-factor authentication policies for a user. */
|
|
3222
|
+
mfaPolicies: definitions["v1MfaPolicy"][];
|
|
3223
|
+
};
|
|
3224
|
+
v1GetMfaPolicyRequest: {
|
|
3225
|
+
/** @description Unique identifier for a given organization. */
|
|
3226
|
+
organizationId: string;
|
|
3227
|
+
/** @description Unique identifier for a given user. */
|
|
3228
|
+
userId: string;
|
|
3229
|
+
/** @description Unique identifier for a given MFA policy. */
|
|
3230
|
+
mfaPolicyId: string;
|
|
3231
|
+
};
|
|
3232
|
+
v1GetMfaPolicyResponse: {
|
|
3233
|
+
/** @description Multi-factor authentication policy for a user. */
|
|
3234
|
+
mfaPolicy: definitions["v1MfaPolicy"];
|
|
3235
|
+
};
|
|
3236
|
+
v1GetMfaStatusRequest: {
|
|
3237
|
+
/** @description Unique identifier for a given organization. */
|
|
3238
|
+
organizationId: string;
|
|
3239
|
+
/** @description The unique identifier of the activity to get MFA status for. */
|
|
3240
|
+
activityId: string;
|
|
3241
|
+
/** @description Optional user ID to filter MFA status for a specific user. */
|
|
3242
|
+
userId?: string;
|
|
3243
|
+
};
|
|
3244
|
+
v1GetMfaStatusResponse: {
|
|
3245
|
+
/** @description A list of MFA statuses for the activity's votes. */
|
|
3246
|
+
mfaStatuses: definitions["v1MfaStatus"][];
|
|
3247
|
+
};
|
|
2550
3248
|
v1GetNoncesRequest: {
|
|
2551
3249
|
/** @description Unique identifier for a given Organization. */
|
|
2552
3250
|
organizationId: string;
|
|
@@ -2556,7 +3254,7 @@ export type definitions = {
|
|
|
2556
3254
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2557
3255
|
* @enum {string}
|
|
2558
3256
|
*/
|
|
2559
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002";
|
|
3257
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2560
3258
|
/** @description Whether to fetch the standard on-chain nonce. */
|
|
2561
3259
|
nonce?: boolean;
|
|
2562
3260
|
/** @description Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -2684,14 +3382,32 @@ export type definitions = {
|
|
|
2684
3382
|
/** @description Structured error information including revert details, if available. */
|
|
2685
3383
|
error?: definitions["v1TxError"];
|
|
2686
3384
|
};
|
|
2687
|
-
|
|
3385
|
+
v1GetSessionProfileRequest: {
|
|
2688
3386
|
/** @description Unique identifier for a given organization. */
|
|
2689
3387
|
organizationId: string;
|
|
2690
|
-
/** @description Unique identifier for a
|
|
2691
|
-
|
|
3388
|
+
/** @description Unique identifier for a session profile. */
|
|
3389
|
+
sessionProfileId: string;
|
|
2692
3390
|
};
|
|
2693
|
-
|
|
2694
|
-
/** @description
|
|
3391
|
+
v1GetSessionProfileResponse: {
|
|
3392
|
+
/** @description Session profile for a user, including details about the user's authenticators, Oauth providers, API keys, and MFA policies. */
|
|
3393
|
+
sessionProfile: definitions["v1SessionProfile"];
|
|
3394
|
+
};
|
|
3395
|
+
v1GetSessionProfilesRequest: {
|
|
3396
|
+
/** @description Unique identifier for a given organization. */
|
|
3397
|
+
organizationId: string;
|
|
3398
|
+
};
|
|
3399
|
+
v1GetSessionProfilesResponse: {
|
|
3400
|
+
/** @description A list of session profiles for users in the organization. */
|
|
3401
|
+
sessionProfiles: definitions["v1SessionProfile"][];
|
|
3402
|
+
};
|
|
3403
|
+
v1GetSmartContractInterfaceRequest: {
|
|
3404
|
+
/** @description Unique identifier for a given organization. */
|
|
3405
|
+
organizationId: string;
|
|
3406
|
+
/** @description Unique identifier for a given smart contract interface. */
|
|
3407
|
+
smartContractInterfaceId: string;
|
|
3408
|
+
};
|
|
3409
|
+
v1GetSmartContractInterfaceResponse: {
|
|
3410
|
+
/** @description Object to be used in conjunction with policies to guard transaction signing. */
|
|
2695
3411
|
smartContractInterface: definitions["externaldatav1SmartContractInterface"];
|
|
2696
3412
|
};
|
|
2697
3413
|
v1GetSmartContractInterfacesRequest: {
|
|
@@ -2716,6 +3432,64 @@ export type definitions = {
|
|
|
2716
3432
|
/** @description List of unique identifiers for the matching sub-organizations. */
|
|
2717
3433
|
organizationIds: string[];
|
|
2718
3434
|
};
|
|
3435
|
+
v1GetSwapQuoteRequest: {
|
|
3436
|
+
/** @description Unique identifier for a given Organization. */
|
|
3437
|
+
organizationId: string;
|
|
3438
|
+
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
3439
|
+
inputToken: string;
|
|
3440
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3441
|
+
outputToken: string;
|
|
3442
|
+
/** @description Base-unit amount of the input asset. */
|
|
3443
|
+
inputAmount: string;
|
|
3444
|
+
/** @description Maximum allowed slippage in basis points. */
|
|
3445
|
+
slippage?: string;
|
|
3446
|
+
};
|
|
3447
|
+
v1GetSwapQuoteResponse: {
|
|
3448
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
3449
|
+
inputToken: string;
|
|
3450
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3451
|
+
outputToken: string;
|
|
3452
|
+
/** @description Base-unit amount of the input asset. */
|
|
3453
|
+
inputAmount: string;
|
|
3454
|
+
/** @description One quote per available swap provider. */
|
|
3455
|
+
quotes: definitions["v1SwapQuoteOption"][];
|
|
3456
|
+
};
|
|
3457
|
+
v1GetSwapStatusRequest: {
|
|
3458
|
+
/** @description Unique identifier for a given Organization. */
|
|
3459
|
+
organizationId: string;
|
|
3460
|
+
/** @description Identifier returned in the execute_swap activity result. */
|
|
3461
|
+
sendTransactionStatusId: string;
|
|
3462
|
+
};
|
|
3463
|
+
v1GetSwapStatusResponse: {
|
|
3464
|
+
/** @description Normalized swap status. One of PENDING, COMPLETED, FAILED. */
|
|
3465
|
+
status: string;
|
|
3466
|
+
/** @description SAME_CHAIN or CROSS_CHAIN. */
|
|
3467
|
+
swapKind: string;
|
|
3468
|
+
/** @description Swap provider that executed the swap. */
|
|
3469
|
+
provider?: string;
|
|
3470
|
+
/** @description CAIP-19 asset ID for the input asset. */
|
|
3471
|
+
inputToken: string;
|
|
3472
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
3473
|
+
outputToken: string;
|
|
3474
|
+
/** @description Base-unit amount of the input asset. */
|
|
3475
|
+
inputAmount: string;
|
|
3476
|
+
/** @description Final included origin-chain transaction hash, when known. */
|
|
3477
|
+
originTxHash?: string;
|
|
3478
|
+
/** @description Destination-chain fill transaction hash; cross-chain COMPLETED only. */
|
|
3479
|
+
destinationTxHash?: string;
|
|
3480
|
+
/** @description Actual base-unit output amount on COMPLETED, when known. */
|
|
3481
|
+
outputAmount?: string;
|
|
3482
|
+
/** @description CAIP-19 of the asset the user holds after a FAILED swap, when recoverable. */
|
|
3483
|
+
settledAsset?: string;
|
|
3484
|
+
/** @description Base-unit amount of settled_asset. */
|
|
3485
|
+
settledAmount?: string;
|
|
3486
|
+
/** @description Transaction that delivered the settled funds, when applicable. */
|
|
3487
|
+
settlementTxHash?: string;
|
|
3488
|
+
/** @description Non-normative raw provider status passthrough; cross-chain only. */
|
|
3489
|
+
providerStatus?: string;
|
|
3490
|
+
/** @description Timestamp of the last swap status change, as millisecond epoch string. */
|
|
3491
|
+
updatedAt: string;
|
|
3492
|
+
};
|
|
2719
3493
|
v1GetTvcAppDeploymentsRequest: {
|
|
2720
3494
|
/** @description Unique identifier for a given organization. */
|
|
2721
3495
|
organizationId: string;
|
|
@@ -2744,6 +3518,44 @@ export type definitions = {
|
|
|
2744
3518
|
/** @description A list of TVC Apps. */
|
|
2745
3519
|
tvcApps: definitions["v1TvcApp"][];
|
|
2746
3520
|
};
|
|
3521
|
+
v1GetTvcDeploymentDebugLogsRequest: {
|
|
3522
|
+
/** @description Unique identifier for a given Organization. */
|
|
3523
|
+
organizationId: string;
|
|
3524
|
+
/** @description Unique identifier for a given TVC Deployment. The deployment must be running in debug mode. */
|
|
3525
|
+
deploymentId: string;
|
|
3526
|
+
/**
|
|
3527
|
+
* Format: int32
|
|
3528
|
+
* @description Limit returned history to the last N lines per replica. If unset or zero, no tail-line limit is applied.
|
|
3529
|
+
*/
|
|
3530
|
+
tailLines?: number;
|
|
3531
|
+
/**
|
|
3532
|
+
* Format: int64
|
|
3533
|
+
* @description Return logs newer than this many seconds ago. If unset or zero, no since-time limit is applied. Useful for clients that poll to follow logs.
|
|
3534
|
+
*/
|
|
3535
|
+
sinceSeconds?: string;
|
|
3536
|
+
};
|
|
3537
|
+
v1GetTvcDeploymentDebugLogsResponse: {
|
|
3538
|
+
/** @description Application log entries sorted by platform timestamp. */
|
|
3539
|
+
entries: definitions["v1TvcDeploymentDebugLogEntry"][];
|
|
3540
|
+
};
|
|
3541
|
+
v1GetTvcDeploymentProvisioningDetailsRequest: {
|
|
3542
|
+
/** @description Unique identifier for a given Organization. */
|
|
3543
|
+
organizationId: string;
|
|
3544
|
+
/** @description Unique identifier for a given TVC Deployment. */
|
|
3545
|
+
deploymentId: string;
|
|
3546
|
+
};
|
|
3547
|
+
v1GetTvcDeploymentProvisioningDetailsResponse: {
|
|
3548
|
+
/**
|
|
3549
|
+
* Format: byte
|
|
3550
|
+
* @description The attestation document of the provisioning enclave in a TVC deployment.
|
|
3551
|
+
*/
|
|
3552
|
+
attestationDocument: string;
|
|
3553
|
+
/**
|
|
3554
|
+
* Format: byte
|
|
3555
|
+
* @description The manifest envelope containing the TVC deployment's manifest and signatures.
|
|
3556
|
+
*/
|
|
3557
|
+
manifestEnvelope: string;
|
|
3558
|
+
};
|
|
2747
3559
|
v1GetTvcDeploymentRequest: {
|
|
2748
3560
|
/** @description Unique identifier for a given organization. */
|
|
2749
3561
|
organizationId: string;
|
|
@@ -2823,7 +3635,7 @@ export type definitions = {
|
|
|
2823
3635
|
* @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.
|
|
2824
3636
|
* @enum {string}
|
|
2825
3637
|
*/
|
|
2826
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3638
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2827
3639
|
};
|
|
2828
3640
|
v1GetWalletAddressBalancesResponse: {
|
|
2829
3641
|
/** @description List of asset balances */
|
|
@@ -3366,6 +4178,29 @@ export type definitions = {
|
|
|
3366
4178
|
deleteWebhookEndpointIntent?: definitions["v1DeleteWebhookEndpointIntent"];
|
|
3367
4179
|
setIpAllowlistIntent?: definitions["v1SetIpAllowlistIntent"];
|
|
3368
4180
|
removeIpAllowlistIntent?: definitions["v1RemoveIpAllowlistIntent"];
|
|
4181
|
+
updateTvcAppLiveDeploymentIntent?: definitions["v1UpdateTvcAppLiveDeploymentIntent"];
|
|
4182
|
+
deleteTvcDeploymentIntent?: definitions["v1DeleteTvcDeploymentIntent"];
|
|
4183
|
+
deleteTvcAppAndDeploymentsIntent?: definitions["v1DeleteTvcAppAndDeploymentsIntent"];
|
|
4184
|
+
restoreTvcDeploymentIntent?: definitions["v1RestoreTvcDeploymentIntent"];
|
|
4185
|
+
sparkSignFrostIntent?: definitions["v1SparkSignFrostIntent"];
|
|
4186
|
+
sparkPrepareTransferIntent?: definitions["v1SparkPrepareTransferIntent"];
|
|
4187
|
+
sparkClaimTransferIntent?: definitions["v1SparkClaimTransferIntent"];
|
|
4188
|
+
sparkPrepareLightningReceiveIntent?: definitions["v1SparkPrepareLightningReceiveIntent"];
|
|
4189
|
+
postTvcQuorumKeyShareIntent?: definitions["v1PostTvcQuorumKeyShareIntent"];
|
|
4190
|
+
ethSendTransactionIntentV2?: definitions["v1EthSendTransactionIntentV2"];
|
|
4191
|
+
createMfaPolicyIntent?: definitions["v1CreateMfaPolicyIntent"];
|
|
4192
|
+
updateMfaPolicyIntent?: definitions["v1UpdateMfaPolicyIntent"];
|
|
4193
|
+
deleteMfaPolicyIntent?: definitions["v1DeleteMfaPolicyIntent"];
|
|
4194
|
+
createSessionProfileIntent?: definitions["v1CreateSessionProfileIntent"];
|
|
4195
|
+
earnDeployWrapperIntent?: definitions["v1EarnDeployWrapperIntent"];
|
|
4196
|
+
earnDepositIntent?: definitions["v1EarnDepositIntent"];
|
|
4197
|
+
earnWithdrawIntent?: definitions["v1EarnWithdrawIntent"];
|
|
4198
|
+
upsertEarnClientFeeConfigIntent?: definitions["v1UpsertEarnClientFeeConfigIntent"];
|
|
4199
|
+
executeSwapIntent?: definitions["v1ExecuteSwapIntent"];
|
|
4200
|
+
upsertSwapConfigIntent?: definitions["v1UpsertSwapConfigIntent"];
|
|
4201
|
+
createTvcOperatorIntent?: definitions["v1CreateTvcOperatorIntent"];
|
|
4202
|
+
createTvcQuorumKeyIntent?: definitions["v1CreateTvcQuorumKeyIntent"];
|
|
4203
|
+
reEncryptTvcQuorumKeyShareIntent?: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
|
|
3369
4204
|
};
|
|
3370
4205
|
v1Invitation: {
|
|
3371
4206
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -3425,6 +4260,20 @@ export type definitions = {
|
|
|
3425
4260
|
/** @description Creation timestamp as millisecond epoch string. */
|
|
3426
4261
|
createdAt?: string;
|
|
3427
4262
|
};
|
|
4263
|
+
v1ListEmailEventsRequest: {
|
|
4264
|
+
/** @description Unique identifier for a given organization */
|
|
4265
|
+
organizationId: string;
|
|
4266
|
+
/** @description Recipient email address to list email events for */
|
|
4267
|
+
email: string;
|
|
4268
|
+
/** @description Optional email event type to filter by. Examples include Send, Delivery, Bounce, and DeliveryDelay */
|
|
4269
|
+
eventType?: string;
|
|
4270
|
+
/** @description Parameters used for cursor-based pagination */
|
|
4271
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
4272
|
+
};
|
|
4273
|
+
v1ListEmailEventsResponse: {
|
|
4274
|
+
/** @description Email events matching the requested filters, ordered by most recent event first. */
|
|
4275
|
+
emailEvents: definitions["v1EmailEvent"][];
|
|
4276
|
+
};
|
|
3428
4277
|
v1ListFiatOnRampCredentialsRequest: {
|
|
3429
4278
|
/** @description Unique identifier for a given Organization. */
|
|
3430
4279
|
organizationId: string;
|
|
@@ -3454,7 +4303,7 @@ export type definitions = {
|
|
|
3454
4303
|
* @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.
|
|
3455
4304
|
* @enum {string}
|
|
3456
4305
|
*/
|
|
3457
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4306
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3458
4307
|
};
|
|
3459
4308
|
v1ListSupportedAssetsResponse: {
|
|
3460
4309
|
/** @description List of asset metadata */
|
|
@@ -3475,10 +4324,47 @@ export type definitions = {
|
|
|
3475
4324
|
v1ListWebhookEndpointsResponse: {
|
|
3476
4325
|
webhookEndpoints: definitions["v1WebhookEndpointData"][];
|
|
3477
4326
|
};
|
|
4327
|
+
v1LogLine: {
|
|
4328
|
+
/** @description One log line, exactly as the application printed it (without the trailing newline) */
|
|
4329
|
+
content: string;
|
|
4330
|
+
/** @description When the line was logged. Stable across replays, so lines can be chronologically merged across pods */
|
|
4331
|
+
ts?: definitions["externaldatav1Timestamp"];
|
|
4332
|
+
};
|
|
3478
4333
|
v1LoginUsage: {
|
|
3479
4334
|
/** @description Public key for authentication */
|
|
3480
4335
|
publicKey: string;
|
|
3481
4336
|
};
|
|
4337
|
+
v1MfaPolicy: {
|
|
4338
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
4339
|
+
mfaPolicyId: string;
|
|
4340
|
+
/** @description Human-readable name for an MFA Policy. */
|
|
4341
|
+
mfaPolicyName: string;
|
|
4342
|
+
/** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
4343
|
+
condition: string;
|
|
4344
|
+
/** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
4345
|
+
requiredAuthenticationMethods: definitions["v1RequiredAuthenticationMethod"][];
|
|
4346
|
+
/**
|
|
4347
|
+
* Format: int64
|
|
4348
|
+
* @description The order in which this policy is evaluated relative to other MFA policies.
|
|
4349
|
+
*/
|
|
4350
|
+
order: number;
|
|
4351
|
+
/** @description Optional human-readable notes added by a User to describe a particular MFA policy. */
|
|
4352
|
+
notes?: string;
|
|
4353
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
4354
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4355
|
+
};
|
|
4356
|
+
v1MfaStatus: {
|
|
4357
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
4358
|
+
mfaPolicyId: string;
|
|
4359
|
+
/** @description Unique identifier for a given User. */
|
|
4360
|
+
userId: string;
|
|
4361
|
+
/** @description Whether the MFA policy requirements are currently satisfied. */
|
|
4362
|
+
satisfied: boolean;
|
|
4363
|
+
/** @description A list of authentication methods already satisfied for this MFA policy. */
|
|
4364
|
+
satisfiedMethods: definitions["v1AuthenticationMethod"][];
|
|
4365
|
+
/** @description An ordered list of authentication requirements needed to satisfy this MFA policy. */
|
|
4366
|
+
requiredMethods: definitions["v1RequiredAuthenticationMethod"][];
|
|
4367
|
+
};
|
|
3482
4368
|
/** @enum {string} */
|
|
3483
4369
|
v1MnemonicLanguage: "MNEMONIC_LANGUAGE_ENGLISH" | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | "MNEMONIC_LANGUAGE_CZECH" | "MNEMONIC_LANGUAGE_FRENCH" | "MNEMONIC_LANGUAGE_ITALIAN" | "MNEMONIC_LANGUAGE_JAPANESE" | "MNEMONIC_LANGUAGE_KOREAN" | "MNEMONIC_LANGUAGE_SPANISH";
|
|
3484
4370
|
v1NOOPCodegenAnchorResponse: {
|
|
@@ -3505,8 +4391,8 @@ export type definitions = {
|
|
|
3505
4391
|
redirectUri: string;
|
|
3506
4392
|
/** @description The code verifier used by OAuth 2.0 PKCE providers */
|
|
3507
4393
|
codeVerifier: string;
|
|
3508
|
-
/** @description
|
|
3509
|
-
nonce
|
|
4394
|
+
/** @description A nonce value set to sha256(publicKey), used to bind the OIDC token to a specific public key */
|
|
4395
|
+
nonce: string;
|
|
3510
4396
|
/** @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 */
|
|
3511
4397
|
bearerTokenTargetPublicKey?: string;
|
|
3512
4398
|
};
|
|
@@ -3561,6 +4447,8 @@ export type definitions = {
|
|
|
3561
4447
|
expirationSeconds?: string;
|
|
3562
4448
|
/** @description Invalidate all other previously generated Login API keys */
|
|
3563
4449
|
invalidateExisting?: boolean;
|
|
4450
|
+
/** @description Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
4451
|
+
sessionProfileId?: string;
|
|
3564
4452
|
};
|
|
3565
4453
|
v1OauthLoginRequest: {
|
|
3566
4454
|
/** @enum {string} */
|
|
@@ -3688,6 +4576,8 @@ export type definitions = {
|
|
|
3688
4576
|
invalidateExisting?: boolean;
|
|
3689
4577
|
/** @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. */
|
|
3690
4578
|
clientSignature?: definitions["v1ClientSignature"];
|
|
4579
|
+
/** @description Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
4580
|
+
sessionProfileId?: string;
|
|
3691
4581
|
};
|
|
3692
4582
|
v1OtpLoginIntentV2: {
|
|
3693
4583
|
/** @description Signed Verification Token containing a unique id, expiry, verification type, contact */
|
|
@@ -3700,6 +4590,8 @@ export type definitions = {
|
|
|
3700
4590
|
expirationSeconds?: string;
|
|
3701
4591
|
/** @description Invalidate all other previously generated Login sessions */
|
|
3702
4592
|
invalidateExisting?: boolean;
|
|
4593
|
+
/** @description Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
4594
|
+
sessionProfileId?: string;
|
|
3703
4595
|
};
|
|
3704
4596
|
v1OtpLoginRequest: {
|
|
3705
4597
|
/** @enum {string} */
|
|
@@ -3716,7 +4608,7 @@ export type definitions = {
|
|
|
3716
4608
|
session: string;
|
|
3717
4609
|
};
|
|
3718
4610
|
/** @enum {string} */
|
|
3719
|
-
v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR";
|
|
4611
|
+
v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS";
|
|
3720
4612
|
v1Pagination: {
|
|
3721
4613
|
/** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
|
|
3722
4614
|
limit?: string;
|
|
@@ -3745,6 +4637,27 @@ export type definitions = {
|
|
|
3745
4637
|
/** @description A condition expression that evalutes to true or false. */
|
|
3746
4638
|
condition: string;
|
|
3747
4639
|
};
|
|
4640
|
+
v1PostTvcQuorumKeyShareIntent: {
|
|
4641
|
+
/** @description Unique identifier of the TVC deployment receiving quorum key share */
|
|
4642
|
+
deploymentId: string;
|
|
4643
|
+
/** @description Hex-encoded ephemeral public key used to encrypt the quorum key share */
|
|
4644
|
+
ephemeralPublicKeyHex: string;
|
|
4645
|
+
/** @description Re-encrypted quorum key share and approval */
|
|
4646
|
+
shareApprovalBundle: definitions["v1QuorumKeyShareApprovalBundle"];
|
|
4647
|
+
};
|
|
4648
|
+
v1PostTvcQuorumKeyShareRequest: {
|
|
4649
|
+
/** @enum {string} */
|
|
4650
|
+
type: "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE";
|
|
4651
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4652
|
+
timestampMs: string;
|
|
4653
|
+
/** @description Unique identifier for a given Organization. */
|
|
4654
|
+
organizationId: string;
|
|
4655
|
+
parameters: definitions["v1PostTvcQuorumKeyShareIntent"];
|
|
4656
|
+
};
|
|
4657
|
+
v1PostTvcQuorumKeyShareResult: {
|
|
4658
|
+
/** @description The unique identifier for the provisioning quorum key share */
|
|
4659
|
+
provisioningShareId: string;
|
|
4660
|
+
};
|
|
3748
4661
|
v1PrivateKey: {
|
|
3749
4662
|
/** @description Unique identifier for a given Private Key. */
|
|
3750
4663
|
privateKeyId: string;
|
|
@@ -3789,6 +4702,42 @@ export type definitions = {
|
|
|
3789
4702
|
response: definitions["v1AuthenticatorAttestationResponse"];
|
|
3790
4703
|
clientExtensionResults: definitions["v1SimpleClientExtensionResults"];
|
|
3791
4704
|
};
|
|
4705
|
+
v1QuorumKeyShareApprovalBundle: {
|
|
4706
|
+
/** @description Unique identifier of the operator providing this quorum key share */
|
|
4707
|
+
operatorId: string;
|
|
4708
|
+
/** @description Hex-encoded re-encrypted quorum key share */
|
|
4709
|
+
reEncryptedShareHex: string;
|
|
4710
|
+
/** @description Signature from the share set operator approving the manifest */
|
|
4711
|
+
signature: string;
|
|
4712
|
+
};
|
|
4713
|
+
v1ReEncryptTvcQuorumKeyShareIntent: {
|
|
4714
|
+
/** @description Base64-encoded attestation document for the TVC deployment provisioning enclave */
|
|
4715
|
+
attestationDocB64: string;
|
|
4716
|
+
/** @description Base64-encoded manifest for the TVC deployment */
|
|
4717
|
+
manifestB64: string;
|
|
4718
|
+
/** @description Operator encryption public key used to encrypt the hosted TVC quorum key share */
|
|
4719
|
+
operatorEncryptKey: string;
|
|
4720
|
+
/** @description Operator signing public key used to approve the TVC manifest */
|
|
4721
|
+
operatorSignKey: string;
|
|
4722
|
+
/** @description Unique identifier of the TVC deployment receiving the re-encrypted quorum key share */
|
|
4723
|
+
deploymentId: string;
|
|
4724
|
+
/** @description Quorum key for the TVC application */
|
|
4725
|
+
appQuorumKey: string;
|
|
4726
|
+
};
|
|
4727
|
+
v1ReEncryptTvcQuorumKeyShareRequest: {
|
|
4728
|
+
/** @enum {string} */
|
|
4729
|
+
type: "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE";
|
|
4730
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4731
|
+
timestampMs: string;
|
|
4732
|
+
/** @description Unique identifier for a given Organization. */
|
|
4733
|
+
organizationId: string;
|
|
4734
|
+
parameters: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
|
|
4735
|
+
generateAppProofs?: boolean;
|
|
4736
|
+
};
|
|
4737
|
+
v1ReEncryptTvcQuorumKeyShareResult: {
|
|
4738
|
+
/** @description The unique identifier for the provisioning quorum key share */
|
|
4739
|
+
provisioningShareId: string;
|
|
4740
|
+
};
|
|
3792
4741
|
v1RecoverUserIntent: {
|
|
3793
4742
|
/** @description The new authenticator to register. */
|
|
3794
4743
|
authenticator: definitions["v1AuthenticatorParamsV2"];
|
|
@@ -3841,6 +4790,7 @@ export type definitions = {
|
|
|
3841
4790
|
/** @description Unique identifier for a given Organization. */
|
|
3842
4791
|
organizationId: string;
|
|
3843
4792
|
parameters: definitions["v1RemoveIpAllowlistIntent"];
|
|
4793
|
+
generateAppProofs?: boolean;
|
|
3844
4794
|
};
|
|
3845
4795
|
v1RemoveIpAllowlistResult: {
|
|
3846
4796
|
[key: string]: unknown;
|
|
@@ -3863,6 +4813,32 @@ export type definitions = {
|
|
|
3863
4813
|
/** @description Resulting list of organization features. */
|
|
3864
4814
|
features: definitions["v1Feature"][];
|
|
3865
4815
|
};
|
|
4816
|
+
v1RequiredAuthenticationMethod: {
|
|
4817
|
+
/** @description A list of authentication methods for this MFA step. If only one method is provided, it is required. If multiple are provided, the user must satisfy ANY one of them. */
|
|
4818
|
+
any: definitions["v1AuthenticationMethod"][];
|
|
4819
|
+
};
|
|
4820
|
+
v1RequiredAuthenticationMethodParams: {
|
|
4821
|
+
/** @description A list of authentication methods for this MFA step. If only one method is provided, it is required. If multiple are provided, the user must satisfy ANY one of them. */
|
|
4822
|
+
any: definitions["v1AuthenticationMethodParams"][];
|
|
4823
|
+
};
|
|
4824
|
+
v1RestoreTvcDeploymentIntent: {
|
|
4825
|
+
/** @description The unique identifier of the TVC deployment to restore. */
|
|
4826
|
+
deploymentId: string;
|
|
4827
|
+
};
|
|
4828
|
+
v1RestoreTvcDeploymentRequest: {
|
|
4829
|
+
/** @enum {string} */
|
|
4830
|
+
type: "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT";
|
|
4831
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
4832
|
+
timestampMs: string;
|
|
4833
|
+
/** @description Unique identifier for a given Organization. */
|
|
4834
|
+
organizationId: string;
|
|
4835
|
+
parameters: definitions["v1RestoreTvcDeploymentIntent"];
|
|
4836
|
+
generateAppProofs?: boolean;
|
|
4837
|
+
};
|
|
4838
|
+
v1RestoreTvcDeploymentResult: {
|
|
4839
|
+
/** @description The unique identifier of the restored TVC deployment. */
|
|
4840
|
+
deploymentId: string;
|
|
4841
|
+
};
|
|
3866
4842
|
v1Result: {
|
|
3867
4843
|
createOrganizationResult?: definitions["v1CreateOrganizationResult"];
|
|
3868
4844
|
createAuthenticatorsResult?: definitions["v1CreateAuthenticatorsResult"];
|
|
@@ -3971,6 +4947,29 @@ export type definitions = {
|
|
|
3971
4947
|
deleteWebhookEndpointResult?: definitions["v1DeleteWebhookEndpointResult"];
|
|
3972
4948
|
setIpAllowlistResult?: definitions["v1SetIpAllowlistResult"];
|
|
3973
4949
|
removeIpAllowlistResult?: definitions["v1RemoveIpAllowlistResult"];
|
|
4950
|
+
updateTvcAppLiveDeploymentResult?: definitions["v1UpdateTvcAppLiveDeploymentResult"];
|
|
4951
|
+
deleteTvcDeploymentResult?: definitions["v1DeleteTvcDeploymentResult"];
|
|
4952
|
+
deleteTvcAppAndDeploymentsResult?: definitions["v1DeleteTvcAppAndDeploymentsResult"];
|
|
4953
|
+
restoreTvcDeploymentResult?: definitions["v1RestoreTvcDeploymentResult"];
|
|
4954
|
+
sparkSignFrostResult?: definitions["v1SparkSignFrostResult"];
|
|
4955
|
+
sparkPrepareTransferResult?: definitions["v1SparkPrepareTransferResult"];
|
|
4956
|
+
sparkClaimTransferResult?: definitions["v1SparkClaimTransferResult"];
|
|
4957
|
+
sparkPrepareLightningReceiveResult?: definitions["v1SparkPrepareLightningReceiveResult"];
|
|
4958
|
+
postTvcQuorumKeyShareResult?: definitions["v1PostTvcQuorumKeyShareResult"];
|
|
4959
|
+
ethSendTransactionResultV2?: definitions["v1EthSendTransactionResultV2"];
|
|
4960
|
+
createMfaPolicyResult?: definitions["v1CreateMfaPolicyResult"];
|
|
4961
|
+
updateMfaPolicyResult?: definitions["v1UpdateMfaPolicyResult"];
|
|
4962
|
+
deleteMfaPolicyResult?: definitions["v1DeleteMfaPolicyResult"];
|
|
4963
|
+
createSessionProfileResult?: definitions["v1CreateSessionProfileResult"];
|
|
4964
|
+
earnDeployWrapperResult?: definitions["v1EarnDeployWrapperResult"];
|
|
4965
|
+
earnDepositResult?: definitions["v1EarnDepositResult"];
|
|
4966
|
+
earnWithdrawResult?: definitions["v1EarnWithdrawResult"];
|
|
4967
|
+
upsertEarnClientFeeConfigResult?: definitions["v1UpsertEarnClientFeeConfigResult"];
|
|
4968
|
+
executeSwapResult?: definitions["v1ExecuteSwapResult"];
|
|
4969
|
+
upsertSwapConfigResult?: definitions["v1UpsertSwapConfigResult"];
|
|
4970
|
+
createTvcOperatorResult?: definitions["v1CreateTvcOperatorResult"];
|
|
4971
|
+
createTvcQuorumKeyResult?: definitions["v1CreateTvcQuorumKeyResult"];
|
|
4972
|
+
reEncryptTvcQuorumKeyShareResult?: definitions["v1ReEncryptTvcQuorumKeyShareResult"];
|
|
3974
4973
|
};
|
|
3975
4974
|
v1RevertChainEntry: {
|
|
3976
4975
|
/** @description The contract address where the revert occurred. */
|
|
@@ -4058,6 +5057,20 @@ export type definitions = {
|
|
|
4058
5057
|
operator?: definitions["v1Operator"];
|
|
4059
5058
|
targets?: string[];
|
|
4060
5059
|
};
|
|
5060
|
+
v1SessionProfile: {
|
|
5061
|
+
/** @description Unique identifier for a given Session Profile. */
|
|
5062
|
+
sessionProfileId: string;
|
|
5063
|
+
/** @description Human-readable name for a Session Profile. */
|
|
5064
|
+
sessionProfileName: string;
|
|
5065
|
+
/** @description The specific scope that a session created with this profile is limited to. */
|
|
5066
|
+
scope: string;
|
|
5067
|
+
/** @description Optional window (in seconds) indicating how long sessions created with this profile should last. */
|
|
5068
|
+
expirationSeconds?: string;
|
|
5069
|
+
/** @description Optional human-readable notes added by a User to describe a particular Session Profile. */
|
|
5070
|
+
notes?: string;
|
|
5071
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
5072
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
5073
|
+
};
|
|
4061
5074
|
v1SetIpAllowlistIntent: {
|
|
4062
5075
|
/** @description The public component of an API key. If null, the IP allowlist applies at the organization level. If set, it applies only to this specific API key. */
|
|
4063
5076
|
publicKey?: string;
|
|
@@ -4076,6 +5089,7 @@ export type definitions = {
|
|
|
4076
5089
|
/** @description Unique identifier for a given Organization. */
|
|
4077
5090
|
organizationId: string;
|
|
4078
5091
|
parameters: definitions["v1SetIpAllowlistIntent"];
|
|
5092
|
+
generateAppProofs?: boolean;
|
|
4079
5093
|
};
|
|
4080
5094
|
v1SetIpAllowlistResult: {
|
|
4081
5095
|
[key: string]: unknown;
|
|
@@ -4226,10 +5240,10 @@ export type definitions = {
|
|
|
4226
5240
|
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
4227
5241
|
sponsor?: boolean;
|
|
4228
5242
|
/**
|
|
4229
|
-
* @description CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet).
|
|
5243
|
+
* @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.
|
|
4230
5244
|
* @enum {string}
|
|
4231
5245
|
*/
|
|
4232
|
-
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:
|
|
5246
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
4233
5247
|
/** @description user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
4234
5248
|
recentBlockhash?: string;
|
|
4235
5249
|
};
|
|
@@ -4277,6 +5291,229 @@ export type definitions = {
|
|
|
4277
5291
|
/** @description The Solana transaction signature, if available. */
|
|
4278
5292
|
signature?: string;
|
|
4279
5293
|
};
|
|
5294
|
+
v1SparkClaimLeaf: {
|
|
5295
|
+
/** @description Leaf identifier (UUID). */
|
|
5296
|
+
leafId: string;
|
|
5297
|
+
/** @description ECIES ciphertext (hex-encoded) containing the inbound transfer secret. Decrypted inside the enclave using the wallet's Identity key. */
|
|
5298
|
+
ciphertext: string;
|
|
5299
|
+
/** @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. */
|
|
5300
|
+
senderSignature: string;
|
|
5301
|
+
};
|
|
5302
|
+
v1SparkClaimPackage: {
|
|
5303
|
+
/** @description Leaves being claimed. */
|
|
5304
|
+
leaves: definitions["v1SparkClaimLeaf"][];
|
|
5305
|
+
/**
|
|
5306
|
+
* Format: int64
|
|
5307
|
+
* @description Shamir threshold for reconstructing the per-leaf claim secret.
|
|
5308
|
+
*/
|
|
5309
|
+
threshold: number;
|
|
5310
|
+
/** @description Operators that will receive Shamir shares. */
|
|
5311
|
+
operatorRecipients: definitions["v1SparkOperatorRecipient"][];
|
|
5312
|
+
/** @description Spark transfer identifier (UUID). Used together with each leaf's sender_signature to verify the sender bound this ciphertext to this transfer. */
|
|
5313
|
+
transferId: string;
|
|
5314
|
+
/** @description Sender's compressed secp256k1 identity public key (hex-encoded, 33 bytes). Used to verify the per-leaf sender_signature fields. */
|
|
5315
|
+
senderIdentityPublicKey: string;
|
|
5316
|
+
};
|
|
5317
|
+
v1SparkClaimTransferIntent: {
|
|
5318
|
+
/** @description A Spark wallet account address identifying the wallet. */
|
|
5319
|
+
signWith: string;
|
|
5320
|
+
/** @description Claim package parameters. */
|
|
5321
|
+
claim: definitions["v1SparkClaimPackage"];
|
|
5322
|
+
};
|
|
5323
|
+
v1SparkClaimTransferRequest: {
|
|
5324
|
+
/** @enum {string} */
|
|
5325
|
+
type: "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER";
|
|
5326
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5327
|
+
timestampMs: string;
|
|
5328
|
+
/** @description Unique identifier for a given Organization. */
|
|
5329
|
+
organizationId: string;
|
|
5330
|
+
parameters: definitions["v1SparkClaimTransferIntent"];
|
|
5331
|
+
};
|
|
5332
|
+
v1SparkClaimTransferResult: {
|
|
5333
|
+
/** @description Per-operator ECIES-encrypted packages. */
|
|
5334
|
+
operatorPackages: definitions["v1SparkEncryptedOperatorPackage"][];
|
|
5335
|
+
/** @description Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
5336
|
+
newLeafPublicKeys: definitions["v1SparkLeafPublicKey"][];
|
|
5337
|
+
};
|
|
5338
|
+
v1SparkDepositDerivation: {
|
|
5339
|
+
[key: string]: unknown;
|
|
5340
|
+
};
|
|
5341
|
+
v1SparkEncryptedOperatorPackage: {
|
|
5342
|
+
/** @description Spark operator identifier (UUID). */
|
|
5343
|
+
operatorId: string;
|
|
5344
|
+
/** @description ECIES ciphertext (hex-encoded) opaque to Turnkey after emission. */
|
|
5345
|
+
encryptedPackage: string;
|
|
5346
|
+
};
|
|
5347
|
+
v1SparkFrostCommitment: {
|
|
5348
|
+
/** @description FROST participant identifier, hex-encoded (32-byte scalar). */
|
|
5349
|
+
id: string;
|
|
5350
|
+
/** @description Hiding commitment D, hex-encoded compressed secp256k1 point. */
|
|
5351
|
+
hiding: string;
|
|
5352
|
+
/** @description Binding commitment E, hex-encoded compressed secp256k1 point. */
|
|
5353
|
+
binding: string;
|
|
5354
|
+
};
|
|
5355
|
+
v1SparkHtlcPreimageDerivation: {
|
|
5356
|
+
[key: string]: unknown;
|
|
5357
|
+
};
|
|
5358
|
+
v1SparkIdentityDerivation: {
|
|
5359
|
+
[key: string]: unknown;
|
|
5360
|
+
};
|
|
5361
|
+
v1SparkKeyDerivation: {
|
|
5362
|
+
/** @description Spark identity key derivation. */
|
|
5363
|
+
identity?: definitions["v1SparkIdentityDerivation"];
|
|
5364
|
+
/** @description Spark signing leaf key derivation, identified by leaf ID. */
|
|
5365
|
+
signingLeaf?: definitions["v1SparkSigningLeafDerivation"];
|
|
5366
|
+
/** @description Spark deposit key derivation. */
|
|
5367
|
+
deposit?: definitions["v1SparkDepositDerivation"];
|
|
5368
|
+
/** @description Spark static deposit key derivation, identified by index. */
|
|
5369
|
+
staticDeposit?: definitions["v1SparkStaticDepositDerivation"];
|
|
5370
|
+
/** @description Spark HTLC preimage key derivation. */
|
|
5371
|
+
htlcPreimage?: definitions["v1SparkHtlcPreimageDerivation"];
|
|
5372
|
+
};
|
|
5373
|
+
v1SparkLeafPublicKey: {
|
|
5374
|
+
/** @description The Spark leaf_id this public key was derived for. */
|
|
5375
|
+
leafId: string;
|
|
5376
|
+
/** @description Hex-encoded compressed secp256k1 point (33 bytes) for the SigningLeaf derivation at leaf_id. */
|
|
5377
|
+
publicKey: string;
|
|
5378
|
+
};
|
|
5379
|
+
v1SparkLightningReceivePackage: {
|
|
5380
|
+
/**
|
|
5381
|
+
* Format: int64
|
|
5382
|
+
* @description Feldman VSS threshold for reconstructing the preimage.
|
|
5383
|
+
*/
|
|
5384
|
+
threshold: number;
|
|
5385
|
+
/** @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. */
|
|
5386
|
+
operatorRecipients: definitions["v1SparkOperatorRecipient"][];
|
|
5387
|
+
};
|
|
5388
|
+
v1SparkOperatorRecipient: {
|
|
5389
|
+
/** @description Spark operator identifier (UUID). */
|
|
5390
|
+
operatorId: string;
|
|
5391
|
+
/** @description Operator's ECIES encryption pubkey (hex-encoded compressed secp256k1 point). */
|
|
5392
|
+
encryptionPublicKey: string;
|
|
5393
|
+
};
|
|
5394
|
+
v1SparkPartialSignature: {
|
|
5395
|
+
/** @description Hex-encoded FROST partial signature. */
|
|
5396
|
+
signatureShare: string;
|
|
5397
|
+
/** @description Turnkey's hiding commitment D (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
5398
|
+
hiding: string;
|
|
5399
|
+
/** @description Turnkey's binding commitment E (hex-encoded compressed secp256k1 point). Forward to the Spark Operator. */
|
|
5400
|
+
binding: string;
|
|
5401
|
+
};
|
|
5402
|
+
v1SparkPrepareLightningReceiveIntent: {
|
|
5403
|
+
/** @description A Spark wallet account address identifying the wallet. */
|
|
5404
|
+
signWith: string;
|
|
5405
|
+
/** @description Lightning receive package parameters: threshold and operator recipients. */
|
|
5406
|
+
lightningReceive: definitions["v1SparkLightningReceivePackage"];
|
|
5407
|
+
};
|
|
5408
|
+
v1SparkPrepareLightningReceiveRequest: {
|
|
5409
|
+
/** @enum {string} */
|
|
5410
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE";
|
|
5411
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5412
|
+
timestampMs: string;
|
|
5413
|
+
/** @description Unique identifier for a given Organization. */
|
|
5414
|
+
organizationId: string;
|
|
5415
|
+
parameters: definitions["v1SparkPrepareLightningReceiveIntent"];
|
|
5416
|
+
};
|
|
5417
|
+
v1SparkPrepareLightningReceiveResult: {
|
|
5418
|
+
/** @description Per-operator ECIES-encrypted Feldman share packages. */
|
|
5419
|
+
operatorPackages: definitions["v1SparkEncryptedOperatorPackage"][];
|
|
5420
|
+
/** @description Hex-encoded SHA256(preimage). Forward to the Lightning node. */
|
|
5421
|
+
paymentHash: string;
|
|
5422
|
+
};
|
|
5423
|
+
v1SparkPrepareTransferIntent: {
|
|
5424
|
+
/** @description A Spark wallet account address identifying the wallet. */
|
|
5425
|
+
signWith: string;
|
|
5426
|
+
/** @description Transfer package parameters for HD key tweak splitting. */
|
|
5427
|
+
transfer: definitions["v1SparkTransferPackage"];
|
|
5428
|
+
};
|
|
5429
|
+
v1SparkPrepareTransferRequest: {
|
|
5430
|
+
/** @enum {string} */
|
|
5431
|
+
type: "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER";
|
|
5432
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5433
|
+
timestampMs: string;
|
|
5434
|
+
/** @description Unique identifier for a given Organization. */
|
|
5435
|
+
organizationId: string;
|
|
5436
|
+
parameters: definitions["v1SparkPrepareTransferIntent"];
|
|
5437
|
+
};
|
|
5438
|
+
v1SparkPrepareTransferResult: {
|
|
5439
|
+
/** @description Per-operator ECIES-encrypted packages. */
|
|
5440
|
+
operatorPackages: definitions["v1SparkEncryptedOperatorPackage"][];
|
|
5441
|
+
/** @description Hex-encoded ECDSA-DER signature of the TransferPackage signing payload, signed with the wallet's IDENTITY key. */
|
|
5442
|
+
transferUserSignature: string;
|
|
5443
|
+
/** @description Newly-derived SigningLeaf public keys, one per leaf, in input order. */
|
|
5444
|
+
newLeafPublicKeys: definitions["v1SparkLeafPublicKey"][];
|
|
5445
|
+
};
|
|
5446
|
+
v1SparkSignFrostIntent: {
|
|
5447
|
+
/** @description A Spark wallet account address identifying the wallet to sign with. */
|
|
5448
|
+
signWith: string;
|
|
5449
|
+
/** @description Batched sign requests. Each produces a partial signature plus Turnkey's public commitments. */
|
|
5450
|
+
signatures: definitions["v1SparkSignatureRequest"][];
|
|
5451
|
+
};
|
|
5452
|
+
v1SparkSignFrostRequest: {
|
|
5453
|
+
/** @enum {string} */
|
|
5454
|
+
type: "ACTIVITY_TYPE_SPARK_SIGN_FROST";
|
|
5455
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5456
|
+
timestampMs: string;
|
|
5457
|
+
/** @description Unique identifier for a given Organization. */
|
|
5458
|
+
organizationId: string;
|
|
5459
|
+
parameters: definitions["v1SparkSignFrostIntent"];
|
|
5460
|
+
};
|
|
5461
|
+
v1SparkSignFrostResult: {
|
|
5462
|
+
/** @description Partial signatures plus Turnkey commitments, one per request, in order. */
|
|
5463
|
+
signatures: definitions["v1SparkPartialSignature"][];
|
|
5464
|
+
};
|
|
5465
|
+
v1SparkSignatureRequest: {
|
|
5466
|
+
/** @description Which key to sign with. */
|
|
5467
|
+
derivation: definitions["v1SparkKeyDerivation"];
|
|
5468
|
+
/** @description Hex-encoded 32-byte sighash to sign. */
|
|
5469
|
+
message: string;
|
|
5470
|
+
/** @description Aggregate group verifying key (hex-encoded compressed secp256k1 point), computed as P_ops + P_user. Bound into the nonce HMAC. */
|
|
5471
|
+
verifyingKey: string;
|
|
5472
|
+
/** @description Commitments for every non-Turnkey participant. MUST NOT include an entry under Turnkey's identifier. Bound into the nonce HMAC. */
|
|
5473
|
+
operatorCommitments: definitions["v1SparkFrostCommitment"][];
|
|
5474
|
+
/** @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). */
|
|
5475
|
+
adaptorPublicKey?: string;
|
|
5476
|
+
};
|
|
5477
|
+
v1SparkSigningLeafDerivation: {
|
|
5478
|
+
/** @description Unique identifier for the Spark signing leaf. */
|
|
5479
|
+
leafId: string;
|
|
5480
|
+
};
|
|
5481
|
+
v1SparkStaticDepositDerivation: {
|
|
5482
|
+
/**
|
|
5483
|
+
* Format: int64
|
|
5484
|
+
* @description Index used to derive the static deposit key.
|
|
5485
|
+
*/
|
|
5486
|
+
index: number;
|
|
5487
|
+
};
|
|
5488
|
+
v1SparkTransferLeaf: {
|
|
5489
|
+
/** @description Leaf identifier (UUID). */
|
|
5490
|
+
leafId: string;
|
|
5491
|
+
/** @description Derivation for the existing (pre-transfer) leaf key. Always a SigningLeaf derivation. */
|
|
5492
|
+
oldLeafDerivation: definitions["v1SparkKeyDerivation"];
|
|
5493
|
+
/** @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). */
|
|
5494
|
+
newLeafDerivation: definitions["v1SparkKeyDerivation"];
|
|
5495
|
+
/** @description Client-produced CPFP refund signature (hex-encoded), passed through verbatim into the per-operator SendLeafKeyTweak. Empty omits the field from the operator package. */
|
|
5496
|
+
refundSignature?: string;
|
|
5497
|
+
/** @description Client-produced direct refund signature (hex-encoded). Passed through verbatim. */
|
|
5498
|
+
directRefundSignature?: string;
|
|
5499
|
+
/** @description Client-produced direct-from-CPFP refund signature (hex-encoded). Passed through verbatim. */
|
|
5500
|
+
directFromCpfpRefundSignature?: string;
|
|
5501
|
+
};
|
|
5502
|
+
v1SparkTransferPackage: {
|
|
5503
|
+
/** @description Spark transfer identifier (UUID). */
|
|
5504
|
+
transferId: string;
|
|
5505
|
+
/** @description Leaves being transferred. */
|
|
5506
|
+
leaves: definitions["v1SparkTransferLeaf"][];
|
|
5507
|
+
/**
|
|
5508
|
+
* Format: int64
|
|
5509
|
+
* @description Feldman VSS threshold for reconstructing the per-leaf tweak scalar.
|
|
5510
|
+
*/
|
|
5511
|
+
threshold: number;
|
|
5512
|
+
/** @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. */
|
|
5513
|
+
operatorRecipients: definitions["v1SparkOperatorRecipient"][];
|
|
5514
|
+
/** @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. */
|
|
5515
|
+
receiverPublicKey: string;
|
|
5516
|
+
};
|
|
4280
5517
|
v1StampLoginIntent: {
|
|
4281
5518
|
/** @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 */
|
|
4282
5519
|
publicKey: string;
|
|
@@ -4284,6 +5521,8 @@ export type definitions = {
|
|
|
4284
5521
|
expirationSeconds?: string;
|
|
4285
5522
|
/** @description Invalidate all other previously generated Login API keys */
|
|
4286
5523
|
invalidateExisting?: boolean;
|
|
5524
|
+
/** @description Optional session profile ID to specify which Session Profile to use for this login. If not provided, the default read/write session will be used. */
|
|
5525
|
+
sessionProfileId?: string;
|
|
4287
5526
|
};
|
|
4288
5527
|
v1StampLoginRequest: {
|
|
4289
5528
|
/** @enum {string} */
|
|
@@ -4299,6 +5538,16 @@ export type definitions = {
|
|
|
4299
5538
|
/** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
|
|
4300
5539
|
session: string;
|
|
4301
5540
|
};
|
|
5541
|
+
v1SwapQuoteOption: {
|
|
5542
|
+
/** @description Identifier for this provider quote. */
|
|
5543
|
+
quoteId: string;
|
|
5544
|
+
/** @description Swap provider that produced this quote. Pass this value to execute_swap to force a specific provider. */
|
|
5545
|
+
provider: string;
|
|
5546
|
+
/** @description Estimated base-unit amount of the output asset. */
|
|
5547
|
+
outputAmount: string;
|
|
5548
|
+
/** @description Minimum acceptable base-unit amount of the output asset after slippage. */
|
|
5549
|
+
minOutputAmount?: string;
|
|
5550
|
+
};
|
|
4302
5551
|
/** @enum {string} */
|
|
4303
5552
|
v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
4304
5553
|
v1TestRateLimitsRequest: {
|
|
@@ -4345,6 +5594,10 @@ export type definitions = {
|
|
|
4345
5594
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4346
5595
|
/** @description The deployment currently designated to receive traffic. Null if no deployment for this app is deployed. */
|
|
4347
5596
|
liveDeploymentId?: string;
|
|
5597
|
+
/** @description The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
|
|
5598
|
+
publicDomain: string;
|
|
5599
|
+
/** @description Whether this app permits debug-mode deployments. Set at app creation via CreateTvcAppIntent.enable_debug_mode_deployments and never updated thereafter. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. The app's quorum key is therefore considered permanently insecure once enabled — a new app with a fresh quorum key must be created to return to a secure posture. */
|
|
5600
|
+
enableDebugModeDeployments: boolean;
|
|
4348
5601
|
};
|
|
4349
5602
|
v1TvcContainerSpec: {
|
|
4350
5603
|
/** @description The URL for this container image. */
|
|
@@ -4387,15 +5640,19 @@ export type definitions = {
|
|
|
4387
5640
|
qosVersion: string;
|
|
4388
5641
|
/** @description The pivot container spec for this deployment */
|
|
4389
5642
|
pivotContainer: definitions["v1TvcContainerSpec"];
|
|
4390
|
-
/** @description Current stage for this deployment */
|
|
4391
|
-
stage: definitions["v1TvcDeploymentStage"];
|
|
4392
5643
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
4393
5644
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
4394
5645
|
/** @description Whether or not the user wants this deployment deleted from the cluster. */
|
|
4395
5646
|
delete: boolean;
|
|
5647
|
+
/** @description Whether this deployment is running in debug mode. Debug-mode deployments expose enclave logs and cannot be remotely attested. */
|
|
5648
|
+
debugMode: boolean;
|
|
5649
|
+
};
|
|
5650
|
+
v1TvcDeploymentDebugLogEntry: {
|
|
5651
|
+
/** @description Application log line with its platform timestamp. */
|
|
5652
|
+
line: definitions["v1LogLine"];
|
|
5653
|
+
/** @description Public replica label that produced this log line, for example 'replica 2/3'. */
|
|
5654
|
+
replicaLabel: string;
|
|
4396
5655
|
};
|
|
4397
|
-
/** @enum {string} */
|
|
4398
|
-
v1TvcDeploymentStage: "TVC_DEPLOYMENT_STAGE_APPROVE" | "TVC_DEPLOYMENT_STAGE_PROVISION" | "TVC_DEPLOYMENT_STAGE_LIVE" | "TVC_DEPLOYMENT_STAGE_DELETE";
|
|
4399
5656
|
/** @enum {string} */
|
|
4400
5657
|
v1TvcHealthCheckType: "TVC_HEALTH_CHECK_TYPE_HTTP" | "TVC_HEALTH_CHECK_TYPE_GRPC";
|
|
4401
5658
|
v1TvcManifest: {
|
|
@@ -4579,6 +5836,38 @@ export type definitions = {
|
|
|
4579
5836
|
/** @description Unique identifier of the Fiat On-Ramp credential that was updated */
|
|
4580
5837
|
fiatOnRampCredentialId: string;
|
|
4581
5838
|
};
|
|
5839
|
+
v1UpdateMfaPolicyIntent: {
|
|
5840
|
+
/** @description The ID of the User to update the MFA Policy for. */
|
|
5841
|
+
userId: string;
|
|
5842
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
5843
|
+
mfaPolicyId: string;
|
|
5844
|
+
/** @description Human-readable name for a Policy. */
|
|
5845
|
+
mfaPolicyName?: string;
|
|
5846
|
+
/** @description A condition expression that evaluates to true or false, determining when this MFA policy applies. */
|
|
5847
|
+
condition?: string;
|
|
5848
|
+
/** @description An ordered list of authentication requirements. Each requirement must be satisfied sequentially to complete MFA. */
|
|
5849
|
+
requiredAuthenticationMethods?: definitions["v1RequiredAuthenticationMethodParams"][];
|
|
5850
|
+
/**
|
|
5851
|
+
* Format: int64
|
|
5852
|
+
* @description The order in which this MFA policy is evaluated, starting from 0, relative to other MFA policies. Lower order values are evaluated first.
|
|
5853
|
+
*/
|
|
5854
|
+
order?: number;
|
|
5855
|
+
/** @description Notes for an MFA Policy. */
|
|
5856
|
+
notes?: string;
|
|
5857
|
+
};
|
|
5858
|
+
v1UpdateMfaPolicyRequest: {
|
|
5859
|
+
/** @enum {string} */
|
|
5860
|
+
type: "ACTIVITY_TYPE_UPDATE_MFA_POLICY";
|
|
5861
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5862
|
+
timestampMs: string;
|
|
5863
|
+
/** @description Unique identifier for a given Organization. */
|
|
5864
|
+
organizationId: string;
|
|
5865
|
+
parameters: definitions["v1UpdateMfaPolicyIntent"];
|
|
5866
|
+
};
|
|
5867
|
+
v1UpdateMfaPolicyResult: {
|
|
5868
|
+
/** @description Unique identifier for a given MFA Policy. */
|
|
5869
|
+
mfaPolicyId: string;
|
|
5870
|
+
};
|
|
4582
5871
|
v1UpdateOauth2CredentialIntent: {
|
|
4583
5872
|
/** @description The ID of the OAuth 2.0 credential to update */
|
|
4584
5873
|
oauth2CredentialId: string;
|
|
@@ -4615,6 +5904,7 @@ export type definitions = {
|
|
|
4615
5904
|
/** @description Unique identifier for a given Organization. */
|
|
4616
5905
|
organizationId: string;
|
|
4617
5906
|
parameters: definitions["v1UpdateOrganizationNameIntent"];
|
|
5907
|
+
generateAppProofs?: boolean;
|
|
4618
5908
|
};
|
|
4619
5909
|
v1UpdateOrganizationNameResult: {
|
|
4620
5910
|
/** @description Unique identifier for the Organization. */
|
|
@@ -4714,6 +6004,23 @@ export type definitions = {
|
|
|
4714
6004
|
v1UpdateRootQuorumResult: {
|
|
4715
6005
|
[key: string]: unknown;
|
|
4716
6006
|
};
|
|
6007
|
+
v1UpdateTvcAppLiveDeploymentIntent: {
|
|
6008
|
+
/** @description The unique identifier of the TVC deployment to set as live for the app. */
|
|
6009
|
+
deploymentId: string;
|
|
6010
|
+
};
|
|
6011
|
+
v1UpdateTvcAppLiveDeploymentRequest: {
|
|
6012
|
+
/** @enum {string} */
|
|
6013
|
+
type: "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT";
|
|
6014
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
6015
|
+
timestampMs: string;
|
|
6016
|
+
/** @description Unique identifier for a given Organization. */
|
|
6017
|
+
organizationId: string;
|
|
6018
|
+
parameters: definitions["v1UpdateTvcAppLiveDeploymentIntent"];
|
|
6019
|
+
generateAppProofs?: boolean;
|
|
6020
|
+
};
|
|
6021
|
+
v1UpdateTvcAppLiveDeploymentResult: {
|
|
6022
|
+
[key: string]: unknown;
|
|
6023
|
+
};
|
|
4717
6024
|
v1UpdateUserEmailIntent: {
|
|
4718
6025
|
/** @description Unique identifier for a given User. */
|
|
4719
6026
|
userId: string;
|
|
@@ -4874,12 +6181,31 @@ export type definitions = {
|
|
|
4874
6181
|
/** @description The updated webhook endpoint data. */
|
|
4875
6182
|
webhookEndpoint: definitions["v1WebhookEndpointData"];
|
|
4876
6183
|
};
|
|
6184
|
+
v1UpsertEarnClientFeeConfigIntent: {
|
|
6185
|
+
/** @description Your performance fee on gross yield, in basis points (e.g., '2000' for 20%). Your fee plus Turnkey's fee cannot exceed 50% of yield. */
|
|
6186
|
+
clientFeeBps: string;
|
|
6187
|
+
/** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
6188
|
+
clientFeeWallet: string;
|
|
6189
|
+
};
|
|
6190
|
+
v1UpsertEarnClientFeeConfigRequest: {
|
|
6191
|
+
/** @enum {string} */
|
|
6192
|
+
type: "ACTIVITY_TYPE_UPSERT_EARN_CLIENT_FEE_CONFIG";
|
|
6193
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
6194
|
+
timestampMs: string;
|
|
6195
|
+
/** @description Unique identifier for a given Organization. */
|
|
6196
|
+
organizationId: string;
|
|
6197
|
+
parameters: definitions["v1UpsertEarnClientFeeConfigIntent"];
|
|
6198
|
+
};
|
|
6199
|
+
v1UpsertEarnClientFeeConfigResult: {
|
|
6200
|
+
/** @description Transaction hash of the fee configuration update. */
|
|
6201
|
+
feeUpdateTxHash: string;
|
|
6202
|
+
};
|
|
4877
6203
|
v1UpsertGasUsageConfigIntent: {
|
|
4878
6204
|
/** @description Gas sponsorship USD limit for the billing organization window. */
|
|
4879
6205
|
orgWindowLimitUsd: string;
|
|
4880
6206
|
/** @description Gas sponsorship USD limit for sub-organizations under the billing organization. */
|
|
4881
6207
|
subOrgWindowLimitUsd: string;
|
|
4882
|
-
/** @description Rolling sponsorship window duration, expressed in minutes. */
|
|
6208
|
+
/** @description Rolling sponsorship window duration, expressed in minutes. This value can't exceed 30 days (43200 minutes). */
|
|
4883
6209
|
windowDurationMinutes: string;
|
|
4884
6210
|
/** @description Whether gas sponsorship is enabled for the organization. */
|
|
4885
6211
|
enabled?: boolean;
|
|
@@ -4890,6 +6216,25 @@ export type definitions = {
|
|
|
4890
6216
|
/** @description Unique identifier for the gas usage configuration that was created or updated. */
|
|
4891
6217
|
gasUsageConfigId: string;
|
|
4892
6218
|
};
|
|
6219
|
+
v1UpsertSwapConfigIntent: {
|
|
6220
|
+
feeReceiverWalletAddress?: string;
|
|
6221
|
+
feeBps?: string;
|
|
6222
|
+
provider?: string;
|
|
6223
|
+
};
|
|
6224
|
+
v1UpsertSwapConfigRequest: {
|
|
6225
|
+
/** @enum {string} */
|
|
6226
|
+
type: "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG";
|
|
6227
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
6228
|
+
timestampMs: string;
|
|
6229
|
+
/** @description Unique identifier for a given Organization. */
|
|
6230
|
+
organizationId: string;
|
|
6231
|
+
parameters: definitions["v1UpsertSwapConfigIntent"];
|
|
6232
|
+
generateAppProofs?: boolean;
|
|
6233
|
+
};
|
|
6234
|
+
v1UpsertSwapConfigResult: {
|
|
6235
|
+
feeReceiverWalletAddress?: string;
|
|
6236
|
+
feeBps?: string;
|
|
6237
|
+
};
|
|
4893
6238
|
/** @enum {string} */
|
|
4894
6239
|
v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
4895
6240
|
v1User: {
|
|
@@ -4911,6 +6256,8 @@ export type definitions = {
|
|
|
4911
6256
|
oauthProviders: definitions["v1OauthProvider"][];
|
|
4912
6257
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
4913
6258
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
6259
|
+
/** @description A list of MFA Policies that define multi-factor authentication requirements for this user. */
|
|
6260
|
+
mfaPolicies: definitions["v1MfaPolicy"][];
|
|
4914
6261
|
};
|
|
4915
6262
|
v1UserParams: {
|
|
4916
6263
|
/** @description Human-readable name for a User. */
|
|
@@ -5069,6 +6416,8 @@ export type definitions = {
|
|
|
5069
6416
|
publicKey?: string;
|
|
5070
6417
|
/** @description Wallet details for this account. This is only present when include_wallet_details=true. */
|
|
5071
6418
|
walletDetails?: definitions["v1Wallet"];
|
|
6419
|
+
/** @description Human-readable name for this Wallet Account, unique within the organization. */
|
|
6420
|
+
name?: string;
|
|
5072
6421
|
};
|
|
5073
6422
|
v1WalletAccountParams: {
|
|
5074
6423
|
/** @description Cryptographic curve used to generate a wallet Account. */
|
|
@@ -5079,6 +6428,8 @@ export type definitions = {
|
|
|
5079
6428
|
path: string;
|
|
5080
6429
|
/** @description Address format used to generate a wallet Acccount. */
|
|
5081
6430
|
addressFormat: definitions["v1AddressFormat"];
|
|
6431
|
+
/** @description Optional human-readable name for the account. */
|
|
6432
|
+
name?: string;
|
|
5082
6433
|
};
|
|
5083
6434
|
v1WalletKitSettingsParams: {
|
|
5084
6435
|
/**
|
|
@@ -5140,7 +6491,7 @@ export type definitions = {
|
|
|
5140
6491
|
subscriptions?: definitions["v1WebhookSubscriptionParams"][];
|
|
5141
6492
|
};
|
|
5142
6493
|
v1WebhookSubscriptionParams: {
|
|
5143
|
-
/** @description The event type to subscribe to (for example, ACTIVITY_UPDATES or
|
|
6494
|
+
/** @description The event type to subscribe to (for example, ACTIVITY_UPDATES, BALANCE_CONFIRMED_UPDATES, or BALANCE_FINALIZED_UPDATES). */
|
|
5144
6495
|
eventType: string;
|
|
5145
6496
|
/** @description JSON-encoded filter criteria for this subscription. */
|
|
5146
6497
|
filtersJson?: string;
|
|
@@ -5149,17 +6500,17 @@ export type definitions = {
|
|
|
5149
6500
|
};
|
|
5150
6501
|
};
|
|
5151
6502
|
export type operations = {
|
|
5152
|
-
/**
|
|
5153
|
-
|
|
6503
|
+
/** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
|
|
6504
|
+
PublicApiService_EarnDepositStatus: {
|
|
5154
6505
|
parameters: {
|
|
5155
6506
|
body: {
|
|
5156
|
-
body: definitions["
|
|
6507
|
+
body: definitions["v1EarnDepositStatusRequest"];
|
|
5157
6508
|
};
|
|
5158
6509
|
};
|
|
5159
6510
|
responses: {
|
|
5160
6511
|
/** A successful response. */
|
|
5161
6512
|
200: {
|
|
5162
|
-
schema: definitions["
|
|
6513
|
+
schema: definitions["v1EarnDepositStatusResponse"];
|
|
5163
6514
|
};
|
|
5164
6515
|
/** An unexpected error response. */
|
|
5165
6516
|
default: {
|
|
@@ -5167,17 +6518,17 @@ export type operations = {
|
|
|
5167
6518
|
};
|
|
5168
6519
|
};
|
|
5169
6520
|
};
|
|
5170
|
-
/** Get
|
|
5171
|
-
|
|
6521
|
+
/** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
|
|
6522
|
+
PublicApiService_EarnEnabledVaults: {
|
|
5172
6523
|
parameters: {
|
|
5173
6524
|
body: {
|
|
5174
|
-
body: definitions["
|
|
6525
|
+
body: definitions["v1EarnEnabledVaultsRequest"];
|
|
5175
6526
|
};
|
|
5176
6527
|
};
|
|
5177
6528
|
responses: {
|
|
5178
6529
|
/** A successful response. */
|
|
5179
6530
|
200: {
|
|
5180
|
-
schema: definitions["
|
|
6531
|
+
schema: definitions["v1EarnEnabledVaultsResponse"];
|
|
5181
6532
|
};
|
|
5182
6533
|
/** An unexpected error response. */
|
|
5183
6534
|
default: {
|
|
@@ -5185,17 +6536,17 @@ export type operations = {
|
|
|
5185
6536
|
};
|
|
5186
6537
|
};
|
|
5187
6538
|
};
|
|
5188
|
-
/** Get
|
|
5189
|
-
|
|
6539
|
+
/** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
|
|
6540
|
+
PublicApiService_EarnPositions: {
|
|
5190
6541
|
parameters: {
|
|
5191
6542
|
body: {
|
|
5192
|
-
body: definitions["
|
|
6543
|
+
body: definitions["v1EarnPositionsRequest"];
|
|
5193
6544
|
};
|
|
5194
6545
|
};
|
|
5195
6546
|
responses: {
|
|
5196
6547
|
/** A successful response. */
|
|
5197
6548
|
200: {
|
|
5198
|
-
schema: definitions["
|
|
6549
|
+
schema: definitions["v1EarnPositionsResponse"];
|
|
5199
6550
|
};
|
|
5200
6551
|
/** An unexpected error response. */
|
|
5201
6552
|
default: {
|
|
@@ -5203,17 +6554,17 @@ export type operations = {
|
|
|
5203
6554
|
};
|
|
5204
6555
|
};
|
|
5205
6556
|
};
|
|
5206
|
-
/** Get live
|
|
5207
|
-
|
|
6557
|
+
/** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
|
|
6558
|
+
PublicApiService_EarnVaults: {
|
|
5208
6559
|
parameters: {
|
|
5209
6560
|
body: {
|
|
5210
|
-
body: definitions["
|
|
6561
|
+
body: definitions["v1EarnVaultsRequest"];
|
|
5211
6562
|
};
|
|
5212
6563
|
};
|
|
5213
6564
|
responses: {
|
|
5214
6565
|
/** A successful response. */
|
|
5215
6566
|
200: {
|
|
5216
|
-
schema: definitions["
|
|
6567
|
+
schema: definitions["v1EarnVaultsResponse"];
|
|
5217
6568
|
};
|
|
5218
6569
|
/** An unexpected error response. */
|
|
5219
6570
|
default: {
|
|
@@ -5221,17 +6572,17 @@ export type operations = {
|
|
|
5221
6572
|
};
|
|
5222
6573
|
};
|
|
5223
6574
|
};
|
|
5224
|
-
/**
|
|
5225
|
-
|
|
6575
|
+
/** Poll the status of a withdrawal by its withdraw_request_id. */
|
|
6576
|
+
PublicApiService_EarnWithdrawStatus: {
|
|
5226
6577
|
parameters: {
|
|
5227
6578
|
body: {
|
|
5228
|
-
body: definitions["
|
|
6579
|
+
body: definitions["v1EarnWithdrawStatusRequest"];
|
|
5229
6580
|
};
|
|
5230
6581
|
};
|
|
5231
6582
|
responses: {
|
|
5232
6583
|
/** A successful response. */
|
|
5233
6584
|
200: {
|
|
5234
|
-
schema: definitions["
|
|
6585
|
+
schema: definitions["v1EarnWithdrawStatusResponse"];
|
|
5235
6586
|
};
|
|
5236
6587
|
/** An unexpected error response. */
|
|
5237
6588
|
default: {
|
|
@@ -5239,17 +6590,17 @@ export type operations = {
|
|
|
5239
6590
|
};
|
|
5240
6591
|
};
|
|
5241
6592
|
};
|
|
5242
|
-
/** Get details about
|
|
5243
|
-
|
|
6593
|
+
/** Get details about an activity. */
|
|
6594
|
+
PublicApiService_GetActivity: {
|
|
5244
6595
|
parameters: {
|
|
5245
6596
|
body: {
|
|
5246
|
-
body: definitions["
|
|
6597
|
+
body: definitions["v1GetActivityRequest"];
|
|
5247
6598
|
};
|
|
5248
6599
|
};
|
|
5249
6600
|
responses: {
|
|
5250
6601
|
/** A successful response. */
|
|
5251
6602
|
200: {
|
|
5252
|
-
schema: definitions["
|
|
6603
|
+
schema: definitions["v1ActivityResponse"];
|
|
5253
6604
|
};
|
|
5254
6605
|
/** An unexpected error response. */
|
|
5255
6606
|
default: {
|
|
@@ -5257,17 +6608,107 @@ export type operations = {
|
|
|
5257
6608
|
};
|
|
5258
6609
|
};
|
|
5259
6610
|
};
|
|
5260
|
-
/** Get
|
|
5261
|
-
|
|
6611
|
+
/** Get details about an API key. */
|
|
6612
|
+
PublicApiService_GetApiKey: {
|
|
5262
6613
|
parameters: {
|
|
5263
6614
|
body: {
|
|
5264
|
-
body: definitions["
|
|
6615
|
+
body: definitions["v1GetApiKeyRequest"];
|
|
5265
6616
|
};
|
|
5266
6617
|
};
|
|
5267
6618
|
responses: {
|
|
5268
6619
|
/** A successful response. */
|
|
5269
6620
|
200: {
|
|
5270
|
-
schema: definitions["
|
|
6621
|
+
schema: definitions["v1GetApiKeyResponse"];
|
|
6622
|
+
};
|
|
6623
|
+
/** An unexpected error response. */
|
|
6624
|
+
default: {
|
|
6625
|
+
schema: definitions["rpcStatus"];
|
|
6626
|
+
};
|
|
6627
|
+
};
|
|
6628
|
+
};
|
|
6629
|
+
/** Get details about API keys for a user. */
|
|
6630
|
+
PublicApiService_GetApiKeys: {
|
|
6631
|
+
parameters: {
|
|
6632
|
+
body: {
|
|
6633
|
+
body: definitions["v1GetApiKeysRequest"];
|
|
6634
|
+
};
|
|
6635
|
+
};
|
|
6636
|
+
responses: {
|
|
6637
|
+
/** A successful response. */
|
|
6638
|
+
200: {
|
|
6639
|
+
schema: definitions["v1GetApiKeysResponse"];
|
|
6640
|
+
};
|
|
6641
|
+
/** An unexpected error response. */
|
|
6642
|
+
default: {
|
|
6643
|
+
schema: definitions["rpcStatus"];
|
|
6644
|
+
};
|
|
6645
|
+
};
|
|
6646
|
+
};
|
|
6647
|
+
/** Get live runtime status for a TVC App from the cluster. */
|
|
6648
|
+
PublicApiService_GetAppStatus: {
|
|
6649
|
+
parameters: {
|
|
6650
|
+
body: {
|
|
6651
|
+
body: definitions["v1GetAppStatusRequest"];
|
|
6652
|
+
};
|
|
6653
|
+
};
|
|
6654
|
+
responses: {
|
|
6655
|
+
/** A successful response. */
|
|
6656
|
+
200: {
|
|
6657
|
+
schema: definitions["v1GetAppStatusResponse"];
|
|
6658
|
+
};
|
|
6659
|
+
/** An unexpected error response. */
|
|
6660
|
+
default: {
|
|
6661
|
+
schema: definitions["rpcStatus"];
|
|
6662
|
+
};
|
|
6663
|
+
};
|
|
6664
|
+
};
|
|
6665
|
+
/** Get details about an authenticator. */
|
|
6666
|
+
PublicApiService_GetAuthenticator: {
|
|
6667
|
+
parameters: {
|
|
6668
|
+
body: {
|
|
6669
|
+
body: definitions["v1GetAuthenticatorRequest"];
|
|
6670
|
+
};
|
|
6671
|
+
};
|
|
6672
|
+
responses: {
|
|
6673
|
+
/** A successful response. */
|
|
6674
|
+
200: {
|
|
6675
|
+
schema: definitions["v1GetAuthenticatorResponse"];
|
|
6676
|
+
};
|
|
6677
|
+
/** An unexpected error response. */
|
|
6678
|
+
default: {
|
|
6679
|
+
schema: definitions["rpcStatus"];
|
|
6680
|
+
};
|
|
6681
|
+
};
|
|
6682
|
+
};
|
|
6683
|
+
/** Get details about authenticators for a user. */
|
|
6684
|
+
PublicApiService_GetAuthenticators: {
|
|
6685
|
+
parameters: {
|
|
6686
|
+
body: {
|
|
6687
|
+
body: definitions["v1GetAuthenticatorsRequest"];
|
|
6688
|
+
};
|
|
6689
|
+
};
|
|
6690
|
+
responses: {
|
|
6691
|
+
/** A successful response. */
|
|
6692
|
+
200: {
|
|
6693
|
+
schema: definitions["v1GetAuthenticatorsResponse"];
|
|
6694
|
+
};
|
|
6695
|
+
/** An unexpected error response. */
|
|
6696
|
+
default: {
|
|
6697
|
+
schema: definitions["rpcStatus"];
|
|
6698
|
+
};
|
|
6699
|
+
};
|
|
6700
|
+
};
|
|
6701
|
+
/** Get the boot proof for a given ephemeral key. */
|
|
6702
|
+
PublicApiService_GetBootProof: {
|
|
6703
|
+
parameters: {
|
|
6704
|
+
body: {
|
|
6705
|
+
body: definitions["v1GetBootProofRequest"];
|
|
6706
|
+
};
|
|
6707
|
+
};
|
|
6708
|
+
responses: {
|
|
6709
|
+
/** A successful response. */
|
|
6710
|
+
200: {
|
|
6711
|
+
schema: definitions["v1BootProofResponse"];
|
|
5271
6712
|
};
|
|
5272
6713
|
/** An unexpected error response. */
|
|
5273
6714
|
default: {
|
|
@@ -5329,6 +6770,60 @@ export type operations = {
|
|
|
5329
6770
|
};
|
|
5330
6771
|
};
|
|
5331
6772
|
};
|
|
6773
|
+
/** Get all MFA policies for a user. */
|
|
6774
|
+
PublicApiService_GetMfaPolicies: {
|
|
6775
|
+
parameters: {
|
|
6776
|
+
body: {
|
|
6777
|
+
body: definitions["v1GetMfaPoliciesRequest"];
|
|
6778
|
+
};
|
|
6779
|
+
};
|
|
6780
|
+
responses: {
|
|
6781
|
+
/** A successful response. */
|
|
6782
|
+
200: {
|
|
6783
|
+
schema: definitions["v1GetMfaPoliciesResponse"];
|
|
6784
|
+
};
|
|
6785
|
+
/** An unexpected error response. */
|
|
6786
|
+
default: {
|
|
6787
|
+
schema: definitions["rpcStatus"];
|
|
6788
|
+
};
|
|
6789
|
+
};
|
|
6790
|
+
};
|
|
6791
|
+
/** Get a single MFA policy for a user. */
|
|
6792
|
+
PublicApiService_GetMfaPolicy: {
|
|
6793
|
+
parameters: {
|
|
6794
|
+
body: {
|
|
6795
|
+
body: definitions["v1GetMfaPolicyRequest"];
|
|
6796
|
+
};
|
|
6797
|
+
};
|
|
6798
|
+
responses: {
|
|
6799
|
+
/** A successful response. */
|
|
6800
|
+
200: {
|
|
6801
|
+
schema: definitions["v1GetMfaPolicyResponse"];
|
|
6802
|
+
};
|
|
6803
|
+
/** An unexpected error response. */
|
|
6804
|
+
default: {
|
|
6805
|
+
schema: definitions["rpcStatus"];
|
|
6806
|
+
};
|
|
6807
|
+
};
|
|
6808
|
+
};
|
|
6809
|
+
/** Get the MFA status of an activity for a specific user or all voting users. */
|
|
6810
|
+
PublicApiService_GetMfaStatus: {
|
|
6811
|
+
parameters: {
|
|
6812
|
+
body: {
|
|
6813
|
+
body: definitions["v1GetMfaStatusRequest"];
|
|
6814
|
+
};
|
|
6815
|
+
};
|
|
6816
|
+
responses: {
|
|
6817
|
+
/** A successful response. */
|
|
6818
|
+
200: {
|
|
6819
|
+
schema: definitions["v1GetMfaStatusResponse"];
|
|
6820
|
+
};
|
|
6821
|
+
/** An unexpected error response. */
|
|
6822
|
+
default: {
|
|
6823
|
+
schema: definitions["rpcStatus"];
|
|
6824
|
+
};
|
|
6825
|
+
};
|
|
6826
|
+
};
|
|
5332
6827
|
/** Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions. */
|
|
5333
6828
|
PublicApiService_GetNonces: {
|
|
5334
6829
|
parameters: {
|
|
@@ -5509,6 +7004,42 @@ export type operations = {
|
|
|
5509
7004
|
};
|
|
5510
7005
|
};
|
|
5511
7006
|
};
|
|
7007
|
+
/** Get a single session profile for an organization. */
|
|
7008
|
+
PublicApiService_GetSessionProfile: {
|
|
7009
|
+
parameters: {
|
|
7010
|
+
body: {
|
|
7011
|
+
body: definitions["v1GetSessionProfileRequest"];
|
|
7012
|
+
};
|
|
7013
|
+
};
|
|
7014
|
+
responses: {
|
|
7015
|
+
/** A successful response. */
|
|
7016
|
+
200: {
|
|
7017
|
+
schema: definitions["v1GetSessionProfileResponse"];
|
|
7018
|
+
};
|
|
7019
|
+
/** An unexpected error response. */
|
|
7020
|
+
default: {
|
|
7021
|
+
schema: definitions["rpcStatus"];
|
|
7022
|
+
};
|
|
7023
|
+
};
|
|
7024
|
+
};
|
|
7025
|
+
/** Get all session profiles for an organization. */
|
|
7026
|
+
PublicApiService_GetSessionProfiles: {
|
|
7027
|
+
parameters: {
|
|
7028
|
+
body: {
|
|
7029
|
+
body: definitions["v1GetSessionProfilesRequest"];
|
|
7030
|
+
};
|
|
7031
|
+
};
|
|
7032
|
+
responses: {
|
|
7033
|
+
/** A successful response. */
|
|
7034
|
+
200: {
|
|
7035
|
+
schema: definitions["v1GetSessionProfilesResponse"];
|
|
7036
|
+
};
|
|
7037
|
+
/** An unexpected error response. */
|
|
7038
|
+
default: {
|
|
7039
|
+
schema: definitions["rpcStatus"];
|
|
7040
|
+
};
|
|
7041
|
+
};
|
|
7042
|
+
};
|
|
5512
7043
|
/** Get details about a smart contract interface. */
|
|
5513
7044
|
PublicApiService_GetSmartContractInterface: {
|
|
5514
7045
|
parameters: {
|
|
@@ -5527,6 +7058,42 @@ export type operations = {
|
|
|
5527
7058
|
};
|
|
5528
7059
|
};
|
|
5529
7060
|
};
|
|
7061
|
+
/** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
|
|
7062
|
+
PublicApiService_GetSwapQuote: {
|
|
7063
|
+
parameters: {
|
|
7064
|
+
body: {
|
|
7065
|
+
body: definitions["v1GetSwapQuoteRequest"];
|
|
7066
|
+
};
|
|
7067
|
+
};
|
|
7068
|
+
responses: {
|
|
7069
|
+
/** A successful response. */
|
|
7070
|
+
200: {
|
|
7071
|
+
schema: definitions["v1GetSwapQuoteResponse"];
|
|
7072
|
+
};
|
|
7073
|
+
/** An unexpected error response. */
|
|
7074
|
+
default: {
|
|
7075
|
+
schema: definitions["rpcStatus"];
|
|
7076
|
+
};
|
|
7077
|
+
};
|
|
7078
|
+
};
|
|
7079
|
+
/** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
|
|
7080
|
+
PublicApiService_GetSwapStatus: {
|
|
7081
|
+
parameters: {
|
|
7082
|
+
body: {
|
|
7083
|
+
body: definitions["v1GetSwapStatusRequest"];
|
|
7084
|
+
};
|
|
7085
|
+
};
|
|
7086
|
+
responses: {
|
|
7087
|
+
/** A successful response. */
|
|
7088
|
+
200: {
|
|
7089
|
+
schema: definitions["v1GetSwapStatusResponse"];
|
|
7090
|
+
};
|
|
7091
|
+
/** An unexpected error response. */
|
|
7092
|
+
default: {
|
|
7093
|
+
schema: definitions["rpcStatus"];
|
|
7094
|
+
};
|
|
7095
|
+
};
|
|
7096
|
+
};
|
|
5530
7097
|
/** Get details about a single TVC App */
|
|
5531
7098
|
PublicApiService_GetTvcApp: {
|
|
5532
7099
|
parameters: {
|
|
@@ -5563,6 +7130,42 @@ export type operations = {
|
|
|
5563
7130
|
};
|
|
5564
7131
|
};
|
|
5565
7132
|
};
|
|
7133
|
+
/** Get a bounded window of application logs from a debug-mode TVC deployment. Returned lines are collected from every running replica and sorted by platform timestamp. */
|
|
7134
|
+
PublicApiService_GetTvcDeploymentDebugLogs: {
|
|
7135
|
+
parameters: {
|
|
7136
|
+
body: {
|
|
7137
|
+
body: definitions["v1GetTvcDeploymentDebugLogsRequest"];
|
|
7138
|
+
};
|
|
7139
|
+
};
|
|
7140
|
+
responses: {
|
|
7141
|
+
/** A successful response. */
|
|
7142
|
+
200: {
|
|
7143
|
+
schema: definitions["v1GetTvcDeploymentDebugLogsResponse"];
|
|
7144
|
+
};
|
|
7145
|
+
/** An unexpected error response. */
|
|
7146
|
+
default: {
|
|
7147
|
+
schema: definitions["rpcStatus"];
|
|
7148
|
+
};
|
|
7149
|
+
};
|
|
7150
|
+
};
|
|
7151
|
+
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
7152
|
+
PublicApiService_GetTvcDeploymentProvisioningDetails: {
|
|
7153
|
+
parameters: {
|
|
7154
|
+
body: {
|
|
7155
|
+
body: definitions["v1GetTvcDeploymentProvisioningDetailsRequest"];
|
|
7156
|
+
};
|
|
7157
|
+
};
|
|
7158
|
+
responses: {
|
|
7159
|
+
/** A successful response. */
|
|
7160
|
+
200: {
|
|
7161
|
+
schema: definitions["v1GetTvcDeploymentProvisioningDetailsResponse"];
|
|
7162
|
+
};
|
|
7163
|
+
/** An unexpected error response. */
|
|
7164
|
+
default: {
|
|
7165
|
+
schema: definitions["rpcStatus"];
|
|
7166
|
+
};
|
|
7167
|
+
};
|
|
7168
|
+
};
|
|
5566
7169
|
/** Get details about a user. */
|
|
5567
7170
|
PublicApiService_GetUser: {
|
|
5568
7171
|
parameters: {
|
|
@@ -5617,7 +7220,7 @@ export type operations = {
|
|
|
5617
7220
|
};
|
|
5618
7221
|
};
|
|
5619
7222
|
};
|
|
5620
|
-
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
7223
|
+
/** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
|
|
5621
7224
|
PublicApiService_GetWalletAddressBalances: {
|
|
5622
7225
|
parameters: {
|
|
5623
7226
|
body: {
|
|
@@ -5671,6 +7274,24 @@ export type operations = {
|
|
|
5671
7274
|
};
|
|
5672
7275
|
};
|
|
5673
7276
|
};
|
|
7277
|
+
/** List email events for the organization. */
|
|
7278
|
+
PublicApiService_ListEmailEvents: {
|
|
7279
|
+
parameters: {
|
|
7280
|
+
body: {
|
|
7281
|
+
body: definitions["v1ListEmailEventsRequest"];
|
|
7282
|
+
};
|
|
7283
|
+
};
|
|
7284
|
+
responses: {
|
|
7285
|
+
/** A successful response. */
|
|
7286
|
+
200: {
|
|
7287
|
+
schema: definitions["v1ListEmailEventsResponse"];
|
|
7288
|
+
};
|
|
7289
|
+
/** An unexpected error response. */
|
|
7290
|
+
default: {
|
|
7291
|
+
schema: definitions["rpcStatus"];
|
|
7292
|
+
};
|
|
7293
|
+
};
|
|
7294
|
+
};
|
|
5674
7295
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
5675
7296
|
PublicApiService_ListFiatOnRampCredentials: {
|
|
5676
7297
|
parameters: {
|
|
@@ -5797,7 +7418,7 @@ export type operations = {
|
|
|
5797
7418
|
};
|
|
5798
7419
|
};
|
|
5799
7420
|
};
|
|
5800
|
-
/** List supported assets for the specified network.
|
|
7421
|
+
/** List supported assets for the specified network. */
|
|
5801
7422
|
PublicApiService_ListSupportedAssets: {
|
|
5802
7423
|
parameters: {
|
|
5803
7424
|
body: {
|
|
@@ -6103,6 +7724,24 @@ export type operations = {
|
|
|
6103
7724
|
};
|
|
6104
7725
|
};
|
|
6105
7726
|
};
|
|
7727
|
+
/** Create a new MFA policy for a user. */
|
|
7728
|
+
PublicApiService_CreateMfaPolicy: {
|
|
7729
|
+
parameters: {
|
|
7730
|
+
body: {
|
|
7731
|
+
body: definitions["v1CreateMfaPolicyRequest"];
|
|
7732
|
+
};
|
|
7733
|
+
};
|
|
7734
|
+
responses: {
|
|
7735
|
+
/** A successful response. */
|
|
7736
|
+
200: {
|
|
7737
|
+
schema: definitions["v1ActivityResponse"];
|
|
7738
|
+
};
|
|
7739
|
+
/** An unexpected error response. */
|
|
7740
|
+
default: {
|
|
7741
|
+
schema: definitions["rpcStatus"];
|
|
7742
|
+
};
|
|
7743
|
+
};
|
|
7744
|
+
};
|
|
6106
7745
|
/** Enable authentication for end users with an OAuth 2.0 provider */
|
|
6107
7746
|
PublicApiService_CreateOauth2Credential: {
|
|
6108
7747
|
parameters: {
|
|
@@ -6247,6 +7886,24 @@ export type operations = {
|
|
|
6247
7886
|
};
|
|
6248
7887
|
};
|
|
6249
7888
|
};
|
|
7889
|
+
/** Create a new session profile for an organization. */
|
|
7890
|
+
PublicApiService_CreateSessionProfile: {
|
|
7891
|
+
parameters: {
|
|
7892
|
+
body: {
|
|
7893
|
+
body: definitions["v1CreateSessionProfileRequest"];
|
|
7894
|
+
};
|
|
7895
|
+
};
|
|
7896
|
+
responses: {
|
|
7897
|
+
/** A successful response. */
|
|
7898
|
+
200: {
|
|
7899
|
+
schema: definitions["v1ActivityResponse"];
|
|
7900
|
+
};
|
|
7901
|
+
/** An unexpected error response. */
|
|
7902
|
+
default: {
|
|
7903
|
+
schema: definitions["rpcStatus"];
|
|
7904
|
+
};
|
|
7905
|
+
};
|
|
7906
|
+
};
|
|
6250
7907
|
/** Create an ABI/IDL in JSON. */
|
|
6251
7908
|
PublicApiService_CreateSmartContractInterface: {
|
|
6252
7909
|
parameters: {
|
|
@@ -6337,6 +7994,42 @@ export type operations = {
|
|
|
6337
7994
|
};
|
|
6338
7995
|
};
|
|
6339
7996
|
};
|
|
7997
|
+
/** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
|
|
7998
|
+
PublicApiService_CreateTvcOperator: {
|
|
7999
|
+
parameters: {
|
|
8000
|
+
body: {
|
|
8001
|
+
body: definitions["v1CreateTvcOperatorRequest"];
|
|
8002
|
+
};
|
|
8003
|
+
};
|
|
8004
|
+
responses: {
|
|
8005
|
+
/** A successful response. */
|
|
8006
|
+
200: {
|
|
8007
|
+
schema: definitions["v1ActivityResponse"];
|
|
8008
|
+
};
|
|
8009
|
+
/** An unexpected error response. */
|
|
8010
|
+
default: {
|
|
8011
|
+
schema: definitions["rpcStatus"];
|
|
8012
|
+
};
|
|
8013
|
+
};
|
|
8014
|
+
};
|
|
8015
|
+
/** Create a hosted TVC quorum key and encrypted shares. */
|
|
8016
|
+
PublicApiService_CreateTvcQuorumKey: {
|
|
8017
|
+
parameters: {
|
|
8018
|
+
body: {
|
|
8019
|
+
body: definitions["v1CreateTvcQuorumKeyRequest"];
|
|
8020
|
+
};
|
|
8021
|
+
};
|
|
8022
|
+
responses: {
|
|
8023
|
+
/** A successful response. */
|
|
8024
|
+
200: {
|
|
8025
|
+
schema: definitions["v1ActivityResponse"];
|
|
8026
|
+
};
|
|
8027
|
+
/** An unexpected error response. */
|
|
8028
|
+
default: {
|
|
8029
|
+
schema: definitions["rpcStatus"];
|
|
8030
|
+
};
|
|
8031
|
+
};
|
|
8032
|
+
};
|
|
6340
8033
|
/** Create a user tag and add it to users. */
|
|
6341
8034
|
PublicApiService_CreateUserTag: {
|
|
6342
8035
|
parameters: {
|
|
@@ -6485,7 +8178,25 @@ export type operations = {
|
|
|
6485
8178
|
PublicApiService_DeleteInvitation: {
|
|
6486
8179
|
parameters: {
|
|
6487
8180
|
body: {
|
|
6488
|
-
body: definitions["v1DeleteInvitationRequest"];
|
|
8181
|
+
body: definitions["v1DeleteInvitationRequest"];
|
|
8182
|
+
};
|
|
8183
|
+
};
|
|
8184
|
+
responses: {
|
|
8185
|
+
/** A successful response. */
|
|
8186
|
+
200: {
|
|
8187
|
+
schema: definitions["v1ActivityResponse"];
|
|
8188
|
+
};
|
|
8189
|
+
/** An unexpected error response. */
|
|
8190
|
+
default: {
|
|
8191
|
+
schema: definitions["rpcStatus"];
|
|
8192
|
+
};
|
|
8193
|
+
};
|
|
8194
|
+
};
|
|
8195
|
+
/** Delete an MFA policy for a user. */
|
|
8196
|
+
PublicApiService_DeleteMfaPolicy: {
|
|
8197
|
+
parameters: {
|
|
8198
|
+
body: {
|
|
8199
|
+
body: definitions["v1DeleteMfaPolicyRequest"];
|
|
6489
8200
|
};
|
|
6490
8201
|
};
|
|
6491
8202
|
responses: {
|
|
@@ -6643,6 +8354,42 @@ export type operations = {
|
|
|
6643
8354
|
};
|
|
6644
8355
|
};
|
|
6645
8356
|
};
|
|
8357
|
+
/** Delete a TVC App and all of its deployments */
|
|
8358
|
+
PublicApiService_DeleteTvcAppAndDeployments: {
|
|
8359
|
+
parameters: {
|
|
8360
|
+
body: {
|
|
8361
|
+
body: definitions["v1DeleteTvcAppAndDeploymentsRequest"];
|
|
8362
|
+
};
|
|
8363
|
+
};
|
|
8364
|
+
responses: {
|
|
8365
|
+
/** A successful response. */
|
|
8366
|
+
200: {
|
|
8367
|
+
schema: definitions["v1ActivityResponse"];
|
|
8368
|
+
};
|
|
8369
|
+
/** An unexpected error response. */
|
|
8370
|
+
default: {
|
|
8371
|
+
schema: definitions["rpcStatus"];
|
|
8372
|
+
};
|
|
8373
|
+
};
|
|
8374
|
+
};
|
|
8375
|
+
/** Delete a TVC Deployment */
|
|
8376
|
+
PublicApiService_DeleteTvcDeployment: {
|
|
8377
|
+
parameters: {
|
|
8378
|
+
body: {
|
|
8379
|
+
body: definitions["v1DeleteTvcDeploymentRequest"];
|
|
8380
|
+
};
|
|
8381
|
+
};
|
|
8382
|
+
responses: {
|
|
8383
|
+
/** A successful response. */
|
|
8384
|
+
200: {
|
|
8385
|
+
schema: definitions["v1ActivityResponse"];
|
|
8386
|
+
};
|
|
8387
|
+
/** An unexpected error response. */
|
|
8388
|
+
default: {
|
|
8389
|
+
schema: definitions["rpcStatus"];
|
|
8390
|
+
};
|
|
8391
|
+
};
|
|
8392
|
+
};
|
|
6646
8393
|
/** Delete user tags within an organization. */
|
|
6647
8394
|
PublicApiService_DeleteUserTags: {
|
|
6648
8395
|
parameters: {
|
|
@@ -6733,6 +8480,60 @@ export type operations = {
|
|
|
6733
8480
|
};
|
|
6734
8481
|
};
|
|
6735
8482
|
};
|
|
8483
|
+
/** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
|
|
8484
|
+
PublicApiService_EarnDeployWrapper: {
|
|
8485
|
+
parameters: {
|
|
8486
|
+
body: {
|
|
8487
|
+
body: definitions["v1EarnDeployWrapperRequest"];
|
|
8488
|
+
};
|
|
8489
|
+
};
|
|
8490
|
+
responses: {
|
|
8491
|
+
/** A successful response. */
|
|
8492
|
+
200: {
|
|
8493
|
+
schema: definitions["v1ActivityResponse"];
|
|
8494
|
+
};
|
|
8495
|
+
/** An unexpected error response. */
|
|
8496
|
+
default: {
|
|
8497
|
+
schema: definitions["rpcStatus"];
|
|
8498
|
+
};
|
|
8499
|
+
};
|
|
8500
|
+
};
|
|
8501
|
+
/** Deposit assets from a wallet into an enabled yield vault. */
|
|
8502
|
+
PublicApiService_EarnDeposit: {
|
|
8503
|
+
parameters: {
|
|
8504
|
+
body: {
|
|
8505
|
+
body: definitions["v1EarnDepositRequest"];
|
|
8506
|
+
};
|
|
8507
|
+
};
|
|
8508
|
+
responses: {
|
|
8509
|
+
/** A successful response. */
|
|
8510
|
+
200: {
|
|
8511
|
+
schema: definitions["v1ActivityResponse"];
|
|
8512
|
+
};
|
|
8513
|
+
/** An unexpected error response. */
|
|
8514
|
+
default: {
|
|
8515
|
+
schema: definitions["rpcStatus"];
|
|
8516
|
+
};
|
|
8517
|
+
};
|
|
8518
|
+
};
|
|
8519
|
+
/** Withdraw assets or redeem shares from an enabled yield vault. */
|
|
8520
|
+
PublicApiService_EarnWithdraw: {
|
|
8521
|
+
parameters: {
|
|
8522
|
+
body: {
|
|
8523
|
+
body: definitions["v1EarnWithdrawRequest"];
|
|
8524
|
+
};
|
|
8525
|
+
};
|
|
8526
|
+
responses: {
|
|
8527
|
+
/** A successful response. */
|
|
8528
|
+
200: {
|
|
8529
|
+
schema: definitions["v1ActivityResponse"];
|
|
8530
|
+
};
|
|
8531
|
+
/** An unexpected error response. */
|
|
8532
|
+
default: {
|
|
8533
|
+
schema: definitions["rpcStatus"];
|
|
8534
|
+
};
|
|
8535
|
+
};
|
|
8536
|
+
};
|
|
6736
8537
|
/** Authenticate a user via email. */
|
|
6737
8538
|
PublicApiService_EmailAuth: {
|
|
6738
8539
|
parameters: {
|
|
@@ -6787,6 +8588,24 @@ export type operations = {
|
|
|
6787
8588
|
};
|
|
6788
8589
|
};
|
|
6789
8590
|
};
|
|
8591
|
+
/** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
|
|
8592
|
+
PublicApiService_ExecuteSwap: {
|
|
8593
|
+
parameters: {
|
|
8594
|
+
body: {
|
|
8595
|
+
body: definitions["v1ExecuteSwapRequest"];
|
|
8596
|
+
};
|
|
8597
|
+
};
|
|
8598
|
+
responses: {
|
|
8599
|
+
/** A successful response. */
|
|
8600
|
+
200: {
|
|
8601
|
+
schema: definitions["v1ActivityResponse"];
|
|
8602
|
+
};
|
|
8603
|
+
/** An unexpected error response. */
|
|
8604
|
+
default: {
|
|
8605
|
+
schema: definitions["rpcStatus"];
|
|
8606
|
+
};
|
|
8607
|
+
};
|
|
8608
|
+
};
|
|
6790
8609
|
/** Export a private key. */
|
|
6791
8610
|
PublicApiService_ExportPrivateKey: {
|
|
6792
8611
|
parameters: {
|
|
@@ -7075,6 +8894,42 @@ export type operations = {
|
|
|
7075
8894
|
};
|
|
7076
8895
|
};
|
|
7077
8896
|
};
|
|
8897
|
+
/** Post re-encrypted quorum key share for a TVC deployment. */
|
|
8898
|
+
PublicApiService_PostTvcQuorumKeyShare: {
|
|
8899
|
+
parameters: {
|
|
8900
|
+
body: {
|
|
8901
|
+
body: definitions["v1PostTvcQuorumKeyShareRequest"];
|
|
8902
|
+
};
|
|
8903
|
+
};
|
|
8904
|
+
responses: {
|
|
8905
|
+
/** A successful response. */
|
|
8906
|
+
200: {
|
|
8907
|
+
schema: definitions["v1ActivityResponse"];
|
|
8908
|
+
};
|
|
8909
|
+
/** An unexpected error response. */
|
|
8910
|
+
default: {
|
|
8911
|
+
schema: definitions["rpcStatus"];
|
|
8912
|
+
};
|
|
8913
|
+
};
|
|
8914
|
+
};
|
|
8915
|
+
/** Re-encrypt a hosted TVC quorum key share for a deployment. */
|
|
8916
|
+
PublicApiService_ReEncryptTvcQuorumKeyShare: {
|
|
8917
|
+
parameters: {
|
|
8918
|
+
body: {
|
|
8919
|
+
body: definitions["v1ReEncryptTvcQuorumKeyShareRequest"];
|
|
8920
|
+
};
|
|
8921
|
+
};
|
|
8922
|
+
responses: {
|
|
8923
|
+
/** A successful response. */
|
|
8924
|
+
200: {
|
|
8925
|
+
schema: definitions["v1ActivityResponse"];
|
|
8926
|
+
};
|
|
8927
|
+
/** An unexpected error response. */
|
|
8928
|
+
default: {
|
|
8929
|
+
schema: definitions["rpcStatus"];
|
|
8930
|
+
};
|
|
8931
|
+
};
|
|
8932
|
+
};
|
|
7078
8933
|
/** Complete the process of recovering a user by adding an authenticator. */
|
|
7079
8934
|
PublicApiService_RecoverUser: {
|
|
7080
8935
|
parameters: {
|
|
@@ -7147,6 +9002,24 @@ export type operations = {
|
|
|
7147
9002
|
};
|
|
7148
9003
|
};
|
|
7149
9004
|
};
|
|
9005
|
+
/** Restore a deleted TVC Deployment */
|
|
9006
|
+
PublicApiService_RestoreTvcDeployment: {
|
|
9007
|
+
parameters: {
|
|
9008
|
+
body: {
|
|
9009
|
+
body: definitions["v1RestoreTvcDeploymentRequest"];
|
|
9010
|
+
};
|
|
9011
|
+
};
|
|
9012
|
+
responses: {
|
|
9013
|
+
/** A successful response. */
|
|
9014
|
+
200: {
|
|
9015
|
+
schema: definitions["v1ActivityResponse"];
|
|
9016
|
+
};
|
|
9017
|
+
/** An unexpected error response. */
|
|
9018
|
+
default: {
|
|
9019
|
+
schema: definitions["rpcStatus"];
|
|
9020
|
+
};
|
|
9021
|
+
};
|
|
9022
|
+
};
|
|
7150
9023
|
/** Create or update IP allowlist and rules for organization or API key. The IP allowlist restricts API access to specific CIDR blocks. Organization-level allowlists apply to all API keys unless overridden by a key-specific allowlist. */
|
|
7151
9024
|
PublicApiService_SetIpAllowlist: {
|
|
7152
9025
|
parameters: {
|
|
@@ -7183,6 +9056,24 @@ export type operations = {
|
|
|
7183
9056
|
};
|
|
7184
9057
|
};
|
|
7185
9058
|
};
|
|
9059
|
+
/** Set the live deployment for a TVC App */
|
|
9060
|
+
PublicApiService_UpdateTvcAppLiveDeployment: {
|
|
9061
|
+
parameters: {
|
|
9062
|
+
body: {
|
|
9063
|
+
body: definitions["v1UpdateTvcAppLiveDeploymentRequest"];
|
|
9064
|
+
};
|
|
9065
|
+
};
|
|
9066
|
+
responses: {
|
|
9067
|
+
/** A successful response. */
|
|
9068
|
+
200: {
|
|
9069
|
+
schema: definitions["v1ActivityResponse"];
|
|
9070
|
+
};
|
|
9071
|
+
/** An unexpected error response. */
|
|
9072
|
+
default: {
|
|
9073
|
+
schema: definitions["rpcStatus"];
|
|
9074
|
+
};
|
|
9075
|
+
};
|
|
9076
|
+
};
|
|
7186
9077
|
/** Sign a raw payload. */
|
|
7187
9078
|
PublicApiService_SignRawPayload: {
|
|
7188
9079
|
parameters: {
|
|
@@ -7255,6 +9146,78 @@ export type operations = {
|
|
|
7255
9146
|
};
|
|
7256
9147
|
};
|
|
7257
9148
|
};
|
|
9149
|
+
/** Construct receiver-side encrypted operator packages to claim a Spark transfer. Does not perform FROST signing. */
|
|
9150
|
+
PublicApiService_SparkClaimTransfer: {
|
|
9151
|
+
parameters: {
|
|
9152
|
+
body: {
|
|
9153
|
+
body: definitions["v1SparkClaimTransferRequest"];
|
|
9154
|
+
};
|
|
9155
|
+
};
|
|
9156
|
+
responses: {
|
|
9157
|
+
/** A successful response. */
|
|
9158
|
+
200: {
|
|
9159
|
+
schema: definitions["v1ActivityResponse"];
|
|
9160
|
+
};
|
|
9161
|
+
/** An unexpected error response. */
|
|
9162
|
+
default: {
|
|
9163
|
+
schema: definitions["rpcStatus"];
|
|
9164
|
+
};
|
|
9165
|
+
};
|
|
9166
|
+
};
|
|
9167
|
+
/** Generate a Lightning preimage and distribute Feldman shares to operators for a Spark Lightning receive. Does not perform FROST signing. */
|
|
9168
|
+
PublicApiService_SparkPrepareLightningReceive: {
|
|
9169
|
+
parameters: {
|
|
9170
|
+
body: {
|
|
9171
|
+
body: definitions["v1SparkPrepareLightningReceiveRequest"];
|
|
9172
|
+
};
|
|
9173
|
+
};
|
|
9174
|
+
responses: {
|
|
9175
|
+
/** A successful response. */
|
|
9176
|
+
200: {
|
|
9177
|
+
schema: definitions["v1ActivityResponse"];
|
|
9178
|
+
};
|
|
9179
|
+
/** An unexpected error response. */
|
|
9180
|
+
default: {
|
|
9181
|
+
schema: definitions["rpcStatus"];
|
|
9182
|
+
};
|
|
9183
|
+
};
|
|
9184
|
+
};
|
|
9185
|
+
/** Construct sender-side encrypted operator packages for a Spark BTC transfer. Does not perform FROST signing. */
|
|
9186
|
+
PublicApiService_SparkPrepareTransfer: {
|
|
9187
|
+
parameters: {
|
|
9188
|
+
body: {
|
|
9189
|
+
body: definitions["v1SparkPrepareTransferRequest"];
|
|
9190
|
+
};
|
|
9191
|
+
};
|
|
9192
|
+
responses: {
|
|
9193
|
+
/** A successful response. */
|
|
9194
|
+
200: {
|
|
9195
|
+
schema: definitions["v1ActivityResponse"];
|
|
9196
|
+
};
|
|
9197
|
+
/** An unexpected error response. */
|
|
9198
|
+
default: {
|
|
9199
|
+
schema: definitions["rpcStatus"];
|
|
9200
|
+
};
|
|
9201
|
+
};
|
|
9202
|
+
};
|
|
9203
|
+
/** Perform pure FROST partial signing for a Spark wallet. Produces partial signatures without constructing operator packages. */
|
|
9204
|
+
PublicApiService_SparkSignFrost: {
|
|
9205
|
+
parameters: {
|
|
9206
|
+
body: {
|
|
9207
|
+
body: definitions["v1SparkSignFrostRequest"];
|
|
9208
|
+
};
|
|
9209
|
+
};
|
|
9210
|
+
responses: {
|
|
9211
|
+
/** A successful response. */
|
|
9212
|
+
200: {
|
|
9213
|
+
schema: definitions["v1ActivityResponse"];
|
|
9214
|
+
};
|
|
9215
|
+
/** An unexpected error response. */
|
|
9216
|
+
default: {
|
|
9217
|
+
schema: definitions["rpcStatus"];
|
|
9218
|
+
};
|
|
9219
|
+
};
|
|
9220
|
+
};
|
|
7258
9221
|
/** Create a session for a user through stamping client side (API key, wallet client, or passkey client). */
|
|
7259
9222
|
PublicApiService_StampLogin: {
|
|
7260
9223
|
parameters: {
|
|
@@ -7291,6 +9254,24 @@ export type operations = {
|
|
|
7291
9254
|
};
|
|
7292
9255
|
};
|
|
7293
9256
|
};
|
|
9257
|
+
/** Update an MFA policy for a user. */
|
|
9258
|
+
PublicApiService_UpdateMfaPolicy: {
|
|
9259
|
+
parameters: {
|
|
9260
|
+
body: {
|
|
9261
|
+
body: definitions["v1UpdateMfaPolicyRequest"];
|
|
9262
|
+
};
|
|
9263
|
+
};
|
|
9264
|
+
responses: {
|
|
9265
|
+
/** A successful response. */
|
|
9266
|
+
200: {
|
|
9267
|
+
schema: definitions["v1ActivityResponse"];
|
|
9268
|
+
};
|
|
9269
|
+
/** An unexpected error response. */
|
|
9270
|
+
default: {
|
|
9271
|
+
schema: definitions["rpcStatus"];
|
|
9272
|
+
};
|
|
9273
|
+
};
|
|
9274
|
+
};
|
|
7294
9275
|
/** Update an OAuth 2.0 provider credential */
|
|
7295
9276
|
PublicApiService_UpdateOauth2Credential: {
|
|
7296
9277
|
parameters: {
|
|
@@ -7507,6 +9488,42 @@ export type operations = {
|
|
|
7507
9488
|
};
|
|
7508
9489
|
};
|
|
7509
9490
|
};
|
|
9491
|
+
/** Set the client's Earn fee rate and payout wallet for the organization. */
|
|
9492
|
+
PublicApiService_UpsertEarnClientFeeConfig: {
|
|
9493
|
+
parameters: {
|
|
9494
|
+
body: {
|
|
9495
|
+
body: definitions["v1UpsertEarnClientFeeConfigRequest"];
|
|
9496
|
+
};
|
|
9497
|
+
};
|
|
9498
|
+
responses: {
|
|
9499
|
+
/** A successful response. */
|
|
9500
|
+
200: {
|
|
9501
|
+
schema: definitions["v1ActivityResponse"];
|
|
9502
|
+
};
|
|
9503
|
+
/** An unexpected error response. */
|
|
9504
|
+
default: {
|
|
9505
|
+
schema: definitions["rpcStatus"];
|
|
9506
|
+
};
|
|
9507
|
+
};
|
|
9508
|
+
};
|
|
9509
|
+
/** Enable or disable swap configuration for an organization. */
|
|
9510
|
+
PublicApiService_UpsertSwapConfig: {
|
|
9511
|
+
parameters: {
|
|
9512
|
+
body: {
|
|
9513
|
+
body: definitions["v1UpsertSwapConfigRequest"];
|
|
9514
|
+
};
|
|
9515
|
+
};
|
|
9516
|
+
responses: {
|
|
9517
|
+
/** A successful response. */
|
|
9518
|
+
200: {
|
|
9519
|
+
schema: definitions["v1ActivityResponse"];
|
|
9520
|
+
};
|
|
9521
|
+
/** An unexpected error response. */
|
|
9522
|
+
default: {
|
|
9523
|
+
schema: definitions["rpcStatus"];
|
|
9524
|
+
};
|
|
9525
|
+
};
|
|
9526
|
+
};
|
|
7510
9527
|
/** Verify a generic OTP. */
|
|
7511
9528
|
PublicApiService_VerifyOtp: {
|
|
7512
9529
|
parameters: {
|