@turnkey/http 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +155 -80
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +205 -80
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +205 -80
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +5767 -1921
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +277 -157
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +268 -158
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +457 -228
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +4 -4
|
@@ -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,32 @@ class TurnkeyClient {
|
|
|
284
309
|
};
|
|
285
310
|
};
|
|
286
311
|
/**
|
|
287
|
-
* Get details about a
|
|
312
|
+
* Get details about a smart contract interface.
|
|
313
|
+
*
|
|
314
|
+
* Sign the provided `TGetSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_smart_contract_interface).
|
|
315
|
+
*
|
|
316
|
+
* See also {@link stampGetSmartContractInterface}.
|
|
317
|
+
*/
|
|
318
|
+
this.getSmartContractInterface = async (input) => {
|
|
319
|
+
return this.request("/public/v1/query/get_smart_contract_interface", input);
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Produce a `SignedRequest` from `TGetSmartContractInterfaceBody` by using the client's `stamp` function.
|
|
323
|
+
*
|
|
324
|
+
* See also {@link GetSmartContractInterface}.
|
|
325
|
+
*/
|
|
326
|
+
this.stampGetSmartContractInterface = async (input) => {
|
|
327
|
+
const fullUrl = this.config.baseUrl + "/public/v1/query/get_smart_contract_interface";
|
|
328
|
+
const body = JSON.stringify(input);
|
|
329
|
+
const stamp = await this.stamper.stamp(body);
|
|
330
|
+
return {
|
|
331
|
+
body: body,
|
|
332
|
+
stamp: stamp,
|
|
333
|
+
url: fullUrl,
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* Get details about a user.
|
|
288
338
|
*
|
|
289
339
|
* Sign the provided `TGetUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_user).
|
|
290
340
|
*
|
|
@@ -309,7 +359,7 @@ class TurnkeyClient {
|
|
|
309
359
|
};
|
|
310
360
|
};
|
|
311
361
|
/**
|
|
312
|
-
* Get details about a
|
|
362
|
+
* Get details about a wallet.
|
|
313
363
|
*
|
|
314
364
|
* Sign the provided `TGetWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet).
|
|
315
365
|
*
|
|
@@ -334,7 +384,7 @@ class TurnkeyClient {
|
|
|
334
384
|
};
|
|
335
385
|
};
|
|
336
386
|
/**
|
|
337
|
-
* Get a single wallet account
|
|
387
|
+
* Get a single wallet account.
|
|
338
388
|
*
|
|
339
389
|
* Sign the provided `TGetWalletAccountBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet_account).
|
|
340
390
|
*
|
|
@@ -359,7 +409,7 @@ class TurnkeyClient {
|
|
|
359
409
|
};
|
|
360
410
|
};
|
|
361
411
|
/**
|
|
362
|
-
* List all
|
|
412
|
+
* List all activities within an organization.
|
|
363
413
|
*
|
|
364
414
|
* Sign the provided `TGetActivitiesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_activities).
|
|
365
415
|
*
|
|
@@ -384,7 +434,7 @@ class TurnkeyClient {
|
|
|
384
434
|
};
|
|
385
435
|
};
|
|
386
436
|
/**
|
|
387
|
-
* List all
|
|
437
|
+
* List all policies within an organization.
|
|
388
438
|
*
|
|
389
439
|
* Sign the provided `TGetPoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_policies).
|
|
390
440
|
*
|
|
@@ -409,7 +459,7 @@ class TurnkeyClient {
|
|
|
409
459
|
};
|
|
410
460
|
};
|
|
411
461
|
/**
|
|
412
|
-
* List all
|
|
462
|
+
* List all private key tags within an organization.
|
|
413
463
|
*
|
|
414
464
|
* Sign the provided `TListPrivateKeyTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_private_key_tags).
|
|
415
465
|
*
|
|
@@ -434,7 +484,7 @@ class TurnkeyClient {
|
|
|
434
484
|
};
|
|
435
485
|
};
|
|
436
486
|
/**
|
|
437
|
-
* List all
|
|
487
|
+
* List all private keys within an organization.
|
|
438
488
|
*
|
|
439
489
|
* Sign the provided `TGetPrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_private_keys).
|
|
440
490
|
*
|
|
@@ -458,6 +508,31 @@ class TurnkeyClient {
|
|
|
458
508
|
url: fullUrl,
|
|
459
509
|
};
|
|
460
510
|
};
|
|
511
|
+
/**
|
|
512
|
+
* List all smart contract interfaces within an organization.
|
|
513
|
+
*
|
|
514
|
+
* Sign the provided `TGetSmartContractInterfacesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_smart_contract_interfaces).
|
|
515
|
+
*
|
|
516
|
+
* See also {@link stampGetSmartContractInterfaces}.
|
|
517
|
+
*/
|
|
518
|
+
this.getSmartContractInterfaces = async (input) => {
|
|
519
|
+
return this.request("/public/v1/query/list_smart_contract_interfaces", input);
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Produce a `SignedRequest` from `TGetSmartContractInterfacesBody` by using the client's `stamp` function.
|
|
523
|
+
*
|
|
524
|
+
* See also {@link GetSmartContractInterfaces}.
|
|
525
|
+
*/
|
|
526
|
+
this.stampGetSmartContractInterfaces = async (input) => {
|
|
527
|
+
const fullUrl = this.config.baseUrl + "/public/v1/query/list_smart_contract_interfaces";
|
|
528
|
+
const body = JSON.stringify(input);
|
|
529
|
+
const stamp = await this.stamper.stamp(body);
|
|
530
|
+
return {
|
|
531
|
+
body: body,
|
|
532
|
+
stamp: stamp,
|
|
533
|
+
url: fullUrl,
|
|
534
|
+
};
|
|
535
|
+
};
|
|
461
536
|
/**
|
|
462
537
|
* Get all suborg IDs associated given a parent org ID and an optional filter.
|
|
463
538
|
*
|
|
@@ -484,7 +559,7 @@ class TurnkeyClient {
|
|
|
484
559
|
};
|
|
485
560
|
};
|
|
486
561
|
/**
|
|
487
|
-
* List all
|
|
562
|
+
* List all user tags within an organization.
|
|
488
563
|
*
|
|
489
564
|
* Sign the provided `TListUserTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_user_tags).
|
|
490
565
|
*
|
|
@@ -509,7 +584,7 @@ class TurnkeyClient {
|
|
|
509
584
|
};
|
|
510
585
|
};
|
|
511
586
|
/**
|
|
512
|
-
* List all
|
|
587
|
+
* List all users within an organization.
|
|
513
588
|
*
|
|
514
589
|
* Sign the provided `TGetUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_users).
|
|
515
590
|
*
|
|
@@ -559,7 +634,7 @@ class TurnkeyClient {
|
|
|
559
634
|
};
|
|
560
635
|
};
|
|
561
636
|
/**
|
|
562
|
-
* List all
|
|
637
|
+
* List all accounts within a wallet.
|
|
563
638
|
*
|
|
564
639
|
* Sign the provided `TGetWalletAccountsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_wallet_accounts).
|
|
565
640
|
*
|
|
@@ -584,7 +659,7 @@ class TurnkeyClient {
|
|
|
584
659
|
};
|
|
585
660
|
};
|
|
586
661
|
/**
|
|
587
|
-
* List all
|
|
662
|
+
* List all wallets within an organization.
|
|
588
663
|
*
|
|
589
664
|
* Sign the provided `TGetWalletsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_wallets).
|
|
590
665
|
*
|
|
@@ -609,7 +684,7 @@ class TurnkeyClient {
|
|
|
609
684
|
};
|
|
610
685
|
};
|
|
611
686
|
/**
|
|
612
|
-
* 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.
|
|
613
688
|
*
|
|
614
689
|
* Sign the provided `TGetWhoamiBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/whoami).
|
|
615
690
|
*
|
|
@@ -634,7 +709,7 @@ class TurnkeyClient {
|
|
|
634
709
|
};
|
|
635
710
|
};
|
|
636
711
|
/**
|
|
637
|
-
* Approve an
|
|
712
|
+
* Approve an activity.
|
|
638
713
|
*
|
|
639
714
|
* Sign the provided `TApproveActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/approve_activity).
|
|
640
715
|
*
|
|
@@ -659,7 +734,7 @@ class TurnkeyClient {
|
|
|
659
734
|
};
|
|
660
735
|
};
|
|
661
736
|
/**
|
|
662
|
-
* Add
|
|
737
|
+
* Add API keys to an existing user.
|
|
663
738
|
*
|
|
664
739
|
* Sign the provided `TCreateApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_api_keys).
|
|
665
740
|
*
|
|
@@ -684,7 +759,7 @@ class TurnkeyClient {
|
|
|
684
759
|
};
|
|
685
760
|
};
|
|
686
761
|
/**
|
|
687
|
-
* Create API-only
|
|
762
|
+
* Create API-only users in an existing organization.
|
|
688
763
|
*
|
|
689
764
|
* Sign the provided `TCreateApiOnlyUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_api_only_users).
|
|
690
765
|
*
|
|
@@ -709,7 +784,7 @@ class TurnkeyClient {
|
|
|
709
784
|
};
|
|
710
785
|
};
|
|
711
786
|
/**
|
|
712
|
-
* Create
|
|
787
|
+
* Create authenticators to authenticate requests to Turnkey.
|
|
713
788
|
*
|
|
714
789
|
* Sign the provided `TCreateAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_authenticators).
|
|
715
790
|
*
|
|
@@ -734,7 +809,7 @@ class TurnkeyClient {
|
|
|
734
809
|
};
|
|
735
810
|
};
|
|
736
811
|
/**
|
|
737
|
-
* Create
|
|
812
|
+
* Create invitations to join an existing organization.
|
|
738
813
|
*
|
|
739
814
|
* Sign the provided `TCreateInvitationsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_invitations).
|
|
740
815
|
*
|
|
@@ -759,7 +834,7 @@ class TurnkeyClient {
|
|
|
759
834
|
};
|
|
760
835
|
};
|
|
761
836
|
/**
|
|
762
|
-
*
|
|
837
|
+
* Create Oauth providers for a specified user.
|
|
763
838
|
*
|
|
764
839
|
* Sign the provided `TCreateOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_oauth_providers).
|
|
765
840
|
*
|
|
@@ -784,7 +859,7 @@ class TurnkeyClient {
|
|
|
784
859
|
};
|
|
785
860
|
};
|
|
786
861
|
/**
|
|
787
|
-
* Create new
|
|
862
|
+
* Create new policies.
|
|
788
863
|
*
|
|
789
864
|
* Sign the provided `TCreatePoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_policies).
|
|
790
865
|
*
|
|
@@ -809,7 +884,7 @@ class TurnkeyClient {
|
|
|
809
884
|
};
|
|
810
885
|
};
|
|
811
886
|
/**
|
|
812
|
-
* Create a new
|
|
887
|
+
* Create a new policy.
|
|
813
888
|
*
|
|
814
889
|
* Sign the provided `TCreatePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_policy).
|
|
815
890
|
*
|
|
@@ -859,7 +934,7 @@ class TurnkeyClient {
|
|
|
859
934
|
};
|
|
860
935
|
};
|
|
861
936
|
/**
|
|
862
|
-
* Create new
|
|
937
|
+
* Create new private keys.
|
|
863
938
|
*
|
|
864
939
|
* Sign the provided `TCreatePrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_private_keys).
|
|
865
940
|
*
|
|
@@ -884,7 +959,7 @@ class TurnkeyClient {
|
|
|
884
959
|
};
|
|
885
960
|
};
|
|
886
961
|
/**
|
|
887
|
-
* 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).
|
|
888
963
|
*
|
|
889
964
|
* Sign the provided `TCreateReadOnlySessionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_read_only_session).
|
|
890
965
|
*
|
|
@@ -909,7 +984,7 @@ class TurnkeyClient {
|
|
|
909
984
|
};
|
|
910
985
|
};
|
|
911
986
|
/**
|
|
912
|
-
* Create a read write session for a user
|
|
987
|
+
* Create a read write session for a user.
|
|
913
988
|
*
|
|
914
989
|
* Sign the provided `TCreateReadWriteSessionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_read_write_session).
|
|
915
990
|
*
|
|
@@ -934,7 +1009,32 @@ class TurnkeyClient {
|
|
|
934
1009
|
};
|
|
935
1010
|
};
|
|
936
1011
|
/**
|
|
937
|
-
* Create
|
|
1012
|
+
* Create an ABI/IDL in JSON.
|
|
1013
|
+
*
|
|
1014
|
+
* Sign the provided `TCreateSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_smart_contract_interface).
|
|
1015
|
+
*
|
|
1016
|
+
* See also {@link stampCreateSmartContractInterface}.
|
|
1017
|
+
*/
|
|
1018
|
+
this.createSmartContractInterface = async (input) => {
|
|
1019
|
+
return this.request("/public/v1/submit/create_smart_contract_interface", input);
|
|
1020
|
+
};
|
|
1021
|
+
/**
|
|
1022
|
+
* Produce a `SignedRequest` from `TCreateSmartContractInterfaceBody` by using the client's `stamp` function.
|
|
1023
|
+
*
|
|
1024
|
+
* See also {@link CreateSmartContractInterface}.
|
|
1025
|
+
*/
|
|
1026
|
+
this.stampCreateSmartContractInterface = async (input) => {
|
|
1027
|
+
const fullUrl = this.config.baseUrl + "/public/v1/submit/create_smart_contract_interface";
|
|
1028
|
+
const body = JSON.stringify(input);
|
|
1029
|
+
const stamp = await this.stamper.stamp(body);
|
|
1030
|
+
return {
|
|
1031
|
+
body: body,
|
|
1032
|
+
stamp: stamp,
|
|
1033
|
+
url: fullUrl,
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
/**
|
|
1037
|
+
* Create a new sub-organization.
|
|
938
1038
|
*
|
|
939
1039
|
* Sign the provided `TCreateSubOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_sub_organization).
|
|
940
1040
|
*
|
|
@@ -984,7 +1084,7 @@ class TurnkeyClient {
|
|
|
984
1084
|
};
|
|
985
1085
|
};
|
|
986
1086
|
/**
|
|
987
|
-
* Create
|
|
1087
|
+
* Create users in an existing organization.
|
|
988
1088
|
*
|
|
989
1089
|
* Sign the provided `TCreateUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_users).
|
|
990
1090
|
*
|
|
@@ -1009,7 +1109,7 @@ class TurnkeyClient {
|
|
|
1009
1109
|
};
|
|
1010
1110
|
};
|
|
1011
1111
|
/**
|
|
1012
|
-
* Create a
|
|
1112
|
+
* Create a wallet and derive addresses.
|
|
1013
1113
|
*
|
|
1014
1114
|
* Sign the provided `TCreateWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_wallet).
|
|
1015
1115
|
*
|
|
@@ -1034,7 +1134,7 @@ class TurnkeyClient {
|
|
|
1034
1134
|
};
|
|
1035
1135
|
};
|
|
1036
1136
|
/**
|
|
1037
|
-
* Derive additional addresses using an existing wallet
|
|
1137
|
+
* Derive additional addresses using an existing wallet.
|
|
1038
1138
|
*
|
|
1039
1139
|
* Sign the provided `TCreateWalletAccountsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_wallet_accounts).
|
|
1040
1140
|
*
|
|
@@ -1059,7 +1159,7 @@ class TurnkeyClient {
|
|
|
1059
1159
|
};
|
|
1060
1160
|
};
|
|
1061
1161
|
/**
|
|
1062
|
-
* Remove api keys from a
|
|
1162
|
+
* Remove api keys from a user.
|
|
1063
1163
|
*
|
|
1064
1164
|
* Sign the provided `TDeleteApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_api_keys).
|
|
1065
1165
|
*
|
|
@@ -1084,7 +1184,7 @@ class TurnkeyClient {
|
|
|
1084
1184
|
};
|
|
1085
1185
|
};
|
|
1086
1186
|
/**
|
|
1087
|
-
* Remove authenticators from a
|
|
1187
|
+
* Remove authenticators from a user.
|
|
1088
1188
|
*
|
|
1089
1189
|
* Sign the provided `TDeleteAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_authenticators).
|
|
1090
1190
|
*
|
|
@@ -1109,7 +1209,7 @@ class TurnkeyClient {
|
|
|
1109
1209
|
};
|
|
1110
1210
|
};
|
|
1111
1211
|
/**
|
|
1112
|
-
* Delete an existing
|
|
1212
|
+
* Delete an existing invitation.
|
|
1113
1213
|
*
|
|
1114
1214
|
* Sign the provided `TDeleteInvitationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_invitation).
|
|
1115
1215
|
*
|
|
@@ -1134,7 +1234,7 @@ class TurnkeyClient {
|
|
|
1134
1234
|
};
|
|
1135
1235
|
};
|
|
1136
1236
|
/**
|
|
1137
|
-
*
|
|
1237
|
+
* Remove Oauth providers for a specified user.
|
|
1138
1238
|
*
|
|
1139
1239
|
* Sign the provided `TDeleteOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_oauth_providers).
|
|
1140
1240
|
*
|
|
@@ -1159,7 +1259,7 @@ class TurnkeyClient {
|
|
|
1159
1259
|
};
|
|
1160
1260
|
};
|
|
1161
1261
|
/**
|
|
1162
|
-
* Delete an existing
|
|
1262
|
+
* Delete an existing policy.
|
|
1163
1263
|
*
|
|
1164
1264
|
* Sign the provided `TDeletePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_policy).
|
|
1165
1265
|
*
|
|
@@ -1184,7 +1284,7 @@ class TurnkeyClient {
|
|
|
1184
1284
|
};
|
|
1185
1285
|
};
|
|
1186
1286
|
/**
|
|
1187
|
-
* Delete
|
|
1287
|
+
* Delete private key tags within an organization.
|
|
1188
1288
|
*
|
|
1189
1289
|
* Sign the provided `TDeletePrivateKeyTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_private_key_tags).
|
|
1190
1290
|
*
|
|
@@ -1209,7 +1309,7 @@ class TurnkeyClient {
|
|
|
1209
1309
|
};
|
|
1210
1310
|
};
|
|
1211
1311
|
/**
|
|
1212
|
-
*
|
|
1312
|
+
* Delete private keys for an organization.
|
|
1213
1313
|
*
|
|
1214
1314
|
* Sign the provided `TDeletePrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_private_keys).
|
|
1215
1315
|
*
|
|
@@ -1234,7 +1334,32 @@ class TurnkeyClient {
|
|
|
1234
1334
|
};
|
|
1235
1335
|
};
|
|
1236
1336
|
/**
|
|
1237
|
-
*
|
|
1337
|
+
* Delete a smart contract interface.
|
|
1338
|
+
*
|
|
1339
|
+
* Sign the provided `TDeleteSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_smart_contract_interface).
|
|
1340
|
+
*
|
|
1341
|
+
* See also {@link stampDeleteSmartContractInterface}.
|
|
1342
|
+
*/
|
|
1343
|
+
this.deleteSmartContractInterface = async (input) => {
|
|
1344
|
+
return this.request("/public/v1/submit/delete_smart_contract_interface", input);
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* Produce a `SignedRequest` from `TDeleteSmartContractInterfaceBody` by using the client's `stamp` function.
|
|
1348
|
+
*
|
|
1349
|
+
* See also {@link DeleteSmartContractInterface}.
|
|
1350
|
+
*/
|
|
1351
|
+
this.stampDeleteSmartContractInterface = async (input) => {
|
|
1352
|
+
const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_smart_contract_interface";
|
|
1353
|
+
const body = JSON.stringify(input);
|
|
1354
|
+
const stamp = await this.stamper.stamp(body);
|
|
1355
|
+
return {
|
|
1356
|
+
body: body,
|
|
1357
|
+
stamp: stamp,
|
|
1358
|
+
url: fullUrl,
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
/**
|
|
1362
|
+
* Delete a sub-organization.
|
|
1238
1363
|
*
|
|
1239
1364
|
* Sign the provided `TDeleteSubOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_sub_organization).
|
|
1240
1365
|
*
|
|
@@ -1259,7 +1384,7 @@ class TurnkeyClient {
|
|
|
1259
1384
|
};
|
|
1260
1385
|
};
|
|
1261
1386
|
/**
|
|
1262
|
-
* Delete
|
|
1387
|
+
* Delete user tags within an organization.
|
|
1263
1388
|
*
|
|
1264
1389
|
* Sign the provided `TDeleteUserTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_user_tags).
|
|
1265
1390
|
*
|
|
@@ -1284,7 +1409,7 @@ class TurnkeyClient {
|
|
|
1284
1409
|
};
|
|
1285
1410
|
};
|
|
1286
1411
|
/**
|
|
1287
|
-
* Delete
|
|
1412
|
+
* Delete users within an organization.
|
|
1288
1413
|
*
|
|
1289
1414
|
* Sign the provided `TDeleteUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_users).
|
|
1290
1415
|
*
|
|
@@ -1309,7 +1434,7 @@ class TurnkeyClient {
|
|
|
1309
1434
|
};
|
|
1310
1435
|
};
|
|
1311
1436
|
/**
|
|
1312
|
-
*
|
|
1437
|
+
* Delete wallets for an organization.
|
|
1313
1438
|
*
|
|
1314
1439
|
* Sign the provided `TDeleteWalletsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_wallets).
|
|
1315
1440
|
*
|
|
@@ -1334,7 +1459,7 @@ class TurnkeyClient {
|
|
|
1334
1459
|
};
|
|
1335
1460
|
};
|
|
1336
1461
|
/**
|
|
1337
|
-
* Authenticate a user via
|
|
1462
|
+
* Authenticate a user via email.
|
|
1338
1463
|
*
|
|
1339
1464
|
* Sign the provided `TEmailAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/email_auth).
|
|
1340
1465
|
*
|
|
@@ -1359,7 +1484,7 @@ class TurnkeyClient {
|
|
|
1359
1484
|
};
|
|
1360
1485
|
};
|
|
1361
1486
|
/**
|
|
1362
|
-
*
|
|
1487
|
+
* Export a private key.
|
|
1363
1488
|
*
|
|
1364
1489
|
* Sign the provided `TExportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_private_key).
|
|
1365
1490
|
*
|
|
@@ -1384,7 +1509,7 @@ class TurnkeyClient {
|
|
|
1384
1509
|
};
|
|
1385
1510
|
};
|
|
1386
1511
|
/**
|
|
1387
|
-
*
|
|
1512
|
+
* Export a wallet.
|
|
1388
1513
|
*
|
|
1389
1514
|
* Sign the provided `TExportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_wallet).
|
|
1390
1515
|
*
|
|
@@ -1409,7 +1534,7 @@ class TurnkeyClient {
|
|
|
1409
1534
|
};
|
|
1410
1535
|
};
|
|
1411
1536
|
/**
|
|
1412
|
-
*
|
|
1537
|
+
* Export a wallet account.
|
|
1413
1538
|
*
|
|
1414
1539
|
* Sign the provided `TExportWalletAccountBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_wallet_account).
|
|
1415
1540
|
*
|
|
@@ -1434,7 +1559,7 @@ class TurnkeyClient {
|
|
|
1434
1559
|
};
|
|
1435
1560
|
};
|
|
1436
1561
|
/**
|
|
1437
|
-
*
|
|
1562
|
+
* Import a private key.
|
|
1438
1563
|
*
|
|
1439
1564
|
* Sign the provided `TImportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/import_private_key).
|
|
1440
1565
|
*
|
|
@@ -1459,7 +1584,7 @@ class TurnkeyClient {
|
|
|
1459
1584
|
};
|
|
1460
1585
|
};
|
|
1461
1586
|
/**
|
|
1462
|
-
*
|
|
1587
|
+
* Import a wallet.
|
|
1463
1588
|
*
|
|
1464
1589
|
* Sign the provided `TImportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/import_wallet).
|
|
1465
1590
|
*
|
|
@@ -1484,7 +1609,7 @@ class TurnkeyClient {
|
|
|
1484
1609
|
};
|
|
1485
1610
|
};
|
|
1486
1611
|
/**
|
|
1487
|
-
* Initiate a fiat on ramp flow
|
|
1612
|
+
* Initiate a fiat on ramp flow.
|
|
1488
1613
|
*
|
|
1489
1614
|
* Sign the provided `TInitFiatOnRampBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_fiat_on_ramp).
|
|
1490
1615
|
*
|
|
@@ -1509,7 +1634,7 @@ class TurnkeyClient {
|
|
|
1509
1634
|
};
|
|
1510
1635
|
};
|
|
1511
1636
|
/**
|
|
1512
|
-
*
|
|
1637
|
+
* Initialize a new private key import.
|
|
1513
1638
|
*
|
|
1514
1639
|
* Sign the provided `TInitImportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_import_private_key).
|
|
1515
1640
|
*
|
|
@@ -1534,7 +1659,7 @@ class TurnkeyClient {
|
|
|
1534
1659
|
};
|
|
1535
1660
|
};
|
|
1536
1661
|
/**
|
|
1537
|
-
*
|
|
1662
|
+
* Initialize a new wallet import.
|
|
1538
1663
|
*
|
|
1539
1664
|
* Sign the provided `TInitImportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_import_wallet).
|
|
1540
1665
|
*
|
|
@@ -1559,7 +1684,7 @@ class TurnkeyClient {
|
|
|
1559
1684
|
};
|
|
1560
1685
|
};
|
|
1561
1686
|
/**
|
|
1562
|
-
* Initiate a
|
|
1687
|
+
* Initiate a generic OTP activity.
|
|
1563
1688
|
*
|
|
1564
1689
|
* Sign the provided `TInitOtpBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_otp).
|
|
1565
1690
|
*
|
|
@@ -1584,7 +1709,7 @@ class TurnkeyClient {
|
|
|
1584
1709
|
};
|
|
1585
1710
|
};
|
|
1586
1711
|
/**
|
|
1587
|
-
* Initiate an OTP auth activity
|
|
1712
|
+
* Initiate an OTP auth activity.
|
|
1588
1713
|
*
|
|
1589
1714
|
* Sign the provided `TInitOtpAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_otp_auth).
|
|
1590
1715
|
*
|
|
@@ -1609,7 +1734,7 @@ class TurnkeyClient {
|
|
|
1609
1734
|
};
|
|
1610
1735
|
};
|
|
1611
1736
|
/**
|
|
1612
|
-
*
|
|
1737
|
+
* Initialize a new email recovery.
|
|
1613
1738
|
*
|
|
1614
1739
|
* Sign the provided `TInitUserEmailRecoveryBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_user_email_recovery).
|
|
1615
1740
|
*
|
|
@@ -1634,7 +1759,7 @@ class TurnkeyClient {
|
|
|
1634
1759
|
};
|
|
1635
1760
|
};
|
|
1636
1761
|
/**
|
|
1637
|
-
* Authenticate a user with an
|
|
1762
|
+
* Authenticate a user with an OIDC token (Oauth).
|
|
1638
1763
|
*
|
|
1639
1764
|
* Sign the provided `TOauthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/oauth).
|
|
1640
1765
|
*
|
|
@@ -1659,7 +1784,7 @@ class TurnkeyClient {
|
|
|
1659
1784
|
};
|
|
1660
1785
|
};
|
|
1661
1786
|
/**
|
|
1662
|
-
* Create an Oauth session for a user
|
|
1787
|
+
* Create an Oauth session for a user.
|
|
1663
1788
|
*
|
|
1664
1789
|
* Sign the provided `TOauthLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/oauth_login).
|
|
1665
1790
|
*
|
|
@@ -1684,7 +1809,7 @@ class TurnkeyClient {
|
|
|
1684
1809
|
};
|
|
1685
1810
|
};
|
|
1686
1811
|
/**
|
|
1687
|
-
* 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.
|
|
1688
1813
|
*
|
|
1689
1814
|
* Sign the provided `TOtpAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/otp_auth).
|
|
1690
1815
|
*
|
|
@@ -1709,7 +1834,7 @@ class TurnkeyClient {
|
|
|
1709
1834
|
};
|
|
1710
1835
|
};
|
|
1711
1836
|
/**
|
|
1712
|
-
* Create an OTP session for a user
|
|
1837
|
+
* Create an OTP session for a user.
|
|
1713
1838
|
*
|
|
1714
1839
|
* Sign the provided `TOtpLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/otp_login).
|
|
1715
1840
|
*
|
|
@@ -1734,7 +1859,7 @@ class TurnkeyClient {
|
|
|
1734
1859
|
};
|
|
1735
1860
|
};
|
|
1736
1861
|
/**
|
|
1737
|
-
*
|
|
1862
|
+
* Complete the process of recovering a user by adding an authenticator.
|
|
1738
1863
|
*
|
|
1739
1864
|
* Sign the provided `TRecoverUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/recover_user).
|
|
1740
1865
|
*
|
|
@@ -1759,7 +1884,7 @@ class TurnkeyClient {
|
|
|
1759
1884
|
};
|
|
1760
1885
|
};
|
|
1761
1886
|
/**
|
|
1762
|
-
* Reject an
|
|
1887
|
+
* Reject an activity.
|
|
1763
1888
|
*
|
|
1764
1889
|
* Sign the provided `TRejectActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/reject_activity).
|
|
1765
1890
|
*
|
|
@@ -1784,7 +1909,7 @@ class TurnkeyClient {
|
|
|
1784
1909
|
};
|
|
1785
1910
|
};
|
|
1786
1911
|
/**
|
|
1787
|
-
*
|
|
1912
|
+
* Remove an organization feature. This activity must be approved by the current root quorum.
|
|
1788
1913
|
*
|
|
1789
1914
|
* Sign the provided `TRemoveOrganizationFeatureBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/remove_organization_feature).
|
|
1790
1915
|
*
|
|
@@ -1809,7 +1934,7 @@ class TurnkeyClient {
|
|
|
1809
1934
|
};
|
|
1810
1935
|
};
|
|
1811
1936
|
/**
|
|
1812
|
-
*
|
|
1937
|
+
* Set an organization feature. This activity must be approved by the current root quorum.
|
|
1813
1938
|
*
|
|
1814
1939
|
* Sign the provided `TSetOrganizationFeatureBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/set_organization_feature).
|
|
1815
1940
|
*
|
|
@@ -1834,7 +1959,7 @@ class TurnkeyClient {
|
|
|
1834
1959
|
};
|
|
1835
1960
|
};
|
|
1836
1961
|
/**
|
|
1837
|
-
* Sign a raw payload
|
|
1962
|
+
* Sign a raw payload.
|
|
1838
1963
|
*
|
|
1839
1964
|
* Sign the provided `TSignRawPayloadBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_raw_payload).
|
|
1840
1965
|
*
|
|
@@ -1859,7 +1984,7 @@ class TurnkeyClient {
|
|
|
1859
1984
|
};
|
|
1860
1985
|
};
|
|
1861
1986
|
/**
|
|
1862
|
-
* Sign multiple raw payloads with the same signing parameters
|
|
1987
|
+
* Sign multiple raw payloads with the same signing parameters.
|
|
1863
1988
|
*
|
|
1864
1989
|
* Sign the provided `TSignRawPayloadsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_raw_payloads).
|
|
1865
1990
|
*
|
|
@@ -1884,7 +2009,7 @@ class TurnkeyClient {
|
|
|
1884
2009
|
};
|
|
1885
2010
|
};
|
|
1886
2011
|
/**
|
|
1887
|
-
* Sign a transaction
|
|
2012
|
+
* Sign a transaction.
|
|
1888
2013
|
*
|
|
1889
2014
|
* Sign the provided `TSignTransactionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_transaction).
|
|
1890
2015
|
*
|
|
@@ -1909,7 +2034,7 @@ class TurnkeyClient {
|
|
|
1909
2034
|
};
|
|
1910
2035
|
};
|
|
1911
2036
|
/**
|
|
1912
|
-
* 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).
|
|
1913
2038
|
*
|
|
1914
2039
|
* Sign the provided `TStampLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/stamp_login).
|
|
1915
2040
|
*
|
|
@@ -1934,7 +2059,7 @@ class TurnkeyClient {
|
|
|
1934
2059
|
};
|
|
1935
2060
|
};
|
|
1936
2061
|
/**
|
|
1937
|
-
* Update an existing
|
|
2062
|
+
* Update an existing policy.
|
|
1938
2063
|
*
|
|
1939
2064
|
* Sign the provided `TUpdatePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_policy).
|
|
1940
2065
|
*
|
|
@@ -2009,7 +2134,7 @@ class TurnkeyClient {
|
|
|
2009
2134
|
};
|
|
2010
2135
|
};
|
|
2011
2136
|
/**
|
|
2012
|
-
* Update a
|
|
2137
|
+
* Update a user in an existing organization.
|
|
2013
2138
|
*
|
|
2014
2139
|
* Sign the provided `TUpdateUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user).
|
|
2015
2140
|
*
|
|
@@ -2034,7 +2159,7 @@ class TurnkeyClient {
|
|
|
2034
2159
|
};
|
|
2035
2160
|
};
|
|
2036
2161
|
/**
|
|
2037
|
-
* Update a
|
|
2162
|
+
* Update a user's email in an existing organization.
|
|
2038
2163
|
*
|
|
2039
2164
|
* Sign the provided `TUpdateUserEmailBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_email).
|
|
2040
2165
|
*
|
|
@@ -2059,7 +2184,7 @@ class TurnkeyClient {
|
|
|
2059
2184
|
};
|
|
2060
2185
|
};
|
|
2061
2186
|
/**
|
|
2062
|
-
* Update a
|
|
2187
|
+
* Update a user's name in an existing organization.
|
|
2063
2188
|
*
|
|
2064
2189
|
* Sign the provided `TUpdateUserNameBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_name).
|
|
2065
2190
|
*
|
|
@@ -2084,7 +2209,7 @@ class TurnkeyClient {
|
|
|
2084
2209
|
};
|
|
2085
2210
|
};
|
|
2086
2211
|
/**
|
|
2087
|
-
* Update a
|
|
2212
|
+
* Update a user's phone number in an existing organization.
|
|
2088
2213
|
*
|
|
2089
2214
|
* Sign the provided `TUpdateUserPhoneNumberBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_phone_number).
|
|
2090
2215
|
*
|
|
@@ -2134,7 +2259,7 @@ class TurnkeyClient {
|
|
|
2134
2259
|
};
|
|
2135
2260
|
};
|
|
2136
2261
|
/**
|
|
2137
|
-
* Update a wallet for an organization
|
|
2262
|
+
* Update a wallet for an organization.
|
|
2138
2263
|
*
|
|
2139
2264
|
* Sign the provided `TUpdateWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_wallet).
|
|
2140
2265
|
*
|
|
@@ -2159,7 +2284,7 @@ class TurnkeyClient {
|
|
|
2159
2284
|
};
|
|
2160
2285
|
};
|
|
2161
2286
|
/**
|
|
2162
|
-
* Verify a
|
|
2287
|
+
* Verify a generic OTP.
|
|
2163
2288
|
*
|
|
2164
2289
|
* Sign the provided `TVerifyOtpBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/verify_otp).
|
|
2165
2290
|
*
|
|
@@ -2184,7 +2309,7 @@ class TurnkeyClient {
|
|
|
2184
2309
|
};
|
|
2185
2310
|
};
|
|
2186
2311
|
/**
|
|
2187
|
-
* 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.
|
|
2188
2313
|
*
|
|
2189
2314
|
* Sign the provided `TTestRateLimitsBody` with the client's `stamp` function, and submit the request (POST /tkhq/api/v1/test_rate_limits).
|
|
2190
2315
|
*
|