@turnkey/http 0.18.1 → 1.0.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 +22 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +1823 -517
- 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 +259 -239
- 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 +206 -419
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +99 -26
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/async.d.ts.map +1 -1
- package/dist/async.js +1 -1
- package/dist/async.js.map +1 -1
- package/dist/base.d.ts +3 -3
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +3 -3
- package/dist/base.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/shared.d.ts +4 -1
- package/dist/shared.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +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.
|
|
5
|
-
exports.
|
|
4
|
+
exports.signDeleteAuthenticators = exports.deleteAuthenticators = exports.signDeleteApiKeys = exports.deleteApiKeys = exports.signCreateUsers = exports.createUsers = exports.signCreateUserTag = exports.createUserTag = exports.signCreateSubOrganization = exports.createSubOrganization = exports.signCreatePrivateKeys = exports.createPrivateKeys = exports.signCreatePrivateKeyTag = exports.createPrivateKeyTag = exports.signCreatePolicy = exports.createPolicy = exports.signCreateInvitations = exports.createInvitations = exports.signCreateAuthenticators = exports.createAuthenticators = exports.signCreateApiOnlyUsers = exports.createApiOnlyUsers = exports.signCreateApiKeys = exports.createApiKeys = exports.signApproveActivity = exports.approveActivity = exports.signGetWhoami = exports.getWhoami = exports.signGetUsers = exports.getUsers = exports.signGetPrivateKeys = exports.getPrivateKeys = exports.signGetPolicies = exports.getPolicies = exports.signGetActivities = exports.getActivities = exports.signGetUser = exports.getUser = exports.signGetPrivateKey = exports.getPrivateKey = exports.signGetPolicy = exports.getPolicy = exports.signGetOrganization = exports.getOrganization = exports.signGetAuthenticators = exports.getAuthenticators = exports.signGetAuthenticator = exports.getAuthenticator = exports.signGetActivity = exports.getActivity = void 0;
|
|
5
|
+
exports.signNOOPCodegenAnchor = exports.nOOPCodegenAnchor = exports.signUpdateUserTag = exports.updateUserTag = exports.signUpdateRootQuorum = exports.updateRootQuorum = exports.signUpdatePrivateKeyTag = exports.updatePrivateKeyTag = exports.signUpdatePolicy = exports.updatePolicy = exports.signUpdateAllowedOrigins = exports.updateAllowedOrigins = exports.signSignTransaction = exports.signTransaction = exports.signSignRawPayload = exports.signRawPayload = exports.signRejectActivity = exports.rejectActivity = exports.signDeletePolicy = exports.deletePolicy = exports.signDeleteInvitation = exports.deleteInvitation = void 0;
|
|
6
6
|
const base_1 = require("../../../../../base");
|
|
7
7
|
/**
|
|
8
8
|
* Get Activity
|
|
@@ -11,23 +11,23 @@ const base_1 = require("../../../../../base");
|
|
|
11
11
|
*
|
|
12
12
|
* `POST /public/v1/query/get_activity`
|
|
13
13
|
*/
|
|
14
|
-
const
|
|
14
|
+
const getActivity = (input) => (0, base_1.request)({
|
|
15
15
|
uri: "/public/v1/query/get_activity",
|
|
16
16
|
method: "POST",
|
|
17
17
|
body: input.body,
|
|
18
18
|
});
|
|
19
|
-
exports.
|
|
19
|
+
exports.getActivity = getActivity;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Request a WebAuthn assertion and return a signed `GetActivity` request, ready to be POSTed to Turnkey.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* See {@link GetActivity}
|
|
24
24
|
*/
|
|
25
|
-
const
|
|
25
|
+
const signGetActivity = (input, options) => (0, base_1.signedRequest)({
|
|
26
26
|
uri: "/public/v1/query/get_activity",
|
|
27
27
|
body: input.body,
|
|
28
28
|
options,
|
|
29
29
|
});
|
|
30
|
-
exports.
|
|
30
|
+
exports.signGetActivity = signGetActivity;
|
|
31
31
|
/**
|
|
32
32
|
* Get Authenticator
|
|
33
33
|
*
|
|
@@ -35,23 +35,23 @@ exports.federatedPostGetActivity = federatedPostGetActivity;
|
|
|
35
35
|
*
|
|
36
36
|
* `POST /public/v1/query/get_authenticator`
|
|
37
37
|
*/
|
|
38
|
-
const
|
|
38
|
+
const getAuthenticator = (input) => (0, base_1.request)({
|
|
39
39
|
uri: "/public/v1/query/get_authenticator",
|
|
40
40
|
method: "POST",
|
|
41
41
|
body: input.body,
|
|
42
42
|
});
|
|
43
|
-
exports.
|
|
43
|
+
exports.getAuthenticator = getAuthenticator;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Request a WebAuthn assertion and return a signed `GetAuthenticator` request, ready to be POSTed to Turnkey.
|
|
46
46
|
*
|
|
47
|
-
*
|
|
47
|
+
* See {@link GetAuthenticator}
|
|
48
48
|
*/
|
|
49
|
-
const
|
|
49
|
+
const signGetAuthenticator = (input, options) => (0, base_1.signedRequest)({
|
|
50
50
|
uri: "/public/v1/query/get_authenticator",
|
|
51
51
|
body: input.body,
|
|
52
52
|
options,
|
|
53
53
|
});
|
|
54
|
-
exports.
|
|
54
|
+
exports.signGetAuthenticator = signGetAuthenticator;
|
|
55
55
|
/**
|
|
56
56
|
* Get Authenticators
|
|
57
57
|
*
|
|
@@ -59,23 +59,23 @@ exports.federatedPostGetAuthenticator = federatedPostGetAuthenticator;
|
|
|
59
59
|
*
|
|
60
60
|
* `POST /public/v1/query/get_authenticators`
|
|
61
61
|
*/
|
|
62
|
-
const
|
|
62
|
+
const getAuthenticators = (input) => (0, base_1.request)({
|
|
63
63
|
uri: "/public/v1/query/get_authenticators",
|
|
64
64
|
method: "POST",
|
|
65
65
|
body: input.body,
|
|
66
66
|
});
|
|
67
|
-
exports.
|
|
67
|
+
exports.getAuthenticators = getAuthenticators;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Request a WebAuthn assertion and return a signed `GetAuthenticators` request, ready to be POSTed to Turnkey.
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
* See {@link GetAuthenticators}
|
|
72
72
|
*/
|
|
73
|
-
const
|
|
73
|
+
const signGetAuthenticators = (input, options) => (0, base_1.signedRequest)({
|
|
74
74
|
uri: "/public/v1/query/get_authenticators",
|
|
75
75
|
body: input.body,
|
|
76
76
|
options,
|
|
77
77
|
});
|
|
78
|
-
exports.
|
|
78
|
+
exports.signGetAuthenticators = signGetAuthenticators;
|
|
79
79
|
/**
|
|
80
80
|
* Get Organization
|
|
81
81
|
*
|
|
@@ -83,23 +83,23 @@ exports.federatedPostGetAuthenticators = federatedPostGetAuthenticators;
|
|
|
83
83
|
*
|
|
84
84
|
* `POST /public/v1/query/get_organization`
|
|
85
85
|
*/
|
|
86
|
-
const
|
|
86
|
+
const getOrganization = (input) => (0, base_1.request)({
|
|
87
87
|
uri: "/public/v1/query/get_organization",
|
|
88
88
|
method: "POST",
|
|
89
89
|
body: input.body,
|
|
90
90
|
});
|
|
91
|
-
exports.
|
|
91
|
+
exports.getOrganization = getOrganization;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Request a WebAuthn assertion and return a signed `GetOrganization` request, ready to be POSTed to Turnkey.
|
|
94
94
|
*
|
|
95
|
-
*
|
|
95
|
+
* See {@link GetOrganization}
|
|
96
96
|
*/
|
|
97
|
-
const
|
|
97
|
+
const signGetOrganization = (input, options) => (0, base_1.signedRequest)({
|
|
98
98
|
uri: "/public/v1/query/get_organization",
|
|
99
99
|
body: input.body,
|
|
100
100
|
options,
|
|
101
101
|
});
|
|
102
|
-
exports.
|
|
102
|
+
exports.signGetOrganization = signGetOrganization;
|
|
103
103
|
/**
|
|
104
104
|
* Get Policy
|
|
105
105
|
*
|
|
@@ -107,23 +107,23 @@ exports.federatedPostGetOrganization = federatedPostGetOrganization;
|
|
|
107
107
|
*
|
|
108
108
|
* `POST /public/v1/query/get_policy`
|
|
109
109
|
*/
|
|
110
|
-
const
|
|
110
|
+
const getPolicy = (input) => (0, base_1.request)({
|
|
111
111
|
uri: "/public/v1/query/get_policy",
|
|
112
112
|
method: "POST",
|
|
113
113
|
body: input.body,
|
|
114
114
|
});
|
|
115
|
-
exports.
|
|
115
|
+
exports.getPolicy = getPolicy;
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Request a WebAuthn assertion and return a signed `GetPolicy` request, ready to be POSTed to Turnkey.
|
|
118
118
|
*
|
|
119
|
-
*
|
|
119
|
+
* See {@link GetPolicy}
|
|
120
120
|
*/
|
|
121
|
-
const
|
|
121
|
+
const signGetPolicy = (input, options) => (0, base_1.signedRequest)({
|
|
122
122
|
uri: "/public/v1/query/get_policy",
|
|
123
123
|
body: input.body,
|
|
124
124
|
options,
|
|
125
125
|
});
|
|
126
|
-
exports.
|
|
126
|
+
exports.signGetPolicy = signGetPolicy;
|
|
127
127
|
/**
|
|
128
128
|
* Get Private Key
|
|
129
129
|
*
|
|
@@ -131,23 +131,23 @@ exports.federatedPostGetPolicy = federatedPostGetPolicy;
|
|
|
131
131
|
*
|
|
132
132
|
* `POST /public/v1/query/get_private_key`
|
|
133
133
|
*/
|
|
134
|
-
const
|
|
134
|
+
const getPrivateKey = (input) => (0, base_1.request)({
|
|
135
135
|
uri: "/public/v1/query/get_private_key",
|
|
136
136
|
method: "POST",
|
|
137
137
|
body: input.body,
|
|
138
138
|
});
|
|
139
|
-
exports.
|
|
139
|
+
exports.getPrivateKey = getPrivateKey;
|
|
140
140
|
/**
|
|
141
|
-
*
|
|
141
|
+
* Request a WebAuthn assertion and return a signed `GetPrivateKey` request, ready to be POSTed to Turnkey.
|
|
142
142
|
*
|
|
143
|
-
*
|
|
143
|
+
* See {@link GetPrivateKey}
|
|
144
144
|
*/
|
|
145
|
-
const
|
|
145
|
+
const signGetPrivateKey = (input, options) => (0, base_1.signedRequest)({
|
|
146
146
|
uri: "/public/v1/query/get_private_key",
|
|
147
147
|
body: input.body,
|
|
148
148
|
options,
|
|
149
149
|
});
|
|
150
|
-
exports.
|
|
150
|
+
exports.signGetPrivateKey = signGetPrivateKey;
|
|
151
151
|
/**
|
|
152
152
|
* Get User
|
|
153
153
|
*
|
|
@@ -155,23 +155,23 @@ exports.federatedPostGetPrivateKey = federatedPostGetPrivateKey;
|
|
|
155
155
|
*
|
|
156
156
|
* `POST /public/v1/query/get_user`
|
|
157
157
|
*/
|
|
158
|
-
const
|
|
158
|
+
const getUser = (input) => (0, base_1.request)({
|
|
159
159
|
uri: "/public/v1/query/get_user",
|
|
160
160
|
method: "POST",
|
|
161
161
|
body: input.body,
|
|
162
162
|
});
|
|
163
|
-
exports.
|
|
163
|
+
exports.getUser = getUser;
|
|
164
164
|
/**
|
|
165
|
-
*
|
|
165
|
+
* Request a WebAuthn assertion and return a signed `GetUser` request, ready to be POSTed to Turnkey.
|
|
166
166
|
*
|
|
167
|
-
*
|
|
167
|
+
* See {@link GetUser}
|
|
168
168
|
*/
|
|
169
|
-
const
|
|
169
|
+
const signGetUser = (input, options) => (0, base_1.signedRequest)({
|
|
170
170
|
uri: "/public/v1/query/get_user",
|
|
171
171
|
body: input.body,
|
|
172
172
|
options,
|
|
173
173
|
});
|
|
174
|
-
exports.
|
|
174
|
+
exports.signGetUser = signGetUser;
|
|
175
175
|
/**
|
|
176
176
|
* List Activities
|
|
177
177
|
*
|
|
@@ -179,23 +179,23 @@ exports.federatedPostGetUser = federatedPostGetUser;
|
|
|
179
179
|
*
|
|
180
180
|
* `POST /public/v1/query/list_activities`
|
|
181
181
|
*/
|
|
182
|
-
const
|
|
182
|
+
const getActivities = (input) => (0, base_1.request)({
|
|
183
183
|
uri: "/public/v1/query/list_activities",
|
|
184
184
|
method: "POST",
|
|
185
185
|
body: input.body,
|
|
186
186
|
});
|
|
187
|
-
exports.
|
|
187
|
+
exports.getActivities = getActivities;
|
|
188
188
|
/**
|
|
189
|
-
*
|
|
189
|
+
* Request a WebAuthn assertion and return a signed `GetActivities` request, ready to be POSTed to Turnkey.
|
|
190
190
|
*
|
|
191
|
-
*
|
|
191
|
+
* See {@link GetActivities}
|
|
192
192
|
*/
|
|
193
|
-
const
|
|
193
|
+
const signGetActivities = (input, options) => (0, base_1.signedRequest)({
|
|
194
194
|
uri: "/public/v1/query/list_activities",
|
|
195
195
|
body: input.body,
|
|
196
196
|
options,
|
|
197
197
|
});
|
|
198
|
-
exports.
|
|
198
|
+
exports.signGetActivities = signGetActivities;
|
|
199
199
|
/**
|
|
200
200
|
* List Policies
|
|
201
201
|
*
|
|
@@ -203,23 +203,23 @@ exports.federatedPostGetActivities = federatedPostGetActivities;
|
|
|
203
203
|
*
|
|
204
204
|
* `POST /public/v1/query/list_policies`
|
|
205
205
|
*/
|
|
206
|
-
const
|
|
206
|
+
const getPolicies = (input) => (0, base_1.request)({
|
|
207
207
|
uri: "/public/v1/query/list_policies",
|
|
208
208
|
method: "POST",
|
|
209
209
|
body: input.body,
|
|
210
210
|
});
|
|
211
|
-
exports.
|
|
211
|
+
exports.getPolicies = getPolicies;
|
|
212
212
|
/**
|
|
213
|
-
*
|
|
213
|
+
* Request a WebAuthn assertion and return a signed `GetPolicies` request, ready to be POSTed to Turnkey.
|
|
214
214
|
*
|
|
215
|
-
*
|
|
215
|
+
* See {@link GetPolicies}
|
|
216
216
|
*/
|
|
217
|
-
const
|
|
217
|
+
const signGetPolicies = (input, options) => (0, base_1.signedRequest)({
|
|
218
218
|
uri: "/public/v1/query/list_policies",
|
|
219
219
|
body: input.body,
|
|
220
220
|
options,
|
|
221
221
|
});
|
|
222
|
-
exports.
|
|
222
|
+
exports.signGetPolicies = signGetPolicies;
|
|
223
223
|
/**
|
|
224
224
|
* List Private Keys
|
|
225
225
|
*
|
|
@@ -227,23 +227,23 @@ exports.federatedPostGetPolicies = federatedPostGetPolicies;
|
|
|
227
227
|
*
|
|
228
228
|
* `POST /public/v1/query/list_private_keys`
|
|
229
229
|
*/
|
|
230
|
-
const
|
|
230
|
+
const getPrivateKeys = (input) => (0, base_1.request)({
|
|
231
231
|
uri: "/public/v1/query/list_private_keys",
|
|
232
232
|
method: "POST",
|
|
233
233
|
body: input.body,
|
|
234
234
|
});
|
|
235
|
-
exports.
|
|
235
|
+
exports.getPrivateKeys = getPrivateKeys;
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Request a WebAuthn assertion and return a signed `GetPrivateKeys` request, ready to be POSTed to Turnkey.
|
|
238
238
|
*
|
|
239
|
-
*
|
|
239
|
+
* See {@link GetPrivateKeys}
|
|
240
240
|
*/
|
|
241
|
-
const
|
|
241
|
+
const signGetPrivateKeys = (input, options) => (0, base_1.signedRequest)({
|
|
242
242
|
uri: "/public/v1/query/list_private_keys",
|
|
243
243
|
body: input.body,
|
|
244
244
|
options,
|
|
245
245
|
});
|
|
246
|
-
exports.
|
|
246
|
+
exports.signGetPrivateKeys = signGetPrivateKeys;
|
|
247
247
|
/**
|
|
248
248
|
* List Users
|
|
249
249
|
*
|
|
@@ -251,23 +251,23 @@ exports.federatedPostGetPrivateKeys = federatedPostGetPrivateKeys;
|
|
|
251
251
|
*
|
|
252
252
|
* `POST /public/v1/query/list_users`
|
|
253
253
|
*/
|
|
254
|
-
const
|
|
254
|
+
const getUsers = (input) => (0, base_1.request)({
|
|
255
255
|
uri: "/public/v1/query/list_users",
|
|
256
256
|
method: "POST",
|
|
257
257
|
body: input.body,
|
|
258
258
|
});
|
|
259
|
-
exports.
|
|
259
|
+
exports.getUsers = getUsers;
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
261
|
+
* Request a WebAuthn assertion and return a signed `GetUsers` request, ready to be POSTed to Turnkey.
|
|
262
262
|
*
|
|
263
|
-
*
|
|
263
|
+
* See {@link GetUsers}
|
|
264
264
|
*/
|
|
265
|
-
const
|
|
265
|
+
const signGetUsers = (input, options) => (0, base_1.signedRequest)({
|
|
266
266
|
uri: "/public/v1/query/list_users",
|
|
267
267
|
body: input.body,
|
|
268
268
|
options,
|
|
269
269
|
});
|
|
270
|
-
exports.
|
|
270
|
+
exports.signGetUsers = signGetUsers;
|
|
271
271
|
/**
|
|
272
272
|
* Who am I?
|
|
273
273
|
*
|
|
@@ -275,23 +275,23 @@ exports.federatedPostGetUsers = federatedPostGetUsers;
|
|
|
275
275
|
*
|
|
276
276
|
* `POST /public/v1/query/whoami`
|
|
277
277
|
*/
|
|
278
|
-
const
|
|
278
|
+
const getWhoami = (input) => (0, base_1.request)({
|
|
279
279
|
uri: "/public/v1/query/whoami",
|
|
280
280
|
method: "POST",
|
|
281
281
|
body: input.body,
|
|
282
282
|
});
|
|
283
|
-
exports.
|
|
283
|
+
exports.getWhoami = getWhoami;
|
|
284
284
|
/**
|
|
285
|
-
*
|
|
285
|
+
* Request a WebAuthn assertion and return a signed `GetWhoami` request, ready to be POSTed to Turnkey.
|
|
286
286
|
*
|
|
287
|
-
*
|
|
287
|
+
* See {@link GetWhoami}
|
|
288
288
|
*/
|
|
289
|
-
const
|
|
289
|
+
const signGetWhoami = (input, options) => (0, base_1.signedRequest)({
|
|
290
290
|
uri: "/public/v1/query/whoami",
|
|
291
291
|
body: input.body,
|
|
292
292
|
options,
|
|
293
293
|
});
|
|
294
|
-
exports.
|
|
294
|
+
exports.signGetWhoami = signGetWhoami;
|
|
295
295
|
/**
|
|
296
296
|
* Approve Activity
|
|
297
297
|
*
|
|
@@ -299,23 +299,23 @@ exports.federatedPostGetWhoami = federatedPostGetWhoami;
|
|
|
299
299
|
*
|
|
300
300
|
* `POST /public/v1/submit/approve_activity`
|
|
301
301
|
*/
|
|
302
|
-
const
|
|
302
|
+
const approveActivity = (input) => (0, base_1.request)({
|
|
303
303
|
uri: "/public/v1/submit/approve_activity",
|
|
304
304
|
method: "POST",
|
|
305
305
|
body: input.body,
|
|
306
306
|
});
|
|
307
|
-
exports.
|
|
307
|
+
exports.approveActivity = approveActivity;
|
|
308
308
|
/**
|
|
309
|
-
*
|
|
309
|
+
* Request a WebAuthn assertion and return a signed `ApproveActivity` request, ready to be POSTed to Turnkey.
|
|
310
310
|
*
|
|
311
|
-
*
|
|
311
|
+
* See {@link ApproveActivity}
|
|
312
312
|
*/
|
|
313
|
-
const
|
|
313
|
+
const signApproveActivity = (input, options) => (0, base_1.signedRequest)({
|
|
314
314
|
uri: "/public/v1/submit/approve_activity",
|
|
315
315
|
body: input.body,
|
|
316
316
|
options,
|
|
317
317
|
});
|
|
318
|
-
exports.
|
|
318
|
+
exports.signApproveActivity = signApproveActivity;
|
|
319
319
|
/**
|
|
320
320
|
* Create API Keys
|
|
321
321
|
*
|
|
@@ -323,23 +323,23 @@ exports.federatedPostApproveActivity = federatedPostApproveActivity;
|
|
|
323
323
|
*
|
|
324
324
|
* `POST /public/v1/submit/create_api_keys`
|
|
325
325
|
*/
|
|
326
|
-
const
|
|
326
|
+
const createApiKeys = (input) => (0, base_1.request)({
|
|
327
327
|
uri: "/public/v1/submit/create_api_keys",
|
|
328
328
|
method: "POST",
|
|
329
329
|
body: input.body,
|
|
330
330
|
});
|
|
331
|
-
exports.
|
|
331
|
+
exports.createApiKeys = createApiKeys;
|
|
332
332
|
/**
|
|
333
|
-
*
|
|
333
|
+
* Request a WebAuthn assertion and return a signed `CreateApiKeys` request, ready to be POSTed to Turnkey.
|
|
334
334
|
*
|
|
335
|
-
*
|
|
335
|
+
* See {@link CreateApiKeys}
|
|
336
336
|
*/
|
|
337
|
-
const
|
|
337
|
+
const signCreateApiKeys = (input, options) => (0, base_1.signedRequest)({
|
|
338
338
|
uri: "/public/v1/submit/create_api_keys",
|
|
339
339
|
body: input.body,
|
|
340
340
|
options,
|
|
341
341
|
});
|
|
342
|
-
exports.
|
|
342
|
+
exports.signCreateApiKeys = signCreateApiKeys;
|
|
343
343
|
/**
|
|
344
344
|
* Create API-only Users
|
|
345
345
|
*
|
|
@@ -347,23 +347,23 @@ exports.federatedPostCreateApiKeys = federatedPostCreateApiKeys;
|
|
|
347
347
|
*
|
|
348
348
|
* `POST /public/v1/submit/create_api_only_users`
|
|
349
349
|
*/
|
|
350
|
-
const
|
|
350
|
+
const createApiOnlyUsers = (input) => (0, base_1.request)({
|
|
351
351
|
uri: "/public/v1/submit/create_api_only_users",
|
|
352
352
|
method: "POST",
|
|
353
353
|
body: input.body,
|
|
354
354
|
});
|
|
355
|
-
exports.
|
|
355
|
+
exports.createApiOnlyUsers = createApiOnlyUsers;
|
|
356
356
|
/**
|
|
357
|
-
*
|
|
357
|
+
* Request a WebAuthn assertion and return a signed `CreateApiOnlyUsers` request, ready to be POSTed to Turnkey.
|
|
358
358
|
*
|
|
359
|
-
*
|
|
359
|
+
* See {@link CreateApiOnlyUsers}
|
|
360
360
|
*/
|
|
361
|
-
const
|
|
361
|
+
const signCreateApiOnlyUsers = (input, options) => (0, base_1.signedRequest)({
|
|
362
362
|
uri: "/public/v1/submit/create_api_only_users",
|
|
363
363
|
body: input.body,
|
|
364
364
|
options,
|
|
365
365
|
});
|
|
366
|
-
exports.
|
|
366
|
+
exports.signCreateApiOnlyUsers = signCreateApiOnlyUsers;
|
|
367
367
|
/**
|
|
368
368
|
* Create Authenticators
|
|
369
369
|
*
|
|
@@ -371,23 +371,23 @@ exports.federatedPostCreateApiOnlyUsers = federatedPostCreateApiOnlyUsers;
|
|
|
371
371
|
*
|
|
372
372
|
* `POST /public/v1/submit/create_authenticators`
|
|
373
373
|
*/
|
|
374
|
-
const
|
|
374
|
+
const createAuthenticators = (input) => (0, base_1.request)({
|
|
375
375
|
uri: "/public/v1/submit/create_authenticators",
|
|
376
376
|
method: "POST",
|
|
377
377
|
body: input.body,
|
|
378
378
|
});
|
|
379
|
-
exports.
|
|
379
|
+
exports.createAuthenticators = createAuthenticators;
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
381
|
+
* Request a WebAuthn assertion and return a signed `CreateAuthenticators` request, ready to be POSTed to Turnkey.
|
|
382
382
|
*
|
|
383
|
-
*
|
|
383
|
+
* See {@link CreateAuthenticators}
|
|
384
384
|
*/
|
|
385
|
-
const
|
|
385
|
+
const signCreateAuthenticators = (input, options) => (0, base_1.signedRequest)({
|
|
386
386
|
uri: "/public/v1/submit/create_authenticators",
|
|
387
387
|
body: input.body,
|
|
388
388
|
options,
|
|
389
389
|
});
|
|
390
|
-
exports.
|
|
390
|
+
exports.signCreateAuthenticators = signCreateAuthenticators;
|
|
391
391
|
/**
|
|
392
392
|
* Create Invitations
|
|
393
393
|
*
|
|
@@ -395,23 +395,23 @@ exports.federatedPostCreateAuthenticators = federatedPostCreateAuthenticators;
|
|
|
395
395
|
*
|
|
396
396
|
* `POST /public/v1/submit/create_invitations`
|
|
397
397
|
*/
|
|
398
|
-
const
|
|
398
|
+
const createInvitations = (input) => (0, base_1.request)({
|
|
399
399
|
uri: "/public/v1/submit/create_invitations",
|
|
400
400
|
method: "POST",
|
|
401
401
|
body: input.body,
|
|
402
402
|
});
|
|
403
|
-
exports.
|
|
403
|
+
exports.createInvitations = createInvitations;
|
|
404
404
|
/**
|
|
405
|
-
*
|
|
405
|
+
* Request a WebAuthn assertion and return a signed `CreateInvitations` request, ready to be POSTed to Turnkey.
|
|
406
406
|
*
|
|
407
|
-
*
|
|
407
|
+
* See {@link CreateInvitations}
|
|
408
408
|
*/
|
|
409
|
-
const
|
|
409
|
+
const signCreateInvitations = (input, options) => (0, base_1.signedRequest)({
|
|
410
410
|
uri: "/public/v1/submit/create_invitations",
|
|
411
411
|
body: input.body,
|
|
412
412
|
options,
|
|
413
413
|
});
|
|
414
|
-
exports.
|
|
414
|
+
exports.signCreateInvitations = signCreateInvitations;
|
|
415
415
|
/**
|
|
416
416
|
* Create Policy
|
|
417
417
|
*
|
|
@@ -419,47 +419,47 @@ exports.federatedPostCreateInvitations = federatedPostCreateInvitations;
|
|
|
419
419
|
*
|
|
420
420
|
* `POST /public/v1/submit/create_policy`
|
|
421
421
|
*/
|
|
422
|
-
const
|
|
422
|
+
const createPolicy = (input) => (0, base_1.request)({
|
|
423
423
|
uri: "/public/v1/submit/create_policy",
|
|
424
424
|
method: "POST",
|
|
425
425
|
body: input.body,
|
|
426
426
|
});
|
|
427
|
-
exports.
|
|
427
|
+
exports.createPolicy = createPolicy;
|
|
428
428
|
/**
|
|
429
|
-
*
|
|
429
|
+
* Request a WebAuthn assertion and return a signed `CreatePolicy` request, ready to be POSTed to Turnkey.
|
|
430
430
|
*
|
|
431
|
-
*
|
|
431
|
+
* See {@link CreatePolicy}
|
|
432
432
|
*/
|
|
433
|
-
const
|
|
433
|
+
const signCreatePolicy = (input, options) => (0, base_1.signedRequest)({
|
|
434
434
|
uri: "/public/v1/submit/create_policy",
|
|
435
435
|
body: input.body,
|
|
436
436
|
options,
|
|
437
437
|
});
|
|
438
|
-
exports.
|
|
438
|
+
exports.signCreatePolicy = signCreatePolicy;
|
|
439
439
|
/**
|
|
440
|
-
* Create
|
|
440
|
+
* Create Private Key Tag
|
|
441
441
|
*
|
|
442
442
|
* Create a private key tag and add it to private keys.
|
|
443
443
|
*
|
|
444
444
|
* `POST /public/v1/submit/create_private_key_tag`
|
|
445
445
|
*/
|
|
446
|
-
const
|
|
446
|
+
const createPrivateKeyTag = (input) => (0, base_1.request)({
|
|
447
447
|
uri: "/public/v1/submit/create_private_key_tag",
|
|
448
448
|
method: "POST",
|
|
449
449
|
body: input.body,
|
|
450
450
|
});
|
|
451
|
-
exports.
|
|
451
|
+
exports.createPrivateKeyTag = createPrivateKeyTag;
|
|
452
452
|
/**
|
|
453
|
-
*
|
|
453
|
+
* Request a WebAuthn assertion and return a signed `CreatePrivateKeyTag` request, ready to be POSTed to Turnkey.
|
|
454
454
|
*
|
|
455
|
-
*
|
|
455
|
+
* See {@link CreatePrivateKeyTag}
|
|
456
456
|
*/
|
|
457
|
-
const
|
|
457
|
+
const signCreatePrivateKeyTag = (input, options) => (0, base_1.signedRequest)({
|
|
458
458
|
uri: "/public/v1/submit/create_private_key_tag",
|
|
459
459
|
body: input.body,
|
|
460
460
|
options,
|
|
461
461
|
});
|
|
462
|
-
exports.
|
|
462
|
+
exports.signCreatePrivateKeyTag = signCreatePrivateKeyTag;
|
|
463
463
|
/**
|
|
464
464
|
* Create Private Keys
|
|
465
465
|
*
|
|
@@ -467,23 +467,23 @@ exports.federatedPostCreatePrivateKeyTag = federatedPostCreatePrivateKeyTag;
|
|
|
467
467
|
*
|
|
468
468
|
* `POST /public/v1/submit/create_private_keys`
|
|
469
469
|
*/
|
|
470
|
-
const
|
|
470
|
+
const createPrivateKeys = (input) => (0, base_1.request)({
|
|
471
471
|
uri: "/public/v1/submit/create_private_keys",
|
|
472
472
|
method: "POST",
|
|
473
473
|
body: input.body,
|
|
474
474
|
});
|
|
475
|
-
exports.
|
|
475
|
+
exports.createPrivateKeys = createPrivateKeys;
|
|
476
476
|
/**
|
|
477
|
-
*
|
|
477
|
+
* Request a WebAuthn assertion and return a signed `CreatePrivateKeys` request, ready to be POSTed to Turnkey.
|
|
478
478
|
*
|
|
479
|
-
*
|
|
479
|
+
* See {@link CreatePrivateKeys}
|
|
480
480
|
*/
|
|
481
|
-
const
|
|
481
|
+
const signCreatePrivateKeys = (input, options) => (0, base_1.signedRequest)({
|
|
482
482
|
uri: "/public/v1/submit/create_private_keys",
|
|
483
483
|
body: input.body,
|
|
484
484
|
options,
|
|
485
485
|
});
|
|
486
|
-
exports.
|
|
486
|
+
exports.signCreatePrivateKeys = signCreatePrivateKeys;
|
|
487
487
|
/**
|
|
488
488
|
* Create Sub-Organization
|
|
489
489
|
*
|
|
@@ -491,23 +491,23 @@ exports.federatedPostCreatePrivateKeys = federatedPostCreatePrivateKeys;
|
|
|
491
491
|
*
|
|
492
492
|
* `POST /public/v1/submit/create_sub_organization`
|
|
493
493
|
*/
|
|
494
|
-
const
|
|
494
|
+
const createSubOrganization = (input) => (0, base_1.request)({
|
|
495
495
|
uri: "/public/v1/submit/create_sub_organization",
|
|
496
496
|
method: "POST",
|
|
497
497
|
body: input.body,
|
|
498
498
|
});
|
|
499
|
-
exports.
|
|
499
|
+
exports.createSubOrganization = createSubOrganization;
|
|
500
500
|
/**
|
|
501
|
-
*
|
|
501
|
+
* Request a WebAuthn assertion and return a signed `CreateSubOrganization` request, ready to be POSTed to Turnkey.
|
|
502
502
|
*
|
|
503
|
-
*
|
|
503
|
+
* See {@link CreateSubOrganization}
|
|
504
504
|
*/
|
|
505
|
-
const
|
|
505
|
+
const signCreateSubOrganization = (input, options) => (0, base_1.signedRequest)({
|
|
506
506
|
uri: "/public/v1/submit/create_sub_organization",
|
|
507
507
|
body: input.body,
|
|
508
508
|
options,
|
|
509
509
|
});
|
|
510
|
-
exports.
|
|
510
|
+
exports.signCreateSubOrganization = signCreateSubOrganization;
|
|
511
511
|
/**
|
|
512
512
|
* Create User Tag
|
|
513
513
|
*
|
|
@@ -515,23 +515,23 @@ exports.federatedPostCreateSubOrganization = federatedPostCreateSubOrganization;
|
|
|
515
515
|
*
|
|
516
516
|
* `POST /public/v1/submit/create_user_tag`
|
|
517
517
|
*/
|
|
518
|
-
const
|
|
518
|
+
const createUserTag = (input) => (0, base_1.request)({
|
|
519
519
|
uri: "/public/v1/submit/create_user_tag",
|
|
520
520
|
method: "POST",
|
|
521
521
|
body: input.body,
|
|
522
522
|
});
|
|
523
|
-
exports.
|
|
523
|
+
exports.createUserTag = createUserTag;
|
|
524
524
|
/**
|
|
525
|
-
*
|
|
525
|
+
* Request a WebAuthn assertion and return a signed `CreateUserTag` request, ready to be POSTed to Turnkey.
|
|
526
526
|
*
|
|
527
|
-
*
|
|
527
|
+
* See {@link CreateUserTag}
|
|
528
528
|
*/
|
|
529
|
-
const
|
|
529
|
+
const signCreateUserTag = (input, options) => (0, base_1.signedRequest)({
|
|
530
530
|
uri: "/public/v1/submit/create_user_tag",
|
|
531
531
|
body: input.body,
|
|
532
532
|
options,
|
|
533
533
|
});
|
|
534
|
-
exports.
|
|
534
|
+
exports.signCreateUserTag = signCreateUserTag;
|
|
535
535
|
/**
|
|
536
536
|
* Create Users
|
|
537
537
|
*
|
|
@@ -541,25 +541,25 @@ exports.federatedPostCreateUserTag = federatedPostCreateUserTag;
|
|
|
541
541
|
*
|
|
542
542
|
* @deprecated
|
|
543
543
|
*/
|
|
544
|
-
const
|
|
544
|
+
const createUsers = (input) => (0, base_1.request)({
|
|
545
545
|
uri: "/public/v1/submit/create_users",
|
|
546
546
|
method: "POST",
|
|
547
547
|
body: input.body,
|
|
548
548
|
});
|
|
549
|
-
exports.
|
|
549
|
+
exports.createUsers = createUsers;
|
|
550
550
|
/**
|
|
551
|
-
*
|
|
551
|
+
* Request a WebAuthn assertion and return a signed `CreateUsers` request, ready to be POSTed to Turnkey.
|
|
552
552
|
*
|
|
553
|
-
*
|
|
553
|
+
* See {@link CreateUsers}
|
|
554
554
|
*
|
|
555
555
|
* @deprecated
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const signCreateUsers = (input, options) => (0, base_1.signedRequest)({
|
|
558
558
|
uri: "/public/v1/submit/create_users",
|
|
559
559
|
body: input.body,
|
|
560
560
|
options,
|
|
561
561
|
});
|
|
562
|
-
exports.
|
|
562
|
+
exports.signCreateUsers = signCreateUsers;
|
|
563
563
|
/**
|
|
564
564
|
* Delete API Keys
|
|
565
565
|
*
|
|
@@ -567,23 +567,47 @@ exports.federatedPostCreateUsers = federatedPostCreateUsers;
|
|
|
567
567
|
*
|
|
568
568
|
* `POST /public/v1/submit/delete_api_keys`
|
|
569
569
|
*/
|
|
570
|
-
const
|
|
570
|
+
const deleteApiKeys = (input) => (0, base_1.request)({
|
|
571
571
|
uri: "/public/v1/submit/delete_api_keys",
|
|
572
572
|
method: "POST",
|
|
573
573
|
body: input.body,
|
|
574
574
|
});
|
|
575
|
-
exports.
|
|
575
|
+
exports.deleteApiKeys = deleteApiKeys;
|
|
576
576
|
/**
|
|
577
|
-
*
|
|
577
|
+
* Request a WebAuthn assertion and return a signed `DeleteApiKeys` request, ready to be POSTed to Turnkey.
|
|
578
578
|
*
|
|
579
|
-
*
|
|
579
|
+
* See {@link DeleteApiKeys}
|
|
580
580
|
*/
|
|
581
|
-
const
|
|
581
|
+
const signDeleteApiKeys = (input, options) => (0, base_1.signedRequest)({
|
|
582
582
|
uri: "/public/v1/submit/delete_api_keys",
|
|
583
583
|
body: input.body,
|
|
584
584
|
options,
|
|
585
585
|
});
|
|
586
|
-
exports.
|
|
586
|
+
exports.signDeleteApiKeys = signDeleteApiKeys;
|
|
587
|
+
/**
|
|
588
|
+
* Delete Authenticators
|
|
589
|
+
*
|
|
590
|
+
* Remove authenticators from a User
|
|
591
|
+
*
|
|
592
|
+
* `POST /public/v1/submit/delete_authenticators`
|
|
593
|
+
*/
|
|
594
|
+
const deleteAuthenticators = (input) => (0, base_1.request)({
|
|
595
|
+
uri: "/public/v1/submit/delete_authenticators",
|
|
596
|
+
method: "POST",
|
|
597
|
+
body: input.body,
|
|
598
|
+
});
|
|
599
|
+
exports.deleteAuthenticators = deleteAuthenticators;
|
|
600
|
+
/**
|
|
601
|
+
* Request a WebAuthn assertion and return a signed `DeleteAuthenticators` request, ready to be POSTed to Turnkey.
|
|
602
|
+
*
|
|
603
|
+
* See {@link DeleteAuthenticators}
|
|
604
|
+
*/
|
|
605
|
+
const signDeleteAuthenticators = (input, options) => (0, base_1.signedRequest)({
|
|
606
|
+
uri: "/public/v1/submit/delete_authenticators",
|
|
607
|
+
body: input.body,
|
|
608
|
+
options,
|
|
609
|
+
});
|
|
610
|
+
exports.signDeleteAuthenticators = signDeleteAuthenticators;
|
|
587
611
|
/**
|
|
588
612
|
* Delete Invitation
|
|
589
613
|
*
|
|
@@ -591,23 +615,23 @@ exports.federatedPostDeleteApiKeys = federatedPostDeleteApiKeys;
|
|
|
591
615
|
*
|
|
592
616
|
* `POST /public/v1/submit/delete_invitations`
|
|
593
617
|
*/
|
|
594
|
-
const
|
|
618
|
+
const deleteInvitation = (input) => (0, base_1.request)({
|
|
595
619
|
uri: "/public/v1/submit/delete_invitations",
|
|
596
620
|
method: "POST",
|
|
597
621
|
body: input.body,
|
|
598
622
|
});
|
|
599
|
-
exports.
|
|
623
|
+
exports.deleteInvitation = deleteInvitation;
|
|
600
624
|
/**
|
|
601
|
-
*
|
|
625
|
+
* Request a WebAuthn assertion and return a signed `DeleteInvitation` request, ready to be POSTed to Turnkey.
|
|
602
626
|
*
|
|
603
|
-
*
|
|
627
|
+
* See {@link DeleteInvitation}
|
|
604
628
|
*/
|
|
605
|
-
const
|
|
629
|
+
const signDeleteInvitation = (input, options) => (0, base_1.signedRequest)({
|
|
606
630
|
uri: "/public/v1/submit/delete_invitations",
|
|
607
631
|
body: input.body,
|
|
608
632
|
options,
|
|
609
633
|
});
|
|
610
|
-
exports.
|
|
634
|
+
exports.signDeleteInvitation = signDeleteInvitation;
|
|
611
635
|
/**
|
|
612
636
|
* Delete Policy
|
|
613
637
|
*
|
|
@@ -615,23 +639,23 @@ exports.federatedPostDeleteInvitation = federatedPostDeleteInvitation;
|
|
|
615
639
|
*
|
|
616
640
|
* `POST /public/v1/submit/delete_policy`
|
|
617
641
|
*/
|
|
618
|
-
const
|
|
642
|
+
const deletePolicy = (input) => (0, base_1.request)({
|
|
619
643
|
uri: "/public/v1/submit/delete_policy",
|
|
620
644
|
method: "POST",
|
|
621
645
|
body: input.body,
|
|
622
646
|
});
|
|
623
|
-
exports.
|
|
647
|
+
exports.deletePolicy = deletePolicy;
|
|
624
648
|
/**
|
|
625
|
-
*
|
|
649
|
+
* Request a WebAuthn assertion and return a signed `DeletePolicy` request, ready to be POSTed to Turnkey.
|
|
626
650
|
*
|
|
627
|
-
*
|
|
651
|
+
* See {@link DeletePolicy}
|
|
628
652
|
*/
|
|
629
|
-
const
|
|
653
|
+
const signDeletePolicy = (input, options) => (0, base_1.signedRequest)({
|
|
630
654
|
uri: "/public/v1/submit/delete_policy",
|
|
631
655
|
body: input.body,
|
|
632
656
|
options,
|
|
633
657
|
});
|
|
634
|
-
exports.
|
|
658
|
+
exports.signDeletePolicy = signDeletePolicy;
|
|
635
659
|
/**
|
|
636
660
|
* Reject Activity
|
|
637
661
|
*
|
|
@@ -639,23 +663,23 @@ exports.federatedPostDeletePolicy = federatedPostDeletePolicy;
|
|
|
639
663
|
*
|
|
640
664
|
* `POST /public/v1/submit/reject_activity`
|
|
641
665
|
*/
|
|
642
|
-
const
|
|
666
|
+
const rejectActivity = (input) => (0, base_1.request)({
|
|
643
667
|
uri: "/public/v1/submit/reject_activity",
|
|
644
668
|
method: "POST",
|
|
645
669
|
body: input.body,
|
|
646
670
|
});
|
|
647
|
-
exports.
|
|
671
|
+
exports.rejectActivity = rejectActivity;
|
|
648
672
|
/**
|
|
649
|
-
*
|
|
673
|
+
* Request a WebAuthn assertion and return a signed `RejectActivity` request, ready to be POSTed to Turnkey.
|
|
650
674
|
*
|
|
651
|
-
*
|
|
675
|
+
* See {@link RejectActivity}
|
|
652
676
|
*/
|
|
653
|
-
const
|
|
677
|
+
const signRejectActivity = (input, options) => (0, base_1.signedRequest)({
|
|
654
678
|
uri: "/public/v1/submit/reject_activity",
|
|
655
679
|
body: input.body,
|
|
656
680
|
options,
|
|
657
681
|
});
|
|
658
|
-
exports.
|
|
682
|
+
exports.signRejectActivity = signRejectActivity;
|
|
659
683
|
/**
|
|
660
684
|
* Sign Raw Payload
|
|
661
685
|
*
|
|
@@ -663,23 +687,23 @@ exports.federatedPostRejectActivity = federatedPostRejectActivity;
|
|
|
663
687
|
*
|
|
664
688
|
* `POST /public/v1/submit/sign_raw_payload`
|
|
665
689
|
*/
|
|
666
|
-
const
|
|
690
|
+
const signRawPayload = (input) => (0, base_1.request)({
|
|
667
691
|
uri: "/public/v1/submit/sign_raw_payload",
|
|
668
692
|
method: "POST",
|
|
669
693
|
body: input.body,
|
|
670
694
|
});
|
|
671
|
-
exports.
|
|
695
|
+
exports.signRawPayload = signRawPayload;
|
|
672
696
|
/**
|
|
673
|
-
*
|
|
697
|
+
* Request a WebAuthn assertion and return a signed `SignRawPayload` request, ready to be POSTed to Turnkey.
|
|
674
698
|
*
|
|
675
|
-
*
|
|
699
|
+
* See {@link SignRawPayload}
|
|
676
700
|
*/
|
|
677
|
-
const
|
|
701
|
+
const signSignRawPayload = (input, options) => (0, base_1.signedRequest)({
|
|
678
702
|
uri: "/public/v1/submit/sign_raw_payload",
|
|
679
703
|
body: input.body,
|
|
680
704
|
options,
|
|
681
705
|
});
|
|
682
|
-
exports.
|
|
706
|
+
exports.signSignRawPayload = signSignRawPayload;
|
|
683
707
|
/**
|
|
684
708
|
* Sign Transaction
|
|
685
709
|
*
|
|
@@ -687,47 +711,71 @@ exports.federatedPostSignRawPayload = federatedPostSignRawPayload;
|
|
|
687
711
|
*
|
|
688
712
|
* `POST /public/v1/submit/sign_transaction`
|
|
689
713
|
*/
|
|
690
|
-
const
|
|
714
|
+
const signTransaction = (input) => (0, base_1.request)({
|
|
691
715
|
uri: "/public/v1/submit/sign_transaction",
|
|
692
716
|
method: "POST",
|
|
693
717
|
body: input.body,
|
|
694
718
|
});
|
|
695
|
-
exports.
|
|
719
|
+
exports.signTransaction = signTransaction;
|
|
696
720
|
/**
|
|
697
|
-
*
|
|
721
|
+
* Request a WebAuthn assertion and return a signed `SignTransaction` request, ready to be POSTed to Turnkey.
|
|
698
722
|
*
|
|
699
|
-
*
|
|
723
|
+
* See {@link SignTransaction}
|
|
700
724
|
*/
|
|
701
|
-
const
|
|
725
|
+
const signSignTransaction = (input, options) => (0, base_1.signedRequest)({
|
|
702
726
|
uri: "/public/v1/submit/sign_transaction",
|
|
703
727
|
body: input.body,
|
|
704
728
|
options,
|
|
705
729
|
});
|
|
706
|
-
exports.
|
|
730
|
+
exports.signSignTransaction = signSignTransaction;
|
|
707
731
|
/**
|
|
708
|
-
* Update
|
|
732
|
+
* Update Allowable Origins
|
|
709
733
|
*
|
|
710
|
-
* Update the
|
|
734
|
+
* Update the allowable origins for credentials and requests
|
|
711
735
|
*
|
|
712
736
|
* `POST /public/v1/submit/update_allowed_origins`
|
|
713
737
|
*/
|
|
714
|
-
const
|
|
738
|
+
const updateAllowedOrigins = (input) => (0, base_1.request)({
|
|
715
739
|
uri: "/public/v1/submit/update_allowed_origins",
|
|
716
740
|
method: "POST",
|
|
717
741
|
body: input.body,
|
|
718
742
|
});
|
|
719
|
-
exports.
|
|
743
|
+
exports.updateAllowedOrigins = updateAllowedOrigins;
|
|
720
744
|
/**
|
|
721
|
-
*
|
|
745
|
+
* Request a WebAuthn assertion and return a signed `UpdateAllowedOrigins` request, ready to be POSTed to Turnkey.
|
|
722
746
|
*
|
|
723
|
-
*
|
|
747
|
+
* See {@link UpdateAllowedOrigins}
|
|
724
748
|
*/
|
|
725
|
-
const
|
|
749
|
+
const signUpdateAllowedOrigins = (input, options) => (0, base_1.signedRequest)({
|
|
726
750
|
uri: "/public/v1/submit/update_allowed_origins",
|
|
727
751
|
body: input.body,
|
|
728
752
|
options,
|
|
729
753
|
});
|
|
730
|
-
exports.
|
|
754
|
+
exports.signUpdateAllowedOrigins = signUpdateAllowedOrigins;
|
|
755
|
+
/**
|
|
756
|
+
* Update Policy
|
|
757
|
+
*
|
|
758
|
+
* Update an existing Policy
|
|
759
|
+
*
|
|
760
|
+
* `POST /public/v1/submit/update_policy`
|
|
761
|
+
*/
|
|
762
|
+
const updatePolicy = (input) => (0, base_1.request)({
|
|
763
|
+
uri: "/public/v1/submit/update_policy",
|
|
764
|
+
method: "POST",
|
|
765
|
+
body: input.body,
|
|
766
|
+
});
|
|
767
|
+
exports.updatePolicy = updatePolicy;
|
|
768
|
+
/**
|
|
769
|
+
* Request a WebAuthn assertion and return a signed `UpdatePolicy` request, ready to be POSTed to Turnkey.
|
|
770
|
+
*
|
|
771
|
+
* See {@link UpdatePolicy}
|
|
772
|
+
*/
|
|
773
|
+
const signUpdatePolicy = (input, options) => (0, base_1.signedRequest)({
|
|
774
|
+
uri: "/public/v1/submit/update_policy",
|
|
775
|
+
body: input.body,
|
|
776
|
+
options,
|
|
777
|
+
});
|
|
778
|
+
exports.signUpdatePolicy = signUpdatePolicy;
|
|
731
779
|
/**
|
|
732
780
|
* Update Private Key Tag
|
|
733
781
|
*
|
|
@@ -735,47 +783,47 @@ exports.federatedPostUpdateAllowedOrigins = federatedPostUpdateAllowedOrigins;
|
|
|
735
783
|
*
|
|
736
784
|
* `POST /public/v1/submit/update_private_key_tag`
|
|
737
785
|
*/
|
|
738
|
-
const
|
|
786
|
+
const updatePrivateKeyTag = (input) => (0, base_1.request)({
|
|
739
787
|
uri: "/public/v1/submit/update_private_key_tag",
|
|
740
788
|
method: "POST",
|
|
741
789
|
body: input.body,
|
|
742
790
|
});
|
|
743
|
-
exports.
|
|
791
|
+
exports.updatePrivateKeyTag = updatePrivateKeyTag;
|
|
744
792
|
/**
|
|
745
|
-
*
|
|
793
|
+
* Request a WebAuthn assertion and return a signed `UpdatePrivateKeyTag` request, ready to be POSTed to Turnkey.
|
|
746
794
|
*
|
|
747
|
-
*
|
|
795
|
+
* See {@link UpdatePrivateKeyTag}
|
|
748
796
|
*/
|
|
749
|
-
const
|
|
797
|
+
const signUpdatePrivateKeyTag = (input, options) => (0, base_1.signedRequest)({
|
|
750
798
|
uri: "/public/v1/submit/update_private_key_tag",
|
|
751
799
|
body: input.body,
|
|
752
800
|
options,
|
|
753
801
|
});
|
|
754
|
-
exports.
|
|
802
|
+
exports.signUpdatePrivateKeyTag = signUpdatePrivateKeyTag;
|
|
755
803
|
/**
|
|
756
|
-
*
|
|
804
|
+
* Update Root Quorum
|
|
757
805
|
*
|
|
758
806
|
* Set the threshold and members of the root quorum. This must be approved by the current root quorum.
|
|
759
807
|
*
|
|
760
808
|
* `POST /public/v1/submit/update_root_quorum`
|
|
761
809
|
*/
|
|
762
|
-
const
|
|
810
|
+
const updateRootQuorum = (input) => (0, base_1.request)({
|
|
763
811
|
uri: "/public/v1/submit/update_root_quorum",
|
|
764
812
|
method: "POST",
|
|
765
813
|
body: input.body,
|
|
766
814
|
});
|
|
767
|
-
exports.
|
|
815
|
+
exports.updateRootQuorum = updateRootQuorum;
|
|
768
816
|
/**
|
|
769
|
-
*
|
|
817
|
+
* Request a WebAuthn assertion and return a signed `UpdateRootQuorum` request, ready to be POSTed to Turnkey.
|
|
770
818
|
*
|
|
771
|
-
*
|
|
819
|
+
* See {@link UpdateRootQuorum}
|
|
772
820
|
*/
|
|
773
|
-
const
|
|
821
|
+
const signUpdateRootQuorum = (input, options) => (0, base_1.signedRequest)({
|
|
774
822
|
uri: "/public/v1/submit/update_root_quorum",
|
|
775
823
|
body: input.body,
|
|
776
824
|
options,
|
|
777
825
|
});
|
|
778
|
-
exports.
|
|
826
|
+
exports.signUpdateRootQuorum = signUpdateRootQuorum;
|
|
779
827
|
/**
|
|
780
828
|
* Update User Tag
|
|
781
829
|
*
|
|
@@ -783,23 +831,23 @@ exports.federatedPostUpdateRootQuorum = federatedPostUpdateRootQuorum;
|
|
|
783
831
|
*
|
|
784
832
|
* `POST /public/v1/submit/update_user_tag`
|
|
785
833
|
*/
|
|
786
|
-
const
|
|
834
|
+
const updateUserTag = (input) => (0, base_1.request)({
|
|
787
835
|
uri: "/public/v1/submit/update_user_tag",
|
|
788
836
|
method: "POST",
|
|
789
837
|
body: input.body,
|
|
790
838
|
});
|
|
791
|
-
exports.
|
|
839
|
+
exports.updateUserTag = updateUserTag;
|
|
792
840
|
/**
|
|
793
|
-
*
|
|
841
|
+
* Request a WebAuthn assertion and return a signed `UpdateUserTag` request, ready to be POSTed to Turnkey.
|
|
794
842
|
*
|
|
795
|
-
*
|
|
843
|
+
* See {@link UpdateUserTag}
|
|
796
844
|
*/
|
|
797
|
-
const
|
|
845
|
+
const signUpdateUserTag = (input, options) => (0, base_1.signedRequest)({
|
|
798
846
|
uri: "/public/v1/submit/update_user_tag",
|
|
799
847
|
body: input.body,
|
|
800
848
|
options,
|
|
801
849
|
});
|
|
802
|
-
exports.
|
|
850
|
+
exports.signUpdateUserTag = signUpdateUserTag;
|
|
803
851
|
/**
|
|
804
852
|
* This route does nothing and does not need an implementation, but please don't remove it.
|
|
805
853
|
It's used at compile time for generating extra OpenAPI/TypeScript types
|
|
@@ -807,46 +855,18 @@ that are not directly referenced in requests.
|
|
|
807
855
|
*
|
|
808
856
|
* `POST /tkhq/api/v1/noop-codegen-anchor`
|
|
809
857
|
*/
|
|
810
|
-
const
|
|
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)({
|
|
858
|
+
const nOOPCodegenAnchor = () => (0, base_1.request)({
|
|
821
859
|
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
822
|
-
});
|
|
823
|
-
exports.federatedPostNOOPCodegenAnchor = federatedPostNOOPCodegenAnchor;
|
|
824
|
-
/**
|
|
825
|
-
* Get Private Key
|
|
826
|
-
*
|
|
827
|
-
* Get details about a Private Key
|
|
828
|
-
*
|
|
829
|
-
* `POST /tkhq/public/v1/query/get_private_key`
|
|
830
|
-
*
|
|
831
|
-
* @deprecated
|
|
832
|
-
*/
|
|
833
|
-
const postGetPrivateKeyBackwardsCompat = (input) => (0, base_1.request)({
|
|
834
|
-
uri: "/tkhq/public/v1/query/get_private_key",
|
|
835
860
|
method: "POST",
|
|
836
|
-
body: input.body,
|
|
837
861
|
});
|
|
838
|
-
exports.
|
|
862
|
+
exports.nOOPCodegenAnchor = nOOPCodegenAnchor;
|
|
839
863
|
/**
|
|
840
|
-
*
|
|
841
|
-
*
|
|
842
|
-
* Get details about a Private Key
|
|
864
|
+
* Request a WebAuthn assertion and return a signed `NOOPCodegenAnchor` request, ready to be POSTed to Turnkey.
|
|
843
865
|
*
|
|
844
|
-
* @
|
|
866
|
+
* See {@link NOOPCodegenAnchor}
|
|
845
867
|
*/
|
|
846
|
-
const
|
|
847
|
-
uri: "/tkhq/
|
|
848
|
-
body: input.body,
|
|
849
|
-
options,
|
|
868
|
+
const signNOOPCodegenAnchor = () => (0, base_1.signedRequest)({
|
|
869
|
+
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
850
870
|
});
|
|
851
|
-
exports.
|
|
871
|
+
exports.signNOOPCodegenAnchor = signNOOPCodegenAnchor;
|
|
852
872
|
//# sourceMappingURL=public_api.fetcher.js.map
|