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