@turnkey/http 4.1.1 → 5.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 +34 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +407 -2
- 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 +677 -2
- 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 +677 -2
- 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 +58506 -7998
- 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 +650 -2
- 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 +597 -3
- 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 +1455 -21
- 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 +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @turnkey/http
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#1433](https://github.com/tkhq/sdk/pull/1433) [`cd1af93`](https://github.com/tkhq/sdk/commit/cd1af93c41a3f41c3c68589cfa6cfe17c1812c2f) Author [@amircheikh](https://github.com/amircheikh) - - Synced with Mono v2026.7.3
|
|
8
|
+
- `EthSendTransaction()` function call now uses `ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2`. This activity allows for multiple eth calls to be batched together via the new `calls` array. This means the intent for the activity has now changed.
|
|
9
|
+
|
|
10
|
+
**Before:**
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
await client.ethSendTransaction({
|
|
14
|
+
from,
|
|
15
|
+
caip2,
|
|
16
|
+
to,
|
|
17
|
+
value,
|
|
18
|
+
data,
|
|
19
|
+
});
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**After:**
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
await client.ethSendTransaction({
|
|
26
|
+
from,
|
|
27
|
+
caip2,
|
|
28
|
+
calls: [{ to, value, data }],
|
|
29
|
+
});
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies []:
|
|
35
|
+
- @turnkey/api-key-stamper@0.6.8
|
|
36
|
+
|
|
3
37
|
## 4.1.1
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { THttpConfig, TSignedRequest, TStamper } from "../../../../../base";
|
|
2
|
+
import type { TEarnDepositStatusBody, TEarnDepositStatusResponse } from "./public_api.fetcher";
|
|
3
|
+
import type { TEarnEnabledVaultsBody, TEarnEnabledVaultsResponse } from "./public_api.fetcher";
|
|
4
|
+
import type { TEarnPositionsBody, TEarnPositionsResponse } from "./public_api.fetcher";
|
|
5
|
+
import type { TEarnVaultsBody, TEarnVaultsResponse } from "./public_api.fetcher";
|
|
6
|
+
import type { TEarnWithdrawStatusBody, TEarnWithdrawStatusResponse } from "./public_api.fetcher";
|
|
2
7
|
import type { TGetActivityBody, TGetActivityResponse } from "./public_api.fetcher";
|
|
3
8
|
import type { TGetApiKeyBody, TGetApiKeyResponse } from "./public_api.fetcher";
|
|
4
9
|
import type { TGetApiKeysBody, TGetApiKeysResponse } from "./public_api.fetcher";
|
|
@@ -9,6 +14,9 @@ import type { TGetBootProofBody, TGetBootProofResponse } from "./public_api.fetc
|
|
|
9
14
|
import type { TGetGasUsageBody, TGetGasUsageResponse } from "./public_api.fetcher";
|
|
10
15
|
import type { TGetIpAllowlistBody, TGetIpAllowlistResponse } from "./public_api.fetcher";
|
|
11
16
|
import type { TGetLatestBootProofBody, TGetLatestBootProofResponse } from "./public_api.fetcher";
|
|
17
|
+
import type { TGetMfaPoliciesBody, TGetMfaPoliciesResponse } from "./public_api.fetcher";
|
|
18
|
+
import type { TGetMfaPolicyBody, TGetMfaPolicyResponse } from "./public_api.fetcher";
|
|
19
|
+
import type { TGetMfaStatusBody, TGetMfaStatusResponse } from "./public_api.fetcher";
|
|
12
20
|
import type { TGetNoncesBody, TGetNoncesResponse } from "./public_api.fetcher";
|
|
13
21
|
import type { TGetOauth2CredentialBody, TGetOauth2CredentialResponse } from "./public_api.fetcher";
|
|
14
22
|
import type { TGetOauthProvidersBody, TGetOauthProvidersResponse } from "./public_api.fetcher";
|
|
@@ -19,9 +27,14 @@ import type { TGetPolicyBody, TGetPolicyResponse } from "./public_api.fetcher";
|
|
|
19
27
|
import type { TGetPolicyEvaluationsBody, TGetPolicyEvaluationsResponse } from "./public_api.fetcher";
|
|
20
28
|
import type { TGetPrivateKeyBody, TGetPrivateKeyResponse } from "./public_api.fetcher";
|
|
21
29
|
import type { TGetSendTransactionStatusBody, TGetSendTransactionStatusResponse } from "./public_api.fetcher";
|
|
30
|
+
import type { TGetSessionProfileBody, TGetSessionProfileResponse } from "./public_api.fetcher";
|
|
31
|
+
import type { TGetSessionProfilesBody, TGetSessionProfilesResponse } from "./public_api.fetcher";
|
|
22
32
|
import type { TGetSmartContractInterfaceBody, TGetSmartContractInterfaceResponse } from "./public_api.fetcher";
|
|
33
|
+
import type { TGetSwapQuoteBody, TGetSwapQuoteResponse } from "./public_api.fetcher";
|
|
34
|
+
import type { TGetSwapStatusBody, TGetSwapStatusResponse } from "./public_api.fetcher";
|
|
23
35
|
import type { TGetTvcAppBody, TGetTvcAppResponse } from "./public_api.fetcher";
|
|
24
36
|
import type { TGetTvcDeploymentBody, TGetTvcDeploymentResponse } from "./public_api.fetcher";
|
|
37
|
+
import type { TGetTvcDeploymentDebugLogsBody, TGetTvcDeploymentDebugLogsResponse } from "./public_api.fetcher";
|
|
25
38
|
import type { TGetTvcDeploymentProvisioningDetailsBody, TGetTvcDeploymentProvisioningDetailsResponse } from "./public_api.fetcher";
|
|
26
39
|
import type { TGetUserBody, TGetUserResponse } from "./public_api.fetcher";
|
|
27
40
|
import type { TGetWalletBody, TGetWalletResponse } from "./public_api.fetcher";
|
|
@@ -29,6 +42,7 @@ import type { TGetWalletAccountBody, TGetWalletAccountResponse } from "./public_
|
|
|
29
42
|
import type { TGetWalletAddressBalancesBody, TGetWalletAddressBalancesResponse } from "./public_api.fetcher";
|
|
30
43
|
import type { TGetActivitiesBody, TGetActivitiesResponse } from "./public_api.fetcher";
|
|
31
44
|
import type { TGetAppProofsBody, TGetAppProofsResponse } from "./public_api.fetcher";
|
|
45
|
+
import type { TListEmailEventsBody, TListEmailEventsResponse } from "./public_api.fetcher";
|
|
32
46
|
import type { TListFiatOnRampCredentialsBody, TListFiatOnRampCredentialsResponse } from "./public_api.fetcher";
|
|
33
47
|
import type { TListOauth2CredentialsBody, TListOauth2CredentialsResponse } from "./public_api.fetcher";
|
|
34
48
|
import type { TGetPoliciesBody, TGetPoliciesResponse } from "./public_api.fetcher";
|
|
@@ -53,6 +67,7 @@ import type { TCreateApiOnlyUsersBody, TCreateApiOnlyUsersResponse } from "./pub
|
|
|
53
67
|
import type { TCreateAuthenticatorsBody, TCreateAuthenticatorsResponse } from "./public_api.fetcher";
|
|
54
68
|
import type { TCreateFiatOnRampCredentialBody, TCreateFiatOnRampCredentialResponse } from "./public_api.fetcher";
|
|
55
69
|
import type { TCreateInvitationsBody, TCreateInvitationsResponse } from "./public_api.fetcher";
|
|
70
|
+
import type { TCreateMfaPolicyBody, TCreateMfaPolicyResponse } from "./public_api.fetcher";
|
|
56
71
|
import type { TCreateOauth2CredentialBody, TCreateOauth2CredentialResponse } from "./public_api.fetcher";
|
|
57
72
|
import type { TCreateOauthProvidersBody, TCreateOauthProvidersResponse } from "./public_api.fetcher";
|
|
58
73
|
import type { TCreatePoliciesBody, TCreatePoliciesResponse } from "./public_api.fetcher";
|
|
@@ -61,11 +76,14 @@ import type { TCreatePrivateKeyTagBody, TCreatePrivateKeyTagResponse } from "./p
|
|
|
61
76
|
import type { TCreatePrivateKeysBody, TCreatePrivateKeysResponse } from "./public_api.fetcher";
|
|
62
77
|
import type { TCreateReadOnlySessionBody, TCreateReadOnlySessionResponse } from "./public_api.fetcher";
|
|
63
78
|
import type { TCreateReadWriteSessionBody, TCreateReadWriteSessionResponse } from "./public_api.fetcher";
|
|
79
|
+
import type { TCreateSessionProfileBody, TCreateSessionProfileResponse } from "./public_api.fetcher";
|
|
64
80
|
import type { TCreateSmartContractInterfaceBody, TCreateSmartContractInterfaceResponse } from "./public_api.fetcher";
|
|
65
81
|
import type { TCreateSubOrganizationBody, TCreateSubOrganizationResponse } from "./public_api.fetcher";
|
|
66
82
|
import type { TCreateTvcAppBody, TCreateTvcAppResponse } from "./public_api.fetcher";
|
|
67
83
|
import type { TCreateTvcDeploymentBody, TCreateTvcDeploymentResponse } from "./public_api.fetcher";
|
|
68
84
|
import type { TCreateTvcManifestApprovalsBody, TCreateTvcManifestApprovalsResponse } from "./public_api.fetcher";
|
|
85
|
+
import type { TCreateTvcOperatorBody, TCreateTvcOperatorResponse } from "./public_api.fetcher";
|
|
86
|
+
import type { TCreateTvcQuorumKeyBody, TCreateTvcQuorumKeyResponse } from "./public_api.fetcher";
|
|
69
87
|
import type { TCreateUserTagBody, TCreateUserTagResponse } from "./public_api.fetcher";
|
|
70
88
|
import type { TCreateUsersBody, TCreateUsersResponse } from "./public_api.fetcher";
|
|
71
89
|
import type { TCreateWalletBody, TCreateWalletResponse } from "./public_api.fetcher";
|
|
@@ -75,6 +93,7 @@ import type { TDeleteApiKeysBody, TDeleteApiKeysResponse } from "./public_api.fe
|
|
|
75
93
|
import type { TDeleteAuthenticatorsBody, TDeleteAuthenticatorsResponse } from "./public_api.fetcher";
|
|
76
94
|
import type { TDeleteFiatOnRampCredentialBody, TDeleteFiatOnRampCredentialResponse } from "./public_api.fetcher";
|
|
77
95
|
import type { TDeleteInvitationBody, TDeleteInvitationResponse } from "./public_api.fetcher";
|
|
96
|
+
import type { TDeleteMfaPolicyBody, TDeleteMfaPolicyResponse } from "./public_api.fetcher";
|
|
78
97
|
import type { TDeleteOauth2CredentialBody, TDeleteOauth2CredentialResponse } from "./public_api.fetcher";
|
|
79
98
|
import type { TDeleteOauthProvidersBody, TDeleteOauthProvidersResponse } from "./public_api.fetcher";
|
|
80
99
|
import type { TDeletePoliciesBody, TDeletePoliciesResponse } from "./public_api.fetcher";
|
|
@@ -90,9 +109,13 @@ import type { TDeleteUsersBody, TDeleteUsersResponse } from "./public_api.fetche
|
|
|
90
109
|
import type { TDeleteWalletAccountsBody, TDeleteWalletAccountsResponse } from "./public_api.fetcher";
|
|
91
110
|
import type { TDeleteWalletsBody, TDeleteWalletsResponse } from "./public_api.fetcher";
|
|
92
111
|
import type { TDeleteWebhookEndpointBody, TDeleteWebhookEndpointResponse } from "./public_api.fetcher";
|
|
112
|
+
import type { TEarnDeployWrapperBody, TEarnDeployWrapperResponse } from "./public_api.fetcher";
|
|
113
|
+
import type { TEarnDepositBody, TEarnDepositResponse } from "./public_api.fetcher";
|
|
114
|
+
import type { TEarnWithdrawBody, TEarnWithdrawResponse } from "./public_api.fetcher";
|
|
93
115
|
import type { TEmailAuthBody, TEmailAuthResponse } from "./public_api.fetcher";
|
|
94
116
|
import type { TEthSendRawTransactionBody, TEthSendRawTransactionResponse } from "./public_api.fetcher";
|
|
95
117
|
import type { TEthSendTransactionBody, TEthSendTransactionResponse } from "./public_api.fetcher";
|
|
118
|
+
import type { TExecuteSwapBody, TExecuteSwapResponse } from "./public_api.fetcher";
|
|
96
119
|
import type { TExportPrivateKeyBody, TExportPrivateKeyResponse } from "./public_api.fetcher";
|
|
97
120
|
import type { TExportWalletBody, TExportWalletResponse } from "./public_api.fetcher";
|
|
98
121
|
import type { TExportWalletAccountBody, TExportWalletAccountResponse } from "./public_api.fetcher";
|
|
@@ -110,6 +133,7 @@ import type { TOauthLoginBody, TOauthLoginResponse } from "./public_api.fetcher"
|
|
|
110
133
|
import type { TOtpAuthBody, TOtpAuthResponse } from "./public_api.fetcher";
|
|
111
134
|
import type { TOtpLoginBody, TOtpLoginResponse } from "./public_api.fetcher";
|
|
112
135
|
import type { TPostTvcQuorumKeyShareBody, TPostTvcQuorumKeyShareResponse } from "./public_api.fetcher";
|
|
136
|
+
import type { TReEncryptTvcQuorumKeyShareBody, TReEncryptTvcQuorumKeyShareResponse } from "./public_api.fetcher";
|
|
113
137
|
import type { TRecoverUserBody, TRecoverUserResponse } from "./public_api.fetcher";
|
|
114
138
|
import type { TRejectActivityBody, TRejectActivityResponse } from "./public_api.fetcher";
|
|
115
139
|
import type { TRemoveIpAllowlistBody, TRemoveIpAllowlistResponse } from "./public_api.fetcher";
|
|
@@ -128,6 +152,7 @@ import type { TSparkPrepareTransferBody, TSparkPrepareTransferResponse } from ".
|
|
|
128
152
|
import type { TSparkSignFrostBody, TSparkSignFrostResponse } from "./public_api.fetcher";
|
|
129
153
|
import type { TStampLoginBody, TStampLoginResponse } from "./public_api.fetcher";
|
|
130
154
|
import type { TUpdateFiatOnRampCredentialBody, TUpdateFiatOnRampCredentialResponse } from "./public_api.fetcher";
|
|
155
|
+
import type { TUpdateMfaPolicyBody, TUpdateMfaPolicyResponse } from "./public_api.fetcher";
|
|
131
156
|
import type { TUpdateOauth2CredentialBody, TUpdateOauth2CredentialResponse } from "./public_api.fetcher";
|
|
132
157
|
import type { TUpdateOrganizationNameBody, TUpdateOrganizationNameResponse } from "./public_api.fetcher";
|
|
133
158
|
import type { TUpdatePolicyBody, TUpdatePolicyResponse } from "./public_api.fetcher";
|
|
@@ -140,6 +165,8 @@ import type { TUpdateUserPhoneNumberBody, TUpdateUserPhoneNumberResponse } from
|
|
|
140
165
|
import type { TUpdateUserTagBody, TUpdateUserTagResponse } from "./public_api.fetcher";
|
|
141
166
|
import type { TUpdateWalletBody, TUpdateWalletResponse } from "./public_api.fetcher";
|
|
142
167
|
import type { TUpdateWebhookEndpointBody, TUpdateWebhookEndpointResponse } from "./public_api.fetcher";
|
|
168
|
+
import type { TUpsertEarnClientFeeConfigBody, TUpsertEarnClientFeeConfigResponse } from "./public_api.fetcher";
|
|
169
|
+
import type { TUpsertSwapConfigBody, TUpsertSwapConfigResponse } from "./public_api.fetcher";
|
|
143
170
|
import type { TVerifyOtpBody, TVerifyOtpResponse } from "./public_api.fetcher";
|
|
144
171
|
import type { TRefreshFeatureFlagsBody, TRefreshFeatureFlagsResponse } from "./public_api.fetcher";
|
|
145
172
|
import type { TTestRateLimitsBody, TTestRateLimitsResponse } from "./public_api.fetcher";
|
|
@@ -149,6 +176,76 @@ export declare class TurnkeyClient {
|
|
|
149
176
|
name: string;
|
|
150
177
|
constructor(config: THttpConfig, stamper: TStamper);
|
|
151
178
|
request<TBodyType, TResponseType>(url: string, body: TBodyType): Promise<TResponseType>;
|
|
179
|
+
/**
|
|
180
|
+
* Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path).
|
|
181
|
+
*
|
|
182
|
+
* Sign the provided `TEarnDepositStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/earn_deposit_status).
|
|
183
|
+
*
|
|
184
|
+
* See also {@link stampEarnDepositStatus}.
|
|
185
|
+
*/
|
|
186
|
+
earnDepositStatus: (input: TEarnDepositStatusBody) => Promise<TEarnDepositStatusResponse>;
|
|
187
|
+
/**
|
|
188
|
+
* Produce a `SignedRequest` from `TEarnDepositStatusBody` by using the client's `stamp` function.
|
|
189
|
+
*
|
|
190
|
+
* See also {@link EarnDepositStatus}.
|
|
191
|
+
*/
|
|
192
|
+
stampEarnDepositStatus: (input: TEarnDepositStatusBody) => Promise<TSignedRequest>;
|
|
193
|
+
/**
|
|
194
|
+
* Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions.
|
|
195
|
+
*
|
|
196
|
+
* Sign the provided `TEarnEnabledVaultsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/earn_enabled_vaults).
|
|
197
|
+
*
|
|
198
|
+
* See also {@link stampEarnEnabledVaults}.
|
|
199
|
+
*/
|
|
200
|
+
earnEnabledVaults: (input: TEarnEnabledVaultsBody) => Promise<TEarnEnabledVaultsResponse>;
|
|
201
|
+
/**
|
|
202
|
+
* Produce a `SignedRequest` from `TEarnEnabledVaultsBody` by using the client's `stamp` function.
|
|
203
|
+
*
|
|
204
|
+
* See also {@link EarnEnabledVaults}.
|
|
205
|
+
*/
|
|
206
|
+
stampEarnEnabledVaults: (input: TEarnEnabledVaultsBody) => Promise<TSignedRequest>;
|
|
207
|
+
/**
|
|
208
|
+
* Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees.
|
|
209
|
+
*
|
|
210
|
+
* Sign the provided `TEarnPositionsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/earn_positions).
|
|
211
|
+
*
|
|
212
|
+
* See also {@link stampEarnPositions}.
|
|
213
|
+
*/
|
|
214
|
+
earnPositions: (input: TEarnPositionsBody) => Promise<TEarnPositionsResponse>;
|
|
215
|
+
/**
|
|
216
|
+
* Produce a `SignedRequest` from `TEarnPositionsBody` by using the client's `stamp` function.
|
|
217
|
+
*
|
|
218
|
+
* See also {@link EarnPositions}.
|
|
219
|
+
*/
|
|
220
|
+
stampEarnPositions: (input: TEarnPositionsBody) => Promise<TSignedRequest>;
|
|
221
|
+
/**
|
|
222
|
+
* 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.
|
|
223
|
+
*
|
|
224
|
+
* Sign the provided `TEarnVaultsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/earn_vaults).
|
|
225
|
+
*
|
|
226
|
+
* See also {@link stampEarnVaults}.
|
|
227
|
+
*/
|
|
228
|
+
earnVaults: (input: TEarnVaultsBody) => Promise<TEarnVaultsResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* Produce a `SignedRequest` from `TEarnVaultsBody` by using the client's `stamp` function.
|
|
231
|
+
*
|
|
232
|
+
* See also {@link EarnVaults}.
|
|
233
|
+
*/
|
|
234
|
+
stampEarnVaults: (input: TEarnVaultsBody) => Promise<TSignedRequest>;
|
|
235
|
+
/**
|
|
236
|
+
* Poll the status of a withdrawal by its withdraw_request_id.
|
|
237
|
+
*
|
|
238
|
+
* Sign the provided `TEarnWithdrawStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/earn_withdraw_status).
|
|
239
|
+
*
|
|
240
|
+
* See also {@link stampEarnWithdrawStatus}.
|
|
241
|
+
*/
|
|
242
|
+
earnWithdrawStatus: (input: TEarnWithdrawStatusBody) => Promise<TEarnWithdrawStatusResponse>;
|
|
243
|
+
/**
|
|
244
|
+
* Produce a `SignedRequest` from `TEarnWithdrawStatusBody` by using the client's `stamp` function.
|
|
245
|
+
*
|
|
246
|
+
* See also {@link EarnWithdrawStatus}.
|
|
247
|
+
*/
|
|
248
|
+
stampEarnWithdrawStatus: (input: TEarnWithdrawStatusBody) => Promise<TSignedRequest>;
|
|
152
249
|
/**
|
|
153
250
|
* Get details about an activity.
|
|
154
251
|
*
|
|
@@ -289,6 +386,48 @@ export declare class TurnkeyClient {
|
|
|
289
386
|
* See also {@link GetLatestBootProof}.
|
|
290
387
|
*/
|
|
291
388
|
stampGetLatestBootProof: (input: TGetLatestBootProofBody) => Promise<TSignedRequest>;
|
|
389
|
+
/**
|
|
390
|
+
* Get all MFA policies for a user.
|
|
391
|
+
*
|
|
392
|
+
* Sign the provided `TGetMfaPoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_mfa_policies).
|
|
393
|
+
*
|
|
394
|
+
* See also {@link stampGetMfaPolicies}.
|
|
395
|
+
*/
|
|
396
|
+
getMfaPolicies: (input: TGetMfaPoliciesBody) => Promise<TGetMfaPoliciesResponse>;
|
|
397
|
+
/**
|
|
398
|
+
* Produce a `SignedRequest` from `TGetMfaPoliciesBody` by using the client's `stamp` function.
|
|
399
|
+
*
|
|
400
|
+
* See also {@link GetMfaPolicies}.
|
|
401
|
+
*/
|
|
402
|
+
stampGetMfaPolicies: (input: TGetMfaPoliciesBody) => Promise<TSignedRequest>;
|
|
403
|
+
/**
|
|
404
|
+
* Get a single MFA policy for a user.
|
|
405
|
+
*
|
|
406
|
+
* Sign the provided `TGetMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_mfa_policy).
|
|
407
|
+
*
|
|
408
|
+
* See also {@link stampGetMfaPolicy}.
|
|
409
|
+
*/
|
|
410
|
+
getMfaPolicy: (input: TGetMfaPolicyBody) => Promise<TGetMfaPolicyResponse>;
|
|
411
|
+
/**
|
|
412
|
+
* Produce a `SignedRequest` from `TGetMfaPolicyBody` by using the client's `stamp` function.
|
|
413
|
+
*
|
|
414
|
+
* See also {@link GetMfaPolicy}.
|
|
415
|
+
*/
|
|
416
|
+
stampGetMfaPolicy: (input: TGetMfaPolicyBody) => Promise<TSignedRequest>;
|
|
417
|
+
/**
|
|
418
|
+
* Get the MFA status of an activity for a specific user or all voting users.
|
|
419
|
+
*
|
|
420
|
+
* Sign the provided `TGetMfaStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_mfa_status).
|
|
421
|
+
*
|
|
422
|
+
* See also {@link stampGetMfaStatus}.
|
|
423
|
+
*/
|
|
424
|
+
getMfaStatus: (input: TGetMfaStatusBody) => Promise<TGetMfaStatusResponse>;
|
|
425
|
+
/**
|
|
426
|
+
* Produce a `SignedRequest` from `TGetMfaStatusBody` by using the client's `stamp` function.
|
|
427
|
+
*
|
|
428
|
+
* See also {@link GetMfaStatus}.
|
|
429
|
+
*/
|
|
430
|
+
stampGetMfaStatus: (input: TGetMfaStatusBody) => Promise<TSignedRequest>;
|
|
292
431
|
/**
|
|
293
432
|
* 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
433
|
*
|
|
@@ -429,6 +568,34 @@ export declare class TurnkeyClient {
|
|
|
429
568
|
* See also {@link GetSendTransactionStatus}.
|
|
430
569
|
*/
|
|
431
570
|
stampGetSendTransactionStatus: (input: TGetSendTransactionStatusBody) => Promise<TSignedRequest>;
|
|
571
|
+
/**
|
|
572
|
+
* Get a single session profile for an organization.
|
|
573
|
+
*
|
|
574
|
+
* Sign the provided `TGetSessionProfileBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_session_profile).
|
|
575
|
+
*
|
|
576
|
+
* See also {@link stampGetSessionProfile}.
|
|
577
|
+
*/
|
|
578
|
+
getSessionProfile: (input: TGetSessionProfileBody) => Promise<TGetSessionProfileResponse>;
|
|
579
|
+
/**
|
|
580
|
+
* Produce a `SignedRequest` from `TGetSessionProfileBody` by using the client's `stamp` function.
|
|
581
|
+
*
|
|
582
|
+
* See also {@link GetSessionProfile}.
|
|
583
|
+
*/
|
|
584
|
+
stampGetSessionProfile: (input: TGetSessionProfileBody) => Promise<TSignedRequest>;
|
|
585
|
+
/**
|
|
586
|
+
* Get all session profiles for an organization.
|
|
587
|
+
*
|
|
588
|
+
* Sign the provided `TGetSessionProfilesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_session_profiles).
|
|
589
|
+
*
|
|
590
|
+
* See also {@link stampGetSessionProfiles}.
|
|
591
|
+
*/
|
|
592
|
+
getSessionProfiles: (input: TGetSessionProfilesBody) => Promise<TGetSessionProfilesResponse>;
|
|
593
|
+
/**
|
|
594
|
+
* Produce a `SignedRequest` from `TGetSessionProfilesBody` by using the client's `stamp` function.
|
|
595
|
+
*
|
|
596
|
+
* See also {@link GetSessionProfiles}.
|
|
597
|
+
*/
|
|
598
|
+
stampGetSessionProfiles: (input: TGetSessionProfilesBody) => Promise<TSignedRequest>;
|
|
432
599
|
/**
|
|
433
600
|
* Get details about a smart contract interface.
|
|
434
601
|
*
|
|
@@ -443,6 +610,34 @@ export declare class TurnkeyClient {
|
|
|
443
610
|
* See also {@link GetSmartContractInterface}.
|
|
444
611
|
*/
|
|
445
612
|
stampGetSmartContractInterface: (input: TGetSmartContractInterfaceBody) => Promise<TSignedRequest>;
|
|
613
|
+
/**
|
|
614
|
+
* Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported.
|
|
615
|
+
*
|
|
616
|
+
* Sign the provided `TGetSwapQuoteBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_swap_quote).
|
|
617
|
+
*
|
|
618
|
+
* See also {@link stampGetSwapQuote}.
|
|
619
|
+
*/
|
|
620
|
+
getSwapQuote: (input: TGetSwapQuoteBody) => Promise<TGetSwapQuoteResponse>;
|
|
621
|
+
/**
|
|
622
|
+
* Produce a `SignedRequest` from `TGetSwapQuoteBody` by using the client's `stamp` function.
|
|
623
|
+
*
|
|
624
|
+
* See also {@link GetSwapQuote}.
|
|
625
|
+
*/
|
|
626
|
+
stampGetSwapQuote: (input: TGetSwapQuoteBody) => Promise<TSignedRequest>;
|
|
627
|
+
/**
|
|
628
|
+
* Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps.
|
|
629
|
+
*
|
|
630
|
+
* Sign the provided `TGetSwapStatusBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_swap_status).
|
|
631
|
+
*
|
|
632
|
+
* See also {@link stampGetSwapStatus}.
|
|
633
|
+
*/
|
|
634
|
+
getSwapStatus: (input: TGetSwapStatusBody) => Promise<TGetSwapStatusResponse>;
|
|
635
|
+
/**
|
|
636
|
+
* Produce a `SignedRequest` from `TGetSwapStatusBody` by using the client's `stamp` function.
|
|
637
|
+
*
|
|
638
|
+
* See also {@link GetSwapStatus}.
|
|
639
|
+
*/
|
|
640
|
+
stampGetSwapStatus: (input: TGetSwapStatusBody) => Promise<TSignedRequest>;
|
|
446
641
|
/**
|
|
447
642
|
* Get details about a single TVC App
|
|
448
643
|
*
|
|
@@ -471,6 +666,20 @@ export declare class TurnkeyClient {
|
|
|
471
666
|
* See also {@link GetTvcDeployment}.
|
|
472
667
|
*/
|
|
473
668
|
stampGetTvcDeployment: (input: TGetTvcDeploymentBody) => Promise<TSignedRequest>;
|
|
669
|
+
/**
|
|
670
|
+
* 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.
|
|
671
|
+
*
|
|
672
|
+
* Sign the provided `TGetTvcDeploymentDebugLogsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_tvc_deployment_debug_logs).
|
|
673
|
+
*
|
|
674
|
+
* See also {@link stampGetTvcDeploymentDebugLogs}.
|
|
675
|
+
*/
|
|
676
|
+
getTvcDeploymentDebugLogs: (input: TGetTvcDeploymentDebugLogsBody) => Promise<TGetTvcDeploymentDebugLogsResponse>;
|
|
677
|
+
/**
|
|
678
|
+
* Produce a `SignedRequest` from `TGetTvcDeploymentDebugLogsBody` by using the client's `stamp` function.
|
|
679
|
+
*
|
|
680
|
+
* See also {@link GetTvcDeploymentDebugLogs}.
|
|
681
|
+
*/
|
|
682
|
+
stampGetTvcDeploymentDebugLogs: (input: TGetTvcDeploymentDebugLogsBody) => Promise<TSignedRequest>;
|
|
474
683
|
/**
|
|
475
684
|
* Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment
|
|
476
685
|
*
|
|
@@ -528,7 +737,7 @@ export declare class TurnkeyClient {
|
|
|
528
737
|
*/
|
|
529
738
|
stampGetWalletAccount: (input: TGetWalletAccountBody) => Promise<TSignedRequest>;
|
|
530
739
|
/**
|
|
531
|
-
* Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
740
|
+
* Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
532
741
|
*
|
|
533
742
|
* Sign the provided `TGetWalletAddressBalancesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet_address_balances).
|
|
534
743
|
*
|
|
@@ -569,6 +778,20 @@ export declare class TurnkeyClient {
|
|
|
569
778
|
* See also {@link GetAppProofs}.
|
|
570
779
|
*/
|
|
571
780
|
stampGetAppProofs: (input: TGetAppProofsBody) => Promise<TSignedRequest>;
|
|
781
|
+
/**
|
|
782
|
+
* List email events for the organization.
|
|
783
|
+
*
|
|
784
|
+
* Sign the provided `TListEmailEventsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_email_events).
|
|
785
|
+
*
|
|
786
|
+
* See also {@link stampListEmailEvents}.
|
|
787
|
+
*/
|
|
788
|
+
listEmailEvents: (input: TListEmailEventsBody) => Promise<TListEmailEventsResponse>;
|
|
789
|
+
/**
|
|
790
|
+
* Produce a `SignedRequest` from `TListEmailEventsBody` by using the client's `stamp` function.
|
|
791
|
+
*
|
|
792
|
+
* See also {@link ListEmailEvents}.
|
|
793
|
+
*/
|
|
794
|
+
stampListEmailEvents: (input: TListEmailEventsBody) => Promise<TSignedRequest>;
|
|
572
795
|
/**
|
|
573
796
|
* List all fiat on ramp provider credentials within an organization.
|
|
574
797
|
*
|
|
@@ -668,7 +891,7 @@ export declare class TurnkeyClient {
|
|
|
668
891
|
*/
|
|
669
892
|
stampGetSubOrgIds: (input: TGetSubOrgIdsBody) => Promise<TSignedRequest>;
|
|
670
893
|
/**
|
|
671
|
-
* List supported assets for the specified network.
|
|
894
|
+
* List supported assets for the specified network.
|
|
672
895
|
*
|
|
673
896
|
* Sign the provided `TListSupportedAssetsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_supported_assets).
|
|
674
897
|
*
|
|
@@ -905,6 +1128,20 @@ export declare class TurnkeyClient {
|
|
|
905
1128
|
* See also {@link CreateInvitations}.
|
|
906
1129
|
*/
|
|
907
1130
|
stampCreateInvitations: (input: TCreateInvitationsBody) => Promise<TSignedRequest>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Create a new MFA policy for a user.
|
|
1133
|
+
*
|
|
1134
|
+
* Sign the provided `TCreateMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_mfa_policy).
|
|
1135
|
+
*
|
|
1136
|
+
* See also {@link stampCreateMfaPolicy}.
|
|
1137
|
+
*/
|
|
1138
|
+
createMfaPolicy: (input: TCreateMfaPolicyBody) => Promise<TCreateMfaPolicyResponse>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Produce a `SignedRequest` from `TCreateMfaPolicyBody` by using the client's `stamp` function.
|
|
1141
|
+
*
|
|
1142
|
+
* See also {@link CreateMfaPolicy}.
|
|
1143
|
+
*/
|
|
1144
|
+
stampCreateMfaPolicy: (input: TCreateMfaPolicyBody) => Promise<TSignedRequest>;
|
|
908
1145
|
/**
|
|
909
1146
|
* Enable authentication for end users with an OAuth 2.0 provider
|
|
910
1147
|
*
|
|
@@ -1017,6 +1254,20 @@ export declare class TurnkeyClient {
|
|
|
1017
1254
|
* See also {@link CreateReadWriteSession}.
|
|
1018
1255
|
*/
|
|
1019
1256
|
stampCreateReadWriteSession: (input: TCreateReadWriteSessionBody) => Promise<TSignedRequest>;
|
|
1257
|
+
/**
|
|
1258
|
+
* Create a new session profile for an organization.
|
|
1259
|
+
*
|
|
1260
|
+
* Sign the provided `TCreateSessionProfileBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_session_profile).
|
|
1261
|
+
*
|
|
1262
|
+
* See also {@link stampCreateSessionProfile}.
|
|
1263
|
+
*/
|
|
1264
|
+
createSessionProfile: (input: TCreateSessionProfileBody) => Promise<TCreateSessionProfileResponse>;
|
|
1265
|
+
/**
|
|
1266
|
+
* Produce a `SignedRequest` from `TCreateSessionProfileBody` by using the client's `stamp` function.
|
|
1267
|
+
*
|
|
1268
|
+
* See also {@link CreateSessionProfile}.
|
|
1269
|
+
*/
|
|
1270
|
+
stampCreateSessionProfile: (input: TCreateSessionProfileBody) => Promise<TSignedRequest>;
|
|
1020
1271
|
/**
|
|
1021
1272
|
* Create an ABI/IDL in JSON.
|
|
1022
1273
|
*
|
|
@@ -1087,6 +1338,34 @@ export declare class TurnkeyClient {
|
|
|
1087
1338
|
* See also {@link CreateTvcManifestApprovals}.
|
|
1088
1339
|
*/
|
|
1089
1340
|
stampCreateTvcManifestApprovals: (input: TCreateTvcManifestApprovalsBody) => Promise<TSignedRequest>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts
|
|
1343
|
+
*
|
|
1344
|
+
* Sign the provided `TCreateTvcOperatorBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_tvc_operator).
|
|
1345
|
+
*
|
|
1346
|
+
* See also {@link stampCreateTvcOperator}.
|
|
1347
|
+
*/
|
|
1348
|
+
createTvcOperator: (input: TCreateTvcOperatorBody) => Promise<TCreateTvcOperatorResponse>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Produce a `SignedRequest` from `TCreateTvcOperatorBody` by using the client's `stamp` function.
|
|
1351
|
+
*
|
|
1352
|
+
* See also {@link CreateTvcOperator}.
|
|
1353
|
+
*/
|
|
1354
|
+
stampCreateTvcOperator: (input: TCreateTvcOperatorBody) => Promise<TSignedRequest>;
|
|
1355
|
+
/**
|
|
1356
|
+
* Create a hosted TVC quorum key and encrypted shares.
|
|
1357
|
+
*
|
|
1358
|
+
* Sign the provided `TCreateTvcQuorumKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_tvc_quorum_key).
|
|
1359
|
+
*
|
|
1360
|
+
* See also {@link stampCreateTvcQuorumKey}.
|
|
1361
|
+
*/
|
|
1362
|
+
createTvcQuorumKey: (input: TCreateTvcQuorumKeyBody) => Promise<TCreateTvcQuorumKeyResponse>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Produce a `SignedRequest` from `TCreateTvcQuorumKeyBody` by using the client's `stamp` function.
|
|
1365
|
+
*
|
|
1366
|
+
* See also {@link CreateTvcQuorumKey}.
|
|
1367
|
+
*/
|
|
1368
|
+
stampCreateTvcQuorumKey: (input: TCreateTvcQuorumKeyBody) => Promise<TSignedRequest>;
|
|
1090
1369
|
/**
|
|
1091
1370
|
* Create a user tag and add it to users.
|
|
1092
1371
|
*
|
|
@@ -1213,6 +1492,20 @@ export declare class TurnkeyClient {
|
|
|
1213
1492
|
* See also {@link DeleteInvitation}.
|
|
1214
1493
|
*/
|
|
1215
1494
|
stampDeleteInvitation: (input: TDeleteInvitationBody) => Promise<TSignedRequest>;
|
|
1495
|
+
/**
|
|
1496
|
+
* Delete an MFA policy for a user.
|
|
1497
|
+
*
|
|
1498
|
+
* Sign the provided `TDeleteMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_mfa_policy).
|
|
1499
|
+
*
|
|
1500
|
+
* See also {@link stampDeleteMfaPolicy}.
|
|
1501
|
+
*/
|
|
1502
|
+
deleteMfaPolicy: (input: TDeleteMfaPolicyBody) => Promise<TDeleteMfaPolicyResponse>;
|
|
1503
|
+
/**
|
|
1504
|
+
* Produce a `SignedRequest` from `TDeleteMfaPolicyBody` by using the client's `stamp` function.
|
|
1505
|
+
*
|
|
1506
|
+
* See also {@link DeleteMfaPolicy}.
|
|
1507
|
+
*/
|
|
1508
|
+
stampDeleteMfaPolicy: (input: TDeleteMfaPolicyBody) => Promise<TSignedRequest>;
|
|
1216
1509
|
/**
|
|
1217
1510
|
* Disable authentication for end users with an OAuth 2.0 provider
|
|
1218
1511
|
*
|
|
@@ -1423,6 +1716,48 @@ export declare class TurnkeyClient {
|
|
|
1423
1716
|
* See also {@link DeleteWebhookEndpoint}.
|
|
1424
1717
|
*/
|
|
1425
1718
|
stampDeleteWebhookEndpoint: (input: TDeleteWebhookEndpointBody) => Promise<TSignedRequest>;
|
|
1719
|
+
/**
|
|
1720
|
+
* Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault.
|
|
1721
|
+
*
|
|
1722
|
+
* Sign the provided `TEarnDeployWrapperBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/earn_deploy_wrapper).
|
|
1723
|
+
*
|
|
1724
|
+
* See also {@link stampEarnDeployWrapper}.
|
|
1725
|
+
*/
|
|
1726
|
+
earnDeployWrapper: (input: TEarnDeployWrapperBody) => Promise<TEarnDeployWrapperResponse>;
|
|
1727
|
+
/**
|
|
1728
|
+
* Produce a `SignedRequest` from `TEarnDeployWrapperBody` by using the client's `stamp` function.
|
|
1729
|
+
*
|
|
1730
|
+
* See also {@link EarnDeployWrapper}.
|
|
1731
|
+
*/
|
|
1732
|
+
stampEarnDeployWrapper: (input: TEarnDeployWrapperBody) => Promise<TSignedRequest>;
|
|
1733
|
+
/**
|
|
1734
|
+
* Deposit assets from a wallet into an enabled yield vault.
|
|
1735
|
+
*
|
|
1736
|
+
* Sign the provided `TEarnDepositBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/earn_deposit).
|
|
1737
|
+
*
|
|
1738
|
+
* See also {@link stampEarnDeposit}.
|
|
1739
|
+
*/
|
|
1740
|
+
earnDeposit: (input: TEarnDepositBody) => Promise<TEarnDepositResponse>;
|
|
1741
|
+
/**
|
|
1742
|
+
* Produce a `SignedRequest` from `TEarnDepositBody` by using the client's `stamp` function.
|
|
1743
|
+
*
|
|
1744
|
+
* See also {@link EarnDeposit}.
|
|
1745
|
+
*/
|
|
1746
|
+
stampEarnDeposit: (input: TEarnDepositBody) => Promise<TSignedRequest>;
|
|
1747
|
+
/**
|
|
1748
|
+
* Withdraw assets or redeem shares from an enabled yield vault.
|
|
1749
|
+
*
|
|
1750
|
+
* Sign the provided `TEarnWithdrawBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/earn_withdraw).
|
|
1751
|
+
*
|
|
1752
|
+
* See also {@link stampEarnWithdraw}.
|
|
1753
|
+
*/
|
|
1754
|
+
earnWithdraw: (input: TEarnWithdrawBody) => Promise<TEarnWithdrawResponse>;
|
|
1755
|
+
/**
|
|
1756
|
+
* Produce a `SignedRequest` from `TEarnWithdrawBody` by using the client's `stamp` function.
|
|
1757
|
+
*
|
|
1758
|
+
* See also {@link EarnWithdraw}.
|
|
1759
|
+
*/
|
|
1760
|
+
stampEarnWithdraw: (input: TEarnWithdrawBody) => Promise<TSignedRequest>;
|
|
1426
1761
|
/**
|
|
1427
1762
|
* Authenticate a user via email.
|
|
1428
1763
|
*
|
|
@@ -1465,6 +1800,20 @@ export declare class TurnkeyClient {
|
|
|
1465
1800
|
* See also {@link EthSendTransaction}.
|
|
1466
1801
|
*/
|
|
1467
1802
|
stampEthSendTransaction: (input: TEthSendTransactionBody) => Promise<TSignedRequest>;
|
|
1803
|
+
/**
|
|
1804
|
+
* Execute a quoted swap through the activity pipeline and Turnkey broadcasting.
|
|
1805
|
+
*
|
|
1806
|
+
* Sign the provided `TExecuteSwapBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/execute_swap).
|
|
1807
|
+
*
|
|
1808
|
+
* See also {@link stampExecuteSwap}.
|
|
1809
|
+
*/
|
|
1810
|
+
executeSwap: (input: TExecuteSwapBody) => Promise<TExecuteSwapResponse>;
|
|
1811
|
+
/**
|
|
1812
|
+
* Produce a `SignedRequest` from `TExecuteSwapBody` by using the client's `stamp` function.
|
|
1813
|
+
*
|
|
1814
|
+
* See also {@link ExecuteSwap}.
|
|
1815
|
+
*/
|
|
1816
|
+
stampExecuteSwap: (input: TExecuteSwapBody) => Promise<TSignedRequest>;
|
|
1468
1817
|
/**
|
|
1469
1818
|
* Export a private key.
|
|
1470
1819
|
*
|
|
@@ -1703,6 +2052,20 @@ export declare class TurnkeyClient {
|
|
|
1703
2052
|
* See also {@link PostTvcQuorumKeyShare}.
|
|
1704
2053
|
*/
|
|
1705
2054
|
stampPostTvcQuorumKeyShare: (input: TPostTvcQuorumKeyShareBody) => Promise<TSignedRequest>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Re-encrypt a hosted TVC quorum key share for a deployment.
|
|
2057
|
+
*
|
|
2058
|
+
* Sign the provided `TReEncryptTvcQuorumKeyShareBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/re_encrypt_tvc_quorum_key_share).
|
|
2059
|
+
*
|
|
2060
|
+
* See also {@link stampReEncryptTvcQuorumKeyShare}.
|
|
2061
|
+
*/
|
|
2062
|
+
reEncryptTvcQuorumKeyShare: (input: TReEncryptTvcQuorumKeyShareBody) => Promise<TReEncryptTvcQuorumKeyShareResponse>;
|
|
2063
|
+
/**
|
|
2064
|
+
* Produce a `SignedRequest` from `TReEncryptTvcQuorumKeyShareBody` by using the client's `stamp` function.
|
|
2065
|
+
*
|
|
2066
|
+
* See also {@link ReEncryptTvcQuorumKeyShare}.
|
|
2067
|
+
*/
|
|
2068
|
+
stampReEncryptTvcQuorumKeyShare: (input: TReEncryptTvcQuorumKeyShareBody) => Promise<TSignedRequest>;
|
|
1706
2069
|
/**
|
|
1707
2070
|
* Complete the process of recovering a user by adding an authenticator.
|
|
1708
2071
|
*
|
|
@@ -1955,6 +2318,20 @@ export declare class TurnkeyClient {
|
|
|
1955
2318
|
* See also {@link UpdateFiatOnRampCredential}.
|
|
1956
2319
|
*/
|
|
1957
2320
|
stampUpdateFiatOnRampCredential: (input: TUpdateFiatOnRampCredentialBody) => Promise<TSignedRequest>;
|
|
2321
|
+
/**
|
|
2322
|
+
* Update an MFA policy for a user.
|
|
2323
|
+
*
|
|
2324
|
+
* Sign the provided `TUpdateMfaPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_mfa_policy).
|
|
2325
|
+
*
|
|
2326
|
+
* See also {@link stampUpdateMfaPolicy}.
|
|
2327
|
+
*/
|
|
2328
|
+
updateMfaPolicy: (input: TUpdateMfaPolicyBody) => Promise<TUpdateMfaPolicyResponse>;
|
|
2329
|
+
/**
|
|
2330
|
+
* Produce a `SignedRequest` from `TUpdateMfaPolicyBody` by using the client's `stamp` function.
|
|
2331
|
+
*
|
|
2332
|
+
* See also {@link UpdateMfaPolicy}.
|
|
2333
|
+
*/
|
|
2334
|
+
stampUpdateMfaPolicy: (input: TUpdateMfaPolicyBody) => Promise<TSignedRequest>;
|
|
1958
2335
|
/**
|
|
1959
2336
|
* Update an OAuth 2.0 provider credential
|
|
1960
2337
|
*
|
|
@@ -2123,6 +2500,34 @@ export declare class TurnkeyClient {
|
|
|
2123
2500
|
* See also {@link UpdateWebhookEndpoint}.
|
|
2124
2501
|
*/
|
|
2125
2502
|
stampUpdateWebhookEndpoint: (input: TUpdateWebhookEndpointBody) => Promise<TSignedRequest>;
|
|
2503
|
+
/**
|
|
2504
|
+
* Set the client's Earn fee rate and payout wallet for the organization.
|
|
2505
|
+
*
|
|
2506
|
+
* Sign the provided `TUpsertEarnClientFeeConfigBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/upsert_earn_client_fee_config).
|
|
2507
|
+
*
|
|
2508
|
+
* See also {@link stampUpsertEarnClientFeeConfig}.
|
|
2509
|
+
*/
|
|
2510
|
+
upsertEarnClientFeeConfig: (input: TUpsertEarnClientFeeConfigBody) => Promise<TUpsertEarnClientFeeConfigResponse>;
|
|
2511
|
+
/**
|
|
2512
|
+
* Produce a `SignedRequest` from `TUpsertEarnClientFeeConfigBody` by using the client's `stamp` function.
|
|
2513
|
+
*
|
|
2514
|
+
* See also {@link UpsertEarnClientFeeConfig}.
|
|
2515
|
+
*/
|
|
2516
|
+
stampUpsertEarnClientFeeConfig: (input: TUpsertEarnClientFeeConfigBody) => Promise<TSignedRequest>;
|
|
2517
|
+
/**
|
|
2518
|
+
* Enable or disable swap configuration for an organization.
|
|
2519
|
+
*
|
|
2520
|
+
* Sign the provided `TUpsertSwapConfigBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/upsert_swap_config).
|
|
2521
|
+
*
|
|
2522
|
+
* See also {@link stampUpsertSwapConfig}.
|
|
2523
|
+
*/
|
|
2524
|
+
upsertSwapConfig: (input: TUpsertSwapConfigBody) => Promise<TUpsertSwapConfigResponse>;
|
|
2525
|
+
/**
|
|
2526
|
+
* Produce a `SignedRequest` from `TUpsertSwapConfigBody` by using the client's `stamp` function.
|
|
2527
|
+
*
|
|
2528
|
+
* See also {@link UpsertSwapConfig}.
|
|
2529
|
+
*/
|
|
2530
|
+
stampUpsertSwapConfig: (input: TUpsertSwapConfigBody) => Promise<TSignedRequest>;
|
|
2126
2531
|
/**
|
|
2127
2532
|
* Verify a generic OTP.
|
|
2128
2533
|
*
|