@turnkey/http 3.5.0 → 3.6.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 +14 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +155 -80
- 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 +205 -80
- 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 +205 -80
- 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 +5767 -1921
- 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 +277 -157
- 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 +268 -158
- 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 +457 -228
- 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
|
@@ -2,9 +2,9 @@ import { request, signedRequest } from '../../../../../base.mjs';
|
|
|
2
2
|
|
|
3
3
|
/* @generated by `@turnkey/fetchers`. DO NOT EDIT BY HAND */
|
|
4
4
|
/**
|
|
5
|
-
* Get
|
|
5
|
+
* Get activity
|
|
6
6
|
*
|
|
7
|
-
* Get details about an
|
|
7
|
+
* Get details about an activity.
|
|
8
8
|
*
|
|
9
9
|
* `POST /public/v1/query/get_activity`
|
|
10
10
|
*/
|
|
@@ -26,7 +26,7 @@ const signGetActivity = (input, options) => signedRequest({
|
|
|
26
26
|
/**
|
|
27
27
|
* Get API key
|
|
28
28
|
*
|
|
29
|
-
* Get details about an API key
|
|
29
|
+
* Get details about an API key.
|
|
30
30
|
*
|
|
31
31
|
* `POST /public/v1/query/get_api_key`
|
|
32
32
|
*/
|
|
@@ -48,7 +48,7 @@ const signGetApiKey = (input, options) => signedRequest({
|
|
|
48
48
|
/**
|
|
49
49
|
* Get API keys
|
|
50
50
|
*
|
|
51
|
-
* Get details about API keys for a user
|
|
51
|
+
* Get details about API keys for a user.
|
|
52
52
|
*
|
|
53
53
|
* `POST /public/v1/query/get_api_keys`
|
|
54
54
|
*/
|
|
@@ -90,9 +90,9 @@ const signGetAttestationDocument = (input, options) => signedRequest({
|
|
|
90
90
|
options,
|
|
91
91
|
});
|
|
92
92
|
/**
|
|
93
|
-
* Get
|
|
93
|
+
* Get authenticator
|
|
94
94
|
*
|
|
95
|
-
* Get details about an authenticator
|
|
95
|
+
* Get details about an authenticator.
|
|
96
96
|
*
|
|
97
97
|
* `POST /public/v1/query/get_authenticator`
|
|
98
98
|
*/
|
|
@@ -112,9 +112,9 @@ const signGetAuthenticator = (input, options) => signedRequest({
|
|
|
112
112
|
options,
|
|
113
113
|
});
|
|
114
114
|
/**
|
|
115
|
-
* Get
|
|
115
|
+
* Get authenticators
|
|
116
116
|
*
|
|
117
|
-
* Get details about authenticators for a user
|
|
117
|
+
* Get details about authenticators for a user.
|
|
118
118
|
*
|
|
119
119
|
* `POST /public/v1/query/get_authenticators`
|
|
120
120
|
*/
|
|
@@ -136,7 +136,7 @@ const signGetAuthenticators = (input, options) => signedRequest({
|
|
|
136
136
|
/**
|
|
137
137
|
* Get Oauth providers
|
|
138
138
|
*
|
|
139
|
-
* Get details about Oauth providers for a user
|
|
139
|
+
* Get details about Oauth providers for a user.
|
|
140
140
|
*
|
|
141
141
|
* `POST /public/v1/query/get_oauth_providers`
|
|
142
142
|
*/
|
|
@@ -156,9 +156,9 @@ const signGetOauthProviders = (input, options) => signedRequest({
|
|
|
156
156
|
options,
|
|
157
157
|
});
|
|
158
158
|
/**
|
|
159
|
-
* Get
|
|
159
|
+
* Get organization
|
|
160
160
|
*
|
|
161
|
-
* Get details about an
|
|
161
|
+
* Get details about an organization.
|
|
162
162
|
*
|
|
163
163
|
* `POST /public/v1/query/get_organization`
|
|
164
164
|
*/
|
|
@@ -178,9 +178,9 @@ const signGetOrganization = (input, options) => signedRequest({
|
|
|
178
178
|
options,
|
|
179
179
|
});
|
|
180
180
|
/**
|
|
181
|
-
* Get
|
|
181
|
+
* Get configs
|
|
182
182
|
*
|
|
183
|
-
* Get quorum settings and features for an organization
|
|
183
|
+
* Get quorum settings and features for an organization.
|
|
184
184
|
*
|
|
185
185
|
* `POST /public/v1/query/get_organization_configs`
|
|
186
186
|
*/
|
|
@@ -200,9 +200,9 @@ const signGetOrganizationConfigs = (input, options) => signedRequest({
|
|
|
200
200
|
options,
|
|
201
201
|
});
|
|
202
202
|
/**
|
|
203
|
-
* Get
|
|
203
|
+
* Get policy
|
|
204
204
|
*
|
|
205
|
-
* Get details about a
|
|
205
|
+
* Get details about a policy.
|
|
206
206
|
*
|
|
207
207
|
* `POST /public/v1/query/get_policy`
|
|
208
208
|
*/
|
|
@@ -222,9 +222,31 @@ const signGetPolicy = (input, options) => signedRequest({
|
|
|
222
222
|
options,
|
|
223
223
|
});
|
|
224
224
|
/**
|
|
225
|
-
* Get
|
|
225
|
+
* Get policy evaluations
|
|
226
226
|
*
|
|
227
|
-
* Get
|
|
227
|
+
* Get the policy evaluations for an activity.
|
|
228
|
+
*
|
|
229
|
+
* `POST /public/v1/query/get_policy_evaluations`
|
|
230
|
+
*/
|
|
231
|
+
const getPolicyEvaluations = (input) => request({
|
|
232
|
+
uri: "/public/v1/query/get_policy_evaluations",
|
|
233
|
+
method: "POST",
|
|
234
|
+
body: input.body,
|
|
235
|
+
});
|
|
236
|
+
/**
|
|
237
|
+
* Request a WebAuthn assertion and return a signed `GetPolicyEvaluations` request, ready to be POSTed to Turnkey.
|
|
238
|
+
*
|
|
239
|
+
* See {@link GetPolicyEvaluations}
|
|
240
|
+
*/
|
|
241
|
+
const signGetPolicyEvaluations = (input, options) => signedRequest({
|
|
242
|
+
uri: "/public/v1/query/get_policy_evaluations",
|
|
243
|
+
body: input.body,
|
|
244
|
+
options,
|
|
245
|
+
});
|
|
246
|
+
/**
|
|
247
|
+
* Get private key
|
|
248
|
+
*
|
|
249
|
+
* Get details about a private key.
|
|
228
250
|
*
|
|
229
251
|
* `POST /public/v1/query/get_private_key`
|
|
230
252
|
*/
|
|
@@ -244,9 +266,31 @@ const signGetPrivateKey = (input, options) => signedRequest({
|
|
|
244
266
|
options,
|
|
245
267
|
});
|
|
246
268
|
/**
|
|
247
|
-
* Get
|
|
269
|
+
* Get smart contract interface
|
|
248
270
|
*
|
|
249
|
-
* Get details about a
|
|
271
|
+
* Get details about a smart contract interface.
|
|
272
|
+
*
|
|
273
|
+
* `POST /public/v1/query/get_smart_contract_interface`
|
|
274
|
+
*/
|
|
275
|
+
const getSmartContractInterface = (input) => request({
|
|
276
|
+
uri: "/public/v1/query/get_smart_contract_interface",
|
|
277
|
+
method: "POST",
|
|
278
|
+
body: input.body,
|
|
279
|
+
});
|
|
280
|
+
/**
|
|
281
|
+
* Request a WebAuthn assertion and return a signed `GetSmartContractInterface` request, ready to be POSTed to Turnkey.
|
|
282
|
+
*
|
|
283
|
+
* See {@link GetSmartContractInterface}
|
|
284
|
+
*/
|
|
285
|
+
const signGetSmartContractInterface = (input, options) => signedRequest({
|
|
286
|
+
uri: "/public/v1/query/get_smart_contract_interface",
|
|
287
|
+
body: input.body,
|
|
288
|
+
options,
|
|
289
|
+
});
|
|
290
|
+
/**
|
|
291
|
+
* Get user
|
|
292
|
+
*
|
|
293
|
+
* Get details about a user.
|
|
250
294
|
*
|
|
251
295
|
* `POST /public/v1/query/get_user`
|
|
252
296
|
*/
|
|
@@ -266,9 +310,9 @@ const signGetUser = (input, options) => signedRequest({
|
|
|
266
310
|
options,
|
|
267
311
|
});
|
|
268
312
|
/**
|
|
269
|
-
* Get
|
|
313
|
+
* Get wallet
|
|
270
314
|
*
|
|
271
|
-
* Get details about a
|
|
315
|
+
* Get details about a wallet.
|
|
272
316
|
*
|
|
273
317
|
* `POST /public/v1/query/get_wallet`
|
|
274
318
|
*/
|
|
@@ -288,9 +332,9 @@ const signGetWallet = (input, options) => signedRequest({
|
|
|
288
332
|
options,
|
|
289
333
|
});
|
|
290
334
|
/**
|
|
291
|
-
* Get
|
|
335
|
+
* Get wallet account
|
|
292
336
|
*
|
|
293
|
-
* Get a single wallet account
|
|
337
|
+
* Get a single wallet account.
|
|
294
338
|
*
|
|
295
339
|
* `POST /public/v1/query/get_wallet_account`
|
|
296
340
|
*/
|
|
@@ -310,9 +354,9 @@ const signGetWalletAccount = (input, options) => signedRequest({
|
|
|
310
354
|
options,
|
|
311
355
|
});
|
|
312
356
|
/**
|
|
313
|
-
* List
|
|
357
|
+
* List activities
|
|
314
358
|
*
|
|
315
|
-
* List all
|
|
359
|
+
* List all activities within an organization.
|
|
316
360
|
*
|
|
317
361
|
* `POST /public/v1/query/list_activities`
|
|
318
362
|
*/
|
|
@@ -332,9 +376,9 @@ const signGetActivities = (input, options) => signedRequest({
|
|
|
332
376
|
options,
|
|
333
377
|
});
|
|
334
378
|
/**
|
|
335
|
-
* List
|
|
379
|
+
* List policies
|
|
336
380
|
*
|
|
337
|
-
* List all
|
|
381
|
+
* List all policies within an organization.
|
|
338
382
|
*
|
|
339
383
|
* `POST /public/v1/query/list_policies`
|
|
340
384
|
*/
|
|
@@ -354,9 +398,9 @@ const signGetPolicies = (input, options) => signedRequest({
|
|
|
354
398
|
options,
|
|
355
399
|
});
|
|
356
400
|
/**
|
|
357
|
-
* List
|
|
401
|
+
* List private key tags
|
|
358
402
|
*
|
|
359
|
-
* List all
|
|
403
|
+
* List all private key tags within an organization.
|
|
360
404
|
*
|
|
361
405
|
* `POST /public/v1/query/list_private_key_tags`
|
|
362
406
|
*/
|
|
@@ -376,9 +420,9 @@ const signListPrivateKeyTags = (input, options) => signedRequest({
|
|
|
376
420
|
options,
|
|
377
421
|
});
|
|
378
422
|
/**
|
|
379
|
-
* List
|
|
423
|
+
* List private keys
|
|
380
424
|
*
|
|
381
|
-
* List all
|
|
425
|
+
* List all private keys within an organization.
|
|
382
426
|
*
|
|
383
427
|
* `POST /public/v1/query/list_private_keys`
|
|
384
428
|
*/
|
|
@@ -398,7 +442,29 @@ const signGetPrivateKeys = (input, options) => signedRequest({
|
|
|
398
442
|
options,
|
|
399
443
|
});
|
|
400
444
|
/**
|
|
401
|
-
*
|
|
445
|
+
* List smart contract interfaces
|
|
446
|
+
*
|
|
447
|
+
* List all smart contract interfaces within an organization.
|
|
448
|
+
*
|
|
449
|
+
* `POST /public/v1/query/list_smart_contract_interfaces`
|
|
450
|
+
*/
|
|
451
|
+
const getSmartContractInterfaces = (input) => request({
|
|
452
|
+
uri: "/public/v1/query/list_smart_contract_interfaces",
|
|
453
|
+
method: "POST",
|
|
454
|
+
body: input.body,
|
|
455
|
+
});
|
|
456
|
+
/**
|
|
457
|
+
* Request a WebAuthn assertion and return a signed `GetSmartContractInterfaces` request, ready to be POSTed to Turnkey.
|
|
458
|
+
*
|
|
459
|
+
* See {@link GetSmartContractInterfaces}
|
|
460
|
+
*/
|
|
461
|
+
const signGetSmartContractInterfaces = (input, options) => signedRequest({
|
|
462
|
+
uri: "/public/v1/query/list_smart_contract_interfaces",
|
|
463
|
+
body: input.body,
|
|
464
|
+
options,
|
|
465
|
+
});
|
|
466
|
+
/**
|
|
467
|
+
* Get sub-organizations
|
|
402
468
|
*
|
|
403
469
|
* Get all suborg IDs associated given a parent org ID and an optional filter.
|
|
404
470
|
*
|
|
@@ -420,9 +486,9 @@ const signGetSubOrgIds = (input, options) => signedRequest({
|
|
|
420
486
|
options,
|
|
421
487
|
});
|
|
422
488
|
/**
|
|
423
|
-
* List
|
|
489
|
+
* List user tags
|
|
424
490
|
*
|
|
425
|
-
* List all
|
|
491
|
+
* List all user tags within an organization.
|
|
426
492
|
*
|
|
427
493
|
* `POST /public/v1/query/list_user_tags`
|
|
428
494
|
*/
|
|
@@ -442,9 +508,9 @@ const signListUserTags = (input, options) => signedRequest({
|
|
|
442
508
|
options,
|
|
443
509
|
});
|
|
444
510
|
/**
|
|
445
|
-
* List
|
|
511
|
+
* List users
|
|
446
512
|
*
|
|
447
|
-
* List all
|
|
513
|
+
* List all users within an organization.
|
|
448
514
|
*
|
|
449
515
|
* `POST /public/v1/query/list_users`
|
|
450
516
|
*/
|
|
@@ -464,7 +530,7 @@ const signGetUsers = (input, options) => signedRequest({
|
|
|
464
530
|
options,
|
|
465
531
|
});
|
|
466
532
|
/**
|
|
467
|
-
* Get
|
|
533
|
+
* Get verified sub-organizations
|
|
468
534
|
*
|
|
469
535
|
* Get all email or phone verified suborg IDs associated given a parent org ID.
|
|
470
536
|
*
|
|
@@ -486,9 +552,9 @@ const signGetVerifiedSubOrgIds = (input, options) => signedRequest({
|
|
|
486
552
|
options,
|
|
487
553
|
});
|
|
488
554
|
/**
|
|
489
|
-
* List
|
|
555
|
+
* List wallets accounts
|
|
490
556
|
*
|
|
491
|
-
* List all
|
|
557
|
+
* List all accounts within a wallet.
|
|
492
558
|
*
|
|
493
559
|
* `POST /public/v1/query/list_wallet_accounts`
|
|
494
560
|
*/
|
|
@@ -508,9 +574,9 @@ const signGetWalletAccounts = (input, options) => signedRequest({
|
|
|
508
574
|
options,
|
|
509
575
|
});
|
|
510
576
|
/**
|
|
511
|
-
* List
|
|
577
|
+
* List wallets
|
|
512
578
|
*
|
|
513
|
-
* List all
|
|
579
|
+
* List all wallets within an organization.
|
|
514
580
|
*
|
|
515
581
|
* `POST /public/v1/query/list_wallets`
|
|
516
582
|
*/
|
|
@@ -532,7 +598,7 @@ const signGetWallets = (input, options) => signedRequest({
|
|
|
532
598
|
/**
|
|
533
599
|
* Who am I?
|
|
534
600
|
*
|
|
535
|
-
* Get basic information about your current API or WebAuthN user and their organization. Affords
|
|
601
|
+
* Get basic information about your current API or WebAuthN user and their organization. Affords sub-organization look ups via parent organization for WebAuthN or API key users.
|
|
536
602
|
*
|
|
537
603
|
* `POST /public/v1/query/whoami`
|
|
538
604
|
*/
|
|
@@ -552,9 +618,9 @@ const signGetWhoami = (input, options) => signedRequest({
|
|
|
552
618
|
options,
|
|
553
619
|
});
|
|
554
620
|
/**
|
|
555
|
-
* Approve
|
|
621
|
+
* Approve activity
|
|
556
622
|
*
|
|
557
|
-
* Approve an
|
|
623
|
+
* Approve an activity.
|
|
558
624
|
*
|
|
559
625
|
* `POST /public/v1/submit/approve_activity`
|
|
560
626
|
*/
|
|
@@ -574,9 +640,9 @@ const signApproveActivity = (input, options) => signedRequest({
|
|
|
574
640
|
options,
|
|
575
641
|
});
|
|
576
642
|
/**
|
|
577
|
-
* Create API
|
|
643
|
+
* Create API keys
|
|
578
644
|
*
|
|
579
|
-
* Add
|
|
645
|
+
* Add API keys to an existing user.
|
|
580
646
|
*
|
|
581
647
|
* `POST /public/v1/submit/create_api_keys`
|
|
582
648
|
*/
|
|
@@ -596,9 +662,9 @@ const signCreateApiKeys = (input, options) => signedRequest({
|
|
|
596
662
|
options,
|
|
597
663
|
});
|
|
598
664
|
/**
|
|
599
|
-
* Create API-only
|
|
665
|
+
* Create API-only users
|
|
600
666
|
*
|
|
601
|
-
* Create API-only
|
|
667
|
+
* Create API-only users in an existing organization.
|
|
602
668
|
*
|
|
603
669
|
* `POST /public/v1/submit/create_api_only_users`
|
|
604
670
|
*/
|
|
@@ -618,9 +684,9 @@ const signCreateApiOnlyUsers = (input, options) => signedRequest({
|
|
|
618
684
|
options,
|
|
619
685
|
});
|
|
620
686
|
/**
|
|
621
|
-
* Create
|
|
687
|
+
* Create authenticators
|
|
622
688
|
*
|
|
623
|
-
* Create
|
|
689
|
+
* Create authenticators to authenticate requests to Turnkey.
|
|
624
690
|
*
|
|
625
691
|
* `POST /public/v1/submit/create_authenticators`
|
|
626
692
|
*/
|
|
@@ -640,9 +706,9 @@ const signCreateAuthenticators = (input, options) => signedRequest({
|
|
|
640
706
|
options,
|
|
641
707
|
});
|
|
642
708
|
/**
|
|
643
|
-
* Create
|
|
709
|
+
* Create invitations
|
|
644
710
|
*
|
|
645
|
-
* Create
|
|
711
|
+
* Create invitations to join an existing organization.
|
|
646
712
|
*
|
|
647
713
|
* `POST /public/v1/submit/create_invitations`
|
|
648
714
|
*/
|
|
@@ -662,9 +728,9 @@ const signCreateInvitations = (input, options) => signedRequest({
|
|
|
662
728
|
options,
|
|
663
729
|
});
|
|
664
730
|
/**
|
|
665
|
-
* Create Oauth
|
|
731
|
+
* Create Oauth providers
|
|
666
732
|
*
|
|
667
|
-
*
|
|
733
|
+
* Create Oauth providers for a specified user.
|
|
668
734
|
*
|
|
669
735
|
* `POST /public/v1/submit/create_oauth_providers`
|
|
670
736
|
*/
|
|
@@ -684,9 +750,9 @@ const signCreateOauthProviders = (input, options) => signedRequest({
|
|
|
684
750
|
options,
|
|
685
751
|
});
|
|
686
752
|
/**
|
|
687
|
-
* Create
|
|
753
|
+
* Create policies
|
|
688
754
|
*
|
|
689
|
-
* Create new
|
|
755
|
+
* Create new policies.
|
|
690
756
|
*
|
|
691
757
|
* `POST /public/v1/submit/create_policies`
|
|
692
758
|
*/
|
|
@@ -706,9 +772,9 @@ const signCreatePolicies = (input, options) => signedRequest({
|
|
|
706
772
|
options,
|
|
707
773
|
});
|
|
708
774
|
/**
|
|
709
|
-
* Create
|
|
775
|
+
* Create policy
|
|
710
776
|
*
|
|
711
|
-
* Create a new
|
|
777
|
+
* Create a new policy.
|
|
712
778
|
*
|
|
713
779
|
* `POST /public/v1/submit/create_policy`
|
|
714
780
|
*/
|
|
@@ -728,7 +794,7 @@ const signCreatePolicy = (input, options) => signedRequest({
|
|
|
728
794
|
options,
|
|
729
795
|
});
|
|
730
796
|
/**
|
|
731
|
-
* Create
|
|
797
|
+
* Create private key tag
|
|
732
798
|
*
|
|
733
799
|
* Create a private key tag and add it to private keys.
|
|
734
800
|
*
|
|
@@ -750,9 +816,9 @@ const signCreatePrivateKeyTag = (input, options) => signedRequest({
|
|
|
750
816
|
options,
|
|
751
817
|
});
|
|
752
818
|
/**
|
|
753
|
-
* Create
|
|
819
|
+
* Create private keys
|
|
754
820
|
*
|
|
755
|
-
* Create new
|
|
821
|
+
* Create new private keys.
|
|
756
822
|
*
|
|
757
823
|
* `POST /public/v1/submit/create_private_keys`
|
|
758
824
|
*/
|
|
@@ -772,9 +838,9 @@ const signCreatePrivateKeys = (input, options) => signedRequest({
|
|
|
772
838
|
options,
|
|
773
839
|
});
|
|
774
840
|
/**
|
|
775
|
-
* Create
|
|
841
|
+
* Create read only session
|
|
776
842
|
*
|
|
777
|
-
* Create a read only session for a user (valid for 1 hour)
|
|
843
|
+
* Create a read only session for a user (valid for 1 hour).
|
|
778
844
|
*
|
|
779
845
|
* `POST /public/v1/submit/create_read_only_session`
|
|
780
846
|
*/
|
|
@@ -794,9 +860,9 @@ const signCreateReadOnlySession = (input, options) => signedRequest({
|
|
|
794
860
|
options,
|
|
795
861
|
});
|
|
796
862
|
/**
|
|
797
|
-
* Create
|
|
863
|
+
* Create read write session
|
|
798
864
|
*
|
|
799
|
-
* Create a read write session for a user
|
|
865
|
+
* Create a read write session for a user.
|
|
800
866
|
*
|
|
801
867
|
* `POST /public/v1/submit/create_read_write_session`
|
|
802
868
|
*/
|
|
@@ -816,9 +882,31 @@ const signCreateReadWriteSession = (input, options) => signedRequest({
|
|
|
816
882
|
options,
|
|
817
883
|
});
|
|
818
884
|
/**
|
|
819
|
-
* Create
|
|
885
|
+
* Create smart contract interface
|
|
886
|
+
*
|
|
887
|
+
* Create an ABI/IDL in JSON.
|
|
888
|
+
*
|
|
889
|
+
* `POST /public/v1/submit/create_smart_contract_interface`
|
|
890
|
+
*/
|
|
891
|
+
const createSmartContractInterface = (input) => request({
|
|
892
|
+
uri: "/public/v1/submit/create_smart_contract_interface",
|
|
893
|
+
method: "POST",
|
|
894
|
+
body: input.body,
|
|
895
|
+
});
|
|
896
|
+
/**
|
|
897
|
+
* Request a WebAuthn assertion and return a signed `CreateSmartContractInterface` request, ready to be POSTed to Turnkey.
|
|
898
|
+
*
|
|
899
|
+
* See {@link CreateSmartContractInterface}
|
|
900
|
+
*/
|
|
901
|
+
const signCreateSmartContractInterface = (input, options) => signedRequest({
|
|
902
|
+
uri: "/public/v1/submit/create_smart_contract_interface",
|
|
903
|
+
body: input.body,
|
|
904
|
+
options,
|
|
905
|
+
});
|
|
906
|
+
/**
|
|
907
|
+
* Create sub-organization
|
|
820
908
|
*
|
|
821
|
-
* Create a new
|
|
909
|
+
* Create a new sub-organization.
|
|
822
910
|
*
|
|
823
911
|
* `POST /public/v1/submit/create_sub_organization`
|
|
824
912
|
*/
|
|
@@ -838,7 +926,7 @@ const signCreateSubOrganization = (input, options) => signedRequest({
|
|
|
838
926
|
options,
|
|
839
927
|
});
|
|
840
928
|
/**
|
|
841
|
-
* Create
|
|
929
|
+
* Create user tag
|
|
842
930
|
*
|
|
843
931
|
* Create a user tag and add it to users.
|
|
844
932
|
*
|
|
@@ -860,9 +948,9 @@ const signCreateUserTag = (input, options) => signedRequest({
|
|
|
860
948
|
options,
|
|
861
949
|
});
|
|
862
950
|
/**
|
|
863
|
-
* Create
|
|
951
|
+
* Create users
|
|
864
952
|
*
|
|
865
|
-
* Create
|
|
953
|
+
* Create users in an existing organization.
|
|
866
954
|
*
|
|
867
955
|
* `POST /public/v1/submit/create_users`
|
|
868
956
|
*/
|
|
@@ -882,9 +970,9 @@ const signCreateUsers = (input, options) => signedRequest({
|
|
|
882
970
|
options,
|
|
883
971
|
});
|
|
884
972
|
/**
|
|
885
|
-
* Create
|
|
973
|
+
* Create wallet
|
|
886
974
|
*
|
|
887
|
-
* Create a
|
|
975
|
+
* Create a wallet and derive addresses.
|
|
888
976
|
*
|
|
889
977
|
* `POST /public/v1/submit/create_wallet`
|
|
890
978
|
*/
|
|
@@ -904,9 +992,9 @@ const signCreateWallet = (input, options) => signedRequest({
|
|
|
904
992
|
options,
|
|
905
993
|
});
|
|
906
994
|
/**
|
|
907
|
-
* Create
|
|
995
|
+
* Create wallet accounts
|
|
908
996
|
*
|
|
909
|
-
* Derive additional addresses using an existing wallet
|
|
997
|
+
* Derive additional addresses using an existing wallet.
|
|
910
998
|
*
|
|
911
999
|
* `POST /public/v1/submit/create_wallet_accounts`
|
|
912
1000
|
*/
|
|
@@ -926,9 +1014,9 @@ const signCreateWalletAccounts = (input, options) => signedRequest({
|
|
|
926
1014
|
options,
|
|
927
1015
|
});
|
|
928
1016
|
/**
|
|
929
|
-
* Delete API
|
|
1017
|
+
* Delete API keys
|
|
930
1018
|
*
|
|
931
|
-
* Remove api keys from a
|
|
1019
|
+
* Remove api keys from a user.
|
|
932
1020
|
*
|
|
933
1021
|
* `POST /public/v1/submit/delete_api_keys`
|
|
934
1022
|
*/
|
|
@@ -948,9 +1036,9 @@ const signDeleteApiKeys = (input, options) => signedRequest({
|
|
|
948
1036
|
options,
|
|
949
1037
|
});
|
|
950
1038
|
/**
|
|
951
|
-
* Delete
|
|
1039
|
+
* Delete authenticators
|
|
952
1040
|
*
|
|
953
|
-
* Remove authenticators from a
|
|
1041
|
+
* Remove authenticators from a user.
|
|
954
1042
|
*
|
|
955
1043
|
* `POST /public/v1/submit/delete_authenticators`
|
|
956
1044
|
*/
|
|
@@ -970,9 +1058,9 @@ const signDeleteAuthenticators = (input, options) => signedRequest({
|
|
|
970
1058
|
options,
|
|
971
1059
|
});
|
|
972
1060
|
/**
|
|
973
|
-
* Delete
|
|
1061
|
+
* Delete invitation
|
|
974
1062
|
*
|
|
975
|
-
* Delete an existing
|
|
1063
|
+
* Delete an existing invitation.
|
|
976
1064
|
*
|
|
977
1065
|
* `POST /public/v1/submit/delete_invitation`
|
|
978
1066
|
*/
|
|
@@ -992,9 +1080,9 @@ const signDeleteInvitation = (input, options) => signedRequest({
|
|
|
992
1080
|
options,
|
|
993
1081
|
});
|
|
994
1082
|
/**
|
|
995
|
-
* Delete Oauth
|
|
1083
|
+
* Delete Oauth providers
|
|
996
1084
|
*
|
|
997
|
-
*
|
|
1085
|
+
* Remove Oauth providers for a specified user.
|
|
998
1086
|
*
|
|
999
1087
|
* `POST /public/v1/submit/delete_oauth_providers`
|
|
1000
1088
|
*/
|
|
@@ -1014,9 +1102,9 @@ const signDeleteOauthProviders = (input, options) => signedRequest({
|
|
|
1014
1102
|
options,
|
|
1015
1103
|
});
|
|
1016
1104
|
/**
|
|
1017
|
-
* Delete
|
|
1105
|
+
* Delete policy
|
|
1018
1106
|
*
|
|
1019
|
-
* Delete an existing
|
|
1107
|
+
* Delete an existing policy.
|
|
1020
1108
|
*
|
|
1021
1109
|
* `POST /public/v1/submit/delete_policy`
|
|
1022
1110
|
*/
|
|
@@ -1036,9 +1124,9 @@ const signDeletePolicy = (input, options) => signedRequest({
|
|
|
1036
1124
|
options,
|
|
1037
1125
|
});
|
|
1038
1126
|
/**
|
|
1039
|
-
* Delete
|
|
1127
|
+
* Delete private key tags
|
|
1040
1128
|
*
|
|
1041
|
-
* Delete
|
|
1129
|
+
* Delete private key tags within an organization.
|
|
1042
1130
|
*
|
|
1043
1131
|
* `POST /public/v1/submit/delete_private_key_tags`
|
|
1044
1132
|
*/
|
|
@@ -1058,9 +1146,9 @@ const signDeletePrivateKeyTags = (input, options) => signedRequest({
|
|
|
1058
1146
|
options,
|
|
1059
1147
|
});
|
|
1060
1148
|
/**
|
|
1061
|
-
* Delete
|
|
1149
|
+
* Delete private keys
|
|
1062
1150
|
*
|
|
1063
|
-
*
|
|
1151
|
+
* Delete private keys for an organization.
|
|
1064
1152
|
*
|
|
1065
1153
|
* `POST /public/v1/submit/delete_private_keys`
|
|
1066
1154
|
*/
|
|
@@ -1080,9 +1168,31 @@ const signDeletePrivateKeys = (input, options) => signedRequest({
|
|
|
1080
1168
|
options,
|
|
1081
1169
|
});
|
|
1082
1170
|
/**
|
|
1083
|
-
* Delete
|
|
1171
|
+
* Delete smart contract interface
|
|
1172
|
+
*
|
|
1173
|
+
* Delete a smart contract interface.
|
|
1174
|
+
*
|
|
1175
|
+
* `POST /public/v1/submit/delete_smart_contract_interface`
|
|
1176
|
+
*/
|
|
1177
|
+
const deleteSmartContractInterface = (input) => request({
|
|
1178
|
+
uri: "/public/v1/submit/delete_smart_contract_interface",
|
|
1179
|
+
method: "POST",
|
|
1180
|
+
body: input.body,
|
|
1181
|
+
});
|
|
1182
|
+
/**
|
|
1183
|
+
* Request a WebAuthn assertion and return a signed `DeleteSmartContractInterface` request, ready to be POSTed to Turnkey.
|
|
1184
|
+
*
|
|
1185
|
+
* See {@link DeleteSmartContractInterface}
|
|
1186
|
+
*/
|
|
1187
|
+
const signDeleteSmartContractInterface = (input, options) => signedRequest({
|
|
1188
|
+
uri: "/public/v1/submit/delete_smart_contract_interface",
|
|
1189
|
+
body: input.body,
|
|
1190
|
+
options,
|
|
1191
|
+
});
|
|
1192
|
+
/**
|
|
1193
|
+
* Delete sub-organization
|
|
1084
1194
|
*
|
|
1085
|
-
*
|
|
1195
|
+
* Delete a sub-organization.
|
|
1086
1196
|
*
|
|
1087
1197
|
* `POST /public/v1/submit/delete_sub_organization`
|
|
1088
1198
|
*/
|
|
@@ -1102,9 +1212,9 @@ const signDeleteSubOrganization = (input, options) => signedRequest({
|
|
|
1102
1212
|
options,
|
|
1103
1213
|
});
|
|
1104
1214
|
/**
|
|
1105
|
-
* Delete
|
|
1215
|
+
* Delete user tags
|
|
1106
1216
|
*
|
|
1107
|
-
* Delete
|
|
1217
|
+
* Delete user tags within an organization.
|
|
1108
1218
|
*
|
|
1109
1219
|
* `POST /public/v1/submit/delete_user_tags`
|
|
1110
1220
|
*/
|
|
@@ -1124,9 +1234,9 @@ const signDeleteUserTags = (input, options) => signedRequest({
|
|
|
1124
1234
|
options,
|
|
1125
1235
|
});
|
|
1126
1236
|
/**
|
|
1127
|
-
* Delete
|
|
1237
|
+
* Delete users
|
|
1128
1238
|
*
|
|
1129
|
-
* Delete
|
|
1239
|
+
* Delete users within an organization.
|
|
1130
1240
|
*
|
|
1131
1241
|
* `POST /public/v1/submit/delete_users`
|
|
1132
1242
|
*/
|
|
@@ -1146,9 +1256,9 @@ const signDeleteUsers = (input, options) => signedRequest({
|
|
|
1146
1256
|
options,
|
|
1147
1257
|
});
|
|
1148
1258
|
/**
|
|
1149
|
-
* Delete
|
|
1259
|
+
* Delete wallets
|
|
1150
1260
|
*
|
|
1151
|
-
*
|
|
1261
|
+
* Delete wallets for an organization.
|
|
1152
1262
|
*
|
|
1153
1263
|
* `POST /public/v1/submit/delete_wallets`
|
|
1154
1264
|
*/
|
|
@@ -1168,9 +1278,9 @@ const signDeleteWallets = (input, options) => signedRequest({
|
|
|
1168
1278
|
options,
|
|
1169
1279
|
});
|
|
1170
1280
|
/**
|
|
1171
|
-
* Perform
|
|
1281
|
+
* Perform email auth
|
|
1172
1282
|
*
|
|
1173
|
-
* Authenticate a user via
|
|
1283
|
+
* Authenticate a user via email.
|
|
1174
1284
|
*
|
|
1175
1285
|
* `POST /public/v1/submit/email_auth`
|
|
1176
1286
|
*/
|
|
@@ -1190,9 +1300,9 @@ const signEmailAuth = (input, options) => signedRequest({
|
|
|
1190
1300
|
options,
|
|
1191
1301
|
});
|
|
1192
1302
|
/**
|
|
1193
|
-
* Export
|
|
1303
|
+
* Export private key
|
|
1194
1304
|
*
|
|
1195
|
-
*
|
|
1305
|
+
* Export a private key.
|
|
1196
1306
|
*
|
|
1197
1307
|
* `POST /public/v1/submit/export_private_key`
|
|
1198
1308
|
*/
|
|
@@ -1212,9 +1322,9 @@ const signExportPrivateKey = (input, options) => signedRequest({
|
|
|
1212
1322
|
options,
|
|
1213
1323
|
});
|
|
1214
1324
|
/**
|
|
1215
|
-
* Export
|
|
1325
|
+
* Export wallet
|
|
1216
1326
|
*
|
|
1217
|
-
*
|
|
1327
|
+
* Export a wallet.
|
|
1218
1328
|
*
|
|
1219
1329
|
* `POST /public/v1/submit/export_wallet`
|
|
1220
1330
|
*/
|
|
@@ -1234,9 +1344,9 @@ const signExportWallet = (input, options) => signedRequest({
|
|
|
1234
1344
|
options,
|
|
1235
1345
|
});
|
|
1236
1346
|
/**
|
|
1237
|
-
* Export
|
|
1347
|
+
* Export wallet account
|
|
1238
1348
|
*
|
|
1239
|
-
*
|
|
1349
|
+
* Export a wallet account.
|
|
1240
1350
|
*
|
|
1241
1351
|
* `POST /public/v1/submit/export_wallet_account`
|
|
1242
1352
|
*/
|
|
@@ -1256,9 +1366,9 @@ const signExportWalletAccount = (input, options) => signedRequest({
|
|
|
1256
1366
|
options,
|
|
1257
1367
|
});
|
|
1258
1368
|
/**
|
|
1259
|
-
* Import
|
|
1369
|
+
* Import private key
|
|
1260
1370
|
*
|
|
1261
|
-
*
|
|
1371
|
+
* Import a private key.
|
|
1262
1372
|
*
|
|
1263
1373
|
* `POST /public/v1/submit/import_private_key`
|
|
1264
1374
|
*/
|
|
@@ -1278,9 +1388,9 @@ const signImportPrivateKey = (input, options) => signedRequest({
|
|
|
1278
1388
|
options,
|
|
1279
1389
|
});
|
|
1280
1390
|
/**
|
|
1281
|
-
* Import
|
|
1391
|
+
* Import wallet
|
|
1282
1392
|
*
|
|
1283
|
-
*
|
|
1393
|
+
* Import a wallet.
|
|
1284
1394
|
*
|
|
1285
1395
|
* `POST /public/v1/submit/import_wallet`
|
|
1286
1396
|
*/
|
|
@@ -1300,9 +1410,9 @@ const signImportWallet = (input, options) => signedRequest({
|
|
|
1300
1410
|
options,
|
|
1301
1411
|
});
|
|
1302
1412
|
/**
|
|
1303
|
-
* Init
|
|
1413
|
+
* Init fiat on ramp
|
|
1304
1414
|
*
|
|
1305
|
-
* Initiate a fiat on ramp flow
|
|
1415
|
+
* Initiate a fiat on ramp flow.
|
|
1306
1416
|
*
|
|
1307
1417
|
* `POST /public/v1/submit/init_fiat_on_ramp`
|
|
1308
1418
|
*/
|
|
@@ -1322,9 +1432,9 @@ const signInitFiatOnRamp = (input, options) => signedRequest({
|
|
|
1322
1432
|
options,
|
|
1323
1433
|
});
|
|
1324
1434
|
/**
|
|
1325
|
-
* Init
|
|
1435
|
+
* Init import private key
|
|
1326
1436
|
*
|
|
1327
|
-
*
|
|
1437
|
+
* Initialize a new private key import.
|
|
1328
1438
|
*
|
|
1329
1439
|
* `POST /public/v1/submit/init_import_private_key`
|
|
1330
1440
|
*/
|
|
@@ -1344,9 +1454,9 @@ const signInitImportPrivateKey = (input, options) => signedRequest({
|
|
|
1344
1454
|
options,
|
|
1345
1455
|
});
|
|
1346
1456
|
/**
|
|
1347
|
-
* Init
|
|
1457
|
+
* Init import wallet
|
|
1348
1458
|
*
|
|
1349
|
-
*
|
|
1459
|
+
* Initialize a new wallet import.
|
|
1350
1460
|
*
|
|
1351
1461
|
* `POST /public/v1/submit/init_import_wallet`
|
|
1352
1462
|
*/
|
|
@@ -1366,9 +1476,9 @@ const signInitImportWallet = (input, options) => signedRequest({
|
|
|
1366
1476
|
options,
|
|
1367
1477
|
});
|
|
1368
1478
|
/**
|
|
1369
|
-
* Init
|
|
1479
|
+
* Init generic OTP
|
|
1370
1480
|
*
|
|
1371
|
-
* Initiate a
|
|
1481
|
+
* Initiate a generic OTP activity.
|
|
1372
1482
|
*
|
|
1373
1483
|
* `POST /public/v1/submit/init_otp`
|
|
1374
1484
|
*/
|
|
@@ -1390,7 +1500,7 @@ const signInitOtp = (input, options) => signedRequest({
|
|
|
1390
1500
|
/**
|
|
1391
1501
|
* Init OTP auth
|
|
1392
1502
|
*
|
|
1393
|
-
* Initiate an OTP auth activity
|
|
1503
|
+
* Initiate an OTP auth activity.
|
|
1394
1504
|
*
|
|
1395
1505
|
* `POST /public/v1/submit/init_otp_auth`
|
|
1396
1506
|
*/
|
|
@@ -1410,9 +1520,9 @@ const signInitOtpAuth = (input, options) => signedRequest({
|
|
|
1410
1520
|
options,
|
|
1411
1521
|
});
|
|
1412
1522
|
/**
|
|
1413
|
-
* Init
|
|
1523
|
+
* Init email recovery
|
|
1414
1524
|
*
|
|
1415
|
-
*
|
|
1525
|
+
* Initialize a new email recovery.
|
|
1416
1526
|
*
|
|
1417
1527
|
* `POST /public/v1/submit/init_user_email_recovery`
|
|
1418
1528
|
*/
|
|
@@ -1434,7 +1544,7 @@ const signInitUserEmailRecovery = (input, options) => signedRequest({
|
|
|
1434
1544
|
/**
|
|
1435
1545
|
* Oauth
|
|
1436
1546
|
*
|
|
1437
|
-
* Authenticate a user with an
|
|
1547
|
+
* Authenticate a user with an OIDC token (Oauth).
|
|
1438
1548
|
*
|
|
1439
1549
|
* `POST /public/v1/submit/oauth`
|
|
1440
1550
|
*/
|
|
@@ -1456,7 +1566,7 @@ const signOauth = (input, options) => signedRequest({
|
|
|
1456
1566
|
/**
|
|
1457
1567
|
* Login with Oauth
|
|
1458
1568
|
*
|
|
1459
|
-
* Create an Oauth session for a user
|
|
1569
|
+
* Create an Oauth session for a user.
|
|
1460
1570
|
*
|
|
1461
1571
|
* `POST /public/v1/submit/oauth_login`
|
|
1462
1572
|
*/
|
|
@@ -1478,7 +1588,7 @@ const signOauthLogin = (input, options) => signedRequest({
|
|
|
1478
1588
|
/**
|
|
1479
1589
|
* OTP auth
|
|
1480
1590
|
*
|
|
1481
|
-
* Authenticate a user with an OTP code sent via email or SMS
|
|
1591
|
+
* Authenticate a user with an OTP code sent via email or SMS.
|
|
1482
1592
|
*
|
|
1483
1593
|
* `POST /public/v1/submit/otp_auth`
|
|
1484
1594
|
*/
|
|
@@ -1500,7 +1610,7 @@ const signOtpAuth = (input, options) => signedRequest({
|
|
|
1500
1610
|
/**
|
|
1501
1611
|
* Login with OTP
|
|
1502
1612
|
*
|
|
1503
|
-
* Create an OTP session for a user
|
|
1613
|
+
* Create an OTP session for a user.
|
|
1504
1614
|
*
|
|
1505
1615
|
* `POST /public/v1/submit/otp_login`
|
|
1506
1616
|
*/
|
|
@@ -1522,7 +1632,7 @@ const signOtpLogin = (input, options) => signedRequest({
|
|
|
1522
1632
|
/**
|
|
1523
1633
|
* Recover a user
|
|
1524
1634
|
*
|
|
1525
|
-
*
|
|
1635
|
+
* Complete the process of recovering a user by adding an authenticator.
|
|
1526
1636
|
*
|
|
1527
1637
|
* `POST /public/v1/submit/recover_user`
|
|
1528
1638
|
*/
|
|
@@ -1542,9 +1652,9 @@ const signRecoverUser = (input, options) => signedRequest({
|
|
|
1542
1652
|
options,
|
|
1543
1653
|
});
|
|
1544
1654
|
/**
|
|
1545
|
-
* Reject
|
|
1655
|
+
* Reject activity
|
|
1546
1656
|
*
|
|
1547
|
-
* Reject an
|
|
1657
|
+
* Reject an activity.
|
|
1548
1658
|
*
|
|
1549
1659
|
* `POST /public/v1/submit/reject_activity`
|
|
1550
1660
|
*/
|
|
@@ -1564,9 +1674,9 @@ const signRejectActivity = (input, options) => signedRequest({
|
|
|
1564
1674
|
options,
|
|
1565
1675
|
});
|
|
1566
1676
|
/**
|
|
1567
|
-
* Remove
|
|
1677
|
+
* Remove organization feature
|
|
1568
1678
|
*
|
|
1569
|
-
*
|
|
1679
|
+
* Remove an organization feature. This activity must be approved by the current root quorum.
|
|
1570
1680
|
*
|
|
1571
1681
|
* `POST /public/v1/submit/remove_organization_feature`
|
|
1572
1682
|
*/
|
|
@@ -1586,9 +1696,9 @@ const signRemoveOrganizationFeature = (input, options) => signedRequest({
|
|
|
1586
1696
|
options,
|
|
1587
1697
|
});
|
|
1588
1698
|
/**
|
|
1589
|
-
* Set
|
|
1699
|
+
* Set organization feature
|
|
1590
1700
|
*
|
|
1591
|
-
*
|
|
1701
|
+
* Set an organization feature. This activity must be approved by the current root quorum.
|
|
1592
1702
|
*
|
|
1593
1703
|
* `POST /public/v1/submit/set_organization_feature`
|
|
1594
1704
|
*/
|
|
@@ -1608,9 +1718,9 @@ const signSetOrganizationFeature = (input, options) => signedRequest({
|
|
|
1608
1718
|
options,
|
|
1609
1719
|
});
|
|
1610
1720
|
/**
|
|
1611
|
-
* Sign
|
|
1721
|
+
* Sign raw payload
|
|
1612
1722
|
*
|
|
1613
|
-
* Sign a raw payload
|
|
1723
|
+
* Sign a raw payload.
|
|
1614
1724
|
*
|
|
1615
1725
|
* `POST /public/v1/submit/sign_raw_payload`
|
|
1616
1726
|
*/
|
|
@@ -1630,9 +1740,9 @@ const signSignRawPayload = (input, options) => signedRequest({
|
|
|
1630
1740
|
options,
|
|
1631
1741
|
});
|
|
1632
1742
|
/**
|
|
1633
|
-
* Sign
|
|
1743
|
+
* Sign raw payloads
|
|
1634
1744
|
*
|
|
1635
|
-
* Sign multiple raw payloads with the same signing parameters
|
|
1745
|
+
* Sign multiple raw payloads with the same signing parameters.
|
|
1636
1746
|
*
|
|
1637
1747
|
* `POST /public/v1/submit/sign_raw_payloads`
|
|
1638
1748
|
*/
|
|
@@ -1652,9 +1762,9 @@ const signSignRawPayloads = (input, options) => signedRequest({
|
|
|
1652
1762
|
options,
|
|
1653
1763
|
});
|
|
1654
1764
|
/**
|
|
1655
|
-
* Sign
|
|
1765
|
+
* Sign transaction
|
|
1656
1766
|
*
|
|
1657
|
-
* Sign a transaction
|
|
1767
|
+
* Sign a transaction.
|
|
1658
1768
|
*
|
|
1659
1769
|
* `POST /public/v1/submit/sign_transaction`
|
|
1660
1770
|
*/
|
|
@@ -1674,9 +1784,9 @@ const signSignTransaction = (input, options) => signedRequest({
|
|
|
1674
1784
|
options,
|
|
1675
1785
|
});
|
|
1676
1786
|
/**
|
|
1677
|
-
* Login with a
|
|
1787
|
+
* Login with a stamp
|
|
1678
1788
|
*
|
|
1679
|
-
* Create a session for a user through stamping client side (
|
|
1789
|
+
* Create a session for a user through stamping client side (API key, wallet client, or passkey client).
|
|
1680
1790
|
*
|
|
1681
1791
|
* `POST /public/v1/submit/stamp_login`
|
|
1682
1792
|
*/
|
|
@@ -1696,9 +1806,9 @@ const signStampLogin = (input, options) => signedRequest({
|
|
|
1696
1806
|
options,
|
|
1697
1807
|
});
|
|
1698
1808
|
/**
|
|
1699
|
-
* Update
|
|
1809
|
+
* Update policy
|
|
1700
1810
|
*
|
|
1701
|
-
* Update an existing
|
|
1811
|
+
* Update an existing policy.
|
|
1702
1812
|
*
|
|
1703
1813
|
* `POST /public/v1/submit/update_policy`
|
|
1704
1814
|
*/
|
|
@@ -1718,7 +1828,7 @@ const signUpdatePolicy = (input, options) => signedRequest({
|
|
|
1718
1828
|
options,
|
|
1719
1829
|
});
|
|
1720
1830
|
/**
|
|
1721
|
-
* Update
|
|
1831
|
+
* Update private key tag
|
|
1722
1832
|
*
|
|
1723
1833
|
* Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
|
|
1724
1834
|
*
|
|
@@ -1740,7 +1850,7 @@ const signUpdatePrivateKeyTag = (input, options) => signedRequest({
|
|
|
1740
1850
|
options,
|
|
1741
1851
|
});
|
|
1742
1852
|
/**
|
|
1743
|
-
* Update
|
|
1853
|
+
* Update root quorum
|
|
1744
1854
|
*
|
|
1745
1855
|
* Set the threshold and members of the root quorum. This activity must be approved by the current root quorum.
|
|
1746
1856
|
*
|
|
@@ -1762,9 +1872,9 @@ const signUpdateRootQuorum = (input, options) => signedRequest({
|
|
|
1762
1872
|
options,
|
|
1763
1873
|
});
|
|
1764
1874
|
/**
|
|
1765
|
-
* Update
|
|
1875
|
+
* Update user
|
|
1766
1876
|
*
|
|
1767
|
-
* Update a
|
|
1877
|
+
* Update a user in an existing organization.
|
|
1768
1878
|
*
|
|
1769
1879
|
* `POST /public/v1/submit/update_user`
|
|
1770
1880
|
*/
|
|
@@ -1784,9 +1894,9 @@ const signUpdateUser = (input, options) => signedRequest({
|
|
|
1784
1894
|
options,
|
|
1785
1895
|
});
|
|
1786
1896
|
/**
|
|
1787
|
-
* Update
|
|
1897
|
+
* Update user's email
|
|
1788
1898
|
*
|
|
1789
|
-
* Update a
|
|
1899
|
+
* Update a user's email in an existing organization.
|
|
1790
1900
|
*
|
|
1791
1901
|
* `POST /public/v1/submit/update_user_email`
|
|
1792
1902
|
*/
|
|
@@ -1806,9 +1916,9 @@ const signUpdateUserEmail = (input, options) => signedRequest({
|
|
|
1806
1916
|
options,
|
|
1807
1917
|
});
|
|
1808
1918
|
/**
|
|
1809
|
-
* Update
|
|
1919
|
+
* Update user's name
|
|
1810
1920
|
*
|
|
1811
|
-
* Update a
|
|
1921
|
+
* Update a user's name in an existing organization.
|
|
1812
1922
|
*
|
|
1813
1923
|
* `POST /public/v1/submit/update_user_name`
|
|
1814
1924
|
*/
|
|
@@ -1828,9 +1938,9 @@ const signUpdateUserName = (input, options) => signedRequest({
|
|
|
1828
1938
|
options,
|
|
1829
1939
|
});
|
|
1830
1940
|
/**
|
|
1831
|
-
* Update
|
|
1941
|
+
* Update user's phone number
|
|
1832
1942
|
*
|
|
1833
|
-
* Update a
|
|
1943
|
+
* Update a user's phone number in an existing organization.
|
|
1834
1944
|
*
|
|
1835
1945
|
* `POST /public/v1/submit/update_user_phone_number`
|
|
1836
1946
|
*/
|
|
@@ -1850,7 +1960,7 @@ const signUpdateUserPhoneNumber = (input, options) => signedRequest({
|
|
|
1850
1960
|
options,
|
|
1851
1961
|
});
|
|
1852
1962
|
/**
|
|
1853
|
-
* Update
|
|
1963
|
+
* Update user tag
|
|
1854
1964
|
*
|
|
1855
1965
|
* Update human-readable name or associated users. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
|
|
1856
1966
|
*
|
|
@@ -1872,9 +1982,9 @@ const signUpdateUserTag = (input, options) => signedRequest({
|
|
|
1872
1982
|
options,
|
|
1873
1983
|
});
|
|
1874
1984
|
/**
|
|
1875
|
-
* Update
|
|
1985
|
+
* Update wallet
|
|
1876
1986
|
*
|
|
1877
|
-
* Update a wallet for an organization
|
|
1987
|
+
* Update a wallet for an organization.
|
|
1878
1988
|
*
|
|
1879
1989
|
* `POST /public/v1/submit/update_wallet`
|
|
1880
1990
|
*/
|
|
@@ -1894,9 +2004,9 @@ const signUpdateWallet = (input, options) => signedRequest({
|
|
|
1894
2004
|
options,
|
|
1895
2005
|
});
|
|
1896
2006
|
/**
|
|
1897
|
-
* Verify
|
|
2007
|
+
* Verify generic OTP
|
|
1898
2008
|
*
|
|
1899
|
-
* Verify a
|
|
2009
|
+
* Verify a generic OTP.
|
|
1900
2010
|
*
|
|
1901
2011
|
* `POST /public/v1/submit/verify_otp`
|
|
1902
2012
|
*/
|
|
@@ -1931,9 +2041,9 @@ const signNOOPCodegenAnchor = () => signedRequest({
|
|
|
1931
2041
|
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
1932
2042
|
});
|
|
1933
2043
|
/**
|
|
1934
|
-
* Test
|
|
2044
|
+
* Test rate limit
|
|
1935
2045
|
*
|
|
1936
|
-
* Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite
|
|
2046
|
+
* Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.
|
|
1937
2047
|
*
|
|
1938
2048
|
* `POST /tkhq/api/v1/test_rate_limits`
|
|
1939
2049
|
*/
|
|
@@ -1953,5 +2063,5 @@ const signTestRateLimits = (input, options) => signedRequest({
|
|
|
1953
2063
|
options,
|
|
1954
2064
|
});
|
|
1955
2065
|
|
|
1956
|
-
export { approveActivity, createApiKeys, createApiOnlyUsers, createAuthenticators, createInvitations, createOauthProviders, createPolicies, createPolicy, createPrivateKeyTag, createPrivateKeys, createReadOnlySession, createReadWriteSession, createSubOrganization, createUserTag, createUsers, createWallet, createWalletAccounts, deleteApiKeys, deleteAuthenticators, deleteInvitation, deleteOauthProviders, deletePolicy, deletePrivateKeyTags, deletePrivateKeys, deleteSubOrganization, deleteUserTags, deleteUsers, deleteWallets, emailAuth, exportPrivateKey, exportWallet, exportWalletAccount, getActivities, getActivity, getApiKey, getApiKeys, getAttestationDocument, getAuthenticator, getAuthenticators, getOauthProviders, getOrganization, getOrganizationConfigs, getPolicies, getPolicy, getPrivateKey, getPrivateKeys, getSubOrgIds, getUser, getUsers, getVerifiedSubOrgIds, getWallet, getWalletAccount, getWalletAccounts, getWallets, getWhoami, importPrivateKey, importWallet, initFiatOnRamp, initImportPrivateKey, initImportWallet, initOtp, initOtpAuth, initUserEmailRecovery, listPrivateKeyTags, listUserTags, nOOPCodegenAnchor, oauth, oauthLogin, otpAuth, otpLogin, recoverUser, rejectActivity, removeOrganizationFeature, setOrganizationFeature, signApproveActivity, signCreateApiKeys, signCreateApiOnlyUsers, signCreateAuthenticators, signCreateInvitations, signCreateOauthProviders, signCreatePolicies, signCreatePolicy, signCreatePrivateKeyTag, signCreatePrivateKeys, signCreateReadOnlySession, signCreateReadWriteSession, signCreateSubOrganization, signCreateUserTag, signCreateUsers, signCreateWallet, signCreateWalletAccounts, signDeleteApiKeys, signDeleteAuthenticators, signDeleteInvitation, signDeleteOauthProviders, signDeletePolicy, signDeletePrivateKeyTags, signDeletePrivateKeys, signDeleteSubOrganization, signDeleteUserTags, signDeleteUsers, signDeleteWallets, signEmailAuth, signExportPrivateKey, signExportWallet, signExportWalletAccount, signGetActivities, signGetActivity, signGetApiKey, signGetApiKeys, signGetAttestationDocument, signGetAuthenticator, signGetAuthenticators, signGetOauthProviders, signGetOrganization, signGetOrganizationConfigs, signGetPolicies, signGetPolicy, signGetPrivateKey, signGetPrivateKeys, signGetSubOrgIds, signGetUser, signGetUsers, signGetVerifiedSubOrgIds, signGetWallet, signGetWalletAccount, signGetWalletAccounts, signGetWallets, signGetWhoami, signImportPrivateKey, signImportWallet, signInitFiatOnRamp, signInitImportPrivateKey, signInitImportWallet, signInitOtp, signInitOtpAuth, signInitUserEmailRecovery, signListPrivateKeyTags, signListUserTags, signNOOPCodegenAnchor, signOauth, signOauthLogin, signOtpAuth, signOtpLogin, signRawPayload, signRawPayloads, signRecoverUser, signRejectActivity, signRemoveOrganizationFeature, signSetOrganizationFeature, signSignRawPayload, signSignRawPayloads, signSignTransaction, signStampLogin, signTestRateLimits, signTransaction, signUpdatePolicy, signUpdatePrivateKeyTag, signUpdateRootQuorum, signUpdateUser, signUpdateUserEmail, signUpdateUserName, signUpdateUserPhoneNumber, signUpdateUserTag, signUpdateWallet, signVerifyOtp, stampLogin, testRateLimits, updatePolicy, updatePrivateKeyTag, updateRootQuorum, updateUser, updateUserEmail, updateUserName, updateUserPhoneNumber, updateUserTag, updateWallet, verifyOtp };
|
|
2066
|
+
export { approveActivity, createApiKeys, createApiOnlyUsers, createAuthenticators, createInvitations, createOauthProviders, createPolicies, createPolicy, createPrivateKeyTag, createPrivateKeys, createReadOnlySession, createReadWriteSession, createSmartContractInterface, createSubOrganization, createUserTag, createUsers, createWallet, createWalletAccounts, deleteApiKeys, deleteAuthenticators, deleteInvitation, deleteOauthProviders, deletePolicy, deletePrivateKeyTags, deletePrivateKeys, deleteSmartContractInterface, deleteSubOrganization, deleteUserTags, deleteUsers, deleteWallets, emailAuth, exportPrivateKey, exportWallet, exportWalletAccount, getActivities, getActivity, getApiKey, getApiKeys, getAttestationDocument, getAuthenticator, getAuthenticators, getOauthProviders, getOrganization, getOrganizationConfigs, getPolicies, getPolicy, getPolicyEvaluations, getPrivateKey, getPrivateKeys, getSmartContractInterface, getSmartContractInterfaces, getSubOrgIds, getUser, getUsers, getVerifiedSubOrgIds, getWallet, getWalletAccount, getWalletAccounts, getWallets, getWhoami, importPrivateKey, importWallet, initFiatOnRamp, initImportPrivateKey, initImportWallet, initOtp, initOtpAuth, initUserEmailRecovery, listPrivateKeyTags, listUserTags, nOOPCodegenAnchor, oauth, oauthLogin, otpAuth, otpLogin, recoverUser, rejectActivity, removeOrganizationFeature, setOrganizationFeature, signApproveActivity, signCreateApiKeys, signCreateApiOnlyUsers, signCreateAuthenticators, signCreateInvitations, signCreateOauthProviders, signCreatePolicies, signCreatePolicy, signCreatePrivateKeyTag, signCreatePrivateKeys, signCreateReadOnlySession, signCreateReadWriteSession, signCreateSmartContractInterface, signCreateSubOrganization, signCreateUserTag, signCreateUsers, signCreateWallet, signCreateWalletAccounts, signDeleteApiKeys, signDeleteAuthenticators, signDeleteInvitation, signDeleteOauthProviders, signDeletePolicy, signDeletePrivateKeyTags, signDeletePrivateKeys, signDeleteSmartContractInterface, signDeleteSubOrganization, signDeleteUserTags, signDeleteUsers, signDeleteWallets, signEmailAuth, signExportPrivateKey, signExportWallet, signExportWalletAccount, signGetActivities, signGetActivity, signGetApiKey, signGetApiKeys, signGetAttestationDocument, signGetAuthenticator, signGetAuthenticators, signGetOauthProviders, signGetOrganization, signGetOrganizationConfigs, signGetPolicies, signGetPolicy, signGetPolicyEvaluations, signGetPrivateKey, signGetPrivateKeys, signGetSmartContractInterface, signGetSmartContractInterfaces, signGetSubOrgIds, signGetUser, signGetUsers, signGetVerifiedSubOrgIds, signGetWallet, signGetWalletAccount, signGetWalletAccounts, signGetWallets, signGetWhoami, signImportPrivateKey, signImportWallet, signInitFiatOnRamp, signInitImportPrivateKey, signInitImportWallet, signInitOtp, signInitOtpAuth, signInitUserEmailRecovery, signListPrivateKeyTags, signListUserTags, signNOOPCodegenAnchor, signOauth, signOauthLogin, signOtpAuth, signOtpLogin, signRawPayload, signRawPayloads, signRecoverUser, signRejectActivity, signRemoveOrganizationFeature, signSetOrganizationFeature, signSignRawPayload, signSignRawPayloads, signSignTransaction, signStampLogin, signTestRateLimits, signTransaction, signUpdatePolicy, signUpdatePrivateKeyTag, signUpdateRootQuorum, signUpdateUser, signUpdateUserEmail, signUpdateUserName, signUpdateUserPhoneNumber, signUpdateUserTag, signUpdateWallet, signVerifyOtp, stampLogin, testRateLimits, updatePolicy, updatePrivateKeyTag, updateRootQuorum, updateUser, updateUserEmail, updateUserName, updateUserPhoneNumber, updateUserTag, updateWallet, verifyOtp };
|
|
1957
2067
|
//# sourceMappingURL=public_api.fetcher.mjs.map
|