@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
|
@@ -7,7 +7,7 @@ class TurnkeyClient {
|
|
|
7
7
|
constructor(config, stamper) {
|
|
8
8
|
this.name = "TurnkeyClient";
|
|
9
9
|
/**
|
|
10
|
-
* Get details about an
|
|
10
|
+
* Get details about an activity.
|
|
11
11
|
*
|
|
12
12
|
* Sign the provided `TGetActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_activity).
|
|
13
13
|
*
|
|
@@ -32,7 +32,7 @@ class TurnkeyClient {
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
|
-
* Get details about an API key
|
|
35
|
+
* Get details about an API key.
|
|
36
36
|
*
|
|
37
37
|
* Sign the provided `TGetApiKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_api_key).
|
|
38
38
|
*
|
|
@@ -57,7 +57,7 @@ class TurnkeyClient {
|
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
|
-
* Get details about API keys for a user
|
|
60
|
+
* Get details about API keys for a user.
|
|
61
61
|
*
|
|
62
62
|
* Sign the provided `TGetApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_api_keys).
|
|
63
63
|
*
|
|
@@ -107,7 +107,7 @@ class TurnkeyClient {
|
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
|
-
* Get details about an authenticator
|
|
110
|
+
* Get details about an authenticator.
|
|
111
111
|
*
|
|
112
112
|
* Sign the provided `TGetAuthenticatorBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_authenticator).
|
|
113
113
|
*
|
|
@@ -132,7 +132,7 @@ class TurnkeyClient {
|
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
134
|
/**
|
|
135
|
-
* Get details about authenticators for a user
|
|
135
|
+
* Get details about authenticators for a user.
|
|
136
136
|
*
|
|
137
137
|
* Sign the provided `TGetAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_authenticators).
|
|
138
138
|
*
|
|
@@ -157,7 +157,7 @@ class TurnkeyClient {
|
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
/**
|
|
160
|
-
* Get details about Oauth providers for a user
|
|
160
|
+
* Get details about Oauth providers for a user.
|
|
161
161
|
*
|
|
162
162
|
* Sign the provided `TGetOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_oauth_providers).
|
|
163
163
|
*
|
|
@@ -182,7 +182,7 @@ class TurnkeyClient {
|
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
184
|
/**
|
|
185
|
-
* Get details about an
|
|
185
|
+
* Get details about an organization.
|
|
186
186
|
*
|
|
187
187
|
* Sign the provided `TGetOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_organization).
|
|
188
188
|
*
|
|
@@ -207,7 +207,7 @@ class TurnkeyClient {
|
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
209
|
/**
|
|
210
|
-
* Get quorum settings and features for an organization
|
|
210
|
+
* Get quorum settings and features for an organization.
|
|
211
211
|
*
|
|
212
212
|
* Sign the provided `TGetOrganizationConfigsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_organization_configs).
|
|
213
213
|
*
|
|
@@ -232,7 +232,7 @@ class TurnkeyClient {
|
|
|
232
232
|
};
|
|
233
233
|
};
|
|
234
234
|
/**
|
|
235
|
-
* Get details about a
|
|
235
|
+
* Get details about a policy.
|
|
236
236
|
*
|
|
237
237
|
* Sign the provided `TGetPolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_policy).
|
|
238
238
|
*
|
|
@@ -257,7 +257,32 @@ class TurnkeyClient {
|
|
|
257
257
|
};
|
|
258
258
|
};
|
|
259
259
|
/**
|
|
260
|
-
* Get
|
|
260
|
+
* Get the policy evaluations for an activity.
|
|
261
|
+
*
|
|
262
|
+
* Sign the provided `TGetPolicyEvaluationsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_policy_evaluations).
|
|
263
|
+
*
|
|
264
|
+
* See also {@link stampGetPolicyEvaluations}.
|
|
265
|
+
*/
|
|
266
|
+
this.getPolicyEvaluations = async (input) => {
|
|
267
|
+
return this.request("/public/v1/query/get_policy_evaluations", input);
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Produce a `SignedRequest` from `TGetPolicyEvaluationsBody` by using the client's `stamp` function.
|
|
271
|
+
*
|
|
272
|
+
* See also {@link GetPolicyEvaluations}.
|
|
273
|
+
*/
|
|
274
|
+
this.stampGetPolicyEvaluations = async (input) => {
|
|
275
|
+
const fullUrl = this.config.baseUrl + "/public/v1/query/get_policy_evaluations";
|
|
276
|
+
const body = JSON.stringify(input);
|
|
277
|
+
const stamp = await this.stamper.stamp(body);
|
|
278
|
+
return {
|
|
279
|
+
body: body,
|
|
280
|
+
stamp: stamp,
|
|
281
|
+
url: fullUrl,
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Get details about a private key.
|
|
261
286
|
*
|
|
262
287
|
* Sign the provided `TGetPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_private_key).
|
|
263
288
|
*
|
|
@@ -282,7 +307,32 @@ class TurnkeyClient {
|
|
|
282
307
|
};
|
|
283
308
|
};
|
|
284
309
|
/**
|
|
285
|
-
* Get details about a
|
|
310
|
+
* Get details about a smart contract interface.
|
|
311
|
+
*
|
|
312
|
+
* Sign the provided `TGetSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_smart_contract_interface).
|
|
313
|
+
*
|
|
314
|
+
* See also {@link stampGetSmartContractInterface}.
|
|
315
|
+
*/
|
|
316
|
+
this.getSmartContractInterface = async (input) => {
|
|
317
|
+
return this.request("/public/v1/query/get_smart_contract_interface", input);
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Produce a `SignedRequest` from `TGetSmartContractInterfaceBody` by using the client's `stamp` function.
|
|
321
|
+
*
|
|
322
|
+
* See also {@link GetSmartContractInterface}.
|
|
323
|
+
*/
|
|
324
|
+
this.stampGetSmartContractInterface = async (input) => {
|
|
325
|
+
const fullUrl = this.config.baseUrl + "/public/v1/query/get_smart_contract_interface";
|
|
326
|
+
const body = JSON.stringify(input);
|
|
327
|
+
const stamp = await this.stamper.stamp(body);
|
|
328
|
+
return {
|
|
329
|
+
body: body,
|
|
330
|
+
stamp: stamp,
|
|
331
|
+
url: fullUrl,
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Get details about a user.
|
|
286
336
|
*
|
|
287
337
|
* Sign the provided `TGetUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_user).
|
|
288
338
|
*
|
|
@@ -307,7 +357,7 @@ class TurnkeyClient {
|
|
|
307
357
|
};
|
|
308
358
|
};
|
|
309
359
|
/**
|
|
310
|
-
* Get details about a
|
|
360
|
+
* Get details about a wallet.
|
|
311
361
|
*
|
|
312
362
|
* Sign the provided `TGetWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet).
|
|
313
363
|
*
|
|
@@ -332,7 +382,7 @@ class TurnkeyClient {
|
|
|
332
382
|
};
|
|
333
383
|
};
|
|
334
384
|
/**
|
|
335
|
-
* Get a single wallet account
|
|
385
|
+
* Get a single wallet account.
|
|
336
386
|
*
|
|
337
387
|
* Sign the provided `TGetWalletAccountBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/get_wallet_account).
|
|
338
388
|
*
|
|
@@ -357,7 +407,7 @@ class TurnkeyClient {
|
|
|
357
407
|
};
|
|
358
408
|
};
|
|
359
409
|
/**
|
|
360
|
-
* List all
|
|
410
|
+
* List all activities within an organization.
|
|
361
411
|
*
|
|
362
412
|
* Sign the provided `TGetActivitiesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_activities).
|
|
363
413
|
*
|
|
@@ -382,7 +432,7 @@ class TurnkeyClient {
|
|
|
382
432
|
};
|
|
383
433
|
};
|
|
384
434
|
/**
|
|
385
|
-
* List all
|
|
435
|
+
* List all policies within an organization.
|
|
386
436
|
*
|
|
387
437
|
* Sign the provided `TGetPoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_policies).
|
|
388
438
|
*
|
|
@@ -407,7 +457,7 @@ class TurnkeyClient {
|
|
|
407
457
|
};
|
|
408
458
|
};
|
|
409
459
|
/**
|
|
410
|
-
* List all
|
|
460
|
+
* List all private key tags within an organization.
|
|
411
461
|
*
|
|
412
462
|
* Sign the provided `TListPrivateKeyTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_private_key_tags).
|
|
413
463
|
*
|
|
@@ -432,7 +482,7 @@ class TurnkeyClient {
|
|
|
432
482
|
};
|
|
433
483
|
};
|
|
434
484
|
/**
|
|
435
|
-
* List all
|
|
485
|
+
* List all private keys within an organization.
|
|
436
486
|
*
|
|
437
487
|
* Sign the provided `TGetPrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_private_keys).
|
|
438
488
|
*
|
|
@@ -456,6 +506,31 @@ class TurnkeyClient {
|
|
|
456
506
|
url: fullUrl,
|
|
457
507
|
};
|
|
458
508
|
};
|
|
509
|
+
/**
|
|
510
|
+
* List all smart contract interfaces within an organization.
|
|
511
|
+
*
|
|
512
|
+
* Sign the provided `TGetSmartContractInterfacesBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_smart_contract_interfaces).
|
|
513
|
+
*
|
|
514
|
+
* See also {@link stampGetSmartContractInterfaces}.
|
|
515
|
+
*/
|
|
516
|
+
this.getSmartContractInterfaces = async (input) => {
|
|
517
|
+
return this.request("/public/v1/query/list_smart_contract_interfaces", input);
|
|
518
|
+
};
|
|
519
|
+
/**
|
|
520
|
+
* Produce a `SignedRequest` from `TGetSmartContractInterfacesBody` by using the client's `stamp` function.
|
|
521
|
+
*
|
|
522
|
+
* See also {@link GetSmartContractInterfaces}.
|
|
523
|
+
*/
|
|
524
|
+
this.stampGetSmartContractInterfaces = async (input) => {
|
|
525
|
+
const fullUrl = this.config.baseUrl + "/public/v1/query/list_smart_contract_interfaces";
|
|
526
|
+
const body = JSON.stringify(input);
|
|
527
|
+
const stamp = await this.stamper.stamp(body);
|
|
528
|
+
return {
|
|
529
|
+
body: body,
|
|
530
|
+
stamp: stamp,
|
|
531
|
+
url: fullUrl,
|
|
532
|
+
};
|
|
533
|
+
};
|
|
459
534
|
/**
|
|
460
535
|
* Get all suborg IDs associated given a parent org ID and an optional filter.
|
|
461
536
|
*
|
|
@@ -482,7 +557,7 @@ class TurnkeyClient {
|
|
|
482
557
|
};
|
|
483
558
|
};
|
|
484
559
|
/**
|
|
485
|
-
* List all
|
|
560
|
+
* List all user tags within an organization.
|
|
486
561
|
*
|
|
487
562
|
* Sign the provided `TListUserTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_user_tags).
|
|
488
563
|
*
|
|
@@ -507,7 +582,7 @@ class TurnkeyClient {
|
|
|
507
582
|
};
|
|
508
583
|
};
|
|
509
584
|
/**
|
|
510
|
-
* List all
|
|
585
|
+
* List all users within an organization.
|
|
511
586
|
*
|
|
512
587
|
* Sign the provided `TGetUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_users).
|
|
513
588
|
*
|
|
@@ -557,7 +632,7 @@ class TurnkeyClient {
|
|
|
557
632
|
};
|
|
558
633
|
};
|
|
559
634
|
/**
|
|
560
|
-
* List all
|
|
635
|
+
* List all accounts within a wallet.
|
|
561
636
|
*
|
|
562
637
|
* Sign the provided `TGetWalletAccountsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_wallet_accounts).
|
|
563
638
|
*
|
|
@@ -582,7 +657,7 @@ class TurnkeyClient {
|
|
|
582
657
|
};
|
|
583
658
|
};
|
|
584
659
|
/**
|
|
585
|
-
* List all
|
|
660
|
+
* List all wallets within an organization.
|
|
586
661
|
*
|
|
587
662
|
* Sign the provided `TGetWalletsBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/list_wallets).
|
|
588
663
|
*
|
|
@@ -607,7 +682,7 @@ class TurnkeyClient {
|
|
|
607
682
|
};
|
|
608
683
|
};
|
|
609
684
|
/**
|
|
610
|
-
* Get basic information about your current API or WebAuthN user and their organization. Affords
|
|
685
|
+
* 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.
|
|
611
686
|
*
|
|
612
687
|
* Sign the provided `TGetWhoamiBody` with the client's `stamp` function, and submit the request (POST /public/v1/query/whoami).
|
|
613
688
|
*
|
|
@@ -632,7 +707,7 @@ class TurnkeyClient {
|
|
|
632
707
|
};
|
|
633
708
|
};
|
|
634
709
|
/**
|
|
635
|
-
* Approve an
|
|
710
|
+
* Approve an activity.
|
|
636
711
|
*
|
|
637
712
|
* Sign the provided `TApproveActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/approve_activity).
|
|
638
713
|
*
|
|
@@ -657,7 +732,7 @@ class TurnkeyClient {
|
|
|
657
732
|
};
|
|
658
733
|
};
|
|
659
734
|
/**
|
|
660
|
-
* Add
|
|
735
|
+
* Add API keys to an existing user.
|
|
661
736
|
*
|
|
662
737
|
* Sign the provided `TCreateApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_api_keys).
|
|
663
738
|
*
|
|
@@ -682,7 +757,7 @@ class TurnkeyClient {
|
|
|
682
757
|
};
|
|
683
758
|
};
|
|
684
759
|
/**
|
|
685
|
-
* Create API-only
|
|
760
|
+
* Create API-only users in an existing organization.
|
|
686
761
|
*
|
|
687
762
|
* Sign the provided `TCreateApiOnlyUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_api_only_users).
|
|
688
763
|
*
|
|
@@ -707,7 +782,7 @@ class TurnkeyClient {
|
|
|
707
782
|
};
|
|
708
783
|
};
|
|
709
784
|
/**
|
|
710
|
-
* Create
|
|
785
|
+
* Create authenticators to authenticate requests to Turnkey.
|
|
711
786
|
*
|
|
712
787
|
* Sign the provided `TCreateAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_authenticators).
|
|
713
788
|
*
|
|
@@ -732,7 +807,7 @@ class TurnkeyClient {
|
|
|
732
807
|
};
|
|
733
808
|
};
|
|
734
809
|
/**
|
|
735
|
-
* Create
|
|
810
|
+
* Create invitations to join an existing organization.
|
|
736
811
|
*
|
|
737
812
|
* Sign the provided `TCreateInvitationsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_invitations).
|
|
738
813
|
*
|
|
@@ -757,7 +832,7 @@ class TurnkeyClient {
|
|
|
757
832
|
};
|
|
758
833
|
};
|
|
759
834
|
/**
|
|
760
|
-
*
|
|
835
|
+
* Create Oauth providers for a specified user.
|
|
761
836
|
*
|
|
762
837
|
* Sign the provided `TCreateOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_oauth_providers).
|
|
763
838
|
*
|
|
@@ -782,7 +857,7 @@ class TurnkeyClient {
|
|
|
782
857
|
};
|
|
783
858
|
};
|
|
784
859
|
/**
|
|
785
|
-
* Create new
|
|
860
|
+
* Create new policies.
|
|
786
861
|
*
|
|
787
862
|
* Sign the provided `TCreatePoliciesBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_policies).
|
|
788
863
|
*
|
|
@@ -807,7 +882,7 @@ class TurnkeyClient {
|
|
|
807
882
|
};
|
|
808
883
|
};
|
|
809
884
|
/**
|
|
810
|
-
* Create a new
|
|
885
|
+
* Create a new policy.
|
|
811
886
|
*
|
|
812
887
|
* Sign the provided `TCreatePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_policy).
|
|
813
888
|
*
|
|
@@ -857,7 +932,7 @@ class TurnkeyClient {
|
|
|
857
932
|
};
|
|
858
933
|
};
|
|
859
934
|
/**
|
|
860
|
-
* Create new
|
|
935
|
+
* Create new private keys.
|
|
861
936
|
*
|
|
862
937
|
* Sign the provided `TCreatePrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_private_keys).
|
|
863
938
|
*
|
|
@@ -882,7 +957,7 @@ class TurnkeyClient {
|
|
|
882
957
|
};
|
|
883
958
|
};
|
|
884
959
|
/**
|
|
885
|
-
* Create a read only session for a user (valid for 1 hour)
|
|
960
|
+
* Create a read only session for a user (valid for 1 hour).
|
|
886
961
|
*
|
|
887
962
|
* Sign the provided `TCreateReadOnlySessionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_read_only_session).
|
|
888
963
|
*
|
|
@@ -907,7 +982,7 @@ class TurnkeyClient {
|
|
|
907
982
|
};
|
|
908
983
|
};
|
|
909
984
|
/**
|
|
910
|
-
* Create a read write session for a user
|
|
985
|
+
* Create a read write session for a user.
|
|
911
986
|
*
|
|
912
987
|
* Sign the provided `TCreateReadWriteSessionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_read_write_session).
|
|
913
988
|
*
|
|
@@ -932,7 +1007,32 @@ class TurnkeyClient {
|
|
|
932
1007
|
};
|
|
933
1008
|
};
|
|
934
1009
|
/**
|
|
935
|
-
* Create
|
|
1010
|
+
* Create an ABI/IDL in JSON.
|
|
1011
|
+
*
|
|
1012
|
+
* Sign the provided `TCreateSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_smart_contract_interface).
|
|
1013
|
+
*
|
|
1014
|
+
* See also {@link stampCreateSmartContractInterface}.
|
|
1015
|
+
*/
|
|
1016
|
+
this.createSmartContractInterface = async (input) => {
|
|
1017
|
+
return this.request("/public/v1/submit/create_smart_contract_interface", input);
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* Produce a `SignedRequest` from `TCreateSmartContractInterfaceBody` by using the client's `stamp` function.
|
|
1021
|
+
*
|
|
1022
|
+
* See also {@link CreateSmartContractInterface}.
|
|
1023
|
+
*/
|
|
1024
|
+
this.stampCreateSmartContractInterface = async (input) => {
|
|
1025
|
+
const fullUrl = this.config.baseUrl + "/public/v1/submit/create_smart_contract_interface";
|
|
1026
|
+
const body = JSON.stringify(input);
|
|
1027
|
+
const stamp = await this.stamper.stamp(body);
|
|
1028
|
+
return {
|
|
1029
|
+
body: body,
|
|
1030
|
+
stamp: stamp,
|
|
1031
|
+
url: fullUrl,
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
* Create a new sub-organization.
|
|
936
1036
|
*
|
|
937
1037
|
* Sign the provided `TCreateSubOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_sub_organization).
|
|
938
1038
|
*
|
|
@@ -982,7 +1082,7 @@ class TurnkeyClient {
|
|
|
982
1082
|
};
|
|
983
1083
|
};
|
|
984
1084
|
/**
|
|
985
|
-
* Create
|
|
1085
|
+
* Create users in an existing organization.
|
|
986
1086
|
*
|
|
987
1087
|
* Sign the provided `TCreateUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_users).
|
|
988
1088
|
*
|
|
@@ -1007,7 +1107,7 @@ class TurnkeyClient {
|
|
|
1007
1107
|
};
|
|
1008
1108
|
};
|
|
1009
1109
|
/**
|
|
1010
|
-
* Create a
|
|
1110
|
+
* Create a wallet and derive addresses.
|
|
1011
1111
|
*
|
|
1012
1112
|
* Sign the provided `TCreateWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_wallet).
|
|
1013
1113
|
*
|
|
@@ -1032,7 +1132,7 @@ class TurnkeyClient {
|
|
|
1032
1132
|
};
|
|
1033
1133
|
};
|
|
1034
1134
|
/**
|
|
1035
|
-
* Derive additional addresses using an existing wallet
|
|
1135
|
+
* Derive additional addresses using an existing wallet.
|
|
1036
1136
|
*
|
|
1037
1137
|
* Sign the provided `TCreateWalletAccountsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/create_wallet_accounts).
|
|
1038
1138
|
*
|
|
@@ -1057,7 +1157,7 @@ class TurnkeyClient {
|
|
|
1057
1157
|
};
|
|
1058
1158
|
};
|
|
1059
1159
|
/**
|
|
1060
|
-
* Remove api keys from a
|
|
1160
|
+
* Remove api keys from a user.
|
|
1061
1161
|
*
|
|
1062
1162
|
* Sign the provided `TDeleteApiKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_api_keys).
|
|
1063
1163
|
*
|
|
@@ -1082,7 +1182,7 @@ class TurnkeyClient {
|
|
|
1082
1182
|
};
|
|
1083
1183
|
};
|
|
1084
1184
|
/**
|
|
1085
|
-
* Remove authenticators from a
|
|
1185
|
+
* Remove authenticators from a user.
|
|
1086
1186
|
*
|
|
1087
1187
|
* Sign the provided `TDeleteAuthenticatorsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_authenticators).
|
|
1088
1188
|
*
|
|
@@ -1107,7 +1207,7 @@ class TurnkeyClient {
|
|
|
1107
1207
|
};
|
|
1108
1208
|
};
|
|
1109
1209
|
/**
|
|
1110
|
-
* Delete an existing
|
|
1210
|
+
* Delete an existing invitation.
|
|
1111
1211
|
*
|
|
1112
1212
|
* Sign the provided `TDeleteInvitationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_invitation).
|
|
1113
1213
|
*
|
|
@@ -1132,7 +1232,7 @@ class TurnkeyClient {
|
|
|
1132
1232
|
};
|
|
1133
1233
|
};
|
|
1134
1234
|
/**
|
|
1135
|
-
*
|
|
1235
|
+
* Remove Oauth providers for a specified user.
|
|
1136
1236
|
*
|
|
1137
1237
|
* Sign the provided `TDeleteOauthProvidersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_oauth_providers).
|
|
1138
1238
|
*
|
|
@@ -1157,7 +1257,7 @@ class TurnkeyClient {
|
|
|
1157
1257
|
};
|
|
1158
1258
|
};
|
|
1159
1259
|
/**
|
|
1160
|
-
* Delete an existing
|
|
1260
|
+
* Delete an existing policy.
|
|
1161
1261
|
*
|
|
1162
1262
|
* Sign the provided `TDeletePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_policy).
|
|
1163
1263
|
*
|
|
@@ -1182,7 +1282,7 @@ class TurnkeyClient {
|
|
|
1182
1282
|
};
|
|
1183
1283
|
};
|
|
1184
1284
|
/**
|
|
1185
|
-
* Delete
|
|
1285
|
+
* Delete private key tags within an organization.
|
|
1186
1286
|
*
|
|
1187
1287
|
* Sign the provided `TDeletePrivateKeyTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_private_key_tags).
|
|
1188
1288
|
*
|
|
@@ -1207,7 +1307,7 @@ class TurnkeyClient {
|
|
|
1207
1307
|
};
|
|
1208
1308
|
};
|
|
1209
1309
|
/**
|
|
1210
|
-
*
|
|
1310
|
+
* Delete private keys for an organization.
|
|
1211
1311
|
*
|
|
1212
1312
|
* Sign the provided `TDeletePrivateKeysBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_private_keys).
|
|
1213
1313
|
*
|
|
@@ -1232,7 +1332,32 @@ class TurnkeyClient {
|
|
|
1232
1332
|
};
|
|
1233
1333
|
};
|
|
1234
1334
|
/**
|
|
1235
|
-
*
|
|
1335
|
+
* Delete a smart contract interface.
|
|
1336
|
+
*
|
|
1337
|
+
* Sign the provided `TDeleteSmartContractInterfaceBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_smart_contract_interface).
|
|
1338
|
+
*
|
|
1339
|
+
* See also {@link stampDeleteSmartContractInterface}.
|
|
1340
|
+
*/
|
|
1341
|
+
this.deleteSmartContractInterface = async (input) => {
|
|
1342
|
+
return this.request("/public/v1/submit/delete_smart_contract_interface", input);
|
|
1343
|
+
};
|
|
1344
|
+
/**
|
|
1345
|
+
* Produce a `SignedRequest` from `TDeleteSmartContractInterfaceBody` by using the client's `stamp` function.
|
|
1346
|
+
*
|
|
1347
|
+
* See also {@link DeleteSmartContractInterface}.
|
|
1348
|
+
*/
|
|
1349
|
+
this.stampDeleteSmartContractInterface = async (input) => {
|
|
1350
|
+
const fullUrl = this.config.baseUrl + "/public/v1/submit/delete_smart_contract_interface";
|
|
1351
|
+
const body = JSON.stringify(input);
|
|
1352
|
+
const stamp = await this.stamper.stamp(body);
|
|
1353
|
+
return {
|
|
1354
|
+
body: body,
|
|
1355
|
+
stamp: stamp,
|
|
1356
|
+
url: fullUrl,
|
|
1357
|
+
};
|
|
1358
|
+
};
|
|
1359
|
+
/**
|
|
1360
|
+
* Delete a sub-organization.
|
|
1236
1361
|
*
|
|
1237
1362
|
* Sign the provided `TDeleteSubOrganizationBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_sub_organization).
|
|
1238
1363
|
*
|
|
@@ -1257,7 +1382,7 @@ class TurnkeyClient {
|
|
|
1257
1382
|
};
|
|
1258
1383
|
};
|
|
1259
1384
|
/**
|
|
1260
|
-
* Delete
|
|
1385
|
+
* Delete user tags within an organization.
|
|
1261
1386
|
*
|
|
1262
1387
|
* Sign the provided `TDeleteUserTagsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_user_tags).
|
|
1263
1388
|
*
|
|
@@ -1282,7 +1407,7 @@ class TurnkeyClient {
|
|
|
1282
1407
|
};
|
|
1283
1408
|
};
|
|
1284
1409
|
/**
|
|
1285
|
-
* Delete
|
|
1410
|
+
* Delete users within an organization.
|
|
1286
1411
|
*
|
|
1287
1412
|
* Sign the provided `TDeleteUsersBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_users).
|
|
1288
1413
|
*
|
|
@@ -1307,7 +1432,7 @@ class TurnkeyClient {
|
|
|
1307
1432
|
};
|
|
1308
1433
|
};
|
|
1309
1434
|
/**
|
|
1310
|
-
*
|
|
1435
|
+
* Delete wallets for an organization.
|
|
1311
1436
|
*
|
|
1312
1437
|
* Sign the provided `TDeleteWalletsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/delete_wallets).
|
|
1313
1438
|
*
|
|
@@ -1332,7 +1457,7 @@ class TurnkeyClient {
|
|
|
1332
1457
|
};
|
|
1333
1458
|
};
|
|
1334
1459
|
/**
|
|
1335
|
-
* Authenticate a user via
|
|
1460
|
+
* Authenticate a user via email.
|
|
1336
1461
|
*
|
|
1337
1462
|
* Sign the provided `TEmailAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/email_auth).
|
|
1338
1463
|
*
|
|
@@ -1357,7 +1482,7 @@ class TurnkeyClient {
|
|
|
1357
1482
|
};
|
|
1358
1483
|
};
|
|
1359
1484
|
/**
|
|
1360
|
-
*
|
|
1485
|
+
* Export a private key.
|
|
1361
1486
|
*
|
|
1362
1487
|
* Sign the provided `TExportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_private_key).
|
|
1363
1488
|
*
|
|
@@ -1382,7 +1507,7 @@ class TurnkeyClient {
|
|
|
1382
1507
|
};
|
|
1383
1508
|
};
|
|
1384
1509
|
/**
|
|
1385
|
-
*
|
|
1510
|
+
* Export a wallet.
|
|
1386
1511
|
*
|
|
1387
1512
|
* Sign the provided `TExportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_wallet).
|
|
1388
1513
|
*
|
|
@@ -1407,7 +1532,7 @@ class TurnkeyClient {
|
|
|
1407
1532
|
};
|
|
1408
1533
|
};
|
|
1409
1534
|
/**
|
|
1410
|
-
*
|
|
1535
|
+
* Export a wallet account.
|
|
1411
1536
|
*
|
|
1412
1537
|
* Sign the provided `TExportWalletAccountBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/export_wallet_account).
|
|
1413
1538
|
*
|
|
@@ -1432,7 +1557,7 @@ class TurnkeyClient {
|
|
|
1432
1557
|
};
|
|
1433
1558
|
};
|
|
1434
1559
|
/**
|
|
1435
|
-
*
|
|
1560
|
+
* Import a private key.
|
|
1436
1561
|
*
|
|
1437
1562
|
* Sign the provided `TImportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/import_private_key).
|
|
1438
1563
|
*
|
|
@@ -1457,7 +1582,7 @@ class TurnkeyClient {
|
|
|
1457
1582
|
};
|
|
1458
1583
|
};
|
|
1459
1584
|
/**
|
|
1460
|
-
*
|
|
1585
|
+
* Import a wallet.
|
|
1461
1586
|
*
|
|
1462
1587
|
* Sign the provided `TImportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/import_wallet).
|
|
1463
1588
|
*
|
|
@@ -1482,7 +1607,7 @@ class TurnkeyClient {
|
|
|
1482
1607
|
};
|
|
1483
1608
|
};
|
|
1484
1609
|
/**
|
|
1485
|
-
* Initiate a fiat on ramp flow
|
|
1610
|
+
* Initiate a fiat on ramp flow.
|
|
1486
1611
|
*
|
|
1487
1612
|
* Sign the provided `TInitFiatOnRampBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_fiat_on_ramp).
|
|
1488
1613
|
*
|
|
@@ -1507,7 +1632,7 @@ class TurnkeyClient {
|
|
|
1507
1632
|
};
|
|
1508
1633
|
};
|
|
1509
1634
|
/**
|
|
1510
|
-
*
|
|
1635
|
+
* Initialize a new private key import.
|
|
1511
1636
|
*
|
|
1512
1637
|
* Sign the provided `TInitImportPrivateKeyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_import_private_key).
|
|
1513
1638
|
*
|
|
@@ -1532,7 +1657,7 @@ class TurnkeyClient {
|
|
|
1532
1657
|
};
|
|
1533
1658
|
};
|
|
1534
1659
|
/**
|
|
1535
|
-
*
|
|
1660
|
+
* Initialize a new wallet import.
|
|
1536
1661
|
*
|
|
1537
1662
|
* Sign the provided `TInitImportWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_import_wallet).
|
|
1538
1663
|
*
|
|
@@ -1557,7 +1682,7 @@ class TurnkeyClient {
|
|
|
1557
1682
|
};
|
|
1558
1683
|
};
|
|
1559
1684
|
/**
|
|
1560
|
-
* Initiate a
|
|
1685
|
+
* Initiate a generic OTP activity.
|
|
1561
1686
|
*
|
|
1562
1687
|
* Sign the provided `TInitOtpBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_otp).
|
|
1563
1688
|
*
|
|
@@ -1582,7 +1707,7 @@ class TurnkeyClient {
|
|
|
1582
1707
|
};
|
|
1583
1708
|
};
|
|
1584
1709
|
/**
|
|
1585
|
-
* Initiate an OTP auth activity
|
|
1710
|
+
* Initiate an OTP auth activity.
|
|
1586
1711
|
*
|
|
1587
1712
|
* Sign the provided `TInitOtpAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_otp_auth).
|
|
1588
1713
|
*
|
|
@@ -1607,7 +1732,7 @@ class TurnkeyClient {
|
|
|
1607
1732
|
};
|
|
1608
1733
|
};
|
|
1609
1734
|
/**
|
|
1610
|
-
*
|
|
1735
|
+
* Initialize a new email recovery.
|
|
1611
1736
|
*
|
|
1612
1737
|
* Sign the provided `TInitUserEmailRecoveryBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/init_user_email_recovery).
|
|
1613
1738
|
*
|
|
@@ -1632,7 +1757,7 @@ class TurnkeyClient {
|
|
|
1632
1757
|
};
|
|
1633
1758
|
};
|
|
1634
1759
|
/**
|
|
1635
|
-
* Authenticate a user with an
|
|
1760
|
+
* Authenticate a user with an OIDC token (Oauth).
|
|
1636
1761
|
*
|
|
1637
1762
|
* Sign the provided `TOauthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/oauth).
|
|
1638
1763
|
*
|
|
@@ -1657,7 +1782,7 @@ class TurnkeyClient {
|
|
|
1657
1782
|
};
|
|
1658
1783
|
};
|
|
1659
1784
|
/**
|
|
1660
|
-
* Create an Oauth session for a user
|
|
1785
|
+
* Create an Oauth session for a user.
|
|
1661
1786
|
*
|
|
1662
1787
|
* Sign the provided `TOauthLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/oauth_login).
|
|
1663
1788
|
*
|
|
@@ -1682,7 +1807,7 @@ class TurnkeyClient {
|
|
|
1682
1807
|
};
|
|
1683
1808
|
};
|
|
1684
1809
|
/**
|
|
1685
|
-
* Authenticate a user with an OTP code sent via email or SMS
|
|
1810
|
+
* Authenticate a user with an OTP code sent via email or SMS.
|
|
1686
1811
|
*
|
|
1687
1812
|
* Sign the provided `TOtpAuthBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/otp_auth).
|
|
1688
1813
|
*
|
|
@@ -1707,7 +1832,7 @@ class TurnkeyClient {
|
|
|
1707
1832
|
};
|
|
1708
1833
|
};
|
|
1709
1834
|
/**
|
|
1710
|
-
* Create an OTP session for a user
|
|
1835
|
+
* Create an OTP session for a user.
|
|
1711
1836
|
*
|
|
1712
1837
|
* Sign the provided `TOtpLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/otp_login).
|
|
1713
1838
|
*
|
|
@@ -1732,7 +1857,7 @@ class TurnkeyClient {
|
|
|
1732
1857
|
};
|
|
1733
1858
|
};
|
|
1734
1859
|
/**
|
|
1735
|
-
*
|
|
1860
|
+
* Complete the process of recovering a user by adding an authenticator.
|
|
1736
1861
|
*
|
|
1737
1862
|
* Sign the provided `TRecoverUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/recover_user).
|
|
1738
1863
|
*
|
|
@@ -1757,7 +1882,7 @@ class TurnkeyClient {
|
|
|
1757
1882
|
};
|
|
1758
1883
|
};
|
|
1759
1884
|
/**
|
|
1760
|
-
* Reject an
|
|
1885
|
+
* Reject an activity.
|
|
1761
1886
|
*
|
|
1762
1887
|
* Sign the provided `TRejectActivityBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/reject_activity).
|
|
1763
1888
|
*
|
|
@@ -1782,7 +1907,7 @@ class TurnkeyClient {
|
|
|
1782
1907
|
};
|
|
1783
1908
|
};
|
|
1784
1909
|
/**
|
|
1785
|
-
*
|
|
1910
|
+
* Remove an organization feature. This activity must be approved by the current root quorum.
|
|
1786
1911
|
*
|
|
1787
1912
|
* Sign the provided `TRemoveOrganizationFeatureBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/remove_organization_feature).
|
|
1788
1913
|
*
|
|
@@ -1807,7 +1932,7 @@ class TurnkeyClient {
|
|
|
1807
1932
|
};
|
|
1808
1933
|
};
|
|
1809
1934
|
/**
|
|
1810
|
-
*
|
|
1935
|
+
* Set an organization feature. This activity must be approved by the current root quorum.
|
|
1811
1936
|
*
|
|
1812
1937
|
* Sign the provided `TSetOrganizationFeatureBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/set_organization_feature).
|
|
1813
1938
|
*
|
|
@@ -1832,7 +1957,7 @@ class TurnkeyClient {
|
|
|
1832
1957
|
};
|
|
1833
1958
|
};
|
|
1834
1959
|
/**
|
|
1835
|
-
* Sign a raw payload
|
|
1960
|
+
* Sign a raw payload.
|
|
1836
1961
|
*
|
|
1837
1962
|
* Sign the provided `TSignRawPayloadBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_raw_payload).
|
|
1838
1963
|
*
|
|
@@ -1857,7 +1982,7 @@ class TurnkeyClient {
|
|
|
1857
1982
|
};
|
|
1858
1983
|
};
|
|
1859
1984
|
/**
|
|
1860
|
-
* Sign multiple raw payloads with the same signing parameters
|
|
1985
|
+
* Sign multiple raw payloads with the same signing parameters.
|
|
1861
1986
|
*
|
|
1862
1987
|
* Sign the provided `TSignRawPayloadsBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_raw_payloads).
|
|
1863
1988
|
*
|
|
@@ -1882,7 +2007,7 @@ class TurnkeyClient {
|
|
|
1882
2007
|
};
|
|
1883
2008
|
};
|
|
1884
2009
|
/**
|
|
1885
|
-
* Sign a transaction
|
|
2010
|
+
* Sign a transaction.
|
|
1886
2011
|
*
|
|
1887
2012
|
* Sign the provided `TSignTransactionBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/sign_transaction).
|
|
1888
2013
|
*
|
|
@@ -1907,7 +2032,7 @@ class TurnkeyClient {
|
|
|
1907
2032
|
};
|
|
1908
2033
|
};
|
|
1909
2034
|
/**
|
|
1910
|
-
* Create a session for a user through stamping client side (
|
|
2035
|
+
* Create a session for a user through stamping client side (API key, wallet client, or passkey client).
|
|
1911
2036
|
*
|
|
1912
2037
|
* Sign the provided `TStampLoginBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/stamp_login).
|
|
1913
2038
|
*
|
|
@@ -1932,7 +2057,7 @@ class TurnkeyClient {
|
|
|
1932
2057
|
};
|
|
1933
2058
|
};
|
|
1934
2059
|
/**
|
|
1935
|
-
* Update an existing
|
|
2060
|
+
* Update an existing policy.
|
|
1936
2061
|
*
|
|
1937
2062
|
* Sign the provided `TUpdatePolicyBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_policy).
|
|
1938
2063
|
*
|
|
@@ -2007,7 +2132,7 @@ class TurnkeyClient {
|
|
|
2007
2132
|
};
|
|
2008
2133
|
};
|
|
2009
2134
|
/**
|
|
2010
|
-
* Update a
|
|
2135
|
+
* Update a user in an existing organization.
|
|
2011
2136
|
*
|
|
2012
2137
|
* Sign the provided `TUpdateUserBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user).
|
|
2013
2138
|
*
|
|
@@ -2032,7 +2157,7 @@ class TurnkeyClient {
|
|
|
2032
2157
|
};
|
|
2033
2158
|
};
|
|
2034
2159
|
/**
|
|
2035
|
-
* Update a
|
|
2160
|
+
* Update a user's email in an existing organization.
|
|
2036
2161
|
*
|
|
2037
2162
|
* Sign the provided `TUpdateUserEmailBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_email).
|
|
2038
2163
|
*
|
|
@@ -2057,7 +2182,7 @@ class TurnkeyClient {
|
|
|
2057
2182
|
};
|
|
2058
2183
|
};
|
|
2059
2184
|
/**
|
|
2060
|
-
* Update a
|
|
2185
|
+
* Update a user's name in an existing organization.
|
|
2061
2186
|
*
|
|
2062
2187
|
* Sign the provided `TUpdateUserNameBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_name).
|
|
2063
2188
|
*
|
|
@@ -2082,7 +2207,7 @@ class TurnkeyClient {
|
|
|
2082
2207
|
};
|
|
2083
2208
|
};
|
|
2084
2209
|
/**
|
|
2085
|
-
* Update a
|
|
2210
|
+
* Update a user's phone number in an existing organization.
|
|
2086
2211
|
*
|
|
2087
2212
|
* Sign the provided `TUpdateUserPhoneNumberBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_user_phone_number).
|
|
2088
2213
|
*
|
|
@@ -2132,7 +2257,7 @@ class TurnkeyClient {
|
|
|
2132
2257
|
};
|
|
2133
2258
|
};
|
|
2134
2259
|
/**
|
|
2135
|
-
* Update a wallet for an organization
|
|
2260
|
+
* Update a wallet for an organization.
|
|
2136
2261
|
*
|
|
2137
2262
|
* Sign the provided `TUpdateWalletBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/update_wallet).
|
|
2138
2263
|
*
|
|
@@ -2157,7 +2282,7 @@ class TurnkeyClient {
|
|
|
2157
2282
|
};
|
|
2158
2283
|
};
|
|
2159
2284
|
/**
|
|
2160
|
-
* Verify a
|
|
2285
|
+
* Verify a generic OTP.
|
|
2161
2286
|
*
|
|
2162
2287
|
* Sign the provided `TVerifyOtpBody` with the client's `stamp` function, and submit the request (POST /public/v1/submit/verify_otp).
|
|
2163
2288
|
*
|
|
@@ -2182,7 +2307,7 @@ class TurnkeyClient {
|
|
|
2182
2307
|
};
|
|
2183
2308
|
};
|
|
2184
2309
|
/**
|
|
2185
|
-
* Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite
|
|
2310
|
+
* Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.
|
|
2186
2311
|
*
|
|
2187
2312
|
* Sign the provided `TTestRateLimitsBody` with the client's `stamp` function, and submit the request (POST /tkhq/api/v1/test_rate_limits).
|
|
2188
2313
|
*
|