@turnkey/http 4.1.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +515 -5
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +855 -5
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +855 -5
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +75730 -8740
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +821 -5
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +754 -6
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +1992 -70
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/async.d.ts.map +1 -1
- package/dist/async.js +24 -0
- package/dist/async.js.map +1 -1
- package/dist/async.mjs +24 -0
- package/dist/async.mjs.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +2 -2
|
@@ -6,9 +6,16 @@ import type { TGetAppStatusBody, TGetAppStatusResponse } from "./public_api.fetc
|
|
|
6
6
|
import type { TGetAuthenticatorBody, TGetAuthenticatorResponse } from "./public_api.fetcher";
|
|
7
7
|
import type { TGetAuthenticatorsBody, TGetAuthenticatorsResponse } from "./public_api.fetcher";
|
|
8
8
|
import type { TGetBootProofBody, TGetBootProofResponse } from "./public_api.fetcher";
|
|
9
|
+
import type { TGetClaimEarnFeesStatusBody, TGetClaimEarnFeesStatusResponse } from "./public_api.fetcher";
|
|
10
|
+
import type { TGetEarnDeployStatusBody, TGetEarnDeployStatusResponse } from "./public_api.fetcher";
|
|
11
|
+
import type { TGetEarnDepositStatusBody, TGetEarnDepositStatusResponse } from "./public_api.fetcher";
|
|
12
|
+
import type { TGetEarnWithdrawStatusBody, TGetEarnWithdrawStatusResponse } from "./public_api.fetcher";
|
|
9
13
|
import type { TGetGasUsageBody, TGetGasUsageResponse } from "./public_api.fetcher";
|
|
10
14
|
import type { TGetIpAllowlistBody, TGetIpAllowlistResponse } from "./public_api.fetcher";
|
|
11
15
|
import type { TGetLatestBootProofBody, TGetLatestBootProofResponse } from "./public_api.fetcher";
|
|
16
|
+
import type { TGetMfaPoliciesBody, TGetMfaPoliciesResponse } from "./public_api.fetcher";
|
|
17
|
+
import type { TGetMfaPolicyBody, TGetMfaPolicyResponse } from "./public_api.fetcher";
|
|
18
|
+
import type { TGetMfaStatusBody, TGetMfaStatusResponse } from "./public_api.fetcher";
|
|
12
19
|
import type { TGetNoncesBody, TGetNoncesResponse } from "./public_api.fetcher";
|
|
13
20
|
import type { TGetOauth2CredentialBody, TGetOauth2CredentialResponse } from "./public_api.fetcher";
|
|
14
21
|
import type { TGetOauthProvidersBody, TGetOauthProvidersResponse } from "./public_api.fetcher";
|
|
@@ -19,9 +26,14 @@ import type { TGetPolicyBody, TGetPolicyResponse } from "./public_api.fetcher";
|
|
|
19
26
|
import type { TGetPolicyEvaluationsBody, TGetPolicyEvaluationsResponse } from "./public_api.fetcher";
|
|
20
27
|
import type { TGetPrivateKeyBody, TGetPrivateKeyResponse } from "./public_api.fetcher";
|
|
21
28
|
import type { TGetSendTransactionStatusBody, TGetSendTransactionStatusResponse } from "./public_api.fetcher";
|
|
29
|
+
import type { TGetSessionProfileBody, TGetSessionProfileResponse } from "./public_api.fetcher";
|
|
30
|
+
import type { TGetSessionProfilesBody, TGetSessionProfilesResponse } from "./public_api.fetcher";
|
|
22
31
|
import type { TGetSmartContractInterfaceBody, TGetSmartContractInterfaceResponse } from "./public_api.fetcher";
|
|
32
|
+
import type { TGetSwapQuoteBody, TGetSwapQuoteResponse } from "./public_api.fetcher";
|
|
33
|
+
import type { TGetSwapStatusBody, TGetSwapStatusResponse } from "./public_api.fetcher";
|
|
23
34
|
import type { TGetTvcAppBody, TGetTvcAppResponse } from "./public_api.fetcher";
|
|
24
35
|
import type { TGetTvcDeploymentBody, TGetTvcDeploymentResponse } from "./public_api.fetcher";
|
|
36
|
+
import type { TGetTvcDeploymentDebugLogsBody, TGetTvcDeploymentDebugLogsResponse } from "./public_api.fetcher";
|
|
25
37
|
import type { TGetTvcDeploymentProvisioningDetailsBody, TGetTvcDeploymentProvisioningDetailsResponse } from "./public_api.fetcher";
|
|
26
38
|
import type { TGetUserBody, TGetUserResponse } from "./public_api.fetcher";
|
|
27
39
|
import type { TGetWalletBody, TGetWalletResponse } from "./public_api.fetcher";
|
|
@@ -29,12 +41,18 @@ import type { TGetWalletAccountBody, TGetWalletAccountResponse } from "./public_
|
|
|
29
41
|
import type { TGetWalletAddressBalancesBody, TGetWalletAddressBalancesResponse } from "./public_api.fetcher";
|
|
30
42
|
import type { TGetActivitiesBody, TGetActivitiesResponse } from "./public_api.fetcher";
|
|
31
43
|
import type { TGetAppProofsBody, TGetAppProofsResponse } from "./public_api.fetcher";
|
|
44
|
+
import type { TListEarnEnabledVaultsBody, TListEarnEnabledVaultsResponse } from "./public_api.fetcher";
|
|
45
|
+
import type { TListEarnPositionsBody, TListEarnPositionsResponse } from "./public_api.fetcher";
|
|
46
|
+
import type { TListEarnVaultsBody, TListEarnVaultsResponse } from "./public_api.fetcher";
|
|
47
|
+
import type { TListEmailEventsBody, TListEmailEventsResponse } from "./public_api.fetcher";
|
|
48
|
+
import type { TListEthTransactionHistoryBody, TListEthTransactionHistoryResponse } from "./public_api.fetcher";
|
|
32
49
|
import type { TListFiatOnRampCredentialsBody, TListFiatOnRampCredentialsResponse } from "./public_api.fetcher";
|
|
33
50
|
import type { TListOauth2CredentialsBody, TListOauth2CredentialsResponse } from "./public_api.fetcher";
|
|
34
51
|
import type { TGetPoliciesBody, TGetPoliciesResponse } from "./public_api.fetcher";
|
|
35
52
|
import type { TListPrivateKeyTagsBody, TListPrivateKeyTagsResponse } from "./public_api.fetcher";
|
|
36
53
|
import type { TGetPrivateKeysBody, TGetPrivateKeysResponse } from "./public_api.fetcher";
|
|
37
54
|
import type { TGetSmartContractInterfacesBody, TGetSmartContractInterfacesResponse } from "./public_api.fetcher";
|
|
55
|
+
import type { TListSolTransactionHistoryBody, TListSolTransactionHistoryResponse } from "./public_api.fetcher";
|
|
38
56
|
import type { TGetSubOrgIdsBody, TGetSubOrgIdsResponse } from "./public_api.fetcher";
|
|
39
57
|
import type { TListSupportedAssetsBody, TListSupportedAssetsResponse } from "./public_api.fetcher";
|
|
40
58
|
import type { TGetTvcAppDeploymentsBody, TGetTvcAppDeploymentsResponse } from "./public_api.fetcher";
|
|
@@ -48,11 +66,14 @@ import type { TListWebhookEndpointsBody, TListWebhookEndpointsResponse } from ".
|
|
|
48
66
|
import type { TValidateTvcImageBody, TValidateTvcImageResponse } from "./public_api.fetcher";
|
|
49
67
|
import type { TGetWhoamiBody, TGetWhoamiResponse } from "./public_api.fetcher";
|
|
50
68
|
import type { TApproveActivityBody, TApproveActivityResponse } from "./public_api.fetcher";
|
|
69
|
+
import type { TClaimEarnFeesBody, TClaimEarnFeesResponse } from "./public_api.fetcher";
|
|
70
|
+
import type { TClaimSwapFeesBody, TClaimSwapFeesResponse } from "./public_api.fetcher";
|
|
51
71
|
import type { TCreateApiKeysBody, TCreateApiKeysResponse } from "./public_api.fetcher";
|
|
52
72
|
import type { TCreateApiOnlyUsersBody, TCreateApiOnlyUsersResponse } from "./public_api.fetcher";
|
|
53
73
|
import type { TCreateAuthenticatorsBody, TCreateAuthenticatorsResponse } from "./public_api.fetcher";
|
|
54
74
|
import type { TCreateFiatOnRampCredentialBody, TCreateFiatOnRampCredentialResponse } from "./public_api.fetcher";
|
|
55
75
|
import type { TCreateInvitationsBody, TCreateInvitationsResponse } from "./public_api.fetcher";
|
|
76
|
+
import type { TCreateMfaPolicyBody, TCreateMfaPolicyResponse } from "./public_api.fetcher";
|
|
56
77
|
import type { TCreateOauth2CredentialBody, TCreateOauth2CredentialResponse } from "./public_api.fetcher";
|
|
57
78
|
import type { TCreateOauthProvidersBody, TCreateOauthProvidersResponse } from "./public_api.fetcher";
|
|
58
79
|
import type { TCreatePoliciesBody, TCreatePoliciesResponse } from "./public_api.fetcher";
|
|
@@ -61,11 +82,14 @@ import type { TCreatePrivateKeyTagBody, TCreatePrivateKeyTagResponse } from "./p
|
|
|
61
82
|
import type { TCreatePrivateKeysBody, TCreatePrivateKeysResponse } from "./public_api.fetcher";
|
|
62
83
|
import type { TCreateReadOnlySessionBody, TCreateReadOnlySessionResponse } from "./public_api.fetcher";
|
|
63
84
|
import type { TCreateReadWriteSessionBody, TCreateReadWriteSessionResponse } from "./public_api.fetcher";
|
|
85
|
+
import type { TCreateSessionProfileBody, TCreateSessionProfileResponse } from "./public_api.fetcher";
|
|
64
86
|
import type { TCreateSmartContractInterfaceBody, TCreateSmartContractInterfaceResponse } from "./public_api.fetcher";
|
|
65
87
|
import type { TCreateSubOrganizationBody, TCreateSubOrganizationResponse } from "./public_api.fetcher";
|
|
66
88
|
import type { TCreateTvcAppBody, TCreateTvcAppResponse } from "./public_api.fetcher";
|
|
67
89
|
import type { TCreateTvcDeploymentBody, TCreateTvcDeploymentResponse } from "./public_api.fetcher";
|
|
68
90
|
import type { TCreateTvcManifestApprovalsBody, TCreateTvcManifestApprovalsResponse } from "./public_api.fetcher";
|
|
91
|
+
import type { TCreateTvcOperatorBody, TCreateTvcOperatorResponse } from "./public_api.fetcher";
|
|
92
|
+
import type { TCreateTvcQuorumKeyBody, TCreateTvcQuorumKeyResponse } from "./public_api.fetcher";
|
|
69
93
|
import type { TCreateUserTagBody, TCreateUserTagResponse } from "./public_api.fetcher";
|
|
70
94
|
import type { TCreateUsersBody, TCreateUsersResponse } from "./public_api.fetcher";
|
|
71
95
|
import type { TCreateWalletBody, TCreateWalletResponse } from "./public_api.fetcher";
|
|
@@ -75,6 +99,7 @@ import type { TDeleteApiKeysBody, TDeleteApiKeysResponse } from "./public_api.fe
|
|
|
75
99
|
import type { TDeleteAuthenticatorsBody, TDeleteAuthenticatorsResponse } from "./public_api.fetcher";
|
|
76
100
|
import type { TDeleteFiatOnRampCredentialBody, TDeleteFiatOnRampCredentialResponse } from "./public_api.fetcher";
|
|
77
101
|
import type { TDeleteInvitationBody, TDeleteInvitationResponse } from "./public_api.fetcher";
|
|
102
|
+
import type { TDeleteMfaPolicyBody, TDeleteMfaPolicyResponse } from "./public_api.fetcher";
|
|
78
103
|
import type { TDeleteOauth2CredentialBody, TDeleteOauth2CredentialResponse } from "./public_api.fetcher";
|
|
79
104
|
import type { TDeleteOauthProvidersBody, TDeleteOauthProvidersResponse } from "./public_api.fetcher";
|
|
80
105
|
import type { TDeletePoliciesBody, TDeletePoliciesResponse } from "./public_api.fetcher";
|
|
@@ -90,9 +115,14 @@ import type { TDeleteUsersBody, TDeleteUsersResponse } from "./public_api.fetche
|
|
|
90
115
|
import type { TDeleteWalletAccountsBody, TDeleteWalletAccountsResponse } from "./public_api.fetcher";
|
|
91
116
|
import type { TDeleteWalletsBody, TDeleteWalletsResponse } from "./public_api.fetcher";
|
|
92
117
|
import type { TDeleteWebhookEndpointBody, TDeleteWebhookEndpointResponse } from "./public_api.fetcher";
|
|
118
|
+
import type { TEarnDeployWrapperBody, TEarnDeployWrapperResponse } from "./public_api.fetcher";
|
|
119
|
+
import type { TEarnDepositBody, TEarnDepositResponse } from "./public_api.fetcher";
|
|
120
|
+
import type { TEarnSetWrapperStateBody, TEarnSetWrapperStateResponse } from "./public_api.fetcher";
|
|
121
|
+
import type { TEarnWithdrawBody, TEarnWithdrawResponse } from "./public_api.fetcher";
|
|
93
122
|
import type { TEmailAuthBody, TEmailAuthResponse } from "./public_api.fetcher";
|
|
94
123
|
import type { TEthSendRawTransactionBody, TEthSendRawTransactionResponse } from "./public_api.fetcher";
|
|
95
124
|
import type { TEthSendTransactionBody, TEthSendTransactionResponse } from "./public_api.fetcher";
|
|
125
|
+
import type { TExecuteSwapBody, TExecuteSwapResponse } from "./public_api.fetcher";
|
|
96
126
|
import type { TExportPrivateKeyBody, TExportPrivateKeyResponse } from "./public_api.fetcher";
|
|
97
127
|
import type { TExportWalletBody, TExportWalletResponse } from "./public_api.fetcher";
|
|
98
128
|
import type { TExportWalletAccountBody, TExportWalletAccountResponse } from "./public_api.fetcher";
|
|
@@ -100,6 +130,7 @@ import type { TImportPrivateKeyBody, TImportPrivateKeyResponse } from "./public_
|
|
|
100
130
|
import type { TImportWalletBody, TImportWalletResponse } from "./public_api.fetcher";
|
|
101
131
|
import type { TInitFiatOnRampBody, TInitFiatOnRampResponse } from "./public_api.fetcher";
|
|
102
132
|
import type { TInitImportPrivateKeyBody, TInitImportPrivateKeyResponse } from "./public_api.fetcher";
|
|
133
|
+
import type { TInitImportSecretsBody, TInitImportSecretsResponse } from "./public_api.fetcher";
|
|
103
134
|
import type { TInitImportWalletBody, TInitImportWalletResponse } from "./public_api.fetcher";
|
|
104
135
|
import type { TInitOtpBody, TInitOtpResponse } from "./public_api.fetcher";
|
|
105
136
|
import type { TInitOtpAuthBody, TInitOtpAuthResponse } from "./public_api.fetcher";
|
|
@@ -110,6 +141,7 @@ import type { TOauthLoginBody, TOauthLoginResponse } from "./public_api.fetcher"
|
|
|
110
141
|
import type { TOtpAuthBody, TOtpAuthResponse } from "./public_api.fetcher";
|
|
111
142
|
import type { TOtpLoginBody, TOtpLoginResponse } from "./public_api.fetcher";
|
|
112
143
|
import type { TPostTvcQuorumKeyShareBody, TPostTvcQuorumKeyShareResponse } from "./public_api.fetcher";
|
|
144
|
+
import type { TReEncryptTvcQuorumKeyShareBody, TReEncryptTvcQuorumKeyShareResponse } from "./public_api.fetcher";
|
|
113
145
|
import type { TRecoverUserBody, TRecoverUserResponse } from "./public_api.fetcher";
|
|
114
146
|
import type { TRejectActivityBody, TRejectActivityResponse } from "./public_api.fetcher";
|
|
115
147
|
import type { TRemoveIpAllowlistBody, TRemoveIpAllowlistResponse } from "./public_api.fetcher";
|
|
@@ -128,6 +160,7 @@ import type { TSparkPrepareTransferBody, TSparkPrepareTransferResponse } from ".
|
|
|
128
160
|
import type { TSparkSignFrostBody, TSparkSignFrostResponse } from "./public_api.fetcher";
|
|
129
161
|
import type { TStampLoginBody, TStampLoginResponse } from "./public_api.fetcher";
|
|
130
162
|
import type { TUpdateFiatOnRampCredentialBody, TUpdateFiatOnRampCredentialResponse } from "./public_api.fetcher";
|
|
163
|
+
import type { TUpdateMfaPolicyBody, TUpdateMfaPolicyResponse } from "./public_api.fetcher";
|
|
131
164
|
import type { TUpdateOauth2CredentialBody, TUpdateOauth2CredentialResponse } from "./public_api.fetcher";
|
|
132
165
|
import type { TUpdateOrganizationNameBody, TUpdateOrganizationNameResponse } from "./public_api.fetcher";
|
|
133
166
|
import type { TUpdatePolicyBody, TUpdatePolicyResponse } from "./public_api.fetcher";
|
|
@@ -140,6 +173,7 @@ import type { TUpdateUserPhoneNumberBody, TUpdateUserPhoneNumberResponse } from
|
|
|
140
173
|
import type { TUpdateUserTagBody, TUpdateUserTagResponse } from "./public_api.fetcher";
|
|
141
174
|
import type { TUpdateWalletBody, TUpdateWalletResponse } from "./public_api.fetcher";
|
|
142
175
|
import type { TUpdateWebhookEndpointBody, TUpdateWebhookEndpointResponse } from "./public_api.fetcher";
|
|
176
|
+
import type { TUpsertSwapConfigBody, TUpsertSwapConfigResponse } from "./public_api.fetcher";
|
|
143
177
|
import type { TVerifyOtpBody, TVerifyOtpResponse } from "./public_api.fetcher";
|
|
144
178
|
import type { TRefreshFeatureFlagsBody, TRefreshFeatureFlagsResponse } from "./public_api.fetcher";
|
|
145
179
|
import type { TTestRateLimitsBody, TTestRateLimitsResponse } from "./public_api.fetcher";
|
|
@@ -247,6 +281,62 @@ export declare class TurnkeyClient {
|
|
|
247
281
|
* See also {@link GetBootProof}.
|
|
248
282
|
*/
|
|
249
283
|
stampGetBootProof: (input: TGetBootProofBody) => Promise<TSignedRequest>;
|
|
284
|
+
/**
|
|
285
|
+
* Poll the status of a fee claim by its claim_request_id.
|
|
286
|
+
*
|
|
287
|
+
* Sign the provided `TGetClaimEarnFeesStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_claim_earn_fees_status).
|
|
288
|
+
*
|
|
289
|
+
* See also {@link stampGetClaimEarnFeesStatus}.
|
|
290
|
+
*/
|
|
291
|
+
getClaimEarnFeesStatus: (input: TGetClaimEarnFeesStatusBody) => Promise<TGetClaimEarnFeesStatusResponse>;
|
|
292
|
+
/**
|
|
293
|
+
* Produce a `SignedRequest` from `TGetClaimEarnFeesStatusBody` by using the client's `stamp` function.
|
|
294
|
+
*
|
|
295
|
+
* See also {@link GetClaimEarnFeesStatus}.
|
|
296
|
+
*/
|
|
297
|
+
stampGetClaimEarnFeesStatus: (input: TGetClaimEarnFeesStatusBody) => Promise<TSignedRequest>;
|
|
298
|
+
/**
|
|
299
|
+
* Poll the status of a wrapper deployment by its deploy_request_id.
|
|
300
|
+
*
|
|
301
|
+
* Sign the provided `TGetEarnDeployStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_earn_deploy_status).
|
|
302
|
+
*
|
|
303
|
+
* See also {@link stampGetEarnDeployStatus}.
|
|
304
|
+
*/
|
|
305
|
+
getEarnDeployStatus: (input: TGetEarnDeployStatusBody) => Promise<TGetEarnDeployStatusResponse>;
|
|
306
|
+
/**
|
|
307
|
+
* Produce a `SignedRequest` from `TGetEarnDeployStatusBody` by using the client's `stamp` function.
|
|
308
|
+
*
|
|
309
|
+
* See also {@link GetEarnDeployStatus}.
|
|
310
|
+
*/
|
|
311
|
+
stampGetEarnDeployStatus: (input: TGetEarnDeployStatusBody) => Promise<TSignedRequest>;
|
|
312
|
+
/**
|
|
313
|
+
* Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path).
|
|
314
|
+
*
|
|
315
|
+
* Sign the provided `TGetEarnDepositStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_earn_deposit_status).
|
|
316
|
+
*
|
|
317
|
+
* See also {@link stampGetEarnDepositStatus}.
|
|
318
|
+
*/
|
|
319
|
+
getEarnDepositStatus: (input: TGetEarnDepositStatusBody) => Promise<TGetEarnDepositStatusResponse>;
|
|
320
|
+
/**
|
|
321
|
+
* Produce a `SignedRequest` from `TGetEarnDepositStatusBody` by using the client's `stamp` function.
|
|
322
|
+
*
|
|
323
|
+
* See also {@link GetEarnDepositStatus}.
|
|
324
|
+
*/
|
|
325
|
+
stampGetEarnDepositStatus: (input: TGetEarnDepositStatusBody) => Promise<TSignedRequest>;
|
|
326
|
+
/**
|
|
327
|
+
* Poll the status of a withdrawal by its withdraw_request_id.
|
|
328
|
+
*
|
|
329
|
+
* Sign the provided `TGetEarnWithdrawStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_earn_withdraw_status).
|
|
330
|
+
*
|
|
331
|
+
* See also {@link stampGetEarnWithdrawStatus}.
|
|
332
|
+
*/
|
|
333
|
+
getEarnWithdrawStatus: (input: TGetEarnWithdrawStatusBody) => Promise<TGetEarnWithdrawStatusResponse>;
|
|
334
|
+
/**
|
|
335
|
+
* Produce a `SignedRequest` from `TGetEarnWithdrawStatusBody` by using the client's `stamp` function.
|
|
336
|
+
*
|
|
337
|
+
* See also {@link GetEarnWithdrawStatus}.
|
|
338
|
+
*/
|
|
339
|
+
stampGetEarnWithdrawStatus: (input: TGetEarnWithdrawStatusBody) => Promise<TSignedRequest>;
|
|
250
340
|
/**
|
|
251
341
|
* Get gas usage and gas limits for either the parent organization or a sub-organization.
|
|
252
342
|
*
|
|
@@ -289,6 +379,48 @@ export declare class TurnkeyClient {
|
|
|
289
379
|
* See also {@link GetLatestBootProof}.
|
|
290
380
|
*/
|
|
291
381
|
stampGetLatestBootProof: (input: TGetLatestBootProofBody) => Promise<TSignedRequest>;
|
|
382
|
+
/**
|
|
383
|
+
* Get all MFA policies for a user.
|
|
384
|
+
*
|
|
385
|
+
* Sign the provided `TGetMfaPoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_mfa_policies).
|
|
386
|
+
*
|
|
387
|
+
* See also {@link stampGetMfaPolicies}.
|
|
388
|
+
*/
|
|
389
|
+
getMfaPolicies: (input: TGetMfaPoliciesBody) => Promise<TGetMfaPoliciesResponse>;
|
|
390
|
+
/**
|
|
391
|
+
* Produce a `SignedRequest` from `TGetMfaPoliciesBody` by using the client's `stamp` function.
|
|
392
|
+
*
|
|
393
|
+
* See also {@link GetMfaPolicies}.
|
|
394
|
+
*/
|
|
395
|
+
stampGetMfaPolicies: (input: TGetMfaPoliciesBody) => Promise<TSignedRequest>;
|
|
396
|
+
/**
|
|
397
|
+
* Get a single MFA policy for a user.
|
|
398
|
+
*
|
|
399
|
+
* Sign the provided `TGetMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_mfa_policy).
|
|
400
|
+
*
|
|
401
|
+
* See also {@link stampGetMfaPolicy}.
|
|
402
|
+
*/
|
|
403
|
+
getMfaPolicy: (input: TGetMfaPolicyBody) => Promise<TGetMfaPolicyResponse>;
|
|
404
|
+
/**
|
|
405
|
+
* Produce a `SignedRequest` from `TGetMfaPolicyBody` by using the client's `stamp` function.
|
|
406
|
+
*
|
|
407
|
+
* See also {@link GetMfaPolicy}.
|
|
408
|
+
*/
|
|
409
|
+
stampGetMfaPolicy: (input: TGetMfaPolicyBody) => Promise<TSignedRequest>;
|
|
410
|
+
/**
|
|
411
|
+
* Get the MFA status of an activity for a specific user or all voting users.
|
|
412
|
+
*
|
|
413
|
+
* Sign the provided `TGetMfaStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_mfa_status).
|
|
414
|
+
*
|
|
415
|
+
* See also {@link stampGetMfaStatus}.
|
|
416
|
+
*/
|
|
417
|
+
getMfaStatus: (input: TGetMfaStatusBody) => Promise<TGetMfaStatusResponse>;
|
|
418
|
+
/**
|
|
419
|
+
* Produce a `SignedRequest` from `TGetMfaStatusBody` by using the client's `stamp` function.
|
|
420
|
+
*
|
|
421
|
+
* See also {@link GetMfaStatus}.
|
|
422
|
+
*/
|
|
423
|
+
stampGetMfaStatus: (input: TGetMfaStatusBody) => Promise<TSignedRequest>;
|
|
292
424
|
/**
|
|
293
425
|
* Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions.
|
|
294
426
|
*
|
|
@@ -429,6 +561,34 @@ export declare class TurnkeyClient {
|
|
|
429
561
|
* See also {@link GetSendTransactionStatus}.
|
|
430
562
|
*/
|
|
431
563
|
stampGetSendTransactionStatus: (input: TGetSendTransactionStatusBody) => Promise<TSignedRequest>;
|
|
564
|
+
/**
|
|
565
|
+
* Get a single session profile for an organization.
|
|
566
|
+
*
|
|
567
|
+
* Sign the provided `TGetSessionProfileBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_session_profile).
|
|
568
|
+
*
|
|
569
|
+
* See also {@link stampGetSessionProfile}.
|
|
570
|
+
*/
|
|
571
|
+
getSessionProfile: (input: TGetSessionProfileBody) => Promise<TGetSessionProfileResponse>;
|
|
572
|
+
/**
|
|
573
|
+
* Produce a `SignedRequest` from `TGetSessionProfileBody` by using the client's `stamp` function.
|
|
574
|
+
*
|
|
575
|
+
* See also {@link GetSessionProfile}.
|
|
576
|
+
*/
|
|
577
|
+
stampGetSessionProfile: (input: TGetSessionProfileBody) => Promise<TSignedRequest>;
|
|
578
|
+
/**
|
|
579
|
+
* Get all session profiles for an organization.
|
|
580
|
+
*
|
|
581
|
+
* Sign the provided `TGetSessionProfilesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_session_profiles).
|
|
582
|
+
*
|
|
583
|
+
* See also {@link stampGetSessionProfiles}.
|
|
584
|
+
*/
|
|
585
|
+
getSessionProfiles: (input: TGetSessionProfilesBody) => Promise<TGetSessionProfilesResponse>;
|
|
586
|
+
/**
|
|
587
|
+
* Produce a `SignedRequest` from `TGetSessionProfilesBody` by using the client's `stamp` function.
|
|
588
|
+
*
|
|
589
|
+
* See also {@link GetSessionProfiles}.
|
|
590
|
+
*/
|
|
591
|
+
stampGetSessionProfiles: (input: TGetSessionProfilesBody) => Promise<TSignedRequest>;
|
|
432
592
|
/**
|
|
433
593
|
* Get details about a smart contract interface.
|
|
434
594
|
*
|
|
@@ -443,6 +603,34 @@ export declare class TurnkeyClient {
|
|
|
443
603
|
* See also {@link GetSmartContractInterface}.
|
|
444
604
|
*/
|
|
445
605
|
stampGetSmartContractInterface: (input: TGetSmartContractInterfaceBody) => Promise<TSignedRequest>;
|
|
606
|
+
/**
|
|
607
|
+
* Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported.
|
|
608
|
+
*
|
|
609
|
+
* Sign the provided `TGetSwapQuoteBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_swap_quote).
|
|
610
|
+
*
|
|
611
|
+
* See also {@link stampGetSwapQuote}.
|
|
612
|
+
*/
|
|
613
|
+
getSwapQuote: (input: TGetSwapQuoteBody) => Promise<TGetSwapQuoteResponse>;
|
|
614
|
+
/**
|
|
615
|
+
* Produce a `SignedRequest` from `TGetSwapQuoteBody` by using the client's `stamp` function.
|
|
616
|
+
*
|
|
617
|
+
* See also {@link GetSwapQuote}.
|
|
618
|
+
*/
|
|
619
|
+
stampGetSwapQuote: (input: TGetSwapQuoteBody) => Promise<TSignedRequest>;
|
|
620
|
+
/**
|
|
621
|
+
* Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps.
|
|
622
|
+
*
|
|
623
|
+
* Sign the provided `TGetSwapStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_swap_status).
|
|
624
|
+
*
|
|
625
|
+
* See also {@link stampGetSwapStatus}.
|
|
626
|
+
*/
|
|
627
|
+
getSwapStatus: (input: TGetSwapStatusBody) => Promise<TGetSwapStatusResponse>;
|
|
628
|
+
/**
|
|
629
|
+
* Produce a `SignedRequest` from `TGetSwapStatusBody` by using the client's `stamp` function.
|
|
630
|
+
*
|
|
631
|
+
* See also {@link GetSwapStatus}.
|
|
632
|
+
*/
|
|
633
|
+
stampGetSwapStatus: (input: TGetSwapStatusBody) => Promise<TSignedRequest>;
|
|
446
634
|
/**
|
|
447
635
|
* Get details about a single TVC App
|
|
448
636
|
*
|
|
@@ -471,6 +659,20 @@ export declare class TurnkeyClient {
|
|
|
471
659
|
* See also {@link GetTvcDeployment}.
|
|
472
660
|
*/
|
|
473
661
|
stampGetTvcDeployment: (input: TGetTvcDeploymentBody) => Promise<TSignedRequest>;
|
|
662
|
+
/**
|
|
663
|
+
* Get a bounded window of application logs from a debug-mode TVC deployment. Returned lines are collected from every running replica and sorted by platform timestamp.
|
|
664
|
+
*
|
|
665
|
+
* Sign the provided `TGetTvcDeploymentDebugLogsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_tvc_deployment_debug_logs).
|
|
666
|
+
*
|
|
667
|
+
* See also {@link stampGetTvcDeploymentDebugLogs}.
|
|
668
|
+
*/
|
|
669
|
+
getTvcDeploymentDebugLogs: (input: TGetTvcDeploymentDebugLogsBody) => Promise<TGetTvcDeploymentDebugLogsResponse>;
|
|
670
|
+
/**
|
|
671
|
+
* Produce a `SignedRequest` from `TGetTvcDeploymentDebugLogsBody` by using the client's `stamp` function.
|
|
672
|
+
*
|
|
673
|
+
* See also {@link GetTvcDeploymentDebugLogs}.
|
|
674
|
+
*/
|
|
675
|
+
stampGetTvcDeploymentDebugLogs: (input: TGetTvcDeploymentDebugLogsBody) => Promise<TSignedRequest>;
|
|
474
676
|
/**
|
|
475
677
|
* Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment
|
|
476
678
|
*
|
|
@@ -528,7 +730,7 @@ export declare class TurnkeyClient {
|
|
|
528
730
|
*/
|
|
529
731
|
stampGetWalletAccount: (input: TGetWalletAccountBody) => Promise<TSignedRequest>;
|
|
530
732
|
/**
|
|
531
|
-
* Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
733
|
+
* Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
532
734
|
*
|
|
533
735
|
* Sign the provided `TGetWalletAddressBalancesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet_address_balances).
|
|
534
736
|
*
|
|
@@ -569,6 +771,76 @@ export declare class TurnkeyClient {
|
|
|
569
771
|
* See also {@link GetAppProofs}.
|
|
570
772
|
*/
|
|
571
773
|
stampGetAppProofs: (input: TGetAppProofsBody) => Promise<TSignedRequest>;
|
|
774
|
+
/**
|
|
775
|
+
* Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions.
|
|
776
|
+
*
|
|
777
|
+
* Sign the provided `TListEarnEnabledVaultsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_earn_enabled_vaults).
|
|
778
|
+
*
|
|
779
|
+
* See also {@link stampListEarnEnabledVaults}.
|
|
780
|
+
*/
|
|
781
|
+
listEarnEnabledVaults: (input: TListEarnEnabledVaultsBody) => Promise<TListEarnEnabledVaultsResponse>;
|
|
782
|
+
/**
|
|
783
|
+
* Produce a `SignedRequest` from `TListEarnEnabledVaultsBody` by using the client's `stamp` function.
|
|
784
|
+
*
|
|
785
|
+
* See also {@link ListEarnEnabledVaults}.
|
|
786
|
+
*/
|
|
787
|
+
stampListEarnEnabledVaults: (input: TListEarnEnabledVaultsBody) => Promise<TSignedRequest>;
|
|
788
|
+
/**
|
|
789
|
+
* Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees.
|
|
790
|
+
*
|
|
791
|
+
* Sign the provided `TListEarnPositionsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_earn_positions).
|
|
792
|
+
*
|
|
793
|
+
* See also {@link stampListEarnPositions}.
|
|
794
|
+
*/
|
|
795
|
+
listEarnPositions: (input: TListEarnPositionsBody) => Promise<TListEarnPositionsResponse>;
|
|
796
|
+
/**
|
|
797
|
+
* Produce a `SignedRequest` from `TListEarnPositionsBody` by using the client's `stamp` function.
|
|
798
|
+
*
|
|
799
|
+
* See also {@link ListEarnPositions}.
|
|
800
|
+
*/
|
|
801
|
+
stampListEarnPositions: (input: TListEarnPositionsBody) => Promise<TSignedRequest>;
|
|
802
|
+
/**
|
|
803
|
+
* Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled.
|
|
804
|
+
*
|
|
805
|
+
* Sign the provided `TListEarnVaultsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_earn_vaults).
|
|
806
|
+
*
|
|
807
|
+
* See also {@link stampListEarnVaults}.
|
|
808
|
+
*/
|
|
809
|
+
listEarnVaults: (input: TListEarnVaultsBody) => Promise<TListEarnVaultsResponse>;
|
|
810
|
+
/**
|
|
811
|
+
* Produce a `SignedRequest` from `TListEarnVaultsBody` by using the client's `stamp` function.
|
|
812
|
+
*
|
|
813
|
+
* See also {@link ListEarnVaults}.
|
|
814
|
+
*/
|
|
815
|
+
stampListEarnVaults: (input: TListEarnVaultsBody) => Promise<TSignedRequest>;
|
|
816
|
+
/**
|
|
817
|
+
* List email events for the organization.
|
|
818
|
+
*
|
|
819
|
+
* Sign the provided `TListEmailEventsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_email_events).
|
|
820
|
+
*
|
|
821
|
+
* See also {@link stampListEmailEvents}.
|
|
822
|
+
*/
|
|
823
|
+
listEmailEvents: (input: TListEmailEventsBody) => Promise<TListEmailEventsResponse>;
|
|
824
|
+
/**
|
|
825
|
+
* Produce a `SignedRequest` from `TListEmailEventsBody` by using the client's `stamp` function.
|
|
826
|
+
*
|
|
827
|
+
* See also {@link ListEmailEvents}.
|
|
828
|
+
*/
|
|
829
|
+
stampListEmailEvents: (input: TListEmailEventsBody) => Promise<TSignedRequest>;
|
|
830
|
+
/**
|
|
831
|
+
* List Ethereum transaction history for a wallet address on the specified network.
|
|
832
|
+
*
|
|
833
|
+
* Sign the provided `TListEthTransactionHistoryBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_eth_transaction_history).
|
|
834
|
+
*
|
|
835
|
+
* See also {@link stampListEthTransactionHistory}.
|
|
836
|
+
*/
|
|
837
|
+
listEthTransactionHistory: (input: TListEthTransactionHistoryBody) => Promise<TListEthTransactionHistoryResponse>;
|
|
838
|
+
/**
|
|
839
|
+
* Produce a `SignedRequest` from `TListEthTransactionHistoryBody` by using the client's `stamp` function.
|
|
840
|
+
*
|
|
841
|
+
* See also {@link ListEthTransactionHistory}.
|
|
842
|
+
*/
|
|
843
|
+
stampListEthTransactionHistory: (input: TListEthTransactionHistoryBody) => Promise<TSignedRequest>;
|
|
572
844
|
/**
|
|
573
845
|
* List all fiat on ramp provider credentials within an organization.
|
|
574
846
|
*
|
|
@@ -653,6 +925,20 @@ export declare class TurnkeyClient {
|
|
|
653
925
|
* See also {@link GetSmartContractInterfaces}.
|
|
654
926
|
*/
|
|
655
927
|
stampGetSmartContractInterfaces: (input: TGetSmartContractInterfacesBody) => Promise<TSignedRequest>;
|
|
928
|
+
/**
|
|
929
|
+
* List Solana transaction history for a wallet address on the specified network.
|
|
930
|
+
*
|
|
931
|
+
* Sign the provided `TListSolTransactionHistoryBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_sol_transaction_history).
|
|
932
|
+
*
|
|
933
|
+
* See also {@link stampListSolTransactionHistory}.
|
|
934
|
+
*/
|
|
935
|
+
listSolTransactionHistory: (input: TListSolTransactionHistoryBody) => Promise<TListSolTransactionHistoryResponse>;
|
|
936
|
+
/**
|
|
937
|
+
* Produce a `SignedRequest` from `TListSolTransactionHistoryBody` by using the client's `stamp` function.
|
|
938
|
+
*
|
|
939
|
+
* See also {@link ListSolTransactionHistory}.
|
|
940
|
+
*/
|
|
941
|
+
stampListSolTransactionHistory: (input: TListSolTransactionHistoryBody) => Promise<TSignedRequest>;
|
|
656
942
|
/**
|
|
657
943
|
* Get all suborg IDs associated given a parent org ID and an optional filter.
|
|
658
944
|
*
|
|
@@ -668,7 +954,7 @@ export declare class TurnkeyClient {
|
|
|
668
954
|
*/
|
|
669
955
|
stampGetSubOrgIds: (input: TGetSubOrgIdsBody) => Promise<TSignedRequest>;
|
|
670
956
|
/**
|
|
671
|
-
* List supported assets for the specified network.
|
|
957
|
+
* List supported assets for the specified network.
|
|
672
958
|
*
|
|
673
959
|
* Sign the provided `TListSupportedAssetsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_supported_assets).
|
|
674
960
|
*
|
|
@@ -835,6 +1121,34 @@ export declare class TurnkeyClient {
|
|
|
835
1121
|
* See also {@link ApproveActivity}.
|
|
836
1122
|
*/
|
|
837
1123
|
stampApproveActivity: (input: TApproveActivityBody) => Promise<TSignedRequest>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Claim earn fees through the activity pipeline.
|
|
1126
|
+
*
|
|
1127
|
+
* Sign the provided `TClaimEarnFeesBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/claim_earn_fees).
|
|
1128
|
+
*
|
|
1129
|
+
* See also {@link stampClaimEarnFees}.
|
|
1130
|
+
*/
|
|
1131
|
+
claimEarnFees: (input: TClaimEarnFeesBody) => Promise<TClaimEarnFeesResponse>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Produce a `SignedRequest` from `TClaimEarnFeesBody` by using the client's `stamp` function.
|
|
1134
|
+
*
|
|
1135
|
+
* See also {@link ClaimEarnFees}.
|
|
1136
|
+
*/
|
|
1137
|
+
stampClaimEarnFees: (input: TClaimEarnFeesBody) => Promise<TSignedRequest>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Claim swap fees through the activity pipeline.
|
|
1140
|
+
*
|
|
1141
|
+
* Sign the provided `TClaimSwapFeesBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/claim_swap_fees).
|
|
1142
|
+
*
|
|
1143
|
+
* See also {@link stampClaimSwapFees}.
|
|
1144
|
+
*/
|
|
1145
|
+
claimSwapFees: (input: TClaimSwapFeesBody) => Promise<TClaimSwapFeesResponse>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Produce a `SignedRequest` from `TClaimSwapFeesBody` by using the client's `stamp` function.
|
|
1148
|
+
*
|
|
1149
|
+
* See also {@link ClaimSwapFees}.
|
|
1150
|
+
*/
|
|
1151
|
+
stampClaimSwapFees: (input: TClaimSwapFeesBody) => Promise<TSignedRequest>;
|
|
838
1152
|
/**
|
|
839
1153
|
* Add API keys to an existing user.
|
|
840
1154
|
*
|
|
@@ -905,6 +1219,20 @@ export declare class TurnkeyClient {
|
|
|
905
1219
|
* See also {@link CreateInvitations}.
|
|
906
1220
|
*/
|
|
907
1221
|
stampCreateInvitations: (input: TCreateInvitationsBody) => Promise<TSignedRequest>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Create a new MFA policy for a user.
|
|
1224
|
+
*
|
|
1225
|
+
* Sign the provided `TCreateMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_mfa_policy).
|
|
1226
|
+
*
|
|
1227
|
+
* See also {@link stampCreateMfaPolicy}.
|
|
1228
|
+
*/
|
|
1229
|
+
createMfaPolicy: (input: TCreateMfaPolicyBody) => Promise<TCreateMfaPolicyResponse>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Produce a `SignedRequest` from `TCreateMfaPolicyBody` by using the client's `stamp` function.
|
|
1232
|
+
*
|
|
1233
|
+
* See also {@link CreateMfaPolicy}.
|
|
1234
|
+
*/
|
|
1235
|
+
stampCreateMfaPolicy: (input: TCreateMfaPolicyBody) => Promise<TSignedRequest>;
|
|
908
1236
|
/**
|
|
909
1237
|
* Enable authentication for end users with an OAuth 2.0 provider
|
|
910
1238
|
*
|
|
@@ -1017,6 +1345,20 @@ export declare class TurnkeyClient {
|
|
|
1017
1345
|
* See also {@link CreateReadWriteSession}.
|
|
1018
1346
|
*/
|
|
1019
1347
|
stampCreateReadWriteSession: (input: TCreateReadWriteSessionBody) => Promise<TSignedRequest>;
|
|
1348
|
+
/**
|
|
1349
|
+
* Create a new session profile for an organization.
|
|
1350
|
+
*
|
|
1351
|
+
* Sign the provided `TCreateSessionProfileBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_session_profile).
|
|
1352
|
+
*
|
|
1353
|
+
* See also {@link stampCreateSessionProfile}.
|
|
1354
|
+
*/
|
|
1355
|
+
createSessionProfile: (input: TCreateSessionProfileBody) => Promise<TCreateSessionProfileResponse>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Produce a `SignedRequest` from `TCreateSessionProfileBody` by using the client's `stamp` function.
|
|
1358
|
+
*
|
|
1359
|
+
* See also {@link CreateSessionProfile}.
|
|
1360
|
+
*/
|
|
1361
|
+
stampCreateSessionProfile: (input: TCreateSessionProfileBody) => Promise<TSignedRequest>;
|
|
1020
1362
|
/**
|
|
1021
1363
|
* Create an ABI/IDL in JSON.
|
|
1022
1364
|
*
|
|
@@ -1032,7 +1374,7 @@ export declare class TurnkeyClient {
|
|
|
1032
1374
|
*/
|
|
1033
1375
|
stampCreateSmartContractInterface: (input: TCreateSmartContractInterfaceBody) => Promise<TSignedRequest>;
|
|
1034
1376
|
/**
|
|
1035
|
-
* Create a new sub-organization.
|
|
1377
|
+
* 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).
|
|
1036
1378
|
*
|
|
1037
1379
|
* Sign the provided `TCreateSubOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_sub_organization).
|
|
1038
1380
|
*
|
|
@@ -1087,6 +1429,34 @@ export declare class TurnkeyClient {
|
|
|
1087
1429
|
* See also {@link CreateTvcManifestApprovals}.
|
|
1088
1430
|
*/
|
|
1089
1431
|
stampCreateTvcManifestApprovals: (input: TCreateTvcManifestApprovalsBody) => Promise<TSignedRequest>;
|
|
1432
|
+
/**
|
|
1433
|
+
* Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts
|
|
1434
|
+
*
|
|
1435
|
+
* Sign the provided `TCreateTvcOperatorBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_tvc_operator).
|
|
1436
|
+
*
|
|
1437
|
+
* See also {@link stampCreateTvcOperator}.
|
|
1438
|
+
*/
|
|
1439
|
+
createTvcOperator: (input: TCreateTvcOperatorBody) => Promise<TCreateTvcOperatorResponse>;
|
|
1440
|
+
/**
|
|
1441
|
+
* Produce a `SignedRequest` from `TCreateTvcOperatorBody` by using the client's `stamp` function.
|
|
1442
|
+
*
|
|
1443
|
+
* See also {@link CreateTvcOperator}.
|
|
1444
|
+
*/
|
|
1445
|
+
stampCreateTvcOperator: (input: TCreateTvcOperatorBody) => Promise<TSignedRequest>;
|
|
1446
|
+
/**
|
|
1447
|
+
* Create a hosted TVC quorum key and encrypted shares.
|
|
1448
|
+
*
|
|
1449
|
+
* Sign the provided `TCreateTvcQuorumKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_tvc_quorum_key).
|
|
1450
|
+
*
|
|
1451
|
+
* See also {@link stampCreateTvcQuorumKey}.
|
|
1452
|
+
*/
|
|
1453
|
+
createTvcQuorumKey: (input: TCreateTvcQuorumKeyBody) => Promise<TCreateTvcQuorumKeyResponse>;
|
|
1454
|
+
/**
|
|
1455
|
+
* Produce a `SignedRequest` from `TCreateTvcQuorumKeyBody` by using the client's `stamp` function.
|
|
1456
|
+
*
|
|
1457
|
+
* See also {@link CreateTvcQuorumKey}.
|
|
1458
|
+
*/
|
|
1459
|
+
stampCreateTvcQuorumKey: (input: TCreateTvcQuorumKeyBody) => Promise<TSignedRequest>;
|
|
1090
1460
|
/**
|
|
1091
1461
|
* Create a user tag and add it to users.
|
|
1092
1462
|
*
|
|
@@ -1102,7 +1472,7 @@ export declare class TurnkeyClient {
|
|
|
1102
1472
|
*/
|
|
1103
1473
|
stampCreateUserTag: (input: TCreateUserTagBody) => Promise<TSignedRequest>;
|
|
1104
1474
|
/**
|
|
1105
|
-
* Create users in an existing organization.
|
|
1475
|
+
* 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).
|
|
1106
1476
|
*
|
|
1107
1477
|
* Sign the provided `TCreateUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_users).
|
|
1108
1478
|
*
|
|
@@ -1213,6 +1583,20 @@ export declare class TurnkeyClient {
|
|
|
1213
1583
|
* See also {@link DeleteInvitation}.
|
|
1214
1584
|
*/
|
|
1215
1585
|
stampDeleteInvitation: (input: TDeleteInvitationBody) => Promise<TSignedRequest>;
|
|
1586
|
+
/**
|
|
1587
|
+
* Delete an MFA policy for a user.
|
|
1588
|
+
*
|
|
1589
|
+
* Sign the provided `TDeleteMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_mfa_policy).
|
|
1590
|
+
*
|
|
1591
|
+
* See also {@link stampDeleteMfaPolicy}.
|
|
1592
|
+
*/
|
|
1593
|
+
deleteMfaPolicy: (input: TDeleteMfaPolicyBody) => Promise<TDeleteMfaPolicyResponse>;
|
|
1594
|
+
/**
|
|
1595
|
+
* Produce a `SignedRequest` from `TDeleteMfaPolicyBody` by using the client's `stamp` function.
|
|
1596
|
+
*
|
|
1597
|
+
* See also {@link DeleteMfaPolicy}.
|
|
1598
|
+
*/
|
|
1599
|
+
stampDeleteMfaPolicy: (input: TDeleteMfaPolicyBody) => Promise<TSignedRequest>;
|
|
1216
1600
|
/**
|
|
1217
1601
|
* Disable authentication for end users with an OAuth 2.0 provider
|
|
1218
1602
|
*
|
|
@@ -1423,6 +1807,62 @@ export declare class TurnkeyClient {
|
|
|
1423
1807
|
* See also {@link DeleteWebhookEndpoint}.
|
|
1424
1808
|
*/
|
|
1425
1809
|
stampDeleteWebhookEndpoint: (input: TDeleteWebhookEndpointBody) => Promise<TSignedRequest>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault.
|
|
1812
|
+
*
|
|
1813
|
+
* Sign the provided `TEarnDeployWrapperBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/earn_deploy_wrapper).
|
|
1814
|
+
*
|
|
1815
|
+
* See also {@link stampEarnDeployWrapper}.
|
|
1816
|
+
*/
|
|
1817
|
+
earnDeployWrapper: (input: TEarnDeployWrapperBody) => Promise<TEarnDeployWrapperResponse>;
|
|
1818
|
+
/**
|
|
1819
|
+
* Produce a `SignedRequest` from `TEarnDeployWrapperBody` by using the client's `stamp` function.
|
|
1820
|
+
*
|
|
1821
|
+
* See also {@link EarnDeployWrapper}.
|
|
1822
|
+
*/
|
|
1823
|
+
stampEarnDeployWrapper: (input: TEarnDeployWrapperBody) => Promise<TSignedRequest>;
|
|
1824
|
+
/**
|
|
1825
|
+
* Deposit assets from a wallet into an enabled yield vault.
|
|
1826
|
+
*
|
|
1827
|
+
* Sign the provided `TEarnDepositBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/earn_deposit).
|
|
1828
|
+
*
|
|
1829
|
+
* See also {@link stampEarnDeposit}.
|
|
1830
|
+
*/
|
|
1831
|
+
earnDeposit: (input: TEarnDepositBody) => Promise<TEarnDepositResponse>;
|
|
1832
|
+
/**
|
|
1833
|
+
* Produce a `SignedRequest` from `TEarnDepositBody` by using the client's `stamp` function.
|
|
1834
|
+
*
|
|
1835
|
+
* See also {@link EarnDeposit}.
|
|
1836
|
+
*/
|
|
1837
|
+
stampEarnDeposit: (input: TEarnDepositBody) => Promise<TSignedRequest>;
|
|
1838
|
+
/**
|
|
1839
|
+
* Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed.
|
|
1840
|
+
*
|
|
1841
|
+
* Sign the provided `TEarnSetWrapperStateBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/earn_set_wrapper_state).
|
|
1842
|
+
*
|
|
1843
|
+
* See also {@link stampEarnSetWrapperState}.
|
|
1844
|
+
*/
|
|
1845
|
+
earnSetWrapperState: (input: TEarnSetWrapperStateBody) => Promise<TEarnSetWrapperStateResponse>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Produce a `SignedRequest` from `TEarnSetWrapperStateBody` by using the client's `stamp` function.
|
|
1848
|
+
*
|
|
1849
|
+
* See also {@link EarnSetWrapperState}.
|
|
1850
|
+
*/
|
|
1851
|
+
stampEarnSetWrapperState: (input: TEarnSetWrapperStateBody) => Promise<TSignedRequest>;
|
|
1852
|
+
/**
|
|
1853
|
+
* Withdraw assets or redeem shares from an enabled yield vault.
|
|
1854
|
+
*
|
|
1855
|
+
* Sign the provided `TEarnWithdrawBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/earn_withdraw).
|
|
1856
|
+
*
|
|
1857
|
+
* See also {@link stampEarnWithdraw}.
|
|
1858
|
+
*/
|
|
1859
|
+
earnWithdraw: (input: TEarnWithdrawBody) => Promise<TEarnWithdrawResponse>;
|
|
1860
|
+
/**
|
|
1861
|
+
* Produce a `SignedRequest` from `TEarnWithdrawBody` by using the client's `stamp` function.
|
|
1862
|
+
*
|
|
1863
|
+
* See also {@link EarnWithdraw}.
|
|
1864
|
+
*/
|
|
1865
|
+
stampEarnWithdraw: (input: TEarnWithdrawBody) => Promise<TSignedRequest>;
|
|
1426
1866
|
/**
|
|
1427
1867
|
* Authenticate a user via email.
|
|
1428
1868
|
*
|
|
@@ -1465,6 +1905,20 @@ export declare class TurnkeyClient {
|
|
|
1465
1905
|
* See also {@link EthSendTransaction}.
|
|
1466
1906
|
*/
|
|
1467
1907
|
stampEthSendTransaction: (input: TEthSendTransactionBody) => Promise<TSignedRequest>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Execute a quoted swap through the activity pipeline and Turnkey broadcasting.
|
|
1910
|
+
*
|
|
1911
|
+
* Sign the provided `TExecuteSwapBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/execute_swap).
|
|
1912
|
+
*
|
|
1913
|
+
* See also {@link stampExecuteSwap}.
|
|
1914
|
+
*/
|
|
1915
|
+
executeSwap: (input: TExecuteSwapBody) => Promise<TExecuteSwapResponse>;
|
|
1916
|
+
/**
|
|
1917
|
+
* Produce a `SignedRequest` from `TExecuteSwapBody` by using the client's `stamp` function.
|
|
1918
|
+
*
|
|
1919
|
+
* See also {@link ExecuteSwap}.
|
|
1920
|
+
*/
|
|
1921
|
+
stampExecuteSwap: (input: TExecuteSwapBody) => Promise<TSignedRequest>;
|
|
1468
1922
|
/**
|
|
1469
1923
|
* Export a private key.
|
|
1470
1924
|
*
|
|
@@ -1563,6 +2017,20 @@ export declare class TurnkeyClient {
|
|
|
1563
2017
|
* See also {@link InitImportPrivateKey}.
|
|
1564
2018
|
*/
|
|
1565
2019
|
stampInitImportPrivateKey: (input: TInitImportPrivateKeyBody) => Promise<TSignedRequest>;
|
|
2020
|
+
/**
|
|
2021
|
+
* Initialize secret imports by generating Ingress Encryption Target Keys.
|
|
2022
|
+
*
|
|
2023
|
+
* Sign the provided `TInitImportSecretsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_import_secrets).
|
|
2024
|
+
*
|
|
2025
|
+
* See also {@link stampInitImportSecrets}.
|
|
2026
|
+
*/
|
|
2027
|
+
initImportSecrets: (input: TInitImportSecretsBody) => Promise<TInitImportSecretsResponse>;
|
|
2028
|
+
/**
|
|
2029
|
+
* Produce a `SignedRequest` from `TInitImportSecretsBody` by using the client's `stamp` function.
|
|
2030
|
+
*
|
|
2031
|
+
* See also {@link InitImportSecrets}.
|
|
2032
|
+
*/
|
|
2033
|
+
stampInitImportSecrets: (input: TInitImportSecretsBody) => Promise<TSignedRequest>;
|
|
1566
2034
|
/**
|
|
1567
2035
|
* Initialize a new wallet import.
|
|
1568
2036
|
*
|
|
@@ -1703,6 +2171,20 @@ export declare class TurnkeyClient {
|
|
|
1703
2171
|
* See also {@link PostTvcQuorumKeyShare}.
|
|
1704
2172
|
*/
|
|
1705
2173
|
stampPostTvcQuorumKeyShare: (input: TPostTvcQuorumKeyShareBody) => Promise<TSignedRequest>;
|
|
2174
|
+
/**
|
|
2175
|
+
* Re-encrypt a hosted TVC quorum key share for a deployment.
|
|
2176
|
+
*
|
|
2177
|
+
* Sign the provided `TReEncryptTvcQuorumKeyShareBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/re_encrypt_tvc_quorum_key_share).
|
|
2178
|
+
*
|
|
2179
|
+
* See also {@link stampReEncryptTvcQuorumKeyShare}.
|
|
2180
|
+
*/
|
|
2181
|
+
reEncryptTvcQuorumKeyShare: (input: TReEncryptTvcQuorumKeyShareBody) => Promise<TReEncryptTvcQuorumKeyShareResponse>;
|
|
2182
|
+
/**
|
|
2183
|
+
* Produce a `SignedRequest` from `TReEncryptTvcQuorumKeyShareBody` by using the client's `stamp` function.
|
|
2184
|
+
*
|
|
2185
|
+
* See also {@link ReEncryptTvcQuorumKeyShare}.
|
|
2186
|
+
*/
|
|
2187
|
+
stampReEncryptTvcQuorumKeyShare: (input: TReEncryptTvcQuorumKeyShareBody) => Promise<TSignedRequest>;
|
|
1706
2188
|
/**
|
|
1707
2189
|
* Complete the process of recovering a user by adding an authenticator.
|
|
1708
2190
|
*
|
|
@@ -1858,7 +2340,7 @@ export declare class TurnkeyClient {
|
|
|
1858
2340
|
*/
|
|
1859
2341
|
stampSignTransaction: (input: TSignTransactionBody) => Promise<TSignedRequest>;
|
|
1860
2342
|
/**
|
|
1861
|
-
* Submit a transaction intent describing an SVM transaction you would like to broadcast.
|
|
2343
|
+
* Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning.
|
|
1862
2344
|
*
|
|
1863
2345
|
* Sign the provided `TSolSendTransactionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sol_send_transaction).
|
|
1864
2346
|
*
|
|
@@ -1955,6 +2437,20 @@ export declare class TurnkeyClient {
|
|
|
1955
2437
|
* See also {@link UpdateFiatOnRampCredential}.
|
|
1956
2438
|
*/
|
|
1957
2439
|
stampUpdateFiatOnRampCredential: (input: TUpdateFiatOnRampCredentialBody) => Promise<TSignedRequest>;
|
|
2440
|
+
/**
|
|
2441
|
+
* Update an MFA policy for a user.
|
|
2442
|
+
*
|
|
2443
|
+
* Sign the provided `TUpdateMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_mfa_policy).
|
|
2444
|
+
*
|
|
2445
|
+
* See also {@link stampUpdateMfaPolicy}.
|
|
2446
|
+
*/
|
|
2447
|
+
updateMfaPolicy: (input: TUpdateMfaPolicyBody) => Promise<TUpdateMfaPolicyResponse>;
|
|
2448
|
+
/**
|
|
2449
|
+
* Produce a `SignedRequest` from `TUpdateMfaPolicyBody` by using the client's `stamp` function.
|
|
2450
|
+
*
|
|
2451
|
+
* See also {@link UpdateMfaPolicy}.
|
|
2452
|
+
*/
|
|
2453
|
+
stampUpdateMfaPolicy: (input: TUpdateMfaPolicyBody) => Promise<TSignedRequest>;
|
|
1958
2454
|
/**
|
|
1959
2455
|
* Update an OAuth 2.0 provider credential
|
|
1960
2456
|
*
|
|
@@ -2123,6 +2619,20 @@ export declare class TurnkeyClient {
|
|
|
2123
2619
|
* See also {@link UpdateWebhookEndpoint}.
|
|
2124
2620
|
*/
|
|
2125
2621
|
stampUpdateWebhookEndpoint: (input: TUpdateWebhookEndpointBody) => Promise<TSignedRequest>;
|
|
2622
|
+
/**
|
|
2623
|
+
* Enable or disable swap configuration for an organization.
|
|
2624
|
+
*
|
|
2625
|
+
* Sign the provided `TUpsertSwapConfigBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/upsert_swap_config).
|
|
2626
|
+
*
|
|
2627
|
+
* See also {@link stampUpsertSwapConfig}.
|
|
2628
|
+
*/
|
|
2629
|
+
upsertSwapConfig: (input: TUpsertSwapConfigBody) => Promise<TUpsertSwapConfigResponse>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Produce a `SignedRequest` from `TUpsertSwapConfigBody` by using the client's `stamp` function.
|
|
2632
|
+
*
|
|
2633
|
+
* See also {@link UpsertSwapConfig}.
|
|
2634
|
+
*/
|
|
2635
|
+
stampUpsertSwapConfig: (input: TUpsertSwapConfigBody) => Promise<TSignedRequest>;
|
|
2126
2636
|
/**
|
|
2127
2637
|
* Verify a generic OTP.
|
|
2128
2638
|
*
|