@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
|
@@ -155,6 +155,94 @@ const signGetBootProof = (input, options) => signedRequest({
|
|
|
155
155
|
body: input.body,
|
|
156
156
|
options,
|
|
157
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
|
+
});
|
|
158
246
|
/**
|
|
159
247
|
* Get gas usage
|
|
160
248
|
*
|
|
@@ -221,6 +309,72 @@ const signGetLatestBootProof = (input, options) => signedRequest({
|
|
|
221
309
|
body: input.body,
|
|
222
310
|
options,
|
|
223
311
|
});
|
|
312
|
+
/**
|
|
313
|
+
* Get MFA policies
|
|
314
|
+
*
|
|
315
|
+
* Get all MFA policies for a user.
|
|
316
|
+
*
|
|
317
|
+
* `POST /public/v1/query/get_mfa_policies`
|
|
318
|
+
*/
|
|
319
|
+
const getMfaPolicies = (input) => request({
|
|
320
|
+
uri: "/public/v1/query/get_mfa_policies",
|
|
321
|
+
method: "POST",
|
|
322
|
+
body: input.body,
|
|
323
|
+
});
|
|
324
|
+
/**
|
|
325
|
+
* Request a WebAuthn assertion and return a signed `GetMfaPolicies` request, ready to be POSTed to Turnkey.
|
|
326
|
+
*
|
|
327
|
+
* See {@link GetMfaPolicies}
|
|
328
|
+
*/
|
|
329
|
+
const signGetMfaPolicies = (input, options) => signedRequest({
|
|
330
|
+
uri: "/public/v1/query/get_mfa_policies",
|
|
331
|
+
body: input.body,
|
|
332
|
+
options,
|
|
333
|
+
});
|
|
334
|
+
/**
|
|
335
|
+
* Get MFA policy
|
|
336
|
+
*
|
|
337
|
+
* Get a single MFA policy for a user.
|
|
338
|
+
*
|
|
339
|
+
* `POST /public/v1/query/get_mfa_policy`
|
|
340
|
+
*/
|
|
341
|
+
const getMfaPolicy = (input) => request({
|
|
342
|
+
uri: "/public/v1/query/get_mfa_policy",
|
|
343
|
+
method: "POST",
|
|
344
|
+
body: input.body,
|
|
345
|
+
});
|
|
346
|
+
/**
|
|
347
|
+
* Request a WebAuthn assertion and return a signed `GetMfaPolicy` request, ready to be POSTed to Turnkey.
|
|
348
|
+
*
|
|
349
|
+
* See {@link GetMfaPolicy}
|
|
350
|
+
*/
|
|
351
|
+
const signGetMfaPolicy = (input, options) => signedRequest({
|
|
352
|
+
uri: "/public/v1/query/get_mfa_policy",
|
|
353
|
+
body: input.body,
|
|
354
|
+
options,
|
|
355
|
+
});
|
|
356
|
+
/**
|
|
357
|
+
* Get MFA status
|
|
358
|
+
*
|
|
359
|
+
* Get the MFA status of an activity for a specific user or all voting users.
|
|
360
|
+
*
|
|
361
|
+
* `POST /public/v1/query/get_mfa_status`
|
|
362
|
+
*/
|
|
363
|
+
const getMfaStatus = (input) => request({
|
|
364
|
+
uri: "/public/v1/query/get_mfa_status",
|
|
365
|
+
method: "POST",
|
|
366
|
+
body: input.body,
|
|
367
|
+
});
|
|
368
|
+
/**
|
|
369
|
+
* Request a WebAuthn assertion and return a signed `GetMfaStatus` request, ready to be POSTed to Turnkey.
|
|
370
|
+
*
|
|
371
|
+
* See {@link GetMfaStatus}
|
|
372
|
+
*/
|
|
373
|
+
const signGetMfaStatus = (input, options) => signedRequest({
|
|
374
|
+
uri: "/public/v1/query/get_mfa_status",
|
|
375
|
+
body: input.body,
|
|
376
|
+
options,
|
|
377
|
+
});
|
|
224
378
|
/**
|
|
225
379
|
* Get nonces
|
|
226
380
|
*
|
|
@@ -441,6 +595,50 @@ const signGetSendTransactionStatus = (input, options) => signedRequest({
|
|
|
441
595
|
body: input.body,
|
|
442
596
|
options,
|
|
443
597
|
});
|
|
598
|
+
/**
|
|
599
|
+
* Get session profile
|
|
600
|
+
*
|
|
601
|
+
* Get a single session profile for an organization.
|
|
602
|
+
*
|
|
603
|
+
* `POST /public/v1/query/get_session_profile`
|
|
604
|
+
*/
|
|
605
|
+
const getSessionProfile = (input) => request({
|
|
606
|
+
uri: "/public/v1/query/get_session_profile",
|
|
607
|
+
method: "POST",
|
|
608
|
+
body: input.body,
|
|
609
|
+
});
|
|
610
|
+
/**
|
|
611
|
+
* Request a WebAuthn assertion and return a signed `GetSessionProfile` request, ready to be POSTed to Turnkey.
|
|
612
|
+
*
|
|
613
|
+
* See {@link GetSessionProfile}
|
|
614
|
+
*/
|
|
615
|
+
const signGetSessionProfile = (input, options) => signedRequest({
|
|
616
|
+
uri: "/public/v1/query/get_session_profile",
|
|
617
|
+
body: input.body,
|
|
618
|
+
options,
|
|
619
|
+
});
|
|
620
|
+
/**
|
|
621
|
+
* Get session profiles
|
|
622
|
+
*
|
|
623
|
+
* Get all session profiles for an organization.
|
|
624
|
+
*
|
|
625
|
+
* `POST /public/v1/query/get_session_profiles`
|
|
626
|
+
*/
|
|
627
|
+
const getSessionProfiles = (input) => request({
|
|
628
|
+
uri: "/public/v1/query/get_session_profiles",
|
|
629
|
+
method: "POST",
|
|
630
|
+
body: input.body,
|
|
631
|
+
});
|
|
632
|
+
/**
|
|
633
|
+
* Request a WebAuthn assertion and return a signed `GetSessionProfiles` request, ready to be POSTed to Turnkey.
|
|
634
|
+
*
|
|
635
|
+
* See {@link GetSessionProfiles}
|
|
636
|
+
*/
|
|
637
|
+
const signGetSessionProfiles = (input, options) => signedRequest({
|
|
638
|
+
uri: "/public/v1/query/get_session_profiles",
|
|
639
|
+
body: input.body,
|
|
640
|
+
options,
|
|
641
|
+
});
|
|
444
642
|
/**
|
|
445
643
|
* Get smart contract interface
|
|
446
644
|
*
|
|
@@ -463,6 +661,50 @@ const signGetSmartContractInterface = (input, options) => signedRequest({
|
|
|
463
661
|
body: input.body,
|
|
464
662
|
options,
|
|
465
663
|
});
|
|
664
|
+
/**
|
|
665
|
+
* Get swap quote
|
|
666
|
+
*
|
|
667
|
+
* Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported.
|
|
668
|
+
*
|
|
669
|
+
* `POST /public/v1/query/get_swap_quote`
|
|
670
|
+
*/
|
|
671
|
+
const getSwapQuote = (input) => request({
|
|
672
|
+
uri: "/public/v1/query/get_swap_quote",
|
|
673
|
+
method: "POST",
|
|
674
|
+
body: input.body,
|
|
675
|
+
});
|
|
676
|
+
/**
|
|
677
|
+
* Request a WebAuthn assertion and return a signed `GetSwapQuote` request, ready to be POSTed to Turnkey.
|
|
678
|
+
*
|
|
679
|
+
* See {@link GetSwapQuote}
|
|
680
|
+
*/
|
|
681
|
+
const signGetSwapQuote = (input, options) => signedRequest({
|
|
682
|
+
uri: "/public/v1/query/get_swap_quote",
|
|
683
|
+
body: input.body,
|
|
684
|
+
options,
|
|
685
|
+
});
|
|
686
|
+
/**
|
|
687
|
+
* Get swap status
|
|
688
|
+
*
|
|
689
|
+
* Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps.
|
|
690
|
+
*
|
|
691
|
+
* `POST /public/v1/query/get_swap_status`
|
|
692
|
+
*/
|
|
693
|
+
const getSwapStatus = (input) => request({
|
|
694
|
+
uri: "/public/v1/query/get_swap_status",
|
|
695
|
+
method: "POST",
|
|
696
|
+
body: input.body,
|
|
697
|
+
});
|
|
698
|
+
/**
|
|
699
|
+
* Request a WebAuthn assertion and return a signed `GetSwapStatus` request, ready to be POSTed to Turnkey.
|
|
700
|
+
*
|
|
701
|
+
* See {@link GetSwapStatus}
|
|
702
|
+
*/
|
|
703
|
+
const signGetSwapStatus = (input, options) => signedRequest({
|
|
704
|
+
uri: "/public/v1/query/get_swap_status",
|
|
705
|
+
body: input.body,
|
|
706
|
+
options,
|
|
707
|
+
});
|
|
466
708
|
/**
|
|
467
709
|
* Get TVC App
|
|
468
710
|
*
|
|
@@ -507,6 +749,28 @@ const signGetTvcDeployment = (input, options) => signedRequest({
|
|
|
507
749
|
body: input.body,
|
|
508
750
|
options,
|
|
509
751
|
});
|
|
752
|
+
/**
|
|
753
|
+
* Get TVC Deployment debug logs
|
|
754
|
+
*
|
|
755
|
+
* 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.
|
|
756
|
+
*
|
|
757
|
+
* `POST /public/v1/query/get_tvc_deployment_debug_logs`
|
|
758
|
+
*/
|
|
759
|
+
const getTvcDeploymentDebugLogs = (input) => request({
|
|
760
|
+
uri: "/public/v1/query/get_tvc_deployment_debug_logs",
|
|
761
|
+
method: "POST",
|
|
762
|
+
body: input.body,
|
|
763
|
+
});
|
|
764
|
+
/**
|
|
765
|
+
* Request a WebAuthn assertion and return a signed `GetTvcDeploymentDebugLogs` request, ready to be POSTed to Turnkey.
|
|
766
|
+
*
|
|
767
|
+
* See {@link GetTvcDeploymentDebugLogs}
|
|
768
|
+
*/
|
|
769
|
+
const signGetTvcDeploymentDebugLogs = (input, options) => signedRequest({
|
|
770
|
+
uri: "/public/v1/query/get_tvc_deployment_debug_logs",
|
|
771
|
+
body: input.body,
|
|
772
|
+
options,
|
|
773
|
+
});
|
|
510
774
|
/**
|
|
511
775
|
* Get TVC Deployment's Provisioning Details
|
|
512
776
|
*
|
|
@@ -598,7 +862,7 @@ const signGetWalletAccount = (input, options) => signedRequest({
|
|
|
598
862
|
/**
|
|
599
863
|
* Get balances
|
|
600
864
|
*
|
|
601
|
-
* Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
865
|
+
* Get balances of supported assets for an address on the specified network. Only non-zero balances are returned.
|
|
602
866
|
*
|
|
603
867
|
* `POST /public/v1/query/get_wallet_address_balances`
|
|
604
868
|
*/
|
|
@@ -661,6 +925,116 @@ const signGetAppProofs = (input, options) => signedRequest({
|
|
|
661
925
|
body: input.body,
|
|
662
926
|
options,
|
|
663
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
|
+
});
|
|
994
|
+
/**
|
|
995
|
+
* List email events
|
|
996
|
+
*
|
|
997
|
+
* List email events for the organization.
|
|
998
|
+
*
|
|
999
|
+
* `POST /public/v1/query/list_email_events`
|
|
1000
|
+
*/
|
|
1001
|
+
const listEmailEvents = (input) => request({
|
|
1002
|
+
uri: "/public/v1/query/list_email_events",
|
|
1003
|
+
method: "POST",
|
|
1004
|
+
body: input.body,
|
|
1005
|
+
});
|
|
1006
|
+
/**
|
|
1007
|
+
* Request a WebAuthn assertion and return a signed `ListEmailEvents` request, ready to be POSTed to Turnkey.
|
|
1008
|
+
*
|
|
1009
|
+
* See {@link ListEmailEvents}
|
|
1010
|
+
*/
|
|
1011
|
+
const signListEmailEvents = (input, options) => signedRequest({
|
|
1012
|
+
uri: "/public/v1/query/list_email_events",
|
|
1013
|
+
body: input.body,
|
|
1014
|
+
options,
|
|
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
|
+
});
|
|
664
1038
|
/**
|
|
665
1039
|
* List Fiat On Ramp Credentials
|
|
666
1040
|
*
|
|
@@ -793,6 +1167,28 @@ const signGetSmartContractInterfaces = (input, options) => signedRequest({
|
|
|
793
1167
|
body: input.body,
|
|
794
1168
|
options,
|
|
795
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
|
+
});
|
|
796
1192
|
/**
|
|
797
1193
|
* Get sub-organizations
|
|
798
1194
|
*
|
|
@@ -818,7 +1214,7 @@ const signGetSubOrgIds = (input, options) => signedRequest({
|
|
|
818
1214
|
/**
|
|
819
1215
|
* List supported assets
|
|
820
1216
|
*
|
|
821
|
-
* List supported assets for the specified network.
|
|
1217
|
+
* List supported assets for the specified network.
|
|
822
1218
|
*
|
|
823
1219
|
* `POST /public/v1/query/list_supported_assets`
|
|
824
1220
|
*/
|
|
@@ -1079,6 +1475,50 @@ const signApproveActivity = (input, options) => signedRequest({
|
|
|
1079
1475
|
body: input.body,
|
|
1080
1476
|
options,
|
|
1081
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
|
+
});
|
|
1082
1522
|
/**
|
|
1083
1523
|
* Create API keys
|
|
1084
1524
|
*
|
|
@@ -1189,6 +1629,28 @@ const signCreateInvitations = (input, options) => signedRequest({
|
|
|
1189
1629
|
body: input.body,
|
|
1190
1630
|
options,
|
|
1191
1631
|
});
|
|
1632
|
+
/**
|
|
1633
|
+
* Create MFA policy
|
|
1634
|
+
*
|
|
1635
|
+
* Create a new MFA policy for a user.
|
|
1636
|
+
*
|
|
1637
|
+
* `POST /public/v1/submit/create_mfa_policy`
|
|
1638
|
+
*/
|
|
1639
|
+
const createMfaPolicy = (input) => request({
|
|
1640
|
+
uri: "/public/v1/submit/create_mfa_policy",
|
|
1641
|
+
method: "POST",
|
|
1642
|
+
body: input.body,
|
|
1643
|
+
});
|
|
1644
|
+
/**
|
|
1645
|
+
* Request a WebAuthn assertion and return a signed `CreateMfaPolicy` request, ready to be POSTed to Turnkey.
|
|
1646
|
+
*
|
|
1647
|
+
* See {@link CreateMfaPolicy}
|
|
1648
|
+
*/
|
|
1649
|
+
const signCreateMfaPolicy = (input, options) => signedRequest({
|
|
1650
|
+
uri: "/public/v1/submit/create_mfa_policy",
|
|
1651
|
+
body: input.body,
|
|
1652
|
+
options,
|
|
1653
|
+
});
|
|
1192
1654
|
/**
|
|
1193
1655
|
* Create an OAuth 2.0 Credential
|
|
1194
1656
|
*
|
|
@@ -1365,6 +1827,28 @@ const signCreateReadWriteSession = (input, options) => signedRequest({
|
|
|
1365
1827
|
body: input.body,
|
|
1366
1828
|
options,
|
|
1367
1829
|
});
|
|
1830
|
+
/**
|
|
1831
|
+
* Create session profile
|
|
1832
|
+
*
|
|
1833
|
+
* Create a new session profile for an organization.
|
|
1834
|
+
*
|
|
1835
|
+
* `POST /public/v1/submit/create_session_profile`
|
|
1836
|
+
*/
|
|
1837
|
+
const createSessionProfile = (input) => request({
|
|
1838
|
+
uri: "/public/v1/submit/create_session_profile",
|
|
1839
|
+
method: "POST",
|
|
1840
|
+
body: input.body,
|
|
1841
|
+
});
|
|
1842
|
+
/**
|
|
1843
|
+
* Request a WebAuthn assertion and return a signed `CreateSessionProfile` request, ready to be POSTed to Turnkey.
|
|
1844
|
+
*
|
|
1845
|
+
* See {@link CreateSessionProfile}
|
|
1846
|
+
*/
|
|
1847
|
+
const signCreateSessionProfile = (input, options) => signedRequest({
|
|
1848
|
+
uri: "/public/v1/submit/create_session_profile",
|
|
1849
|
+
body: input.body,
|
|
1850
|
+
options,
|
|
1851
|
+
});
|
|
1368
1852
|
/**
|
|
1369
1853
|
* Create smart contract interface
|
|
1370
1854
|
*
|
|
@@ -1390,7 +1874,7 @@ const signCreateSmartContractInterface = (input, options) => signedRequest({
|
|
|
1390
1874
|
/**
|
|
1391
1875
|
* Create sub-organization
|
|
1392
1876
|
*
|
|
1393
|
-
* 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).
|
|
1394
1878
|
*
|
|
1395
1879
|
* `POST /public/v1/submit/create_sub_organization`
|
|
1396
1880
|
*/
|
|
@@ -1475,6 +1959,50 @@ const signCreateTvcManifestApprovals = (input, options) => signedRequest({
|
|
|
1475
1959
|
body: input.body,
|
|
1476
1960
|
options,
|
|
1477
1961
|
});
|
|
1962
|
+
/**
|
|
1963
|
+
* Create TVC Operator
|
|
1964
|
+
*
|
|
1965
|
+
* Create a TVC Operator backed by uncompressed P-256 Turnkey wallet accounts
|
|
1966
|
+
*
|
|
1967
|
+
* `POST /public/v1/submit/create_tvc_operator`
|
|
1968
|
+
*/
|
|
1969
|
+
const createTvcOperator = (input) => request({
|
|
1970
|
+
uri: "/public/v1/submit/create_tvc_operator",
|
|
1971
|
+
method: "POST",
|
|
1972
|
+
body: input.body,
|
|
1973
|
+
});
|
|
1974
|
+
/**
|
|
1975
|
+
* Request a WebAuthn assertion and return a signed `CreateTvcOperator` request, ready to be POSTed to Turnkey.
|
|
1976
|
+
*
|
|
1977
|
+
* See {@link CreateTvcOperator}
|
|
1978
|
+
*/
|
|
1979
|
+
const signCreateTvcOperator = (input, options) => signedRequest({
|
|
1980
|
+
uri: "/public/v1/submit/create_tvc_operator",
|
|
1981
|
+
body: input.body,
|
|
1982
|
+
options,
|
|
1983
|
+
});
|
|
1984
|
+
/**
|
|
1985
|
+
* Create TVC Quorum Key
|
|
1986
|
+
*
|
|
1987
|
+
* Create a hosted TVC quorum key and encrypted shares.
|
|
1988
|
+
*
|
|
1989
|
+
* `POST /public/v1/submit/create_tvc_quorum_key`
|
|
1990
|
+
*/
|
|
1991
|
+
const createTvcQuorumKey = (input) => request({
|
|
1992
|
+
uri: "/public/v1/submit/create_tvc_quorum_key",
|
|
1993
|
+
method: "POST",
|
|
1994
|
+
body: input.body,
|
|
1995
|
+
});
|
|
1996
|
+
/**
|
|
1997
|
+
* Request a WebAuthn assertion and return a signed `CreateTvcQuorumKey` request, ready to be POSTed to Turnkey.
|
|
1998
|
+
*
|
|
1999
|
+
* See {@link CreateTvcQuorumKey}
|
|
2000
|
+
*/
|
|
2001
|
+
const signCreateTvcQuorumKey = (input, options) => signedRequest({
|
|
2002
|
+
uri: "/public/v1/submit/create_tvc_quorum_key",
|
|
2003
|
+
body: input.body,
|
|
2004
|
+
options,
|
|
2005
|
+
});
|
|
1478
2006
|
/**
|
|
1479
2007
|
* Create user tag
|
|
1480
2008
|
*
|
|
@@ -1500,7 +2028,7 @@ const signCreateUserTag = (input, options) => signedRequest({
|
|
|
1500
2028
|
/**
|
|
1501
2029
|
* Create users
|
|
1502
2030
|
*
|
|
1503
|
-
* 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).
|
|
1504
2032
|
*
|
|
1505
2033
|
* `POST /public/v1/submit/create_users`
|
|
1506
2034
|
*/
|
|
@@ -1673,6 +2201,28 @@ const signDeleteInvitation = (input, options) => signedRequest({
|
|
|
1673
2201
|
body: input.body,
|
|
1674
2202
|
options,
|
|
1675
2203
|
});
|
|
2204
|
+
/**
|
|
2205
|
+
* Delete MFA policy
|
|
2206
|
+
*
|
|
2207
|
+
* Delete an MFA policy for a user.
|
|
2208
|
+
*
|
|
2209
|
+
* `POST /public/v1/submit/delete_mfa_policy`
|
|
2210
|
+
*/
|
|
2211
|
+
const deleteMfaPolicy = (input) => request({
|
|
2212
|
+
uri: "/public/v1/submit/delete_mfa_policy",
|
|
2213
|
+
method: "POST",
|
|
2214
|
+
body: input.body,
|
|
2215
|
+
});
|
|
2216
|
+
/**
|
|
2217
|
+
* Request a WebAuthn assertion and return a signed `DeleteMfaPolicy` request, ready to be POSTed to Turnkey.
|
|
2218
|
+
*
|
|
2219
|
+
* See {@link DeleteMfaPolicy}
|
|
2220
|
+
*/
|
|
2221
|
+
const signDeleteMfaPolicy = (input, options) => signedRequest({
|
|
2222
|
+
uri: "/public/v1/submit/delete_mfa_policy",
|
|
2223
|
+
body: input.body,
|
|
2224
|
+
options,
|
|
2225
|
+
});
|
|
1676
2226
|
/**
|
|
1677
2227
|
* Delete an OAuth 2.0 Credential
|
|
1678
2228
|
*
|
|
@@ -2003,6 +2553,94 @@ const signDeleteWebhookEndpoint = (input, options) => signedRequest({
|
|
|
2003
2553
|
body: input.body,
|
|
2004
2554
|
options,
|
|
2005
2555
|
});
|
|
2556
|
+
/**
|
|
2557
|
+
* Deploy Earn wrapper
|
|
2558
|
+
*
|
|
2559
|
+
* Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault.
|
|
2560
|
+
*
|
|
2561
|
+
* `POST /public/v1/submit/earn_deploy_wrapper`
|
|
2562
|
+
*/
|
|
2563
|
+
const earnDeployWrapper = (input) => request({
|
|
2564
|
+
uri: "/public/v1/submit/earn_deploy_wrapper",
|
|
2565
|
+
method: "POST",
|
|
2566
|
+
body: input.body,
|
|
2567
|
+
});
|
|
2568
|
+
/**
|
|
2569
|
+
* Request a WebAuthn assertion and return a signed `EarnDeployWrapper` request, ready to be POSTed to Turnkey.
|
|
2570
|
+
*
|
|
2571
|
+
* See {@link EarnDeployWrapper}
|
|
2572
|
+
*/
|
|
2573
|
+
const signEarnDeployWrapper = (input, options) => signedRequest({
|
|
2574
|
+
uri: "/public/v1/submit/earn_deploy_wrapper",
|
|
2575
|
+
body: input.body,
|
|
2576
|
+
options,
|
|
2577
|
+
});
|
|
2578
|
+
/**
|
|
2579
|
+
* Deposit into Earn vault
|
|
2580
|
+
*
|
|
2581
|
+
* Deposit assets from a wallet into an enabled yield vault.
|
|
2582
|
+
*
|
|
2583
|
+
* `POST /public/v1/submit/earn_deposit`
|
|
2584
|
+
*/
|
|
2585
|
+
const earnDeposit = (input) => request({
|
|
2586
|
+
uri: "/public/v1/submit/earn_deposit",
|
|
2587
|
+
method: "POST",
|
|
2588
|
+
body: input.body,
|
|
2589
|
+
});
|
|
2590
|
+
/**
|
|
2591
|
+
* Request a WebAuthn assertion and return a signed `EarnDeposit` request, ready to be POSTed to Turnkey.
|
|
2592
|
+
*
|
|
2593
|
+
* See {@link EarnDeposit}
|
|
2594
|
+
*/
|
|
2595
|
+
const signEarnDeposit = (input, options) => signedRequest({
|
|
2596
|
+
uri: "/public/v1/submit/earn_deposit",
|
|
2597
|
+
body: input.body,
|
|
2598
|
+
options,
|
|
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
|
+
});
|
|
2622
|
+
/**
|
|
2623
|
+
* Withdraw from Earn vault
|
|
2624
|
+
*
|
|
2625
|
+
* Withdraw assets or redeem shares from an enabled yield vault.
|
|
2626
|
+
*
|
|
2627
|
+
* `POST /public/v1/submit/earn_withdraw`
|
|
2628
|
+
*/
|
|
2629
|
+
const earnWithdraw = (input) => request({
|
|
2630
|
+
uri: "/public/v1/submit/earn_withdraw",
|
|
2631
|
+
method: "POST",
|
|
2632
|
+
body: input.body,
|
|
2633
|
+
});
|
|
2634
|
+
/**
|
|
2635
|
+
* Request a WebAuthn assertion and return a signed `EarnWithdraw` request, ready to be POSTed to Turnkey.
|
|
2636
|
+
*
|
|
2637
|
+
* See {@link EarnWithdraw}
|
|
2638
|
+
*/
|
|
2639
|
+
const signEarnWithdraw = (input, options) => signedRequest({
|
|
2640
|
+
uri: "/public/v1/submit/earn_withdraw",
|
|
2641
|
+
body: input.body,
|
|
2642
|
+
options,
|
|
2643
|
+
});
|
|
2006
2644
|
/**
|
|
2007
2645
|
* Perform email auth
|
|
2008
2646
|
*
|
|
@@ -2069,6 +2707,28 @@ const signEthSendTransaction = (input, options) => signedRequest({
|
|
|
2069
2707
|
body: input.body,
|
|
2070
2708
|
options,
|
|
2071
2709
|
});
|
|
2710
|
+
/**
|
|
2711
|
+
* Execute swap
|
|
2712
|
+
*
|
|
2713
|
+
* Execute a quoted swap through the activity pipeline and Turnkey broadcasting.
|
|
2714
|
+
*
|
|
2715
|
+
* `POST /public/v1/submit/execute_swap`
|
|
2716
|
+
*/
|
|
2717
|
+
const executeSwap = (input) => request({
|
|
2718
|
+
uri: "/public/v1/submit/execute_swap",
|
|
2719
|
+
method: "POST",
|
|
2720
|
+
body: input.body,
|
|
2721
|
+
});
|
|
2722
|
+
/**
|
|
2723
|
+
* Request a WebAuthn assertion and return a signed `ExecuteSwap` request, ready to be POSTed to Turnkey.
|
|
2724
|
+
*
|
|
2725
|
+
* See {@link ExecuteSwap}
|
|
2726
|
+
*/
|
|
2727
|
+
const signExecuteSwap = (input, options) => signedRequest({
|
|
2728
|
+
uri: "/public/v1/submit/execute_swap",
|
|
2729
|
+
body: input.body,
|
|
2730
|
+
options,
|
|
2731
|
+
});
|
|
2072
2732
|
/**
|
|
2073
2733
|
* Export private key
|
|
2074
2734
|
*
|
|
@@ -2223,6 +2883,28 @@ const signInitImportPrivateKey = (input, options) => signedRequest({
|
|
|
2223
2883
|
body: input.body,
|
|
2224
2884
|
options,
|
|
2225
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
|
+
});
|
|
2226
2908
|
/**
|
|
2227
2909
|
* Init import wallet
|
|
2228
2910
|
*
|
|
@@ -2443,6 +3125,28 @@ const signPostTvcQuorumKeyShare = (input, options) => signedRequest({
|
|
|
2443
3125
|
body: input.body,
|
|
2444
3126
|
options,
|
|
2445
3127
|
});
|
|
3128
|
+
/**
|
|
3129
|
+
* Re-encrypt TVC Quorum Key Share
|
|
3130
|
+
*
|
|
3131
|
+
* Re-encrypt a hosted TVC quorum key share for a deployment.
|
|
3132
|
+
*
|
|
3133
|
+
* `POST /public/v1/submit/re_encrypt_tvc_quorum_key_share`
|
|
3134
|
+
*/
|
|
3135
|
+
const reEncryptTvcQuorumKeyShare = (input) => request({
|
|
3136
|
+
uri: "/public/v1/submit/re_encrypt_tvc_quorum_key_share",
|
|
3137
|
+
method: "POST",
|
|
3138
|
+
body: input.body,
|
|
3139
|
+
});
|
|
3140
|
+
/**
|
|
3141
|
+
* Request a WebAuthn assertion and return a signed `ReEncryptTvcQuorumKeyShare` request, ready to be POSTed to Turnkey.
|
|
3142
|
+
*
|
|
3143
|
+
* See {@link ReEncryptTvcQuorumKeyShare}
|
|
3144
|
+
*/
|
|
3145
|
+
const signReEncryptTvcQuorumKeyShare = (input, options) => signedRequest({
|
|
3146
|
+
uri: "/public/v1/submit/re_encrypt_tvc_quorum_key_share",
|
|
3147
|
+
body: input.body,
|
|
3148
|
+
options,
|
|
3149
|
+
});
|
|
2446
3150
|
/**
|
|
2447
3151
|
* Recover a user
|
|
2448
3152
|
*
|
|
@@ -2688,7 +3392,7 @@ const signSignTransaction = (input, options) => signedRequest({
|
|
|
2688
3392
|
/**
|
|
2689
3393
|
* Broadcast SVM transaction
|
|
2690
3394
|
*
|
|
2691
|
-
* 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.
|
|
2692
3396
|
*
|
|
2693
3397
|
* `POST /public/v1/submit/sol_send_transaction`
|
|
2694
3398
|
*/
|
|
@@ -2839,6 +3543,28 @@ const signUpdateFiatOnRampCredential = (input, options) => signedRequest({
|
|
|
2839
3543
|
body: input.body,
|
|
2840
3544
|
options,
|
|
2841
3545
|
});
|
|
3546
|
+
/**
|
|
3547
|
+
* Update MFA policy
|
|
3548
|
+
*
|
|
3549
|
+
* Update an MFA policy for a user.
|
|
3550
|
+
*
|
|
3551
|
+
* `POST /public/v1/submit/update_mfa_policy`
|
|
3552
|
+
*/
|
|
3553
|
+
const updateMfaPolicy = (input) => request({
|
|
3554
|
+
uri: "/public/v1/submit/update_mfa_policy",
|
|
3555
|
+
method: "POST",
|
|
3556
|
+
body: input.body,
|
|
3557
|
+
});
|
|
3558
|
+
/**
|
|
3559
|
+
* Request a WebAuthn assertion and return a signed `UpdateMfaPolicy` request, ready to be POSTed to Turnkey.
|
|
3560
|
+
*
|
|
3561
|
+
* See {@link UpdateMfaPolicy}
|
|
3562
|
+
*/
|
|
3563
|
+
const signUpdateMfaPolicy = (input, options) => signedRequest({
|
|
3564
|
+
uri: "/public/v1/submit/update_mfa_policy",
|
|
3565
|
+
body: input.body,
|
|
3566
|
+
options,
|
|
3567
|
+
});
|
|
2842
3568
|
/**
|
|
2843
3569
|
* Update an OAuth 2.0 Credential
|
|
2844
3570
|
*
|
|
@@ -3103,6 +3829,28 @@ const signUpdateWebhookEndpoint = (input, options) => signedRequest({
|
|
|
3103
3829
|
body: input.body,
|
|
3104
3830
|
options,
|
|
3105
3831
|
});
|
|
3832
|
+
/**
|
|
3833
|
+
* Upsert swap config
|
|
3834
|
+
*
|
|
3835
|
+
* Enable or disable swap configuration for an organization.
|
|
3836
|
+
*
|
|
3837
|
+
* `POST /public/v1/submit/upsert_swap_config`
|
|
3838
|
+
*/
|
|
3839
|
+
const upsertSwapConfig = (input) => request({
|
|
3840
|
+
uri: "/public/v1/submit/upsert_swap_config",
|
|
3841
|
+
method: "POST",
|
|
3842
|
+
body: input.body,
|
|
3843
|
+
});
|
|
3844
|
+
/**
|
|
3845
|
+
* Request a WebAuthn assertion and return a signed `UpsertSwapConfig` request, ready to be POSTed to Turnkey.
|
|
3846
|
+
*
|
|
3847
|
+
* See {@link UpsertSwapConfig}
|
|
3848
|
+
*/
|
|
3849
|
+
const signUpsertSwapConfig = (input, options) => signedRequest({
|
|
3850
|
+
uri: "/public/v1/submit/upsert_swap_config",
|
|
3851
|
+
body: input.body,
|
|
3852
|
+
options,
|
|
3853
|
+
});
|
|
3106
3854
|
/**
|
|
3107
3855
|
* Verify generic OTP
|
|
3108
3856
|
*
|
|
@@ -3185,5 +3933,5 @@ const signTestRateLimits = (input, options) => signedRequest({
|
|
|
3185
3933
|
options,
|
|
3186
3934
|
});
|
|
3187
3935
|
|
|
3188
|
-
export { approveActivity, createApiKeys, createApiOnlyUsers, createAuthenticators, createFiatOnRampCredential, createInvitations, createOauth2Credential, createOauthProviders, createPolicies, createPolicy, createPrivateKeyTag, createPrivateKeys, createReadOnlySession, createReadWriteSession, createSmartContractInterface, createSubOrganization, createTvcApp, createTvcDeployment, createTvcManifestApprovals, createUserTag, createUsers, createWallet, createWalletAccounts, createWebhookEndpoint, deleteApiKeys, deleteAuthenticators, deleteFiatOnRampCredential, deleteInvitation, deleteOauth2Credential, deleteOauthProviders, deletePolicies, deletePolicy, deletePrivateKeyTags, deletePrivateKeys, deleteSmartContractInterface, deleteSubOrganization, deleteTvcAppAndDeployments, deleteTvcDeployment, deleteUserTags, deleteUsers, deleteWalletAccounts, deleteWallets, deleteWebhookEndpoint, emailAuth, ethSendRawTransaction, ethSendTransaction, exportPrivateKey, exportWallet, exportWalletAccount, getActivities, getActivity, getApiKey, getApiKeys, getAppProofs, getAppStatus, getAuthenticator, getAuthenticators, getBootProof, getGasUsage, getIpAllowlist, getLatestBootProof, getNonces, getOauth2Credential, getOauthProviders, getOnRampTransactionStatus, getOrganization, getOrganizationConfigs, getPolicies, getPolicy, getPolicyEvaluations, getPrivateKey, getPrivateKeys, getSendTransactionStatus, getSmartContractInterface, getSmartContractInterfaces, getSubOrgIds, getTvcApp, getTvcAppDeployments, getTvcApps, getTvcDeployment, getTvcDeploymentProvisioningDetails, getUser, getUsers, getVerifiedSubOrgIds, getWallet, getWalletAccount, getWalletAccounts, getWalletAddressBalances, getWallets, getWhoami, importPrivateKey, importWallet, initFiatOnRamp, initImportPrivateKey, initImportWallet, initOtp, initOtpAuth, initUserEmailRecovery, listFiatOnRampCredentials, listOauth2Credentials, listPrivateKeyTags, listSupportedAssets, listUserTags, listWebhookEndpoints, nOOPCodegenAnchor, oauth, oauth2Authenticate, oauthLogin, otpAuth, otpLogin, postTvcQuorumKeyShare, recoverUser, refreshFeatureFlags, rejectActivity, removeIpAllowlist, removeOrganizationFeature, restoreTvcDeployment, setIpAllowlist, setOrganizationFeature, signApproveActivity, signCreateApiKeys, signCreateApiOnlyUsers, signCreateAuthenticators, signCreateFiatOnRampCredential, signCreateInvitations, signCreateOauth2Credential, signCreateOauthProviders, signCreatePolicies, signCreatePolicy, signCreatePrivateKeyTag, signCreatePrivateKeys, signCreateReadOnlySession, signCreateReadWriteSession, signCreateSmartContractInterface, signCreateSubOrganization, signCreateTvcApp, signCreateTvcDeployment, signCreateTvcManifestApprovals, signCreateUserTag, signCreateUsers, signCreateWallet, signCreateWalletAccounts, signCreateWebhookEndpoint, signDeleteApiKeys, signDeleteAuthenticators, signDeleteFiatOnRampCredential, signDeleteInvitation, signDeleteOauth2Credential, signDeleteOauthProviders, signDeletePolicies, signDeletePolicy, signDeletePrivateKeyTags, signDeletePrivateKeys, signDeleteSmartContractInterface, signDeleteSubOrganization, signDeleteTvcAppAndDeployments, signDeleteTvcDeployment, signDeleteUserTags, signDeleteUsers, signDeleteWalletAccounts, signDeleteWallets, signDeleteWebhookEndpoint, signEmailAuth, signEthSendRawTransaction, signEthSendTransaction, signExportPrivateKey, signExportWallet, signExportWalletAccount, signGetActivities, signGetActivity, signGetApiKey, signGetApiKeys, signGetAppProofs, signGetAppStatus, signGetAuthenticator, signGetAuthenticators, signGetBootProof, signGetGasUsage, signGetIpAllowlist, signGetLatestBootProof, signGetNonces, signGetOauth2Credential, signGetOauthProviders, signGetOnRampTransactionStatus, signGetOrganization, signGetOrganizationConfigs, signGetPolicies, signGetPolicy, signGetPolicyEvaluations, signGetPrivateKey, signGetPrivateKeys, signGetSendTransactionStatus, signGetSmartContractInterface, signGetSmartContractInterfaces, signGetSubOrgIds, signGetTvcApp, signGetTvcAppDeployments, signGetTvcApps, signGetTvcDeployment, signGetTvcDeploymentProvisioningDetails, signGetUser, signGetUsers, signGetVerifiedSubOrgIds, signGetWallet, signGetWalletAccount, signGetWalletAccounts, signGetWalletAddressBalances, signGetWallets, signGetWhoami, signImportPrivateKey, signImportWallet, signInitFiatOnRamp, signInitImportPrivateKey, signInitImportWallet, signInitOtp, signInitOtpAuth, signInitUserEmailRecovery, signListFiatOnRampCredentials, signListOauth2Credentials, signListPrivateKeyTags, signListSupportedAssets, signListUserTags, signListWebhookEndpoints, signNOOPCodegenAnchor, signOauth, signOauth2Authenticate, signOauthLogin, signOtpAuth, signOtpLogin, signPostTvcQuorumKeyShare, signRawPayload, signRawPayloads, signRecoverUser, signRefreshFeatureFlags, signRejectActivity, signRemoveIpAllowlist, signRemoveOrganizationFeature, signRestoreTvcDeployment, signSetIpAllowlist, signSetOrganizationFeature, signSignRawPayload, signSignRawPayloads, signSignTransaction, signSolSendTransaction, signSparkClaimTransfer, signSparkPrepareLightningReceive, signSparkPrepareTransfer, signSparkSignFrost, signStampLogin, signTestRateLimits, signTransaction, signUpdateFiatOnRampCredential, signUpdateOauth2Credential, signUpdateOrganizationName, signUpdatePolicy, signUpdatePrivateKeyTag, signUpdateRootQuorum, signUpdateTvcAppLiveDeployment, signUpdateUser, signUpdateUserEmail, signUpdateUserName, signUpdateUserPhoneNumber, signUpdateUserTag, signUpdateWallet, signUpdateWebhookEndpoint, signValidateTvcImage, signVerifyOtp, solSendTransaction, sparkClaimTransfer, sparkPrepareLightningReceive, sparkPrepareTransfer, sparkSignFrost, stampLogin, testRateLimits, updateFiatOnRampCredential, updateOauth2Credential, updateOrganizationName, updatePolicy, updatePrivateKeyTag, updateRootQuorum, updateTvcAppLiveDeployment, updateUser, updateUserEmail, updateUserName, updateUserPhoneNumber, updateUserTag, updateWallet, updateWebhookEndpoint, validateTvcImage, verifyOtp };
|
|
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 };
|
|
3189
3937
|
//# sourceMappingURL=public_api.fetcher.mjs.map
|