@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
@@ -7,17 +7,22 @@ import type { TGetAuthenticatorBody, TGetAuthenticatorResponse } from "./public_
7
7
  import type { TGetAuthenticatorsBody, TGetAuthenticatorsResponse } from "./public_api.fetcher";
8
8
  import type { TGetBootProofBody, TGetBootProofResponse } from "./public_api.fetcher";
9
9
  import type { TGetGasUsageBody, TGetGasUsageResponse } from "./public_api.fetcher";
10
+ import type { TGetIpAllowlistBody, TGetIpAllowlistResponse } from "./public_api.fetcher";
10
11
  import type { TGetLatestBootProofBody, TGetLatestBootProofResponse } from "./public_api.fetcher";
11
12
  import type { TGetNoncesBody, TGetNoncesResponse } from "./public_api.fetcher";
12
13
  import type { TGetOauth2CredentialBody, TGetOauth2CredentialResponse } from "./public_api.fetcher";
13
14
  import type { TGetOauthProvidersBody, TGetOauthProvidersResponse } from "./public_api.fetcher";
14
15
  import type { TGetOnRampTransactionStatusBody, TGetOnRampTransactionStatusResponse } from "./public_api.fetcher";
16
+ import type { TGetOrganizationBody, TGetOrganizationResponse } from "./public_api.fetcher";
15
17
  import type { TGetOrganizationConfigsBody, TGetOrganizationConfigsResponse } from "./public_api.fetcher";
16
18
  import type { TGetPolicyBody, TGetPolicyResponse } from "./public_api.fetcher";
17
19
  import type { TGetPolicyEvaluationsBody, TGetPolicyEvaluationsResponse } from "./public_api.fetcher";
18
20
  import type { TGetPrivateKeyBody, TGetPrivateKeyResponse } from "./public_api.fetcher";
19
21
  import type { TGetSendTransactionStatusBody, TGetSendTransactionStatusResponse } from "./public_api.fetcher";
20
22
  import type { TGetSmartContractInterfaceBody, TGetSmartContractInterfaceResponse } from "./public_api.fetcher";
23
+ import type { TGetTvcAppBody, TGetTvcAppResponse } from "./public_api.fetcher";
24
+ import type { TGetTvcDeploymentBody, TGetTvcDeploymentResponse } from "./public_api.fetcher";
25
+ import type { TGetTvcDeploymentProvisioningDetailsBody, TGetTvcDeploymentProvisioningDetailsResponse } from "./public_api.fetcher";
21
26
  import type { TGetUserBody, TGetUserResponse } from "./public_api.fetcher";
22
27
  import type { TGetWalletBody, TGetWalletResponse } from "./public_api.fetcher";
23
28
  import type { TGetWalletAccountBody, TGetWalletAccountResponse } from "./public_api.fetcher";
@@ -32,12 +37,15 @@ import type { TGetPrivateKeysBody, TGetPrivateKeysResponse } from "./public_api.
32
37
  import type { TGetSmartContractInterfacesBody, TGetSmartContractInterfacesResponse } from "./public_api.fetcher";
33
38
  import type { TGetSubOrgIdsBody, TGetSubOrgIdsResponse } from "./public_api.fetcher";
34
39
  import type { TListSupportedAssetsBody, TListSupportedAssetsResponse } from "./public_api.fetcher";
40
+ import type { TGetTvcAppDeploymentsBody, TGetTvcAppDeploymentsResponse } from "./public_api.fetcher";
41
+ import type { TGetTvcAppsBody, TGetTvcAppsResponse } from "./public_api.fetcher";
35
42
  import type { TListUserTagsBody, TListUserTagsResponse } from "./public_api.fetcher";
36
43
  import type { TGetUsersBody, TGetUsersResponse } from "./public_api.fetcher";
37
44
  import type { TGetVerifiedSubOrgIdsBody, TGetVerifiedSubOrgIdsResponse } from "./public_api.fetcher";
38
45
  import type { TGetWalletAccountsBody, TGetWalletAccountsResponse } from "./public_api.fetcher";
39
46
  import type { TGetWalletsBody, TGetWalletsResponse } from "./public_api.fetcher";
40
47
  import type { TListWebhookEndpointsBody, TListWebhookEndpointsResponse } from "./public_api.fetcher";
48
+ import type { TValidateTvcImageBody, TValidateTvcImageResponse } from "./public_api.fetcher";
41
49
  import type { TGetWhoamiBody, TGetWhoamiResponse } from "./public_api.fetcher";
42
50
  import type { TApproveActivityBody, TApproveActivityResponse } from "./public_api.fetcher";
43
51
  import type { TCreateApiKeysBody, TCreateApiKeysResponse } from "./public_api.fetcher";
@@ -55,6 +63,9 @@ import type { TCreateReadOnlySessionBody, TCreateReadOnlySessionResponse } from
55
63
  import type { TCreateReadWriteSessionBody, TCreateReadWriteSessionResponse } from "./public_api.fetcher";
56
64
  import type { TCreateSmartContractInterfaceBody, TCreateSmartContractInterfaceResponse } from "./public_api.fetcher";
57
65
  import type { TCreateSubOrganizationBody, TCreateSubOrganizationResponse } from "./public_api.fetcher";
66
+ import type { TCreateTvcAppBody, TCreateTvcAppResponse } from "./public_api.fetcher";
67
+ import type { TCreateTvcDeploymentBody, TCreateTvcDeploymentResponse } from "./public_api.fetcher";
68
+ import type { TCreateTvcManifestApprovalsBody, TCreateTvcManifestApprovalsResponse } from "./public_api.fetcher";
58
69
  import type { TCreateUserTagBody, TCreateUserTagResponse } from "./public_api.fetcher";
59
70
  import type { TCreateUsersBody, TCreateUsersResponse } from "./public_api.fetcher";
60
71
  import type { TCreateWalletBody, TCreateWalletResponse } from "./public_api.fetcher";
@@ -72,12 +83,15 @@ import type { TDeletePrivateKeyTagsBody, TDeletePrivateKeyTagsResponse } from ".
72
83
  import type { TDeletePrivateKeysBody, TDeletePrivateKeysResponse } from "./public_api.fetcher";
73
84
  import type { TDeleteSmartContractInterfaceBody, TDeleteSmartContractInterfaceResponse } from "./public_api.fetcher";
74
85
  import type { TDeleteSubOrganizationBody, TDeleteSubOrganizationResponse } from "./public_api.fetcher";
86
+ import type { TDeleteTvcAppAndDeploymentsBody, TDeleteTvcAppAndDeploymentsResponse } from "./public_api.fetcher";
87
+ import type { TDeleteTvcDeploymentBody, TDeleteTvcDeploymentResponse } from "./public_api.fetcher";
75
88
  import type { TDeleteUserTagsBody, TDeleteUserTagsResponse } from "./public_api.fetcher";
76
89
  import type { TDeleteUsersBody, TDeleteUsersResponse } from "./public_api.fetcher";
77
90
  import type { TDeleteWalletAccountsBody, TDeleteWalletAccountsResponse } from "./public_api.fetcher";
78
91
  import type { TDeleteWalletsBody, TDeleteWalletsResponse } from "./public_api.fetcher";
79
92
  import type { TDeleteWebhookEndpointBody, TDeleteWebhookEndpointResponse } from "./public_api.fetcher";
80
93
  import type { TEmailAuthBody, TEmailAuthResponse } from "./public_api.fetcher";
94
+ import type { TEthSendRawTransactionBody, TEthSendRawTransactionResponse } from "./public_api.fetcher";
81
95
  import type { TEthSendTransactionBody, TEthSendTransactionResponse } from "./public_api.fetcher";
82
96
  import type { TExportPrivateKeyBody, TExportPrivateKeyResponse } from "./public_api.fetcher";
83
97
  import type { TExportWalletBody, TExportWalletResponse } from "./public_api.fetcher";
@@ -95,14 +109,23 @@ import type { TOauth2AuthenticateBody, TOauth2AuthenticateResponse } from "./pub
95
109
  import type { TOauthLoginBody, TOauthLoginResponse } from "./public_api.fetcher";
96
110
  import type { TOtpAuthBody, TOtpAuthResponse } from "./public_api.fetcher";
97
111
  import type { TOtpLoginBody, TOtpLoginResponse } from "./public_api.fetcher";
112
+ import type { TPostTvcQuorumKeyShareBody, TPostTvcQuorumKeyShareResponse } from "./public_api.fetcher";
98
113
  import type { TRecoverUserBody, TRecoverUserResponse } from "./public_api.fetcher";
99
114
  import type { TRejectActivityBody, TRejectActivityResponse } from "./public_api.fetcher";
115
+ import type { TRemoveIpAllowlistBody, TRemoveIpAllowlistResponse } from "./public_api.fetcher";
100
116
  import type { TRemoveOrganizationFeatureBody, TRemoveOrganizationFeatureResponse } from "./public_api.fetcher";
117
+ import type { TRestoreTvcDeploymentBody, TRestoreTvcDeploymentResponse } from "./public_api.fetcher";
118
+ import type { TSetIpAllowlistBody, TSetIpAllowlistResponse } from "./public_api.fetcher";
101
119
  import type { TSetOrganizationFeatureBody, TSetOrganizationFeatureResponse } from "./public_api.fetcher";
120
+ import type { TUpdateTvcAppLiveDeploymentBody, TUpdateTvcAppLiveDeploymentResponse } from "./public_api.fetcher";
102
121
  import type { TSignRawPayloadBody, TSignRawPayloadResponse } from "./public_api.fetcher";
103
122
  import type { TSignRawPayloadsBody, TSignRawPayloadsResponse } from "./public_api.fetcher";
104
123
  import type { TSignTransactionBody, TSignTransactionResponse } from "./public_api.fetcher";
105
124
  import type { TSolSendTransactionBody, TSolSendTransactionResponse } from "./public_api.fetcher";
125
+ import type { TSparkClaimTransferBody, TSparkClaimTransferResponse } from "./public_api.fetcher";
126
+ import type { TSparkPrepareLightningReceiveBody, TSparkPrepareLightningReceiveResponse } from "./public_api.fetcher";
127
+ import type { TSparkPrepareTransferBody, TSparkPrepareTransferResponse } from "./public_api.fetcher";
128
+ import type { TSparkSignFrostBody, TSparkSignFrostResponse } from "./public_api.fetcher";
106
129
  import type { TStampLoginBody, TStampLoginResponse } from "./public_api.fetcher";
107
130
  import type { TUpdateFiatOnRampCredentialBody, TUpdateFiatOnRampCredentialResponse } from "./public_api.fetcher";
108
131
  import type { TUpdateOauth2CredentialBody, TUpdateOauth2CredentialResponse } from "./public_api.fetcher";
@@ -118,6 +141,8 @@ import type { TUpdateUserTagBody, TUpdateUserTagResponse } from "./public_api.fe
118
141
  import type { TUpdateWalletBody, TUpdateWalletResponse } from "./public_api.fetcher";
119
142
  import type { TUpdateWebhookEndpointBody, TUpdateWebhookEndpointResponse } from "./public_api.fetcher";
120
143
  import type { TVerifyOtpBody, TVerifyOtpResponse } from "./public_api.fetcher";
144
+ import type { TRefreshFeatureFlagsBody, TRefreshFeatureFlagsResponse } from "./public_api.fetcher";
145
+ import type { TTestRateLimitsBody, TTestRateLimitsResponse } from "./public_api.fetcher";
121
146
  export declare class TurnkeyClient {
122
147
  config: THttpConfig;
123
148
  stamper: TStamper;
@@ -236,6 +261,20 @@ export declare class TurnkeyClient {
236
261
  * See also {@link GetGasUsage}.
237
262
  */
238
263
  stampGetGasUsage: (input: TGetGasUsageBody) => Promise<TSignedRequest>;
264
+ /**
265
+ * Get IP allowlist and rules for an organization.
266
+ *
267
+ * Sign the provided `TGetIpAllowlistBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_ip_allowlist).
268
+ *
269
+ * See also {@link stampGetIpAllowlist}.
270
+ */
271
+ getIpAllowlist: (input: TGetIpAllowlistBody) => Promise<TGetIpAllowlistResponse>;
272
+ /**
273
+ * Produce a `SignedRequest` from `TGetIpAllowlistBody` by using the client's `stamp` function.
274
+ *
275
+ * See also {@link GetIpAllowlist}.
276
+ */
277
+ stampGetIpAllowlist: (input: TGetIpAllowlistBody) => Promise<TSignedRequest>;
239
278
  /**
240
279
  * Get the latest boot proof for a given enclave app name.
241
280
  *
@@ -306,6 +345,20 @@ export declare class TurnkeyClient {
306
345
  * See also {@link GetOnRampTransactionStatus}.
307
346
  */
308
347
  stampGetOnRampTransactionStatus: (input: TGetOnRampTransactionStatusBody) => Promise<TSignedRequest>;
348
+ /**
349
+ * Get details about an organization.
350
+ *
351
+ * Sign the provided `TGetOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_organization).
352
+ *
353
+ * See also {@link stampGetOrganization}.
354
+ */
355
+ getOrganization: (input: TGetOrganizationBody) => Promise<TGetOrganizationResponse>;
356
+ /**
357
+ * Produce a `SignedRequest` from `TGetOrganizationBody` by using the client's `stamp` function.
358
+ *
359
+ * See also {@link GetOrganization}.
360
+ */
361
+ stampGetOrganization: (input: TGetOrganizationBody) => Promise<TSignedRequest>;
309
362
  /**
310
363
  * Get quorum settings and features for an organization.
311
364
  *
@@ -390,6 +443,48 @@ export declare class TurnkeyClient {
390
443
  * See also {@link GetSmartContractInterface}.
391
444
  */
392
445
  stampGetSmartContractInterface: (input: TGetSmartContractInterfaceBody) => Promise<TSignedRequest>;
446
+ /**
447
+ * Get details about a single TVC App
448
+ *
449
+ * Sign the provided `TGetTvcAppBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_tvc_app).
450
+ *
451
+ * See also {@link stampGetTvcApp}.
452
+ */
453
+ getTvcApp: (input: TGetTvcAppBody) => Promise<TGetTvcAppResponse>;
454
+ /**
455
+ * Produce a `SignedRequest` from `TGetTvcAppBody` by using the client's `stamp` function.
456
+ *
457
+ * See also {@link GetTvcApp}.
458
+ */
459
+ stampGetTvcApp: (input: TGetTvcAppBody) => Promise<TSignedRequest>;
460
+ /**
461
+ * Get details about a single TVC Deployment
462
+ *
463
+ * Sign the provided `TGetTvcDeploymentBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_tvc_deployment).
464
+ *
465
+ * See also {@link stampGetTvcDeployment}.
466
+ */
467
+ getTvcDeployment: (input: TGetTvcDeploymentBody) => Promise<TGetTvcDeploymentResponse>;
468
+ /**
469
+ * Produce a `SignedRequest` from `TGetTvcDeploymentBody` by using the client's `stamp` function.
470
+ *
471
+ * See also {@link GetTvcDeployment}.
472
+ */
473
+ stampGetTvcDeployment: (input: TGetTvcDeploymentBody) => Promise<TSignedRequest>;
474
+ /**
475
+ * Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment
476
+ *
477
+ * Sign the provided `TGetTvcDeploymentProvisioningDetailsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_tvc_deployment_provisioning_details).
478
+ *
479
+ * See also {@link stampGetTvcDeploymentProvisioningDetails}.
480
+ */
481
+ getTvcDeploymentProvisioningDetails: (input: TGetTvcDeploymentProvisioningDetailsBody) => Promise<TGetTvcDeploymentProvisioningDetailsResponse>;
482
+ /**
483
+ * Produce a `SignedRequest` from `TGetTvcDeploymentProvisioningDetailsBody` by using the client's `stamp` function.
484
+ *
485
+ * See also {@link GetTvcDeploymentProvisioningDetails}.
486
+ */
487
+ stampGetTvcDeploymentProvisioningDetails: (input: TGetTvcDeploymentProvisioningDetailsBody) => Promise<TSignedRequest>;
393
488
  /**
394
489
  * Get details about a user.
395
490
  *
@@ -586,6 +681,34 @@ export declare class TurnkeyClient {
586
681
  * See also {@link ListSupportedAssets}.
587
682
  */
588
683
  stampListSupportedAssets: (input: TListSupportedAssetsBody) => Promise<TSignedRequest>;
684
+ /**
685
+ * List all deployments for a given TVC App
686
+ *
687
+ * Sign the provided `TGetTvcAppDeploymentsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_tvc_app_deployments).
688
+ *
689
+ * See also {@link stampGetTvcAppDeployments}.
690
+ */
691
+ getTvcAppDeployments: (input: TGetTvcAppDeploymentsBody) => Promise<TGetTvcAppDeploymentsResponse>;
692
+ /**
693
+ * Produce a `SignedRequest` from `TGetTvcAppDeploymentsBody` by using the client's `stamp` function.
694
+ *
695
+ * See also {@link GetTvcAppDeployments}.
696
+ */
697
+ stampGetTvcAppDeployments: (input: TGetTvcAppDeploymentsBody) => Promise<TSignedRequest>;
698
+ /**
699
+ * List all TVC Apps within an organization.
700
+ *
701
+ * Sign the provided `TGetTvcAppsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_tvc_apps).
702
+ *
703
+ * See also {@link stampGetTvcApps}.
704
+ */
705
+ getTvcApps: (input: TGetTvcAppsBody) => Promise<TGetTvcAppsResponse>;
706
+ /**
707
+ * Produce a `SignedRequest` from `TGetTvcAppsBody` by using the client's `stamp` function.
708
+ *
709
+ * See also {@link GetTvcApps}.
710
+ */
711
+ stampGetTvcApps: (input: TGetTvcAppsBody) => Promise<TSignedRequest>;
589
712
  /**
590
713
  * List all user tags within an organization.
591
714
  *
@@ -670,6 +793,20 @@ export declare class TurnkeyClient {
670
793
  * See also {@link ListWebhookEndpoints}.
671
794
  */
672
795
  stampListWebhookEndpoints: (input: TListWebhookEndpointsBody) => Promise<TSignedRequest>;
796
+ /**
797
+ * Validate a container image URL and pull secret for TVC deployment
798
+ *
799
+ * Sign the provided `TValidateTvcImageBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/validate_tvc_image).
800
+ *
801
+ * See also {@link stampValidateTvcImage}.
802
+ */
803
+ validateTvcImage: (input: TValidateTvcImageBody) => Promise<TValidateTvcImageResponse>;
804
+ /**
805
+ * Produce a `SignedRequest` from `TValidateTvcImageBody` by using the client's `stamp` function.
806
+ *
807
+ * See also {@link ValidateTvcImage}.
808
+ */
809
+ stampValidateTvcImage: (input: TValidateTvcImageBody) => Promise<TSignedRequest>;
673
810
  /**
674
811
  * 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.
675
812
  *
@@ -908,6 +1045,48 @@ export declare class TurnkeyClient {
908
1045
  * See also {@link CreateSubOrganization}.
909
1046
  */
910
1047
  stampCreateSubOrganization: (input: TCreateSubOrganizationBody) => Promise<TSignedRequest>;
1048
+ /**
1049
+ * Create a new TVC application
1050
+ *
1051
+ * Sign the provided `TCreateTvcAppBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_tvc_app).
1052
+ *
1053
+ * See also {@link stampCreateTvcApp}.
1054
+ */
1055
+ createTvcApp: (input: TCreateTvcAppBody) => Promise<TCreateTvcAppResponse>;
1056
+ /**
1057
+ * Produce a `SignedRequest` from `TCreateTvcAppBody` by using the client's `stamp` function.
1058
+ *
1059
+ * See also {@link CreateTvcApp}.
1060
+ */
1061
+ stampCreateTvcApp: (input: TCreateTvcAppBody) => Promise<TSignedRequest>;
1062
+ /**
1063
+ * Create a new TVC Deployment
1064
+ *
1065
+ * Sign the provided `TCreateTvcDeploymentBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_tvc_deployment).
1066
+ *
1067
+ * See also {@link stampCreateTvcDeployment}.
1068
+ */
1069
+ createTvcDeployment: (input: TCreateTvcDeploymentBody) => Promise<TCreateTvcDeploymentResponse>;
1070
+ /**
1071
+ * Produce a `SignedRequest` from `TCreateTvcDeploymentBody` by using the client's `stamp` function.
1072
+ *
1073
+ * See also {@link CreateTvcDeployment}.
1074
+ */
1075
+ stampCreateTvcDeployment: (input: TCreateTvcDeploymentBody) => Promise<TSignedRequest>;
1076
+ /**
1077
+ * Post one or more manifest approvals for a TVC Manifest
1078
+ *
1079
+ * Sign the provided `TCreateTvcManifestApprovalsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_tvc_manifest_approvals).
1080
+ *
1081
+ * See also {@link stampCreateTvcManifestApprovals}.
1082
+ */
1083
+ createTvcManifestApprovals: (input: TCreateTvcManifestApprovalsBody) => Promise<TCreateTvcManifestApprovalsResponse>;
1084
+ /**
1085
+ * Produce a `SignedRequest` from `TCreateTvcManifestApprovalsBody` by using the client's `stamp` function.
1086
+ *
1087
+ * See also {@link CreateTvcManifestApprovals}.
1088
+ */
1089
+ stampCreateTvcManifestApprovals: (input: TCreateTvcManifestApprovalsBody) => Promise<TSignedRequest>;
911
1090
  /**
912
1091
  * Create a user tag and add it to users.
913
1092
  *
@@ -1146,6 +1325,34 @@ export declare class TurnkeyClient {
1146
1325
  * See also {@link DeleteSubOrganization}.
1147
1326
  */
1148
1327
  stampDeleteSubOrganization: (input: TDeleteSubOrganizationBody) => Promise<TSignedRequest>;
1328
+ /**
1329
+ * Delete a TVC App and all of its deployments
1330
+ *
1331
+ * Sign the provided `TDeleteTvcAppAndDeploymentsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_tvc_app_and_deployments).
1332
+ *
1333
+ * See also {@link stampDeleteTvcAppAndDeployments}.
1334
+ */
1335
+ deleteTvcAppAndDeployments: (input: TDeleteTvcAppAndDeploymentsBody) => Promise<TDeleteTvcAppAndDeploymentsResponse>;
1336
+ /**
1337
+ * Produce a `SignedRequest` from `TDeleteTvcAppAndDeploymentsBody` by using the client's `stamp` function.
1338
+ *
1339
+ * See also {@link DeleteTvcAppAndDeployments}.
1340
+ */
1341
+ stampDeleteTvcAppAndDeployments: (input: TDeleteTvcAppAndDeploymentsBody) => Promise<TSignedRequest>;
1342
+ /**
1343
+ * Delete a TVC Deployment
1344
+ *
1345
+ * Sign the provided `TDeleteTvcDeploymentBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_tvc_deployment).
1346
+ *
1347
+ * See also {@link stampDeleteTvcDeployment}.
1348
+ */
1349
+ deleteTvcDeployment: (input: TDeleteTvcDeploymentBody) => Promise<TDeleteTvcDeploymentResponse>;
1350
+ /**
1351
+ * Produce a `SignedRequest` from `TDeleteTvcDeploymentBody` by using the client's `stamp` function.
1352
+ *
1353
+ * See also {@link DeleteTvcDeployment}.
1354
+ */
1355
+ stampDeleteTvcDeployment: (input: TDeleteTvcDeploymentBody) => Promise<TSignedRequest>;
1149
1356
  /**
1150
1357
  * Delete user tags within an organization.
1151
1358
  *
@@ -1230,6 +1437,20 @@ export declare class TurnkeyClient {
1230
1437
  * See also {@link EmailAuth}.
1231
1438
  */
1232
1439
  stampEmailAuth: (input: TEmailAuthBody) => Promise<TSignedRequest>;
1440
+ /**
1441
+ * Submit a raw transaction (serialized and signed) for broadcasting to the network.
1442
+ *
1443
+ * Sign the provided `TEthSendRawTransactionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/eth_send_raw_transaction).
1444
+ *
1445
+ * See also {@link stampEthSendRawTransaction}.
1446
+ */
1447
+ ethSendRawTransaction: (input: TEthSendRawTransactionBody) => Promise<TEthSendRawTransactionResponse>;
1448
+ /**
1449
+ * Produce a `SignedRequest` from `TEthSendRawTransactionBody` by using the client's `stamp` function.
1450
+ *
1451
+ * See also {@link EthSendRawTransaction}.
1452
+ */
1453
+ stampEthSendRawTransaction: (input: TEthSendRawTransactionBody) => Promise<TSignedRequest>;
1233
1454
  /**
1234
1455
  * Submit a transaction intent describing an EVM transaction you would like to broadcast.
1235
1456
  *
@@ -1468,6 +1689,20 @@ export declare class TurnkeyClient {
1468
1689
  * See also {@link OtpLogin}.
1469
1690
  */
1470
1691
  stampOtpLogin: (input: TOtpLoginBody) => Promise<TSignedRequest>;
1692
+ /**
1693
+ * Post re-encrypted quorum key share for a TVC deployment.
1694
+ *
1695
+ * Sign the provided `TPostTvcQuorumKeyShareBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/post_tvc_quorum_key_share).
1696
+ *
1697
+ * See also {@link stampPostTvcQuorumKeyShare}.
1698
+ */
1699
+ postTvcQuorumKeyShare: (input: TPostTvcQuorumKeyShareBody) => Promise<TPostTvcQuorumKeyShareResponse>;
1700
+ /**
1701
+ * Produce a `SignedRequest` from `TPostTvcQuorumKeyShareBody` by using the client's `stamp` function.
1702
+ *
1703
+ * See also {@link PostTvcQuorumKeyShare}.
1704
+ */
1705
+ stampPostTvcQuorumKeyShare: (input: TPostTvcQuorumKeyShareBody) => Promise<TSignedRequest>;
1471
1706
  /**
1472
1707
  * Complete the process of recovering a user by adding an authenticator.
1473
1708
  *
@@ -1496,6 +1731,20 @@ export declare class TurnkeyClient {
1496
1731
  * See also {@link RejectActivity}.
1497
1732
  */
1498
1733
  stampRejectActivity: (input: TRejectActivityBody) => Promise<TSignedRequest>;
1734
+ /**
1735
+ * 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).
1736
+ *
1737
+ * Sign the provided `TRemoveIpAllowlistBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/remove_ip_allowlist).
1738
+ *
1739
+ * See also {@link stampRemoveIpAllowlist}.
1740
+ */
1741
+ removeIpAllowlist: (input: TRemoveIpAllowlistBody) => Promise<TRemoveIpAllowlistResponse>;
1742
+ /**
1743
+ * Produce a `SignedRequest` from `TRemoveIpAllowlistBody` by using the client's `stamp` function.
1744
+ *
1745
+ * See also {@link RemoveIpAllowlist}.
1746
+ */
1747
+ stampRemoveIpAllowlist: (input: TRemoveIpAllowlistBody) => Promise<TSignedRequest>;
1499
1748
  /**
1500
1749
  * Remove an organization feature. This activity must be approved by the current root quorum.
1501
1750
  *
@@ -1510,6 +1759,34 @@ export declare class TurnkeyClient {
1510
1759
  * See also {@link RemoveOrganizationFeature}.
1511
1760
  */
1512
1761
  stampRemoveOrganizationFeature: (input: TRemoveOrganizationFeatureBody) => Promise<TSignedRequest>;
1762
+ /**
1763
+ * Restore a deleted TVC Deployment
1764
+ *
1765
+ * Sign the provided `TRestoreTvcDeploymentBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/restore_tvc_deployment).
1766
+ *
1767
+ * See also {@link stampRestoreTvcDeployment}.
1768
+ */
1769
+ restoreTvcDeployment: (input: TRestoreTvcDeploymentBody) => Promise<TRestoreTvcDeploymentResponse>;
1770
+ /**
1771
+ * Produce a `SignedRequest` from `TRestoreTvcDeploymentBody` by using the client's `stamp` function.
1772
+ *
1773
+ * See also {@link RestoreTvcDeployment}.
1774
+ */
1775
+ stampRestoreTvcDeployment: (input: TRestoreTvcDeploymentBody) => Promise<TSignedRequest>;
1776
+ /**
1777
+ * 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.
1778
+ *
1779
+ * Sign the provided `TSetIpAllowlistBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/set_ip_allowlist).
1780
+ *
1781
+ * See also {@link stampSetIpAllowlist}.
1782
+ */
1783
+ setIpAllowlist: (input: TSetIpAllowlistBody) => Promise<TSetIpAllowlistResponse>;
1784
+ /**
1785
+ * Produce a `SignedRequest` from `TSetIpAllowlistBody` by using the client's `stamp` function.
1786
+ *
1787
+ * See also {@link SetIpAllowlist}.
1788
+ */
1789
+ stampSetIpAllowlist: (input: TSetIpAllowlistBody) => Promise<TSignedRequest>;
1513
1790
  /**
1514
1791
  * Set an organization feature. This activity must be approved by the current root quorum.
1515
1792
  *
@@ -1524,6 +1801,20 @@ export declare class TurnkeyClient {
1524
1801
  * See also {@link SetOrganizationFeature}.
1525
1802
  */
1526
1803
  stampSetOrganizationFeature: (input: TSetOrganizationFeatureBody) => Promise<TSignedRequest>;
1804
+ /**
1805
+ * Set the live deployment for a TVC App
1806
+ *
1807
+ * Sign the provided `TUpdateTvcAppLiveDeploymentBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/set_tvc_app_live_deployment).
1808
+ *
1809
+ * See also {@link stampUpdateTvcAppLiveDeployment}.
1810
+ */
1811
+ updateTvcAppLiveDeployment: (input: TUpdateTvcAppLiveDeploymentBody) => Promise<TUpdateTvcAppLiveDeploymentResponse>;
1812
+ /**
1813
+ * Produce a `SignedRequest` from `TUpdateTvcAppLiveDeploymentBody` by using the client's `stamp` function.
1814
+ *
1815
+ * See also {@link UpdateTvcAppLiveDeployment}.
1816
+ */
1817
+ stampUpdateTvcAppLiveDeployment: (input: TUpdateTvcAppLiveDeploymentBody) => Promise<TSignedRequest>;
1527
1818
  /**
1528
1819
  * Sign a raw payload.
1529
1820
  *
@@ -1580,6 +1871,62 @@ export declare class TurnkeyClient {
1580
1871
  * See also {@link SolSendTransaction}.
1581
1872
  */
1582
1873
  stampSolSendTransaction: (input: TSolSendTransactionBody) => Promise<TSignedRequest>;
1874
+ /**
1875
+ * Construct receiver-side encrypted operator packages to claim a Spark transfer. Does not perform FROST signing.
1876
+ *
1877
+ * Sign the provided `TSparkClaimTransferBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/spark_claim_transfer).
1878
+ *
1879
+ * See also {@link stampSparkClaimTransfer}.
1880
+ */
1881
+ sparkClaimTransfer: (input: TSparkClaimTransferBody) => Promise<TSparkClaimTransferResponse>;
1882
+ /**
1883
+ * Produce a `SignedRequest` from `TSparkClaimTransferBody` by using the client's `stamp` function.
1884
+ *
1885
+ * See also {@link SparkClaimTransfer}.
1886
+ */
1887
+ stampSparkClaimTransfer: (input: TSparkClaimTransferBody) => Promise<TSignedRequest>;
1888
+ /**
1889
+ * Generate a Lightning preimage and distribute Feldman shares to operators for a Spark Lightning receive. Does not perform FROST signing.
1890
+ *
1891
+ * Sign the provided `TSparkPrepareLightningReceiveBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/spark_prepare_lightning_receive).
1892
+ *
1893
+ * See also {@link stampSparkPrepareLightningReceive}.
1894
+ */
1895
+ sparkPrepareLightningReceive: (input: TSparkPrepareLightningReceiveBody) => Promise<TSparkPrepareLightningReceiveResponse>;
1896
+ /**
1897
+ * Produce a `SignedRequest` from `TSparkPrepareLightningReceiveBody` by using the client's `stamp` function.
1898
+ *
1899
+ * See also {@link SparkPrepareLightningReceive}.
1900
+ */
1901
+ stampSparkPrepareLightningReceive: (input: TSparkPrepareLightningReceiveBody) => Promise<TSignedRequest>;
1902
+ /**
1903
+ * Construct sender-side encrypted operator packages for a Spark BTC transfer. Does not perform FROST signing.
1904
+ *
1905
+ * Sign the provided `TSparkPrepareTransferBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/spark_prepare_transfer).
1906
+ *
1907
+ * See also {@link stampSparkPrepareTransfer}.
1908
+ */
1909
+ sparkPrepareTransfer: (input: TSparkPrepareTransferBody) => Promise<TSparkPrepareTransferResponse>;
1910
+ /**
1911
+ * Produce a `SignedRequest` from `TSparkPrepareTransferBody` by using the client's `stamp` function.
1912
+ *
1913
+ * See also {@link SparkPrepareTransfer}.
1914
+ */
1915
+ stampSparkPrepareTransfer: (input: TSparkPrepareTransferBody) => Promise<TSignedRequest>;
1916
+ /**
1917
+ * Perform pure FROST partial signing for a Spark wallet. Produces partial signatures without constructing operator packages.
1918
+ *
1919
+ * Sign the provided `TSparkSignFrostBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/spark_sign_frost).
1920
+ *
1921
+ * See also {@link stampSparkSignFrost}.
1922
+ */
1923
+ sparkSignFrost: (input: TSparkSignFrostBody) => Promise<TSparkSignFrostResponse>;
1924
+ /**
1925
+ * Produce a `SignedRequest` from `TSparkSignFrostBody` by using the client's `stamp` function.
1926
+ *
1927
+ * See also {@link SparkSignFrost}.
1928
+ */
1929
+ stampSparkSignFrost: (input: TSparkSignFrostBody) => Promise<TSignedRequest>;
1583
1930
  /**
1584
1931
  * Create a session for a user through stamping client side (API key, wallet client, or passkey client).
1585
1932
  *
@@ -1790,5 +2137,33 @@ export declare class TurnkeyClient {
1790
2137
  * See also {@link VerifyOtp}.
1791
2138
  */
1792
2139
  stampVerifyOtp: (input: TVerifyOtpBody) => Promise<TSignedRequest>;
2140
+ /**
2141
+ * Refresh feature flags by triggering a DB read to flush the in-memory cache.
2142
+ *
2143
+ * Sign the provided `TRefreshFeatureFlagsBody` with the client's `stamp` function, and submit the request (POST /tkhq/api/v1/refresh_feature_flags).
2144
+ *
2145
+ * See also {@link stampRefreshFeatureFlags}.
2146
+ */
2147
+ refreshFeatureFlags: (input: TRefreshFeatureFlagsBody) => Promise<TRefreshFeatureFlagsResponse>;
2148
+ /**
2149
+ * Produce a `SignedRequest` from `TRefreshFeatureFlagsBody` by using the client's `stamp` function.
2150
+ *
2151
+ * See also {@link RefreshFeatureFlags}.
2152
+ */
2153
+ stampRefreshFeatureFlags: (input: TRefreshFeatureFlagsBody) => Promise<TSignedRequest>;
2154
+ /**
2155
+ * Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.
2156
+ *
2157
+ * Sign the provided `TTestRateLimitsBody` with the client's `stamp` function, and submit the request (POST /tkhq/api/v1/test_rate_limits).
2158
+ *
2159
+ * See also {@link stampTestRateLimits}.
2160
+ */
2161
+ testRateLimits: (input: TTestRateLimitsBody) => Promise<TTestRateLimitsResponse>;
2162
+ /**
2163
+ * Produce a `SignedRequest` from `TTestRateLimitsBody` by using the client's `stamp` function.
2164
+ *
2165
+ * See also {@link TestRateLimits}.
2166
+ */
2167
+ stampTestRateLimits: (input: TTestRateLimitsBody) => Promise<TSignedRequest>;
1793
2168
  }
1794
2169
  //# sourceMappingURL=public_api.client.d.ts.map