@turnkey/http 3.5.1 → 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.
@@ -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 Activity
5
+ * Get activity
6
6
  *
7
- * Get details about an Activity
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 Authenticator
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 Authenticators
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 Organization
159
+ * Get organization
160
160
  *
161
- * Get details about an Organization
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 Configs
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 Policy
203
+ * Get policy
204
204
  *
205
- * Get details about a Policy
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 Private Key
225
+ * Get policy evaluations
226
226
  *
227
- * Get details about a Private Key
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,9 @@ const signGetPrivateKey = (input, options) => signedRequest({
244
266
  options,
245
267
  });
246
268
  /**
247
- * Get Smart Contract Interface
269
+ * Get smart contract interface
248
270
  *
249
- * Get details about a Smart Contract Interface
271
+ * Get details about a smart contract interface.
250
272
  *
251
273
  * `POST /public/v1/query/get_smart_contract_interface`
252
274
  */
@@ -266,9 +288,9 @@ const signGetSmartContractInterface = (input, options) => signedRequest({
266
288
  options,
267
289
  });
268
290
  /**
269
- * Get User
291
+ * Get user
270
292
  *
271
- * Get details about a User
293
+ * Get details about a user.
272
294
  *
273
295
  * `POST /public/v1/query/get_user`
274
296
  */
@@ -288,9 +310,9 @@ const signGetUser = (input, options) => signedRequest({
288
310
  options,
289
311
  });
290
312
  /**
291
- * Get Wallet
313
+ * Get wallet
292
314
  *
293
- * Get details about a Wallet
315
+ * Get details about a wallet.
294
316
  *
295
317
  * `POST /public/v1/query/get_wallet`
296
318
  */
@@ -310,9 +332,9 @@ const signGetWallet = (input, options) => signedRequest({
310
332
  options,
311
333
  });
312
334
  /**
313
- * Get Wallet Account
335
+ * Get wallet account
314
336
  *
315
- * Get a single wallet account
337
+ * Get a single wallet account.
316
338
  *
317
339
  * `POST /public/v1/query/get_wallet_account`
318
340
  */
@@ -332,9 +354,9 @@ const signGetWalletAccount = (input, options) => signedRequest({
332
354
  options,
333
355
  });
334
356
  /**
335
- * List Activities
357
+ * List activities
336
358
  *
337
- * List all Activities within an Organization
359
+ * List all activities within an organization.
338
360
  *
339
361
  * `POST /public/v1/query/list_activities`
340
362
  */
@@ -354,9 +376,9 @@ const signGetActivities = (input, options) => signedRequest({
354
376
  options,
355
377
  });
356
378
  /**
357
- * List Policies
379
+ * List policies
358
380
  *
359
- * List all Policies within an Organization
381
+ * List all policies within an organization.
360
382
  *
361
383
  * `POST /public/v1/query/list_policies`
362
384
  */
@@ -376,9 +398,9 @@ const signGetPolicies = (input, options) => signedRequest({
376
398
  options,
377
399
  });
378
400
  /**
379
- * List Private Key Tags
401
+ * List private key tags
380
402
  *
381
- * List all Private Key Tags within an Organization
403
+ * List all private key tags within an organization.
382
404
  *
383
405
  * `POST /public/v1/query/list_private_key_tags`
384
406
  */
@@ -398,9 +420,9 @@ const signListPrivateKeyTags = (input, options) => signedRequest({
398
420
  options,
399
421
  });
400
422
  /**
401
- * List Private Keys
423
+ * List private keys
402
424
  *
403
- * List all Private Keys within an Organization
425
+ * List all private keys within an organization.
404
426
  *
405
427
  * `POST /public/v1/query/list_private_keys`
406
428
  */
@@ -420,9 +442,9 @@ const signGetPrivateKeys = (input, options) => signedRequest({
420
442
  options,
421
443
  });
422
444
  /**
423
- * List Smart Contract Interfaces
445
+ * List smart contract interfaces
424
446
  *
425
- * List all Smart Contract Interfaces within an Organization
447
+ * List all smart contract interfaces within an organization.
426
448
  *
427
449
  * `POST /public/v1/query/list_smart_contract_interfaces`
428
450
  */
@@ -442,7 +464,7 @@ const signGetSmartContractInterfaces = (input, options) => signedRequest({
442
464
  options,
443
465
  });
444
466
  /**
445
- * Get Suborgs
467
+ * Get sub-organizations
446
468
  *
447
469
  * Get all suborg IDs associated given a parent org ID and an optional filter.
448
470
  *
@@ -464,9 +486,9 @@ const signGetSubOrgIds = (input, options) => signedRequest({
464
486
  options,
465
487
  });
466
488
  /**
467
- * List User Tags
489
+ * List user tags
468
490
  *
469
- * List all User Tags within an Organization
491
+ * List all user tags within an organization.
470
492
  *
471
493
  * `POST /public/v1/query/list_user_tags`
472
494
  */
@@ -486,9 +508,9 @@ const signListUserTags = (input, options) => signedRequest({
486
508
  options,
487
509
  });
488
510
  /**
489
- * List Users
511
+ * List users
490
512
  *
491
- * List all Users within an Organization
513
+ * List all users within an organization.
492
514
  *
493
515
  * `POST /public/v1/query/list_users`
494
516
  */
@@ -508,7 +530,7 @@ const signGetUsers = (input, options) => signedRequest({
508
530
  options,
509
531
  });
510
532
  /**
511
- * Get Verified Suborgs
533
+ * Get verified sub-organizations
512
534
  *
513
535
  * Get all email or phone verified suborg IDs associated given a parent org ID.
514
536
  *
@@ -530,9 +552,9 @@ const signGetVerifiedSubOrgIds = (input, options) => signedRequest({
530
552
  options,
531
553
  });
532
554
  /**
533
- * List Wallets Accounts
555
+ * List wallets accounts
534
556
  *
535
- * List all Accounts within a Wallet
557
+ * List all accounts within a wallet.
536
558
  *
537
559
  * `POST /public/v1/query/list_wallet_accounts`
538
560
  */
@@ -552,9 +574,9 @@ const signGetWalletAccounts = (input, options) => signedRequest({
552
574
  options,
553
575
  });
554
576
  /**
555
- * List Wallets
577
+ * List wallets
556
578
  *
557
- * List all Wallets within an Organization
579
+ * List all wallets within an organization.
558
580
  *
559
581
  * `POST /public/v1/query/list_wallets`
560
582
  */
@@ -576,7 +598,7 @@ const signGetWallets = (input, options) => signedRequest({
576
598
  /**
577
599
  * Who am I?
578
600
  *
579
- * 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.
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.
580
602
  *
581
603
  * `POST /public/v1/query/whoami`
582
604
  */
@@ -596,9 +618,9 @@ const signGetWhoami = (input, options) => signedRequest({
596
618
  options,
597
619
  });
598
620
  /**
599
- * Approve Activity
621
+ * Approve activity
600
622
  *
601
- * Approve an Activity
623
+ * Approve an activity.
602
624
  *
603
625
  * `POST /public/v1/submit/approve_activity`
604
626
  */
@@ -618,9 +640,9 @@ const signApproveActivity = (input, options) => signedRequest({
618
640
  options,
619
641
  });
620
642
  /**
621
- * Create API Keys
643
+ * Create API keys
622
644
  *
623
- * Add api keys to an existing User
645
+ * Add API keys to an existing user.
624
646
  *
625
647
  * `POST /public/v1/submit/create_api_keys`
626
648
  */
@@ -640,9 +662,9 @@ const signCreateApiKeys = (input, options) => signedRequest({
640
662
  options,
641
663
  });
642
664
  /**
643
- * Create API-only Users
665
+ * Create API-only users
644
666
  *
645
- * Create API-only Users in an existing Organization
667
+ * Create API-only users in an existing organization.
646
668
  *
647
669
  * `POST /public/v1/submit/create_api_only_users`
648
670
  */
@@ -662,9 +684,9 @@ const signCreateApiOnlyUsers = (input, options) => signedRequest({
662
684
  options,
663
685
  });
664
686
  /**
665
- * Create Authenticators
687
+ * Create authenticators
666
688
  *
667
- * Create Authenticators to authenticate requests to Turnkey
689
+ * Create authenticators to authenticate requests to Turnkey.
668
690
  *
669
691
  * `POST /public/v1/submit/create_authenticators`
670
692
  */
@@ -684,9 +706,9 @@ const signCreateAuthenticators = (input, options) => signedRequest({
684
706
  options,
685
707
  });
686
708
  /**
687
- * Create Invitations
709
+ * Create invitations
688
710
  *
689
- * Create Invitations to join an existing Organization
711
+ * Create invitations to join an existing organization.
690
712
  *
691
713
  * `POST /public/v1/submit/create_invitations`
692
714
  */
@@ -706,9 +728,9 @@ const signCreateInvitations = (input, options) => signedRequest({
706
728
  options,
707
729
  });
708
730
  /**
709
- * Create Oauth Providers
731
+ * Create Oauth providers
710
732
  *
711
- * Creates Oauth providers for a specified user - BETA
733
+ * Create Oauth providers for a specified user.
712
734
  *
713
735
  * `POST /public/v1/submit/create_oauth_providers`
714
736
  */
@@ -728,9 +750,9 @@ const signCreateOauthProviders = (input, options) => signedRequest({
728
750
  options,
729
751
  });
730
752
  /**
731
- * Create Policies
753
+ * Create policies
732
754
  *
733
- * Create new Policies
755
+ * Create new policies.
734
756
  *
735
757
  * `POST /public/v1/submit/create_policies`
736
758
  */
@@ -750,9 +772,9 @@ const signCreatePolicies = (input, options) => signedRequest({
750
772
  options,
751
773
  });
752
774
  /**
753
- * Create Policy
775
+ * Create policy
754
776
  *
755
- * Create a new Policy
777
+ * Create a new policy.
756
778
  *
757
779
  * `POST /public/v1/submit/create_policy`
758
780
  */
@@ -772,7 +794,7 @@ const signCreatePolicy = (input, options) => signedRequest({
772
794
  options,
773
795
  });
774
796
  /**
775
- * Create Private Key Tag
797
+ * Create private key tag
776
798
  *
777
799
  * Create a private key tag and add it to private keys.
778
800
  *
@@ -794,9 +816,9 @@ const signCreatePrivateKeyTag = (input, options) => signedRequest({
794
816
  options,
795
817
  });
796
818
  /**
797
- * Create Private Keys
819
+ * Create private keys
798
820
  *
799
- * Create new Private Keys
821
+ * Create new private keys.
800
822
  *
801
823
  * `POST /public/v1/submit/create_private_keys`
802
824
  */
@@ -816,9 +838,9 @@ const signCreatePrivateKeys = (input, options) => signedRequest({
816
838
  options,
817
839
  });
818
840
  /**
819
- * Create Read Only Session
841
+ * Create read only session
820
842
  *
821
- * 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).
822
844
  *
823
845
  * `POST /public/v1/submit/create_read_only_session`
824
846
  */
@@ -838,9 +860,9 @@ const signCreateReadOnlySession = (input, options) => signedRequest({
838
860
  options,
839
861
  });
840
862
  /**
841
- * Create Read Write Session
863
+ * Create read write session
842
864
  *
843
- * Create a read write session for a user
865
+ * Create a read write session for a user.
844
866
  *
845
867
  * `POST /public/v1/submit/create_read_write_session`
846
868
  */
@@ -860,9 +882,9 @@ const signCreateReadWriteSession = (input, options) => signedRequest({
860
882
  options,
861
883
  });
862
884
  /**
863
- * Create Smart Contract Interface
885
+ * Create smart contract interface
864
886
  *
865
- * Create an ABI/IDL in JSON
887
+ * Create an ABI/IDL in JSON.
866
888
  *
867
889
  * `POST /public/v1/submit/create_smart_contract_interface`
868
890
  */
@@ -882,9 +904,9 @@ const signCreateSmartContractInterface = (input, options) => signedRequest({
882
904
  options,
883
905
  });
884
906
  /**
885
- * Create Sub-Organization
907
+ * Create sub-organization
886
908
  *
887
- * Create a new Sub-Organization
909
+ * Create a new sub-organization.
888
910
  *
889
911
  * `POST /public/v1/submit/create_sub_organization`
890
912
  */
@@ -904,7 +926,7 @@ const signCreateSubOrganization = (input, options) => signedRequest({
904
926
  options,
905
927
  });
906
928
  /**
907
- * Create User Tag
929
+ * Create user tag
908
930
  *
909
931
  * Create a user tag and add it to users.
910
932
  *
@@ -926,9 +948,9 @@ const signCreateUserTag = (input, options) => signedRequest({
926
948
  options,
927
949
  });
928
950
  /**
929
- * Create Users
951
+ * Create users
930
952
  *
931
- * Create Users in an existing Organization
953
+ * Create users in an existing organization.
932
954
  *
933
955
  * `POST /public/v1/submit/create_users`
934
956
  */
@@ -948,9 +970,9 @@ const signCreateUsers = (input, options) => signedRequest({
948
970
  options,
949
971
  });
950
972
  /**
951
- * Create Wallet
973
+ * Create wallet
952
974
  *
953
- * Create a Wallet and derive addresses
975
+ * Create a wallet and derive addresses.
954
976
  *
955
977
  * `POST /public/v1/submit/create_wallet`
956
978
  */
@@ -970,9 +992,9 @@ const signCreateWallet = (input, options) => signedRequest({
970
992
  options,
971
993
  });
972
994
  /**
973
- * Create Wallet Accounts
995
+ * Create wallet accounts
974
996
  *
975
- * Derive additional addresses using an existing wallet
997
+ * Derive additional addresses using an existing wallet.
976
998
  *
977
999
  * `POST /public/v1/submit/create_wallet_accounts`
978
1000
  */
@@ -992,9 +1014,9 @@ const signCreateWalletAccounts = (input, options) => signedRequest({
992
1014
  options,
993
1015
  });
994
1016
  /**
995
- * Delete API Keys
1017
+ * Delete API keys
996
1018
  *
997
- * Remove api keys from a User
1019
+ * Remove api keys from a user.
998
1020
  *
999
1021
  * `POST /public/v1/submit/delete_api_keys`
1000
1022
  */
@@ -1014,9 +1036,9 @@ const signDeleteApiKeys = (input, options) => signedRequest({
1014
1036
  options,
1015
1037
  });
1016
1038
  /**
1017
- * Delete Authenticators
1039
+ * Delete authenticators
1018
1040
  *
1019
- * Remove authenticators from a User
1041
+ * Remove authenticators from a user.
1020
1042
  *
1021
1043
  * `POST /public/v1/submit/delete_authenticators`
1022
1044
  */
@@ -1036,9 +1058,9 @@ const signDeleteAuthenticators = (input, options) => signedRequest({
1036
1058
  options,
1037
1059
  });
1038
1060
  /**
1039
- * Delete Invitation
1061
+ * Delete invitation
1040
1062
  *
1041
- * Delete an existing Invitation
1063
+ * Delete an existing invitation.
1042
1064
  *
1043
1065
  * `POST /public/v1/submit/delete_invitation`
1044
1066
  */
@@ -1058,9 +1080,9 @@ const signDeleteInvitation = (input, options) => signedRequest({
1058
1080
  options,
1059
1081
  });
1060
1082
  /**
1061
- * Delete Oauth Providers
1083
+ * Delete Oauth providers
1062
1084
  *
1063
- * Removes Oauth providers for a specified user - BETA
1085
+ * Remove Oauth providers for a specified user.
1064
1086
  *
1065
1087
  * `POST /public/v1/submit/delete_oauth_providers`
1066
1088
  */
@@ -1080,9 +1102,9 @@ const signDeleteOauthProviders = (input, options) => signedRequest({
1080
1102
  options,
1081
1103
  });
1082
1104
  /**
1083
- * Delete Policy
1105
+ * Delete policy
1084
1106
  *
1085
- * Delete an existing Policy
1107
+ * Delete an existing policy.
1086
1108
  *
1087
1109
  * `POST /public/v1/submit/delete_policy`
1088
1110
  */
@@ -1102,9 +1124,9 @@ const signDeletePolicy = (input, options) => signedRequest({
1102
1124
  options,
1103
1125
  });
1104
1126
  /**
1105
- * Delete Private Key Tags
1127
+ * Delete private key tags
1106
1128
  *
1107
- * Delete Private Key Tags within an Organization
1129
+ * Delete private key tags within an organization.
1108
1130
  *
1109
1131
  * `POST /public/v1/submit/delete_private_key_tags`
1110
1132
  */
@@ -1124,9 +1146,9 @@ const signDeletePrivateKeyTags = (input, options) => signedRequest({
1124
1146
  options,
1125
1147
  });
1126
1148
  /**
1127
- * Delete Private Keys
1149
+ * Delete private keys
1128
1150
  *
1129
- * Deletes private keys for an organization
1151
+ * Delete private keys for an organization.
1130
1152
  *
1131
1153
  * `POST /public/v1/submit/delete_private_keys`
1132
1154
  */
@@ -1146,9 +1168,9 @@ const signDeletePrivateKeys = (input, options) => signedRequest({
1146
1168
  options,
1147
1169
  });
1148
1170
  /**
1149
- * Create Smart Contract Interface
1171
+ * Delete smart contract interface
1150
1172
  *
1151
- * Delete a Smart Contract Interface
1173
+ * Delete a smart contract interface.
1152
1174
  *
1153
1175
  * `POST /public/v1/submit/delete_smart_contract_interface`
1154
1176
  */
@@ -1168,9 +1190,9 @@ const signDeleteSmartContractInterface = (input, options) => signedRequest({
1168
1190
  options,
1169
1191
  });
1170
1192
  /**
1171
- * Delete Sub Organization
1193
+ * Delete sub-organization
1172
1194
  *
1173
- * Deletes a sub organization
1195
+ * Delete a sub-organization.
1174
1196
  *
1175
1197
  * `POST /public/v1/submit/delete_sub_organization`
1176
1198
  */
@@ -1190,9 +1212,9 @@ const signDeleteSubOrganization = (input, options) => signedRequest({
1190
1212
  options,
1191
1213
  });
1192
1214
  /**
1193
- * Delete User Tags
1215
+ * Delete user tags
1194
1216
  *
1195
- * Delete User Tags within an Organization
1217
+ * Delete user tags within an organization.
1196
1218
  *
1197
1219
  * `POST /public/v1/submit/delete_user_tags`
1198
1220
  */
@@ -1212,9 +1234,9 @@ const signDeleteUserTags = (input, options) => signedRequest({
1212
1234
  options,
1213
1235
  });
1214
1236
  /**
1215
- * Delete Users
1237
+ * Delete users
1216
1238
  *
1217
- * Delete Users within an Organization
1239
+ * Delete users within an organization.
1218
1240
  *
1219
1241
  * `POST /public/v1/submit/delete_users`
1220
1242
  */
@@ -1234,9 +1256,9 @@ const signDeleteUsers = (input, options) => signedRequest({
1234
1256
  options,
1235
1257
  });
1236
1258
  /**
1237
- * Delete Wallets
1259
+ * Delete wallets
1238
1260
  *
1239
- * Deletes wallets for an organization
1261
+ * Delete wallets for an organization.
1240
1262
  *
1241
1263
  * `POST /public/v1/submit/delete_wallets`
1242
1264
  */
@@ -1256,9 +1278,9 @@ const signDeleteWallets = (input, options) => signedRequest({
1256
1278
  options,
1257
1279
  });
1258
1280
  /**
1259
- * Perform Email Auth
1281
+ * Perform email auth
1260
1282
  *
1261
- * Authenticate a user via Email
1283
+ * Authenticate a user via email.
1262
1284
  *
1263
1285
  * `POST /public/v1/submit/email_auth`
1264
1286
  */
@@ -1278,9 +1300,9 @@ const signEmailAuth = (input, options) => signedRequest({
1278
1300
  options,
1279
1301
  });
1280
1302
  /**
1281
- * Export Private Key
1303
+ * Export private key
1282
1304
  *
1283
- * Exports a Private Key
1305
+ * Export a private key.
1284
1306
  *
1285
1307
  * `POST /public/v1/submit/export_private_key`
1286
1308
  */
@@ -1300,9 +1322,9 @@ const signExportPrivateKey = (input, options) => signedRequest({
1300
1322
  options,
1301
1323
  });
1302
1324
  /**
1303
- * Export Wallet
1325
+ * Export wallet
1304
1326
  *
1305
- * Exports a Wallet
1327
+ * Export a wallet.
1306
1328
  *
1307
1329
  * `POST /public/v1/submit/export_wallet`
1308
1330
  */
@@ -1322,9 +1344,9 @@ const signExportWallet = (input, options) => signedRequest({
1322
1344
  options,
1323
1345
  });
1324
1346
  /**
1325
- * Export Wallet Account
1347
+ * Export wallet account
1326
1348
  *
1327
- * Exports a Wallet Account
1349
+ * Export a wallet account.
1328
1350
  *
1329
1351
  * `POST /public/v1/submit/export_wallet_account`
1330
1352
  */
@@ -1344,9 +1366,9 @@ const signExportWalletAccount = (input, options) => signedRequest({
1344
1366
  options,
1345
1367
  });
1346
1368
  /**
1347
- * Import Private Key
1369
+ * Import private key
1348
1370
  *
1349
- * Imports a private key
1371
+ * Import a private key.
1350
1372
  *
1351
1373
  * `POST /public/v1/submit/import_private_key`
1352
1374
  */
@@ -1366,9 +1388,9 @@ const signImportPrivateKey = (input, options) => signedRequest({
1366
1388
  options,
1367
1389
  });
1368
1390
  /**
1369
- * Import Wallet
1391
+ * Import wallet
1370
1392
  *
1371
- * Imports a wallet
1393
+ * Import a wallet.
1372
1394
  *
1373
1395
  * `POST /public/v1/submit/import_wallet`
1374
1396
  */
@@ -1388,9 +1410,9 @@ const signImportWallet = (input, options) => signedRequest({
1388
1410
  options,
1389
1411
  });
1390
1412
  /**
1391
- * Init Fiat On Ramp
1413
+ * Init fiat on ramp
1392
1414
  *
1393
- * Initiate a fiat on ramp flow
1415
+ * Initiate a fiat on ramp flow.
1394
1416
  *
1395
1417
  * `POST /public/v1/submit/init_fiat_on_ramp`
1396
1418
  */
@@ -1410,9 +1432,9 @@ const signInitFiatOnRamp = (input, options) => signedRequest({
1410
1432
  options,
1411
1433
  });
1412
1434
  /**
1413
- * Init Import Private Key
1435
+ * Init import private key
1414
1436
  *
1415
- * Initializes a new private key import
1437
+ * Initialize a new private key import.
1416
1438
  *
1417
1439
  * `POST /public/v1/submit/init_import_private_key`
1418
1440
  */
@@ -1432,9 +1454,9 @@ const signInitImportPrivateKey = (input, options) => signedRequest({
1432
1454
  options,
1433
1455
  });
1434
1456
  /**
1435
- * Init Import Wallet
1457
+ * Init import wallet
1436
1458
  *
1437
- * Initializes a new wallet import
1459
+ * Initialize a new wallet import.
1438
1460
  *
1439
1461
  * `POST /public/v1/submit/init_import_wallet`
1440
1462
  */
@@ -1454,9 +1476,9 @@ const signInitImportWallet = (input, options) => signedRequest({
1454
1476
  options,
1455
1477
  });
1456
1478
  /**
1457
- * Init Generic OTP
1479
+ * Init generic OTP
1458
1480
  *
1459
- * Initiate a Generic OTP activity
1481
+ * Initiate a generic OTP activity.
1460
1482
  *
1461
1483
  * `POST /public/v1/submit/init_otp`
1462
1484
  */
@@ -1478,7 +1500,7 @@ const signInitOtp = (input, options) => signedRequest({
1478
1500
  /**
1479
1501
  * Init OTP auth
1480
1502
  *
1481
- * Initiate an OTP auth activity
1503
+ * Initiate an OTP auth activity.
1482
1504
  *
1483
1505
  * `POST /public/v1/submit/init_otp_auth`
1484
1506
  */
@@ -1498,9 +1520,9 @@ const signInitOtpAuth = (input, options) => signedRequest({
1498
1520
  options,
1499
1521
  });
1500
1522
  /**
1501
- * Init Email Recovery
1523
+ * Init email recovery
1502
1524
  *
1503
- * Initializes a new email recovery
1525
+ * Initialize a new email recovery.
1504
1526
  *
1505
1527
  * `POST /public/v1/submit/init_user_email_recovery`
1506
1528
  */
@@ -1522,7 +1544,7 @@ const signInitUserEmailRecovery = (input, options) => signedRequest({
1522
1544
  /**
1523
1545
  * Oauth
1524
1546
  *
1525
- * Authenticate a user with an Oidc token (Oauth) - BETA
1547
+ * Authenticate a user with an OIDC token (Oauth).
1526
1548
  *
1527
1549
  * `POST /public/v1/submit/oauth`
1528
1550
  */
@@ -1544,7 +1566,7 @@ const signOauth = (input, options) => signedRequest({
1544
1566
  /**
1545
1567
  * Login with Oauth
1546
1568
  *
1547
- * Create an Oauth session for a user
1569
+ * Create an Oauth session for a user.
1548
1570
  *
1549
1571
  * `POST /public/v1/submit/oauth_login`
1550
1572
  */
@@ -1566,7 +1588,7 @@ const signOauthLogin = (input, options) => signedRequest({
1566
1588
  /**
1567
1589
  * OTP auth
1568
1590
  *
1569
- * 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.
1570
1592
  *
1571
1593
  * `POST /public/v1/submit/otp_auth`
1572
1594
  */
@@ -1588,7 +1610,7 @@ const signOtpAuth = (input, options) => signedRequest({
1588
1610
  /**
1589
1611
  * Login with OTP
1590
1612
  *
1591
- * Create an OTP session for a user
1613
+ * Create an OTP session for a user.
1592
1614
  *
1593
1615
  * `POST /public/v1/submit/otp_login`
1594
1616
  */
@@ -1610,7 +1632,7 @@ const signOtpLogin = (input, options) => signedRequest({
1610
1632
  /**
1611
1633
  * Recover a user
1612
1634
  *
1613
- * Completes the process of recovering a user by adding an authenticator
1635
+ * Complete the process of recovering a user by adding an authenticator.
1614
1636
  *
1615
1637
  * `POST /public/v1/submit/recover_user`
1616
1638
  */
@@ -1630,9 +1652,9 @@ const signRecoverUser = (input, options) => signedRequest({
1630
1652
  options,
1631
1653
  });
1632
1654
  /**
1633
- * Reject Activity
1655
+ * Reject activity
1634
1656
  *
1635
- * Reject an Activity
1657
+ * Reject an activity.
1636
1658
  *
1637
1659
  * `POST /public/v1/submit/reject_activity`
1638
1660
  */
@@ -1652,9 +1674,9 @@ const signRejectActivity = (input, options) => signedRequest({
1652
1674
  options,
1653
1675
  });
1654
1676
  /**
1655
- * Remove Organization Feature
1677
+ * Remove organization feature
1656
1678
  *
1657
- * Removes an organization feature. This activity must be approved by the current root quorum.
1679
+ * Remove an organization feature. This activity must be approved by the current root quorum.
1658
1680
  *
1659
1681
  * `POST /public/v1/submit/remove_organization_feature`
1660
1682
  */
@@ -1674,9 +1696,9 @@ const signRemoveOrganizationFeature = (input, options) => signedRequest({
1674
1696
  options,
1675
1697
  });
1676
1698
  /**
1677
- * Set Organization Feature
1699
+ * Set organization feature
1678
1700
  *
1679
- * Sets an organization feature. This activity must be approved by the current root quorum.
1701
+ * Set an organization feature. This activity must be approved by the current root quorum.
1680
1702
  *
1681
1703
  * `POST /public/v1/submit/set_organization_feature`
1682
1704
  */
@@ -1696,9 +1718,9 @@ const signSetOrganizationFeature = (input, options) => signedRequest({
1696
1718
  options,
1697
1719
  });
1698
1720
  /**
1699
- * Sign Raw Payload
1721
+ * Sign raw payload
1700
1722
  *
1701
- * Sign a raw payload
1723
+ * Sign a raw payload.
1702
1724
  *
1703
1725
  * `POST /public/v1/submit/sign_raw_payload`
1704
1726
  */
@@ -1718,9 +1740,9 @@ const signSignRawPayload = (input, options) => signedRequest({
1718
1740
  options,
1719
1741
  });
1720
1742
  /**
1721
- * Sign Raw Payloads
1743
+ * Sign raw payloads
1722
1744
  *
1723
- * Sign multiple raw payloads with the same signing parameters
1745
+ * Sign multiple raw payloads with the same signing parameters.
1724
1746
  *
1725
1747
  * `POST /public/v1/submit/sign_raw_payloads`
1726
1748
  */
@@ -1740,9 +1762,9 @@ const signSignRawPayloads = (input, options) => signedRequest({
1740
1762
  options,
1741
1763
  });
1742
1764
  /**
1743
- * Sign Transaction
1765
+ * Sign transaction
1744
1766
  *
1745
- * Sign a transaction
1767
+ * Sign a transaction.
1746
1768
  *
1747
1769
  * `POST /public/v1/submit/sign_transaction`
1748
1770
  */
@@ -1762,9 +1784,9 @@ const signSignTransaction = (input, options) => signedRequest({
1762
1784
  options,
1763
1785
  });
1764
1786
  /**
1765
- * Login with a Stamp
1787
+ * Login with a stamp
1766
1788
  *
1767
- * Create a session for a user through stamping client side (api key, wallet client, or passkey client)
1789
+ * Create a session for a user through stamping client side (API key, wallet client, or passkey client).
1768
1790
  *
1769
1791
  * `POST /public/v1/submit/stamp_login`
1770
1792
  */
@@ -1784,9 +1806,9 @@ const signStampLogin = (input, options) => signedRequest({
1784
1806
  options,
1785
1807
  });
1786
1808
  /**
1787
- * Update Policy
1809
+ * Update policy
1788
1810
  *
1789
- * Update an existing Policy
1811
+ * Update an existing policy.
1790
1812
  *
1791
1813
  * `POST /public/v1/submit/update_policy`
1792
1814
  */
@@ -1806,7 +1828,7 @@ const signUpdatePolicy = (input, options) => signedRequest({
1806
1828
  options,
1807
1829
  });
1808
1830
  /**
1809
- * Update Private Key Tag
1831
+ * Update private key tag
1810
1832
  *
1811
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.
1812
1834
  *
@@ -1828,7 +1850,7 @@ const signUpdatePrivateKeyTag = (input, options) => signedRequest({
1828
1850
  options,
1829
1851
  });
1830
1852
  /**
1831
- * Update Root Quorum
1853
+ * Update root quorum
1832
1854
  *
1833
1855
  * Set the threshold and members of the root quorum. This activity must be approved by the current root quorum.
1834
1856
  *
@@ -1850,9 +1872,9 @@ const signUpdateRootQuorum = (input, options) => signedRequest({
1850
1872
  options,
1851
1873
  });
1852
1874
  /**
1853
- * Update User
1875
+ * Update user
1854
1876
  *
1855
- * Update a User in an existing Organization
1877
+ * Update a user in an existing organization.
1856
1878
  *
1857
1879
  * `POST /public/v1/submit/update_user`
1858
1880
  */
@@ -1872,9 +1894,9 @@ const signUpdateUser = (input, options) => signedRequest({
1872
1894
  options,
1873
1895
  });
1874
1896
  /**
1875
- * Update User's Email
1897
+ * Update user's email
1876
1898
  *
1877
- * Update a User's email in an existing Organization
1899
+ * Update a user's email in an existing organization.
1878
1900
  *
1879
1901
  * `POST /public/v1/submit/update_user_email`
1880
1902
  */
@@ -1894,9 +1916,9 @@ const signUpdateUserEmail = (input, options) => signedRequest({
1894
1916
  options,
1895
1917
  });
1896
1918
  /**
1897
- * Update User's Name
1919
+ * Update user's name
1898
1920
  *
1899
- * Update a User's name in an existing Organization
1921
+ * Update a user's name in an existing organization.
1900
1922
  *
1901
1923
  * `POST /public/v1/submit/update_user_name`
1902
1924
  */
@@ -1916,9 +1938,9 @@ const signUpdateUserName = (input, options) => signedRequest({
1916
1938
  options,
1917
1939
  });
1918
1940
  /**
1919
- * Update User's Phone Number
1941
+ * Update user's phone number
1920
1942
  *
1921
- * Update a User's phone number in an existing Organization
1943
+ * Update a user's phone number in an existing organization.
1922
1944
  *
1923
1945
  * `POST /public/v1/submit/update_user_phone_number`
1924
1946
  */
@@ -1938,7 +1960,7 @@ const signUpdateUserPhoneNumber = (input, options) => signedRequest({
1938
1960
  options,
1939
1961
  });
1940
1962
  /**
1941
- * Update User Tag
1963
+ * Update user tag
1942
1964
  *
1943
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.
1944
1966
  *
@@ -1960,9 +1982,9 @@ const signUpdateUserTag = (input, options) => signedRequest({
1960
1982
  options,
1961
1983
  });
1962
1984
  /**
1963
- * Update Wallet
1985
+ * Update wallet
1964
1986
  *
1965
- * Update a wallet for an organization
1987
+ * Update a wallet for an organization.
1966
1988
  *
1967
1989
  * `POST /public/v1/submit/update_wallet`
1968
1990
  */
@@ -1982,9 +2004,9 @@ const signUpdateWallet = (input, options) => signedRequest({
1982
2004
  options,
1983
2005
  });
1984
2006
  /**
1985
- * Verify Generic OTP
2007
+ * Verify generic OTP
1986
2008
  *
1987
- * Verify a Generic OTP
2009
+ * Verify a generic OTP.
1988
2010
  *
1989
2011
  * `POST /public/v1/submit/verify_otp`
1990
2012
  */
@@ -2019,9 +2041,9 @@ const signNOOPCodegenAnchor = () => signedRequest({
2019
2041
  uri: "/tkhq/api/v1/noop-codegen-anchor",
2020
2042
  });
2021
2043
  /**
2022
- * Test Rate Limit
2044
+ * Test rate limit
2023
2045
  *
2024
- * 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.
2025
2047
  *
2026
2048
  * `POST /tkhq/api/v1/test_rate_limits`
2027
2049
  */
@@ -2041,5 +2063,5 @@ const signTestRateLimits = (input, options) => signedRequest({
2041
2063
  options,
2042
2064
  });
2043
2065
 
2044
- 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, 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, 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 };
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 };
2045
2067
  //# sourceMappingURL=public_api.fetcher.mjs.map