@gravity-rail/sdk 3.2.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +20 -3
  2. package/dist/account-CSJJbLIj.d.cts +459 -0
  3. package/dist/account-CSJJbLIj.d.ts +459 -0
  4. package/dist/{path-ChuuGGLG.d.ts → agent_standing_job-CqKpMoHO.d.cts} +1099 -153
  5. package/dist/{path-CXnjBalr.d.cts → agent_standing_job-yehTe972.d.ts} +1099 -153
  6. package/dist/{chat-interaction-Cc9hQNyx.d.ts → chat-interaction-BtUtVszg.d.ts} +14107 -9967
  7. package/dist/{chat-interaction-CoHsIqyX.d.cts → chat-interaction-CAfwlYvv.d.cts} +14107 -9967
  8. package/dist/{chunk-MAPAZORN.js → chunk-L4XC6KDG.js} +1940 -605
  9. package/dist/chunk-L4XC6KDG.js.map +1 -0
  10. package/dist/{chunk-D5VNVTUQ.js → chunk-P2MSMMMJ.js} +120 -2
  11. package/dist/chunk-P2MSMMMJ.js.map +1 -0
  12. package/dist/{chunk-RLFS7O2L.js → chunk-P2X5TOYY.js} +211 -83
  13. package/dist/chunk-P2X5TOYY.js.map +1 -0
  14. package/dist/helpers.cjs.map +1 -1
  15. package/dist/helpers.d.cts +3 -2
  16. package/dist/helpers.d.ts +3 -2
  17. package/dist/helpers.js +1 -1
  18. package/dist/index.cjs +2309 -1146
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +87 -249
  21. package/dist/index.d.ts +87 -249
  22. package/dist/index.js +171 -458
  23. package/dist/index.js.map +1 -1
  24. package/dist/internal.cjs +2333 -710
  25. package/dist/internal.cjs.map +1 -1
  26. package/dist/internal.d.cts +2486 -285
  27. package/dist/internal.d.ts +2486 -285
  28. package/dist/internal.js +158 -31
  29. package/dist/internal.js.map +1 -1
  30. package/dist/{member-import-BWyl88Qx.d.ts → member-import-C5nnoGvW.d.ts} +1 -1
  31. package/dist/{member-import-9h52_4KO.d.cts → member-import-DhaNVT7s.d.cts} +1 -1
  32. package/dist/realtime.cjs +250 -3
  33. package/dist/realtime.cjs.map +1 -1
  34. package/dist/realtime.d.cts +87 -4
  35. package/dist/realtime.d.ts +87 -4
  36. package/dist/realtime.js +245 -3
  37. package/dist/realtime.js.map +1 -1
  38. package/dist/schemas.cjs +156 -23
  39. package/dist/schemas.cjs.map +1 -1
  40. package/dist/schemas.d.cts +623 -72
  41. package/dist/schemas.d.ts +623 -72
  42. package/dist/schemas.js +74 -25
  43. package/dist/schemas.js.map +1 -1
  44. package/dist/{tasks-B7tIHQcS.d.cts → tasks-A12E_RLa.d.cts} +2275 -2043
  45. package/dist/{tasks-B7tIHQcS.d.ts → tasks-DrmyOlRh.d.ts} +2275 -2043
  46. package/dist/{types-BXaWYGHj.d.cts → types-Bv6GtLZ2.d.cts} +25 -2
  47. package/dist/{types-BXaWYGHj.d.ts → types-Bv6GtLZ2.d.ts} +25 -2
  48. package/package.json +5 -5
  49. package/dist/chunk-D5VNVTUQ.js.map +0 -1
  50. package/dist/chunk-MAPAZORN.js.map +0 -1
  51. package/dist/chunk-RLFS7O2L.js.map +0 -1
package/README.md CHANGED
@@ -118,7 +118,22 @@ const client = new GravityRailClient(undefined, window.location.origin);
118
118
 
119
119
  A cross-origin `baseUrl` with no credential makes unauthenticated calls.
120
120
 
121
- When an organization requires SSO, a 401 carrying `WWW-Authenticate: Bearer realm="org"` calls your `setOrgAuthHandler` handler once. A bearer client's handler must hand back the org session with `client.setOrgSession(session, orgUuid)` (sent as `X-Org-Session`); a same-origin session client is retried once after the handler resolves, carrying the httpOnly org-session cookie the sign-in left.
121
+ An organization authentication challenge (`WWW-Authenticate: Bearer realm="org"`) calls your `setOrgAuthHandler` handler. A bearer handler returns an opaque organization session candidate; it must not call `setOrgSession` during the handler:
122
+
123
+ ```typescript
124
+ client.setOrgAuthHandler(async ({ orgUuid, authUrl, acrValues }) => {
125
+ const session = await signInToOrganization({ orgUuid, authUrl, acrValues });
126
+ return { session, orgUuid, source: 'new' };
127
+ });
128
+ ```
129
+
130
+ `source: 'new'` means the server issued this session during the attempt; it does not establish MFA or reset its authentication time. A handler may return `source: 'cache'` only for a previously saved candidate, before `sessionRejected` is true. It may supply `onRejected` to remove that exact candidate from its cache. Compare the stored credential before removal so an old rejection cannot erase a newer login.
131
+
132
+ The SDK adopts a result only while the handler still owns its original credential context. It sends the candidate as `X-Org-Session` for server validation. A newly issued candidate gets one retry. A bearer request that starts without an org session may validate a cache candidate first, then make one new sign-in attempt if rejected. An empty cache does not permit two new sign-ins. Account MFA recovery has its own one-attempt budget. A concurrent login supersedes an older handler; its failure or delayed result cannot clear the newer credential. `setOrgSession` remains available for configuration outside a handler.
133
+
134
+ A same-origin cookie handler may resolve without a result after sign-in sets the httpOnly org cookie; the SDK retries once with that cookie.
135
+
136
+ `acrValues` reports the server's requested authentication context. The SDK and CLI do not forward Gravity Rail's `urn:gravity:mfa` value as a provider-specific OIDC hint. For SSO with required MFA, configure the identity provider to require MFA and return verified authentication methods. An insufficient newly issued session fails with guidance to complete Account MFA or check the identity provider configuration; the SDK does not repeat interactive sign-in.
122
137
 
123
138
  ## Core Concepts
124
139
 
@@ -430,8 +445,10 @@ empty and Member identifiers are null) when the caller cannot read stored
430
445
  values. Load values with a permitted record read after saving. Customer sign-in
431
446
  policies remain separate from record scopes.
432
447
 
433
- Managed themes use `workspace.createPage` with `title` and
434
- `contentMarkdown` for pages; `slug` is optional and derived from the title when omitted. Source Sites define application routes in their
448
+ Managed themes use `workspace.createPage` with `title` and a TipTap
449
+ `contentBlocks` document for pages. `slug` is optional and derived from the title
450
+ when omitted. Page create and update requests reject `contentHtml`,
451
+ `contentMarkdown`, and `contentAMP`. Source Sites define application routes in their
435
452
  React code; creating a managed Page does not register a React route. For a
436
453
  verified custom domain, use
437
454
  `customDomain` in `createSite` or `updateSite`, following the
@@ -0,0 +1,459 @@
1
+ /**
2
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
3
+ * (group map from emit_openapi.py). Do not edit manually.
4
+ * Group: session
5
+ */
6
+ /**
7
+ * ``{token, sessionKind, expiresAt}`` as sign-in and exchange responses carry it.
8
+ */
9
+ interface MintedSessionFields {
10
+ token: string;
11
+ sessionKind: SessionKind;
12
+ expiresAt: string;
13
+ }
14
+ /**
15
+ * What ``describe_session_token`` reports about a presented session.
16
+ *
17
+ * ``accountUuid`` / ``switchedFromAccountUuid`` let the frontend check that an
18
+ * account-switch stash belongs to the account that switched (the restore in
19
+ * ``/api/auth/end-temp-session``). Both describe a token the caller already
20
+ * holds.
21
+ */
22
+ interface SessionDescription {
23
+ sessionKind: SessionKind;
24
+ expiresAt: string;
25
+ accountUuid?: string | null;
26
+ switchedFromAccountUuid?: string | null;
27
+ }
28
+ /**
29
+ * The kind of session a cookie carries, and the kind of host that reads it.
30
+ */
31
+ type SessionKind = typeof SessionKind[keyof typeof SessionKind];
32
+ declare const SessionKind: {
33
+ readonly account: "account";
34
+ readonly site: "site";
35
+ };
36
+
37
+ /**
38
+ * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
39
+ * (group map from emit_openapi.py). Do not edit manually.
40
+ * Group: account
41
+ */
42
+
43
+ /**
44
+ * One Organization in which the Account has finance access.
45
+ */
46
+ interface AccountBillingOrganizationRef {
47
+ id: number;
48
+ name?: string | null;
49
+ }
50
+ /**
51
+ * Base account response for non-admin endpoints.
52
+ *
53
+ * Note: With Verified Credential Architecture, if email/phone is set,
54
+ * it's verified by construction. The *_verified_at timestamps record when.
55
+ * Credentials are IMMUTABLE once set.
56
+ */
57
+ interface AccountResponse {
58
+ id: number;
59
+ uuid: string;
60
+ loggedIn: boolean;
61
+ avatarUrl: string | null;
62
+ avatarIcon: AccountResponseAvatarIcon;
63
+ avatarColor: AccountResponseAvatarColor;
64
+ avatarSource: AccountResponseAvatarSource;
65
+ avatarCustomized: boolean;
66
+ avatarUseGravatar: boolean;
67
+ email: string | null;
68
+ phone: string | null;
69
+ emailVerifiedAt: string | null;
70
+ phoneVerifiedAt: string | null;
71
+ name: string | null;
72
+ createdAt: string;
73
+ isSuperuser: boolean;
74
+ enabled: boolean;
75
+ signupWorkspaceId: number | null;
76
+ tosAccepted: boolean;
77
+ optedOut: boolean;
78
+ locale: string | null;
79
+ timezone: string | null;
80
+ }
81
+ type AccountResponseAvatarColor = typeof AccountResponseAvatarColor[keyof typeof AccountResponseAvatarColor];
82
+ declare const AccountResponseAvatarColor: {
83
+ readonly teal: "teal";
84
+ readonly sky: "sky";
85
+ readonly blue: "blue";
86
+ readonly indigo: "indigo";
87
+ readonly violet: "violet";
88
+ readonly fuchsia: "fuchsia";
89
+ readonly slate: "slate";
90
+ };
91
+ type AccountResponseAvatarIcon = typeof AccountResponseAvatarIcon[keyof typeof AccountResponseAvatarIcon] | null;
92
+ declare const AccountResponseAvatarIcon: {
93
+ readonly user: "user";
94
+ readonly stethoscope: "stethoscope";
95
+ readonly heart: "heart";
96
+ readonly shield: "shield";
97
+ readonly sparkles: "sparkles";
98
+ readonly star: "star";
99
+ };
100
+ type AccountResponseAvatarSource = typeof AccountResponseAvatarSource[keyof typeof AccountResponseAvatarSource];
101
+ declare const AccountResponseAvatarSource: {
102
+ readonly upload: "upload";
103
+ readonly custom: "custom";
104
+ readonly external: "external";
105
+ readonly gravatar: "gravatar";
106
+ readonly initials: "initials";
107
+ };
108
+ interface AdminAccountMembershipResponse {
109
+ workspaceUuid: string;
110
+ workspaceName: string;
111
+ role: string;
112
+ createdAt: string;
113
+ tosAccepted: boolean;
114
+ memberRoleId: number;
115
+ memberId: number;
116
+ glbLinked: boolean;
117
+ }
118
+ /**
119
+ * Response for an account's organization membership.
120
+ */
121
+ interface AdminAccountOrgMembershipResponse {
122
+ organizationId: number;
123
+ organizationUuid: string;
124
+ organizationName: string;
125
+ organizationSlug: string;
126
+ organizationLogoUrl: string | null;
127
+ role: string;
128
+ name: string | null;
129
+ accountName: string | null;
130
+ externalId: string | null;
131
+ hasBillingAccess?: boolean;
132
+ createdAt: string;
133
+ updatedAt: string;
134
+ }
135
+ /**
136
+ * Detailed account response for admin endpoints including related entities
137
+ */
138
+ interface AdminAccountResponse {
139
+ id: number;
140
+ uuid: string;
141
+ loggedIn: boolean;
142
+ avatarUrl: string | null;
143
+ avatarIcon: AdminAccountResponseAvatarIcon;
144
+ avatarColor: AdminAccountResponseAvatarColor;
145
+ avatarSource: AdminAccountResponseAvatarSource;
146
+ avatarCustomized: boolean;
147
+ avatarUseGravatar: boolean;
148
+ email: string | null;
149
+ phone: string | null;
150
+ emailVerifiedAt: string | null;
151
+ phoneVerifiedAt: string | null;
152
+ name: string | null;
153
+ createdAt: string;
154
+ isSuperuser: boolean;
155
+ enabled: boolean;
156
+ signupWorkspaceId: number | null;
157
+ tosAccepted: boolean;
158
+ optedOut: boolean;
159
+ locale: string | null;
160
+ timezone: string | null;
161
+ billingOrganizations?: AccountBillingOrganizationRef[];
162
+ pendingDeletion?: boolean;
163
+ deletionRequestedAt?: string | null;
164
+ }
165
+ type AdminAccountResponseAvatarColor = typeof AdminAccountResponseAvatarColor[keyof typeof AdminAccountResponseAvatarColor];
166
+ declare const AdminAccountResponseAvatarColor: {
167
+ readonly teal: "teal";
168
+ readonly sky: "sky";
169
+ readonly blue: "blue";
170
+ readonly indigo: "indigo";
171
+ readonly violet: "violet";
172
+ readonly fuchsia: "fuchsia";
173
+ readonly slate: "slate";
174
+ };
175
+ type AdminAccountResponseAvatarIcon = typeof AdminAccountResponseAvatarIcon[keyof typeof AdminAccountResponseAvatarIcon] | null;
176
+ declare const AdminAccountResponseAvatarIcon: {
177
+ readonly user: "user";
178
+ readonly stethoscope: "stethoscope";
179
+ readonly heart: "heart";
180
+ readonly shield: "shield";
181
+ readonly sparkles: "sparkles";
182
+ readonly star: "star";
183
+ };
184
+ type AdminAccountResponseAvatarSource = typeof AdminAccountResponseAvatarSource[keyof typeof AdminAccountResponseAvatarSource];
185
+ declare const AdminAccountResponseAvatarSource: {
186
+ readonly upload: "upload";
187
+ readonly custom: "custom";
188
+ readonly external: "external";
189
+ readonly gravatar: "gravatar";
190
+ readonly initials: "initials";
191
+ };
192
+ /**
193
+ * Response model for when a new API key is created, including the full key.
194
+ */
195
+ interface ApiKeyCreatedResponse {
196
+ id: number;
197
+ uuid: string;
198
+ name: string;
199
+ keyPrefix: string;
200
+ createdAt: string;
201
+ expiresAt?: string | null;
202
+ lastUsedAt?: string | null;
203
+ enabled: boolean;
204
+ scopes: string[];
205
+ appId?: number | null;
206
+ dataUseMode?: DataUseMode;
207
+ key: string;
208
+ }
209
+ /**
210
+ * Response model for API key information.
211
+ */
212
+ interface ApiKeyResponse {
213
+ id: number;
214
+ uuid: string;
215
+ name: string;
216
+ keyPrefix: string;
217
+ createdAt: string;
218
+ expiresAt?: string | null;
219
+ lastUsedAt?: string | null;
220
+ enabled: boolean;
221
+ scopes: string[];
222
+ appId?: number | null;
223
+ dataUseMode?: DataUseMode;
224
+ }
225
+ /**
226
+ * Response after canceling a credential change invitation.
227
+ */
228
+ interface CancelCredentialChangeInviteResponse {
229
+ success: boolean;
230
+ message: string;
231
+ }
232
+ /**
233
+ * Response after canceling a credential change request.
234
+ */
235
+ interface CancelCredentialChangeResponse {
236
+ success: boolean;
237
+ message: string;
238
+ }
239
+ /**
240
+ * Response after confirming a credential change invitation.
241
+ */
242
+ interface CredentialChangeInviteConfirmResponse {
243
+ success: boolean;
244
+ message: string;
245
+ credentialType?: CredentialChangeInviteConfirmResponseCredentialType;
246
+ }
247
+ type CredentialChangeInviteConfirmResponseCredentialType = typeof CredentialChangeInviteConfirmResponseCredentialType[keyof typeof CredentialChangeInviteConfirmResponseCredentialType] | null;
248
+ declare const CredentialChangeInviteConfirmResponseCredentialType: {
249
+ readonly email: "email";
250
+ readonly phone: "phone";
251
+ };
252
+ /**
253
+ * Response with details of a credential change invitation.
254
+ *
255
+ * Used for the confirmation page to show what change is being proposed.
256
+ */
257
+ interface CredentialChangeInviteDetailsResponse {
258
+ id: number;
259
+ credentialType: CredentialChangeInviteDetailsResponseCredentialType;
260
+ newValue: string;
261
+ workspaceName: string;
262
+ workspaceUuid: string;
263
+ initiatedByName: string | null;
264
+ createdAt: string;
265
+ expiresAt: string;
266
+ isExpired: boolean;
267
+ isValid: boolean;
268
+ }
269
+ type CredentialChangeInviteDetailsResponseCredentialType = typeof CredentialChangeInviteDetailsResponseCredentialType[keyof typeof CredentialChangeInviteDetailsResponseCredentialType];
270
+ declare const CredentialChangeInviteDetailsResponseCredentialType: {
271
+ readonly email: "email";
272
+ readonly phone: "phone";
273
+ };
274
+ /**
275
+ * Response after creating a credential change invitation.
276
+ */
277
+ interface CredentialChangeInviteResponse {
278
+ id: number;
279
+ credentialType: CredentialChangeInviteResponseCredentialType;
280
+ maskedNewValue: string;
281
+ expiresAt: string;
282
+ message: string;
283
+ }
284
+ type CredentialChangeInviteResponseCredentialType = typeof CredentialChangeInviteResponseCredentialType[keyof typeof CredentialChangeInviteResponseCredentialType];
285
+ declare const CredentialChangeInviteResponseCredentialType: {
286
+ readonly email: "email";
287
+ readonly phone: "phone";
288
+ };
289
+ /**
290
+ * Response after requesting a credential change.
291
+ */
292
+ interface CredentialChangeRequestResponse {
293
+ id: number;
294
+ credentialType: CredentialChangeRequestResponseCredentialType;
295
+ expiresAt: string;
296
+ message: string;
297
+ }
298
+ type CredentialChangeRequestResponseCredentialType = typeof CredentialChangeRequestResponseCredentialType[keyof typeof CredentialChangeRequestResponseCredentialType];
299
+ declare const CredentialChangeRequestResponseCredentialType: {
300
+ readonly email: "email";
301
+ readonly phone: "phone";
302
+ };
303
+ /**
304
+ * Response after verifying a credential change.
305
+ */
306
+ interface CredentialChangeVerifyResponse {
307
+ success: boolean;
308
+ message: string;
309
+ credentialType?: CredentialChangeVerifyResponseCredentialType;
310
+ }
311
+ type CredentialChangeVerifyResponseCredentialType = typeof CredentialChangeVerifyResponseCredentialType[keyof typeof CredentialChangeVerifyResponseCredentialType] | null;
312
+ declare const CredentialChangeVerifyResponseCredentialType: {
313
+ readonly email: "email";
314
+ readonly phone: "phone";
315
+ };
316
+ /**
317
+ * What a *credential* may carry (ADR-18 §1), not what a member may see.
318
+ *
319
+ * This is an axis on the connection, deliberately not a scope: scopes are
320
+ * additive grants for cross-member access, and a member's own data is reached
321
+ * with no scope at all, so no scope value can express "this channel must not
322
+ * carry PHI". Computed at mint time and mutable afterwards **only toward**
323
+ * :attr:`NO_PHI` — the same "narrows, never widens" doctrine as
324
+ * ``scope_restriction`` and ``Device.enrollment_scope_ceiling``. Widening is a
325
+ * re-consent, i.e. revoke and re-mint under lifted conditions.
326
+ */
327
+ type DataUseMode = typeof DataUseMode[keyof typeof DataUseMode];
328
+ declare const DataUseMode: {
329
+ readonly unrestricted: "unrestricted";
330
+ readonly no_phi: "no_phi";
331
+ };
332
+ interface LoginResponse {
333
+ token: string;
334
+ accountId: number;
335
+ accountName?: string | null;
336
+ accountUuid?: string | null;
337
+ requiresTwoFactor?: boolean | null;
338
+ availableTwoFactorMethods?: unknown[] | null;
339
+ sessionKind?: SessionKind | 'widget' | null;
340
+ expiresAt?: string | null;
341
+ }
342
+ /**
343
+ * Response for a pending credential change invitation.
344
+ */
345
+ interface PendingCredentialChangeInviteResponse {
346
+ id: number;
347
+ credentialType: PendingCredentialChangeInviteResponseCredentialType;
348
+ maskedNewValue: string;
349
+ workspaceName: string;
350
+ initiatedByName: string | null;
351
+ createdAt: string;
352
+ expiresAt: string;
353
+ isExpired: boolean;
354
+ status: string;
355
+ }
356
+ type PendingCredentialChangeInviteResponseCredentialType = typeof PendingCredentialChangeInviteResponseCredentialType[keyof typeof PendingCredentialChangeInviteResponseCredentialType];
357
+ declare const PendingCredentialChangeInviteResponseCredentialType: {
358
+ readonly email: "email";
359
+ readonly phone: "phone";
360
+ };
361
+ /**
362
+ * Response for a pending credential change request.
363
+ */
364
+ interface PendingCredentialChangeResponse {
365
+ id: number;
366
+ credentialType: PendingCredentialChangeResponseCredentialType;
367
+ maskedNewValue: string;
368
+ createdAt: string;
369
+ expiresAt: string;
370
+ isExpired: boolean;
371
+ attempts: number;
372
+ }
373
+ type PendingCredentialChangeResponseCredentialType = typeof PendingCredentialChangeResponseCredentialType[keyof typeof PendingCredentialChangeResponseCredentialType];
374
+ declare const PendingCredentialChangeResponseCredentialType: {
375
+ readonly email: "email";
376
+ readonly phone: "phone";
377
+ };
378
+ /**
379
+ * Response model for recovery codes
380
+ */
381
+ interface RecoveryCodeResponse {
382
+ /** List of recovery codes (only shown once) */
383
+ codes: string[];
384
+ /** When the codes were generated */
385
+ generatedAt: string;
386
+ warning?: string;
387
+ }
388
+ interface SendLoginCodeResponse {
389
+ success: boolean;
390
+ message?: string | null;
391
+ }
392
+ /**
393
+ * Response for TOTP setup initiation
394
+ */
395
+ interface TOTPSetupResponse {
396
+ /** Session ID for completing setup */
397
+ setupId: string;
398
+ /** Base32 encoded TOTP secret */
399
+ secret: string;
400
+ /** QR code URL for easy setup */
401
+ qrCodeUrl: string;
402
+ /** Manual entry key for authenticator apps */
403
+ manualEntryKey: string;
404
+ /** Issuer name for TOTP */
405
+ issuer: string;
406
+ }
407
+ /**
408
+ * Response model for 2FA method details
409
+ */
410
+ interface TwoFactorMethodResponse {
411
+ id: number;
412
+ methodType: string;
413
+ name: string;
414
+ enabled: boolean;
415
+ createdAt: string;
416
+ lastUsedAt?: string | null;
417
+ }
418
+ /**
419
+ * Generic response for 2FA operations
420
+ */
421
+ interface TwoFactorOperationResponse {
422
+ /** Whether the operation was successful */
423
+ success: boolean;
424
+ /** Human-readable message */
425
+ message: string;
426
+ /** ID of the affected 2FA method */
427
+ methodId?: number | null;
428
+ }
429
+ /**
430
+ * Response for overall 2FA status
431
+ */
432
+ interface TwoFactorStatusResponse {
433
+ /** Whether any 2FA method is enabled */
434
+ enabled: boolean;
435
+ /** List of configured 2FA methods */
436
+ methods: TwoFactorMethodResponse[];
437
+ /** Number of unused recovery codes */
438
+ recoveryCodesCount: number;
439
+ /** When recovery codes were last generated */
440
+ lastRecoveryCodesGenerated?: string | null;
441
+ }
442
+ /**
443
+ * Response for WebAuthn registration initiation
444
+ */
445
+ interface WebAuthnRegistrationResponse {
446
+ /** Session ID for completing setup */
447
+ setupId: string;
448
+ /** Full WebAuthn credential creation options */
449
+ credentialCreationOptions: WebAuthnRegistrationResponseCredentialCreationOptions;
450
+ }
451
+ /**
452
+ * Full WebAuthn credential creation options
453
+ */
454
+ type WebAuthnRegistrationResponseCredentialCreationOptions = {
455
+ [key: string]: unknown;
456
+ };
457
+
458
+ export { DataUseMode as D, AccountResponseAvatarColor as l, AccountResponseAvatarIcon as m, AccountResponseAvatarSource as n, SessionKind as t };
459
+ export type { AccountResponse as A, CancelCredentialChangeInviteResponse as C, LoginResponse as L, MintedSessionFields as M, PendingCredentialChangeResponse as P, RecoveryCodeResponse as R, SendLoginCodeResponse as S, TOTPSetupResponse as T, WebAuthnRegistrationResponse as W, ApiKeyResponse as a, ApiKeyCreatedResponse as b, CancelCredentialChangeResponse as c, CredentialChangeInviteConfirmResponse as d, CredentialChangeInviteDetailsResponse as e, CredentialChangeInviteResponse as f, CredentialChangeRequestResponse as g, CredentialChangeVerifyResponse as h, PendingCredentialChangeInviteResponse as i, TwoFactorOperationResponse as j, AccountBillingOrganizationRef as k, AdminAccountResponse as o, AdminAccountOrgMembershipResponse as p, TwoFactorMethodResponse as q, TwoFactorStatusResponse as r, SessionDescription as s, AdminAccountMembershipResponse as u };