@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.
@@ -4,9 +4,9 @@ var base = require('../../../../../base.js');
4
4
 
5
5
  /* @generated by `@turnkey/fetchers`. DO NOT EDIT BY HAND */
6
6
  /**
7
- * Get Activity
7
+ * Get activity
8
8
  *
9
- * Get details about an Activity
9
+ * Get details about an activity.
10
10
  *
11
11
  * `POST /public/v1/query/get_activity`
12
12
  */
@@ -28,7 +28,7 @@ const signGetActivity = (input, options) => base.signedRequest({
28
28
  /**
29
29
  * Get API key
30
30
  *
31
- * Get details about an API key
31
+ * Get details about an API key.
32
32
  *
33
33
  * `POST /public/v1/query/get_api_key`
34
34
  */
@@ -50,7 +50,7 @@ const signGetApiKey = (input, options) => base.signedRequest({
50
50
  /**
51
51
  * Get API keys
52
52
  *
53
- * Get details about API keys for a user
53
+ * Get details about API keys for a user.
54
54
  *
55
55
  * `POST /public/v1/query/get_api_keys`
56
56
  */
@@ -92,9 +92,9 @@ const signGetAttestationDocument = (input, options) => base.signedRequest({
92
92
  options,
93
93
  });
94
94
  /**
95
- * Get Authenticator
95
+ * Get authenticator
96
96
  *
97
- * Get details about an authenticator
97
+ * Get details about an authenticator.
98
98
  *
99
99
  * `POST /public/v1/query/get_authenticator`
100
100
  */
@@ -114,9 +114,9 @@ const signGetAuthenticator = (input, options) => base.signedRequest({
114
114
  options,
115
115
  });
116
116
  /**
117
- * Get Authenticators
117
+ * Get authenticators
118
118
  *
119
- * Get details about authenticators for a user
119
+ * Get details about authenticators for a user.
120
120
  *
121
121
  * `POST /public/v1/query/get_authenticators`
122
122
  */
@@ -138,7 +138,7 @@ const signGetAuthenticators = (input, options) => base.signedRequest({
138
138
  /**
139
139
  * Get Oauth providers
140
140
  *
141
- * Get details about Oauth providers for a user
141
+ * Get details about Oauth providers for a user.
142
142
  *
143
143
  * `POST /public/v1/query/get_oauth_providers`
144
144
  */
@@ -158,9 +158,9 @@ const signGetOauthProviders = (input, options) => base.signedRequest({
158
158
  options,
159
159
  });
160
160
  /**
161
- * Get Organization
161
+ * Get organization
162
162
  *
163
- * Get details about an Organization
163
+ * Get details about an organization.
164
164
  *
165
165
  * `POST /public/v1/query/get_organization`
166
166
  */
@@ -180,9 +180,9 @@ const signGetOrganization = (input, options) => base.signedRequest({
180
180
  options,
181
181
  });
182
182
  /**
183
- * Get Configs
183
+ * Get configs
184
184
  *
185
- * Get quorum settings and features for an organization
185
+ * Get quorum settings and features for an organization.
186
186
  *
187
187
  * `POST /public/v1/query/get_organization_configs`
188
188
  */
@@ -202,9 +202,9 @@ const signGetOrganizationConfigs = (input, options) => base.signedRequest({
202
202
  options,
203
203
  });
204
204
  /**
205
- * Get Policy
205
+ * Get policy
206
206
  *
207
- * Get details about a Policy
207
+ * Get details about a policy.
208
208
  *
209
209
  * `POST /public/v1/query/get_policy`
210
210
  */
@@ -224,9 +224,31 @@ const signGetPolicy = (input, options) => base.signedRequest({
224
224
  options,
225
225
  });
226
226
  /**
227
- * Get Private Key
227
+ * Get policy evaluations
228
228
  *
229
- * Get details about a Private Key
229
+ * Get the policy evaluations for an activity.
230
+ *
231
+ * `POST /public/v1/query/get_policy_evaluations`
232
+ */
233
+ const getPolicyEvaluations = (input) => base.request({
234
+ uri: "/public/v1/query/get_policy_evaluations",
235
+ method: "POST",
236
+ body: input.body,
237
+ });
238
+ /**
239
+ * Request a WebAuthn assertion and return a signed `GetPolicyEvaluations` request, ready to be POSTed to Turnkey.
240
+ *
241
+ * See {@link GetPolicyEvaluations}
242
+ */
243
+ const signGetPolicyEvaluations = (input, options) => base.signedRequest({
244
+ uri: "/public/v1/query/get_policy_evaluations",
245
+ body: input.body,
246
+ options,
247
+ });
248
+ /**
249
+ * Get private key
250
+ *
251
+ * Get details about a private key.
230
252
  *
231
253
  * `POST /public/v1/query/get_private_key`
232
254
  */
@@ -246,9 +268,31 @@ const signGetPrivateKey = (input, options) => base.signedRequest({
246
268
  options,
247
269
  });
248
270
  /**
249
- * Get User
271
+ * Get smart contract interface
250
272
  *
251
- * Get details about a User
273
+ * Get details about a smart contract interface.
274
+ *
275
+ * `POST /public/v1/query/get_smart_contract_interface`
276
+ */
277
+ const getSmartContractInterface = (input) => base.request({
278
+ uri: "/public/v1/query/get_smart_contract_interface",
279
+ method: "POST",
280
+ body: input.body,
281
+ });
282
+ /**
283
+ * Request a WebAuthn assertion and return a signed `GetSmartContractInterface` request, ready to be POSTed to Turnkey.
284
+ *
285
+ * See {@link GetSmartContractInterface}
286
+ */
287
+ const signGetSmartContractInterface = (input, options) => base.signedRequest({
288
+ uri: "/public/v1/query/get_smart_contract_interface",
289
+ body: input.body,
290
+ options,
291
+ });
292
+ /**
293
+ * Get user
294
+ *
295
+ * Get details about a user.
252
296
  *
253
297
  * `POST /public/v1/query/get_user`
254
298
  */
@@ -268,9 +312,9 @@ const signGetUser = (input, options) => base.signedRequest({
268
312
  options,
269
313
  });
270
314
  /**
271
- * Get Wallet
315
+ * Get wallet
272
316
  *
273
- * Get details about a Wallet
317
+ * Get details about a wallet.
274
318
  *
275
319
  * `POST /public/v1/query/get_wallet`
276
320
  */
@@ -290,9 +334,9 @@ const signGetWallet = (input, options) => base.signedRequest({
290
334
  options,
291
335
  });
292
336
  /**
293
- * Get Wallet Account
337
+ * Get wallet account
294
338
  *
295
- * Get a single wallet account
339
+ * Get a single wallet account.
296
340
  *
297
341
  * `POST /public/v1/query/get_wallet_account`
298
342
  */
@@ -312,9 +356,9 @@ const signGetWalletAccount = (input, options) => base.signedRequest({
312
356
  options,
313
357
  });
314
358
  /**
315
- * List Activities
359
+ * List activities
316
360
  *
317
- * List all Activities within an Organization
361
+ * List all activities within an organization.
318
362
  *
319
363
  * `POST /public/v1/query/list_activities`
320
364
  */
@@ -334,9 +378,9 @@ const signGetActivities = (input, options) => base.signedRequest({
334
378
  options,
335
379
  });
336
380
  /**
337
- * List Policies
381
+ * List policies
338
382
  *
339
- * List all Policies within an Organization
383
+ * List all policies within an organization.
340
384
  *
341
385
  * `POST /public/v1/query/list_policies`
342
386
  */
@@ -356,9 +400,9 @@ const signGetPolicies = (input, options) => base.signedRequest({
356
400
  options,
357
401
  });
358
402
  /**
359
- * List Private Key Tags
403
+ * List private key tags
360
404
  *
361
- * List all Private Key Tags within an Organization
405
+ * List all private key tags within an organization.
362
406
  *
363
407
  * `POST /public/v1/query/list_private_key_tags`
364
408
  */
@@ -378,9 +422,9 @@ const signListPrivateKeyTags = (input, options) => base.signedRequest({
378
422
  options,
379
423
  });
380
424
  /**
381
- * List Private Keys
425
+ * List private keys
382
426
  *
383
- * List all Private Keys within an Organization
427
+ * List all private keys within an organization.
384
428
  *
385
429
  * `POST /public/v1/query/list_private_keys`
386
430
  */
@@ -400,7 +444,29 @@ const signGetPrivateKeys = (input, options) => base.signedRequest({
400
444
  options,
401
445
  });
402
446
  /**
403
- * Get Suborgs
447
+ * List smart contract interfaces
448
+ *
449
+ * List all smart contract interfaces within an organization.
450
+ *
451
+ * `POST /public/v1/query/list_smart_contract_interfaces`
452
+ */
453
+ const getSmartContractInterfaces = (input) => base.request({
454
+ uri: "/public/v1/query/list_smart_contract_interfaces",
455
+ method: "POST",
456
+ body: input.body,
457
+ });
458
+ /**
459
+ * Request a WebAuthn assertion and return a signed `GetSmartContractInterfaces` request, ready to be POSTed to Turnkey.
460
+ *
461
+ * See {@link GetSmartContractInterfaces}
462
+ */
463
+ const signGetSmartContractInterfaces = (input, options) => base.signedRequest({
464
+ uri: "/public/v1/query/list_smart_contract_interfaces",
465
+ body: input.body,
466
+ options,
467
+ });
468
+ /**
469
+ * Get sub-organizations
404
470
  *
405
471
  * Get all suborg IDs associated given a parent org ID and an optional filter.
406
472
  *
@@ -422,9 +488,9 @@ const signGetSubOrgIds = (input, options) => base.signedRequest({
422
488
  options,
423
489
  });
424
490
  /**
425
- * List User Tags
491
+ * List user tags
426
492
  *
427
- * List all User Tags within an Organization
493
+ * List all user tags within an organization.
428
494
  *
429
495
  * `POST /public/v1/query/list_user_tags`
430
496
  */
@@ -444,9 +510,9 @@ const signListUserTags = (input, options) => base.signedRequest({
444
510
  options,
445
511
  });
446
512
  /**
447
- * List Users
513
+ * List users
448
514
  *
449
- * List all Users within an Organization
515
+ * List all users within an organization.
450
516
  *
451
517
  * `POST /public/v1/query/list_users`
452
518
  */
@@ -466,7 +532,7 @@ const signGetUsers = (input, options) => base.signedRequest({
466
532
  options,
467
533
  });
468
534
  /**
469
- * Get Verified Suborgs
535
+ * Get verified sub-organizations
470
536
  *
471
537
  * Get all email or phone verified suborg IDs associated given a parent org ID.
472
538
  *
@@ -488,9 +554,9 @@ const signGetVerifiedSubOrgIds = (input, options) => base.signedRequest({
488
554
  options,
489
555
  });
490
556
  /**
491
- * List Wallets Accounts
557
+ * List wallets accounts
492
558
  *
493
- * List all Accounts within a Wallet
559
+ * List all accounts within a wallet.
494
560
  *
495
561
  * `POST /public/v1/query/list_wallet_accounts`
496
562
  */
@@ -510,9 +576,9 @@ const signGetWalletAccounts = (input, options) => base.signedRequest({
510
576
  options,
511
577
  });
512
578
  /**
513
- * List Wallets
579
+ * List wallets
514
580
  *
515
- * List all Wallets within an Organization
581
+ * List all wallets within an organization.
516
582
  *
517
583
  * `POST /public/v1/query/list_wallets`
518
584
  */
@@ -534,7 +600,7 @@ const signGetWallets = (input, options) => base.signedRequest({
534
600
  /**
535
601
  * Who am I?
536
602
  *
537
- * 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.
603
+ * 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.
538
604
  *
539
605
  * `POST /public/v1/query/whoami`
540
606
  */
@@ -554,9 +620,9 @@ const signGetWhoami = (input, options) => base.signedRequest({
554
620
  options,
555
621
  });
556
622
  /**
557
- * Approve Activity
623
+ * Approve activity
558
624
  *
559
- * Approve an Activity
625
+ * Approve an activity.
560
626
  *
561
627
  * `POST /public/v1/submit/approve_activity`
562
628
  */
@@ -576,9 +642,9 @@ const signApproveActivity = (input, options) => base.signedRequest({
576
642
  options,
577
643
  });
578
644
  /**
579
- * Create API Keys
645
+ * Create API keys
580
646
  *
581
- * Add api keys to an existing User
647
+ * Add API keys to an existing user.
582
648
  *
583
649
  * `POST /public/v1/submit/create_api_keys`
584
650
  */
@@ -598,9 +664,9 @@ const signCreateApiKeys = (input, options) => base.signedRequest({
598
664
  options,
599
665
  });
600
666
  /**
601
- * Create API-only Users
667
+ * Create API-only users
602
668
  *
603
- * Create API-only Users in an existing Organization
669
+ * Create API-only users in an existing organization.
604
670
  *
605
671
  * `POST /public/v1/submit/create_api_only_users`
606
672
  */
@@ -620,9 +686,9 @@ const signCreateApiOnlyUsers = (input, options) => base.signedRequest({
620
686
  options,
621
687
  });
622
688
  /**
623
- * Create Authenticators
689
+ * Create authenticators
624
690
  *
625
- * Create Authenticators to authenticate requests to Turnkey
691
+ * Create authenticators to authenticate requests to Turnkey.
626
692
  *
627
693
  * `POST /public/v1/submit/create_authenticators`
628
694
  */
@@ -642,9 +708,9 @@ const signCreateAuthenticators = (input, options) => base.signedRequest({
642
708
  options,
643
709
  });
644
710
  /**
645
- * Create Invitations
711
+ * Create invitations
646
712
  *
647
- * Create Invitations to join an existing Organization
713
+ * Create invitations to join an existing organization.
648
714
  *
649
715
  * `POST /public/v1/submit/create_invitations`
650
716
  */
@@ -664,9 +730,9 @@ const signCreateInvitations = (input, options) => base.signedRequest({
664
730
  options,
665
731
  });
666
732
  /**
667
- * Create Oauth Providers
733
+ * Create Oauth providers
668
734
  *
669
- * Creates Oauth providers for a specified user - BETA
735
+ * Create Oauth providers for a specified user.
670
736
  *
671
737
  * `POST /public/v1/submit/create_oauth_providers`
672
738
  */
@@ -686,9 +752,9 @@ const signCreateOauthProviders = (input, options) => base.signedRequest({
686
752
  options,
687
753
  });
688
754
  /**
689
- * Create Policies
755
+ * Create policies
690
756
  *
691
- * Create new Policies
757
+ * Create new policies.
692
758
  *
693
759
  * `POST /public/v1/submit/create_policies`
694
760
  */
@@ -708,9 +774,9 @@ const signCreatePolicies = (input, options) => base.signedRequest({
708
774
  options,
709
775
  });
710
776
  /**
711
- * Create Policy
777
+ * Create policy
712
778
  *
713
- * Create a new Policy
779
+ * Create a new policy.
714
780
  *
715
781
  * `POST /public/v1/submit/create_policy`
716
782
  */
@@ -730,7 +796,7 @@ const signCreatePolicy = (input, options) => base.signedRequest({
730
796
  options,
731
797
  });
732
798
  /**
733
- * Create Private Key Tag
799
+ * Create private key tag
734
800
  *
735
801
  * Create a private key tag and add it to private keys.
736
802
  *
@@ -752,9 +818,9 @@ const signCreatePrivateKeyTag = (input, options) => base.signedRequest({
752
818
  options,
753
819
  });
754
820
  /**
755
- * Create Private Keys
821
+ * Create private keys
756
822
  *
757
- * Create new Private Keys
823
+ * Create new private keys.
758
824
  *
759
825
  * `POST /public/v1/submit/create_private_keys`
760
826
  */
@@ -774,9 +840,9 @@ const signCreatePrivateKeys = (input, options) => base.signedRequest({
774
840
  options,
775
841
  });
776
842
  /**
777
- * Create Read Only Session
843
+ * Create read only session
778
844
  *
779
- * Create a read only session for a user (valid for 1 hour)
845
+ * Create a read only session for a user (valid for 1 hour).
780
846
  *
781
847
  * `POST /public/v1/submit/create_read_only_session`
782
848
  */
@@ -796,9 +862,9 @@ const signCreateReadOnlySession = (input, options) => base.signedRequest({
796
862
  options,
797
863
  });
798
864
  /**
799
- * Create Read Write Session
865
+ * Create read write session
800
866
  *
801
- * Create a read write session for a user
867
+ * Create a read write session for a user.
802
868
  *
803
869
  * `POST /public/v1/submit/create_read_write_session`
804
870
  */
@@ -818,9 +884,31 @@ const signCreateReadWriteSession = (input, options) => base.signedRequest({
818
884
  options,
819
885
  });
820
886
  /**
821
- * Create Sub-Organization
887
+ * Create smart contract interface
888
+ *
889
+ * Create an ABI/IDL in JSON.
890
+ *
891
+ * `POST /public/v1/submit/create_smart_contract_interface`
892
+ */
893
+ const createSmartContractInterface = (input) => base.request({
894
+ uri: "/public/v1/submit/create_smart_contract_interface",
895
+ method: "POST",
896
+ body: input.body,
897
+ });
898
+ /**
899
+ * Request a WebAuthn assertion and return a signed `CreateSmartContractInterface` request, ready to be POSTed to Turnkey.
900
+ *
901
+ * See {@link CreateSmartContractInterface}
902
+ */
903
+ const signCreateSmartContractInterface = (input, options) => base.signedRequest({
904
+ uri: "/public/v1/submit/create_smart_contract_interface",
905
+ body: input.body,
906
+ options,
907
+ });
908
+ /**
909
+ * Create sub-organization
822
910
  *
823
- * Create a new Sub-Organization
911
+ * Create a new sub-organization.
824
912
  *
825
913
  * `POST /public/v1/submit/create_sub_organization`
826
914
  */
@@ -840,7 +928,7 @@ const signCreateSubOrganization = (input, options) => base.signedRequest({
840
928
  options,
841
929
  });
842
930
  /**
843
- * Create User Tag
931
+ * Create user tag
844
932
  *
845
933
  * Create a user tag and add it to users.
846
934
  *
@@ -862,9 +950,9 @@ const signCreateUserTag = (input, options) => base.signedRequest({
862
950
  options,
863
951
  });
864
952
  /**
865
- * Create Users
953
+ * Create users
866
954
  *
867
- * Create Users in an existing Organization
955
+ * Create users in an existing organization.
868
956
  *
869
957
  * `POST /public/v1/submit/create_users`
870
958
  */
@@ -884,9 +972,9 @@ const signCreateUsers = (input, options) => base.signedRequest({
884
972
  options,
885
973
  });
886
974
  /**
887
- * Create Wallet
975
+ * Create wallet
888
976
  *
889
- * Create a Wallet and derive addresses
977
+ * Create a wallet and derive addresses.
890
978
  *
891
979
  * `POST /public/v1/submit/create_wallet`
892
980
  */
@@ -906,9 +994,9 @@ const signCreateWallet = (input, options) => base.signedRequest({
906
994
  options,
907
995
  });
908
996
  /**
909
- * Create Wallet Accounts
997
+ * Create wallet accounts
910
998
  *
911
- * Derive additional addresses using an existing wallet
999
+ * Derive additional addresses using an existing wallet.
912
1000
  *
913
1001
  * `POST /public/v1/submit/create_wallet_accounts`
914
1002
  */
@@ -928,9 +1016,9 @@ const signCreateWalletAccounts = (input, options) => base.signedRequest({
928
1016
  options,
929
1017
  });
930
1018
  /**
931
- * Delete API Keys
1019
+ * Delete API keys
932
1020
  *
933
- * Remove api keys from a User
1021
+ * Remove api keys from a user.
934
1022
  *
935
1023
  * `POST /public/v1/submit/delete_api_keys`
936
1024
  */
@@ -950,9 +1038,9 @@ const signDeleteApiKeys = (input, options) => base.signedRequest({
950
1038
  options,
951
1039
  });
952
1040
  /**
953
- * Delete Authenticators
1041
+ * Delete authenticators
954
1042
  *
955
- * Remove authenticators from a User
1043
+ * Remove authenticators from a user.
956
1044
  *
957
1045
  * `POST /public/v1/submit/delete_authenticators`
958
1046
  */
@@ -972,9 +1060,9 @@ const signDeleteAuthenticators = (input, options) => base.signedRequest({
972
1060
  options,
973
1061
  });
974
1062
  /**
975
- * Delete Invitation
1063
+ * Delete invitation
976
1064
  *
977
- * Delete an existing Invitation
1065
+ * Delete an existing invitation.
978
1066
  *
979
1067
  * `POST /public/v1/submit/delete_invitation`
980
1068
  */
@@ -994,9 +1082,9 @@ const signDeleteInvitation = (input, options) => base.signedRequest({
994
1082
  options,
995
1083
  });
996
1084
  /**
997
- * Delete Oauth Providers
1085
+ * Delete Oauth providers
998
1086
  *
999
- * Removes Oauth providers for a specified user - BETA
1087
+ * Remove Oauth providers for a specified user.
1000
1088
  *
1001
1089
  * `POST /public/v1/submit/delete_oauth_providers`
1002
1090
  */
@@ -1016,9 +1104,9 @@ const signDeleteOauthProviders = (input, options) => base.signedRequest({
1016
1104
  options,
1017
1105
  });
1018
1106
  /**
1019
- * Delete Policy
1107
+ * Delete policy
1020
1108
  *
1021
- * Delete an existing Policy
1109
+ * Delete an existing policy.
1022
1110
  *
1023
1111
  * `POST /public/v1/submit/delete_policy`
1024
1112
  */
@@ -1038,9 +1126,9 @@ const signDeletePolicy = (input, options) => base.signedRequest({
1038
1126
  options,
1039
1127
  });
1040
1128
  /**
1041
- * Delete Private Key Tags
1129
+ * Delete private key tags
1042
1130
  *
1043
- * Delete Private Key Tags within an Organization
1131
+ * Delete private key tags within an organization.
1044
1132
  *
1045
1133
  * `POST /public/v1/submit/delete_private_key_tags`
1046
1134
  */
@@ -1060,9 +1148,9 @@ const signDeletePrivateKeyTags = (input, options) => base.signedRequest({
1060
1148
  options,
1061
1149
  });
1062
1150
  /**
1063
- * Delete Private Keys
1151
+ * Delete private keys
1064
1152
  *
1065
- * Deletes private keys for an organization
1153
+ * Delete private keys for an organization.
1066
1154
  *
1067
1155
  * `POST /public/v1/submit/delete_private_keys`
1068
1156
  */
@@ -1082,9 +1170,31 @@ const signDeletePrivateKeys = (input, options) => base.signedRequest({
1082
1170
  options,
1083
1171
  });
1084
1172
  /**
1085
- * Delete Sub Organization
1173
+ * Delete smart contract interface
1174
+ *
1175
+ * Delete a smart contract interface.
1176
+ *
1177
+ * `POST /public/v1/submit/delete_smart_contract_interface`
1178
+ */
1179
+ const deleteSmartContractInterface = (input) => base.request({
1180
+ uri: "/public/v1/submit/delete_smart_contract_interface",
1181
+ method: "POST",
1182
+ body: input.body,
1183
+ });
1184
+ /**
1185
+ * Request a WebAuthn assertion and return a signed `DeleteSmartContractInterface` request, ready to be POSTed to Turnkey.
1186
+ *
1187
+ * See {@link DeleteSmartContractInterface}
1188
+ */
1189
+ const signDeleteSmartContractInterface = (input, options) => base.signedRequest({
1190
+ uri: "/public/v1/submit/delete_smart_contract_interface",
1191
+ body: input.body,
1192
+ options,
1193
+ });
1194
+ /**
1195
+ * Delete sub-organization
1086
1196
  *
1087
- * Deletes a sub organization
1197
+ * Delete a sub-organization.
1088
1198
  *
1089
1199
  * `POST /public/v1/submit/delete_sub_organization`
1090
1200
  */
@@ -1104,9 +1214,9 @@ const signDeleteSubOrganization = (input, options) => base.signedRequest({
1104
1214
  options,
1105
1215
  });
1106
1216
  /**
1107
- * Delete User Tags
1217
+ * Delete user tags
1108
1218
  *
1109
- * Delete User Tags within an Organization
1219
+ * Delete user tags within an organization.
1110
1220
  *
1111
1221
  * `POST /public/v1/submit/delete_user_tags`
1112
1222
  */
@@ -1126,9 +1236,9 @@ const signDeleteUserTags = (input, options) => base.signedRequest({
1126
1236
  options,
1127
1237
  });
1128
1238
  /**
1129
- * Delete Users
1239
+ * Delete users
1130
1240
  *
1131
- * Delete Users within an Organization
1241
+ * Delete users within an organization.
1132
1242
  *
1133
1243
  * `POST /public/v1/submit/delete_users`
1134
1244
  */
@@ -1148,9 +1258,9 @@ const signDeleteUsers = (input, options) => base.signedRequest({
1148
1258
  options,
1149
1259
  });
1150
1260
  /**
1151
- * Delete Wallets
1261
+ * Delete wallets
1152
1262
  *
1153
- * Deletes wallets for an organization
1263
+ * Delete wallets for an organization.
1154
1264
  *
1155
1265
  * `POST /public/v1/submit/delete_wallets`
1156
1266
  */
@@ -1170,9 +1280,9 @@ const signDeleteWallets = (input, options) => base.signedRequest({
1170
1280
  options,
1171
1281
  });
1172
1282
  /**
1173
- * Perform Email Auth
1283
+ * Perform email auth
1174
1284
  *
1175
- * Authenticate a user via Email
1285
+ * Authenticate a user via email.
1176
1286
  *
1177
1287
  * `POST /public/v1/submit/email_auth`
1178
1288
  */
@@ -1192,9 +1302,9 @@ const signEmailAuth = (input, options) => base.signedRequest({
1192
1302
  options,
1193
1303
  });
1194
1304
  /**
1195
- * Export Private Key
1305
+ * Export private key
1196
1306
  *
1197
- * Exports a Private Key
1307
+ * Export a private key.
1198
1308
  *
1199
1309
  * `POST /public/v1/submit/export_private_key`
1200
1310
  */
@@ -1214,9 +1324,9 @@ const signExportPrivateKey = (input, options) => base.signedRequest({
1214
1324
  options,
1215
1325
  });
1216
1326
  /**
1217
- * Export Wallet
1327
+ * Export wallet
1218
1328
  *
1219
- * Exports a Wallet
1329
+ * Export a wallet.
1220
1330
  *
1221
1331
  * `POST /public/v1/submit/export_wallet`
1222
1332
  */
@@ -1236,9 +1346,9 @@ const signExportWallet = (input, options) => base.signedRequest({
1236
1346
  options,
1237
1347
  });
1238
1348
  /**
1239
- * Export Wallet Account
1349
+ * Export wallet account
1240
1350
  *
1241
- * Exports a Wallet Account
1351
+ * Export a wallet account.
1242
1352
  *
1243
1353
  * `POST /public/v1/submit/export_wallet_account`
1244
1354
  */
@@ -1258,9 +1368,9 @@ const signExportWalletAccount = (input, options) => base.signedRequest({
1258
1368
  options,
1259
1369
  });
1260
1370
  /**
1261
- * Import Private Key
1371
+ * Import private key
1262
1372
  *
1263
- * Imports a private key
1373
+ * Import a private key.
1264
1374
  *
1265
1375
  * `POST /public/v1/submit/import_private_key`
1266
1376
  */
@@ -1280,9 +1390,9 @@ const signImportPrivateKey = (input, options) => base.signedRequest({
1280
1390
  options,
1281
1391
  });
1282
1392
  /**
1283
- * Import Wallet
1393
+ * Import wallet
1284
1394
  *
1285
- * Imports a wallet
1395
+ * Import a wallet.
1286
1396
  *
1287
1397
  * `POST /public/v1/submit/import_wallet`
1288
1398
  */
@@ -1302,9 +1412,9 @@ const signImportWallet = (input, options) => base.signedRequest({
1302
1412
  options,
1303
1413
  });
1304
1414
  /**
1305
- * Init Fiat On Ramp
1415
+ * Init fiat on ramp
1306
1416
  *
1307
- * Initiate a fiat on ramp flow
1417
+ * Initiate a fiat on ramp flow.
1308
1418
  *
1309
1419
  * `POST /public/v1/submit/init_fiat_on_ramp`
1310
1420
  */
@@ -1324,9 +1434,9 @@ const signInitFiatOnRamp = (input, options) => base.signedRequest({
1324
1434
  options,
1325
1435
  });
1326
1436
  /**
1327
- * Init Import Private Key
1437
+ * Init import private key
1328
1438
  *
1329
- * Initializes a new private key import
1439
+ * Initialize a new private key import.
1330
1440
  *
1331
1441
  * `POST /public/v1/submit/init_import_private_key`
1332
1442
  */
@@ -1346,9 +1456,9 @@ const signInitImportPrivateKey = (input, options) => base.signedRequest({
1346
1456
  options,
1347
1457
  });
1348
1458
  /**
1349
- * Init Import Wallet
1459
+ * Init import wallet
1350
1460
  *
1351
- * Initializes a new wallet import
1461
+ * Initialize a new wallet import.
1352
1462
  *
1353
1463
  * `POST /public/v1/submit/init_import_wallet`
1354
1464
  */
@@ -1368,9 +1478,9 @@ const signInitImportWallet = (input, options) => base.signedRequest({
1368
1478
  options,
1369
1479
  });
1370
1480
  /**
1371
- * Init Generic OTP
1481
+ * Init generic OTP
1372
1482
  *
1373
- * Initiate a Generic OTP activity
1483
+ * Initiate a generic OTP activity.
1374
1484
  *
1375
1485
  * `POST /public/v1/submit/init_otp`
1376
1486
  */
@@ -1392,7 +1502,7 @@ const signInitOtp = (input, options) => base.signedRequest({
1392
1502
  /**
1393
1503
  * Init OTP auth
1394
1504
  *
1395
- * Initiate an OTP auth activity
1505
+ * Initiate an OTP auth activity.
1396
1506
  *
1397
1507
  * `POST /public/v1/submit/init_otp_auth`
1398
1508
  */
@@ -1412,9 +1522,9 @@ const signInitOtpAuth = (input, options) => base.signedRequest({
1412
1522
  options,
1413
1523
  });
1414
1524
  /**
1415
- * Init Email Recovery
1525
+ * Init email recovery
1416
1526
  *
1417
- * Initializes a new email recovery
1527
+ * Initialize a new email recovery.
1418
1528
  *
1419
1529
  * `POST /public/v1/submit/init_user_email_recovery`
1420
1530
  */
@@ -1436,7 +1546,7 @@ const signInitUserEmailRecovery = (input, options) => base.signedRequest({
1436
1546
  /**
1437
1547
  * Oauth
1438
1548
  *
1439
- * Authenticate a user with an Oidc token (Oauth) - BETA
1549
+ * Authenticate a user with an OIDC token (Oauth).
1440
1550
  *
1441
1551
  * `POST /public/v1/submit/oauth`
1442
1552
  */
@@ -1458,7 +1568,7 @@ const signOauth = (input, options) => base.signedRequest({
1458
1568
  /**
1459
1569
  * Login with Oauth
1460
1570
  *
1461
- * Create an Oauth session for a user
1571
+ * Create an Oauth session for a user.
1462
1572
  *
1463
1573
  * `POST /public/v1/submit/oauth_login`
1464
1574
  */
@@ -1480,7 +1590,7 @@ const signOauthLogin = (input, options) => base.signedRequest({
1480
1590
  /**
1481
1591
  * OTP auth
1482
1592
  *
1483
- * Authenticate a user with an OTP code sent via email or SMS
1593
+ * Authenticate a user with an OTP code sent via email or SMS.
1484
1594
  *
1485
1595
  * `POST /public/v1/submit/otp_auth`
1486
1596
  */
@@ -1502,7 +1612,7 @@ const signOtpAuth = (input, options) => base.signedRequest({
1502
1612
  /**
1503
1613
  * Login with OTP
1504
1614
  *
1505
- * Create an OTP session for a user
1615
+ * Create an OTP session for a user.
1506
1616
  *
1507
1617
  * `POST /public/v1/submit/otp_login`
1508
1618
  */
@@ -1524,7 +1634,7 @@ const signOtpLogin = (input, options) => base.signedRequest({
1524
1634
  /**
1525
1635
  * Recover a user
1526
1636
  *
1527
- * Completes the process of recovering a user by adding an authenticator
1637
+ * Complete the process of recovering a user by adding an authenticator.
1528
1638
  *
1529
1639
  * `POST /public/v1/submit/recover_user`
1530
1640
  */
@@ -1544,9 +1654,9 @@ const signRecoverUser = (input, options) => base.signedRequest({
1544
1654
  options,
1545
1655
  });
1546
1656
  /**
1547
- * Reject Activity
1657
+ * Reject activity
1548
1658
  *
1549
- * Reject an Activity
1659
+ * Reject an activity.
1550
1660
  *
1551
1661
  * `POST /public/v1/submit/reject_activity`
1552
1662
  */
@@ -1566,9 +1676,9 @@ const signRejectActivity = (input, options) => base.signedRequest({
1566
1676
  options,
1567
1677
  });
1568
1678
  /**
1569
- * Remove Organization Feature
1679
+ * Remove organization feature
1570
1680
  *
1571
- * Removes an organization feature. This activity must be approved by the current root quorum.
1681
+ * Remove an organization feature. This activity must be approved by the current root quorum.
1572
1682
  *
1573
1683
  * `POST /public/v1/submit/remove_organization_feature`
1574
1684
  */
@@ -1588,9 +1698,9 @@ const signRemoveOrganizationFeature = (input, options) => base.signedRequest({
1588
1698
  options,
1589
1699
  });
1590
1700
  /**
1591
- * Set Organization Feature
1701
+ * Set organization feature
1592
1702
  *
1593
- * Sets an organization feature. This activity must be approved by the current root quorum.
1703
+ * Set an organization feature. This activity must be approved by the current root quorum.
1594
1704
  *
1595
1705
  * `POST /public/v1/submit/set_organization_feature`
1596
1706
  */
@@ -1610,9 +1720,9 @@ const signSetOrganizationFeature = (input, options) => base.signedRequest({
1610
1720
  options,
1611
1721
  });
1612
1722
  /**
1613
- * Sign Raw Payload
1723
+ * Sign raw payload
1614
1724
  *
1615
- * Sign a raw payload
1725
+ * Sign a raw payload.
1616
1726
  *
1617
1727
  * `POST /public/v1/submit/sign_raw_payload`
1618
1728
  */
@@ -1632,9 +1742,9 @@ const signSignRawPayload = (input, options) => base.signedRequest({
1632
1742
  options,
1633
1743
  });
1634
1744
  /**
1635
- * Sign Raw Payloads
1745
+ * Sign raw payloads
1636
1746
  *
1637
- * Sign multiple raw payloads with the same signing parameters
1747
+ * Sign multiple raw payloads with the same signing parameters.
1638
1748
  *
1639
1749
  * `POST /public/v1/submit/sign_raw_payloads`
1640
1750
  */
@@ -1654,9 +1764,9 @@ const signSignRawPayloads = (input, options) => base.signedRequest({
1654
1764
  options,
1655
1765
  });
1656
1766
  /**
1657
- * Sign Transaction
1767
+ * Sign transaction
1658
1768
  *
1659
- * Sign a transaction
1769
+ * Sign a transaction.
1660
1770
  *
1661
1771
  * `POST /public/v1/submit/sign_transaction`
1662
1772
  */
@@ -1676,9 +1786,9 @@ const signSignTransaction = (input, options) => base.signedRequest({
1676
1786
  options,
1677
1787
  });
1678
1788
  /**
1679
- * Login with a Stamp
1789
+ * Login with a stamp
1680
1790
  *
1681
- * Create a session for a user through stamping client side (api key, wallet client, or passkey client)
1791
+ * Create a session for a user through stamping client side (API key, wallet client, or passkey client).
1682
1792
  *
1683
1793
  * `POST /public/v1/submit/stamp_login`
1684
1794
  */
@@ -1698,9 +1808,9 @@ const signStampLogin = (input, options) => base.signedRequest({
1698
1808
  options,
1699
1809
  });
1700
1810
  /**
1701
- * Update Policy
1811
+ * Update policy
1702
1812
  *
1703
- * Update an existing Policy
1813
+ * Update an existing policy.
1704
1814
  *
1705
1815
  * `POST /public/v1/submit/update_policy`
1706
1816
  */
@@ -1720,7 +1830,7 @@ const signUpdatePolicy = (input, options) => base.signedRequest({
1720
1830
  options,
1721
1831
  });
1722
1832
  /**
1723
- * Update Private Key Tag
1833
+ * Update private key tag
1724
1834
  *
1725
1835
  * 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.
1726
1836
  *
@@ -1742,7 +1852,7 @@ const signUpdatePrivateKeyTag = (input, options) => base.signedRequest({
1742
1852
  options,
1743
1853
  });
1744
1854
  /**
1745
- * Update Root Quorum
1855
+ * Update root quorum
1746
1856
  *
1747
1857
  * Set the threshold and members of the root quorum. This activity must be approved by the current root quorum.
1748
1858
  *
@@ -1764,9 +1874,9 @@ const signUpdateRootQuorum = (input, options) => base.signedRequest({
1764
1874
  options,
1765
1875
  });
1766
1876
  /**
1767
- * Update User
1877
+ * Update user
1768
1878
  *
1769
- * Update a User in an existing Organization
1879
+ * Update a user in an existing organization.
1770
1880
  *
1771
1881
  * `POST /public/v1/submit/update_user`
1772
1882
  */
@@ -1786,9 +1896,9 @@ const signUpdateUser = (input, options) => base.signedRequest({
1786
1896
  options,
1787
1897
  });
1788
1898
  /**
1789
- * Update User's Email
1899
+ * Update user's email
1790
1900
  *
1791
- * Update a User's email in an existing Organization
1901
+ * Update a user's email in an existing organization.
1792
1902
  *
1793
1903
  * `POST /public/v1/submit/update_user_email`
1794
1904
  */
@@ -1808,9 +1918,9 @@ const signUpdateUserEmail = (input, options) => base.signedRequest({
1808
1918
  options,
1809
1919
  });
1810
1920
  /**
1811
- * Update User's Name
1921
+ * Update user's name
1812
1922
  *
1813
- * Update a User's name in an existing Organization
1923
+ * Update a user's name in an existing organization.
1814
1924
  *
1815
1925
  * `POST /public/v1/submit/update_user_name`
1816
1926
  */
@@ -1830,9 +1940,9 @@ const signUpdateUserName = (input, options) => base.signedRequest({
1830
1940
  options,
1831
1941
  });
1832
1942
  /**
1833
- * Update User's Phone Number
1943
+ * Update user's phone number
1834
1944
  *
1835
- * Update a User's phone number in an existing Organization
1945
+ * Update a user's phone number in an existing organization.
1836
1946
  *
1837
1947
  * `POST /public/v1/submit/update_user_phone_number`
1838
1948
  */
@@ -1852,7 +1962,7 @@ const signUpdateUserPhoneNumber = (input, options) => base.signedRequest({
1852
1962
  options,
1853
1963
  });
1854
1964
  /**
1855
- * Update User Tag
1965
+ * Update user tag
1856
1966
  *
1857
1967
  * 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.
1858
1968
  *
@@ -1874,9 +1984,9 @@ const signUpdateUserTag = (input, options) => base.signedRequest({
1874
1984
  options,
1875
1985
  });
1876
1986
  /**
1877
- * Update Wallet
1987
+ * Update wallet
1878
1988
  *
1879
- * Update a wallet for an organization
1989
+ * Update a wallet for an organization.
1880
1990
  *
1881
1991
  * `POST /public/v1/submit/update_wallet`
1882
1992
  */
@@ -1896,9 +2006,9 @@ const signUpdateWallet = (input, options) => base.signedRequest({
1896
2006
  options,
1897
2007
  });
1898
2008
  /**
1899
- * Verify Generic OTP
2009
+ * Verify generic OTP
1900
2010
  *
1901
- * Verify a Generic OTP
2011
+ * Verify a generic OTP.
1902
2012
  *
1903
2013
  * `POST /public/v1/submit/verify_otp`
1904
2014
  */
@@ -1933,9 +2043,9 @@ const signNOOPCodegenAnchor = () => base.signedRequest({
1933
2043
  uri: "/tkhq/api/v1/noop-codegen-anchor",
1934
2044
  });
1935
2045
  /**
1936
- * Test Rate Limit
2046
+ * Test rate limit
1937
2047
  *
1938
- * Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite
2048
+ * Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.
1939
2049
  *
1940
2050
  * `POST /tkhq/api/v1/test_rate_limits`
1941
2051
  */
@@ -1967,6 +2077,7 @@ exports.createPrivateKeyTag = createPrivateKeyTag;
1967
2077
  exports.createPrivateKeys = createPrivateKeys;
1968
2078
  exports.createReadOnlySession = createReadOnlySession;
1969
2079
  exports.createReadWriteSession = createReadWriteSession;
2080
+ exports.createSmartContractInterface = createSmartContractInterface;
1970
2081
  exports.createSubOrganization = createSubOrganization;
1971
2082
  exports.createUserTag = createUserTag;
1972
2083
  exports.createUsers = createUsers;
@@ -1979,6 +2090,7 @@ exports.deleteOauthProviders = deleteOauthProviders;
1979
2090
  exports.deletePolicy = deletePolicy;
1980
2091
  exports.deletePrivateKeyTags = deletePrivateKeyTags;
1981
2092
  exports.deletePrivateKeys = deletePrivateKeys;
2093
+ exports.deleteSmartContractInterface = deleteSmartContractInterface;
1982
2094
  exports.deleteSubOrganization = deleteSubOrganization;
1983
2095
  exports.deleteUserTags = deleteUserTags;
1984
2096
  exports.deleteUsers = deleteUsers;
@@ -1999,8 +2111,11 @@ exports.getOrganization = getOrganization;
1999
2111
  exports.getOrganizationConfigs = getOrganizationConfigs;
2000
2112
  exports.getPolicies = getPolicies;
2001
2113
  exports.getPolicy = getPolicy;
2114
+ exports.getPolicyEvaluations = getPolicyEvaluations;
2002
2115
  exports.getPrivateKey = getPrivateKey;
2003
2116
  exports.getPrivateKeys = getPrivateKeys;
2117
+ exports.getSmartContractInterface = getSmartContractInterface;
2118
+ exports.getSmartContractInterfaces = getSmartContractInterfaces;
2004
2119
  exports.getSubOrgIds = getSubOrgIds;
2005
2120
  exports.getUser = getUser;
2006
2121
  exports.getUsers = getUsers;
@@ -2041,6 +2156,7 @@ exports.signCreatePrivateKeyTag = signCreatePrivateKeyTag;
2041
2156
  exports.signCreatePrivateKeys = signCreatePrivateKeys;
2042
2157
  exports.signCreateReadOnlySession = signCreateReadOnlySession;
2043
2158
  exports.signCreateReadWriteSession = signCreateReadWriteSession;
2159
+ exports.signCreateSmartContractInterface = signCreateSmartContractInterface;
2044
2160
  exports.signCreateSubOrganization = signCreateSubOrganization;
2045
2161
  exports.signCreateUserTag = signCreateUserTag;
2046
2162
  exports.signCreateUsers = signCreateUsers;
@@ -2053,6 +2169,7 @@ exports.signDeleteOauthProviders = signDeleteOauthProviders;
2053
2169
  exports.signDeletePolicy = signDeletePolicy;
2054
2170
  exports.signDeletePrivateKeyTags = signDeletePrivateKeyTags;
2055
2171
  exports.signDeletePrivateKeys = signDeletePrivateKeys;
2172
+ exports.signDeleteSmartContractInterface = signDeleteSmartContractInterface;
2056
2173
  exports.signDeleteSubOrganization = signDeleteSubOrganization;
2057
2174
  exports.signDeleteUserTags = signDeleteUserTags;
2058
2175
  exports.signDeleteUsers = signDeleteUsers;
@@ -2073,8 +2190,11 @@ exports.signGetOrganization = signGetOrganization;
2073
2190
  exports.signGetOrganizationConfigs = signGetOrganizationConfigs;
2074
2191
  exports.signGetPolicies = signGetPolicies;
2075
2192
  exports.signGetPolicy = signGetPolicy;
2193
+ exports.signGetPolicyEvaluations = signGetPolicyEvaluations;
2076
2194
  exports.signGetPrivateKey = signGetPrivateKey;
2077
2195
  exports.signGetPrivateKeys = signGetPrivateKeys;
2196
+ exports.signGetSmartContractInterface = signGetSmartContractInterface;
2197
+ exports.signGetSmartContractInterfaces = signGetSmartContractInterfaces;
2078
2198
  exports.signGetSubOrgIds = signGetSubOrgIds;
2079
2199
  exports.signGetUser = signGetUser;
2080
2200
  exports.signGetUsers = signGetUsers;