@sparkvault/sdk-js 12.0.3 → 12.0.4

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.
package/dist/index.d.ts CHANGED
@@ -1952,6 +1952,13 @@ interface UploadOptions {
1952
1952
  onCancel?: () => void;
1953
1953
  /** Callback for upload progress */
1954
1954
  onProgress?: (progress: UploadProgress) => void;
1955
+ /**
1956
+ * Called once the widget has read the vault's upload page and shows its
1957
+ * form (or, given a `file`, starts uploading it). A failure after it is the
1958
+ * widget's to show, with the way on its failure leaves (the same file
1959
+ * again, or another); one before it means the upload page could not load.
1960
+ */
1961
+ onReady?: () => void;
1955
1962
  }
1956
1963
  /** Options for attach() - binds upload to element clicks */
1957
1964
  interface UploadAttachOptions {
@@ -2357,7 +2364,22 @@ interface IngotUpload {
2357
2364
  * ingot already holding the name (false, as `onNameConflict` allowed).
2358
2365
  */
2359
2366
  created: boolean;
2367
+ /**
2368
+ * The upload the create staged onto the ingot (Core's `upload_id`): the id
2369
+ * Forge keys the upload's session by, and the `contentVersion` the ingot
2370
+ * reads once the upload publishes. Giving the upload up ends it with the
2371
+ * file the create made through this id (`endUpload`). Null when the server
2372
+ * named none.
2373
+ */
2374
+ uploadId: string | null;
2360
2375
  }
2376
+ /**
2377
+ * What became of a given-up upload's file (`endUpload`): `deleted`, the vault
2378
+ * holds it no longer (this end deleted it, or it was already gone); `kept`,
2379
+ * this end deleted nothing, and a read of it by id (`get`) shows the file as
2380
+ * it is now.
2381
+ */
2382
+ type UploadEnd = 'deleted' | 'kept';
2361
2383
  /** A finalized ingot, returned by the high-level upload/replace flows. */
2362
2384
  interface CreatedIngot {
2363
2385
  /** Ingot ID */
@@ -2562,6 +2584,16 @@ interface IngotSharingConfig {
2562
2584
  shared: boolean;
2563
2585
  /** Visibility mode */
2564
2586
  visibility?: 'invite_only' | 'authenticated' | 'public';
2587
+ /** The share's permanent files.sv URL, the link its recipients open; null while the ingot is not shared */
2588
+ publicUrl: string | null;
2589
+ /** The share's link code (the URL's last segment); null while the ingot is not shared */
2590
+ linkCode: string | null;
2591
+ /** Whether the vault's public file sharing is on */
2592
+ sharingEnabled: boolean;
2593
+ /** Whether the vault makes every ingot public, which pins this one to public */
2594
+ vaultAllIngotsPublic: boolean;
2595
+ /** The vault's share recipient session length, in seconds */
2596
+ sessionLengthSeconds: number;
2565
2597
  /** Active invites */
2566
2598
  invites?: IngotInvite[];
2567
2599
  }
@@ -2580,6 +2612,15 @@ interface IngotInvite {
2580
2612
  identity: string;
2581
2613
  /** Identity type */
2582
2614
  identityType: 'email' | 'phone';
2615
+ /** When this identity was invited (Unix seconds) */
2616
+ invitedAt: number;
2617
+ }
2618
+ /** An invitation addInvite made or resent. */
2619
+ interface IngotInvitation extends IngotInvite {
2620
+ /** The URL this invitee was sent: the share's files.sv URL, with their own token when the share invites several */
2621
+ shareUrl: string;
2622
+ /** Whether the invitation was delivered by email or text */
2623
+ delivered: boolean;
2583
2624
  }
2584
2625
  /**
2585
2626
  * An ingot access-log entry: a download that delivered the file, a SparkLink
@@ -2689,6 +2730,104 @@ interface FetchedDownload {
2689
2730
  */
2690
2731
  declare function fetchDownload(url: string, options?: FetchDownloadOptions): Promise<FetchedDownload>;
2691
2732
 
2733
+ /**
2734
+ * SparkVault SDK Error Types
2735
+ */
2736
+ declare class SparkVaultError extends Error {
2737
+ readonly code: string;
2738
+ readonly statusCode?: number;
2739
+ readonly details?: Record<string, unknown>;
2740
+ /**
2741
+ * The answer's `Retry-After`, in ms from the answer, read as the platform's
2742
+ * transfer policy reads it (RFC 9110 §10.2.3: delay-seconds or an
2743
+ * HTTP-date): the earliest a next attempt can expect another answer, which
2744
+ * every retry the SDK makes waits out as a floor. Null when the answer
2745
+ * carried none the policy could read, or no answer arrived.
2746
+ */
2747
+ readonly retryAfterMs: number | null;
2748
+ constructor(message: string, code: string, statusCode?: number, details?: Record<string, unknown>, retryAfterMs?: number | null);
2749
+ }
2750
+ declare class AuthenticationError extends SparkVaultError {
2751
+ constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
2752
+ }
2753
+ declare class AuthorizationError extends SparkVaultError {
2754
+ constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
2755
+ }
2756
+ declare class ValidationError extends SparkVaultError {
2757
+ constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
2758
+ }
2759
+ /**
2760
+ * The pooled-capacity resource a quota gate refers to. Only the byte pools
2761
+ * hard-gate: licenses are assigned per member, never drawn from a pool
2762
+ * (inviting and licensing are never quota-gated), and Identity soft-gates
2763
+ * through its own path.
2764
+ */
2765
+ type QuotaResource = 'storage' | 'bandwidth';
2766
+ /**
2767
+ * Plan required gate (402 PLAN_REQUIRED) — the account has no active
2768
+ * subscription and attempted a billable/create action. Surface a subscribe CTA
2769
+ * to admins, or "ask your account admin" to members.
2770
+ */
2771
+ declare class PlanRequiredError extends SparkVaultError {
2772
+ constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
2773
+ }
2774
+ /**
2775
+ * Quota exceeded gate (402 QUOTA_EXCEEDED) — a pooled-capacity limit is
2776
+ * exhausted. `resource` identifies which pool so callers can point the CTA at
2777
+ * the right capacity block.
2778
+ */
2779
+ declare class QuotaExceededError extends SparkVaultError {
2780
+ readonly resource?: QuotaResource;
2781
+ constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
2782
+ }
2783
+ /**
2784
+ * Notify subscription gate (403 NOTIFY_SUBSCRIPTION_REQUIRED) — the account has
2785
+ * no active Notify subscription and attempted a send. Distinct from a generic
2786
+ * authorization failure: the credential is fine and re-authenticating changes
2787
+ * nothing, so surface a subscribe CTA rather than a sign-in prompt.
2788
+ */
2789
+ declare class NotifySubscriptionRequiredError extends SparkVaultError {
2790
+ constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
2791
+ }
2792
+ declare class NetworkError extends SparkVaultError {
2793
+ constructor(message: string, details?: Record<string, unknown>);
2794
+ }
2795
+ declare class TimeoutError extends SparkVaultError {
2796
+ constructor(message?: string);
2797
+ }
2798
+ declare class UserCancelledError extends SparkVaultError {
2799
+ constructor(message?: string);
2800
+ }
2801
+ /**
2802
+ * The identity provider answered a FedCM sign-in with an error of its own
2803
+ * (the browser's `IdentityCredentialError`), after the browser showed the
2804
+ * person its error dialog: the request reached the provider, which refused or
2805
+ * failed it, so it is no cancel. `code` is the provider's answer
2806
+ * (`server_error`, `access_denied`, ...).
2807
+ */
2808
+ declare class IdentityProviderError extends SparkVaultError {
2809
+ constructor(code: string);
2810
+ }
2811
+ declare class PopupBlockedError extends SparkVaultError {
2812
+ constructor();
2813
+ }
2814
+
2815
+ /**
2816
+ * Upload API
2817
+ *
2818
+ * API client for vault upload operations.
2819
+ */
2820
+
2821
+ /**
2822
+ * Whether a transfer failed once the server held every byte of its upload,
2823
+ * short of the upload's own end: `upload_received_publishing`, and any other
2824
+ * failure of the receipt that confirms publication (one refused, or one that
2825
+ * went unanswered), never a gone session, Core's refusal or a cancel. The
2826
+ * server publishes such an upload, or ends it, on its own, so its caller
2827
+ * neither sends it again nor gives it up (`ingots.endUpload`).
2828
+ */
2829
+ declare function isReceivedUploadFailure(error: unknown): boolean;
2830
+
2692
2831
  /**
2693
2832
  * Ingots Module
2694
2833
  *
@@ -2713,7 +2852,9 @@ declare class IngotsModule {
2713
2852
  * transfer yourself; otherwise prefer {@link upload}. A create another
2714
2853
  * upload of the same file superseded before its token was issued rejects
2715
2854
  * with code `upload_refused` (`details.coreCode` UPLOAD_SUPERSEDED): the
2716
- * later upload is the one kept, so a new upload is no remedy.
2855
+ * later upload is the one kept, so a new upload is no remedy. An upload
2856
+ * you give up (you cancel its transfer, or it fails for good) ends with the
2857
+ * file its create made through {@link endUpload}, given this result.
2717
2858
  *
2718
2859
  * @example
2719
2860
  * const session = await sv.ingots.createUpload({
@@ -2723,6 +2864,37 @@ declare class IngotsModule {
2723
2864
  * console.log(session.uploadUrl);
2724
2865
  */
2725
2866
  createUpload(options: CreateUploadOptions): Promise<IngotUpload>;
2867
+ /**
2868
+ * End an upload you give up (you cancelled its transfer, or it failed for
2869
+ * good) with the file its create made ({@link createUpload}'s result): the
2870
+ * server deletes the ingot only while it is still that upload's unfinished
2871
+ * file, ending the upload first, so a publication racing the end is decided
2872
+ * before anything goes. Never give up one the server received whole
2873
+ * ({@link isReceivedUploadFailure}): the server publishes or ends it on its
2874
+ * own. Resolves `deleted` once the vault holds the file no longer, deleted
2875
+ * now or already gone. Resolves `kept` when this end deleted nothing, which
2876
+ * {@link get} shows as it is now: the upload published the file, or a later
2877
+ * upload took it over, before the end reached the server, or, with no
2878
+ * request sent, the create did not make it (`created: false`) or names no
2879
+ * upload (`uploadId: null`), since a delete without its upload would take
2880
+ * whatever file stands. Any other failure rejects, the file left as it was.
2881
+ * {@link upload} ends an upload it cannot finish this way by itself.
2882
+ *
2883
+ * @example
2884
+ * const upload = await sv.ingots.createUpload({ vault: unsealed, name: file.name,
2885
+ * contentType: file.type, sizeBytes: file.size });
2886
+ * try {
2887
+ * await sv.ingots.sendUpload(upload.uploadUrl, file, { signal: controller.signal });
2888
+ * } catch (error) {
2889
+ * if (!isReceivedUploadFailure(error) &&
2890
+ * await sv.ingots.endUpload(unsealed, upload) === 'kept') {
2891
+ * // The end deleted nothing (the upload published the file, say): show it as it is.
2892
+ * showIngot(await sv.ingots.get(unsealed, upload.id));
2893
+ * }
2894
+ * throw error;
2895
+ * }
2896
+ */
2897
+ endUpload(vault: UnsealedVault, upload: Pick<IngotUpload, 'id' | 'created' | 'uploadId'>): Promise<UploadEnd>;
2726
2898
  /**
2727
2899
  * Send a file's bytes to an upload session — the `uploadUrl` a
2728
2900
  * {@link createUpload} returned — over the resumable transfer every SDK
@@ -2809,7 +2981,11 @@ declare class IngotsModule {
2809
2981
  * server refused — another upload of it superseded this one, at its create
2810
2982
  * or while it streamed, the storage pool cannot take it, or its vault is
2811
2983
  * scheduled for deletion (a 409 `VAULT_DELETION_SCHEDULED`) — rejects with
2812
- * code `upload_refused`, as {@link sendUpload} does.
2984
+ * code `upload_refused`, as {@link sendUpload} does. An upload that rejects
2985
+ * any way but one the server received whole ({@link isReceivedUploadFailure}:
2986
+ * the server publishes or ends that one on its own) is given up: the end of
2987
+ * it with the file its create made ({@link endUpload}) starts as it
2988
+ * rejects, without holding up its own error.
2813
2989
  *
2814
2990
  * @example
2815
2991
  * const ingot = await sv.ingots.upload(unsealed, {
@@ -2817,6 +2993,12 @@ declare class IngotsModule {
2817
2993
  * });
2818
2994
  */
2819
2995
  upload(vault: UnsealedVault, options: UploadIngotOptions): Promise<CreatedIngot>;
2996
+ /**
2997
+ * End an upload this flow gave up ({@link endUpload}) without holding up
2998
+ * the error its caller is answered with: an end that fails leaves the file
2999
+ * to the server's expiry of abandoned uploads, and is logged.
3000
+ */
3001
+ private endGivenUp;
2820
3002
  /**
2821
3003
  * Replace an existing ingot's content (high-level flow). Rejects as
2822
3004
  * {@link upload} does, a replacement another upload of the same ingot
@@ -2942,13 +3124,16 @@ declare class IngotsModule {
2942
3124
  */
2943
3125
  updateSharingConfig(vault: UnsealedVault, ingotId: string, config: UpdateIngotSharingOptions): Promise<IngotSharingConfig>;
2944
3126
  /**
2945
- * Invite an identity to a shared ingot. The identity type (email or phone)
2946
- * is inferred server-side from the identity value.
3127
+ * Invite an identity to an ingot's invite-only share, or share an ingot not
3128
+ * yet shared invite-only with it. A public or authenticated share refuses
3129
+ * it (a ValidationError) and changes nothing: set its visibility to
3130
+ * `invite_only` first. The identity type (email or phone) is inferred
3131
+ * server-side from the identity value.
2947
3132
  *
2948
3133
  * @example
2949
3134
  * await sv.ingots.addInvite(unsealed, 'ing_abc', 'user@example.com');
2950
3135
  */
2951
- addInvite(vault: UnsealedVault, ingotId: string, identity: string): Promise<IngotInvite>;
3136
+ addInvite(vault: UnsealedVault, ingotId: string, identity: string): Promise<IngotInvitation>;
2952
3137
  /**
2953
3138
  * Revoke an ingot sharing invite.
2954
3139
  *
@@ -3547,88 +3732,6 @@ declare const logger: {
3547
3732
  error: (message: string, ...args: unknown[]) => void;
3548
3733
  };
3549
3734
 
3550
- /**
3551
- * SparkVault SDK Error Types
3552
- */
3553
- declare class SparkVaultError extends Error {
3554
- readonly code: string;
3555
- readonly statusCode?: number;
3556
- readonly details?: Record<string, unknown>;
3557
- /**
3558
- * The answer's `Retry-After`, in ms from the answer, read as the platform's
3559
- * transfer policy reads it (RFC 9110 §10.2.3: delay-seconds or an
3560
- * HTTP-date): the earliest a next attempt can expect another answer, which
3561
- * every retry the SDK makes waits out as a floor. Null when the answer
3562
- * carried none the policy could read, or no answer arrived.
3563
- */
3564
- readonly retryAfterMs: number | null;
3565
- constructor(message: string, code: string, statusCode?: number, details?: Record<string, unknown>, retryAfterMs?: number | null);
3566
- }
3567
- declare class AuthenticationError extends SparkVaultError {
3568
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3569
- }
3570
- declare class AuthorizationError extends SparkVaultError {
3571
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3572
- }
3573
- declare class ValidationError extends SparkVaultError {
3574
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3575
- }
3576
- /**
3577
- * The pooled-capacity resource a quota gate refers to. Only the byte pools
3578
- * hard-gate: licenses are assigned per member, never drawn from a pool
3579
- * (inviting and licensing are never quota-gated), and Identity soft-gates
3580
- * through its own path.
3581
- */
3582
- type QuotaResource = 'storage' | 'bandwidth';
3583
- /**
3584
- * Plan required gate (402 PLAN_REQUIRED) — the account has no active
3585
- * subscription and attempted a billable/create action. Surface a subscribe CTA
3586
- * to admins, or "ask your account admin" to members.
3587
- */
3588
- declare class PlanRequiredError extends SparkVaultError {
3589
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3590
- }
3591
- /**
3592
- * Quota exceeded gate (402 QUOTA_EXCEEDED) — a pooled-capacity limit is
3593
- * exhausted. `resource` identifies which pool so callers can point the CTA at
3594
- * the right capacity block.
3595
- */
3596
- declare class QuotaExceededError extends SparkVaultError {
3597
- readonly resource?: QuotaResource;
3598
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3599
- }
3600
- /**
3601
- * Notify subscription gate (403 NOTIFY_SUBSCRIPTION_REQUIRED) — the account has
3602
- * no active Notify subscription and attempted a send. Distinct from a generic
3603
- * authorization failure: the credential is fine and re-authenticating changes
3604
- * nothing, so surface a subscribe CTA rather than a sign-in prompt.
3605
- */
3606
- declare class NotifySubscriptionRequiredError extends SparkVaultError {
3607
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3608
- }
3609
- declare class NetworkError extends SparkVaultError {
3610
- constructor(message: string, details?: Record<string, unknown>);
3611
- }
3612
- declare class TimeoutError extends SparkVaultError {
3613
- constructor(message?: string);
3614
- }
3615
- declare class UserCancelledError extends SparkVaultError {
3616
- constructor(message?: string);
3617
- }
3618
- /**
3619
- * The identity provider answered a FedCM sign-in with an error of its own
3620
- * (the browser's `IdentityCredentialError`), after the browser showed the
3621
- * person its error dialog: the request reached the provider, which refused or
3622
- * failed it, so it is no cancel. `code` is the provider's answer
3623
- * (`server_error`, `access_denied`, ...).
3624
- */
3625
- declare class IdentityProviderError extends SparkVaultError {
3626
- constructor(code: string);
3627
- }
3628
- declare class PopupBlockedError extends SparkVaultError {
3629
- constructor();
3630
- }
3631
-
3632
3735
  /**
3633
3736
  * SparkVault JavaScript SDK
3634
3737
  *
@@ -3710,5 +3813,5 @@ declare global {
3710
3813
  }
3711
3814
  }
3712
3815
 
3713
- export { AuthenticationError, AuthorizationError, EntropyModule, FoldersModule, IdentityModule, IdentityProviderError, IngotsModule, NAME_CONFLICT_POLICIES, NOTIFY_PRESETS, NetworkError, NotifyModule, NotifyProductModule, NotifySubscriptionRequiredError, PlanRequiredError, PopupBlockedError, ProductsModule, QuotaExceededError, SparkVault, SparkVaultError, SparksModule, TimeoutError, UserCancelledError, ValidationError, VaultsModule, buildNotifyPresetSend, SparkVault as default, fetchDownload, logger, setDebugMode };
3714
- export type { AccessLogRetention, AccessLogsOptions, CreateFolderOptions, CreateNotifySendOptions, CreateSparkOptions, CreateUploadOptions, CreateVaultOptions, CreatedIngot, CreatedSpark, EntropyFormat, EntropyResult, FetchDownloadOptions, FetchedDownload, Folder, FolderBreadcrumbItem, FolderContents, FolderPage, GenerateEntropyOptions, HealthCheckOptions, HealthCheckResult, AttachOptions as IdentityAttachOptions, Ingot, IngotAccessLog, IngotAccessLogPage, IngotDownloadLink, IngotInvite, IngotPage, IngotSharingConfig, IngotUpload, ListContentsOptions, ListFoldersOptions, ListIngotsOptions, ListNotificationsOptions, ListNotificationsResponse, ListNotifyInboxOptions, ListNotifyInboxResponse, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, ListNotifySendsOptions, ListNotifySendsResponse, ListSparksOptions, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, NameConflictPolicy, NotificationBulkMarkState, NotificationInboxState, NotificationMarkState, NotificationRow, NotifyCategory, NotifyChannel, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigHistory, NotifyConfigOverrides, NotifyConfigPatch, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigResponse, NotifyConfigSecurity, NotifyDeliveryMode, NotifyEscalation, NotifyInboxBulkMarkState, NotifyInboxMarkState, NotifyInboxRow, NotifyInboxView, NotifyIngotRef, NotifyInteraction, NotifyPreset, NotifyPresetCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyRecallMode, NotifyReceipt, NotifyReceiptEventType, NotifyRecipient, NotifyRecipientRef, NotifySendContent, NotifySendPolicy, NotifySendReceipt, NotifySendReceiptsResponse, NotifySendResult, NotifySendState, NotifySendStatus, NotifySendStatusCounts, NotifySendStatusRecipient, NotifySendSummary, NotifyVerificationLevel, QuotaResource, RecallNotifySendOptions, RecallNotifySendResponse, RegisterWebPushResponse, ReplaceIngotOptions, ResumeUploadOptions, ScheduledVaultDeletion, SearchIngotsOptions, SendUploadOptions, ShareSparkOptions, Spark, SparkInviteResend, SparkPage, SparkShare, SparkSummary, SparkVaultConfig, SparkVisibility, SubscribeWebPushOptions, SubscribeWebPushResult, SubscribeWebPushStatus, TokenClaims, UnreadCountResponse, UnsealedVault, UnsubscribeWebPushResponse, UpdateFolderOptions, UpdateIngotSharingOptions, UpdateVaultUploadOptions, UpdatedVault, UploadAttachOptions, UploadBranding, UploadIngotOptions, UploadOptions, UploadProgress, UploadResult, UploadSession, Vault, VaultDetail, VaultLifecycle, VaultSharingConfig, VaultSharingOptions, VaultSummary, VaultUploadConfig, VaultUploadSettings, VerifyOptions, VerifyResult, WebPushKeyResponse, WebPushSubscriptionInput };
3816
+ export { AuthenticationError, AuthorizationError, EntropyModule, FoldersModule, IdentityModule, IdentityProviderError, IngotsModule, NAME_CONFLICT_POLICIES, NOTIFY_PRESETS, NetworkError, NotifyModule, NotifyProductModule, NotifySubscriptionRequiredError, PlanRequiredError, PopupBlockedError, ProductsModule, QuotaExceededError, SparkVault, SparkVaultError, SparksModule, TimeoutError, UserCancelledError, ValidationError, VaultsModule, buildNotifyPresetSend, SparkVault as default, fetchDownload, isReceivedUploadFailure, logger, setDebugMode };
3817
+ export type { AccessLogRetention, AccessLogsOptions, CreateFolderOptions, CreateNotifySendOptions, CreateSparkOptions, CreateUploadOptions, CreateVaultOptions, CreatedIngot, CreatedSpark, EntropyFormat, EntropyResult, FetchDownloadOptions, FetchedDownload, Folder, FolderBreadcrumbItem, FolderContents, FolderPage, GenerateEntropyOptions, HealthCheckOptions, HealthCheckResult, AttachOptions as IdentityAttachOptions, Ingot, IngotAccessLog, IngotAccessLogPage, IngotDownloadLink, IngotInvitation, IngotInvite, IngotPage, IngotSharingConfig, IngotUpload, ListContentsOptions, ListFoldersOptions, ListIngotsOptions, ListNotificationsOptions, ListNotificationsResponse, ListNotifyInboxOptions, ListNotifyInboxResponse, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, ListNotifySendsOptions, ListNotifySendsResponse, ListSparksOptions, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, NameConflictPolicy, NotificationBulkMarkState, NotificationInboxState, NotificationMarkState, NotificationRow, NotifyCategory, NotifyChannel, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigHistory, NotifyConfigOverrides, NotifyConfigPatch, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigResponse, NotifyConfigSecurity, NotifyDeliveryMode, NotifyEscalation, NotifyInboxBulkMarkState, NotifyInboxMarkState, NotifyInboxRow, NotifyInboxView, NotifyIngotRef, NotifyInteraction, NotifyPreset, NotifyPresetCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyRecallMode, NotifyReceipt, NotifyReceiptEventType, NotifyRecipient, NotifyRecipientRef, NotifySendContent, NotifySendPolicy, NotifySendReceipt, NotifySendReceiptsResponse, NotifySendResult, NotifySendState, NotifySendStatus, NotifySendStatusCounts, NotifySendStatusRecipient, NotifySendSummary, NotifyVerificationLevel, QuotaResource, RecallNotifySendOptions, RecallNotifySendResponse, RegisterWebPushResponse, ReplaceIngotOptions, ResumeUploadOptions, ScheduledVaultDeletion, SearchIngotsOptions, SendUploadOptions, ShareSparkOptions, Spark, SparkInviteResend, SparkPage, SparkShare, SparkSummary, SparkVaultConfig, SparkVisibility, SubscribeWebPushOptions, SubscribeWebPushResult, SubscribeWebPushStatus, TokenClaims, UnreadCountResponse, UnsealedVault, UnsubscribeWebPushResponse, UpdateFolderOptions, UpdateIngotSharingOptions, UpdateVaultUploadOptions, UpdatedVault, UploadAttachOptions, UploadBranding, UploadEnd, UploadIngotOptions, UploadOptions, UploadProgress, UploadResult, UploadSession, Vault, VaultDetail, VaultLifecycle, VaultSharingConfig, VaultSharingOptions, VaultSummary, VaultUploadConfig, VaultUploadSettings, VerifyOptions, VerifyResult, WebPushKeyResponse, WebPushSubscriptionInput };