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