@turnkey/http 5.0.0 → 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 +41 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +198 -93
- 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 +327 -152
- 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 +327 -152
- 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 +26556 -10074
- 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 +315 -147
- 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 +290 -136
- 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 +741 -253
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.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
|
@@ -1,116 +1,6 @@
|
|
|
1
1
|
import { request, signedRequest } from '../../../../../base.mjs';
|
|
2
2
|
|
|
3
3
|
/* @generated by `@turnkey/fetchers`. DO NOT EDIT BY HAND */
|
|
4
|
-
/**
|
|
5
|
-
* Get Earn deposit status
|
|
6
|
-
*
|
|
7
|
-
* Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path).
|
|
8
|
-
*
|
|
9
|
-
* `POST /public/v1/query/earn_deposit_status`
|
|
10
|
-
*/
|
|
11
|
-
const earnDepositStatus = (input) => request({
|
|
12
|
-
uri: "/public/v1/query/earn_deposit_status",
|
|
13
|
-
method: "POST",
|
|
14
|
-
body: input.body,
|
|
15
|
-
});
|
|
16
|
-
/**
|
|
17
|
-
* Request a WebAuthn assertion and return a signed `EarnDepositStatus` request, ready to be POSTed to Turnkey.
|
|
18
|
-
*
|
|
19
|
-
* See {@link EarnDepositStatus}
|
|
20
|
-
*/
|
|
21
|
-
const signEarnDepositStatus = (input, options) => signedRequest({
|
|
22
|
-
uri: "/public/v1/query/earn_deposit_status",
|
|
23
|
-
body: input.body,
|
|
24
|
-
options,
|
|
25
|
-
});
|
|
26
|
-
/**
|
|
27
|
-
* Get Earn enabled vaults
|
|
28
|
-
*
|
|
29
|
-
* Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions.
|
|
30
|
-
*
|
|
31
|
-
* `POST /public/v1/query/earn_enabled_vaults`
|
|
32
|
-
*/
|
|
33
|
-
const earnEnabledVaults = (input) => request({
|
|
34
|
-
uri: "/public/v1/query/earn_enabled_vaults",
|
|
35
|
-
method: "POST",
|
|
36
|
-
body: input.body,
|
|
37
|
-
});
|
|
38
|
-
/**
|
|
39
|
-
* Request a WebAuthn assertion and return a signed `EarnEnabledVaults` request, ready to be POSTed to Turnkey.
|
|
40
|
-
*
|
|
41
|
-
* See {@link EarnEnabledVaults}
|
|
42
|
-
*/
|
|
43
|
-
const signEarnEnabledVaults = (input, options) => signedRequest({
|
|
44
|
-
uri: "/public/v1/query/earn_enabled_vaults",
|
|
45
|
-
body: input.body,
|
|
46
|
-
options,
|
|
47
|
-
});
|
|
48
|
-
/**
|
|
49
|
-
* Get Earn positions
|
|
50
|
-
*
|
|
51
|
-
* Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees.
|
|
52
|
-
*
|
|
53
|
-
* `POST /public/v1/query/earn_positions`
|
|
54
|
-
*/
|
|
55
|
-
const earnPositions = (input) => request({
|
|
56
|
-
uri: "/public/v1/query/earn_positions",
|
|
57
|
-
method: "POST",
|
|
58
|
-
body: input.body,
|
|
59
|
-
});
|
|
60
|
-
/**
|
|
61
|
-
* Request a WebAuthn assertion and return a signed `EarnPositions` request, ready to be POSTed to Turnkey.
|
|
62
|
-
*
|
|
63
|
-
* See {@link EarnPositions}
|
|
64
|
-
*/
|
|
65
|
-
const signEarnPositions = (input, options) => signedRequest({
|
|
66
|
-
uri: "/public/v1/query/earn_positions",
|
|
67
|
-
body: input.body,
|
|
68
|
-
options,
|
|
69
|
-
});
|
|
70
|
-
/**
|
|
71
|
-
* Get Earn vault catalog
|
|
72
|
-
*
|
|
73
|
-
* 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.
|
|
74
|
-
*
|
|
75
|
-
* `POST /public/v1/query/earn_vaults`
|
|
76
|
-
*/
|
|
77
|
-
const earnVaults = (input) => request({
|
|
78
|
-
uri: "/public/v1/query/earn_vaults",
|
|
79
|
-
method: "POST",
|
|
80
|
-
body: input.body,
|
|
81
|
-
});
|
|
82
|
-
/**
|
|
83
|
-
* Request a WebAuthn assertion and return a signed `EarnVaults` request, ready to be POSTed to Turnkey.
|
|
84
|
-
*
|
|
85
|
-
* See {@link EarnVaults}
|
|
86
|
-
*/
|
|
87
|
-
const signEarnVaults = (input, options) => signedRequest({
|
|
88
|
-
uri: "/public/v1/query/earn_vaults",
|
|
89
|
-
body: input.body,
|
|
90
|
-
options,
|
|
91
|
-
});
|
|
92
|
-
/**
|
|
93
|
-
* Get Earn withdraw status
|
|
94
|
-
*
|
|
95
|
-
* Poll the status of a withdrawal by its withdraw_request_id.
|
|
96
|
-
*
|
|
97
|
-
* `POST /public/v1/query/earn_withdraw_status`
|
|
98
|
-
*/
|
|
99
|
-
const earnWithdrawStatus = (input) => request({
|
|
100
|
-
uri: "/public/v1/query/earn_withdraw_status",
|
|
101
|
-
method: "POST",
|
|
102
|
-
body: input.body,
|
|
103
|
-
});
|
|
104
|
-
/**
|
|
105
|
-
* Request a WebAuthn assertion and return a signed `EarnWithdrawStatus` request, ready to be POSTed to Turnkey.
|
|
106
|
-
*
|
|
107
|
-
* See {@link EarnWithdrawStatus}
|
|
108
|
-
*/
|
|
109
|
-
const signEarnWithdrawStatus = (input, options) => signedRequest({
|
|
110
|
-
uri: "/public/v1/query/earn_withdraw_status",
|
|
111
|
-
body: input.body,
|
|
112
|
-
options,
|
|
113
|
-
});
|
|
114
4
|
/**
|
|
115
5
|
* Get activity
|
|
116
6
|
*
|
|
@@ -265,6 +155,94 @@ const signGetBootProof = (input, options) => signedRequest({
|
|
|
265
155
|
body: input.body,
|
|
266
156
|
options,
|
|
267
157
|
});
|
|
158
|
+
/**
|
|
159
|
+
* Get Earn claim fees status
|
|
160
|
+
*
|
|
161
|
+
* Poll the status of a fee claim by its claim_request_id.
|
|
162
|
+
*
|
|
163
|
+
* `POST /public/v1/query/get_claim_earn_fees_status`
|
|
164
|
+
*/
|
|
165
|
+
const getClaimEarnFeesStatus = (input) => request({
|
|
166
|
+
uri: "/public/v1/query/get_claim_earn_fees_status",
|
|
167
|
+
method: "POST",
|
|
168
|
+
body: input.body,
|
|
169
|
+
});
|
|
170
|
+
/**
|
|
171
|
+
* Request a WebAuthn assertion and return a signed `GetClaimEarnFeesStatus` request, ready to be POSTed to Turnkey.
|
|
172
|
+
*
|
|
173
|
+
* See {@link GetClaimEarnFeesStatus}
|
|
174
|
+
*/
|
|
175
|
+
const signGetClaimEarnFeesStatus = (input, options) => signedRequest({
|
|
176
|
+
uri: "/public/v1/query/get_claim_earn_fees_status",
|
|
177
|
+
body: input.body,
|
|
178
|
+
options,
|
|
179
|
+
});
|
|
180
|
+
/**
|
|
181
|
+
* Get Earn deploy status
|
|
182
|
+
*
|
|
183
|
+
* Poll the status of a wrapper deployment by its deploy_request_id.
|
|
184
|
+
*
|
|
185
|
+
* `POST /public/v1/query/get_earn_deploy_status`
|
|
186
|
+
*/
|
|
187
|
+
const getEarnDeployStatus = (input) => request({
|
|
188
|
+
uri: "/public/v1/query/get_earn_deploy_status",
|
|
189
|
+
method: "POST",
|
|
190
|
+
body: input.body,
|
|
191
|
+
});
|
|
192
|
+
/**
|
|
193
|
+
* Request a WebAuthn assertion and return a signed `GetEarnDeployStatus` request, ready to be POSTed to Turnkey.
|
|
194
|
+
*
|
|
195
|
+
* See {@link GetEarnDeployStatus}
|
|
196
|
+
*/
|
|
197
|
+
const signGetEarnDeployStatus = (input, options) => signedRequest({
|
|
198
|
+
uri: "/public/v1/query/get_earn_deploy_status",
|
|
199
|
+
body: input.body,
|
|
200
|
+
options,
|
|
201
|
+
});
|
|
202
|
+
/**
|
|
203
|
+
* Get Earn deposit status
|
|
204
|
+
*
|
|
205
|
+
* Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path).
|
|
206
|
+
*
|
|
207
|
+
* `POST /public/v1/query/get_earn_deposit_status`
|
|
208
|
+
*/
|
|
209
|
+
const getEarnDepositStatus = (input) => request({
|
|
210
|
+
uri: "/public/v1/query/get_earn_deposit_status",
|
|
211
|
+
method: "POST",
|
|
212
|
+
body: input.body,
|
|
213
|
+
});
|
|
214
|
+
/**
|
|
215
|
+
* Request a WebAuthn assertion and return a signed `GetEarnDepositStatus` request, ready to be POSTed to Turnkey.
|
|
216
|
+
*
|
|
217
|
+
* See {@link GetEarnDepositStatus}
|
|
218
|
+
*/
|
|
219
|
+
const signGetEarnDepositStatus = (input, options) => signedRequest({
|
|
220
|
+
uri: "/public/v1/query/get_earn_deposit_status",
|
|
221
|
+
body: input.body,
|
|
222
|
+
options,
|
|
223
|
+
});
|
|
224
|
+
/**
|
|
225
|
+
* Get Earn withdraw status
|
|
226
|
+
*
|
|
227
|
+
* Poll the status of a withdrawal by its withdraw_request_id.
|
|
228
|
+
*
|
|
229
|
+
* `POST /public/v1/query/get_earn_withdraw_status`
|
|
230
|
+
*/
|
|
231
|
+
const getEarnWithdrawStatus = (input) => request({
|
|
232
|
+
uri: "/public/v1/query/get_earn_withdraw_status",
|
|
233
|
+
method: "POST",
|
|
234
|
+
body: input.body,
|
|
235
|
+
});
|
|
236
|
+
/**
|
|
237
|
+
* Request a WebAuthn assertion and return a signed `GetEarnWithdrawStatus` request, ready to be POSTed to Turnkey.
|
|
238
|
+
*
|
|
239
|
+
* See {@link GetEarnWithdrawStatus}
|
|
240
|
+
*/
|
|
241
|
+
const signGetEarnWithdrawStatus = (input, options) => signedRequest({
|
|
242
|
+
uri: "/public/v1/query/get_earn_withdraw_status",
|
|
243
|
+
body: input.body,
|
|
244
|
+
options,
|
|
245
|
+
});
|
|
268
246
|
/**
|
|
269
247
|
* Get gas usage
|
|
270
248
|
*
|
|
@@ -947,6 +925,72 @@ const signGetAppProofs = (input, options) => signedRequest({
|
|
|
947
925
|
body: input.body,
|
|
948
926
|
options,
|
|
949
927
|
});
|
|
928
|
+
/**
|
|
929
|
+
* Get Earn enabled vaults
|
|
930
|
+
*
|
|
931
|
+
* Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions.
|
|
932
|
+
*
|
|
933
|
+
* `POST /public/v1/query/list_earn_enabled_vaults`
|
|
934
|
+
*/
|
|
935
|
+
const listEarnEnabledVaults = (input) => request({
|
|
936
|
+
uri: "/public/v1/query/list_earn_enabled_vaults",
|
|
937
|
+
method: "POST",
|
|
938
|
+
body: input.body,
|
|
939
|
+
});
|
|
940
|
+
/**
|
|
941
|
+
* Request a WebAuthn assertion and return a signed `ListEarnEnabledVaults` request, ready to be POSTed to Turnkey.
|
|
942
|
+
*
|
|
943
|
+
* See {@link ListEarnEnabledVaults}
|
|
944
|
+
*/
|
|
945
|
+
const signListEarnEnabledVaults = (input, options) => signedRequest({
|
|
946
|
+
uri: "/public/v1/query/list_earn_enabled_vaults",
|
|
947
|
+
body: input.body,
|
|
948
|
+
options,
|
|
949
|
+
});
|
|
950
|
+
/**
|
|
951
|
+
* Get Earn positions
|
|
952
|
+
*
|
|
953
|
+
* Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees.
|
|
954
|
+
*
|
|
955
|
+
* `POST /public/v1/query/list_earn_positions`
|
|
956
|
+
*/
|
|
957
|
+
const listEarnPositions = (input) => request({
|
|
958
|
+
uri: "/public/v1/query/list_earn_positions",
|
|
959
|
+
method: "POST",
|
|
960
|
+
body: input.body,
|
|
961
|
+
});
|
|
962
|
+
/**
|
|
963
|
+
* Request a WebAuthn assertion and return a signed `ListEarnPositions` request, ready to be POSTed to Turnkey.
|
|
964
|
+
*
|
|
965
|
+
* See {@link ListEarnPositions}
|
|
966
|
+
*/
|
|
967
|
+
const signListEarnPositions = (input, options) => signedRequest({
|
|
968
|
+
uri: "/public/v1/query/list_earn_positions",
|
|
969
|
+
body: input.body,
|
|
970
|
+
options,
|
|
971
|
+
});
|
|
972
|
+
/**
|
|
973
|
+
* Get Earn vault catalog
|
|
974
|
+
*
|
|
975
|
+
* 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.
|
|
976
|
+
*
|
|
977
|
+
* `POST /public/v1/query/list_earn_vaults`
|
|
978
|
+
*/
|
|
979
|
+
const listEarnVaults = (input) => request({
|
|
980
|
+
uri: "/public/v1/query/list_earn_vaults",
|
|
981
|
+
method: "POST",
|
|
982
|
+
body: input.body,
|
|
983
|
+
});
|
|
984
|
+
/**
|
|
985
|
+
* Request a WebAuthn assertion and return a signed `ListEarnVaults` request, ready to be POSTed to Turnkey.
|
|
986
|
+
*
|
|
987
|
+
* See {@link ListEarnVaults}
|
|
988
|
+
*/
|
|
989
|
+
const signListEarnVaults = (input, options) => signedRequest({
|
|
990
|
+
uri: "/public/v1/query/list_earn_vaults",
|
|
991
|
+
body: input.body,
|
|
992
|
+
options,
|
|
993
|
+
});
|
|
950
994
|
/**
|
|
951
995
|
* List email events
|
|
952
996
|
*
|
|
@@ -969,6 +1013,28 @@ const signListEmailEvents = (input, options) => signedRequest({
|
|
|
969
1013
|
body: input.body,
|
|
970
1014
|
options,
|
|
971
1015
|
});
|
|
1016
|
+
/**
|
|
1017
|
+
* List Eth transaction history
|
|
1018
|
+
*
|
|
1019
|
+
* List Ethereum transaction history for a wallet address on the specified network.
|
|
1020
|
+
*
|
|
1021
|
+
* `POST /public/v1/query/list_eth_transaction_history`
|
|
1022
|
+
*/
|
|
1023
|
+
const listEthTransactionHistory = (input) => request({
|
|
1024
|
+
uri: "/public/v1/query/list_eth_transaction_history",
|
|
1025
|
+
method: "POST",
|
|
1026
|
+
body: input.body,
|
|
1027
|
+
});
|
|
1028
|
+
/**
|
|
1029
|
+
* Request a WebAuthn assertion and return a signed `ListEthTransactionHistory` request, ready to be POSTed to Turnkey.
|
|
1030
|
+
*
|
|
1031
|
+
* See {@link ListEthTransactionHistory}
|
|
1032
|
+
*/
|
|
1033
|
+
const signListEthTransactionHistory = (input, options) => signedRequest({
|
|
1034
|
+
uri: "/public/v1/query/list_eth_transaction_history",
|
|
1035
|
+
body: input.body,
|
|
1036
|
+
options,
|
|
1037
|
+
});
|
|
972
1038
|
/**
|
|
973
1039
|
* List Fiat On Ramp Credentials
|
|
974
1040
|
*
|
|
@@ -1101,6 +1167,28 @@ const signGetSmartContractInterfaces = (input, options) => signedRequest({
|
|
|
1101
1167
|
body: input.body,
|
|
1102
1168
|
options,
|
|
1103
1169
|
});
|
|
1170
|
+
/**
|
|
1171
|
+
* List Sol transaction history
|
|
1172
|
+
*
|
|
1173
|
+
* List Solana transaction history for a wallet address on the specified network.
|
|
1174
|
+
*
|
|
1175
|
+
* `POST /public/v1/query/list_sol_transaction_history`
|
|
1176
|
+
*/
|
|
1177
|
+
const listSolTransactionHistory = (input) => request({
|
|
1178
|
+
uri: "/public/v1/query/list_sol_transaction_history",
|
|
1179
|
+
method: "POST",
|
|
1180
|
+
body: input.body,
|
|
1181
|
+
});
|
|
1182
|
+
/**
|
|
1183
|
+
* Request a WebAuthn assertion and return a signed `ListSolTransactionHistory` request, ready to be POSTed to Turnkey.
|
|
1184
|
+
*
|
|
1185
|
+
* See {@link ListSolTransactionHistory}
|
|
1186
|
+
*/
|
|
1187
|
+
const signListSolTransactionHistory = (input, options) => signedRequest({
|
|
1188
|
+
uri: "/public/v1/query/list_sol_transaction_history",
|
|
1189
|
+
body: input.body,
|
|
1190
|
+
options,
|
|
1191
|
+
});
|
|
1104
1192
|
/**
|
|
1105
1193
|
* Get sub-organizations
|
|
1106
1194
|
*
|
|
@@ -1387,6 +1475,50 @@ const signApproveActivity = (input, options) => signedRequest({
|
|
|
1387
1475
|
body: input.body,
|
|
1388
1476
|
options,
|
|
1389
1477
|
});
|
|
1478
|
+
/**
|
|
1479
|
+
* Claim earn fees
|
|
1480
|
+
*
|
|
1481
|
+
* Claim earn fees through the activity pipeline.
|
|
1482
|
+
*
|
|
1483
|
+
* `POST /public/v1/submit/claim_earn_fees`
|
|
1484
|
+
*/
|
|
1485
|
+
const claimEarnFees = (input) => request({
|
|
1486
|
+
uri: "/public/v1/submit/claim_earn_fees",
|
|
1487
|
+
method: "POST",
|
|
1488
|
+
body: input.body,
|
|
1489
|
+
});
|
|
1490
|
+
/**
|
|
1491
|
+
* Request a WebAuthn assertion and return a signed `ClaimEarnFees` request, ready to be POSTed to Turnkey.
|
|
1492
|
+
*
|
|
1493
|
+
* See {@link ClaimEarnFees}
|
|
1494
|
+
*/
|
|
1495
|
+
const signClaimEarnFees = (input, options) => signedRequest({
|
|
1496
|
+
uri: "/public/v1/submit/claim_earn_fees",
|
|
1497
|
+
body: input.body,
|
|
1498
|
+
options,
|
|
1499
|
+
});
|
|
1500
|
+
/**
|
|
1501
|
+
* Claim swap fees
|
|
1502
|
+
*
|
|
1503
|
+
* Claim swap fees through the activity pipeline.
|
|
1504
|
+
*
|
|
1505
|
+
* `POST /public/v1/submit/claim_swap_fees`
|
|
1506
|
+
*/
|
|
1507
|
+
const claimSwapFees = (input) => request({
|
|
1508
|
+
uri: "/public/v1/submit/claim_swap_fees",
|
|
1509
|
+
method: "POST",
|
|
1510
|
+
body: input.body,
|
|
1511
|
+
});
|
|
1512
|
+
/**
|
|
1513
|
+
* Request a WebAuthn assertion and return a signed `ClaimSwapFees` request, ready to be POSTed to Turnkey.
|
|
1514
|
+
*
|
|
1515
|
+
* See {@link ClaimSwapFees}
|
|
1516
|
+
*/
|
|
1517
|
+
const signClaimSwapFees = (input, options) => signedRequest({
|
|
1518
|
+
uri: "/public/v1/submit/claim_swap_fees",
|
|
1519
|
+
body: input.body,
|
|
1520
|
+
options,
|
|
1521
|
+
});
|
|
1390
1522
|
/**
|
|
1391
1523
|
* Create API keys
|
|
1392
1524
|
*
|
|
@@ -1742,7 +1874,7 @@ const signCreateSmartContractInterface = (input, options) => signedRequest({
|
|
|
1742
1874
|
/**
|
|
1743
1875
|
* Create sub-organization
|
|
1744
1876
|
*
|
|
1745
|
-
* Create a new sub-organization.
|
|
1877
|
+
* 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).
|
|
1746
1878
|
*
|
|
1747
1879
|
* `POST /public/v1/submit/create_sub_organization`
|
|
1748
1880
|
*/
|
|
@@ -1896,7 +2028,7 @@ const signCreateUserTag = (input, options) => signedRequest({
|
|
|
1896
2028
|
/**
|
|
1897
2029
|
* Create users
|
|
1898
2030
|
*
|
|
1899
|
-
* Create users in an existing organization.
|
|
2031
|
+
* 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).
|
|
1900
2032
|
*
|
|
1901
2033
|
* `POST /public/v1/submit/create_users`
|
|
1902
2034
|
*/
|
|
@@ -2465,6 +2597,28 @@ const signEarnDeposit = (input, options) => signedRequest({
|
|
|
2465
2597
|
body: input.body,
|
|
2466
2598
|
options,
|
|
2467
2599
|
});
|
|
2600
|
+
/**
|
|
2601
|
+
* Set Earn wrapper state
|
|
2602
|
+
*
|
|
2603
|
+
* Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed.
|
|
2604
|
+
*
|
|
2605
|
+
* `POST /public/v1/submit/earn_set_wrapper_state`
|
|
2606
|
+
*/
|
|
2607
|
+
const earnSetWrapperState = (input) => request({
|
|
2608
|
+
uri: "/public/v1/submit/earn_set_wrapper_state",
|
|
2609
|
+
method: "POST",
|
|
2610
|
+
body: input.body,
|
|
2611
|
+
});
|
|
2612
|
+
/**
|
|
2613
|
+
* Request a WebAuthn assertion and return a signed `EarnSetWrapperState` request, ready to be POSTed to Turnkey.
|
|
2614
|
+
*
|
|
2615
|
+
* See {@link EarnSetWrapperState}
|
|
2616
|
+
*/
|
|
2617
|
+
const signEarnSetWrapperState = (input, options) => signedRequest({
|
|
2618
|
+
uri: "/public/v1/submit/earn_set_wrapper_state",
|
|
2619
|
+
body: input.body,
|
|
2620
|
+
options,
|
|
2621
|
+
});
|
|
2468
2622
|
/**
|
|
2469
2623
|
* Withdraw from Earn vault
|
|
2470
2624
|
*
|
|
@@ -2729,6 +2883,28 @@ const signInitImportPrivateKey = (input, options) => signedRequest({
|
|
|
2729
2883
|
body: input.body,
|
|
2730
2884
|
options,
|
|
2731
2885
|
});
|
|
2886
|
+
/**
|
|
2887
|
+
* Init import secrets
|
|
2888
|
+
*
|
|
2889
|
+
* Initialize secret imports by generating Ingress Encryption Target Keys.
|
|
2890
|
+
*
|
|
2891
|
+
* `POST /public/v1/submit/init_import_secrets`
|
|
2892
|
+
*/
|
|
2893
|
+
const initImportSecrets = (input) => request({
|
|
2894
|
+
uri: "/public/v1/submit/init_import_secrets",
|
|
2895
|
+
method: "POST",
|
|
2896
|
+
body: input.body,
|
|
2897
|
+
});
|
|
2898
|
+
/**
|
|
2899
|
+
* Request a WebAuthn assertion and return a signed `InitImportSecrets` request, ready to be POSTed to Turnkey.
|
|
2900
|
+
*
|
|
2901
|
+
* See {@link InitImportSecrets}
|
|
2902
|
+
*/
|
|
2903
|
+
const signInitImportSecrets = (input, options) => signedRequest({
|
|
2904
|
+
uri: "/public/v1/submit/init_import_secrets",
|
|
2905
|
+
body: input.body,
|
|
2906
|
+
options,
|
|
2907
|
+
});
|
|
2732
2908
|
/**
|
|
2733
2909
|
* Init import wallet
|
|
2734
2910
|
*
|
|
@@ -3216,7 +3392,7 @@ const signSignTransaction = (input, options) => signedRequest({
|
|
|
3216
3392
|
/**
|
|
3217
3393
|
* Broadcast SVM transaction
|
|
3218
3394
|
*
|
|
3219
|
-
* Submit a transaction intent describing an SVM transaction you would like to broadcast.
|
|
3395
|
+
* Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning.
|
|
3220
3396
|
*
|
|
3221
3397
|
* `POST /public/v1/submit/sol_send_transaction`
|
|
3222
3398
|
*/
|
|
@@ -3653,28 +3829,6 @@ const signUpdateWebhookEndpoint = (input, options) => signedRequest({
|
|
|
3653
3829
|
body: input.body,
|
|
3654
3830
|
options,
|
|
3655
3831
|
});
|
|
3656
|
-
/**
|
|
3657
|
-
* Upsert Earn client fee config
|
|
3658
|
-
*
|
|
3659
|
-
* Set the client's Earn fee rate and payout wallet for the organization.
|
|
3660
|
-
*
|
|
3661
|
-
* `POST /public/v1/submit/upsert_earn_client_fee_config`
|
|
3662
|
-
*/
|
|
3663
|
-
const upsertEarnClientFeeConfig = (input) => request({
|
|
3664
|
-
uri: "/public/v1/submit/upsert_earn_client_fee_config",
|
|
3665
|
-
method: "POST",
|
|
3666
|
-
body: input.body,
|
|
3667
|
-
});
|
|
3668
|
-
/**
|
|
3669
|
-
* Request a WebAuthn assertion and return a signed `UpsertEarnClientFeeConfig` request, ready to be POSTed to Turnkey.
|
|
3670
|
-
*
|
|
3671
|
-
* See {@link UpsertEarnClientFeeConfig}
|
|
3672
|
-
*/
|
|
3673
|
-
const signUpsertEarnClientFeeConfig = (input, options) => signedRequest({
|
|
3674
|
-
uri: "/public/v1/submit/upsert_earn_client_fee_config",
|
|
3675
|
-
body: input.body,
|
|
3676
|
-
options,
|
|
3677
|
-
});
|
|
3678
3832
|
/**
|
|
3679
3833
|
* Upsert swap config
|
|
3680
3834
|
*
|
|
@@ -3779,5 +3933,5 @@ const signTestRateLimits = (input, options) => signedRequest({
|
|
|
3779
3933
|
options,
|
|
3780
3934
|
});
|
|
3781
3935
|
|
|
3782
|
-
export { approveActivity, createApiKeys, createApiOnlyUsers, createAuthenticators, createFiatOnRampCredential, createInvitations, createMfaPolicy, createOauth2Credential, createOauthProviders, createPolicies, createPolicy, createPrivateKeyTag, createPrivateKeys, createReadOnlySession, createReadWriteSession, createSessionProfile, createSmartContractInterface, createSubOrganization, createTvcApp, createTvcDeployment, createTvcManifestApprovals, createTvcOperator, createTvcQuorumKey, createUserTag, createUsers, createWallet, createWalletAccounts, createWebhookEndpoint, deleteApiKeys, deleteAuthenticators, deleteFiatOnRampCredential, deleteInvitation, deleteMfaPolicy, deleteOauth2Credential, deleteOauthProviders, deletePolicies, deletePolicy, deletePrivateKeyTags, deletePrivateKeys, deleteSmartContractInterface, deleteSubOrganization, deleteTvcAppAndDeployments, deleteTvcDeployment, deleteUserTags, deleteUsers, deleteWalletAccounts, deleteWallets, deleteWebhookEndpoint, earnDeployWrapper, earnDeposit,
|
|
3936
|
+
export { approveActivity, claimEarnFees, claimSwapFees, createApiKeys, createApiOnlyUsers, createAuthenticators, createFiatOnRampCredential, createInvitations, createMfaPolicy, createOauth2Credential, createOauthProviders, createPolicies, createPolicy, createPrivateKeyTag, createPrivateKeys, createReadOnlySession, createReadWriteSession, createSessionProfile, createSmartContractInterface, createSubOrganization, createTvcApp, createTvcDeployment, createTvcManifestApprovals, createTvcOperator, createTvcQuorumKey, createUserTag, createUsers, createWallet, createWalletAccounts, createWebhookEndpoint, deleteApiKeys, deleteAuthenticators, deleteFiatOnRampCredential, deleteInvitation, deleteMfaPolicy, deleteOauth2Credential, deleteOauthProviders, deletePolicies, deletePolicy, deletePrivateKeyTags, deletePrivateKeys, deleteSmartContractInterface, deleteSubOrganization, deleteTvcAppAndDeployments, deleteTvcDeployment, deleteUserTags, deleteUsers, deleteWalletAccounts, deleteWallets, deleteWebhookEndpoint, earnDeployWrapper, earnDeposit, earnSetWrapperState, earnWithdraw, emailAuth, ethSendRawTransaction, ethSendTransaction, executeSwap, exportPrivateKey, exportWallet, exportWalletAccount, getActivities, getActivity, getApiKey, getApiKeys, getAppProofs, getAppStatus, getAuthenticator, getAuthenticators, getBootProof, getClaimEarnFeesStatus, getEarnDeployStatus, getEarnDepositStatus, getEarnWithdrawStatus, getGasUsage, getIpAllowlist, getLatestBootProof, getMfaPolicies, getMfaPolicy, getMfaStatus, getNonces, getOauth2Credential, getOauthProviders, getOnRampTransactionStatus, getOrganization, getOrganizationConfigs, getPolicies, getPolicy, getPolicyEvaluations, getPrivateKey, getPrivateKeys, getSendTransactionStatus, getSessionProfile, getSessionProfiles, getSmartContractInterface, getSmartContractInterfaces, getSubOrgIds, getSwapQuote, getSwapStatus, getTvcApp, getTvcAppDeployments, getTvcApps, getTvcDeployment, getTvcDeploymentDebugLogs, getTvcDeploymentProvisioningDetails, getUser, getUsers, getVerifiedSubOrgIds, getWallet, getWalletAccount, getWalletAccounts, getWalletAddressBalances, getWallets, getWhoami, importPrivateKey, importWallet, initFiatOnRamp, initImportPrivateKey, initImportSecrets, initImportWallet, initOtp, initOtpAuth, initUserEmailRecovery, listEarnEnabledVaults, listEarnPositions, listEarnVaults, listEmailEvents, listEthTransactionHistory, listFiatOnRampCredentials, listOauth2Credentials, listPrivateKeyTags, listSolTransactionHistory, listSupportedAssets, listUserTags, listWebhookEndpoints, nOOPCodegenAnchor, oauth, oauth2Authenticate, oauthLogin, otpAuth, otpLogin, postTvcQuorumKeyShare, reEncryptTvcQuorumKeyShare, recoverUser, refreshFeatureFlags, rejectActivity, removeIpAllowlist, removeOrganizationFeature, restoreTvcDeployment, setIpAllowlist, setOrganizationFeature, signApproveActivity, signClaimEarnFees, signClaimSwapFees, signCreateApiKeys, signCreateApiOnlyUsers, signCreateAuthenticators, signCreateFiatOnRampCredential, signCreateInvitations, signCreateMfaPolicy, signCreateOauth2Credential, signCreateOauthProviders, signCreatePolicies, signCreatePolicy, signCreatePrivateKeyTag, signCreatePrivateKeys, signCreateReadOnlySession, signCreateReadWriteSession, signCreateSessionProfile, signCreateSmartContractInterface, signCreateSubOrganization, signCreateTvcApp, signCreateTvcDeployment, signCreateTvcManifestApprovals, signCreateTvcOperator, signCreateTvcQuorumKey, signCreateUserTag, signCreateUsers, signCreateWallet, signCreateWalletAccounts, signCreateWebhookEndpoint, signDeleteApiKeys, signDeleteAuthenticators, signDeleteFiatOnRampCredential, signDeleteInvitation, signDeleteMfaPolicy, signDeleteOauth2Credential, signDeleteOauthProviders, signDeletePolicies, signDeletePolicy, signDeletePrivateKeyTags, signDeletePrivateKeys, signDeleteSmartContractInterface, signDeleteSubOrganization, signDeleteTvcAppAndDeployments, signDeleteTvcDeployment, signDeleteUserTags, signDeleteUsers, signDeleteWalletAccounts, signDeleteWallets, signDeleteWebhookEndpoint, signEarnDeployWrapper, signEarnDeposit, signEarnSetWrapperState, signEarnWithdraw, signEmailAuth, signEthSendRawTransaction, signEthSendTransaction, signExecuteSwap, signExportPrivateKey, signExportWallet, signExportWalletAccount, signGetActivities, signGetActivity, signGetApiKey, signGetApiKeys, signGetAppProofs, signGetAppStatus, signGetAuthenticator, signGetAuthenticators, signGetBootProof, signGetClaimEarnFeesStatus, signGetEarnDeployStatus, signGetEarnDepositStatus, signGetEarnWithdrawStatus, signGetGasUsage, signGetIpAllowlist, signGetLatestBootProof, signGetMfaPolicies, signGetMfaPolicy, signGetMfaStatus, signGetNonces, signGetOauth2Credential, signGetOauthProviders, signGetOnRampTransactionStatus, signGetOrganization, signGetOrganizationConfigs, signGetPolicies, signGetPolicy, signGetPolicyEvaluations, signGetPrivateKey, signGetPrivateKeys, signGetSendTransactionStatus, signGetSessionProfile, signGetSessionProfiles, signGetSmartContractInterface, signGetSmartContractInterfaces, signGetSubOrgIds, signGetSwapQuote, signGetSwapStatus, signGetTvcApp, signGetTvcAppDeployments, signGetTvcApps, signGetTvcDeployment, signGetTvcDeploymentDebugLogs, signGetTvcDeploymentProvisioningDetails, signGetUser, signGetUsers, signGetVerifiedSubOrgIds, signGetWallet, signGetWalletAccount, signGetWalletAccounts, signGetWalletAddressBalances, signGetWallets, signGetWhoami, signImportPrivateKey, signImportWallet, signInitFiatOnRamp, signInitImportPrivateKey, signInitImportSecrets, signInitImportWallet, signInitOtp, signInitOtpAuth, signInitUserEmailRecovery, signListEarnEnabledVaults, signListEarnPositions, signListEarnVaults, signListEmailEvents, signListEthTransactionHistory, signListFiatOnRampCredentials, signListOauth2Credentials, signListPrivateKeyTags, signListSolTransactionHistory, signListSupportedAssets, signListUserTags, signListWebhookEndpoints, signNOOPCodegenAnchor, signOauth, signOauth2Authenticate, signOauthLogin, signOtpAuth, signOtpLogin, signPostTvcQuorumKeyShare, signRawPayload, signRawPayloads, signReEncryptTvcQuorumKeyShare, signRecoverUser, signRefreshFeatureFlags, signRejectActivity, signRemoveIpAllowlist, signRemoveOrganizationFeature, signRestoreTvcDeployment, signSetIpAllowlist, signSetOrganizationFeature, signSignRawPayload, signSignRawPayloads, signSignTransaction, signSolSendTransaction, signSparkClaimTransfer, signSparkPrepareLightningReceive, signSparkPrepareTransfer, signSparkSignFrost, signStampLogin, signTestRateLimits, signTransaction, signUpdateFiatOnRampCredential, signUpdateMfaPolicy, signUpdateOauth2Credential, signUpdateOrganizationName, signUpdatePolicy, signUpdatePrivateKeyTag, signUpdateRootQuorum, signUpdateTvcAppLiveDeployment, signUpdateUser, signUpdateUserEmail, signUpdateUserName, signUpdateUserPhoneNumber, signUpdateUserTag, signUpdateWallet, signUpdateWebhookEndpoint, signUpsertSwapConfig, signValidateTvcImage, signVerifyOtp, solSendTransaction, sparkClaimTransfer, sparkPrepareLightningReceive, sparkPrepareTransfer, sparkSignFrost, stampLogin, testRateLimits, updateFiatOnRampCredential, updateMfaPolicy, updateOauth2Credential, updateOrganizationName, updatePolicy, updatePrivateKeyTag, updateRootQuorum, updateTvcAppLiveDeployment, updateUser, updateUserEmail, updateUserName, updateUserPhoneNumber, updateUserTag, updateWallet, updateWebhookEndpoint, upsertSwapConfig, validateTvcImage, verifyOtp };
|
|
3783
3937
|
//# sourceMappingURL=public_api.fetcher.mjs.map
|