@turnkey/sdk-types 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/__generated__/types.d.ts +653 -83
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +739 -147
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export type paths = {
|
|
|
20
20
|
post: operations["PublicApiService_GetApiKeys"];
|
|
21
21
|
};
|
|
22
22
|
"/public/v1/query/get_app_status": {
|
|
23
|
-
/** Get live runtime status for a TVC
|
|
23
|
+
/** Get live runtime status for a TVC app from the cluster. */
|
|
24
24
|
post: operations["PublicApiService_GetAppStatus"];
|
|
25
25
|
};
|
|
26
26
|
"/public/v1/query/get_authenticator": {
|
|
@@ -32,13 +32,17 @@ export type paths = {
|
|
|
32
32
|
post: operations["PublicApiService_GetAuthenticators"];
|
|
33
33
|
};
|
|
34
34
|
"/public/v1/query/get_boot_proof": {
|
|
35
|
-
/** Get the
|
|
35
|
+
/** Get the Boot Proof for a given ephemeral key. */
|
|
36
36
|
post: operations["PublicApiService_GetBootProof"];
|
|
37
37
|
};
|
|
38
38
|
"/public/v1/query/get_claim_earn_fees_status": {
|
|
39
39
|
/** Poll the status of a fee claim by its claim_request_id. */
|
|
40
40
|
post: operations["PublicApiService_GetClaimEarnFeesStatus"];
|
|
41
41
|
};
|
|
42
|
+
"/public/v1/query/get_earn_claim_rewards_status": {
|
|
43
|
+
/** Poll the status of a rewards claim by its claim_request_id. */
|
|
44
|
+
post: operations["PublicApiService_GetEarnClaimRewardsStatus"];
|
|
45
|
+
};
|
|
42
46
|
"/public/v1/query/get_earn_deploy_status": {
|
|
43
47
|
/** Poll the status of a wrapper deployment by its deploy_request_id. */
|
|
44
48
|
post: operations["PublicApiService_GetEarnDeployStatus"];
|
|
@@ -51,6 +55,10 @@ export type paths = {
|
|
|
51
55
|
/** Poll the status of a withdrawal by its withdraw_request_id. */
|
|
52
56
|
post: operations["PublicApiService_GetEarnWithdrawStatus"];
|
|
53
57
|
};
|
|
58
|
+
"/public/v1/query/get_fiat_on_ramp_quote": {
|
|
59
|
+
/** Quote enabled fiat on-ramp providers for a buy. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
|
|
60
|
+
post: operations["PublicApiService_GetFiatOnRampQuote"];
|
|
61
|
+
};
|
|
54
62
|
"/public/v1/query/get_gas_usage": {
|
|
55
63
|
/** Get gas usage and gas limits for either the parent organization or a sub-organization. */
|
|
56
64
|
post: operations["PublicApiService_GetGasUsage"];
|
|
@@ -60,7 +68,7 @@ export type paths = {
|
|
|
60
68
|
post: operations["PublicApiService_GetIpAllowlist"];
|
|
61
69
|
};
|
|
62
70
|
"/public/v1/query/get_latest_boot_proof": {
|
|
63
|
-
/** Get the latest
|
|
71
|
+
/** Get the latest Boot Proof for a given enclave app name. */
|
|
64
72
|
post: operations["PublicApiService_GetLatestBootProof"];
|
|
65
73
|
};
|
|
66
74
|
"/public/v1/query/get_mfa_policies": {
|
|
@@ -127,16 +135,20 @@ export type paths = {
|
|
|
127
135
|
/** Get details about a smart contract interface. */
|
|
128
136
|
post: operations["PublicApiService_GetSmartContractInterface"];
|
|
129
137
|
};
|
|
138
|
+
"/public/v1/query/get_swap_sponsorship_usage": {
|
|
139
|
+
/** Read each swap sponsorship feature's spending window and settled spending in the current rolling window. Parents see aggregate spending; children see their own spending. Pending swaps are not reserved. */
|
|
140
|
+
post: operations["PublicApiService_GetSwapSponsorshipUsage"];
|
|
141
|
+
};
|
|
130
142
|
"/public/v1/query/get_swap_status": {
|
|
131
143
|
/** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
|
|
132
144
|
post: operations["PublicApiService_GetSwapStatus"];
|
|
133
145
|
};
|
|
134
146
|
"/public/v1/query/get_tvc_app": {
|
|
135
|
-
/** Get details about a single TVC
|
|
147
|
+
/** Get details about a single TVC app. */
|
|
136
148
|
post: operations["PublicApiService_GetTvcApp"];
|
|
137
149
|
};
|
|
138
150
|
"/public/v1/query/get_tvc_deployment": {
|
|
139
|
-
/** Get details about a single TVC
|
|
151
|
+
/** Get details about a single TVC deployment. */
|
|
140
152
|
post: operations["PublicApiService_GetTvcDeployment"];
|
|
141
153
|
};
|
|
142
154
|
"/public/v1/query/get_tvc_deployment_debug_logs": {
|
|
@@ -144,7 +156,7 @@ export type paths = {
|
|
|
144
156
|
post: operations["PublicApiService_GetTvcDeploymentDebugLogs"];
|
|
145
157
|
};
|
|
146
158
|
"/public/v1/query/get_tvc_deployment_provisioning_details": {
|
|
147
|
-
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
159
|
+
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment. */
|
|
148
160
|
post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
|
|
149
161
|
};
|
|
150
162
|
"/public/v1/query/get_tvc_qos_versions": {
|
|
@@ -187,6 +199,10 @@ export type paths = {
|
|
|
187
199
|
/** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
|
|
188
200
|
post: operations["PublicApiService_ListEarnPositions"];
|
|
189
201
|
};
|
|
202
|
+
"/public/v1/query/list_earn_rewards": {
|
|
203
|
+
/** List the protocol rewards (e.g. MORPHO and third-party campaign tokens, distributed off-chain via Merkl) attributed to a wallet: claimable, lifetime claimed, and pending amounts per reward token. */
|
|
204
|
+
post: operations["PublicApiService_ListEarnRewards"];
|
|
205
|
+
};
|
|
190
206
|
"/public/v1/query/list_earn_vaults": {
|
|
191
207
|
/** 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. */
|
|
192
208
|
post: operations["PublicApiService_ListEarnVaults"];
|
|
@@ -232,7 +248,7 @@ export type paths = {
|
|
|
232
248
|
post: operations["PublicApiService_ListSolTransactionHistory"];
|
|
233
249
|
};
|
|
234
250
|
"/public/v1/query/list_suborgs": {
|
|
235
|
-
/** Get all suborg IDs associated
|
|
251
|
+
/** Get all suborg IDs (verified and unverified) associated with a given parent organization ID and an optional filter. */
|
|
236
252
|
post: operations["PublicApiService_GetSubOrgIds"];
|
|
237
253
|
};
|
|
238
254
|
"/public/v1/query/list_supported_assets": {
|
|
@@ -240,13 +256,21 @@ export type paths = {
|
|
|
240
256
|
post: operations["PublicApiService_ListSupportedAssets"];
|
|
241
257
|
};
|
|
242
258
|
"/public/v1/query/list_tvc_app_deployments": {
|
|
243
|
-
/** List all deployments for a given TVC
|
|
259
|
+
/** List all deployments for a given TVC app. */
|
|
244
260
|
post: operations["PublicApiService_GetTvcAppDeployments"];
|
|
245
261
|
};
|
|
246
262
|
"/public/v1/query/list_tvc_apps": {
|
|
247
|
-
/** List all TVC
|
|
263
|
+
/** List all TVC apps within an organization. */
|
|
248
264
|
post: operations["PublicApiService_GetTvcApps"];
|
|
249
265
|
};
|
|
266
|
+
"/public/v1/query/list_tvc_operators": {
|
|
267
|
+
/** List all TVC operators within an organization, newest first. */
|
|
268
|
+
post: operations["PublicApiService_GetTvcOperators"];
|
|
269
|
+
};
|
|
270
|
+
"/public/v1/query/list_tvc_quorum_keys": {
|
|
271
|
+
/** List all hosted TVC Quorum Keys within an organization, newest first. */
|
|
272
|
+
post: operations["PublicApiService_GetTvcQuorumKeys"];
|
|
273
|
+
};
|
|
250
274
|
"/public/v1/query/list_user_tags": {
|
|
251
275
|
/** List all user tags within an organization. */
|
|
252
276
|
post: operations["PublicApiService_ListUserTags"];
|
|
@@ -260,7 +284,7 @@ export type paths = {
|
|
|
260
284
|
post: operations["PublicApiService_ListVelocityControls"];
|
|
261
285
|
};
|
|
262
286
|
"/public/v1/query/list_verified_suborgs": {
|
|
263
|
-
/** Get all
|
|
287
|
+
/** Get all verified suborg IDs associated with a given parent organization ID and an optional filter. */
|
|
264
288
|
post: operations["PublicApiService_GetVerifiedSubOrgIds"];
|
|
265
289
|
};
|
|
266
290
|
"/public/v1/query/list_wallet_accounts": {
|
|
@@ -276,11 +300,11 @@ export type paths = {
|
|
|
276
300
|
post: operations["PublicApiService_ListWebhookEndpoints"];
|
|
277
301
|
};
|
|
278
302
|
"/public/v1/query/validate_tvc_image": {
|
|
279
|
-
/** Validate a container image URL and pull secret for TVC deployment */
|
|
303
|
+
/** Validate a container image URL and pull secret for TVC deployment. */
|
|
280
304
|
post: operations["PublicApiService_ValidateTvcImage"];
|
|
281
305
|
};
|
|
282
306
|
"/public/v1/query/whoami": {
|
|
283
|
-
/** Get basic information about your current API or
|
|
307
|
+
/** Get basic information about your current API or WebAuthn user and their organization. Affords sub-organization lookups via parent organization for WebAuthn or API key users. */
|
|
284
308
|
post: operations["PublicApiService_GetWhoami"];
|
|
285
309
|
};
|
|
286
310
|
"/public/v1/submit/approve_activity": {
|
|
@@ -308,9 +332,13 @@ export type paths = {
|
|
|
308
332
|
post: operations["PublicApiService_CreateAuthenticators"];
|
|
309
333
|
};
|
|
310
334
|
"/public/v1/submit/create_fiat_on_ramp_credential": {
|
|
311
|
-
/** Create a fiat on ramp provider credential */
|
|
335
|
+
/** Create a fiat on ramp provider credential. */
|
|
312
336
|
post: operations["PublicApiService_CreateFiatOnRampCredential"];
|
|
313
337
|
};
|
|
338
|
+
"/public/v1/submit/create_fiat_on_ramp_session": {
|
|
339
|
+
/** Open a fiat on-ramp session for a saved quote. */
|
|
340
|
+
post: operations["PublicApiService_CreateFiatOnRampSession"];
|
|
341
|
+
};
|
|
314
342
|
"/public/v1/submit/create_invitations": {
|
|
315
343
|
/** Create invitations to join an existing organization. */
|
|
316
344
|
post: operations["PublicApiService_CreateInvitations"];
|
|
@@ -320,7 +348,7 @@ export type paths = {
|
|
|
320
348
|
post: operations["PublicApiService_CreateMfaPolicy"];
|
|
321
349
|
};
|
|
322
350
|
"/public/v1/submit/create_oauth2_credential": {
|
|
323
|
-
/** Enable authentication for end users with an OAuth 2.0 provider */
|
|
351
|
+
/** Enable authentication for end users with an OAuth 2.0 provider. */
|
|
324
352
|
post: operations["PublicApiService_CreateOauth2Credential"];
|
|
325
353
|
};
|
|
326
354
|
"/public/v1/submit/create_oauth_providers": {
|
|
@@ -364,27 +392,27 @@ export type paths = {
|
|
|
364
392
|
post: operations["PublicApiService_CreateSubOrganization"];
|
|
365
393
|
};
|
|
366
394
|
"/public/v1/submit/create_swap_quote": {
|
|
367
|
-
/**
|
|
395
|
+
/** Create a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. Requests must use ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3. */
|
|
368
396
|
post: operations["PublicApiService_CreateSwapQuote"];
|
|
369
397
|
};
|
|
370
398
|
"/public/v1/submit/create_tvc_app": {
|
|
371
|
-
/** Create a new TVC application */
|
|
399
|
+
/** Create a new TVC application. */
|
|
372
400
|
post: operations["PublicApiService_CreateTvcApp"];
|
|
373
401
|
};
|
|
374
402
|
"/public/v1/submit/create_tvc_deployment": {
|
|
375
|
-
/** Create a new TVC
|
|
403
|
+
/** Create a new TVC deployment. */
|
|
376
404
|
post: operations["PublicApiService_CreateTvcDeployment"];
|
|
377
405
|
};
|
|
378
406
|
"/public/v1/submit/create_tvc_manifest_approvals": {
|
|
379
|
-
/** Post one or more manifest approvals for a TVC
|
|
407
|
+
/** Post one or more manifest approvals for a TVC manifest. */
|
|
380
408
|
post: operations["PublicApiService_CreateTvcManifestApprovals"];
|
|
381
409
|
};
|
|
382
410
|
"/public/v1/submit/create_tvc_operator": {
|
|
383
|
-
/** Create a TVC
|
|
411
|
+
/** Create a TVC operator backed by uncompressed P-256 Turnkey wallet accounts. */
|
|
384
412
|
post: operations["PublicApiService_CreateTvcOperator"];
|
|
385
413
|
};
|
|
386
414
|
"/public/v1/submit/create_tvc_quorum_key": {
|
|
387
|
-
/** Create a hosted TVC
|
|
415
|
+
/** Create a hosted TVC Quorum Key and encrypted shares. */
|
|
388
416
|
post: operations["PublicApiService_CreateTvcQuorumKey"];
|
|
389
417
|
};
|
|
390
418
|
"/public/v1/submit/create_user_tag": {
|
|
@@ -412,7 +440,7 @@ export type paths = {
|
|
|
412
440
|
post: operations["PublicApiService_CreateWebhookEndpoint"];
|
|
413
441
|
};
|
|
414
442
|
"/public/v1/submit/delete_api_keys": {
|
|
415
|
-
/** Remove
|
|
443
|
+
/** Remove API keys from a user. */
|
|
416
444
|
post: operations["PublicApiService_DeleteApiKeys"];
|
|
417
445
|
};
|
|
418
446
|
"/public/v1/submit/delete_authenticators": {
|
|
@@ -420,7 +448,7 @@ export type paths = {
|
|
|
420
448
|
post: operations["PublicApiService_DeleteAuthenticators"];
|
|
421
449
|
};
|
|
422
450
|
"/public/v1/submit/delete_fiat_on_ramp_credential": {
|
|
423
|
-
/** Delete a fiat on ramp provider credential */
|
|
451
|
+
/** Delete a fiat on ramp provider credential. */
|
|
424
452
|
post: operations["PublicApiService_DeleteFiatOnRampCredential"];
|
|
425
453
|
};
|
|
426
454
|
"/public/v1/submit/delete_invitation": {
|
|
@@ -432,7 +460,7 @@ export type paths = {
|
|
|
432
460
|
post: operations["PublicApiService_DeleteMfaPolicy"];
|
|
433
461
|
};
|
|
434
462
|
"/public/v1/submit/delete_oauth2_credential": {
|
|
435
|
-
/** Disable authentication for end users with an OAuth 2.0 provider */
|
|
463
|
+
/** Disable authentication for end users with an OAuth 2.0 provider. */
|
|
436
464
|
post: operations["PublicApiService_DeleteOauth2Credential"];
|
|
437
465
|
};
|
|
438
466
|
"/public/v1/submit/delete_oauth_providers": {
|
|
@@ -468,11 +496,11 @@ export type paths = {
|
|
|
468
496
|
post: operations["PublicApiService_DeleteSubOrganization"];
|
|
469
497
|
};
|
|
470
498
|
"/public/v1/submit/delete_tvc_app_and_deployments": {
|
|
471
|
-
/** Delete a TVC
|
|
499
|
+
/** Delete a TVC app and all of its deployments. */
|
|
472
500
|
post: operations["PublicApiService_DeleteTvcAppAndDeployments"];
|
|
473
501
|
};
|
|
474
502
|
"/public/v1/submit/delete_tvc_deployment": {
|
|
475
|
-
/** Delete a TVC
|
|
503
|
+
/** Delete a TVC deployment. */
|
|
476
504
|
post: operations["PublicApiService_DeleteTvcDeployment"];
|
|
477
505
|
};
|
|
478
506
|
"/public/v1/submit/delete_user_tags": {
|
|
@@ -483,9 +511,9 @@ export type paths = {
|
|
|
483
511
|
/** Delete users within an organization. */
|
|
484
512
|
post: operations["PublicApiService_DeleteUsers"];
|
|
485
513
|
};
|
|
486
|
-
"/public/v1/submit/
|
|
487
|
-
/** Delete
|
|
488
|
-
post: operations["
|
|
514
|
+
"/public/v1/submit/delete_velocity_controls": {
|
|
515
|
+
/** Delete existing velocity controls. */
|
|
516
|
+
post: operations["PublicApiService_DeleteVelocityControls"];
|
|
489
517
|
};
|
|
490
518
|
"/public/v1/submit/delete_wallet_accounts": {
|
|
491
519
|
/** Delete wallet accounts for an organization. */
|
|
@@ -499,6 +527,10 @@ export type paths = {
|
|
|
499
527
|
/** Delete a webhook endpoint for an organization. */
|
|
500
528
|
post: operations["PublicApiService_DeleteWebhookEndpoint"];
|
|
501
529
|
};
|
|
530
|
+
"/public/v1/submit/earn_claim_rewards": {
|
|
531
|
+
/** Claim the Merkl protocol rewards attributed to a wallet's Earn positions. The claim is signed by the wallet itself and every reward token is transferred to it; see ListEarnRewards for what is claimable. */
|
|
532
|
+
post: operations["PublicApiService_EarnClaimRewards"];
|
|
533
|
+
};
|
|
502
534
|
"/public/v1/submit/earn_deploy_wrapper": {
|
|
503
535
|
/** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
|
|
504
536
|
post: operations["PublicApiService_EarnDeployWrapper"];
|
|
@@ -532,7 +564,7 @@ export type paths = {
|
|
|
532
564
|
post: operations["PublicApiService_EthUndelegate7702"];
|
|
533
565
|
};
|
|
534
566
|
"/public/v1/submit/execute_swap": {
|
|
535
|
-
/** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use
|
|
567
|
+
/** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V3. */
|
|
536
568
|
post: operations["PublicApiService_ExecuteSwap"];
|
|
537
569
|
};
|
|
538
570
|
"/public/v1/submit/export_private_key": {
|
|
@@ -596,7 +628,7 @@ export type paths = {
|
|
|
596
628
|
post: operations["PublicApiService_Oauth"];
|
|
597
629
|
};
|
|
598
630
|
"/public/v1/submit/oauth2_authenticate": {
|
|
599
|
-
/** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities */
|
|
631
|
+
/** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities. */
|
|
600
632
|
post: operations["PublicApiService_Oauth2Authenticate"];
|
|
601
633
|
};
|
|
602
634
|
"/public/v1/submit/oauth_login": {
|
|
@@ -612,11 +644,11 @@ export type paths = {
|
|
|
612
644
|
post: operations["PublicApiService_OtpLogin"];
|
|
613
645
|
};
|
|
614
646
|
"/public/v1/submit/post_tvc_quorum_key_share": {
|
|
615
|
-
/** Post re-encrypted
|
|
647
|
+
/** Post re-encrypted Quorum Key share for a TVC deployment. */
|
|
616
648
|
post: operations["PublicApiService_PostTvcQuorumKeyShare"];
|
|
617
649
|
};
|
|
618
650
|
"/public/v1/submit/re_encrypt_tvc_quorum_key_share": {
|
|
619
|
-
/** Re-encrypt a hosted TVC
|
|
651
|
+
/** Re-encrypt a hosted TVC Quorum Key share for a deployment. */
|
|
620
652
|
post: operations["PublicApiService_ReEncryptTvcQuorumKeyShare"];
|
|
621
653
|
};
|
|
622
654
|
"/public/v1/submit/recover_user": {
|
|
@@ -636,7 +668,7 @@ export type paths = {
|
|
|
636
668
|
post: operations["PublicApiService_RemoveOrganizationFeature"];
|
|
637
669
|
};
|
|
638
670
|
"/public/v1/submit/restore_tvc_deployment": {
|
|
639
|
-
/** Restore a deleted TVC
|
|
671
|
+
/** Restore a deleted TVC deployment. */
|
|
640
672
|
post: operations["PublicApiService_RestoreTvcDeployment"];
|
|
641
673
|
};
|
|
642
674
|
"/public/v1/submit/set_ip_allowlist": {
|
|
@@ -648,7 +680,7 @@ export type paths = {
|
|
|
648
680
|
post: operations["PublicApiService_SetOrganizationFeature"];
|
|
649
681
|
};
|
|
650
682
|
"/public/v1/submit/set_tvc_app_live_deployment": {
|
|
651
|
-
/** Set the live deployment for a TVC
|
|
683
|
+
/** Set the live deployment for a TVC app. */
|
|
652
684
|
post: operations["PublicApiService_UpdateTvcAppLiveDeployment"];
|
|
653
685
|
};
|
|
654
686
|
"/public/v1/submit/sign_raw_payload": {
|
|
@@ -688,7 +720,7 @@ export type paths = {
|
|
|
688
720
|
post: operations["PublicApiService_StampLogin"];
|
|
689
721
|
};
|
|
690
722
|
"/public/v1/submit/update_fiat_on_ramp_credential": {
|
|
691
|
-
/** Update a fiat on ramp provider credential */
|
|
723
|
+
/** Update a fiat on ramp provider credential. */
|
|
692
724
|
post: operations["PublicApiService_UpdateFiatOnRampCredential"];
|
|
693
725
|
};
|
|
694
726
|
"/public/v1/submit/update_mfa_policy": {
|
|
@@ -696,7 +728,7 @@ export type paths = {
|
|
|
696
728
|
post: operations["PublicApiService_UpdateMfaPolicy"];
|
|
697
729
|
};
|
|
698
730
|
"/public/v1/submit/update_oauth2_credential": {
|
|
699
|
-
/** Update an OAuth 2.0 provider credential */
|
|
731
|
+
/** Update an OAuth 2.0 provider credential. */
|
|
700
732
|
post: operations["PublicApiService_UpdateOauth2Credential"];
|
|
701
733
|
};
|
|
702
734
|
"/public/v1/submit/update_organization_name": {
|
|
@@ -747,11 +779,20 @@ export type paths = {
|
|
|
747
779
|
/** Enable or disable swap configuration for an organization. */
|
|
748
780
|
post: operations["PublicApiService_UpsertSwapConfig"];
|
|
749
781
|
};
|
|
782
|
+
"/public/v1/submit/upsert_swap_fee_sponsorship_limit_config": {
|
|
783
|
+
/** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
|
|
784
|
+
post: operations["PublicApiService_UpsertSwapFeeSponsorshipLimitConfig"];
|
|
785
|
+
};
|
|
786
|
+
"/public/v1/submit/upsert_swap_fixed_rate_limit_config": {
|
|
787
|
+
/** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
|
|
788
|
+
post: operations["PublicApiService_UpsertSwapFixedRateLimitConfig"];
|
|
789
|
+
};
|
|
750
790
|
"/public/v1/submit/verify_otp": {
|
|
751
791
|
/** Verify a generic OTP. */
|
|
752
792
|
post: operations["PublicApiService_VerifyOtp"];
|
|
753
793
|
};
|
|
754
794
|
"/tkhq/api/v1/noop-codegen-anchor": {
|
|
795
|
+
/** Internal no-op endpoint used to force generation of types not otherwise referenced by a public request or response. Not intended for use. */
|
|
755
796
|
post: operations["PublicApiService_NOOPCodegenAnchor"];
|
|
756
797
|
};
|
|
757
798
|
"/tkhq/api/v1/refresh_feature_flags": {
|
|
@@ -981,7 +1022,7 @@ export type definitions = {
|
|
|
981
1022
|
/** @enum {string} */
|
|
982
1023
|
v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
983
1024
|
/** @enum {string} */
|
|
984
|
-
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_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" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS" | "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL" | "
|
|
1025
|
+
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_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" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS" | "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL" | "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROLS" | "ACTIVITY_TYPE_UPDATE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V2" | "ACTIVITY_TYPE_EXECUTE_SWAP_V3" | "ACTIVITY_TYPE_DELETE_SECRETS" | "ACTIVITY_TYPE_EARN_CLAIM_REWARDS" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3" | "ACTIVITY_TYPE_UPSERT_SWAP_FEE_SPONSORSHIP_LIMIT_CONFIG" | "ACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_SESSION";
|
|
985
1026
|
/** @enum {string} */
|
|
986
1027
|
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";
|
|
987
1028
|
v1ApiKey: {
|
|
@@ -1069,6 +1110,8 @@ export type definitions = {
|
|
|
1069
1110
|
display?: definitions["v1AssetBalanceDisplay"];
|
|
1070
1111
|
/** @description The asset name */
|
|
1071
1112
|
name?: string;
|
|
1113
|
+
/** @description Solana token program address that owns this mint, inferred from getTokenAccountsByOwner. TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for classic SPL Token, TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. Empty for native SOL and non-Solana assets. */
|
|
1114
|
+
tokenProgram?: string;
|
|
1072
1115
|
};
|
|
1073
1116
|
v1AssetBalanceDisplay: {
|
|
1074
1117
|
/** @description USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
|
|
@@ -1335,6 +1378,28 @@ export type definitions = {
|
|
|
1335
1378
|
/** @description Unique identifier of the Fiat On-Ramp credential that was created */
|
|
1336
1379
|
fiatOnRampCredentialId: string;
|
|
1337
1380
|
};
|
|
1381
|
+
v1CreateFiatOnRampSessionIntent: {
|
|
1382
|
+
/** @description Identifier of a saved fiat on-ramp quote. Returned by GetFiatOnRampQuote. */
|
|
1383
|
+
quoteId: string;
|
|
1384
|
+
/** @description Destination wallet address for the buy transaction. */
|
|
1385
|
+
walletAddress: string;
|
|
1386
|
+
};
|
|
1387
|
+
v1CreateFiatOnRampSessionRequest: {
|
|
1388
|
+
/** @enum {string} */
|
|
1389
|
+
type: "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_SESSION";
|
|
1390
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1391
|
+
timestampMs: string;
|
|
1392
|
+
/** @description Unique identifier for a given Organization. */
|
|
1393
|
+
organizationId: string;
|
|
1394
|
+
parameters: definitions["v1CreateFiatOnRampSessionIntent"];
|
|
1395
|
+
generateAppProofs?: boolean;
|
|
1396
|
+
};
|
|
1397
|
+
v1CreateFiatOnRampSessionResult: {
|
|
1398
|
+
/** @description URL of the fiat on-ramp session for the saved quote. */
|
|
1399
|
+
onRampUrl: string;
|
|
1400
|
+
/** @description Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow. */
|
|
1401
|
+
onRampTransactionId: string;
|
|
1402
|
+
};
|
|
1338
1403
|
v1CreateInvitationsIntent: {
|
|
1339
1404
|
/** @description A list of Invitations. */
|
|
1340
1405
|
invitations: definitions["v1InvitationParams"][];
|
|
@@ -1552,6 +1617,8 @@ export type definitions = {
|
|
|
1552
1617
|
v1CreatePrivateKeysIntentV2: {
|
|
1553
1618
|
/** @description A list of Private Keys. */
|
|
1554
1619
|
privateKeys: definitions["v1PrivateKeyParams"][];
|
|
1620
|
+
/** @description The public key of the external signer to use for creating the private keys. */
|
|
1621
|
+
externalSignerPubkey?: string;
|
|
1555
1622
|
};
|
|
1556
1623
|
v1CreatePrivateKeysRequest: {
|
|
1557
1624
|
/** @enum {string} */
|
|
@@ -1911,20 +1978,42 @@ export type definitions = {
|
|
|
1911
1978
|
/** @description Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
1912
1979
|
destinationAddress?: string;
|
|
1913
1980
|
};
|
|
1981
|
+
v1CreateSwapQuoteIntentV3: {
|
|
1982
|
+
/** @description Wallet account address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
1983
|
+
signWith: string;
|
|
1984
|
+
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
1985
|
+
inputToken: string;
|
|
1986
|
+
/** @description CAIP-19 asset ID for the output asset. */
|
|
1987
|
+
outputToken: string;
|
|
1988
|
+
/** @description Base-unit amount of the input asset. */
|
|
1989
|
+
inputAmount: string;
|
|
1990
|
+
/** @description Provider-neutral maximum allowed slippage in basis points. Turnkey converts this value to each provider's request format. When omitted, each provider applies its default slippage behavior. */
|
|
1991
|
+
slippageBps?: string;
|
|
1992
|
+
/** @description Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
1993
|
+
destinationAddress?: string;
|
|
1994
|
+
/** @description When true, Turnkey pays the provider fees for this swap and invoices them to the billing parent organization. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
|
|
1995
|
+
feeSponsorship?: boolean;
|
|
1996
|
+
/** @description When true, requests a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false. */
|
|
1997
|
+
fixedRate?: boolean;
|
|
1998
|
+
};
|
|
1914
1999
|
v1CreateSwapQuoteRequest: {
|
|
1915
2000
|
/** @enum {string} */
|
|
1916
|
-
type: "
|
|
2001
|
+
type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3";
|
|
1917
2002
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1918
2003
|
timestampMs: string;
|
|
1919
2004
|
/** @description Unique identifier for a given Organization. */
|
|
1920
2005
|
organizationId: string;
|
|
1921
|
-
parameters: definitions["
|
|
2006
|
+
parameters: definitions["v1CreateSwapQuoteIntentV3"];
|
|
1922
2007
|
generateAppProofs?: boolean;
|
|
1923
2008
|
};
|
|
1924
2009
|
v1CreateSwapQuoteResult: {
|
|
1925
2010
|
/** @description One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to execute_swap_v2 to bind execution. */
|
|
1926
2011
|
quotes: definitions["v1SwapQuote"][];
|
|
1927
2012
|
};
|
|
2013
|
+
v1CreateSwapQuoteResultV2: {
|
|
2014
|
+
/** @description One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to execute_swap to bind execution. */
|
|
2015
|
+
quotes: definitions["v1SwapQuoteV2"][];
|
|
2016
|
+
};
|
|
1928
2017
|
v1CreateTvcAppIntent: {
|
|
1929
2018
|
/** @description The name of the new TVC application */
|
|
1930
2019
|
name: string;
|
|
@@ -2013,6 +2102,16 @@ export type definitions = {
|
|
|
2013
2102
|
* @description Optional desired replica count for this deployment.
|
|
2014
2103
|
*/
|
|
2015
2104
|
replicas?: number;
|
|
2105
|
+
/**
|
|
2106
|
+
* Format: int64
|
|
2107
|
+
* @description Optional desired instance cpu count.
|
|
2108
|
+
*/
|
|
2109
|
+
instanceSizeCpus?: number;
|
|
2110
|
+
/**
|
|
2111
|
+
* Format: int64
|
|
2112
|
+
* @description Optional desired instance memory size in GiB.
|
|
2113
|
+
*/
|
|
2114
|
+
instanceSizeRam?: number;
|
|
2016
2115
|
};
|
|
2017
2116
|
v1CreateTvcDeploymentRequest: {
|
|
2018
2117
|
/** @enum {string} */
|
|
@@ -2610,21 +2709,23 @@ export type definitions = {
|
|
|
2610
2709
|
/** @description A list of User IDs. */
|
|
2611
2710
|
userIds: string[];
|
|
2612
2711
|
};
|
|
2613
|
-
|
|
2614
|
-
|
|
2712
|
+
v1DeleteVelocityControlsIntent: {
|
|
2713
|
+
/** @description List of 1 to 32 unique identifiers for Velocity Controls within an Organization. */
|
|
2714
|
+
velocityControlIds: string[];
|
|
2615
2715
|
};
|
|
2616
|
-
|
|
2716
|
+
v1DeleteVelocityControlsRequest: {
|
|
2617
2717
|
/** @enum {string} */
|
|
2618
|
-
type: "
|
|
2718
|
+
type: "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROLS";
|
|
2619
2719
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2620
2720
|
timestampMs: string;
|
|
2621
2721
|
/** @description Unique identifier for a given Organization. */
|
|
2622
2722
|
organizationId: string;
|
|
2623
|
-
parameters: definitions["
|
|
2723
|
+
parameters: definitions["v1DeleteVelocityControlsIntent"];
|
|
2624
2724
|
generateAppProofs?: boolean;
|
|
2625
2725
|
};
|
|
2626
|
-
|
|
2627
|
-
|
|
2726
|
+
v1DeleteVelocityControlsResult: {
|
|
2727
|
+
/** @description A list of unique identifiers for the deleted Velocity Controls. */
|
|
2728
|
+
velocityControlIds: string[];
|
|
2628
2729
|
};
|
|
2629
2730
|
v1DeleteWalletAccountsIntent: {
|
|
2630
2731
|
/** @description List of unique identifiers for wallet accounts within an organization */
|
|
@@ -2700,7 +2801,7 @@ export type definitions = {
|
|
|
2700
2801
|
/** @description Last time this deployment was updated */
|
|
2701
2802
|
lastUpdatedTime: definitions["externaldatav1Timestamp"];
|
|
2702
2803
|
/** @description Current quorum-key provisioning state for this deployment */
|
|
2703
|
-
provisioningState
|
|
2804
|
+
provisioningState: definitions["v1ProvisioningState"];
|
|
2704
2805
|
};
|
|
2705
2806
|
v1DisableAuthProxyIntent: {
|
|
2706
2807
|
[key: string]: unknown;
|
|
@@ -2716,6 +2817,28 @@ export type definitions = {
|
|
|
2716
2817
|
/** @description Unique identifier for a given Private Key. */
|
|
2717
2818
|
privateKeyId: string;
|
|
2718
2819
|
};
|
|
2820
|
+
v1EarnClaimRewardsIntent: {
|
|
2821
|
+
/** @description A Turnkey-managed wallet address the rewards are attributed to. The claim transaction is signed by this wallet and the Merkl Distributor transfers every reward token to it. */
|
|
2822
|
+
signWith: string;
|
|
2823
|
+
/** @description CAIP-2 chain to claim rewards on (e.g. 'eip155:8453'). Rewards accrue per chain; see ListEarnRewards. */
|
|
2824
|
+
caip2: string;
|
|
2825
|
+
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2826
|
+
sponsor?: boolean;
|
|
2827
|
+
};
|
|
2828
|
+
v1EarnClaimRewardsRequest: {
|
|
2829
|
+
/** @enum {string} */
|
|
2830
|
+
type: "ACTIVITY_TYPE_EARN_CLAIM_REWARDS";
|
|
2831
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2832
|
+
timestampMs: string;
|
|
2833
|
+
/** @description Unique identifier for a given Organization. */
|
|
2834
|
+
organizationId: string;
|
|
2835
|
+
parameters: definitions["v1EarnClaimRewardsIntent"];
|
|
2836
|
+
generateAppProofs?: boolean;
|
|
2837
|
+
};
|
|
2838
|
+
v1EarnClaimRewardsResult: {
|
|
2839
|
+
/** @description Identifier to poll claim status and tx hash via GetEarnClaimRewardsStatus. */
|
|
2840
|
+
claimRequestId: string;
|
|
2841
|
+
};
|
|
2719
2842
|
v1EarnDeployWrapperIntent: {
|
|
2720
2843
|
/** @description Address of the underlying yield vault to wrap (from the ListEarnVaults catalog). */
|
|
2721
2844
|
vaultAddress: string;
|
|
@@ -2723,7 +2846,7 @@ export type definitions = {
|
|
|
2723
2846
|
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2724
2847
|
* @enum {string}
|
|
2725
2848
|
*/
|
|
2726
|
-
|
|
2849
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2727
2850
|
/** @description Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
|
|
2728
2851
|
clientFeeBps: string;
|
|
2729
2852
|
/** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
@@ -2758,7 +2881,7 @@ export type definitions = {
|
|
|
2758
2881
|
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2759
2882
|
* @enum {string}
|
|
2760
2883
|
*/
|
|
2761
|
-
|
|
2884
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2762
2885
|
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2763
2886
|
sponsor?: boolean;
|
|
2764
2887
|
};
|
|
@@ -2859,7 +2982,42 @@ export type definitions = {
|
|
|
2859
2982
|
totalWithdrawnCrypto?: string;
|
|
2860
2983
|
};
|
|
2861
2984
|
/** @enum {string} */
|
|
2862
|
-
v1EarnProvider: "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE";
|
|
2985
|
+
v1EarnProvider: "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE" | "EARN_PROVIDER_KAMINO";
|
|
2986
|
+
v1EarnReward: {
|
|
2987
|
+
/** @description CAIP-2 chain the reward is claimable on (e.g. 'eip155:8453'). */
|
|
2988
|
+
caip2?: string;
|
|
2989
|
+
/** @description CAIP-19 asset ID of the reward token (e.g. 'eip155:8453/erc20:0xBAa5...'). Reward tokens are campaign-specific and unrelated to the position's underlying asset. */
|
|
2990
|
+
caip19?: string;
|
|
2991
|
+
/** @description Symbol of the reward token (e.g. 'MORPHO'), as reported by Merkl. */
|
|
2992
|
+
symbol?: string;
|
|
2993
|
+
/**
|
|
2994
|
+
* Format: int32
|
|
2995
|
+
* @description Decimals of the reward token.
|
|
2996
|
+
*/
|
|
2997
|
+
decimals?: number;
|
|
2998
|
+
/** @description Amount claimable now, in raw on-chain units of the reward token. */
|
|
2999
|
+
claimable?: string;
|
|
3000
|
+
/** @description Lifetime amount already claimed, in raw on-chain units of the reward token. */
|
|
3001
|
+
claimed?: string;
|
|
3002
|
+
/** @description Amount accrued but not yet claimable (not yet in a live on-chain merkle root; roots update roughly every 8 hours), in raw on-chain units of the reward token. */
|
|
3003
|
+
pending?: string;
|
|
3004
|
+
/** @description USD + crypto renderings for display only. Do not do arithmetic with these. */
|
|
3005
|
+
display?: definitions["v1EarnRewardDisplay"];
|
|
3006
|
+
};
|
|
3007
|
+
v1EarnRewardDisplay: {
|
|
3008
|
+
/** @description Claimable amount in USD, for display only. Empty when the token is unpriced. */
|
|
3009
|
+
claimableUsd?: string;
|
|
3010
|
+
/** @description Claimable amount in the reward token's own units, for display only. */
|
|
3011
|
+
claimableCrypto?: string;
|
|
3012
|
+
/** @description Lifetime claimed amount in USD, for display only. Empty when the token is unpriced. */
|
|
3013
|
+
claimedUsd?: string;
|
|
3014
|
+
/** @description Lifetime claimed amount in the reward token's own units, for display only. */
|
|
3015
|
+
claimedCrypto?: string;
|
|
3016
|
+
/** @description Pending amount in USD, for display only. Empty when the token is unpriced. */
|
|
3017
|
+
pendingUsd?: string;
|
|
3018
|
+
/** @description Pending amount in the reward token's own units, for display only. */
|
|
3019
|
+
pendingCrypto?: string;
|
|
3020
|
+
};
|
|
2863
3021
|
v1EarnSetWrapperStateIntent: {
|
|
2864
3022
|
/** @description Address of the deployed Earn wrapper to update, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
|
|
2865
3023
|
wrapperAddress: string;
|
|
@@ -2941,7 +3099,7 @@ export type definitions = {
|
|
|
2941
3099
|
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2942
3100
|
* @enum {string}
|
|
2943
3101
|
*/
|
|
2944
|
-
|
|
3102
|
+
caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
2945
3103
|
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2946
3104
|
sponsor?: boolean;
|
|
2947
3105
|
/** @description The amount of the underlying asset to withdraw, in raw on-chain units. Pass 'MAX' to withdraw the entire position. */
|
|
@@ -3354,12 +3512,12 @@ export type definitions = {
|
|
|
3354
3512
|
};
|
|
3355
3513
|
v1ExecuteSwapRequest: {
|
|
3356
3514
|
/** @enum {string} */
|
|
3357
|
-
type: "
|
|
3515
|
+
type: "ACTIVITY_TYPE_EXECUTE_SWAP_V3";
|
|
3358
3516
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3359
3517
|
timestampMs: string;
|
|
3360
3518
|
/** @description Unique identifier for a given Organization. */
|
|
3361
3519
|
organizationId: string;
|
|
3362
|
-
parameters: definitions["
|
|
3520
|
+
parameters: definitions["v1ExecuteSwapIntentV3"];
|
|
3363
3521
|
generateAppProofs?: boolean;
|
|
3364
3522
|
};
|
|
3365
3523
|
v1ExecuteSwapResult: {
|
|
@@ -3470,9 +3628,20 @@ export type definitions = {
|
|
|
3470
3628
|
value?: string;
|
|
3471
3629
|
};
|
|
3472
3630
|
/** @enum {string} */
|
|
3473
|
-
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";
|
|
3631
|
+
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" | "FEATURE_NAME_SWAP_FEE_SPONSORSHIP" | "FEATURE_NAME_SWAP_FIXED_RATE";
|
|
3632
|
+
v1FiatOnRampAmount: {
|
|
3633
|
+
/** @description Amount in atomic units. Use this to compare quotes. Do not use display. */
|
|
3634
|
+
amount: string;
|
|
3635
|
+
/**
|
|
3636
|
+
* Format: int32
|
|
3637
|
+
* @description Decimal places for this amount. Asset decimals for cryptocurrency, atomic-unit decimals for fiat (2 for USD).
|
|
3638
|
+
*/
|
|
3639
|
+
decimals: number;
|
|
3640
|
+
/** @description Decimal representation in standard currency units. */
|
|
3641
|
+
display: string;
|
|
3642
|
+
};
|
|
3474
3643
|
/** @enum {string} */
|
|
3475
|
-
v1FiatOnRampBlockchainNetwork: "
|
|
3644
|
+
v1FiatOnRampBlockchainNetwork: "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
|
|
3476
3645
|
v1FiatOnRampCredential: {
|
|
3477
3646
|
/** @description Unique identifier for a given Fiat On-Ramp Credential. */
|
|
3478
3647
|
fiatOnrampCredentialId: string;
|
|
@@ -3501,8 +3670,33 @@ export type definitions = {
|
|
|
3501
3670
|
v1FiatOnRampPaymentMethod: "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" | "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" | "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" | "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" | "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT";
|
|
3502
3671
|
/** @enum {string} */
|
|
3503
3672
|
v1FiatOnRampProvider: "FIAT_ON_RAMP_PROVIDER_COINBASE" | "FIAT_ON_RAMP_PROVIDER_MOONPAY";
|
|
3673
|
+
v1FiatOnRampQuote: {
|
|
3674
|
+
/** @description Identifier for this saved quote. Pass this to the create on ramp session activity. */
|
|
3675
|
+
quoteId: string;
|
|
3676
|
+
/** @description Provider that produced this quote. */
|
|
3677
|
+
onrampProvider: definitions["v1FiatOnRampProvider"];
|
|
3678
|
+
/** @description Underlying provider when onramp_provider aggregates several. */
|
|
3679
|
+
serviceProvider?: string;
|
|
3680
|
+
/** @description Fiat the user pays, in atomic units of fiat_currency_code. For USD, 100 dollars is "10000". */
|
|
3681
|
+
fiatAmount: definitions["v1FiatOnRampAmount"];
|
|
3682
|
+
/** @description Fiat currency of fiat_amount and total_fee. */
|
|
3683
|
+
fiatCurrencyCode: definitions["v1FiatOnRampCurrency"];
|
|
3684
|
+
/** @description Cryptocurrency the user would receive, in atomic units. Not locked in the session. */
|
|
3685
|
+
cryptoAmount: definitions["v1FiatOnRampAmount"];
|
|
3686
|
+
/**
|
|
3687
|
+
* @description CAIP-19 asset of crypto_amount.
|
|
3688
|
+
* @enum {string}
|
|
3689
|
+
*/
|
|
3690
|
+
caip19: "eip155:1/slip44:60" | "eip155:10/slip44:60" | "eip155:137/erc20:0x7ceb23fd6bc0add59e62ac25578270cff1b9f619" | "eip155:8453/slip44:60" | "eip155:42161/slip44:60" | "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85" | "eip155:137/erc20:0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
3691
|
+
/** @description Payment method this quote was priced for. Bank transfers are not included. */
|
|
3692
|
+
paymentMethod: definitions["v1FiatOnRampPaymentMethod"];
|
|
3693
|
+
/** @description Total fee in atomic units of fiat_currency_code. */
|
|
3694
|
+
totalFee: definitions["v1FiatOnRampAmount"];
|
|
3695
|
+
/** @description Quote expiration as a millisecond epoch string. Empty when the provider does not send one. */
|
|
3696
|
+
expiresAt?: string;
|
|
3697
|
+
};
|
|
3504
3698
|
v1GetActivePoliciesRequest: {
|
|
3505
|
-
/** @description Unique identifier for a given
|
|
3699
|
+
/** @description Unique identifier for a given Organization. */
|
|
3506
3700
|
organizationId: string;
|
|
3507
3701
|
};
|
|
3508
3702
|
v1GetActivePoliciesResponse: {
|
|
@@ -3515,7 +3709,7 @@ export type definitions = {
|
|
|
3515
3709
|
evaluatedAtMs: string;
|
|
3516
3710
|
};
|
|
3517
3711
|
v1GetActivitiesRequest: {
|
|
3518
|
-
/** @description Unique identifier for a given
|
|
3712
|
+
/** @description Unique identifier for a given Organization. */
|
|
3519
3713
|
organizationId: string;
|
|
3520
3714
|
/** @description Array of activity statuses filtering which activities will be listed in the response. */
|
|
3521
3715
|
filterByStatus?: definitions["v1ActivityStatus"][];
|
|
@@ -3529,13 +3723,13 @@ export type definitions = {
|
|
|
3529
3723
|
activities: definitions["v1Activity"][];
|
|
3530
3724
|
};
|
|
3531
3725
|
v1GetActivityRequest: {
|
|
3532
|
-
/** @description Unique identifier for a given
|
|
3726
|
+
/** @description Unique identifier for a given Organization. */
|
|
3533
3727
|
organizationId: string;
|
|
3534
3728
|
/** @description Unique identifier for a given activity object. */
|
|
3535
3729
|
activityId: string;
|
|
3536
3730
|
};
|
|
3537
3731
|
v1GetApiKeyRequest: {
|
|
3538
|
-
/** @description Unique identifier for a given
|
|
3732
|
+
/** @description Unique identifier for a given Organization. */
|
|
3539
3733
|
organizationId: string;
|
|
3540
3734
|
/** @description Unique identifier for a given API key. */
|
|
3541
3735
|
apiKeyId: string;
|
|
@@ -3545,7 +3739,7 @@ export type definitions = {
|
|
|
3545
3739
|
apiKey: definitions["v1ApiKey"];
|
|
3546
3740
|
};
|
|
3547
3741
|
v1GetApiKeysRequest: {
|
|
3548
|
-
/** @description Unique identifier for a given
|
|
3742
|
+
/** @description Unique identifier for a given Organization. */
|
|
3549
3743
|
organizationId: string;
|
|
3550
3744
|
/** @description Unique identifier for a given user. */
|
|
3551
3745
|
userId?: string;
|
|
@@ -3574,7 +3768,7 @@ export type definitions = {
|
|
|
3574
3768
|
appStatus: definitions["v1AppStatus"];
|
|
3575
3769
|
};
|
|
3576
3770
|
v1GetAuthenticatorRequest: {
|
|
3577
|
-
/** @description Unique identifier for a given
|
|
3771
|
+
/** @description Unique identifier for a given Organization. */
|
|
3578
3772
|
organizationId: string;
|
|
3579
3773
|
/** @description Unique identifier for a given authenticator. */
|
|
3580
3774
|
authenticatorId: string;
|
|
@@ -3584,7 +3778,7 @@ export type definitions = {
|
|
|
3584
3778
|
authenticator: definitions["v1Authenticator"];
|
|
3585
3779
|
};
|
|
3586
3780
|
v1GetAuthenticatorsRequest: {
|
|
3587
|
-
/** @description Unique identifier for a given
|
|
3781
|
+
/** @description Unique identifier for a given Organization. */
|
|
3588
3782
|
organizationId: string;
|
|
3589
3783
|
/** @description Unique identifier for a given user. */
|
|
3590
3784
|
userId: string;
|
|
@@ -3616,6 +3810,23 @@ export type definitions = {
|
|
|
3616
3810
|
/** @description Reason the fee claim transaction failed, when status is FAILED. */
|
|
3617
3811
|
error?: string;
|
|
3618
3812
|
};
|
|
3813
|
+
v1GetEarnClaimRewardsStatusRequest: {
|
|
3814
|
+
/** @description Unique identifier for a given Organization. */
|
|
3815
|
+
organizationId: string;
|
|
3816
|
+
/** @description The claim_request_id returned by EarnClaimRewards. */
|
|
3817
|
+
claimRequestId: string;
|
|
3818
|
+
};
|
|
3819
|
+
v1GetEarnClaimRewardsStatusResponse: {
|
|
3820
|
+
/**
|
|
3821
|
+
* @description Status of the rewards claim.
|
|
3822
|
+
* @enum {string}
|
|
3823
|
+
*/
|
|
3824
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
3825
|
+
/** @description Transaction hash of the rewards claim, once available. */
|
|
3826
|
+
claimTxHash?: string;
|
|
3827
|
+
/** @description Reason the rewards claim transaction failed, when status is FAILED. */
|
|
3828
|
+
error?: string;
|
|
3829
|
+
};
|
|
3619
3830
|
v1GetEarnDeployStatusRequest: {
|
|
3620
3831
|
/** @description Unique identifier for a given Organization. */
|
|
3621
3832
|
organizationId: string;
|
|
@@ -3667,6 +3878,29 @@ export type definitions = {
|
|
|
3667
3878
|
/** @description Reason the withdrawal transaction failed, when status is FAILED. */
|
|
3668
3879
|
error?: string;
|
|
3669
3880
|
};
|
|
3881
|
+
v1GetFiatOnRampQuoteRequest: {
|
|
3882
|
+
/** @description Unique identifier for a given Organization. */
|
|
3883
|
+
organizationId: string;
|
|
3884
|
+
/** @description Fiat amount the user wants to spend, in major units of fiat_currency_code. For example, "100" for 100 USD. */
|
|
3885
|
+
fiatAmount: string;
|
|
3886
|
+
/** @description Fiat currency for fiat_amount, for example USD. */
|
|
3887
|
+
fiatCurrencyCode: definitions["v1FiatOnRampCurrency"];
|
|
3888
|
+
/**
|
|
3889
|
+
* @description CAIP-19 asset to buy.
|
|
3890
|
+
* @enum {string}
|
|
3891
|
+
*/
|
|
3892
|
+
caip19: "eip155:1/slip44:60" | "eip155:10/slip44:60" | "eip155:137/erc20:0x7ceb23fd6bc0add59e62ac25578270cff1b9f619" | "eip155:8453/slip44:60" | "eip155:42161/slip44:60" | "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | "eip155:10/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85" | "eip155:137/erc20:0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" | "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" | "eip155:42161/erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
3893
|
+
/** @description ISO 3166-1 alpha-2 country code of the purchasing user, for example US. */
|
|
3894
|
+
countryCode: string;
|
|
3895
|
+
/** @description ISO 3166-2 subdivision code, for example NY. Only required if you have Coinbase enabled as a provider and country_code is US. */
|
|
3896
|
+
countrySubdivisionCode?: string;
|
|
3897
|
+
/** @description Quote sandbox credentials when true. Defaults to false. */
|
|
3898
|
+
sandboxMode?: boolean;
|
|
3899
|
+
};
|
|
3900
|
+
v1GetFiatOnRampQuoteResponse: {
|
|
3901
|
+
/** @description One quote per provider and payment method that can serve this route. Empty when none can. */
|
|
3902
|
+
quotes: definitions["v1FiatOnRampQuote"][];
|
|
3903
|
+
};
|
|
3670
3904
|
v1GetGasUsageRequest: {
|
|
3671
3905
|
/** @description Unique identifier for a given Organization. */
|
|
3672
3906
|
organizationId: string;
|
|
@@ -3683,7 +3917,7 @@ export type definitions = {
|
|
|
3683
3917
|
usageUsd: string;
|
|
3684
3918
|
};
|
|
3685
3919
|
v1GetIpAllowlistRequest: {
|
|
3686
|
-
/** @description Unique identifier for a given
|
|
3920
|
+
/** @description Unique identifier for a given Organization. */
|
|
3687
3921
|
organizationId: string;
|
|
3688
3922
|
/** @description If provided, return only the allowlist for this specific API key. */
|
|
3689
3923
|
publicKey?: string;
|
|
@@ -3698,7 +3932,7 @@ export type definitions = {
|
|
|
3698
3932
|
appName: string;
|
|
3699
3933
|
};
|
|
3700
3934
|
v1GetMfaPoliciesRequest: {
|
|
3701
|
-
/** @description Unique identifier for a given
|
|
3935
|
+
/** @description Unique identifier for a given Organization. */
|
|
3702
3936
|
organizationId: string;
|
|
3703
3937
|
/** @description Unique identifier for a given user. */
|
|
3704
3938
|
userId: string;
|
|
@@ -3708,7 +3942,7 @@ export type definitions = {
|
|
|
3708
3942
|
mfaPolicies: definitions["v1MfaPolicy"][];
|
|
3709
3943
|
};
|
|
3710
3944
|
v1GetMfaPolicyRequest: {
|
|
3711
|
-
/** @description Unique identifier for a given
|
|
3945
|
+
/** @description Unique identifier for a given Organization. */
|
|
3712
3946
|
organizationId: string;
|
|
3713
3947
|
/** @description Unique identifier for a given user. */
|
|
3714
3948
|
userId: string;
|
|
@@ -3720,7 +3954,7 @@ export type definitions = {
|
|
|
3720
3954
|
mfaPolicy: definitions["v1MfaPolicy"];
|
|
3721
3955
|
};
|
|
3722
3956
|
v1GetMfaStatusRequest: {
|
|
3723
|
-
/** @description Unique identifier for a given
|
|
3957
|
+
/** @description Unique identifier for a given Organization. */
|
|
3724
3958
|
organizationId: string;
|
|
3725
3959
|
/** @description The unique identifier of the activity to get MFA status for. */
|
|
3726
3960
|
activityId: string;
|
|
@@ -3768,7 +4002,7 @@ export type definitions = {
|
|
|
3768
4002
|
oauth2Credential: definitions["v1Oauth2Credential"];
|
|
3769
4003
|
};
|
|
3770
4004
|
v1GetOauthProvidersRequest: {
|
|
3771
|
-
/** @description Unique identifier for a given
|
|
4005
|
+
/** @description Unique identifier for a given Organization. */
|
|
3772
4006
|
organizationId: string;
|
|
3773
4007
|
/** @description Unique identifier for a given user. */
|
|
3774
4008
|
userId?: string;
|
|
@@ -3778,7 +4012,7 @@ export type definitions = {
|
|
|
3778
4012
|
oauthProviders: definitions["v1OauthProvider"][];
|
|
3779
4013
|
};
|
|
3780
4014
|
v1GetOnRampTransactionStatusRequest: {
|
|
3781
|
-
/** @description Unique identifier for a given
|
|
4015
|
+
/** @description Unique identifier for a given Organization. */
|
|
3782
4016
|
organizationId: string;
|
|
3783
4017
|
/** @description The unique identifier for the fiat on ramp transaction. */
|
|
3784
4018
|
transactionId: string;
|
|
@@ -3790,7 +4024,7 @@ export type definitions = {
|
|
|
3790
4024
|
transactionStatus: string;
|
|
3791
4025
|
};
|
|
3792
4026
|
v1GetOrganizationConfigsRequest: {
|
|
3793
|
-
/** @description Unique identifier for a given
|
|
4027
|
+
/** @description Unique identifier for a given Organization. */
|
|
3794
4028
|
organizationId: string;
|
|
3795
4029
|
};
|
|
3796
4030
|
v1GetOrganizationConfigsResponse: {
|
|
@@ -3798,7 +4032,7 @@ export type definitions = {
|
|
|
3798
4032
|
configs: definitions["v1Config"];
|
|
3799
4033
|
};
|
|
3800
4034
|
v1GetOrganizationRequest: {
|
|
3801
|
-
/** @description Unique identifier for a given
|
|
4035
|
+
/** @description Unique identifier for a given Organization. */
|
|
3802
4036
|
organizationId: string;
|
|
3803
4037
|
};
|
|
3804
4038
|
v1GetOrganizationResponse: {
|
|
@@ -3806,7 +4040,7 @@ export type definitions = {
|
|
|
3806
4040
|
organizationData: definitions["v1OrganizationData"];
|
|
3807
4041
|
};
|
|
3808
4042
|
v1GetPoliciesRequest: {
|
|
3809
|
-
/** @description Unique identifier for a given
|
|
4043
|
+
/** @description Unique identifier for a given Organization. */
|
|
3810
4044
|
organizationId: string;
|
|
3811
4045
|
};
|
|
3812
4046
|
v1GetPoliciesResponse: {
|
|
@@ -3814,7 +4048,7 @@ export type definitions = {
|
|
|
3814
4048
|
policies: definitions["v1Policy"][];
|
|
3815
4049
|
};
|
|
3816
4050
|
v1GetPolicyEvaluationsRequest: {
|
|
3817
|
-
/** @description Unique identifier for a given
|
|
4051
|
+
/** @description Unique identifier for a given Organization. */
|
|
3818
4052
|
organizationId: string;
|
|
3819
4053
|
/** @description Unique identifier for a given activity. */
|
|
3820
4054
|
activityId: string;
|
|
@@ -3823,7 +4057,7 @@ export type definitions = {
|
|
|
3823
4057
|
policyEvaluations: definitions["externalactivityv1PolicyEvaluation"][];
|
|
3824
4058
|
};
|
|
3825
4059
|
v1GetPolicyRequest: {
|
|
3826
|
-
/** @description Unique identifier for a given
|
|
4060
|
+
/** @description Unique identifier for a given Organization. */
|
|
3827
4061
|
organizationId: string;
|
|
3828
4062
|
/** @description Unique identifier for a given policy. */
|
|
3829
4063
|
policyId: string;
|
|
@@ -3833,7 +4067,7 @@ export type definitions = {
|
|
|
3833
4067
|
policy: definitions["v1Policy"];
|
|
3834
4068
|
};
|
|
3835
4069
|
v1GetPrivateKeyRequest: {
|
|
3836
|
-
/** @description Unique identifier for a given
|
|
4070
|
+
/** @description Unique identifier for a given Organization. */
|
|
3837
4071
|
organizationId: string;
|
|
3838
4072
|
/** @description Unique identifier for a given private key. */
|
|
3839
4073
|
privateKeyId: string;
|
|
@@ -3843,7 +4077,7 @@ export type definitions = {
|
|
|
3843
4077
|
privateKey: definitions["v1PrivateKey"];
|
|
3844
4078
|
};
|
|
3845
4079
|
v1GetPrivateKeysRequest: {
|
|
3846
|
-
/** @description Unique identifier for a given
|
|
4080
|
+
/** @description Unique identifier for a given Organization. */
|
|
3847
4081
|
organizationId: string;
|
|
3848
4082
|
};
|
|
3849
4083
|
v1GetPrivateKeysResponse: {
|
|
@@ -3851,7 +4085,7 @@ export type definitions = {
|
|
|
3851
4085
|
privateKeys: definitions["v1PrivateKey"][];
|
|
3852
4086
|
};
|
|
3853
4087
|
v1GetSendTransactionStatusRequest: {
|
|
3854
|
-
/** @description Unique identifier for a given
|
|
4088
|
+
/** @description Unique identifier for a given Organization. */
|
|
3855
4089
|
organizationId: string;
|
|
3856
4090
|
/** @description The unique identifier of a send transaction request. */
|
|
3857
4091
|
sendTransactionStatusId: string;
|
|
@@ -3869,7 +4103,7 @@ export type definitions = {
|
|
|
3869
4103
|
error?: definitions["v1TxError"];
|
|
3870
4104
|
};
|
|
3871
4105
|
v1GetSessionProfileRequest: {
|
|
3872
|
-
/** @description Unique identifier for a given
|
|
4106
|
+
/** @description Unique identifier for a given Organization. */
|
|
3873
4107
|
organizationId: string;
|
|
3874
4108
|
/** @description Unique identifier for a session profile. */
|
|
3875
4109
|
sessionProfileId: string;
|
|
@@ -3879,7 +4113,7 @@ export type definitions = {
|
|
|
3879
4113
|
sessionProfile: definitions["v1SessionProfile"];
|
|
3880
4114
|
};
|
|
3881
4115
|
v1GetSessionProfilesRequest: {
|
|
3882
|
-
/** @description Unique identifier for a given
|
|
4116
|
+
/** @description Unique identifier for a given Organization. */
|
|
3883
4117
|
organizationId: string;
|
|
3884
4118
|
};
|
|
3885
4119
|
v1GetSessionProfilesResponse: {
|
|
@@ -3887,7 +4121,7 @@ export type definitions = {
|
|
|
3887
4121
|
sessionProfiles: definitions["v1SessionProfile"][];
|
|
3888
4122
|
};
|
|
3889
4123
|
v1GetSmartContractInterfaceRequest: {
|
|
3890
|
-
/** @description Unique identifier for a given
|
|
4124
|
+
/** @description Unique identifier for a given Organization. */
|
|
3891
4125
|
organizationId: string;
|
|
3892
4126
|
/** @description Unique identifier for a given smart contract interface. */
|
|
3893
4127
|
smartContractInterfaceId: string;
|
|
@@ -3897,7 +4131,7 @@ export type definitions = {
|
|
|
3897
4131
|
smartContractInterface: definitions["externaldatav1SmartContractInterface"];
|
|
3898
4132
|
};
|
|
3899
4133
|
v1GetSmartContractInterfacesRequest: {
|
|
3900
|
-
/** @description Unique identifier for a given
|
|
4134
|
+
/** @description Unique identifier for a given Organization. */
|
|
3901
4135
|
organizationId: string;
|
|
3902
4136
|
};
|
|
3903
4137
|
v1GetSmartContractInterfacesResponse: {
|
|
@@ -3918,6 +4152,14 @@ export type definitions = {
|
|
|
3918
4152
|
/** @description List of unique identifiers for the matching sub-organizations. */
|
|
3919
4153
|
organizationIds: string[];
|
|
3920
4154
|
};
|
|
4155
|
+
v1GetSwapSponsorshipUsageRequest: {
|
|
4156
|
+
/** @description Unique identifier for a given organization. */
|
|
4157
|
+
organizationId: string;
|
|
4158
|
+
};
|
|
4159
|
+
v1GetSwapSponsorshipUsageResponse: {
|
|
4160
|
+
feeSponsorship: definitions["v1SwapSponsorshipFeature"];
|
|
4161
|
+
fixedRate: definitions["v1SwapSponsorshipFeature"];
|
|
4162
|
+
};
|
|
3921
4163
|
v1GetSwapStatusRequest: {
|
|
3922
4164
|
/** @description Unique identifier for a given Organization. */
|
|
3923
4165
|
organizationId: string;
|
|
@@ -3953,7 +4195,7 @@ export type definitions = {
|
|
|
3953
4195
|
destinationAddress?: string;
|
|
3954
4196
|
};
|
|
3955
4197
|
v1GetTvcAppDeploymentsRequest: {
|
|
3956
|
-
/** @description Unique identifier for a given
|
|
4198
|
+
/** @description Unique identifier for a given Organization. */
|
|
3957
4199
|
organizationId: string;
|
|
3958
4200
|
/** @description Unique identifier for a given TVC App. */
|
|
3959
4201
|
appId: string;
|
|
@@ -3963,7 +4205,7 @@ export type definitions = {
|
|
|
3963
4205
|
tvcDeployments: definitions["v1TvcDeployment"][];
|
|
3964
4206
|
};
|
|
3965
4207
|
v1GetTvcAppRequest: {
|
|
3966
|
-
/** @description Unique identifier for a given
|
|
4208
|
+
/** @description Unique identifier for a given Organization. */
|
|
3967
4209
|
organizationId: string;
|
|
3968
4210
|
/** @description Unique identifier for a given TVC App. */
|
|
3969
4211
|
tvcAppId: string;
|
|
@@ -3973,8 +4215,10 @@ export type definitions = {
|
|
|
3973
4215
|
tvcApp: definitions["v1TvcApp"];
|
|
3974
4216
|
};
|
|
3975
4217
|
v1GetTvcAppsRequest: {
|
|
3976
|
-
/** @description Unique identifier for a given
|
|
4218
|
+
/** @description Unique identifier for a given Organization. */
|
|
3977
4219
|
organizationId: string;
|
|
4220
|
+
/** @description Filter TVC Apps by whether they have a live deployment. If omitted, all TVC Apps are returned. */
|
|
4221
|
+
isLive?: boolean;
|
|
3978
4222
|
};
|
|
3979
4223
|
v1GetTvcAppsResponse: {
|
|
3980
4224
|
/** @description A list of TVC Apps. */
|
|
@@ -4018,10 +4262,10 @@ export type definitions = {
|
|
|
4018
4262
|
*/
|
|
4019
4263
|
manifestEnvelope?: string;
|
|
4020
4264
|
/** @description Current provisioning state. */
|
|
4021
|
-
provisioningState
|
|
4265
|
+
provisioningState: definitions["v1ProvisioningState"];
|
|
4022
4266
|
};
|
|
4023
4267
|
v1GetTvcDeploymentRequest: {
|
|
4024
|
-
/** @description Unique identifier for a given
|
|
4268
|
+
/** @description Unique identifier for a given Organization. */
|
|
4025
4269
|
organizationId: string;
|
|
4026
4270
|
/** @description Unique identifier for a given TVC Deployment. */
|
|
4027
4271
|
deploymentId: string;
|
|
@@ -4030,6 +4274,13 @@ export type definitions = {
|
|
|
4030
4274
|
/** @description Details about a single TVC Deployment */
|
|
4031
4275
|
tvcDeployment: definitions["v1TvcDeployment"];
|
|
4032
4276
|
};
|
|
4277
|
+
v1GetTvcOperatorsRequest: {
|
|
4278
|
+
/** @description Unique identifier for a given Organization. */
|
|
4279
|
+
organizationId: string;
|
|
4280
|
+
};
|
|
4281
|
+
v1GetTvcOperatorsResponse: {
|
|
4282
|
+
tvcOperators: definitions["v1TvcOperator"][];
|
|
4283
|
+
};
|
|
4033
4284
|
v1GetTvcQosVersionsRequest: {
|
|
4034
4285
|
/** @description Unique identifier for a given Organization. */
|
|
4035
4286
|
organizationId: string;
|
|
@@ -4040,8 +4291,15 @@ export type definitions = {
|
|
|
4040
4291
|
/** @description Latest recommended QOS version for new TVC deployments. */
|
|
4041
4292
|
latestVersion: string;
|
|
4042
4293
|
};
|
|
4294
|
+
v1GetTvcQuorumKeysRequest: {
|
|
4295
|
+
/** @description Unique identifier for a given Organization. */
|
|
4296
|
+
organizationId: string;
|
|
4297
|
+
};
|
|
4298
|
+
v1GetTvcQuorumKeysResponse: {
|
|
4299
|
+
tvcQuorumKeys: definitions["v1TvcQuorumKey"][];
|
|
4300
|
+
};
|
|
4043
4301
|
v1GetUserRequest: {
|
|
4044
|
-
/** @description Unique identifier for a given
|
|
4302
|
+
/** @description Unique identifier for a given Organization. */
|
|
4045
4303
|
organizationId: string;
|
|
4046
4304
|
/** @description Unique identifier for a given user. */
|
|
4047
4305
|
userId: string;
|
|
@@ -4051,7 +4309,7 @@ export type definitions = {
|
|
|
4051
4309
|
user: definitions["v1User"];
|
|
4052
4310
|
};
|
|
4053
4311
|
v1GetUsersRequest: {
|
|
4054
|
-
/** @description Unique identifier for a given
|
|
4312
|
+
/** @description Unique identifier for a given Organization. */
|
|
4055
4313
|
organizationId: string;
|
|
4056
4314
|
};
|
|
4057
4315
|
v1GetUsersResponse: {
|
|
@@ -4068,7 +4326,7 @@ export type definitions = {
|
|
|
4068
4326
|
v1GetVerifiedSubOrgIdsRequest: {
|
|
4069
4327
|
/** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
4070
4328
|
organizationId: string;
|
|
4071
|
-
/** @description Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER'
|
|
4329
|
+
/** @description Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', or 'PUBLIC_KEY' */
|
|
4072
4330
|
filterType?: string;
|
|
4073
4331
|
/** @description The value of the filter to apply for the specified type. For example, a specific email or phone number string. */
|
|
4074
4332
|
filterValue?: string;
|
|
@@ -4080,7 +4338,7 @@ export type definitions = {
|
|
|
4080
4338
|
organizationIds: string[];
|
|
4081
4339
|
};
|
|
4082
4340
|
v1GetWalletAccountRequest: {
|
|
4083
|
-
/** @description Unique identifier for a given
|
|
4341
|
+
/** @description Unique identifier for a given Organization. */
|
|
4084
4342
|
organizationId: string;
|
|
4085
4343
|
/** @description Unique identifier for a given wallet. */
|
|
4086
4344
|
walletId: string;
|
|
@@ -4094,7 +4352,7 @@ export type definitions = {
|
|
|
4094
4352
|
account: definitions["v1WalletAccount"];
|
|
4095
4353
|
};
|
|
4096
4354
|
v1GetWalletAccountsRequest: {
|
|
4097
|
-
/** @description Unique identifier for a given
|
|
4355
|
+
/** @description Unique identifier for a given Organization. */
|
|
4098
4356
|
organizationId: string;
|
|
4099
4357
|
/** @description Unique identifier for a given wallet. If not provided, all accounts for the organization will be returned. */
|
|
4100
4358
|
walletId?: string;
|
|
@@ -4108,7 +4366,7 @@ export type definitions = {
|
|
|
4108
4366
|
accounts: definitions["v1WalletAccount"][];
|
|
4109
4367
|
};
|
|
4110
4368
|
v1GetWalletAddressBalancesRequest: {
|
|
4111
|
-
/** @description Unique identifier for a given
|
|
4369
|
+
/** @description Unique identifier for a given Organization. */
|
|
4112
4370
|
organizationId: string;
|
|
4113
4371
|
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4114
4372
|
address: string;
|
|
@@ -4123,7 +4381,7 @@ export type definitions = {
|
|
|
4123
4381
|
balances?: definitions["v1AssetBalance"][];
|
|
4124
4382
|
};
|
|
4125
4383
|
v1GetWalletRequest: {
|
|
4126
|
-
/** @description Unique identifier for a given
|
|
4384
|
+
/** @description Unique identifier for a given Organization. */
|
|
4127
4385
|
organizationId: string;
|
|
4128
4386
|
/** @description Unique identifier for a given wallet. */
|
|
4129
4387
|
walletId: string;
|
|
@@ -4133,7 +4391,7 @@ export type definitions = {
|
|
|
4133
4391
|
wallet: definitions["v1Wallet"];
|
|
4134
4392
|
};
|
|
4135
4393
|
v1GetWalletsRequest: {
|
|
4136
|
-
/** @description Unique identifier for a given
|
|
4394
|
+
/** @description Unique identifier for a given Organization. */
|
|
4137
4395
|
organizationId: string;
|
|
4138
4396
|
};
|
|
4139
4397
|
v1GetWalletsResponse: {
|
|
@@ -4145,7 +4403,7 @@ export type definitions = {
|
|
|
4145
4403
|
organizationId: string;
|
|
4146
4404
|
};
|
|
4147
4405
|
v1GetWhoamiResponse: {
|
|
4148
|
-
/** @description Unique identifier for a given
|
|
4406
|
+
/** @description Unique identifier for a given Organization. */
|
|
4149
4407
|
organizationId: string;
|
|
4150
4408
|
/** @description Human-readable name for an organization. */
|
|
4151
4409
|
organizationName: string;
|
|
@@ -4744,11 +5002,16 @@ export type definitions = {
|
|
|
4744
5002
|
importSecretsIntent?: definitions["v1ImportSecretsIntent"];
|
|
4745
5003
|
exportSecretsIntent?: definitions["v1ExportSecretsIntent"];
|
|
4746
5004
|
createVelocityControlIntent?: definitions["v1CreateVelocityControlIntent"];
|
|
4747
|
-
|
|
5005
|
+
deleteVelocityControlsIntent?: definitions["v1DeleteVelocityControlsIntent"];
|
|
4748
5006
|
updatePaymentMethodIntent?: definitions["billingUpdatePaymentMethodIntent"];
|
|
4749
5007
|
createSwapQuoteIntentV2?: definitions["v1CreateSwapQuoteIntentV2"];
|
|
4750
5008
|
executeSwapIntentV3?: definitions["v1ExecuteSwapIntentV3"];
|
|
4751
5009
|
deleteSecretsIntent?: definitions["v1DeleteSecretsIntent"];
|
|
5010
|
+
earnClaimRewardsIntent?: definitions["v1EarnClaimRewardsIntent"];
|
|
5011
|
+
createSwapQuoteIntentV3?: definitions["v1CreateSwapQuoteIntentV3"];
|
|
5012
|
+
upsertSwapFeeSponsorshipLimitConfigIntent?: definitions["v1UpsertSwapFeeSponsorshipLimitConfigIntent"];
|
|
5013
|
+
upsertSwapFixedRateLimitConfigIntent?: definitions["v1UpsertSwapFixedRateLimitConfigIntent"];
|
|
5014
|
+
createFiatOnRampSessionIntent?: definitions["v1CreateFiatOnRampSessionIntent"];
|
|
4752
5015
|
};
|
|
4753
5016
|
v1Invitation: {
|
|
4754
5017
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -4836,6 +5099,18 @@ export type definitions = {
|
|
|
4836
5099
|
/** @description The wallet's active Earn positions. */
|
|
4837
5100
|
positions?: definitions["v1EarnPosition"][];
|
|
4838
5101
|
};
|
|
5102
|
+
v1ListEarnRewardsRequest: {
|
|
5103
|
+
/** @description Unique identifier for a given Organization. */
|
|
5104
|
+
organizationId: string;
|
|
5105
|
+
/** @description The wallet address to return rewards for. */
|
|
5106
|
+
walletAddress: string;
|
|
5107
|
+
/** @description Optional filter: only return rewards on this chain (e.g. 'eip155:8453'). When unset, every chain the organization has deployed Earn wrappers on is queried. */
|
|
5108
|
+
caip2?: string;
|
|
5109
|
+
};
|
|
5110
|
+
v1ListEarnRewardsResponse: {
|
|
5111
|
+
/** @description The wallet's rewards, one entry per (chain, reward token), sorted by chain then token. Entries where every amount is zero are omitted. */
|
|
5112
|
+
rewards?: definitions["v1EarnReward"][];
|
|
5113
|
+
};
|
|
4839
5114
|
v1ListEarnVaultsRequest: {
|
|
4840
5115
|
/** @description Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
|
|
4841
5116
|
organizationId: string;
|
|
@@ -4867,7 +5142,7 @@ export type definitions = {
|
|
|
4867
5142
|
emailEvents: definitions["v1EmailEvent"][];
|
|
4868
5143
|
};
|
|
4869
5144
|
v1ListEthTransactionHistoryRequest: {
|
|
4870
|
-
/** @description Unique identifier for a given
|
|
5145
|
+
/** @description Unique identifier for a given Organization. */
|
|
4871
5146
|
organizationId: string;
|
|
4872
5147
|
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4873
5148
|
address: string;
|
|
@@ -4899,7 +5174,7 @@ export type definitions = {
|
|
|
4899
5174
|
oauth2Credentials: definitions["v1Oauth2Credential"][];
|
|
4900
5175
|
};
|
|
4901
5176
|
v1ListPrivateKeyTagsRequest: {
|
|
4902
|
-
/** @description Unique identifier for a given
|
|
5177
|
+
/** @description Unique identifier for a given Organization. */
|
|
4903
5178
|
organizationId: string;
|
|
4904
5179
|
};
|
|
4905
5180
|
v1ListPrivateKeyTagsResponse: {
|
|
@@ -4917,7 +5192,7 @@ export type definitions = {
|
|
|
4917
5192
|
secrets: definitions["v1SecretMetadata"][];
|
|
4918
5193
|
};
|
|
4919
5194
|
v1ListSolTransactionHistoryRequest: {
|
|
4920
|
-
/** @description Unique identifier for a given
|
|
5195
|
+
/** @description Unique identifier for a given Organization. */
|
|
4921
5196
|
organizationId: string;
|
|
4922
5197
|
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4923
5198
|
address: string;
|
|
@@ -4935,7 +5210,7 @@ export type definitions = {
|
|
|
4935
5210
|
pageInfo?: definitions["v1PageInfo"];
|
|
4936
5211
|
};
|
|
4937
5212
|
v1ListSupportedAssetsRequest: {
|
|
4938
|
-
/** @description Unique identifier for a given
|
|
5213
|
+
/** @description Unique identifier for a given Organization. */
|
|
4939
5214
|
organizationId: string;
|
|
4940
5215
|
/**
|
|
4941
5216
|
* @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.
|
|
@@ -4948,7 +5223,7 @@ export type definitions = {
|
|
|
4948
5223
|
assets?: definitions["v1AssetMetadata"][];
|
|
4949
5224
|
};
|
|
4950
5225
|
v1ListUserTagsRequest: {
|
|
4951
|
-
/** @description Unique identifier for a given
|
|
5226
|
+
/** @description Unique identifier for a given Organization. */
|
|
4952
5227
|
organizationId: string;
|
|
4953
5228
|
};
|
|
4954
5229
|
v1ListUserTagsResponse: {
|
|
@@ -5636,9 +5911,14 @@ export type definitions = {
|
|
|
5636
5911
|
importSecretsResult?: definitions["v1ImportSecretsResult"];
|
|
5637
5912
|
exportSecretsResult?: definitions["v1ExportSecretsResult"];
|
|
5638
5913
|
createVelocityControlResult?: definitions["v1CreateVelocityControlResult"];
|
|
5639
|
-
|
|
5914
|
+
deleteVelocityControlsResult?: definitions["v1DeleteVelocityControlsResult"];
|
|
5640
5915
|
updatePaymentMethodResult?: definitions["billingUpdatePaymentMethodResult"];
|
|
5641
5916
|
deleteSecretsResult?: definitions["v1DeleteSecretsResult"];
|
|
5917
|
+
earnClaimRewardsResult?: definitions["v1EarnClaimRewardsResult"];
|
|
5918
|
+
createSwapQuoteResultV2?: definitions["v1CreateSwapQuoteResultV2"];
|
|
5919
|
+
upsertSwapFeeSponsorshipLimitConfigResult?: definitions["v1UpsertSwapFeeSponsorshipLimitConfigResult"];
|
|
5920
|
+
upsertSwapFixedRateLimitConfigResult?: definitions["v1UpsertSwapFixedRateLimitConfigResult"];
|
|
5921
|
+
createFiatOnRampSessionResult?: definitions["v1CreateFiatOnRampSessionResult"];
|
|
5642
5922
|
};
|
|
5643
5923
|
v1RevertChainEntry: {
|
|
5644
5924
|
/** @description The contract address where the revert occurred. */
|
|
@@ -5815,6 +6095,8 @@ export type definitions = {
|
|
|
5815
6095
|
encoding: definitions["v1PayloadEncoding"];
|
|
5816
6096
|
/** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
5817
6097
|
hashFunction: definitions["v1HashFunction"];
|
|
6098
|
+
/** @description The public key of the external signer to use for signing the payload. */
|
|
6099
|
+
externalSignerPubkey?: string;
|
|
5818
6100
|
};
|
|
5819
6101
|
v1SignRawPayloadRequest: {
|
|
5820
6102
|
/** @enum {string} */
|
|
@@ -5827,11 +6109,11 @@ export type definitions = {
|
|
|
5827
6109
|
generateAppProofs?: boolean;
|
|
5828
6110
|
};
|
|
5829
6111
|
v1SignRawPayloadResult: {
|
|
5830
|
-
/** @description Component of
|
|
6112
|
+
/** @description Component of a cryptographic signature, meaning varies based on signing scheme. */
|
|
5831
6113
|
r: string;
|
|
5832
|
-
/** @description Component of
|
|
6114
|
+
/** @description Component of a cryptographic signature, meaning varies based on signing scheme. */
|
|
5833
6115
|
s: string;
|
|
5834
|
-
/** @description
|
|
6116
|
+
/** @description Recovery ID for ECDSA signatures, "00" otherwise. */
|
|
5835
6117
|
v: string;
|
|
5836
6118
|
};
|
|
5837
6119
|
v1SignRawPayloadsIntent: {
|
|
@@ -5843,6 +6125,8 @@ export type definitions = {
|
|
|
5843
6125
|
encoding: definitions["v1PayloadEncoding"];
|
|
5844
6126
|
/** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
|
|
5845
6127
|
hashFunction: definitions["v1HashFunction"];
|
|
6128
|
+
/** @description The public key of the external signer to use for signing the payloads. */
|
|
6129
|
+
externalSignerPubkey?: string;
|
|
5846
6130
|
};
|
|
5847
6131
|
v1SignRawPayloadsRequest: {
|
|
5848
6132
|
/** @enum {string} */
|
|
@@ -5870,6 +6154,8 @@ export type definitions = {
|
|
|
5870
6154
|
/** @description Raw unsigned transaction to be signed */
|
|
5871
6155
|
unsignedTransaction: string;
|
|
5872
6156
|
type: definitions["v1TransactionType"];
|
|
6157
|
+
/** @description The public key of the external signer to use for signing this transaction. */
|
|
6158
|
+
externalSignerPubkey?: string;
|
|
5873
6159
|
};
|
|
5874
6160
|
v1SignTransactionRequest: {
|
|
5875
6161
|
/** @enum {string} */
|
|
@@ -5915,7 +6201,7 @@ export type definitions = {
|
|
|
5915
6201
|
template?: string;
|
|
5916
6202
|
};
|
|
5917
6203
|
v1SolSendTransactionIntent: {
|
|
5918
|
-
/** @description
|
|
6204
|
+
/** @description Hex-encoded serialized unsigned Solana transaction in full wire format. Legacy/V0 transactions allow 1232 bytes. V1 allows 4096 bytes with up to 12 trailing 64-byte signature slots, including the paymaster for sponsored transactions. Fill unsigned slots with zeroes. */
|
|
5919
6205
|
unsignedTransaction: string;
|
|
5920
6206
|
/** @description A wallet or private key address to sign with. This does not support private key IDs. */
|
|
5921
6207
|
signWith: string;
|
|
@@ -5930,9 +6216,9 @@ export type definitions = {
|
|
|
5930
6216
|
recentBlockhash?: string;
|
|
5931
6217
|
};
|
|
5932
6218
|
v1SolSendTransactionIntentV2: {
|
|
5933
|
-
/** @description Hex-encoded serialized unsigned Solana transaction
|
|
6219
|
+
/** @description Hex-encoded serialized unsigned Solana transaction in full wire format. Legacy/V0 transactions allow 1232 bytes. V1 allows 4096 bytes with up to 12 trailing 64-byte signature slots, including the paymaster for sponsored transactions. Fill unsigned slots with zeroes. */
|
|
5934
6220
|
unsignedTransaction: string;
|
|
5935
|
-
/** @description Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers. For sponsored transactions this must list every required signer of the transaction in transaction order. */
|
|
6221
|
+
/** @description Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers for legacy/V0, or up to 12 for V1 (11 when sponsored). For sponsored transactions this must list every required signer of the transaction in transaction order. */
|
|
5936
6222
|
signWiths: string[];
|
|
5937
6223
|
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
5938
6224
|
sponsor?: boolean;
|
|
@@ -6298,6 +6584,30 @@ export type definitions = {
|
|
|
6298
6584
|
/** @description Provider-estimated completion time in seconds, when available. */
|
|
6299
6585
|
estimatedTimeSeconds?: string;
|
|
6300
6586
|
};
|
|
6587
|
+
v1SwapQuoteV2: {
|
|
6588
|
+
/** @description Identifier for this provider quote. Pass this value to execute_swap_v2 to bind execution to this exact quote. The signer is derived from the quote; clients do not resupply sign_with on execute. */
|
|
6589
|
+
quoteId: string;
|
|
6590
|
+
/** @description Swap provider that produced this quote. */
|
|
6591
|
+
provider: string;
|
|
6592
|
+
/** @description Estimated base-unit amount of the output asset. */
|
|
6593
|
+
outputAmount: string;
|
|
6594
|
+
/** @description Minimum acceptable base-unit amount of the output asset after slippage. */
|
|
6595
|
+
minOutputAmount: string;
|
|
6596
|
+
/** @description Quote expiration as a millisecond epoch string. */
|
|
6597
|
+
expiresAt: string;
|
|
6598
|
+
/** @description Effective total slippage tolerance in basis points for this quote, taken from the provider response when present. When the request omits input slippage_bps, the provider may calculate this value. */
|
|
6599
|
+
slippageBps?: string;
|
|
6600
|
+
/** @description Client fee in basis points applied for this pair. Informational only; already reflected in output_amount and min_output_amount. */
|
|
6601
|
+
clientFeeBps: string;
|
|
6602
|
+
/** @description Provider-estimated completion time in seconds, when available. */
|
|
6603
|
+
estimatedTimeSeconds?: string;
|
|
6604
|
+
/** @description Whether Turnkey pays the provider fees for this quote. */
|
|
6605
|
+
feeSponsorship: boolean;
|
|
6606
|
+
/** @description Whether this quote uses a 1:1 fixed rate. */
|
|
6607
|
+
fixedRate: boolean;
|
|
6608
|
+
/** @description Estimated USD adjustment for the fixed rate. Present only for fixed-rate quotes. Positive is a cost billed to you; negative is an earning credited against your transaction management charges at the end of the billing period. Informational; the final amount is settled after execution. */
|
|
6609
|
+
estimatedFixedRateAdjustmentUsd?: string;
|
|
6610
|
+
};
|
|
6301
6611
|
v1SwapRefund: {
|
|
6302
6612
|
/** @description CAIP-19 asset returned by the swap provider after a failed cross-chain fill. */
|
|
6303
6613
|
asset: string;
|
|
@@ -6306,6 +6616,29 @@ export type definitions = {
|
|
|
6306
6616
|
/** @description Transaction that delivered the provider refund, when applicable. */
|
|
6307
6617
|
txHash?: string;
|
|
6308
6618
|
};
|
|
6619
|
+
v1SwapSpendingWindow: {
|
|
6620
|
+
/**
|
|
6621
|
+
* Format: int32
|
|
6622
|
+
* @description Rolling window duration in minutes.
|
|
6623
|
+
*/
|
|
6624
|
+
windowDurationMinutes: number;
|
|
6625
|
+
/** @description The parent's window limit, or the per-child limit when queried by a sub-organization. */
|
|
6626
|
+
windowLimitUsd: string;
|
|
6627
|
+
/** @description Settled spending in the current window. Fixed-rate earnings offset fixed-rate costs, and usage never goes below zero. Fixed-rate usage stays zero until final fixed-rate costs are recorded. */
|
|
6628
|
+
usageUsd: string;
|
|
6629
|
+
/** @description Remaining spending capacity, clamped to zero. For children, also capped by remaining parent capacity. Zero when the window is disabled. This is not a reservation or a guarantee of feature eligibility. */
|
|
6630
|
+
remainingUsd: string;
|
|
6631
|
+
/** @description Whether the saved spending window permits new swaps. */
|
|
6632
|
+
enabled: boolean;
|
|
6633
|
+
/** @description Configured per-child limit. Returned only when querying the billing parent. */
|
|
6634
|
+
subOrgWindowLimitUsd?: string;
|
|
6635
|
+
};
|
|
6636
|
+
v1SwapSponsorshipFeature: {
|
|
6637
|
+
/** @description Whether the billing parent holds this feature's signed permission. Quotes can use the feature only when it is permitted and its window is enabled. */
|
|
6638
|
+
permitted: boolean;
|
|
6639
|
+
/** @description Absent until the billing parent saves a spending window. */
|
|
6640
|
+
window?: definitions["v1SwapSpendingWindow"];
|
|
6641
|
+
};
|
|
6309
6642
|
/** @enum {string} */
|
|
6310
6643
|
v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
|
|
6311
6644
|
v1TestRateLimitsRequest: {
|
|
@@ -6465,6 +6798,16 @@ export type definitions = {
|
|
|
6465
6798
|
delete: boolean;
|
|
6466
6799
|
/** @description Whether this deployment is running in debug mode. Debug-mode deployments expose enclave logs and cannot be remotely attested. */
|
|
6467
6800
|
debugMode: boolean;
|
|
6801
|
+
/**
|
|
6802
|
+
* Format: int64
|
|
6803
|
+
* @description The instance cpu count for this enclave.
|
|
6804
|
+
*/
|
|
6805
|
+
instanceSizeCpus?: number;
|
|
6806
|
+
/**
|
|
6807
|
+
* Format: int64
|
|
6808
|
+
* @description The instance memory size in GiB for this enclave.
|
|
6809
|
+
*/
|
|
6810
|
+
instanceSizeRam?: number;
|
|
6468
6811
|
};
|
|
6469
6812
|
v1TvcDeploymentDebugLogEntry: {
|
|
6470
6813
|
/** @description Application log line with its platform timestamp. */
|
|
@@ -6500,6 +6843,12 @@ export type definitions = {
|
|
|
6500
6843
|
publicKey: string;
|
|
6501
6844
|
createdAt: definitions["externaldatav1Timestamp"];
|
|
6502
6845
|
updatedAt: definitions["externaldatav1Timestamp"];
|
|
6846
|
+
/** @description Encryption public key for this TVC Operator. */
|
|
6847
|
+
encryptPublicKey: string;
|
|
6848
|
+
/** @description Signing public key for this TVC Operator. */
|
|
6849
|
+
signPublicKey: string;
|
|
6850
|
+
/** @description Source of the operator keys: EXTERNAL_KEY or ORG_WALLET_ACCOUNT. Absent for legacy operators whose source was not recorded. */
|
|
6851
|
+
keySource?: string;
|
|
6503
6852
|
};
|
|
6504
6853
|
v1TvcOperatorApproval: {
|
|
6505
6854
|
/** @description Unique ID for this approval */
|
|
@@ -6552,6 +6901,15 @@ export type definitions = {
|
|
|
6552
6901
|
*/
|
|
6553
6902
|
threshold: number;
|
|
6554
6903
|
};
|
|
6904
|
+
v1TvcQuorumKey: {
|
|
6905
|
+
id: string;
|
|
6906
|
+
publicKey: string;
|
|
6907
|
+
/** Format: int64 */
|
|
6908
|
+
threshold: number;
|
|
6909
|
+
operatorIds: string[];
|
|
6910
|
+
createdAt: definitions["externaldatav1Timestamp"];
|
|
6911
|
+
updatedAt: definitions["externaldatav1Timestamp"];
|
|
6912
|
+
};
|
|
6555
6913
|
v1TxError: {
|
|
6556
6914
|
/** @description Human-readable error message describing what went wrong. */
|
|
6557
6915
|
message?: string;
|
|
@@ -7031,6 +7389,7 @@ export type definitions = {
|
|
|
7031
7389
|
gasUsageConfigId: string;
|
|
7032
7390
|
};
|
|
7033
7391
|
v1UpsertSwapConfigIntent: {
|
|
7392
|
+
/** @description Organization-owned wallet account that receives swap fees. Required when fee_bps is set. Omit together with fee_bps to clear swap fees. */
|
|
7034
7393
|
feeReceiverWalletAddress?: string;
|
|
7035
7394
|
/** @description Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
|
|
7036
7395
|
feeBps?: string;
|
|
@@ -7052,6 +7411,52 @@ export type definitions = {
|
|
|
7052
7411
|
feeBps?: string;
|
|
7053
7412
|
stableFeeBps?: string;
|
|
7054
7413
|
};
|
|
7414
|
+
v1UpsertSwapFeeSponsorshipLimitConfigIntent: {
|
|
7415
|
+
/** @description Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
|
|
7416
|
+
orgWindowLimitUsd: string;
|
|
7417
|
+
/** @description Positive USD limit for each sub-organization, no greater than the parent limit. */
|
|
7418
|
+
subOrgWindowLimitUsd: string;
|
|
7419
|
+
/** @description Positive rolling window duration in minutes, at most 153722867. */
|
|
7420
|
+
windowDurationMinutes: string;
|
|
7421
|
+
/** @description Whether this spending window permits new swaps. Setting false only turns the saved window off and keeps its limits; it doesn't require the signed permission. This does not grant or remove the signed organization permission. */
|
|
7422
|
+
enabled: boolean;
|
|
7423
|
+
};
|
|
7424
|
+
v1UpsertSwapFeeSponsorshipLimitConfigRequest: {
|
|
7425
|
+
/** @enum {string} */
|
|
7426
|
+
type: "ACTIVITY_TYPE_UPSERT_SWAP_FEE_SPONSORSHIP_LIMIT_CONFIG";
|
|
7427
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
7428
|
+
timestampMs: string;
|
|
7429
|
+
/** @description Unique identifier for a given Organization. */
|
|
7430
|
+
organizationId: string;
|
|
7431
|
+
parameters: definitions["v1UpsertSwapFeeSponsorshipLimitConfigIntent"];
|
|
7432
|
+
};
|
|
7433
|
+
v1UpsertSwapFeeSponsorshipLimitConfigResult: {
|
|
7434
|
+
/** @description Unique identifier of the organization the limit config was saved for. */
|
|
7435
|
+
organizationId: string;
|
|
7436
|
+
};
|
|
7437
|
+
v1UpsertSwapFixedRateLimitConfigIntent: {
|
|
7438
|
+
/** @description Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
|
|
7439
|
+
orgWindowLimitUsd: string;
|
|
7440
|
+
/** @description Positive USD limit for each sub-organization, no greater than the parent limit. */
|
|
7441
|
+
subOrgWindowLimitUsd: string;
|
|
7442
|
+
/** @description Positive rolling window duration in minutes, at most 153722867. */
|
|
7443
|
+
windowDurationMinutes: string;
|
|
7444
|
+
/** @description Whether this spending window permits new swaps. Setting false only turns the saved window off and keeps its limits; it doesn't require the signed permission. This does not grant or remove the signed organization permission. */
|
|
7445
|
+
enabled: boolean;
|
|
7446
|
+
};
|
|
7447
|
+
v1UpsertSwapFixedRateLimitConfigRequest: {
|
|
7448
|
+
/** @enum {string} */
|
|
7449
|
+
type: "ACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG";
|
|
7450
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
7451
|
+
timestampMs: string;
|
|
7452
|
+
/** @description Unique identifier for a given Organization. */
|
|
7453
|
+
organizationId: string;
|
|
7454
|
+
parameters: definitions["v1UpsertSwapFixedRateLimitConfigIntent"];
|
|
7455
|
+
};
|
|
7456
|
+
v1UpsertSwapFixedRateLimitConfigResult: {
|
|
7457
|
+
/** @description Unique identifier of the organization the limit config was saved for. */
|
|
7458
|
+
organizationId: string;
|
|
7459
|
+
};
|
|
7055
7460
|
/** @enum {string} */
|
|
7056
7461
|
v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
7057
7462
|
v1User: {
|
|
@@ -7206,8 +7611,11 @@ export type definitions = {
|
|
|
7206
7611
|
[key: string]: unknown;
|
|
7207
7612
|
};
|
|
7208
7613
|
v1VelocityControlAggregationWindowRolling: {
|
|
7209
|
-
/**
|
|
7210
|
-
|
|
7614
|
+
/**
|
|
7615
|
+
* Format: int64
|
|
7616
|
+
* @description Duration of the rolling window, in seconds.
|
|
7617
|
+
*/
|
|
7618
|
+
duration: number;
|
|
7211
7619
|
};
|
|
7212
7620
|
v1VelocityControlDataSource: {
|
|
7213
7621
|
/** @description Uses transfers of the listed on-chain assets as input data. */
|
|
@@ -7234,8 +7642,11 @@ export type definitions = {
|
|
|
7234
7642
|
v1VelocityControlDataSourceChainAssetTransferDefinition: {
|
|
7235
7643
|
/** @description CAIP-19 identifier for the asset. */
|
|
7236
7644
|
caip19: string;
|
|
7237
|
-
/**
|
|
7238
|
-
|
|
7645
|
+
/**
|
|
7646
|
+
* Format: int64
|
|
7647
|
+
* @description Integer between 0 and 255 (inclusive) that specifies the number of decimal places for the asset.
|
|
7648
|
+
*/
|
|
7649
|
+
decimals: number;
|
|
7239
7650
|
};
|
|
7240
7651
|
v1VelocityControlDataSourceChainAssetTransferFilter: {
|
|
7241
7652
|
/** @description Activity types whose asset transfers are included. */
|
|
@@ -7503,7 +7914,7 @@ export type operations = {
|
|
|
7503
7914
|
};
|
|
7504
7915
|
};
|
|
7505
7916
|
};
|
|
7506
|
-
/** Get live runtime status for a TVC
|
|
7917
|
+
/** Get live runtime status for a TVC app from the cluster. */
|
|
7507
7918
|
PublicApiService_GetAppStatus: {
|
|
7508
7919
|
parameters: {
|
|
7509
7920
|
body: {
|
|
@@ -7557,7 +7968,7 @@ export type operations = {
|
|
|
7557
7968
|
};
|
|
7558
7969
|
};
|
|
7559
7970
|
};
|
|
7560
|
-
/** Get the
|
|
7971
|
+
/** Get the Boot Proof for a given ephemeral key. */
|
|
7561
7972
|
PublicApiService_GetBootProof: {
|
|
7562
7973
|
parameters: {
|
|
7563
7974
|
body: {
|
|
@@ -7593,6 +8004,24 @@ export type operations = {
|
|
|
7593
8004
|
};
|
|
7594
8005
|
};
|
|
7595
8006
|
};
|
|
8007
|
+
/** Poll the status of a rewards claim by its claim_request_id. */
|
|
8008
|
+
PublicApiService_GetEarnClaimRewardsStatus: {
|
|
8009
|
+
parameters: {
|
|
8010
|
+
body: {
|
|
8011
|
+
body: definitions["v1GetEarnClaimRewardsStatusRequest"];
|
|
8012
|
+
};
|
|
8013
|
+
};
|
|
8014
|
+
responses: {
|
|
8015
|
+
/** A successful response. */
|
|
8016
|
+
200: {
|
|
8017
|
+
schema: definitions["v1GetEarnClaimRewardsStatusResponse"];
|
|
8018
|
+
};
|
|
8019
|
+
/** An unexpected error response. */
|
|
8020
|
+
default: {
|
|
8021
|
+
schema: definitions["rpcStatus"];
|
|
8022
|
+
};
|
|
8023
|
+
};
|
|
8024
|
+
};
|
|
7596
8025
|
/** Poll the status of a wrapper deployment by its deploy_request_id. */
|
|
7597
8026
|
PublicApiService_GetEarnDeployStatus: {
|
|
7598
8027
|
parameters: {
|
|
@@ -7647,6 +8076,24 @@ export type operations = {
|
|
|
7647
8076
|
};
|
|
7648
8077
|
};
|
|
7649
8078
|
};
|
|
8079
|
+
/** Quote enabled fiat on-ramp providers for a buy. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
|
|
8080
|
+
PublicApiService_GetFiatOnRampQuote: {
|
|
8081
|
+
parameters: {
|
|
8082
|
+
body: {
|
|
8083
|
+
body: definitions["v1GetFiatOnRampQuoteRequest"];
|
|
8084
|
+
};
|
|
8085
|
+
};
|
|
8086
|
+
responses: {
|
|
8087
|
+
/** A successful response. */
|
|
8088
|
+
200: {
|
|
8089
|
+
schema: definitions["v1GetFiatOnRampQuoteResponse"];
|
|
8090
|
+
};
|
|
8091
|
+
/** An unexpected error response. */
|
|
8092
|
+
default: {
|
|
8093
|
+
schema: definitions["rpcStatus"];
|
|
8094
|
+
};
|
|
8095
|
+
};
|
|
8096
|
+
};
|
|
7650
8097
|
/** Get gas usage and gas limits for either the parent organization or a sub-organization. */
|
|
7651
8098
|
PublicApiService_GetGasUsage: {
|
|
7652
8099
|
parameters: {
|
|
@@ -7683,7 +8130,7 @@ export type operations = {
|
|
|
7683
8130
|
};
|
|
7684
8131
|
};
|
|
7685
8132
|
};
|
|
7686
|
-
/** Get the latest
|
|
8133
|
+
/** Get the latest Boot Proof for a given enclave app name. */
|
|
7687
8134
|
PublicApiService_GetLatestBootProof: {
|
|
7688
8135
|
parameters: {
|
|
7689
8136
|
body: {
|
|
@@ -7989,6 +8436,24 @@ export type operations = {
|
|
|
7989
8436
|
};
|
|
7990
8437
|
};
|
|
7991
8438
|
};
|
|
8439
|
+
/** Read each swap sponsorship feature's spending window and settled spending in the current rolling window. Parents see aggregate spending; children see their own spending. Pending swaps are not reserved. */
|
|
8440
|
+
PublicApiService_GetSwapSponsorshipUsage: {
|
|
8441
|
+
parameters: {
|
|
8442
|
+
body: {
|
|
8443
|
+
body: definitions["v1GetSwapSponsorshipUsageRequest"];
|
|
8444
|
+
};
|
|
8445
|
+
};
|
|
8446
|
+
responses: {
|
|
8447
|
+
/** A successful response. */
|
|
8448
|
+
200: {
|
|
8449
|
+
schema: definitions["v1GetSwapSponsorshipUsageResponse"];
|
|
8450
|
+
};
|
|
8451
|
+
/** An unexpected error response. */
|
|
8452
|
+
default: {
|
|
8453
|
+
schema: definitions["rpcStatus"];
|
|
8454
|
+
};
|
|
8455
|
+
};
|
|
8456
|
+
};
|
|
7992
8457
|
/** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
|
|
7993
8458
|
PublicApiService_GetSwapStatus: {
|
|
7994
8459
|
parameters: {
|
|
@@ -8007,7 +8472,7 @@ export type operations = {
|
|
|
8007
8472
|
};
|
|
8008
8473
|
};
|
|
8009
8474
|
};
|
|
8010
|
-
/** Get details about a single TVC
|
|
8475
|
+
/** Get details about a single TVC app. */
|
|
8011
8476
|
PublicApiService_GetTvcApp: {
|
|
8012
8477
|
parameters: {
|
|
8013
8478
|
body: {
|
|
@@ -8025,7 +8490,7 @@ export type operations = {
|
|
|
8025
8490
|
};
|
|
8026
8491
|
};
|
|
8027
8492
|
};
|
|
8028
|
-
/** Get details about a single TVC
|
|
8493
|
+
/** Get details about a single TVC deployment. */
|
|
8029
8494
|
PublicApiService_GetTvcDeployment: {
|
|
8030
8495
|
parameters: {
|
|
8031
8496
|
body: {
|
|
@@ -8061,7 +8526,7 @@ export type operations = {
|
|
|
8061
8526
|
};
|
|
8062
8527
|
};
|
|
8063
8528
|
};
|
|
8064
|
-
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
|
|
8529
|
+
/** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment. */
|
|
8065
8530
|
PublicApiService_GetTvcDeploymentProvisioningDetails: {
|
|
8066
8531
|
parameters: {
|
|
8067
8532
|
body: {
|
|
@@ -8259,6 +8724,24 @@ export type operations = {
|
|
|
8259
8724
|
};
|
|
8260
8725
|
};
|
|
8261
8726
|
};
|
|
8727
|
+
/** List the protocol rewards (e.g. MORPHO and third-party campaign tokens, distributed off-chain via Merkl) attributed to a wallet: claimable, lifetime claimed, and pending amounts per reward token. */
|
|
8728
|
+
PublicApiService_ListEarnRewards: {
|
|
8729
|
+
parameters: {
|
|
8730
|
+
body: {
|
|
8731
|
+
body: definitions["v1ListEarnRewardsRequest"];
|
|
8732
|
+
};
|
|
8733
|
+
};
|
|
8734
|
+
responses: {
|
|
8735
|
+
/** A successful response. */
|
|
8736
|
+
200: {
|
|
8737
|
+
schema: definitions["v1ListEarnRewardsResponse"];
|
|
8738
|
+
};
|
|
8739
|
+
/** An unexpected error response. */
|
|
8740
|
+
default: {
|
|
8741
|
+
schema: definitions["rpcStatus"];
|
|
8742
|
+
};
|
|
8743
|
+
};
|
|
8744
|
+
};
|
|
8262
8745
|
/** 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. */
|
|
8263
8746
|
PublicApiService_ListEarnVaults: {
|
|
8264
8747
|
parameters: {
|
|
@@ -8457,7 +8940,7 @@ export type operations = {
|
|
|
8457
8940
|
};
|
|
8458
8941
|
};
|
|
8459
8942
|
};
|
|
8460
|
-
/** Get all suborg IDs associated
|
|
8943
|
+
/** Get all suborg IDs (verified and unverified) associated with a given parent organization ID and an optional filter. */
|
|
8461
8944
|
PublicApiService_GetSubOrgIds: {
|
|
8462
8945
|
parameters: {
|
|
8463
8946
|
body: {
|
|
@@ -8493,7 +8976,7 @@ export type operations = {
|
|
|
8493
8976
|
};
|
|
8494
8977
|
};
|
|
8495
8978
|
};
|
|
8496
|
-
/** List all deployments for a given TVC
|
|
8979
|
+
/** List all deployments for a given TVC app. */
|
|
8497
8980
|
PublicApiService_GetTvcAppDeployments: {
|
|
8498
8981
|
parameters: {
|
|
8499
8982
|
body: {
|
|
@@ -8511,7 +8994,7 @@ export type operations = {
|
|
|
8511
8994
|
};
|
|
8512
8995
|
};
|
|
8513
8996
|
};
|
|
8514
|
-
/** List all TVC
|
|
8997
|
+
/** List all TVC apps within an organization. */
|
|
8515
8998
|
PublicApiService_GetTvcApps: {
|
|
8516
8999
|
parameters: {
|
|
8517
9000
|
body: {
|
|
@@ -8529,6 +9012,42 @@ export type operations = {
|
|
|
8529
9012
|
};
|
|
8530
9013
|
};
|
|
8531
9014
|
};
|
|
9015
|
+
/** List all TVC operators within an organization, newest first. */
|
|
9016
|
+
PublicApiService_GetTvcOperators: {
|
|
9017
|
+
parameters: {
|
|
9018
|
+
body: {
|
|
9019
|
+
body: definitions["v1GetTvcOperatorsRequest"];
|
|
9020
|
+
};
|
|
9021
|
+
};
|
|
9022
|
+
responses: {
|
|
9023
|
+
/** A successful response. */
|
|
9024
|
+
200: {
|
|
9025
|
+
schema: definitions["v1GetTvcOperatorsResponse"];
|
|
9026
|
+
};
|
|
9027
|
+
/** An unexpected error response. */
|
|
9028
|
+
default: {
|
|
9029
|
+
schema: definitions["rpcStatus"];
|
|
9030
|
+
};
|
|
9031
|
+
};
|
|
9032
|
+
};
|
|
9033
|
+
/** List all hosted TVC Quorum Keys within an organization, newest first. */
|
|
9034
|
+
PublicApiService_GetTvcQuorumKeys: {
|
|
9035
|
+
parameters: {
|
|
9036
|
+
body: {
|
|
9037
|
+
body: definitions["v1GetTvcQuorumKeysRequest"];
|
|
9038
|
+
};
|
|
9039
|
+
};
|
|
9040
|
+
responses: {
|
|
9041
|
+
/** A successful response. */
|
|
9042
|
+
200: {
|
|
9043
|
+
schema: definitions["v1GetTvcQuorumKeysResponse"];
|
|
9044
|
+
};
|
|
9045
|
+
/** An unexpected error response. */
|
|
9046
|
+
default: {
|
|
9047
|
+
schema: definitions["rpcStatus"];
|
|
9048
|
+
};
|
|
9049
|
+
};
|
|
9050
|
+
};
|
|
8532
9051
|
/** List all user tags within an organization. */
|
|
8533
9052
|
PublicApiService_ListUserTags: {
|
|
8534
9053
|
parameters: {
|
|
@@ -8583,7 +9102,7 @@ export type operations = {
|
|
|
8583
9102
|
};
|
|
8584
9103
|
};
|
|
8585
9104
|
};
|
|
8586
|
-
/** Get all
|
|
9105
|
+
/** Get all verified suborg IDs associated with a given parent organization ID and an optional filter. */
|
|
8587
9106
|
PublicApiService_GetVerifiedSubOrgIds: {
|
|
8588
9107
|
parameters: {
|
|
8589
9108
|
body: {
|
|
@@ -8655,7 +9174,7 @@ export type operations = {
|
|
|
8655
9174
|
};
|
|
8656
9175
|
};
|
|
8657
9176
|
};
|
|
8658
|
-
/** Validate a container image URL and pull secret for TVC deployment */
|
|
9177
|
+
/** Validate a container image URL and pull secret for TVC deployment. */
|
|
8659
9178
|
PublicApiService_ValidateTvcImage: {
|
|
8660
9179
|
parameters: {
|
|
8661
9180
|
body: {
|
|
@@ -8673,7 +9192,7 @@ export type operations = {
|
|
|
8673
9192
|
};
|
|
8674
9193
|
};
|
|
8675
9194
|
};
|
|
8676
|
-
/** Get basic information about your current API or
|
|
9195
|
+
/** Get basic information about your current API or WebAuthn user and their organization. Affords sub-organization lookups via parent organization for WebAuthn or API key users. */
|
|
8677
9196
|
PublicApiService_GetWhoami: {
|
|
8678
9197
|
parameters: {
|
|
8679
9198
|
body: {
|
|
@@ -8799,7 +9318,7 @@ export type operations = {
|
|
|
8799
9318
|
};
|
|
8800
9319
|
};
|
|
8801
9320
|
};
|
|
8802
|
-
/** Create a fiat on ramp provider credential */
|
|
9321
|
+
/** Create a fiat on ramp provider credential. */
|
|
8803
9322
|
PublicApiService_CreateFiatOnRampCredential: {
|
|
8804
9323
|
parameters: {
|
|
8805
9324
|
body: {
|
|
@@ -8817,6 +9336,24 @@ export type operations = {
|
|
|
8817
9336
|
};
|
|
8818
9337
|
};
|
|
8819
9338
|
};
|
|
9339
|
+
/** Open a fiat on-ramp session for a saved quote. */
|
|
9340
|
+
PublicApiService_CreateFiatOnRampSession: {
|
|
9341
|
+
parameters: {
|
|
9342
|
+
body: {
|
|
9343
|
+
body: definitions["v1CreateFiatOnRampSessionRequest"];
|
|
9344
|
+
};
|
|
9345
|
+
};
|
|
9346
|
+
responses: {
|
|
9347
|
+
/** A successful response. */
|
|
9348
|
+
200: {
|
|
9349
|
+
schema: definitions["v1ActivityResponse"];
|
|
9350
|
+
};
|
|
9351
|
+
/** An unexpected error response. */
|
|
9352
|
+
default: {
|
|
9353
|
+
schema: definitions["rpcStatus"];
|
|
9354
|
+
};
|
|
9355
|
+
};
|
|
9356
|
+
};
|
|
8820
9357
|
/** Create invitations to join an existing organization. */
|
|
8821
9358
|
PublicApiService_CreateInvitations: {
|
|
8822
9359
|
parameters: {
|
|
@@ -8853,7 +9390,7 @@ export type operations = {
|
|
|
8853
9390
|
};
|
|
8854
9391
|
};
|
|
8855
9392
|
};
|
|
8856
|
-
/** Enable authentication for end users with an OAuth 2.0 provider */
|
|
9393
|
+
/** Enable authentication for end users with an OAuth 2.0 provider. */
|
|
8857
9394
|
PublicApiService_CreateOauth2Credential: {
|
|
8858
9395
|
parameters: {
|
|
8859
9396
|
body: {
|
|
@@ -9051,7 +9588,7 @@ export type operations = {
|
|
|
9051
9588
|
};
|
|
9052
9589
|
};
|
|
9053
9590
|
};
|
|
9054
|
-
/**
|
|
9591
|
+
/** Create a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. Requests must use ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3. */
|
|
9055
9592
|
PublicApiService_CreateSwapQuote: {
|
|
9056
9593
|
parameters: {
|
|
9057
9594
|
body: {
|
|
@@ -9069,7 +9606,7 @@ export type operations = {
|
|
|
9069
9606
|
};
|
|
9070
9607
|
};
|
|
9071
9608
|
};
|
|
9072
|
-
/** Create a new TVC application */
|
|
9609
|
+
/** Create a new TVC application. */
|
|
9073
9610
|
PublicApiService_CreateTvcApp: {
|
|
9074
9611
|
parameters: {
|
|
9075
9612
|
body: {
|
|
@@ -9087,7 +9624,7 @@ export type operations = {
|
|
|
9087
9624
|
};
|
|
9088
9625
|
};
|
|
9089
9626
|
};
|
|
9090
|
-
/** Create a new TVC
|
|
9627
|
+
/** Create a new TVC deployment. */
|
|
9091
9628
|
PublicApiService_CreateTvcDeployment: {
|
|
9092
9629
|
parameters: {
|
|
9093
9630
|
body: {
|
|
@@ -9105,7 +9642,7 @@ export type operations = {
|
|
|
9105
9642
|
};
|
|
9106
9643
|
};
|
|
9107
9644
|
};
|
|
9108
|
-
/** Post one or more manifest approvals for a TVC
|
|
9645
|
+
/** Post one or more manifest approvals for a TVC manifest. */
|
|
9109
9646
|
PublicApiService_CreateTvcManifestApprovals: {
|
|
9110
9647
|
parameters: {
|
|
9111
9648
|
body: {
|
|
@@ -9123,7 +9660,7 @@ export type operations = {
|
|
|
9123
9660
|
};
|
|
9124
9661
|
};
|
|
9125
9662
|
};
|
|
9126
|
-
/** Create a TVC
|
|
9663
|
+
/** Create a TVC operator backed by uncompressed P-256 Turnkey wallet accounts. */
|
|
9127
9664
|
PublicApiService_CreateTvcOperator: {
|
|
9128
9665
|
parameters: {
|
|
9129
9666
|
body: {
|
|
@@ -9141,7 +9678,7 @@ export type operations = {
|
|
|
9141
9678
|
};
|
|
9142
9679
|
};
|
|
9143
9680
|
};
|
|
9144
|
-
/** Create a hosted TVC
|
|
9681
|
+
/** Create a hosted TVC Quorum Key and encrypted shares. */
|
|
9145
9682
|
PublicApiService_CreateTvcQuorumKey: {
|
|
9146
9683
|
parameters: {
|
|
9147
9684
|
body: {
|
|
@@ -9267,7 +9804,7 @@ export type operations = {
|
|
|
9267
9804
|
};
|
|
9268
9805
|
};
|
|
9269
9806
|
};
|
|
9270
|
-
/** Remove
|
|
9807
|
+
/** Remove API keys from a user. */
|
|
9271
9808
|
PublicApiService_DeleteApiKeys: {
|
|
9272
9809
|
parameters: {
|
|
9273
9810
|
body: {
|
|
@@ -9303,7 +9840,7 @@ export type operations = {
|
|
|
9303
9840
|
};
|
|
9304
9841
|
};
|
|
9305
9842
|
};
|
|
9306
|
-
/** Delete a fiat on ramp provider credential */
|
|
9843
|
+
/** Delete a fiat on ramp provider credential. */
|
|
9307
9844
|
PublicApiService_DeleteFiatOnRampCredential: {
|
|
9308
9845
|
parameters: {
|
|
9309
9846
|
body: {
|
|
@@ -9357,7 +9894,7 @@ export type operations = {
|
|
|
9357
9894
|
};
|
|
9358
9895
|
};
|
|
9359
9896
|
};
|
|
9360
|
-
/** Disable authentication for end users with an OAuth 2.0 provider */
|
|
9897
|
+
/** Disable authentication for end users with an OAuth 2.0 provider. */
|
|
9361
9898
|
PublicApiService_DeleteOauth2Credential: {
|
|
9362
9899
|
parameters: {
|
|
9363
9900
|
body: {
|
|
@@ -9519,7 +10056,7 @@ export type operations = {
|
|
|
9519
10056
|
};
|
|
9520
10057
|
};
|
|
9521
10058
|
};
|
|
9522
|
-
/** Delete a TVC
|
|
10059
|
+
/** Delete a TVC app and all of its deployments. */
|
|
9523
10060
|
PublicApiService_DeleteTvcAppAndDeployments: {
|
|
9524
10061
|
parameters: {
|
|
9525
10062
|
body: {
|
|
@@ -9537,7 +10074,7 @@ export type operations = {
|
|
|
9537
10074
|
};
|
|
9538
10075
|
};
|
|
9539
10076
|
};
|
|
9540
|
-
/** Delete a TVC
|
|
10077
|
+
/** Delete a TVC deployment. */
|
|
9541
10078
|
PublicApiService_DeleteTvcDeployment: {
|
|
9542
10079
|
parameters: {
|
|
9543
10080
|
body: {
|
|
@@ -9591,11 +10128,11 @@ export type operations = {
|
|
|
9591
10128
|
};
|
|
9592
10129
|
};
|
|
9593
10130
|
};
|
|
9594
|
-
/** Delete
|
|
9595
|
-
|
|
10131
|
+
/** Delete existing velocity controls. */
|
|
10132
|
+
PublicApiService_DeleteVelocityControls: {
|
|
9596
10133
|
parameters: {
|
|
9597
10134
|
body: {
|
|
9598
|
-
body: definitions["
|
|
10135
|
+
body: definitions["v1DeleteVelocityControlsRequest"];
|
|
9599
10136
|
};
|
|
9600
10137
|
};
|
|
9601
10138
|
responses: {
|
|
@@ -9663,6 +10200,24 @@ export type operations = {
|
|
|
9663
10200
|
};
|
|
9664
10201
|
};
|
|
9665
10202
|
};
|
|
10203
|
+
/** Claim the Merkl protocol rewards attributed to a wallet's Earn positions. The claim is signed by the wallet itself and every reward token is transferred to it; see ListEarnRewards for what is claimable. */
|
|
10204
|
+
PublicApiService_EarnClaimRewards: {
|
|
10205
|
+
parameters: {
|
|
10206
|
+
body: {
|
|
10207
|
+
body: definitions["v1EarnClaimRewardsRequest"];
|
|
10208
|
+
};
|
|
10209
|
+
};
|
|
10210
|
+
responses: {
|
|
10211
|
+
/** A successful response. */
|
|
10212
|
+
200: {
|
|
10213
|
+
schema: definitions["v1ActivityResponse"];
|
|
10214
|
+
};
|
|
10215
|
+
/** An unexpected error response. */
|
|
10216
|
+
default: {
|
|
10217
|
+
schema: definitions["rpcStatus"];
|
|
10218
|
+
};
|
|
10219
|
+
};
|
|
10220
|
+
};
|
|
9666
10221
|
/** Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. */
|
|
9667
10222
|
PublicApiService_EarnDeployWrapper: {
|
|
9668
10223
|
parameters: {
|
|
@@ -9807,7 +10362,7 @@ export type operations = {
|
|
|
9807
10362
|
};
|
|
9808
10363
|
};
|
|
9809
10364
|
};
|
|
9810
|
-
/** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use
|
|
10365
|
+
/** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V3. */
|
|
9811
10366
|
PublicApiService_ExecuteSwap: {
|
|
9812
10367
|
parameters: {
|
|
9813
10368
|
body: {
|
|
@@ -10095,7 +10650,7 @@ export type operations = {
|
|
|
10095
10650
|
};
|
|
10096
10651
|
};
|
|
10097
10652
|
};
|
|
10098
|
-
/** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities */
|
|
10653
|
+
/** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities. */
|
|
10099
10654
|
PublicApiService_Oauth2Authenticate: {
|
|
10100
10655
|
parameters: {
|
|
10101
10656
|
body: {
|
|
@@ -10167,7 +10722,7 @@ export type operations = {
|
|
|
10167
10722
|
};
|
|
10168
10723
|
};
|
|
10169
10724
|
};
|
|
10170
|
-
/** Post re-encrypted
|
|
10725
|
+
/** Post re-encrypted Quorum Key share for a TVC deployment. */
|
|
10171
10726
|
PublicApiService_PostTvcQuorumKeyShare: {
|
|
10172
10727
|
parameters: {
|
|
10173
10728
|
body: {
|
|
@@ -10185,7 +10740,7 @@ export type operations = {
|
|
|
10185
10740
|
};
|
|
10186
10741
|
};
|
|
10187
10742
|
};
|
|
10188
|
-
/** Re-encrypt a hosted TVC
|
|
10743
|
+
/** Re-encrypt a hosted TVC Quorum Key share for a deployment. */
|
|
10189
10744
|
PublicApiService_ReEncryptTvcQuorumKeyShare: {
|
|
10190
10745
|
parameters: {
|
|
10191
10746
|
body: {
|
|
@@ -10275,7 +10830,7 @@ export type operations = {
|
|
|
10275
10830
|
};
|
|
10276
10831
|
};
|
|
10277
10832
|
};
|
|
10278
|
-
/** Restore a deleted TVC
|
|
10833
|
+
/** Restore a deleted TVC deployment. */
|
|
10279
10834
|
PublicApiService_RestoreTvcDeployment: {
|
|
10280
10835
|
parameters: {
|
|
10281
10836
|
body: {
|
|
@@ -10329,7 +10884,7 @@ export type operations = {
|
|
|
10329
10884
|
};
|
|
10330
10885
|
};
|
|
10331
10886
|
};
|
|
10332
|
-
/** Set the live deployment for a TVC
|
|
10887
|
+
/** Set the live deployment for a TVC app. */
|
|
10333
10888
|
PublicApiService_UpdateTvcAppLiveDeployment: {
|
|
10334
10889
|
parameters: {
|
|
10335
10890
|
body: {
|
|
@@ -10509,7 +11064,7 @@ export type operations = {
|
|
|
10509
11064
|
};
|
|
10510
11065
|
};
|
|
10511
11066
|
};
|
|
10512
|
-
/** Update a fiat on ramp provider credential */
|
|
11067
|
+
/** Update a fiat on ramp provider credential. */
|
|
10513
11068
|
PublicApiService_UpdateFiatOnRampCredential: {
|
|
10514
11069
|
parameters: {
|
|
10515
11070
|
body: {
|
|
@@ -10545,7 +11100,7 @@ export type operations = {
|
|
|
10545
11100
|
};
|
|
10546
11101
|
};
|
|
10547
11102
|
};
|
|
10548
|
-
/** Update an OAuth 2.0 provider credential */
|
|
11103
|
+
/** Update an OAuth 2.0 provider credential. */
|
|
10549
11104
|
PublicApiService_UpdateOauth2Credential: {
|
|
10550
11105
|
parameters: {
|
|
10551
11106
|
body: {
|
|
@@ -10779,6 +11334,42 @@ export type operations = {
|
|
|
10779
11334
|
};
|
|
10780
11335
|
};
|
|
10781
11336
|
};
|
|
11337
|
+
/** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
|
|
11338
|
+
PublicApiService_UpsertSwapFeeSponsorshipLimitConfig: {
|
|
11339
|
+
parameters: {
|
|
11340
|
+
body: {
|
|
11341
|
+
body: definitions["v1UpsertSwapFeeSponsorshipLimitConfigRequest"];
|
|
11342
|
+
};
|
|
11343
|
+
};
|
|
11344
|
+
responses: {
|
|
11345
|
+
/** A successful response. */
|
|
11346
|
+
200: {
|
|
11347
|
+
schema: definitions["v1ActivityResponse"];
|
|
11348
|
+
};
|
|
11349
|
+
/** An unexpected error response. */
|
|
11350
|
+
default: {
|
|
11351
|
+
schema: definitions["rpcStatus"];
|
|
11352
|
+
};
|
|
11353
|
+
};
|
|
11354
|
+
};
|
|
11355
|
+
/** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
|
|
11356
|
+
PublicApiService_UpsertSwapFixedRateLimitConfig: {
|
|
11357
|
+
parameters: {
|
|
11358
|
+
body: {
|
|
11359
|
+
body: definitions["v1UpsertSwapFixedRateLimitConfigRequest"];
|
|
11360
|
+
};
|
|
11361
|
+
};
|
|
11362
|
+
responses: {
|
|
11363
|
+
/** A successful response. */
|
|
11364
|
+
200: {
|
|
11365
|
+
schema: definitions["v1ActivityResponse"];
|
|
11366
|
+
};
|
|
11367
|
+
/** An unexpected error response. */
|
|
11368
|
+
default: {
|
|
11369
|
+
schema: definitions["rpcStatus"];
|
|
11370
|
+
};
|
|
11371
|
+
};
|
|
11372
|
+
};
|
|
10782
11373
|
/** Verify a generic OTP. */
|
|
10783
11374
|
PublicApiService_VerifyOtp: {
|
|
10784
11375
|
parameters: {
|
|
@@ -10797,6 +11388,7 @@ export type operations = {
|
|
|
10797
11388
|
};
|
|
10798
11389
|
};
|
|
10799
11390
|
};
|
|
11391
|
+
/** Internal no-op endpoint used to force generation of types not otherwise referenced by a public request or response. Not intended for use. */
|
|
10800
11392
|
PublicApiService_NOOPCodegenAnchor: {
|
|
10801
11393
|
responses: {
|
|
10802
11394
|
/** A successful response. */
|