@sparkvault/sdk-js 15.9.1 → 15.11.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.
package/dist/index.d.ts CHANGED
@@ -1084,7 +1084,9 @@ interface VaultSummary extends VaultLifecycle {
1084
1084
  ingotCount: number;
1085
1085
  /** Total storage used in bytes */
1086
1086
  storageBytes: number;
1087
- /** Previous versions retained per structured object; absent on older servers. */
1087
+ /** Previous versions retained per file or structured object (0–50); absent on older servers. */
1088
+ ingotVersionLimit?: number;
1089
+ /** @deprecated Use ingotVersionLimit. */
1088
1090
  structuredIngotVersionLimit?: number;
1089
1091
  /** Whether this vault uses the Structured Ingots browser, including when empty. */
1090
1092
  structuredIngotsEnabled?: boolean;
@@ -1115,7 +1117,9 @@ interface VaultDetail extends VaultLifecycle {
1115
1117
  ingotCount: number;
1116
1118
  /** Total storage used in bytes */
1117
1119
  storageBytes: number;
1118
- /** Previous versions retained per structured object, in addition to current content. */
1120
+ /** Previous versions retained per file or structured object, in addition to current content (default 0). */
1121
+ ingotVersionLimit?: number;
1122
+ /** @deprecated Use ingotVersionLimit. */
1119
1123
  structuredIngotVersionLimit?: number;
1120
1124
  /** Whether this vault is enabled for Structured Ingots, independent of record count. */
1121
1125
  structuredIngotsEnabled?: boolean;
@@ -3089,6 +3093,32 @@ interface IngotDownload {
3089
3093
  blob: Blob;
3090
3094
  revision: string;
3091
3095
  }
3096
+ /** One retained publication; current content is not included in version history. */
3097
+ interface IngotVersion {
3098
+ versionId: string;
3099
+ publishedAt: number;
3100
+ sizeBytes: number;
3101
+ /** Absent for publications retained before MIME metadata was recorded. */
3102
+ contentType?: string;
3103
+ }
3104
+ interface IngotHistory {
3105
+ id: string;
3106
+ /** Maximum previous versions retained on the next successful content change. */
3107
+ versionLimit: number;
3108
+ /** Retained publications, newest first. */
3109
+ versions: IngotVersion[];
3110
+ }
3111
+ /** A one-use download link bound to a retained publication. */
3112
+ interface IngotVersionDownloadLink {
3113
+ id: string;
3114
+ downloadUrl: string;
3115
+ size: number;
3116
+ contentVersion: string;
3117
+ revision?: string;
3118
+ expiresAt: number;
3119
+ name?: string;
3120
+ contentType?: string;
3121
+ }
3092
3122
  interface DeleteIngotOptions {
3093
3123
  /** Delete only this object publication. Omitted preserves unconditional deletion. */
3094
3124
  expectedRevision?: string;
@@ -3960,16 +3990,8 @@ interface DeleteStructuredIngotOptions {
3960
3990
  /** Delete only this object publication. Omitted preserves unconditional deletion. */
3961
3991
  expectedRevision?: string;
3962
3992
  }
3963
- interface StructuredIngotVersion {
3964
- versionId: string;
3965
- publishedAt: number;
3966
- sizeBytes: number;
3967
- }
3968
- interface StructuredIngotHistory {
3969
- id: string;
3970
- versionLimit: number;
3971
- versions: StructuredIngotVersion[];
3972
- }
3993
+ type StructuredIngotVersion = IngotVersion;
3994
+ type StructuredIngotHistory = IngotHistory;
3973
3995
  type StructuredActivityPeriod = '24h' | '7d';
3974
3996
  interface StructuredActivityOptions {
3975
3997
  period?: StructuredActivityPeriod;
@@ -4211,12 +4233,213 @@ declare class StructuredIngotsModule {
4211
4233
  importRecords(vault: UnsealedVault, records: AsyncIterable<PortableStructuredIngot> | Iterable<PortableStructuredIngot>, options?: ImportStructuredIngotsOptions): AsyncGenerator<StructuredImportOutcome>;
4212
4234
  }
4213
4235
 
4236
+ /** The authenticated business API; account-less recipient sign-in is separate. */
4237
+ type MessagingIdentity = string | Record<string, unknown>;
4238
+ interface MessagingParticipant {
4239
+ svid: string;
4240
+ role: 'owner' | 'member';
4241
+ addedAt: number;
4242
+ /** Opaque display descriptor, preserved as stored (including user_id/email). */
4243
+ identity?: MessagingIdentity;
4244
+ optedOut?: boolean;
4245
+ }
4246
+ interface MessagingParticipantInput {
4247
+ /** Business member principal. Account-less recipients must join by invite. */
4248
+ svid: string;
4249
+ identity?: MessagingIdentity;
4250
+ }
4251
+ interface MessagingConversationSettings {
4252
+ /** Audit-row retention and receipt lifetime in seconds; 0 disables both. */
4253
+ auditRetentionSeconds?: number;
4254
+ }
4255
+ interface CreateMessagingConversationOptions {
4256
+ participants?: MessagingParticipantInput[];
4257
+ settings?: MessagingConversationSettings;
4258
+ }
4259
+ interface MessagingConversationCreated {
4260
+ conversationId: string;
4261
+ vaultId: string;
4262
+ participants: MessagingParticipant[];
4263
+ createdAt: number;
4264
+ }
4265
+ interface MessagingConversation {
4266
+ conversationId: string;
4267
+ participants: MessagingParticipant[];
4268
+ /** Contiguous durable boundary, not a ceiling for reads. */
4269
+ committedThrough: number;
4270
+ compactedThrough: number;
4271
+ settings: MessagingConversationSettings;
4272
+ createdAt: number;
4273
+ }
4274
+ /** Opaque start key: pass the object from the preceding page back unchanged. */
4275
+ type MessagingInboxCursor = Record<string, string | number>;
4276
+ interface ListMessagingInboxOptions {
4277
+ /** Server default 25, capped at 100. */
4278
+ limit?: number;
4279
+ cursor?: MessagingInboxCursor;
4280
+ }
4281
+ interface MessagingInboxEntry {
4282
+ conversationId: string;
4283
+ accountId: string;
4284
+ lastActivityTs: number;
4285
+ lastMessageId: number;
4286
+ unreadCount: number;
4287
+ lastReadId?: number;
4288
+ archived: boolean;
4289
+ otherParticipants?: unknown;
4290
+ }
4291
+ interface MessagingInboxPage {
4292
+ conversations: MessagingInboxEntry[];
4293
+ /** A short/empty page may still have a continuation. */
4294
+ cursor?: MessagingInboxCursor;
4295
+ }
4296
+ interface MessagingAttachment {
4297
+ ingotId: string;
4298
+ /** Display filename sealed in the message, not in the transfer URL. */
4299
+ name: string;
4300
+ }
4301
+ interface MessagingContentMessage {
4302
+ messageId: number;
4303
+ schemaVersion: number;
4304
+ senderSvid: string;
4305
+ senderIdentity: MessagingIdentity;
4306
+ /** Epoch seconds. */
4307
+ ts: number;
4308
+ contentType: string;
4309
+ content: string;
4310
+ attachments: MessagingAttachment[];
4311
+ recalled?: false;
4312
+ unavailable?: false;
4313
+ }
4314
+ interface MessagingRecalledMessage {
4315
+ messageId: number;
4316
+ recalled: true;
4317
+ unavailable?: false;
4318
+ }
4319
+ interface MessagingUnavailableMessage {
4320
+ messageId: number;
4321
+ unavailable: true;
4322
+ recalled?: false;
4323
+ }
4324
+ /** A gap may become readable on a later read; a recall never carries content. */
4325
+ type MessagingMessage = MessagingContentMessage | MessagingRecalledMessage | MessagingUnavailableMessage;
4326
+ interface ReadMessagingConversationOptions {
4327
+ /** Inclusive range; supply both fromId and toId to page through history. */
4328
+ fromId?: number;
4329
+ toId?: number;
4330
+ /** Newest-page size when no range is supplied; server default 25, cap 50. */
4331
+ limit?: number;
4332
+ }
4333
+ interface MessagingReadResult {
4334
+ messages: MessagingMessage[];
4335
+ committedThrough: number;
4336
+ compactedThrough: number;
4337
+ }
4338
+ interface SendMessagingMessageOptions {
4339
+ /** Non-empty text, at most 64 KiB UTF-8 (enforced by Core). */
4340
+ content: string;
4341
+ contentType?: 'text/plain';
4342
+ /** Completed, live unsent uploads belonging to this sender/conversation. */
4343
+ attachments?: MessagingAttachment[];
4344
+ }
4345
+ interface MessagingMessageReceipt {
4346
+ accountId: string;
4347
+ conversationId: string;
4348
+ messageId: number;
4349
+ senderSvid: string;
4350
+ contentHash: string;
4351
+ ts: number;
4352
+ }
4353
+ interface MessagingSendResult {
4354
+ messageId: number;
4355
+ conversationId: string;
4356
+ ts: number;
4357
+ ingotId: string;
4358
+ contentHash: string;
4359
+ committedThrough: number;
4360
+ /** Pending means an earlier allocated id has not been resolved yet. */
4361
+ status: 'committed' | 'pending';
4362
+ receipt: MessagingMessageReceipt;
4363
+ }
4364
+ interface MessagingReceiptToken {
4365
+ receiptToken: string;
4366
+ expiresAt: number;
4367
+ receipt: Omit<MessagingMessageReceipt, 'ts'> & {
4368
+ messageTs: number;
4369
+ };
4370
+ }
4371
+ interface MessagingRecipientIdentity {
4372
+ type: 'email' | 'phone';
4373
+ value: string;
4374
+ }
4375
+ interface MessagingInviteResult {
4376
+ svid: string;
4377
+ accessUrl: string;
4378
+ }
4379
+ interface InitiateMessagingAttachmentOptions {
4380
+ sizeBytes: number;
4381
+ contentType?: string;
4382
+ }
4383
+ interface MessagingAttachmentUpload {
4384
+ ingotId: string;
4385
+ /** Client-direct upload URL; this method does not transfer bytes. */
4386
+ forgeUrl: string;
4387
+ expiresAt: number;
4388
+ maxBytes: number;
4389
+ }
4390
+ interface MessagingAttachmentDownload {
4391
+ ingotId: string;
4392
+ /** Client-direct download URL; the filename comes from the message. */
4393
+ forgeUrl: string;
4394
+ expiresAt: number;
4395
+ sizeBytes: number;
4396
+ contentType: string;
4397
+ }
4398
+
4399
+ /**
4400
+ * Business-side Messaging operations using the caller's Core JWT or API key.
4401
+ * Core brokers the keys and returns plaintext reads; this is not end-to-end
4402
+ * encryption. No recipient login, DOM widget, polling or message cache lives here.
4403
+ */
4404
+
4405
+ /** Stateless, authenticated business API for the pre-launch Messaging product. */
4406
+ declare class MessagingModule {
4407
+ private readonly http;
4408
+ constructor(http: HttpClient);
4409
+ /** Follow cursor even when a page contains fewer than limit conversations. */
4410
+ getInbox(options?: ListMessagingInboxOptions): Promise<MessagingInboxPage>;
4411
+ /** Create with business members; invite account-less recipients separately. */
4412
+ createConversation(options?: CreateMessagingConversationOptions): Promise<MessagingConversationCreated>;
4413
+ getConversation(conversationId: string): Promise<MessagingConversation>;
4414
+ /** Sends are never retried automatically: Core allocates a new id per send. */
4415
+ send(conversationId: string, options: SendMessagingMessageOptions): Promise<MessagingSendResult>;
4416
+ /** Fresh read each time, including recalls and newly resolved gaps at old ids. */
4417
+ read(conversationId: string, options?: ReadMessagingConversationOptions): Promise<MessagingReadResult>;
4418
+ markRead(conversationId: string, lastReadId: number): Promise<void>;
4419
+ archive(conversationId: string, archived?: boolean): Promise<void>;
4420
+ invite(conversationId: string, identity: MessagingRecipientIdentity): Promise<MessagingInviteResult>;
4421
+ addParticipant(conversationId: string, input: MessagingParticipantInput): Promise<MessagingParticipant[]>;
4422
+ removeParticipant(conversationId: string, svid: string): Promise<MessagingParticipant[]>;
4423
+ recall(conversationId: string, messageId: number): Promise<void>;
4424
+ getReceipt(conversationId: string, messageId: number): Promise<MessagingReceiptToken>;
4425
+ /** Owner-only; a closed conversation refuses new sends. */
4426
+ close(conversationId: string, closed?: boolean): Promise<void>;
4427
+ /** Stores the caller's preference; Core currently does not gate sends on it. */
4428
+ setOptOut(conversationId: string, optedOut: boolean): Promise<void>;
4429
+ /** Owner-only; legal hold prevents recall, not account deletion. */
4430
+ setLegalHold(conversationId: string, held: boolean): Promise<void>;
4431
+ /** Returns transfer metadata only; no account credential is sent to Forge. */
4432
+ initiateAttachmentUpload(conversationId: string, options: InitiateMessagingAttachmentOptions): Promise<MessagingAttachmentUpload>;
4433
+ getAttachmentDownload(conversationId: string, ingotId: string): Promise<MessagingAttachmentDownload>;
4434
+ }
4435
+
4214
4436
  /**
4215
4437
  * Products Module
4216
4438
  *
4217
4439
  * Namespace for SparkVault first-party products. Each product is a
4218
4440
  * self-contained surface (UI + API) the account can enable independently.
4219
- * Identity, Notify, and the customer-facing Help Desk attach here.
4441
+ * Identity, Notify, customer-facing Help Desk, Structured Ingots, and the
4442
+ * pre-launch Messaging business API attach here.
4220
4443
  */
4221
4444
 
4222
4445
  declare class ProductsModule {
@@ -4232,6 +4455,8 @@ declare class ProductsModule {
4232
4455
  readonly helpDesk: HelpDeskModule;
4233
4456
  /** Encrypted structured records, optional types, and retained object history. */
4234
4457
  readonly structuredIngots: StructuredIngotsModule;
4458
+ /** Authenticated business API for pre-launch Messaging; no recipient widget. */
4459
+ readonly messaging: MessagingModule;
4235
4460
  /**
4236
4461
  * `http` defaults to a client over the same resolved config so constructing
4237
4462
  * this module standalone stays a one-argument call.
@@ -4487,10 +4712,17 @@ declare class VaultsModule {
4487
4712
  */
4488
4713
  updateResealSettings(vaultId: string, settings: VaultResealSettings): Promise<VaultResealSettingsResult>;
4489
4714
  /**
4490
- * Retain this many previous versions of each structured object (0–50).
4491
- * Interactive company administrators only. Applies on each object's next
4492
- * successful change; retained versions count toward storage usage.
4715
+ * Retain this many previous versions of each file or structured object (0–50,
4716
+ * default 0). Interactive company administrators only. Applies on each ingot's
4717
+ * next successful content change; retained versions count toward storage usage.
4493
4718
  */
4719
+ updateVersionHistory(vaultId: string, settings: {
4720
+ versionLimit: number;
4721
+ }): Promise<{
4722
+ vaultId: string;
4723
+ versionLimit: number;
4724
+ }>;
4725
+ /** @deprecated Use updateVersionHistory; retention applies to files and structured objects. */
4494
4726
  updateStructuredIngotSettings(vaultId: string, settings: {
4495
4727
  versionLimit: number;
4496
4728
  }): Promise<{
@@ -5092,6 +5324,12 @@ declare class IngotsModule {
5092
5324
  * } while (pageToken);
5093
5325
  */
5094
5326
  listContents(vault: UnsealedVault, options?: ListContentsOptions): Promise<FolderContents>;
5327
+ /** List previous publications of a file, newest first. Structured objects use their product's history method. */
5328
+ listVersions(vault: UnsealedVault, ingotId: string): Promise<IngotHistory>;
5329
+ /** Mint a one-use link to a retained file publication; use downloadVersion to verify the served bytes. */
5330
+ createVersionDownloadLink(vault: UnsealedVault, ingotId: string, versionId: string): Promise<IngotVersionDownloadLink>;
5331
+ /** Download a retained file publication; never substitutes the current bytes if history is unavailable. */
5332
+ downloadVersion(vault: UnsealedVault, ingotId: string, versionId: string): Promise<Blob>;
5095
5333
  /**
5096
5334
  * Create a signed download link for an ingot (discrete primitive).
5097
5335
  *
@@ -5921,7 +6159,7 @@ declare const logger: {
5921
6159
  */
5922
6160
 
5923
6161
  declare class SparkVault {
5924
- /** First-party Identity, Notify, Help Desk, and Structured Ingots products. */
6162
+ /** First-party products, including the pre-launch Messaging business API. */
5925
6163
  readonly products: ProductsModule;
5926
6164
  /** Encrypted vault control plane (create, unseal, sharing, upload config). */
5927
6165
  readonly vaults: VaultsModule;
@@ -5974,5 +6212,5 @@ declare global {
5974
6212
  }
5975
6213
  }
5976
6214
 
5977
- export { AuthenticationError, AuthorizationError, EntropyModule, FoldersModule, HelpDeskClient, HelpDeskModule, IdentityModule, IdentityProviderError, IngotsModule, NAME_CONFLICT_POLICIES, NOTIFY_PRESETS, NetworkError, NotifyModule, NotifyProductModule, NotifyProjectsModule, NotifySubscriptionRequiredError, PlanRequiredError, PopupBlockedError, ProductsModule, QuotaExceededError, SparkVault, SparkVaultError, SparksModule, StructuredIngotTypesModule, StructuredIngotsModule, TimeoutError, UnauthorizedError, UsageCreditFundingReviewError, UsageCreditsExhaustedError, UserCancelledError, ValidationError, VaultsModule, buildNotifyPresetSend, SparkVault as default, fetchDownload, isReceivedUploadFailure, logger, setDebugMode };
5978
- export type { AccessLogRetention, AccessLogsOptions, BatchGetStructuredIngotsOptions, CreateFolderOptions, CreateNotifyProjectOptions, CreateNotifySendOptions, CreateSparkOptions, CreateStructuredIngotOptions, CreateStructuredTypeOptions, CreateUploadOptions, CreateVaultOptions, CreatedIngot, CreatedSpark, DeleteIngotOptions, DeleteStructuredIngotOptions, DownloadIngotOptions, EntropyFormat, EntropyResult, FetchDownloadOptions, FetchedDownload, Folder, FolderBreadcrumbItem, FolderContents, FolderPage, GenerateEntropyOptions, GetStructuredIngotOptions, HealthCheckOptions, HealthCheckResult, HelpDeskAttachmentDownload, HelpDeskAttachmentInput, HelpDeskAttachmentUpload, HelpDeskConnectOptions, HelpDeskCreateTicketOptions, HelpDeskCustomer, HelpDeskCustomerPatch, HelpDeskDesk, HelpDeskDraft, HelpDeskEvent, HelpDeskExternalChallenge, HelpDeskExternalIdentity, HelpDeskFormHandle, HelpDeskFormOptions, HelpDeskFormState, HelpDeskIdentityRequest, HelpDeskListTicketsOptions, HelpDeskMountFormOptions, HelpDeskOpenFormOptions, HelpDeskPinChallenge, HelpDeskReplyCreated, HelpDeskReplyOptions, HelpDeskRequestContext, HelpDeskSession, HelpDeskSessionChange, HelpDeskSupportHandle, HelpDeskSupportLauncherOptions, HelpDeskSupportOpenOptions, HelpDeskSupportOptions, HelpDeskSupportStage, HelpDeskSupportState, HelpDeskTicket, HelpDeskTicketCreated, HelpDeskTicketDetail, HelpDeskTicketList, HelpDeskTimeline, HelpDeskVerifyPinOptions, HelpDeskWidgetFormIdentity, HelpDeskWidgetIdentityChallenge, HelpDeskWidgetIdentityOptions, HelpDeskWidgetIdentitySession, AttachOptions as IdentityAttachOptions, ImportStructuredIngotsOptions, Ingot, IngotAccessLog, IngotAccessLogPage, IngotDownload, IngotDownloadLink, IngotInvitation, IngotInvite, IngotPage, IngotSharingConfig, IngotUpload, ListContentsOptions, ListFoldersOptions, ListIngotsOptions, ListNotificationsOptions, ListNotificationsResponse, ListNotifyInboxOptions, ListNotifyInboxResponse, ListNotifyProjectsResponse, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, ListNotifySendsOptions, ListNotifySendsResponse, ListSparksOptions, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, NameConflictPolicy, NotificationBulkMarkState, NotificationInboxState, NotificationMarkState, NotificationRow, NotificationSender, NotifyCategory, NotifyChannel, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigDeliveryPatch, NotifyConfigDestinations, NotifyConfigDestinationsPatch, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigHistory, NotifyConfigOverrides, NotifyConfigPatch, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigResponse, NotifyConfigSecurity, NotifyDeliveryMode, NotifyDestinationFailureReason, NotifyDestinationKind, NotifyDestinationReason, NotifyDestinationSkipReason, NotifyDestinationState, NotifyDestinationTestReason, NotifyDestinationTestResult, NotifyDestinationTransportReason, NotifyEscalation, NotifyInboxBulkMarkState, NotifyInboxMarkState, NotifyInboxRow, NotifyInboxView, NotifyIngotRef, NotifyInteraction, NotifyPreset, NotifyPresetCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyProject, NotifyProjectBilling, NotifyProjectStatus, NotifyProjectSubscriptionPreview, NotifyProjectSubscriptionResponse, NotifyProjectUsage, NotifyRecallMode, NotifyReceipt, NotifyReceiptEventType, NotifyRecipient, NotifyRecipientRef, NotifyRecipientState, NotifyReportableVerificationLevel, NotifySendContent, NotifySendPolicy, NotifySendReceipt, NotifySendReceiptsResponse, NotifySendResult, NotifySendState, NotifySendStatus, NotifySendStatusCounts, NotifySendStatusDestination, NotifySendStatusRecipient, NotifySendSummary, NotifySendSummaryDestination, NotifySlackDestination, NotifySuppressionReason, NotifyTeamsDestination, NotifyTeamsDestinationRead, NotifyVerificationLevel, NotifyWebhookDestination, NotifyWebhookDestinationRead, PatchStructuredIngotOptions, PortableStructuredIngot, PortableStructuredType, PreviewNotifyProjectSubscriptionOptions, PublishStructuredTypeOptions, QuotaResource, RecallNotifySendOptions, RecallNotifySendResponse, RegisterWebPushResponse, ReplaceIngotOptions, RestoreStructuredIngotOptions, ResumeUploadOptions, ScheduledVaultDeletion, SearchIngotsOptions, SendUploadOptions, ShareSparkOptions, SignInOptions, SignInResult, Spark, SparkInviteResend, SparkLinkActionOptions, SparkPage, SparkShare, SparkSummary, SparkVaultConfig, SparkVisibility, StartedVaultDeletion, StructuredAccountActivity, StructuredActivity, StructuredActivityOptions, StructuredActivityPeriod, StructuredActivityTotals, StructuredActivityTotalsWire, StructuredActivityWire, StructuredBinaryPath, StructuredExportOutcome, StructuredImportOutcome, StructuredIngot, StructuredIngotHistory, StructuredIngotMutation, StructuredIngotPrecondition, StructuredIngotSummary, StructuredIngotSummaryWire, StructuredIngotVersion, StructuredIngotWire, StructuredIterateOptions, StructuredJsonValue, StructuredMutationWire, StructuredOutcome, StructuredPage, StructuredPageOptions, StructuredPageWire, StructuredReadOutcome, StructuredTypeCreation, StructuredTypeDefinition, StructuredTypeDefinitionWire, StructuredTypePin, StructuredTypePinWire, StructuredTypeSummary, StructuredTypeSummaryWire, StructuredTypeTransform, StructuredValues, StructuredVaultActivity, SubscribeNotifyProjectOptions, SubscribeWebPushOptions, SubscribeWebPushResult, SubscribeWebPushStatus, TokenClaims, UnreachedAdmin, UnreadCountResponse, UnsealVaultOptions, UnsealedVault, UnsubscribeWebPushResponse, UpdateFolderOptions, UpdateIngotSharingOptions, UpdateNotifyProjectOptions, UpdateVaultUploadOptions, UpdatedVault, UploadAttachOptions, UploadBranding, UploadEnd, UploadIngotOptions, UploadOptions, UploadProgress, UploadResult, UploadSession, Vault, VaultDetail, VaultLifecycle, VaultResealDefaults, VaultResealSettings, VaultResealSettingsResult, VaultSessionExtension, VaultSessionTiming, VaultSharingConfig, VaultSharingOptions, VaultSummary, VaultUploadConfig, VaultUploadSettings, VerifyOptions, VerifyResult, WebPushKeyResponse, WebPushStatus, WebPushStatusOptions, WebPushStatusResult, WebPushSubscriptionInput };
6215
+ export { AuthenticationError, AuthorizationError, EntropyModule, FoldersModule, HelpDeskClient, HelpDeskModule, IdentityModule, IdentityProviderError, IngotsModule, MessagingModule, NAME_CONFLICT_POLICIES, NOTIFY_PRESETS, NetworkError, NotifyModule, NotifyProductModule, NotifyProjectsModule, NotifySubscriptionRequiredError, PlanRequiredError, PopupBlockedError, ProductsModule, QuotaExceededError, SparkVault, SparkVaultError, SparksModule, StructuredIngotTypesModule, StructuredIngotsModule, TimeoutError, UnauthorizedError, UsageCreditFundingReviewError, UsageCreditsExhaustedError, UserCancelledError, ValidationError, VaultsModule, buildNotifyPresetSend, SparkVault as default, fetchDownload, isReceivedUploadFailure, logger, setDebugMode };
6216
+ export type { AccessLogRetention, AccessLogsOptions, BatchGetStructuredIngotsOptions, CreateFolderOptions, CreateMessagingConversationOptions, CreateNotifyProjectOptions, CreateNotifySendOptions, CreateSparkOptions, CreateStructuredIngotOptions, CreateStructuredTypeOptions, CreateUploadOptions, CreateVaultOptions, CreatedIngot, CreatedSpark, DeleteIngotOptions, DeleteStructuredIngotOptions, DownloadIngotOptions, EntropyFormat, EntropyResult, FetchDownloadOptions, FetchedDownload, Folder, FolderBreadcrumbItem, FolderContents, FolderPage, GenerateEntropyOptions, GetStructuredIngotOptions, HealthCheckOptions, HealthCheckResult, HelpDeskAttachmentDownload, HelpDeskAttachmentInput, HelpDeskAttachmentUpload, HelpDeskConnectOptions, HelpDeskCreateTicketOptions, HelpDeskCustomer, HelpDeskCustomerPatch, HelpDeskDesk, HelpDeskDraft, HelpDeskEvent, HelpDeskExternalChallenge, HelpDeskExternalIdentity, HelpDeskFormHandle, HelpDeskFormOptions, HelpDeskFormState, HelpDeskIdentityRequest, HelpDeskListTicketsOptions, HelpDeskMountFormOptions, HelpDeskOpenFormOptions, HelpDeskPinChallenge, HelpDeskReplyCreated, HelpDeskReplyOptions, HelpDeskRequestContext, HelpDeskSession, HelpDeskSessionChange, HelpDeskSupportHandle, HelpDeskSupportLauncherOptions, HelpDeskSupportOpenOptions, HelpDeskSupportOptions, HelpDeskSupportStage, HelpDeskSupportState, HelpDeskTicket, HelpDeskTicketCreated, HelpDeskTicketDetail, HelpDeskTicketList, HelpDeskTimeline, HelpDeskVerifyPinOptions, HelpDeskWidgetFormIdentity, HelpDeskWidgetIdentityChallenge, HelpDeskWidgetIdentityOptions, HelpDeskWidgetIdentitySession, AttachOptions as IdentityAttachOptions, ImportStructuredIngotsOptions, Ingot, IngotAccessLog, IngotAccessLogPage, IngotDownload, IngotDownloadLink, IngotHistory, IngotInvitation, IngotInvite, IngotPage, IngotSharingConfig, IngotUpload, IngotVersion, IngotVersionDownloadLink, InitiateMessagingAttachmentOptions, ListContentsOptions, ListFoldersOptions, ListIngotsOptions, ListMessagingInboxOptions, ListNotificationsOptions, ListNotificationsResponse, ListNotifyInboxOptions, ListNotifyInboxResponse, ListNotifyProjectsResponse, ListNotifyReceiptsOptions, ListNotifyReceiptsResponse, ListNotifySendsOptions, ListNotifySendsResponse, ListSparksOptions, MarkAllNotificationsStateOptions, MarkAllNotificationsStateResponse, MarkAllReadResult, MarkNotificationStateOptions, MarkNotificationStateResponse, MarkNotifyInboxAllOptions, MarkNotifyInboxAllResponse, MarkNotifyInboxStateOptions, MarkNotifyInboxStateResponse, MessagingAttachment, MessagingAttachmentDownload, MessagingAttachmentUpload, MessagingContentMessage, MessagingConversation, MessagingConversationCreated, MessagingConversationSettings, MessagingIdentity, MessagingInboxCursor, MessagingInboxEntry, MessagingInboxPage, MessagingInviteResult, MessagingMessage, MessagingMessageReceipt, MessagingParticipant, MessagingParticipantInput, MessagingReadResult, MessagingRecalledMessage, MessagingReceiptToken, MessagingRecipientIdentity, MessagingSendResult, MessagingUnavailableMessage, NameConflictPolicy, NotificationBulkMarkState, NotificationInboxState, NotificationMarkState, NotificationRow, NotificationSender, NotifyCategory, NotifyChannel, NotifyConfig, NotifyConfigCategory, NotifyConfigDelivery, NotifyConfigDeliveryPatch, NotifyConfigDestinations, NotifyConfigDestinationsPatch, NotifyConfigEvents, NotifyConfigEventsRead, NotifyConfigHistory, NotifyConfigOverrides, NotifyConfigPatch, NotifyConfigRealtimeFallbackDelay, NotifyConfigReliability, NotifyConfigResponse, NotifyConfigSecurity, NotifyDeliveryMode, NotifyDestinationFailureReason, NotifyDestinationKind, NotifyDestinationReason, NotifyDestinationSkipReason, NotifyDestinationState, NotifyDestinationTestReason, NotifyDestinationTestResult, NotifyDestinationTransportReason, NotifyEscalation, NotifyInboxBulkMarkState, NotifyInboxMarkState, NotifyInboxRow, NotifyInboxView, NotifyIngotRef, NotifyInteraction, NotifyPreset, NotifyPresetCategory, NotifyPresetName, NotifyPresetSendOptions, NotifyProject, NotifyProjectBilling, NotifyProjectStatus, NotifyProjectSubscriptionPreview, NotifyProjectSubscriptionResponse, NotifyProjectUsage, NotifyRecallMode, NotifyReceipt, NotifyReceiptEventType, NotifyRecipient, NotifyRecipientRef, NotifyRecipientState, NotifyReportableVerificationLevel, NotifySendContent, NotifySendPolicy, NotifySendReceipt, NotifySendReceiptsResponse, NotifySendResult, NotifySendState, NotifySendStatus, NotifySendStatusCounts, NotifySendStatusDestination, NotifySendStatusRecipient, NotifySendSummary, NotifySendSummaryDestination, NotifySlackDestination, NotifySuppressionReason, NotifyTeamsDestination, NotifyTeamsDestinationRead, NotifyVerificationLevel, NotifyWebhookDestination, NotifyWebhookDestinationRead, PatchStructuredIngotOptions, PortableStructuredIngot, PortableStructuredType, PreviewNotifyProjectSubscriptionOptions, PublishStructuredTypeOptions, QuotaResource, ReadMessagingConversationOptions, RecallNotifySendOptions, RecallNotifySendResponse, RegisterWebPushResponse, ReplaceIngotOptions, RestoreStructuredIngotOptions, ResumeUploadOptions, ScheduledVaultDeletion, SearchIngotsOptions, SendMessagingMessageOptions, SendUploadOptions, ShareSparkOptions, SignInOptions, SignInResult, Spark, SparkInviteResend, SparkLinkActionOptions, SparkPage, SparkShare, SparkSummary, SparkVaultConfig, SparkVisibility, StartedVaultDeletion, StructuredAccountActivity, StructuredActivity, StructuredActivityOptions, StructuredActivityPeriod, StructuredActivityTotals, StructuredActivityTotalsWire, StructuredActivityWire, StructuredBinaryPath, StructuredExportOutcome, StructuredImportOutcome, StructuredIngot, StructuredIngotHistory, StructuredIngotMutation, StructuredIngotPrecondition, StructuredIngotSummary, StructuredIngotSummaryWire, StructuredIngotVersion, StructuredIngotWire, StructuredIterateOptions, StructuredJsonValue, StructuredMutationWire, StructuredOutcome, StructuredPage, StructuredPageOptions, StructuredPageWire, StructuredReadOutcome, StructuredTypeCreation, StructuredTypeDefinition, StructuredTypeDefinitionWire, StructuredTypePin, StructuredTypePinWire, StructuredTypeSummary, StructuredTypeSummaryWire, StructuredTypeTransform, StructuredValues, StructuredVaultActivity, SubscribeNotifyProjectOptions, SubscribeWebPushOptions, SubscribeWebPushResult, SubscribeWebPushStatus, TokenClaims, UnreachedAdmin, UnreadCountResponse, UnsealVaultOptions, UnsealedVault, UnsubscribeWebPushResponse, UpdateFolderOptions, UpdateIngotSharingOptions, UpdateNotifyProjectOptions, UpdateVaultUploadOptions, UpdatedVault, UploadAttachOptions, UploadBranding, UploadEnd, UploadIngotOptions, UploadOptions, UploadProgress, UploadResult, UploadSession, Vault, VaultDetail, VaultLifecycle, VaultResealDefaults, VaultResealSettings, VaultResealSettingsResult, VaultSessionExtension, VaultSessionTiming, VaultSharingConfig, VaultSharingOptions, VaultSummary, VaultUploadConfig, VaultUploadSettings, VerifyOptions, VerifyResult, WebPushKeyResponse, WebPushStatus, WebPushStatusOptions, WebPushStatusResult, WebPushSubscriptionInput };