@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.
- package/CHANGELOG.md +6 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +99 -84
- 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 +109 -84
- 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 +109 -84
- 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 +1417 -7689
- 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 +189 -165
- 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 +188 -166
- 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 +312 -260
- 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
|
@@ -9,7 +9,7 @@ class TurnkeyClient {
|
|
|
9
9
|
constructor(config, stamper) {
|
|
10
10
|
this.name = "TurnkeyClient";
|
|
11
11
|
/**
|
|
12
|
-
* Get details about an
|
|
12
|
+
* Get details about an activity.
|
|
13
13
|
*
|
|
14
14
|
* Sign the provided `TGetActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_activity).
|
|
15
15
|
*
|
|
@@ -34,7 +34,7 @@ class TurnkeyClient {
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* Get details about an API key
|
|
37
|
+
* Get details about an API key.
|
|
38
38
|
*
|
|
39
39
|
* Sign the provided `TGetApiKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_api_key).
|
|
40
40
|
*
|
|
@@ -59,7 +59,7 @@ class TurnkeyClient {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
* Get details about API keys for a user
|
|
62
|
+
* Get details about API keys for a user.
|
|
63
63
|
*
|
|
64
64
|
* Sign the provided `TGetApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_api_keys).
|
|
65
65
|
*
|
|
@@ -109,7 +109,7 @@ class TurnkeyClient {
|
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
112
|
-
* Get details about an authenticator
|
|
112
|
+
* Get details about an authenticator.
|
|
113
113
|
*
|
|
114
114
|
* Sign the provided `TGetAuthenticatorBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_authenticator).
|
|
115
115
|
*
|
|
@@ -134,7 +134,7 @@ class TurnkeyClient {
|
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
/**
|
|
137
|
-
* Get details about authenticators for a user
|
|
137
|
+
* Get details about authenticators for a user.
|
|
138
138
|
*
|
|
139
139
|
* Sign the provided `TGetAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_authenticators).
|
|
140
140
|
*
|
|
@@ -159,7 +159,7 @@ class TurnkeyClient {
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
/**
|
|
162
|
-
* Get details about Oauth providers for a user
|
|
162
|
+
* Get details about Oauth providers for a user.
|
|
163
163
|
*
|
|
164
164
|
* Sign the provided `TGetOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_oauth_providers).
|
|
165
165
|
*
|
|
@@ -184,7 +184,7 @@ class TurnkeyClient {
|
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
186
|
/**
|
|
187
|
-
* Get details about an
|
|
187
|
+
* Get details about an organization.
|
|
188
188
|
*
|
|
189
189
|
* Sign the provided `TGetOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_organization).
|
|
190
190
|
*
|
|
@@ -209,7 +209,7 @@ class TurnkeyClient {
|
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
211
|
/**
|
|
212
|
-
* Get quorum settings and features for an organization
|
|
212
|
+
* Get quorum settings and features for an organization.
|
|
213
213
|
*
|
|
214
214
|
* Sign the provided `TGetOrganizationConfigsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_organization_configs).
|
|
215
215
|
*
|
|
@@ -234,7 +234,7 @@ class TurnkeyClient {
|
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
236
|
/**
|
|
237
|
-
* Get details about a
|
|
237
|
+
* Get details about a policy.
|
|
238
238
|
*
|
|
239
239
|
* Sign the provided `TGetPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_policy).
|
|
240
240
|
*
|
|
@@ -259,7 +259,32 @@ class TurnkeyClient {
|
|
|
259
259
|
};
|
|
260
260
|
};
|
|
261
261
|
/**
|
|
262
|
-
* Get
|
|
262
|
+
* Get the policy evaluations for an activity.
|
|
263
|
+
*
|
|
264
|
+
* Sign the provided `TGetPolicyEvaluationsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_policy_evaluations).
|
|
265
|
+
*
|
|
266
|
+
* See also {@link stampGetPolicyEvaluations}.
|
|
267
|
+
*/
|
|
268
|
+
this.getPolicyEvaluations = async (input) => {
|
|
269
|
+
return this.request("/public/v1/query/get_policy_evaluations", input);
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* Produce a `SignedRequest` from `TGetPolicyEvaluationsBody` by using the client's `stamp` function.
|
|
273
|
+
*
|
|
274
|
+
* See also {@link GetPolicyEvaluations}.
|
|
275
|
+
*/
|
|
276
|
+
this.stampGetPolicyEvaluations = async (input) => {
|
|
277
|
+
const fullUrl = this.config.baseUrl + "/public/v1/query/get_policy_evaluations";
|
|
278
|
+
const body = JSON.stringify(input);
|
|
279
|
+
const stamp = await this.stamper.stamp(body);
|
|
280
|
+
return {
|
|
281
|
+
body: body,
|
|
282
|
+
stamp: stamp,
|
|
283
|
+
url: fullUrl,
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* Get details about a private key.
|
|
263
288
|
*
|
|
264
289
|
* Sign the provided `TGetPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_private_key).
|
|
265
290
|
*
|
|
@@ -284,7 +309,7 @@ class TurnkeyClient {
|
|
|
284
309
|
};
|
|
285
310
|
};
|
|
286
311
|
/**
|
|
287
|
-
* Get details about a
|
|
312
|
+
* Get details about a smart contract interface.
|
|
288
313
|
*
|
|
289
314
|
* Sign the provided `TGetSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_smart_contract_interface).
|
|
290
315
|
*
|
|
@@ -309,7 +334,7 @@ class TurnkeyClient {
|
|
|
309
334
|
};
|
|
310
335
|
};
|
|
311
336
|
/**
|
|
312
|
-
* Get details about a
|
|
337
|
+
* Get details about a user.
|
|
313
338
|
*
|
|
314
339
|
* Sign the provided `TGetUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_user).
|
|
315
340
|
*
|
|
@@ -334,7 +359,7 @@ class TurnkeyClient {
|
|
|
334
359
|
};
|
|
335
360
|
};
|
|
336
361
|
/**
|
|
337
|
-
* Get details about a
|
|
362
|
+
* Get details about a wallet.
|
|
338
363
|
*
|
|
339
364
|
* Sign the provided `TGetWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet).
|
|
340
365
|
*
|
|
@@ -359,7 +384,7 @@ class TurnkeyClient {
|
|
|
359
384
|
};
|
|
360
385
|
};
|
|
361
386
|
/**
|
|
362
|
-
* Get a single wallet account
|
|
387
|
+
* Get a single wallet account.
|
|
363
388
|
*
|
|
364
389
|
* Sign the provided `TGetWalletAccountBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet_account).
|
|
365
390
|
*
|
|
@@ -384,7 +409,7 @@ class TurnkeyClient {
|
|
|
384
409
|
};
|
|
385
410
|
};
|
|
386
411
|
/**
|
|
387
|
-
* List all
|
|
412
|
+
* List all activities within an organization.
|
|
388
413
|
*
|
|
389
414
|
* Sign the provided `TGetActivitiesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_activities).
|
|
390
415
|
*
|
|
@@ -409,7 +434,7 @@ class TurnkeyClient {
|
|
|
409
434
|
};
|
|
410
435
|
};
|
|
411
436
|
/**
|
|
412
|
-
* List all
|
|
437
|
+
* List all policies within an organization.
|
|
413
438
|
*
|
|
414
439
|
* Sign the provided `TGetPoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_policies).
|
|
415
440
|
*
|
|
@@ -434,7 +459,7 @@ class TurnkeyClient {
|
|
|
434
459
|
};
|
|
435
460
|
};
|
|
436
461
|
/**
|
|
437
|
-
* List all
|
|
462
|
+
* List all private key tags within an organization.
|
|
438
463
|
*
|
|
439
464
|
* Sign the provided `TListPrivateKeyTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_private_key_tags).
|
|
440
465
|
*
|
|
@@ -459,7 +484,7 @@ class TurnkeyClient {
|
|
|
459
484
|
};
|
|
460
485
|
};
|
|
461
486
|
/**
|
|
462
|
-
* List all
|
|
487
|
+
* List all private keys within an organization.
|
|
463
488
|
*
|
|
464
489
|
* Sign the provided `TGetPrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_private_keys).
|
|
465
490
|
*
|
|
@@ -484,7 +509,7 @@ class TurnkeyClient {
|
|
|
484
509
|
};
|
|
485
510
|
};
|
|
486
511
|
/**
|
|
487
|
-
* List all
|
|
512
|
+
* List all smart contract interfaces within an organization.
|
|
488
513
|
*
|
|
489
514
|
* Sign the provided `TGetSmartContractInterfacesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_smart_contract_interfaces).
|
|
490
515
|
*
|
|
@@ -534,7 +559,7 @@ class TurnkeyClient {
|
|
|
534
559
|
};
|
|
535
560
|
};
|
|
536
561
|
/**
|
|
537
|
-
* List all
|
|
562
|
+
* List all user tags within an organization.
|
|
538
563
|
*
|
|
539
564
|
* Sign the provided `TListUserTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_user_tags).
|
|
540
565
|
*
|
|
@@ -559,7 +584,7 @@ class TurnkeyClient {
|
|
|
559
584
|
};
|
|
560
585
|
};
|
|
561
586
|
/**
|
|
562
|
-
* List all
|
|
587
|
+
* List all users within an organization.
|
|
563
588
|
*
|
|
564
589
|
* Sign the provided `TGetUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_users).
|
|
565
590
|
*
|
|
@@ -609,7 +634,7 @@ class TurnkeyClient {
|
|
|
609
634
|
};
|
|
610
635
|
};
|
|
611
636
|
/**
|
|
612
|
-
* List all
|
|
637
|
+
* List all accounts within a wallet.
|
|
613
638
|
*
|
|
614
639
|
* Sign the provided `TGetWalletAccountsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_wallet_accounts).
|
|
615
640
|
*
|
|
@@ -634,7 +659,7 @@ class TurnkeyClient {
|
|
|
634
659
|
};
|
|
635
660
|
};
|
|
636
661
|
/**
|
|
637
|
-
* List all
|
|
662
|
+
* List all wallets within an organization.
|
|
638
663
|
*
|
|
639
664
|
* Sign the provided `TGetWalletsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_wallets).
|
|
640
665
|
*
|
|
@@ -659,7 +684,7 @@ class TurnkeyClient {
|
|
|
659
684
|
};
|
|
660
685
|
};
|
|
661
686
|
/**
|
|
662
|
-
* Get basic information about your current API or WebAuthN user and their organization. Affords
|
|
687
|
+
* 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.
|
|
663
688
|
*
|
|
664
689
|
* Sign the provided `TGetWhoamiBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/whoami).
|
|
665
690
|
*
|
|
@@ -684,7 +709,7 @@ class TurnkeyClient {
|
|
|
684
709
|
};
|
|
685
710
|
};
|
|
686
711
|
/**
|
|
687
|
-
* Approve an
|
|
712
|
+
* Approve an activity.
|
|
688
713
|
*
|
|
689
714
|
* Sign the provided `TApproveActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/approve_activity).
|
|
690
715
|
*
|
|
@@ -709,7 +734,7 @@ class TurnkeyClient {
|
|
|
709
734
|
};
|
|
710
735
|
};
|
|
711
736
|
/**
|
|
712
|
-
* Add
|
|
737
|
+
* Add API keys to an existing user.
|
|
713
738
|
*
|
|
714
739
|
* Sign the provided `TCreateApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_api_keys).
|
|
715
740
|
*
|
|
@@ -734,7 +759,7 @@ class TurnkeyClient {
|
|
|
734
759
|
};
|
|
735
760
|
};
|
|
736
761
|
/**
|
|
737
|
-
* Create API-only
|
|
762
|
+
* Create API-only users in an existing organization.
|
|
738
763
|
*
|
|
739
764
|
* Sign the provided `TCreateApiOnlyUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_api_only_users).
|
|
740
765
|
*
|
|
@@ -759,7 +784,7 @@ class TurnkeyClient {
|
|
|
759
784
|
};
|
|
760
785
|
};
|
|
761
786
|
/**
|
|
762
|
-
* Create
|
|
787
|
+
* Create authenticators to authenticate requests to Turnkey.
|
|
763
788
|
*
|
|
764
789
|
* Sign the provided `TCreateAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_authenticators).
|
|
765
790
|
*
|
|
@@ -784,7 +809,7 @@ class TurnkeyClient {
|
|
|
784
809
|
};
|
|
785
810
|
};
|
|
786
811
|
/**
|
|
787
|
-
* Create
|
|
812
|
+
* Create invitations to join an existing organization.
|
|
788
813
|
*
|
|
789
814
|
* Sign the provided `TCreateInvitationsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_invitations).
|
|
790
815
|
*
|
|
@@ -809,7 +834,7 @@ class TurnkeyClient {
|
|
|
809
834
|
};
|
|
810
835
|
};
|
|
811
836
|
/**
|
|
812
|
-
*
|
|
837
|
+
* Create Oauth providers for a specified user.
|
|
813
838
|
*
|
|
814
839
|
* Sign the provided `TCreateOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_oauth_providers).
|
|
815
840
|
*
|
|
@@ -834,7 +859,7 @@ class TurnkeyClient {
|
|
|
834
859
|
};
|
|
835
860
|
};
|
|
836
861
|
/**
|
|
837
|
-
* Create new
|
|
862
|
+
* Create new policies.
|
|
838
863
|
*
|
|
839
864
|
* Sign the provided `TCreatePoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_policies).
|
|
840
865
|
*
|
|
@@ -859,7 +884,7 @@ class TurnkeyClient {
|
|
|
859
884
|
};
|
|
860
885
|
};
|
|
861
886
|
/**
|
|
862
|
-
* Create a new
|
|
887
|
+
* Create a new policy.
|
|
863
888
|
*
|
|
864
889
|
* Sign the provided `TCreatePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_policy).
|
|
865
890
|
*
|
|
@@ -909,7 +934,7 @@ class TurnkeyClient {
|
|
|
909
934
|
};
|
|
910
935
|
};
|
|
911
936
|
/**
|
|
912
|
-
* Create new
|
|
937
|
+
* Create new private keys.
|
|
913
938
|
*
|
|
914
939
|
* Sign the provided `TCreatePrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_private_keys).
|
|
915
940
|
*
|
|
@@ -934,7 +959,7 @@ class TurnkeyClient {
|
|
|
934
959
|
};
|
|
935
960
|
};
|
|
936
961
|
/**
|
|
937
|
-
* Create a read only session for a user (valid for 1 hour)
|
|
962
|
+
* Create a read only session for a user (valid for 1 hour).
|
|
938
963
|
*
|
|
939
964
|
* Sign the provided `TCreateReadOnlySessionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_read_only_session).
|
|
940
965
|
*
|
|
@@ -959,7 +984,7 @@ class TurnkeyClient {
|
|
|
959
984
|
};
|
|
960
985
|
};
|
|
961
986
|
/**
|
|
962
|
-
* Create a read write session for a user
|
|
987
|
+
* Create a read write session for a user.
|
|
963
988
|
*
|
|
964
989
|
* Sign the provided `TCreateReadWriteSessionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_read_write_session).
|
|
965
990
|
*
|
|
@@ -984,7 +1009,7 @@ class TurnkeyClient {
|
|
|
984
1009
|
};
|
|
985
1010
|
};
|
|
986
1011
|
/**
|
|
987
|
-
* Create an ABI/IDL in JSON
|
|
1012
|
+
* Create an ABI/IDL in JSON.
|
|
988
1013
|
*
|
|
989
1014
|
* Sign the provided `TCreateSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_smart_contract_interface).
|
|
990
1015
|
*
|
|
@@ -1009,7 +1034,7 @@ class TurnkeyClient {
|
|
|
1009
1034
|
};
|
|
1010
1035
|
};
|
|
1011
1036
|
/**
|
|
1012
|
-
* Create a new
|
|
1037
|
+
* Create a new sub-organization.
|
|
1013
1038
|
*
|
|
1014
1039
|
* Sign the provided `TCreateSubOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_sub_organization).
|
|
1015
1040
|
*
|
|
@@ -1059,7 +1084,7 @@ class TurnkeyClient {
|
|
|
1059
1084
|
};
|
|
1060
1085
|
};
|
|
1061
1086
|
/**
|
|
1062
|
-
* Create
|
|
1087
|
+
* Create users in an existing organization.
|
|
1063
1088
|
*
|
|
1064
1089
|
* Sign the provided `TCreateUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_users).
|
|
1065
1090
|
*
|
|
@@ -1084,7 +1109,7 @@ class TurnkeyClient {
|
|
|
1084
1109
|
};
|
|
1085
1110
|
};
|
|
1086
1111
|
/**
|
|
1087
|
-
* Create a
|
|
1112
|
+
* Create a wallet and derive addresses.
|
|
1088
1113
|
*
|
|
1089
1114
|
* Sign the provided `TCreateWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_wallet).
|
|
1090
1115
|
*
|
|
@@ -1109,7 +1134,7 @@ class TurnkeyClient {
|
|
|
1109
1134
|
};
|
|
1110
1135
|
};
|
|
1111
1136
|
/**
|
|
1112
|
-
* Derive additional addresses using an existing wallet
|
|
1137
|
+
* Derive additional addresses using an existing wallet.
|
|
1113
1138
|
*
|
|
1114
1139
|
* Sign the provided `TCreateWalletAccountsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_wallet_accounts).
|
|
1115
1140
|
*
|
|
@@ -1134,7 +1159,7 @@ class TurnkeyClient {
|
|
|
1134
1159
|
};
|
|
1135
1160
|
};
|
|
1136
1161
|
/**
|
|
1137
|
-
* Remove api keys from a
|
|
1162
|
+
* Remove api keys from a user.
|
|
1138
1163
|
*
|
|
1139
1164
|
* Sign the provided `TDeleteApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_api_keys).
|
|
1140
1165
|
*
|
|
@@ -1159,7 +1184,7 @@ class TurnkeyClient {
|
|
|
1159
1184
|
};
|
|
1160
1185
|
};
|
|
1161
1186
|
/**
|
|
1162
|
-
* Remove authenticators from a
|
|
1187
|
+
* Remove authenticators from a user.
|
|
1163
1188
|
*
|
|
1164
1189
|
* Sign the provided `TDeleteAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_authenticators).
|
|
1165
1190
|
*
|
|
@@ -1184,7 +1209,7 @@ class TurnkeyClient {
|
|
|
1184
1209
|
};
|
|
1185
1210
|
};
|
|
1186
1211
|
/**
|
|
1187
|
-
* Delete an existing
|
|
1212
|
+
* Delete an existing invitation.
|
|
1188
1213
|
*
|
|
1189
1214
|
* Sign the provided `TDeleteInvitationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_invitation).
|
|
1190
1215
|
*
|
|
@@ -1209,7 +1234,7 @@ class TurnkeyClient {
|
|
|
1209
1234
|
};
|
|
1210
1235
|
};
|
|
1211
1236
|
/**
|
|
1212
|
-
*
|
|
1237
|
+
* Remove Oauth providers for a specified user.
|
|
1213
1238
|
*
|
|
1214
1239
|
* Sign the provided `TDeleteOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_oauth_providers).
|
|
1215
1240
|
*
|
|
@@ -1234,7 +1259,7 @@ class TurnkeyClient {
|
|
|
1234
1259
|
};
|
|
1235
1260
|
};
|
|
1236
1261
|
/**
|
|
1237
|
-
* Delete an existing
|
|
1262
|
+
* Delete an existing policy.
|
|
1238
1263
|
*
|
|
1239
1264
|
* Sign the provided `TDeletePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_policy).
|
|
1240
1265
|
*
|
|
@@ -1259,7 +1284,7 @@ class TurnkeyClient {
|
|
|
1259
1284
|
};
|
|
1260
1285
|
};
|
|
1261
1286
|
/**
|
|
1262
|
-
* Delete
|
|
1287
|
+
* Delete private key tags within an organization.
|
|
1263
1288
|
*
|
|
1264
1289
|
* Sign the provided `TDeletePrivateKeyTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_private_key_tags).
|
|
1265
1290
|
*
|
|
@@ -1284,7 +1309,7 @@ class TurnkeyClient {
|
|
|
1284
1309
|
};
|
|
1285
1310
|
};
|
|
1286
1311
|
/**
|
|
1287
|
-
*
|
|
1312
|
+
* Delete private keys for an organization.
|
|
1288
1313
|
*
|
|
1289
1314
|
* Sign the provided `TDeletePrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_private_keys).
|
|
1290
1315
|
*
|
|
@@ -1309,7 +1334,7 @@ class TurnkeyClient {
|
|
|
1309
1334
|
};
|
|
1310
1335
|
};
|
|
1311
1336
|
/**
|
|
1312
|
-
* Delete a
|
|
1337
|
+
* Delete a smart contract interface.
|
|
1313
1338
|
*
|
|
1314
1339
|
* Sign the provided `TDeleteSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_smart_contract_interface).
|
|
1315
1340
|
*
|
|
@@ -1334,7 +1359,7 @@ class TurnkeyClient {
|
|
|
1334
1359
|
};
|
|
1335
1360
|
};
|
|
1336
1361
|
/**
|
|
1337
|
-
*
|
|
1362
|
+
* Delete a sub-organization.
|
|
1338
1363
|
*
|
|
1339
1364
|
* Sign the provided `TDeleteSubOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_sub_organization).
|
|
1340
1365
|
*
|
|
@@ -1359,7 +1384,7 @@ class TurnkeyClient {
|
|
|
1359
1384
|
};
|
|
1360
1385
|
};
|
|
1361
1386
|
/**
|
|
1362
|
-
* Delete
|
|
1387
|
+
* Delete user tags within an organization.
|
|
1363
1388
|
*
|
|
1364
1389
|
* Sign the provided `TDeleteUserTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_user_tags).
|
|
1365
1390
|
*
|
|
@@ -1384,7 +1409,7 @@ class TurnkeyClient {
|
|
|
1384
1409
|
};
|
|
1385
1410
|
};
|
|
1386
1411
|
/**
|
|
1387
|
-
* Delete
|
|
1412
|
+
* Delete users within an organization.
|
|
1388
1413
|
*
|
|
1389
1414
|
* Sign the provided `TDeleteUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_users).
|
|
1390
1415
|
*
|
|
@@ -1409,7 +1434,7 @@ class TurnkeyClient {
|
|
|
1409
1434
|
};
|
|
1410
1435
|
};
|
|
1411
1436
|
/**
|
|
1412
|
-
*
|
|
1437
|
+
* Delete wallets for an organization.
|
|
1413
1438
|
*
|
|
1414
1439
|
* Sign the provided `TDeleteWalletsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_wallets).
|
|
1415
1440
|
*
|
|
@@ -1434,7 +1459,7 @@ class TurnkeyClient {
|
|
|
1434
1459
|
};
|
|
1435
1460
|
};
|
|
1436
1461
|
/**
|
|
1437
|
-
* Authenticate a user via
|
|
1462
|
+
* Authenticate a user via email.
|
|
1438
1463
|
*
|
|
1439
1464
|
* Sign the provided `TEmailAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/email_auth).
|
|
1440
1465
|
*
|
|
@@ -1459,7 +1484,7 @@ class TurnkeyClient {
|
|
|
1459
1484
|
};
|
|
1460
1485
|
};
|
|
1461
1486
|
/**
|
|
1462
|
-
*
|
|
1487
|
+
* Export a private key.
|
|
1463
1488
|
*
|
|
1464
1489
|
* Sign the provided `TExportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_private_key).
|
|
1465
1490
|
*
|
|
@@ -1484,7 +1509,7 @@ class TurnkeyClient {
|
|
|
1484
1509
|
};
|
|
1485
1510
|
};
|
|
1486
1511
|
/**
|
|
1487
|
-
*
|
|
1512
|
+
* Export a wallet.
|
|
1488
1513
|
*
|
|
1489
1514
|
* Sign the provided `TExportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_wallet).
|
|
1490
1515
|
*
|
|
@@ -1509,7 +1534,7 @@ class TurnkeyClient {
|
|
|
1509
1534
|
};
|
|
1510
1535
|
};
|
|
1511
1536
|
/**
|
|
1512
|
-
*
|
|
1537
|
+
* Export a wallet account.
|
|
1513
1538
|
*
|
|
1514
1539
|
* Sign the provided `TExportWalletAccountBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_wallet_account).
|
|
1515
1540
|
*
|
|
@@ -1534,7 +1559,7 @@ class TurnkeyClient {
|
|
|
1534
1559
|
};
|
|
1535
1560
|
};
|
|
1536
1561
|
/**
|
|
1537
|
-
*
|
|
1562
|
+
* Import a private key.
|
|
1538
1563
|
*
|
|
1539
1564
|
* Sign the provided `TImportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/import_private_key).
|
|
1540
1565
|
*
|
|
@@ -1559,7 +1584,7 @@ class TurnkeyClient {
|
|
|
1559
1584
|
};
|
|
1560
1585
|
};
|
|
1561
1586
|
/**
|
|
1562
|
-
*
|
|
1587
|
+
* Import a wallet.
|
|
1563
1588
|
*
|
|
1564
1589
|
* Sign the provided `TImportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/import_wallet).
|
|
1565
1590
|
*
|
|
@@ -1584,7 +1609,7 @@ class TurnkeyClient {
|
|
|
1584
1609
|
};
|
|
1585
1610
|
};
|
|
1586
1611
|
/**
|
|
1587
|
-
* Initiate a fiat on ramp flow
|
|
1612
|
+
* Initiate a fiat on ramp flow.
|
|
1588
1613
|
*
|
|
1589
1614
|
* Sign the provided `TInitFiatOnRampBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_fiat_on_ramp).
|
|
1590
1615
|
*
|
|
@@ -1609,7 +1634,7 @@ class TurnkeyClient {
|
|
|
1609
1634
|
};
|
|
1610
1635
|
};
|
|
1611
1636
|
/**
|
|
1612
|
-
*
|
|
1637
|
+
* Initialize a new private key import.
|
|
1613
1638
|
*
|
|
1614
1639
|
* Sign the provided `TInitImportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_import_private_key).
|
|
1615
1640
|
*
|
|
@@ -1634,7 +1659,7 @@ class TurnkeyClient {
|
|
|
1634
1659
|
};
|
|
1635
1660
|
};
|
|
1636
1661
|
/**
|
|
1637
|
-
*
|
|
1662
|
+
* Initialize a new wallet import.
|
|
1638
1663
|
*
|
|
1639
1664
|
* Sign the provided `TInitImportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_import_wallet).
|
|
1640
1665
|
*
|
|
@@ -1659,7 +1684,7 @@ class TurnkeyClient {
|
|
|
1659
1684
|
};
|
|
1660
1685
|
};
|
|
1661
1686
|
/**
|
|
1662
|
-
* Initiate a
|
|
1687
|
+
* Initiate a generic OTP activity.
|
|
1663
1688
|
*
|
|
1664
1689
|
* Sign the provided `TInitOtpBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_otp).
|
|
1665
1690
|
*
|
|
@@ -1684,7 +1709,7 @@ class TurnkeyClient {
|
|
|
1684
1709
|
};
|
|
1685
1710
|
};
|
|
1686
1711
|
/**
|
|
1687
|
-
* Initiate an OTP auth activity
|
|
1712
|
+
* Initiate an OTP auth activity.
|
|
1688
1713
|
*
|
|
1689
1714
|
* Sign the provided `TInitOtpAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_otp_auth).
|
|
1690
1715
|
*
|
|
@@ -1709,7 +1734,7 @@ class TurnkeyClient {
|
|
|
1709
1734
|
};
|
|
1710
1735
|
};
|
|
1711
1736
|
/**
|
|
1712
|
-
*
|
|
1737
|
+
* Initialize a new email recovery.
|
|
1713
1738
|
*
|
|
1714
1739
|
* Sign the provided `TInitUserEmailRecoveryBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_user_email_recovery).
|
|
1715
1740
|
*
|
|
@@ -1734,7 +1759,7 @@ class TurnkeyClient {
|
|
|
1734
1759
|
};
|
|
1735
1760
|
};
|
|
1736
1761
|
/**
|
|
1737
|
-
* Authenticate a user with an
|
|
1762
|
+
* Authenticate a user with an OIDC token (Oauth).
|
|
1738
1763
|
*
|
|
1739
1764
|
* Sign the provided `TOauthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/oauth).
|
|
1740
1765
|
*
|
|
@@ -1759,7 +1784,7 @@ class TurnkeyClient {
|
|
|
1759
1784
|
};
|
|
1760
1785
|
};
|
|
1761
1786
|
/**
|
|
1762
|
-
* Create an Oauth session for a user
|
|
1787
|
+
* Create an Oauth session for a user.
|
|
1763
1788
|
*
|
|
1764
1789
|
* Sign the provided `TOauthLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/oauth_login).
|
|
1765
1790
|
*
|
|
@@ -1784,7 +1809,7 @@ class TurnkeyClient {
|
|
|
1784
1809
|
};
|
|
1785
1810
|
};
|
|
1786
1811
|
/**
|
|
1787
|
-
* Authenticate a user with an OTP code sent via email or SMS
|
|
1812
|
+
* Authenticate a user with an OTP code sent via email or SMS.
|
|
1788
1813
|
*
|
|
1789
1814
|
* Sign the provided `TOtpAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/otp_auth).
|
|
1790
1815
|
*
|
|
@@ -1809,7 +1834,7 @@ class TurnkeyClient {
|
|
|
1809
1834
|
};
|
|
1810
1835
|
};
|
|
1811
1836
|
/**
|
|
1812
|
-
* Create an OTP session for a user
|
|
1837
|
+
* Create an OTP session for a user.
|
|
1813
1838
|
*
|
|
1814
1839
|
* Sign the provided `TOtpLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/otp_login).
|
|
1815
1840
|
*
|
|
@@ -1834,7 +1859,7 @@ class TurnkeyClient {
|
|
|
1834
1859
|
};
|
|
1835
1860
|
};
|
|
1836
1861
|
/**
|
|
1837
|
-
*
|
|
1862
|
+
* Complete the process of recovering a user by adding an authenticator.
|
|
1838
1863
|
*
|
|
1839
1864
|
* Sign the provided `TRecoverUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/recover_user).
|
|
1840
1865
|
*
|
|
@@ -1859,7 +1884,7 @@ class TurnkeyClient {
|
|
|
1859
1884
|
};
|
|
1860
1885
|
};
|
|
1861
1886
|
/**
|
|
1862
|
-
* Reject an
|
|
1887
|
+
* Reject an activity.
|
|
1863
1888
|
*
|
|
1864
1889
|
* Sign the provided `TRejectActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/reject_activity).
|
|
1865
1890
|
*
|
|
@@ -1884,7 +1909,7 @@ class TurnkeyClient {
|
|
|
1884
1909
|
};
|
|
1885
1910
|
};
|
|
1886
1911
|
/**
|
|
1887
|
-
*
|
|
1912
|
+
* Remove an organization feature. This activity must be approved by the current root quorum.
|
|
1888
1913
|
*
|
|
1889
1914
|
* Sign the provided `TRemoveOrganizationFeatureBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/remove_organization_feature).
|
|
1890
1915
|
*
|
|
@@ -1909,7 +1934,7 @@ class TurnkeyClient {
|
|
|
1909
1934
|
};
|
|
1910
1935
|
};
|
|
1911
1936
|
/**
|
|
1912
|
-
*
|
|
1937
|
+
* Set an organization feature. This activity must be approved by the current root quorum.
|
|
1913
1938
|
*
|
|
1914
1939
|
* Sign the provided `TSetOrganizationFeatureBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/set_organization_feature).
|
|
1915
1940
|
*
|
|
@@ -1934,7 +1959,7 @@ class TurnkeyClient {
|
|
|
1934
1959
|
};
|
|
1935
1960
|
};
|
|
1936
1961
|
/**
|
|
1937
|
-
* Sign a raw payload
|
|
1962
|
+
* Sign a raw payload.
|
|
1938
1963
|
*
|
|
1939
1964
|
* Sign the provided `TSignRawPayloadBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_raw_payload).
|
|
1940
1965
|
*
|
|
@@ -1959,7 +1984,7 @@ class TurnkeyClient {
|
|
|
1959
1984
|
};
|
|
1960
1985
|
};
|
|
1961
1986
|
/**
|
|
1962
|
-
* Sign multiple raw payloads with the same signing parameters
|
|
1987
|
+
* Sign multiple raw payloads with the same signing parameters.
|
|
1963
1988
|
*
|
|
1964
1989
|
* Sign the provided `TSignRawPayloadsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_raw_payloads).
|
|
1965
1990
|
*
|
|
@@ -1984,7 +2009,7 @@ class TurnkeyClient {
|
|
|
1984
2009
|
};
|
|
1985
2010
|
};
|
|
1986
2011
|
/**
|
|
1987
|
-
* Sign a transaction
|
|
2012
|
+
* Sign a transaction.
|
|
1988
2013
|
*
|
|
1989
2014
|
* Sign the provided `TSignTransactionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_transaction).
|
|
1990
2015
|
*
|
|
@@ -2009,7 +2034,7 @@ class TurnkeyClient {
|
|
|
2009
2034
|
};
|
|
2010
2035
|
};
|
|
2011
2036
|
/**
|
|
2012
|
-
* Create a session for a user through stamping client side (
|
|
2037
|
+
* Create a session for a user through stamping client side (API key, wallet client, or passkey client).
|
|
2013
2038
|
*
|
|
2014
2039
|
* Sign the provided `TStampLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/stamp_login).
|
|
2015
2040
|
*
|
|
@@ -2034,7 +2059,7 @@ class TurnkeyClient {
|
|
|
2034
2059
|
};
|
|
2035
2060
|
};
|
|
2036
2061
|
/**
|
|
2037
|
-
* Update an existing
|
|
2062
|
+
* Update an existing policy.
|
|
2038
2063
|
*
|
|
2039
2064
|
* Sign the provided `TUpdatePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_policy).
|
|
2040
2065
|
*
|
|
@@ -2109,7 +2134,7 @@ class TurnkeyClient {
|
|
|
2109
2134
|
};
|
|
2110
2135
|
};
|
|
2111
2136
|
/**
|
|
2112
|
-
* Update a
|
|
2137
|
+
* Update a user in an existing organization.
|
|
2113
2138
|
*
|
|
2114
2139
|
* Sign the provided `TUpdateUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user).
|
|
2115
2140
|
*
|
|
@@ -2134,7 +2159,7 @@ class TurnkeyClient {
|
|
|
2134
2159
|
};
|
|
2135
2160
|
};
|
|
2136
2161
|
/**
|
|
2137
|
-
* Update a
|
|
2162
|
+
* Update a user's email in an existing organization.
|
|
2138
2163
|
*
|
|
2139
2164
|
* Sign the provided `TUpdateUserEmailBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_email).
|
|
2140
2165
|
*
|
|
@@ -2159,7 +2184,7 @@ class TurnkeyClient {
|
|
|
2159
2184
|
};
|
|
2160
2185
|
};
|
|
2161
2186
|
/**
|
|
2162
|
-
* Update a
|
|
2187
|
+
* Update a user's name in an existing organization.
|
|
2163
2188
|
*
|
|
2164
2189
|
* Sign the provided `TUpdateUserNameBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_name).
|
|
2165
2190
|
*
|
|
@@ -2184,7 +2209,7 @@ class TurnkeyClient {
|
|
|
2184
2209
|
};
|
|
2185
2210
|
};
|
|
2186
2211
|
/**
|
|
2187
|
-
* Update a
|
|
2212
|
+
* Update a user's phone number in an existing organization.
|
|
2188
2213
|
*
|
|
2189
2214
|
* Sign the provided `TUpdateUserPhoneNumberBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_phone_number).
|
|
2190
2215
|
*
|
|
@@ -2234,7 +2259,7 @@ class TurnkeyClient {
|
|
|
2234
2259
|
};
|
|
2235
2260
|
};
|
|
2236
2261
|
/**
|
|
2237
|
-
* Update a wallet for an organization
|
|
2262
|
+
* Update a wallet for an organization.
|
|
2238
2263
|
*
|
|
2239
2264
|
* Sign the provided `TUpdateWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_wallet).
|
|
2240
2265
|
*
|
|
@@ -2259,7 +2284,7 @@ class TurnkeyClient {
|
|
|
2259
2284
|
};
|
|
2260
2285
|
};
|
|
2261
2286
|
/**
|
|
2262
|
-
* Verify a
|
|
2287
|
+
* Verify a generic OTP.
|
|
2263
2288
|
*
|
|
2264
2289
|
* Sign the provided `TVerifyOtpBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/verify_otp).
|
|
2265
2290
|
*
|
|
@@ -2284,7 +2309,7 @@ class TurnkeyClient {
|
|
|
2284
2309
|
};
|
|
2285
2310
|
};
|
|
2286
2311
|
/**
|
|
2287
|
-
* Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite
|
|
2312
|
+
* Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.
|
|
2288
2313
|
*
|
|
2289
2314
|
* Sign the provided `TTestRateLimitsBody` with the client's `stamp` function, and submit the request (POST /tkhq/api/v1/test_rate_limits).
|
|
2290
2315
|
*
|