@0xkey-io/http 0.1.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +201 -0
  3. package/README.md +94 -0
  4. package/dist/__generated__/barrel.d.ts +2 -0
  5. package/dist/__generated__/barrel.d.ts.map +1 -0
  6. package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +1794 -0
  7. package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -0
  8. package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +3022 -0
  9. package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -0
  10. package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +3020 -0
  11. package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -0
  12. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +150383 -0
  13. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -0
  14. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +2880 -0
  15. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -0
  16. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +2639 -0
  17. package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -0
  18. package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +6732 -0
  19. package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -0
  20. package/dist/_kernel/transport.d.ts +2 -0
  21. package/dist/_kernel/transport.d.ts.map +1 -0
  22. package/dist/_kernel/transport.js +8 -0
  23. package/dist/_kernel/transport.js.map +1 -0
  24. package/dist/_kernel/transport.mjs +6 -0
  25. package/dist/_kernel/transport.mjs.map +1 -0
  26. package/dist/async.d.ts +32 -0
  27. package/dist/async.d.ts.map +1 -0
  28. package/dist/async.js +158 -0
  29. package/dist/async.js.map +1 -0
  30. package/dist/async.mjs +155 -0
  31. package/dist/async.mjs.map +1 -0
  32. package/dist/base.d.ts +91 -0
  33. package/dist/base.d.ts.map +1 -0
  34. package/dist/base.js +172 -0
  35. package/dist/base.js.map +1 -0
  36. package/dist/base.mjs +165 -0
  37. package/dist/base.mjs.map +1 -0
  38. package/dist/config.d.ts +32 -0
  39. package/dist/config.d.ts.map +1 -0
  40. package/dist/config.js +48 -0
  41. package/dist/config.js.map +1 -0
  42. package/dist/config.mjs +43 -0
  43. package/dist/config.mjs.map +1 -0
  44. package/dist/index.d.ts +16 -0
  45. package/dist/index.d.ts.map +1 -0
  46. package/dist/index.js +34 -0
  47. package/dist/index.js.map +1 -0
  48. package/dist/index.mjs +10 -0
  49. package/dist/index.mjs.map +1 -0
  50. package/dist/shared.d.ts +76 -0
  51. package/dist/shared.d.ts.map +1 -0
  52. package/dist/shared.js +138 -0
  53. package/dist/shared.js.map +1 -0
  54. package/dist/shared.mjs +128 -0
  55. package/dist/shared.mjs.map +1 -0
  56. package/dist/universal.d.ts +4 -0
  57. package/dist/universal.d.ts.map +1 -0
  58. package/dist/universal.js +10 -0
  59. package/dist/universal.js.map +1 -0
  60. package/dist/universal.mjs +8 -0
  61. package/dist/universal.mjs.map +1 -0
  62. package/dist/version.d.ts +2 -0
  63. package/dist/version.d.ts.map +1 -0
  64. package/dist/version.js +6 -0
  65. package/dist/version.js.map +1 -0
  66. package/dist/version.mjs +4 -0
  67. package/dist/version.mjs.map +1 -0
  68. package/dist/webauthn-json/api.d.ts +13 -0
  69. package/dist/webauthn-json/api.d.ts.map +1 -0
  70. package/dist/webauthn-json/api.js +16 -0
  71. package/dist/webauthn-json/api.js.map +1 -0
  72. package/dist/webauthn-json/api.mjs +13 -0
  73. package/dist/webauthn-json/api.mjs.map +1 -0
  74. package/dist/webauthn-json/base64url.d.ts +4 -0
  75. package/dist/webauthn-json/base64url.d.ts.map +1 -0
  76. package/dist/webauthn-json/base64url.js +22 -0
  77. package/dist/webauthn-json/base64url.js.map +1 -0
  78. package/dist/webauthn-json/base64url.mjs +20 -0
  79. package/dist/webauthn-json/base64url.mjs.map +1 -0
  80. package/dist/webauthn-json/convert.d.ts +8 -0
  81. package/dist/webauthn-json/convert.d.ts.map +1 -0
  82. package/dist/webauthn-json/convert.js +71 -0
  83. package/dist/webauthn-json/convert.js.map +1 -0
  84. package/dist/webauthn-json/convert.mjs +64 -0
  85. package/dist/webauthn-json/convert.mjs.map +1 -0
  86. package/dist/webauthn-json/index.d.ts +14 -0
  87. package/dist/webauthn-json/index.d.ts.map +1 -0
  88. package/dist/webauthn-json/index.js +18 -0
  89. package/dist/webauthn-json/index.js.map +1 -0
  90. package/dist/webauthn-json/index.mjs +15 -0
  91. package/dist/webauthn-json/index.mjs.map +1 -0
  92. package/dist/webauthn-json/json.d.ts +92 -0
  93. package/dist/webauthn-json/json.d.ts.map +1 -0
  94. package/dist/webauthn-json/schema-format.d.ts +13 -0
  95. package/dist/webauthn-json/schema-format.d.ts.map +1 -0
  96. package/dist/webauthn-json/schema.d.ts +9 -0
  97. package/dist/webauthn-json/schema.d.ts.map +1 -0
  98. package/dist/webauthn-json/schema.js +40 -0
  99. package/dist/webauthn-json/schema.js.map +1 -0
  100. package/dist/webauthn-json/schema.mjs +37 -0
  101. package/dist/webauthn-json/schema.mjs.map +1 -0
  102. package/dist/webauthn.d.ts +24 -0
  103. package/dist/webauthn.d.ts.map +1 -0
  104. package/dist/webauthn.js +97 -0
  105. package/dist/webauthn.js.map +1 -0
  106. package/dist/webauthn.mjs +93 -0
  107. package/dist/webauthn.mjs.map +1 -0
  108. package/package.json +57 -0
@@ -0,0 +1,2880 @@
1
+ 'use strict';
2
+
3
+ var base = require('../../../../../base.js');
4
+
5
+ /* @generated by `@0xkey-io/fetchers`. DO NOT EDIT BY HAND */
6
+ /**
7
+ * Get activity
8
+ *
9
+ * Get details about an activity.
10
+ *
11
+ * `POST /public/v1/query/get_activity`
12
+ */
13
+ const getActivity = (input) => base.request({
14
+ uri: "/public/v1/query/get_activity",
15
+ method: "POST",
16
+ body: input.body,
17
+ });
18
+ /**
19
+ * Request a WebAuthn assertion and return a signed `GetActivity` request, ready to be POSTed to ZeroXKey.
20
+ *
21
+ * See {@link GetActivity}
22
+ */
23
+ const signGetActivity = (input, options) => base.signedRequest({
24
+ uri: "/public/v1/query/get_activity",
25
+ body: input.body,
26
+ options,
27
+ });
28
+ /**
29
+ * Get API key
30
+ *
31
+ * Get details about an API key.
32
+ *
33
+ * `POST /public/v1/query/get_api_key`
34
+ */
35
+ const getApiKey = (input) => base.request({
36
+ uri: "/public/v1/query/get_api_key",
37
+ method: "POST",
38
+ body: input.body,
39
+ });
40
+ /**
41
+ * Request a WebAuthn assertion and return a signed `GetApiKey` request, ready to be POSTed to ZeroXKey.
42
+ *
43
+ * See {@link GetApiKey}
44
+ */
45
+ const signGetApiKey = (input, options) => base.signedRequest({
46
+ uri: "/public/v1/query/get_api_key",
47
+ body: input.body,
48
+ options,
49
+ });
50
+ /**
51
+ * Get API keys
52
+ *
53
+ * Get details about API keys for a user.
54
+ *
55
+ * `POST /public/v1/query/get_api_keys`
56
+ */
57
+ const getApiKeys = (input) => base.request({
58
+ uri: "/public/v1/query/get_api_keys",
59
+ method: "POST",
60
+ body: input.body,
61
+ });
62
+ /**
63
+ * Request a WebAuthn assertion and return a signed `GetApiKeys` request, ready to be POSTed to ZeroXKey.
64
+ *
65
+ * See {@link GetApiKeys}
66
+ */
67
+ const signGetApiKeys = (input, options) => base.signedRequest({
68
+ uri: "/public/v1/query/get_api_keys",
69
+ body: input.body,
70
+ options,
71
+ });
72
+ /**
73
+ * Get TVC App status
74
+ *
75
+ * Get live runtime status for a TVC App from the cluster.
76
+ *
77
+ * `POST /public/v1/query/get_app_status`
78
+ */
79
+ const getAppStatus = (input) => base.request({
80
+ uri: "/public/v1/query/get_app_status",
81
+ method: "POST",
82
+ body: input.body,
83
+ });
84
+ /**
85
+ * Request a WebAuthn assertion and return a signed `GetAppStatus` request, ready to be POSTed to ZeroXKey.
86
+ *
87
+ * See {@link GetAppStatus}
88
+ */
89
+ const signGetAppStatus = (input, options) => base.signedRequest({
90
+ uri: "/public/v1/query/get_app_status",
91
+ body: input.body,
92
+ options,
93
+ });
94
+ /**
95
+ * Get authenticator
96
+ *
97
+ * Get details about an authenticator.
98
+ *
99
+ * `POST /public/v1/query/get_authenticator`
100
+ */
101
+ const getAuthenticator = (input) => base.request({
102
+ uri: "/public/v1/query/get_authenticator",
103
+ method: "POST",
104
+ body: input.body,
105
+ });
106
+ /**
107
+ * Request a WebAuthn assertion and return a signed `GetAuthenticator` request, ready to be POSTed to ZeroXKey.
108
+ *
109
+ * See {@link GetAuthenticator}
110
+ */
111
+ const signGetAuthenticator = (input, options) => base.signedRequest({
112
+ uri: "/public/v1/query/get_authenticator",
113
+ body: input.body,
114
+ options,
115
+ });
116
+ /**
117
+ * Get authenticators
118
+ *
119
+ * Get details about authenticators for a user.
120
+ *
121
+ * `POST /public/v1/query/get_authenticators`
122
+ */
123
+ const getAuthenticators = (input) => base.request({
124
+ uri: "/public/v1/query/get_authenticators",
125
+ method: "POST",
126
+ body: input.body,
127
+ });
128
+ /**
129
+ * Request a WebAuthn assertion and return a signed `GetAuthenticators` request, ready to be POSTed to ZeroXKey.
130
+ *
131
+ * See {@link GetAuthenticators}
132
+ */
133
+ const signGetAuthenticators = (input, options) => base.signedRequest({
134
+ uri: "/public/v1/query/get_authenticators",
135
+ body: input.body,
136
+ options,
137
+ });
138
+ /**
139
+ * Get a specific boot proof
140
+ *
141
+ * Get the boot proof for a given ephemeral key.
142
+ *
143
+ * `POST /public/v1/query/get_boot_proof`
144
+ */
145
+ const getBootProof = (input) => base.request({
146
+ uri: "/public/v1/query/get_boot_proof",
147
+ method: "POST",
148
+ body: input.body,
149
+ });
150
+ /**
151
+ * Request a WebAuthn assertion and return a signed `GetBootProof` request, ready to be POSTed to ZeroXKey.
152
+ *
153
+ * See {@link GetBootProof}
154
+ */
155
+ const signGetBootProof = (input, options) => base.signedRequest({
156
+ uri: "/public/v1/query/get_boot_proof",
157
+ body: input.body,
158
+ options,
159
+ });
160
+ /**
161
+ * Get gas usage
162
+ *
163
+ * Get gas usage and gas limits for either the parent organization or a sub-organization.
164
+ *
165
+ * `POST /public/v1/query/get_gas_usage`
166
+ */
167
+ const getGasUsage = (input) => base.request({
168
+ uri: "/public/v1/query/get_gas_usage",
169
+ method: "POST",
170
+ body: input.body,
171
+ });
172
+ /**
173
+ * Request a WebAuthn assertion and return a signed `GetGasUsage` request, ready to be POSTed to ZeroXKey.
174
+ *
175
+ * See {@link GetGasUsage}
176
+ */
177
+ const signGetGasUsage = (input, options) => base.signedRequest({
178
+ uri: "/public/v1/query/get_gas_usage",
179
+ body: input.body,
180
+ options,
181
+ });
182
+ /**
183
+ * Get the latest boot proof for an app
184
+ *
185
+ * Get the latest boot proof for a given enclave app name.
186
+ *
187
+ * `POST /public/v1/query/get_latest_boot_proof`
188
+ */
189
+ const getLatestBootProof = (input) => base.request({
190
+ uri: "/public/v1/query/get_latest_boot_proof",
191
+ method: "POST",
192
+ body: input.body,
193
+ });
194
+ /**
195
+ * Request a WebAuthn assertion and return a signed `GetLatestBootProof` request, ready to be POSTed to ZeroXKey.
196
+ *
197
+ * See {@link GetLatestBootProof}
198
+ */
199
+ const signGetLatestBootProof = (input, options) => base.signedRequest({
200
+ uri: "/public/v1/query/get_latest_boot_proof",
201
+ body: input.body,
202
+ options,
203
+ });
204
+ /**
205
+ * Get nonces
206
+ *
207
+ * Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions.
208
+ *
209
+ * `POST /public/v1/query/get_nonces`
210
+ */
211
+ const getNonces = (input) => base.request({
212
+ uri: "/public/v1/query/get_nonces",
213
+ method: "POST",
214
+ body: input.body,
215
+ });
216
+ /**
217
+ * Request a WebAuthn assertion and return a signed `GetNonces` request, ready to be POSTed to ZeroXKey.
218
+ *
219
+ * See {@link GetNonces}
220
+ */
221
+ const signGetNonces = (input, options) => base.signedRequest({
222
+ uri: "/public/v1/query/get_nonces",
223
+ body: input.body,
224
+ options,
225
+ });
226
+ /**
227
+ * Get OAuth 2.0 credential
228
+ *
229
+ * Get details about an OAuth 2.0 credential.
230
+ *
231
+ * `POST /public/v1/query/get_oauth2_credential`
232
+ */
233
+ const getOauth2Credential = (input) => base.request({
234
+ uri: "/public/v1/query/get_oauth2_credential",
235
+ method: "POST",
236
+ body: input.body,
237
+ });
238
+ /**
239
+ * Request a WebAuthn assertion and return a signed `GetOauth2Credential` request, ready to be POSTed to ZeroXKey.
240
+ *
241
+ * See {@link GetOauth2Credential}
242
+ */
243
+ const signGetOauth2Credential = (input, options) => base.signedRequest({
244
+ uri: "/public/v1/query/get_oauth2_credential",
245
+ body: input.body,
246
+ options,
247
+ });
248
+ /**
249
+ * Get Oauth providers
250
+ *
251
+ * Get details about Oauth providers for a user.
252
+ *
253
+ * `POST /public/v1/query/get_oauth_providers`
254
+ */
255
+ const getOauthProviders = (input) => base.request({
256
+ uri: "/public/v1/query/get_oauth_providers",
257
+ method: "POST",
258
+ body: input.body,
259
+ });
260
+ /**
261
+ * Request a WebAuthn assertion and return a signed `GetOauthProviders` request, ready to be POSTed to ZeroXKey.
262
+ *
263
+ * See {@link GetOauthProviders}
264
+ */
265
+ const signGetOauthProviders = (input, options) => base.signedRequest({
266
+ uri: "/public/v1/query/get_oauth_providers",
267
+ body: input.body,
268
+ options,
269
+ });
270
+ /**
271
+ * Get On Ramp transaction status
272
+ *
273
+ * Get the status of an on ramp transaction.
274
+ *
275
+ * `POST /public/v1/query/get_onramp_transaction_status`
276
+ */
277
+ const getOnRampTransactionStatus = (input) => base.request({
278
+ uri: "/public/v1/query/get_onramp_transaction_status",
279
+ method: "POST",
280
+ body: input.body,
281
+ });
282
+ /**
283
+ * Request a WebAuthn assertion and return a signed `GetOnRampTransactionStatus` request, ready to be POSTed to ZeroXKey.
284
+ *
285
+ * See {@link GetOnRampTransactionStatus}
286
+ */
287
+ const signGetOnRampTransactionStatus = (input, options) => base.signedRequest({
288
+ uri: "/public/v1/query/get_onramp_transaction_status",
289
+ body: input.body,
290
+ options,
291
+ });
292
+ /**
293
+ * Get configs
294
+ *
295
+ * Get quorum settings and features for an organization.
296
+ *
297
+ * `POST /public/v1/query/get_organization_configs`
298
+ */
299
+ const getOrganizationConfigs = (input) => base.request({
300
+ uri: "/public/v1/query/get_organization_configs",
301
+ method: "POST",
302
+ body: input.body,
303
+ });
304
+ /**
305
+ * Request a WebAuthn assertion and return a signed `GetOrganizationConfigs` request, ready to be POSTed to ZeroXKey.
306
+ *
307
+ * See {@link GetOrganizationConfigs}
308
+ */
309
+ const signGetOrganizationConfigs = (input, options) => base.signedRequest({
310
+ uri: "/public/v1/query/get_organization_configs",
311
+ body: input.body,
312
+ options,
313
+ });
314
+ /**
315
+ * Get policy
316
+ *
317
+ * Get details about a policy.
318
+ *
319
+ * `POST /public/v1/query/get_policy`
320
+ */
321
+ const getPolicy = (input) => base.request({
322
+ uri: "/public/v1/query/get_policy",
323
+ method: "POST",
324
+ body: input.body,
325
+ });
326
+ /**
327
+ * Request a WebAuthn assertion and return a signed `GetPolicy` request, ready to be POSTed to ZeroXKey.
328
+ *
329
+ * See {@link GetPolicy}
330
+ */
331
+ const signGetPolicy = (input, options) => base.signedRequest({
332
+ uri: "/public/v1/query/get_policy",
333
+ body: input.body,
334
+ options,
335
+ });
336
+ /**
337
+ * Get policy evaluations
338
+ *
339
+ * Get the policy evaluations for an activity.
340
+ *
341
+ * `POST /public/v1/query/get_policy_evaluations`
342
+ */
343
+ const getPolicyEvaluations = (input) => base.request({
344
+ uri: "/public/v1/query/get_policy_evaluations",
345
+ method: "POST",
346
+ body: input.body,
347
+ });
348
+ /**
349
+ * Request a WebAuthn assertion and return a signed `GetPolicyEvaluations` request, ready to be POSTed to ZeroXKey.
350
+ *
351
+ * See {@link GetPolicyEvaluations}
352
+ */
353
+ const signGetPolicyEvaluations = (input, options) => base.signedRequest({
354
+ uri: "/public/v1/query/get_policy_evaluations",
355
+ body: input.body,
356
+ options,
357
+ });
358
+ /**
359
+ * Get private key
360
+ *
361
+ * Get details about a private key.
362
+ *
363
+ * `POST /public/v1/query/get_private_key`
364
+ */
365
+ const getPrivateKey = (input) => base.request({
366
+ uri: "/public/v1/query/get_private_key",
367
+ method: "POST",
368
+ body: input.body,
369
+ });
370
+ /**
371
+ * Request a WebAuthn assertion and return a signed `GetPrivateKey` request, ready to be POSTed to ZeroXKey.
372
+ *
373
+ * See {@link GetPrivateKey}
374
+ */
375
+ const signGetPrivateKey = (input, options) => base.signedRequest({
376
+ uri: "/public/v1/query/get_private_key",
377
+ body: input.body,
378
+ options,
379
+ });
380
+ /**
381
+ * Get send transaction status
382
+ *
383
+ * Get the status of a send transaction request.
384
+ *
385
+ * `POST /public/v1/query/get_send_transaction_status`
386
+ */
387
+ const getSendTransactionStatus = (input) => base.request({
388
+ uri: "/public/v1/query/get_send_transaction_status",
389
+ method: "POST",
390
+ body: input.body,
391
+ });
392
+ /**
393
+ * Request a WebAuthn assertion and return a signed `GetSendTransactionStatus` request, ready to be POSTed to ZeroXKey.
394
+ *
395
+ * See {@link GetSendTransactionStatus}
396
+ */
397
+ const signGetSendTransactionStatus = (input, options) => base.signedRequest({
398
+ uri: "/public/v1/query/get_send_transaction_status",
399
+ body: input.body,
400
+ options,
401
+ });
402
+ /**
403
+ * Get smart contract interface
404
+ *
405
+ * Get details about a smart contract interface.
406
+ *
407
+ * `POST /public/v1/query/get_smart_contract_interface`
408
+ */
409
+ const getSmartContractInterface = (input) => base.request({
410
+ uri: "/public/v1/query/get_smart_contract_interface",
411
+ method: "POST",
412
+ body: input.body,
413
+ });
414
+ /**
415
+ * Request a WebAuthn assertion and return a signed `GetSmartContractInterface` request, ready to be POSTed to ZeroXKey.
416
+ *
417
+ * See {@link GetSmartContractInterface}
418
+ */
419
+ const signGetSmartContractInterface = (input, options) => base.signedRequest({
420
+ uri: "/public/v1/query/get_smart_contract_interface",
421
+ body: input.body,
422
+ options,
423
+ });
424
+ /**
425
+ * Get user
426
+ *
427
+ * Get details about a user.
428
+ *
429
+ * `POST /public/v1/query/get_user`
430
+ */
431
+ const getUser = (input) => base.request({
432
+ uri: "/public/v1/query/get_user",
433
+ method: "POST",
434
+ body: input.body,
435
+ });
436
+ /**
437
+ * Request a WebAuthn assertion and return a signed `GetUser` request, ready to be POSTed to ZeroXKey.
438
+ *
439
+ * See {@link GetUser}
440
+ */
441
+ const signGetUser = (input, options) => base.signedRequest({
442
+ uri: "/public/v1/query/get_user",
443
+ body: input.body,
444
+ options,
445
+ });
446
+ /**
447
+ * Get wallet
448
+ *
449
+ * Get details about a wallet.
450
+ *
451
+ * `POST /public/v1/query/get_wallet`
452
+ */
453
+ const getWallet = (input) => base.request({
454
+ uri: "/public/v1/query/get_wallet",
455
+ method: "POST",
456
+ body: input.body,
457
+ });
458
+ /**
459
+ * Request a WebAuthn assertion and return a signed `GetWallet` request, ready to be POSTed to ZeroXKey.
460
+ *
461
+ * See {@link GetWallet}
462
+ */
463
+ const signGetWallet = (input, options) => base.signedRequest({
464
+ uri: "/public/v1/query/get_wallet",
465
+ body: input.body,
466
+ options,
467
+ });
468
+ /**
469
+ * Get wallet account
470
+ *
471
+ * Get a single wallet account.
472
+ *
473
+ * `POST /public/v1/query/get_wallet_account`
474
+ */
475
+ const getWalletAccount = (input) => base.request({
476
+ uri: "/public/v1/query/get_wallet_account",
477
+ method: "POST",
478
+ body: input.body,
479
+ });
480
+ /**
481
+ * Request a WebAuthn assertion and return a signed `GetWalletAccount` request, ready to be POSTed to ZeroXKey.
482
+ *
483
+ * See {@link GetWalletAccount}
484
+ */
485
+ const signGetWalletAccount = (input, options) => base.signedRequest({
486
+ uri: "/public/v1/query/get_wallet_account",
487
+ body: input.body,
488
+ options,
489
+ });
490
+ /**
491
+ * Get balances
492
+ *
493
+ * Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. This feature is in beta - please contact support for access.
494
+ *
495
+ * `POST /public/v1/query/get_wallet_address_balances`
496
+ */
497
+ const getWalletAddressBalances = (input) => base.request({
498
+ uri: "/public/v1/query/get_wallet_address_balances",
499
+ method: "POST",
500
+ body: input.body,
501
+ });
502
+ /**
503
+ * Request a WebAuthn assertion and return a signed `GetWalletAddressBalances` request, ready to be POSTed to ZeroXKey.
504
+ *
505
+ * See {@link GetWalletAddressBalances}
506
+ */
507
+ const signGetWalletAddressBalances = (input, options) => base.signedRequest({
508
+ uri: "/public/v1/query/get_wallet_address_balances",
509
+ body: input.body,
510
+ options,
511
+ });
512
+ /**
513
+ * List activities
514
+ *
515
+ * List all activities within an organization.
516
+ *
517
+ * `POST /public/v1/query/list_activities`
518
+ */
519
+ const getActivities = (input) => base.request({
520
+ uri: "/public/v1/query/list_activities",
521
+ method: "POST",
522
+ body: input.body,
523
+ });
524
+ /**
525
+ * Request a WebAuthn assertion and return a signed `GetActivities` request, ready to be POSTed to ZeroXKey.
526
+ *
527
+ * See {@link GetActivities}
528
+ */
529
+ const signGetActivities = (input, options) => base.signedRequest({
530
+ uri: "/public/v1/query/list_activities",
531
+ body: input.body,
532
+ options,
533
+ });
534
+ /**
535
+ * List App Proofs for an activity
536
+ *
537
+ * List the App Proofs for the given activity.
538
+ *
539
+ * `POST /public/v1/query/list_app_proofs`
540
+ */
541
+ const getAppProofs = (input) => base.request({
542
+ uri: "/public/v1/query/list_app_proofs",
543
+ method: "POST",
544
+ body: input.body,
545
+ });
546
+ /**
547
+ * Request a WebAuthn assertion and return a signed `GetAppProofs` request, ready to be POSTed to ZeroXKey.
548
+ *
549
+ * See {@link GetAppProofs}
550
+ */
551
+ const signGetAppProofs = (input, options) => base.signedRequest({
552
+ uri: "/public/v1/query/list_app_proofs",
553
+ body: input.body,
554
+ options,
555
+ });
556
+ /**
557
+ * List Fiat On Ramp Credentials
558
+ *
559
+ * List all fiat on ramp provider credentials within an organization.
560
+ *
561
+ * `POST /public/v1/query/list_fiat_on_ramp_credentials`
562
+ */
563
+ const listFiatOnRampCredentials = (input) => base.request({
564
+ uri: "/public/v1/query/list_fiat_on_ramp_credentials",
565
+ method: "POST",
566
+ body: input.body,
567
+ });
568
+ /**
569
+ * Request a WebAuthn assertion and return a signed `ListFiatOnRampCredentials` request, ready to be POSTed to ZeroXKey.
570
+ *
571
+ * See {@link ListFiatOnRampCredentials}
572
+ */
573
+ const signListFiatOnRampCredentials = (input, options) => base.signedRequest({
574
+ uri: "/public/v1/query/list_fiat_on_ramp_credentials",
575
+ body: input.body,
576
+ options,
577
+ });
578
+ /**
579
+ * List OAuth 2.0 Credentials
580
+ *
581
+ * List all OAuth 2.0 credentials within an organization.
582
+ *
583
+ * `POST /public/v1/query/list_oauth2_credentials`
584
+ */
585
+ const listOauth2Credentials = (input) => base.request({
586
+ uri: "/public/v1/query/list_oauth2_credentials",
587
+ method: "POST",
588
+ body: input.body,
589
+ });
590
+ /**
591
+ * Request a WebAuthn assertion and return a signed `ListOauth2Credentials` request, ready to be POSTed to ZeroXKey.
592
+ *
593
+ * See {@link ListOauth2Credentials}
594
+ */
595
+ const signListOauth2Credentials = (input, options) => base.signedRequest({
596
+ uri: "/public/v1/query/list_oauth2_credentials",
597
+ body: input.body,
598
+ options,
599
+ });
600
+ /**
601
+ * List policies
602
+ *
603
+ * List all policies within an organization.
604
+ *
605
+ * `POST /public/v1/query/list_policies`
606
+ */
607
+ const getPolicies = (input) => base.request({
608
+ uri: "/public/v1/query/list_policies",
609
+ method: "POST",
610
+ body: input.body,
611
+ });
612
+ /**
613
+ * Request a WebAuthn assertion and return a signed `GetPolicies` request, ready to be POSTed to ZeroXKey.
614
+ *
615
+ * See {@link GetPolicies}
616
+ */
617
+ const signGetPolicies = (input, options) => base.signedRequest({
618
+ uri: "/public/v1/query/list_policies",
619
+ body: input.body,
620
+ options,
621
+ });
622
+ /**
623
+ * List private key tags
624
+ *
625
+ * List all private key tags within an organization.
626
+ *
627
+ * `POST /public/v1/query/list_private_key_tags`
628
+ */
629
+ const listPrivateKeyTags = (input) => base.request({
630
+ uri: "/public/v1/query/list_private_key_tags",
631
+ method: "POST",
632
+ body: input.body,
633
+ });
634
+ /**
635
+ * Request a WebAuthn assertion and return a signed `ListPrivateKeyTags` request, ready to be POSTed to ZeroXKey.
636
+ *
637
+ * See {@link ListPrivateKeyTags}
638
+ */
639
+ const signListPrivateKeyTags = (input, options) => base.signedRequest({
640
+ uri: "/public/v1/query/list_private_key_tags",
641
+ body: input.body,
642
+ options,
643
+ });
644
+ /**
645
+ * List private keys
646
+ *
647
+ * List all private keys within an organization.
648
+ *
649
+ * `POST /public/v1/query/list_private_keys`
650
+ */
651
+ const getPrivateKeys = (input) => base.request({
652
+ uri: "/public/v1/query/list_private_keys",
653
+ method: "POST",
654
+ body: input.body,
655
+ });
656
+ /**
657
+ * Request a WebAuthn assertion and return a signed `GetPrivateKeys` request, ready to be POSTed to ZeroXKey.
658
+ *
659
+ * See {@link GetPrivateKeys}
660
+ */
661
+ const signGetPrivateKeys = (input, options) => base.signedRequest({
662
+ uri: "/public/v1/query/list_private_keys",
663
+ body: input.body,
664
+ options,
665
+ });
666
+ /**
667
+ * List smart contract interfaces
668
+ *
669
+ * List all smart contract interfaces within an organization.
670
+ *
671
+ * `POST /public/v1/query/list_smart_contract_interfaces`
672
+ */
673
+ const getSmartContractInterfaces = (input) => base.request({
674
+ uri: "/public/v1/query/list_smart_contract_interfaces",
675
+ method: "POST",
676
+ body: input.body,
677
+ });
678
+ /**
679
+ * Request a WebAuthn assertion and return a signed `GetSmartContractInterfaces` request, ready to be POSTed to ZeroXKey.
680
+ *
681
+ * See {@link GetSmartContractInterfaces}
682
+ */
683
+ const signGetSmartContractInterfaces = (input, options) => base.signedRequest({
684
+ uri: "/public/v1/query/list_smart_contract_interfaces",
685
+ body: input.body,
686
+ options,
687
+ });
688
+ /**
689
+ * Get sub-organizations
690
+ *
691
+ * Get all suborg IDs associated given a parent org ID and an optional filter.
692
+ *
693
+ * `POST /public/v1/query/list_suborgs`
694
+ */
695
+ const getSubOrgIds = (input) => base.request({
696
+ uri: "/public/v1/query/list_suborgs",
697
+ method: "POST",
698
+ body: input.body,
699
+ });
700
+ /**
701
+ * Request a WebAuthn assertion and return a signed `GetSubOrgIds` request, ready to be POSTed to ZeroXKey.
702
+ *
703
+ * See {@link GetSubOrgIds}
704
+ */
705
+ const signGetSubOrgIds = (input, options) => base.signedRequest({
706
+ uri: "/public/v1/query/list_suborgs",
707
+ body: input.body,
708
+ options,
709
+ });
710
+ /**
711
+ * List supported assets
712
+ *
713
+ * List supported assets for the specified network. This feature is in beta - please contact support for access.
714
+ *
715
+ * `POST /public/v1/query/list_supported_assets`
716
+ */
717
+ const listSupportedAssets = (input) => base.request({
718
+ uri: "/public/v1/query/list_supported_assets",
719
+ method: "POST",
720
+ body: input.body,
721
+ });
722
+ /**
723
+ * Request a WebAuthn assertion and return a signed `ListSupportedAssets` request, ready to be POSTed to ZeroXKey.
724
+ *
725
+ * See {@link ListSupportedAssets}
726
+ */
727
+ const signListSupportedAssets = (input, options) => base.signedRequest({
728
+ uri: "/public/v1/query/list_supported_assets",
729
+ body: input.body,
730
+ options,
731
+ });
732
+ /**
733
+ * List user tags
734
+ *
735
+ * List all user tags within an organization.
736
+ *
737
+ * `POST /public/v1/query/list_user_tags`
738
+ */
739
+ const listUserTags = (input) => base.request({
740
+ uri: "/public/v1/query/list_user_tags",
741
+ method: "POST",
742
+ body: input.body,
743
+ });
744
+ /**
745
+ * Request a WebAuthn assertion and return a signed `ListUserTags` request, ready to be POSTed to ZeroXKey.
746
+ *
747
+ * See {@link ListUserTags}
748
+ */
749
+ const signListUserTags = (input, options) => base.signedRequest({
750
+ uri: "/public/v1/query/list_user_tags",
751
+ body: input.body,
752
+ options,
753
+ });
754
+ /**
755
+ * List users
756
+ *
757
+ * List all users within an organization.
758
+ *
759
+ * `POST /public/v1/query/list_users`
760
+ */
761
+ const getUsers = (input) => base.request({
762
+ uri: "/public/v1/query/list_users",
763
+ method: "POST",
764
+ body: input.body,
765
+ });
766
+ /**
767
+ * Request a WebAuthn assertion and return a signed `GetUsers` request, ready to be POSTed to ZeroXKey.
768
+ *
769
+ * See {@link GetUsers}
770
+ */
771
+ const signGetUsers = (input, options) => base.signedRequest({
772
+ uri: "/public/v1/query/list_users",
773
+ body: input.body,
774
+ options,
775
+ });
776
+ /**
777
+ * Get verified sub-organizations
778
+ *
779
+ * Get all email or phone verified suborg IDs associated given a parent org ID.
780
+ *
781
+ * `POST /public/v1/query/list_verified_suborgs`
782
+ */
783
+ const getVerifiedSubOrgIds = (input) => base.request({
784
+ uri: "/public/v1/query/list_verified_suborgs",
785
+ method: "POST",
786
+ body: input.body,
787
+ });
788
+ /**
789
+ * Request a WebAuthn assertion and return a signed `GetVerifiedSubOrgIds` request, ready to be POSTed to ZeroXKey.
790
+ *
791
+ * See {@link GetVerifiedSubOrgIds}
792
+ */
793
+ const signGetVerifiedSubOrgIds = (input, options) => base.signedRequest({
794
+ uri: "/public/v1/query/list_verified_suborgs",
795
+ body: input.body,
796
+ options,
797
+ });
798
+ /**
799
+ * List wallets accounts
800
+ *
801
+ * List all accounts within a wallet.
802
+ *
803
+ * `POST /public/v1/query/list_wallet_accounts`
804
+ */
805
+ const getWalletAccounts = (input) => base.request({
806
+ uri: "/public/v1/query/list_wallet_accounts",
807
+ method: "POST",
808
+ body: input.body,
809
+ });
810
+ /**
811
+ * Request a WebAuthn assertion and return a signed `GetWalletAccounts` request, ready to be POSTed to ZeroXKey.
812
+ *
813
+ * See {@link GetWalletAccounts}
814
+ */
815
+ const signGetWalletAccounts = (input, options) => base.signedRequest({
816
+ uri: "/public/v1/query/list_wallet_accounts",
817
+ body: input.body,
818
+ options,
819
+ });
820
+ /**
821
+ * List wallets
822
+ *
823
+ * List all wallets within an organization.
824
+ *
825
+ * `POST /public/v1/query/list_wallets`
826
+ */
827
+ const getWallets = (input) => base.request({
828
+ uri: "/public/v1/query/list_wallets",
829
+ method: "POST",
830
+ body: input.body,
831
+ });
832
+ /**
833
+ * Request a WebAuthn assertion and return a signed `GetWallets` request, ready to be POSTed to ZeroXKey.
834
+ *
835
+ * See {@link GetWallets}
836
+ */
837
+ const signGetWallets = (input, options) => base.signedRequest({
838
+ uri: "/public/v1/query/list_wallets",
839
+ body: input.body,
840
+ options,
841
+ });
842
+ /**
843
+ * List webhook endpoints
844
+ *
845
+ * List webhook endpoints within an organization.
846
+ *
847
+ * `POST /public/v1/query/list_webhook_endpoints`
848
+ */
849
+ const listWebhookEndpoints = (input) => base.request({
850
+ uri: "/public/v1/query/list_webhook_endpoints",
851
+ method: "POST",
852
+ body: input.body,
853
+ });
854
+ /**
855
+ * Request a WebAuthn assertion and return a signed `ListWebhookEndpoints` request, ready to be POSTed to ZeroXKey.
856
+ *
857
+ * See {@link ListWebhookEndpoints}
858
+ */
859
+ const signListWebhookEndpoints = (input, options) => base.signedRequest({
860
+ uri: "/public/v1/query/list_webhook_endpoints",
861
+ body: input.body,
862
+ options,
863
+ });
864
+ /**
865
+ * Who am I?
866
+ *
867
+ * Get basic information about your current API or WebAuthN user and their organization. Affords sub-organization look ups via parent organization for WebAuthN or API key users.
868
+ *
869
+ * `POST /public/v1/query/whoami`
870
+ */
871
+ const getWhoami = (input) => base.request({
872
+ uri: "/public/v1/query/whoami",
873
+ method: "POST",
874
+ body: input.body,
875
+ });
876
+ /**
877
+ * Request a WebAuthn assertion and return a signed `GetWhoami` request, ready to be POSTed to ZeroXKey.
878
+ *
879
+ * See {@link GetWhoami}
880
+ */
881
+ const signGetWhoami = (input, options) => base.signedRequest({
882
+ uri: "/public/v1/query/whoami",
883
+ body: input.body,
884
+ options,
885
+ });
886
+ /**
887
+ * Approve activity
888
+ *
889
+ * Approve an activity.
890
+ *
891
+ * `POST /public/v1/submit/approve_activity`
892
+ */
893
+ const approveActivity = (input) => base.request({
894
+ uri: "/public/v1/submit/approve_activity",
895
+ method: "POST",
896
+ body: input.body,
897
+ });
898
+ /**
899
+ * Request a WebAuthn assertion and return a signed `ApproveActivity` request, ready to be POSTed to ZeroXKey.
900
+ *
901
+ * See {@link ApproveActivity}
902
+ */
903
+ const signApproveActivity = (input, options) => base.signedRequest({
904
+ uri: "/public/v1/submit/approve_activity",
905
+ body: input.body,
906
+ options,
907
+ });
908
+ /**
909
+ * Create API keys
910
+ *
911
+ * Add API keys to an existing user.
912
+ *
913
+ * `POST /public/v1/submit/create_api_keys`
914
+ */
915
+ const createApiKeys = (input) => base.request({
916
+ uri: "/public/v1/submit/create_api_keys",
917
+ method: "POST",
918
+ body: input.body,
919
+ });
920
+ /**
921
+ * Request a WebAuthn assertion and return a signed `CreateApiKeys` request, ready to be POSTed to ZeroXKey.
922
+ *
923
+ * See {@link CreateApiKeys}
924
+ */
925
+ const signCreateApiKeys = (input, options) => base.signedRequest({
926
+ uri: "/public/v1/submit/create_api_keys",
927
+ body: input.body,
928
+ options,
929
+ });
930
+ /**
931
+ * Create API-only users
932
+ *
933
+ * Create API-only users in an existing organization.
934
+ *
935
+ * `POST /public/v1/submit/create_api_only_users`
936
+ */
937
+ const createApiOnlyUsers = (input) => base.request({
938
+ uri: "/public/v1/submit/create_api_only_users",
939
+ method: "POST",
940
+ body: input.body,
941
+ });
942
+ /**
943
+ * Request a WebAuthn assertion and return a signed `CreateApiOnlyUsers` request, ready to be POSTed to ZeroXKey.
944
+ *
945
+ * See {@link CreateApiOnlyUsers}
946
+ */
947
+ const signCreateApiOnlyUsers = (input, options) => base.signedRequest({
948
+ uri: "/public/v1/submit/create_api_only_users",
949
+ body: input.body,
950
+ options,
951
+ });
952
+ /**
953
+ * Create authenticators
954
+ *
955
+ * Create authenticators to authenticate requests to ZeroXKey.
956
+ *
957
+ * `POST /public/v1/submit/create_authenticators`
958
+ */
959
+ const createAuthenticators = (input) => base.request({
960
+ uri: "/public/v1/submit/create_authenticators",
961
+ method: "POST",
962
+ body: input.body,
963
+ });
964
+ /**
965
+ * Request a WebAuthn assertion and return a signed `CreateAuthenticators` request, ready to be POSTed to ZeroXKey.
966
+ *
967
+ * See {@link CreateAuthenticators}
968
+ */
969
+ const signCreateAuthenticators = (input, options) => base.signedRequest({
970
+ uri: "/public/v1/submit/create_authenticators",
971
+ body: input.body,
972
+ options,
973
+ });
974
+ /**
975
+ * Create a Fiat On Ramp Credential
976
+ *
977
+ * Create a fiat on ramp provider credential
978
+ *
979
+ * `POST /public/v1/submit/create_fiat_on_ramp_credential`
980
+ */
981
+ const createFiatOnRampCredential = (input) => base.request({
982
+ uri: "/public/v1/submit/create_fiat_on_ramp_credential",
983
+ method: "POST",
984
+ body: input.body,
985
+ });
986
+ /**
987
+ * Request a WebAuthn assertion and return a signed `CreateFiatOnRampCredential` request, ready to be POSTed to ZeroXKey.
988
+ *
989
+ * See {@link CreateFiatOnRampCredential}
990
+ */
991
+ const signCreateFiatOnRampCredential = (input, options) => base.signedRequest({
992
+ uri: "/public/v1/submit/create_fiat_on_ramp_credential",
993
+ body: input.body,
994
+ options,
995
+ });
996
+ /**
997
+ * Create invitations
998
+ *
999
+ * Create invitations to join an existing organization.
1000
+ *
1001
+ * `POST /public/v1/submit/create_invitations`
1002
+ */
1003
+ const createInvitations = (input) => base.request({
1004
+ uri: "/public/v1/submit/create_invitations",
1005
+ method: "POST",
1006
+ body: input.body,
1007
+ });
1008
+ /**
1009
+ * Request a WebAuthn assertion and return a signed `CreateInvitations` request, ready to be POSTed to ZeroXKey.
1010
+ *
1011
+ * See {@link CreateInvitations}
1012
+ */
1013
+ const signCreateInvitations = (input, options) => base.signedRequest({
1014
+ uri: "/public/v1/submit/create_invitations",
1015
+ body: input.body,
1016
+ options,
1017
+ });
1018
+ /**
1019
+ * Create an OAuth 2.0 Credential
1020
+ *
1021
+ * Enable authentication for end users with an OAuth 2.0 provider
1022
+ *
1023
+ * `POST /public/v1/submit/create_oauth2_credential`
1024
+ */
1025
+ const createOauth2Credential = (input) => base.request({
1026
+ uri: "/public/v1/submit/create_oauth2_credential",
1027
+ method: "POST",
1028
+ body: input.body,
1029
+ });
1030
+ /**
1031
+ * Request a WebAuthn assertion and return a signed `CreateOauth2Credential` request, ready to be POSTed to ZeroXKey.
1032
+ *
1033
+ * See {@link CreateOauth2Credential}
1034
+ */
1035
+ const signCreateOauth2Credential = (input, options) => base.signedRequest({
1036
+ uri: "/public/v1/submit/create_oauth2_credential",
1037
+ body: input.body,
1038
+ options,
1039
+ });
1040
+ /**
1041
+ * Create Oauth providers
1042
+ *
1043
+ * Create Oauth providers for a specified user.
1044
+ *
1045
+ * `POST /public/v1/submit/create_oauth_providers`
1046
+ */
1047
+ const createOauthProviders = (input) => base.request({
1048
+ uri: "/public/v1/submit/create_oauth_providers",
1049
+ method: "POST",
1050
+ body: input.body,
1051
+ });
1052
+ /**
1053
+ * Request a WebAuthn assertion and return a signed `CreateOauthProviders` request, ready to be POSTed to ZeroXKey.
1054
+ *
1055
+ * See {@link CreateOauthProviders}
1056
+ */
1057
+ const signCreateOauthProviders = (input, options) => base.signedRequest({
1058
+ uri: "/public/v1/submit/create_oauth_providers",
1059
+ body: input.body,
1060
+ options,
1061
+ });
1062
+ /**
1063
+ * Create policies
1064
+ *
1065
+ * Create new policies.
1066
+ *
1067
+ * `POST /public/v1/submit/create_policies`
1068
+ */
1069
+ const createPolicies = (input) => base.request({
1070
+ uri: "/public/v1/submit/create_policies",
1071
+ method: "POST",
1072
+ body: input.body,
1073
+ });
1074
+ /**
1075
+ * Request a WebAuthn assertion and return a signed `CreatePolicies` request, ready to be POSTed to ZeroXKey.
1076
+ *
1077
+ * See {@link CreatePolicies}
1078
+ */
1079
+ const signCreatePolicies = (input, options) => base.signedRequest({
1080
+ uri: "/public/v1/submit/create_policies",
1081
+ body: input.body,
1082
+ options,
1083
+ });
1084
+ /**
1085
+ * Create policy
1086
+ *
1087
+ * Create a new policy.
1088
+ *
1089
+ * `POST /public/v1/submit/create_policy`
1090
+ */
1091
+ const createPolicy = (input) => base.request({
1092
+ uri: "/public/v1/submit/create_policy",
1093
+ method: "POST",
1094
+ body: input.body,
1095
+ });
1096
+ /**
1097
+ * Request a WebAuthn assertion and return a signed `CreatePolicy` request, ready to be POSTed to ZeroXKey.
1098
+ *
1099
+ * See {@link CreatePolicy}
1100
+ */
1101
+ const signCreatePolicy = (input, options) => base.signedRequest({
1102
+ uri: "/public/v1/submit/create_policy",
1103
+ body: input.body,
1104
+ options,
1105
+ });
1106
+ /**
1107
+ * Create private key tag
1108
+ *
1109
+ * Create a private key tag and add it to private keys.
1110
+ *
1111
+ * `POST /public/v1/submit/create_private_key_tag`
1112
+ */
1113
+ const createPrivateKeyTag = (input) => base.request({
1114
+ uri: "/public/v1/submit/create_private_key_tag",
1115
+ method: "POST",
1116
+ body: input.body,
1117
+ });
1118
+ /**
1119
+ * Request a WebAuthn assertion and return a signed `CreatePrivateKeyTag` request, ready to be POSTed to ZeroXKey.
1120
+ *
1121
+ * See {@link CreatePrivateKeyTag}
1122
+ */
1123
+ const signCreatePrivateKeyTag = (input, options) => base.signedRequest({
1124
+ uri: "/public/v1/submit/create_private_key_tag",
1125
+ body: input.body,
1126
+ options,
1127
+ });
1128
+ /**
1129
+ * Create private keys
1130
+ *
1131
+ * Create new private keys.
1132
+ *
1133
+ * `POST /public/v1/submit/create_private_keys`
1134
+ */
1135
+ const createPrivateKeys = (input) => base.request({
1136
+ uri: "/public/v1/submit/create_private_keys",
1137
+ method: "POST",
1138
+ body: input.body,
1139
+ });
1140
+ /**
1141
+ * Request a WebAuthn assertion and return a signed `CreatePrivateKeys` request, ready to be POSTed to ZeroXKey.
1142
+ *
1143
+ * See {@link CreatePrivateKeys}
1144
+ */
1145
+ const signCreatePrivateKeys = (input, options) => base.signedRequest({
1146
+ uri: "/public/v1/submit/create_private_keys",
1147
+ body: input.body,
1148
+ options,
1149
+ });
1150
+ /**
1151
+ * Create read only session
1152
+ *
1153
+ * Create a read only session for a user (valid for 1 hour).
1154
+ *
1155
+ * `POST /public/v1/submit/create_read_only_session`
1156
+ */
1157
+ const createReadOnlySession = (input) => base.request({
1158
+ uri: "/public/v1/submit/create_read_only_session",
1159
+ method: "POST",
1160
+ body: input.body,
1161
+ });
1162
+ /**
1163
+ * Request a WebAuthn assertion and return a signed `CreateReadOnlySession` request, ready to be POSTed to ZeroXKey.
1164
+ *
1165
+ * See {@link CreateReadOnlySession}
1166
+ */
1167
+ const signCreateReadOnlySession = (input, options) => base.signedRequest({
1168
+ uri: "/public/v1/submit/create_read_only_session",
1169
+ body: input.body,
1170
+ options,
1171
+ });
1172
+ /**
1173
+ * Create read write session
1174
+ *
1175
+ * Create a read write session for a user.
1176
+ *
1177
+ * `POST /public/v1/submit/create_read_write_session`
1178
+ */
1179
+ const createReadWriteSession = (input) => base.request({
1180
+ uri: "/public/v1/submit/create_read_write_session",
1181
+ method: "POST",
1182
+ body: input.body,
1183
+ });
1184
+ /**
1185
+ * Request a WebAuthn assertion and return a signed `CreateReadWriteSession` request, ready to be POSTed to ZeroXKey.
1186
+ *
1187
+ * See {@link CreateReadWriteSession}
1188
+ */
1189
+ const signCreateReadWriteSession = (input, options) => base.signedRequest({
1190
+ uri: "/public/v1/submit/create_read_write_session",
1191
+ body: input.body,
1192
+ options,
1193
+ });
1194
+ /**
1195
+ * Create smart contract interface
1196
+ *
1197
+ * Create an ABI/IDL in JSON.
1198
+ *
1199
+ * `POST /public/v1/submit/create_smart_contract_interface`
1200
+ */
1201
+ const createSmartContractInterface = (input) => base.request({
1202
+ uri: "/public/v1/submit/create_smart_contract_interface",
1203
+ method: "POST",
1204
+ body: input.body,
1205
+ });
1206
+ /**
1207
+ * Request a WebAuthn assertion and return a signed `CreateSmartContractInterface` request, ready to be POSTed to ZeroXKey.
1208
+ *
1209
+ * See {@link CreateSmartContractInterface}
1210
+ */
1211
+ const signCreateSmartContractInterface = (input, options) => base.signedRequest({
1212
+ uri: "/public/v1/submit/create_smart_contract_interface",
1213
+ body: input.body,
1214
+ options,
1215
+ });
1216
+ /**
1217
+ * Create sub-organization
1218
+ *
1219
+ * Create a new sub-organization.
1220
+ *
1221
+ * `POST /public/v1/submit/create_sub_organization`
1222
+ */
1223
+ const createSubOrganization = (input) => base.request({
1224
+ uri: "/public/v1/submit/create_sub_organization",
1225
+ method: "POST",
1226
+ body: input.body,
1227
+ });
1228
+ /**
1229
+ * Request a WebAuthn assertion and return a signed `CreateSubOrganization` request, ready to be POSTed to ZeroXKey.
1230
+ *
1231
+ * See {@link CreateSubOrganization}
1232
+ */
1233
+ const signCreateSubOrganization = (input, options) => base.signedRequest({
1234
+ uri: "/public/v1/submit/create_sub_organization",
1235
+ body: input.body,
1236
+ options,
1237
+ });
1238
+ /**
1239
+ * Create user tag
1240
+ *
1241
+ * Create a user tag and add it to users.
1242
+ *
1243
+ * `POST /public/v1/submit/create_user_tag`
1244
+ */
1245
+ const createUserTag = (input) => base.request({
1246
+ uri: "/public/v1/submit/create_user_tag",
1247
+ method: "POST",
1248
+ body: input.body,
1249
+ });
1250
+ /**
1251
+ * Request a WebAuthn assertion and return a signed `CreateUserTag` request, ready to be POSTed to ZeroXKey.
1252
+ *
1253
+ * See {@link CreateUserTag}
1254
+ */
1255
+ const signCreateUserTag = (input, options) => base.signedRequest({
1256
+ uri: "/public/v1/submit/create_user_tag",
1257
+ body: input.body,
1258
+ options,
1259
+ });
1260
+ /**
1261
+ * Create users
1262
+ *
1263
+ * Create users in an existing organization.
1264
+ *
1265
+ * `POST /public/v1/submit/create_users`
1266
+ */
1267
+ const createUsers = (input) => base.request({
1268
+ uri: "/public/v1/submit/create_users",
1269
+ method: "POST",
1270
+ body: input.body,
1271
+ });
1272
+ /**
1273
+ * Request a WebAuthn assertion and return a signed `CreateUsers` request, ready to be POSTed to ZeroXKey.
1274
+ *
1275
+ * See {@link CreateUsers}
1276
+ */
1277
+ const signCreateUsers = (input, options) => base.signedRequest({
1278
+ uri: "/public/v1/submit/create_users",
1279
+ body: input.body,
1280
+ options,
1281
+ });
1282
+ /**
1283
+ * Create wallet
1284
+ *
1285
+ * Create a wallet and derive addresses.
1286
+ *
1287
+ * `POST /public/v1/submit/create_wallet`
1288
+ */
1289
+ const createWallet = (input) => base.request({
1290
+ uri: "/public/v1/submit/create_wallet",
1291
+ method: "POST",
1292
+ body: input.body,
1293
+ });
1294
+ /**
1295
+ * Request a WebAuthn assertion and return a signed `CreateWallet` request, ready to be POSTed to ZeroXKey.
1296
+ *
1297
+ * See {@link CreateWallet}
1298
+ */
1299
+ const signCreateWallet = (input, options) => base.signedRequest({
1300
+ uri: "/public/v1/submit/create_wallet",
1301
+ body: input.body,
1302
+ options,
1303
+ });
1304
+ /**
1305
+ * Create wallet accounts
1306
+ *
1307
+ * Derive additional addresses using an existing wallet.
1308
+ *
1309
+ * `POST /public/v1/submit/create_wallet_accounts`
1310
+ */
1311
+ const createWalletAccounts = (input) => base.request({
1312
+ uri: "/public/v1/submit/create_wallet_accounts",
1313
+ method: "POST",
1314
+ body: input.body,
1315
+ });
1316
+ /**
1317
+ * Request a WebAuthn assertion and return a signed `CreateWalletAccounts` request, ready to be POSTed to ZeroXKey.
1318
+ *
1319
+ * See {@link CreateWalletAccounts}
1320
+ */
1321
+ const signCreateWalletAccounts = (input, options) => base.signedRequest({
1322
+ uri: "/public/v1/submit/create_wallet_accounts",
1323
+ body: input.body,
1324
+ options,
1325
+ });
1326
+ /**
1327
+ * Create webhook endpoint
1328
+ *
1329
+ * Create a webhook endpoint for an organization.
1330
+ *
1331
+ * `POST /public/v1/submit/create_webhook_endpoint`
1332
+ */
1333
+ const createWebhookEndpoint = (input) => base.request({
1334
+ uri: "/public/v1/submit/create_webhook_endpoint",
1335
+ method: "POST",
1336
+ body: input.body,
1337
+ });
1338
+ /**
1339
+ * Request a WebAuthn assertion and return a signed `CreateWebhookEndpoint` request, ready to be POSTed to ZeroXKey.
1340
+ *
1341
+ * See {@link CreateWebhookEndpoint}
1342
+ */
1343
+ const signCreateWebhookEndpoint = (input, options) => base.signedRequest({
1344
+ uri: "/public/v1/submit/create_webhook_endpoint",
1345
+ body: input.body,
1346
+ options,
1347
+ });
1348
+ /**
1349
+ * Delete API keys
1350
+ *
1351
+ * Remove api keys from a user.
1352
+ *
1353
+ * `POST /public/v1/submit/delete_api_keys`
1354
+ */
1355
+ const deleteApiKeys = (input) => base.request({
1356
+ uri: "/public/v1/submit/delete_api_keys",
1357
+ method: "POST",
1358
+ body: input.body,
1359
+ });
1360
+ /**
1361
+ * Request a WebAuthn assertion and return a signed `DeleteApiKeys` request, ready to be POSTed to ZeroXKey.
1362
+ *
1363
+ * See {@link DeleteApiKeys}
1364
+ */
1365
+ const signDeleteApiKeys = (input, options) => base.signedRequest({
1366
+ uri: "/public/v1/submit/delete_api_keys",
1367
+ body: input.body,
1368
+ options,
1369
+ });
1370
+ /**
1371
+ * Delete authenticators
1372
+ *
1373
+ * Remove authenticators from a user.
1374
+ *
1375
+ * `POST /public/v1/submit/delete_authenticators`
1376
+ */
1377
+ const deleteAuthenticators = (input) => base.request({
1378
+ uri: "/public/v1/submit/delete_authenticators",
1379
+ method: "POST",
1380
+ body: input.body,
1381
+ });
1382
+ /**
1383
+ * Request a WebAuthn assertion and return a signed `DeleteAuthenticators` request, ready to be POSTed to ZeroXKey.
1384
+ *
1385
+ * See {@link DeleteAuthenticators}
1386
+ */
1387
+ const signDeleteAuthenticators = (input, options) => base.signedRequest({
1388
+ uri: "/public/v1/submit/delete_authenticators",
1389
+ body: input.body,
1390
+ options,
1391
+ });
1392
+ /**
1393
+ * Delete a Fiat On Ramp Credential
1394
+ *
1395
+ * Delete a fiat on ramp provider credential
1396
+ *
1397
+ * `POST /public/v1/submit/delete_fiat_on_ramp_credential`
1398
+ */
1399
+ const deleteFiatOnRampCredential = (input) => base.request({
1400
+ uri: "/public/v1/submit/delete_fiat_on_ramp_credential",
1401
+ method: "POST",
1402
+ body: input.body,
1403
+ });
1404
+ /**
1405
+ * Request a WebAuthn assertion and return a signed `DeleteFiatOnRampCredential` request, ready to be POSTed to ZeroXKey.
1406
+ *
1407
+ * See {@link DeleteFiatOnRampCredential}
1408
+ */
1409
+ const signDeleteFiatOnRampCredential = (input, options) => base.signedRequest({
1410
+ uri: "/public/v1/submit/delete_fiat_on_ramp_credential",
1411
+ body: input.body,
1412
+ options,
1413
+ });
1414
+ /**
1415
+ * Delete invitation
1416
+ *
1417
+ * Delete an existing invitation.
1418
+ *
1419
+ * `POST /public/v1/submit/delete_invitation`
1420
+ */
1421
+ const deleteInvitation = (input) => base.request({
1422
+ uri: "/public/v1/submit/delete_invitation",
1423
+ method: "POST",
1424
+ body: input.body,
1425
+ });
1426
+ /**
1427
+ * Request a WebAuthn assertion and return a signed `DeleteInvitation` request, ready to be POSTed to ZeroXKey.
1428
+ *
1429
+ * See {@link DeleteInvitation}
1430
+ */
1431
+ const signDeleteInvitation = (input, options) => base.signedRequest({
1432
+ uri: "/public/v1/submit/delete_invitation",
1433
+ body: input.body,
1434
+ options,
1435
+ });
1436
+ /**
1437
+ * Delete an OAuth 2.0 Credential
1438
+ *
1439
+ * Disable authentication for end users with an OAuth 2.0 provider
1440
+ *
1441
+ * `POST /public/v1/submit/delete_oauth2_credential`
1442
+ */
1443
+ const deleteOauth2Credential = (input) => base.request({
1444
+ uri: "/public/v1/submit/delete_oauth2_credential",
1445
+ method: "POST",
1446
+ body: input.body,
1447
+ });
1448
+ /**
1449
+ * Request a WebAuthn assertion and return a signed `DeleteOauth2Credential` request, ready to be POSTed to ZeroXKey.
1450
+ *
1451
+ * See {@link DeleteOauth2Credential}
1452
+ */
1453
+ const signDeleteOauth2Credential = (input, options) => base.signedRequest({
1454
+ uri: "/public/v1/submit/delete_oauth2_credential",
1455
+ body: input.body,
1456
+ options,
1457
+ });
1458
+ /**
1459
+ * Delete Oauth providers
1460
+ *
1461
+ * Remove Oauth providers for a specified user.
1462
+ *
1463
+ * `POST /public/v1/submit/delete_oauth_providers`
1464
+ */
1465
+ const deleteOauthProviders = (input) => base.request({
1466
+ uri: "/public/v1/submit/delete_oauth_providers",
1467
+ method: "POST",
1468
+ body: input.body,
1469
+ });
1470
+ /**
1471
+ * Request a WebAuthn assertion and return a signed `DeleteOauthProviders` request, ready to be POSTed to ZeroXKey.
1472
+ *
1473
+ * See {@link DeleteOauthProviders}
1474
+ */
1475
+ const signDeleteOauthProviders = (input, options) => base.signedRequest({
1476
+ uri: "/public/v1/submit/delete_oauth_providers",
1477
+ body: input.body,
1478
+ options,
1479
+ });
1480
+ /**
1481
+ * Delete policies
1482
+ *
1483
+ * Delete existing policies.
1484
+ *
1485
+ * `POST /public/v1/submit/delete_policies`
1486
+ */
1487
+ const deletePolicies = (input) => base.request({
1488
+ uri: "/public/v1/submit/delete_policies",
1489
+ method: "POST",
1490
+ body: input.body,
1491
+ });
1492
+ /**
1493
+ * Request a WebAuthn assertion and return a signed `DeletePolicies` request, ready to be POSTed to ZeroXKey.
1494
+ *
1495
+ * See {@link DeletePolicies}
1496
+ */
1497
+ const signDeletePolicies = (input, options) => base.signedRequest({
1498
+ uri: "/public/v1/submit/delete_policies",
1499
+ body: input.body,
1500
+ options,
1501
+ });
1502
+ /**
1503
+ * Delete policy
1504
+ *
1505
+ * Delete an existing policy.
1506
+ *
1507
+ * `POST /public/v1/submit/delete_policy`
1508
+ */
1509
+ const deletePolicy = (input) => base.request({
1510
+ uri: "/public/v1/submit/delete_policy",
1511
+ method: "POST",
1512
+ body: input.body,
1513
+ });
1514
+ /**
1515
+ * Request a WebAuthn assertion and return a signed `DeletePolicy` request, ready to be POSTed to ZeroXKey.
1516
+ *
1517
+ * See {@link DeletePolicy}
1518
+ */
1519
+ const signDeletePolicy = (input, options) => base.signedRequest({
1520
+ uri: "/public/v1/submit/delete_policy",
1521
+ body: input.body,
1522
+ options,
1523
+ });
1524
+ /**
1525
+ * Delete private key tags
1526
+ *
1527
+ * Delete private key tags within an organization.
1528
+ *
1529
+ * `POST /public/v1/submit/delete_private_key_tags`
1530
+ */
1531
+ const deletePrivateKeyTags = (input) => base.request({
1532
+ uri: "/public/v1/submit/delete_private_key_tags",
1533
+ method: "POST",
1534
+ body: input.body,
1535
+ });
1536
+ /**
1537
+ * Request a WebAuthn assertion and return a signed `DeletePrivateKeyTags` request, ready to be POSTed to ZeroXKey.
1538
+ *
1539
+ * See {@link DeletePrivateKeyTags}
1540
+ */
1541
+ const signDeletePrivateKeyTags = (input, options) => base.signedRequest({
1542
+ uri: "/public/v1/submit/delete_private_key_tags",
1543
+ body: input.body,
1544
+ options,
1545
+ });
1546
+ /**
1547
+ * Delete private keys
1548
+ *
1549
+ * Delete private keys for an organization.
1550
+ *
1551
+ * `POST /public/v1/submit/delete_private_keys`
1552
+ */
1553
+ const deletePrivateKeys = (input) => base.request({
1554
+ uri: "/public/v1/submit/delete_private_keys",
1555
+ method: "POST",
1556
+ body: input.body,
1557
+ });
1558
+ /**
1559
+ * Request a WebAuthn assertion and return a signed `DeletePrivateKeys` request, ready to be POSTed to ZeroXKey.
1560
+ *
1561
+ * See {@link DeletePrivateKeys}
1562
+ */
1563
+ const signDeletePrivateKeys = (input, options) => base.signedRequest({
1564
+ uri: "/public/v1/submit/delete_private_keys",
1565
+ body: input.body,
1566
+ options,
1567
+ });
1568
+ /**
1569
+ * Delete smart contract interface
1570
+ *
1571
+ * Delete a smart contract interface.
1572
+ *
1573
+ * `POST /public/v1/submit/delete_smart_contract_interface`
1574
+ */
1575
+ const deleteSmartContractInterface = (input) => base.request({
1576
+ uri: "/public/v1/submit/delete_smart_contract_interface",
1577
+ method: "POST",
1578
+ body: input.body,
1579
+ });
1580
+ /**
1581
+ * Request a WebAuthn assertion and return a signed `DeleteSmartContractInterface` request, ready to be POSTed to ZeroXKey.
1582
+ *
1583
+ * See {@link DeleteSmartContractInterface}
1584
+ */
1585
+ const signDeleteSmartContractInterface = (input, options) => base.signedRequest({
1586
+ uri: "/public/v1/submit/delete_smart_contract_interface",
1587
+ body: input.body,
1588
+ options,
1589
+ });
1590
+ /**
1591
+ * Delete sub-organization
1592
+ *
1593
+ * Delete a sub-organization.
1594
+ *
1595
+ * `POST /public/v1/submit/delete_sub_organization`
1596
+ */
1597
+ const deleteSubOrganization = (input) => base.request({
1598
+ uri: "/public/v1/submit/delete_sub_organization",
1599
+ method: "POST",
1600
+ body: input.body,
1601
+ });
1602
+ /**
1603
+ * Request a WebAuthn assertion and return a signed `DeleteSubOrganization` request, ready to be POSTed to ZeroXKey.
1604
+ *
1605
+ * See {@link DeleteSubOrganization}
1606
+ */
1607
+ const signDeleteSubOrganization = (input, options) => base.signedRequest({
1608
+ uri: "/public/v1/submit/delete_sub_organization",
1609
+ body: input.body,
1610
+ options,
1611
+ });
1612
+ /**
1613
+ * Delete user tags
1614
+ *
1615
+ * Delete user tags within an organization.
1616
+ *
1617
+ * `POST /public/v1/submit/delete_user_tags`
1618
+ */
1619
+ const deleteUserTags = (input) => base.request({
1620
+ uri: "/public/v1/submit/delete_user_tags",
1621
+ method: "POST",
1622
+ body: input.body,
1623
+ });
1624
+ /**
1625
+ * Request a WebAuthn assertion and return a signed `DeleteUserTags` request, ready to be POSTed to ZeroXKey.
1626
+ *
1627
+ * See {@link DeleteUserTags}
1628
+ */
1629
+ const signDeleteUserTags = (input, options) => base.signedRequest({
1630
+ uri: "/public/v1/submit/delete_user_tags",
1631
+ body: input.body,
1632
+ options,
1633
+ });
1634
+ /**
1635
+ * Delete users
1636
+ *
1637
+ * Delete users within an organization.
1638
+ *
1639
+ * `POST /public/v1/submit/delete_users`
1640
+ */
1641
+ const deleteUsers = (input) => base.request({
1642
+ uri: "/public/v1/submit/delete_users",
1643
+ method: "POST",
1644
+ body: input.body,
1645
+ });
1646
+ /**
1647
+ * Request a WebAuthn assertion and return a signed `DeleteUsers` request, ready to be POSTed to ZeroXKey.
1648
+ *
1649
+ * See {@link DeleteUsers}
1650
+ */
1651
+ const signDeleteUsers = (input, options) => base.signedRequest({
1652
+ uri: "/public/v1/submit/delete_users",
1653
+ body: input.body,
1654
+ options,
1655
+ });
1656
+ /**
1657
+ * Delete wallet accounts
1658
+ *
1659
+ * Delete wallet accounts for an organization.
1660
+ *
1661
+ * `POST /public/v1/submit/delete_wallet_accounts`
1662
+ */
1663
+ const deleteWalletAccounts = (input) => base.request({
1664
+ uri: "/public/v1/submit/delete_wallet_accounts",
1665
+ method: "POST",
1666
+ body: input.body,
1667
+ });
1668
+ /**
1669
+ * Request a WebAuthn assertion and return a signed `DeleteWalletAccounts` request, ready to be POSTed to ZeroXKey.
1670
+ *
1671
+ * See {@link DeleteWalletAccounts}
1672
+ */
1673
+ const signDeleteWalletAccounts = (input, options) => base.signedRequest({
1674
+ uri: "/public/v1/submit/delete_wallet_accounts",
1675
+ body: input.body,
1676
+ options,
1677
+ });
1678
+ /**
1679
+ * Delete wallets
1680
+ *
1681
+ * Delete wallets for an organization.
1682
+ *
1683
+ * `POST /public/v1/submit/delete_wallets`
1684
+ */
1685
+ const deleteWallets = (input) => base.request({
1686
+ uri: "/public/v1/submit/delete_wallets",
1687
+ method: "POST",
1688
+ body: input.body,
1689
+ });
1690
+ /**
1691
+ * Request a WebAuthn assertion and return a signed `DeleteWallets` request, ready to be POSTed to ZeroXKey.
1692
+ *
1693
+ * See {@link DeleteWallets}
1694
+ */
1695
+ const signDeleteWallets = (input, options) => base.signedRequest({
1696
+ uri: "/public/v1/submit/delete_wallets",
1697
+ body: input.body,
1698
+ options,
1699
+ });
1700
+ /**
1701
+ * Delete webhook endpoint
1702
+ *
1703
+ * Delete a webhook endpoint for an organization.
1704
+ *
1705
+ * `POST /public/v1/submit/delete_webhook_endpoint`
1706
+ */
1707
+ const deleteWebhookEndpoint = (input) => base.request({
1708
+ uri: "/public/v1/submit/delete_webhook_endpoint",
1709
+ method: "POST",
1710
+ body: input.body,
1711
+ });
1712
+ /**
1713
+ * Request a WebAuthn assertion and return a signed `DeleteWebhookEndpoint` request, ready to be POSTed to ZeroXKey.
1714
+ *
1715
+ * See {@link DeleteWebhookEndpoint}
1716
+ */
1717
+ const signDeleteWebhookEndpoint = (input, options) => base.signedRequest({
1718
+ uri: "/public/v1/submit/delete_webhook_endpoint",
1719
+ body: input.body,
1720
+ options,
1721
+ });
1722
+ /**
1723
+ * Perform email auth
1724
+ *
1725
+ * Authenticate a user via email.
1726
+ *
1727
+ * `POST /public/v1/submit/email_auth`
1728
+ */
1729
+ const emailAuth = (input) => base.request({
1730
+ uri: "/public/v1/submit/email_auth",
1731
+ method: "POST",
1732
+ body: input.body,
1733
+ });
1734
+ /**
1735
+ * Request a WebAuthn assertion and return a signed `EmailAuth` request, ready to be POSTed to ZeroXKey.
1736
+ *
1737
+ * See {@link EmailAuth}
1738
+ */
1739
+ const signEmailAuth = (input, options) => base.signedRequest({
1740
+ uri: "/public/v1/submit/email_auth",
1741
+ body: input.body,
1742
+ options,
1743
+ });
1744
+ /**
1745
+ * Broadcast EVM transaction
1746
+ *
1747
+ * Submit a transaction intent describing an EVM transaction you would like to broadcast.
1748
+ *
1749
+ * `POST /public/v1/submit/eth_send_transaction`
1750
+ */
1751
+ const ethSendTransaction = (input) => base.request({
1752
+ uri: "/public/v1/submit/eth_send_transaction",
1753
+ method: "POST",
1754
+ body: input.body,
1755
+ });
1756
+ /**
1757
+ * Request a WebAuthn assertion and return a signed `EthSendTransaction` request, ready to be POSTed to ZeroXKey.
1758
+ *
1759
+ * See {@link EthSendTransaction}
1760
+ */
1761
+ const signEthSendTransaction = (input, options) => base.signedRequest({
1762
+ uri: "/public/v1/submit/eth_send_transaction",
1763
+ body: input.body,
1764
+ options,
1765
+ });
1766
+ /**
1767
+ * Export private key
1768
+ *
1769
+ * Export a private key.
1770
+ *
1771
+ * `POST /public/v1/submit/export_private_key`
1772
+ */
1773
+ const exportPrivateKey = (input) => base.request({
1774
+ uri: "/public/v1/submit/export_private_key",
1775
+ method: "POST",
1776
+ body: input.body,
1777
+ });
1778
+ /**
1779
+ * Request a WebAuthn assertion and return a signed `ExportPrivateKey` request, ready to be POSTed to ZeroXKey.
1780
+ *
1781
+ * See {@link ExportPrivateKey}
1782
+ */
1783
+ const signExportPrivateKey = (input, options) => base.signedRequest({
1784
+ uri: "/public/v1/submit/export_private_key",
1785
+ body: input.body,
1786
+ options,
1787
+ });
1788
+ /**
1789
+ * Export wallet
1790
+ *
1791
+ * Export a wallet.
1792
+ *
1793
+ * `POST /public/v1/submit/export_wallet`
1794
+ */
1795
+ const exportWallet = (input) => base.request({
1796
+ uri: "/public/v1/submit/export_wallet",
1797
+ method: "POST",
1798
+ body: input.body,
1799
+ });
1800
+ /**
1801
+ * Request a WebAuthn assertion and return a signed `ExportWallet` request, ready to be POSTed to ZeroXKey.
1802
+ *
1803
+ * See {@link ExportWallet}
1804
+ */
1805
+ const signExportWallet = (input, options) => base.signedRequest({
1806
+ uri: "/public/v1/submit/export_wallet",
1807
+ body: input.body,
1808
+ options,
1809
+ });
1810
+ /**
1811
+ * Export wallet account
1812
+ *
1813
+ * Export a wallet account.
1814
+ *
1815
+ * `POST /public/v1/submit/export_wallet_account`
1816
+ */
1817
+ const exportWalletAccount = (input) => base.request({
1818
+ uri: "/public/v1/submit/export_wallet_account",
1819
+ method: "POST",
1820
+ body: input.body,
1821
+ });
1822
+ /**
1823
+ * Request a WebAuthn assertion and return a signed `ExportWalletAccount` request, ready to be POSTed to ZeroXKey.
1824
+ *
1825
+ * See {@link ExportWalletAccount}
1826
+ */
1827
+ const signExportWalletAccount = (input, options) => base.signedRequest({
1828
+ uri: "/public/v1/submit/export_wallet_account",
1829
+ body: input.body,
1830
+ options,
1831
+ });
1832
+ /**
1833
+ * Import private key
1834
+ *
1835
+ * Import a private key.
1836
+ *
1837
+ * `POST /public/v1/submit/import_private_key`
1838
+ */
1839
+ const importPrivateKey = (input) => base.request({
1840
+ uri: "/public/v1/submit/import_private_key",
1841
+ method: "POST",
1842
+ body: input.body,
1843
+ });
1844
+ /**
1845
+ * Request a WebAuthn assertion and return a signed `ImportPrivateKey` request, ready to be POSTed to ZeroXKey.
1846
+ *
1847
+ * See {@link ImportPrivateKey}
1848
+ */
1849
+ const signImportPrivateKey = (input, options) => base.signedRequest({
1850
+ uri: "/public/v1/submit/import_private_key",
1851
+ body: input.body,
1852
+ options,
1853
+ });
1854
+ /**
1855
+ * Import wallet
1856
+ *
1857
+ * Import a wallet.
1858
+ *
1859
+ * `POST /public/v1/submit/import_wallet`
1860
+ */
1861
+ const importWallet = (input) => base.request({
1862
+ uri: "/public/v1/submit/import_wallet",
1863
+ method: "POST",
1864
+ body: input.body,
1865
+ });
1866
+ /**
1867
+ * Request a WebAuthn assertion and return a signed `ImportWallet` request, ready to be POSTed to ZeroXKey.
1868
+ *
1869
+ * See {@link ImportWallet}
1870
+ */
1871
+ const signImportWallet = (input, options) => base.signedRequest({
1872
+ uri: "/public/v1/submit/import_wallet",
1873
+ body: input.body,
1874
+ options,
1875
+ });
1876
+ /**
1877
+ * Init fiat on ramp
1878
+ *
1879
+ * Initiate a fiat on ramp flow.
1880
+ *
1881
+ * `POST /public/v1/submit/init_fiat_on_ramp`
1882
+ */
1883
+ const initFiatOnRamp = (input) => base.request({
1884
+ uri: "/public/v1/submit/init_fiat_on_ramp",
1885
+ method: "POST",
1886
+ body: input.body,
1887
+ });
1888
+ /**
1889
+ * Request a WebAuthn assertion and return a signed `InitFiatOnRamp` request, ready to be POSTed to ZeroXKey.
1890
+ *
1891
+ * See {@link InitFiatOnRamp}
1892
+ */
1893
+ const signInitFiatOnRamp = (input, options) => base.signedRequest({
1894
+ uri: "/public/v1/submit/init_fiat_on_ramp",
1895
+ body: input.body,
1896
+ options,
1897
+ });
1898
+ /**
1899
+ * Init import private key
1900
+ *
1901
+ * Initialize a new private key import.
1902
+ *
1903
+ * `POST /public/v1/submit/init_import_private_key`
1904
+ */
1905
+ const initImportPrivateKey = (input) => base.request({
1906
+ uri: "/public/v1/submit/init_import_private_key",
1907
+ method: "POST",
1908
+ body: input.body,
1909
+ });
1910
+ /**
1911
+ * Request a WebAuthn assertion and return a signed `InitImportPrivateKey` request, ready to be POSTed to ZeroXKey.
1912
+ *
1913
+ * See {@link InitImportPrivateKey}
1914
+ */
1915
+ const signInitImportPrivateKey = (input, options) => base.signedRequest({
1916
+ uri: "/public/v1/submit/init_import_private_key",
1917
+ body: input.body,
1918
+ options,
1919
+ });
1920
+ /**
1921
+ * Init import wallet
1922
+ *
1923
+ * Initialize a new wallet import.
1924
+ *
1925
+ * `POST /public/v1/submit/init_import_wallet`
1926
+ */
1927
+ const initImportWallet = (input) => base.request({
1928
+ uri: "/public/v1/submit/init_import_wallet",
1929
+ method: "POST",
1930
+ body: input.body,
1931
+ });
1932
+ /**
1933
+ * Request a WebAuthn assertion and return a signed `InitImportWallet` request, ready to be POSTed to ZeroXKey.
1934
+ *
1935
+ * See {@link InitImportWallet}
1936
+ */
1937
+ const signInitImportWallet = (input, options) => base.signedRequest({
1938
+ uri: "/public/v1/submit/init_import_wallet",
1939
+ body: input.body,
1940
+ options,
1941
+ });
1942
+ /**
1943
+ * Init generic OTP
1944
+ *
1945
+ * Initiate a generic OTP activity.
1946
+ *
1947
+ * `POST /public/v1/submit/init_otp`
1948
+ */
1949
+ const initOtp = (input) => base.request({
1950
+ uri: "/public/v1/submit/init_otp",
1951
+ method: "POST",
1952
+ body: input.body,
1953
+ });
1954
+ /**
1955
+ * Request a WebAuthn assertion and return a signed `InitOtp` request, ready to be POSTed to ZeroXKey.
1956
+ *
1957
+ * See {@link InitOtp}
1958
+ */
1959
+ const signInitOtp = (input, options) => base.signedRequest({
1960
+ uri: "/public/v1/submit/init_otp",
1961
+ body: input.body,
1962
+ options,
1963
+ });
1964
+ /**
1965
+ * Init OTP auth
1966
+ *
1967
+ * Initiate an OTP auth activity.
1968
+ *
1969
+ * `POST /public/v1/submit/init_otp_auth`
1970
+ */
1971
+ const initOtpAuth = (input) => base.request({
1972
+ uri: "/public/v1/submit/init_otp_auth",
1973
+ method: "POST",
1974
+ body: input.body,
1975
+ });
1976
+ /**
1977
+ * Request a WebAuthn assertion and return a signed `InitOtpAuth` request, ready to be POSTed to ZeroXKey.
1978
+ *
1979
+ * See {@link InitOtpAuth}
1980
+ */
1981
+ const signInitOtpAuth = (input, options) => base.signedRequest({
1982
+ uri: "/public/v1/submit/init_otp_auth",
1983
+ body: input.body,
1984
+ options,
1985
+ });
1986
+ /**
1987
+ * Init email recovery
1988
+ *
1989
+ * Initialize a new email recovery.
1990
+ *
1991
+ * `POST /public/v1/submit/init_user_email_recovery`
1992
+ */
1993
+ const initUserEmailRecovery = (input) => base.request({
1994
+ uri: "/public/v1/submit/init_user_email_recovery",
1995
+ method: "POST",
1996
+ body: input.body,
1997
+ });
1998
+ /**
1999
+ * Request a WebAuthn assertion and return a signed `InitUserEmailRecovery` request, ready to be POSTed to ZeroXKey.
2000
+ *
2001
+ * See {@link InitUserEmailRecovery}
2002
+ */
2003
+ const signInitUserEmailRecovery = (input, options) => base.signedRequest({
2004
+ uri: "/public/v1/submit/init_user_email_recovery",
2005
+ body: input.body,
2006
+ options,
2007
+ });
2008
+ /**
2009
+ * Oauth
2010
+ *
2011
+ * Authenticate a user with an OIDC token (Oauth).
2012
+ *
2013
+ * `POST /public/v1/submit/oauth`
2014
+ */
2015
+ const oauth = (input) => base.request({
2016
+ uri: "/public/v1/submit/oauth",
2017
+ method: "POST",
2018
+ body: input.body,
2019
+ });
2020
+ /**
2021
+ * Request a WebAuthn assertion and return a signed `Oauth` request, ready to be POSTed to ZeroXKey.
2022
+ *
2023
+ * See {@link Oauth}
2024
+ */
2025
+ const signOauth = (input, options) => base.signedRequest({
2026
+ uri: "/public/v1/submit/oauth",
2027
+ body: input.body,
2028
+ options,
2029
+ });
2030
+ /**
2031
+ * OAuth 2.0 authentication
2032
+ *
2033
+ * Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities
2034
+ *
2035
+ * `POST /public/v1/submit/oauth2_authenticate`
2036
+ */
2037
+ const oauth2Authenticate = (input) => base.request({
2038
+ uri: "/public/v1/submit/oauth2_authenticate",
2039
+ method: "POST",
2040
+ body: input.body,
2041
+ });
2042
+ /**
2043
+ * Request a WebAuthn assertion and return a signed `Oauth2Authenticate` request, ready to be POSTed to ZeroXKey.
2044
+ *
2045
+ * See {@link Oauth2Authenticate}
2046
+ */
2047
+ const signOauth2Authenticate = (input, options) => base.signedRequest({
2048
+ uri: "/public/v1/submit/oauth2_authenticate",
2049
+ body: input.body,
2050
+ options,
2051
+ });
2052
+ /**
2053
+ * Login with Oauth
2054
+ *
2055
+ * Create an Oauth session for a user.
2056
+ *
2057
+ * `POST /public/v1/submit/oauth_login`
2058
+ */
2059
+ const oauthLogin = (input) => base.request({
2060
+ uri: "/public/v1/submit/oauth_login",
2061
+ method: "POST",
2062
+ body: input.body,
2063
+ });
2064
+ /**
2065
+ * Request a WebAuthn assertion and return a signed `OauthLogin` request, ready to be POSTed to ZeroXKey.
2066
+ *
2067
+ * See {@link OauthLogin}
2068
+ */
2069
+ const signOauthLogin = (input, options) => base.signedRequest({
2070
+ uri: "/public/v1/submit/oauth_login",
2071
+ body: input.body,
2072
+ options,
2073
+ });
2074
+ /**
2075
+ * OTP auth
2076
+ *
2077
+ * Authenticate a user with an OTP code sent via email or SMS.
2078
+ *
2079
+ * `POST /public/v1/submit/otp_auth`
2080
+ */
2081
+ const otpAuth = (input) => base.request({
2082
+ uri: "/public/v1/submit/otp_auth",
2083
+ method: "POST",
2084
+ body: input.body,
2085
+ });
2086
+ /**
2087
+ * Request a WebAuthn assertion and return a signed `OtpAuth` request, ready to be POSTed to ZeroXKey.
2088
+ *
2089
+ * See {@link OtpAuth}
2090
+ */
2091
+ const signOtpAuth = (input, options) => base.signedRequest({
2092
+ uri: "/public/v1/submit/otp_auth",
2093
+ body: input.body,
2094
+ options,
2095
+ });
2096
+ /**
2097
+ * Login with OTP
2098
+ *
2099
+ * Create an OTP session for a user.
2100
+ *
2101
+ * `POST /public/v1/submit/otp_login`
2102
+ */
2103
+ const otpLogin = (input) => base.request({
2104
+ uri: "/public/v1/submit/otp_login",
2105
+ method: "POST",
2106
+ body: input.body,
2107
+ });
2108
+ /**
2109
+ * Request a WebAuthn assertion and return a signed `OtpLogin` request, ready to be POSTed to ZeroXKey.
2110
+ *
2111
+ * See {@link OtpLogin}
2112
+ */
2113
+ const signOtpLogin = (input, options) => base.signedRequest({
2114
+ uri: "/public/v1/submit/otp_login",
2115
+ body: input.body,
2116
+ options,
2117
+ });
2118
+ /**
2119
+ * Recover a user
2120
+ *
2121
+ * Complete the process of recovering a user by adding an authenticator.
2122
+ *
2123
+ * `POST /public/v1/submit/recover_user`
2124
+ */
2125
+ const recoverUser = (input) => base.request({
2126
+ uri: "/public/v1/submit/recover_user",
2127
+ method: "POST",
2128
+ body: input.body,
2129
+ });
2130
+ /**
2131
+ * Request a WebAuthn assertion and return a signed `RecoverUser` request, ready to be POSTed to ZeroXKey.
2132
+ *
2133
+ * See {@link RecoverUser}
2134
+ */
2135
+ const signRecoverUser = (input, options) => base.signedRequest({
2136
+ uri: "/public/v1/submit/recover_user",
2137
+ body: input.body,
2138
+ options,
2139
+ });
2140
+ /**
2141
+ * Reject activity
2142
+ *
2143
+ * Reject an activity.
2144
+ *
2145
+ * `POST /public/v1/submit/reject_activity`
2146
+ */
2147
+ const rejectActivity = (input) => base.request({
2148
+ uri: "/public/v1/submit/reject_activity",
2149
+ method: "POST",
2150
+ body: input.body,
2151
+ });
2152
+ /**
2153
+ * Request a WebAuthn assertion and return a signed `RejectActivity` request, ready to be POSTed to ZeroXKey.
2154
+ *
2155
+ * See {@link RejectActivity}
2156
+ */
2157
+ const signRejectActivity = (input, options) => base.signedRequest({
2158
+ uri: "/public/v1/submit/reject_activity",
2159
+ body: input.body,
2160
+ options,
2161
+ });
2162
+ /**
2163
+ * Remove organization feature
2164
+ *
2165
+ * Remove an organization feature. This activity must be approved by the current root quorum.
2166
+ *
2167
+ * `POST /public/v1/submit/remove_organization_feature`
2168
+ */
2169
+ const removeOrganizationFeature = (input) => base.request({
2170
+ uri: "/public/v1/submit/remove_organization_feature",
2171
+ method: "POST",
2172
+ body: input.body,
2173
+ });
2174
+ /**
2175
+ * Request a WebAuthn assertion and return a signed `RemoveOrganizationFeature` request, ready to be POSTed to ZeroXKey.
2176
+ *
2177
+ * See {@link RemoveOrganizationFeature}
2178
+ */
2179
+ const signRemoveOrganizationFeature = (input, options) => base.signedRequest({
2180
+ uri: "/public/v1/submit/remove_organization_feature",
2181
+ body: input.body,
2182
+ options,
2183
+ });
2184
+ /**
2185
+ * Set organization feature
2186
+ *
2187
+ * Set an organization feature. This activity must be approved by the current root quorum.
2188
+ *
2189
+ * `POST /public/v1/submit/set_organization_feature`
2190
+ */
2191
+ const setOrganizationFeature = (input) => base.request({
2192
+ uri: "/public/v1/submit/set_organization_feature",
2193
+ method: "POST",
2194
+ body: input.body,
2195
+ });
2196
+ /**
2197
+ * Request a WebAuthn assertion and return a signed `SetOrganizationFeature` request, ready to be POSTed to ZeroXKey.
2198
+ *
2199
+ * See {@link SetOrganizationFeature}
2200
+ */
2201
+ const signSetOrganizationFeature = (input, options) => base.signedRequest({
2202
+ uri: "/public/v1/submit/set_organization_feature",
2203
+ body: input.body,
2204
+ options,
2205
+ });
2206
+ /**
2207
+ * Sign raw payload
2208
+ *
2209
+ * Sign a raw payload.
2210
+ *
2211
+ * `POST /public/v1/submit/sign_raw_payload`
2212
+ */
2213
+ const signRawPayload = (input) => base.request({
2214
+ uri: "/public/v1/submit/sign_raw_payload",
2215
+ method: "POST",
2216
+ body: input.body,
2217
+ });
2218
+ /**
2219
+ * Request a WebAuthn assertion and return a signed `SignRawPayload` request, ready to be POSTed to ZeroXKey.
2220
+ *
2221
+ * See {@link SignRawPayload}
2222
+ */
2223
+ const signSignRawPayload = (input, options) => base.signedRequest({
2224
+ uri: "/public/v1/submit/sign_raw_payload",
2225
+ body: input.body,
2226
+ options,
2227
+ });
2228
+ /**
2229
+ * Sign raw payloads
2230
+ *
2231
+ * Sign multiple raw payloads with the same signing parameters.
2232
+ *
2233
+ * `POST /public/v1/submit/sign_raw_payloads`
2234
+ */
2235
+ const signRawPayloads = (input) => base.request({
2236
+ uri: "/public/v1/submit/sign_raw_payloads",
2237
+ method: "POST",
2238
+ body: input.body,
2239
+ });
2240
+ /**
2241
+ * Request a WebAuthn assertion and return a signed `SignRawPayloads` request, ready to be POSTed to ZeroXKey.
2242
+ *
2243
+ * See {@link SignRawPayloads}
2244
+ */
2245
+ const signSignRawPayloads = (input, options) => base.signedRequest({
2246
+ uri: "/public/v1/submit/sign_raw_payloads",
2247
+ body: input.body,
2248
+ options,
2249
+ });
2250
+ /**
2251
+ * Sign transaction
2252
+ *
2253
+ * Sign a transaction.
2254
+ *
2255
+ * `POST /public/v1/submit/sign_transaction`
2256
+ */
2257
+ const signTransaction = (input) => base.request({
2258
+ uri: "/public/v1/submit/sign_transaction",
2259
+ method: "POST",
2260
+ body: input.body,
2261
+ });
2262
+ /**
2263
+ * Request a WebAuthn assertion and return a signed `SignTransaction` request, ready to be POSTed to ZeroXKey.
2264
+ *
2265
+ * See {@link SignTransaction}
2266
+ */
2267
+ const signSignTransaction = (input, options) => base.signedRequest({
2268
+ uri: "/public/v1/submit/sign_transaction",
2269
+ body: input.body,
2270
+ options,
2271
+ });
2272
+ /**
2273
+ * Broadcast SVM transaction
2274
+ *
2275
+ * Submit a transaction intent describing an SVM transaction you would like to broadcast.
2276
+ *
2277
+ * `POST /public/v1/submit/sol_send_transaction`
2278
+ */
2279
+ const solSendTransaction = (input) => base.request({
2280
+ uri: "/public/v1/submit/sol_send_transaction",
2281
+ method: "POST",
2282
+ body: input.body,
2283
+ });
2284
+ /**
2285
+ * Request a WebAuthn assertion and return a signed `SolSendTransaction` request, ready to be POSTed to ZeroXKey.
2286
+ *
2287
+ * See {@link SolSendTransaction}
2288
+ */
2289
+ const signSolSendTransaction = (input, options) => base.signedRequest({
2290
+ uri: "/public/v1/submit/sol_send_transaction",
2291
+ body: input.body,
2292
+ options,
2293
+ });
2294
+ /**
2295
+ * Login with a stamp
2296
+ *
2297
+ * Create a session for a user through stamping client side (API key, wallet client, or passkey client).
2298
+ *
2299
+ * `POST /public/v1/submit/stamp_login`
2300
+ */
2301
+ const stampLogin = (input) => base.request({
2302
+ uri: "/public/v1/submit/stamp_login",
2303
+ method: "POST",
2304
+ body: input.body,
2305
+ });
2306
+ /**
2307
+ * Request a WebAuthn assertion and return a signed `StampLogin` request, ready to be POSTed to ZeroXKey.
2308
+ *
2309
+ * See {@link StampLogin}
2310
+ */
2311
+ const signStampLogin = (input, options) => base.signedRequest({
2312
+ uri: "/public/v1/submit/stamp_login",
2313
+ body: input.body,
2314
+ options,
2315
+ });
2316
+ /**
2317
+ * Update a Fiat On Ramp Credential
2318
+ *
2319
+ * Update a fiat on ramp provider credential
2320
+ *
2321
+ * `POST /public/v1/submit/update_fiat_on_ramp_credential`
2322
+ */
2323
+ const updateFiatOnRampCredential = (input) => base.request({
2324
+ uri: "/public/v1/submit/update_fiat_on_ramp_credential",
2325
+ method: "POST",
2326
+ body: input.body,
2327
+ });
2328
+ /**
2329
+ * Request a WebAuthn assertion and return a signed `UpdateFiatOnRampCredential` request, ready to be POSTed to ZeroXKey.
2330
+ *
2331
+ * See {@link UpdateFiatOnRampCredential}
2332
+ */
2333
+ const signUpdateFiatOnRampCredential = (input, options) => base.signedRequest({
2334
+ uri: "/public/v1/submit/update_fiat_on_ramp_credential",
2335
+ body: input.body,
2336
+ options,
2337
+ });
2338
+ /**
2339
+ * Update an OAuth 2.0 Credential
2340
+ *
2341
+ * Update an OAuth 2.0 provider credential
2342
+ *
2343
+ * `POST /public/v1/submit/update_oauth2_credential`
2344
+ */
2345
+ const updateOauth2Credential = (input) => base.request({
2346
+ uri: "/public/v1/submit/update_oauth2_credential",
2347
+ method: "POST",
2348
+ body: input.body,
2349
+ });
2350
+ /**
2351
+ * Request a WebAuthn assertion and return a signed `UpdateOauth2Credential` request, ready to be POSTed to ZeroXKey.
2352
+ *
2353
+ * See {@link UpdateOauth2Credential}
2354
+ */
2355
+ const signUpdateOauth2Credential = (input, options) => base.signedRequest({
2356
+ uri: "/public/v1/submit/update_oauth2_credential",
2357
+ body: input.body,
2358
+ options,
2359
+ });
2360
+ /**
2361
+ * Update organization name
2362
+ *
2363
+ * Update the name of an organization.
2364
+ *
2365
+ * `POST /public/v1/submit/update_organization_name`
2366
+ */
2367
+ const updateOrganizationName = (input) => base.request({
2368
+ uri: "/public/v1/submit/update_organization_name",
2369
+ method: "POST",
2370
+ body: input.body,
2371
+ });
2372
+ /**
2373
+ * Request a WebAuthn assertion and return a signed `UpdateOrganizationName` request, ready to be POSTed to ZeroXKey.
2374
+ *
2375
+ * See {@link UpdateOrganizationName}
2376
+ */
2377
+ const signUpdateOrganizationName = (input, options) => base.signedRequest({
2378
+ uri: "/public/v1/submit/update_organization_name",
2379
+ body: input.body,
2380
+ options,
2381
+ });
2382
+ /**
2383
+ * Update policy
2384
+ *
2385
+ * Update an existing policy.
2386
+ *
2387
+ * `POST /public/v1/submit/update_policy`
2388
+ */
2389
+ const updatePolicy = (input) => base.request({
2390
+ uri: "/public/v1/submit/update_policy",
2391
+ method: "POST",
2392
+ body: input.body,
2393
+ });
2394
+ /**
2395
+ * Request a WebAuthn assertion and return a signed `UpdatePolicy` request, ready to be POSTed to ZeroXKey.
2396
+ *
2397
+ * See {@link UpdatePolicy}
2398
+ */
2399
+ const signUpdatePolicy = (input, options) => base.signedRequest({
2400
+ uri: "/public/v1/submit/update_policy",
2401
+ body: input.body,
2402
+ options,
2403
+ });
2404
+ /**
2405
+ * Update private key tag
2406
+ *
2407
+ * Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
2408
+ *
2409
+ * `POST /public/v1/submit/update_private_key_tag`
2410
+ */
2411
+ const updatePrivateKeyTag = (input) => base.request({
2412
+ uri: "/public/v1/submit/update_private_key_tag",
2413
+ method: "POST",
2414
+ body: input.body,
2415
+ });
2416
+ /**
2417
+ * Request a WebAuthn assertion and return a signed `UpdatePrivateKeyTag` request, ready to be POSTed to ZeroXKey.
2418
+ *
2419
+ * See {@link UpdatePrivateKeyTag}
2420
+ */
2421
+ const signUpdatePrivateKeyTag = (input, options) => base.signedRequest({
2422
+ uri: "/public/v1/submit/update_private_key_tag",
2423
+ body: input.body,
2424
+ options,
2425
+ });
2426
+ /**
2427
+ * Update root quorum
2428
+ *
2429
+ * Set the threshold and members of the root quorum. This activity must be approved by the current root quorum.
2430
+ *
2431
+ * `POST /public/v1/submit/update_root_quorum`
2432
+ */
2433
+ const updateRootQuorum = (input) => base.request({
2434
+ uri: "/public/v1/submit/update_root_quorum",
2435
+ method: "POST",
2436
+ body: input.body,
2437
+ });
2438
+ /**
2439
+ * Request a WebAuthn assertion and return a signed `UpdateRootQuorum` request, ready to be POSTed to ZeroXKey.
2440
+ *
2441
+ * See {@link UpdateRootQuorum}
2442
+ */
2443
+ const signUpdateRootQuorum = (input, options) => base.signedRequest({
2444
+ uri: "/public/v1/submit/update_root_quorum",
2445
+ body: input.body,
2446
+ options,
2447
+ });
2448
+ /**
2449
+ * Update user
2450
+ *
2451
+ * Update a user in an existing organization.
2452
+ *
2453
+ * `POST /public/v1/submit/update_user`
2454
+ */
2455
+ const updateUser = (input) => base.request({
2456
+ uri: "/public/v1/submit/update_user",
2457
+ method: "POST",
2458
+ body: input.body,
2459
+ });
2460
+ /**
2461
+ * Request a WebAuthn assertion and return a signed `UpdateUser` request, ready to be POSTed to ZeroXKey.
2462
+ *
2463
+ * See {@link UpdateUser}
2464
+ */
2465
+ const signUpdateUser = (input, options) => base.signedRequest({
2466
+ uri: "/public/v1/submit/update_user",
2467
+ body: input.body,
2468
+ options,
2469
+ });
2470
+ /**
2471
+ * Update user's email
2472
+ *
2473
+ * Update a user's email in an existing organization.
2474
+ *
2475
+ * `POST /public/v1/submit/update_user_email`
2476
+ */
2477
+ const updateUserEmail = (input) => base.request({
2478
+ uri: "/public/v1/submit/update_user_email",
2479
+ method: "POST",
2480
+ body: input.body,
2481
+ });
2482
+ /**
2483
+ * Request a WebAuthn assertion and return a signed `UpdateUserEmail` request, ready to be POSTed to ZeroXKey.
2484
+ *
2485
+ * See {@link UpdateUserEmail}
2486
+ */
2487
+ const signUpdateUserEmail = (input, options) => base.signedRequest({
2488
+ uri: "/public/v1/submit/update_user_email",
2489
+ body: input.body,
2490
+ options,
2491
+ });
2492
+ /**
2493
+ * Update user's name
2494
+ *
2495
+ * Update a user's name in an existing organization.
2496
+ *
2497
+ * `POST /public/v1/submit/update_user_name`
2498
+ */
2499
+ const updateUserName = (input) => base.request({
2500
+ uri: "/public/v1/submit/update_user_name",
2501
+ method: "POST",
2502
+ body: input.body,
2503
+ });
2504
+ /**
2505
+ * Request a WebAuthn assertion and return a signed `UpdateUserName` request, ready to be POSTed to ZeroXKey.
2506
+ *
2507
+ * See {@link UpdateUserName}
2508
+ */
2509
+ const signUpdateUserName = (input, options) => base.signedRequest({
2510
+ uri: "/public/v1/submit/update_user_name",
2511
+ body: input.body,
2512
+ options,
2513
+ });
2514
+ /**
2515
+ * Update user's phone number
2516
+ *
2517
+ * Update a user's phone number in an existing organization.
2518
+ *
2519
+ * `POST /public/v1/submit/update_user_phone_number`
2520
+ */
2521
+ const updateUserPhoneNumber = (input) => base.request({
2522
+ uri: "/public/v1/submit/update_user_phone_number",
2523
+ method: "POST",
2524
+ body: input.body,
2525
+ });
2526
+ /**
2527
+ * Request a WebAuthn assertion and return a signed `UpdateUserPhoneNumber` request, ready to be POSTed to ZeroXKey.
2528
+ *
2529
+ * See {@link UpdateUserPhoneNumber}
2530
+ */
2531
+ const signUpdateUserPhoneNumber = (input, options) => base.signedRequest({
2532
+ uri: "/public/v1/submit/update_user_phone_number",
2533
+ body: input.body,
2534
+ options,
2535
+ });
2536
+ /**
2537
+ * Update user tag
2538
+ *
2539
+ * Update human-readable name or associated users. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
2540
+ *
2541
+ * `POST /public/v1/submit/update_user_tag`
2542
+ */
2543
+ const updateUserTag = (input) => base.request({
2544
+ uri: "/public/v1/submit/update_user_tag",
2545
+ method: "POST",
2546
+ body: input.body,
2547
+ });
2548
+ /**
2549
+ * Request a WebAuthn assertion and return a signed `UpdateUserTag` request, ready to be POSTed to ZeroXKey.
2550
+ *
2551
+ * See {@link UpdateUserTag}
2552
+ */
2553
+ const signUpdateUserTag = (input, options) => base.signedRequest({
2554
+ uri: "/public/v1/submit/update_user_tag",
2555
+ body: input.body,
2556
+ options,
2557
+ });
2558
+ /**
2559
+ * Update wallet
2560
+ *
2561
+ * Update a wallet for an organization.
2562
+ *
2563
+ * `POST /public/v1/submit/update_wallet`
2564
+ */
2565
+ const updateWallet = (input) => base.request({
2566
+ uri: "/public/v1/submit/update_wallet",
2567
+ method: "POST",
2568
+ body: input.body,
2569
+ });
2570
+ /**
2571
+ * Request a WebAuthn assertion and return a signed `UpdateWallet` request, ready to be POSTed to ZeroXKey.
2572
+ *
2573
+ * See {@link UpdateWallet}
2574
+ */
2575
+ const signUpdateWallet = (input, options) => base.signedRequest({
2576
+ uri: "/public/v1/submit/update_wallet",
2577
+ body: input.body,
2578
+ options,
2579
+ });
2580
+ /**
2581
+ * Update webhook endpoint
2582
+ *
2583
+ * Update a webhook endpoint for an organization.
2584
+ *
2585
+ * `POST /public/v1/submit/update_webhook_endpoint`
2586
+ */
2587
+ const updateWebhookEndpoint = (input) => base.request({
2588
+ uri: "/public/v1/submit/update_webhook_endpoint",
2589
+ method: "POST",
2590
+ body: input.body,
2591
+ });
2592
+ /**
2593
+ * Request a WebAuthn assertion and return a signed `UpdateWebhookEndpoint` request, ready to be POSTed to ZeroXKey.
2594
+ *
2595
+ * See {@link UpdateWebhookEndpoint}
2596
+ */
2597
+ const signUpdateWebhookEndpoint = (input, options) => base.signedRequest({
2598
+ uri: "/public/v1/submit/update_webhook_endpoint",
2599
+ body: input.body,
2600
+ options,
2601
+ });
2602
+ /**
2603
+ * Verify generic OTP
2604
+ *
2605
+ * Verify a generic OTP.
2606
+ *
2607
+ * `POST /public/v1/submit/verify_otp`
2608
+ */
2609
+ const verifyOtp = (input) => base.request({
2610
+ uri: "/public/v1/submit/verify_otp",
2611
+ method: "POST",
2612
+ body: input.body,
2613
+ });
2614
+ /**
2615
+ * Request a WebAuthn assertion and return a signed `VerifyOtp` request, ready to be POSTed to ZeroXKey.
2616
+ *
2617
+ * See {@link VerifyOtp}
2618
+ */
2619
+ const signVerifyOtp = (input, options) => base.signedRequest({
2620
+ uri: "/public/v1/submit/verify_otp",
2621
+ body: input.body,
2622
+ options,
2623
+ });
2624
+ /**
2625
+ * `POST /api/v1/noop-codegen-anchor`
2626
+ */
2627
+ const nOOPCodegenAnchor = () => base.request({
2628
+ uri: "/api/v1/noop-codegen-anchor",
2629
+ method: "POST",
2630
+ });
2631
+ /**
2632
+ * Request a WebAuthn assertion and return a signed `NOOPCodegenAnchor` request, ready to be POSTed to ZeroXKey.
2633
+ *
2634
+ * See {@link NOOPCodegenAnchor}
2635
+ */
2636
+ const signNOOPCodegenAnchor = () => base.signedRequest({
2637
+ uri: "/api/v1/noop-codegen-anchor",
2638
+ });
2639
+
2640
+ exports.approveActivity = approveActivity;
2641
+ exports.createApiKeys = createApiKeys;
2642
+ exports.createApiOnlyUsers = createApiOnlyUsers;
2643
+ exports.createAuthenticators = createAuthenticators;
2644
+ exports.createFiatOnRampCredential = createFiatOnRampCredential;
2645
+ exports.createInvitations = createInvitations;
2646
+ exports.createOauth2Credential = createOauth2Credential;
2647
+ exports.createOauthProviders = createOauthProviders;
2648
+ exports.createPolicies = createPolicies;
2649
+ exports.createPolicy = createPolicy;
2650
+ exports.createPrivateKeyTag = createPrivateKeyTag;
2651
+ exports.createPrivateKeys = createPrivateKeys;
2652
+ exports.createReadOnlySession = createReadOnlySession;
2653
+ exports.createReadWriteSession = createReadWriteSession;
2654
+ exports.createSmartContractInterface = createSmartContractInterface;
2655
+ exports.createSubOrganization = createSubOrganization;
2656
+ exports.createUserTag = createUserTag;
2657
+ exports.createUsers = createUsers;
2658
+ exports.createWallet = createWallet;
2659
+ exports.createWalletAccounts = createWalletAccounts;
2660
+ exports.createWebhookEndpoint = createWebhookEndpoint;
2661
+ exports.deleteApiKeys = deleteApiKeys;
2662
+ exports.deleteAuthenticators = deleteAuthenticators;
2663
+ exports.deleteFiatOnRampCredential = deleteFiatOnRampCredential;
2664
+ exports.deleteInvitation = deleteInvitation;
2665
+ exports.deleteOauth2Credential = deleteOauth2Credential;
2666
+ exports.deleteOauthProviders = deleteOauthProviders;
2667
+ exports.deletePolicies = deletePolicies;
2668
+ exports.deletePolicy = deletePolicy;
2669
+ exports.deletePrivateKeyTags = deletePrivateKeyTags;
2670
+ exports.deletePrivateKeys = deletePrivateKeys;
2671
+ exports.deleteSmartContractInterface = deleteSmartContractInterface;
2672
+ exports.deleteSubOrganization = deleteSubOrganization;
2673
+ exports.deleteUserTags = deleteUserTags;
2674
+ exports.deleteUsers = deleteUsers;
2675
+ exports.deleteWalletAccounts = deleteWalletAccounts;
2676
+ exports.deleteWallets = deleteWallets;
2677
+ exports.deleteWebhookEndpoint = deleteWebhookEndpoint;
2678
+ exports.emailAuth = emailAuth;
2679
+ exports.ethSendTransaction = ethSendTransaction;
2680
+ exports.exportPrivateKey = exportPrivateKey;
2681
+ exports.exportWallet = exportWallet;
2682
+ exports.exportWalletAccount = exportWalletAccount;
2683
+ exports.getActivities = getActivities;
2684
+ exports.getActivity = getActivity;
2685
+ exports.getApiKey = getApiKey;
2686
+ exports.getApiKeys = getApiKeys;
2687
+ exports.getAppProofs = getAppProofs;
2688
+ exports.getAppStatus = getAppStatus;
2689
+ exports.getAuthenticator = getAuthenticator;
2690
+ exports.getAuthenticators = getAuthenticators;
2691
+ exports.getBootProof = getBootProof;
2692
+ exports.getGasUsage = getGasUsage;
2693
+ exports.getLatestBootProof = getLatestBootProof;
2694
+ exports.getNonces = getNonces;
2695
+ exports.getOauth2Credential = getOauth2Credential;
2696
+ exports.getOauthProviders = getOauthProviders;
2697
+ exports.getOnRampTransactionStatus = getOnRampTransactionStatus;
2698
+ exports.getOrganizationConfigs = getOrganizationConfigs;
2699
+ exports.getPolicies = getPolicies;
2700
+ exports.getPolicy = getPolicy;
2701
+ exports.getPolicyEvaluations = getPolicyEvaluations;
2702
+ exports.getPrivateKey = getPrivateKey;
2703
+ exports.getPrivateKeys = getPrivateKeys;
2704
+ exports.getSendTransactionStatus = getSendTransactionStatus;
2705
+ exports.getSmartContractInterface = getSmartContractInterface;
2706
+ exports.getSmartContractInterfaces = getSmartContractInterfaces;
2707
+ exports.getSubOrgIds = getSubOrgIds;
2708
+ exports.getUser = getUser;
2709
+ exports.getUsers = getUsers;
2710
+ exports.getVerifiedSubOrgIds = getVerifiedSubOrgIds;
2711
+ exports.getWallet = getWallet;
2712
+ exports.getWalletAccount = getWalletAccount;
2713
+ exports.getWalletAccounts = getWalletAccounts;
2714
+ exports.getWalletAddressBalances = getWalletAddressBalances;
2715
+ exports.getWallets = getWallets;
2716
+ exports.getWhoami = getWhoami;
2717
+ exports.importPrivateKey = importPrivateKey;
2718
+ exports.importWallet = importWallet;
2719
+ exports.initFiatOnRamp = initFiatOnRamp;
2720
+ exports.initImportPrivateKey = initImportPrivateKey;
2721
+ exports.initImportWallet = initImportWallet;
2722
+ exports.initOtp = initOtp;
2723
+ exports.initOtpAuth = initOtpAuth;
2724
+ exports.initUserEmailRecovery = initUserEmailRecovery;
2725
+ exports.listFiatOnRampCredentials = listFiatOnRampCredentials;
2726
+ exports.listOauth2Credentials = listOauth2Credentials;
2727
+ exports.listPrivateKeyTags = listPrivateKeyTags;
2728
+ exports.listSupportedAssets = listSupportedAssets;
2729
+ exports.listUserTags = listUserTags;
2730
+ exports.listWebhookEndpoints = listWebhookEndpoints;
2731
+ exports.nOOPCodegenAnchor = nOOPCodegenAnchor;
2732
+ exports.oauth = oauth;
2733
+ exports.oauth2Authenticate = oauth2Authenticate;
2734
+ exports.oauthLogin = oauthLogin;
2735
+ exports.otpAuth = otpAuth;
2736
+ exports.otpLogin = otpLogin;
2737
+ exports.recoverUser = recoverUser;
2738
+ exports.rejectActivity = rejectActivity;
2739
+ exports.removeOrganizationFeature = removeOrganizationFeature;
2740
+ exports.setOrganizationFeature = setOrganizationFeature;
2741
+ exports.signApproveActivity = signApproveActivity;
2742
+ exports.signCreateApiKeys = signCreateApiKeys;
2743
+ exports.signCreateApiOnlyUsers = signCreateApiOnlyUsers;
2744
+ exports.signCreateAuthenticators = signCreateAuthenticators;
2745
+ exports.signCreateFiatOnRampCredential = signCreateFiatOnRampCredential;
2746
+ exports.signCreateInvitations = signCreateInvitations;
2747
+ exports.signCreateOauth2Credential = signCreateOauth2Credential;
2748
+ exports.signCreateOauthProviders = signCreateOauthProviders;
2749
+ exports.signCreatePolicies = signCreatePolicies;
2750
+ exports.signCreatePolicy = signCreatePolicy;
2751
+ exports.signCreatePrivateKeyTag = signCreatePrivateKeyTag;
2752
+ exports.signCreatePrivateKeys = signCreatePrivateKeys;
2753
+ exports.signCreateReadOnlySession = signCreateReadOnlySession;
2754
+ exports.signCreateReadWriteSession = signCreateReadWriteSession;
2755
+ exports.signCreateSmartContractInterface = signCreateSmartContractInterface;
2756
+ exports.signCreateSubOrganization = signCreateSubOrganization;
2757
+ exports.signCreateUserTag = signCreateUserTag;
2758
+ exports.signCreateUsers = signCreateUsers;
2759
+ exports.signCreateWallet = signCreateWallet;
2760
+ exports.signCreateWalletAccounts = signCreateWalletAccounts;
2761
+ exports.signCreateWebhookEndpoint = signCreateWebhookEndpoint;
2762
+ exports.signDeleteApiKeys = signDeleteApiKeys;
2763
+ exports.signDeleteAuthenticators = signDeleteAuthenticators;
2764
+ exports.signDeleteFiatOnRampCredential = signDeleteFiatOnRampCredential;
2765
+ exports.signDeleteInvitation = signDeleteInvitation;
2766
+ exports.signDeleteOauth2Credential = signDeleteOauth2Credential;
2767
+ exports.signDeleteOauthProviders = signDeleteOauthProviders;
2768
+ exports.signDeletePolicies = signDeletePolicies;
2769
+ exports.signDeletePolicy = signDeletePolicy;
2770
+ exports.signDeletePrivateKeyTags = signDeletePrivateKeyTags;
2771
+ exports.signDeletePrivateKeys = signDeletePrivateKeys;
2772
+ exports.signDeleteSmartContractInterface = signDeleteSmartContractInterface;
2773
+ exports.signDeleteSubOrganization = signDeleteSubOrganization;
2774
+ exports.signDeleteUserTags = signDeleteUserTags;
2775
+ exports.signDeleteUsers = signDeleteUsers;
2776
+ exports.signDeleteWalletAccounts = signDeleteWalletAccounts;
2777
+ exports.signDeleteWallets = signDeleteWallets;
2778
+ exports.signDeleteWebhookEndpoint = signDeleteWebhookEndpoint;
2779
+ exports.signEmailAuth = signEmailAuth;
2780
+ exports.signEthSendTransaction = signEthSendTransaction;
2781
+ exports.signExportPrivateKey = signExportPrivateKey;
2782
+ exports.signExportWallet = signExportWallet;
2783
+ exports.signExportWalletAccount = signExportWalletAccount;
2784
+ exports.signGetActivities = signGetActivities;
2785
+ exports.signGetActivity = signGetActivity;
2786
+ exports.signGetApiKey = signGetApiKey;
2787
+ exports.signGetApiKeys = signGetApiKeys;
2788
+ exports.signGetAppProofs = signGetAppProofs;
2789
+ exports.signGetAppStatus = signGetAppStatus;
2790
+ exports.signGetAuthenticator = signGetAuthenticator;
2791
+ exports.signGetAuthenticators = signGetAuthenticators;
2792
+ exports.signGetBootProof = signGetBootProof;
2793
+ exports.signGetGasUsage = signGetGasUsage;
2794
+ exports.signGetLatestBootProof = signGetLatestBootProof;
2795
+ exports.signGetNonces = signGetNonces;
2796
+ exports.signGetOauth2Credential = signGetOauth2Credential;
2797
+ exports.signGetOauthProviders = signGetOauthProviders;
2798
+ exports.signGetOnRampTransactionStatus = signGetOnRampTransactionStatus;
2799
+ exports.signGetOrganizationConfigs = signGetOrganizationConfigs;
2800
+ exports.signGetPolicies = signGetPolicies;
2801
+ exports.signGetPolicy = signGetPolicy;
2802
+ exports.signGetPolicyEvaluations = signGetPolicyEvaluations;
2803
+ exports.signGetPrivateKey = signGetPrivateKey;
2804
+ exports.signGetPrivateKeys = signGetPrivateKeys;
2805
+ exports.signGetSendTransactionStatus = signGetSendTransactionStatus;
2806
+ exports.signGetSmartContractInterface = signGetSmartContractInterface;
2807
+ exports.signGetSmartContractInterfaces = signGetSmartContractInterfaces;
2808
+ exports.signGetSubOrgIds = signGetSubOrgIds;
2809
+ exports.signGetUser = signGetUser;
2810
+ exports.signGetUsers = signGetUsers;
2811
+ exports.signGetVerifiedSubOrgIds = signGetVerifiedSubOrgIds;
2812
+ exports.signGetWallet = signGetWallet;
2813
+ exports.signGetWalletAccount = signGetWalletAccount;
2814
+ exports.signGetWalletAccounts = signGetWalletAccounts;
2815
+ exports.signGetWalletAddressBalances = signGetWalletAddressBalances;
2816
+ exports.signGetWallets = signGetWallets;
2817
+ exports.signGetWhoami = signGetWhoami;
2818
+ exports.signImportPrivateKey = signImportPrivateKey;
2819
+ exports.signImportWallet = signImportWallet;
2820
+ exports.signInitFiatOnRamp = signInitFiatOnRamp;
2821
+ exports.signInitImportPrivateKey = signInitImportPrivateKey;
2822
+ exports.signInitImportWallet = signInitImportWallet;
2823
+ exports.signInitOtp = signInitOtp;
2824
+ exports.signInitOtpAuth = signInitOtpAuth;
2825
+ exports.signInitUserEmailRecovery = signInitUserEmailRecovery;
2826
+ exports.signListFiatOnRampCredentials = signListFiatOnRampCredentials;
2827
+ exports.signListOauth2Credentials = signListOauth2Credentials;
2828
+ exports.signListPrivateKeyTags = signListPrivateKeyTags;
2829
+ exports.signListSupportedAssets = signListSupportedAssets;
2830
+ exports.signListUserTags = signListUserTags;
2831
+ exports.signListWebhookEndpoints = signListWebhookEndpoints;
2832
+ exports.signNOOPCodegenAnchor = signNOOPCodegenAnchor;
2833
+ exports.signOauth = signOauth;
2834
+ exports.signOauth2Authenticate = signOauth2Authenticate;
2835
+ exports.signOauthLogin = signOauthLogin;
2836
+ exports.signOtpAuth = signOtpAuth;
2837
+ exports.signOtpLogin = signOtpLogin;
2838
+ exports.signRawPayload = signRawPayload;
2839
+ exports.signRawPayloads = signRawPayloads;
2840
+ exports.signRecoverUser = signRecoverUser;
2841
+ exports.signRejectActivity = signRejectActivity;
2842
+ exports.signRemoveOrganizationFeature = signRemoveOrganizationFeature;
2843
+ exports.signSetOrganizationFeature = signSetOrganizationFeature;
2844
+ exports.signSignRawPayload = signSignRawPayload;
2845
+ exports.signSignRawPayloads = signSignRawPayloads;
2846
+ exports.signSignTransaction = signSignTransaction;
2847
+ exports.signSolSendTransaction = signSolSendTransaction;
2848
+ exports.signStampLogin = signStampLogin;
2849
+ exports.signTransaction = signTransaction;
2850
+ exports.signUpdateFiatOnRampCredential = signUpdateFiatOnRampCredential;
2851
+ exports.signUpdateOauth2Credential = signUpdateOauth2Credential;
2852
+ exports.signUpdateOrganizationName = signUpdateOrganizationName;
2853
+ exports.signUpdatePolicy = signUpdatePolicy;
2854
+ exports.signUpdatePrivateKeyTag = signUpdatePrivateKeyTag;
2855
+ exports.signUpdateRootQuorum = signUpdateRootQuorum;
2856
+ exports.signUpdateUser = signUpdateUser;
2857
+ exports.signUpdateUserEmail = signUpdateUserEmail;
2858
+ exports.signUpdateUserName = signUpdateUserName;
2859
+ exports.signUpdateUserPhoneNumber = signUpdateUserPhoneNumber;
2860
+ exports.signUpdateUserTag = signUpdateUserTag;
2861
+ exports.signUpdateWallet = signUpdateWallet;
2862
+ exports.signUpdateWebhookEndpoint = signUpdateWebhookEndpoint;
2863
+ exports.signVerifyOtp = signVerifyOtp;
2864
+ exports.solSendTransaction = solSendTransaction;
2865
+ exports.stampLogin = stampLogin;
2866
+ exports.updateFiatOnRampCredential = updateFiatOnRampCredential;
2867
+ exports.updateOauth2Credential = updateOauth2Credential;
2868
+ exports.updateOrganizationName = updateOrganizationName;
2869
+ exports.updatePolicy = updatePolicy;
2870
+ exports.updatePrivateKeyTag = updatePrivateKeyTag;
2871
+ exports.updateRootQuorum = updateRootQuorum;
2872
+ exports.updateUser = updateUser;
2873
+ exports.updateUserEmail = updateUserEmail;
2874
+ exports.updateUserName = updateUserName;
2875
+ exports.updateUserPhoneNumber = updateUserPhoneNumber;
2876
+ exports.updateUserTag = updateUserTag;
2877
+ exports.updateWallet = updateWallet;
2878
+ exports.updateWebhookEndpoint = updateWebhookEndpoint;
2879
+ exports.verifyOtp = verifyOtp;
2880
+ //# sourceMappingURL=public_api.fetcher.js.map