@turnkey/http 0.17.1 → 0.18.1
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 +13 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +4776 -555
- 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 +492 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.swagger.json +822 -60
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +416 -13
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/base.d.ts +10 -1
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +29 -2
- package/dist/base.js.map +1 -1
- package/dist/config.d.ts +8 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +14 -1
- package/dist/config.js.map +1 -1
- package/dist/encoding.d.ts +1 -0
- package/dist/encoding.d.ts.map +1 -1
- package/dist/encoding.js +6 -8
- package/dist/encoding.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/shared.d.ts +5 -0
- package/dist/shared.d.ts.map +1 -1
- package/dist/webauthn-json/api.d.ts +13 -0
- package/dist/webauthn-json/api.d.ts.map +1 -0
- package/dist/webauthn-json/api.js +33 -0
- package/dist/webauthn-json/api.js.map +1 -0
- package/dist/webauthn-json/base64url.d.ts +4 -0
- package/dist/webauthn-json/base64url.d.ts.map +1 -0
- package/dist/webauthn-json/base64url.js +37 -0
- package/dist/webauthn-json/base64url.js.map +1 -0
- package/dist/webauthn-json/convert.d.ts +8 -0
- package/dist/webauthn-json/convert.d.ts.map +1 -0
- package/dist/webauthn-json/convert.js +69 -0
- package/dist/webauthn-json/convert.js.map +1 -0
- package/dist/webauthn-json/index.d.ts +14 -0
- package/dist/webauthn-json/index.d.ts.map +1 -0
- package/dist/webauthn-json/index.js +19 -0
- package/dist/webauthn-json/index.js.map +1 -0
- package/dist/webauthn-json/json.d.ts +92 -0
- package/dist/webauthn-json/json.d.ts.map +1 -0
- package/dist/webauthn-json/json.js +3 -0
- package/dist/webauthn-json/json.js.map +1 -0
- package/dist/webauthn-json/schema-format.d.ts +13 -0
- package/dist/webauthn-json/schema-format.d.ts.map +1 -0
- package/dist/webauthn-json/schema-format.js +3 -0
- package/dist/webauthn-json/schema-format.js.map +1 -0
- package/dist/webauthn-json/schema.d.ts +9 -0
- package/dist/webauthn-json/schema.d.ts.map +1 -0
- package/dist/webauthn-json/schema.js +86 -0
- package/dist/webauthn-json/schema.js.map +1 -0
- package/dist/webauthn.d.ts +24 -0
- package/dist/webauthn.d.ts.map +1 -0
- package/dist/webauthn.js +82 -0
- package/dist/webauthn.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* @generated by `@turnkey/fetchers`. DO NOT EDIT BY HAND */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.federatedPostDeleteInvitation = exports.postDeleteInvitation = exports.federatedPostDeleteApiKeys = exports.postDeleteApiKeys = exports.federatedPostCreateUsers = exports.postCreateUsers = exports.federatedPostCreateUserTag = exports.postCreateUserTag = exports.federatedPostCreateSubOrganization = exports.postCreateSubOrganization = exports.federatedPostCreatePrivateKeys = exports.postCreatePrivateKeys = exports.federatedPostCreatePrivateKeyTag = exports.postCreatePrivateKeyTag = exports.federatedPostCreatePolicy = exports.postCreatePolicy = exports.federatedPostCreateInvitations = exports.postCreateInvitations = exports.federatedPostCreateAuthenticators = exports.postCreateAuthenticators = exports.federatedPostCreateApiOnlyUsers = exports.postCreateApiOnlyUsers = exports.federatedPostCreateApiKeys = exports.postCreateApiKeys = exports.federatedPostApproveActivity = exports.postApproveActivity = exports.federatedPostGetWhoami = exports.postGetWhoami = exports.federatedPostGetUsers = exports.postGetUsers = exports.federatedPostGetPrivateKeys = exports.postGetPrivateKeys = exports.federatedPostGetPolicies = exports.postGetPolicies = exports.federatedPostGetActivities = exports.postGetActivities = exports.federatedPostGetUser = exports.postGetUser = exports.federatedPostGetPrivateKey = exports.postGetPrivateKey = exports.federatedPostGetPolicy = exports.postGetPolicy = exports.federatedPostGetOrganization = exports.postGetOrganization = exports.federatedPostGetAuthenticators = exports.postGetAuthenticators = exports.federatedPostGetAuthenticator = exports.postGetAuthenticator = exports.federatedPostGetActivity = exports.postGetActivity = void 0;
|
|
5
|
+
exports.federatedPostGetPrivateKeyBackwardsCompat = exports.postGetPrivateKeyBackwardsCompat = exports.federatedPostNOOPCodegenAnchor = exports.postNOOPCodegenAnchor = exports.federatedPostUpdateUserTag = exports.postUpdateUserTag = exports.federatedPostUpdateRootQuorum = exports.postUpdateRootQuorum = exports.federatedPostUpdatePrivateKeyTag = exports.postUpdatePrivateKeyTag = exports.federatedPostUpdateAllowedOrigins = exports.postUpdateAllowedOrigins = exports.federatedPostSignTransaction = exports.postSignTransaction = exports.federatedPostSignRawPayload = exports.postSignRawPayload = exports.federatedPostRejectActivity = exports.postRejectActivity = exports.federatedPostDeletePolicy = exports.postDeletePolicy = void 0;
|
|
5
6
|
const base_1 = require("../../../../../base");
|
|
6
7
|
/**
|
|
7
8
|
* Get Activity
|
|
@@ -16,6 +17,65 @@ const postGetActivity = (input) => (0, base_1.request)({
|
|
|
16
17
|
body: input.body,
|
|
17
18
|
});
|
|
18
19
|
exports.postGetActivity = postGetActivity;
|
|
20
|
+
/**
|
|
21
|
+
* Get Activity
|
|
22
|
+
*
|
|
23
|
+
* Get details about an Activity
|
|
24
|
+
*/
|
|
25
|
+
const federatedPostGetActivity = (input, options) => (0, base_1.federatedRequest)({
|
|
26
|
+
uri: "/public/v1/query/get_activity",
|
|
27
|
+
body: input.body,
|
|
28
|
+
options,
|
|
29
|
+
});
|
|
30
|
+
exports.federatedPostGetActivity = federatedPostGetActivity;
|
|
31
|
+
/**
|
|
32
|
+
* Get Authenticator
|
|
33
|
+
*
|
|
34
|
+
* Get details about an authenticator
|
|
35
|
+
*
|
|
36
|
+
* `POST /public/v1/query/get_authenticator`
|
|
37
|
+
*/
|
|
38
|
+
const postGetAuthenticator = (input) => (0, base_1.request)({
|
|
39
|
+
uri: "/public/v1/query/get_authenticator",
|
|
40
|
+
method: "POST",
|
|
41
|
+
body: input.body,
|
|
42
|
+
});
|
|
43
|
+
exports.postGetAuthenticator = postGetAuthenticator;
|
|
44
|
+
/**
|
|
45
|
+
* Get Authenticator
|
|
46
|
+
*
|
|
47
|
+
* Get details about an authenticator
|
|
48
|
+
*/
|
|
49
|
+
const federatedPostGetAuthenticator = (input, options) => (0, base_1.federatedRequest)({
|
|
50
|
+
uri: "/public/v1/query/get_authenticator",
|
|
51
|
+
body: input.body,
|
|
52
|
+
options,
|
|
53
|
+
});
|
|
54
|
+
exports.federatedPostGetAuthenticator = federatedPostGetAuthenticator;
|
|
55
|
+
/**
|
|
56
|
+
* Get Authenticators
|
|
57
|
+
*
|
|
58
|
+
* Get details about authenticators for a user
|
|
59
|
+
*
|
|
60
|
+
* `POST /public/v1/query/get_authenticators`
|
|
61
|
+
*/
|
|
62
|
+
const postGetAuthenticators = (input) => (0, base_1.request)({
|
|
63
|
+
uri: "/public/v1/query/get_authenticators",
|
|
64
|
+
method: "POST",
|
|
65
|
+
body: input.body,
|
|
66
|
+
});
|
|
67
|
+
exports.postGetAuthenticators = postGetAuthenticators;
|
|
68
|
+
/**
|
|
69
|
+
* Get Authenticators
|
|
70
|
+
*
|
|
71
|
+
* Get details about authenticators for a user
|
|
72
|
+
*/
|
|
73
|
+
const federatedPostGetAuthenticators = (input, options) => (0, base_1.federatedRequest)({
|
|
74
|
+
uri: "/public/v1/query/get_authenticators",
|
|
75
|
+
body: input.body,
|
|
76
|
+
options,
|
|
77
|
+
});
|
|
78
|
+
exports.federatedPostGetAuthenticators = federatedPostGetAuthenticators;
|
|
19
79
|
/**
|
|
20
80
|
* Get Organization
|
|
21
81
|
*
|
|
@@ -29,6 +89,17 @@ const postGetOrganization = (input) => (0, base_1.request)({
|
|
|
29
89
|
body: input.body,
|
|
30
90
|
});
|
|
31
91
|
exports.postGetOrganization = postGetOrganization;
|
|
92
|
+
/**
|
|
93
|
+
* Get Organization
|
|
94
|
+
*
|
|
95
|
+
* Get details about an Organization
|
|
96
|
+
*/
|
|
97
|
+
const federatedPostGetOrganization = (input, options) => (0, base_1.federatedRequest)({
|
|
98
|
+
uri: "/public/v1/query/get_organization",
|
|
99
|
+
body: input.body,
|
|
100
|
+
options,
|
|
101
|
+
});
|
|
102
|
+
exports.federatedPostGetOrganization = federatedPostGetOrganization;
|
|
32
103
|
/**
|
|
33
104
|
* Get Policy
|
|
34
105
|
*
|
|
@@ -42,6 +113,17 @@ const postGetPolicy = (input) => (0, base_1.request)({
|
|
|
42
113
|
body: input.body,
|
|
43
114
|
});
|
|
44
115
|
exports.postGetPolicy = postGetPolicy;
|
|
116
|
+
/**
|
|
117
|
+
* Get Policy
|
|
118
|
+
*
|
|
119
|
+
* Get details about a Policy
|
|
120
|
+
*/
|
|
121
|
+
const federatedPostGetPolicy = (input, options) => (0, base_1.federatedRequest)({
|
|
122
|
+
uri: "/public/v1/query/get_policy",
|
|
123
|
+
body: input.body,
|
|
124
|
+
options,
|
|
125
|
+
});
|
|
126
|
+
exports.federatedPostGetPolicy = federatedPostGetPolicy;
|
|
45
127
|
/**
|
|
46
128
|
* Get Private Key
|
|
47
129
|
*
|
|
@@ -55,6 +137,17 @@ const postGetPrivateKey = (input) => (0, base_1.request)({
|
|
|
55
137
|
body: input.body,
|
|
56
138
|
});
|
|
57
139
|
exports.postGetPrivateKey = postGetPrivateKey;
|
|
140
|
+
/**
|
|
141
|
+
* Get Private Key
|
|
142
|
+
*
|
|
143
|
+
* Get details about a Private Key
|
|
144
|
+
*/
|
|
145
|
+
const federatedPostGetPrivateKey = (input, options) => (0, base_1.federatedRequest)({
|
|
146
|
+
uri: "/public/v1/query/get_private_key",
|
|
147
|
+
body: input.body,
|
|
148
|
+
options,
|
|
149
|
+
});
|
|
150
|
+
exports.federatedPostGetPrivateKey = federatedPostGetPrivateKey;
|
|
58
151
|
/**
|
|
59
152
|
* Get User
|
|
60
153
|
*
|
|
@@ -68,6 +161,17 @@ const postGetUser = (input) => (0, base_1.request)({
|
|
|
68
161
|
body: input.body,
|
|
69
162
|
});
|
|
70
163
|
exports.postGetUser = postGetUser;
|
|
164
|
+
/**
|
|
165
|
+
* Get User
|
|
166
|
+
*
|
|
167
|
+
* Get details about a User
|
|
168
|
+
*/
|
|
169
|
+
const federatedPostGetUser = (input, options) => (0, base_1.federatedRequest)({
|
|
170
|
+
uri: "/public/v1/query/get_user",
|
|
171
|
+
body: input.body,
|
|
172
|
+
options,
|
|
173
|
+
});
|
|
174
|
+
exports.federatedPostGetUser = federatedPostGetUser;
|
|
71
175
|
/**
|
|
72
176
|
* List Activities
|
|
73
177
|
*
|
|
@@ -81,6 +185,17 @@ const postGetActivities = (input) => (0, base_1.request)({
|
|
|
81
185
|
body: input.body,
|
|
82
186
|
});
|
|
83
187
|
exports.postGetActivities = postGetActivities;
|
|
188
|
+
/**
|
|
189
|
+
* List Activities
|
|
190
|
+
*
|
|
191
|
+
* List all Activities within an Organization
|
|
192
|
+
*/
|
|
193
|
+
const federatedPostGetActivities = (input, options) => (0, base_1.federatedRequest)({
|
|
194
|
+
uri: "/public/v1/query/list_activities",
|
|
195
|
+
body: input.body,
|
|
196
|
+
options,
|
|
197
|
+
});
|
|
198
|
+
exports.federatedPostGetActivities = federatedPostGetActivities;
|
|
84
199
|
/**
|
|
85
200
|
* List Policies
|
|
86
201
|
*
|
|
@@ -94,6 +209,17 @@ const postGetPolicies = (input) => (0, base_1.request)({
|
|
|
94
209
|
body: input.body,
|
|
95
210
|
});
|
|
96
211
|
exports.postGetPolicies = postGetPolicies;
|
|
212
|
+
/**
|
|
213
|
+
* List Policies
|
|
214
|
+
*
|
|
215
|
+
* List all Policies within an Organization
|
|
216
|
+
*/
|
|
217
|
+
const federatedPostGetPolicies = (input, options) => (0, base_1.federatedRequest)({
|
|
218
|
+
uri: "/public/v1/query/list_policies",
|
|
219
|
+
body: input.body,
|
|
220
|
+
options,
|
|
221
|
+
});
|
|
222
|
+
exports.federatedPostGetPolicies = federatedPostGetPolicies;
|
|
97
223
|
/**
|
|
98
224
|
* List Private Keys
|
|
99
225
|
*
|
|
@@ -107,6 +233,17 @@ const postGetPrivateKeys = (input) => (0, base_1.request)({
|
|
|
107
233
|
body: input.body,
|
|
108
234
|
});
|
|
109
235
|
exports.postGetPrivateKeys = postGetPrivateKeys;
|
|
236
|
+
/**
|
|
237
|
+
* List Private Keys
|
|
238
|
+
*
|
|
239
|
+
* List all Private Keys within an Organization
|
|
240
|
+
*/
|
|
241
|
+
const federatedPostGetPrivateKeys = (input, options) => (0, base_1.federatedRequest)({
|
|
242
|
+
uri: "/public/v1/query/list_private_keys",
|
|
243
|
+
body: input.body,
|
|
244
|
+
options,
|
|
245
|
+
});
|
|
246
|
+
exports.federatedPostGetPrivateKeys = federatedPostGetPrivateKeys;
|
|
110
247
|
/**
|
|
111
248
|
* List Users
|
|
112
249
|
*
|
|
@@ -120,6 +257,17 @@ const postGetUsers = (input) => (0, base_1.request)({
|
|
|
120
257
|
body: input.body,
|
|
121
258
|
});
|
|
122
259
|
exports.postGetUsers = postGetUsers;
|
|
260
|
+
/**
|
|
261
|
+
* List Users
|
|
262
|
+
*
|
|
263
|
+
* List all Users within an Organization
|
|
264
|
+
*/
|
|
265
|
+
const federatedPostGetUsers = (input, options) => (0, base_1.federatedRequest)({
|
|
266
|
+
uri: "/public/v1/query/list_users",
|
|
267
|
+
body: input.body,
|
|
268
|
+
options,
|
|
269
|
+
});
|
|
270
|
+
exports.federatedPostGetUsers = federatedPostGetUsers;
|
|
123
271
|
/**
|
|
124
272
|
* Who am I?
|
|
125
273
|
*
|
|
@@ -133,6 +281,17 @@ const postGetWhoami = (input) => (0, base_1.request)({
|
|
|
133
281
|
body: input.body,
|
|
134
282
|
});
|
|
135
283
|
exports.postGetWhoami = postGetWhoami;
|
|
284
|
+
/**
|
|
285
|
+
* Who am I?
|
|
286
|
+
*
|
|
287
|
+
* Get basic information about your current API user and your organization
|
|
288
|
+
*/
|
|
289
|
+
const federatedPostGetWhoami = (input, options) => (0, base_1.federatedRequest)({
|
|
290
|
+
uri: "/public/v1/query/whoami",
|
|
291
|
+
body: input.body,
|
|
292
|
+
options,
|
|
293
|
+
});
|
|
294
|
+
exports.federatedPostGetWhoami = federatedPostGetWhoami;
|
|
136
295
|
/**
|
|
137
296
|
* Approve Activity
|
|
138
297
|
*
|
|
@@ -146,6 +305,17 @@ const postApproveActivity = (input) => (0, base_1.request)({
|
|
|
146
305
|
body: input.body,
|
|
147
306
|
});
|
|
148
307
|
exports.postApproveActivity = postApproveActivity;
|
|
308
|
+
/**
|
|
309
|
+
* Approve Activity
|
|
310
|
+
*
|
|
311
|
+
* Approve an Activity
|
|
312
|
+
*/
|
|
313
|
+
const federatedPostApproveActivity = (input, options) => (0, base_1.federatedRequest)({
|
|
314
|
+
uri: "/public/v1/submit/approve_activity",
|
|
315
|
+
body: input.body,
|
|
316
|
+
options,
|
|
317
|
+
});
|
|
318
|
+
exports.federatedPostApproveActivity = federatedPostApproveActivity;
|
|
149
319
|
/**
|
|
150
320
|
* Create API Keys
|
|
151
321
|
*
|
|
@@ -159,6 +329,17 @@ const postCreateApiKeys = (input) => (0, base_1.request)({
|
|
|
159
329
|
body: input.body,
|
|
160
330
|
});
|
|
161
331
|
exports.postCreateApiKeys = postCreateApiKeys;
|
|
332
|
+
/**
|
|
333
|
+
* Create API Keys
|
|
334
|
+
*
|
|
335
|
+
* Add api keys to an existing User
|
|
336
|
+
*/
|
|
337
|
+
const federatedPostCreateApiKeys = (input, options) => (0, base_1.federatedRequest)({
|
|
338
|
+
uri: "/public/v1/submit/create_api_keys",
|
|
339
|
+
body: input.body,
|
|
340
|
+
options,
|
|
341
|
+
});
|
|
342
|
+
exports.federatedPostCreateApiKeys = federatedPostCreateApiKeys;
|
|
162
343
|
/**
|
|
163
344
|
* Create API-only Users
|
|
164
345
|
*
|
|
@@ -172,6 +353,17 @@ const postCreateApiOnlyUsers = (input) => (0, base_1.request)({
|
|
|
172
353
|
body: input.body,
|
|
173
354
|
});
|
|
174
355
|
exports.postCreateApiOnlyUsers = postCreateApiOnlyUsers;
|
|
356
|
+
/**
|
|
357
|
+
* Create API-only Users
|
|
358
|
+
*
|
|
359
|
+
* Create API-only Users in an existing Organization
|
|
360
|
+
*/
|
|
361
|
+
const federatedPostCreateApiOnlyUsers = (input, options) => (0, base_1.federatedRequest)({
|
|
362
|
+
uri: "/public/v1/submit/create_api_only_users",
|
|
363
|
+
body: input.body,
|
|
364
|
+
options,
|
|
365
|
+
});
|
|
366
|
+
exports.federatedPostCreateApiOnlyUsers = federatedPostCreateApiOnlyUsers;
|
|
175
367
|
/**
|
|
176
368
|
* Create Authenticators
|
|
177
369
|
*
|
|
@@ -185,6 +377,17 @@ const postCreateAuthenticators = (input) => (0, base_1.request)({
|
|
|
185
377
|
body: input.body,
|
|
186
378
|
});
|
|
187
379
|
exports.postCreateAuthenticators = postCreateAuthenticators;
|
|
380
|
+
/**
|
|
381
|
+
* Create Authenticators
|
|
382
|
+
*
|
|
383
|
+
* Create Authenticators to authenticate requests to Turnkey
|
|
384
|
+
*/
|
|
385
|
+
const federatedPostCreateAuthenticators = (input, options) => (0, base_1.federatedRequest)({
|
|
386
|
+
uri: "/public/v1/submit/create_authenticators",
|
|
387
|
+
body: input.body,
|
|
388
|
+
options,
|
|
389
|
+
});
|
|
390
|
+
exports.federatedPostCreateAuthenticators = federatedPostCreateAuthenticators;
|
|
188
391
|
/**
|
|
189
392
|
* Create Invitations
|
|
190
393
|
*
|
|
@@ -198,6 +401,17 @@ const postCreateInvitations = (input) => (0, base_1.request)({
|
|
|
198
401
|
body: input.body,
|
|
199
402
|
});
|
|
200
403
|
exports.postCreateInvitations = postCreateInvitations;
|
|
404
|
+
/**
|
|
405
|
+
* Create Invitations
|
|
406
|
+
*
|
|
407
|
+
* Create Invitations to join an existing Organization
|
|
408
|
+
*/
|
|
409
|
+
const federatedPostCreateInvitations = (input, options) => (0, base_1.federatedRequest)({
|
|
410
|
+
uri: "/public/v1/submit/create_invitations",
|
|
411
|
+
body: input.body,
|
|
412
|
+
options,
|
|
413
|
+
});
|
|
414
|
+
exports.federatedPostCreateInvitations = federatedPostCreateInvitations;
|
|
201
415
|
/**
|
|
202
416
|
* Create Policy
|
|
203
417
|
*
|
|
@@ -211,6 +425,41 @@ const postCreatePolicy = (input) => (0, base_1.request)({
|
|
|
211
425
|
body: input.body,
|
|
212
426
|
});
|
|
213
427
|
exports.postCreatePolicy = postCreatePolicy;
|
|
428
|
+
/**
|
|
429
|
+
* Create Policy
|
|
430
|
+
*
|
|
431
|
+
* Create a new Policy
|
|
432
|
+
*/
|
|
433
|
+
const federatedPostCreatePolicy = (input, options) => (0, base_1.federatedRequest)({
|
|
434
|
+
uri: "/public/v1/submit/create_policy",
|
|
435
|
+
body: input.body,
|
|
436
|
+
options,
|
|
437
|
+
});
|
|
438
|
+
exports.federatedPostCreatePolicy = federatedPostCreatePolicy;
|
|
439
|
+
/**
|
|
440
|
+
* Create User Tag
|
|
441
|
+
*
|
|
442
|
+
* Create a private key tag and add it to private keys.
|
|
443
|
+
*
|
|
444
|
+
* `POST /public/v1/submit/create_private_key_tag`
|
|
445
|
+
*/
|
|
446
|
+
const postCreatePrivateKeyTag = (input) => (0, base_1.request)({
|
|
447
|
+
uri: "/public/v1/submit/create_private_key_tag",
|
|
448
|
+
method: "POST",
|
|
449
|
+
body: input.body,
|
|
450
|
+
});
|
|
451
|
+
exports.postCreatePrivateKeyTag = postCreatePrivateKeyTag;
|
|
452
|
+
/**
|
|
453
|
+
* Create User Tag
|
|
454
|
+
*
|
|
455
|
+
* Create a private key tag and add it to private keys.
|
|
456
|
+
*/
|
|
457
|
+
const federatedPostCreatePrivateKeyTag = (input, options) => (0, base_1.federatedRequest)({
|
|
458
|
+
uri: "/public/v1/submit/create_private_key_tag",
|
|
459
|
+
body: input.body,
|
|
460
|
+
options,
|
|
461
|
+
});
|
|
462
|
+
exports.federatedPostCreatePrivateKeyTag = federatedPostCreatePrivateKeyTag;
|
|
214
463
|
/**
|
|
215
464
|
* Create Private Keys
|
|
216
465
|
*
|
|
@@ -224,6 +473,65 @@ const postCreatePrivateKeys = (input) => (0, base_1.request)({
|
|
|
224
473
|
body: input.body,
|
|
225
474
|
});
|
|
226
475
|
exports.postCreatePrivateKeys = postCreatePrivateKeys;
|
|
476
|
+
/**
|
|
477
|
+
* Create Private Keys
|
|
478
|
+
*
|
|
479
|
+
* Create new Private Keys
|
|
480
|
+
*/
|
|
481
|
+
const federatedPostCreatePrivateKeys = (input, options) => (0, base_1.federatedRequest)({
|
|
482
|
+
uri: "/public/v1/submit/create_private_keys",
|
|
483
|
+
body: input.body,
|
|
484
|
+
options,
|
|
485
|
+
});
|
|
486
|
+
exports.federatedPostCreatePrivateKeys = federatedPostCreatePrivateKeys;
|
|
487
|
+
/**
|
|
488
|
+
* Create Sub-Organization
|
|
489
|
+
*
|
|
490
|
+
* Create a new Sub-Organization
|
|
491
|
+
*
|
|
492
|
+
* `POST /public/v1/submit/create_sub_organization`
|
|
493
|
+
*/
|
|
494
|
+
const postCreateSubOrganization = (input) => (0, base_1.request)({
|
|
495
|
+
uri: "/public/v1/submit/create_sub_organization",
|
|
496
|
+
method: "POST",
|
|
497
|
+
body: input.body,
|
|
498
|
+
});
|
|
499
|
+
exports.postCreateSubOrganization = postCreateSubOrganization;
|
|
500
|
+
/**
|
|
501
|
+
* Create Sub-Organization
|
|
502
|
+
*
|
|
503
|
+
* Create a new Sub-Organization
|
|
504
|
+
*/
|
|
505
|
+
const federatedPostCreateSubOrganization = (input, options) => (0, base_1.federatedRequest)({
|
|
506
|
+
uri: "/public/v1/submit/create_sub_organization",
|
|
507
|
+
body: input.body,
|
|
508
|
+
options,
|
|
509
|
+
});
|
|
510
|
+
exports.federatedPostCreateSubOrganization = federatedPostCreateSubOrganization;
|
|
511
|
+
/**
|
|
512
|
+
* Create User Tag
|
|
513
|
+
*
|
|
514
|
+
* Create a user tag and add it to users.
|
|
515
|
+
*
|
|
516
|
+
* `POST /public/v1/submit/create_user_tag`
|
|
517
|
+
*/
|
|
518
|
+
const postCreateUserTag = (input) => (0, base_1.request)({
|
|
519
|
+
uri: "/public/v1/submit/create_user_tag",
|
|
520
|
+
method: "POST",
|
|
521
|
+
body: input.body,
|
|
522
|
+
});
|
|
523
|
+
exports.postCreateUserTag = postCreateUserTag;
|
|
524
|
+
/**
|
|
525
|
+
* Create User Tag
|
|
526
|
+
*
|
|
527
|
+
* Create a user tag and add it to users.
|
|
528
|
+
*/
|
|
529
|
+
const federatedPostCreateUserTag = (input, options) => (0, base_1.federatedRequest)({
|
|
530
|
+
uri: "/public/v1/submit/create_user_tag",
|
|
531
|
+
body: input.body,
|
|
532
|
+
options,
|
|
533
|
+
});
|
|
534
|
+
exports.federatedPostCreateUserTag = federatedPostCreateUserTag;
|
|
227
535
|
/**
|
|
228
536
|
* Create Users
|
|
229
537
|
*
|
|
@@ -239,6 +547,19 @@ const postCreateUsers = (input) => (0, base_1.request)({
|
|
|
239
547
|
body: input.body,
|
|
240
548
|
});
|
|
241
549
|
exports.postCreateUsers = postCreateUsers;
|
|
550
|
+
/**
|
|
551
|
+
* Create Users
|
|
552
|
+
*
|
|
553
|
+
* Create Users in an existing Organization
|
|
554
|
+
*
|
|
555
|
+
* @deprecated
|
|
556
|
+
*/
|
|
557
|
+
const federatedPostCreateUsers = (input, options) => (0, base_1.federatedRequest)({
|
|
558
|
+
uri: "/public/v1/submit/create_users",
|
|
559
|
+
body: input.body,
|
|
560
|
+
options,
|
|
561
|
+
});
|
|
562
|
+
exports.federatedPostCreateUsers = federatedPostCreateUsers;
|
|
242
563
|
/**
|
|
243
564
|
* Delete API Keys
|
|
244
565
|
*
|
|
@@ -252,6 +573,17 @@ const postDeleteApiKeys = (input) => (0, base_1.request)({
|
|
|
252
573
|
body: input.body,
|
|
253
574
|
});
|
|
254
575
|
exports.postDeleteApiKeys = postDeleteApiKeys;
|
|
576
|
+
/**
|
|
577
|
+
* Delete API Keys
|
|
578
|
+
*
|
|
579
|
+
* Remove api keys from a User
|
|
580
|
+
*/
|
|
581
|
+
const federatedPostDeleteApiKeys = (input, options) => (0, base_1.federatedRequest)({
|
|
582
|
+
uri: "/public/v1/submit/delete_api_keys",
|
|
583
|
+
body: input.body,
|
|
584
|
+
options,
|
|
585
|
+
});
|
|
586
|
+
exports.federatedPostDeleteApiKeys = federatedPostDeleteApiKeys;
|
|
255
587
|
/**
|
|
256
588
|
* Delete Invitation
|
|
257
589
|
*
|
|
@@ -265,6 +597,17 @@ const postDeleteInvitation = (input) => (0, base_1.request)({
|
|
|
265
597
|
body: input.body,
|
|
266
598
|
});
|
|
267
599
|
exports.postDeleteInvitation = postDeleteInvitation;
|
|
600
|
+
/**
|
|
601
|
+
* Delete Invitation
|
|
602
|
+
*
|
|
603
|
+
* Delete an existing Invitation
|
|
604
|
+
*/
|
|
605
|
+
const federatedPostDeleteInvitation = (input, options) => (0, base_1.federatedRequest)({
|
|
606
|
+
uri: "/public/v1/submit/delete_invitations",
|
|
607
|
+
body: input.body,
|
|
608
|
+
options,
|
|
609
|
+
});
|
|
610
|
+
exports.federatedPostDeleteInvitation = federatedPostDeleteInvitation;
|
|
268
611
|
/**
|
|
269
612
|
* Delete Policy
|
|
270
613
|
*
|
|
@@ -278,6 +621,17 @@ const postDeletePolicy = (input) => (0, base_1.request)({
|
|
|
278
621
|
body: input.body,
|
|
279
622
|
});
|
|
280
623
|
exports.postDeletePolicy = postDeletePolicy;
|
|
624
|
+
/**
|
|
625
|
+
* Delete Policy
|
|
626
|
+
*
|
|
627
|
+
* Delete an existing Policy
|
|
628
|
+
*/
|
|
629
|
+
const federatedPostDeletePolicy = (input, options) => (0, base_1.federatedRequest)({
|
|
630
|
+
uri: "/public/v1/submit/delete_policy",
|
|
631
|
+
body: input.body,
|
|
632
|
+
options,
|
|
633
|
+
});
|
|
634
|
+
exports.federatedPostDeletePolicy = federatedPostDeletePolicy;
|
|
281
635
|
/**
|
|
282
636
|
* Reject Activity
|
|
283
637
|
*
|
|
@@ -291,6 +645,17 @@ const postRejectActivity = (input) => (0, base_1.request)({
|
|
|
291
645
|
body: input.body,
|
|
292
646
|
});
|
|
293
647
|
exports.postRejectActivity = postRejectActivity;
|
|
648
|
+
/**
|
|
649
|
+
* Reject Activity
|
|
650
|
+
*
|
|
651
|
+
* Reject an Activity
|
|
652
|
+
*/
|
|
653
|
+
const federatedPostRejectActivity = (input, options) => (0, base_1.federatedRequest)({
|
|
654
|
+
uri: "/public/v1/submit/reject_activity",
|
|
655
|
+
body: input.body,
|
|
656
|
+
options,
|
|
657
|
+
});
|
|
658
|
+
exports.federatedPostRejectActivity = federatedPostRejectActivity;
|
|
294
659
|
/**
|
|
295
660
|
* Sign Raw Payload
|
|
296
661
|
*
|
|
@@ -304,6 +669,17 @@ const postSignRawPayload = (input) => (0, base_1.request)({
|
|
|
304
669
|
body: input.body,
|
|
305
670
|
});
|
|
306
671
|
exports.postSignRawPayload = postSignRawPayload;
|
|
672
|
+
/**
|
|
673
|
+
* Sign Raw Payload
|
|
674
|
+
*
|
|
675
|
+
* Sign a raw payload with a Private Key
|
|
676
|
+
*/
|
|
677
|
+
const federatedPostSignRawPayload = (input, options) => (0, base_1.federatedRequest)({
|
|
678
|
+
uri: "/public/v1/submit/sign_raw_payload",
|
|
679
|
+
body: input.body,
|
|
680
|
+
options,
|
|
681
|
+
});
|
|
682
|
+
exports.federatedPostSignRawPayload = federatedPostSignRawPayload;
|
|
307
683
|
/**
|
|
308
684
|
* Sign Transaction
|
|
309
685
|
*
|
|
@@ -317,6 +693,41 @@ const postSignTransaction = (input) => (0, base_1.request)({
|
|
|
317
693
|
body: input.body,
|
|
318
694
|
});
|
|
319
695
|
exports.postSignTransaction = postSignTransaction;
|
|
696
|
+
/**
|
|
697
|
+
* Sign Transaction
|
|
698
|
+
*
|
|
699
|
+
* Sign a transaction with a Private Key
|
|
700
|
+
*/
|
|
701
|
+
const federatedPostSignTransaction = (input, options) => (0, base_1.federatedRequest)({
|
|
702
|
+
uri: "/public/v1/submit/sign_transaction",
|
|
703
|
+
body: input.body,
|
|
704
|
+
options,
|
|
705
|
+
});
|
|
706
|
+
exports.federatedPostSignTransaction = federatedPostSignTransaction;
|
|
707
|
+
/**
|
|
708
|
+
* Update the allowable origins
|
|
709
|
+
*
|
|
710
|
+
* Update the additional allowable origins for requests besides Turnkey origins
|
|
711
|
+
*
|
|
712
|
+
* `POST /public/v1/submit/update_allowed_origins`
|
|
713
|
+
*/
|
|
714
|
+
const postUpdateAllowedOrigins = (input) => (0, base_1.request)({
|
|
715
|
+
uri: "/public/v1/submit/update_allowed_origins",
|
|
716
|
+
method: "POST",
|
|
717
|
+
body: input.body,
|
|
718
|
+
});
|
|
719
|
+
exports.postUpdateAllowedOrigins = postUpdateAllowedOrigins;
|
|
720
|
+
/**
|
|
721
|
+
* Update the allowable origins
|
|
722
|
+
*
|
|
723
|
+
* Update the additional allowable origins for requests besides Turnkey origins
|
|
724
|
+
*/
|
|
725
|
+
const federatedPostUpdateAllowedOrigins = (input, options) => (0, base_1.federatedRequest)({
|
|
726
|
+
uri: "/public/v1/submit/update_allowed_origins",
|
|
727
|
+
body: input.body,
|
|
728
|
+
options,
|
|
729
|
+
});
|
|
730
|
+
exports.federatedPostUpdateAllowedOrigins = federatedPostUpdateAllowedOrigins;
|
|
320
731
|
/**
|
|
321
732
|
* Update Private Key Tag
|
|
322
733
|
*
|
|
@@ -330,6 +741,41 @@ const postUpdatePrivateKeyTag = (input) => (0, base_1.request)({
|
|
|
330
741
|
body: input.body,
|
|
331
742
|
});
|
|
332
743
|
exports.postUpdatePrivateKeyTag = postUpdatePrivateKeyTag;
|
|
744
|
+
/**
|
|
745
|
+
* Update Private Key Tag
|
|
746
|
+
*
|
|
747
|
+
* Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
|
|
748
|
+
*/
|
|
749
|
+
const federatedPostUpdatePrivateKeyTag = (input, options) => (0, base_1.federatedRequest)({
|
|
750
|
+
uri: "/public/v1/submit/update_private_key_tag",
|
|
751
|
+
body: input.body,
|
|
752
|
+
options,
|
|
753
|
+
});
|
|
754
|
+
exports.federatedPostUpdatePrivateKeyTag = federatedPostUpdatePrivateKeyTag;
|
|
755
|
+
/**
|
|
756
|
+
* Set the root quorum
|
|
757
|
+
*
|
|
758
|
+
* Set the threshold and members of the root quorum. This must be approved by the current root quorum.
|
|
759
|
+
*
|
|
760
|
+
* `POST /public/v1/submit/update_root_quorum`
|
|
761
|
+
*/
|
|
762
|
+
const postUpdateRootQuorum = (input) => (0, base_1.request)({
|
|
763
|
+
uri: "/public/v1/submit/update_root_quorum",
|
|
764
|
+
method: "POST",
|
|
765
|
+
body: input.body,
|
|
766
|
+
});
|
|
767
|
+
exports.postUpdateRootQuorum = postUpdateRootQuorum;
|
|
768
|
+
/**
|
|
769
|
+
* Set the root quorum
|
|
770
|
+
*
|
|
771
|
+
* Set the threshold and members of the root quorum. This must be approved by the current root quorum.
|
|
772
|
+
*/
|
|
773
|
+
const federatedPostUpdateRootQuorum = (input, options) => (0, base_1.federatedRequest)({
|
|
774
|
+
uri: "/public/v1/submit/update_root_quorum",
|
|
775
|
+
body: input.body,
|
|
776
|
+
options,
|
|
777
|
+
});
|
|
778
|
+
exports.federatedPostUpdateRootQuorum = federatedPostUpdateRootQuorum;
|
|
333
779
|
/**
|
|
334
780
|
* Update User Tag
|
|
335
781
|
*
|
|
@@ -343,6 +789,38 @@ const postUpdateUserTag = (input) => (0, base_1.request)({
|
|
|
343
789
|
body: input.body,
|
|
344
790
|
});
|
|
345
791
|
exports.postUpdateUserTag = postUpdateUserTag;
|
|
792
|
+
/**
|
|
793
|
+
* Update User Tag
|
|
794
|
+
*
|
|
795
|
+
* Update human-readable name or associated users. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
|
|
796
|
+
*/
|
|
797
|
+
const federatedPostUpdateUserTag = (input, options) => (0, base_1.federatedRequest)({
|
|
798
|
+
uri: "/public/v1/submit/update_user_tag",
|
|
799
|
+
body: input.body,
|
|
800
|
+
options,
|
|
801
|
+
});
|
|
802
|
+
exports.federatedPostUpdateUserTag = federatedPostUpdateUserTag;
|
|
803
|
+
/**
|
|
804
|
+
* This route does nothing and does not need an implementation, but please don't remove it.
|
|
805
|
+
It's used at compile time for generating extra OpenAPI/TypeScript types
|
|
806
|
+
that are not directly referenced in requests.
|
|
807
|
+
*
|
|
808
|
+
* `POST /tkhq/api/v1/noop-codegen-anchor`
|
|
809
|
+
*/
|
|
810
|
+
const postNOOPCodegenAnchor = () => (0, base_1.request)({
|
|
811
|
+
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
812
|
+
method: "POST",
|
|
813
|
+
});
|
|
814
|
+
exports.postNOOPCodegenAnchor = postNOOPCodegenAnchor;
|
|
815
|
+
/**
|
|
816
|
+
* This route does nothing and does not need an implementation, but please don't remove it.
|
|
817
|
+
It's used at compile time for generating extra OpenAPI/TypeScript types
|
|
818
|
+
that are not directly referenced in requests.
|
|
819
|
+
*/
|
|
820
|
+
const federatedPostNOOPCodegenAnchor = () => (0, base_1.federatedRequest)({
|
|
821
|
+
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
822
|
+
});
|
|
823
|
+
exports.federatedPostNOOPCodegenAnchor = federatedPostNOOPCodegenAnchor;
|
|
346
824
|
/**
|
|
347
825
|
* Get Private Key
|
|
348
826
|
*
|
|
@@ -358,4 +836,17 @@ const postGetPrivateKeyBackwardsCompat = (input) => (0, base_1.request)({
|
|
|
358
836
|
body: input.body,
|
|
359
837
|
});
|
|
360
838
|
exports.postGetPrivateKeyBackwardsCompat = postGetPrivateKeyBackwardsCompat;
|
|
839
|
+
/**
|
|
840
|
+
* Get Private Key
|
|
841
|
+
*
|
|
842
|
+
* Get details about a Private Key
|
|
843
|
+
*
|
|
844
|
+
* @deprecated
|
|
845
|
+
*/
|
|
846
|
+
const federatedPostGetPrivateKeyBackwardsCompat = (input, options) => (0, base_1.federatedRequest)({
|
|
847
|
+
uri: "/tkhq/public/v1/query/get_private_key",
|
|
848
|
+
body: input.body,
|
|
849
|
+
options,
|
|
850
|
+
});
|
|
851
|
+
exports.federatedPostGetPrivateKeyBackwardsCompat = federatedPostGetPrivateKeyBackwardsCompat;
|
|
361
852
|
//# sourceMappingURL=public_api.fetcher.js.map
|