@turnkey/http 2.3.1 → 2.4.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 +12 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +9 -7
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/{esm/__generated__/services/coordinator/public/v1/public_api.client.js → __generated__/services/coordinator/public/v1/public_api.client.mjs} +7 -3
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +201 -201
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/{esm/__generated__/services/coordinator/public/v1/public_api.fetcher.js → __generated__/services/coordinator/public/v1/public_api.fetcher.mjs} +103 -100
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -0
- package/dist/async.js +16 -15
- package/dist/async.js.map +1 -1
- package/dist/{esm/async.js → async.mjs} +9 -6
- package/dist/async.mjs.map +1 -0
- package/dist/base.js +27 -23
- package/dist/base.js.map +1 -1
- package/dist/{esm/base.js → base.mjs} +13 -11
- package/dist/base.mjs.map +1 -0
- package/dist/config.js +8 -8
- package/dist/config.js.map +1 -1
- package/dist/{esm/config.js → config.mjs} +7 -5
- package/dist/config.mjs.map +1 -0
- package/dist/encoding.js +5 -9
- package/dist/encoding.js.map +1 -1
- package/dist/{esm/encoding.js → encoding.mjs} +5 -6
- package/dist/encoding.mjs.map +1 -0
- package/dist/index.js +23 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -0
- package/dist/shared.js +4 -8
- package/dist/shared.js.map +1 -1
- package/dist/{esm/shared.js → shared.mjs} +4 -5
- package/dist/shared.mjs.map +1 -0
- package/dist/universal.js +6 -7
- package/dist/universal.js.map +1 -1
- package/dist/{esm/universal.js → universal.mjs} +2 -1
- package/dist/universal.mjs.map +1 -0
- package/dist/webauthn-json/api.js +11 -28
- package/dist/webauthn-json/api.js.map +1 -1
- package/dist/webauthn-json/api.mjs +13 -0
- package/dist/webauthn-json/api.mjs.map +1 -0
- package/dist/webauthn-json/base64url.js +4 -19
- package/dist/webauthn-json/base64url.js.map +1 -1
- package/dist/webauthn-json/base64url.mjs +20 -0
- package/dist/webauthn-json/base64url.mjs.map +1 -0
- package/dist/webauthn-json/convert.js +13 -11
- package/dist/webauthn-json/convert.js.map +1 -1
- package/dist/{esm/webauthn-json/convert.js → webauthn-json/convert.mjs} +9 -7
- package/dist/webauthn-json/convert.mjs.map +1 -0
- package/dist/webauthn-json/index.js +9 -10
- package/dist/webauthn-json/index.js.map +1 -1
- package/dist/webauthn-json/index.mjs +15 -0
- package/dist/webauthn-json/index.mjs.map +1 -0
- package/dist/webauthn-json/schema.js +32 -78
- package/dist/webauthn-json/schema.js.map +1 -1
- package/dist/webauthn-json/schema.mjs +37 -0
- package/dist/webauthn-json/schema.mjs.map +1 -0
- package/dist/webauthn.js +11 -10
- package/dist/webauthn.js.map +1 -1
- package/dist/{esm/webauthn.js → webauthn.mjs} +10 -7
- package/dist/webauthn.mjs.map +1 -0
- package/package.json +7 -8
- package/dist/__generated__/barrel.js +0 -29
- package/dist/__generated__/barrel.js.map +0 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.swagger.json +0 -5975
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.js +0 -7
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.js.map +0 -1
- package/dist/esm/__generated__/barrel.js +0 -4
- package/dist/esm/__generated__/barrel.js.map +0 -1
- package/dist/esm/__generated__/services/coordinator/public/v1/public_api.client.js.map +0 -1
- package/dist/esm/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +0 -1
- package/dist/esm/__generated__/services/coordinator/public/v1/public_api.swagger.json +0 -5975
- package/dist/esm/__generated__/services/coordinator/public/v1/public_api.types.js +0 -6
- package/dist/esm/__generated__/services/coordinator/public/v1/public_api.types.js.map +0 -1
- package/dist/esm/async.js.map +0 -1
- package/dist/esm/base.js.map +0 -1
- package/dist/esm/config.js.map +0 -1
- package/dist/esm/encoding.js.map +0 -1
- package/dist/esm/index.js +0 -15
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/shared.js.map +0 -1
- package/dist/esm/universal.js.map +0 -1
- package/dist/esm/webauthn-json/api.js +0 -24
- package/dist/esm/webauthn-json/api.js.map +0 -1
- package/dist/esm/webauthn-json/base64url.js +0 -32
- package/dist/esm/webauthn-json/base64url.js.map +0 -1
- package/dist/esm/webauthn-json/convert.js.map +0 -1
- package/dist/esm/webauthn-json/index.js +0 -13
- package/dist/esm/webauthn-json/index.js.map +0 -1
- package/dist/esm/webauthn-json/json.js +0 -2
- package/dist/esm/webauthn-json/json.js.map +0 -1
- package/dist/esm/webauthn-json/schema-format.js +0 -2
- package/dist/esm/webauthn-json/schema-format.js.map +0 -1
- package/dist/esm/webauthn-json/schema.js +0 -83
- package/dist/esm/webauthn-json/schema.js.map +0 -1
- package/dist/esm/webauthn.js.map +0 -1
- package/dist/webauthn-json/json.js +0 -3
- package/dist/webauthn-json/json.js.map +0 -1
- package/dist/webauthn-json/schema-format.js +0 -3
- package/dist/webauthn-json/schema-format.js.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../../../../../base.js');
|
|
4
|
+
|
|
2
5
|
/* @generated by `@turnkey/fetchers`. DO NOT EDIT BY HAND */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
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.signGetWallets = exports.getWallets = exports.signGetWalletAccounts = exports.getWalletAccounts = exports.signGetUsers = exports.getUsers = exports.signListUserTags = exports.listUserTags = exports.signGetPrivateKeys = exports.getPrivateKeys = exports.signListPrivateKeyTags = exports.listPrivateKeyTags = exports.signGetPolicies = exports.getPolicies = exports.signGetActivities = exports.getActivities = exports.signGetWallet = exports.getWallet = 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.signUpdateUser = exports.updateUser = exports.signUpdateRootQuorum = exports.updateRootQuorum = exports.signUpdatePrivateKeyTag = exports.updatePrivateKeyTag = exports.signUpdatePolicy = exports.updatePolicy = exports.signSignTransaction = exports.signTransaction = exports.signSignRawPayload = exports.signRawPayload = exports.signSetOrganizationFeature = exports.setOrganizationFeature = exports.signRemoveOrganizationFeature = exports.removeOrganizationFeature = exports.signRejectActivity = exports.rejectActivity = exports.signRecoverUser = exports.recoverUser = exports.signInitUserEmailRecovery = exports.initUserEmailRecovery = exports.signExportWallet = exports.exportWallet = exports.signExportPrivateKey = exports.exportPrivateKey = exports.signDeletePolicy = exports.deletePolicy = exports.signDeleteInvitation = exports.deleteInvitation = exports.signDeleteAuthenticators = exports.deleteAuthenticators = exports.signDeleteApiKeys = exports.deleteApiKeys = exports.signCreateWalletAccounts = exports.createWalletAccounts = exports.signCreateWallet = exports.createWallet = exports.signCreateUsers = exports.createUsers = exports.signCreateUserTag = exports.createUserTag = exports.signCreateSubOrganization = exports.createSubOrganization = void 0;
|
|
6
|
-
const base_1 = require("../../../../../base");
|
|
7
6
|
/**
|
|
8
7
|
* Get Activity
|
|
9
8
|
*
|
|
@@ -11,23 +10,21 @@ const base_1 = require("../../../../../base");
|
|
|
11
10
|
*
|
|
12
11
|
* `POST /public/v1/query/get_activity`
|
|
13
12
|
*/
|
|
14
|
-
const getActivity = (input) =>
|
|
13
|
+
const getActivity = (input) => base.request({
|
|
15
14
|
uri: "/public/v1/query/get_activity",
|
|
16
15
|
method: "POST",
|
|
17
16
|
body: input.body,
|
|
18
17
|
});
|
|
19
|
-
exports.getActivity = getActivity;
|
|
20
18
|
/**
|
|
21
19
|
* Request a WebAuthn assertion and return a signed `GetActivity` request, ready to be POSTed to Turnkey.
|
|
22
20
|
*
|
|
23
21
|
* See {@link GetActivity}
|
|
24
22
|
*/
|
|
25
|
-
const signGetActivity = (input, options) =>
|
|
23
|
+
const signGetActivity = (input, options) => base.signedRequest({
|
|
26
24
|
uri: "/public/v1/query/get_activity",
|
|
27
25
|
body: input.body,
|
|
28
26
|
options,
|
|
29
27
|
});
|
|
30
|
-
exports.signGetActivity = signGetActivity;
|
|
31
28
|
/**
|
|
32
29
|
* Get Authenticator
|
|
33
30
|
*
|
|
@@ -35,23 +32,21 @@ exports.signGetActivity = signGetActivity;
|
|
|
35
32
|
*
|
|
36
33
|
* `POST /public/v1/query/get_authenticator`
|
|
37
34
|
*/
|
|
38
|
-
const getAuthenticator = (input) =>
|
|
35
|
+
const getAuthenticator = (input) => base.request({
|
|
39
36
|
uri: "/public/v1/query/get_authenticator",
|
|
40
37
|
method: "POST",
|
|
41
38
|
body: input.body,
|
|
42
39
|
});
|
|
43
|
-
exports.getAuthenticator = getAuthenticator;
|
|
44
40
|
/**
|
|
45
41
|
* Request a WebAuthn assertion and return a signed `GetAuthenticator` request, ready to be POSTed to Turnkey.
|
|
46
42
|
*
|
|
47
43
|
* See {@link GetAuthenticator}
|
|
48
44
|
*/
|
|
49
|
-
const signGetAuthenticator = (input, options) =>
|
|
45
|
+
const signGetAuthenticator = (input, options) => base.signedRequest({
|
|
50
46
|
uri: "/public/v1/query/get_authenticator",
|
|
51
47
|
body: input.body,
|
|
52
48
|
options,
|
|
53
49
|
});
|
|
54
|
-
exports.signGetAuthenticator = signGetAuthenticator;
|
|
55
50
|
/**
|
|
56
51
|
* Get Authenticators
|
|
57
52
|
*
|
|
@@ -59,23 +54,21 @@ exports.signGetAuthenticator = signGetAuthenticator;
|
|
|
59
54
|
*
|
|
60
55
|
* `POST /public/v1/query/get_authenticators`
|
|
61
56
|
*/
|
|
62
|
-
const getAuthenticators = (input) =>
|
|
57
|
+
const getAuthenticators = (input) => base.request({
|
|
63
58
|
uri: "/public/v1/query/get_authenticators",
|
|
64
59
|
method: "POST",
|
|
65
60
|
body: input.body,
|
|
66
61
|
});
|
|
67
|
-
exports.getAuthenticators = getAuthenticators;
|
|
68
62
|
/**
|
|
69
63
|
* Request a WebAuthn assertion and return a signed `GetAuthenticators` request, ready to be POSTed to Turnkey.
|
|
70
64
|
*
|
|
71
65
|
* See {@link GetAuthenticators}
|
|
72
66
|
*/
|
|
73
|
-
const signGetAuthenticators = (input, options) =>
|
|
67
|
+
const signGetAuthenticators = (input, options) => base.signedRequest({
|
|
74
68
|
uri: "/public/v1/query/get_authenticators",
|
|
75
69
|
body: input.body,
|
|
76
70
|
options,
|
|
77
71
|
});
|
|
78
|
-
exports.signGetAuthenticators = signGetAuthenticators;
|
|
79
72
|
/**
|
|
80
73
|
* Get Organization
|
|
81
74
|
*
|
|
@@ -83,23 +76,21 @@ exports.signGetAuthenticators = signGetAuthenticators;
|
|
|
83
76
|
*
|
|
84
77
|
* `POST /public/v1/query/get_organization`
|
|
85
78
|
*/
|
|
86
|
-
const getOrganization = (input) =>
|
|
79
|
+
const getOrganization = (input) => base.request({
|
|
87
80
|
uri: "/public/v1/query/get_organization",
|
|
88
81
|
method: "POST",
|
|
89
82
|
body: input.body,
|
|
90
83
|
});
|
|
91
|
-
exports.getOrganization = getOrganization;
|
|
92
84
|
/**
|
|
93
85
|
* Request a WebAuthn assertion and return a signed `GetOrganization` request, ready to be POSTed to Turnkey.
|
|
94
86
|
*
|
|
95
87
|
* See {@link GetOrganization}
|
|
96
88
|
*/
|
|
97
|
-
const signGetOrganization = (input, options) =>
|
|
89
|
+
const signGetOrganization = (input, options) => base.signedRequest({
|
|
98
90
|
uri: "/public/v1/query/get_organization",
|
|
99
91
|
body: input.body,
|
|
100
92
|
options,
|
|
101
93
|
});
|
|
102
|
-
exports.signGetOrganization = signGetOrganization;
|
|
103
94
|
/**
|
|
104
95
|
* Get Policy
|
|
105
96
|
*
|
|
@@ -107,23 +98,21 @@ exports.signGetOrganization = signGetOrganization;
|
|
|
107
98
|
*
|
|
108
99
|
* `POST /public/v1/query/get_policy`
|
|
109
100
|
*/
|
|
110
|
-
const getPolicy = (input) =>
|
|
101
|
+
const getPolicy = (input) => base.request({
|
|
111
102
|
uri: "/public/v1/query/get_policy",
|
|
112
103
|
method: "POST",
|
|
113
104
|
body: input.body,
|
|
114
105
|
});
|
|
115
|
-
exports.getPolicy = getPolicy;
|
|
116
106
|
/**
|
|
117
107
|
* Request a WebAuthn assertion and return a signed `GetPolicy` request, ready to be POSTed to Turnkey.
|
|
118
108
|
*
|
|
119
109
|
* See {@link GetPolicy}
|
|
120
110
|
*/
|
|
121
|
-
const signGetPolicy = (input, options) =>
|
|
111
|
+
const signGetPolicy = (input, options) => base.signedRequest({
|
|
122
112
|
uri: "/public/v1/query/get_policy",
|
|
123
113
|
body: input.body,
|
|
124
114
|
options,
|
|
125
115
|
});
|
|
126
|
-
exports.signGetPolicy = signGetPolicy;
|
|
127
116
|
/**
|
|
128
117
|
* Get Private Key
|
|
129
118
|
*
|
|
@@ -131,23 +120,21 @@ exports.signGetPolicy = signGetPolicy;
|
|
|
131
120
|
*
|
|
132
121
|
* `POST /public/v1/query/get_private_key`
|
|
133
122
|
*/
|
|
134
|
-
const getPrivateKey = (input) =>
|
|
123
|
+
const getPrivateKey = (input) => base.request({
|
|
135
124
|
uri: "/public/v1/query/get_private_key",
|
|
136
125
|
method: "POST",
|
|
137
126
|
body: input.body,
|
|
138
127
|
});
|
|
139
|
-
exports.getPrivateKey = getPrivateKey;
|
|
140
128
|
/**
|
|
141
129
|
* Request a WebAuthn assertion and return a signed `GetPrivateKey` request, ready to be POSTed to Turnkey.
|
|
142
130
|
*
|
|
143
131
|
* See {@link GetPrivateKey}
|
|
144
132
|
*/
|
|
145
|
-
const signGetPrivateKey = (input, options) =>
|
|
133
|
+
const signGetPrivateKey = (input, options) => base.signedRequest({
|
|
146
134
|
uri: "/public/v1/query/get_private_key",
|
|
147
135
|
body: input.body,
|
|
148
136
|
options,
|
|
149
137
|
});
|
|
150
|
-
exports.signGetPrivateKey = signGetPrivateKey;
|
|
151
138
|
/**
|
|
152
139
|
* Get User
|
|
153
140
|
*
|
|
@@ -155,23 +142,21 @@ exports.signGetPrivateKey = signGetPrivateKey;
|
|
|
155
142
|
*
|
|
156
143
|
* `POST /public/v1/query/get_user`
|
|
157
144
|
*/
|
|
158
|
-
const getUser = (input) =>
|
|
145
|
+
const getUser = (input) => base.request({
|
|
159
146
|
uri: "/public/v1/query/get_user",
|
|
160
147
|
method: "POST",
|
|
161
148
|
body: input.body,
|
|
162
149
|
});
|
|
163
|
-
exports.getUser = getUser;
|
|
164
150
|
/**
|
|
165
151
|
* Request a WebAuthn assertion and return a signed `GetUser` request, ready to be POSTed to Turnkey.
|
|
166
152
|
*
|
|
167
153
|
* See {@link GetUser}
|
|
168
154
|
*/
|
|
169
|
-
const signGetUser = (input, options) =>
|
|
155
|
+
const signGetUser = (input, options) => base.signedRequest({
|
|
170
156
|
uri: "/public/v1/query/get_user",
|
|
171
157
|
body: input.body,
|
|
172
158
|
options,
|
|
173
159
|
});
|
|
174
|
-
exports.signGetUser = signGetUser;
|
|
175
160
|
/**
|
|
176
161
|
* Get Wallet
|
|
177
162
|
*
|
|
@@ -179,23 +164,21 @@ exports.signGetUser = signGetUser;
|
|
|
179
164
|
*
|
|
180
165
|
* `POST /public/v1/query/get_wallet`
|
|
181
166
|
*/
|
|
182
|
-
const getWallet = (input) =>
|
|
167
|
+
const getWallet = (input) => base.request({
|
|
183
168
|
uri: "/public/v1/query/get_wallet",
|
|
184
169
|
method: "POST",
|
|
185
170
|
body: input.body,
|
|
186
171
|
});
|
|
187
|
-
exports.getWallet = getWallet;
|
|
188
172
|
/**
|
|
189
173
|
* Request a WebAuthn assertion and return a signed `GetWallet` request, ready to be POSTed to Turnkey.
|
|
190
174
|
*
|
|
191
175
|
* See {@link GetWallet}
|
|
192
176
|
*/
|
|
193
|
-
const signGetWallet = (input, options) =>
|
|
177
|
+
const signGetWallet = (input, options) => base.signedRequest({
|
|
194
178
|
uri: "/public/v1/query/get_wallet",
|
|
195
179
|
body: input.body,
|
|
196
180
|
options,
|
|
197
181
|
});
|
|
198
|
-
exports.signGetWallet = signGetWallet;
|
|
199
182
|
/**
|
|
200
183
|
* List Activities
|
|
201
184
|
*
|
|
@@ -203,23 +186,21 @@ exports.signGetWallet = signGetWallet;
|
|
|
203
186
|
*
|
|
204
187
|
* `POST /public/v1/query/list_activities`
|
|
205
188
|
*/
|
|
206
|
-
const getActivities = (input) =>
|
|
189
|
+
const getActivities = (input) => base.request({
|
|
207
190
|
uri: "/public/v1/query/list_activities",
|
|
208
191
|
method: "POST",
|
|
209
192
|
body: input.body,
|
|
210
193
|
});
|
|
211
|
-
exports.getActivities = getActivities;
|
|
212
194
|
/**
|
|
213
195
|
* Request a WebAuthn assertion and return a signed `GetActivities` request, ready to be POSTed to Turnkey.
|
|
214
196
|
*
|
|
215
197
|
* See {@link GetActivities}
|
|
216
198
|
*/
|
|
217
|
-
const signGetActivities = (input, options) =>
|
|
199
|
+
const signGetActivities = (input, options) => base.signedRequest({
|
|
218
200
|
uri: "/public/v1/query/list_activities",
|
|
219
201
|
body: input.body,
|
|
220
202
|
options,
|
|
221
203
|
});
|
|
222
|
-
exports.signGetActivities = signGetActivities;
|
|
223
204
|
/**
|
|
224
205
|
* List Policies
|
|
225
206
|
*
|
|
@@ -227,23 +208,21 @@ exports.signGetActivities = signGetActivities;
|
|
|
227
208
|
*
|
|
228
209
|
* `POST /public/v1/query/list_policies`
|
|
229
210
|
*/
|
|
230
|
-
const getPolicies = (input) =>
|
|
211
|
+
const getPolicies = (input) => base.request({
|
|
231
212
|
uri: "/public/v1/query/list_policies",
|
|
232
213
|
method: "POST",
|
|
233
214
|
body: input.body,
|
|
234
215
|
});
|
|
235
|
-
exports.getPolicies = getPolicies;
|
|
236
216
|
/**
|
|
237
217
|
* Request a WebAuthn assertion and return a signed `GetPolicies` request, ready to be POSTed to Turnkey.
|
|
238
218
|
*
|
|
239
219
|
* See {@link GetPolicies}
|
|
240
220
|
*/
|
|
241
|
-
const signGetPolicies = (input, options) =>
|
|
221
|
+
const signGetPolicies = (input, options) => base.signedRequest({
|
|
242
222
|
uri: "/public/v1/query/list_policies",
|
|
243
223
|
body: input.body,
|
|
244
224
|
options,
|
|
245
225
|
});
|
|
246
|
-
exports.signGetPolicies = signGetPolicies;
|
|
247
226
|
/**
|
|
248
227
|
* List Private Key Tags
|
|
249
228
|
*
|
|
@@ -251,23 +230,21 @@ exports.signGetPolicies = signGetPolicies;
|
|
|
251
230
|
*
|
|
252
231
|
* `POST /public/v1/query/list_private_key_tags`
|
|
253
232
|
*/
|
|
254
|
-
const listPrivateKeyTags = (input) =>
|
|
233
|
+
const listPrivateKeyTags = (input) => base.request({
|
|
255
234
|
uri: "/public/v1/query/list_private_key_tags",
|
|
256
235
|
method: "POST",
|
|
257
236
|
body: input.body,
|
|
258
237
|
});
|
|
259
|
-
exports.listPrivateKeyTags = listPrivateKeyTags;
|
|
260
238
|
/**
|
|
261
239
|
* Request a WebAuthn assertion and return a signed `ListPrivateKeyTags` request, ready to be POSTed to Turnkey.
|
|
262
240
|
*
|
|
263
241
|
* See {@link ListPrivateKeyTags}
|
|
264
242
|
*/
|
|
265
|
-
const signListPrivateKeyTags = (input, options) =>
|
|
243
|
+
const signListPrivateKeyTags = (input, options) => base.signedRequest({
|
|
266
244
|
uri: "/public/v1/query/list_private_key_tags",
|
|
267
245
|
body: input.body,
|
|
268
246
|
options,
|
|
269
247
|
});
|
|
270
|
-
exports.signListPrivateKeyTags = signListPrivateKeyTags;
|
|
271
248
|
/**
|
|
272
249
|
* List Private Keys
|
|
273
250
|
*
|
|
@@ -275,23 +252,21 @@ exports.signListPrivateKeyTags = signListPrivateKeyTags;
|
|
|
275
252
|
*
|
|
276
253
|
* `POST /public/v1/query/list_private_keys`
|
|
277
254
|
*/
|
|
278
|
-
const getPrivateKeys = (input) =>
|
|
255
|
+
const getPrivateKeys = (input) => base.request({
|
|
279
256
|
uri: "/public/v1/query/list_private_keys",
|
|
280
257
|
method: "POST",
|
|
281
258
|
body: input.body,
|
|
282
259
|
});
|
|
283
|
-
exports.getPrivateKeys = getPrivateKeys;
|
|
284
260
|
/**
|
|
285
261
|
* Request a WebAuthn assertion and return a signed `GetPrivateKeys` request, ready to be POSTed to Turnkey.
|
|
286
262
|
*
|
|
287
263
|
* See {@link GetPrivateKeys}
|
|
288
264
|
*/
|
|
289
|
-
const signGetPrivateKeys = (input, options) =>
|
|
265
|
+
const signGetPrivateKeys = (input, options) => base.signedRequest({
|
|
290
266
|
uri: "/public/v1/query/list_private_keys",
|
|
291
267
|
body: input.body,
|
|
292
268
|
options,
|
|
293
269
|
});
|
|
294
|
-
exports.signGetPrivateKeys = signGetPrivateKeys;
|
|
295
270
|
/**
|
|
296
271
|
* List User Tags
|
|
297
272
|
*
|
|
@@ -299,23 +274,21 @@ exports.signGetPrivateKeys = signGetPrivateKeys;
|
|
|
299
274
|
*
|
|
300
275
|
* `POST /public/v1/query/list_user_tags`
|
|
301
276
|
*/
|
|
302
|
-
const listUserTags = (input) =>
|
|
277
|
+
const listUserTags = (input) => base.request({
|
|
303
278
|
uri: "/public/v1/query/list_user_tags",
|
|
304
279
|
method: "POST",
|
|
305
280
|
body: input.body,
|
|
306
281
|
});
|
|
307
|
-
exports.listUserTags = listUserTags;
|
|
308
282
|
/**
|
|
309
283
|
* Request a WebAuthn assertion and return a signed `ListUserTags` request, ready to be POSTed to Turnkey.
|
|
310
284
|
*
|
|
311
285
|
* See {@link ListUserTags}
|
|
312
286
|
*/
|
|
313
|
-
const signListUserTags = (input, options) =>
|
|
287
|
+
const signListUserTags = (input, options) => base.signedRequest({
|
|
314
288
|
uri: "/public/v1/query/list_user_tags",
|
|
315
289
|
body: input.body,
|
|
316
290
|
options,
|
|
317
291
|
});
|
|
318
|
-
exports.signListUserTags = signListUserTags;
|
|
319
292
|
/**
|
|
320
293
|
* List Users
|
|
321
294
|
*
|
|
@@ -323,23 +296,21 @@ exports.signListUserTags = signListUserTags;
|
|
|
323
296
|
*
|
|
324
297
|
* `POST /public/v1/query/list_users`
|
|
325
298
|
*/
|
|
326
|
-
const getUsers = (input) =>
|
|
299
|
+
const getUsers = (input) => base.request({
|
|
327
300
|
uri: "/public/v1/query/list_users",
|
|
328
301
|
method: "POST",
|
|
329
302
|
body: input.body,
|
|
330
303
|
});
|
|
331
|
-
exports.getUsers = getUsers;
|
|
332
304
|
/**
|
|
333
305
|
* Request a WebAuthn assertion and return a signed `GetUsers` request, ready to be POSTed to Turnkey.
|
|
334
306
|
*
|
|
335
307
|
* See {@link GetUsers}
|
|
336
308
|
*/
|
|
337
|
-
const signGetUsers = (input, options) =>
|
|
309
|
+
const signGetUsers = (input, options) => base.signedRequest({
|
|
338
310
|
uri: "/public/v1/query/list_users",
|
|
339
311
|
body: input.body,
|
|
340
312
|
options,
|
|
341
313
|
});
|
|
342
|
-
exports.signGetUsers = signGetUsers;
|
|
343
314
|
/**
|
|
344
315
|
* List Wallets Accounts
|
|
345
316
|
*
|
|
@@ -347,23 +318,21 @@ exports.signGetUsers = signGetUsers;
|
|
|
347
318
|
*
|
|
348
319
|
* `POST /public/v1/query/list_wallet_accounts`
|
|
349
320
|
*/
|
|
350
|
-
const getWalletAccounts = (input) =>
|
|
321
|
+
const getWalletAccounts = (input) => base.request({
|
|
351
322
|
uri: "/public/v1/query/list_wallet_accounts",
|
|
352
323
|
method: "POST",
|
|
353
324
|
body: input.body,
|
|
354
325
|
});
|
|
355
|
-
exports.getWalletAccounts = getWalletAccounts;
|
|
356
326
|
/**
|
|
357
327
|
* Request a WebAuthn assertion and return a signed `GetWalletAccounts` request, ready to be POSTed to Turnkey.
|
|
358
328
|
*
|
|
359
329
|
* See {@link GetWalletAccounts}
|
|
360
330
|
*/
|
|
361
|
-
const signGetWalletAccounts = (input, options) =>
|
|
331
|
+
const signGetWalletAccounts = (input, options) => base.signedRequest({
|
|
362
332
|
uri: "/public/v1/query/list_wallet_accounts",
|
|
363
333
|
body: input.body,
|
|
364
334
|
options,
|
|
365
335
|
});
|
|
366
|
-
exports.signGetWalletAccounts = signGetWalletAccounts;
|
|
367
336
|
/**
|
|
368
337
|
* List Wallets
|
|
369
338
|
*
|
|
@@ -371,23 +340,21 @@ exports.signGetWalletAccounts = signGetWalletAccounts;
|
|
|
371
340
|
*
|
|
372
341
|
* `POST /public/v1/query/list_wallets`
|
|
373
342
|
*/
|
|
374
|
-
const getWallets = (input) =>
|
|
343
|
+
const getWallets = (input) => base.request({
|
|
375
344
|
uri: "/public/v1/query/list_wallets",
|
|
376
345
|
method: "POST",
|
|
377
346
|
body: input.body,
|
|
378
347
|
});
|
|
379
|
-
exports.getWallets = getWallets;
|
|
380
348
|
/**
|
|
381
349
|
* Request a WebAuthn assertion and return a signed `GetWallets` request, ready to be POSTed to Turnkey.
|
|
382
350
|
*
|
|
383
351
|
* See {@link GetWallets}
|
|
384
352
|
*/
|
|
385
|
-
const signGetWallets = (input, options) =>
|
|
353
|
+
const signGetWallets = (input, options) => base.signedRequest({
|
|
386
354
|
uri: "/public/v1/query/list_wallets",
|
|
387
355
|
body: input.body,
|
|
388
356
|
options,
|
|
389
357
|
});
|
|
390
|
-
exports.signGetWallets = signGetWallets;
|
|
391
358
|
/**
|
|
392
359
|
* Who am I?
|
|
393
360
|
*
|
|
@@ -395,23 +362,21 @@ exports.signGetWallets = signGetWallets;
|
|
|
395
362
|
*
|
|
396
363
|
* `POST /public/v1/query/whoami`
|
|
397
364
|
*/
|
|
398
|
-
const getWhoami = (input) =>
|
|
365
|
+
const getWhoami = (input) => base.request({
|
|
399
366
|
uri: "/public/v1/query/whoami",
|
|
400
367
|
method: "POST",
|
|
401
368
|
body: input.body,
|
|
402
369
|
});
|
|
403
|
-
exports.getWhoami = getWhoami;
|
|
404
370
|
/**
|
|
405
371
|
* Request a WebAuthn assertion and return a signed `GetWhoami` request, ready to be POSTed to Turnkey.
|
|
406
372
|
*
|
|
407
373
|
* See {@link GetWhoami}
|
|
408
374
|
*/
|
|
409
|
-
const signGetWhoami = (input, options) =>
|
|
375
|
+
const signGetWhoami = (input, options) => base.signedRequest({
|
|
410
376
|
uri: "/public/v1/query/whoami",
|
|
411
377
|
body: input.body,
|
|
412
378
|
options,
|
|
413
379
|
});
|
|
414
|
-
exports.signGetWhoami = signGetWhoami;
|
|
415
380
|
/**
|
|
416
381
|
* Approve Activity
|
|
417
382
|
*
|
|
@@ -419,23 +384,21 @@ exports.signGetWhoami = signGetWhoami;
|
|
|
419
384
|
*
|
|
420
385
|
* `POST /public/v1/submit/approve_activity`
|
|
421
386
|
*/
|
|
422
|
-
const approveActivity = (input) =>
|
|
387
|
+
const approveActivity = (input) => base.request({
|
|
423
388
|
uri: "/public/v1/submit/approve_activity",
|
|
424
389
|
method: "POST",
|
|
425
390
|
body: input.body,
|
|
426
391
|
});
|
|
427
|
-
exports.approveActivity = approveActivity;
|
|
428
392
|
/**
|
|
429
393
|
* Request a WebAuthn assertion and return a signed `ApproveActivity` request, ready to be POSTed to Turnkey.
|
|
430
394
|
*
|
|
431
395
|
* See {@link ApproveActivity}
|
|
432
396
|
*/
|
|
433
|
-
const signApproveActivity = (input, options) =>
|
|
397
|
+
const signApproveActivity = (input, options) => base.signedRequest({
|
|
434
398
|
uri: "/public/v1/submit/approve_activity",
|
|
435
399
|
body: input.body,
|
|
436
400
|
options,
|
|
437
401
|
});
|
|
438
|
-
exports.signApproveActivity = signApproveActivity;
|
|
439
402
|
/**
|
|
440
403
|
* Create API Keys
|
|
441
404
|
*
|
|
@@ -443,23 +406,21 @@ exports.signApproveActivity = signApproveActivity;
|
|
|
443
406
|
*
|
|
444
407
|
* `POST /public/v1/submit/create_api_keys`
|
|
445
408
|
*/
|
|
446
|
-
const createApiKeys = (input) =>
|
|
409
|
+
const createApiKeys = (input) => base.request({
|
|
447
410
|
uri: "/public/v1/submit/create_api_keys",
|
|
448
411
|
method: "POST",
|
|
449
412
|
body: input.body,
|
|
450
413
|
});
|
|
451
|
-
exports.createApiKeys = createApiKeys;
|
|
452
414
|
/**
|
|
453
415
|
* Request a WebAuthn assertion and return a signed `CreateApiKeys` request, ready to be POSTed to Turnkey.
|
|
454
416
|
*
|
|
455
417
|
* See {@link CreateApiKeys}
|
|
456
418
|
*/
|
|
457
|
-
const signCreateApiKeys = (input, options) =>
|
|
419
|
+
const signCreateApiKeys = (input, options) => base.signedRequest({
|
|
458
420
|
uri: "/public/v1/submit/create_api_keys",
|
|
459
421
|
body: input.body,
|
|
460
422
|
options,
|
|
461
423
|
});
|
|
462
|
-
exports.signCreateApiKeys = signCreateApiKeys;
|
|
463
424
|
/**
|
|
464
425
|
* Create API-only Users
|
|
465
426
|
*
|
|
@@ -467,23 +428,21 @@ exports.signCreateApiKeys = signCreateApiKeys;
|
|
|
467
428
|
*
|
|
468
429
|
* `POST /public/v1/submit/create_api_only_users`
|
|
469
430
|
*/
|
|
470
|
-
const createApiOnlyUsers = (input) =>
|
|
431
|
+
const createApiOnlyUsers = (input) => base.request({
|
|
471
432
|
uri: "/public/v1/submit/create_api_only_users",
|
|
472
433
|
method: "POST",
|
|
473
434
|
body: input.body,
|
|
474
435
|
});
|
|
475
|
-
exports.createApiOnlyUsers = createApiOnlyUsers;
|
|
476
436
|
/**
|
|
477
437
|
* Request a WebAuthn assertion and return a signed `CreateApiOnlyUsers` request, ready to be POSTed to Turnkey.
|
|
478
438
|
*
|
|
479
439
|
* See {@link CreateApiOnlyUsers}
|
|
480
440
|
*/
|
|
481
|
-
const signCreateApiOnlyUsers = (input, options) =>
|
|
441
|
+
const signCreateApiOnlyUsers = (input, options) => base.signedRequest({
|
|
482
442
|
uri: "/public/v1/submit/create_api_only_users",
|
|
483
443
|
body: input.body,
|
|
484
444
|
options,
|
|
485
445
|
});
|
|
486
|
-
exports.signCreateApiOnlyUsers = signCreateApiOnlyUsers;
|
|
487
446
|
/**
|
|
488
447
|
* Create Authenticators
|
|
489
448
|
*
|
|
@@ -491,23 +450,21 @@ exports.signCreateApiOnlyUsers = signCreateApiOnlyUsers;
|
|
|
491
450
|
*
|
|
492
451
|
* `POST /public/v1/submit/create_authenticators`
|
|
493
452
|
*/
|
|
494
|
-
const createAuthenticators = (input) =>
|
|
453
|
+
const createAuthenticators = (input) => base.request({
|
|
495
454
|
uri: "/public/v1/submit/create_authenticators",
|
|
496
455
|
method: "POST",
|
|
497
456
|
body: input.body,
|
|
498
457
|
});
|
|
499
|
-
exports.createAuthenticators = createAuthenticators;
|
|
500
458
|
/**
|
|
501
459
|
* Request a WebAuthn assertion and return a signed `CreateAuthenticators` request, ready to be POSTed to Turnkey.
|
|
502
460
|
*
|
|
503
461
|
* See {@link CreateAuthenticators}
|
|
504
462
|
*/
|
|
505
|
-
const signCreateAuthenticators = (input, options) =>
|
|
463
|
+
const signCreateAuthenticators = (input, options) => base.signedRequest({
|
|
506
464
|
uri: "/public/v1/submit/create_authenticators",
|
|
507
465
|
body: input.body,
|
|
508
466
|
options,
|
|
509
467
|
});
|
|
510
|
-
exports.signCreateAuthenticators = signCreateAuthenticators;
|
|
511
468
|
/**
|
|
512
469
|
* Create Invitations
|
|
513
470
|
*
|
|
@@ -515,23 +472,21 @@ exports.signCreateAuthenticators = signCreateAuthenticators;
|
|
|
515
472
|
*
|
|
516
473
|
* `POST /public/v1/submit/create_invitations`
|
|
517
474
|
*/
|
|
518
|
-
const createInvitations = (input) =>
|
|
475
|
+
const createInvitations = (input) => base.request({
|
|
519
476
|
uri: "/public/v1/submit/create_invitations",
|
|
520
477
|
method: "POST",
|
|
521
478
|
body: input.body,
|
|
522
479
|
});
|
|
523
|
-
exports.createInvitations = createInvitations;
|
|
524
480
|
/**
|
|
525
481
|
* Request a WebAuthn assertion and return a signed `CreateInvitations` request, ready to be POSTed to Turnkey.
|
|
526
482
|
*
|
|
527
483
|
* See {@link CreateInvitations}
|
|
528
484
|
*/
|
|
529
|
-
const signCreateInvitations = (input, options) =>
|
|
485
|
+
const signCreateInvitations = (input, options) => base.signedRequest({
|
|
530
486
|
uri: "/public/v1/submit/create_invitations",
|
|
531
487
|
body: input.body,
|
|
532
488
|
options,
|
|
533
489
|
});
|
|
534
|
-
exports.signCreateInvitations = signCreateInvitations;
|
|
535
490
|
/**
|
|
536
491
|
* Create Policy
|
|
537
492
|
*
|
|
@@ -539,23 +494,21 @@ exports.signCreateInvitations = signCreateInvitations;
|
|
|
539
494
|
*
|
|
540
495
|
* `POST /public/v1/submit/create_policy`
|
|
541
496
|
*/
|
|
542
|
-
const createPolicy = (input) =>
|
|
497
|
+
const createPolicy = (input) => base.request({
|
|
543
498
|
uri: "/public/v1/submit/create_policy",
|
|
544
499
|
method: "POST",
|
|
545
500
|
body: input.body,
|
|
546
501
|
});
|
|
547
|
-
exports.createPolicy = createPolicy;
|
|
548
502
|
/**
|
|
549
503
|
* Request a WebAuthn assertion and return a signed `CreatePolicy` request, ready to be POSTed to Turnkey.
|
|
550
504
|
*
|
|
551
505
|
* See {@link CreatePolicy}
|
|
552
506
|
*/
|
|
553
|
-
const signCreatePolicy = (input, options) =>
|
|
507
|
+
const signCreatePolicy = (input, options) => base.signedRequest({
|
|
554
508
|
uri: "/public/v1/submit/create_policy",
|
|
555
509
|
body: input.body,
|
|
556
510
|
options,
|
|
557
511
|
});
|
|
558
|
-
exports.signCreatePolicy = signCreatePolicy;
|
|
559
512
|
/**
|
|
560
513
|
* Create Private Key Tag
|
|
561
514
|
*
|
|
@@ -563,23 +516,21 @@ exports.signCreatePolicy = signCreatePolicy;
|
|
|
563
516
|
*
|
|
564
517
|
* `POST /public/v1/submit/create_private_key_tag`
|
|
565
518
|
*/
|
|
566
|
-
const createPrivateKeyTag = (input) =>
|
|
519
|
+
const createPrivateKeyTag = (input) => base.request({
|
|
567
520
|
uri: "/public/v1/submit/create_private_key_tag",
|
|
568
521
|
method: "POST",
|
|
569
522
|
body: input.body,
|
|
570
523
|
});
|
|
571
|
-
exports.createPrivateKeyTag = createPrivateKeyTag;
|
|
572
524
|
/**
|
|
573
525
|
* Request a WebAuthn assertion and return a signed `CreatePrivateKeyTag` request, ready to be POSTed to Turnkey.
|
|
574
526
|
*
|
|
575
527
|
* See {@link CreatePrivateKeyTag}
|
|
576
528
|
*/
|
|
577
|
-
const signCreatePrivateKeyTag = (input, options) =>
|
|
529
|
+
const signCreatePrivateKeyTag = (input, options) => base.signedRequest({
|
|
578
530
|
uri: "/public/v1/submit/create_private_key_tag",
|
|
579
531
|
body: input.body,
|
|
580
532
|
options,
|
|
581
533
|
});
|
|
582
|
-
exports.signCreatePrivateKeyTag = signCreatePrivateKeyTag;
|
|
583
534
|
/**
|
|
584
535
|
* Create Private Keys
|
|
585
536
|
*
|
|
@@ -587,23 +538,21 @@ exports.signCreatePrivateKeyTag = signCreatePrivateKeyTag;
|
|
|
587
538
|
*
|
|
588
539
|
* `POST /public/v1/submit/create_private_keys`
|
|
589
540
|
*/
|
|
590
|
-
const createPrivateKeys = (input) =>
|
|
541
|
+
const createPrivateKeys = (input) => base.request({
|
|
591
542
|
uri: "/public/v1/submit/create_private_keys",
|
|
592
543
|
method: "POST",
|
|
593
544
|
body: input.body,
|
|
594
545
|
});
|
|
595
|
-
exports.createPrivateKeys = createPrivateKeys;
|
|
596
546
|
/**
|
|
597
547
|
* Request a WebAuthn assertion and return a signed `CreatePrivateKeys` request, ready to be POSTed to Turnkey.
|
|
598
548
|
*
|
|
599
549
|
* See {@link CreatePrivateKeys}
|
|
600
550
|
*/
|
|
601
|
-
const signCreatePrivateKeys = (input, options) =>
|
|
551
|
+
const signCreatePrivateKeys = (input, options) => base.signedRequest({
|
|
602
552
|
uri: "/public/v1/submit/create_private_keys",
|
|
603
553
|
body: input.body,
|
|
604
554
|
options,
|
|
605
555
|
});
|
|
606
|
-
exports.signCreatePrivateKeys = signCreatePrivateKeys;
|
|
607
556
|
/**
|
|
608
557
|
* Create Sub-Organization
|
|
609
558
|
*
|
|
@@ -611,23 +560,21 @@ exports.signCreatePrivateKeys = signCreatePrivateKeys;
|
|
|
611
560
|
*
|
|
612
561
|
* `POST /public/v1/submit/create_sub_organization`
|
|
613
562
|
*/
|
|
614
|
-
const createSubOrganization = (input) =>
|
|
563
|
+
const createSubOrganization = (input) => base.request({
|
|
615
564
|
uri: "/public/v1/submit/create_sub_organization",
|
|
616
565
|
method: "POST",
|
|
617
566
|
body: input.body,
|
|
618
567
|
});
|
|
619
|
-
exports.createSubOrganization = createSubOrganization;
|
|
620
568
|
/**
|
|
621
569
|
* Request a WebAuthn assertion and return a signed `CreateSubOrganization` request, ready to be POSTed to Turnkey.
|
|
622
570
|
*
|
|
623
571
|
* See {@link CreateSubOrganization}
|
|
624
572
|
*/
|
|
625
|
-
const signCreateSubOrganization = (input, options) =>
|
|
573
|
+
const signCreateSubOrganization = (input, options) => base.signedRequest({
|
|
626
574
|
uri: "/public/v1/submit/create_sub_organization",
|
|
627
575
|
body: input.body,
|
|
628
576
|
options,
|
|
629
577
|
});
|
|
630
|
-
exports.signCreateSubOrganization = signCreateSubOrganization;
|
|
631
578
|
/**
|
|
632
579
|
* Create User Tag
|
|
633
580
|
*
|
|
@@ -635,23 +582,21 @@ exports.signCreateSubOrganization = signCreateSubOrganization;
|
|
|
635
582
|
*
|
|
636
583
|
* `POST /public/v1/submit/create_user_tag`
|
|
637
584
|
*/
|
|
638
|
-
const createUserTag = (input) =>
|
|
585
|
+
const createUserTag = (input) => base.request({
|
|
639
586
|
uri: "/public/v1/submit/create_user_tag",
|
|
640
587
|
method: "POST",
|
|
641
588
|
body: input.body,
|
|
642
589
|
});
|
|
643
|
-
exports.createUserTag = createUserTag;
|
|
644
590
|
/**
|
|
645
591
|
* Request a WebAuthn assertion and return a signed `CreateUserTag` request, ready to be POSTed to Turnkey.
|
|
646
592
|
*
|
|
647
593
|
* See {@link CreateUserTag}
|
|
648
594
|
*/
|
|
649
|
-
const signCreateUserTag = (input, options) =>
|
|
595
|
+
const signCreateUserTag = (input, options) => base.signedRequest({
|
|
650
596
|
uri: "/public/v1/submit/create_user_tag",
|
|
651
597
|
body: input.body,
|
|
652
598
|
options,
|
|
653
599
|
});
|
|
654
|
-
exports.signCreateUserTag = signCreateUserTag;
|
|
655
600
|
/**
|
|
656
601
|
* Create Users
|
|
657
602
|
*
|
|
@@ -659,23 +604,21 @@ exports.signCreateUserTag = signCreateUserTag;
|
|
|
659
604
|
*
|
|
660
605
|
* `POST /public/v1/submit/create_users`
|
|
661
606
|
*/
|
|
662
|
-
const createUsers = (input) =>
|
|
607
|
+
const createUsers = (input) => base.request({
|
|
663
608
|
uri: "/public/v1/submit/create_users",
|
|
664
609
|
method: "POST",
|
|
665
610
|
body: input.body,
|
|
666
611
|
});
|
|
667
|
-
exports.createUsers = createUsers;
|
|
668
612
|
/**
|
|
669
613
|
* Request a WebAuthn assertion and return a signed `CreateUsers` request, ready to be POSTed to Turnkey.
|
|
670
614
|
*
|
|
671
615
|
* See {@link CreateUsers}
|
|
672
616
|
*/
|
|
673
|
-
const signCreateUsers = (input, options) =>
|
|
617
|
+
const signCreateUsers = (input, options) => base.signedRequest({
|
|
674
618
|
uri: "/public/v1/submit/create_users",
|
|
675
619
|
body: input.body,
|
|
676
620
|
options,
|
|
677
621
|
});
|
|
678
|
-
exports.signCreateUsers = signCreateUsers;
|
|
679
622
|
/**
|
|
680
623
|
* Create Wallet
|
|
681
624
|
*
|
|
@@ -683,23 +626,21 @@ exports.signCreateUsers = signCreateUsers;
|
|
|
683
626
|
*
|
|
684
627
|
* `POST /public/v1/submit/create_wallet`
|
|
685
628
|
*/
|
|
686
|
-
const createWallet = (input) =>
|
|
629
|
+
const createWallet = (input) => base.request({
|
|
687
630
|
uri: "/public/v1/submit/create_wallet",
|
|
688
631
|
method: "POST",
|
|
689
632
|
body: input.body,
|
|
690
633
|
});
|
|
691
|
-
exports.createWallet = createWallet;
|
|
692
634
|
/**
|
|
693
635
|
* Request a WebAuthn assertion and return a signed `CreateWallet` request, ready to be POSTed to Turnkey.
|
|
694
636
|
*
|
|
695
637
|
* See {@link CreateWallet}
|
|
696
638
|
*/
|
|
697
|
-
const signCreateWallet = (input, options) =>
|
|
639
|
+
const signCreateWallet = (input, options) => base.signedRequest({
|
|
698
640
|
uri: "/public/v1/submit/create_wallet",
|
|
699
641
|
body: input.body,
|
|
700
642
|
options,
|
|
701
643
|
});
|
|
702
|
-
exports.signCreateWallet = signCreateWallet;
|
|
703
644
|
/**
|
|
704
645
|
* Create Wallet Accounts
|
|
705
646
|
*
|
|
@@ -707,23 +648,21 @@ exports.signCreateWallet = signCreateWallet;
|
|
|
707
648
|
*
|
|
708
649
|
* `POST /public/v1/submit/create_wallet_accounts`
|
|
709
650
|
*/
|
|
710
|
-
const createWalletAccounts = (input) =>
|
|
651
|
+
const createWalletAccounts = (input) => base.request({
|
|
711
652
|
uri: "/public/v1/submit/create_wallet_accounts",
|
|
712
653
|
method: "POST",
|
|
713
654
|
body: input.body,
|
|
714
655
|
});
|
|
715
|
-
exports.createWalletAccounts = createWalletAccounts;
|
|
716
656
|
/**
|
|
717
657
|
* Request a WebAuthn assertion and return a signed `CreateWalletAccounts` request, ready to be POSTed to Turnkey.
|
|
718
658
|
*
|
|
719
659
|
* See {@link CreateWalletAccounts}
|
|
720
660
|
*/
|
|
721
|
-
const signCreateWalletAccounts = (input, options) =>
|
|
661
|
+
const signCreateWalletAccounts = (input, options) => base.signedRequest({
|
|
722
662
|
uri: "/public/v1/submit/create_wallet_accounts",
|
|
723
663
|
body: input.body,
|
|
724
664
|
options,
|
|
725
665
|
});
|
|
726
|
-
exports.signCreateWalletAccounts = signCreateWalletAccounts;
|
|
727
666
|
/**
|
|
728
667
|
* Delete API Keys
|
|
729
668
|
*
|
|
@@ -731,23 +670,21 @@ exports.signCreateWalletAccounts = signCreateWalletAccounts;
|
|
|
731
670
|
*
|
|
732
671
|
* `POST /public/v1/submit/delete_api_keys`
|
|
733
672
|
*/
|
|
734
|
-
const deleteApiKeys = (input) =>
|
|
673
|
+
const deleteApiKeys = (input) => base.request({
|
|
735
674
|
uri: "/public/v1/submit/delete_api_keys",
|
|
736
675
|
method: "POST",
|
|
737
676
|
body: input.body,
|
|
738
677
|
});
|
|
739
|
-
exports.deleteApiKeys = deleteApiKeys;
|
|
740
678
|
/**
|
|
741
679
|
* Request a WebAuthn assertion and return a signed `DeleteApiKeys` request, ready to be POSTed to Turnkey.
|
|
742
680
|
*
|
|
743
681
|
* See {@link DeleteApiKeys}
|
|
744
682
|
*/
|
|
745
|
-
const signDeleteApiKeys = (input, options) =>
|
|
683
|
+
const signDeleteApiKeys = (input, options) => base.signedRequest({
|
|
746
684
|
uri: "/public/v1/submit/delete_api_keys",
|
|
747
685
|
body: input.body,
|
|
748
686
|
options,
|
|
749
687
|
});
|
|
750
|
-
exports.signDeleteApiKeys = signDeleteApiKeys;
|
|
751
688
|
/**
|
|
752
689
|
* Delete Authenticators
|
|
753
690
|
*
|
|
@@ -755,23 +692,21 @@ exports.signDeleteApiKeys = signDeleteApiKeys;
|
|
|
755
692
|
*
|
|
756
693
|
* `POST /public/v1/submit/delete_authenticators`
|
|
757
694
|
*/
|
|
758
|
-
const deleteAuthenticators = (input) =>
|
|
695
|
+
const deleteAuthenticators = (input) => base.request({
|
|
759
696
|
uri: "/public/v1/submit/delete_authenticators",
|
|
760
697
|
method: "POST",
|
|
761
698
|
body: input.body,
|
|
762
699
|
});
|
|
763
|
-
exports.deleteAuthenticators = deleteAuthenticators;
|
|
764
700
|
/**
|
|
765
701
|
* Request a WebAuthn assertion and return a signed `DeleteAuthenticators` request, ready to be POSTed to Turnkey.
|
|
766
702
|
*
|
|
767
703
|
* See {@link DeleteAuthenticators}
|
|
768
704
|
*/
|
|
769
|
-
const signDeleteAuthenticators = (input, options) =>
|
|
705
|
+
const signDeleteAuthenticators = (input, options) => base.signedRequest({
|
|
770
706
|
uri: "/public/v1/submit/delete_authenticators",
|
|
771
707
|
body: input.body,
|
|
772
708
|
options,
|
|
773
709
|
});
|
|
774
|
-
exports.signDeleteAuthenticators = signDeleteAuthenticators;
|
|
775
710
|
/**
|
|
776
711
|
* Delete Invitation
|
|
777
712
|
*
|
|
@@ -779,23 +714,21 @@ exports.signDeleteAuthenticators = signDeleteAuthenticators;
|
|
|
779
714
|
*
|
|
780
715
|
* `POST /public/v1/submit/delete_invitation`
|
|
781
716
|
*/
|
|
782
|
-
const deleteInvitation = (input) =>
|
|
717
|
+
const deleteInvitation = (input) => base.request({
|
|
783
718
|
uri: "/public/v1/submit/delete_invitation",
|
|
784
719
|
method: "POST",
|
|
785
720
|
body: input.body,
|
|
786
721
|
});
|
|
787
|
-
exports.deleteInvitation = deleteInvitation;
|
|
788
722
|
/**
|
|
789
723
|
* Request a WebAuthn assertion and return a signed `DeleteInvitation` request, ready to be POSTed to Turnkey.
|
|
790
724
|
*
|
|
791
725
|
* See {@link DeleteInvitation}
|
|
792
726
|
*/
|
|
793
|
-
const signDeleteInvitation = (input, options) =>
|
|
727
|
+
const signDeleteInvitation = (input, options) => base.signedRequest({
|
|
794
728
|
uri: "/public/v1/submit/delete_invitation",
|
|
795
729
|
body: input.body,
|
|
796
730
|
options,
|
|
797
731
|
});
|
|
798
|
-
exports.signDeleteInvitation = signDeleteInvitation;
|
|
799
732
|
/**
|
|
800
733
|
* Delete Policy
|
|
801
734
|
*
|
|
@@ -803,23 +736,21 @@ exports.signDeleteInvitation = signDeleteInvitation;
|
|
|
803
736
|
*
|
|
804
737
|
* `POST /public/v1/submit/delete_policy`
|
|
805
738
|
*/
|
|
806
|
-
const deletePolicy = (input) =>
|
|
739
|
+
const deletePolicy = (input) => base.request({
|
|
807
740
|
uri: "/public/v1/submit/delete_policy",
|
|
808
741
|
method: "POST",
|
|
809
742
|
body: input.body,
|
|
810
743
|
});
|
|
811
|
-
exports.deletePolicy = deletePolicy;
|
|
812
744
|
/**
|
|
813
745
|
* Request a WebAuthn assertion and return a signed `DeletePolicy` request, ready to be POSTed to Turnkey.
|
|
814
746
|
*
|
|
815
747
|
* See {@link DeletePolicy}
|
|
816
748
|
*/
|
|
817
|
-
const signDeletePolicy = (input, options) =>
|
|
749
|
+
const signDeletePolicy = (input, options) => base.signedRequest({
|
|
818
750
|
uri: "/public/v1/submit/delete_policy",
|
|
819
751
|
body: input.body,
|
|
820
752
|
options,
|
|
821
753
|
});
|
|
822
|
-
exports.signDeletePolicy = signDeletePolicy;
|
|
823
754
|
/**
|
|
824
755
|
* Export Private Key
|
|
825
756
|
*
|
|
@@ -827,23 +758,21 @@ exports.signDeletePolicy = signDeletePolicy;
|
|
|
827
758
|
*
|
|
828
759
|
* `POST /public/v1/submit/export_private_key`
|
|
829
760
|
*/
|
|
830
|
-
const exportPrivateKey = (input) =>
|
|
761
|
+
const exportPrivateKey = (input) => base.request({
|
|
831
762
|
uri: "/public/v1/submit/export_private_key",
|
|
832
763
|
method: "POST",
|
|
833
764
|
body: input.body,
|
|
834
765
|
});
|
|
835
|
-
exports.exportPrivateKey = exportPrivateKey;
|
|
836
766
|
/**
|
|
837
767
|
* Request a WebAuthn assertion and return a signed `ExportPrivateKey` request, ready to be POSTed to Turnkey.
|
|
838
768
|
*
|
|
839
769
|
* See {@link ExportPrivateKey}
|
|
840
770
|
*/
|
|
841
|
-
const signExportPrivateKey = (input, options) =>
|
|
771
|
+
const signExportPrivateKey = (input, options) => base.signedRequest({
|
|
842
772
|
uri: "/public/v1/submit/export_private_key",
|
|
843
773
|
body: input.body,
|
|
844
774
|
options,
|
|
845
775
|
});
|
|
846
|
-
exports.signExportPrivateKey = signExportPrivateKey;
|
|
847
776
|
/**
|
|
848
777
|
* Export Wallet
|
|
849
778
|
*
|
|
@@ -851,23 +780,21 @@ exports.signExportPrivateKey = signExportPrivateKey;
|
|
|
851
780
|
*
|
|
852
781
|
* `POST /public/v1/submit/export_wallet`
|
|
853
782
|
*/
|
|
854
|
-
const exportWallet = (input) =>
|
|
783
|
+
const exportWallet = (input) => base.request({
|
|
855
784
|
uri: "/public/v1/submit/export_wallet",
|
|
856
785
|
method: "POST",
|
|
857
786
|
body: input.body,
|
|
858
787
|
});
|
|
859
|
-
exports.exportWallet = exportWallet;
|
|
860
788
|
/**
|
|
861
789
|
* Request a WebAuthn assertion and return a signed `ExportWallet` request, ready to be POSTed to Turnkey.
|
|
862
790
|
*
|
|
863
791
|
* See {@link ExportWallet}
|
|
864
792
|
*/
|
|
865
|
-
const signExportWallet = (input, options) =>
|
|
793
|
+
const signExportWallet = (input, options) => base.signedRequest({
|
|
866
794
|
uri: "/public/v1/submit/export_wallet",
|
|
867
795
|
body: input.body,
|
|
868
796
|
options,
|
|
869
797
|
});
|
|
870
|
-
exports.signExportWallet = signExportWallet;
|
|
871
798
|
/**
|
|
872
799
|
* Init Email Recovery
|
|
873
800
|
*
|
|
@@ -875,23 +802,21 @@ exports.signExportWallet = signExportWallet;
|
|
|
875
802
|
*
|
|
876
803
|
* `POST /public/v1/submit/init_user_email_recovery`
|
|
877
804
|
*/
|
|
878
|
-
const initUserEmailRecovery = (input) =>
|
|
805
|
+
const initUserEmailRecovery = (input) => base.request({
|
|
879
806
|
uri: "/public/v1/submit/init_user_email_recovery",
|
|
880
807
|
method: "POST",
|
|
881
808
|
body: input.body,
|
|
882
809
|
});
|
|
883
|
-
exports.initUserEmailRecovery = initUserEmailRecovery;
|
|
884
810
|
/**
|
|
885
811
|
* Request a WebAuthn assertion and return a signed `InitUserEmailRecovery` request, ready to be POSTed to Turnkey.
|
|
886
812
|
*
|
|
887
813
|
* See {@link InitUserEmailRecovery}
|
|
888
814
|
*/
|
|
889
|
-
const signInitUserEmailRecovery = (input, options) =>
|
|
815
|
+
const signInitUserEmailRecovery = (input, options) => base.signedRequest({
|
|
890
816
|
uri: "/public/v1/submit/init_user_email_recovery",
|
|
891
817
|
body: input.body,
|
|
892
818
|
options,
|
|
893
819
|
});
|
|
894
|
-
exports.signInitUserEmailRecovery = signInitUserEmailRecovery;
|
|
895
820
|
/**
|
|
896
821
|
* Recover a user
|
|
897
822
|
*
|
|
@@ -899,23 +824,21 @@ exports.signInitUserEmailRecovery = signInitUserEmailRecovery;
|
|
|
899
824
|
*
|
|
900
825
|
* `POST /public/v1/submit/recover_user`
|
|
901
826
|
*/
|
|
902
|
-
const recoverUser = (input) =>
|
|
827
|
+
const recoverUser = (input) => base.request({
|
|
903
828
|
uri: "/public/v1/submit/recover_user",
|
|
904
829
|
method: "POST",
|
|
905
830
|
body: input.body,
|
|
906
831
|
});
|
|
907
|
-
exports.recoverUser = recoverUser;
|
|
908
832
|
/**
|
|
909
833
|
* Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to Turnkey.
|
|
910
834
|
*
|
|
911
835
|
* See {@link RecoverUser}
|
|
912
836
|
*/
|
|
913
|
-
const signRecoverUser = (input, options) =>
|
|
837
|
+
const signRecoverUser = (input, options) => base.signedRequest({
|
|
914
838
|
uri: "/public/v1/submit/recover_user",
|
|
915
839
|
body: input.body,
|
|
916
840
|
options,
|
|
917
841
|
});
|
|
918
|
-
exports.signRecoverUser = signRecoverUser;
|
|
919
842
|
/**
|
|
920
843
|
* Reject Activity
|
|
921
844
|
*
|
|
@@ -923,23 +846,21 @@ exports.signRecoverUser = signRecoverUser;
|
|
|
923
846
|
*
|
|
924
847
|
* `POST /public/v1/submit/reject_activity`
|
|
925
848
|
*/
|
|
926
|
-
const rejectActivity = (input) =>
|
|
849
|
+
const rejectActivity = (input) => base.request({
|
|
927
850
|
uri: "/public/v1/submit/reject_activity",
|
|
928
851
|
method: "POST",
|
|
929
852
|
body: input.body,
|
|
930
853
|
});
|
|
931
|
-
exports.rejectActivity = rejectActivity;
|
|
932
854
|
/**
|
|
933
855
|
* Request a WebAuthn assertion and return a signed `RejectActivity` request, ready to be POSTed to Turnkey.
|
|
934
856
|
*
|
|
935
857
|
* See {@link RejectActivity}
|
|
936
858
|
*/
|
|
937
|
-
const signRejectActivity = (input, options) =>
|
|
859
|
+
const signRejectActivity = (input, options) => base.signedRequest({
|
|
938
860
|
uri: "/public/v1/submit/reject_activity",
|
|
939
861
|
body: input.body,
|
|
940
862
|
options,
|
|
941
863
|
});
|
|
942
|
-
exports.signRejectActivity = signRejectActivity;
|
|
943
864
|
/**
|
|
944
865
|
* Remove Organization Feature
|
|
945
866
|
*
|
|
@@ -947,23 +868,21 @@ exports.signRejectActivity = signRejectActivity;
|
|
|
947
868
|
*
|
|
948
869
|
* `POST /public/v1/submit/remove_organization_feature`
|
|
949
870
|
*/
|
|
950
|
-
const removeOrganizationFeature = (input) =>
|
|
871
|
+
const removeOrganizationFeature = (input) => base.request({
|
|
951
872
|
uri: "/public/v1/submit/remove_organization_feature",
|
|
952
873
|
method: "POST",
|
|
953
874
|
body: input.body,
|
|
954
875
|
});
|
|
955
|
-
exports.removeOrganizationFeature = removeOrganizationFeature;
|
|
956
876
|
/**
|
|
957
877
|
* Request a WebAuthn assertion and return a signed `RemoveOrganizationFeature` request, ready to be POSTed to Turnkey.
|
|
958
878
|
*
|
|
959
879
|
* See {@link RemoveOrganizationFeature}
|
|
960
880
|
*/
|
|
961
|
-
const signRemoveOrganizationFeature = (input, options) =>
|
|
881
|
+
const signRemoveOrganizationFeature = (input, options) => base.signedRequest({
|
|
962
882
|
uri: "/public/v1/submit/remove_organization_feature",
|
|
963
883
|
body: input.body,
|
|
964
884
|
options,
|
|
965
885
|
});
|
|
966
|
-
exports.signRemoveOrganizationFeature = signRemoveOrganizationFeature;
|
|
967
886
|
/**
|
|
968
887
|
* Set Organization Feature
|
|
969
888
|
*
|
|
@@ -971,23 +890,21 @@ exports.signRemoveOrganizationFeature = signRemoveOrganizationFeature;
|
|
|
971
890
|
*
|
|
972
891
|
* `POST /public/v1/submit/set_organization_feature`
|
|
973
892
|
*/
|
|
974
|
-
const setOrganizationFeature = (input) =>
|
|
893
|
+
const setOrganizationFeature = (input) => base.request({
|
|
975
894
|
uri: "/public/v1/submit/set_organization_feature",
|
|
976
895
|
method: "POST",
|
|
977
896
|
body: input.body,
|
|
978
897
|
});
|
|
979
|
-
exports.setOrganizationFeature = setOrganizationFeature;
|
|
980
898
|
/**
|
|
981
899
|
* Request a WebAuthn assertion and return a signed `SetOrganizationFeature` request, ready to be POSTed to Turnkey.
|
|
982
900
|
*
|
|
983
901
|
* See {@link SetOrganizationFeature}
|
|
984
902
|
*/
|
|
985
|
-
const signSetOrganizationFeature = (input, options) =>
|
|
903
|
+
const signSetOrganizationFeature = (input, options) => base.signedRequest({
|
|
986
904
|
uri: "/public/v1/submit/set_organization_feature",
|
|
987
905
|
body: input.body,
|
|
988
906
|
options,
|
|
989
907
|
});
|
|
990
|
-
exports.signSetOrganizationFeature = signSetOrganizationFeature;
|
|
991
908
|
/**
|
|
992
909
|
* Sign Raw Payload
|
|
993
910
|
*
|
|
@@ -995,23 +912,21 @@ exports.signSetOrganizationFeature = signSetOrganizationFeature;
|
|
|
995
912
|
*
|
|
996
913
|
* `POST /public/v1/submit/sign_raw_payload`
|
|
997
914
|
*/
|
|
998
|
-
const signRawPayload = (input) =>
|
|
915
|
+
const signRawPayload = (input) => base.request({
|
|
999
916
|
uri: "/public/v1/submit/sign_raw_payload",
|
|
1000
917
|
method: "POST",
|
|
1001
918
|
body: input.body,
|
|
1002
919
|
});
|
|
1003
|
-
exports.signRawPayload = signRawPayload;
|
|
1004
920
|
/**
|
|
1005
921
|
* Request a WebAuthn assertion and return a signed `SignRawPayload` request, ready to be POSTed to Turnkey.
|
|
1006
922
|
*
|
|
1007
923
|
* See {@link SignRawPayload}
|
|
1008
924
|
*/
|
|
1009
|
-
const signSignRawPayload = (input, options) =>
|
|
925
|
+
const signSignRawPayload = (input, options) => base.signedRequest({
|
|
1010
926
|
uri: "/public/v1/submit/sign_raw_payload",
|
|
1011
927
|
body: input.body,
|
|
1012
928
|
options,
|
|
1013
929
|
});
|
|
1014
|
-
exports.signSignRawPayload = signSignRawPayload;
|
|
1015
930
|
/**
|
|
1016
931
|
* Sign Transaction
|
|
1017
932
|
*
|
|
@@ -1019,23 +934,21 @@ exports.signSignRawPayload = signSignRawPayload;
|
|
|
1019
934
|
*
|
|
1020
935
|
* `POST /public/v1/submit/sign_transaction`
|
|
1021
936
|
*/
|
|
1022
|
-
const signTransaction = (input) =>
|
|
937
|
+
const signTransaction = (input) => base.request({
|
|
1023
938
|
uri: "/public/v1/submit/sign_transaction",
|
|
1024
939
|
method: "POST",
|
|
1025
940
|
body: input.body,
|
|
1026
941
|
});
|
|
1027
|
-
exports.signTransaction = signTransaction;
|
|
1028
942
|
/**
|
|
1029
943
|
* Request a WebAuthn assertion and return a signed `SignTransaction` request, ready to be POSTed to Turnkey.
|
|
1030
944
|
*
|
|
1031
945
|
* See {@link SignTransaction}
|
|
1032
946
|
*/
|
|
1033
|
-
const signSignTransaction = (input, options) =>
|
|
947
|
+
const signSignTransaction = (input, options) => base.signedRequest({
|
|
1034
948
|
uri: "/public/v1/submit/sign_transaction",
|
|
1035
949
|
body: input.body,
|
|
1036
950
|
options,
|
|
1037
951
|
});
|
|
1038
|
-
exports.signSignTransaction = signSignTransaction;
|
|
1039
952
|
/**
|
|
1040
953
|
* Update Policy
|
|
1041
954
|
*
|
|
@@ -1043,23 +956,21 @@ exports.signSignTransaction = signSignTransaction;
|
|
|
1043
956
|
*
|
|
1044
957
|
* `POST /public/v1/submit/update_policy`
|
|
1045
958
|
*/
|
|
1046
|
-
const updatePolicy = (input) =>
|
|
959
|
+
const updatePolicy = (input) => base.request({
|
|
1047
960
|
uri: "/public/v1/submit/update_policy",
|
|
1048
961
|
method: "POST",
|
|
1049
962
|
body: input.body,
|
|
1050
963
|
});
|
|
1051
|
-
exports.updatePolicy = updatePolicy;
|
|
1052
964
|
/**
|
|
1053
965
|
* Request a WebAuthn assertion and return a signed `UpdatePolicy` request, ready to be POSTed to Turnkey.
|
|
1054
966
|
*
|
|
1055
967
|
* See {@link UpdatePolicy}
|
|
1056
968
|
*/
|
|
1057
|
-
const signUpdatePolicy = (input, options) =>
|
|
969
|
+
const signUpdatePolicy = (input, options) => base.signedRequest({
|
|
1058
970
|
uri: "/public/v1/submit/update_policy",
|
|
1059
971
|
body: input.body,
|
|
1060
972
|
options,
|
|
1061
973
|
});
|
|
1062
|
-
exports.signUpdatePolicy = signUpdatePolicy;
|
|
1063
974
|
/**
|
|
1064
975
|
* Update Private Key Tag
|
|
1065
976
|
*
|
|
@@ -1067,23 +978,21 @@ exports.signUpdatePolicy = signUpdatePolicy;
|
|
|
1067
978
|
*
|
|
1068
979
|
* `POST /public/v1/submit/update_private_key_tag`
|
|
1069
980
|
*/
|
|
1070
|
-
const updatePrivateKeyTag = (input) =>
|
|
981
|
+
const updatePrivateKeyTag = (input) => base.request({
|
|
1071
982
|
uri: "/public/v1/submit/update_private_key_tag",
|
|
1072
983
|
method: "POST",
|
|
1073
984
|
body: input.body,
|
|
1074
985
|
});
|
|
1075
|
-
exports.updatePrivateKeyTag = updatePrivateKeyTag;
|
|
1076
986
|
/**
|
|
1077
987
|
* Request a WebAuthn assertion and return a signed `UpdatePrivateKeyTag` request, ready to be POSTed to Turnkey.
|
|
1078
988
|
*
|
|
1079
989
|
* See {@link UpdatePrivateKeyTag}
|
|
1080
990
|
*/
|
|
1081
|
-
const signUpdatePrivateKeyTag = (input, options) =>
|
|
991
|
+
const signUpdatePrivateKeyTag = (input, options) => base.signedRequest({
|
|
1082
992
|
uri: "/public/v1/submit/update_private_key_tag",
|
|
1083
993
|
body: input.body,
|
|
1084
994
|
options,
|
|
1085
995
|
});
|
|
1086
|
-
exports.signUpdatePrivateKeyTag = signUpdatePrivateKeyTag;
|
|
1087
996
|
/**
|
|
1088
997
|
* Update Root Quorum
|
|
1089
998
|
*
|
|
@@ -1091,23 +1000,21 @@ exports.signUpdatePrivateKeyTag = signUpdatePrivateKeyTag;
|
|
|
1091
1000
|
*
|
|
1092
1001
|
* `POST /public/v1/submit/update_root_quorum`
|
|
1093
1002
|
*/
|
|
1094
|
-
const updateRootQuorum = (input) =>
|
|
1003
|
+
const updateRootQuorum = (input) => base.request({
|
|
1095
1004
|
uri: "/public/v1/submit/update_root_quorum",
|
|
1096
1005
|
method: "POST",
|
|
1097
1006
|
body: input.body,
|
|
1098
1007
|
});
|
|
1099
|
-
exports.updateRootQuorum = updateRootQuorum;
|
|
1100
1008
|
/**
|
|
1101
1009
|
* Request a WebAuthn assertion and return a signed `UpdateRootQuorum` request, ready to be POSTed to Turnkey.
|
|
1102
1010
|
*
|
|
1103
1011
|
* See {@link UpdateRootQuorum}
|
|
1104
1012
|
*/
|
|
1105
|
-
const signUpdateRootQuorum = (input, options) =>
|
|
1013
|
+
const signUpdateRootQuorum = (input, options) => base.signedRequest({
|
|
1106
1014
|
uri: "/public/v1/submit/update_root_quorum",
|
|
1107
1015
|
body: input.body,
|
|
1108
1016
|
options,
|
|
1109
1017
|
});
|
|
1110
|
-
exports.signUpdateRootQuorum = signUpdateRootQuorum;
|
|
1111
1018
|
/**
|
|
1112
1019
|
* Update User
|
|
1113
1020
|
*
|
|
@@ -1115,23 +1022,21 @@ exports.signUpdateRootQuorum = signUpdateRootQuorum;
|
|
|
1115
1022
|
*
|
|
1116
1023
|
* `POST /public/v1/submit/update_user`
|
|
1117
1024
|
*/
|
|
1118
|
-
const updateUser = (input) =>
|
|
1025
|
+
const updateUser = (input) => base.request({
|
|
1119
1026
|
uri: "/public/v1/submit/update_user",
|
|
1120
1027
|
method: "POST",
|
|
1121
1028
|
body: input.body,
|
|
1122
1029
|
});
|
|
1123
|
-
exports.updateUser = updateUser;
|
|
1124
1030
|
/**
|
|
1125
1031
|
* Request a WebAuthn assertion and return a signed `UpdateUser` request, ready to be POSTed to Turnkey.
|
|
1126
1032
|
*
|
|
1127
1033
|
* See {@link UpdateUser}
|
|
1128
1034
|
*/
|
|
1129
|
-
const signUpdateUser = (input, options) =>
|
|
1035
|
+
const signUpdateUser = (input, options) => base.signedRequest({
|
|
1130
1036
|
uri: "/public/v1/submit/update_user",
|
|
1131
1037
|
body: input.body,
|
|
1132
1038
|
options,
|
|
1133
1039
|
});
|
|
1134
|
-
exports.signUpdateUser = signUpdateUser;
|
|
1135
1040
|
/**
|
|
1136
1041
|
* Update User Tag
|
|
1137
1042
|
*
|
|
@@ -1139,38 +1044,133 @@ exports.signUpdateUser = signUpdateUser;
|
|
|
1139
1044
|
*
|
|
1140
1045
|
* `POST /public/v1/submit/update_user_tag`
|
|
1141
1046
|
*/
|
|
1142
|
-
const updateUserTag = (input) =>
|
|
1047
|
+
const updateUserTag = (input) => base.request({
|
|
1143
1048
|
uri: "/public/v1/submit/update_user_tag",
|
|
1144
1049
|
method: "POST",
|
|
1145
1050
|
body: input.body,
|
|
1146
1051
|
});
|
|
1147
|
-
exports.updateUserTag = updateUserTag;
|
|
1148
1052
|
/**
|
|
1149
1053
|
* Request a WebAuthn assertion and return a signed `UpdateUserTag` request, ready to be POSTed to Turnkey.
|
|
1150
1054
|
*
|
|
1151
1055
|
* See {@link UpdateUserTag}
|
|
1152
1056
|
*/
|
|
1153
|
-
const signUpdateUserTag = (input, options) =>
|
|
1057
|
+
const signUpdateUserTag = (input, options) => base.signedRequest({
|
|
1154
1058
|
uri: "/public/v1/submit/update_user_tag",
|
|
1155
1059
|
body: input.body,
|
|
1156
1060
|
options,
|
|
1157
1061
|
});
|
|
1158
|
-
exports.signUpdateUserTag = signUpdateUserTag;
|
|
1159
1062
|
/**
|
|
1160
1063
|
* `POST /tkhq/api/v1/noop-codegen-anchor`
|
|
1161
1064
|
*/
|
|
1162
|
-
const nOOPCodegenAnchor = () =>
|
|
1065
|
+
const nOOPCodegenAnchor = () => base.request({
|
|
1163
1066
|
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
1164
1067
|
method: "POST",
|
|
1165
1068
|
});
|
|
1166
|
-
exports.nOOPCodegenAnchor = nOOPCodegenAnchor;
|
|
1167
1069
|
/**
|
|
1168
1070
|
* Request a WebAuthn assertion and return a signed `NOOPCodegenAnchor` request, ready to be POSTed to Turnkey.
|
|
1169
1071
|
*
|
|
1170
1072
|
* See {@link NOOPCodegenAnchor}
|
|
1171
1073
|
*/
|
|
1172
|
-
const signNOOPCodegenAnchor = () =>
|
|
1074
|
+
const signNOOPCodegenAnchor = () => base.signedRequest({
|
|
1173
1075
|
uri: "/tkhq/api/v1/noop-codegen-anchor",
|
|
1174
1076
|
});
|
|
1077
|
+
|
|
1078
|
+
exports.approveActivity = approveActivity;
|
|
1079
|
+
exports.createApiKeys = createApiKeys;
|
|
1080
|
+
exports.createApiOnlyUsers = createApiOnlyUsers;
|
|
1081
|
+
exports.createAuthenticators = createAuthenticators;
|
|
1082
|
+
exports.createInvitations = createInvitations;
|
|
1083
|
+
exports.createPolicy = createPolicy;
|
|
1084
|
+
exports.createPrivateKeyTag = createPrivateKeyTag;
|
|
1085
|
+
exports.createPrivateKeys = createPrivateKeys;
|
|
1086
|
+
exports.createSubOrganization = createSubOrganization;
|
|
1087
|
+
exports.createUserTag = createUserTag;
|
|
1088
|
+
exports.createUsers = createUsers;
|
|
1089
|
+
exports.createWallet = createWallet;
|
|
1090
|
+
exports.createWalletAccounts = createWalletAccounts;
|
|
1091
|
+
exports.deleteApiKeys = deleteApiKeys;
|
|
1092
|
+
exports.deleteAuthenticators = deleteAuthenticators;
|
|
1093
|
+
exports.deleteInvitation = deleteInvitation;
|
|
1094
|
+
exports.deletePolicy = deletePolicy;
|
|
1095
|
+
exports.exportPrivateKey = exportPrivateKey;
|
|
1096
|
+
exports.exportWallet = exportWallet;
|
|
1097
|
+
exports.getActivities = getActivities;
|
|
1098
|
+
exports.getActivity = getActivity;
|
|
1099
|
+
exports.getAuthenticator = getAuthenticator;
|
|
1100
|
+
exports.getAuthenticators = getAuthenticators;
|
|
1101
|
+
exports.getOrganization = getOrganization;
|
|
1102
|
+
exports.getPolicies = getPolicies;
|
|
1103
|
+
exports.getPolicy = getPolicy;
|
|
1104
|
+
exports.getPrivateKey = getPrivateKey;
|
|
1105
|
+
exports.getPrivateKeys = getPrivateKeys;
|
|
1106
|
+
exports.getUser = getUser;
|
|
1107
|
+
exports.getUsers = getUsers;
|
|
1108
|
+
exports.getWallet = getWallet;
|
|
1109
|
+
exports.getWalletAccounts = getWalletAccounts;
|
|
1110
|
+
exports.getWallets = getWallets;
|
|
1111
|
+
exports.getWhoami = getWhoami;
|
|
1112
|
+
exports.initUserEmailRecovery = initUserEmailRecovery;
|
|
1113
|
+
exports.listPrivateKeyTags = listPrivateKeyTags;
|
|
1114
|
+
exports.listUserTags = listUserTags;
|
|
1115
|
+
exports.nOOPCodegenAnchor = nOOPCodegenAnchor;
|
|
1116
|
+
exports.recoverUser = recoverUser;
|
|
1117
|
+
exports.rejectActivity = rejectActivity;
|
|
1118
|
+
exports.removeOrganizationFeature = removeOrganizationFeature;
|
|
1119
|
+
exports.setOrganizationFeature = setOrganizationFeature;
|
|
1120
|
+
exports.signApproveActivity = signApproveActivity;
|
|
1121
|
+
exports.signCreateApiKeys = signCreateApiKeys;
|
|
1122
|
+
exports.signCreateApiOnlyUsers = signCreateApiOnlyUsers;
|
|
1123
|
+
exports.signCreateAuthenticators = signCreateAuthenticators;
|
|
1124
|
+
exports.signCreateInvitations = signCreateInvitations;
|
|
1125
|
+
exports.signCreatePolicy = signCreatePolicy;
|
|
1126
|
+
exports.signCreatePrivateKeyTag = signCreatePrivateKeyTag;
|
|
1127
|
+
exports.signCreatePrivateKeys = signCreatePrivateKeys;
|
|
1128
|
+
exports.signCreateSubOrganization = signCreateSubOrganization;
|
|
1129
|
+
exports.signCreateUserTag = signCreateUserTag;
|
|
1130
|
+
exports.signCreateUsers = signCreateUsers;
|
|
1131
|
+
exports.signCreateWallet = signCreateWallet;
|
|
1132
|
+
exports.signCreateWalletAccounts = signCreateWalletAccounts;
|
|
1133
|
+
exports.signDeleteApiKeys = signDeleteApiKeys;
|
|
1134
|
+
exports.signDeleteAuthenticators = signDeleteAuthenticators;
|
|
1135
|
+
exports.signDeleteInvitation = signDeleteInvitation;
|
|
1136
|
+
exports.signDeletePolicy = signDeletePolicy;
|
|
1137
|
+
exports.signExportPrivateKey = signExportPrivateKey;
|
|
1138
|
+
exports.signExportWallet = signExportWallet;
|
|
1139
|
+
exports.signGetActivities = signGetActivities;
|
|
1140
|
+
exports.signGetActivity = signGetActivity;
|
|
1141
|
+
exports.signGetAuthenticator = signGetAuthenticator;
|
|
1142
|
+
exports.signGetAuthenticators = signGetAuthenticators;
|
|
1143
|
+
exports.signGetOrganization = signGetOrganization;
|
|
1144
|
+
exports.signGetPolicies = signGetPolicies;
|
|
1145
|
+
exports.signGetPolicy = signGetPolicy;
|
|
1146
|
+
exports.signGetPrivateKey = signGetPrivateKey;
|
|
1147
|
+
exports.signGetPrivateKeys = signGetPrivateKeys;
|
|
1148
|
+
exports.signGetUser = signGetUser;
|
|
1149
|
+
exports.signGetUsers = signGetUsers;
|
|
1150
|
+
exports.signGetWallet = signGetWallet;
|
|
1151
|
+
exports.signGetWalletAccounts = signGetWalletAccounts;
|
|
1152
|
+
exports.signGetWallets = signGetWallets;
|
|
1153
|
+
exports.signGetWhoami = signGetWhoami;
|
|
1154
|
+
exports.signInitUserEmailRecovery = signInitUserEmailRecovery;
|
|
1155
|
+
exports.signListPrivateKeyTags = signListPrivateKeyTags;
|
|
1156
|
+
exports.signListUserTags = signListUserTags;
|
|
1175
1157
|
exports.signNOOPCodegenAnchor = signNOOPCodegenAnchor;
|
|
1176
|
-
|
|
1158
|
+
exports.signRawPayload = signRawPayload;
|
|
1159
|
+
exports.signRecoverUser = signRecoverUser;
|
|
1160
|
+
exports.signRejectActivity = signRejectActivity;
|
|
1161
|
+
exports.signRemoveOrganizationFeature = signRemoveOrganizationFeature;
|
|
1162
|
+
exports.signSetOrganizationFeature = signSetOrganizationFeature;
|
|
1163
|
+
exports.signSignRawPayload = signSignRawPayload;
|
|
1164
|
+
exports.signSignTransaction = signSignTransaction;
|
|
1165
|
+
exports.signTransaction = signTransaction;
|
|
1166
|
+
exports.signUpdatePolicy = signUpdatePolicy;
|
|
1167
|
+
exports.signUpdatePrivateKeyTag = signUpdatePrivateKeyTag;
|
|
1168
|
+
exports.signUpdateRootQuorum = signUpdateRootQuorum;
|
|
1169
|
+
exports.signUpdateUser = signUpdateUser;
|
|
1170
|
+
exports.signUpdateUserTag = signUpdateUserTag;
|
|
1171
|
+
exports.updatePolicy = updatePolicy;
|
|
1172
|
+
exports.updatePrivateKeyTag = updatePrivateKeyTag;
|
|
1173
|
+
exports.updateRootQuorum = updateRootQuorum;
|
|
1174
|
+
exports.updateUser = updateUser;
|
|
1175
|
+
exports.updateUserTag = updateUserTag;
|
|
1176
|
+
//# sourceMappingURL=public_api.fetcher.js.map
|