@turnkey/sdk-browser 0.0.1

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 (64) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +201 -0
  3. package/README.md +38 -0
  4. package/dist/__generated__/sdk-client-base.d.ts +73 -0
  5. package/dist/__generated__/sdk-client-base.d.ts.map +1 -0
  6. package/dist/__generated__/sdk-client-base.js +600 -0
  7. package/dist/__generated__/sdk-client-base.js.map +1 -0
  8. package/dist/__generated__/sdk-client-base.mjs +598 -0
  9. package/dist/__generated__/sdk-client-base.mjs.map +1 -0
  10. package/dist/__generated__/sdk_api_types.d.ts +319 -0
  11. package/dist/__generated__/sdk_api_types.d.ts.map +1 -0
  12. package/dist/__generated__/version.d.ts +2 -0
  13. package/dist/__generated__/version.d.ts.map +1 -0
  14. package/dist/__generated__/version.js +6 -0
  15. package/dist/__generated__/version.js.map +1 -0
  16. package/dist/__generated__/version.mjs +4 -0
  17. package/dist/__generated__/version.mjs.map +1 -0
  18. package/dist/__inputs__/public_api.types.d.ts +3303 -0
  19. package/dist/__inputs__/public_api.types.d.ts.map +1 -0
  20. package/dist/__types__/base.d.ts +71 -0
  21. package/dist/__types__/base.d.ts.map +1 -0
  22. package/dist/__types__/base.js +23 -0
  23. package/dist/__types__/base.js.map +1 -0
  24. package/dist/__types__/base.mjs +21 -0
  25. package/dist/__types__/base.mjs.map +1 -0
  26. package/dist/constants.d.ts +4 -0
  27. package/dist/constants.d.ts.map +1 -0
  28. package/dist/constants.js +18 -0
  29. package/dist/constants.js.map +1 -0
  30. package/dist/constants.mjs +15 -0
  31. package/dist/constants.mjs.map +1 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.d.ts.map +1 -0
  34. package/dist/index.js +60 -0
  35. package/dist/index.js.map +1 -0
  36. package/dist/index.mjs +7 -0
  37. package/dist/index.mjs.map +1 -0
  38. package/dist/models.d.ts +20 -0
  39. package/dist/models.d.ts.map +1 -0
  40. package/dist/sdk-client.d.ts +42 -0
  41. package/dist/sdk-client.d.ts.map +1 -0
  42. package/dist/sdk-client.js +263 -0
  43. package/dist/sdk-client.js.map +1 -0
  44. package/dist/sdk-client.mjs +260 -0
  45. package/dist/sdk-client.mjs.map +1 -0
  46. package/dist/storage.d.ts +16 -0
  47. package/dist/storage.d.ts.map +1 -0
  48. package/dist/storage.js +47 -0
  49. package/dist/storage.js.map +1 -0
  50. package/dist/storage.mjs +43 -0
  51. package/dist/storage.mjs.map +1 -0
  52. package/dist/turnkey-helpers.d.ts +10 -0
  53. package/dist/turnkey-helpers.d.ts.map +1 -0
  54. package/dist/turnkey-helpers.js +17 -0
  55. package/dist/turnkey-helpers.js.map +1 -0
  56. package/dist/turnkey-helpers.mjs +14 -0
  57. package/dist/turnkey-helpers.mjs.map +1 -0
  58. package/dist/utils.d.ts +4 -0
  59. package/dist/utils.d.ts.map +1 -0
  60. package/dist/utils.js +21 -0
  61. package/dist/utils.js.map +1 -0
  62. package/dist/utils.mjs +18 -0
  63. package/dist/utils.mjs.map +1 -0
  64. package/package.json +61 -0
@@ -0,0 +1,3303 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export type paths = {
6
+ "/public/v1/query/get_activity": {
7
+ /** Get details about an Activity */
8
+ post: operations["PublicApiService_GetActivity"];
9
+ };
10
+ "/public/v1/query/get_api_key": {
11
+ /** Get details about an API key */
12
+ post: operations["PublicApiService_GetApiKey"];
13
+ };
14
+ "/public/v1/query/get_api_keys": {
15
+ /** Get details about API keys for a user */
16
+ post: operations["PublicApiService_GetApiKeys"];
17
+ };
18
+ "/public/v1/query/get_authenticator": {
19
+ /** Get details about an authenticator */
20
+ post: operations["PublicApiService_GetAuthenticator"];
21
+ };
22
+ "/public/v1/query/get_authenticators": {
23
+ /** Get details about authenticators for a user */
24
+ post: operations["PublicApiService_GetAuthenticators"];
25
+ };
26
+ "/public/v1/query/get_organization": {
27
+ /** Get details about an Organization */
28
+ post: operations["PublicApiService_GetOrganization"];
29
+ };
30
+ "/public/v1/query/get_policy": {
31
+ /** Get details about a Policy */
32
+ post: operations["PublicApiService_GetPolicy"];
33
+ };
34
+ "/public/v1/query/get_private_key": {
35
+ /** Get details about a Private Key */
36
+ post: operations["PublicApiService_GetPrivateKey"];
37
+ };
38
+ "/public/v1/query/get_user": {
39
+ /** Get details about a User */
40
+ post: operations["PublicApiService_GetUser"];
41
+ };
42
+ "/public/v1/query/get_wallet": {
43
+ /** Get details about a Wallet */
44
+ post: operations["PublicApiService_GetWallet"];
45
+ };
46
+ "/public/v1/query/list_activities": {
47
+ /** List all Activities within an Organization */
48
+ post: operations["PublicApiService_GetActivities"];
49
+ };
50
+ "/public/v1/query/list_policies": {
51
+ /** List all Policies within an Organization */
52
+ post: operations["PublicApiService_GetPolicies"];
53
+ };
54
+ "/public/v1/query/list_private_key_tags": {
55
+ /** List all Private Key Tags within an Organization */
56
+ post: operations["PublicApiService_ListPrivateKeyTags"];
57
+ };
58
+ "/public/v1/query/list_private_keys": {
59
+ /** List all Private Keys within an Organization */
60
+ post: operations["PublicApiService_GetPrivateKeys"];
61
+ };
62
+ "/public/v1/query/list_suborgs": {
63
+ /** Get all suborg IDs associated given a parent org ID and an optional filter. */
64
+ post: operations["PublicApiService_GetSubOrgIds"];
65
+ };
66
+ "/public/v1/query/list_user_tags": {
67
+ /** List all User Tags within an Organization */
68
+ post: operations["PublicApiService_ListUserTags"];
69
+ };
70
+ "/public/v1/query/list_users": {
71
+ /** List all Users within an Organization */
72
+ post: operations["PublicApiService_GetUsers"];
73
+ };
74
+ "/public/v1/query/list_wallet_accounts": {
75
+ /** List all Accounts wirhin a Wallet */
76
+ post: operations["PublicApiService_GetWalletAccounts"];
77
+ };
78
+ "/public/v1/query/list_wallets": {
79
+ /** List all Wallets within an Organization */
80
+ post: operations["PublicApiService_GetWallets"];
81
+ };
82
+ "/public/v1/query/whoami": {
83
+ /** 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. */
84
+ post: operations["PublicApiService_GetWhoami"];
85
+ };
86
+ "/public/v1/submit/approve_activity": {
87
+ /** Approve an Activity */
88
+ post: operations["PublicApiService_ApproveActivity"];
89
+ };
90
+ "/public/v1/submit/create_api_keys": {
91
+ /** Add api keys to an existing User */
92
+ post: operations["PublicApiService_CreateApiKeys"];
93
+ };
94
+ "/public/v1/submit/create_api_only_users": {
95
+ /** Create API-only Users in an existing Organization */
96
+ post: operations["PublicApiService_CreateApiOnlyUsers"];
97
+ };
98
+ "/public/v1/submit/create_authenticators": {
99
+ /** Create Authenticators to authenticate requests to Turnkey */
100
+ post: operations["PublicApiService_CreateAuthenticators"];
101
+ };
102
+ "/public/v1/submit/create_invitations": {
103
+ /** Create Invitations to join an existing Organization */
104
+ post: operations["PublicApiService_CreateInvitations"];
105
+ };
106
+ "/public/v1/submit/create_policies": {
107
+ /** Create new Policies */
108
+ post: operations["PublicApiService_CreatePolicies"];
109
+ };
110
+ "/public/v1/submit/create_policy": {
111
+ /** Create a new Policy */
112
+ post: operations["PublicApiService_CreatePolicy"];
113
+ };
114
+ "/public/v1/submit/create_private_key_tag": {
115
+ /** Create a private key tag and add it to private keys. */
116
+ post: operations["PublicApiService_CreatePrivateKeyTag"];
117
+ };
118
+ "/public/v1/submit/create_private_keys": {
119
+ /** Create new Private Keys */
120
+ post: operations["PublicApiService_CreatePrivateKeys"];
121
+ };
122
+ "/public/v1/submit/create_read_only_session": {
123
+ /** Create a read only session for a user (valid for 1 hour) */
124
+ post: operations["PublicApiService_CreateReadOnlySession"];
125
+ };
126
+ "/public/v1/submit/create_sub_organization": {
127
+ /** Create a new Sub-Organization */
128
+ post: operations["PublicApiService_CreateSubOrganization"];
129
+ };
130
+ "/public/v1/submit/create_user_tag": {
131
+ /** Create a user tag and add it to users. */
132
+ post: operations["PublicApiService_CreateUserTag"];
133
+ };
134
+ "/public/v1/submit/create_users": {
135
+ /** Create Users in an existing Organization */
136
+ post: operations["PublicApiService_CreateUsers"];
137
+ };
138
+ "/public/v1/submit/create_wallet": {
139
+ /** Create a Wallet and derive addresses */
140
+ post: operations["PublicApiService_CreateWallet"];
141
+ };
142
+ "/public/v1/submit/create_wallet_accounts": {
143
+ /** Derive additional addresses using an existing wallet */
144
+ post: operations["PublicApiService_CreateWalletAccounts"];
145
+ };
146
+ "/public/v1/submit/delete_api_keys": {
147
+ /** Remove api keys from a User */
148
+ post: operations["PublicApiService_DeleteApiKeys"];
149
+ };
150
+ "/public/v1/submit/delete_authenticators": {
151
+ /** Remove authenticators from a User */
152
+ post: operations["PublicApiService_DeleteAuthenticators"];
153
+ };
154
+ "/public/v1/submit/delete_invitation": {
155
+ /** Delete an existing Invitation */
156
+ post: operations["PublicApiService_DeleteInvitation"];
157
+ };
158
+ "/public/v1/submit/delete_policy": {
159
+ /** Delete an existing Policy */
160
+ post: operations["PublicApiService_DeletePolicy"];
161
+ };
162
+ "/public/v1/submit/delete_private_key_tags": {
163
+ /** Delete Private Key Tags within an Organization */
164
+ post: operations["PublicApiService_DeletePrivateKeyTags"];
165
+ };
166
+ "/public/v1/submit/delete_user_tags": {
167
+ /** Delete User Tags within an Organization */
168
+ post: operations["PublicApiService_DeleteUserTags"];
169
+ };
170
+ "/public/v1/submit/delete_users": {
171
+ /** Delete Users within an Organization */
172
+ post: operations["PublicApiService_DeleteUsers"];
173
+ };
174
+ "/public/v1/submit/email_auth": {
175
+ /** Authenticate a user via Email */
176
+ post: operations["PublicApiService_EmailAuth"];
177
+ };
178
+ "/public/v1/submit/export_private_key": {
179
+ /** Exports a Private Key */
180
+ post: operations["PublicApiService_ExportPrivateKey"];
181
+ };
182
+ "/public/v1/submit/export_wallet": {
183
+ /** Exports a Wallet */
184
+ post: operations["PublicApiService_ExportWallet"];
185
+ };
186
+ "/public/v1/submit/export_wallet_account": {
187
+ /** Exports a Wallet Account */
188
+ post: operations["PublicApiService_ExportWalletAccount"];
189
+ };
190
+ "/public/v1/submit/import_private_key": {
191
+ /** Imports a private key */
192
+ post: operations["PublicApiService_ImportPrivateKey"];
193
+ };
194
+ "/public/v1/submit/import_wallet": {
195
+ /** Imports a wallet */
196
+ post: operations["PublicApiService_ImportWallet"];
197
+ };
198
+ "/public/v1/submit/init_import_private_key": {
199
+ /** Initializes a new private key import */
200
+ post: operations["PublicApiService_InitImportPrivateKey"];
201
+ };
202
+ "/public/v1/submit/init_import_wallet": {
203
+ /** Initializes a new wallet import */
204
+ post: operations["PublicApiService_InitImportWallet"];
205
+ };
206
+ "/public/v1/submit/init_user_email_recovery": {
207
+ /** Initializes a new email recovery */
208
+ post: operations["PublicApiService_InitUserEmailRecovery"];
209
+ };
210
+ "/public/v1/submit/recover_user": {
211
+ /** Completes the process of recovering a user by adding an authenticator */
212
+ post: operations["PublicApiService_RecoverUser"];
213
+ };
214
+ "/public/v1/submit/reject_activity": {
215
+ /** Reject an Activity */
216
+ post: operations["PublicApiService_RejectActivity"];
217
+ };
218
+ "/public/v1/submit/remove_organization_feature": {
219
+ /** Removes an organization feature */
220
+ post: operations["PublicApiService_RemoveOrganizationFeature"];
221
+ };
222
+ "/public/v1/submit/set_organization_feature": {
223
+ /** Sets an organization feature */
224
+ post: operations["PublicApiService_SetOrganizationFeature"];
225
+ };
226
+ "/public/v1/submit/sign_raw_payload": {
227
+ /** Sign a raw payload */
228
+ post: operations["PublicApiService_SignRawPayload"];
229
+ };
230
+ "/public/v1/submit/sign_raw_payloads": {
231
+ /** Sign multiple raw payloads with the same signing parameters */
232
+ post: operations["PublicApiService_SignRawPayloads"];
233
+ };
234
+ "/public/v1/submit/sign_transaction": {
235
+ /** Sign a transaction */
236
+ post: operations["PublicApiService_SignTransaction"];
237
+ };
238
+ "/public/v1/submit/update_policy": {
239
+ /** Update an existing Policy */
240
+ post: operations["PublicApiService_UpdatePolicy"];
241
+ };
242
+ "/public/v1/submit/update_private_key_tag": {
243
+ /** 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. */
244
+ post: operations["PublicApiService_UpdatePrivateKeyTag"];
245
+ };
246
+ "/public/v1/submit/update_root_quorum": {
247
+ /** Set the threshold and members of the root quorum. This must be approved by the current root quorum. */
248
+ post: operations["PublicApiService_UpdateRootQuorum"];
249
+ };
250
+ "/public/v1/submit/update_user": {
251
+ /** Update a User in an existing Organization */
252
+ post: operations["PublicApiService_UpdateUser"];
253
+ };
254
+ "/public/v1/submit/update_user_tag": {
255
+ /** 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. */
256
+ post: operations["PublicApiService_UpdateUserTag"];
257
+ };
258
+ "/tkhq/api/v1/noop-codegen-anchor": {
259
+ post: operations["PublicApiService_NOOPCodegenAnchor"];
260
+ };
261
+ };
262
+ export type definitions = {
263
+ datav1Tag: {
264
+ /** @description Unique identifier for a given Tag. */
265
+ tagId: string;
266
+ /** @description Human-readable name for a Tag. */
267
+ tagName: string;
268
+ tagType: definitions["v1TagType"];
269
+ createdAt: definitions["externaldatav1Timestamp"];
270
+ updatedAt: definitions["externaldatav1Timestamp"];
271
+ };
272
+ externaldatav1Address: {
273
+ format?: definitions["v1AddressFormat"];
274
+ address?: string;
275
+ };
276
+ externaldatav1Credential: {
277
+ /** @description The public component of a cryptographic key pair used to sign messages and transactions. */
278
+ publicKey: string;
279
+ type: definitions["v1CredentialType"];
280
+ };
281
+ externaldatav1Quorum: {
282
+ /**
283
+ * Format: int32
284
+ * @description Count of unique approvals required to meet quorum.
285
+ */
286
+ threshold: number;
287
+ /** @description Unique identifiers of quorum set members. */
288
+ userIds: string[];
289
+ };
290
+ externaldatav1Timestamp: {
291
+ seconds: string;
292
+ nanos: string;
293
+ };
294
+ immutableactivityv1Address: {
295
+ format?: definitions["v1AddressFormat"];
296
+ address?: string;
297
+ };
298
+ protobufAny: {
299
+ "@type"?: string;
300
+ } & {
301
+ [key: string]: unknown;
302
+ };
303
+ rpcStatus: {
304
+ /** Format: int32 */
305
+ code?: number;
306
+ message?: string;
307
+ details?: definitions["protobufAny"][];
308
+ };
309
+ v1AcceptInvitationIntent: {
310
+ /** @description Unique identifier for a given Invitation object. */
311
+ invitationId: string;
312
+ /** @description Unique identifier for a given User. */
313
+ userId: string;
314
+ /** @description WebAuthN hardware devices that can be used to log in to the Turnkey web app. */
315
+ authenticator: definitions["v1AuthenticatorParams"];
316
+ };
317
+ v1AcceptInvitationIntentV2: {
318
+ /** @description Unique identifier for a given Invitation object. */
319
+ invitationId: string;
320
+ /** @description Unique identifier for a given User. */
321
+ userId: string;
322
+ /** @description WebAuthN hardware devices that can be used to log in to the Turnkey web app. */
323
+ authenticator: definitions["v1AuthenticatorParamsV2"];
324
+ };
325
+ v1AcceptInvitationResult: {
326
+ /** @description Unique identifier for a given Invitation. */
327
+ invitationId: string;
328
+ /** @description Unique identifier for a given User. */
329
+ userId: string;
330
+ };
331
+ /** @enum {string} */
332
+ v1AccessType: "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
333
+ v1ActivateBillingTierIntent: {
334
+ /** @description The product that the customer wants to subscribe to. */
335
+ productId: string;
336
+ };
337
+ v1ActivateBillingTierResult: {
338
+ /** @description The id of the product being subscribed to. */
339
+ productId: string;
340
+ };
341
+ v1Activity: {
342
+ /** @description Unique identifier for a given Activity object. */
343
+ id: string;
344
+ /** @description Unique identifier for a given Organization. */
345
+ organizationId: string;
346
+ /** @description The current processing status of a specified Activity. */
347
+ status: definitions["v1ActivityStatus"];
348
+ /** @description Type of Activity, such as Add User, or Sign Transaction. */
349
+ type: definitions["v1ActivityType"];
350
+ /** @description Intent object crafted by Turnkey based on the user request, used to assess the permissibility of an action. */
351
+ intent: definitions["v1Intent"];
352
+ /** @description Result of the intended action. */
353
+ result: definitions["v1Result"];
354
+ /** @description A list of objects representing a particular User's approval or rejection of a Consensus request, including all relevant metadata. */
355
+ votes: definitions["v1Vote"][];
356
+ /** @description An artifact verifying a User's action. */
357
+ fingerprint: string;
358
+ canApprove: boolean;
359
+ canReject: boolean;
360
+ createdAt: definitions["externaldatav1Timestamp"];
361
+ updatedAt: definitions["externaldatav1Timestamp"];
362
+ };
363
+ v1ActivityResponse: {
364
+ /** @description An action that can that can be taken within the Turnkey infrastructure. */
365
+ activity: definitions["v1Activity"];
366
+ };
367
+ /** @enum {string} */
368
+ v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
369
+ /** @enum {string} */
370
+ v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION";
371
+ /** @enum {string} */
372
+ v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON";
373
+ v1ApiKey: {
374
+ /** @description A User credential that can be used to authenticate to Turnkey. */
375
+ credential: definitions["externaldatav1Credential"];
376
+ /** @description Unique identifier for a given API Key. */
377
+ apiKeyId: string;
378
+ /** @description Human-readable name for an API Key. */
379
+ apiKeyName: string;
380
+ createdAt: definitions["externaldatav1Timestamp"];
381
+ updatedAt: definitions["externaldatav1Timestamp"];
382
+ /**
383
+ * Format: uint64
384
+ * @description Optional window (in seconds) indicating how long the API Key should last.
385
+ */
386
+ expirationSeconds?: string;
387
+ };
388
+ v1ApiKeyParams: {
389
+ /** @description Human-readable name for an API Key. */
390
+ apiKeyName: string;
391
+ /** @description The public component of a cryptographic key pair used to sign messages and transactions. */
392
+ publicKey: string;
393
+ /** @description Optional window (in seconds) indicating how long the API Key should last. */
394
+ expirationSeconds?: string;
395
+ };
396
+ v1ApiOnlyUserParams: {
397
+ /** @description The name of the new API-only User. */
398
+ userName: string;
399
+ /** @description The email address for this API-only User (optional). */
400
+ userEmail?: string;
401
+ /** @description A list of tags assigned to the new API-only User. */
402
+ userTags: string[];
403
+ /** @description A list of API Key parameters. */
404
+ apiKeys: definitions["v1ApiKeyParams"][];
405
+ };
406
+ v1ApproveActivityIntent: {
407
+ /** @description An artifact verifying a User's action. */
408
+ fingerprint: string;
409
+ };
410
+ v1ApproveActivityRequest: {
411
+ /** @enum {string} */
412
+ type: "ACTIVITY_TYPE_APPROVE_ACTIVITY";
413
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
414
+ timestampMs: string;
415
+ /** @description Unique identifier for a given Organization. */
416
+ organizationId: string;
417
+ parameters: definitions["v1ApproveActivityIntent"];
418
+ };
419
+ v1Attestation: {
420
+ /** @description The cbor encoded then base64 url encoded id of the credential. */
421
+ credentialId: string;
422
+ /** @description A base64 url encoded payload containing metadata about the signing context and the challenge. */
423
+ clientDataJson: string;
424
+ /** @description A base64 url encoded payload containing authenticator data and any attestation the webauthn provider chooses. */
425
+ attestationObject: string;
426
+ /** @description The type of authenticator transports. */
427
+ transports: definitions["v1AuthenticatorTransport"][];
428
+ };
429
+ v1Authenticator: {
430
+ /** @description Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE). */
431
+ transports: definitions["v1AuthenticatorTransport"][];
432
+ attestationType: string;
433
+ /** @description Identifier indicating the type of the Security Key. */
434
+ aaguid: string;
435
+ /** @description Unique identifier for a WebAuthn credential. */
436
+ credentialId: string;
437
+ /** @description The type of Authenticator device. */
438
+ model: string;
439
+ /** @description A User credential that can be used to authenticate to Turnkey. */
440
+ credential: definitions["externaldatav1Credential"];
441
+ /** @description Unique identifier for a given Authenticator. */
442
+ authenticatorId: string;
443
+ /** @description Human-readable name for an Authenticator. */
444
+ authenticatorName: string;
445
+ createdAt: definitions["externaldatav1Timestamp"];
446
+ updatedAt: definitions["externaldatav1Timestamp"];
447
+ };
448
+ v1AuthenticatorAttestationResponse: {
449
+ clientDataJson: string;
450
+ attestationObject: string;
451
+ transports?: definitions["v1AuthenticatorTransport"][];
452
+ /** @enum {string} */
453
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
454
+ };
455
+ v1AuthenticatorParams: {
456
+ /** @description Human-readable name for an Authenticator. */
457
+ authenticatorName: string;
458
+ /** @description Unique identifier for a given User. */
459
+ userId: string;
460
+ attestation: definitions["v1PublicKeyCredentialWithAttestation"];
461
+ /** @description Challenge presented for authentication purposes. */
462
+ challenge: string;
463
+ };
464
+ v1AuthenticatorParamsV2: {
465
+ /** @description Human-readable name for an Authenticator. */
466
+ authenticatorName: string;
467
+ /** @description Challenge presented for authentication purposes. */
468
+ challenge: string;
469
+ /** @description The attestation that proves custody of the authenticator and provides metadata about it. */
470
+ attestation: definitions["v1Attestation"];
471
+ };
472
+ /** @enum {string} */
473
+ v1AuthenticatorTransport: "AUTHENTICATOR_TRANSPORT_BLE" | "AUTHENTICATOR_TRANSPORT_INTERNAL" | "AUTHENTICATOR_TRANSPORT_NFC" | "AUTHENTICATOR_TRANSPORT_USB" | "AUTHENTICATOR_TRANSPORT_HYBRID";
474
+ v1CreateApiKeysIntent: {
475
+ /** @description A list of API Keys. */
476
+ apiKeys: definitions["v1ApiKeyParams"][];
477
+ /** @description Unique identifier for a given User. */
478
+ userId: string;
479
+ };
480
+ v1CreateApiKeysRequest: {
481
+ /** @enum {string} */
482
+ type: "ACTIVITY_TYPE_CREATE_API_KEYS";
483
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
484
+ timestampMs: string;
485
+ /** @description Unique identifier for a given Organization. */
486
+ organizationId: string;
487
+ parameters: definitions["v1CreateApiKeysIntent"];
488
+ };
489
+ v1CreateApiKeysResult: {
490
+ /** @description A list of API Key IDs. */
491
+ apiKeyIds: string[];
492
+ };
493
+ v1CreateApiOnlyUsersIntent: {
494
+ /** @description A list of API-only Users to create. */
495
+ apiOnlyUsers: definitions["v1ApiOnlyUserParams"][];
496
+ };
497
+ v1CreateApiOnlyUsersRequest: {
498
+ /** @enum {string} */
499
+ type: "ACTIVITY_TYPE_CREATE_API_ONLY_USERS";
500
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
501
+ timestampMs: string;
502
+ /** @description Unique identifier for a given Organization. */
503
+ organizationId: string;
504
+ parameters: definitions["v1CreateApiOnlyUsersIntent"];
505
+ };
506
+ v1CreateApiOnlyUsersResult: {
507
+ /** @description A list of API-only User IDs. */
508
+ userIds: string[];
509
+ };
510
+ v1CreateAuthenticatorsIntent: {
511
+ /** @description A list of Authenticators. */
512
+ authenticators: definitions["v1AuthenticatorParams"][];
513
+ /** @description Unique identifier for a given User. */
514
+ userId: string;
515
+ };
516
+ v1CreateAuthenticatorsIntentV2: {
517
+ /** @description A list of Authenticators. */
518
+ authenticators: definitions["v1AuthenticatorParamsV2"][];
519
+ /** @description Unique identifier for a given User. */
520
+ userId: string;
521
+ };
522
+ v1CreateAuthenticatorsRequest: {
523
+ /** @enum {string} */
524
+ type: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2";
525
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
526
+ timestampMs: string;
527
+ /** @description Unique identifier for a given Organization. */
528
+ organizationId: string;
529
+ parameters: definitions["v1CreateAuthenticatorsIntentV2"];
530
+ };
531
+ v1CreateAuthenticatorsResult: {
532
+ /** @description A list of Authenticator IDs. */
533
+ authenticatorIds: string[];
534
+ };
535
+ v1CreateInvitationsIntent: {
536
+ /** @description A list of Invitations. */
537
+ invitations: definitions["v1InvitationParams"][];
538
+ };
539
+ v1CreateInvitationsRequest: {
540
+ /** @enum {string} */
541
+ type: "ACTIVITY_TYPE_CREATE_INVITATIONS";
542
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
543
+ timestampMs: string;
544
+ /** @description Unique identifier for a given Organization. */
545
+ organizationId: string;
546
+ parameters: definitions["v1CreateInvitationsIntent"];
547
+ };
548
+ v1CreateInvitationsResult: {
549
+ /** @description A list of Invitation IDs */
550
+ invitationIds: string[];
551
+ };
552
+ v1CreateOrganizationIntent: {
553
+ /** @description Human-readable name for an Organization. */
554
+ organizationName: string;
555
+ /** @description The root user's email address. */
556
+ rootEmail: string;
557
+ /** @description The root user's Authenticator. */
558
+ rootAuthenticator: definitions["v1AuthenticatorParams"];
559
+ /** @description Unique identifier for the root user object. */
560
+ rootUserId?: string;
561
+ };
562
+ v1CreateOrganizationIntentV2: {
563
+ /** @description Human-readable name for an Organization. */
564
+ organizationName: string;
565
+ /** @description The root user's email address. */
566
+ rootEmail: string;
567
+ /** @description The root user's Authenticator. */
568
+ rootAuthenticator: definitions["v1AuthenticatorParamsV2"];
569
+ /** @description Unique identifier for the root user object. */
570
+ rootUserId?: string;
571
+ };
572
+ v1CreateOrganizationResult: {
573
+ /** @description Unique identifier for a given Organization. */
574
+ organizationId: string;
575
+ };
576
+ v1CreatePoliciesIntent: {
577
+ /** @description An array of policy intents to be created. */
578
+ policies: definitions["v1CreatePolicyIntentV3"][];
579
+ };
580
+ v1CreatePoliciesRequest: {
581
+ /** @enum {string} */
582
+ type: "ACTIVITY_TYPE_CREATE_POLICIES";
583
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
584
+ timestampMs: string;
585
+ /** @description Unique identifier for a given Organization. */
586
+ organizationId: string;
587
+ parameters: definitions["v1CreatePoliciesIntent"];
588
+ };
589
+ v1CreatePoliciesResult: {
590
+ /** @description A list of unique identifiers for the created policies. */
591
+ policyIds: string[];
592
+ };
593
+ v1CreatePolicyIntent: {
594
+ /** @description Human-readable name for a Policy. */
595
+ policyName: string;
596
+ /** @description A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details. */
597
+ selectors: definitions["v1Selector"][];
598
+ /** @description The instruction to DENY or ALLOW a particular activity following policy selector(s). */
599
+ effect: definitions["v1Effect"];
600
+ notes?: string;
601
+ };
602
+ v1CreatePolicyIntentV2: {
603
+ /** @description Human-readable name for a Policy. */
604
+ policyName: string;
605
+ /** @description A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details. */
606
+ selectors: definitions["v1SelectorV2"][];
607
+ /** @description Whether to ALLOW or DENY requests that match the condition and consensus requirements. */
608
+ effect: definitions["v1Effect"];
609
+ notes?: string;
610
+ };
611
+ v1CreatePolicyIntentV3: {
612
+ /** @description Human-readable name for a Policy. */
613
+ policyName: string;
614
+ /** @description The instruction to DENY or ALLOW an activity. */
615
+ effect: definitions["v1Effect"];
616
+ /** @description The condition expression that triggers the Effect */
617
+ condition?: string;
618
+ /** @description The consensus expression that triggers the Effect */
619
+ consensus?: string;
620
+ notes?: string;
621
+ };
622
+ v1CreatePolicyRequest: {
623
+ /** @enum {string} */
624
+ type: "ACTIVITY_TYPE_CREATE_POLICY_V3";
625
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
626
+ timestampMs: string;
627
+ /** @description Unique identifier for a given Organization. */
628
+ organizationId: string;
629
+ parameters: definitions["v1CreatePolicyIntentV3"];
630
+ };
631
+ v1CreatePolicyResult: {
632
+ /** @description Unique identifier for a given Policy. */
633
+ policyId: string;
634
+ };
635
+ v1CreatePrivateKeyTagIntent: {
636
+ /** @description Human-readable name for a Private Key Tag. */
637
+ privateKeyTagName: string;
638
+ /** @description A list of Private Key IDs. */
639
+ privateKeyIds: string[];
640
+ };
641
+ v1CreatePrivateKeyTagRequest: {
642
+ /** @enum {string} */
643
+ type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG";
644
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
645
+ timestampMs: string;
646
+ /** @description Unique identifier for a given Organization. */
647
+ organizationId: string;
648
+ parameters: definitions["v1CreatePrivateKeyTagIntent"];
649
+ };
650
+ v1CreatePrivateKeyTagResult: {
651
+ /** @description Unique identifier for a given Private Key Tag. */
652
+ privateKeyTagId: string;
653
+ /** @description A list of Private Key IDs. */
654
+ privateKeyIds: string[];
655
+ };
656
+ v1CreatePrivateKeysIntent: {
657
+ /** @description A list of Private Keys. */
658
+ privateKeys: definitions["v1PrivateKeyParams"][];
659
+ };
660
+ v1CreatePrivateKeysIntentV2: {
661
+ /** @description A list of Private Keys. */
662
+ privateKeys: definitions["v1PrivateKeyParams"][];
663
+ };
664
+ v1CreatePrivateKeysRequest: {
665
+ /** @enum {string} */
666
+ type: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2";
667
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
668
+ timestampMs: string;
669
+ /** @description Unique identifier for a given Organization. */
670
+ organizationId: string;
671
+ parameters: definitions["v1CreatePrivateKeysIntentV2"];
672
+ };
673
+ v1CreatePrivateKeysResult: {
674
+ /** @description A list of Private Key IDs. */
675
+ privateKeyIds: string[];
676
+ };
677
+ v1CreatePrivateKeysResultV2: {
678
+ /** @description A list of Private Key IDs and addresses. */
679
+ privateKeys: definitions["v1PrivateKeyResult"][];
680
+ };
681
+ v1CreateReadOnlySessionIntent: {
682
+ [key: string]: unknown;
683
+ };
684
+ v1CreateReadOnlySessionRequest: {
685
+ /** @enum {string} */
686
+ type: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION";
687
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
688
+ timestampMs: string;
689
+ /** @description Unique identifier for a given Organization. */
690
+ organizationId: string;
691
+ parameters: definitions["v1CreateReadOnlySessionIntent"];
692
+ };
693
+ v1CreateReadOnlySessionResult: {
694
+ /** @description Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons. */
695
+ organizationId: string;
696
+ /** @description Human-readable name for an Organization. */
697
+ organizationName: string;
698
+ /** @description Unique identifier for a given User. */
699
+ userId: string;
700
+ /** @description Human-readable name for a User. */
701
+ username: string;
702
+ /** @description String representing a read only session */
703
+ session: string;
704
+ /**
705
+ * Format: uint64
706
+ * @description UTC timestamp in seconds representing the expiry time for the read only session.
707
+ */
708
+ sessionExpiry: string;
709
+ };
710
+ v1CreateSubOrganizationIntent: {
711
+ /** @description Name for this sub-organization */
712
+ name: string;
713
+ /** @description Root User authenticator for this new sub-organization */
714
+ rootAuthenticator: definitions["v1AuthenticatorParamsV2"];
715
+ };
716
+ v1CreateSubOrganizationIntentV2: {
717
+ /** @description Name for this sub-organization */
718
+ subOrganizationName: string;
719
+ /** @description Root users to create within this sub-organization */
720
+ rootUsers: definitions["v1RootUserParams"][];
721
+ /**
722
+ * Format: int32
723
+ * @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
724
+ */
725
+ rootQuorumThreshold: number;
726
+ };
727
+ v1CreateSubOrganizationIntentV3: {
728
+ /** @description Name for this sub-organization */
729
+ subOrganizationName: string;
730
+ /** @description Root users to create within this sub-organization */
731
+ rootUsers: definitions["v1RootUserParams"][];
732
+ /**
733
+ * Format: int32
734
+ * @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
735
+ */
736
+ rootQuorumThreshold: number;
737
+ /** @description A list of Private Keys. */
738
+ privateKeys: definitions["v1PrivateKeyParams"][];
739
+ };
740
+ v1CreateSubOrganizationIntentV4: {
741
+ /** @description Name for this sub-organization */
742
+ subOrganizationName: string;
743
+ /** @description Root users to create within this sub-organization */
744
+ rootUsers: definitions["v1RootUserParams"][];
745
+ /**
746
+ * Format: int32
747
+ * @description The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
748
+ */
749
+ rootQuorumThreshold: number;
750
+ /** @description The wallet to create for the sub-organization */
751
+ wallet?: definitions["v1WalletParams"];
752
+ /** @description Disable email recovery for the sub-organization */
753
+ disableEmailRecovery?: boolean;
754
+ /** @description Disable email auth for the sub-organization */
755
+ disableEmailAuth?: boolean;
756
+ };
757
+ v1CreateSubOrganizationRequest: {
758
+ /** @enum {string} */
759
+ type: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4";
760
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
761
+ timestampMs: string;
762
+ /** @description Unique identifier for a given Organization. */
763
+ organizationId: string;
764
+ parameters: definitions["v1CreateSubOrganizationIntentV4"];
765
+ };
766
+ v1CreateSubOrganizationResult: {
767
+ subOrganizationId: string;
768
+ rootUserIds?: string[];
769
+ };
770
+ v1CreateSubOrganizationResultV3: {
771
+ subOrganizationId: string;
772
+ /** @description A list of Private Key IDs and addresses. */
773
+ privateKeys: definitions["v1PrivateKeyResult"][];
774
+ rootUserIds?: string[];
775
+ };
776
+ v1CreateSubOrganizationResultV4: {
777
+ subOrganizationId: string;
778
+ wallet?: definitions["v1WalletResult"];
779
+ rootUserIds?: string[];
780
+ };
781
+ v1CreateUserTagIntent: {
782
+ /** @description Human-readable name for a User Tag. */
783
+ userTagName: string;
784
+ /** @description A list of User IDs. */
785
+ userIds: string[];
786
+ };
787
+ v1CreateUserTagRequest: {
788
+ /** @enum {string} */
789
+ type: "ACTIVITY_TYPE_CREATE_USER_TAG";
790
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
791
+ timestampMs: string;
792
+ /** @description Unique identifier for a given Organization. */
793
+ organizationId: string;
794
+ parameters: definitions["v1CreateUserTagIntent"];
795
+ };
796
+ v1CreateUserTagResult: {
797
+ /** @description Unique identifier for a given User Tag. */
798
+ userTagId: string;
799
+ /** @description A list of User IDs. */
800
+ userIds: string[];
801
+ };
802
+ v1CreateUsersIntent: {
803
+ /** @description A list of Users. */
804
+ users: definitions["v1UserParams"][];
805
+ };
806
+ v1CreateUsersIntentV2: {
807
+ /** @description A list of Users. */
808
+ users: definitions["v1UserParamsV2"][];
809
+ };
810
+ v1CreateUsersRequest: {
811
+ /** @enum {string} */
812
+ type: "ACTIVITY_TYPE_CREATE_USERS_V2";
813
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
814
+ timestampMs: string;
815
+ /** @description Unique identifier for a given Organization. */
816
+ organizationId: string;
817
+ parameters: definitions["v1CreateUsersIntentV2"];
818
+ };
819
+ v1CreateUsersResult: {
820
+ /** @description A list of User IDs. */
821
+ userIds: string[];
822
+ };
823
+ v1CreateWalletAccountsIntent: {
824
+ /** @description Unique identifier for a given Wallet. */
825
+ walletId: string;
826
+ /** @description A list of wallet Accounts. */
827
+ accounts: definitions["v1WalletAccountParams"][];
828
+ };
829
+ v1CreateWalletAccountsRequest: {
830
+ /** @enum {string} */
831
+ type: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS";
832
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
833
+ timestampMs: string;
834
+ /** @description Unique identifier for a given Organization. */
835
+ organizationId: string;
836
+ parameters: definitions["v1CreateWalletAccountsIntent"];
837
+ };
838
+ v1CreateWalletAccountsResult: {
839
+ /** @description A list of derived addresses. */
840
+ addresses: string[];
841
+ };
842
+ v1CreateWalletIntent: {
843
+ /** @description Human-readable name for a Wallet. */
844
+ walletName: string;
845
+ /** @description A list of wallet Accounts. */
846
+ accounts: definitions["v1WalletAccountParams"][];
847
+ /**
848
+ * Format: int32
849
+ * @description Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24.
850
+ */
851
+ mnemonicLength?: number;
852
+ };
853
+ v1CreateWalletRequest: {
854
+ /** @enum {string} */
855
+ type: "ACTIVITY_TYPE_CREATE_WALLET";
856
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
857
+ timestampMs: string;
858
+ /** @description Unique identifier for a given Organization. */
859
+ organizationId: string;
860
+ parameters: definitions["v1CreateWalletIntent"];
861
+ };
862
+ v1CreateWalletResult: {
863
+ /** @description Unique identifier for a Wallet. */
864
+ walletId: string;
865
+ /** @description A list of account addresses. */
866
+ addresses: string[];
867
+ };
868
+ v1CredPropsAuthenticationExtensionsClientOutputs: {
869
+ rk: boolean;
870
+ };
871
+ /** @enum {string} */
872
+ v1CredentialType: "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256" | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256";
873
+ /** @enum {string} */
874
+ v1Curve: "CURVE_SECP256K1" | "CURVE_ED25519";
875
+ v1DeleteApiKeysIntent: {
876
+ /** @description Unique identifier for a given User. */
877
+ userId: string;
878
+ /** @description A list of API Key IDs. */
879
+ apiKeyIds: string[];
880
+ };
881
+ v1DeleteApiKeysRequest: {
882
+ /** @enum {string} */
883
+ type: "ACTIVITY_TYPE_DELETE_API_KEYS";
884
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
885
+ timestampMs: string;
886
+ /** @description Unique identifier for a given Organization. */
887
+ organizationId: string;
888
+ parameters: definitions["v1DeleteApiKeysIntent"];
889
+ };
890
+ v1DeleteApiKeysResult: {
891
+ /** @description A list of API Key IDs. */
892
+ apiKeyIds: string[];
893
+ };
894
+ v1DeleteAuthenticatorsIntent: {
895
+ /** @description Unique identifier for a given User. */
896
+ userId: string;
897
+ /** @description A list of Authenticator IDs. */
898
+ authenticatorIds: string[];
899
+ };
900
+ v1DeleteAuthenticatorsRequest: {
901
+ /** @enum {string} */
902
+ type: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS";
903
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
904
+ timestampMs: string;
905
+ /** @description Unique identifier for a given Organization. */
906
+ organizationId: string;
907
+ parameters: definitions["v1DeleteAuthenticatorsIntent"];
908
+ };
909
+ v1DeleteAuthenticatorsResult: {
910
+ /** @description Unique identifier for a given Authenticator. */
911
+ authenticatorIds: string[];
912
+ };
913
+ v1DeleteInvitationIntent: {
914
+ /** @description Unique identifier for a given Invitation object. */
915
+ invitationId: string;
916
+ };
917
+ v1DeleteInvitationRequest: {
918
+ /** @enum {string} */
919
+ type: "ACTIVITY_TYPE_DELETE_INVITATION";
920
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
921
+ timestampMs: string;
922
+ /** @description Unique identifier for a given Organization. */
923
+ organizationId: string;
924
+ parameters: definitions["v1DeleteInvitationIntent"];
925
+ };
926
+ v1DeleteInvitationResult: {
927
+ /** @description Unique identifier for a given Invitation. */
928
+ invitationId: string;
929
+ };
930
+ v1DeleteOrganizationIntent: {
931
+ /** @description Unique identifier for a given Organization. */
932
+ organizationId: string;
933
+ };
934
+ v1DeleteOrganizationResult: {
935
+ /** @description Unique identifier for a given Organization. */
936
+ organizationId: string;
937
+ };
938
+ v1DeletePaymentMethodIntent: {
939
+ /** @description The payment method that the customer wants to remove. */
940
+ paymentMethodId: string;
941
+ };
942
+ v1DeletePaymentMethodResult: {
943
+ /** @description The payment method that was removed. */
944
+ paymentMethodId: string;
945
+ };
946
+ v1DeletePolicyIntent: {
947
+ /** @description Unique identifier for a given Policy. */
948
+ policyId: string;
949
+ };
950
+ v1DeletePolicyRequest: {
951
+ /** @enum {string} */
952
+ type: "ACTIVITY_TYPE_DELETE_POLICY";
953
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
954
+ timestampMs: string;
955
+ /** @description Unique identifier for a given Organization. */
956
+ organizationId: string;
957
+ parameters: definitions["v1DeletePolicyIntent"];
958
+ };
959
+ v1DeletePolicyResult: {
960
+ /** @description Unique identifier for a given Policy. */
961
+ policyId: string;
962
+ };
963
+ v1DeletePrivateKeyTagsIntent: {
964
+ /** @description A list of Private Key Tag IDs. */
965
+ privateKeyTagIds: string[];
966
+ };
967
+ v1DeletePrivateKeyTagsRequest: {
968
+ /** @enum {string} */
969
+ type: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS";
970
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
971
+ timestampMs: string;
972
+ /** @description Unique identifier for a given Organization. */
973
+ organizationId: string;
974
+ parameters: definitions["v1DeletePrivateKeyTagsIntent"];
975
+ };
976
+ v1DeletePrivateKeyTagsResult: {
977
+ /** @description A list of Private Key Tag IDs. */
978
+ privateKeyTagIds: string[];
979
+ /** @description A list of Private Key IDs. */
980
+ privateKeyIds: string[];
981
+ };
982
+ v1DeleteUserTagsIntent: {
983
+ /** @description A list of User Tag IDs. */
984
+ userTagIds: string[];
985
+ };
986
+ v1DeleteUserTagsRequest: {
987
+ /** @enum {string} */
988
+ type: "ACTIVITY_TYPE_DELETE_USER_TAGS";
989
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
990
+ timestampMs: string;
991
+ /** @description Unique identifier for a given Organization. */
992
+ organizationId: string;
993
+ parameters: definitions["v1DeleteUserTagsIntent"];
994
+ };
995
+ v1DeleteUserTagsResult: {
996
+ /** @description A list of User Tag IDs. */
997
+ userTagIds: string[];
998
+ /** @description A list of User IDs. */
999
+ userIds: string[];
1000
+ };
1001
+ v1DeleteUsersIntent: {
1002
+ /** @description A list of User IDs. */
1003
+ userIds: string[];
1004
+ };
1005
+ v1DeleteUsersRequest: {
1006
+ /** @enum {string} */
1007
+ type: "ACTIVITY_TYPE_DELETE_USERS";
1008
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1009
+ timestampMs: string;
1010
+ /** @description Unique identifier for a given Organization. */
1011
+ organizationId: string;
1012
+ parameters: definitions["v1DeleteUsersIntent"];
1013
+ };
1014
+ v1DeleteUsersResult: {
1015
+ /** @description A list of User IDs. */
1016
+ userIds: string[];
1017
+ };
1018
+ v1DisablePrivateKeyIntent: {
1019
+ /** @description Unique identifier for a given Private Key. */
1020
+ privateKeyId: string;
1021
+ };
1022
+ v1DisablePrivateKeyResult: {
1023
+ /** @description Unique identifier for a given Private Key. */
1024
+ privateKeyId: string;
1025
+ };
1026
+ /** @enum {string} */
1027
+ v1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
1028
+ v1EmailAuthIntent: {
1029
+ /** @description Email of the authenticating user. */
1030
+ email: string;
1031
+ /** @description Client-side public key generated by the user, to which the email auth bundle (credentials) will be encrypted. */
1032
+ targetPublicKey: string;
1033
+ /** @description Optional human-readable name for an API Key. If none provided, default to Email Auth - <Timestamp> */
1034
+ apiKeyName?: string;
1035
+ /** @description Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used. */
1036
+ expirationSeconds?: string;
1037
+ /** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
1038
+ emailCustomization?: definitions["v1EmailCustomizationParams"];
1039
+ };
1040
+ v1EmailAuthRequest: {
1041
+ /** @enum {string} */
1042
+ type: "ACTIVITY_TYPE_EMAIL_AUTH";
1043
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1044
+ timestampMs: string;
1045
+ /** @description Unique identifier for a given Organization. */
1046
+ organizationId: string;
1047
+ parameters: definitions["v1EmailAuthIntent"];
1048
+ };
1049
+ v1EmailAuthResult: {
1050
+ /** @description Unique identifier for the authenticating User. */
1051
+ userId: string;
1052
+ /** @description Unique identifier for the created API key. */
1053
+ apiKeyId: string;
1054
+ };
1055
+ v1EmailCustomizationParams: {
1056
+ /** @description The name of the application. */
1057
+ appName?: string;
1058
+ /** @description A URL pointing to a logo in PNG format. Note this logo will be resized to fit into 340px x 124px. */
1059
+ logoUrl?: string;
1060
+ /** @description A template for the URL to be used in a magic link button, e.g. `https://dapp.xyz/%s`. The auth bundle will be interpolated into the `%s`. */
1061
+ magicLinkTemplate?: string;
1062
+ /** @description JSON object containing key/value pairs to be used with custom templates. */
1063
+ templateVariables?: string;
1064
+ /** @description Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template. */
1065
+ templateId?: string;
1066
+ };
1067
+ v1ExportPrivateKeyIntent: {
1068
+ /** @description Unique identifier for a given Private Key. */
1069
+ privateKeyId: string;
1070
+ /** @description Client-side public key generated by the user, to which the export bundle will be encrypted. */
1071
+ targetPublicKey: string;
1072
+ };
1073
+ v1ExportPrivateKeyRequest: {
1074
+ /** @enum {string} */
1075
+ type: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY";
1076
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1077
+ timestampMs: string;
1078
+ /** @description Unique identifier for a given Organization. */
1079
+ organizationId: string;
1080
+ parameters: definitions["v1ExportPrivateKeyIntent"];
1081
+ };
1082
+ v1ExportPrivateKeyResult: {
1083
+ /** @description Unique identifier for a given Private Key. */
1084
+ privateKeyId: string;
1085
+ /** @description Export bundle containing a private key encrypted to the client's target public key. */
1086
+ exportBundle: string;
1087
+ };
1088
+ v1ExportWalletAccountIntent: {
1089
+ /** @description Address to identify Wallet Account. */
1090
+ address: string;
1091
+ /** @description Client-side public key generated by the user, to which the export bundle will be encrypted. */
1092
+ targetPublicKey: string;
1093
+ };
1094
+ v1ExportWalletAccountRequest: {
1095
+ /** @enum {string} */
1096
+ type: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT";
1097
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1098
+ timestampMs: string;
1099
+ /** @description Unique identifier for a given Organization. */
1100
+ organizationId: string;
1101
+ parameters: definitions["v1ExportWalletAccountIntent"];
1102
+ };
1103
+ v1ExportWalletAccountResult: {
1104
+ /** @description Address to identify Wallet Account. */
1105
+ address: string;
1106
+ /** @description Export bundle containing a private key encrypted by the client's target public key. */
1107
+ exportBundle: string;
1108
+ };
1109
+ v1ExportWalletIntent: {
1110
+ /** @description Unique identifier for a given Wallet. */
1111
+ walletId: string;
1112
+ /** @description Client-side public key generated by the user, to which the export bundle will be encrypted. */
1113
+ targetPublicKey: string;
1114
+ /** @description The language of the mnemonic to export. Defaults to English. */
1115
+ language?: definitions["v1MnemonicLanguage"];
1116
+ };
1117
+ v1ExportWalletRequest: {
1118
+ /** @enum {string} */
1119
+ type: "ACTIVITY_TYPE_EXPORT_WALLET";
1120
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1121
+ timestampMs: string;
1122
+ /** @description Unique identifier for a given Organization. */
1123
+ organizationId: string;
1124
+ parameters: definitions["v1ExportWalletIntent"];
1125
+ };
1126
+ v1ExportWalletResult: {
1127
+ /** @description Unique identifier for a given Wallet. */
1128
+ walletId: string;
1129
+ /** @description Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client's target public key. */
1130
+ exportBundle: string;
1131
+ };
1132
+ v1Feature: {
1133
+ name?: definitions["v1FeatureName"];
1134
+ value?: string;
1135
+ };
1136
+ /** @enum {string} */
1137
+ v1FeatureName: "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY" | "FEATURE_NAME_WEBAUTHN_ORIGINS" | "FEATURE_NAME_EMAIL_AUTH" | "FEATURE_NAME_EMAIL_RECOVERY" | "FEATURE_NAME_WEBHOOK";
1138
+ v1GetActivitiesRequest: {
1139
+ /** @description Unique identifier for a given Organization. */
1140
+ organizationId: string;
1141
+ /** @description Array of Activity Statuses filtering which Activities will be listed in the response. */
1142
+ filterByStatus?: definitions["v1ActivityStatus"][];
1143
+ /** @description Parameters used for cursor-based pagination. */
1144
+ paginationOptions?: definitions["v1Pagination"];
1145
+ /** @description Array of Activity Types filtering which Activities will be listed in the response. */
1146
+ filterByType?: definitions["v1ActivityType"][];
1147
+ };
1148
+ v1GetActivitiesResponse: {
1149
+ /** @description A list of Activities. */
1150
+ activities: definitions["v1Activity"][];
1151
+ };
1152
+ v1GetActivityRequest: {
1153
+ /** @description Unique identifier for a given Organization. */
1154
+ organizationId: string;
1155
+ /** @description Unique identifier for a given Activity object. */
1156
+ activityId: string;
1157
+ };
1158
+ v1GetApiKeyRequest: {
1159
+ /** @description Unique identifier for a given Organization. */
1160
+ organizationId: string;
1161
+ /** @description Unique identifier for a given API key. */
1162
+ apiKeyId: string;
1163
+ };
1164
+ v1GetApiKeyResponse: {
1165
+ /** @description An API key. */
1166
+ apiKey: definitions["v1ApiKey"];
1167
+ };
1168
+ v1GetApiKeysRequest: {
1169
+ /** @description Unique identifier for a given Organization. */
1170
+ organizationId: string;
1171
+ /** @description Unique identifier for a given User. */
1172
+ userId?: string;
1173
+ };
1174
+ v1GetApiKeysResponse: {
1175
+ /** @description A list of API keys. */
1176
+ apiKeys: definitions["v1ApiKey"][];
1177
+ };
1178
+ v1GetAuthenticatorRequest: {
1179
+ /** @description Unique identifier for a given Organization. */
1180
+ organizationId: string;
1181
+ /** @description Unique identifier for a given Authenticator. */
1182
+ authenticatorId: string;
1183
+ };
1184
+ v1GetAuthenticatorResponse: {
1185
+ /** @description An authenticator. */
1186
+ authenticator: definitions["v1Authenticator"];
1187
+ };
1188
+ v1GetAuthenticatorsRequest: {
1189
+ /** @description Unique identifier for a given Organization. */
1190
+ organizationId: string;
1191
+ /** @description Unique identifier for a given User. */
1192
+ userId: string;
1193
+ };
1194
+ v1GetAuthenticatorsResponse: {
1195
+ /** @description A list of authenticators. */
1196
+ authenticators: definitions["v1Authenticator"][];
1197
+ };
1198
+ v1GetOrganizationRequest: {
1199
+ /** @description Unique identifier for a given Organization. */
1200
+ organizationId: string;
1201
+ };
1202
+ v1GetOrganizationResponse: {
1203
+ /** @description Object representing the full current and deleted / disabled collection of Users, Policies, Private Keys, and Invitations attributable to a particular Organization. */
1204
+ organizationData: definitions["v1OrganizationData"];
1205
+ };
1206
+ v1GetPoliciesRequest: {
1207
+ /** @description Unique identifier for a given Organization. */
1208
+ organizationId: string;
1209
+ };
1210
+ v1GetPoliciesResponse: {
1211
+ /** @description A list of Policies. */
1212
+ policies: definitions["v1Policy"][];
1213
+ };
1214
+ v1GetPolicyRequest: {
1215
+ /** @description Unique identifier for a given Organization. */
1216
+ organizationId: string;
1217
+ /** @description Unique identifier for a given Policy. */
1218
+ policyId: string;
1219
+ };
1220
+ v1GetPolicyResponse: {
1221
+ /** @description Object that codifies rules defining the actions that are permissible within an Organization. */
1222
+ policy: definitions["v1Policy"];
1223
+ };
1224
+ v1GetPrivateKeyRequest: {
1225
+ /** @description Unique identifier for a given Organization. */
1226
+ organizationId: string;
1227
+ /** @description Unique identifier for a given Private Key. */
1228
+ privateKeyId: string;
1229
+ };
1230
+ v1GetPrivateKeyResponse: {
1231
+ /** @description Cryptographic public/private key pair that can be used for cryptocurrency needs or more generalized encryption. */
1232
+ privateKey: definitions["v1PrivateKey"];
1233
+ };
1234
+ v1GetPrivateKeysRequest: {
1235
+ /** @description Unique identifier for a given Organization. */
1236
+ organizationId: string;
1237
+ };
1238
+ v1GetPrivateKeysResponse: {
1239
+ /** @description A list of Private Keys. */
1240
+ privateKeys: definitions["v1PrivateKey"][];
1241
+ };
1242
+ v1GetSubOrgIdsRequest: {
1243
+ /** @description Unique identifier for the parent Organization. This is used to find sub-organizations within it. */
1244
+ organizationId: string;
1245
+ /** @description Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL' or 'PUBLIC_KEY' */
1246
+ filterType?: string;
1247
+ /** @description The value of the filter to apply for the specified type. For example, a specific email or name string. */
1248
+ filterValue?: string;
1249
+ /** @description Parameters used for cursor-based pagination. */
1250
+ paginationOptions?: definitions["v1Pagination"];
1251
+ };
1252
+ v1GetSubOrgIdsResponse: {
1253
+ /** @description List of unique identifiers for the matching sub-organizations. */
1254
+ organizationIds: string[];
1255
+ };
1256
+ v1GetUserRequest: {
1257
+ /** @description Unique identifier for a given Organization. */
1258
+ organizationId: string;
1259
+ /** @description Unique identifier for a given User. */
1260
+ userId: string;
1261
+ };
1262
+ v1GetUserResponse: {
1263
+ /** @description Web and/or API user within your Organization. */
1264
+ user: definitions["v1User"];
1265
+ };
1266
+ v1GetUsersRequest: {
1267
+ /** @description Unique identifier for a given Organization. */
1268
+ organizationId: string;
1269
+ };
1270
+ v1GetUsersResponse: {
1271
+ /** @description A list of Users. */
1272
+ users: definitions["v1User"][];
1273
+ };
1274
+ v1GetWalletAccountsRequest: {
1275
+ /** @description Unique identifier for a given Organization. */
1276
+ organizationId: string;
1277
+ /** @description Unique identifier for a given Wallet. */
1278
+ walletId: string;
1279
+ /** @description Parameters used for cursor-based pagination. */
1280
+ paginationOptions?: definitions["v1Pagination"];
1281
+ };
1282
+ v1GetWalletAccountsResponse: {
1283
+ /** @description A list of Accounts generated from a Wallet that share a common seed */
1284
+ accounts: definitions["v1WalletAccount"][];
1285
+ };
1286
+ v1GetWalletRequest: {
1287
+ /** @description Unique identifier for a given Organization. */
1288
+ organizationId: string;
1289
+ /** @description Unique identifier for a given Wallet. */
1290
+ walletId: string;
1291
+ };
1292
+ v1GetWalletResponse: {
1293
+ /** @description A collection of deterministically generated cryptographic public / private key pairs that share a common seed */
1294
+ wallet: definitions["v1Wallet"];
1295
+ };
1296
+ v1GetWalletsRequest: {
1297
+ /** @description Unique identifier for a given Organization. */
1298
+ organizationId: string;
1299
+ };
1300
+ v1GetWalletsResponse: {
1301
+ /** @description A list of Wallets. */
1302
+ wallets: definitions["v1Wallet"][];
1303
+ };
1304
+ v1GetWhoamiRequest: {
1305
+ /** @description Unique identifier for a given Organization. If the request is being made by a WebAuthN user and their Sub-Organization ID is unknown, this can be the Parent Organization ID; using the Sub-Organization ID when possible is preferred due to performance reasons. */
1306
+ organizationId: string;
1307
+ };
1308
+ v1GetWhoamiResponse: {
1309
+ /** @description Unique identifier for a given Organization. */
1310
+ organizationId: string;
1311
+ /** @description Human-readable name for an Organization. */
1312
+ organizationName: string;
1313
+ /** @description Unique identifier for a given User. */
1314
+ userId: string;
1315
+ /** @description Human-readable name for a User. */
1316
+ username: string;
1317
+ };
1318
+ /** @enum {string} */
1319
+ v1HashFunction: "HASH_FUNCTION_NO_OP" | "HASH_FUNCTION_SHA256" | "HASH_FUNCTION_KECCAK256" | "HASH_FUNCTION_NOT_APPLICABLE";
1320
+ v1ImportPrivateKeyIntent: {
1321
+ /** @description The ID of the User importing a Private Key. */
1322
+ userId: string;
1323
+ /** @description Human-readable name for a Private Key. */
1324
+ privateKeyName: string;
1325
+ /** @description Bundle containing a raw private key encrypted to the enclave's target public key. */
1326
+ encryptedBundle: string;
1327
+ /** @description Cryptographic Curve used to generate a given Private Key. */
1328
+ curve: definitions["v1Curve"];
1329
+ /** @description Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */
1330
+ addressFormats: definitions["v1AddressFormat"][];
1331
+ };
1332
+ v1ImportPrivateKeyRequest: {
1333
+ /** @enum {string} */
1334
+ type: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY";
1335
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1336
+ timestampMs: string;
1337
+ /** @description Unique identifier for a given Organization. */
1338
+ organizationId: string;
1339
+ parameters: definitions["v1ImportPrivateKeyIntent"];
1340
+ };
1341
+ v1ImportPrivateKeyResult: {
1342
+ /** @description Unique identifier for a Private Key. */
1343
+ privateKeyId: string;
1344
+ /** @description A list of addresses. */
1345
+ addresses: definitions["immutableactivityv1Address"][];
1346
+ };
1347
+ v1ImportWalletIntent: {
1348
+ /** @description The ID of the User importing a Wallet. */
1349
+ userId: string;
1350
+ /** @description Human-readable name for a Wallet. */
1351
+ walletName: string;
1352
+ /** @description Bundle containing a wallet mnemonic encrypted to the enclave's target public key. */
1353
+ encryptedBundle: string;
1354
+ /** @description A list of wallet Accounts. */
1355
+ accounts: definitions["v1WalletAccountParams"][];
1356
+ };
1357
+ v1ImportWalletRequest: {
1358
+ /** @enum {string} */
1359
+ type: "ACTIVITY_TYPE_IMPORT_WALLET";
1360
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1361
+ timestampMs: string;
1362
+ /** @description Unique identifier for a given Organization. */
1363
+ organizationId: string;
1364
+ parameters: definitions["v1ImportWalletIntent"];
1365
+ };
1366
+ v1ImportWalletResult: {
1367
+ /** @description Unique identifier for a Wallet. */
1368
+ walletId: string;
1369
+ /** @description A list of account addresses. */
1370
+ addresses: string[];
1371
+ };
1372
+ v1InitImportPrivateKeyIntent: {
1373
+ /** @description The ID of the User importing a Private Key. */
1374
+ userId: string;
1375
+ };
1376
+ v1InitImportPrivateKeyRequest: {
1377
+ /** @enum {string} */
1378
+ type: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY";
1379
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1380
+ timestampMs: string;
1381
+ /** @description Unique identifier for a given Organization. */
1382
+ organizationId: string;
1383
+ parameters: definitions["v1InitImportPrivateKeyIntent"];
1384
+ };
1385
+ v1InitImportPrivateKeyResult: {
1386
+ /** @description Import bundle containing a public key and signature to use for importing client data. */
1387
+ importBundle: string;
1388
+ };
1389
+ v1InitImportWalletIntent: {
1390
+ /** @description The ID of the User importing a Wallet. */
1391
+ userId: string;
1392
+ };
1393
+ v1InitImportWalletRequest: {
1394
+ /** @enum {string} */
1395
+ type: "ACTIVITY_TYPE_INIT_IMPORT_WALLET";
1396
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1397
+ timestampMs: string;
1398
+ /** @description Unique identifier for a given Organization. */
1399
+ organizationId: string;
1400
+ parameters: definitions["v1InitImportWalletIntent"];
1401
+ };
1402
+ v1InitImportWalletResult: {
1403
+ /** @description Import bundle containing a public key and signature to use for importing client data. */
1404
+ importBundle: string;
1405
+ };
1406
+ v1InitUserEmailRecoveryIntent: {
1407
+ /** @description Email of the user starting recovery */
1408
+ email: string;
1409
+ /** @description Client-side public key generated by the user, to which the recovery bundle will be encrypted. */
1410
+ targetPublicKey: string;
1411
+ /** @description Expiration window (in seconds) indicating how long the recovery credential is valid. If not provided, a default of 15 minutes will be used. */
1412
+ expirationSeconds?: string;
1413
+ /** @description Optional parameters for customizing emails. If not provided, the default email will be used. */
1414
+ emailCustomization?: definitions["v1EmailCustomizationParams"];
1415
+ };
1416
+ v1InitUserEmailRecoveryRequest: {
1417
+ /** @enum {string} */
1418
+ type: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY";
1419
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1420
+ timestampMs: string;
1421
+ /** @description Unique identifier for a given Organization. */
1422
+ organizationId: string;
1423
+ parameters: definitions["v1InitUserEmailRecoveryIntent"];
1424
+ };
1425
+ v1InitUserEmailRecoveryResult: {
1426
+ /** @description Unique identifier for the user being recovered. */
1427
+ userId: string;
1428
+ };
1429
+ v1Intent: {
1430
+ createOrganizationIntent: definitions["v1CreateOrganizationIntent"];
1431
+ createAuthenticatorsIntent?: definitions["v1CreateAuthenticatorsIntent"];
1432
+ createUsersIntent?: definitions["v1CreateUsersIntent"];
1433
+ createPrivateKeysIntent?: definitions["v1CreatePrivateKeysIntent"];
1434
+ signRawPayloadIntent?: definitions["v1SignRawPayloadIntent"];
1435
+ createInvitationsIntent?: definitions["v1CreateInvitationsIntent"];
1436
+ acceptInvitationIntent?: definitions["v1AcceptInvitationIntent"];
1437
+ createPolicyIntent?: definitions["v1CreatePolicyIntent"];
1438
+ disablePrivateKeyIntent?: definitions["v1DisablePrivateKeyIntent"];
1439
+ deleteUsersIntent?: definitions["v1DeleteUsersIntent"];
1440
+ deleteAuthenticatorsIntent?: definitions["v1DeleteAuthenticatorsIntent"];
1441
+ deleteInvitationIntent?: definitions["v1DeleteInvitationIntent"];
1442
+ deleteOrganizationIntent?: definitions["v1DeleteOrganizationIntent"];
1443
+ deletePolicyIntent?: definitions["v1DeletePolicyIntent"];
1444
+ createUserTagIntent?: definitions["v1CreateUserTagIntent"];
1445
+ deleteUserTagsIntent?: definitions["v1DeleteUserTagsIntent"];
1446
+ signTransactionIntent?: definitions["v1SignTransactionIntent"];
1447
+ createApiKeysIntent?: definitions["v1CreateApiKeysIntent"];
1448
+ deleteApiKeysIntent?: definitions["v1DeleteApiKeysIntent"];
1449
+ approveActivityIntent?: definitions["v1ApproveActivityIntent"];
1450
+ rejectActivityIntent?: definitions["v1RejectActivityIntent"];
1451
+ createPrivateKeyTagIntent?: definitions["v1CreatePrivateKeyTagIntent"];
1452
+ deletePrivateKeyTagsIntent?: definitions["v1DeletePrivateKeyTagsIntent"];
1453
+ createPolicyIntentV2?: definitions["v1CreatePolicyIntentV2"];
1454
+ setPaymentMethodIntent?: definitions["v1SetPaymentMethodIntent"];
1455
+ activateBillingTierIntent?: definitions["v1ActivateBillingTierIntent"];
1456
+ deletePaymentMethodIntent?: definitions["v1DeletePaymentMethodIntent"];
1457
+ createPolicyIntentV3?: definitions["v1CreatePolicyIntentV3"];
1458
+ createApiOnlyUsersIntent?: definitions["v1CreateApiOnlyUsersIntent"];
1459
+ updateRootQuorumIntent?: definitions["v1UpdateRootQuorumIntent"];
1460
+ updateUserTagIntent?: definitions["v1UpdateUserTagIntent"];
1461
+ updatePrivateKeyTagIntent?: definitions["v1UpdatePrivateKeyTagIntent"];
1462
+ createAuthenticatorsIntentV2?: definitions["v1CreateAuthenticatorsIntentV2"];
1463
+ acceptInvitationIntentV2?: definitions["v1AcceptInvitationIntentV2"];
1464
+ createOrganizationIntentV2?: definitions["v1CreateOrganizationIntentV2"];
1465
+ createUsersIntentV2?: definitions["v1CreateUsersIntentV2"];
1466
+ createSubOrganizationIntent?: definitions["v1CreateSubOrganizationIntent"];
1467
+ createSubOrganizationIntentV2?: definitions["v1CreateSubOrganizationIntentV2"];
1468
+ updateAllowedOriginsIntent?: definitions["v1UpdateAllowedOriginsIntent"];
1469
+ createPrivateKeysIntentV2?: definitions["v1CreatePrivateKeysIntentV2"];
1470
+ updateUserIntent?: definitions["v1UpdateUserIntent"];
1471
+ updatePolicyIntent?: definitions["v1UpdatePolicyIntent"];
1472
+ setPaymentMethodIntentV2?: definitions["v1SetPaymentMethodIntentV2"];
1473
+ createSubOrganizationIntentV3?: definitions["v1CreateSubOrganizationIntentV3"];
1474
+ createWalletIntent?: definitions["v1CreateWalletIntent"];
1475
+ createWalletAccountsIntent?: definitions["v1CreateWalletAccountsIntent"];
1476
+ initUserEmailRecoveryIntent?: definitions["v1InitUserEmailRecoveryIntent"];
1477
+ recoverUserIntent?: definitions["v1RecoverUserIntent"];
1478
+ setOrganizationFeatureIntent?: definitions["v1SetOrganizationFeatureIntent"];
1479
+ removeOrganizationFeatureIntent?: definitions["v1RemoveOrganizationFeatureIntent"];
1480
+ signRawPayloadIntentV2?: definitions["v1SignRawPayloadIntentV2"];
1481
+ signTransactionIntentV2?: definitions["v1SignTransactionIntentV2"];
1482
+ exportPrivateKeyIntent?: definitions["v1ExportPrivateKeyIntent"];
1483
+ exportWalletIntent?: definitions["v1ExportWalletIntent"];
1484
+ createSubOrganizationIntentV4?: definitions["v1CreateSubOrganizationIntentV4"];
1485
+ emailAuthIntent?: definitions["v1EmailAuthIntent"];
1486
+ exportWalletAccountIntent?: definitions["v1ExportWalletAccountIntent"];
1487
+ initImportWalletIntent?: definitions["v1InitImportWalletIntent"];
1488
+ importWalletIntent?: definitions["v1ImportWalletIntent"];
1489
+ initImportPrivateKeyIntent?: definitions["v1InitImportPrivateKeyIntent"];
1490
+ importPrivateKeyIntent?: definitions["v1ImportPrivateKeyIntent"];
1491
+ createPoliciesIntent?: definitions["v1CreatePoliciesIntent"];
1492
+ signRawPayloadsIntent?: definitions["v1SignRawPayloadsIntent"];
1493
+ createReadOnlySessionIntent?: definitions["v1CreateReadOnlySessionIntent"];
1494
+ };
1495
+ v1Invitation: {
1496
+ /** @description Unique identifier for a given Invitation object. */
1497
+ invitationId: string;
1498
+ /** @description The name of the intended Invitation recipient. */
1499
+ receiverUserName: string;
1500
+ /** @description The email address of the intended Invitation recipient. */
1501
+ receiverEmail: string;
1502
+ /** @description A list of tags assigned to the Invitation recipient. */
1503
+ receiverUserTags: string[];
1504
+ /** @description The User's permissible access method(s). */
1505
+ accessType: definitions["v1AccessType"];
1506
+ /** @description The current processing status of a specified Invitation. */
1507
+ status: definitions["v1InvitationStatus"];
1508
+ createdAt: definitions["externaldatav1Timestamp"];
1509
+ updatedAt: definitions["externaldatav1Timestamp"];
1510
+ /** @description Unique identifier for the Sender of an Invitation. */
1511
+ senderUserId: string;
1512
+ };
1513
+ v1InvitationParams: {
1514
+ /** @description The name of the intended Invitation recipient. */
1515
+ receiverUserName: string;
1516
+ /** @description The email address of the intended Invitation recipient. */
1517
+ receiverUserEmail: string;
1518
+ /** @description A list of tags assigned to the Invitation recipient. */
1519
+ receiverUserTags: string[];
1520
+ /** @description The User's permissible access method(s). */
1521
+ accessType: definitions["v1AccessType"];
1522
+ /** @description Unique identifier for the Sender of an Invitation. */
1523
+ senderUserId: string;
1524
+ };
1525
+ /** @enum {string} */
1526
+ v1InvitationStatus: "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
1527
+ v1ListPrivateKeyTagsRequest: {
1528
+ /** @description Unique identifier for a given Organization. */
1529
+ organizationId: string;
1530
+ };
1531
+ v1ListPrivateKeyTagsResponse: {
1532
+ /** @description A list of Private Key Tags */
1533
+ privateKeyTags: definitions["datav1Tag"][];
1534
+ };
1535
+ v1ListUserTagsRequest: {
1536
+ /** @description Unique identifier for a given Organization. */
1537
+ organizationId: string;
1538
+ };
1539
+ v1ListUserTagsResponse: {
1540
+ /** @description A list of User Tags */
1541
+ userTags: definitions["datav1Tag"][];
1542
+ };
1543
+ /** @enum {string} */
1544
+ v1MnemonicLanguage: "MNEMONIC_LANGUAGE_ENGLISH" | "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE" | "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE" | "MNEMONIC_LANGUAGE_CZECH" | "MNEMONIC_LANGUAGE_FRENCH" | "MNEMONIC_LANGUAGE_ITALIAN" | "MNEMONIC_LANGUAGE_JAPANESE" | "MNEMONIC_LANGUAGE_KOREAN" | "MNEMONIC_LANGUAGE_SPANISH";
1545
+ v1NOOPCodegenAnchorResponse: {
1546
+ stamp: definitions["v1WebAuthnStamp"];
1547
+ };
1548
+ /** @enum {string} */
1549
+ v1Operator: "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
1550
+ v1OrganizationData: {
1551
+ organizationId?: string;
1552
+ name?: string;
1553
+ users?: definitions["v1User"][];
1554
+ policies?: definitions["v1Policy"][];
1555
+ privateKeys?: definitions["v1PrivateKey"][];
1556
+ invitations?: definitions["v1Invitation"][];
1557
+ tags?: definitions["datav1Tag"][];
1558
+ rootQuorum?: definitions["externaldatav1Quorum"];
1559
+ features?: definitions["v1Feature"][];
1560
+ wallets?: definitions["v1Wallet"][];
1561
+ };
1562
+ v1Pagination: {
1563
+ /** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
1564
+ limit?: string;
1565
+ /** @description A pagination cursor. This is an object ID that enables you to fetch all objects before this ID. */
1566
+ before?: string;
1567
+ /** @description A pagination cursor. This is an object ID that enables you to fetch all objects after this ID. */
1568
+ after?: string;
1569
+ };
1570
+ /** @enum {string} */
1571
+ v1PathFormat: "PATH_FORMAT_BIP32";
1572
+ /** @enum {string} */
1573
+ v1PayloadEncoding: "PAYLOAD_ENCODING_HEXADECIMAL" | "PAYLOAD_ENCODING_TEXT_UTF8";
1574
+ v1Policy: {
1575
+ /** @description Unique identifier for a given Policy. */
1576
+ policyId: string;
1577
+ /** @description Human-readable name for a Policy. */
1578
+ policyName: string;
1579
+ /** @description The instruction to DENY or ALLOW a particular activity following policy selector(s). */
1580
+ effect: definitions["v1Effect"];
1581
+ createdAt: definitions["externaldatav1Timestamp"];
1582
+ updatedAt: definitions["externaldatav1Timestamp"];
1583
+ /** @description Human-readable notes added by a User to describe a particular policy. */
1584
+ notes: string;
1585
+ /** @description A consensus expression that evalutes to true or false. */
1586
+ consensus: string;
1587
+ /** @description A condition expression that evalutes to true or false. */
1588
+ condition: string;
1589
+ };
1590
+ v1PrivateKey: {
1591
+ /** @description Unique identifier for a given Private Key. */
1592
+ privateKeyId: string;
1593
+ /** @description The public component of a cryptographic key pair used to sign messages and transactions. */
1594
+ publicKey: string;
1595
+ /** @description Human-readable name for a Private Key. */
1596
+ privateKeyName: string;
1597
+ /** @description Cryptographic Curve used to generate a given Private Key. */
1598
+ curve: definitions["v1Curve"];
1599
+ /** @description Derived cryptocurrency addresses for a given Private Key. */
1600
+ addresses: definitions["externaldatav1Address"][];
1601
+ /** @description A list of Private Key Tag IDs. */
1602
+ privateKeyTags: string[];
1603
+ createdAt: definitions["externaldatav1Timestamp"];
1604
+ updatedAt: definitions["externaldatav1Timestamp"];
1605
+ /** @description True when a given Private Key is exported, false otherwise. */
1606
+ exported: boolean;
1607
+ /** @description True when a given Private Key is imported, false otherwise. */
1608
+ imported: boolean;
1609
+ };
1610
+ v1PrivateKeyParams: {
1611
+ /** @description Human-readable name for a Private Key. */
1612
+ privateKeyName: string;
1613
+ /** @description Cryptographic Curve used to generate a given Private Key. */
1614
+ curve: definitions["v1Curve"];
1615
+ /** @description A list of Private Key Tag IDs. */
1616
+ privateKeyTags: string[];
1617
+ /** @description Cryptocurrency-specific formats for a derived address (e.g., Ethereum). */
1618
+ addressFormats: definitions["v1AddressFormat"][];
1619
+ };
1620
+ v1PrivateKeyResult: {
1621
+ privateKeyId?: string;
1622
+ addresses?: definitions["immutableactivityv1Address"][];
1623
+ };
1624
+ v1PublicKeyCredentialWithAttestation: {
1625
+ id: string;
1626
+ /** @enum {string} */
1627
+ type: "public-key";
1628
+ rawId: string;
1629
+ /** @enum {string} */
1630
+ authenticatorAttachment?: "cross-platform" | "platform" | null;
1631
+ response: definitions["v1AuthenticatorAttestationResponse"];
1632
+ clientExtensionResults: definitions["v1SimpleClientExtensionResults"];
1633
+ };
1634
+ v1RecoverUserIntent: {
1635
+ /** @description The new authenticator to register. */
1636
+ authenticator: definitions["v1AuthenticatorParamsV2"];
1637
+ /** @description Unique identifier for the user performing recovery. */
1638
+ userId: string;
1639
+ };
1640
+ v1RecoverUserRequest: {
1641
+ /** @enum {string} */
1642
+ type: "ACTIVITY_TYPE_RECOVER_USER";
1643
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1644
+ timestampMs: string;
1645
+ /** @description Unique identifier for a given Organization. */
1646
+ organizationId: string;
1647
+ parameters: definitions["v1RecoverUserIntent"];
1648
+ };
1649
+ v1RecoverUserResult: {
1650
+ /** @description ID of the authenticator created. */
1651
+ authenticatorId: string[];
1652
+ };
1653
+ v1RejectActivityIntent: {
1654
+ /** @description An artifact verifying a User's action. */
1655
+ fingerprint: string;
1656
+ };
1657
+ v1RejectActivityRequest: {
1658
+ /** @enum {string} */
1659
+ type: "ACTIVITY_TYPE_REJECT_ACTIVITY";
1660
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1661
+ timestampMs: string;
1662
+ /** @description Unique identifier for a given Organization. */
1663
+ organizationId: string;
1664
+ parameters: definitions["v1RejectActivityIntent"];
1665
+ };
1666
+ v1RemoveOrganizationFeatureIntent: {
1667
+ /** @description Name of the feature to remove */
1668
+ name: definitions["v1FeatureName"];
1669
+ };
1670
+ v1RemoveOrganizationFeatureRequest: {
1671
+ /** @enum {string} */
1672
+ type: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE";
1673
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1674
+ timestampMs: string;
1675
+ /** @description Unique identifier for a given Organization. */
1676
+ organizationId: string;
1677
+ parameters: definitions["v1RemoveOrganizationFeatureIntent"];
1678
+ };
1679
+ v1RemoveOrganizationFeatureResult: {
1680
+ /** @description Resulting list of organization features. */
1681
+ features: definitions["v1Feature"][];
1682
+ };
1683
+ v1Result: {
1684
+ createOrganizationResult?: definitions["v1CreateOrganizationResult"];
1685
+ createAuthenticatorsResult?: definitions["v1CreateAuthenticatorsResult"];
1686
+ createUsersResult?: definitions["v1CreateUsersResult"];
1687
+ createPrivateKeysResult?: definitions["v1CreatePrivateKeysResult"];
1688
+ createInvitationsResult?: definitions["v1CreateInvitationsResult"];
1689
+ acceptInvitationResult?: definitions["v1AcceptInvitationResult"];
1690
+ signRawPayloadResult?: definitions["v1SignRawPayloadResult"];
1691
+ createPolicyResult?: definitions["v1CreatePolicyResult"];
1692
+ disablePrivateKeyResult?: definitions["v1DisablePrivateKeyResult"];
1693
+ deleteUsersResult?: definitions["v1DeleteUsersResult"];
1694
+ deleteAuthenticatorsResult?: definitions["v1DeleteAuthenticatorsResult"];
1695
+ deleteInvitationResult?: definitions["v1DeleteInvitationResult"];
1696
+ deleteOrganizationResult?: definitions["v1DeleteOrganizationResult"];
1697
+ deletePolicyResult?: definitions["v1DeletePolicyResult"];
1698
+ createUserTagResult?: definitions["v1CreateUserTagResult"];
1699
+ deleteUserTagsResult?: definitions["v1DeleteUserTagsResult"];
1700
+ signTransactionResult?: definitions["v1SignTransactionResult"];
1701
+ deleteApiKeysResult?: definitions["v1DeleteApiKeysResult"];
1702
+ createApiKeysResult?: definitions["v1CreateApiKeysResult"];
1703
+ createPrivateKeyTagResult?: definitions["v1CreatePrivateKeyTagResult"];
1704
+ deletePrivateKeyTagsResult?: definitions["v1DeletePrivateKeyTagsResult"];
1705
+ setPaymentMethodResult?: definitions["v1SetPaymentMethodResult"];
1706
+ activateBillingTierResult?: definitions["v1ActivateBillingTierResult"];
1707
+ deletePaymentMethodResult?: definitions["v1DeletePaymentMethodResult"];
1708
+ createApiOnlyUsersResult?: definitions["v1CreateApiOnlyUsersResult"];
1709
+ updateRootQuorumResult?: definitions["v1UpdateRootQuorumResult"];
1710
+ updateUserTagResult?: definitions["v1UpdateUserTagResult"];
1711
+ updatePrivateKeyTagResult?: definitions["v1UpdatePrivateKeyTagResult"];
1712
+ createSubOrganizationResult?: definitions["v1CreateSubOrganizationResult"];
1713
+ updateAllowedOriginsResult?: definitions["v1UpdateAllowedOriginsResult"];
1714
+ createPrivateKeysResultV2?: definitions["v1CreatePrivateKeysResultV2"];
1715
+ updateUserResult?: definitions["v1UpdateUserResult"];
1716
+ updatePolicyResult?: definitions["v1UpdatePolicyResult"];
1717
+ createSubOrganizationResultV3?: definitions["v1CreateSubOrganizationResultV3"];
1718
+ createWalletResult?: definitions["v1CreateWalletResult"];
1719
+ createWalletAccountsResult?: definitions["v1CreateWalletAccountsResult"];
1720
+ initUserEmailRecoveryResult?: definitions["v1InitUserEmailRecoveryResult"];
1721
+ recoverUserResult?: definitions["v1RecoverUserResult"];
1722
+ setOrganizationFeatureResult?: definitions["v1SetOrganizationFeatureResult"];
1723
+ removeOrganizationFeatureResult?: definitions["v1RemoveOrganizationFeatureResult"];
1724
+ exportPrivateKeyResult?: definitions["v1ExportPrivateKeyResult"];
1725
+ exportWalletResult?: definitions["v1ExportWalletResult"];
1726
+ createSubOrganizationResultV4?: definitions["v1CreateSubOrganizationResultV4"];
1727
+ emailAuthResult?: definitions["v1EmailAuthResult"];
1728
+ exportWalletAccountResult?: definitions["v1ExportWalletAccountResult"];
1729
+ initImportWalletResult?: definitions["v1InitImportWalletResult"];
1730
+ importWalletResult?: definitions["v1ImportWalletResult"];
1731
+ initImportPrivateKeyResult?: definitions["v1InitImportPrivateKeyResult"];
1732
+ importPrivateKeyResult?: definitions["v1ImportPrivateKeyResult"];
1733
+ createPoliciesResult?: definitions["v1CreatePoliciesResult"];
1734
+ signRawPayloadsResult?: definitions["v1SignRawPayloadsResult"];
1735
+ createReadOnlySessionResult?: definitions["v1CreateReadOnlySessionResult"];
1736
+ };
1737
+ v1RootUserParams: {
1738
+ /** @description Human-readable name for a User. */
1739
+ userName: string;
1740
+ /** @description The user's email address. */
1741
+ userEmail?: string;
1742
+ /** @description A list of API Key parameters. */
1743
+ apiKeys: definitions["v1ApiKeyParams"][];
1744
+ /** @description A list of Authenticator parameters. */
1745
+ authenticators: definitions["v1AuthenticatorParamsV2"][];
1746
+ };
1747
+ v1Selector: {
1748
+ subject?: string;
1749
+ operator?: definitions["v1Operator"];
1750
+ target?: string;
1751
+ };
1752
+ v1SelectorV2: {
1753
+ subject?: string;
1754
+ operator?: definitions["v1Operator"];
1755
+ targets?: string[];
1756
+ };
1757
+ v1SetOrganizationFeatureIntent: {
1758
+ /** @description Name of the feature to set */
1759
+ name: definitions["v1FeatureName"];
1760
+ /** @description Optional value for the feature. Will override existing values if feature is already set. */
1761
+ value: string;
1762
+ };
1763
+ v1SetOrganizationFeatureRequest: {
1764
+ /** @enum {string} */
1765
+ type: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE";
1766
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1767
+ timestampMs: string;
1768
+ /** @description Unique identifier for a given Organization. */
1769
+ organizationId: string;
1770
+ parameters: definitions["v1SetOrganizationFeatureIntent"];
1771
+ };
1772
+ v1SetOrganizationFeatureResult: {
1773
+ /** @description Resulting list of organization features. */
1774
+ features: definitions["v1Feature"][];
1775
+ };
1776
+ v1SetPaymentMethodIntent: {
1777
+ /** @description The account number of the customer's credit card. */
1778
+ number: string;
1779
+ /** @description The verification digits of the customer's credit card. */
1780
+ cvv: string;
1781
+ /** @description The month that the credit card expires. */
1782
+ expiryMonth: string;
1783
+ /** @description The year that the credit card expires. */
1784
+ expiryYear: string;
1785
+ /** @description The email that will receive invoices for the credit card. */
1786
+ cardHolderEmail: string;
1787
+ /** @description The name associated with the credit card. */
1788
+ cardHolderName: string;
1789
+ };
1790
+ v1SetPaymentMethodIntentV2: {
1791
+ /** @description The id of the payment method that was created clientside. */
1792
+ paymentMethodId: string;
1793
+ /** @description The email that will receive invoices for the credit card. */
1794
+ cardHolderEmail: string;
1795
+ /** @description The name associated with the credit card. */
1796
+ cardHolderName: string;
1797
+ };
1798
+ v1SetPaymentMethodResult: {
1799
+ /** @description The last four digits of the credit card added. */
1800
+ lastFour: string;
1801
+ /** @description The name associated with the payment method. */
1802
+ cardHolderName: string;
1803
+ /** @description The email address associated with the payment method. */
1804
+ cardHolderEmail: string;
1805
+ };
1806
+ v1SignRawPayloadIntent: {
1807
+ /** @description Unique identifier for a given Private Key. */
1808
+ privateKeyId: string;
1809
+ /** @description Raw unsigned payload to be signed. */
1810
+ payload: string;
1811
+ /** @description Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8). */
1812
+ encoding: definitions["v1PayloadEncoding"];
1813
+ /** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
1814
+ hashFunction: definitions["v1HashFunction"];
1815
+ };
1816
+ v1SignRawPayloadIntentV2: {
1817
+ /** @description A Wallet account address, Private Key address, or Private Key identifier. */
1818
+ signWith: string;
1819
+ /** @description Raw unsigned payload to be signed. */
1820
+ payload: string;
1821
+ /** @description Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8). */
1822
+ encoding: definitions["v1PayloadEncoding"];
1823
+ /** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
1824
+ hashFunction: definitions["v1HashFunction"];
1825
+ };
1826
+ v1SignRawPayloadRequest: {
1827
+ /** @enum {string} */
1828
+ type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2";
1829
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1830
+ timestampMs: string;
1831
+ /** @description Unique identifier for a given Organization. */
1832
+ organizationId: string;
1833
+ parameters: definitions["v1SignRawPayloadIntentV2"];
1834
+ };
1835
+ v1SignRawPayloadResult: {
1836
+ /** @description Component of an ECSDA signature. */
1837
+ r: string;
1838
+ /** @description Component of an ECSDA signature. */
1839
+ s: string;
1840
+ /** @description Component of an ECSDA signature. */
1841
+ v: string;
1842
+ };
1843
+ v1SignRawPayloadsIntent: {
1844
+ /** @description A Wallet account address, Private Key address, or Private Key identifier. */
1845
+ signWith: string;
1846
+ /** @description An array of raw unsigned payloads to be signed. */
1847
+ payloads: string[];
1848
+ /** @description Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8). */
1849
+ encoding: definitions["v1PayloadEncoding"];
1850
+ /** @description Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032. */
1851
+ hashFunction: definitions["v1HashFunction"];
1852
+ };
1853
+ v1SignRawPayloadsRequest: {
1854
+ /** @enum {string} */
1855
+ type: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS";
1856
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1857
+ timestampMs: string;
1858
+ /** @description Unique identifier for a given Organization. */
1859
+ organizationId: string;
1860
+ parameters: definitions["v1SignRawPayloadsIntent"];
1861
+ };
1862
+ v1SignRawPayloadsResult: {
1863
+ signatures?: definitions["v1SignRawPayloadResult"][];
1864
+ };
1865
+ v1SignTransactionIntent: {
1866
+ /** @description Unique identifier for a given Private Key. */
1867
+ privateKeyId: string;
1868
+ /** @description Raw unsigned transaction to be signed by a particular Private Key. */
1869
+ unsignedTransaction: string;
1870
+ type: definitions["v1TransactionType"];
1871
+ };
1872
+ v1SignTransactionIntentV2: {
1873
+ /** @description A Wallet account address, Private Key address, or Private Key identifier. */
1874
+ signWith: string;
1875
+ /** @description Raw unsigned transaction to be signed */
1876
+ unsignedTransaction: string;
1877
+ type: definitions["v1TransactionType"];
1878
+ };
1879
+ v1SignTransactionRequest: {
1880
+ /** @enum {string} */
1881
+ type: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2";
1882
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1883
+ timestampMs: string;
1884
+ /** @description Unique identifier for a given Organization. */
1885
+ organizationId: string;
1886
+ parameters: definitions["v1SignTransactionIntentV2"];
1887
+ };
1888
+ v1SignTransactionResult: {
1889
+ signedTransaction: string;
1890
+ };
1891
+ v1SimpleClientExtensionResults: {
1892
+ appid?: boolean;
1893
+ appidExclude?: boolean;
1894
+ credProps?: definitions["v1CredPropsAuthenticationExtensionsClientOutputs"];
1895
+ };
1896
+ /** @enum {string} */
1897
+ v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
1898
+ /** @enum {string} */
1899
+ v1TransactionType: "TRANSACTION_TYPE_ETHEREUM";
1900
+ v1UpdateAllowedOriginsIntent: {
1901
+ /** @description Additional origins requests are allowed from besides Turnkey origins */
1902
+ allowedOrigins: string[];
1903
+ };
1904
+ v1UpdateAllowedOriginsResult: {
1905
+ [key: string]: unknown;
1906
+ };
1907
+ v1UpdatePolicyIntent: {
1908
+ /** @description Unique identifier for a given Policy. */
1909
+ policyId: string;
1910
+ /** @description Human-readable name for a Policy. */
1911
+ policyName?: string;
1912
+ /** @description The instruction to DENY or ALLOW an activity (optional). */
1913
+ policyEffect?: definitions["v1Effect"];
1914
+ /** @description The condition expression that triggers the Effect (optional). */
1915
+ policyCondition?: string;
1916
+ /** @description The consensus expression that triggers the Effect (optional). */
1917
+ policyConsensus?: string;
1918
+ /** @description Accompanying notes for a Policy (optional). */
1919
+ policyNotes?: string;
1920
+ };
1921
+ v1UpdatePolicyRequest: {
1922
+ /** @enum {string} */
1923
+ type: "ACTIVITY_TYPE_UPDATE_POLICY";
1924
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1925
+ timestampMs: string;
1926
+ /** @description Unique identifier for a given Organization. */
1927
+ organizationId: string;
1928
+ parameters: definitions["v1UpdatePolicyIntent"];
1929
+ };
1930
+ v1UpdatePolicyResult: {
1931
+ /** @description Unique identifier for a given Policy. */
1932
+ policyId: string;
1933
+ };
1934
+ v1UpdatePrivateKeyTagIntent: {
1935
+ /** @description Unique identifier for a given Private Key Tag. */
1936
+ privateKeyTagId: string;
1937
+ /** @description The new, human-readable name for the tag with the given ID. */
1938
+ newPrivateKeyTagName?: string;
1939
+ /** @description A list of Private Keys IDs to add this tag to. */
1940
+ addPrivateKeyIds: string[];
1941
+ /** @description A list of Private Key IDs to remove this tag from. */
1942
+ removePrivateKeyIds: string[];
1943
+ };
1944
+ v1UpdatePrivateKeyTagRequest: {
1945
+ /** @enum {string} */
1946
+ type: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG";
1947
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1948
+ timestampMs: string;
1949
+ /** @description Unique identifier for a given Organization. */
1950
+ organizationId: string;
1951
+ parameters: definitions["v1UpdatePrivateKeyTagIntent"];
1952
+ };
1953
+ v1UpdatePrivateKeyTagResult: {
1954
+ /** @description Unique identifier for a given Private Key Tag. */
1955
+ privateKeyTagId: string;
1956
+ };
1957
+ v1UpdateRootQuorumIntent: {
1958
+ /**
1959
+ * Format: int32
1960
+ * @description The threshold of unique approvals to reach quorum.
1961
+ */
1962
+ threshold: number;
1963
+ /** @description The unique identifiers of users who comprise the quorum set. */
1964
+ userIds: string[];
1965
+ };
1966
+ v1UpdateRootQuorumRequest: {
1967
+ /** @enum {string} */
1968
+ type: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM";
1969
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1970
+ timestampMs: string;
1971
+ /** @description Unique identifier for a given Organization. */
1972
+ organizationId: string;
1973
+ parameters: definitions["v1UpdateRootQuorumIntent"];
1974
+ };
1975
+ v1UpdateRootQuorumResult: {
1976
+ [key: string]: unknown;
1977
+ };
1978
+ v1UpdateUserIntent: {
1979
+ /** @description Unique identifier for a given User. */
1980
+ userId: string;
1981
+ /** @description Human-readable name for a User. */
1982
+ userName?: string;
1983
+ /** @description The user's email address. */
1984
+ userEmail?: string;
1985
+ /** @description An updated list of User Tags to apply to this User. */
1986
+ userTagIds?: string[];
1987
+ };
1988
+ v1UpdateUserRequest: {
1989
+ /** @enum {string} */
1990
+ type: "ACTIVITY_TYPE_UPDATE_USER";
1991
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1992
+ timestampMs: string;
1993
+ /** @description Unique identifier for a given Organization. */
1994
+ organizationId: string;
1995
+ parameters: definitions["v1UpdateUserIntent"];
1996
+ };
1997
+ v1UpdateUserResult: {
1998
+ /** @description A User ID. */
1999
+ userId: string;
2000
+ };
2001
+ v1UpdateUserTagIntent: {
2002
+ /** @description Unique identifier for a given User Tag. */
2003
+ userTagId: string;
2004
+ /** @description The new, human-readable name for the tag with the given ID. */
2005
+ newUserTagName?: string;
2006
+ /** @description A list of User IDs to add this tag to. */
2007
+ addUserIds: string[];
2008
+ /** @description A list of User IDs to remove this tag from. */
2009
+ removeUserIds: string[];
2010
+ };
2011
+ v1UpdateUserTagRequest: {
2012
+ /** @enum {string} */
2013
+ type: "ACTIVITY_TYPE_UPDATE_USER_TAG";
2014
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2015
+ timestampMs: string;
2016
+ /** @description Unique identifier for a given Organization. */
2017
+ organizationId: string;
2018
+ parameters: definitions["v1UpdateUserTagIntent"];
2019
+ };
2020
+ v1UpdateUserTagResult: {
2021
+ /** @description Unique identifier for a given User Tag. */
2022
+ userTagId: string;
2023
+ };
2024
+ v1User: {
2025
+ /** @description Unique identifier for a given User. */
2026
+ userId: string;
2027
+ /** @description Human-readable name for a User. */
2028
+ userName: string;
2029
+ /** @description The user's email address. */
2030
+ userEmail?: string;
2031
+ /** @description A list of Authenticator parameters. */
2032
+ authenticators: definitions["v1Authenticator"][];
2033
+ /** @description A list of API Key parameters. */
2034
+ apiKeys: definitions["v1ApiKey"][];
2035
+ /** @description A list of User Tag IDs. */
2036
+ userTags: string[];
2037
+ createdAt: definitions["externaldatav1Timestamp"];
2038
+ updatedAt: definitions["externaldatav1Timestamp"];
2039
+ };
2040
+ v1UserParams: {
2041
+ /** @description Human-readable name for a User. */
2042
+ userName: string;
2043
+ /** @description The user's email address. */
2044
+ userEmail?: string;
2045
+ /** @description The User's permissible access method(s). */
2046
+ accessType: definitions["v1AccessType"];
2047
+ /** @description A list of API Key parameters. */
2048
+ apiKeys: definitions["v1ApiKeyParams"][];
2049
+ /** @description A list of Authenticator parameters. */
2050
+ authenticators: definitions["v1AuthenticatorParams"][];
2051
+ /** @description A list of User Tag IDs. */
2052
+ userTags: string[];
2053
+ };
2054
+ v1UserParamsV2: {
2055
+ /** @description Human-readable name for a User. */
2056
+ userName: string;
2057
+ /** @description The user's email address. */
2058
+ userEmail?: string;
2059
+ /** @description A list of API Key parameters. */
2060
+ apiKeys: definitions["v1ApiKeyParams"][];
2061
+ /** @description A list of Authenticator parameters. */
2062
+ authenticators: definitions["v1AuthenticatorParamsV2"][];
2063
+ /** @description A list of User Tag IDs. */
2064
+ userTags: string[];
2065
+ };
2066
+ v1Vote: {
2067
+ /** @description Unique identifier for a given Vote object. */
2068
+ id: string;
2069
+ /** @description Unique identifier for a given User. */
2070
+ userId: string;
2071
+ /** @description Web and/or API user within your Organization. */
2072
+ user: definitions["v1User"];
2073
+ /** @description Unique identifier for a given Activity object. */
2074
+ activityId: string;
2075
+ /** @enum {string} */
2076
+ selection: "VOTE_SELECTION_APPROVED" | "VOTE_SELECTION_REJECTED";
2077
+ /** @description The raw message being signed within a Vote. */
2078
+ message: string;
2079
+ /** @description The public component of a cryptographic key pair used to sign messages and transactions. */
2080
+ publicKey: string;
2081
+ /** @description The signature applied to a particular vote. */
2082
+ signature: string;
2083
+ /** @description Method used to produce a signature. */
2084
+ scheme: string;
2085
+ createdAt: definitions["externaldatav1Timestamp"];
2086
+ };
2087
+ v1Wallet: {
2088
+ /** @description Unique identifier for a given Wallet. */
2089
+ walletId: string;
2090
+ /** @description Human-readable name for a Wallet. */
2091
+ walletName: string;
2092
+ createdAt: definitions["externaldatav1Timestamp"];
2093
+ updatedAt: definitions["externaldatav1Timestamp"];
2094
+ /** @description True when a given Wallet is exported, false otherwise. */
2095
+ exported: boolean;
2096
+ /** @description True when a given Wallet is imported, false otherwise. */
2097
+ imported: boolean;
2098
+ };
2099
+ v1WalletAccount: {
2100
+ /** @description The Organization the Account belongs to. */
2101
+ organizationId: string;
2102
+ /** @description The Wallet the Account was derived from. */
2103
+ walletId: string;
2104
+ /** @description Cryptographic curve used to generate the Account. */
2105
+ curve: definitions["v1Curve"];
2106
+ /** @description Path format used to generate the Account. */
2107
+ pathFormat: definitions["v1PathFormat"];
2108
+ /** @description Path used to generate the Account. */
2109
+ path: string;
2110
+ /** @description Address format used to generate the Acccount. */
2111
+ addressFormat: definitions["v1AddressFormat"];
2112
+ /** @description Address generated using the Wallet seed and Account parameters. */
2113
+ address: string;
2114
+ createdAt: definitions["externaldatav1Timestamp"];
2115
+ updatedAt: definitions["externaldatav1Timestamp"];
2116
+ };
2117
+ v1WalletAccountParams: {
2118
+ /** @description Cryptographic curve used to generate a wallet Account. */
2119
+ curve: definitions["v1Curve"];
2120
+ /** @description Path format used to generate a wallet Account. */
2121
+ pathFormat: definitions["v1PathFormat"];
2122
+ /** @description Path used to generate a wallet Account. */
2123
+ path: string;
2124
+ /** @description Address format used to generate a wallet Acccount. */
2125
+ addressFormat: definitions["v1AddressFormat"];
2126
+ };
2127
+ v1WalletParams: {
2128
+ /** @description Human-readable name for a Wallet. */
2129
+ walletName: string;
2130
+ /** @description A list of wallet Accounts. */
2131
+ accounts: definitions["v1WalletAccountParams"][];
2132
+ /**
2133
+ * Format: int32
2134
+ * @description Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24.
2135
+ */
2136
+ mnemonicLength?: number;
2137
+ };
2138
+ v1WalletResult: {
2139
+ walletId: string;
2140
+ /** @description A list of account addresses. */
2141
+ addresses: string[];
2142
+ };
2143
+ v1WebAuthnStamp: {
2144
+ /** @description A base64 url encoded Unique identifier for a given credential. */
2145
+ credentialId: string;
2146
+ /** @description A base64 encoded payload containing metadata about the signing context and the challenge. */
2147
+ clientDataJson: string;
2148
+ /** @description A base64 encoded payload containing metadata about the authenticator. */
2149
+ authenticatorData: string;
2150
+ /** @description The base64 url encoded signature bytes contained within the WebAuthn assertion response. */
2151
+ signature: string;
2152
+ };
2153
+ };
2154
+ export type operations = {
2155
+ /** Get details about an Activity */
2156
+ PublicApiService_GetActivity: {
2157
+ parameters: {
2158
+ body: {
2159
+ body: definitions["v1GetActivityRequest"];
2160
+ };
2161
+ };
2162
+ responses: {
2163
+ /** A successful response. */
2164
+ 200: {
2165
+ schema: definitions["v1ActivityResponse"];
2166
+ };
2167
+ /** An unexpected error response. */
2168
+ default: {
2169
+ schema: definitions["rpcStatus"];
2170
+ };
2171
+ };
2172
+ };
2173
+ /** Get details about an API key */
2174
+ PublicApiService_GetApiKey: {
2175
+ parameters: {
2176
+ body: {
2177
+ body: definitions["v1GetApiKeyRequest"];
2178
+ };
2179
+ };
2180
+ responses: {
2181
+ /** A successful response. */
2182
+ 200: {
2183
+ schema: definitions["v1GetApiKeyResponse"];
2184
+ };
2185
+ /** An unexpected error response. */
2186
+ default: {
2187
+ schema: definitions["rpcStatus"];
2188
+ };
2189
+ };
2190
+ };
2191
+ /** Get details about API keys for a user */
2192
+ PublicApiService_GetApiKeys: {
2193
+ parameters: {
2194
+ body: {
2195
+ body: definitions["v1GetApiKeysRequest"];
2196
+ };
2197
+ };
2198
+ responses: {
2199
+ /** A successful response. */
2200
+ 200: {
2201
+ schema: definitions["v1GetApiKeysResponse"];
2202
+ };
2203
+ /** An unexpected error response. */
2204
+ default: {
2205
+ schema: definitions["rpcStatus"];
2206
+ };
2207
+ };
2208
+ };
2209
+ /** Get details about an authenticator */
2210
+ PublicApiService_GetAuthenticator: {
2211
+ parameters: {
2212
+ body: {
2213
+ body: definitions["v1GetAuthenticatorRequest"];
2214
+ };
2215
+ };
2216
+ responses: {
2217
+ /** A successful response. */
2218
+ 200: {
2219
+ schema: definitions["v1GetAuthenticatorResponse"];
2220
+ };
2221
+ /** An unexpected error response. */
2222
+ default: {
2223
+ schema: definitions["rpcStatus"];
2224
+ };
2225
+ };
2226
+ };
2227
+ /** Get details about authenticators for a user */
2228
+ PublicApiService_GetAuthenticators: {
2229
+ parameters: {
2230
+ body: {
2231
+ body: definitions["v1GetAuthenticatorsRequest"];
2232
+ };
2233
+ };
2234
+ responses: {
2235
+ /** A successful response. */
2236
+ 200: {
2237
+ schema: definitions["v1GetAuthenticatorsResponse"];
2238
+ };
2239
+ /** An unexpected error response. */
2240
+ default: {
2241
+ schema: definitions["rpcStatus"];
2242
+ };
2243
+ };
2244
+ };
2245
+ /** Get details about an Organization */
2246
+ PublicApiService_GetOrganization: {
2247
+ parameters: {
2248
+ body: {
2249
+ body: definitions["v1GetOrganizationRequest"];
2250
+ };
2251
+ };
2252
+ responses: {
2253
+ /** A successful response. */
2254
+ 200: {
2255
+ schema: definitions["v1GetOrganizationResponse"];
2256
+ };
2257
+ /** An unexpected error response. */
2258
+ default: {
2259
+ schema: definitions["rpcStatus"];
2260
+ };
2261
+ };
2262
+ };
2263
+ /** Get details about a Policy */
2264
+ PublicApiService_GetPolicy: {
2265
+ parameters: {
2266
+ body: {
2267
+ body: definitions["v1GetPolicyRequest"];
2268
+ };
2269
+ };
2270
+ responses: {
2271
+ /** A successful response. */
2272
+ 200: {
2273
+ schema: definitions["v1GetPolicyResponse"];
2274
+ };
2275
+ /** An unexpected error response. */
2276
+ default: {
2277
+ schema: definitions["rpcStatus"];
2278
+ };
2279
+ };
2280
+ };
2281
+ /** Get details about a Private Key */
2282
+ PublicApiService_GetPrivateKey: {
2283
+ parameters: {
2284
+ body: {
2285
+ body: definitions["v1GetPrivateKeyRequest"];
2286
+ };
2287
+ };
2288
+ responses: {
2289
+ /** A successful response. */
2290
+ 200: {
2291
+ schema: definitions["v1GetPrivateKeyResponse"];
2292
+ };
2293
+ /** An unexpected error response. */
2294
+ default: {
2295
+ schema: definitions["rpcStatus"];
2296
+ };
2297
+ };
2298
+ };
2299
+ /** Get details about a User */
2300
+ PublicApiService_GetUser: {
2301
+ parameters: {
2302
+ body: {
2303
+ body: definitions["v1GetUserRequest"];
2304
+ };
2305
+ };
2306
+ responses: {
2307
+ /** A successful response. */
2308
+ 200: {
2309
+ schema: definitions["v1GetUserResponse"];
2310
+ };
2311
+ /** An unexpected error response. */
2312
+ default: {
2313
+ schema: definitions["rpcStatus"];
2314
+ };
2315
+ };
2316
+ };
2317
+ /** Get details about a Wallet */
2318
+ PublicApiService_GetWallet: {
2319
+ parameters: {
2320
+ body: {
2321
+ body: definitions["v1GetWalletRequest"];
2322
+ };
2323
+ };
2324
+ responses: {
2325
+ /** A successful response. */
2326
+ 200: {
2327
+ schema: definitions["v1GetWalletResponse"];
2328
+ };
2329
+ /** An unexpected error response. */
2330
+ default: {
2331
+ schema: definitions["rpcStatus"];
2332
+ };
2333
+ };
2334
+ };
2335
+ /** List all Activities within an Organization */
2336
+ PublicApiService_GetActivities: {
2337
+ parameters: {
2338
+ body: {
2339
+ body: definitions["v1GetActivitiesRequest"];
2340
+ };
2341
+ };
2342
+ responses: {
2343
+ /** A successful response. */
2344
+ 200: {
2345
+ schema: definitions["v1GetActivitiesResponse"];
2346
+ };
2347
+ /** An unexpected error response. */
2348
+ default: {
2349
+ schema: definitions["rpcStatus"];
2350
+ };
2351
+ };
2352
+ };
2353
+ /** List all Policies within an Organization */
2354
+ PublicApiService_GetPolicies: {
2355
+ parameters: {
2356
+ body: {
2357
+ body: definitions["v1GetPoliciesRequest"];
2358
+ };
2359
+ };
2360
+ responses: {
2361
+ /** A successful response. */
2362
+ 200: {
2363
+ schema: definitions["v1GetPoliciesResponse"];
2364
+ };
2365
+ /** An unexpected error response. */
2366
+ default: {
2367
+ schema: definitions["rpcStatus"];
2368
+ };
2369
+ };
2370
+ };
2371
+ /** List all Private Key Tags within an Organization */
2372
+ PublicApiService_ListPrivateKeyTags: {
2373
+ parameters: {
2374
+ body: {
2375
+ body: definitions["v1ListPrivateKeyTagsRequest"];
2376
+ };
2377
+ };
2378
+ responses: {
2379
+ /** A successful response. */
2380
+ 200: {
2381
+ schema: definitions["v1ListPrivateKeyTagsResponse"];
2382
+ };
2383
+ /** An unexpected error response. */
2384
+ default: {
2385
+ schema: definitions["rpcStatus"];
2386
+ };
2387
+ };
2388
+ };
2389
+ /** List all Private Keys within an Organization */
2390
+ PublicApiService_GetPrivateKeys: {
2391
+ parameters: {
2392
+ body: {
2393
+ body: definitions["v1GetPrivateKeysRequest"];
2394
+ };
2395
+ };
2396
+ responses: {
2397
+ /** A successful response. */
2398
+ 200: {
2399
+ schema: definitions["v1GetPrivateKeysResponse"];
2400
+ };
2401
+ /** An unexpected error response. */
2402
+ default: {
2403
+ schema: definitions["rpcStatus"];
2404
+ };
2405
+ };
2406
+ };
2407
+ /** Get all suborg IDs associated given a parent org ID and an optional filter. */
2408
+ PublicApiService_GetSubOrgIds: {
2409
+ parameters: {
2410
+ body: {
2411
+ body: definitions["v1GetSubOrgIdsRequest"];
2412
+ };
2413
+ };
2414
+ responses: {
2415
+ /** A successful response. */
2416
+ 200: {
2417
+ schema: definitions["v1GetSubOrgIdsResponse"];
2418
+ };
2419
+ /** An unexpected error response. */
2420
+ default: {
2421
+ schema: definitions["rpcStatus"];
2422
+ };
2423
+ };
2424
+ };
2425
+ /** List all User Tags within an Organization */
2426
+ PublicApiService_ListUserTags: {
2427
+ parameters: {
2428
+ body: {
2429
+ body: definitions["v1ListUserTagsRequest"];
2430
+ };
2431
+ };
2432
+ responses: {
2433
+ /** A successful response. */
2434
+ 200: {
2435
+ schema: definitions["v1ListUserTagsResponse"];
2436
+ };
2437
+ /** An unexpected error response. */
2438
+ default: {
2439
+ schema: definitions["rpcStatus"];
2440
+ };
2441
+ };
2442
+ };
2443
+ /** List all Users within an Organization */
2444
+ PublicApiService_GetUsers: {
2445
+ parameters: {
2446
+ body: {
2447
+ body: definitions["v1GetUsersRequest"];
2448
+ };
2449
+ };
2450
+ responses: {
2451
+ /** A successful response. */
2452
+ 200: {
2453
+ schema: definitions["v1GetUsersResponse"];
2454
+ };
2455
+ /** An unexpected error response. */
2456
+ default: {
2457
+ schema: definitions["rpcStatus"];
2458
+ };
2459
+ };
2460
+ };
2461
+ /** List all Accounts wirhin a Wallet */
2462
+ PublicApiService_GetWalletAccounts: {
2463
+ parameters: {
2464
+ body: {
2465
+ body: definitions["v1GetWalletAccountsRequest"];
2466
+ };
2467
+ };
2468
+ responses: {
2469
+ /** A successful response. */
2470
+ 200: {
2471
+ schema: definitions["v1GetWalletAccountsResponse"];
2472
+ };
2473
+ /** An unexpected error response. */
2474
+ default: {
2475
+ schema: definitions["rpcStatus"];
2476
+ };
2477
+ };
2478
+ };
2479
+ /** List all Wallets within an Organization */
2480
+ PublicApiService_GetWallets: {
2481
+ parameters: {
2482
+ body: {
2483
+ body: definitions["v1GetWalletsRequest"];
2484
+ };
2485
+ };
2486
+ responses: {
2487
+ /** A successful response. */
2488
+ 200: {
2489
+ schema: definitions["v1GetWalletsResponse"];
2490
+ };
2491
+ /** An unexpected error response. */
2492
+ default: {
2493
+ schema: definitions["rpcStatus"];
2494
+ };
2495
+ };
2496
+ };
2497
+ /** 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. */
2498
+ PublicApiService_GetWhoami: {
2499
+ parameters: {
2500
+ body: {
2501
+ body: definitions["v1GetWhoamiRequest"];
2502
+ };
2503
+ };
2504
+ responses: {
2505
+ /** A successful response. */
2506
+ 200: {
2507
+ schema: definitions["v1GetWhoamiResponse"];
2508
+ };
2509
+ /** An unexpected error response. */
2510
+ default: {
2511
+ schema: definitions["rpcStatus"];
2512
+ };
2513
+ };
2514
+ };
2515
+ /** Approve an Activity */
2516
+ PublicApiService_ApproveActivity: {
2517
+ parameters: {
2518
+ body: {
2519
+ body: definitions["v1ApproveActivityRequest"];
2520
+ };
2521
+ };
2522
+ responses: {
2523
+ /** A successful response. */
2524
+ 200: {
2525
+ schema: definitions["v1ActivityResponse"];
2526
+ };
2527
+ /** An unexpected error response. */
2528
+ default: {
2529
+ schema: definitions["rpcStatus"];
2530
+ };
2531
+ };
2532
+ };
2533
+ /** Add api keys to an existing User */
2534
+ PublicApiService_CreateApiKeys: {
2535
+ parameters: {
2536
+ body: {
2537
+ body: definitions["v1CreateApiKeysRequest"];
2538
+ };
2539
+ };
2540
+ responses: {
2541
+ /** A successful response. */
2542
+ 200: {
2543
+ schema: definitions["v1ActivityResponse"];
2544
+ };
2545
+ /** An unexpected error response. */
2546
+ default: {
2547
+ schema: definitions["rpcStatus"];
2548
+ };
2549
+ };
2550
+ };
2551
+ /** Create API-only Users in an existing Organization */
2552
+ PublicApiService_CreateApiOnlyUsers: {
2553
+ parameters: {
2554
+ body: {
2555
+ body: definitions["v1CreateApiOnlyUsersRequest"];
2556
+ };
2557
+ };
2558
+ responses: {
2559
+ /** A successful response. */
2560
+ 200: {
2561
+ schema: definitions["v1ActivityResponse"];
2562
+ };
2563
+ /** An unexpected error response. */
2564
+ default: {
2565
+ schema: definitions["rpcStatus"];
2566
+ };
2567
+ };
2568
+ };
2569
+ /** Create Authenticators to authenticate requests to Turnkey */
2570
+ PublicApiService_CreateAuthenticators: {
2571
+ parameters: {
2572
+ body: {
2573
+ body: definitions["v1CreateAuthenticatorsRequest"];
2574
+ };
2575
+ };
2576
+ responses: {
2577
+ /** A successful response. */
2578
+ 200: {
2579
+ schema: definitions["v1ActivityResponse"];
2580
+ };
2581
+ /** An unexpected error response. */
2582
+ default: {
2583
+ schema: definitions["rpcStatus"];
2584
+ };
2585
+ };
2586
+ };
2587
+ /** Create Invitations to join an existing Organization */
2588
+ PublicApiService_CreateInvitations: {
2589
+ parameters: {
2590
+ body: {
2591
+ body: definitions["v1CreateInvitationsRequest"];
2592
+ };
2593
+ };
2594
+ responses: {
2595
+ /** A successful response. */
2596
+ 200: {
2597
+ schema: definitions["v1ActivityResponse"];
2598
+ };
2599
+ /** An unexpected error response. */
2600
+ default: {
2601
+ schema: definitions["rpcStatus"];
2602
+ };
2603
+ };
2604
+ };
2605
+ /** Create new Policies */
2606
+ PublicApiService_CreatePolicies: {
2607
+ parameters: {
2608
+ body: {
2609
+ body: definitions["v1CreatePoliciesRequest"];
2610
+ };
2611
+ };
2612
+ responses: {
2613
+ /** A successful response. */
2614
+ 200: {
2615
+ schema: definitions["v1ActivityResponse"];
2616
+ };
2617
+ /** An unexpected error response. */
2618
+ default: {
2619
+ schema: definitions["rpcStatus"];
2620
+ };
2621
+ };
2622
+ };
2623
+ /** Create a new Policy */
2624
+ PublicApiService_CreatePolicy: {
2625
+ parameters: {
2626
+ body: {
2627
+ body: definitions["v1CreatePolicyRequest"];
2628
+ };
2629
+ };
2630
+ responses: {
2631
+ /** A successful response. */
2632
+ 200: {
2633
+ schema: definitions["v1ActivityResponse"];
2634
+ };
2635
+ /** An unexpected error response. */
2636
+ default: {
2637
+ schema: definitions["rpcStatus"];
2638
+ };
2639
+ };
2640
+ };
2641
+ /** Create a private key tag and add it to private keys. */
2642
+ PublicApiService_CreatePrivateKeyTag: {
2643
+ parameters: {
2644
+ body: {
2645
+ body: definitions["v1CreatePrivateKeyTagRequest"];
2646
+ };
2647
+ };
2648
+ responses: {
2649
+ /** A successful response. */
2650
+ 200: {
2651
+ schema: definitions["v1ActivityResponse"];
2652
+ };
2653
+ /** An unexpected error response. */
2654
+ default: {
2655
+ schema: definitions["rpcStatus"];
2656
+ };
2657
+ };
2658
+ };
2659
+ /** Create new Private Keys */
2660
+ PublicApiService_CreatePrivateKeys: {
2661
+ parameters: {
2662
+ body: {
2663
+ body: definitions["v1CreatePrivateKeysRequest"];
2664
+ };
2665
+ };
2666
+ responses: {
2667
+ /** A successful response. */
2668
+ 200: {
2669
+ schema: definitions["v1ActivityResponse"];
2670
+ };
2671
+ /** An unexpected error response. */
2672
+ default: {
2673
+ schema: definitions["rpcStatus"];
2674
+ };
2675
+ };
2676
+ };
2677
+ /** Create a read only session for a user (valid for 1 hour) */
2678
+ PublicApiService_CreateReadOnlySession: {
2679
+ parameters: {
2680
+ body: {
2681
+ body: definitions["v1CreateReadOnlySessionRequest"];
2682
+ };
2683
+ };
2684
+ responses: {
2685
+ /** A successful response. */
2686
+ 200: {
2687
+ schema: definitions["v1ActivityResponse"];
2688
+ };
2689
+ /** An unexpected error response. */
2690
+ default: {
2691
+ schema: definitions["rpcStatus"];
2692
+ };
2693
+ };
2694
+ };
2695
+ /** Create a new Sub-Organization */
2696
+ PublicApiService_CreateSubOrganization: {
2697
+ parameters: {
2698
+ body: {
2699
+ body: definitions["v1CreateSubOrganizationRequest"];
2700
+ };
2701
+ };
2702
+ responses: {
2703
+ /** A successful response. */
2704
+ 200: {
2705
+ schema: definitions["v1ActivityResponse"];
2706
+ };
2707
+ /** An unexpected error response. */
2708
+ default: {
2709
+ schema: definitions["rpcStatus"];
2710
+ };
2711
+ };
2712
+ };
2713
+ /** Create a user tag and add it to users. */
2714
+ PublicApiService_CreateUserTag: {
2715
+ parameters: {
2716
+ body: {
2717
+ body: definitions["v1CreateUserTagRequest"];
2718
+ };
2719
+ };
2720
+ responses: {
2721
+ /** A successful response. */
2722
+ 200: {
2723
+ schema: definitions["v1ActivityResponse"];
2724
+ };
2725
+ /** An unexpected error response. */
2726
+ default: {
2727
+ schema: definitions["rpcStatus"];
2728
+ };
2729
+ };
2730
+ };
2731
+ /** Create Users in an existing Organization */
2732
+ PublicApiService_CreateUsers: {
2733
+ parameters: {
2734
+ body: {
2735
+ body: definitions["v1CreateUsersRequest"];
2736
+ };
2737
+ };
2738
+ responses: {
2739
+ /** A successful response. */
2740
+ 200: {
2741
+ schema: definitions["v1ActivityResponse"];
2742
+ };
2743
+ /** An unexpected error response. */
2744
+ default: {
2745
+ schema: definitions["rpcStatus"];
2746
+ };
2747
+ };
2748
+ };
2749
+ /** Create a Wallet and derive addresses */
2750
+ PublicApiService_CreateWallet: {
2751
+ parameters: {
2752
+ body: {
2753
+ body: definitions["v1CreateWalletRequest"];
2754
+ };
2755
+ };
2756
+ responses: {
2757
+ /** A successful response. */
2758
+ 200: {
2759
+ schema: definitions["v1ActivityResponse"];
2760
+ };
2761
+ /** An unexpected error response. */
2762
+ default: {
2763
+ schema: definitions["rpcStatus"];
2764
+ };
2765
+ };
2766
+ };
2767
+ /** Derive additional addresses using an existing wallet */
2768
+ PublicApiService_CreateWalletAccounts: {
2769
+ parameters: {
2770
+ body: {
2771
+ body: definitions["v1CreateWalletAccountsRequest"];
2772
+ };
2773
+ };
2774
+ responses: {
2775
+ /** A successful response. */
2776
+ 200: {
2777
+ schema: definitions["v1ActivityResponse"];
2778
+ };
2779
+ /** An unexpected error response. */
2780
+ default: {
2781
+ schema: definitions["rpcStatus"];
2782
+ };
2783
+ };
2784
+ };
2785
+ /** Remove api keys from a User */
2786
+ PublicApiService_DeleteApiKeys: {
2787
+ parameters: {
2788
+ body: {
2789
+ body: definitions["v1DeleteApiKeysRequest"];
2790
+ };
2791
+ };
2792
+ responses: {
2793
+ /** A successful response. */
2794
+ 200: {
2795
+ schema: definitions["v1ActivityResponse"];
2796
+ };
2797
+ /** An unexpected error response. */
2798
+ default: {
2799
+ schema: definitions["rpcStatus"];
2800
+ };
2801
+ };
2802
+ };
2803
+ /** Remove authenticators from a User */
2804
+ PublicApiService_DeleteAuthenticators: {
2805
+ parameters: {
2806
+ body: {
2807
+ body: definitions["v1DeleteAuthenticatorsRequest"];
2808
+ };
2809
+ };
2810
+ responses: {
2811
+ /** A successful response. */
2812
+ 200: {
2813
+ schema: definitions["v1ActivityResponse"];
2814
+ };
2815
+ /** An unexpected error response. */
2816
+ default: {
2817
+ schema: definitions["rpcStatus"];
2818
+ };
2819
+ };
2820
+ };
2821
+ /** Delete an existing Invitation */
2822
+ PublicApiService_DeleteInvitation: {
2823
+ parameters: {
2824
+ body: {
2825
+ body: definitions["v1DeleteInvitationRequest"];
2826
+ };
2827
+ };
2828
+ responses: {
2829
+ /** A successful response. */
2830
+ 200: {
2831
+ schema: definitions["v1ActivityResponse"];
2832
+ };
2833
+ /** An unexpected error response. */
2834
+ default: {
2835
+ schema: definitions["rpcStatus"];
2836
+ };
2837
+ };
2838
+ };
2839
+ /** Delete an existing Policy */
2840
+ PublicApiService_DeletePolicy: {
2841
+ parameters: {
2842
+ body: {
2843
+ body: definitions["v1DeletePolicyRequest"];
2844
+ };
2845
+ };
2846
+ responses: {
2847
+ /** A successful response. */
2848
+ 200: {
2849
+ schema: definitions["v1ActivityResponse"];
2850
+ };
2851
+ /** An unexpected error response. */
2852
+ default: {
2853
+ schema: definitions["rpcStatus"];
2854
+ };
2855
+ };
2856
+ };
2857
+ /** Delete Private Key Tags within an Organization */
2858
+ PublicApiService_DeletePrivateKeyTags: {
2859
+ parameters: {
2860
+ body: {
2861
+ body: definitions["v1DeletePrivateKeyTagsRequest"];
2862
+ };
2863
+ };
2864
+ responses: {
2865
+ /** A successful response. */
2866
+ 200: {
2867
+ schema: definitions["v1ActivityResponse"];
2868
+ };
2869
+ /** An unexpected error response. */
2870
+ default: {
2871
+ schema: definitions["rpcStatus"];
2872
+ };
2873
+ };
2874
+ };
2875
+ /** Delete User Tags within an Organization */
2876
+ PublicApiService_DeleteUserTags: {
2877
+ parameters: {
2878
+ body: {
2879
+ body: definitions["v1DeleteUserTagsRequest"];
2880
+ };
2881
+ };
2882
+ responses: {
2883
+ /** A successful response. */
2884
+ 200: {
2885
+ schema: definitions["v1ActivityResponse"];
2886
+ };
2887
+ /** An unexpected error response. */
2888
+ default: {
2889
+ schema: definitions["rpcStatus"];
2890
+ };
2891
+ };
2892
+ };
2893
+ /** Delete Users within an Organization */
2894
+ PublicApiService_DeleteUsers: {
2895
+ parameters: {
2896
+ body: {
2897
+ body: definitions["v1DeleteUsersRequest"];
2898
+ };
2899
+ };
2900
+ responses: {
2901
+ /** A successful response. */
2902
+ 200: {
2903
+ schema: definitions["v1ActivityResponse"];
2904
+ };
2905
+ /** An unexpected error response. */
2906
+ default: {
2907
+ schema: definitions["rpcStatus"];
2908
+ };
2909
+ };
2910
+ };
2911
+ /** Authenticate a user via Email */
2912
+ PublicApiService_EmailAuth: {
2913
+ parameters: {
2914
+ body: {
2915
+ body: definitions["v1EmailAuthRequest"];
2916
+ };
2917
+ };
2918
+ responses: {
2919
+ /** A successful response. */
2920
+ 200: {
2921
+ schema: definitions["v1ActivityResponse"];
2922
+ };
2923
+ /** An unexpected error response. */
2924
+ default: {
2925
+ schema: definitions["rpcStatus"];
2926
+ };
2927
+ };
2928
+ };
2929
+ /** Exports a Private Key */
2930
+ PublicApiService_ExportPrivateKey: {
2931
+ parameters: {
2932
+ body: {
2933
+ body: definitions["v1ExportPrivateKeyRequest"];
2934
+ };
2935
+ };
2936
+ responses: {
2937
+ /** A successful response. */
2938
+ 200: {
2939
+ schema: definitions["v1ActivityResponse"];
2940
+ };
2941
+ /** An unexpected error response. */
2942
+ default: {
2943
+ schema: definitions["rpcStatus"];
2944
+ };
2945
+ };
2946
+ };
2947
+ /** Exports a Wallet */
2948
+ PublicApiService_ExportWallet: {
2949
+ parameters: {
2950
+ body: {
2951
+ body: definitions["v1ExportWalletRequest"];
2952
+ };
2953
+ };
2954
+ responses: {
2955
+ /** A successful response. */
2956
+ 200: {
2957
+ schema: definitions["v1ActivityResponse"];
2958
+ };
2959
+ /** An unexpected error response. */
2960
+ default: {
2961
+ schema: definitions["rpcStatus"];
2962
+ };
2963
+ };
2964
+ };
2965
+ /** Exports a Wallet Account */
2966
+ PublicApiService_ExportWalletAccount: {
2967
+ parameters: {
2968
+ body: {
2969
+ body: definitions["v1ExportWalletAccountRequest"];
2970
+ };
2971
+ };
2972
+ responses: {
2973
+ /** A successful response. */
2974
+ 200: {
2975
+ schema: definitions["v1ActivityResponse"];
2976
+ };
2977
+ /** An unexpected error response. */
2978
+ default: {
2979
+ schema: definitions["rpcStatus"];
2980
+ };
2981
+ };
2982
+ };
2983
+ /** Imports a private key */
2984
+ PublicApiService_ImportPrivateKey: {
2985
+ parameters: {
2986
+ body: {
2987
+ body: definitions["v1ImportPrivateKeyRequest"];
2988
+ };
2989
+ };
2990
+ responses: {
2991
+ /** A successful response. */
2992
+ 200: {
2993
+ schema: definitions["v1ActivityResponse"];
2994
+ };
2995
+ /** An unexpected error response. */
2996
+ default: {
2997
+ schema: definitions["rpcStatus"];
2998
+ };
2999
+ };
3000
+ };
3001
+ /** Imports a wallet */
3002
+ PublicApiService_ImportWallet: {
3003
+ parameters: {
3004
+ body: {
3005
+ body: definitions["v1ImportWalletRequest"];
3006
+ };
3007
+ };
3008
+ responses: {
3009
+ /** A successful response. */
3010
+ 200: {
3011
+ schema: definitions["v1ActivityResponse"];
3012
+ };
3013
+ /** An unexpected error response. */
3014
+ default: {
3015
+ schema: definitions["rpcStatus"];
3016
+ };
3017
+ };
3018
+ };
3019
+ /** Initializes a new private key import */
3020
+ PublicApiService_InitImportPrivateKey: {
3021
+ parameters: {
3022
+ body: {
3023
+ body: definitions["v1InitImportPrivateKeyRequest"];
3024
+ };
3025
+ };
3026
+ responses: {
3027
+ /** A successful response. */
3028
+ 200: {
3029
+ schema: definitions["v1ActivityResponse"];
3030
+ };
3031
+ /** An unexpected error response. */
3032
+ default: {
3033
+ schema: definitions["rpcStatus"];
3034
+ };
3035
+ };
3036
+ };
3037
+ /** Initializes a new wallet import */
3038
+ PublicApiService_InitImportWallet: {
3039
+ parameters: {
3040
+ body: {
3041
+ body: definitions["v1InitImportWalletRequest"];
3042
+ };
3043
+ };
3044
+ responses: {
3045
+ /** A successful response. */
3046
+ 200: {
3047
+ schema: definitions["v1ActivityResponse"];
3048
+ };
3049
+ /** An unexpected error response. */
3050
+ default: {
3051
+ schema: definitions["rpcStatus"];
3052
+ };
3053
+ };
3054
+ };
3055
+ /** Initializes a new email recovery */
3056
+ PublicApiService_InitUserEmailRecovery: {
3057
+ parameters: {
3058
+ body: {
3059
+ body: definitions["v1InitUserEmailRecoveryRequest"];
3060
+ };
3061
+ };
3062
+ responses: {
3063
+ /** A successful response. */
3064
+ 200: {
3065
+ schema: definitions["v1ActivityResponse"];
3066
+ };
3067
+ /** An unexpected error response. */
3068
+ default: {
3069
+ schema: definitions["rpcStatus"];
3070
+ };
3071
+ };
3072
+ };
3073
+ /** Completes the process of recovering a user by adding an authenticator */
3074
+ PublicApiService_RecoverUser: {
3075
+ parameters: {
3076
+ body: {
3077
+ body: definitions["v1RecoverUserRequest"];
3078
+ };
3079
+ };
3080
+ responses: {
3081
+ /** A successful response. */
3082
+ 200: {
3083
+ schema: definitions["v1ActivityResponse"];
3084
+ };
3085
+ /** An unexpected error response. */
3086
+ default: {
3087
+ schema: definitions["rpcStatus"];
3088
+ };
3089
+ };
3090
+ };
3091
+ /** Reject an Activity */
3092
+ PublicApiService_RejectActivity: {
3093
+ parameters: {
3094
+ body: {
3095
+ body: definitions["v1RejectActivityRequest"];
3096
+ };
3097
+ };
3098
+ responses: {
3099
+ /** A successful response. */
3100
+ 200: {
3101
+ schema: definitions["v1ActivityResponse"];
3102
+ };
3103
+ /** An unexpected error response. */
3104
+ default: {
3105
+ schema: definitions["rpcStatus"];
3106
+ };
3107
+ };
3108
+ };
3109
+ /** Removes an organization feature */
3110
+ PublicApiService_RemoveOrganizationFeature: {
3111
+ parameters: {
3112
+ body: {
3113
+ body: definitions["v1RemoveOrganizationFeatureRequest"];
3114
+ };
3115
+ };
3116
+ responses: {
3117
+ /** A successful response. */
3118
+ 200: {
3119
+ schema: definitions["v1ActivityResponse"];
3120
+ };
3121
+ /** An unexpected error response. */
3122
+ default: {
3123
+ schema: definitions["rpcStatus"];
3124
+ };
3125
+ };
3126
+ };
3127
+ /** Sets an organization feature */
3128
+ PublicApiService_SetOrganizationFeature: {
3129
+ parameters: {
3130
+ body: {
3131
+ body: definitions["v1SetOrganizationFeatureRequest"];
3132
+ };
3133
+ };
3134
+ responses: {
3135
+ /** A successful response. */
3136
+ 200: {
3137
+ schema: definitions["v1ActivityResponse"];
3138
+ };
3139
+ /** An unexpected error response. */
3140
+ default: {
3141
+ schema: definitions["rpcStatus"];
3142
+ };
3143
+ };
3144
+ };
3145
+ /** Sign a raw payload */
3146
+ PublicApiService_SignRawPayload: {
3147
+ parameters: {
3148
+ body: {
3149
+ body: definitions["v1SignRawPayloadRequest"];
3150
+ };
3151
+ };
3152
+ responses: {
3153
+ /** A successful response. */
3154
+ 200: {
3155
+ schema: definitions["v1ActivityResponse"];
3156
+ };
3157
+ /** An unexpected error response. */
3158
+ default: {
3159
+ schema: definitions["rpcStatus"];
3160
+ };
3161
+ };
3162
+ };
3163
+ /** Sign multiple raw payloads with the same signing parameters */
3164
+ PublicApiService_SignRawPayloads: {
3165
+ parameters: {
3166
+ body: {
3167
+ body: definitions["v1SignRawPayloadsRequest"];
3168
+ };
3169
+ };
3170
+ responses: {
3171
+ /** A successful response. */
3172
+ 200: {
3173
+ schema: definitions["v1ActivityResponse"];
3174
+ };
3175
+ /** An unexpected error response. */
3176
+ default: {
3177
+ schema: definitions["rpcStatus"];
3178
+ };
3179
+ };
3180
+ };
3181
+ /** Sign a transaction */
3182
+ PublicApiService_SignTransaction: {
3183
+ parameters: {
3184
+ body: {
3185
+ body: definitions["v1SignTransactionRequest"];
3186
+ };
3187
+ };
3188
+ responses: {
3189
+ /** A successful response. */
3190
+ 200: {
3191
+ schema: definitions["v1ActivityResponse"];
3192
+ };
3193
+ /** An unexpected error response. */
3194
+ default: {
3195
+ schema: definitions["rpcStatus"];
3196
+ };
3197
+ };
3198
+ };
3199
+ /** Update an existing Policy */
3200
+ PublicApiService_UpdatePolicy: {
3201
+ parameters: {
3202
+ body: {
3203
+ body: definitions["v1UpdatePolicyRequest"];
3204
+ };
3205
+ };
3206
+ responses: {
3207
+ /** A successful response. */
3208
+ 200: {
3209
+ schema: definitions["v1ActivityResponse"];
3210
+ };
3211
+ /** An unexpected error response. */
3212
+ default: {
3213
+ schema: definitions["rpcStatus"];
3214
+ };
3215
+ };
3216
+ };
3217
+ /** 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. */
3218
+ PublicApiService_UpdatePrivateKeyTag: {
3219
+ parameters: {
3220
+ body: {
3221
+ body: definitions["v1UpdatePrivateKeyTagRequest"];
3222
+ };
3223
+ };
3224
+ responses: {
3225
+ /** A successful response. */
3226
+ 200: {
3227
+ schema: definitions["v1ActivityResponse"];
3228
+ };
3229
+ /** An unexpected error response. */
3230
+ default: {
3231
+ schema: definitions["rpcStatus"];
3232
+ };
3233
+ };
3234
+ };
3235
+ /** Set the threshold and members of the root quorum. This must be approved by the current root quorum. */
3236
+ PublicApiService_UpdateRootQuorum: {
3237
+ parameters: {
3238
+ body: {
3239
+ body: definitions["v1UpdateRootQuorumRequest"];
3240
+ };
3241
+ };
3242
+ responses: {
3243
+ /** A successful response. */
3244
+ 200: {
3245
+ schema: definitions["v1ActivityResponse"];
3246
+ };
3247
+ /** An unexpected error response. */
3248
+ default: {
3249
+ schema: definitions["rpcStatus"];
3250
+ };
3251
+ };
3252
+ };
3253
+ /** Update a User in an existing Organization */
3254
+ PublicApiService_UpdateUser: {
3255
+ parameters: {
3256
+ body: {
3257
+ body: definitions["v1UpdateUserRequest"];
3258
+ };
3259
+ };
3260
+ responses: {
3261
+ /** A successful response. */
3262
+ 200: {
3263
+ schema: definitions["v1ActivityResponse"];
3264
+ };
3265
+ /** An unexpected error response. */
3266
+ default: {
3267
+ schema: definitions["rpcStatus"];
3268
+ };
3269
+ };
3270
+ };
3271
+ /** 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. */
3272
+ PublicApiService_UpdateUserTag: {
3273
+ parameters: {
3274
+ body: {
3275
+ body: definitions["v1UpdateUserTagRequest"];
3276
+ };
3277
+ };
3278
+ responses: {
3279
+ /** A successful response. */
3280
+ 200: {
3281
+ schema: definitions["v1ActivityResponse"];
3282
+ };
3283
+ /** An unexpected error response. */
3284
+ default: {
3285
+ schema: definitions["rpcStatus"];
3286
+ };
3287
+ };
3288
+ };
3289
+ PublicApiService_NOOPCodegenAnchor: {
3290
+ responses: {
3291
+ /** A successful response. */
3292
+ 200: {
3293
+ schema: definitions["v1NOOPCodegenAnchorResponse"];
3294
+ };
3295
+ /** An unexpected error response. */
3296
+ default: {
3297
+ schema: definitions["rpcStatus"];
3298
+ };
3299
+ };
3300
+ };
3301
+ };
3302
+ export type external = {};
3303
+ //# sourceMappingURL=public_api.types.d.ts.map