@turnkey/http 0.18.1 → 1.0.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 +16 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +587 -421
- 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 +217 -217
- 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 +39 -384
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +2 -2
- 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.signDeleteInvitation = exports.deleteInvitation = 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.signGetPrivateKeyBackwardsCompat = exports.getPrivateKeyBackwardsCompat = exports.signNOOPCodegenAnchor = exports.nOOPCodegenAnchor = exports.signUpdateUserTag = exports.updateUserTag = exports.signUpdateRootQuorum = exports.updateRootQuorum = exports.signUpdatePrivateKeyTag = exports.updatePrivateKeyTag = exports.signUpdateAllowedOrigins = exports.updateAllowedOrigins = exports.signSignTransaction = exports.signTransaction = exports.signSignRawPayload = exports.signRawPayload = exports.signRejectActivity = exports.rejectActivity = exports.signDeletePolicy = exports.deletePolicy = 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,23 @@ 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
587
|
/**
|
|
588
588
|
* Delete Invitation
|
|
589
589
|
*
|
|
@@ -591,23 +591,23 @@ exports.federatedPostDeleteApiKeys = federatedPostDeleteApiKeys;
|
|
|
591
591
|
*
|
|
592
592
|
* `POST /public/v1/submit/delete_invitations`
|
|
593
593
|
*/
|
|
594
|
-
const
|
|
594
|
+
const deleteInvitation = (input) => (0, base_1.request)({
|
|
595
595
|
uri: "/public/v1/submit/delete_invitations",
|
|
596
596
|
method: "POST",
|
|
597
597
|
body: input.body,
|
|
598
598
|
});
|
|
599
|
-
exports.
|
|
599
|
+
exports.deleteInvitation = deleteInvitation;
|
|
600
600
|
/**
|
|
601
|
-
*
|
|
601
|
+
* Request a WebAuthn assertion and return a signed `DeleteInvitation` request, ready to be POSTed to Turnkey.
|
|
602
602
|
*
|
|
603
|
-
*
|
|
603
|
+
* See {@link DeleteInvitation}
|
|
604
604
|
*/
|
|
605
|
-
const
|
|
605
|
+
const signDeleteInvitation = (input, options) => (0, base_1.signedRequest)({
|
|
606
606
|
uri: "/public/v1/submit/delete_invitations",
|
|
607
607
|
body: input.body,
|
|
608
608
|
options,
|
|
609
609
|
});
|
|
610
|
-
exports.
|
|
610
|
+
exports.signDeleteInvitation = signDeleteInvitation;
|
|
611
611
|
/**
|
|
612
612
|
* Delete Policy
|
|
613
613
|
*
|
|
@@ -615,23 +615,23 @@ exports.federatedPostDeleteInvitation = federatedPostDeleteInvitation;
|
|
|
615
615
|
*
|
|
616
616
|
* `POST /public/v1/submit/delete_policy`
|
|
617
617
|
*/
|
|
618
|
-
const
|
|
618
|
+
const deletePolicy = (input) => (0, base_1.request)({
|
|
619
619
|
uri: "/public/v1/submit/delete_policy",
|
|
620
620
|
method: "POST",
|
|
621
621
|
body: input.body,
|
|
622
622
|
});
|
|
623
|
-
exports.
|
|
623
|
+
exports.deletePolicy = deletePolicy;
|
|
624
624
|
/**
|
|
625
|
-
*
|
|
625
|
+
* Request a WebAuthn assertion and return a signed `DeletePolicy` request, ready to be POSTed to Turnkey.
|
|
626
626
|
*
|
|
627
|
-
*
|
|
627
|
+
* See {@link DeletePolicy}
|
|
628
628
|
*/
|
|
629
|
-
const
|
|
629
|
+
const signDeletePolicy = (input, options) => (0, base_1.signedRequest)({
|
|
630
630
|
uri: "/public/v1/submit/delete_policy",
|
|
631
631
|
body: input.body,
|
|
632
632
|
options,
|
|
633
633
|
});
|
|
634
|
-
exports.
|
|
634
|
+
exports.signDeletePolicy = signDeletePolicy;
|
|
635
635
|
/**
|
|
636
636
|
* Reject Activity
|
|
637
637
|
*
|
|
@@ -639,23 +639,23 @@ exports.federatedPostDeletePolicy = federatedPostDeletePolicy;
|
|
|
639
639
|
*
|
|
640
640
|
* `POST /public/v1/submit/reject_activity`
|
|
641
641
|
*/
|
|
642
|
-
const
|
|
642
|
+
const rejectActivity = (input) => (0, base_1.request)({
|
|
643
643
|
uri: "/public/v1/submit/reject_activity",
|
|
644
644
|
method: "POST",
|
|
645
645
|
body: input.body,
|
|
646
646
|
});
|
|
647
|
-
exports.
|
|
647
|
+
exports.rejectActivity = rejectActivity;
|
|
648
648
|
/**
|
|
649
|
-
*
|
|
649
|
+
* Request a WebAuthn assertion and return a signed `RejectActivity` request, ready to be POSTed to Turnkey.
|
|
650
650
|
*
|
|
651
|
-
*
|
|
651
|
+
* See {@link RejectActivity}
|
|
652
652
|
*/
|
|
653
|
-
const
|
|
653
|
+
const signRejectActivity = (input, options) => (0, base_1.signedRequest)({
|
|
654
654
|
uri: "/public/v1/submit/reject_activity",
|
|
655
655
|
body: input.body,
|
|
656
656
|
options,
|
|
657
657
|
});
|
|
658
|
-
exports.
|
|
658
|
+
exports.signRejectActivity = signRejectActivity;
|
|
659
659
|
/**
|
|
660
660
|
* Sign Raw Payload
|
|
661
661
|
*
|
|
@@ -663,23 +663,23 @@ exports.federatedPostRejectActivity = federatedPostRejectActivity;
|
|
|
663
663
|
*
|
|
664
664
|
* `POST /public/v1/submit/sign_raw_payload`
|
|
665
665
|
*/
|
|
666
|
-
const
|
|
666
|
+
const signRawPayload = (input) => (0, base_1.request)({
|
|
667
667
|
uri: "/public/v1/submit/sign_raw_payload",
|
|
668
668
|
method: "POST",
|
|
669
669
|
body: input.body,
|
|
670
670
|
});
|
|
671
|
-
exports.
|
|
671
|
+
exports.signRawPayload = signRawPayload;
|
|
672
672
|
/**
|
|
673
|
-
*
|
|
673
|
+
* Request a WebAuthn assertion and return a signed `SignRawPayload` request, ready to be POSTed to Turnkey.
|
|
674
674
|
*
|
|
675
|
-
*
|
|
675
|
+
* See {@link SignRawPayload}
|
|
676
676
|
*/
|
|
677
|
-
const
|
|
677
|
+
const signSignRawPayload = (input, options) => (0, base_1.signedRequest)({
|
|
678
678
|
uri: "/public/v1/submit/sign_raw_payload",
|
|
679
679
|
body: input.body,
|
|
680
680
|
options,
|
|
681
681
|
});
|
|
682
|
-
exports.
|
|
682
|
+
exports.signSignRawPayload = signSignRawPayload;
|
|
683
683
|
/**
|
|
684
684
|
* Sign Transaction
|
|
685
685
|
*
|
|
@@ -687,47 +687,47 @@ exports.federatedPostSignRawPayload = federatedPostSignRawPayload;
|
|
|
687
687
|
*
|
|
688
688
|
* `POST /public/v1/submit/sign_transaction`
|
|
689
689
|
*/
|
|
690
|
-
const
|
|
690
|
+
const signTransaction = (input) => (0, base_1.request)({
|
|
691
691
|
uri: "/public/v1/submit/sign_transaction",
|
|
692
692
|
method: "POST",
|
|
693
693
|
body: input.body,
|
|
694
694
|
});
|
|
695
|
-
exports.
|
|
695
|
+
exports.signTransaction = signTransaction;
|
|
696
696
|
/**
|
|
697
|
-
*
|
|
697
|
+
* Request a WebAuthn assertion and return a signed `SignTransaction` request, ready to be POSTed to Turnkey.
|
|
698
698
|
*
|
|
699
|
-
*
|
|
699
|
+
* See {@link SignTransaction}
|
|
700
700
|
*/
|
|
701
|
-
const
|
|
701
|
+
const signSignTransaction = (input, options) => (0, base_1.signedRequest)({
|
|
702
702
|
uri: "/public/v1/submit/sign_transaction",
|
|
703
703
|
body: input.body,
|
|
704
704
|
options,
|
|
705
705
|
});
|
|
706
|
-
exports.
|
|
706
|
+
exports.signSignTransaction = signSignTransaction;
|
|
707
707
|
/**
|
|
708
|
-
* Update
|
|
708
|
+
* Update Allowable Origins
|
|
709
709
|
*
|
|
710
|
-
* Update the
|
|
710
|
+
* Update the allowable origins for credentials and requests
|
|
711
711
|
*
|
|
712
712
|
* `POST /public/v1/submit/update_allowed_origins`
|
|
713
713
|
*/
|
|
714
|
-
const
|
|
714
|
+
const updateAllowedOrigins = (input) => (0, base_1.request)({
|
|
715
715
|
uri: "/public/v1/submit/update_allowed_origins",
|
|
716
716
|
method: "POST",
|
|
717
717
|
body: input.body,
|
|
718
718
|
});
|
|
719
|
-
exports.
|
|
719
|
+
exports.updateAllowedOrigins = updateAllowedOrigins;
|
|
720
720
|
/**
|
|
721
|
-
*
|
|
721
|
+
* Request a WebAuthn assertion and return a signed `UpdateAllowedOrigins` request, ready to be POSTed to Turnkey.
|
|
722
722
|
*
|
|
723
|
-
*
|
|
723
|
+
* See {@link UpdateAllowedOrigins}
|
|
724
724
|
*/
|
|
725
|
-
const
|
|
725
|
+
const signUpdateAllowedOrigins = (input, options) => (0, base_1.signedRequest)({
|
|
726
726
|
uri: "/public/v1/submit/update_allowed_origins",
|
|
727
727
|
body: input.body,
|
|
728
728
|
options,
|
|
729
729
|
});
|
|
730
|
-
exports.
|
|
730
|
+
exports.signUpdateAllowedOrigins = signUpdateAllowedOrigins;
|
|
731
731
|
/**
|
|
732
732
|
* Update Private Key Tag
|
|
733
733
|
*
|
|
@@ -735,47 +735,47 @@ exports.federatedPostUpdateAllowedOrigins = federatedPostUpdateAllowedOrigins;
|
|
|
735
735
|
*
|
|
736
736
|
* `POST /public/v1/submit/update_private_key_tag`
|
|
737
737
|
*/
|
|
738
|
-
const
|
|
738
|
+
const updatePrivateKeyTag = (input) => (0, base_1.request)({
|
|
739
739
|
uri: "/public/v1/submit/update_private_key_tag",
|
|
740
740
|
method: "POST",
|
|
741
741
|
body: input.body,
|
|
742
742
|
});
|
|
743
|
-
exports.
|
|
743
|
+
exports.updatePrivateKeyTag = updatePrivateKeyTag;
|
|
744
744
|
/**
|
|
745
|
-
*
|
|
745
|
+
* Request a WebAuthn assertion and return a signed `UpdatePrivateKeyTag` request, ready to be POSTed to Turnkey.
|
|
746
746
|
*
|
|
747
|
-
*
|
|
747
|
+
* See {@link UpdatePrivateKeyTag}
|
|
748
748
|
*/
|
|
749
|
-
const
|
|
749
|
+
const signUpdatePrivateKeyTag = (input, options) => (0, base_1.signedRequest)({
|
|
750
750
|
uri: "/public/v1/submit/update_private_key_tag",
|
|
751
751
|
body: input.body,
|
|
752
752
|
options,
|
|
753
753
|
});
|
|
754
|
-
exports.
|
|
754
|
+
exports.signUpdatePrivateKeyTag = signUpdatePrivateKeyTag;
|
|
755
755
|
/**
|
|
756
|
-
*
|
|
756
|
+
* Update Root Quorum
|
|
757
757
|
*
|
|
758
758
|
* Set the threshold and members of the root quorum. This must be approved by the current root quorum.
|
|
759
759
|
*
|
|
760
760
|
* `POST /public/v1/submit/update_root_quorum`
|
|
761
761
|
*/
|
|
762
|
-
const
|
|
762
|
+
const updateRootQuorum = (input) => (0, base_1.request)({
|
|
763
763
|
uri: "/public/v1/submit/update_root_quorum",
|
|
764
764
|
method: "POST",
|
|
765
765
|
body: input.body,
|
|
766
766
|
});
|
|
767
|
-
exports.
|
|
767
|
+
exports.updateRootQuorum = updateRootQuorum;
|
|
768
768
|
/**
|
|
769
|
-
*
|
|
769
|
+
* Request a WebAuthn assertion and return a signed `UpdateRootQuorum` request, ready to be POSTed to Turnkey.
|
|
770
770
|
*
|
|
771
|
-
*
|
|
771
|
+
* See {@link UpdateRootQuorum}
|
|
772
772
|
*/
|
|
773
|
-
const
|
|
773
|
+
const signUpdateRootQuorum = (input, options) => (0, base_1.signedRequest)({
|
|
774
774
|
uri: "/public/v1/submit/update_root_quorum",
|
|
775
775
|
body: input.body,
|
|
776
776
|
options,
|
|
777
777
|
});
|
|
778
|
-
exports.
|
|
778
|
+
exports.signUpdateRootQuorum = signUpdateRootQuorum;
|
|
779
779
|
/**
|
|
780
780
|
* Update User Tag
|
|
781
781
|
*
|
|
@@ -783,23 +783,23 @@ exports.federatedPostUpdateRootQuorum = federatedPostUpdateRootQuorum;
|
|
|
783
783
|
*
|
|
784
784
|
* `POST /public/v1/submit/update_user_tag`
|
|
785
785
|
*/
|
|
786
|
-
const
|
|
786
|
+
const updateUserTag = (input) => (0, base_1.request)({
|
|
787
787
|
uri: "/public/v1/submit/update_user_tag",
|
|
788
788
|
method: "POST",
|
|
789
789
|
body: input.body,
|
|
790
790
|
});
|
|
791
|
-
exports.
|
|
791
|
+
exports.updateUserTag = updateUserTag;
|
|
792
792
|
/**
|
|
793
|
-
*
|
|
793
|
+
* Request a WebAuthn assertion and return a signed `UpdateUserTag` request, ready to be POSTed to Turnkey.
|
|
794
794
|
*
|
|
795
|
-
*
|
|
795
|
+
* See {@link UpdateUserTag}
|
|
796
796
|
*/
|
|
797
|
-
const
|
|
797
|
+
const signUpdateUserTag = (input, options) => (0, base_1.signedRequest)({
|
|
798
798
|
uri: "/public/v1/submit/update_user_tag",
|
|
799
799
|
body: input.body,
|
|
800
800
|
options,
|
|
801
801
|
});
|
|
802
|
-
exports.
|
|
802
|
+
exports.signUpdateUserTag = signUpdateUserTag;
|
|
803
803
|
/**
|
|
804
804
|
* This route does nothing and does not need an implementation, but please don't remove it.
|
|
805
805
|
It's used at compile time for generating extra OpenAPI/TypeScript types
|
|
@@ -807,20 +807,20 @@ that are not directly referenced in requests.
|
|
|
807
807
|
*
|
|
808
808
|
* `POST /tkhq/api/v1/noop-codegen-anchor`
|
|
809
809
|
*/
|
|
810
|
-
const
|
|
810
|
+
const nOOPCodegenAnchor = () => (0, base_1.request)({
|
|
811
811
|
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
812
812
|
method: "POST",
|
|
813
813
|
});
|
|
814
|
-
exports.
|
|
814
|
+
exports.nOOPCodegenAnchor = nOOPCodegenAnchor;
|
|
815
815
|
/**
|
|
816
|
-
*
|
|
817
|
-
|
|
818
|
-
|
|
816
|
+
* Request a WebAuthn assertion and return a signed `NOOPCodegenAnchor` request, ready to be POSTed to Turnkey.
|
|
817
|
+
*
|
|
818
|
+
* See {@link NOOPCodegenAnchor}
|
|
819
819
|
*/
|
|
820
|
-
const
|
|
820
|
+
const signNOOPCodegenAnchor = () => (0, base_1.signedRequest)({
|
|
821
821
|
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
822
822
|
});
|
|
823
|
-
exports.
|
|
823
|
+
exports.signNOOPCodegenAnchor = signNOOPCodegenAnchor;
|
|
824
824
|
/**
|
|
825
825
|
* Get Private Key
|
|
826
826
|
*
|
|
@@ -830,23 +830,23 @@ exports.federatedPostNOOPCodegenAnchor = federatedPostNOOPCodegenAnchor;
|
|
|
830
830
|
*
|
|
831
831
|
* @deprecated
|
|
832
832
|
*/
|
|
833
|
-
const
|
|
833
|
+
const getPrivateKeyBackwardsCompat = (input) => (0, base_1.request)({
|
|
834
834
|
uri: "/tkhq/public/v1/query/get_private_key",
|
|
835
835
|
method: "POST",
|
|
836
836
|
body: input.body,
|
|
837
837
|
});
|
|
838
|
-
exports.
|
|
838
|
+
exports.getPrivateKeyBackwardsCompat = getPrivateKeyBackwardsCompat;
|
|
839
839
|
/**
|
|
840
|
-
*
|
|
840
|
+
* Request a WebAuthn assertion and return a signed `GetPrivateKeyBackwardsCompat` request, ready to be POSTed to Turnkey.
|
|
841
841
|
*
|
|
842
|
-
*
|
|
842
|
+
* See {@link GetPrivateKeyBackwardsCompat}
|
|
843
843
|
*
|
|
844
844
|
* @deprecated
|
|
845
845
|
*/
|
|
846
|
-
const
|
|
846
|
+
const signGetPrivateKeyBackwardsCompat = (input, options) => (0, base_1.signedRequest)({
|
|
847
847
|
uri: "/tkhq/public/v1/query/get_private_key",
|
|
848
848
|
body: input.body,
|
|
849
849
|
options,
|
|
850
850
|
});
|
|
851
|
-
exports.
|
|
851
|
+
exports.signGetPrivateKeyBackwardsCompat = signGetPrivateKeyBackwardsCompat;
|
|
852
852
|
//# sourceMappingURL=public_api.fetcher.js.map
|