@turnkey/sdk-types 1.10.0 → 1.12.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.
@@ -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 App from the cluster. */
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,7 +32,7 @@ export type paths = {
32
32
  post: operations["PublicApiService_GetAuthenticators"];
33
33
  };
34
34
  "/public/v1/query/get_boot_proof": {
35
- /** Get the boot proof for a given ephemeral key. */
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": {
@@ -59,12 +59,16 @@ export type paths = {
59
59
  /** Get gas usage and gas limits for either the parent organization or a sub-organization. */
60
60
  post: operations["PublicApiService_GetGasUsage"];
61
61
  };
62
+ "/public/v1/query/get_indicative_swap_quote": {
63
+ /** Preview the provider's current price for a swap without creating an activity. The quote is not binding and has no quote ID: a market swap executed later fetches its own quote, so its price can differ. */
64
+ post: operations["PublicApiService_GetIndicativeSwapQuote"];
65
+ };
62
66
  "/public/v1/query/get_ip_allowlist": {
63
67
  /** Get IP allowlist and rules for an organization. */
64
68
  post: operations["PublicApiService_GetIpAllowlist"];
65
69
  };
66
70
  "/public/v1/query/get_latest_boot_proof": {
67
- /** Get the latest boot proof for a given enclave app name. */
71
+ /** Get the latest Boot Proof for a given enclave app name. */
68
72
  post: operations["PublicApiService_GetLatestBootProof"];
69
73
  };
70
74
  "/public/v1/query/get_mfa_policies": {
@@ -131,16 +135,20 @@ export type paths = {
131
135
  /** Get details about a smart contract interface. */
132
136
  post: operations["PublicApiService_GetSmartContractInterface"];
133
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
+ };
134
142
  "/public/v1/query/get_swap_status": {
135
143
  /** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
136
144
  post: operations["PublicApiService_GetSwapStatus"];
137
145
  };
138
146
  "/public/v1/query/get_tvc_app": {
139
- /** Get details about a single TVC App */
147
+ /** Get details about a single TVC app. */
140
148
  post: operations["PublicApiService_GetTvcApp"];
141
149
  };
142
150
  "/public/v1/query/get_tvc_deployment": {
143
- /** Get details about a single TVC Deployment */
151
+ /** Get details about a single TVC deployment. */
144
152
  post: operations["PublicApiService_GetTvcDeployment"];
145
153
  };
146
154
  "/public/v1/query/get_tvc_deployment_debug_logs": {
@@ -148,21 +156,25 @@ export type paths = {
148
156
  post: operations["PublicApiService_GetTvcDeploymentDebugLogs"];
149
157
  };
150
158
  "/public/v1/query/get_tvc_deployment_provisioning_details": {
151
- /** 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. */
152
160
  post: operations["PublicApiService_GetTvcDeploymentProvisioningDetails"];
153
161
  };
162
+ "/public/v1/query/get_tvc_manifest_generation_info": {
163
+ /** Get default values for creating a QOS manifest. Relevant for client manifest generation. */
164
+ post: operations["PublicApiService_GetTvcManifestGenerationInfo"];
165
+ };
154
166
  "/public/v1/query/get_tvc_qos_versions": {
155
167
  /** List QOS versions supported for new TVC deployments and the latest recommended QOS version. */
156
168
  post: operations["PublicApiService_GetTvcQosVersions"];
157
169
  };
170
+ "/public/v1/query/get_usage_control": {
171
+ /** Get details about a usage control. */
172
+ post: operations["PublicApiService_GetUsageControl"];
173
+ };
158
174
  "/public/v1/query/get_user": {
159
175
  /** Get details about a user. */
160
176
  post: operations["PublicApiService_GetUser"];
161
177
  };
162
- "/public/v1/query/get_velocity_control": {
163
- /** Get details about a velocity control. */
164
- post: operations["PublicApiService_GetVelocityControl"];
165
- };
166
178
  "/public/v1/query/get_wallet": {
167
179
  /** Get details about a wallet. */
168
180
  post: operations["PublicApiService_GetWallet"];
@@ -175,6 +187,10 @@ export type paths = {
175
187
  /** Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. */
176
188
  post: operations["PublicApiService_GetWalletAddressBalances"];
177
189
  };
190
+ "/public/v1/query/get_wallet_authenticators": {
191
+ /** Get wallet authenticators for a user. */
192
+ post: operations["PublicApiService_GetWalletAuthenticators"];
193
+ };
178
194
  "/public/v1/query/list_activities": {
179
195
  /** List all activities within an organization. */
180
196
  post: operations["PublicApiService_GetActivities"];
@@ -207,10 +223,18 @@ export type paths = {
207
223
  /** List Ethereum transaction history for a wallet address on the specified network. */
208
224
  post: operations["PublicApiService_ListEthTransactionHistory"];
209
225
  };
226
+ "/public/v1/query/list_fiat_off_ramp_quotes": {
227
+ /** Quote enabled fiat off-ramp providers for a sell. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
228
+ post: operations["PublicApiService_GetFiatOffRampQuotes"];
229
+ };
210
230
  "/public/v1/query/list_fiat_on_ramp_credentials": {
211
231
  /** List all fiat on ramp provider credentials within an organization. */
212
232
  post: operations["PublicApiService_ListFiatOnRampCredentials"];
213
233
  };
234
+ "/public/v1/query/list_fiat_on_ramp_quotes": {
235
+ /** 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. */
236
+ post: operations["PublicApiService_GetFiatOnRampQuotes"];
237
+ };
214
238
  "/public/v1/query/list_oauth2_credentials": {
215
239
  /** List all OAuth 2.0 credentials within an organization. */
216
240
  post: operations["PublicApiService_ListOauth2Credentials"];
@@ -240,7 +264,7 @@ export type paths = {
240
264
  post: operations["PublicApiService_ListSolTransactionHistory"];
241
265
  };
242
266
  "/public/v1/query/list_suborgs": {
243
- /** Get all suborg IDs associated given a parent org ID and an optional filter. */
267
+ /** Get all suborg IDs (verified and unverified) associated with a given parent organization ID and an optional filter. */
244
268
  post: operations["PublicApiService_GetSubOrgIds"];
245
269
  };
246
270
  "/public/v1/query/list_supported_assets": {
@@ -248,11 +272,11 @@ export type paths = {
248
272
  post: operations["PublicApiService_ListSupportedAssets"];
249
273
  };
250
274
  "/public/v1/query/list_tvc_app_deployments": {
251
- /** List all deployments for a given TVC App */
275
+ /** List all deployments for a given TVC app. */
252
276
  post: operations["PublicApiService_GetTvcAppDeployments"];
253
277
  };
254
278
  "/public/v1/query/list_tvc_apps": {
255
- /** List all TVC Apps within an organization. */
279
+ /** List all TVC apps within an organization. */
256
280
  post: operations["PublicApiService_GetTvcApps"];
257
281
  };
258
282
  "/public/v1/query/list_tvc_operators": {
@@ -260,9 +284,13 @@ export type paths = {
260
284
  post: operations["PublicApiService_GetTvcOperators"];
261
285
  };
262
286
  "/public/v1/query/list_tvc_quorum_keys": {
263
- /** List all hosted TVC quorum keys within an organization, newest first. */
287
+ /** List all hosted TVC Quorum Keys within an organization, newest first. */
264
288
  post: operations["PublicApiService_GetTvcQuorumKeys"];
265
289
  };
290
+ "/public/v1/query/list_usage_controls": {
291
+ /** List all usage controls within an organization. */
292
+ post: operations["PublicApiService_ListUsageControls"];
293
+ };
266
294
  "/public/v1/query/list_user_tags": {
267
295
  /** List all user tags within an organization. */
268
296
  post: operations["PublicApiService_ListUserTags"];
@@ -271,12 +299,8 @@ export type paths = {
271
299
  /** List all users within an organization. */
272
300
  post: operations["PublicApiService_GetUsers"];
273
301
  };
274
- "/public/v1/query/list_velocity_controls": {
275
- /** List all velocity controls within an organization. */
276
- post: operations["PublicApiService_ListVelocityControls"];
277
- };
278
302
  "/public/v1/query/list_verified_suborgs": {
279
- /** Get all email or phone verified suborg IDs associated given a parent org ID. */
303
+ /** Get all verified suborg IDs associated with a given parent organization ID and an optional filter. */
280
304
  post: operations["PublicApiService_GetVerifiedSubOrgIds"];
281
305
  };
282
306
  "/public/v1/query/list_wallet_accounts": {
@@ -292,11 +316,11 @@ export type paths = {
292
316
  post: operations["PublicApiService_ListWebhookEndpoints"];
293
317
  };
294
318
  "/public/v1/query/validate_tvc_image": {
295
- /** Validate a container image URL and pull secret for TVC deployment */
319
+ /** Validate a container image URL and pull secret for TVC deployment. */
296
320
  post: operations["PublicApiService_ValidateTvcImage"];
297
321
  };
298
322
  "/public/v1/query/whoami": {
299
- /** Get basic information about your current API or WebAuthN user and their organization. Affords sub-organization look ups via parent organization for WebAuthN or API key users. */
323
+ /** 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. */
300
324
  post: operations["PublicApiService_GetWhoami"];
301
325
  };
302
326
  "/public/v1/submit/approve_activity": {
@@ -323,10 +347,26 @@ export type paths = {
323
347
  /** Create authenticators to authenticate requests to Turnkey. */
324
348
  post: operations["PublicApiService_CreateAuthenticators"];
325
349
  };
350
+ "/public/v1/submit/create_external_signer": {
351
+ /** Register an external signer with the organization. */
352
+ post: operations["PublicApiService_CreateExternalSigner"];
353
+ };
354
+ "/public/v1/submit/create_fiat_off_ramp_session": {
355
+ /** Open a fiat off-ramp session for a saved quote. */
356
+ post: operations["PublicApiService_CreateFiatOffRampSession"];
357
+ };
326
358
  "/public/v1/submit/create_fiat_on_ramp_credential": {
327
- /** Create a fiat on ramp provider credential */
359
+ /** Deprecated: use CreateFiatRampCredential. */
328
360
  post: operations["PublicApiService_CreateFiatOnRampCredential"];
329
361
  };
362
+ "/public/v1/submit/create_fiat_on_ramp_session": {
363
+ /** Open a fiat on-ramp session for a saved quote. */
364
+ post: operations["PublicApiService_CreateFiatOnRampSession"];
365
+ };
366
+ "/public/v1/submit/create_fiat_ramp_credential": {
367
+ /** Create a fiat ramp provider credential. */
368
+ post: operations["PublicApiService_CreateFiatRampCredential"];
369
+ };
330
370
  "/public/v1/submit/create_invitations": {
331
371
  /** Create invitations to join an existing organization. */
332
372
  post: operations["PublicApiService_CreateInvitations"];
@@ -336,7 +376,7 @@ export type paths = {
336
376
  post: operations["PublicApiService_CreateMfaPolicy"];
337
377
  };
338
378
  "/public/v1/submit/create_oauth2_credential": {
339
- /** Enable authentication for end users with an OAuth 2.0 provider */
379
+ /** Enable authentication for end users with an OAuth 2.0 provider. */
340
380
  post: operations["PublicApiService_CreateOauth2Credential"];
341
381
  };
342
382
  "/public/v1/submit/create_oauth_providers": {
@@ -376,33 +416,37 @@ export type paths = {
376
416
  post: operations["PublicApiService_CreateSmartContractInterface"];
377
417
  };
378
418
  "/public/v1/submit/create_sub_organization": {
379
- /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
419
+ /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, a wallet authenticator, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
380
420
  post: operations["PublicApiService_CreateSubOrganization"];
381
421
  };
382
422
  "/public/v1/submit/create_swap_quote": {
383
- /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
423
+ /** 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, which returns its quotes in createSwapQuoteResultV2. */
384
424
  post: operations["PublicApiService_CreateSwapQuote"];
385
425
  };
386
426
  "/public/v1/submit/create_tvc_app": {
387
- /** Create a new TVC application */
427
+ /** Create a new TVC application. */
388
428
  post: operations["PublicApiService_CreateTvcApp"];
389
429
  };
390
430
  "/public/v1/submit/create_tvc_deployment": {
391
- /** Create a new TVC Deployment */
431
+ /** Create a new TVC deployment. */
392
432
  post: operations["PublicApiService_CreateTvcDeployment"];
393
433
  };
394
434
  "/public/v1/submit/create_tvc_manifest_approvals": {
395
- /** Post one or more manifest approvals for a TVC Manifest */
435
+ /** Post one or more manifest approvals for a TVC manifest. */
396
436
  post: operations["PublicApiService_CreateTvcManifestApprovals"];
397
437
  };
398
438
  "/public/v1/submit/create_tvc_operator": {
399
- /** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
439
+ /** Create a TVC operator backed by uncompressed P-256 Turnkey wallet accounts. */
400
440
  post: operations["PublicApiService_CreateTvcOperator"];
401
441
  };
402
442
  "/public/v1/submit/create_tvc_quorum_key": {
403
- /** Create a hosted TVC quorum key and encrypted shares. */
443
+ /** Create a hosted TVC Quorum Key and encrypted shares. */
404
444
  post: operations["PublicApiService_CreateTvcQuorumKey"];
405
445
  };
446
+ "/public/v1/submit/create_usage_control": {
447
+ /** Create a new usage control. */
448
+ post: operations["PublicApiService_CreateUsageControl"];
449
+ };
406
450
  "/public/v1/submit/create_user_tag": {
407
451
  /** Create a user tag and add it to users. */
408
452
  post: operations["PublicApiService_CreateUserTag"];
@@ -411,10 +455,6 @@ export type paths = {
411
455
  /** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
412
456
  post: operations["PublicApiService_CreateUsers"];
413
457
  };
414
- "/public/v1/submit/create_velocity_control": {
415
- /** Create a new velocity control. */
416
- post: operations["PublicApiService_CreateVelocityControl"];
417
- };
418
458
  "/public/v1/submit/create_wallet": {
419
459
  /** Create a wallet and derive addresses. */
420
460
  post: operations["PublicApiService_CreateWallet"];
@@ -423,20 +463,28 @@ export type paths = {
423
463
  /** Derive additional addresses using an existing wallet. */
424
464
  post: operations["PublicApiService_CreateWalletAccounts"];
425
465
  };
466
+ "/public/v1/submit/create_wallet_authenticators": {
467
+ /** Add wallet authenticators to an existing user. Omit verification_token to attach unverified. */
468
+ post: operations["PublicApiService_CreateWalletAuthenticators"];
469
+ };
426
470
  "/public/v1/submit/create_webhook_endpoint": {
427
471
  /** Create a webhook endpoint for an organization. */
428
472
  post: operations["PublicApiService_CreateWebhookEndpoint"];
429
473
  };
430
474
  "/public/v1/submit/delete_api_keys": {
431
- /** Remove api keys from a user. */
475
+ /** Remove API keys from a user. */
432
476
  post: operations["PublicApiService_DeleteApiKeys"];
433
477
  };
434
478
  "/public/v1/submit/delete_authenticators": {
435
479
  /** Remove authenticators from a user. */
436
480
  post: operations["PublicApiService_DeleteAuthenticators"];
437
481
  };
482
+ "/public/v1/submit/delete_external_signer": {
483
+ /** Remove an external signer from the organization by its public key. */
484
+ post: operations["PublicApiService_DeleteExternalSigner"];
485
+ };
438
486
  "/public/v1/submit/delete_fiat_on_ramp_credential": {
439
- /** Delete a fiat on ramp provider credential */
487
+ /** Delete a fiat on ramp provider credential. */
440
488
  post: operations["PublicApiService_DeleteFiatOnRampCredential"];
441
489
  };
442
490
  "/public/v1/submit/delete_invitation": {
@@ -448,7 +496,7 @@ export type paths = {
448
496
  post: operations["PublicApiService_DeleteMfaPolicy"];
449
497
  };
450
498
  "/public/v1/submit/delete_oauth2_credential": {
451
- /** Disable authentication for end users with an OAuth 2.0 provider */
499
+ /** Disable authentication for end users with an OAuth 2.0 provider. */
452
500
  post: operations["PublicApiService_DeleteOauth2Credential"];
453
501
  };
454
502
  "/public/v1/submit/delete_oauth_providers": {
@@ -484,13 +532,17 @@ export type paths = {
484
532
  post: operations["PublicApiService_DeleteSubOrganization"];
485
533
  };
486
534
  "/public/v1/submit/delete_tvc_app_and_deployments": {
487
- /** Delete a TVC App and all of its deployments */
535
+ /** Delete a TVC app and all of its deployments. */
488
536
  post: operations["PublicApiService_DeleteTvcAppAndDeployments"];
489
537
  };
490
538
  "/public/v1/submit/delete_tvc_deployment": {
491
- /** Delete a TVC Deployment */
539
+ /** Delete a TVC deployment. */
492
540
  post: operations["PublicApiService_DeleteTvcDeployment"];
493
541
  };
542
+ "/public/v1/submit/delete_usage_controls": {
543
+ /** Delete existing usage controls. */
544
+ post: operations["PublicApiService_DeleteUsageControls"];
545
+ };
494
546
  "/public/v1/submit/delete_user_tags": {
495
547
  /** Delete user tags within an organization. */
496
548
  post: operations["PublicApiService_DeleteUserTags"];
@@ -499,14 +551,14 @@ export type paths = {
499
551
  /** Delete users within an organization. */
500
552
  post: operations["PublicApiService_DeleteUsers"];
501
553
  };
502
- "/public/v1/submit/delete_velocity_control": {
503
- /** Delete an existing velocity control. */
504
- post: operations["PublicApiService_DeleteVelocityControl"];
505
- };
506
554
  "/public/v1/submit/delete_wallet_accounts": {
507
555
  /** Delete wallet accounts for an organization. */
508
556
  post: operations["PublicApiService_DeleteWalletAccounts"];
509
557
  };
558
+ "/public/v1/submit/delete_wallet_authenticators": {
559
+ /** Remove wallet authenticators from a user. */
560
+ post: operations["PublicApiService_DeleteWalletAuthenticators"];
561
+ };
510
562
  "/public/v1/submit/delete_wallets": {
511
563
  /** Delete wallets for an organization. */
512
564
  post: operations["PublicApiService_DeleteWallets"];
@@ -552,7 +604,7 @@ export type paths = {
552
604
  post: operations["PublicApiService_EthUndelegate7702"];
553
605
  };
554
606
  "/public/v1/submit/execute_swap": {
555
- /** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V2. */
607
+ /** Execute a swap through the activity pipeline and Turnkey broadcasting. With bound_quote, execution is bound to the quote create_swap_quote returned. With market, the swap executes at the provider's price when the activity is approved, within slippage_bps and min_output_amount; use get_indicative_swap_quote to preview that price. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V4. */
556
608
  post: operations["PublicApiService_ExecuteSwap"];
557
609
  };
558
610
  "/public/v1/submit/export_private_key": {
@@ -584,7 +636,7 @@ export type paths = {
584
636
  post: operations["PublicApiService_ImportWallet"];
585
637
  };
586
638
  "/public/v1/submit/init_fiat_on_ramp": {
587
- /** Initiate a fiat on ramp flow. */
639
+ /** Deprecated: use CreateFiatOnRampSession with a quote from GetFiatOnRampQuotes. */
588
640
  post: operations["PublicApiService_InitFiatOnRamp"];
589
641
  };
590
642
  "/public/v1/submit/init_import_private_key": {
@@ -611,12 +663,16 @@ export type paths = {
611
663
  /** Initialize a new email recovery. */
612
664
  post: operations["PublicApiService_InitUserEmailRecovery"];
613
665
  };
666
+ "/public/v1/submit/mint_jwt": {
667
+ /** Mint a Turnkey-signed JWT with a given profile. JWT semantics switch on profile. */
668
+ post: operations["PublicApiService_MintJwt"];
669
+ };
614
670
  "/public/v1/submit/oauth": {
615
671
  /** Authenticate a user with an OIDC token (Oauth). */
616
672
  post: operations["PublicApiService_Oauth"];
617
673
  };
618
674
  "/public/v1/submit/oauth2_authenticate": {
619
- /** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities */
675
+ /** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities. */
620
676
  post: operations["PublicApiService_Oauth2Authenticate"];
621
677
  };
622
678
  "/public/v1/submit/oauth_login": {
@@ -632,11 +688,11 @@ export type paths = {
632
688
  post: operations["PublicApiService_OtpLogin"];
633
689
  };
634
690
  "/public/v1/submit/post_tvc_quorum_key_share": {
635
- /** Post re-encrypted quorum key share for a TVC deployment. */
691
+ /** Post re-encrypted Quorum Key share for a TVC deployment. */
636
692
  post: operations["PublicApiService_PostTvcQuorumKeyShare"];
637
693
  };
638
694
  "/public/v1/submit/re_encrypt_tvc_quorum_key_share": {
639
- /** Re-encrypt a hosted TVC quorum key share for a deployment. */
695
+ /** Re-encrypt a hosted TVC Quorum Key share for a deployment. */
640
696
  post: operations["PublicApiService_ReEncryptTvcQuorumKeyShare"];
641
697
  };
642
698
  "/public/v1/submit/recover_user": {
@@ -656,7 +712,7 @@ export type paths = {
656
712
  post: operations["PublicApiService_RemoveOrganizationFeature"];
657
713
  };
658
714
  "/public/v1/submit/restore_tvc_deployment": {
659
- /** Restore a deleted TVC Deployment */
715
+ /** Restore a deleted TVC deployment. */
660
716
  post: operations["PublicApiService_RestoreTvcDeployment"];
661
717
  };
662
718
  "/public/v1/submit/set_ip_allowlist": {
@@ -668,7 +724,7 @@ export type paths = {
668
724
  post: operations["PublicApiService_SetOrganizationFeature"];
669
725
  };
670
726
  "/public/v1/submit/set_tvc_app_live_deployment": {
671
- /** Set the live deployment for a TVC App */
727
+ /** Set the live deployment for a TVC app. */
672
728
  post: operations["PublicApiService_UpdateTvcAppLiveDeployment"];
673
729
  };
674
730
  "/public/v1/submit/sign_raw_payload": {
@@ -708,15 +764,19 @@ export type paths = {
708
764
  post: operations["PublicApiService_StampLogin"];
709
765
  };
710
766
  "/public/v1/submit/update_fiat_on_ramp_credential": {
711
- /** Update a fiat on ramp provider credential */
767
+ /** Deprecated: use UpdateFiatRampCredential. */
712
768
  post: operations["PublicApiService_UpdateFiatOnRampCredential"];
713
769
  };
770
+ "/public/v1/submit/update_fiat_ramp_credential": {
771
+ /** Update a fiat ramp provider credential. */
772
+ post: operations["PublicApiService_UpdateFiatRampCredential"];
773
+ };
714
774
  "/public/v1/submit/update_mfa_policy": {
715
775
  /** Update an MFA policy for a user. */
716
776
  post: operations["PublicApiService_UpdateMfaPolicy"];
717
777
  };
718
778
  "/public/v1/submit/update_oauth2_credential": {
719
- /** Update an OAuth 2.0 provider credential */
779
+ /** Update an OAuth 2.0 provider credential. */
720
780
  post: operations["PublicApiService_UpdateOauth2Credential"];
721
781
  };
722
782
  "/public/v1/submit/update_organization_name": {
@@ -767,11 +827,24 @@ export type paths = {
767
827
  /** Enable or disable swap configuration for an organization. */
768
828
  post: operations["PublicApiService_UpsertSwapConfig"];
769
829
  };
830
+ "/public/v1/submit/upsert_swap_fee_sponsorship_limit_config": {
831
+ /** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
832
+ post: operations["PublicApiService_UpsertSwapFeeSponsorshipLimitConfig"];
833
+ };
834
+ "/public/v1/submit/upsert_swap_fixed_rate_limit_config": {
835
+ /** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
836
+ post: operations["PublicApiService_UpsertSwapFixedRateLimitConfig"];
837
+ };
770
838
  "/public/v1/submit/verify_otp": {
771
839
  /** Verify a generic OTP. */
772
840
  post: operations["PublicApiService_VerifyOtp"];
773
841
  };
842
+ "/public/v1/submit/verify_wallet_authenticator": {
843
+ /** Verify a SIWE or SIWS login and return an enclave-signed wallet verification token. */
844
+ post: operations["PublicApiService_VerifyWalletAuthenticator"];
845
+ };
774
846
  "/tkhq/api/v1/noop-codegen-anchor": {
847
+ /** Internal no-op endpoint used to force generation of types not otherwise referenced by a public request or response. Not intended for use. */
775
848
  post: operations["PublicApiService_NOOPCodegenAnchor"];
776
849
  };
777
850
  "/tkhq/api/v1/refresh_feature_flags": {
@@ -1001,7 +1074,7 @@ export type definitions = {
1001
1074
  /** @enum {string} */
1002
1075
  v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
1003
1076
  /** @enum {string} */
1004
- 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_CONTROL" | "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";
1077
+ 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_USAGE_CONTROL" | "ACTIVITY_TYPE_DELETE_USAGE_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_CREATE_SUB_ORGANIZATION_V9" | "ACTIVITY_TYPE_VERIFY_WALLET_AUTHENTICATOR" | "ACTIVITY_TYPE_UPSERT_SWAP_FEE_SPONSORSHIP_LIMIT_CONFIG" | "ACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_SESSION" | "ACTIVITY_TYPE_CREATE_FIAT_OFF_RAMP_SESSION" | "ACTIVITY_TYPE_ENABLE_SMS_FOR_COUNTRIES" | "ACTIVITY_TYPE_DISABLE_SMS_FOR_COUNTRIES" | "ACTIVITY_TYPE_EXECUTE_SWAP_V4" | "ACTIVITY_TYPE_CREATE_WALLET_AUTHENTICATORS" | "ACTIVITY_TYPE_DELETE_WALLET_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_FIAT_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_CREATE_EXTERNAL_SIGNER_V1" | "ACTIVITY_TYPE_DELETE_EXTERNAL_SIGNER_V1" | "ACTIVITY_TYPE_MINT_JWT";
1005
1078
  /** @enum {string} */
1006
1079
  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";
1007
1080
  v1ApiKey: {
@@ -1140,7 +1213,7 @@ export type definitions = {
1140
1213
  id?: string;
1141
1214
  };
1142
1215
  /** @enum {string} */
1143
- v1AuthenticationType: "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION";
1216
+ v1AuthenticationType: "AUTHENTICATION_TYPE_EMAIL_OTP" | "AUTHENTICATION_TYPE_SMS_OTP" | "AUTHENTICATION_TYPE_PASSKEY" | "AUTHENTICATION_TYPE_API_KEY" | "AUTHENTICATION_TYPE_OAUTH" | "AUTHENTICATION_TYPE_SESSION" | "AUTHENTICATION_TYPE_WALLET";
1144
1217
  v1Authenticator: {
1145
1218
  /** @description Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
1146
1219
  transports: definitions["v1AuthenticatorTransport"][];
@@ -1185,7 +1258,7 @@ export type definitions = {
1185
1258
  attestation: definitions["v1Attestation"];
1186
1259
  };
1187
1260
  /** @enum {string} */
1188
- v1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
1261
+ v1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID" | "AUTHENTICATOR_TRANSPORT_SMART_CARD";
1189
1262
  v1BootProof: {
1190
1263
  /** @description The hex encoded Ephemeral Public Key. */
1191
1264
  ephemeralPublicKeyHex: string;
@@ -1329,6 +1402,49 @@ export type definitions = {
1329
1402
  /** @description A list of Authenticator IDs. */
1330
1403
  authenticatorIds: string[];
1331
1404
  };
1405
+ v1CreateExternalSignerIntentV1: {
1406
+ /** @description Human-readable name for the external signer. Must be between 1 and 256 characters. */
1407
+ name: string;
1408
+ /** @description Hex-encoded public key of the external signer. */
1409
+ publicKey: string;
1410
+ };
1411
+ v1CreateExternalSignerRequest: {
1412
+ /** @enum {string} */
1413
+ type: "ACTIVITY_TYPE_CREATE_EXTERNAL_SIGNER_V1";
1414
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1415
+ timestampMs: string;
1416
+ /** @description Unique identifier for a given Organization. */
1417
+ organizationId: string;
1418
+ parameters: definitions["v1CreateExternalSignerIntentV1"];
1419
+ };
1420
+ v1CreateExternalSignerResultV1: {
1421
+ /** @description Hex-encoded public key of the created external signer. */
1422
+ publicKey: string;
1423
+ };
1424
+ v1CreateFiatOffRampSessionIntent: {
1425
+ /** @description Identifier of a saved fiat off-ramp quote. Returned by GetFiatOffRampQuotes. */
1426
+ quoteId: string;
1427
+ /** @description Wallet address for this sale. Coinbase uses it as the source address. MoonPay uses it as the refund address; the user deposits the crypto to MoonPay separately. */
1428
+ walletAddress: string;
1429
+ /** @description URL the provider redirects to after the user submits the sell. Required when the saved quote is from Coinbase. When set for MoonPay, it is included in the signed sell URL so MoonPay can append the deposit address. */
1430
+ redirectUrl?: string;
1431
+ };
1432
+ v1CreateFiatOffRampSessionRequest: {
1433
+ /** @enum {string} */
1434
+ type: "ACTIVITY_TYPE_CREATE_FIAT_OFF_RAMP_SESSION";
1435
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1436
+ timestampMs: string;
1437
+ /** @description Unique identifier for a given Organization. */
1438
+ organizationId: string;
1439
+ parameters: definitions["v1CreateFiatOffRampSessionIntent"];
1440
+ generateAppProofs?: boolean;
1441
+ };
1442
+ v1CreateFiatOffRampSessionResult: {
1443
+ /** @description URL of the fiat off-ramp session for the saved quote. */
1444
+ offRampUrl: string;
1445
+ /** @description Unique identifier used to retrieve transaction statuses for a given fiat off-ramp flow. */
1446
+ offRampTransactionId: string;
1447
+ };
1332
1448
  v1CreateFiatOnRampCredentialIntent: {
1333
1449
  /** @description The fiat on-ramp provider */
1334
1450
  onrampProvider: definitions["v1FiatOnRampProvider"];
@@ -1357,6 +1473,52 @@ export type definitions = {
1357
1473
  /** @description Unique identifier of the Fiat On-Ramp credential that was created */
1358
1474
  fiatOnRampCredentialId: string;
1359
1475
  };
1476
+ v1CreateFiatOnRampSessionIntent: {
1477
+ /** @description Identifier of a saved fiat on-ramp quote. Returned by GetFiatOnRampQuotes. */
1478
+ quoteId: string;
1479
+ /** @description Destination wallet address for the buy transaction. */
1480
+ walletAddress: string;
1481
+ };
1482
+ v1CreateFiatOnRampSessionRequest: {
1483
+ /** @enum {string} */
1484
+ type: "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_SESSION";
1485
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1486
+ timestampMs: string;
1487
+ /** @description Unique identifier for a given Organization. */
1488
+ organizationId: string;
1489
+ parameters: definitions["v1CreateFiatOnRampSessionIntent"];
1490
+ generateAppProofs?: boolean;
1491
+ };
1492
+ v1CreateFiatOnRampSessionResult: {
1493
+ /** @description URL of the fiat on-ramp session for the saved quote. */
1494
+ onRampUrl: string;
1495
+ /** @description Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow. */
1496
+ onRampTransactionId: string;
1497
+ };
1498
+ v1CreateFiatRampCredentialIntent: {
1499
+ /** @description The fiat ramp provider */
1500
+ provider: definitions["v1FiatRampProvider"];
1501
+ /** @description Non-secret half of the provider credential. MoonPay: publishable key (pk_test_ or pk_live_). Coinbase: CDP API key ID */
1502
+ apiKey: string;
1503
+ /** @description Secret half of the provider credential, encrypted to our on-ramp encryption public key. MoonPay: secret key (sk_test_ or sk_live_). Coinbase: Ed25519 private key */
1504
+ encryptedSecret: string;
1505
+ /** @description If the credential is a sandbox credential */
1506
+ sandboxMode?: boolean;
1507
+ };
1508
+ v1CreateFiatRampCredentialRequest: {
1509
+ /** @enum {string} */
1510
+ type: "ACTIVITY_TYPE_CREATE_FIAT_RAMP_CREDENTIAL";
1511
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1512
+ timestampMs: string;
1513
+ /** @description Unique identifier for a given Organization. */
1514
+ organizationId: string;
1515
+ parameters: definitions["v1CreateFiatRampCredentialIntent"];
1516
+ generateAppProofs?: boolean;
1517
+ };
1518
+ v1CreateFiatRampCredentialResult: {
1519
+ /** @description Unique identifier of the fiat ramp credential that was created */
1520
+ credentialId: string;
1521
+ };
1360
1522
  v1CreateInvitationsIntent: {
1361
1523
  /** @description A list of Invitations. */
1362
1524
  invitations: definitions["v1InvitationParams"][];
@@ -1574,6 +1736,10 @@ export type definitions = {
1574
1736
  v1CreatePrivateKeysIntentV2: {
1575
1737
  /** @description A list of Private Keys. */
1576
1738
  privateKeys: definitions["v1PrivateKeyParams"][];
1739
+ /** @description The public key of the external signer to use for creating the private keys. Only needed for external signer requests. */
1740
+ externalSignerPubkey?: string;
1741
+ /** @description The object ID of the wrapping key the external signer will use when creating the private keys. Only needed for external signer requests. */
1742
+ externalSignerWrappingKeyId?: string;
1577
1743
  };
1578
1744
  v1CreatePrivateKeysRequest: {
1579
1745
  /** @enum {string} */
@@ -1862,6 +2028,31 @@ export type definitions = {
1862
2028
  /** @description Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
1863
2029
  clientSignature?: definitions["v1ClientSignature"];
1864
2030
  };
2031
+ v1CreateSubOrganizationIntentV9: {
2032
+ /** @description Name for this sub-organization */
2033
+ subOrganizationName: string;
2034
+ /** @description Root users to create within this sub-organization */
2035
+ rootUsers: definitions["v1RootUserParamsV6"][];
2036
+ /**
2037
+ * Format: int32
2038
+ * @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
2039
+ */
2040
+ rootQuorumThreshold: number;
2041
+ /** @description The wallet to create for the sub-organization */
2042
+ wallet?: definitions["v1WalletParams"];
2043
+ /** @description Disable email recovery for the sub-organization */
2044
+ disableEmailRecovery?: boolean;
2045
+ /** @description Disable email auth for the sub-organization */
2046
+ disableEmailAuth?: boolean;
2047
+ /** @description Disable OTP SMS auth for the sub-organization */
2048
+ disableSmsAuth?: boolean;
2049
+ /** @description Disable OTP email auth for the sub-organization */
2050
+ disableOtpEmailAuth?: boolean;
2051
+ /** @description Signed JWT containing a unique id, expiry, verification type, contact */
2052
+ verificationToken?: string;
2053
+ /** @description Optional signature proving authorization for this sub-organization creation. The signature is over the verification token ID and the root user parameters for the root user associated with the verification token. Only required if a public key was provided during the verification step. */
2054
+ clientSignature?: definitions["v1ClientSignature"];
2055
+ };
1865
2056
  v1CreateSubOrganizationRequest: {
1866
2057
  /** @enum {string} */
1867
2058
  type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8";
@@ -1907,6 +2098,11 @@ export type definitions = {
1907
2098
  wallet?: definitions["v1WalletResult"];
1908
2099
  rootUserIds?: string[];
1909
2100
  };
2101
+ v1CreateSubOrganizationResultV9: {
2102
+ subOrganizationId: string;
2103
+ wallet?: definitions["v1WalletResult"];
2104
+ rootUserIds?: string[];
2105
+ };
1910
2106
  v1CreateSwapQuoteIntent: {
1911
2107
  /** @description Wallet account or Private Key address used to price the executable provider quote. Private Key identifiers are not supported. */
1912
2108
  signWith: string;
@@ -1933,20 +2129,42 @@ export type definitions = {
1933
2129
  /** @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. */
1934
2130
  destinationAddress?: string;
1935
2131
  };
2132
+ v1CreateSwapQuoteIntentV3: {
2133
+ /** @description Wallet account address used to price the executable provider quote. Private Key identifiers are not supported. */
2134
+ signWith: string;
2135
+ /** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
2136
+ inputToken: string;
2137
+ /** @description CAIP-19 asset ID for the output asset. */
2138
+ outputToken: string;
2139
+ /** @description Base-unit amount of the input asset. */
2140
+ inputAmount: string;
2141
+ /** @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. */
2142
+ slippageBps?: string;
2143
+ /** @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. */
2144
+ destinationAddress?: string;
2145
+ /** @description When true, Turnkey pays the execution costs for this swap and invoices them to the billing parent organization as Swap Execution. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
2146
+ feeSponsorship?: boolean;
2147
+ /** @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. */
2148
+ fixedRate?: boolean;
2149
+ };
1936
2150
  v1CreateSwapQuoteRequest: {
1937
2151
  /** @enum {string} */
1938
- type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE";
2152
+ type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3";
1939
2153
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1940
2154
  timestampMs: string;
1941
2155
  /** @description Unique identifier for a given Organization. */
1942
2156
  organizationId: string;
1943
- parameters: definitions["v1CreateSwapQuoteIntent"];
2157
+ parameters: definitions["v1CreateSwapQuoteIntentV3"];
1944
2158
  generateAppProofs?: boolean;
1945
2159
  };
1946
2160
  v1CreateSwapQuoteResult: {
1947
2161
  /** @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. */
1948
2162
  quotes: definitions["v1SwapQuote"][];
1949
2163
  };
2164
+ v1CreateSwapQuoteResultV2: {
2165
+ /** @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. */
2166
+ quotes: definitions["v1SwapQuoteV2"][];
2167
+ };
1950
2168
  v1CreateTvcAppIntent: {
1951
2169
  /** @description The name of the new TVC application */
1952
2170
  name: string;
@@ -1964,6 +2182,8 @@ export type definitions = {
1964
2182
  enableEgress?: boolean;
1965
2183
  /** @description When true, this app may create deployments in debug-mode. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. Cannot be changed after app creation. Setting this true means the app's quorum key is considered permanently insecure, and a new app with a fresh quorum key must be created. Default if not provided: false. */
1966
2184
  enableDebugModeDeployments?: boolean;
2185
+ /** @description AWS region in which to place this TVC application. Allowed values: us-east-1, ap-southeast-1. Default if not provided: us-east-1. */
2186
+ region?: string;
1967
2187
  };
1968
2188
  v1CreateTvcAppRequest: {
1969
2189
  /** @enum {string} */
@@ -2045,6 +2265,11 @@ export type definitions = {
2045
2265
  * @description Optional desired instance memory size in GiB.
2046
2266
  */
2047
2267
  instanceSizeRam?: number;
2268
+ /**
2269
+ * Format: byte
2270
+ * @description Optional client-generated QOS manifest.
2271
+ */
2272
+ qosManifest?: string;
2048
2273
  };
2049
2274
  v1CreateTvcDeploymentRequest: {
2050
2275
  /** @enum {string} */
@@ -2137,6 +2362,29 @@ export type definitions = {
2137
2362
  /** @description The unique identifier(s) for the generated TVC quorum key shares */
2138
2363
  shareIds: string[];
2139
2364
  };
2365
+ v1CreateUsageControlIntent: {
2366
+ /** @description Human-readable name for the Usage Control. */
2367
+ name: string;
2368
+ /** @description Data source for the Usage Control. */
2369
+ dataSource: definitions["v1UsageControlDataSource"];
2370
+ /** @description Aggregation expression that the Usage Control evaluates. */
2371
+ aggregation: definitions["v1UsageControlAggregation"];
2372
+ /** @description Identifier for the Usage Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
2373
+ identifier: string;
2374
+ };
2375
+ v1CreateUsageControlRequest: {
2376
+ /** @enum {string} */
2377
+ type: "ACTIVITY_TYPE_CREATE_USAGE_CONTROL";
2378
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2379
+ timestampMs: string;
2380
+ /** @description Unique identifier for a given Organization. */
2381
+ organizationId: string;
2382
+ parameters: definitions["v1CreateUsageControlIntent"];
2383
+ generateAppProofs?: boolean;
2384
+ };
2385
+ v1CreateUsageControlResult: {
2386
+ usageControlId: string;
2387
+ };
2140
2388
  v1CreateUserTagIntent: {
2141
2389
  /** @description Human-readable name for a User Tag. */
2142
2390
  userTagName: string;
@@ -2189,29 +2437,6 @@ export type definitions = {
2189
2437
  /** @description A list of User IDs. */
2190
2438
  userIds: string[];
2191
2439
  };
2192
- v1CreateVelocityControlIntent: {
2193
- /** @description Human-readable name for the Velocity Control. */
2194
- name: string;
2195
- /** @description Data source for the Velocity Control. */
2196
- dataSource: definitions["v1VelocityControlDataSource"];
2197
- /** @description Aggregation expression that the Velocity Control evaluates. */
2198
- aggregation: definitions["v1VelocityControlAggregation"];
2199
- /** @description Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
2200
- identifier: string;
2201
- };
2202
- v1CreateVelocityControlRequest: {
2203
- /** @enum {string} */
2204
- type: "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL";
2205
- /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2206
- timestampMs: string;
2207
- /** @description Unique identifier for a given Organization. */
2208
- organizationId: string;
2209
- parameters: definitions["v1CreateVelocityControlIntent"];
2210
- generateAppProofs?: boolean;
2211
- };
2212
- v1CreateVelocityControlResult: {
2213
- velocityControlId: string;
2214
- };
2215
2440
  v1CreateWalletAccountsIntent: {
2216
2441
  /** @description Unique identifier for a given Wallet. */
2217
2442
  walletId: string;
@@ -2234,6 +2459,26 @@ export type definitions = {
2234
2459
  /** @description A list of derived addresses. */
2235
2460
  addresses: string[];
2236
2461
  };
2462
+ v1CreateWalletAuthenticatorsIntent: {
2463
+ /** @description The ID of the User to add wallet authenticators to. */
2464
+ userId: string;
2465
+ /** @description Wallet authenticators to add. Each entry is a type, address, and domain. verification_token is optional. */
2466
+ walletAuthenticators: definitions["v1WalletAuthenticatorParams"][];
2467
+ };
2468
+ v1CreateWalletAuthenticatorsRequest: {
2469
+ /** @enum {string} */
2470
+ type: "ACTIVITY_TYPE_CREATE_WALLET_AUTHENTICATORS";
2471
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2472
+ timestampMs: string;
2473
+ /** @description Unique identifier for a given Organization. */
2474
+ organizationId: string;
2475
+ parameters: definitions["v1CreateWalletAuthenticatorsIntent"];
2476
+ generateAppProofs?: boolean;
2477
+ };
2478
+ v1CreateWalletAuthenticatorsResult: {
2479
+ /** @description IDs of the wallet authenticators created. */
2480
+ walletAuthenticatorIds: string[];
2481
+ };
2237
2482
  v1CreateWalletIntent: {
2238
2483
  /** @description Human-readable name for a Wallet. */
2239
2484
  walletName: string;
@@ -2338,6 +2583,23 @@ export type definitions = {
2338
2583
  /** @description Unique identifier for a given Authenticator. */
2339
2584
  authenticatorIds: string[];
2340
2585
  };
2586
+ v1DeleteExternalSignerIntentV1: {
2587
+ /** @description Hex-encoded public key of the external signer to delete. The external signer must belong to the organization. */
2588
+ publicKey: string;
2589
+ };
2590
+ v1DeleteExternalSignerRequest: {
2591
+ /** @enum {string} */
2592
+ type: "ACTIVITY_TYPE_DELETE_EXTERNAL_SIGNER_V1";
2593
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2594
+ timestampMs: string;
2595
+ /** @description Unique identifier for a given Organization. */
2596
+ organizationId: string;
2597
+ parameters: definitions["v1DeleteExternalSignerIntentV1"];
2598
+ };
2599
+ v1DeleteExternalSignerResultV1: {
2600
+ /** @description Hex-encoded public key of the deleted external signer. */
2601
+ publicKey: string;
2602
+ };
2341
2603
  v1DeleteFiatOnRampCredentialIntent: {
2342
2604
  /** @description The ID of the fiat on-ramp credential to delete */
2343
2605
  fiatOnrampCredentialId: string;
@@ -2604,6 +2866,24 @@ export type definitions = {
2604
2866
  /** @description The unique identifier of the deleted TVC deployment. */
2605
2867
  deploymentId: string;
2606
2868
  };
2869
+ v1DeleteUsageControlsIntent: {
2870
+ /** @description List of 1 to 32 unique identifiers for Usage Controls within an Organization. */
2871
+ usageControlIds: string[];
2872
+ };
2873
+ v1DeleteUsageControlsRequest: {
2874
+ /** @enum {string} */
2875
+ type: "ACTIVITY_TYPE_DELETE_USAGE_CONTROLS";
2876
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2877
+ timestampMs: string;
2878
+ /** @description Unique identifier for a given Organization. */
2879
+ organizationId: string;
2880
+ parameters: definitions["v1DeleteUsageControlsIntent"];
2881
+ generateAppProofs?: boolean;
2882
+ };
2883
+ v1DeleteUsageControlsResult: {
2884
+ /** @description A list of unique identifiers for the deleted Usage Controls. */
2885
+ usageControlIds: string[];
2886
+ };
2607
2887
  v1DeleteUserTagsIntent: {
2608
2888
  /** @description A list of User Tag IDs. */
2609
2889
  userTagIds: string[];
@@ -2642,22 +2922,6 @@ export type definitions = {
2642
2922
  /** @description A list of User IDs. */
2643
2923
  userIds: string[];
2644
2924
  };
2645
- v1DeleteVelocityControlIntent: {
2646
- velocityControlId: string;
2647
- };
2648
- v1DeleteVelocityControlRequest: {
2649
- /** @enum {string} */
2650
- type: "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROL";
2651
- /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2652
- timestampMs: string;
2653
- /** @description Unique identifier for a given Organization. */
2654
- organizationId: string;
2655
- parameters: definitions["v1DeleteVelocityControlIntent"];
2656
- generateAppProofs?: boolean;
2657
- };
2658
- v1DeleteVelocityControlResult: {
2659
- velocityControlId: string;
2660
- };
2661
2925
  v1DeleteWalletAccountsIntent: {
2662
2926
  /** @description List of unique identifiers for wallet accounts within an organization */
2663
2927
  walletAccountIds: string[];
@@ -2678,6 +2942,26 @@ export type definitions = {
2678
2942
  /** @description A list of wallet account unique identifiers that were removed */
2679
2943
  walletAccountIds: string[];
2680
2944
  };
2945
+ v1DeleteWalletAuthenticatorsIntent: {
2946
+ /** @description The ID of the User to remove wallet authenticators from. */
2947
+ userId: string;
2948
+ /** @description IDs of the wallet authenticators to delete. */
2949
+ walletAuthenticatorIds: string[];
2950
+ };
2951
+ v1DeleteWalletAuthenticatorsRequest: {
2952
+ /** @enum {string} */
2953
+ type: "ACTIVITY_TYPE_DELETE_WALLET_AUTHENTICATORS";
2954
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2955
+ timestampMs: string;
2956
+ /** @description Unique identifier for a given Organization. */
2957
+ organizationId: string;
2958
+ parameters: definitions["v1DeleteWalletAuthenticatorsIntent"];
2959
+ generateAppProofs?: boolean;
2960
+ };
2961
+ v1DeleteWalletAuthenticatorsResult: {
2962
+ /** @description IDs of the wallet authenticators deleted. */
2963
+ walletAuthenticatorIds: string[];
2964
+ };
2681
2965
  v1DeleteWalletsIntent: {
2682
2966
  /** @description List of unique identifiers for wallets within an organization */
2683
2967
  walletIds: string[];
@@ -2732,7 +3016,7 @@ export type definitions = {
2732
3016
  /** @description Last time this deployment was updated */
2733
3017
  lastUpdatedTime: definitions["externaldatav1Timestamp"];
2734
3018
  /** @description Current quorum-key provisioning state for this deployment */
2735
- provisioningState?: definitions["v1ProvisioningState"];
3019
+ provisioningState: definitions["v1ProvisioningState"];
2736
3020
  };
2737
3021
  v1DisableAuthProxyIntent: {
2738
3022
  [key: string]: unknown;
@@ -2748,11 +3032,18 @@ export type definitions = {
2748
3032
  /** @description Unique identifier for a given Private Key. */
2749
3033
  privateKeyId: string;
2750
3034
  };
3035
+ v1DisableSmsForCountriesIntent: {
3036
+ /** @description ISO 3166-1 alpha-2 country codes to remove from the SMS allowlist, such as US or CA. Must contain between 1 and 300 codes. This activity only removes countries. */
3037
+ isoCodes: string[];
3038
+ };
3039
+ v1DisableSmsForCountriesResult: {
3040
+ [key: string]: unknown;
3041
+ };
2751
3042
  v1EarnClaimRewardsIntent: {
2752
3043
  /** @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. */
2753
3044
  signWith: string;
2754
3045
  /** @description CAIP-2 chain to claim rewards on (e.g. 'eip155:8453'). Rewards accrue per chain; see ListEarnRewards. */
2755
- chainCaip2: string;
3046
+ caip2: string;
2756
3047
  /** @description Whether to sponsor this transaction via Gas Station. */
2757
3048
  sponsor?: boolean;
2758
3049
  };
@@ -2777,7 +3068,7 @@ export type definitions = {
2777
3068
  * @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
2778
3069
  * @enum {string}
2779
3070
  */
2780
- chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
3071
+ caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
2781
3072
  /** @description Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
2782
3073
  clientFeeBps: string;
2783
3074
  /** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
@@ -2812,7 +3103,7 @@ export type definitions = {
2812
3103
  * @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
2813
3104
  * @enum {string}
2814
3105
  */
2815
- chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
3106
+ caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
2816
3107
  /** @description Whether to sponsor this transaction via Gas Station. */
2817
3108
  sponsor?: boolean;
2818
3109
  };
@@ -2913,7 +3204,7 @@ export type definitions = {
2913
3204
  totalWithdrawnCrypto?: string;
2914
3205
  };
2915
3206
  /** @enum {string} */
2916
- v1EarnProvider: "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE";
3207
+ v1EarnProvider: "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE" | "EARN_PROVIDER_KAMINO";
2917
3208
  v1EarnReward: {
2918
3209
  /** @description CAIP-2 chain the reward is claimable on (e.g. 'eip155:8453'). */
2919
3210
  caip2?: string;
@@ -3030,7 +3321,7 @@ export type definitions = {
3030
3321
  * @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
3031
3322
  * @enum {string}
3032
3323
  */
3033
- chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
3324
+ caip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217" | "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
3034
3325
  /** @description Whether to sponsor this transaction via Gas Station. */
3035
3326
  sponsor?: boolean;
3036
3327
  /** @description The amount of the underlying asset to withdraw, in raw on-chain units. Pass 'MAX' to withdraw the entire position. */
@@ -3210,6 +3501,13 @@ export type definitions = {
3210
3501
  /** @description A User ID with permission to initiate authentication. */
3211
3502
  userId: string;
3212
3503
  };
3504
+ v1EnableSmsForCountriesIntent: {
3505
+ /** @description ISO 3166-1 alpha-2 country codes to allow for SMS, such as US or CA. Must contain between 1 and 300 codes. This activity only adds countries. */
3506
+ isoCodes: string[];
3507
+ };
3508
+ v1EnableSmsForCountriesResult: {
3509
+ [key: string]: unknown;
3510
+ };
3213
3511
  v1EthCallParams: {
3214
3512
  /** @description Recipient address as a hex string with 0x prefix. */
3215
3513
  to: string;
@@ -3377,6 +3675,14 @@ export type definitions = {
3377
3675
  /** @description The send_transaction_status ID associated with the undelegation transaction submission */
3378
3676
  sendTransactionStatusId: string;
3379
3677
  };
3678
+ v1ExecuteSwapBoundQuote: {
3679
+ /** @description Quote identifier returned by create_swap_quote. Execution is bound to this quote; the signer is derived from the quote and must not be resupplied. */
3680
+ quoteId: string;
3681
+ /** @description Exact quoted base-unit output amount committed by the quote. */
3682
+ quotedOutputAmount: string;
3683
+ /** @description Exact minimum base-unit output committed by the quote. */
3684
+ minOutputAmount: string;
3685
+ };
3380
3686
  v1ExecuteSwapIntent: {
3381
3687
  /** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
3382
3688
  inputToken: string;
@@ -3441,14 +3747,48 @@ export type definitions = {
3441
3747
  /** @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. */
3442
3748
  destinationAddress?: string;
3443
3749
  };
3750
+ v1ExecuteSwapIntentV4: {
3751
+ /** @description CAIP-19 asset ID for the input asset. */
3752
+ inputToken: string;
3753
+ /** @description Exact base-unit amount of the input asset. */
3754
+ inputAmount: string;
3755
+ /** @description CAIP-19 asset ID for the output asset. */
3756
+ outputToken: string;
3757
+ /** @description Whether the swap transaction is gas sponsored. */
3758
+ sponsor: boolean;
3759
+ /** @description Raw public address that receives the output asset. Required for cross-protocol swaps and rejected otherwise. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
3760
+ destinationAddress?: string;
3761
+ /** @description Exact EVM sender (EOA account) nonce. Valid only for a non-sponsored EVM swap. Honored for already-delegated (Type-2) batch swaps and single-call swaps; ignored for not-yet-delegated EIP-7702 (Type-4) batches where the outer nonce is derived from the authorization. Prefer gas_station_nonce for batch replay protection and use the nonces endpoint to fetch it. Omit to auto-fetch. */
3762
+ evmNonce?: string;
3763
+ /** @description Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
3764
+ recentBlockhash?: string;
3765
+ /** @description Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
3766
+ gasStationNonce?: string;
3767
+ /** @description Execute a quote returned by create_swap_quote at its exact terms. */
3768
+ boundQuote?: definitions["v1ExecuteSwapBoundQuote"];
3769
+ /** @description Execute at the provider's price when the activity is approved, within the signed slippage and optional price floor. */
3770
+ market?: definitions["v1ExecuteSwapMarketTerms"];
3771
+ };
3772
+ v1ExecuteSwapMarketTerms: {
3773
+ /** @description Wallet account address that sends the input asset. Private Key identifiers are not supported. */
3774
+ signWith: string;
3775
+ /** @description Maximum allowed slippage in basis points, at most 5000. When omitted, the provider chooses the slippage. The swap executes at the provider's price when the activity is approved, so the slippage and min_output_amount are its only price protection. */
3776
+ slippageBps?: string;
3777
+ /** @description Optional price floor in base units of the output asset. When set, the swap fails unless the provider's minimum output after slippage is at least this amount. */
3778
+ minOutputAmount?: string;
3779
+ /** @description When true, Turnkey pays the execution costs for this swap and invoices them to the billing parent organization as Swap Execution. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
3780
+ feeSponsorship?: boolean;
3781
+ /** @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. */
3782
+ fixedRate?: boolean;
3783
+ };
3444
3784
  v1ExecuteSwapRequest: {
3445
3785
  /** @enum {string} */
3446
- type: "ACTIVITY_TYPE_EXECUTE_SWAP_V2";
3786
+ type: "ACTIVITY_TYPE_EXECUTE_SWAP_V4";
3447
3787
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3448
3788
  timestampMs: string;
3449
3789
  /** @description Unique identifier for a given Organization. */
3450
3790
  organizationId: string;
3451
- parameters: definitions["v1ExecuteSwapIntentV2"];
3791
+ parameters: definitions["v1ExecuteSwapIntentV4"];
3452
3792
  generateAppProofs?: boolean;
3453
3793
  };
3454
3794
  v1ExecuteSwapResult: {
@@ -3458,6 +3798,16 @@ export type definitions = {
3458
3798
  provider?: string;
3459
3799
  /** @description Quote identifier used for execution, if any. */
3460
3800
  quoteId?: string;
3801
+ /** @description Quoted base-unit amount of the output asset. Set by execute_swap V4. */
3802
+ outputAmount?: string;
3803
+ /** @description Minimum base-unit amount of the output asset after slippage. Set by execute_swap V4. */
3804
+ minOutputAmount?: string;
3805
+ /** @description Whether Turnkey paid the execution costs for this swap. Set by execute_swap V4. */
3806
+ feeSponsorship?: boolean;
3807
+ /** @description Whether this swap used a 1:1 fixed rate. Set by execute_swap V4. */
3808
+ fixedRate?: boolean;
3809
+ /** @description Estimated charges this swap adds to your invoice, one field per swap line item, from the executed quote. Present when fee_sponsorship or fixed_rate is true. Informational; the final amounts are settled after execution and reported by get_swap_status. Set by execute_swap V4. */
3810
+ estimatedCharges?: definitions["v1SwapCharges"];
3461
3811
  };
3462
3812
  v1ExportPrivateKeyIntent: {
3463
3813
  /** @description Unique identifier for a given Private Key. */
@@ -3559,24 +3909,45 @@ export type definitions = {
3559
3909
  value?: string;
3560
3910
  };
3561
3911
  /** @enum {string} */
3562
- 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";
3912
+ 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";
3913
+ v1FiatOffRampQuote: {
3914
+ /** @description Identifier for this saved quote. */
3915
+ quoteId: string;
3916
+ /** @description Provider that produced this quote. */
3917
+ provider: definitions["v1FiatRampProvider"];
3918
+ /** @description Underlying provider when provider aggregates several. */
3919
+ serviceProvider?: string;
3920
+ /** @description Fiat the user receives, in atomic units of fiat_currency_code. For USD, 100 dollars is "10000". */
3921
+ fiatAmount: definitions["v1FiatRampAmount"];
3922
+ /** @description Fiat currency of fiat_amount and total_fee. */
3923
+ fiatCurrencyCode: definitions["v1FiatRampCurrency"];
3924
+ /** @description Cryptocurrency the user would sell, in atomic units. Not locked in the session. */
3925
+ cryptoAmount: definitions["v1FiatRampAmount"];
3926
+ /**
3927
+ * @description CAIP-19 asset of crypto_amount. Each value is supported for both Coinbase and MoonPay sell, the same set as on-ramp.
3928
+ * @enum {string}
3929
+ */
3930
+ 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";
3931
+ /** @description Payout method this quote was priced for. */
3932
+ paymentMethod: definitions["v1FiatRampPaymentMethod"];
3933
+ /** @description Total fee in atomic units of fiat_currency_code. */
3934
+ totalFee: definitions["v1FiatRampAmount"];
3935
+ /** @description Quote expiration as a millisecond epoch string. Empty when the provider does not send one. */
3936
+ expiresAt?: string;
3937
+ };
3563
3938
  /** @enum {string} */
3564
- v1FiatOnRampBlockchainNetwork: "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
3939
+ v1FiatOnRampBlockchainNetwork: "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA" | "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
3565
3940
  v1FiatOnRampCredential: {
3566
- /** @description Unique identifier for a given Fiat On-Ramp Credential. */
3567
- fiatOnrampCredentialId: string;
3941
+ /** @description Unique identifier for a given fiat ramp credential. */
3942
+ credentialId: string;
3568
3943
  /** @description Unique identifier for an Organization. */
3569
3944
  organizationId: string;
3570
- /** @description The fiat on-ramp provider. */
3571
- onrampProvider: definitions["v1FiatOnRampProvider"];
3572
- /** @description Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier. */
3573
- projectId?: string;
3574
- /** @description Publishable API key for the on-ramp provider. */
3575
- publishableApiKey: string;
3576
- /** @description Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key. */
3577
- encryptedSecretApiKey: string;
3578
- /** @description Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
3579
- encryptedPrivateApiKey?: string;
3945
+ /** @description The fiat ramp provider. */
3946
+ provider: definitions["v1FiatRampProvider"];
3947
+ /** @description Non-secret half of the provider credential. MoonPay: publishable key (pk_test_ or pk_live_). Coinbase: CDP API key ID. */
3948
+ apiKey: string;
3949
+ /** @description Secret half of the provider credential, encrypted to our on-ramp encryption public key. MoonPay: secret key (sk_test_ or sk_live_). Coinbase: Ed25519 private key. */
3950
+ encryptedSecret: string;
3580
3951
  /** @description If the on-ramp credential is a sandbox credential. */
3581
3952
  sandboxMode?: boolean;
3582
3953
  createdAt: definitions["externaldatav1Timestamp"];
@@ -3590,8 +3961,50 @@ export type definitions = {
3590
3961
  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";
3591
3962
  /** @enum {string} */
3592
3963
  v1FiatOnRampProvider: "FIAT_ON_RAMP_PROVIDER_COINBASE" | "FIAT_ON_RAMP_PROVIDER_MOONPAY";
3964
+ v1FiatOnRampQuote: {
3965
+ /** @description Identifier for this saved quote. Pass this to the create on ramp session activity. */
3966
+ quoteId: string;
3967
+ /** @description Provider that produced this quote. */
3968
+ provider: definitions["v1FiatRampProvider"];
3969
+ /** @description Underlying provider when provider aggregates several. */
3970
+ serviceProvider?: string;
3971
+ /** @description Fiat the user pays, in atomic units of fiat_currency_code. For USD, 100 dollars is "10000". */
3972
+ fiatAmount: definitions["v1FiatRampAmount"];
3973
+ /** @description Fiat currency of fiat_amount and total_fee. */
3974
+ fiatCurrencyCode: definitions["v1FiatRampCurrency"];
3975
+ /** @description Cryptocurrency the user would receive, in atomic units. Not locked in the session. */
3976
+ cryptoAmount: definitions["v1FiatRampAmount"];
3977
+ /**
3978
+ * @description CAIP-19 asset of crypto_amount.
3979
+ * @enum {string}
3980
+ */
3981
+ 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";
3982
+ /** @description Payment method this quote was priced for. Bank transfers are not included. */
3983
+ paymentMethod: definitions["v1FiatRampPaymentMethod"];
3984
+ /** @description Total fee in atomic units of fiat_currency_code. */
3985
+ totalFee: definitions["v1FiatRampAmount"];
3986
+ /** @description Quote expiration as a millisecond epoch string. Empty when the provider does not send one. */
3987
+ expiresAt?: string;
3988
+ };
3989
+ v1FiatRampAmount: {
3990
+ /** @description Amount in atomic units. Use this to compare quotes. Do not use display. */
3991
+ amount: string;
3992
+ /**
3993
+ * Format: int32
3994
+ * @description Decimal places for this amount. Asset decimals for cryptocurrency, atomic-unit decimals for fiat (2 for USD).
3995
+ */
3996
+ decimals: number;
3997
+ /** @description Decimal representation in standard currency units. */
3998
+ display: string;
3999
+ };
4000
+ /** @enum {string} */
4001
+ v1FiatRampCurrency: "FIAT_RAMP_CURRENCY_AUD" | "FIAT_RAMP_CURRENCY_BGN" | "FIAT_RAMP_CURRENCY_BRL" | "FIAT_RAMP_CURRENCY_CAD" | "FIAT_RAMP_CURRENCY_CHF" | "FIAT_RAMP_CURRENCY_COP" | "FIAT_RAMP_CURRENCY_CZK" | "FIAT_RAMP_CURRENCY_DKK" | "FIAT_RAMP_CURRENCY_DOP" | "FIAT_RAMP_CURRENCY_EGP" | "FIAT_RAMP_CURRENCY_EUR" | "FIAT_RAMP_CURRENCY_GBP" | "FIAT_RAMP_CURRENCY_HKD" | "FIAT_RAMP_CURRENCY_IDR" | "FIAT_RAMP_CURRENCY_ILS" | "FIAT_RAMP_CURRENCY_JOD" | "FIAT_RAMP_CURRENCY_KES" | "FIAT_RAMP_CURRENCY_KWD" | "FIAT_RAMP_CURRENCY_LKR" | "FIAT_RAMP_CURRENCY_MXN" | "FIAT_RAMP_CURRENCY_NGN" | "FIAT_RAMP_CURRENCY_NOK" | "FIAT_RAMP_CURRENCY_NZD" | "FIAT_RAMP_CURRENCY_OMR" | "FIAT_RAMP_CURRENCY_PEN" | "FIAT_RAMP_CURRENCY_PLN" | "FIAT_RAMP_CURRENCY_RON" | "FIAT_RAMP_CURRENCY_SEK" | "FIAT_RAMP_CURRENCY_THB" | "FIAT_RAMP_CURRENCY_TRY" | "FIAT_RAMP_CURRENCY_TWD" | "FIAT_RAMP_CURRENCY_USD" | "FIAT_RAMP_CURRENCY_VND" | "FIAT_RAMP_CURRENCY_ZAR";
4002
+ /** @enum {string} */
4003
+ v1FiatRampPaymentMethod: "FIAT_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | "FIAT_RAMP_PAYMENT_METHOD_APPLE_PAY" | "FIAT_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | "FIAT_RAMP_PAYMENT_METHOD_PAYPAL" | "FIAT_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | "FIAT_RAMP_PAYMENT_METHOD_FIAT_WALLET" | "FIAT_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT";
4004
+ /** @enum {string} */
4005
+ v1FiatRampProvider: "FIAT_RAMP_PROVIDER_COINBASE" | "FIAT_RAMP_PROVIDER_MOONPAY" | "FIAT_RAMP_PROVIDER_MELD";
3593
4006
  v1GetActivePoliciesRequest: {
3594
- /** @description Unique identifier for a given organization. */
4007
+ /** @description Unique identifier for a given Organization. */
3595
4008
  organizationId: string;
3596
4009
  };
3597
4010
  v1GetActivePoliciesResponse: {
@@ -3604,7 +4017,7 @@ export type definitions = {
3604
4017
  evaluatedAtMs: string;
3605
4018
  };
3606
4019
  v1GetActivitiesRequest: {
3607
- /** @description Unique identifier for a given organization. */
4020
+ /** @description Unique identifier for a given Organization. */
3608
4021
  organizationId: string;
3609
4022
  /** @description Array of activity statuses filtering which activities will be listed in the response. */
3610
4023
  filterByStatus?: definitions["v1ActivityStatus"][];
@@ -3618,13 +4031,13 @@ export type definitions = {
3618
4031
  activities: definitions["v1Activity"][];
3619
4032
  };
3620
4033
  v1GetActivityRequest: {
3621
- /** @description Unique identifier for a given organization. */
4034
+ /** @description Unique identifier for a given Organization. */
3622
4035
  organizationId: string;
3623
4036
  /** @description Unique identifier for a given activity object. */
3624
4037
  activityId: string;
3625
4038
  };
3626
4039
  v1GetApiKeyRequest: {
3627
- /** @description Unique identifier for a given organization. */
4040
+ /** @description Unique identifier for a given Organization. */
3628
4041
  organizationId: string;
3629
4042
  /** @description Unique identifier for a given API key. */
3630
4043
  apiKeyId: string;
@@ -3634,7 +4047,7 @@ export type definitions = {
3634
4047
  apiKey: definitions["v1ApiKey"];
3635
4048
  };
3636
4049
  v1GetApiKeysRequest: {
3637
- /** @description Unique identifier for a given organization. */
4050
+ /** @description Unique identifier for a given Organization. */
3638
4051
  organizationId: string;
3639
4052
  /** @description Unique identifier for a given user. */
3640
4053
  userId?: string;
@@ -3663,7 +4076,7 @@ export type definitions = {
3663
4076
  appStatus: definitions["v1AppStatus"];
3664
4077
  };
3665
4078
  v1GetAuthenticatorRequest: {
3666
- /** @description Unique identifier for a given organization. */
4079
+ /** @description Unique identifier for a given Organization. */
3667
4080
  organizationId: string;
3668
4081
  /** @description Unique identifier for a given authenticator. */
3669
4082
  authenticatorId: string;
@@ -3673,7 +4086,7 @@ export type definitions = {
3673
4086
  authenticator: definitions["v1Authenticator"];
3674
4087
  };
3675
4088
  v1GetAuthenticatorsRequest: {
3676
- /** @description Unique identifier for a given organization. */
4089
+ /** @description Unique identifier for a given Organization. */
3677
4090
  organizationId: string;
3678
4091
  /** @description Unique identifier for a given user. */
3679
4092
  userId: string;
@@ -3773,6 +4186,52 @@ export type definitions = {
3773
4186
  /** @description Reason the withdrawal transaction failed, when status is FAILED. */
3774
4187
  error?: string;
3775
4188
  };
4189
+ v1GetFiatOffRampQuotesRequest: {
4190
+ /** @description Unique identifier for a given Organization. */
4191
+ organizationId: string;
4192
+ /** @description Crypto amount the user wants to sell, in major units of the caip19 asset. For example, "0.05" for 0.05 ETH. The wallet address is not part of this query. */
4193
+ cryptoAmount: string;
4194
+ /** @description Fiat currency the user receives, for example USD. */
4195
+ fiatCurrencyCode: definitions["v1FiatRampCurrency"];
4196
+ /**
4197
+ * @description CAIP-19 asset to sell. Each value is supported for both Coinbase and MoonPay sell, the same set as on-ramp.
4198
+ * @enum {string}
4199
+ */
4200
+ 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";
4201
+ /** @description ISO 3166-1 alpha-2 country code of the selling user, for example US. When omitted, the country is taken from the location of the request. */
4202
+ countryCode?: string;
4203
+ /** @description ISO 3166-2 subdivision code, for example NY. When omitted for a US visitor, the subdivision is taken from the location of the request. */
4204
+ countrySubdivisionCode?: string;
4205
+ /** @description Quote sandbox credentials when true. Defaults to false. */
4206
+ sandboxMode?: boolean;
4207
+ };
4208
+ v1GetFiatOffRampQuotesResponse: {
4209
+ /** @description One quote per provider and payment method that can serve this route. Empty when none can. */
4210
+ quotes: definitions["v1FiatOffRampQuote"][];
4211
+ };
4212
+ v1GetFiatOnRampQuotesRequest: {
4213
+ /** @description Unique identifier for a given Organization. */
4214
+ organizationId: string;
4215
+ /** @description Fiat amount the user wants to spend, in major units of fiat_currency_code. For example, "100" for 100 USD. */
4216
+ fiatAmount: string;
4217
+ /** @description Fiat currency for fiat_amount, for example USD. */
4218
+ fiatCurrencyCode: definitions["v1FiatRampCurrency"];
4219
+ /**
4220
+ * @description CAIP-19 asset to buy.
4221
+ * @enum {string}
4222
+ */
4223
+ 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";
4224
+ /** @description ISO 3166-1 alpha-2 country code of the purchasing user, for example US. When omitted, the country is taken from the location of the request. */
4225
+ countryCode?: string;
4226
+ /** @description ISO 3166-2 subdivision code, for example NY. When omitted for a US visitor, the subdivision is taken from the location of the request. */
4227
+ countrySubdivisionCode?: string;
4228
+ /** @description Quote sandbox credentials when true. Defaults to false. */
4229
+ sandboxMode?: boolean;
4230
+ };
4231
+ v1GetFiatOnRampQuotesResponse: {
4232
+ /** @description One quote per provider and payment method that can serve this route. Empty when none can. */
4233
+ quotes: definitions["v1FiatOnRampQuote"][];
4234
+ };
3776
4235
  v1GetGasUsageRequest: {
3777
4236
  /** @description Unique identifier for a given Organization. */
3778
4237
  organizationId: string;
@@ -3788,8 +4247,50 @@ export type definitions = {
3788
4247
  /** @description The total gas usage (in USD) of all sponsored transactions processed over the last `window_duration_minutes` */
3789
4248
  usageUsd: string;
3790
4249
  };
4250
+ v1GetIndicativeSwapQuoteRequest: {
4251
+ /** @description Unique identifier for a given Organization. */
4252
+ organizationId: string;
4253
+ /** @description Wallet account address that would send the input asset. It must belong to the organization. */
4254
+ signWith: string;
4255
+ /** @description CAIP-19 asset ID for the input asset. */
4256
+ inputToken: string;
4257
+ /** @description CAIP-19 asset ID for the output asset. */
4258
+ outputToken: string;
4259
+ /** @description Exact base-unit amount of the input asset. */
4260
+ inputAmount: string;
4261
+ /** @description Maximum allowed slippage in basis points, at most 5000. When omitted, the provider chooses the slippage. */
4262
+ slippageBps?: string;
4263
+ /** @description Raw public address that would receive the output asset. Required for cross-protocol swaps and rejected otherwise. */
4264
+ destinationAddress?: string;
4265
+ /** @description Preview the price with Turnkey paying the provider fees. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false. */
4266
+ feeSponsorship?: boolean;
4267
+ /** @description Preview a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false. */
4268
+ fixedRate?: boolean;
4269
+ };
4270
+ v1GetIndicativeSwapQuoteResponse: {
4271
+ /** @description Swap provider that produced this quote. */
4272
+ provider: string;
4273
+ /** @description Estimated base-unit amount of the output asset. */
4274
+ outputAmount: string;
4275
+ /** @description Minimum base-unit amount of the output asset after slippage. */
4276
+ minOutputAmount: string;
4277
+ /** @description Slippage tolerance in basis points the provider applied. */
4278
+ slippageBps?: string;
4279
+ /** @description Client app fee in basis points included in this quote. "0" when no client fee applies. */
4280
+ clientFeeBps: string;
4281
+ /** @description Provider's estimated time to complete the swap, in seconds. */
4282
+ estimatedTimeSeconds?: string;
4283
+ /** @description Whether this quote has Turnkey paying the execution costs. */
4284
+ feeSponsorship: boolean;
4285
+ /** @description Whether this quote uses a 1:1 fixed rate. */
4286
+ fixedRate: boolean;
4287
+ /** @description Deprecated: use estimated_charges.fixed_rate_adjustment_usd. Estimated fixed-rate adjustment in USD from the customer's side: positive is a cost, negative an earning. Present only for fixed-rate quotes the provider priced. */
4288
+ estimatedFixedRateAdjustmentUsd?: string;
4289
+ /** @description Estimated charges this swap would add to your invoice, one field per swap line item. Present when fee_sponsorship or fixed_rate is true. */
4290
+ estimatedCharges?: definitions["v1SwapCharges"];
4291
+ };
3791
4292
  v1GetIpAllowlistRequest: {
3792
- /** @description Unique identifier for a given organization. */
4293
+ /** @description Unique identifier for a given Organization. */
3793
4294
  organizationId: string;
3794
4295
  /** @description If provided, return only the allowlist for this specific API key. */
3795
4296
  publicKey?: string;
@@ -3804,7 +4305,7 @@ export type definitions = {
3804
4305
  appName: string;
3805
4306
  };
3806
4307
  v1GetMfaPoliciesRequest: {
3807
- /** @description Unique identifier for a given organization. */
4308
+ /** @description Unique identifier for a given Organization. */
3808
4309
  organizationId: string;
3809
4310
  /** @description Unique identifier for a given user. */
3810
4311
  userId: string;
@@ -3814,7 +4315,7 @@ export type definitions = {
3814
4315
  mfaPolicies: definitions["v1MfaPolicy"][];
3815
4316
  };
3816
4317
  v1GetMfaPolicyRequest: {
3817
- /** @description Unique identifier for a given organization. */
4318
+ /** @description Unique identifier for a given Organization. */
3818
4319
  organizationId: string;
3819
4320
  /** @description Unique identifier for a given user. */
3820
4321
  userId: string;
@@ -3826,7 +4327,7 @@ export type definitions = {
3826
4327
  mfaPolicy: definitions["v1MfaPolicy"];
3827
4328
  };
3828
4329
  v1GetMfaStatusRequest: {
3829
- /** @description Unique identifier for a given organization. */
4330
+ /** @description Unique identifier for a given Organization. */
3830
4331
  organizationId: string;
3831
4332
  /** @description The unique identifier of the activity to get MFA status for. */
3832
4333
  activityId: string;
@@ -3874,7 +4375,7 @@ export type definitions = {
3874
4375
  oauth2Credential: definitions["v1Oauth2Credential"];
3875
4376
  };
3876
4377
  v1GetOauthProvidersRequest: {
3877
- /** @description Unique identifier for a given organization. */
4378
+ /** @description Unique identifier for a given Organization. */
3878
4379
  organizationId: string;
3879
4380
  /** @description Unique identifier for a given user. */
3880
4381
  userId?: string;
@@ -3884,7 +4385,7 @@ export type definitions = {
3884
4385
  oauthProviders: definitions["v1OauthProvider"][];
3885
4386
  };
3886
4387
  v1GetOnRampTransactionStatusRequest: {
3887
- /** @description Unique identifier for a given organization. */
4388
+ /** @description Unique identifier for a given Organization. */
3888
4389
  organizationId: string;
3889
4390
  /** @description The unique identifier for the fiat on ramp transaction. */
3890
4391
  transactionId: string;
@@ -3896,7 +4397,7 @@ export type definitions = {
3896
4397
  transactionStatus: string;
3897
4398
  };
3898
4399
  v1GetOrganizationConfigsRequest: {
3899
- /** @description Unique identifier for a given organization. */
4400
+ /** @description Unique identifier for a given Organization. */
3900
4401
  organizationId: string;
3901
4402
  };
3902
4403
  v1GetOrganizationConfigsResponse: {
@@ -3904,7 +4405,7 @@ export type definitions = {
3904
4405
  configs: definitions["v1Config"];
3905
4406
  };
3906
4407
  v1GetOrganizationRequest: {
3907
- /** @description Unique identifier for a given organization. */
4408
+ /** @description Unique identifier for a given Organization. */
3908
4409
  organizationId: string;
3909
4410
  };
3910
4411
  v1GetOrganizationResponse: {
@@ -3912,7 +4413,7 @@ export type definitions = {
3912
4413
  organizationData: definitions["v1OrganizationData"];
3913
4414
  };
3914
4415
  v1GetPoliciesRequest: {
3915
- /** @description Unique identifier for a given organization. */
4416
+ /** @description Unique identifier for a given Organization. */
3916
4417
  organizationId: string;
3917
4418
  };
3918
4419
  v1GetPoliciesResponse: {
@@ -3920,7 +4421,7 @@ export type definitions = {
3920
4421
  policies: definitions["v1Policy"][];
3921
4422
  };
3922
4423
  v1GetPolicyEvaluationsRequest: {
3923
- /** @description Unique identifier for a given organization. */
4424
+ /** @description Unique identifier for a given Organization. */
3924
4425
  organizationId: string;
3925
4426
  /** @description Unique identifier for a given activity. */
3926
4427
  activityId: string;
@@ -3929,7 +4430,7 @@ export type definitions = {
3929
4430
  policyEvaluations: definitions["externalactivityv1PolicyEvaluation"][];
3930
4431
  };
3931
4432
  v1GetPolicyRequest: {
3932
- /** @description Unique identifier for a given organization. */
4433
+ /** @description Unique identifier for a given Organization. */
3933
4434
  organizationId: string;
3934
4435
  /** @description Unique identifier for a given policy. */
3935
4436
  policyId: string;
@@ -3939,7 +4440,7 @@ export type definitions = {
3939
4440
  policy: definitions["v1Policy"];
3940
4441
  };
3941
4442
  v1GetPrivateKeyRequest: {
3942
- /** @description Unique identifier for a given organization. */
4443
+ /** @description Unique identifier for a given Organization. */
3943
4444
  organizationId: string;
3944
4445
  /** @description Unique identifier for a given private key. */
3945
4446
  privateKeyId: string;
@@ -3949,7 +4450,7 @@ export type definitions = {
3949
4450
  privateKey: definitions["v1PrivateKey"];
3950
4451
  };
3951
4452
  v1GetPrivateKeysRequest: {
3952
- /** @description Unique identifier for a given organization. */
4453
+ /** @description Unique identifier for a given Organization. */
3953
4454
  organizationId: string;
3954
4455
  };
3955
4456
  v1GetPrivateKeysResponse: {
@@ -3957,7 +4458,7 @@ export type definitions = {
3957
4458
  privateKeys: definitions["v1PrivateKey"][];
3958
4459
  };
3959
4460
  v1GetSendTransactionStatusRequest: {
3960
- /** @description Unique identifier for a given organization. */
4461
+ /** @description Unique identifier for a given Organization. */
3961
4462
  organizationId: string;
3962
4463
  /** @description The unique identifier of a send transaction request. */
3963
4464
  sendTransactionStatusId: string;
@@ -3975,7 +4476,7 @@ export type definitions = {
3975
4476
  error?: definitions["v1TxError"];
3976
4477
  };
3977
4478
  v1GetSessionProfileRequest: {
3978
- /** @description Unique identifier for a given organization. */
4479
+ /** @description Unique identifier for a given Organization. */
3979
4480
  organizationId: string;
3980
4481
  /** @description Unique identifier for a session profile. */
3981
4482
  sessionProfileId: string;
@@ -3985,7 +4486,7 @@ export type definitions = {
3985
4486
  sessionProfile: definitions["v1SessionProfile"];
3986
4487
  };
3987
4488
  v1GetSessionProfilesRequest: {
3988
- /** @description Unique identifier for a given organization. */
4489
+ /** @description Unique identifier for a given Organization. */
3989
4490
  organizationId: string;
3990
4491
  };
3991
4492
  v1GetSessionProfilesResponse: {
@@ -3993,7 +4494,7 @@ export type definitions = {
3993
4494
  sessionProfiles: definitions["v1SessionProfile"][];
3994
4495
  };
3995
4496
  v1GetSmartContractInterfaceRequest: {
3996
- /** @description Unique identifier for a given organization. */
4497
+ /** @description Unique identifier for a given Organization. */
3997
4498
  organizationId: string;
3998
4499
  /** @description Unique identifier for a given smart contract interface. */
3999
4500
  smartContractInterfaceId: string;
@@ -4003,7 +4504,7 @@ export type definitions = {
4003
4504
  smartContractInterface: definitions["externaldatav1SmartContractInterface"];
4004
4505
  };
4005
4506
  v1GetSmartContractInterfacesRequest: {
4006
- /** @description Unique identifier for a given organization. */
4507
+ /** @description Unique identifier for a given Organization. */
4007
4508
  organizationId: string;
4008
4509
  };
4009
4510
  v1GetSmartContractInterfacesResponse: {
@@ -4013,7 +4514,7 @@ export type definitions = {
4013
4514
  v1GetSubOrgIdsRequest: {
4014
4515
  /** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
4015
4516
  organizationId: string;
4016
- /** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'WALLET_ACCOUNT_ADDRESS' or 'PUBLIC_KEY' */
4517
+ /** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', 'WALLET_ACCOUNT_ADDRESS', 'WALLET_AUTH_TOKEN', or 'PUBLIC_KEY' */
4017
4518
  filterType?: string;
4018
4519
  /** @description The value of the filter to apply for the specified type. For example, a specific email or name string. */
4019
4520
  filterValue?: string;
@@ -4024,6 +4525,14 @@ export type definitions = {
4024
4525
  /** @description List of unique identifiers for the matching sub-organizations. */
4025
4526
  organizationIds: string[];
4026
4527
  };
4528
+ v1GetSwapSponsorshipUsageRequest: {
4529
+ /** @description Unique identifier for a given organization. */
4530
+ organizationId: string;
4531
+ };
4532
+ v1GetSwapSponsorshipUsageResponse: {
4533
+ feeSponsorship: definitions["v1SwapSponsorshipFeature"];
4534
+ fixedRate: definitions["v1SwapSponsorshipFeature"];
4535
+ };
4027
4536
  v1GetSwapStatusRequest: {
4028
4537
  /** @description Unique identifier for a given Organization. */
4029
4538
  organizationId: string;
@@ -4057,9 +4566,11 @@ export type definitions = {
4057
4566
  error?: definitions["v1SwapError"];
4058
4567
  /** @description Address that receives the output asset. */
4059
4568
  destinationAddress?: string;
4569
+ /** @description Final charges this swap added to your invoice, one field per swap line item. Present once a fee-sponsored or fixed-rate swap's costs are settled; a swap that failed or was refunded settles at zero. */
4570
+ charges?: definitions["v1SwapCharges"];
4060
4571
  };
4061
4572
  v1GetTvcAppDeploymentsRequest: {
4062
- /** @description Unique identifier for a given organization. */
4573
+ /** @description Unique identifier for a given Organization. */
4063
4574
  organizationId: string;
4064
4575
  /** @description Unique identifier for a given TVC App. */
4065
4576
  appId: string;
@@ -4069,7 +4580,7 @@ export type definitions = {
4069
4580
  tvcDeployments: definitions["v1TvcDeployment"][];
4070
4581
  };
4071
4582
  v1GetTvcAppRequest: {
4072
- /** @description Unique identifier for a given organization. */
4583
+ /** @description Unique identifier for a given Organization. */
4073
4584
  organizationId: string;
4074
4585
  /** @description Unique identifier for a given TVC App. */
4075
4586
  tvcAppId: string;
@@ -4079,8 +4590,10 @@ export type definitions = {
4079
4590
  tvcApp: definitions["v1TvcApp"];
4080
4591
  };
4081
4592
  v1GetTvcAppsRequest: {
4082
- /** @description Unique identifier for a given organization. */
4593
+ /** @description Unique identifier for a given Organization. */
4083
4594
  organizationId: string;
4595
+ /** @description Filter TVC Apps by whether they have a live deployment. If omitted, all TVC Apps are returned. */
4596
+ isLive?: boolean;
4084
4597
  };
4085
4598
  v1GetTvcAppsResponse: {
4086
4599
  /** @description A list of TVC Apps. */
@@ -4124,10 +4637,10 @@ export type definitions = {
4124
4637
  */
4125
4638
  manifestEnvelope?: string;
4126
4639
  /** @description Current provisioning state. */
4127
- provisioningState?: definitions["v1ProvisioningState"];
4640
+ provisioningState: definitions["v1ProvisioningState"];
4128
4641
  };
4129
4642
  v1GetTvcDeploymentRequest: {
4130
- /** @description Unique identifier for a given organization. */
4643
+ /** @description Unique identifier for a given Organization. */
4131
4644
  organizationId: string;
4132
4645
  /** @description Unique identifier for a given TVC Deployment. */
4133
4646
  deploymentId: string;
@@ -4136,8 +4649,25 @@ export type definitions = {
4136
4649
  /** @description Details about a single TVC Deployment */
4137
4650
  tvcDeployment: definitions["v1TvcDeployment"];
4138
4651
  };
4652
+ v1GetTvcManifestGenerationInfoRequest: {
4653
+ organizationId: string;
4654
+ appId: string;
4655
+ /** @description QOS version of the deployment. Defaults to the latest recommended TVC QOS version. */
4656
+ qosVersion?: string;
4657
+ };
4658
+ v1GetTvcManifestGenerationInfoResponse: {
4659
+ /** Format: int64 */
4660
+ nonce: number;
4661
+ namespace: string;
4662
+ pcr0: string;
4663
+ pcr1: string;
4664
+ pcr2: string;
4665
+ pcr3: string;
4666
+ qosVersion: string;
4667
+ defaultDnsResolvers?: string[];
4668
+ };
4139
4669
  v1GetTvcOperatorsRequest: {
4140
- /** @description Unique identifier for a given organization. */
4670
+ /** @description Unique identifier for a given Organization. */
4141
4671
  organizationId: string;
4142
4672
  };
4143
4673
  v1GetTvcOperatorsResponse: {
@@ -4154,14 +4684,21 @@ export type definitions = {
4154
4684
  latestVersion: string;
4155
4685
  };
4156
4686
  v1GetTvcQuorumKeysRequest: {
4157
- /** @description Unique identifier for a given organization. */
4687
+ /** @description Unique identifier for a given Organization. */
4158
4688
  organizationId: string;
4159
4689
  };
4160
4690
  v1GetTvcQuorumKeysResponse: {
4161
4691
  tvcQuorumKeys: definitions["v1TvcQuorumKey"][];
4162
4692
  };
4693
+ v1GetUsageControlRequest: {
4694
+ organizationId: string;
4695
+ usageControlId: string;
4696
+ };
4697
+ v1GetUsageControlResponse: {
4698
+ usageControl: definitions["v1UsageControl"];
4699
+ };
4163
4700
  v1GetUserRequest: {
4164
- /** @description Unique identifier for a given organization. */
4701
+ /** @description Unique identifier for a given Organization. */
4165
4702
  organizationId: string;
4166
4703
  /** @description Unique identifier for a given user. */
4167
4704
  userId: string;
@@ -4171,24 +4708,17 @@ export type definitions = {
4171
4708
  user: definitions["v1User"];
4172
4709
  };
4173
4710
  v1GetUsersRequest: {
4174
- /** @description Unique identifier for a given organization. */
4711
+ /** @description Unique identifier for a given Organization. */
4175
4712
  organizationId: string;
4176
4713
  };
4177
4714
  v1GetUsersResponse: {
4178
4715
  /** @description A list of users. */
4179
4716
  users: definitions["v1User"][];
4180
4717
  };
4181
- v1GetVelocityControlRequest: {
4182
- organizationId: string;
4183
- velocityControlId: string;
4184
- };
4185
- v1GetVelocityControlResponse: {
4186
- velocityControl: definitions["v1VelocityControl"];
4187
- };
4188
4718
  v1GetVerifiedSubOrgIdsRequest: {
4189
4719
  /** @description Unique identifier for the parent organization. This is used to find sub-organizations within it. */
4190
4720
  organizationId: string;
4191
- /** @description Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER'. */
4721
+ /** @description Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'OAUTH_CLAIM', 'PUBLIC_KEY', or 'WALLET_AUTH_TOKEN'. */
4192
4722
  filterType?: string;
4193
4723
  /** @description The value of the filter to apply for the specified type. For example, a specific email or phone number string. */
4194
4724
  filterValue?: string;
@@ -4200,7 +4730,7 @@ export type definitions = {
4200
4730
  organizationIds: string[];
4201
4731
  };
4202
4732
  v1GetWalletAccountRequest: {
4203
- /** @description Unique identifier for a given organization. */
4733
+ /** @description Unique identifier for a given Organization. */
4204
4734
  organizationId: string;
4205
4735
  /** @description Unique identifier for a given wallet. */
4206
4736
  walletId: string;
@@ -4214,7 +4744,7 @@ export type definitions = {
4214
4744
  account: definitions["v1WalletAccount"];
4215
4745
  };
4216
4746
  v1GetWalletAccountsRequest: {
4217
- /** @description Unique identifier for a given organization. */
4747
+ /** @description Unique identifier for a given Organization. */
4218
4748
  organizationId: string;
4219
4749
  /** @description Unique identifier for a given wallet. If not provided, all accounts for the organization will be returned. */
4220
4750
  walletId?: string;
@@ -4228,7 +4758,7 @@ export type definitions = {
4228
4758
  accounts: definitions["v1WalletAccount"][];
4229
4759
  };
4230
4760
  v1GetWalletAddressBalancesRequest: {
4231
- /** @description Unique identifier for a given organization. */
4761
+ /** @description Unique identifier for a given Organization. */
4232
4762
  organizationId: string;
4233
4763
  /** @description Address corresponding to a wallet account. Private key addresses are not supported. */
4234
4764
  address: string;
@@ -4242,9 +4772,19 @@ export type definitions = {
4242
4772
  /** @description List of asset balances */
4243
4773
  balances?: definitions["v1AssetBalance"][];
4244
4774
  };
4245
- v1GetWalletRequest: {
4775
+ v1GetWalletAuthenticatorsRequest: {
4246
4776
  /** @description Unique identifier for a given organization. */
4247
4777
  organizationId: string;
4778
+ /** @description Unique identifier for a given user. */
4779
+ userId: string;
4780
+ };
4781
+ v1GetWalletAuthenticatorsResponse: {
4782
+ /** @description A list of wallet authenticators. */
4783
+ walletAuthenticators: definitions["v1WalletAuthenticator"][];
4784
+ };
4785
+ v1GetWalletRequest: {
4786
+ /** @description Unique identifier for a given Organization. */
4787
+ organizationId: string;
4248
4788
  /** @description Unique identifier for a given wallet. */
4249
4789
  walletId: string;
4250
4790
  };
@@ -4253,7 +4793,7 @@ export type definitions = {
4253
4793
  wallet: definitions["v1Wallet"];
4254
4794
  };
4255
4795
  v1GetWalletsRequest: {
4256
- /** @description Unique identifier for a given organization. */
4796
+ /** @description Unique identifier for a given Organization. */
4257
4797
  organizationId: string;
4258
4798
  };
4259
4799
  v1GetWalletsResponse: {
@@ -4265,7 +4805,7 @@ export type definitions = {
4265
4805
  organizationId: string;
4266
4806
  };
4267
4807
  v1GetWhoamiResponse: {
4268
- /** @description Unique identifier for a given organization. */
4808
+ /** @description Unique identifier for a given Organization. */
4269
4809
  organizationId: string;
4270
4810
  /** @description Human-readable name for an organization. */
4271
4811
  organizationName: string;
@@ -4276,6 +4816,26 @@ export type definitions = {
4276
4816
  };
4277
4817
  /** @enum {string} */
4278
4818
  v1HashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
4819
+ v1HttpAuthzV1Inputs: {
4820
+ /** @description HTTP method of the bound request. One of `GET`, `HEAD`, `POST`, `PUT`, `PATCH`, or `DELETE`. */
4821
+ method: string;
4822
+ /** @description Path of the bound request, starting with `/`. */
4823
+ path: string;
4824
+ /** @description Query of the bound request without the leading `?`, or empty for no query. */
4825
+ query?: string;
4826
+ /** @description Lowercase names of the bound request headers, in order. At most 32 unique names of at most 64 characters each. Cannot include `authorization` or hop-by-hop headers (`proxy-authorization`, `connection`, `keep-alive`, `proxy-connection`, `te`, `transfer-encoding`, `upgrade`). */
4827
+ headerNames?: string[];
4828
+ /** @description SHA-256 digest of each bound header value, as `sha-256=:<base64>:`. One entry per entry in `header_names`. */
4829
+ headerDigest?: string[];
4830
+ /** @description SHA-256 digest of the bound request body, as `sha-256=:<base64>:`. For a request with no body, the digest of empty content. */
4831
+ bodyDigest: string;
4832
+ /** @description ID of a user in the organization, as a lowercase UUID. Becomes the `sub` claim. */
4833
+ subject: string;
4834
+ /** @description Lifetime of the JWT in seconds, from 1 to 300. `exp` is `issued_at + time_to_live_seconds`. */
4835
+ timeToLiveSeconds: string;
4836
+ /** @description Unix time in seconds. Becomes the `iat` claim. */
4837
+ issuedAt: string;
4838
+ };
4279
4839
  v1ImportPrivateKeyIntent: {
4280
4840
  /** @description The ID of the User importing a Private Key. */
4281
4841
  userId: string;
@@ -4863,13 +5423,30 @@ export type definitions = {
4863
5423
  createSwapQuoteIntent?: definitions["v1CreateSwapQuoteIntent"];
4864
5424
  importSecretsIntent?: definitions["v1ImportSecretsIntent"];
4865
5425
  exportSecretsIntent?: definitions["v1ExportSecretsIntent"];
4866
- createVelocityControlIntent?: definitions["v1CreateVelocityControlIntent"];
4867
- deleteVelocityControlIntent?: definitions["v1DeleteVelocityControlIntent"];
5426
+ createUsageControlIntent?: definitions["v1CreateUsageControlIntent"];
5427
+ deleteUsageControlsIntent?: definitions["v1DeleteUsageControlsIntent"];
4868
5428
  updatePaymentMethodIntent?: definitions["billingUpdatePaymentMethodIntent"];
4869
5429
  createSwapQuoteIntentV2?: definitions["v1CreateSwapQuoteIntentV2"];
4870
5430
  executeSwapIntentV3?: definitions["v1ExecuteSwapIntentV3"];
4871
5431
  deleteSecretsIntent?: definitions["v1DeleteSecretsIntent"];
4872
5432
  earnClaimRewardsIntent?: definitions["v1EarnClaimRewardsIntent"];
5433
+ createSwapQuoteIntentV3?: definitions["v1CreateSwapQuoteIntentV3"];
5434
+ createSubOrganizationIntentV9?: definitions["v1CreateSubOrganizationIntentV9"];
5435
+ verifyWalletAuthenticatorIntent?: definitions["v1VerifyWalletAuthenticatorIntent"];
5436
+ upsertSwapFeeSponsorshipLimitConfigIntent?: definitions["v1UpsertSwapFeeSponsorshipLimitConfigIntent"];
5437
+ upsertSwapFixedRateLimitConfigIntent?: definitions["v1UpsertSwapFixedRateLimitConfigIntent"];
5438
+ createFiatOnRampSessionIntent?: definitions["v1CreateFiatOnRampSessionIntent"];
5439
+ createFiatOffRampSessionIntent?: definitions["v1CreateFiatOffRampSessionIntent"];
5440
+ executeSwapIntentV4?: definitions["v1ExecuteSwapIntentV4"];
5441
+ createWalletAuthenticatorsIntent?: definitions["v1CreateWalletAuthenticatorsIntent"];
5442
+ deleteWalletAuthenticatorsIntent?: definitions["v1DeleteWalletAuthenticatorsIntent"];
5443
+ enableSmsForCountriesIntent?: definitions["v1EnableSmsForCountriesIntent"];
5444
+ disableSmsForCountriesIntent?: definitions["v1DisableSmsForCountriesIntent"];
5445
+ createFiatRampCredentialIntent?: definitions["v1CreateFiatRampCredentialIntent"];
5446
+ updateFiatRampCredentialIntent?: definitions["v1UpdateFiatRampCredentialIntent"];
5447
+ createExternalSignerIntentV1?: definitions["v1CreateExternalSignerIntentV1"];
5448
+ deleteExternalSignerIntentV1?: definitions["v1DeleteExternalSignerIntentV1"];
5449
+ mintJwtIntent?: definitions["v1MintJwtIntent"];
4873
5450
  };
4874
5451
  v1Invitation: {
4875
5452
  /** @description Unique identifier for a given Invitation object. */
@@ -4929,6 +5506,8 @@ export type definitions = {
4929
5506
  /** @description Creation timestamp as millisecond epoch string. */
4930
5507
  createdAt?: string;
4931
5508
  };
5509
+ /** @enum {string} */
5510
+ v1JwtProfile: "JWT_PROFILE_HTTP_AUTHZ_V1";
4932
5511
  v1KeyValue: {
4933
5512
  key?: string;
4934
5513
  value?: string;
@@ -5000,7 +5579,7 @@ export type definitions = {
5000
5579
  emailEvents: definitions["v1EmailEvent"][];
5001
5580
  };
5002
5581
  v1ListEthTransactionHistoryRequest: {
5003
- /** @description Unique identifier for a given organization. */
5582
+ /** @description Unique identifier for a given Organization. */
5004
5583
  organizationId: string;
5005
5584
  /** @description Address corresponding to a wallet account. Private key addresses are not supported. */
5006
5585
  address: string;
@@ -5032,7 +5611,7 @@ export type definitions = {
5032
5611
  oauth2Credentials: definitions["v1Oauth2Credential"][];
5033
5612
  };
5034
5613
  v1ListPrivateKeyTagsRequest: {
5035
- /** @description Unique identifier for a given organization. */
5614
+ /** @description Unique identifier for a given Organization. */
5036
5615
  organizationId: string;
5037
5616
  };
5038
5617
  v1ListPrivateKeyTagsResponse: {
@@ -5050,7 +5629,7 @@ export type definitions = {
5050
5629
  secrets: definitions["v1SecretMetadata"][];
5051
5630
  };
5052
5631
  v1ListSolTransactionHistoryRequest: {
5053
- /** @description Unique identifier for a given organization. */
5632
+ /** @description Unique identifier for a given Organization. */
5054
5633
  organizationId: string;
5055
5634
  /** @description Address corresponding to a wallet account. Private key addresses are not supported. */
5056
5635
  address: string;
@@ -5068,7 +5647,7 @@ export type definitions = {
5068
5647
  pageInfo?: definitions["v1PageInfo"];
5069
5648
  };
5070
5649
  v1ListSupportedAssetsRequest: {
5071
- /** @description Unique identifier for a given organization. */
5650
+ /** @description Unique identifier for a given Organization. */
5072
5651
  organizationId: string;
5073
5652
  /**
5074
5653
  * @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.
@@ -5080,22 +5659,22 @@ export type definitions = {
5080
5659
  /** @description List of asset metadata */
5081
5660
  assets?: definitions["v1AssetMetadata"][];
5082
5661
  };
5662
+ v1ListUsageControlsRequest: {
5663
+ organizationId: string;
5664
+ paginationOptions?: definitions["v1Pagination"];
5665
+ };
5666
+ v1ListUsageControlsResponse: {
5667
+ usageControls: definitions["v1UsageControl"][];
5668
+ pageInfo: definitions["v1PageInfo"];
5669
+ };
5083
5670
  v1ListUserTagsRequest: {
5084
- /** @description Unique identifier for a given organization. */
5671
+ /** @description Unique identifier for a given Organization. */
5085
5672
  organizationId: string;
5086
5673
  };
5087
5674
  v1ListUserTagsResponse: {
5088
5675
  /** @description A list of user tags. */
5089
5676
  userTags: definitions["datav1Tag"][];
5090
5677
  };
5091
- v1ListVelocityControlsRequest: {
5092
- organizationId: string;
5093
- paginationOptions?: definitions["v1Pagination"];
5094
- };
5095
- v1ListVelocityControlsResponse: {
5096
- velocityControls: definitions["v1VelocityControl"][];
5097
- pageInfo: definitions["v1PageInfo"];
5098
- };
5099
5678
  v1ListWebhookEndpointsRequest: {
5100
5679
  /** @description Unique identifier for a given Organization. */
5101
5680
  organizationId: string;
@@ -5144,6 +5723,29 @@ export type definitions = {
5144
5723
  /** @description An ordered list of authentication requirements needed to satisfy this MFA policy. */
5145
5724
  requiredMethods: definitions["v1RequiredAuthenticationMethod"][];
5146
5725
  };
5726
+ v1MintJwtIntent: {
5727
+ /** @description Profile that defines which claims the JWT binds. Must match the set `profile_inputs` case. */
5728
+ profile: definitions["v1JwtProfile"];
5729
+ /** @description Origin of the receiving service, as `https://<lowercase host>[:port]` with no default port, path, query, or fragment. At most 256 characters. Becomes the `aud` claim. */
5730
+ audience: string;
5731
+ /** @description Inputs for the `turnkey.io/http-authz/v1` profile. */
5732
+ httpAuthzV1?: definitions["v1HttpAuthzV1Inputs"];
5733
+ };
5734
+ v1MintJwtRequest: {
5735
+ /** @enum {string} */
5736
+ type: "ACTIVITY_TYPE_MINT_JWT";
5737
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
5738
+ timestampMs: string;
5739
+ /** @description Unique identifier for a given Organization. */
5740
+ organizationId: string;
5741
+ parameters: definitions["v1MintJwtIntent"];
5742
+ };
5743
+ v1MintJwtResult: {
5744
+ /** @description Signed JWT in JWS compact serialization. */
5745
+ jwt: string;
5746
+ /** @description Public JWK of the key that signed the JWT. Verifiers should pin this key or fetch it from the issuer's JWKS, not trust it from this response. */
5747
+ signingKeyJwk: string;
5748
+ };
5147
5749
  /** @enum {string} */
5148
5750
  v1MnemonicLanguage: "MNEMONIC_LANGUAGE_ENGLISH" | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | "MNEMONIC_LANGUAGE_CZECH" | "MNEMONIC_LANGUAGE_FRENCH" | "MNEMONIC_LANGUAGE_ITALIAN" | "MNEMONIC_LANGUAGE_JAPANESE" | "MNEMONIC_LANGUAGE_KOREAN" | "MNEMONIC_LANGUAGE_SPANISH";
5149
5751
  v1NOOPCodegenAnchorResponse: {
@@ -5768,11 +6370,27 @@ export type definitions = {
5768
6370
  createSwapQuoteResult?: definitions["v1CreateSwapQuoteResult"];
5769
6371
  importSecretsResult?: definitions["v1ImportSecretsResult"];
5770
6372
  exportSecretsResult?: definitions["v1ExportSecretsResult"];
5771
- createVelocityControlResult?: definitions["v1CreateVelocityControlResult"];
5772
- deleteVelocityControlResult?: definitions["v1DeleteVelocityControlResult"];
6373
+ createUsageControlResult?: definitions["v1CreateUsageControlResult"];
6374
+ deleteUsageControlsResult?: definitions["v1DeleteUsageControlsResult"];
5773
6375
  updatePaymentMethodResult?: definitions["billingUpdatePaymentMethodResult"];
5774
6376
  deleteSecretsResult?: definitions["v1DeleteSecretsResult"];
5775
6377
  earnClaimRewardsResult?: definitions["v1EarnClaimRewardsResult"];
6378
+ createSwapQuoteResultV2?: definitions["v1CreateSwapQuoteResultV2"];
6379
+ createSubOrganizationResultV9?: definitions["v1CreateSubOrganizationResultV9"];
6380
+ verifyWalletAuthenticatorResult?: definitions["v1VerifyWalletAuthenticatorResult"];
6381
+ upsertSwapFeeSponsorshipLimitConfigResult?: definitions["v1UpsertSwapFeeSponsorshipLimitConfigResult"];
6382
+ upsertSwapFixedRateLimitConfigResult?: definitions["v1UpsertSwapFixedRateLimitConfigResult"];
6383
+ createFiatOnRampSessionResult?: definitions["v1CreateFiatOnRampSessionResult"];
6384
+ createFiatOffRampSessionResult?: definitions["v1CreateFiatOffRampSessionResult"];
6385
+ createWalletAuthenticatorsResult?: definitions["v1CreateWalletAuthenticatorsResult"];
6386
+ deleteWalletAuthenticatorsResult?: definitions["v1DeleteWalletAuthenticatorsResult"];
6387
+ enableSmsForCountriesResult?: definitions["v1EnableSmsForCountriesResult"];
6388
+ disableSmsForCountriesResult?: definitions["v1DisableSmsForCountriesResult"];
6389
+ createFiatRampCredentialResult?: definitions["v1CreateFiatRampCredentialResult"];
6390
+ updateFiatRampCredentialResult?: definitions["v1UpdateFiatRampCredentialResult"];
6391
+ createExternalSignerResultV1?: definitions["v1CreateExternalSignerResultV1"];
6392
+ deleteExternalSignerResultV1?: definitions["v1DeleteExternalSignerResultV1"];
6393
+ mintJwtResult?: definitions["v1MintJwtResult"];
5776
6394
  };
5777
6395
  v1RevertChainEntry: {
5778
6396
  /** @description The contract address where the revert occurred. */
@@ -5850,6 +6468,22 @@ export type definitions = {
5850
6468
  /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
5851
6469
  oauthProviders: definitions["v1OauthProviderParamsV2"][];
5852
6470
  };
6471
+ v1RootUserParamsV6: {
6472
+ /** @description Human-readable name for a User. */
6473
+ userName: string;
6474
+ /** @description The user's email address. */
6475
+ userEmail?: string;
6476
+ /** @description The user's phone number in E.164 format e.g. +13214567890 */
6477
+ userPhoneNumber?: string;
6478
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
6479
+ apiKeys: definitions["v1ApiKeyParamsV2"][];
6480
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
6481
+ authenticators: definitions["v1AuthenticatorParamsV2"][];
6482
+ /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
6483
+ oauthProviders: definitions["v1OauthProviderParamsV2"][];
6484
+ /** @description A list of wallet authenticators. This field, if not needed, should be an empty array in your request body. */
6485
+ walletAuthenticators: definitions["v1WalletAuthenticatorParams"][];
6486
+ };
5853
6487
  v1SecretMetadata: {
5854
6488
  /** @description Unique identifier for the secret. */
5855
6489
  secretId: string;
@@ -5914,7 +6548,7 @@ export type definitions = {
5914
6548
  /** @description Name of the feature to set */
5915
6549
  name: definitions["v1FeatureName"];
5916
6550
  /** @description Optional value for the feature. Will override existing values if feature is already set. */
5917
- value: string;
6551
+ value?: string;
5918
6552
  };
5919
6553
  v1SetOrganizationFeatureRequest: {
5920
6554
  /** @enum {string} */
@@ -5949,6 +6583,8 @@ export type definitions = {
5949
6583
  encoding: definitions["v1PayloadEncoding"];
5950
6584
  /** @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. */
5951
6585
  hashFunction: definitions["v1HashFunction"];
6586
+ /** @description The public key of the external signer to use for signing the payload. Only needed for external signer requests. */
6587
+ externalSignerPubkey?: string;
5952
6588
  };
5953
6589
  v1SignRawPayloadRequest: {
5954
6590
  /** @enum {string} */
@@ -5961,11 +6597,11 @@ export type definitions = {
5961
6597
  generateAppProofs?: boolean;
5962
6598
  };
5963
6599
  v1SignRawPayloadResult: {
5964
- /** @description Component of an ECSDA signature. */
6600
+ /** @description Component of a cryptographic signature, meaning varies based on signing scheme. */
5965
6601
  r: string;
5966
- /** @description Component of an ECSDA signature. */
6602
+ /** @description Component of a cryptographic signature, meaning varies based on signing scheme. */
5967
6603
  s: string;
5968
- /** @description Component of an ECSDA signature. */
6604
+ /** @description Recovery ID for ECDSA signatures, "00" otherwise. */
5969
6605
  v: string;
5970
6606
  };
5971
6607
  v1SignRawPayloadsIntent: {
@@ -5977,6 +6613,8 @@ export type definitions = {
5977
6613
  encoding: definitions["v1PayloadEncoding"];
5978
6614
  /** @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. */
5979
6615
  hashFunction: definitions["v1HashFunction"];
6616
+ /** @description The public key of the external signer to use for signing the payloads. Only needed for external signer requests. */
6617
+ externalSignerPubkey?: string;
5980
6618
  };
5981
6619
  v1SignRawPayloadsRequest: {
5982
6620
  /** @enum {string} */
@@ -6004,6 +6642,8 @@ export type definitions = {
6004
6642
  /** @description Raw unsigned transaction to be signed */
6005
6643
  unsignedTransaction: string;
6006
6644
  type: definitions["v1TransactionType"];
6645
+ /** @description The public key of the external signer to use for signing this transaction. Only needed for external signer requests. */
6646
+ externalSignerPubkey?: string;
6007
6647
  };
6008
6648
  v1SignTransactionRequest: {
6009
6649
  /** @enum {string} */
@@ -6032,6 +6672,14 @@ export type definitions = {
6032
6672
  authenticators?: definitions["v1AuthenticatorParamsV2"][];
6033
6673
  oauthProviders?: definitions["v1OauthProviderParamsV2"][];
6034
6674
  };
6675
+ v1SignupUsageV3: {
6676
+ email?: string;
6677
+ phoneNumber?: string;
6678
+ apiKeys?: definitions["v1ApiKeyParamsV2"][];
6679
+ authenticators?: definitions["v1AuthenticatorParamsV2"][];
6680
+ oauthProviders?: definitions["v1OauthProviderParamsV2"][];
6681
+ walletAuthenticators?: definitions["v1WalletAuthenticatorParams"][];
6682
+ };
6035
6683
  v1SimpleClientExtensionResults: {
6036
6684
  appid?: boolean;
6037
6685
  appidExclude?: boolean;
@@ -6404,6 +7052,14 @@ export type definitions = {
6404
7052
  /** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
6405
7053
  session: string;
6406
7054
  };
7055
+ v1SwapCharges: {
7056
+ /** @description Swap Execution: the provider's execution costs Turnkey pays, including DEX fees and price impact, the provider's fixed cost, destination gas, and provider fees. Present when fee_sponsorship is true. */
7057
+ executionUsd?: string;
7058
+ /** @description Swap Turnkey Fee: Turnkey's fee for a fee-sponsored swap. Present when fee_sponsorship is true. */
7059
+ turnkeyFeeUsd?: string;
7060
+ /** @description Swap Fixed Rate: the difference between the 1:1 rate and the market rate. Positive is a cost billed to you; negative is an earning credited against your transaction management charges at the end of the billing period. Present when fixed_rate is true. */
7061
+ fixedRateAdjustmentUsd?: string;
7062
+ };
6407
7063
  v1SwapError: {
6408
7064
  /** @description Stable machine-readable failure reason. One of ORIGIN_TRANSACTION_FAILED or PROVIDER_FILL_FAILED. */
6409
7065
  reason: string;
@@ -6432,6 +7088,32 @@ export type definitions = {
6432
7088
  /** @description Provider-estimated completion time in seconds, when available. */
6433
7089
  estimatedTimeSeconds?: string;
6434
7090
  };
7091
+ v1SwapQuoteV2: {
7092
+ /** @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. */
7093
+ quoteId: string;
7094
+ /** @description Swap provider that produced this quote. */
7095
+ provider: string;
7096
+ /** @description Estimated base-unit amount of the output asset. */
7097
+ outputAmount: string;
7098
+ /** @description Minimum acceptable base-unit amount of the output asset after slippage. */
7099
+ minOutputAmount: string;
7100
+ /** @description Quote expiration as a millisecond epoch string. */
7101
+ expiresAt: string;
7102
+ /** @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. */
7103
+ slippageBps?: string;
7104
+ /** @description Client fee in basis points applied for this pair. Informational only; already reflected in output_amount and min_output_amount. */
7105
+ clientFeeBps: string;
7106
+ /** @description Provider-estimated completion time in seconds, when available. */
7107
+ estimatedTimeSeconds?: string;
7108
+ /** @description Whether Turnkey pays the execution costs for this quote. */
7109
+ feeSponsorship: boolean;
7110
+ /** @description Whether this quote uses a 1:1 fixed rate. */
7111
+ fixedRate: boolean;
7112
+ /** @description Deprecated: use estimated_charges.fixed_rate_adjustment_usd. 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. */
7113
+ estimatedFixedRateAdjustmentUsd?: string;
7114
+ /** @description Estimated charges this swap adds to your invoice, one field per swap line item. Present when fee_sponsorship or fixed_rate is true. Informational; the final amounts are settled after execution and reported by get_swap_status. */
7115
+ estimatedCharges?: definitions["v1SwapCharges"];
7116
+ };
6435
7117
  v1SwapRefund: {
6436
7118
  /** @description CAIP-19 asset returned by the swap provider after a failed cross-chain fill. */
6437
7119
  asset: string;
@@ -6440,6 +7122,29 @@ export type definitions = {
6440
7122
  /** @description Transaction that delivered the provider refund, when applicable. */
6441
7123
  txHash?: string;
6442
7124
  };
7125
+ v1SwapSpendingWindow: {
7126
+ /**
7127
+ * Format: int32
7128
+ * @description Rolling window duration in minutes.
7129
+ */
7130
+ windowDurationMinutes: number;
7131
+ /** @description The parent's window limit, or the per-child limit when queried by a sub-organization. */
7132
+ windowLimitUsd: string;
7133
+ /** @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. */
7134
+ usageUsd: string;
7135
+ /** @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. */
7136
+ remainingUsd: string;
7137
+ /** @description Whether the saved spending window permits new swaps. */
7138
+ enabled: boolean;
7139
+ /** @description Configured per-child limit. Returned only when querying the billing parent. */
7140
+ subOrgWindowLimitUsd?: string;
7141
+ };
7142
+ v1SwapSponsorshipFeature: {
7143
+ /** @description Whether the billing parent holds this feature's signed permission, which enabling its spending window grants. Quotes can use the feature only when it is permitted and its window is enabled. */
7144
+ permitted: boolean;
7145
+ /** @description Absent until the billing parent saves a spending window. */
7146
+ window?: definitions["v1SwapSpendingWindow"];
7147
+ };
6443
7148
  /** @enum {string} */
6444
7149
  v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
6445
7150
  v1TestRateLimitsRequest: {
@@ -6464,6 +7169,7 @@ export type definitions = {
6464
7169
  signup?: definitions["v1SignupUsage"];
6465
7170
  login?: definitions["v1LoginUsage"];
6466
7171
  signupV2?: definitions["v1SignupUsageV2"];
7172
+ signupV3?: definitions["v1SignupUsageV3"];
6467
7173
  };
6468
7174
  v1TransactionHistoryAsset: {
6469
7175
  /** @description The CAIP-19 asset identifier. */
@@ -6547,10 +7253,12 @@ export type definitions = {
6547
7253
  updatedAt: definitions["externaldatav1Timestamp"];
6548
7254
  /** @description The deployment currently designated to receive traffic. Null if no deployment for this app is deployed. */
6549
7255
  liveDeploymentId?: string;
6550
- /** @description The public domain for ingress to this TVC App (in the format "app-<ID>.turnkey.cloud"). */
7256
+ /** @description The public domain for ingress to this TVC App (in the format "app-<ID>.app.turnkey.cloud"). May contain multiple comma-separated hostnames. */
6551
7257
  publicDomain: string;
6552
7258
  /** @description Whether this app permits debug-mode deployments. Set at app creation via CreateTvcAppIntent.enable_debug_mode_deployments and never updated thereafter. Debug-mode deployments expose logs and emit zero'd attestation PCRs, so remote attestation cannot succeed. The app's quorum key is therefore considered permanently insecure once enabled — a new app with a fresh quorum key must be created to return to a secure posture. */
6553
7259
  enableDebugModeDeployments: boolean;
7260
+ /** @description region this TVC App is deployed in, e.g. us-east-1 or ap-southeast-1. Set at app creation. */
7261
+ region: string;
6554
7262
  };
6555
7263
  v1TvcContainerSpec: {
6556
7264
  /** @description The URL for this container image. */
@@ -6816,6 +7524,30 @@ export type definitions = {
6816
7524
  /** @description Unique identifier of the Fiat On-Ramp credential that was updated */
6817
7525
  fiatOnRampCredentialId: string;
6818
7526
  };
7527
+ v1UpdateFiatRampCredentialIntent: {
7528
+ /** @description The ID of the fiat ramp credential to update */
7529
+ credentialId: string;
7530
+ /** @description The fiat ramp provider */
7531
+ provider: definitions["v1FiatRampProvider"];
7532
+ /** @description Non-secret half of the provider credential. MoonPay: publishable key (pk_test_ or pk_live_). Coinbase: CDP API key ID */
7533
+ apiKey: string;
7534
+ /** @description Secret half of the provider credential, encrypted to our on-ramp encryption public key. MoonPay: secret key (sk_test_ or sk_live_). Coinbase: Ed25519 private key */
7535
+ encryptedSecret: string;
7536
+ };
7537
+ v1UpdateFiatRampCredentialRequest: {
7538
+ /** @enum {string} */
7539
+ type: "ACTIVITY_TYPE_UPDATE_FIAT_RAMP_CREDENTIAL";
7540
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
7541
+ timestampMs: string;
7542
+ /** @description Unique identifier for a given Organization. */
7543
+ organizationId: string;
7544
+ parameters: definitions["v1UpdateFiatRampCredentialIntent"];
7545
+ generateAppProofs?: boolean;
7546
+ };
7547
+ v1UpdateFiatRampCredentialResult: {
7548
+ /** @description Unique identifier of the fiat ramp credential that was updated */
7549
+ credentialId: string;
7550
+ };
6819
7551
  v1UpdateMfaPolicyIntent: {
6820
7552
  /** @description The ID of the User to update the MFA Policy for. */
6821
7553
  userId: string;
@@ -7190,6 +7922,7 @@ export type definitions = {
7190
7922
  gasUsageConfigId: string;
7191
7923
  };
7192
7924
  v1UpsertSwapConfigIntent: {
7925
+ /** @description Organization-owned wallet account that receives swap fees. Required when fee_bps is set. Omit together with fee_bps to clear swap fees. */
7193
7926
  feeReceiverWalletAddress?: string;
7194
7927
  /** @description Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
7195
7928
  feeBps?: string;
@@ -7211,211 +7944,287 @@ export type definitions = {
7211
7944
  feeBps?: string;
7212
7945
  stableFeeBps?: string;
7213
7946
  };
7214
- /** @enum {string} */
7215
- v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
7216
- v1User: {
7217
- /** @description Unique identifier for a given User. */
7218
- userId: string;
7219
- /** @description Human-readable name for a User. */
7220
- userName: string;
7221
- /** @description The user's email address. */
7222
- userEmail?: string;
7223
- /** @description The user's phone number in E.164 format e.g. +13214567890 */
7224
- userPhoneNumber?: string;
7225
- /** @description A list of Authenticator parameters. */
7226
- authenticators: definitions["v1Authenticator"][];
7227
- /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
7228
- apiKeys: definitions["v1ApiKey"][];
7229
- /** @description A list of User Tag IDs. */
7230
- userTags: string[];
7231
- /** @description A list of Oauth Providers. */
7232
- oauthProviders: definitions["v1OauthProvider"][];
7233
- createdAt: definitions["externaldatav1Timestamp"];
7234
- updatedAt: definitions["externaldatav1Timestamp"];
7235
- /** @description A list of MFA Policies that define multi-factor authentication requirements for this user. */
7236
- mfaPolicies: definitions["v1MfaPolicy"][];
7947
+ v1UpsertSwapFeeSponsorshipLimitConfigIntent: {
7948
+ /** @description Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
7949
+ orgWindowLimitUsd: string;
7950
+ /** @description Positive USD limit for each sub-organization, no greater than the parent limit. */
7951
+ subOrgWindowLimitUsd: string;
7952
+ /** @description Positive rolling window duration in minutes, at most 153722867. */
7953
+ windowDurationMinutes: string;
7954
+ /** @description Whether this spending window permits new swaps. True also grants the billing parent's signed permission for the feature. False turns the saved window off, keeps its limits, and removes the permission. Granting or removing the permission needs root quorum. */
7955
+ enabled: boolean;
7237
7956
  };
7238
- v1UserParams: {
7239
- /** @description Human-readable name for a User. */
7240
- userName: string;
7241
- /** @description The user's email address. */
7242
- userEmail?: string;
7243
- /** @description The User's permissible access method(s). */
7244
- accessType: definitions["v1AccessType"];
7245
- /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
7246
- apiKeys: definitions["apiApiKeyParams"][];
7247
- /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
7248
- authenticators: definitions["v1AuthenticatorParams"][];
7249
- /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
7250
- userTags: string[];
7251
- };
7252
- v1UserParamsV2: {
7253
- /** @description Human-readable name for a User. */
7254
- userName: string;
7255
- /** @description The user's email address. */
7256
- userEmail?: string;
7257
- /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
7258
- apiKeys: definitions["apiApiKeyParams"][];
7259
- /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
7260
- authenticators: definitions["v1AuthenticatorParamsV2"][];
7261
- /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
7262
- userTags: string[];
7957
+ v1UpsertSwapFeeSponsorshipLimitConfigRequest: {
7958
+ /** @enum {string} */
7959
+ type: "ACTIVITY_TYPE_UPSERT_SWAP_FEE_SPONSORSHIP_LIMIT_CONFIG";
7960
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
7961
+ timestampMs: string;
7962
+ /** @description Unique identifier for a given Organization. */
7963
+ organizationId: string;
7964
+ parameters: definitions["v1UpsertSwapFeeSponsorshipLimitConfigIntent"];
7263
7965
  };
7264
- v1UserParamsV3: {
7265
- /** @description Human-readable name for a User. */
7266
- userName: string;
7267
- /** @description The user's email address. */
7268
- userEmail?: string;
7269
- /** @description The user's phone number in E.164 format e.g. +13214567890 */
7270
- userPhoneNumber?: string;
7271
- /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
7272
- apiKeys: definitions["v1ApiKeyParamsV2"][];
7273
- /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
7274
- authenticators: definitions["v1AuthenticatorParamsV2"][];
7275
- /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
7276
- oauthProviders: definitions["v1OauthProviderParams"][];
7277
- /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
7278
- userTags: string[];
7966
+ v1UpsertSwapFeeSponsorshipLimitConfigResult: {
7967
+ /** @description Unique identifier of the organization the limit config was saved for. */
7968
+ organizationId: string;
7279
7969
  };
7280
- v1UserParamsV4: {
7281
- /** @description Human-readable name for a User. */
7282
- userName: string;
7283
- /** @description The user's email address. */
7284
- userEmail?: string;
7285
- /** @description The user's phone number in E.164 format e.g. +13214567890 */
7286
- userPhoneNumber?: string;
7287
- /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
7288
- apiKeys: definitions["v1ApiKeyParamsV2"][];
7289
- /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
7290
- authenticators: definitions["v1AuthenticatorParamsV2"][];
7291
- /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
7292
- oauthProviders: definitions["v1OauthProviderParamsV2"][];
7293
- /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
7294
- userTags: string[];
7970
+ v1UpsertSwapFixedRateLimitConfigIntent: {
7971
+ /** @description Positive USD limit shared by the billing parent and its sub-organizations. At most 18 integer and 12 fractional digits. */
7972
+ orgWindowLimitUsd: string;
7973
+ /** @description Positive USD limit for each sub-organization, no greater than the parent limit. */
7974
+ subOrgWindowLimitUsd: string;
7975
+ /** @description Positive rolling window duration in minutes, at most 153722867. */
7976
+ windowDurationMinutes: string;
7977
+ /** @description Whether this spending window permits new swaps. True also grants the billing parent's signed permission for the feature. False turns the saved window off, keeps its limits, and removes the permission. Granting or removing the permission needs root quorum. */
7978
+ enabled: boolean;
7295
7979
  };
7296
- v1ValidateTvcImageRequest: {
7980
+ v1UpsertSwapFixedRateLimitConfigRequest: {
7981
+ /** @enum {string} */
7982
+ type: "ACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG";
7983
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
7984
+ timestampMs: string;
7297
7985
  /** @description Unique identifier for a given Organization. */
7298
7986
  organizationId: string;
7299
- /** @description URL of the container image. */
7300
- pivotContainerImageUrl: string;
7301
- /** @description HPKE-encrypted pull secret for private images. */
7302
- pivotContainerEncryptedPullSecret?: string;
7987
+ parameters: definitions["v1UpsertSwapFixedRateLimitConfigIntent"];
7303
7988
  };
7304
- v1ValidateTvcImageResponse: {
7305
- resolvedImageDigest?: string;
7989
+ v1UpsertSwapFixedRateLimitConfigResult: {
7990
+ /** @description Unique identifier of the organization the limit config was saved for. */
7991
+ organizationId: string;
7306
7992
  };
7307
- v1VelocityControl: {
7308
- /** @description Unique identifier for the Velocity Control. */
7309
- velocityControlId: string;
7310
- /** @description Identifier of the Organization that owns the Velocity Control. */
7993
+ v1UsageControl: {
7994
+ /** @description Unique identifier for the Usage Control. */
7995
+ usageControlId: string;
7996
+ /** @description Identifier of the Organization that owns the Usage Control. */
7311
7997
  organizationId: string;
7312
- /** @description Human-readable name for the Velocity Control. */
7998
+ /** @description Human-readable name for the Usage Control. */
7313
7999
  name: string;
7314
- /** @description Data source for the Velocity Control. */
7315
- dataSource: definitions["v1VelocityControlDataSource"];
7316
- /** @description Aggregation expression that the Velocity Control evaluates. */
7317
- aggregation: definitions["v1VelocityControlAggregation"];
7318
- /** @description Time when the Velocity Control was created. */
8000
+ /** @description Data source for the Usage Control. */
8001
+ dataSource: definitions["v1UsageControlDataSource"];
8002
+ /** @description Aggregation expression that the Usage Control evaluates. */
8003
+ aggregation: definitions["v1UsageControlAggregation"];
8004
+ /** @description Scope of the usage control. Defines the boundaries within which the Usage Control operates. */
8005
+ appliesTo?: definitions["v1UsageControlScope"];
8006
+ /** @description Time when the Usage Control was created. */
7319
8007
  createdAt: definitions["externaldatav1Timestamp"];
7320
- /** @description Time when the Velocity Control was last updated. */
8008
+ /** @description Time when the Usage Control was last updated. */
7321
8009
  updatedAt: definitions["externaldatav1Timestamp"];
7322
- /** @description Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
8010
+ /** @description Identifier for the Usage Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
7323
8011
  identifier: string;
7324
8012
  };
7325
- v1VelocityControlAggregation: {
8013
+ v1UsageControlAggregation: {
7326
8014
  /** @description Method that aggregates matching data points. */
7327
- method: definitions["v1VelocityControlAggregationMethod"];
8015
+ method: definitions["v1UsageControlAggregationMethod"];
7328
8016
  /** @description Comparison between the aggregate and the threshold. */
7329
- operator: definitions["v1VelocityControlAggregationOperator"];
7330
- /** @description Non-negative base-10 decimal string with at most 38 total digits and 18 fractional digits. */
8017
+ operator: definitions["v1UsageControlAggregationOperator"];
8018
+ /** @description Non-negative base-10 decimal string with at most 46 integer digits and 32 fractional digits. */
7331
8019
  threshold: string;
7332
8020
  /** @description Time window for the aggregation. */
7333
- window: definitions["v1VelocityControlAggregationWindow"];
8021
+ window: definitions["v1UsageControlAggregationWindow"];
7334
8022
  /** @description Scope that partitions matching data before aggregation. */
7335
- groupBy: definitions["v1VelocityControlAggregationGroupBy"];
8023
+ groupBy: definitions["v1UsageControlAggregationGroupBy"];
7336
8024
  };
7337
- v1VelocityControlAggregationGroupBy: {
8025
+ v1UsageControlAggregationGroupBy: {
7338
8026
  /** @description Uses one shared bucket for the Organization. */
7339
- organization?: definitions["v1VelocityControlAggregationGroupByOrganization"];
8027
+ organization?: definitions["v1UsageControlAggregationGroupByOrganization"];
7340
8028
  /** @description Uses one bucket for each User. */
7341
- user?: definitions["v1VelocityControlAggregationGroupByUser"];
8029
+ user?: definitions["v1UsageControlAggregationGroupByUser"];
7342
8030
  /** @description Uses one bucket for each Wallet. */
7343
- wallet?: definitions["v1VelocityControlAggregationGroupByWallet"];
8031
+ wallet?: definitions["v1UsageControlAggregationGroupByWallet"];
7344
8032
  };
7345
- v1VelocityControlAggregationGroupByOrganization: {
8033
+ v1UsageControlAggregationGroupByOrganization: {
7346
8034
  [key: string]: unknown;
7347
8035
  };
7348
- v1VelocityControlAggregationGroupByUser: {
8036
+ v1UsageControlAggregationGroupByUser: {
7349
8037
  [key: string]: unknown;
7350
8038
  };
7351
- v1VelocityControlAggregationGroupByWallet: {
8039
+ v1UsageControlAggregationGroupByWallet: {
7352
8040
  [key: string]: unknown;
7353
8041
  };
7354
8042
  /** @enum {string} */
7355
- v1VelocityControlAggregationMethod: "VELOCITY_CONTROL_AGGREGATION_METHOD_SUM" | "VELOCITY_CONTROL_AGGREGATION_METHOD_COUNT";
8043
+ v1UsageControlAggregationMethod: "USAGE_CONTROL_AGGREGATION_METHOD_SUM" | "USAGE_CONTROL_AGGREGATION_METHOD_COUNT";
7356
8044
  /** @enum {string} */
7357
- v1VelocityControlAggregationOperator: "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN";
7358
- v1VelocityControlAggregationWindow: {
8045
+ v1UsageControlAggregationOperator: "USAGE_CONTROL_AGGREGATION_OPERATOR_LESS_THAN" | "USAGE_CONTROL_AGGREGATION_OPERATOR_LESS_THAN_OR_EQUAL" | "USAGE_CONTROL_AGGREGATION_OPERATOR_EQUAL" | "USAGE_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN_OR_EQUAL" | "USAGE_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN";
8046
+ v1UsageControlAggregationWindow: {
7359
8047
  /** @description Uses a rolling time window. */
7360
- rolling?: definitions["v1VelocityControlAggregationWindowRolling"];
8048
+ rolling?: definitions["v1UsageControlAggregationWindowRolling"];
7361
8049
  /** @description Uses all matching data without a time limit. */
7362
- infinite?: definitions["v1VelocityControlAggregationWindowInfinite"];
8050
+ infinite?: definitions["v1UsageControlAggregationWindowInfinite"];
7363
8051
  };
7364
- v1VelocityControlAggregationWindowInfinite: {
8052
+ v1UsageControlAggregationWindowInfinite: {
7365
8053
  [key: string]: unknown;
7366
8054
  };
7367
- v1VelocityControlAggregationWindowRolling: {
7368
- /** @description Duration of the rolling window, in seconds, as a base-10 integer string. */
7369
- duration: string;
8055
+ v1UsageControlAggregationWindowRolling: {
8056
+ /**
8057
+ * Format: int64
8058
+ * @description Duration of the rolling window, in seconds.
8059
+ */
8060
+ duration: number;
7370
8061
  };
7371
- v1VelocityControlDataSource: {
8062
+ v1UsageControlDataSource: {
7372
8063
  /** @description Uses transfers of the listed on-chain assets as input data. */
7373
- chainAssetTransfer?: definitions["v1VelocityControlDataSourceChainAssetTransfer"];
8064
+ chainAssetTransfer?: definitions["v1UsageControlDataSourceChainAssetTransfer"];
7374
8065
  /** @description Uses executed Turnkey activities as input data. */
7375
- activityExecution?: definitions["v1VelocityControlDataSourceActivityExecution"];
8066
+ activityExecution?: definitions["v1UsageControlDataSourceActivityExecution"];
7376
8067
  };
7377
- v1VelocityControlDataSourceActivityExecution: {
8068
+ v1UsageControlDataSourceActivityExecution: {
7378
8069
  /** @description Filters activity executions by type. */
7379
- filter?: definitions["v1VelocityControlDataSourceActivityExecutionFilter"];
8070
+ filter?: definitions["v1UsageControlDataSourceActivityExecutionFilter"];
7380
8071
  };
7381
- v1VelocityControlDataSourceActivityExecutionFilter: {
8072
+ v1UsageControlDataSourceActivityExecutionFilter: {
7382
8073
  /** @description Activity types whose executions are included. */
7383
- activity?: definitions["v1VelocityControlDataSourceFilterActivity"][];
8074
+ activity?: definitions["v1UsageControlDataSourceFilterActivity"][];
7384
8075
  };
7385
- v1VelocityControlDataSourceChainAssetTransfer: {
8076
+ v1UsageControlDataSourceChainAssetTransfer: {
7386
8077
  /** @description Assets whose transfers are included in the data source. */
7387
- definition: definitions["v1VelocityControlDataSourceChainAssetTransferDefinition"][];
8078
+ definition: definitions["v1UsageControlDataSourceChainAssetTransferDefinition"][];
7388
8079
  /** @description Filters asset transfers by activity type. */
7389
- filter?: definitions["v1VelocityControlDataSourceChainAssetTransferFilter"];
8080
+ filter?: definitions["v1UsageControlDataSourceChainAssetTransferFilter"];
7390
8081
  /** @description Selects when to measure an asset transfer. */
7391
- phase?: definitions["v1VelocityControlDataSourcePhase"];
8082
+ phase?: definitions["v1UsageControlDataSourcePhase"];
7392
8083
  };
7393
- v1VelocityControlDataSourceChainAssetTransferDefinition: {
8084
+ v1UsageControlDataSourceChainAssetTransferDefinition: {
7394
8085
  /** @description CAIP-19 identifier for the asset. */
7395
8086
  caip19: string;
7396
- /** @description Base-10 integer string from 0 through 255 that specifies the number of decimal places for the asset. */
7397
- decimals: string;
8087
+ /**
8088
+ * Format: int64
8089
+ * @description Integer between 0 and 32 (inclusive) that specifies the number of decimal places for the asset.
8090
+ */
8091
+ decimals: number;
7398
8092
  };
7399
- v1VelocityControlDataSourceChainAssetTransferFilter: {
8093
+ v1UsageControlDataSourceChainAssetTransferFilter: {
7400
8094
  /** @description Activity types whose asset transfers are included. */
7401
- activity?: definitions["v1VelocityControlDataSourceFilterActivity"][];
8095
+ activity?: definitions["v1UsageControlDataSourceFilterActivity"][];
7402
8096
  };
7403
- v1VelocityControlDataSourceFilterActivity: {
8097
+ v1UsageControlDataSourceFilterActivity: {
7404
8098
  /** @description Name of an activity type to include, such as `ACTIVITY_TYPE_SOL_SEND_TRANSACTION`. */
7405
8099
  activityType: string;
7406
8100
  };
7407
- v1VelocityControlDataSourcePhase: {
8101
+ v1UsageControlDataSourcePhase: {
7408
8102
  /** @description Measures the transfer when Turnkey signs the transaction and returns it to the user. */
7409
- signature?: definitions["v1VelocityControlDataSourcePhaseSignature"];
8103
+ signature?: definitions["v1UsageControlDataSourcePhaseSignature"];
7410
8104
  /** @description Reserved for future use. Measures the transfer after the transaction lands on chain. */
7411
- submission?: definitions["v1VelocityControlDataSourcePhaseSubmission"];
8105
+ submission?: definitions["v1UsageControlDataSourcePhaseSubmission"];
7412
8106
  };
7413
- v1VelocityControlDataSourcePhaseSignature: {
8107
+ v1UsageControlDataSourcePhaseSignature: {
7414
8108
  [key: string]: unknown;
7415
8109
  };
7416
- v1VelocityControlDataSourcePhaseSubmission: {
8110
+ v1UsageControlDataSourcePhaseSubmission: {
7417
8111
  [key: string]: unknown;
7418
8112
  };
8113
+ v1UsageControlScope: {
8114
+ /** @description Limits the scope of the usage control to particular Users. */
8115
+ user?: definitions["v1UsageControlScopeUser"];
8116
+ /** @description Limits the scope of the usage control to particular Wallets. */
8117
+ wallet?: definitions["v1UsageControlScopeWallet"];
8118
+ /** @description Limits the scope of the usage control to particular Wallet Accounts. */
8119
+ walletAccount?: definitions["v1UsageControlScopeWalletAccount"];
8120
+ };
8121
+ v1UsageControlScopeUser: {
8122
+ /** @description IDs of the users for which the usage control will capture the usage. */
8123
+ userIds: string[];
8124
+ };
8125
+ v1UsageControlScopeWallet: {
8126
+ /** @description IDs of the wallets for which the usage control will capture the usage. */
8127
+ walletIds: string[];
8128
+ };
8129
+ v1UsageControlScopeWalletAccount: {
8130
+ /** @description IDs of the wallet accounts for which the usage control will capture the usage. */
8131
+ walletAccountIds: string[];
8132
+ };
8133
+ /** @enum {string} */
8134
+ v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
8135
+ v1User: {
8136
+ /** @description Unique identifier for a given User. */
8137
+ userId: string;
8138
+ /** @description Human-readable name for a User. */
8139
+ userName: string;
8140
+ /** @description The user's email address. */
8141
+ userEmail?: string;
8142
+ /** @description The user's phone number in E.164 format e.g. +13214567890 */
8143
+ userPhoneNumber?: string;
8144
+ /** @description A list of Authenticator parameters. */
8145
+ authenticators: definitions["v1Authenticator"][];
8146
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
8147
+ apiKeys: definitions["v1ApiKey"][];
8148
+ /** @description A list of User Tag IDs. */
8149
+ userTags: string[];
8150
+ /** @description A list of Oauth Providers. */
8151
+ oauthProviders: definitions["v1OauthProvider"][];
8152
+ createdAt: definitions["externaldatav1Timestamp"];
8153
+ updatedAt: definitions["externaldatav1Timestamp"];
8154
+ /** @description A list of MFA Policies that define multi-factor authentication requirements for this user. */
8155
+ mfaPolicies: definitions["v1MfaPolicy"][];
8156
+ /** @description A list of wallet authenticators (externally-owned Ethereum or Solana accounts used to authenticate). If not needed, this should be an empty array. */
8157
+ walletAuthenticators: definitions["v1WalletAuthenticator"][];
8158
+ };
8159
+ v1UserParams: {
8160
+ /** @description Human-readable name for a User. */
8161
+ userName: string;
8162
+ /** @description The user's email address. */
8163
+ userEmail?: string;
8164
+ /** @description The User's permissible access method(s). */
8165
+ accessType: definitions["v1AccessType"];
8166
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
8167
+ apiKeys: definitions["apiApiKeyParams"][];
8168
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
8169
+ authenticators: definitions["v1AuthenticatorParams"][];
8170
+ /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
8171
+ userTags: string[];
8172
+ };
8173
+ v1UserParamsV2: {
8174
+ /** @description Human-readable name for a User. */
8175
+ userName: string;
8176
+ /** @description The user's email address. */
8177
+ userEmail?: string;
8178
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
8179
+ apiKeys: definitions["apiApiKeyParams"][];
8180
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
8181
+ authenticators: definitions["v1AuthenticatorParamsV2"][];
8182
+ /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
8183
+ userTags: string[];
8184
+ };
8185
+ v1UserParamsV3: {
8186
+ /** @description Human-readable name for a User. */
8187
+ userName: string;
8188
+ /** @description The user's email address. */
8189
+ userEmail?: string;
8190
+ /** @description The user's phone number in E.164 format e.g. +13214567890 */
8191
+ userPhoneNumber?: string;
8192
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
8193
+ apiKeys: definitions["v1ApiKeyParamsV2"][];
8194
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
8195
+ authenticators: definitions["v1AuthenticatorParamsV2"][];
8196
+ /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
8197
+ oauthProviders: definitions["v1OauthProviderParams"][];
8198
+ /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
8199
+ userTags: string[];
8200
+ };
8201
+ v1UserParamsV4: {
8202
+ /** @description Human-readable name for a User. */
8203
+ userName: string;
8204
+ /** @description The user's email address. */
8205
+ userEmail?: string;
8206
+ /** @description The user's phone number in E.164 format e.g. +13214567890 */
8207
+ userPhoneNumber?: string;
8208
+ /** @description A list of API Key parameters. This field, if not needed, should be an empty array in your request body. */
8209
+ apiKeys: definitions["v1ApiKeyParamsV2"][];
8210
+ /** @description A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body. */
8211
+ authenticators: definitions["v1AuthenticatorParamsV2"][];
8212
+ /** @description A list of Oauth providers. This field, if not needed, should be an empty array in your request body. */
8213
+ oauthProviders: definitions["v1OauthProviderParamsV2"][];
8214
+ /** @description A list of User Tag IDs. This field, if not needed, should be an empty array in your request body. */
8215
+ userTags: string[];
8216
+ };
8217
+ v1ValidateTvcImageRequest: {
8218
+ /** @description Unique identifier for a given Organization. */
8219
+ organizationId: string;
8220
+ /** @description URL of the container image. */
8221
+ pivotContainerImageUrl: string;
8222
+ /** @description HPKE-encrypted pull secret for private images. */
8223
+ pivotContainerEncryptedPullSecret?: string;
8224
+ };
8225
+ v1ValidateTvcImageResponse: {
8226
+ resolvedImageDigest?: string;
8227
+ };
7419
8228
  v1VerifyOtpIntent: {
7420
8229
  /** @description ID representing the result of an init OTP activity. */
7421
8230
  otpId: string;
@@ -7448,6 +8257,28 @@ export type definitions = {
7448
8257
  /** @description Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests) */
7449
8258
  verificationToken: string;
7450
8259
  };
8260
+ v1VerifyWalletAuthenticatorIntent: {
8261
+ /** @description SIWE or SIWS message. Ump accepts only the Turnkey supported login template. */
8262
+ message: string;
8263
+ /** @description Wallet signature over the message. Ethereum: 65-byte hex personal_sign (r || s || v). Solana: 64-byte hex ed25519 signature. */
8264
+ signature: string;
8265
+ /** @description Wallet public key that signed the message. Ethereum: sec1 secp256k1 hex, compressed or uncompressed. Solana: 32-byte ed25519 hex. */
8266
+ publicKey: string;
8267
+ };
8268
+ v1VerifyWalletAuthenticatorRequest: {
8269
+ /** @enum {string} */
8270
+ type: "ACTIVITY_TYPE_VERIFY_WALLET_AUTHENTICATOR";
8271
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
8272
+ timestampMs: string;
8273
+ /** @description Unique identifier for a given Organization. */
8274
+ organizationId: string;
8275
+ parameters: definitions["v1VerifyWalletAuthenticatorIntent"];
8276
+ generateAppProofs?: boolean;
8277
+ };
8278
+ v1VerifyWalletAuthenticatorResult: {
8279
+ /** @description Enclave-signed JWT binding the wallet, the wallet public key, and the ephemeral P-256 session key. */
8280
+ verificationToken: string;
8281
+ };
7451
8282
  v1Vote: {
7452
8283
  /** @description Unique identifier for a given Vote object. */
7453
8284
  id: string;
@@ -7521,6 +8352,30 @@ export type definitions = {
7521
8352
  /** @description Optional human-readable name for the account. */
7522
8353
  name?: string;
7523
8354
  };
8355
+ v1WalletAuthenticator: {
8356
+ /** @description Unique identifier for a wallet authenticator. */
8357
+ walletAuthenticatorId: string;
8358
+ /** @description Network this authenticator belongs to. */
8359
+ type: definitions["v1WalletAuthenticatorType"];
8360
+ /** @description Normalized account address. */
8361
+ address: string;
8362
+ /** @description SIWE/SIWS domain this authenticator is bound to. */
8363
+ domain: string;
8364
+ createdAt: definitions["externaldatav1Timestamp"];
8365
+ updatedAt: definitions["externaldatav1Timestamp"];
8366
+ };
8367
+ v1WalletAuthenticatorParams: {
8368
+ /** @description Network this authenticator belongs to. */
8369
+ type: definitions["v1WalletAuthenticatorType"];
8370
+ /** @description Account address. Ethereum addresses are stored lowercase with a 0x prefix. Solana addresses are canonical base58. */
8371
+ address: string;
8372
+ /** @description SIWE/SIWS domain this authenticator is bound to. Host only, lowercased. */
8373
+ domain: string;
8374
+ /** @description Wallet verification JWT for this claim. Omit to attach the authenticator unverified. */
8375
+ verificationToken?: string;
8376
+ };
8377
+ /** @enum {string} */
8378
+ v1WalletAuthenticatorType: "WALLET_AUTHENTICATOR_TYPE_ETHEREUM" | "WALLET_AUTHENTICATOR_TYPE_SOLANA";
7524
8379
  v1WalletKitSettingsParams: {
7525
8380
  /**
7526
8381
  * Enabled Social Providers
@@ -7662,7 +8517,7 @@ export type operations = {
7662
8517
  };
7663
8518
  };
7664
8519
  };
7665
- /** Get live runtime status for a TVC App from the cluster. */
8520
+ /** Get live runtime status for a TVC app from the cluster. */
7666
8521
  PublicApiService_GetAppStatus: {
7667
8522
  parameters: {
7668
8523
  body: {
@@ -7716,7 +8571,7 @@ export type operations = {
7716
8571
  };
7717
8572
  };
7718
8573
  };
7719
- /** Get the boot proof for a given ephemeral key. */
8574
+ /** Get the Boot Proof for a given ephemeral key. */
7720
8575
  PublicApiService_GetBootProof: {
7721
8576
  parameters: {
7722
8577
  body: {
@@ -7842,6 +8697,24 @@ export type operations = {
7842
8697
  };
7843
8698
  };
7844
8699
  };
8700
+ /** Preview the provider's current price for a swap without creating an activity. The quote is not binding and has no quote ID: a market swap executed later fetches its own quote, so its price can differ. */
8701
+ PublicApiService_GetIndicativeSwapQuote: {
8702
+ parameters: {
8703
+ body: {
8704
+ body: definitions["v1GetIndicativeSwapQuoteRequest"];
8705
+ };
8706
+ };
8707
+ responses: {
8708
+ /** A successful response. */
8709
+ 200: {
8710
+ schema: definitions["v1GetIndicativeSwapQuoteResponse"];
8711
+ };
8712
+ /** An unexpected error response. */
8713
+ default: {
8714
+ schema: definitions["rpcStatus"];
8715
+ };
8716
+ };
8717
+ };
7845
8718
  /** Get IP allowlist and rules for an organization. */
7846
8719
  PublicApiService_GetIpAllowlist: {
7847
8720
  parameters: {
@@ -7860,7 +8733,7 @@ export type operations = {
7860
8733
  };
7861
8734
  };
7862
8735
  };
7863
- /** Get the latest boot proof for a given enclave app name. */
8736
+ /** Get the latest Boot Proof for a given enclave app name. */
7864
8737
  PublicApiService_GetLatestBootProof: {
7865
8738
  parameters: {
7866
8739
  body: {
@@ -8166,6 +9039,24 @@ export type operations = {
8166
9039
  };
8167
9040
  };
8168
9041
  };
9042
+ /** 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. */
9043
+ PublicApiService_GetSwapSponsorshipUsage: {
9044
+ parameters: {
9045
+ body: {
9046
+ body: definitions["v1GetSwapSponsorshipUsageRequest"];
9047
+ };
9048
+ };
9049
+ responses: {
9050
+ /** A successful response. */
9051
+ 200: {
9052
+ schema: definitions["v1GetSwapSponsorshipUsageResponse"];
9053
+ };
9054
+ /** An unexpected error response. */
9055
+ default: {
9056
+ schema: definitions["rpcStatus"];
9057
+ };
9058
+ };
9059
+ };
8169
9060
  /** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
8170
9061
  PublicApiService_GetSwapStatus: {
8171
9062
  parameters: {
@@ -8184,7 +9075,7 @@ export type operations = {
8184
9075
  };
8185
9076
  };
8186
9077
  };
8187
- /** Get details about a single TVC App */
9078
+ /** Get details about a single TVC app. */
8188
9079
  PublicApiService_GetTvcApp: {
8189
9080
  parameters: {
8190
9081
  body: {
@@ -8202,7 +9093,7 @@ export type operations = {
8202
9093
  };
8203
9094
  };
8204
9095
  };
8205
- /** Get details about a single TVC Deployment */
9096
+ /** Get details about a single TVC deployment. */
8206
9097
  PublicApiService_GetTvcDeployment: {
8207
9098
  parameters: {
8208
9099
  body: {
@@ -8238,7 +9129,7 @@ export type operations = {
8238
9129
  };
8239
9130
  };
8240
9131
  };
8241
- /** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment */
9132
+ /** Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment. */
8242
9133
  PublicApiService_GetTvcDeploymentProvisioningDetails: {
8243
9134
  parameters: {
8244
9135
  body: {
@@ -8256,6 +9147,24 @@ export type operations = {
8256
9147
  };
8257
9148
  };
8258
9149
  };
9150
+ /** Get default values for creating a QOS manifest. Relevant for client manifest generation. */
9151
+ PublicApiService_GetTvcManifestGenerationInfo: {
9152
+ parameters: {
9153
+ body: {
9154
+ body: definitions["v1GetTvcManifestGenerationInfoRequest"];
9155
+ };
9156
+ };
9157
+ responses: {
9158
+ /** A successful response. */
9159
+ 200: {
9160
+ schema: definitions["v1GetTvcManifestGenerationInfoResponse"];
9161
+ };
9162
+ /** An unexpected error response. */
9163
+ default: {
9164
+ schema: definitions["rpcStatus"];
9165
+ };
9166
+ };
9167
+ };
8259
9168
  /** List QOS versions supported for new TVC deployments and the latest recommended QOS version. */
8260
9169
  PublicApiService_GetTvcQosVersions: {
8261
9170
  parameters: {
@@ -8274,17 +9183,17 @@ export type operations = {
8274
9183
  };
8275
9184
  };
8276
9185
  };
8277
- /** Get details about a user. */
8278
- PublicApiService_GetUser: {
9186
+ /** Get details about a usage control. */
9187
+ PublicApiService_GetUsageControl: {
8279
9188
  parameters: {
8280
9189
  body: {
8281
- body: definitions["v1GetUserRequest"];
9190
+ body: definitions["v1GetUsageControlRequest"];
8282
9191
  };
8283
9192
  };
8284
9193
  responses: {
8285
9194
  /** A successful response. */
8286
9195
  200: {
8287
- schema: definitions["v1GetUserResponse"];
9196
+ schema: definitions["v1GetUsageControlResponse"];
8288
9197
  };
8289
9198
  /** An unexpected error response. */
8290
9199
  default: {
@@ -8292,17 +9201,17 @@ export type operations = {
8292
9201
  };
8293
9202
  };
8294
9203
  };
8295
- /** Get details about a velocity control. */
8296
- PublicApiService_GetVelocityControl: {
9204
+ /** Get details about a user. */
9205
+ PublicApiService_GetUser: {
8297
9206
  parameters: {
8298
9207
  body: {
8299
- body: definitions["v1GetVelocityControlRequest"];
9208
+ body: definitions["v1GetUserRequest"];
8300
9209
  };
8301
9210
  };
8302
9211
  responses: {
8303
9212
  /** A successful response. */
8304
9213
  200: {
8305
- schema: definitions["v1GetVelocityControlResponse"];
9214
+ schema: definitions["v1GetUserResponse"];
8306
9215
  };
8307
9216
  /** An unexpected error response. */
8308
9217
  default: {
@@ -8364,6 +9273,24 @@ export type operations = {
8364
9273
  };
8365
9274
  };
8366
9275
  };
9276
+ /** Get wallet authenticators for a user. */
9277
+ PublicApiService_GetWalletAuthenticators: {
9278
+ parameters: {
9279
+ body: {
9280
+ body: definitions["v1GetWalletAuthenticatorsRequest"];
9281
+ };
9282
+ };
9283
+ responses: {
9284
+ /** A successful response. */
9285
+ 200: {
9286
+ schema: definitions["v1GetWalletAuthenticatorsResponse"];
9287
+ };
9288
+ /** An unexpected error response. */
9289
+ default: {
9290
+ schema: definitions["rpcStatus"];
9291
+ };
9292
+ };
9293
+ };
8367
9294
  /** List all activities within an organization. */
8368
9295
  PublicApiService_GetActivities: {
8369
9296
  parameters: {
@@ -8508,6 +9435,24 @@ export type operations = {
8508
9435
  };
8509
9436
  };
8510
9437
  };
9438
+ /** Quote enabled fiat off-ramp providers for a sell. Returns one quote per payment method the provider can offer for this route. Providers and methods that cannot serve the route are omitted. */
9439
+ PublicApiService_GetFiatOffRampQuotes: {
9440
+ parameters: {
9441
+ body: {
9442
+ body: definitions["v1GetFiatOffRampQuotesRequest"];
9443
+ };
9444
+ };
9445
+ responses: {
9446
+ /** A successful response. */
9447
+ 200: {
9448
+ schema: definitions["v1GetFiatOffRampQuotesResponse"];
9449
+ };
9450
+ /** An unexpected error response. */
9451
+ default: {
9452
+ schema: definitions["rpcStatus"];
9453
+ };
9454
+ };
9455
+ };
8511
9456
  /** List all fiat on ramp provider credentials within an organization. */
8512
9457
  PublicApiService_ListFiatOnRampCredentials: {
8513
9458
  parameters: {
@@ -8526,6 +9471,24 @@ export type operations = {
8526
9471
  };
8527
9472
  };
8528
9473
  };
9474
+ /** 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. */
9475
+ PublicApiService_GetFiatOnRampQuotes: {
9476
+ parameters: {
9477
+ body: {
9478
+ body: definitions["v1GetFiatOnRampQuotesRequest"];
9479
+ };
9480
+ };
9481
+ responses: {
9482
+ /** A successful response. */
9483
+ 200: {
9484
+ schema: definitions["v1GetFiatOnRampQuotesResponse"];
9485
+ };
9486
+ /** An unexpected error response. */
9487
+ default: {
9488
+ schema: definitions["rpcStatus"];
9489
+ };
9490
+ };
9491
+ };
8529
9492
  /** List all OAuth 2.0 credentials within an organization. */
8530
9493
  PublicApiService_ListOauth2Credentials: {
8531
9494
  parameters: {
@@ -8652,7 +9615,7 @@ export type operations = {
8652
9615
  };
8653
9616
  };
8654
9617
  };
8655
- /** Get all suborg IDs associated given a parent org ID and an optional filter. */
9618
+ /** Get all suborg IDs (verified and unverified) associated with a given parent organization ID and an optional filter. */
8656
9619
  PublicApiService_GetSubOrgIds: {
8657
9620
  parameters: {
8658
9621
  body: {
@@ -8688,7 +9651,7 @@ export type operations = {
8688
9651
  };
8689
9652
  };
8690
9653
  };
8691
- /** List all deployments for a given TVC App */
9654
+ /** List all deployments for a given TVC app. */
8692
9655
  PublicApiService_GetTvcAppDeployments: {
8693
9656
  parameters: {
8694
9657
  body: {
@@ -8706,7 +9669,7 @@ export type operations = {
8706
9669
  };
8707
9670
  };
8708
9671
  };
8709
- /** List all TVC Apps within an organization. */
9672
+ /** List all TVC apps within an organization. */
8710
9673
  PublicApiService_GetTvcApps: {
8711
9674
  parameters: {
8712
9675
  body: {
@@ -8742,7 +9705,7 @@ export type operations = {
8742
9705
  };
8743
9706
  };
8744
9707
  };
8745
- /** List all hosted TVC quorum keys within an organization, newest first. */
9708
+ /** List all hosted TVC Quorum Keys within an organization, newest first. */
8746
9709
  PublicApiService_GetTvcQuorumKeys: {
8747
9710
  parameters: {
8748
9711
  body: {
@@ -8760,17 +9723,17 @@ export type operations = {
8760
9723
  };
8761
9724
  };
8762
9725
  };
8763
- /** List all user tags within an organization. */
8764
- PublicApiService_ListUserTags: {
9726
+ /** List all usage controls within an organization. */
9727
+ PublicApiService_ListUsageControls: {
8765
9728
  parameters: {
8766
9729
  body: {
8767
- body: definitions["v1ListUserTagsRequest"];
9730
+ body: definitions["v1ListUsageControlsRequest"];
8768
9731
  };
8769
9732
  };
8770
9733
  responses: {
8771
9734
  /** A successful response. */
8772
9735
  200: {
8773
- schema: definitions["v1ListUserTagsResponse"];
9736
+ schema: definitions["v1ListUsageControlsResponse"];
8774
9737
  };
8775
9738
  /** An unexpected error response. */
8776
9739
  default: {
@@ -8778,17 +9741,17 @@ export type operations = {
8778
9741
  };
8779
9742
  };
8780
9743
  };
8781
- /** List all users within an organization. */
8782
- PublicApiService_GetUsers: {
9744
+ /** List all user tags within an organization. */
9745
+ PublicApiService_ListUserTags: {
8783
9746
  parameters: {
8784
9747
  body: {
8785
- body: definitions["v1GetUsersRequest"];
9748
+ body: definitions["v1ListUserTagsRequest"];
8786
9749
  };
8787
9750
  };
8788
9751
  responses: {
8789
9752
  /** A successful response. */
8790
9753
  200: {
8791
- schema: definitions["v1GetUsersResponse"];
9754
+ schema: definitions["v1ListUserTagsResponse"];
8792
9755
  };
8793
9756
  /** An unexpected error response. */
8794
9757
  default: {
@@ -8796,17 +9759,17 @@ export type operations = {
8796
9759
  };
8797
9760
  };
8798
9761
  };
8799
- /** List all velocity controls within an organization. */
8800
- PublicApiService_ListVelocityControls: {
9762
+ /** List all users within an organization. */
9763
+ PublicApiService_GetUsers: {
8801
9764
  parameters: {
8802
9765
  body: {
8803
- body: definitions["v1ListVelocityControlsRequest"];
9766
+ body: definitions["v1GetUsersRequest"];
8804
9767
  };
8805
9768
  };
8806
9769
  responses: {
8807
9770
  /** A successful response. */
8808
9771
  200: {
8809
- schema: definitions["v1ListVelocityControlsResponse"];
9772
+ schema: definitions["v1GetUsersResponse"];
8810
9773
  };
8811
9774
  /** An unexpected error response. */
8812
9775
  default: {
@@ -8814,7 +9777,7 @@ export type operations = {
8814
9777
  };
8815
9778
  };
8816
9779
  };
8817
- /** Get all email or phone verified suborg IDs associated given a parent org ID. */
9780
+ /** Get all verified suborg IDs associated with a given parent organization ID and an optional filter. */
8818
9781
  PublicApiService_GetVerifiedSubOrgIds: {
8819
9782
  parameters: {
8820
9783
  body: {
@@ -8886,7 +9849,7 @@ export type operations = {
8886
9849
  };
8887
9850
  };
8888
9851
  };
8889
- /** Validate a container image URL and pull secret for TVC deployment */
9852
+ /** Validate a container image URL and pull secret for TVC deployment. */
8890
9853
  PublicApiService_ValidateTvcImage: {
8891
9854
  parameters: {
8892
9855
  body: {
@@ -8904,7 +9867,7 @@ export type operations = {
8904
9867
  };
8905
9868
  };
8906
9869
  };
8907
- /** Get basic information about your current API or WebAuthN user and their organization. Affords sub-organization look ups via parent organization for WebAuthN or API key users. */
9870
+ /** 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. */
8908
9871
  PublicApiService_GetWhoami: {
8909
9872
  parameters: {
8910
9873
  body: {
@@ -9030,7 +9993,43 @@ export type operations = {
9030
9993
  };
9031
9994
  };
9032
9995
  };
9033
- /** Create a fiat on ramp provider credential */
9996
+ /** Register an external signer with the organization. */
9997
+ PublicApiService_CreateExternalSigner: {
9998
+ parameters: {
9999
+ body: {
10000
+ body: definitions["v1CreateExternalSignerRequest"];
10001
+ };
10002
+ };
10003
+ responses: {
10004
+ /** A successful response. */
10005
+ 200: {
10006
+ schema: definitions["v1ActivityResponse"];
10007
+ };
10008
+ /** An unexpected error response. */
10009
+ default: {
10010
+ schema: definitions["rpcStatus"];
10011
+ };
10012
+ };
10013
+ };
10014
+ /** Open a fiat off-ramp session for a saved quote. */
10015
+ PublicApiService_CreateFiatOffRampSession: {
10016
+ parameters: {
10017
+ body: {
10018
+ body: definitions["v1CreateFiatOffRampSessionRequest"];
10019
+ };
10020
+ };
10021
+ responses: {
10022
+ /** A successful response. */
10023
+ 200: {
10024
+ schema: definitions["v1ActivityResponse"];
10025
+ };
10026
+ /** An unexpected error response. */
10027
+ default: {
10028
+ schema: definitions["rpcStatus"];
10029
+ };
10030
+ };
10031
+ };
10032
+ /** Deprecated: use CreateFiatRampCredential. */
9034
10033
  PublicApiService_CreateFiatOnRampCredential: {
9035
10034
  parameters: {
9036
10035
  body: {
@@ -9048,6 +10047,42 @@ export type operations = {
9048
10047
  };
9049
10048
  };
9050
10049
  };
10050
+ /** Open a fiat on-ramp session for a saved quote. */
10051
+ PublicApiService_CreateFiatOnRampSession: {
10052
+ parameters: {
10053
+ body: {
10054
+ body: definitions["v1CreateFiatOnRampSessionRequest"];
10055
+ };
10056
+ };
10057
+ responses: {
10058
+ /** A successful response. */
10059
+ 200: {
10060
+ schema: definitions["v1ActivityResponse"];
10061
+ };
10062
+ /** An unexpected error response. */
10063
+ default: {
10064
+ schema: definitions["rpcStatus"];
10065
+ };
10066
+ };
10067
+ };
10068
+ /** Create a fiat ramp provider credential. */
10069
+ PublicApiService_CreateFiatRampCredential: {
10070
+ parameters: {
10071
+ body: {
10072
+ body: definitions["v1CreateFiatRampCredentialRequest"];
10073
+ };
10074
+ };
10075
+ responses: {
10076
+ /** A successful response. */
10077
+ 200: {
10078
+ schema: definitions["v1ActivityResponse"];
10079
+ };
10080
+ /** An unexpected error response. */
10081
+ default: {
10082
+ schema: definitions["rpcStatus"];
10083
+ };
10084
+ };
10085
+ };
9051
10086
  /** Create invitations to join an existing organization. */
9052
10087
  PublicApiService_CreateInvitations: {
9053
10088
  parameters: {
@@ -9084,7 +10119,7 @@ export type operations = {
9084
10119
  };
9085
10120
  };
9086
10121
  };
9087
- /** Enable authentication for end users with an OAuth 2.0 provider */
10122
+ /** Enable authentication for end users with an OAuth 2.0 provider. */
9088
10123
  PublicApiService_CreateOauth2Credential: {
9089
10124
  parameters: {
9090
10125
  body: {
@@ -9264,7 +10299,7 @@ export type operations = {
9264
10299
  };
9265
10300
  };
9266
10301
  };
9267
- /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
10302
+ /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, a wallet authenticator, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
9268
10303
  PublicApiService_CreateSubOrganization: {
9269
10304
  parameters: {
9270
10305
  body: {
@@ -9282,7 +10317,7 @@ export type operations = {
9282
10317
  };
9283
10318
  };
9284
10319
  };
9285
- /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
10320
+ /** 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, which returns its quotes in createSwapQuoteResultV2. */
9286
10321
  PublicApiService_CreateSwapQuote: {
9287
10322
  parameters: {
9288
10323
  body: {
@@ -9300,7 +10335,7 @@ export type operations = {
9300
10335
  };
9301
10336
  };
9302
10337
  };
9303
- /** Create a new TVC application */
10338
+ /** Create a new TVC application. */
9304
10339
  PublicApiService_CreateTvcApp: {
9305
10340
  parameters: {
9306
10341
  body: {
@@ -9318,7 +10353,7 @@ export type operations = {
9318
10353
  };
9319
10354
  };
9320
10355
  };
9321
- /** Create a new TVC Deployment */
10356
+ /** Create a new TVC deployment. */
9322
10357
  PublicApiService_CreateTvcDeployment: {
9323
10358
  parameters: {
9324
10359
  body: {
@@ -9336,7 +10371,7 @@ export type operations = {
9336
10371
  };
9337
10372
  };
9338
10373
  };
9339
- /** Post one or more manifest approvals for a TVC Manifest */
10374
+ /** Post one or more manifest approvals for a TVC manifest. */
9340
10375
  PublicApiService_CreateTvcManifestApprovals: {
9341
10376
  parameters: {
9342
10377
  body: {
@@ -9354,7 +10389,7 @@ export type operations = {
9354
10389
  };
9355
10390
  };
9356
10391
  };
9357
- /** Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts */
10392
+ /** Create a TVC operator backed by uncompressed P-256 Turnkey wallet accounts. */
9358
10393
  PublicApiService_CreateTvcOperator: {
9359
10394
  parameters: {
9360
10395
  body: {
@@ -9372,7 +10407,7 @@ export type operations = {
9372
10407
  };
9373
10408
  };
9374
10409
  };
9375
- /** Create a hosted TVC quorum key and encrypted shares. */
10410
+ /** Create a hosted TVC Quorum Key and encrypted shares. */
9376
10411
  PublicApiService_CreateTvcQuorumKey: {
9377
10412
  parameters: {
9378
10413
  body: {
@@ -9390,11 +10425,11 @@ export type operations = {
9390
10425
  };
9391
10426
  };
9392
10427
  };
9393
- /** Create a user tag and add it to users. */
9394
- PublicApiService_CreateUserTag: {
10428
+ /** Create a new usage control. */
10429
+ PublicApiService_CreateUsageControl: {
9395
10430
  parameters: {
9396
10431
  body: {
9397
- body: definitions["v1CreateUserTagRequest"];
10432
+ body: definitions["v1CreateUsageControlRequest"];
9398
10433
  };
9399
10434
  };
9400
10435
  responses: {
@@ -9408,11 +10443,11 @@ export type operations = {
9408
10443
  };
9409
10444
  };
9410
10445
  };
9411
- /** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
9412
- PublicApiService_CreateUsers: {
10446
+ /** Create a user tag and add it to users. */
10447
+ PublicApiService_CreateUserTag: {
9413
10448
  parameters: {
9414
10449
  body: {
9415
- body: definitions["v1CreateUsersRequest"];
10450
+ body: definitions["v1CreateUserTagRequest"];
9416
10451
  };
9417
10452
  };
9418
10453
  responses: {
@@ -9426,11 +10461,11 @@ export type operations = {
9426
10461
  };
9427
10462
  };
9428
10463
  };
9429
- /** Create a new velocity control. */
9430
- PublicApiService_CreateVelocityControl: {
10464
+ /** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
10465
+ PublicApiService_CreateUsers: {
9431
10466
  parameters: {
9432
10467
  body: {
9433
- body: definitions["v1CreateVelocityControlRequest"];
10468
+ body: definitions["v1CreateUsersRequest"];
9434
10469
  };
9435
10470
  };
9436
10471
  responses: {
@@ -9480,6 +10515,24 @@ export type operations = {
9480
10515
  };
9481
10516
  };
9482
10517
  };
10518
+ /** Add wallet authenticators to an existing user. Omit verification_token to attach unverified. */
10519
+ PublicApiService_CreateWalletAuthenticators: {
10520
+ parameters: {
10521
+ body: {
10522
+ body: definitions["v1CreateWalletAuthenticatorsRequest"];
10523
+ };
10524
+ };
10525
+ responses: {
10526
+ /** A successful response. */
10527
+ 200: {
10528
+ schema: definitions["v1ActivityResponse"];
10529
+ };
10530
+ /** An unexpected error response. */
10531
+ default: {
10532
+ schema: definitions["rpcStatus"];
10533
+ };
10534
+ };
10535
+ };
9483
10536
  /** Create a webhook endpoint for an organization. */
9484
10537
  PublicApiService_CreateWebhookEndpoint: {
9485
10538
  parameters: {
@@ -9498,7 +10551,7 @@ export type operations = {
9498
10551
  };
9499
10552
  };
9500
10553
  };
9501
- /** Remove api keys from a user. */
10554
+ /** Remove API keys from a user. */
9502
10555
  PublicApiService_DeleteApiKeys: {
9503
10556
  parameters: {
9504
10557
  body: {
@@ -9534,7 +10587,25 @@ export type operations = {
9534
10587
  };
9535
10588
  };
9536
10589
  };
9537
- /** Delete a fiat on ramp provider credential */
10590
+ /** Remove an external signer from the organization by its public key. */
10591
+ PublicApiService_DeleteExternalSigner: {
10592
+ parameters: {
10593
+ body: {
10594
+ body: definitions["v1DeleteExternalSignerRequest"];
10595
+ };
10596
+ };
10597
+ responses: {
10598
+ /** A successful response. */
10599
+ 200: {
10600
+ schema: definitions["v1ActivityResponse"];
10601
+ };
10602
+ /** An unexpected error response. */
10603
+ default: {
10604
+ schema: definitions["rpcStatus"];
10605
+ };
10606
+ };
10607
+ };
10608
+ /** Delete a fiat on ramp provider credential. */
9538
10609
  PublicApiService_DeleteFiatOnRampCredential: {
9539
10610
  parameters: {
9540
10611
  body: {
@@ -9588,7 +10659,7 @@ export type operations = {
9588
10659
  };
9589
10660
  };
9590
10661
  };
9591
- /** Disable authentication for end users with an OAuth 2.0 provider */
10662
+ /** Disable authentication for end users with an OAuth 2.0 provider. */
9592
10663
  PublicApiService_DeleteOauth2Credential: {
9593
10664
  parameters: {
9594
10665
  body: {
@@ -9750,7 +10821,7 @@ export type operations = {
9750
10821
  };
9751
10822
  };
9752
10823
  };
9753
- /** Delete a TVC App and all of its deployments */
10824
+ /** Delete a TVC app and all of its deployments. */
9754
10825
  PublicApiService_DeleteTvcAppAndDeployments: {
9755
10826
  parameters: {
9756
10827
  body: {
@@ -9768,7 +10839,7 @@ export type operations = {
9768
10839
  };
9769
10840
  };
9770
10841
  };
9771
- /** Delete a TVC Deployment */
10842
+ /** Delete a TVC deployment. */
9772
10843
  PublicApiService_DeleteTvcDeployment: {
9773
10844
  parameters: {
9774
10845
  body: {
@@ -9786,6 +10857,24 @@ export type operations = {
9786
10857
  };
9787
10858
  };
9788
10859
  };
10860
+ /** Delete existing usage controls. */
10861
+ PublicApiService_DeleteUsageControls: {
10862
+ parameters: {
10863
+ body: {
10864
+ body: definitions["v1DeleteUsageControlsRequest"];
10865
+ };
10866
+ };
10867
+ responses: {
10868
+ /** A successful response. */
10869
+ 200: {
10870
+ schema: definitions["v1ActivityResponse"];
10871
+ };
10872
+ /** An unexpected error response. */
10873
+ default: {
10874
+ schema: definitions["rpcStatus"];
10875
+ };
10876
+ };
10877
+ };
9789
10878
  /** Delete user tags within an organization. */
9790
10879
  PublicApiService_DeleteUserTags: {
9791
10880
  parameters: {
@@ -9822,11 +10911,11 @@ export type operations = {
9822
10911
  };
9823
10912
  };
9824
10913
  };
9825
- /** Delete an existing velocity control. */
9826
- PublicApiService_DeleteVelocityControl: {
10914
+ /** Delete wallet accounts for an organization. */
10915
+ PublicApiService_DeleteWalletAccounts: {
9827
10916
  parameters: {
9828
10917
  body: {
9829
- body: definitions["v1DeleteVelocityControlRequest"];
10918
+ body: definitions["v1DeleteWalletAccountsRequest"];
9830
10919
  };
9831
10920
  };
9832
10921
  responses: {
@@ -9840,11 +10929,11 @@ export type operations = {
9840
10929
  };
9841
10930
  };
9842
10931
  };
9843
- /** Delete wallet accounts for an organization. */
9844
- PublicApiService_DeleteWalletAccounts: {
10932
+ /** Remove wallet authenticators from a user. */
10933
+ PublicApiService_DeleteWalletAuthenticators: {
9845
10934
  parameters: {
9846
10935
  body: {
9847
- body: definitions["v1DeleteWalletAccountsRequest"];
10936
+ body: definitions["v1DeleteWalletAuthenticatorsRequest"];
9848
10937
  };
9849
10938
  };
9850
10939
  responses: {
@@ -10056,7 +11145,7 @@ export type operations = {
10056
11145
  };
10057
11146
  };
10058
11147
  };
10059
- /** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V2. */
11148
+ /** Execute a swap through the activity pipeline and Turnkey broadcasting. With bound_quote, execution is bound to the quote create_swap_quote returned. With market, the swap executes at the provider's price when the activity is approved, within slippage_bps and min_output_amount; use get_indicative_swap_quote to preview that price. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V4. */
10060
11149
  PublicApiService_ExecuteSwap: {
10061
11150
  parameters: {
10062
11151
  body: {
@@ -10200,7 +11289,7 @@ export type operations = {
10200
11289
  };
10201
11290
  };
10202
11291
  };
10203
- /** Initiate a fiat on ramp flow. */
11292
+ /** Deprecated: use CreateFiatOnRampSession with a quote from GetFiatOnRampQuotes. */
10204
11293
  PublicApiService_InitFiatOnRamp: {
10205
11294
  parameters: {
10206
11295
  body: {
@@ -10326,6 +11415,24 @@ export type operations = {
10326
11415
  };
10327
11416
  };
10328
11417
  };
11418
+ /** Mint a Turnkey-signed JWT with a given profile. JWT semantics switch on profile. */
11419
+ PublicApiService_MintJwt: {
11420
+ parameters: {
11421
+ body: {
11422
+ body: definitions["v1MintJwtRequest"];
11423
+ };
11424
+ };
11425
+ responses: {
11426
+ /** A successful response. */
11427
+ 200: {
11428
+ schema: definitions["v1ActivityResponse"];
11429
+ };
11430
+ /** An unexpected error response. */
11431
+ default: {
11432
+ schema: definitions["rpcStatus"];
11433
+ };
11434
+ };
11435
+ };
10329
11436
  /** Authenticate a user with an OIDC token (Oauth). */
10330
11437
  PublicApiService_Oauth: {
10331
11438
  parameters: {
@@ -10344,7 +11451,7 @@ export type operations = {
10344
11451
  };
10345
11452
  };
10346
11453
  };
10347
- /** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities */
11454
+ /** Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities. */
10348
11455
  PublicApiService_Oauth2Authenticate: {
10349
11456
  parameters: {
10350
11457
  body: {
@@ -10416,7 +11523,7 @@ export type operations = {
10416
11523
  };
10417
11524
  };
10418
11525
  };
10419
- /** Post re-encrypted quorum key share for a TVC deployment. */
11526
+ /** Post re-encrypted Quorum Key share for a TVC deployment. */
10420
11527
  PublicApiService_PostTvcQuorumKeyShare: {
10421
11528
  parameters: {
10422
11529
  body: {
@@ -10434,7 +11541,7 @@ export type operations = {
10434
11541
  };
10435
11542
  };
10436
11543
  };
10437
- /** Re-encrypt a hosted TVC quorum key share for a deployment. */
11544
+ /** Re-encrypt a hosted TVC Quorum Key share for a deployment. */
10438
11545
  PublicApiService_ReEncryptTvcQuorumKeyShare: {
10439
11546
  parameters: {
10440
11547
  body: {
@@ -10524,7 +11631,7 @@ export type operations = {
10524
11631
  };
10525
11632
  };
10526
11633
  };
10527
- /** Restore a deleted TVC Deployment */
11634
+ /** Restore a deleted TVC deployment. */
10528
11635
  PublicApiService_RestoreTvcDeployment: {
10529
11636
  parameters: {
10530
11637
  body: {
@@ -10578,7 +11685,7 @@ export type operations = {
10578
11685
  };
10579
11686
  };
10580
11687
  };
10581
- /** Set the live deployment for a TVC App */
11688
+ /** Set the live deployment for a TVC app. */
10582
11689
  PublicApiService_UpdateTvcAppLiveDeployment: {
10583
11690
  parameters: {
10584
11691
  body: {
@@ -10758,7 +11865,7 @@ export type operations = {
10758
11865
  };
10759
11866
  };
10760
11867
  };
10761
- /** Update a fiat on ramp provider credential */
11868
+ /** Deprecated: use UpdateFiatRampCredential. */
10762
11869
  PublicApiService_UpdateFiatOnRampCredential: {
10763
11870
  parameters: {
10764
11871
  body: {
@@ -10776,6 +11883,24 @@ export type operations = {
10776
11883
  };
10777
11884
  };
10778
11885
  };
11886
+ /** Update a fiat ramp provider credential. */
11887
+ PublicApiService_UpdateFiatRampCredential: {
11888
+ parameters: {
11889
+ body: {
11890
+ body: definitions["v1UpdateFiatRampCredentialRequest"];
11891
+ };
11892
+ };
11893
+ responses: {
11894
+ /** A successful response. */
11895
+ 200: {
11896
+ schema: definitions["v1ActivityResponse"];
11897
+ };
11898
+ /** An unexpected error response. */
11899
+ default: {
11900
+ schema: definitions["rpcStatus"];
11901
+ };
11902
+ };
11903
+ };
10779
11904
  /** Update an MFA policy for a user. */
10780
11905
  PublicApiService_UpdateMfaPolicy: {
10781
11906
  parameters: {
@@ -10794,7 +11919,7 @@ export type operations = {
10794
11919
  };
10795
11920
  };
10796
11921
  };
10797
- /** Update an OAuth 2.0 provider credential */
11922
+ /** Update an OAuth 2.0 provider credential. */
10798
11923
  PublicApiService_UpdateOauth2Credential: {
10799
11924
  parameters: {
10800
11925
  body: {
@@ -11028,6 +12153,42 @@ export type operations = {
11028
12153
  };
11029
12154
  };
11030
12155
  };
12156
+ /** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
12157
+ PublicApiService_UpsertSwapFeeSponsorshipLimitConfig: {
12158
+ parameters: {
12159
+ body: {
12160
+ body: definitions["v1UpsertSwapFeeSponsorshipLimitConfigRequest"];
12161
+ };
12162
+ };
12163
+ responses: {
12164
+ /** A successful response. */
12165
+ 200: {
12166
+ schema: definitions["v1ActivityResponse"];
12167
+ };
12168
+ /** An unexpected error response. */
12169
+ default: {
12170
+ schema: definitions["rpcStatus"];
12171
+ };
12172
+ };
12173
+ };
12174
+ /** Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. */
12175
+ PublicApiService_UpsertSwapFixedRateLimitConfig: {
12176
+ parameters: {
12177
+ body: {
12178
+ body: definitions["v1UpsertSwapFixedRateLimitConfigRequest"];
12179
+ };
12180
+ };
12181
+ responses: {
12182
+ /** A successful response. */
12183
+ 200: {
12184
+ schema: definitions["v1ActivityResponse"];
12185
+ };
12186
+ /** An unexpected error response. */
12187
+ default: {
12188
+ schema: definitions["rpcStatus"];
12189
+ };
12190
+ };
12191
+ };
11031
12192
  /** Verify a generic OTP. */
11032
12193
  PublicApiService_VerifyOtp: {
11033
12194
  parameters: {
@@ -11046,6 +12207,25 @@ export type operations = {
11046
12207
  };
11047
12208
  };
11048
12209
  };
12210
+ /** Verify a SIWE or SIWS login and return an enclave-signed wallet verification token. */
12211
+ PublicApiService_VerifyWalletAuthenticator: {
12212
+ parameters: {
12213
+ body: {
12214
+ body: definitions["v1VerifyWalletAuthenticatorRequest"];
12215
+ };
12216
+ };
12217
+ responses: {
12218
+ /** A successful response. */
12219
+ 200: {
12220
+ schema: definitions["v1ActivityResponse"];
12221
+ };
12222
+ /** An unexpected error response. */
12223
+ default: {
12224
+ schema: definitions["rpcStatus"];
12225
+ };
12226
+ };
12227
+ };
12228
+ /** Internal no-op endpoint used to force generation of types not otherwise referenced by a public request or response. Not intended for use. */
11049
12229
  PublicApiService_NOOPCodegenAnchor: {
11050
12230
  responses: {
11051
12231
  /** A successful response. */