@sparkvault/sdk-js 12.0.2 → 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
@@ -371,8 +371,12 @@ declare class IdentityModule {
371
371
  * `IdentityModule.isFedcmAvailable()` and fall back to `signIn()` otherwise.
372
372
  *
373
373
  * @returns the verified result, or `null` when the browser has no FedCM
374
- * support (so the caller can fall back). Throws `UserCancelledError` when the
375
- * person dismisses the chooser.
374
+ * support (so the caller can fall back). Throws `UserCancelledError` when
375
+ * the browser ends the request without a credential: the person dismissed
376
+ * the chooser, or the browser had no SparkVault account to offer (the
377
+ * browser reports both alike). Throws `IdentityProviderError`, carrying
378
+ * SparkVault's own error code, when SparkVault answered the sign-in with an
379
+ * error.
376
380
  *
377
381
  * @example
378
382
  * const result = (await sv.products.identity.isFedcmAvailable())
@@ -1948,6 +1952,13 @@ interface UploadOptions {
1948
1952
  onCancel?: () => void;
1949
1953
  /** Callback for upload progress */
1950
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;
1951
1962
  }
1952
1963
  /** Options for attach() - binds upload to element clicks */
1953
1964
  interface UploadAttachOptions {
@@ -2353,7 +2364,22 @@ interface IngotUpload {
2353
2364
  * ingot already holding the name (false, as `onNameConflict` allowed).
2354
2365
  */
2355
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;
2356
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';
2357
2383
  /** A finalized ingot, returned by the high-level upload/replace flows. */
2358
2384
  interface CreatedIngot {
2359
2385
  /** Ingot ID */
@@ -2558,6 +2584,16 @@ interface IngotSharingConfig {
2558
2584
  shared: boolean;
2559
2585
  /** Visibility mode */
2560
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;
2561
2597
  /** Active invites */
2562
2598
  invites?: IngotInvite[];
2563
2599
  }
@@ -2576,6 +2612,15 @@ interface IngotInvite {
2576
2612
  identity: string;
2577
2613
  /** Identity type */
2578
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;
2579
2624
  }
2580
2625
  /**
2581
2626
  * An ingot access-log entry: a download that delivered the file, a SparkLink
@@ -2685,6 +2730,104 @@ interface FetchedDownload {
2685
2730
  */
2686
2731
  declare function fetchDownload(url: string, options?: FetchDownloadOptions): Promise<FetchedDownload>;
2687
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
+
2688
2831
  /**
2689
2832
  * Ingots Module
2690
2833
  *
@@ -2709,7 +2852,9 @@ declare class IngotsModule {
2709
2852
  * transfer yourself; otherwise prefer {@link upload}. A create another
2710
2853
  * upload of the same file superseded before its token was issued rejects
2711
2854
  * with code `upload_refused` (`details.coreCode` UPLOAD_SUPERSEDED): the
2712
- * 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.
2713
2858
  *
2714
2859
  * @example
2715
2860
  * const session = await sv.ingots.createUpload({
@@ -2719,6 +2864,37 @@ declare class IngotsModule {
2719
2864
  * console.log(session.uploadUrl);
2720
2865
  */
2721
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>;
2722
2898
  /**
2723
2899
  * Send a file's bytes to an upload session — the `uploadUrl` a
2724
2900
  * {@link createUpload} returned — over the resumable transfer every SDK
@@ -2805,7 +2981,11 @@ declare class IngotsModule {
2805
2981
  * server refused — another upload of it superseded this one, at its create
2806
2982
  * or while it streamed, the storage pool cannot take it, or its vault is
2807
2983
  * scheduled for deletion (a 409 `VAULT_DELETION_SCHEDULED`) — rejects with
2808
- * 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.
2809
2989
  *
2810
2990
  * @example
2811
2991
  * const ingot = await sv.ingots.upload(unsealed, {
@@ -2813,6 +2993,12 @@ declare class IngotsModule {
2813
2993
  * });
2814
2994
  */
2815
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;
2816
3002
  /**
2817
3003
  * Replace an existing ingot's content (high-level flow). Rejects as
2818
3004
  * {@link upload} does, a replacement another upload of the same ingot
@@ -2938,13 +3124,16 @@ declare class IngotsModule {
2938
3124
  */
2939
3125
  updateSharingConfig(vault: UnsealedVault, ingotId: string, config: UpdateIngotSharingOptions): Promise<IngotSharingConfig>;
2940
3126
  /**
2941
- * Invite an identity to a shared ingot. The identity type (email or phone)
2942
- * 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.
2943
3132
  *
2944
3133
  * @example
2945
3134
  * await sv.ingots.addInvite(unsealed, 'ing_abc', 'user@example.com');
2946
3135
  */
2947
- addInvite(vault: UnsealedVault, ingotId: string, identity: string): Promise<IngotInvite>;
3136
+ addInvite(vault: UnsealedVault, ingotId: string, identity: string): Promise<IngotInvitation>;
2948
3137
  /**
2949
3138
  * Revoke an ingot sharing invite.
2950
3139
  *
@@ -3543,78 +3732,6 @@ declare const logger: {
3543
3732
  error: (message: string, ...args: unknown[]) => void;
3544
3733
  };
3545
3734
 
3546
- /**
3547
- * SparkVault SDK Error Types
3548
- */
3549
- declare class SparkVaultError extends Error {
3550
- readonly code: string;
3551
- readonly statusCode?: number;
3552
- readonly details?: Record<string, unknown>;
3553
- /**
3554
- * The answer's `Retry-After`, in ms from the answer, read as the platform's
3555
- * transfer policy reads it (RFC 9110 §10.2.3: delay-seconds or an
3556
- * HTTP-date): the earliest a next attempt can expect another answer, which
3557
- * every retry the SDK makes waits out as a floor. Null when the answer
3558
- * carried none the policy could read, or no answer arrived.
3559
- */
3560
- readonly retryAfterMs: number | null;
3561
- constructor(message: string, code: string, statusCode?: number, details?: Record<string, unknown>, retryAfterMs?: number | null);
3562
- }
3563
- declare class AuthenticationError extends SparkVaultError {
3564
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3565
- }
3566
- declare class AuthorizationError extends SparkVaultError {
3567
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3568
- }
3569
- declare class ValidationError extends SparkVaultError {
3570
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3571
- }
3572
- /**
3573
- * The pooled-capacity resource a quota gate refers to. Only the byte pools
3574
- * hard-gate: licenses are assigned per member, never drawn from a pool
3575
- * (inviting and licensing are never quota-gated), and Identity soft-gates
3576
- * through its own path.
3577
- */
3578
- type QuotaResource = 'storage' | 'bandwidth';
3579
- /**
3580
- * Plan required gate (402 PLAN_REQUIRED) — the account has no active
3581
- * subscription and attempted a billable/create action. Surface a subscribe CTA
3582
- * to admins, or "ask your account admin" to members.
3583
- */
3584
- declare class PlanRequiredError extends SparkVaultError {
3585
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3586
- }
3587
- /**
3588
- * Quota exceeded gate (402 QUOTA_EXCEEDED) — a pooled-capacity limit is
3589
- * exhausted. `resource` identifies which pool so callers can point the CTA at
3590
- * the right capacity block.
3591
- */
3592
- declare class QuotaExceededError extends SparkVaultError {
3593
- readonly resource?: QuotaResource;
3594
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3595
- }
3596
- /**
3597
- * Notify subscription gate (403 NOTIFY_SUBSCRIPTION_REQUIRED) — the account has
3598
- * no active Notify subscription and attempted a send. Distinct from a generic
3599
- * authorization failure: the credential is fine and re-authenticating changes
3600
- * nothing, so surface a subscribe CTA rather than a sign-in prompt.
3601
- */
3602
- declare class NotifySubscriptionRequiredError extends SparkVaultError {
3603
- constructor(message: string, details?: Record<string, unknown>, retryAfterMs?: number | null);
3604
- }
3605
- declare class NetworkError extends SparkVaultError {
3606
- constructor(message: string, details?: Record<string, unknown>);
3607
- }
3608
- declare class TimeoutError extends SparkVaultError {
3609
- constructor(message?: string);
3610
- }
3611
- declare class UserCancelledError extends SparkVaultError {
3612
- constructor(message?: string);
3613
- }
3614
- declare class PopupBlockedError extends SparkVaultError {
3615
- constructor();
3616
- }
3617
-
3618
3735
  /**
3619
3736
  * SparkVault JavaScript SDK
3620
3737
  *
@@ -3696,5 +3813,5 @@ declare global {
3696
3813
  }
3697
3814
  }
3698
3815
 
3699
- export { AuthenticationError, AuthorizationError, EntropyModule, FoldersModule, IdentityModule, 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 };
3700
- 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 };