@sparkvault/sdk-js 12.0.5 → 13.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.
@@ -89,7 +89,10 @@ export declare class IngotsModule {
89
89
  * `upload_received_publishing`: every byte is received, and the server
90
90
  * finishes the publication on its own, so never upload the file again; a
91
91
  * caller that kept the session (`onSessionCreated`) learns what became of
92
- * it with {@link resumeUpload}.
92
+ * it with {@link resumeUpload}. A chunk's upload progress needs the
93
+ * browser's XMLHttpRequest: where there is none (a Node server) it rejects
94
+ * with code `environment_unsupported` before any request; a server sends
95
+ * the bytes over tus to `uploadUrl` itself.
93
96
  *
94
97
  * @param options.signal - Cancels this transfer (it rejects with code
95
98
  * `cancelled`); other transfers carry on.
@@ -157,7 +160,10 @@ export declare class IngotsModule {
157
160
  * any way but one the server received whole ({@link isReceivedUploadFailure}:
158
161
  * the server publishes or ends that one on its own) is given up: the end of
159
162
  * it with the file its create made ({@link endUpload}) starts as it
160
- * rejects, without holding up its own error.
163
+ * rejects, without holding up its own error. It needs the browser's
164
+ * XMLHttpRequest, as {@link sendUpload} does: in a server process it
165
+ * rejects with code `environment_unsupported` before any request, so no
166
+ * create stages an ingot it cannot send.
161
167
  *
162
168
  * @example
163
169
  * const ingot = await sv.ingots.upload(unsealed, {
@@ -174,7 +180,8 @@ export declare class IngotsModule {
174
180
  /**
175
181
  * Replace an existing ingot's content (high-level flow). Rejects as
176
182
  * {@link upload} does, a replacement another upload of the same ingot
177
- * superseded included (`upload_refused`).
183
+ * superseded included (`upload_refused`), and `environment_unsupported`
184
+ * before the replacement is staged where there is no XMLHttpRequest.
178
185
  *
179
186
  * @example
180
187
  * await sv.ingots.replace(unsealed, 'ing_abc', { file: updatedFile });
@@ -210,7 +217,9 @@ export declare class IngotsModule {
210
217
  */
211
218
  get(vault: UnsealedVault, ingotId: string): Promise<Ingot>;
212
219
  /**
213
- * List ingots in an unsealed vault.
220
+ * List ingots in an unsealed vault, one page at a time in the vault index's
221
+ * order: follow `nextCursor`. `sortBy` orders only the page answered; for
222
+ * one order across a vault, search or list a folder's contents.
214
223
  *
215
224
  * @example
216
225
  * const { ingots } = await sv.ingots.list(unsealed);
@@ -229,9 +229,12 @@ export interface ListIngotsOptions {
229
229
  limit?: number;
230
230
  /** Pagination cursor */
231
231
  cursor?: string;
232
- /** Sort field (name | size | content_type | created | access_count) */
232
+ /**
233
+ * Sort field (name | size | content_type | created | access_count): it
234
+ * orders only the page answered, never the list across pages
235
+ */
233
236
  sortBy?: string;
234
- /** Sort direction */
237
+ /** Sort direction of the page */
235
238
  sortOrder?: 'asc' | 'desc';
236
239
  }
237
240
  /** Options for listContents. */
@@ -1,14 +1,19 @@
1
1
  /**
2
2
  * Notify Module
3
3
  *
4
- * The signed-in user's first-party Notify surface: their own metadata-only
5
- * inbox. The recipient is ALWAYS derived from the session on the server — no
6
- * method takes a `recipient_id`, and any account/recipient a caller might try
7
- * to supply is ignored. This mirrors `@sparkvault/sdk-mobile`'s notify client;
8
- * device push registration is intentionally omitted (Expo-only on mobile).
4
+ * SparkVault's first-party Notify surface: the metadata-only inbox of a user
5
+ * signed in to SparkVault itself (a Core session JWT; an API key or an
6
+ * identity-only token is refused), holding the notifications SparkVault
7
+ * delivered to them `in_app`, plus this browser's Web Push registration. It is
8
+ * not a tenant's inbox for its own end users: a tenant reads its recipients'
9
+ * feeds with `sv.products.notify.getInbox`. The recipient is ALWAYS derived
10
+ * from the session on the server — no method takes a `recipient_id`, and any
11
+ * account/recipient a caller might try to supply is ignored. This mirrors
12
+ * `@sparkvault/sdk-mobile`'s notify client; device push registration is
13
+ * intentionally omitted (Expo-only on mobile).
9
14
  */
10
15
  import { HttpClient } from '../http';
11
- import type { ListNotificationsOptions, ListNotificationsResponse, UnreadCountResponse, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, WebPushKeyResponse, WebPushSubscriptionInput, RegisterWebPushResponse, UnsubscribeWebPushResponse, SubscribeWebPushOptions, SubscribeWebPushResult } from './types';
16
+ import type { ListNotificationsOptions, ListNotificationsResponse, UnreadCountResponse, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, WebPushKeyResponse, WebPushSubscriptionInput, RegisterWebPushResponse, UnsubscribeWebPushResponse, SubscribeWebPushOptions, SubscribeWebPushResult, WebPushStatusOptions, WebPushStatusResult } from './types';
12
17
  export declare class NotifyModule {
13
18
  private readonly http;
14
19
  constructor(http: HttpClient);
@@ -78,6 +83,24 @@ export declare class NotifyModule {
78
83
  * enable-notifications affordance while false.
79
84
  */
80
85
  getWebPushKey(): Promise<WebPushKeyResponse>;
86
+ /**
87
+ * The VAPID public key the server signs every push with, as the bytes a
88
+ * browser subscription is bound to; null while no keypair is provisioned.
89
+ */
90
+ private serverKey;
91
+ /**
92
+ * This browser's Web Push state, read without prompting, subscribing or
93
+ * registering anything: `subscribed` only when the browser holds a
94
+ * subscription made for the key the server signs with now. One made for
95
+ * another key reads `not_subscribed`: its push service refuses every push
96
+ * signed with the current key, and `subscribeWebPush` replaces it. Read it to
97
+ * show whether this browser's notifications are on.
98
+ *
99
+ * @example
100
+ * const registration = await navigator.serviceWorker.getRegistration();
101
+ * const { status } = await sv.notify.getWebPushStatus({ serviceWorkerRegistration: registration });
102
+ */
103
+ getWebPushStatus(options?: WebPushStatusOptions): Promise<WebPushStatusResult>;
81
104
  /**
82
105
  * Register (or refresh) a browser push subscription for the signed-in user.
83
106
  * Accepts a live PushSubscription or its JSON shape.
@@ -93,15 +116,35 @@ export declare class NotifyModule {
93
116
  * permission denied) so a host can branch on the outcome. Call it from a user
94
117
  * gesture (permission prompts require one).
95
118
  *
119
+ * A subscription the browser holds for the current key is kept
120
+ * (`already_subscribed`); one made for a previous key can never deliver
121
+ * again, so it is removed and replaced (`subscribed`). Enabling again is
122
+ * therefore how a browser recovers after the platform's key changes, and
123
+ * `getWebPushStatus` reads such a browser as `not_subscribed` until it does.
124
+ *
96
125
  * @example
97
126
  * const reg = await navigator.serviceWorker.register('/sw.js');
98
127
  * const { status } = await sv.notify.subscribeWebPush({ serviceWorkerRegistration: reg });
99
128
  */
100
129
  subscribeWebPush(options: SubscribeWebPushOptions): Promise<SubscribeWebPushResult>;
130
+ /**
131
+ * Retire a browser subscription bound to a key the server no longer signs
132
+ * with: the server forgets its endpoint first (still authenticated, and the
133
+ * push service would otherwise refuse that endpoint's every push without it
134
+ * ever being pruned), then the browser drops it, which a subscribe against the
135
+ * new key needs. A failure stops here with nothing half-done, so enabling
136
+ * again starts from the same state.
137
+ *
138
+ * `unsubscribe()` resolves false only when the subscription is already gone
139
+ * (another tab dropped it first), which leaves the browser as a subscribe
140
+ * needs it; a browser that kept one refuses that subscribe outright
141
+ * (InvalidStateError), so a kept subscription is never reused unseen.
142
+ */
143
+ private dropDeadSubscription;
101
144
  /**
102
145
  * Disable Web Push on this device: unsubscribe the browser subscription and
103
146
  * remove it server-side. Safe to call when not subscribed (returns false).
104
147
  */
105
148
  unsubscribeWebPush(options: SubscribeWebPushOptions): Promise<boolean>;
106
149
  }
107
- export type { NotificationInboxState, NotificationMarkState, NotificationRow, ListNotificationsOptions, ListNotificationsResponse, UnreadCountResponse, MarkNotificationStateOptions, MarkNotificationStateResponse, NotificationBulkMarkState, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, WebPushKeyResponse, WebPushSubscriptionInput, RegisterWebPushResponse, UnsubscribeWebPushResponse, SubscribeWebPushStatus, SubscribeWebPushOptions, SubscribeWebPushResult, } from './types';
150
+ export type { NotificationInboxState, NotificationMarkState, NotificationRow, ListNotificationsOptions, ListNotificationsResponse, UnreadCountResponse, MarkNotificationStateOptions, MarkNotificationStateResponse, NotificationBulkMarkState, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, WebPushKeyResponse, WebPushSubscriptionInput, RegisterWebPushResponse, UnsubscribeWebPushResponse, SubscribeWebPushStatus, SubscribeWebPushOptions, SubscribeWebPushResult, WebPushStatus, WebPushStatusOptions, WebPushStatusResult, } from './types';
@@ -1,8 +1,10 @@
1
1
  /**
2
2
  * Notify Module Types
3
3
  *
4
- * The signed-in user's first-party inbox. Unlike Entropy/Sparks, notification
5
- * ROWS are NOT remapped to camelCase: their fields mirror the wire. A row carries
4
+ * SparkVault's first-party inbox: the notifications SparkVault itself delivered
5
+ * `in_app` to a signed-in SparkVault user. Unlike Entropy/Sparks, notification
6
+ * ROWS are NOT remapped to camelCase: their fields mirror the wire, and a tenant's
7
+ * sender-side feed (`sv.products.notify.getInbox`) returns the same row. A row carries
6
8
  * its cleartext part (`title`, and for a cleartext send a short `body`) natively;
7
9
  * a SECURE send's content is never carried here — it lives behind the SparkLink
8
10
  * `sparklink_code`. Keeping the wire shape verbatim is the single source of truth
@@ -40,9 +42,11 @@ export interface NotificationRow {
40
42
  archived_at: number | null;
41
43
  /**
42
44
  * The grant to open. Present only while a live reveal stands behind it — a
43
- * SEALED (secure) send that has not been recalled. A cleartext send delivers its
44
- * content inline in the channel and mints no grant; a recalled row's grant is
45
- * revoked and the pointer is withheld rather than echoed.
45
+ * SEALED (secure) send whose grant still opens: not yet opened (on a send that
46
+ * asks for an answer, not yet answered), not expired, not gone and not
47
+ * recalled. A cleartext send delivers its content inline in the channel and
48
+ * mints no grant; once the reveal no longer opens, the pointer is withheld
49
+ * rather than echoed.
46
50
  */
47
51
  sparklink_code?: string;
48
52
  /**
@@ -53,9 +57,10 @@ export interface NotificationRow {
53
57
  pointer_url?: string;
54
58
  /**
55
59
  * True only when there is a secure part left to reveal — exactly when
56
- * `sparklink_code` is present. `false` does NOT mean "cleartext row": a recalled
57
- * row is unlocked too, with nothing behind it. Branch on `recalled` before
58
- * treating an unlocked row as plain text.
60
+ * `sparklink_code` is present. `false` does NOT mean "cleartext row": a sealed
61
+ * row whose reveal no longer opens (opened, answered, expired or gone) is
62
+ * unlocked too, and so is a recalled one, with nothing behind it. Branch on
63
+ * `recalled` before treating an unlocked row as plain text.
59
64
  */
60
65
  locked: boolean;
61
66
  /**
@@ -64,7 +69,6 @@ export interface NotificationRow {
64
69
  * tap-to-reveal that opens nothing.
65
70
  */
66
71
  recalled: boolean;
67
- thread_id?: string;
68
72
  }
69
73
  export interface ListNotificationsOptions {
70
74
  state?: NotificationInboxState;
@@ -164,3 +168,23 @@ export interface SubscribeWebPushResult {
164
168
  /** The live PushSubscription on 'subscribed'/'already_subscribed'. */
165
169
  subscription?: PushSubscription;
166
170
  }
171
+ /**
172
+ * This browser's Web Push state, as getWebPushStatus reads it. `subscribed`
173
+ * means the browser holds a subscription made for the key the server signs
174
+ * with now; one made for another key can never deliver, so it reads
175
+ * `not_subscribed`.
176
+ */
177
+ export type WebPushStatus = 'subscribed' | 'not_subscribed' | 'not_supported' | 'not_configured';
178
+ export interface WebPushStatusOptions {
179
+ /**
180
+ * The page's service-worker registration
181
+ * (`navigator.serviceWorker.getRegistration()`), when it has one: a page
182
+ * with no registration holds no subscription.
183
+ */
184
+ serviceWorkerRegistration?: ServiceWorkerRegistration;
185
+ }
186
+ export interface WebPushStatusResult {
187
+ status: WebPushStatus;
188
+ /** The live PushSubscription, on 'subscribed' only. */
189
+ subscription?: PushSubscription;
190
+ }
@@ -48,9 +48,10 @@ export declare class IdentityApi extends SparkVaultApi {
48
48
  }>;
49
49
  /**
50
50
  * Check whether the SVID resolved from an email or phone has registered
51
- * passkeys (`has_passkey`; cross-tenant — single global RP).
51
+ * passkeys (`has_passkey`; cross-tenant — single global RP), for a
52
+ * verification that admits passkeys.
52
53
  */
53
- checkPasskey(identity: string, identityType?: 'email' | 'phone'): Promise<{
54
+ checkPasskey(identity: string, identityType?: 'email' | 'phone', authContext?: AuthContext): Promise<{
54
55
  has_passkey: boolean;
55
56
  }>;
56
57
  /**
@@ -62,14 +63,9 @@ export declare class IdentityApi extends SparkVaultApi {
62
63
  */
63
64
  redeemHandoffCode(code: string, codeVerifier: string): Promise<RedeemHandoffResponse>;
64
65
  /**
65
- * The auth context a code or magic-link send carries: only its OIDC
66
- * `auth_request_id`. Simple mode is read where a login completes
67
- * (verifyOtp, completePasskeyVerify), never by a send.
68
- */
69
- private buildAuthRequestParam;
70
- /**
71
- * Build auth context params for the completing requests (OIDC/simple mode).
72
- * Converts AuthContext to snake_case params expected by backend.
66
+ * The auth context a send or a completion carries: its OIDC
67
+ * `auth_request_id` (a send keeps the auth request alive as long as what it
68
+ * sent), and the verify session it belongs to.
73
69
  */
74
70
  private buildAuthContextParams;
75
71
  /**
@@ -100,12 +96,13 @@ export declare class IdentityApi extends SparkVaultApi {
100
96
  code: string;
101
97
  }): Promise<SecondFactorVerifyResponse>;
102
98
  /**
103
- * Start passkey verification. An optional identifier scopes the ceremony to
104
- * that person's credentials (`allowCredentials`) so the authenticator offers
105
- * only the matching passkey; omit it for a discoverable ceremony. Completion
106
- * always routes via the credential userHandle, so scoping is purely a hint.
99
+ * Start passkey verification, for a verification that admits passkeys. An
100
+ * optional identifier scopes the ceremony to that person's credentials
101
+ * (`allowCredentials`) so the authenticator offers only the matching passkey;
102
+ * omit it for a discoverable ceremony. Completion always routes via the
103
+ * credential userHandle, so scoping is purely a hint.
107
104
  */
108
- startPasskeyVerify(identity?: string, identityType?: 'email' | 'phone'): Promise<PasskeyChallengeResponse>;
105
+ startPasskeyVerify(identity?: string, identityType?: 'email' | 'phone', authContext?: AuthContext): Promise<PasskeyChallengeResponse>;
109
106
  /**
110
107
  * Complete passkey verification
111
108
  */
@@ -163,6 +160,19 @@ export declare class IdentityApi extends SparkVaultApi {
163
160
  */
164
161
  consumeSparkLinkResult(kindling: string): Promise<SparkLinkOutcome | null>;
165
162
  }
163
+ /**
164
+ * The verify session a request of a verification against one names, as
165
+ * `simple_mode: { session_id }`: the one field of it the server reads, the
166
+ * session's row holding the rest. Every request of the verification carries
167
+ * it (its sends, its passkey check and start, its completion, in a body or a
168
+ * popup's query), so the server holds each to what the session admits; a
169
+ * request that named none would be judged as a sign-in to the account instead.
170
+ */
171
+ export declare function verifySessionParam(authContext?: AuthContext): {
172
+ simple_mode?: {
173
+ session_id: string;
174
+ };
175
+ };
166
176
  /**
167
177
  * Read a SparkLink result event. The WebSocket push and the kindling reclaim
168
178
  * carry the same server-built event, so this is the one reader for both.
@@ -62,7 +62,7 @@ export declare class IdentityModule {
62
62
  * error.
63
63
  *
64
64
  * @example
65
- * const result = (await sv.products.identity.isFedcmAvailable())
65
+ * const result = IdentityModule.isFedcmAvailable()
66
66
  * ? await sv.products.identity.signInWithFedcm().catch(() => sv.products.identity.signIn())
67
67
  * : await sv.products.identity.signIn();
68
68
  */
@@ -116,9 +116,9 @@ export declare class IdentityRenderer {
116
116
  private showInitialAuthStep;
117
117
  /**
118
118
  * True when the discoverable ceremony may be started without a gesture and
119
- * this account actually offers passkey login: the flow runs on the Identity
120
- * origin, the browser carries the passkey hint, and `passkey` is among the
121
- * account's enabled methods.
119
+ * this verification actually offers passkey login: the flow runs on the
120
+ * Identity origin, the browser carries the passkey hint, and `passkey` is
121
+ * among the verification's methods.
122
122
  */
123
123
  private canDiscoverableVerify;
124
124
  /**
@@ -155,6 +155,15 @@ export declare class IdentityRenderer {
155
155
  * actual list of alternatives instead of bouncing back to passkey.
156
156
  */
157
157
  private showMethodSelect;
158
+ /**
159
+ * The state for a verification that leaves this person no method. A request
160
+ * its sender held to a passkey admits the passkey alone, so a person the
161
+ * check found holding none is told the request needs a passkey already
162
+ * registered with SparkVault and that only the sender can resend it at a
163
+ * level they can clear: no retry here changes that. Any other verification
164
+ * with nothing to offer is a configuration fault, shown as one.
165
+ */
166
+ private noMethodState;
158
167
  private handleIdentitySubmit;
159
168
  private getAllowedIdentityTypes;
160
169
  /**
@@ -6,7 +6,7 @@
6
6
  * - Easier debugging and testing
7
7
  * - Clear data ownership
8
8
  */
9
- import type { SdkConfig, VerifyResult, IdentityViewState, AuthContext } from './types';
9
+ import type { SdkConfig, VerifyResult, IdentityViewState, AuthContext, MethodId } from './types';
10
10
  import type { IdentityType } from './views';
11
11
  /**
12
12
  * Passkey-specific state
@@ -47,6 +47,21 @@ export declare class VerificationState {
47
47
  get recipient(): string;
48
48
  get identityType(): IdentityType;
49
49
  setIdentity(recipient: string, type: IdentityType): void;
50
+ /**
51
+ * The methods this verification may use: what its verify session admits,
52
+ * as the hosted page names it, else the account's sign-in methods.
53
+ */
54
+ get methodIds(): MethodId[];
55
+ /**
56
+ * Whether this verification proves a request its sender held to a passkey,
57
+ * as its verify session's hosted page names it: the session admits the
58
+ * passkey alone.
59
+ */
60
+ get passkeyRequired(): boolean;
61
+ /**
62
+ * The identifier types this verification's methods deliver to: its verify
63
+ * session's, else the account's.
64
+ */
50
65
  getAllowedIdentityTypes(): IdentityType[];
51
66
  get authContext(): AuthContext | undefined;
52
67
  setAuthContext(context: AuthContext | undefined): void;
@@ -9,13 +9,33 @@ export type VerifiedIdentityType = 'email' | 'phone' | 'social';
9
9
  export interface AuthContext {
10
10
  /** OIDC auth request ID for authorization code flow */
11
11
  authRequestId?: string;
12
- /** Simple redirect mode configuration */
12
+ /**
13
+ * A verification against a verify session, as the SparkVault-hosted page
14
+ * that serves it describes it. Every request of the verification names the
15
+ * session, and the server reads its destination, state and purpose from it.
16
+ * `methods` and `allowedIdentityTypes` are what the session admits, decided
17
+ * by the server from the session, and the page offers them in place of the
18
+ * account's sign-in methods: a Notify recipient's proof of address admits a
19
+ * code emailed to the address it was sent to and a passkey, whatever the
20
+ * account's sign-in switches on, and the passkey alone for a request its
21
+ * sender held to a passkey; no verify session admits a SparkLink or a social
22
+ * sign-in, neither of which can complete one.
23
+ */
13
24
  simpleMode?: {
14
- successUrl: string;
15
- failureUrl: string;
16
- state?: string;
17
- /** Opaque server-side verify session backing success/failure URLs */
18
- sessionId?: string;
25
+ /** Opaque server-side verify session the verification completes against */
26
+ sessionId: string;
27
+ /** The methods the session admits */
28
+ methods: MethodId[];
29
+ /** The identifier types the session's methods deliver to */
30
+ allowedIdentityTypes: ('email' | 'phone')[];
31
+ /**
32
+ * True when the session proves a request its sender held to a passkey: it
33
+ * admits the passkey alone, so a person who holds no passkey registered
34
+ * with SparkVault is told that only the sender can resend the request at a
35
+ * level they can clear, never offered a way that cannot complete it.
36
+ * Absent reads as false.
37
+ */
38
+ passkeyRequired?: boolean;
19
39
  };
20
40
  }
21
41
  export interface VerifyOptions {
@@ -13,6 +13,13 @@ import type { View } from './base';
13
13
  * dashboard, never through this end-user surface.
14
14
  */
15
15
  export declare const IDENTITY_BLOCKED_ERROR_CODES: readonly ["identity_trial_exhausted", "identity_trial_expired", "identity_capacity_blocked"];
16
+ /**
17
+ * The code of a verification whose request its sender held to a passkey, for
18
+ * a person who holds none: no ceremony here enrols one, so the person can do
19
+ * nothing from this page, and only the sender can resend the request at a
20
+ * level they can clear (the message says so).
21
+ */
22
+ export declare const STRONGER_VERIFICATION_REQUIRED_CODE = "stronger_verification_required";
16
23
  export interface ErrorViewProps {
17
24
  message: string;
18
25
  code: string;
@@ -26,5 +26,5 @@ export declare class ProductsModule {
26
26
  }
27
27
  export { IdentityModule } from './identity';
28
28
  export { NotifyProductModule, NOTIFY_PRESETS, buildNotifyPresetSend } from './notify';
29
- export type { VerifyOptions, AttachOptions, VerifyResult, TokenClaims, } from './identity';
30
- export type { NotifyChannel, NotifyDeliveryMode, NotifyVerificationLevel, NotifyInteraction, NotifyPresetCategory, NotifyCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyPreset, NotifyRecipient, NotifyRecipientRef, NotifySendContent, NotifyIngotRef, NotifySendPolicy, NotifyEscalation, CreateNotifySendOptions, NotifySendResult, NotifyInboxView, NotifyInboxMarkState, NotifyInboxBulkMarkState, NotifyInboxRow, ListNotifyInboxOptions, ListNotifyInboxResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, NotifySendStatus, NotifySendStatusRecipient, NotifySendStatusCounts, NotifySendState, NotifySendSummary, ListNotifySendsOptions, ListNotifySendsResponse, NotifyRecallMode, RecallNotifySendOptions, RecallNotifySendResponse, NotifyReceipt, NotifyReceiptEventType, NotifySendReceipt, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, NotifySendReceiptsResponse, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigHistory, NotifyConfigSecurity, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigPatch, NotifyConfigOverrides, NotifyConfigResponse, } from './notify';
29
+ export type { SignInOptions, SignInResult, VerifyOptions, AttachOptions, VerifyResult, TokenClaims, } from './identity';
30
+ export type { NotifyChannel, NotifyDeliveryMode, NotifyVerificationLevel, NotifyInteraction, NotifyPresetCategory, NotifyCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyPreset, NotifyRecipient, NotifyRecipientRef, NotifySendContent, NotifyIngotRef, NotifySendPolicy, NotifyEscalation, CreateNotifySendOptions, NotifySendResult, NotifyInboxView, NotifyInboxMarkState, NotifyInboxBulkMarkState, NotifyInboxRow, ListNotifyInboxOptions, ListNotifyInboxResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, NotifySendStatus, NotifySendStatusRecipient, NotifyRecipientState, NotifySuppressionReason, NotifySendStatusCounts, NotifySendState, NotifySendSummary, ListNotifySendsOptions, ListNotifySendsResponse, NotifyRecallMode, RecallNotifySendOptions, RecallNotifySendResponse, NotifyReceipt, NotifyReportableVerificationLevel, NotifyReceiptEventType, NotifySendReceipt, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, NotifySendReceiptsResponse, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigDeliveryPatch, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigHistory, NotifyConfigSecurity, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigPatch, NotifyConfigOverrides, NotifyConfigResponse, } from './notify';