@turnkey/http 3.18.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/CHANGELOG.md +277 -1
  2. package/dist/__fixtures__/shared.d.ts +6 -0
  3. package/dist/__fixtures__/shared.d.ts.map +1 -0
  4. package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +375 -0
  5. package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
  6. package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +626 -0
  7. package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
  8. package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +626 -0
  9. package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
  10. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +69430 -3921
  11. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
  12. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +600 -0
  13. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
  14. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +551 -1
  15. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
  16. package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +1462 -33
  17. package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
  18. package/dist/__tests__/async-test.d.ts +2 -0
  19. package/dist/__tests__/async-test.d.ts.map +1 -0
  20. package/dist/__tests__/request-test.d.ts +2 -0
  21. package/dist/__tests__/request-test.d.ts.map +1 -0
  22. package/dist/version.d.ts +1 -1
  23. package/dist/version.d.ts.map +1 -1
  24. package/dist/version.js +1 -1
  25. package/dist/version.mjs +1 -1
  26. package/package.json +3 -3
@@ -177,6 +177,28 @@ const signGetGasUsage = (input, options) => signedRequest({
177
177
  body: input.body,
178
178
  options,
179
179
  });
180
+ /**
181
+ * Get IP Allowlist
182
+ *
183
+ * Get IP allowlist and rules for an organization.
184
+ *
185
+ * `POST /public/v1/query/get_ip_allowlist`
186
+ */
187
+ const getIpAllowlist = (input) => request({
188
+ uri: "/public/v1/query/get_ip_allowlist",
189
+ method: "POST",
190
+ body: input.body,
191
+ });
192
+ /**
193
+ * Request a WebAuthn assertion and return a signed `GetIpAllowlist` request, ready to be POSTed to Turnkey.
194
+ *
195
+ * See {@link GetIpAllowlist}
196
+ */
197
+ const signGetIpAllowlist = (input, options) => signedRequest({
198
+ uri: "/public/v1/query/get_ip_allowlist",
199
+ body: input.body,
200
+ options,
201
+ });
180
202
  /**
181
203
  * Get the latest boot proof for an app
182
204
  *
@@ -287,6 +309,28 @@ const signGetOnRampTransactionStatus = (input, options) => signedRequest({
287
309
  body: input.body,
288
310
  options,
289
311
  });
312
+ /**
313
+ * Get organization
314
+ *
315
+ * Get details about an organization.
316
+ *
317
+ * `POST /public/v1/query/get_organization`
318
+ */
319
+ const getOrganization = (input) => request({
320
+ uri: "/public/v1/query/get_organization",
321
+ method: "POST",
322
+ body: input.body,
323
+ });
324
+ /**
325
+ * Request a WebAuthn assertion and return a signed `GetOrganization` request, ready to be POSTed to Turnkey.
326
+ *
327
+ * See {@link GetOrganization}
328
+ */
329
+ const signGetOrganization = (input, options) => signedRequest({
330
+ uri: "/public/v1/query/get_organization",
331
+ body: input.body,
332
+ options,
333
+ });
290
334
  /**
291
335
  * Get configs
292
336
  *
@@ -419,6 +463,72 @@ const signGetSmartContractInterface = (input, options) => signedRequest({
419
463
  body: input.body,
420
464
  options,
421
465
  });
466
+ /**
467
+ * Get TVC App
468
+ *
469
+ * Get details about a single TVC App
470
+ *
471
+ * `POST /public/v1/query/get_tvc_app`
472
+ */
473
+ const getTvcApp = (input) => request({
474
+ uri: "/public/v1/query/get_tvc_app",
475
+ method: "POST",
476
+ body: input.body,
477
+ });
478
+ /**
479
+ * Request a WebAuthn assertion and return a signed `GetTvcApp` request, ready to be POSTed to Turnkey.
480
+ *
481
+ * See {@link GetTvcApp}
482
+ */
483
+ const signGetTvcApp = (input, options) => signedRequest({
484
+ uri: "/public/v1/query/get_tvc_app",
485
+ body: input.body,
486
+ options,
487
+ });
488
+ /**
489
+ * Get TVC Deployment
490
+ *
491
+ * Get details about a single TVC Deployment
492
+ *
493
+ * `POST /public/v1/query/get_tvc_deployment`
494
+ */
495
+ const getTvcDeployment = (input) => request({
496
+ uri: "/public/v1/query/get_tvc_deployment",
497
+ method: "POST",
498
+ body: input.body,
499
+ });
500
+ /**
501
+ * Request a WebAuthn assertion and return a signed `GetTvcDeployment` request, ready to be POSTed to Turnkey.
502
+ *
503
+ * See {@link GetTvcDeployment}
504
+ */
505
+ const signGetTvcDeployment = (input, options) => signedRequest({
506
+ uri: "/public/v1/query/get_tvc_deployment",
507
+ body: input.body,
508
+ options,
509
+ });
510
+ /**
511
+ * Get TVC Deployment's Provisioning Details
512
+ *
513
+ * Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment
514
+ *
515
+ * `POST /public/v1/query/get_tvc_deployment_provisioning_details`
516
+ */
517
+ const getTvcDeploymentProvisioningDetails = (input) => request({
518
+ uri: "/public/v1/query/get_tvc_deployment_provisioning_details",
519
+ method: "POST",
520
+ body: input.body,
521
+ });
522
+ /**
523
+ * Request a WebAuthn assertion and return a signed `GetTvcDeploymentProvisioningDetails` request, ready to be POSTed to Turnkey.
524
+ *
525
+ * See {@link GetTvcDeploymentProvisioningDetails}
526
+ */
527
+ const signGetTvcDeploymentProvisioningDetails = (input, options) => signedRequest({
528
+ uri: "/public/v1/query/get_tvc_deployment_provisioning_details",
529
+ body: input.body,
530
+ options,
531
+ });
422
532
  /**
423
533
  * Get user
424
534
  *
@@ -727,6 +837,50 @@ const signListSupportedAssets = (input, options) => signedRequest({
727
837
  body: input.body,
728
838
  options,
729
839
  });
840
+ /**
841
+ * List TVC Deployments
842
+ *
843
+ * List all deployments for a given TVC App
844
+ *
845
+ * `POST /public/v1/query/list_tvc_app_deployments`
846
+ */
847
+ const getTvcAppDeployments = (input) => request({
848
+ uri: "/public/v1/query/list_tvc_app_deployments",
849
+ method: "POST",
850
+ body: input.body,
851
+ });
852
+ /**
853
+ * Request a WebAuthn assertion and return a signed `GetTvcAppDeployments` request, ready to be POSTed to Turnkey.
854
+ *
855
+ * See {@link GetTvcAppDeployments}
856
+ */
857
+ const signGetTvcAppDeployments = (input, options) => signedRequest({
858
+ uri: "/public/v1/query/list_tvc_app_deployments",
859
+ body: input.body,
860
+ options,
861
+ });
862
+ /**
863
+ * List TVC Apps
864
+ *
865
+ * List all TVC Apps within an organization.
866
+ *
867
+ * `POST /public/v1/query/list_tvc_apps`
868
+ */
869
+ const getTvcApps = (input) => request({
870
+ uri: "/public/v1/query/list_tvc_apps",
871
+ method: "POST",
872
+ body: input.body,
873
+ });
874
+ /**
875
+ * Request a WebAuthn assertion and return a signed `GetTvcApps` request, ready to be POSTed to Turnkey.
876
+ *
877
+ * See {@link GetTvcApps}
878
+ */
879
+ const signGetTvcApps = (input, options) => signedRequest({
880
+ uri: "/public/v1/query/list_tvc_apps",
881
+ body: input.body,
882
+ options,
883
+ });
730
884
  /**
731
885
  * List user tags
732
886
  *
@@ -859,6 +1013,28 @@ const signListWebhookEndpoints = (input, options) => signedRequest({
859
1013
  body: input.body,
860
1014
  options,
861
1015
  });
1016
+ /**
1017
+ * Validate Container Image for TVC
1018
+ *
1019
+ * Validate a container image URL and pull secret for TVC deployment
1020
+ *
1021
+ * `POST /public/v1/query/validate_tvc_image`
1022
+ */
1023
+ const validateTvcImage = (input) => request({
1024
+ uri: "/public/v1/query/validate_tvc_image",
1025
+ method: "POST",
1026
+ body: input.body,
1027
+ });
1028
+ /**
1029
+ * Request a WebAuthn assertion and return a signed `ValidateTvcImage` request, ready to be POSTed to Turnkey.
1030
+ *
1031
+ * See {@link ValidateTvcImage}
1032
+ */
1033
+ const signValidateTvcImage = (input, options) => signedRequest({
1034
+ uri: "/public/v1/query/validate_tvc_image",
1035
+ body: input.body,
1036
+ options,
1037
+ });
862
1038
  /**
863
1039
  * Who am I?
864
1040
  *
@@ -1233,6 +1409,72 @@ const signCreateSubOrganization = (input, options) => signedRequest({
1233
1409
  body: input.body,
1234
1410
  options,
1235
1411
  });
1412
+ /**
1413
+ * Create a TVC App
1414
+ *
1415
+ * Create a new TVC application
1416
+ *
1417
+ * `POST /public/v1/submit/create_tvc_app`
1418
+ */
1419
+ const createTvcApp = (input) => request({
1420
+ uri: "/public/v1/submit/create_tvc_app",
1421
+ method: "POST",
1422
+ body: input.body,
1423
+ });
1424
+ /**
1425
+ * Request a WebAuthn assertion and return a signed `CreateTvcApp` request, ready to be POSTed to Turnkey.
1426
+ *
1427
+ * See {@link CreateTvcApp}
1428
+ */
1429
+ const signCreateTvcApp = (input, options) => signedRequest({
1430
+ uri: "/public/v1/submit/create_tvc_app",
1431
+ body: input.body,
1432
+ options,
1433
+ });
1434
+ /**
1435
+ * Create a TVC Deployment
1436
+ *
1437
+ * Create a new TVC Deployment
1438
+ *
1439
+ * `POST /public/v1/submit/create_tvc_deployment`
1440
+ */
1441
+ const createTvcDeployment = (input) => request({
1442
+ uri: "/public/v1/submit/create_tvc_deployment",
1443
+ method: "POST",
1444
+ body: input.body,
1445
+ });
1446
+ /**
1447
+ * Request a WebAuthn assertion and return a signed `CreateTvcDeployment` request, ready to be POSTed to Turnkey.
1448
+ *
1449
+ * See {@link CreateTvcDeployment}
1450
+ */
1451
+ const signCreateTvcDeployment = (input, options) => signedRequest({
1452
+ uri: "/public/v1/submit/create_tvc_deployment",
1453
+ body: input.body,
1454
+ options,
1455
+ });
1456
+ /**
1457
+ * Create TVC Manifest Approvals
1458
+ *
1459
+ * Post one or more manifest approvals for a TVC Manifest
1460
+ *
1461
+ * `POST /public/v1/submit/create_tvc_manifest_approvals`
1462
+ */
1463
+ const createTvcManifestApprovals = (input) => request({
1464
+ uri: "/public/v1/submit/create_tvc_manifest_approvals",
1465
+ method: "POST",
1466
+ body: input.body,
1467
+ });
1468
+ /**
1469
+ * Request a WebAuthn assertion and return a signed `CreateTvcManifestApprovals` request, ready to be POSTed to Turnkey.
1470
+ *
1471
+ * See {@link CreateTvcManifestApprovals}
1472
+ */
1473
+ const signCreateTvcManifestApprovals = (input, options) => signedRequest({
1474
+ uri: "/public/v1/submit/create_tvc_manifest_approvals",
1475
+ body: input.body,
1476
+ options,
1477
+ });
1236
1478
  /**
1237
1479
  * Create user tag
1238
1480
  *
@@ -1607,6 +1849,50 @@ const signDeleteSubOrganization = (input, options) => signedRequest({
1607
1849
  body: input.body,
1608
1850
  options,
1609
1851
  });
1852
+ /**
1853
+ * Delete a TVC App and all of its deployments
1854
+ *
1855
+ * Delete a TVC App and all of its deployments
1856
+ *
1857
+ * `POST /public/v1/submit/delete_tvc_app_and_deployments`
1858
+ */
1859
+ const deleteTvcAppAndDeployments = (input) => request({
1860
+ uri: "/public/v1/submit/delete_tvc_app_and_deployments",
1861
+ method: "POST",
1862
+ body: input.body,
1863
+ });
1864
+ /**
1865
+ * Request a WebAuthn assertion and return a signed `DeleteTvcAppAndDeployments` request, ready to be POSTed to Turnkey.
1866
+ *
1867
+ * See {@link DeleteTvcAppAndDeployments}
1868
+ */
1869
+ const signDeleteTvcAppAndDeployments = (input, options) => signedRequest({
1870
+ uri: "/public/v1/submit/delete_tvc_app_and_deployments",
1871
+ body: input.body,
1872
+ options,
1873
+ });
1874
+ /**
1875
+ * Delete a TVC Deployment
1876
+ *
1877
+ * Delete a TVC Deployment
1878
+ *
1879
+ * `POST /public/v1/submit/delete_tvc_deployment`
1880
+ */
1881
+ const deleteTvcDeployment = (input) => request({
1882
+ uri: "/public/v1/submit/delete_tvc_deployment",
1883
+ method: "POST",
1884
+ body: input.body,
1885
+ });
1886
+ /**
1887
+ * Request a WebAuthn assertion and return a signed `DeleteTvcDeployment` request, ready to be POSTed to Turnkey.
1888
+ *
1889
+ * See {@link DeleteTvcDeployment}
1890
+ */
1891
+ const signDeleteTvcDeployment = (input, options) => signedRequest({
1892
+ uri: "/public/v1/submit/delete_tvc_deployment",
1893
+ body: input.body,
1894
+ options,
1895
+ });
1610
1896
  /**
1611
1897
  * Delete user tags
1612
1898
  *
@@ -1739,6 +2025,28 @@ const signEmailAuth = (input, options) => signedRequest({
1739
2025
  body: input.body,
1740
2026
  options,
1741
2027
  });
2028
+ /**
2029
+ * Submit a raw transaction for broadcasting.
2030
+ *
2031
+ * Submit a raw transaction (serialized and signed) for broadcasting to the network.
2032
+ *
2033
+ * `POST /public/v1/submit/eth_send_raw_transaction`
2034
+ */
2035
+ const ethSendRawTransaction = (input) => request({
2036
+ uri: "/public/v1/submit/eth_send_raw_transaction",
2037
+ method: "POST",
2038
+ body: input.body,
2039
+ });
2040
+ /**
2041
+ * Request a WebAuthn assertion and return a signed `EthSendRawTransaction` request, ready to be POSTed to Turnkey.
2042
+ *
2043
+ * See {@link EthSendRawTransaction}
2044
+ */
2045
+ const signEthSendRawTransaction = (input, options) => signedRequest({
2046
+ uri: "/public/v1/submit/eth_send_raw_transaction",
2047
+ body: input.body,
2048
+ options,
2049
+ });
1742
2050
  /**
1743
2051
  * Broadcast EVM transaction
1744
2052
  *
@@ -2113,6 +2421,28 @@ const signOtpLogin = (input, options) => signedRequest({
2113
2421
  body: input.body,
2114
2422
  options,
2115
2423
  });
2424
+ /**
2425
+ * Post TVC Quorum Key Share
2426
+ *
2427
+ * Post re-encrypted quorum key share for a TVC deployment.
2428
+ *
2429
+ * `POST /public/v1/submit/post_tvc_quorum_key_share`
2430
+ */
2431
+ const postTvcQuorumKeyShare = (input) => request({
2432
+ uri: "/public/v1/submit/post_tvc_quorum_key_share",
2433
+ method: "POST",
2434
+ body: input.body,
2435
+ });
2436
+ /**
2437
+ * Request a WebAuthn assertion and return a signed `PostTvcQuorumKeyShare` request, ready to be POSTed to Turnkey.
2438
+ *
2439
+ * See {@link PostTvcQuorumKeyShare}
2440
+ */
2441
+ const signPostTvcQuorumKeyShare = (input, options) => signedRequest({
2442
+ uri: "/public/v1/submit/post_tvc_quorum_key_share",
2443
+ body: input.body,
2444
+ options,
2445
+ });
2116
2446
  /**
2117
2447
  * Recover a user
2118
2448
  *
@@ -2157,6 +2487,28 @@ const signRejectActivity = (input, options) => signedRequest({
2157
2487
  body: input.body,
2158
2488
  options,
2159
2489
  });
2490
+ /**
2491
+ * Remove IP Allowlist
2492
+ *
2493
+ * Delete IP allowlist and all associated rules for organization or API key. After removal, access will be determined by organization-level allowlist (for API keys) or allowed from all IPs (for organizations).
2494
+ *
2495
+ * `POST /public/v1/submit/remove_ip_allowlist`
2496
+ */
2497
+ const removeIpAllowlist = (input) => request({
2498
+ uri: "/public/v1/submit/remove_ip_allowlist",
2499
+ method: "POST",
2500
+ body: input.body,
2501
+ });
2502
+ /**
2503
+ * Request a WebAuthn assertion and return a signed `RemoveIpAllowlist` request, ready to be POSTed to Turnkey.
2504
+ *
2505
+ * See {@link RemoveIpAllowlist}
2506
+ */
2507
+ const signRemoveIpAllowlist = (input, options) => signedRequest({
2508
+ uri: "/public/v1/submit/remove_ip_allowlist",
2509
+ body: input.body,
2510
+ options,
2511
+ });
2160
2512
  /**
2161
2513
  * Remove organization feature
2162
2514
  *
@@ -2179,6 +2531,50 @@ const signRemoveOrganizationFeature = (input, options) => signedRequest({
2179
2531
  body: input.body,
2180
2532
  options,
2181
2533
  });
2534
+ /**
2535
+ * Restore a TVC Deployment
2536
+ *
2537
+ * Restore a deleted TVC Deployment
2538
+ *
2539
+ * `POST /public/v1/submit/restore_tvc_deployment`
2540
+ */
2541
+ const restoreTvcDeployment = (input) => request({
2542
+ uri: "/public/v1/submit/restore_tvc_deployment",
2543
+ method: "POST",
2544
+ body: input.body,
2545
+ });
2546
+ /**
2547
+ * Request a WebAuthn assertion and return a signed `RestoreTvcDeployment` request, ready to be POSTed to Turnkey.
2548
+ *
2549
+ * See {@link RestoreTvcDeployment}
2550
+ */
2551
+ const signRestoreTvcDeployment = (input, options) => signedRequest({
2552
+ uri: "/public/v1/submit/restore_tvc_deployment",
2553
+ body: input.body,
2554
+ options,
2555
+ });
2556
+ /**
2557
+ * Set IP Allowlist
2558
+ *
2559
+ * Create or update IP allowlist and rules for organization or API key. The IP allowlist restricts API access to specific CIDR blocks. Organization-level allowlists apply to all API keys unless overridden by a key-specific allowlist.
2560
+ *
2561
+ * `POST /public/v1/submit/set_ip_allowlist`
2562
+ */
2563
+ const setIpAllowlist = (input) => request({
2564
+ uri: "/public/v1/submit/set_ip_allowlist",
2565
+ method: "POST",
2566
+ body: input.body,
2567
+ });
2568
+ /**
2569
+ * Request a WebAuthn assertion and return a signed `SetIpAllowlist` request, ready to be POSTed to Turnkey.
2570
+ *
2571
+ * See {@link SetIpAllowlist}
2572
+ */
2573
+ const signSetIpAllowlist = (input, options) => signedRequest({
2574
+ uri: "/public/v1/submit/set_ip_allowlist",
2575
+ body: input.body,
2576
+ options,
2577
+ });
2182
2578
  /**
2183
2579
  * Set organization feature
2184
2580
  *
@@ -2201,6 +2597,28 @@ const signSetOrganizationFeature = (input, options) => signedRequest({
2201
2597
  body: input.body,
2202
2598
  options,
2203
2599
  });
2600
+ /**
2601
+ * Set TVC App live deployment
2602
+ *
2603
+ * Set the live deployment for a TVC App
2604
+ *
2605
+ * `POST /public/v1/submit/set_tvc_app_live_deployment`
2606
+ */
2607
+ const updateTvcAppLiveDeployment = (input) => request({
2608
+ uri: "/public/v1/submit/set_tvc_app_live_deployment",
2609
+ method: "POST",
2610
+ body: input.body,
2611
+ });
2612
+ /**
2613
+ * Request a WebAuthn assertion and return a signed `UpdateTvcAppLiveDeployment` request, ready to be POSTed to Turnkey.
2614
+ *
2615
+ * See {@link UpdateTvcAppLiveDeployment}
2616
+ */
2617
+ const signUpdateTvcAppLiveDeployment = (input, options) => signedRequest({
2618
+ uri: "/public/v1/submit/set_tvc_app_live_deployment",
2619
+ body: input.body,
2620
+ options,
2621
+ });
2204
2622
  /**
2205
2623
  * Sign raw payload
2206
2624
  *
@@ -2289,6 +2707,94 @@ const signSolSendTransaction = (input, options) => signedRequest({
2289
2707
  body: input.body,
2290
2708
  options,
2291
2709
  });
2710
+ /**
2711
+ * Claim Spark transfer
2712
+ *
2713
+ * Construct receiver-side encrypted operator packages to claim a Spark transfer. Does not perform FROST signing.
2714
+ *
2715
+ * `POST /public/v1/submit/spark_claim_transfer`
2716
+ */
2717
+ const sparkClaimTransfer = (input) => request({
2718
+ uri: "/public/v1/submit/spark_claim_transfer",
2719
+ method: "POST",
2720
+ body: input.body,
2721
+ });
2722
+ /**
2723
+ * Request a WebAuthn assertion and return a signed `SparkClaimTransfer` request, ready to be POSTed to Turnkey.
2724
+ *
2725
+ * See {@link SparkClaimTransfer}
2726
+ */
2727
+ const signSparkClaimTransfer = (input, options) => signedRequest({
2728
+ uri: "/public/v1/submit/spark_claim_transfer",
2729
+ body: input.body,
2730
+ options,
2731
+ });
2732
+ /**
2733
+ * Spark prepare Lightning receive
2734
+ *
2735
+ * Generate a Lightning preimage and distribute Feldman shares to operators for a Spark Lightning receive. Does not perform FROST signing.
2736
+ *
2737
+ * `POST /public/v1/submit/spark_prepare_lightning_receive`
2738
+ */
2739
+ const sparkPrepareLightningReceive = (input) => request({
2740
+ uri: "/public/v1/submit/spark_prepare_lightning_receive",
2741
+ method: "POST",
2742
+ body: input.body,
2743
+ });
2744
+ /**
2745
+ * Request a WebAuthn assertion and return a signed `SparkPrepareLightningReceive` request, ready to be POSTed to Turnkey.
2746
+ *
2747
+ * See {@link SparkPrepareLightningReceive}
2748
+ */
2749
+ const signSparkPrepareLightningReceive = (input, options) => signedRequest({
2750
+ uri: "/public/v1/submit/spark_prepare_lightning_receive",
2751
+ body: input.body,
2752
+ options,
2753
+ });
2754
+ /**
2755
+ * Prepare Spark transfer
2756
+ *
2757
+ * Construct sender-side encrypted operator packages for a Spark BTC transfer. Does not perform FROST signing.
2758
+ *
2759
+ * `POST /public/v1/submit/spark_prepare_transfer`
2760
+ */
2761
+ const sparkPrepareTransfer = (input) => request({
2762
+ uri: "/public/v1/submit/spark_prepare_transfer",
2763
+ method: "POST",
2764
+ body: input.body,
2765
+ });
2766
+ /**
2767
+ * Request a WebAuthn assertion and return a signed `SparkPrepareTransfer` request, ready to be POSTed to Turnkey.
2768
+ *
2769
+ * See {@link SparkPrepareTransfer}
2770
+ */
2771
+ const signSparkPrepareTransfer = (input, options) => signedRequest({
2772
+ uri: "/public/v1/submit/spark_prepare_transfer",
2773
+ body: input.body,
2774
+ options,
2775
+ });
2776
+ /**
2777
+ * Sign Frost Spark
2778
+ *
2779
+ * Perform pure FROST partial signing for a Spark wallet. Produces partial signatures without constructing operator packages.
2780
+ *
2781
+ * `POST /public/v1/submit/spark_sign_frost`
2782
+ */
2783
+ const sparkSignFrost = (input) => request({
2784
+ uri: "/public/v1/submit/spark_sign_frost",
2785
+ method: "POST",
2786
+ body: input.body,
2787
+ });
2788
+ /**
2789
+ * Request a WebAuthn assertion and return a signed `SparkSignFrost` request, ready to be POSTed to Turnkey.
2790
+ *
2791
+ * See {@link SparkSignFrost}
2792
+ */
2793
+ const signSparkSignFrost = (input, options) => signedRequest({
2794
+ uri: "/public/v1/submit/spark_sign_frost",
2795
+ body: input.body,
2796
+ options,
2797
+ });
2292
2798
  /**
2293
2799
  * Login with a stamp
2294
2800
  *
@@ -2634,6 +3140,50 @@ const nOOPCodegenAnchor = () => request({
2634
3140
  const signNOOPCodegenAnchor = () => signedRequest({
2635
3141
  uri: "/tkhq/api/v1/noop-codegen-anchor",
2636
3142
  });
3143
+ /**
3144
+ * Refresh feature flags
3145
+ *
3146
+ * Refresh feature flags by triggering a DB read to flush the in-memory cache.
3147
+ *
3148
+ * `POST /tkhq/api/v1/refresh_feature_flags`
3149
+ */
3150
+ const refreshFeatureFlags = (input) => request({
3151
+ uri: "/tkhq/api/v1/refresh_feature_flags",
3152
+ method: "POST",
3153
+ body: input.body,
3154
+ });
3155
+ /**
3156
+ * Request a WebAuthn assertion and return a signed `RefreshFeatureFlags` request, ready to be POSTed to Turnkey.
3157
+ *
3158
+ * See {@link RefreshFeatureFlags}
3159
+ */
3160
+ const signRefreshFeatureFlags = (input, options) => signedRequest({
3161
+ uri: "/tkhq/api/v1/refresh_feature_flags",
3162
+ body: input.body,
3163
+ options,
3164
+ });
3165
+ /**
3166
+ * Test rate limit
3167
+ *
3168
+ * Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.
3169
+ *
3170
+ * `POST /tkhq/api/v1/test_rate_limits`
3171
+ */
3172
+ const testRateLimits = (input) => request({
3173
+ uri: "/tkhq/api/v1/test_rate_limits",
3174
+ method: "POST",
3175
+ body: input.body,
3176
+ });
3177
+ /**
3178
+ * Request a WebAuthn assertion and return a signed `TestRateLimits` request, ready to be POSTed to Turnkey.
3179
+ *
3180
+ * See {@link TestRateLimits}
3181
+ */
3182
+ const signTestRateLimits = (input, options) => signedRequest({
3183
+ uri: "/tkhq/api/v1/test_rate_limits",
3184
+ body: input.body,
3185
+ options,
3186
+ });
2637
3187
 
2638
- export { approveActivity, createApiKeys, createApiOnlyUsers, createAuthenticators, createFiatOnRampCredential, createInvitations, createOauth2Credential, createOauthProviders, createPolicies, createPolicy, createPrivateKeyTag, createPrivateKeys, createReadOnlySession, createReadWriteSession, createSmartContractInterface, createSubOrganization, createUserTag, createUsers, createWallet, createWalletAccounts, createWebhookEndpoint, deleteApiKeys, deleteAuthenticators, deleteFiatOnRampCredential, deleteInvitation, deleteOauth2Credential, deleteOauthProviders, deletePolicies, deletePolicy, deletePrivateKeyTags, deletePrivateKeys, deleteSmartContractInterface, deleteSubOrganization, deleteUserTags, deleteUsers, deleteWalletAccounts, deleteWallets, deleteWebhookEndpoint, emailAuth, ethSendTransaction, exportPrivateKey, exportWallet, exportWalletAccount, getActivities, getActivity, getApiKey, getApiKeys, getAppProofs, getAppStatus, getAuthenticator, getAuthenticators, getBootProof, getGasUsage, getLatestBootProof, getNonces, getOauth2Credential, getOauthProviders, getOnRampTransactionStatus, getOrganizationConfigs, getPolicies, getPolicy, getPolicyEvaluations, getPrivateKey, getPrivateKeys, getSendTransactionStatus, getSmartContractInterface, getSmartContractInterfaces, getSubOrgIds, getUser, getUsers, getVerifiedSubOrgIds, getWallet, getWalletAccount, getWalletAccounts, getWalletAddressBalances, getWallets, getWhoami, importPrivateKey, importWallet, initFiatOnRamp, initImportPrivateKey, initImportWallet, initOtp, initOtpAuth, initUserEmailRecovery, listFiatOnRampCredentials, listOauth2Credentials, listPrivateKeyTags, listSupportedAssets, listUserTags, listWebhookEndpoints, nOOPCodegenAnchor, oauth, oauth2Authenticate, oauthLogin, otpAuth, otpLogin, recoverUser, rejectActivity, removeOrganizationFeature, setOrganizationFeature, signApproveActivity, signCreateApiKeys, signCreateApiOnlyUsers, signCreateAuthenticators, signCreateFiatOnRampCredential, signCreateInvitations, signCreateOauth2Credential, signCreateOauthProviders, signCreatePolicies, signCreatePolicy, signCreatePrivateKeyTag, signCreatePrivateKeys, signCreateReadOnlySession, signCreateReadWriteSession, signCreateSmartContractInterface, signCreateSubOrganization, signCreateUserTag, signCreateUsers, signCreateWallet, signCreateWalletAccounts, signCreateWebhookEndpoint, signDeleteApiKeys, signDeleteAuthenticators, signDeleteFiatOnRampCredential, signDeleteInvitation, signDeleteOauth2Credential, signDeleteOauthProviders, signDeletePolicies, signDeletePolicy, signDeletePrivateKeyTags, signDeletePrivateKeys, signDeleteSmartContractInterface, signDeleteSubOrganization, signDeleteUserTags, signDeleteUsers, signDeleteWalletAccounts, signDeleteWallets, signDeleteWebhookEndpoint, signEmailAuth, signEthSendTransaction, signExportPrivateKey, signExportWallet, signExportWalletAccount, signGetActivities, signGetActivity, signGetApiKey, signGetApiKeys, signGetAppProofs, signGetAppStatus, signGetAuthenticator, signGetAuthenticators, signGetBootProof, signGetGasUsage, signGetLatestBootProof, signGetNonces, signGetOauth2Credential, signGetOauthProviders, signGetOnRampTransactionStatus, signGetOrganizationConfigs, signGetPolicies, signGetPolicy, signGetPolicyEvaluations, signGetPrivateKey, signGetPrivateKeys, signGetSendTransactionStatus, signGetSmartContractInterface, signGetSmartContractInterfaces, signGetSubOrgIds, signGetUser, signGetUsers, signGetVerifiedSubOrgIds, signGetWallet, signGetWalletAccount, signGetWalletAccounts, signGetWalletAddressBalances, signGetWallets, signGetWhoami, signImportPrivateKey, signImportWallet, signInitFiatOnRamp, signInitImportPrivateKey, signInitImportWallet, signInitOtp, signInitOtpAuth, signInitUserEmailRecovery, signListFiatOnRampCredentials, signListOauth2Credentials, signListPrivateKeyTags, signListSupportedAssets, signListUserTags, signListWebhookEndpoints, signNOOPCodegenAnchor, signOauth, signOauth2Authenticate, signOauthLogin, signOtpAuth, signOtpLogin, signRawPayload, signRawPayloads, signRecoverUser, signRejectActivity, signRemoveOrganizationFeature, signSetOrganizationFeature, signSignRawPayload, signSignRawPayloads, signSignTransaction, signSolSendTransaction, signStampLogin, signTransaction, signUpdateFiatOnRampCredential, signUpdateOauth2Credential, signUpdateOrganizationName, signUpdatePolicy, signUpdatePrivateKeyTag, signUpdateRootQuorum, signUpdateUser, signUpdateUserEmail, signUpdateUserName, signUpdateUserPhoneNumber, signUpdateUserTag, signUpdateWallet, signUpdateWebhookEndpoint, signVerifyOtp, solSendTransaction, stampLogin, updateFiatOnRampCredential, updateOauth2Credential, updateOrganizationName, updatePolicy, updatePrivateKeyTag, updateRootQuorum, updateUser, updateUserEmail, updateUserName, updateUserPhoneNumber, updateUserTag, updateWallet, updateWebhookEndpoint, verifyOtp };
3188
+ export { approveActivity, createApiKeys, createApiOnlyUsers, createAuthenticators, createFiatOnRampCredential, createInvitations, createOauth2Credential, createOauthProviders, createPolicies, createPolicy, createPrivateKeyTag, createPrivateKeys, createReadOnlySession, createReadWriteSession, createSmartContractInterface, createSubOrganization, createTvcApp, createTvcDeployment, createTvcManifestApprovals, createUserTag, createUsers, createWallet, createWalletAccounts, createWebhookEndpoint, deleteApiKeys, deleteAuthenticators, deleteFiatOnRampCredential, deleteInvitation, deleteOauth2Credential, deleteOauthProviders, deletePolicies, deletePolicy, deletePrivateKeyTags, deletePrivateKeys, deleteSmartContractInterface, deleteSubOrganization, deleteTvcAppAndDeployments, deleteTvcDeployment, deleteUserTags, deleteUsers, deleteWalletAccounts, deleteWallets, deleteWebhookEndpoint, emailAuth, ethSendRawTransaction, ethSendTransaction, exportPrivateKey, exportWallet, exportWalletAccount, getActivities, getActivity, getApiKey, getApiKeys, getAppProofs, getAppStatus, getAuthenticator, getAuthenticators, getBootProof, getGasUsage, getIpAllowlist, getLatestBootProof, getNonces, getOauth2Credential, getOauthProviders, getOnRampTransactionStatus, getOrganization, getOrganizationConfigs, getPolicies, getPolicy, getPolicyEvaluations, getPrivateKey, getPrivateKeys, getSendTransactionStatus, getSmartContractInterface, getSmartContractInterfaces, getSubOrgIds, getTvcApp, getTvcAppDeployments, getTvcApps, getTvcDeployment, getTvcDeploymentProvisioningDetails, getUser, getUsers, getVerifiedSubOrgIds, getWallet, getWalletAccount, getWalletAccounts, getWalletAddressBalances, getWallets, getWhoami, importPrivateKey, importWallet, initFiatOnRamp, initImportPrivateKey, initImportWallet, initOtp, initOtpAuth, initUserEmailRecovery, listFiatOnRampCredentials, listOauth2Credentials, listPrivateKeyTags, listSupportedAssets, listUserTags, listWebhookEndpoints, nOOPCodegenAnchor, oauth, oauth2Authenticate, oauthLogin, otpAuth, otpLogin, postTvcQuorumKeyShare, recoverUser, refreshFeatureFlags, rejectActivity, removeIpAllowlist, removeOrganizationFeature, restoreTvcDeployment, setIpAllowlist, setOrganizationFeature, signApproveActivity, signCreateApiKeys, signCreateApiOnlyUsers, signCreateAuthenticators, signCreateFiatOnRampCredential, signCreateInvitations, signCreateOauth2Credential, signCreateOauthProviders, signCreatePolicies, signCreatePolicy, signCreatePrivateKeyTag, signCreatePrivateKeys, signCreateReadOnlySession, signCreateReadWriteSession, signCreateSmartContractInterface, signCreateSubOrganization, signCreateTvcApp, signCreateTvcDeployment, signCreateTvcManifestApprovals, signCreateUserTag, signCreateUsers, signCreateWallet, signCreateWalletAccounts, signCreateWebhookEndpoint, signDeleteApiKeys, signDeleteAuthenticators, signDeleteFiatOnRampCredential, signDeleteInvitation, signDeleteOauth2Credential, signDeleteOauthProviders, signDeletePolicies, signDeletePolicy, signDeletePrivateKeyTags, signDeletePrivateKeys, signDeleteSmartContractInterface, signDeleteSubOrganization, signDeleteTvcAppAndDeployments, signDeleteTvcDeployment, signDeleteUserTags, signDeleteUsers, signDeleteWalletAccounts, signDeleteWallets, signDeleteWebhookEndpoint, signEmailAuth, signEthSendRawTransaction, signEthSendTransaction, signExportPrivateKey, signExportWallet, signExportWalletAccount, signGetActivities, signGetActivity, signGetApiKey, signGetApiKeys, signGetAppProofs, signGetAppStatus, signGetAuthenticator, signGetAuthenticators, signGetBootProof, signGetGasUsage, signGetIpAllowlist, signGetLatestBootProof, signGetNonces, signGetOauth2Credential, signGetOauthProviders, signGetOnRampTransactionStatus, signGetOrganization, signGetOrganizationConfigs, signGetPolicies, signGetPolicy, signGetPolicyEvaluations, signGetPrivateKey, signGetPrivateKeys, signGetSendTransactionStatus, signGetSmartContractInterface, signGetSmartContractInterfaces, signGetSubOrgIds, signGetTvcApp, signGetTvcAppDeployments, signGetTvcApps, signGetTvcDeployment, signGetTvcDeploymentProvisioningDetails, signGetUser, signGetUsers, signGetVerifiedSubOrgIds, signGetWallet, signGetWalletAccount, signGetWalletAccounts, signGetWalletAddressBalances, signGetWallets, signGetWhoami, signImportPrivateKey, signImportWallet, signInitFiatOnRamp, signInitImportPrivateKey, signInitImportWallet, signInitOtp, signInitOtpAuth, signInitUserEmailRecovery, signListFiatOnRampCredentials, signListOauth2Credentials, signListPrivateKeyTags, signListSupportedAssets, signListUserTags, signListWebhookEndpoints, signNOOPCodegenAnchor, signOauth, signOauth2Authenticate, signOauthLogin, signOtpAuth, signOtpLogin, signPostTvcQuorumKeyShare, signRawPayload, signRawPayloads, signRecoverUser, signRefreshFeatureFlags, signRejectActivity, signRemoveIpAllowlist, signRemoveOrganizationFeature, signRestoreTvcDeployment, signSetIpAllowlist, signSetOrganizationFeature, signSignRawPayload, signSignRawPayloads, signSignTransaction, signSolSendTransaction, signSparkClaimTransfer, signSparkPrepareLightningReceive, signSparkPrepareTransfer, signSparkSignFrost, signStampLogin, signTestRateLimits, signTransaction, signUpdateFiatOnRampCredential, signUpdateOauth2Credential, signUpdateOrganizationName, signUpdatePolicy, signUpdatePrivateKeyTag, signUpdateRootQuorum, signUpdateTvcAppLiveDeployment, signUpdateUser, signUpdateUserEmail, signUpdateUserName, signUpdateUserPhoneNumber, signUpdateUserTag, signUpdateWallet, signUpdateWebhookEndpoint, signValidateTvcImage, signVerifyOtp, solSendTransaction, sparkClaimTransfer, sparkPrepareLightningReceive, sparkPrepareTransfer, sparkSignFrost, stampLogin, testRateLimits, updateFiatOnRampCredential, updateOauth2Credential, updateOrganizationName, updatePolicy, updatePrivateKeyTag, updateRootQuorum, updateTvcAppLiveDeployment, updateUser, updateUserEmail, updateUserName, updateUserPhoneNumber, updateUserTag, updateWallet, updateWebhookEndpoint, validateTvcImage, verifyOtp };
2639
3189
  //# sourceMappingURL=public_api.fetcher.mjs.map