@nvisy/sdk 0.48.0 → 0.49.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/CHANGELOG.md CHANGED
@@ -8,6 +8,31 @@ and this project adheres to
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.49.0] - 2026-09-09
12
+
13
+ ### Added
14
+
15
+ - `nvisy.providers` service for a workspace's inference providers (the LLM / NER
16
+ services the platform calls): `listProviders`, `createProvider`, `getProvider`,
17
+ `updateProvider`, `deleteProvider`, and `verifyProvider`
18
+ - Provider datatypes (`Provider`, `CreateProvider`, `UpdateProvider`,
19
+ `ProviderPage`, `ProvidersQuery`, `ProviderId`, `ProviderConfig`,
20
+ `InferenceConfig`), the `ConnectionType` datatype, and a `resource` field on
21
+ the picker-token request (`PickerTokenRequest`)
22
+
23
+ ### Changed
24
+
25
+ - Regenerated the API schema against the updated platform handlers
26
+ - **Breaking:** the file-service provider enum was renamed from `Provider` to
27
+ `FileServiceProvider`; `Provider` now names the inference-provider resource.
28
+ `connections.startFileServiceOAuth(...)` takes a `FileServiceProvider`
29
+ - **Breaking:** `ProviderType` is now the inference model type (`llm` / `ner`),
30
+ renamed from the former connection-category values
31
+ - **Breaking:** the `SyncTriggerType` value `manual` was renamed to `on_demand`,
32
+ and `webhook` was removed
33
+ - `connections.getPickerToken(...)` accepts an optional `PickerTokenRequest`
34
+ (a picker `resource`); the request body is otherwise empty
35
+
11
36
  ## [0.48.0] - 2026-09-08
12
37
 
13
38
  ### Added
@@ -999,7 +1024,8 @@ redaction an independent resource. This release renames the SDK to match.
999
1024
  - Network error handling for timeouts, DNS resolution, and connection issues
1000
1025
  - Configuration validation with detailed error messages
1001
1026
 
1002
- [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.42.0...HEAD
1027
+ [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.49.0...HEAD
1028
+ [0.49.0]: https://github.com/nvisycom/sdk-ts/compare/v0.48.0...v0.49.0
1003
1029
  [0.48.0]: https://github.com/nvisycom/sdk-ts/compare/v0.47.0...v0.48.0
1004
1030
  [0.47.0]: https://github.com/nvisycom/sdk-ts/compare/v0.46.0...v0.47.0
1005
1031
  [0.46.0]: https://github.com/nvisycom/sdk-ts/compare/v0.45.0...v0.46.0
@@ -1,4 +1,4 @@
1
- import { $n as Provider, $t as ListInvites, An as RedactionResult, Ba as WorkspaceAnalytics, Bn as ConnectionSyncPage, Bt as MemberPage, Ca as CreateApiToken, Cr as DesktopToken, Dn as PipelineDetectionsQuery, En as DetectionStatusEvent, Er as Signup, Et as MarkedReadStatus, Fn as Connection, Ft as UnreadCountEvent, Ha as ActivityExportOptions, Hr as Audit, Ht as UpdateMember, It as UnreadStatus, Jt as InvitePage, Kt as InviteCode, Lt as UpdateNotificationSettings, M as CreatePolicy, Mn as WorkspaceDetectionsQuery, Nt as NotificationSettings, On as RedactDetection, Qn as PickerToken, Rn as ConnectionPage, Rt as ListMembers, Sa as ApiTokenWithJWT, Ta as UpdateApiToken, Tr as Login, Ua as ActivityFilterQuery, Un as CreateConnection, Ut as CreateInvite, Vn as ConnectionVerification, Wa as ActivityPage, Wn as ExportFiles, Wt as GenerateInviteCode, Xt as InviteSent, Yn as OAuthStartResponse, Yt as InvitePreview, Z as Policy, _n as ExportQuery, _r as SendChatMessage, ba as ApiTokenPage, bn as CreateDetection, br as LabelCatalog, bt as UpdatePipeline, c as WorkspacePage, co as IdentityProvider, d as CreateWebhook, do as SetPassword, dr as ChatMessage, en as ReplyInvite, f as TestWebhook, fn as ListFiles, fo as UpdateAccount, ft as CreatePipeline, gr as CreateChatSession, gt as PipelineStatus, h as WebhookCreated, hn as DateWindow, hr as ChatToken, io as AccountIdentities, jn as RedactionResultPage, jt as NotificationPage, ka as DetectionTimeSeries, lo as OidcStartResponse, m as Webhook, mn as UpdateFile, mr as ChatSessionPage, nt as PolicySummaryPage, o as UpdateWorkspace, on as DeletedFiles, p as UpdateWebhook, po as paths, pr as ChatSession, pt as Pipeline, qn as ImportFiles, rn as Health, ro as Account$1, s as Workspace, sn as File, sr as SyncStatus, t as CreateWorkspace, tr as StartFileServiceOAuth, ua as ArtifactSet, un as FilePage, uo as PublicAccount, ur as UpdateConnection, ut as UpdatePolicy, v as WebhookPage, vr as ConnectorCatalog, vt as PipelineSummaryPage, wn as DetectionPage, wr as DesktopTokenRequest, xn as Detection, xr as RecognizerCatalog, xt as CursorPagination, y as WebhookResult, ya as ApiToken, zn as ConnectionSync, zt as Member } from "./index-BtQASJ4U.js";
1
+ import { $a as ActivityFilterQuery, $n as CreateConnection, $r as Audit, $t as GenerateInviteCode, A as Provider, Aa as ApiToken, An as Detection, At as CursorPagination, Ba as DetectionTimeSeries, Bn as RedactionResultPage, Bt as NotificationPage, Cn as UpdateFile, Co as paths, Dr as CreateChatSession, Dt as PipelineSummaryPage, En as ExportQuery, Er as ChatToken, F as ProvidersQuery, Fn as DetectionStatusEvent, Fr as DesktopTokenRequest, Ft as MarkedReadStatus, Gt as UnreadStatus, Ht as NotificationSettings, I as UpdateProvider, Ia as UpdateApiToken, In as PipelineDetectionsQuery, Ir as Login, Jn as ConnectionSync, Jt as Member, Kt as UpdateNotificationSettings, Ln as RedactDetection, Lr as Signup, Mr as RecognizerCatalog, N as ProviderPage, Na as ApiTokenWithJWT, Nn as DetectionPage, O as CreateProvider, Or as SendChatMessage, Pa as CreateApiToken, Pr as DesktopToken, Qa as ActivityExportOptions, Qt as CreateInvite, So as UpdateAccount, Sr as ChatMessage, St as Pipeline, Tr as ChatSessionPage, Tt as PipelineStatus, V as CreatePolicy, Vn as WorkspaceDetectionsQuery, Wn as Connection, Wt as UnreadCountEvent, Xa as WorkspaceAnalytics, Yn as ConnectionSyncPage, Yt as MemberPage, Zn as ConnectionVerification, Zt as UpdateMember, an as InviteSent, bo as PublicAccount, c as WorkspacePage, cn as ListInvites, d as CreateWebhook, dt as PolicySummaryPage, eo as ActivityPage, er as ExportFiles, f as TestWebhook, fn as Health, fr as StartFileServiceOAuth, gn as File, h as WebhookCreated, hn as DeletedFiles, in as InvitePreview, ir as ImportFiles, ja as ApiTokenPage, jr as LabelCatalog, kn as CreateDetection, kr as ConnectorCatalog, kt as UpdatePipeline, ln as ReplyInvite, lr as PickerToken, m as Webhook, mo as AccountIdentities, nr as FileServiceProvider, o as UpdateWorkspace, or as OAuthStartResponse, ot as Policy, p as UpdateWebhook, po as Account$1, qn as ConnectionPage, qt as ListMembers, rn as InvitePage, s as Workspace, t as CreateWorkspace, tn as InviteCode, ur as PickerTokenRequest, v as WebhookPage, vo as IdentityProvider, vr as SyncStatus, wn as DateWindow, wr as ChatSession, xa as ArtifactSet, xn as ListFiles, xo as SetPassword, xr as UpdateConnection, xt as CreatePipeline, y as WebhookResult, yn as FilePage, yo as OidcStartResponse, yt as UpdatePolicy, zn as RedactionResult } from "./index-CNUnM9QG.js";
2
2
  import { t as ClientConfig } from "./config-BdAgnJlh.js";
3
3
  import { Client } from "openapi-fetch";
4
4
  //#region src/services/account.d.ts
@@ -454,7 +454,7 @@ declare class Connections {
454
454
  * @returns Promise that resolves with the provider authorize URL
455
455
  * @throws {ApiError} if the request fails
456
456
  */
457
- startFileServiceOAuth(workspaceSlug: string, provider: Provider, request: StartFileServiceOAuth): Promise<OAuthStartResponse>;
457
+ startFileServiceOAuth(workspaceSlug: string, provider: FileServiceProvider, request: StartFileServiceOAuth): Promise<OAuthStartResponse>;
458
458
  /**
459
459
  * Import picker-selected files from a file-service connection.
460
460
  *
@@ -492,10 +492,11 @@ declare class Connections {
492
492
  *
493
493
  * @param workspaceSlug - Workspace slug
494
494
  * @param connectionId - Connection ID
495
+ * @param request - Optional picker resource (defaults to the connection's)
495
496
  * @returns Promise that resolves with the short-lived picker token
496
497
  * @throws {ApiError} if the request fails
497
498
  */
498
- getPickerToken(workspaceSlug: string, connectionId: string): Promise<PickerToken>;
499
+ getPickerToken(workspaceSlug: string, connectionId: string, request?: PickerTokenRequest): Promise<PickerToken>;
499
500
  }
500
501
  //#endregion
501
502
  //#region src/services/detections.d.ts
@@ -972,6 +973,66 @@ declare class Policies {
972
973
  deletePolicy(workspaceSlug: string, policySlug: string): Promise<void>;
973
974
  }
974
975
  //#endregion
976
+ //#region src/services/providers.d.ts
977
+ /**
978
+ * Service for a workspace's inference providers — the LLM / NER services the
979
+ * platform calls. Only provider metadata is returned; encrypted credentials
980
+ * are never exposed.
981
+ */
982
+ declare class Providers {
983
+ #private;
984
+ constructor(api: ApiClient);
985
+ /**
986
+ * List a workspace's inference providers
987
+ * @param workspaceSlug - Workspace slug
988
+ * @param query - Optional pagination and filters (provider, limit, after)
989
+ * @returns Promise that resolves with a paginated list of providers
990
+ * @throws {ApiError} if the request fails
991
+ */
992
+ listProviders(workspaceSlug: string, query?: CursorPagination & ProvidersQuery): Promise<ProviderPage>;
993
+ /**
994
+ * Create an inference provider in a workspace
995
+ * @param workspaceSlug - Workspace slug
996
+ * @param provider - Provider creation request
997
+ * @returns Promise that resolves with the created provider
998
+ * @throws {ApiError} if the request fails
999
+ */
1000
+ createProvider(workspaceSlug: string, provider: CreateProvider): Promise<Provider>;
1001
+ /**
1002
+ * Get provider details by ID
1003
+ * @param workspaceSlug - Workspace slug
1004
+ * @param providerId - Provider ID
1005
+ * @returns Promise that resolves with the provider details
1006
+ * @throws {ApiError} if the request fails
1007
+ */
1008
+ getProvider(workspaceSlug: string, providerId: string): Promise<Provider>;
1009
+ /**
1010
+ * Update an inference provider
1011
+ * @param workspaceSlug - Workspace slug
1012
+ * @param providerId - Provider ID
1013
+ * @param updates - Provider update request
1014
+ * @returns Promise that resolves with the updated provider
1015
+ * @throws {ApiError} if the request fails
1016
+ */
1017
+ updateProvider(workspaceSlug: string, providerId: string, updates: UpdateProvider): Promise<Provider>;
1018
+ /**
1019
+ * Delete an inference provider
1020
+ * @param workspaceSlug - Workspace slug
1021
+ * @param providerId - Provider ID
1022
+ * @returns Promise that resolves when the provider is deleted
1023
+ * @throws {ApiError} if the request fails
1024
+ */
1025
+ deleteProvider(workspaceSlug: string, providerId: string): Promise<void>;
1026
+ /**
1027
+ * Verify an inference provider's configuration and credentials
1028
+ * @param workspaceSlug - Workspace slug
1029
+ * @param providerId - Provider ID
1030
+ * @returns Promise that resolves with the verification result
1031
+ * @throws {ApiError} if the request fails
1032
+ */
1033
+ verifyProvider(workspaceSlug: string, providerId: string): Promise<ConnectionVerification>;
1034
+ }
1035
+ //#endregion
975
1036
  //#region src/services/redactions.d.ts
976
1037
  /**
977
1038
  * Service for workspace redactions, independent of the detection they came
@@ -1321,6 +1382,10 @@ declare class Nvisy {
1321
1382
  * Service for managing policies.
1322
1383
  */
1323
1384
  get policies(): Policies;
1385
+ /**
1386
+ * Service for managing a workspace's inference providers.
1387
+ */
1388
+ get providers(): Providers;
1324
1389
  /**
1325
1390
  * Service for reading the deployment's label and recognizer catalogs.
1326
1391
  */
@@ -1359,5 +1424,5 @@ declare class Nvisy {
1359
1424
  get workspaces(): Workspaces;
1360
1425
  }
1361
1426
  //#endregion
1362
- export { Account as S, Catalog as _, Syncs as a, Analytics as b, Policies as c, Members as d, Invites as f, Chat as g, Connections as h, Webhooks as i, Pipelines as l, Detections as m, Nvisy as n, Status as o, Files as p, Workspaces as r, Redactions as s, ApiClient as t, Notifications as u, Auth as v, Activities as x, ApiTokens as y };
1363
- //# sourceMappingURL=client-BMQhkLaC.d.ts.map
1427
+ export { Account as C, Activities as S, Chat as _, Syncs as a, ApiTokens as b, Providers as c, Notifications as d, Members as f, Connections as g, Detections as h, Webhooks as i, Policies as l, Files as m, Nvisy as n, Status as o, Invites as p, Workspaces as r, Redactions as s, ApiClient as t, Pipelines as u, Catalog as v, Analytics as x, Auth as y };
1428
+ //# sourceMappingURL=client-BEpBVGGP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-BEpBVGGP.d.ts","names":[],"sources":["../src/services/account.ts","../src/services/activities.ts","../src/services/analytics.ts","../src/services/api-tokens.ts","../src/services/auth.ts","../src/services/catalog.ts","../src/services/chat.ts","../src/services/connections.ts","../src/services/detections.ts","../src/services/files.ts","../src/services/invites.ts","../src/services/members.ts","../src/services/notifications.ts","../src/services/pipelines.ts","../src/services/policies.ts","../src/services/providers.ts","../src/services/redactions.ts","../src/services/status.ts","../src/services/syncs.ts","../src/services/webhooks.ts","../src/services/workspaces.ts","../src/client.ts"],"mappings":";;;;;;;cAca;;EAGA,YAAA,KAAK;;;;;;EASX,cAAc,QAAQ;;;;;;;EAWtB,cAAc,SAAS,gBAAgB,QAAQ;;;;;;EAY/C,iBAAiB;;;;;;;EAUjB,iBAAiB,mBAAmB,QAAQ;;;;;;;;EAc5C,aAAa,kBAAkB,QAAQ,OAAO,QAAQ;;;;;;;EAsBtD,aAAa,mBAAmB;;;;;;EAWhC,kBAAkB,QAAQ;;;;;;;;;;;;EAgB1B,YAAY,SAAS,cAAc;;;;;;;;;EAYnC,kBAAkB;;;;;;;;;;;;;EAgBlB,aACL,UAAU,kBACV;IAAU;IAAsB;MAC9B,QAAQ;;;;;;;;;;EAgBL,eAAe,UAAU,mBAAmB;;;;;;;;;;;;;EAkB5C,OACL,UAAU,kBACV;IAAU;MACR,QAAQ;;;;;;;cClLC;;EAGA,YAAA,KAAK;;;;;;;;;EAYX,eACL,uBACA,QAAQ,sBAAsB,aAAa,mBACzC,QAAQ;;;;;;;;;EAkBL,iBACL,uBACA,QAAQ,sBAAsB,aAAa,wBACzC,QAAQ;;;;;;;cCzCC;;EAGA,YAAA,KAAK;;;;;;;EAUX,aAAa,wBAAwB,QAAQ;;;;;;;;EAiB7C,uBACL,uBACA,QAAQ,aACN,QAAQ;;;;;;;cC9BC;;EAGA,YAAA,KAAK;;;;;;;EAUX,cAAc,QAAQ,mBAAmB,QAAQ;;;;;;;EAajD,YAAY,kBAAkB,QAAQ;;;;;;;EAatC,eAAe,OAAO,iBAAiB,QAAQ;;;;;;;;EAc/C,eACL,iBACA,SAAS,iBACP,QAAQ;;;;;;;EAcL,eAAe,kBAAkB;;;;;;;cCtE3B;;EAGA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Q;;;;;;;;EAkBL,aAAa,uBAAuB,QAAQ,OAAO;;;;;;;EAqBnD,aAAa,wBAAwB;;;;;;;;;;KCxGhC,YAAY,OAAc;;;;;;;;;;;cA0BzB;;;;;;;;;;;;;;;;;;;;;;;EAkCA,YAAA,SAAQ;;;;;;;;;;;;;;;;;;;;;EA+GpB,aAAa,mBAAmB;;;;;;MAS5B;;;;;;;;;MAYA,OAAO;;;;MAOP,QAAQ;;;;MAOR,UAAU;;;;MAOV,WAAW;;;;MAOX,cAAc;;;;MAOd,aAAa;;;;MAOb,QAAQ;;;;MAOR,aAAa;;;;MAOb,eAAe;;;;MAOf,SAAS;;;;MAOT,aAAa;;;;MAOb,YAAY;;;;MAOZ,aAAa;;;;MAOb,WAAW;;;;MAOX,WAAW;;;;MAOX,WAAW;;;;MAOX,iBAAiB;;;;MAOjB,cAAc;;;;MAOd,cAAc;;;;MAOd,SAAS;;;;MAOT,YAAY;;;;MAOZ,cAAc"}
@@ -1,2 +1,2 @@
1
- import { $ as PolicyDraft, $a as PolicyActivityParams, $i as TextData, $n as Provider, $r as Dimensions, $t as ListInvites, A as Color, Aa as ModelUsage, Ai as RuleMatch, An as RedactionResult, Ar as AudioAuditKind, At as NotificationEvent, B as ImageRedaction, Ba as WorkspaceAnalytics, Bi as TabularEntity, Bn as ConnectionSyncPage, Br as AudioRefinement, Bt as MemberPage, C as Language, Ca as CreateApiToken, Ci as PatternEvent, Cn as DetectionMetadata, Cr as DesktopToken, Ct as ConnectionSyncFailedParams, D as ScopeMetadata, Da as DetectionDayEntry, Di as RasterMode, Dn as PipelineDetectionsQuery, Dr as Attribution, Dt as MemberInvitedParams, E as Languages, Ea as DetectionAnalytics, Ei as RangeOfUint, En as DetectionStatusEvent, Er as Signup, Et as MarkedReadStatus, F as DateStyle, Fa as StorageKindEntry, Fi as TabularAdd, Fn as Connection, Fr as AudioHint, Ft as UnreadCountEvent, G as LabelScope, Ga as ActivityPayload, Gi as TabularPattern, Gn as FileServiceConfig, Gr as Calibration, Gt as Invite, H as LabelEntry, Ha as ActivityExportOptions, Hi as TabularLocation, Hn as ConnectionsQuery, Hr as Audit, Ht as UpdateMember, I as GdprArticle9Treatment, Ia as TokenCounts, Ii as TabularAuditEvent, In as ConnectionConfig, Ir as AudioLocation, It as UnreadStatus, J as ModalityRedactions, Ja as DetectionActivityParams, Ji as TextAdd, Jn as LlmConfig, Jr as CodecParams, Jt as InvitePage, K as LanguageTag, Ka as ActivityType, Ki as TabularRefinement, Kn as GcsCredentials, Kr as Category, Kt as InviteCode, L as GdprSensitiveScope, La as Usage, Li as TabularAuditKind, Ln as ConnectionId, Lr as AudioManual, Lt as UpdateNotificationSettings, M as CreatePolicy, Ma as ProviderType, Mi as SourceRef, Mn as WorkspaceDetectionsQuery, Mr as AudioData, Mt as NotificationPayload, N as CustomMatcher, Na as RecognizerId, Ni as SourceSpan, Nn as AuthenticatedProvider, Nr as AudioEdit, Nt as NotificationSettings, O as AudioRedaction, Oa as DetectionStatusEntry, Oi as Redaction, On as RedactDetection, Or as AudioAdd, Ot as MemberJoinedParams, P as DateGranularity, Pa as StorageAnalytics, Pi as Suppress, Pn as AzureCredentials, Pr as AudioEntity, Pt as RedactionCreatedParams, Q as PolicyDefinition, Qa as PipelineActivityParams, Qi as TextCoord, Qn as PickerToken, Qr as Deduplication, Qt as InviteStatus, R as HipaaAccountNumbers, Ra as UsageAnalytics, Ri as TabularAuditLog, Rn as ConnectionPage, Rr as AudioModel, Rt as ListMembers, S as CountryCode, Sa as ApiTokenWithJWT, Si as OperatorId, Sn as DetectionId, Sr as RegisteredRecognizer, St as ConnectionSyncCompletedParams, T as LanguageSpan, Ta as UpdateApiToken, Ti as Polygon, Tn as DetectionStatus, Tr as Login, Tt as DetectionFailedParams, U as LabelLocale, Ua as ActivityFilterQuery, Ui as TabularManual, Un as CreateConnection, Ur as AuditHash, Ut as CreateInvite, V as Label, Va as Activity, Vi as TabularHint, Vn as ConnectionVerification, Vr as AudioRetag, Vt as MemberSortField, W as LabelRef, Wa as ActivityPage, Wi as TabularModel, Wn as ExportFiles, Wr as BoundingBox, Wt as GenerateInviteCode, X as PciPanRender, Xa as InviteActivityParams, Xi as TextAuditKind, Xn as OAuthTokens, Xr as Contested, Xt as InviteSent, Y as PciDssPart, Ya as FileActivityParams, Yi as TextAuditEvent, Yn as OAuthStartResponse, Yr as Conflict, Yt as InvitePreview, Z as Policy, Za as MemberActivityParams, Zi as TextAuditLog, Zn as PickedFile, Zr as DecodedSpan, Zt as InviteSortField, _ as WebhookId, _a as TranscriptWord, _i as ImageRefinement, _n as ExportQuery, _r as SendChatMessage, _t as PipelineSummary, a as RetentionSettings, aa as TextModel, ai as ImageAdd, an as DeleteFiles, ao as AccountIdentity, ar as SyncSchedule, at as Sha2Algorithm, b as WebhookStatus, ba as ApiTokenPage, bi as ManualIntent, bn as CreateDetection, br as LabelCatalog, bt as UpdatePipeline, c as WorkspacePage, ca as TextRetag, ci as ImageAuditLog, cn as FileHash, co as IdentityProvider, cr as SyncTriggerType, ct as TerminalFallback, d as CreateWebhook, da as Layout, di as ImageEntity, dn as FormatToken, do as SetPassword, dr as ChatMessage, dt as Waveform, ea as TextEdit, ei as DocumentContext, en as ReplyInvite, eo as RedactionActivityParams, er as S3Credentials, et as PolicyRule, f as TestWebhook, fa as LayoutBlock, fi as ImageHint, fn as ListFiles, fo as UpdateAccount, fr as ChatRole, ft as CreatePipeline, g as WebhookEvent, ga as TranscriptSegment, gi as ImagePattern, gn as ExportFormat, gr as CreateChatSession, gt as PipelineStatus, h as WebhookCreated, ha as Tokens, hi as ImageModel, hn as DateWindow, hr as ChatToken, ht as PipelineFilter, i as RetentionOverride, ia as TextManual, ii as FreeformAttribution, in as HealthStatus, io as AccountIdentities, ir as SyncMode, it as Predicate, j as ConfidenceThreshold, ja as ModelUsageEntry, ji as Selection, jn as RedactionResultPage, jr as AudioAuditLog, jt as NotificationPage, k as ClampBucket, ka as DetectionTimeSeries, ki as Report, kn as RedactionId, kr as AudioAuditEvent, kt as Notification, l as WorkspaceRole, la as TimeSpan, li as ImageData, ln as FileKind, lo as OidcStartResponse, lr as UnauthenticatedProvider, lt as TextRedaction, m as Webhook, ma as Token, mi as ImageManual, mn as UpdateFile, mr as ChatSessionPage, mt as PipelineDefinition, n as RasterPolicy, na as TextHint, ni as EditSet, nn as ComponentHealth, no as WorkspaceActivityParams, nr as StorageConfig, nt as PolicySummaryPage, o as UpdateWorkspace, oa as TextPattern, oi as ImageAuditEvent, on as DeletedFiles, oo as AccountRef, or as SyncScheduleInput, ot as TabularRedaction, p as UpdateWebhook, pa as LayoutWord, pi as ImageLocation, pn as ModalityToken, pr as ChatSession, pt as Pipeline, q as LocalizedText, qa as ConnectionActivityParams, qi as TabularRetag, qn as ImportFiles, qr as CitedAttribution, qt as InviteExpiration, r as Retention, ra as TextLocation, ri as EntityCoRef, rn as Health, ro as Account, rr as SyncDeletionPolicy, rt as PolicyTemplate, s as Workspace, sa as TextRefinement, si as ImageAuditKind, sn as File, so as Handle, sr as SyncStatus, st as TemplateOrigin, t as CreateWorkspace, ta as TextEntity, ti as Dpi, tn as SortOrder, to as WebhookActivityParams, tr as StartFileServiceOAuth, tt as PolicySummary, u as WorkspaceSettings, ua as ArtifactSet, ui as ImageEdit, un as FilePage, uo as PublicAccount, ur as UpdateConnection, ut as UpdatePolicy, v as WebhookPage, va as Transcription, vi as ImageRetag, vn as ErrorResponse, vr as ConnectorCatalog, vt as PipelineSummaryPage, w as LanguageProvenance, wa as TokenExpiration, wi as Point, wn as DetectionPage, wr as DesktopTokenRequest, wt as DetectionCompletedParams, x as Confidence, xa as ApiTokenType, xi as ModelEvent, xn as Detection, xr as RecognizerCatalog, xt as CursorPagination, y as WebhookResult, ya as ApiToken, yi as LeakProfile, yn as ValidationErrorDetail, yr as FileProviders, yt as PipelineTriggerType, z as HipaaDeidMethod, za as UsageReport, zi as TabularEdit, zn as ConnectionSync, zr as AudioPattern, zt as Member } from "../index-BtQASJ4U.js";
2
- export type { Account, AccountIdentities, AccountIdentity, AccountRef, Activity, ActivityExportOptions, ActivityFilterQuery, ActivityPage, ActivityPayload, ActivityType, ApiToken, ApiTokenPage, ApiTokenType, ApiTokenWithJWT, ArtifactSet, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthenticatedProvider, AzureCredentials, BoundingBox, Calibration, Category, ChatMessage, ChatRole, ChatSession, ChatSessionPage, ChatToken, CitedAttribution, ClampBucket, CodecParams, Color, ComponentHealth, Confidence, ConfidenceThreshold, Conflict, Connection, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionPage, ConnectionSync, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionSyncPage, ConnectionVerification, ConnectionsQuery, ConnectorCatalog, Contested, CountryCode, CreateApiToken, CreateChatSession, CreateConnection, CreateDetection, CreateInvite, CreatePipeline, CreatePolicy, CreateWebhook, CreateWorkspace, CursorPagination, CustomMatcher, DateGranularity, DateStyle, DateWindow, DecodedSpan, Deduplication, DeleteFiles, DeletedFiles, DesktopToken, DesktopTokenRequest, Detection, DetectionActivityParams, DetectionAnalytics, DetectionCompletedParams, DetectionDayEntry, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionPage, DetectionStatus, DetectionStatusEntry, DetectionStatusEvent, DetectionTimeSeries, Dimensions, DocumentContext, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFiles, ExportFormat, ExportQuery, File, FileActivityParams, FileHash, FileKind, FilePage, FileProviders, FileServiceConfig, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, IdentityProvider, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, ImportFiles, Invite, InviteActivityParams, InviteCode, InviteExpiration, InvitePage, InvitePreview, InviteSent, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, Layout, LayoutBlock, LayoutWord, LeakProfile, ListFiles, ListInvites, ListMembers, LlmConfig, LocalizedText, Login, ManualIntent, MarkedReadStatus, Member, MemberActivityParams, MemberInvitedParams, MemberJoinedParams, MemberPage, MemberSortField, ModalityRedactions, ModalityToken, ModelEvent, ModelUsage, ModelUsageEntry, Notification, NotificationEvent, NotificationPage, NotificationPayload, NotificationSettings, OAuthStartResponse, OAuthTokens, OidcStartResponse, OperatorId, PatternEvent, PciDssPart, PciPanRender, PickedFile, PickerToken, Pipeline, PipelineActivityParams, PipelineDefinition, PipelineDetectionsQuery, PipelineFilter, PipelineStatus, PipelineSummary, PipelineSummaryPage, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDefinition, PolicyDraft, PolicyRule, PolicySummary, PolicySummaryPage, PolicyTemplate, Polygon, Predicate, Provider, ProviderType, PublicAccount, RangeOfUint, RasterMode, RasterPolicy, RecognizerCatalog, RecognizerId, RedactDetection, Redaction, RedactionActivityParams, RedactionCreatedParams, RedactionId, RedactionResult, RedactionResultPage, RegisteredRecognizer, ReplyInvite, Report, Retention, RetentionOverride, RetentionSettings, RuleMatch, S3Credentials, ScopeMetadata, Selection, SendChatMessage, SetPassword, Sha2Algorithm, Signup, SortOrder, SourceRef, SourceSpan, StartFileServiceOAuth, StorageAnalytics, StorageConfig, StorageKindEntry, Suppress, SyncDeletionPolicy, SyncMode, SyncSchedule, SyncScheduleInput, SyncStatus, SyncTriggerType, TabularAdd, TabularAuditEvent, TabularAuditKind, TabularAuditLog, TabularEdit, TabularEntity, TabularHint, TabularLocation, TabularManual, TabularModel, TabularPattern, TabularRedaction, TabularRefinement, TabularRetag, TemplateOrigin, TerminalFallback, TestWebhook, TextAdd, TextAuditEvent, TextAuditKind, TextAuditLog, TextCoord, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, TimeSpan, Token, TokenCounts, TokenExpiration, Tokens, TranscriptSegment, TranscriptWord, Transcription, UnauthenticatedProvider, UnreadCountEvent, UnreadStatus, UpdateAccount, UpdateApiToken, UpdateConnection, UpdateFile, UpdateMember, UpdateNotificationSettings, UpdatePipeline, UpdatePolicy, UpdateWebhook, UpdateWorkspace, Usage, UsageAnalytics, UsageReport, ValidationErrorDetail, Waveform, Webhook, WebhookActivityParams, WebhookCreated, WebhookEvent, WebhookId, WebhookPage, WebhookResult, WebhookStatus, Workspace, WorkspaceActivityParams, WorkspaceAnalytics, WorkspaceDetectionsQuery, WorkspacePage, WorkspaceRole, WorkspaceSettings };
1
+ import { $ as LabelRef, $a as ActivityFilterQuery, $i as TabularLocation, $n as CreateConnection, $r as Audit, $t as GenerateInviteCode, A as Provider, Aa as ApiToken, Ai as LeakProfile, An as Detection, Ar as FileProviders, At as CursorPagination, B as ConfidenceThreshold, Ba as DetectionTimeSeries, Bi as Report, Bn as RedactionResultPage, Br as AudioAuditEvent, Bt as NotificationPage, C as Language, Ca as LayoutBlock, Ci as ImageHint, Cn as UpdateFile, Cr as ChatRole, Ct as PipelineDefinition, D as ScopeMetadata, Da as TranscriptSegment, Di as ImagePattern, Dn as ErrorResponse, Dr as CreateChatSession, Dt as PipelineSummaryPage, E as Languages, Ea as Tokens, Ei as ImageModel, En as ExportQuery, Er as ChatToken, Et as PipelineSummary, F as ProvidersQuery, Fa as TokenExpiration, Fi as Point, Fn as DetectionStatusEvent, Fr as DesktopTokenRequest, Ft as MarkedReadStatus, G as GdprArticle9Treatment, Ga as StorageKindEntry, Gi as Suppress, Gn as ConnectionConfig, Gr as AudioEntity, Gt as UnreadStatus, H as CustomMatcher, Ha as ModelUsageEntry, Hi as Selection, Hn as AuthenticatedProvider, Hr as AudioAuditLog, Ht as NotificationSettings, I as UpdateProvider, Ia as UpdateApiToken, Ii as Polygon, In as PipelineDetectionsQuery, Ir as Login, It as MemberInvitedParams, J as HipaaDeidMethod, Ja as UsageAnalytics, Ji as TabularAuditKind, Jn as ConnectionSync, Jr as AudioManual, Jt as Member, K as GdprSensitiveScope, Ka as TokenCounts, Ki as TabularAdd, Kn as ConnectionId, Kr as AudioHint, Kt as UpdateNotificationSettings, L as AudioRedaction, La as DetectionAnalytics, Li as RangeOfUint, Ln as RedactDetection, Lr as Signup, Lt as MemberJoinedParams, M as ProviderId, Ma as ApiTokenType, Mi as ModelEvent, Mn as DetectionMetadata, Mr as RecognizerCatalog, Mt as ConnectionSyncFailedParams, N as ProviderPage, Na as ApiTokenWithJWT, Ni as OperatorId, Nn as DetectionPage, Nr as RegisteredRecognizer, Nt as DetectionCompletedParams, O as CreateProvider, Oa as TranscriptWord, Oi as ImageRefinement, On as ValidationErrorDetail, Or as SendChatMessage, Ot as PipelineTriggerType, P as ProviderType, Pa as CreateApiToken, Pi as PatternEvent, Pn as DetectionStatus, Pr as DesktopToken, Pt as DetectionFailedParams, Q as LabelLocale, Qa as ActivityExportOptions, Qi as TabularHint, Qn as ConnectionsQuery, Qr as AudioRetag, Qt as CreateInvite, R as ClampBucket, Ra as DetectionDayEntry, Ri as RasterMode, Rn as RedactionId, Rr as Attribution, Rt as Notification, S as CountryCode, Sa as Layout, Si as ImageEntity, Sn as ModalityToken, So as UpdateAccount, Sr as ChatMessage, St as Pipeline, T as LanguageSpan, Ta as Token, Ti as ImageManual, Tn as ExportFormat, Tr as ChatSessionPage, Tt as PipelineStatus, U as DateGranularity, Ua as RecognizerId, Ui as SourceRef, Un as AzureCredentials, Ur as AudioData, Ut as RedactionCreatedParams, V as CreatePolicy, Va as ModelUsage, Vi as RuleMatch, Vn as WorkspaceDetectionsQuery, Vr as AudioAuditKind, Vt as NotificationPayload, W as DateStyle, Wa as StorageAnalytics, Wi as SourceSpan, Wn as Connection, Wr as AudioEdit, Wt as UnreadCountEvent, X as Label, Xa as WorkspaceAnalytics, Xi as TabularEdit, Xn as ConnectionType, Xr as AudioPattern, Xt as MemberSortField, Y as ImageRedaction, Ya as UsageReport, Yi as TabularAuditLog, Yn as ConnectionSyncPage, Yr as AudioModel, Yt as MemberPage, Z as LabelEntry, Za as Activity, Zi as TabularEntity, Zn as ConnectionVerification, Zr as AudioRefinement, Zt as UpdateMember, _ as WebhookId, _a as TextPattern, _i as ImageAuditEvent, _n as FileHash, _o as Handle, _r as SyncScheduleInput, _t as TerminalFallback, a as RetentionSettings, aa as TextAdd, ai as CodecParams, an as InviteSent, ao as FileActivityParams, ar as LlmConfig, at as PciPanRender, b as WebhookStatus, ba as TimeSpan, bi as ImageData, bn as FormatToken, bo as PublicAccount, br as UnauthenticatedProvider, bt as Waveform, c as WorkspacePage, ca as TextAuditLog, ci as DecodedSpan, cn as ListInvites, co as PipelineActivityParams, cr as PickedFile, ct as PolicyDraft, d as CreateWebhook, da as TextEdit, di as DocumentContext, dn as ComponentHealth, do as WebhookActivityParams, dr as S3Credentials, dt as PolicySummaryPage, ea as TabularManual, ei as AuditHash, en as Invite, eo as ActivityPage, er as ExportFiles, et as LabelScope, f as TestWebhook, fa as TextEntity, fi as Dpi, fn as Health, fo as WorkspaceActivityParams, fr as StartFileServiceOAuth, ft as PolicyTemplate, g as WebhookEvent, ga as TextModel, gi as ImageAdd, gn as File, go as AccountRef, gr as SyncSchedule, gt as TemplateOrigin, h as WebhookCreated, ha as TextManual, hi as FreeformAttribution, hn as DeletedFiles, ho as AccountIdentity, hr as SyncMode, ht as TabularRedaction, i as RetentionOverride, ia as TabularRetag, ii as CitedAttribution, in as InvitePreview, io as DetectionActivityParams, ir as ImportFiles, it as PciDssPart, j as ProviderConfig, ja as ApiTokenPage, ji as ManualIntent, jn as DetectionId, jr as LabelCatalog, jt as ConnectionSyncCompletedParams, k as InferenceConfig, ka as Transcription, ki as ImageRetag, kn as CreateDetection, kr as ConnectorCatalog, kt as UpdatePipeline, l as WorkspaceRole, la as TextCoord, li as Deduplication, ln as ReplyInvite, lo as PolicyActivityParams, lr as PickerToken, lt as PolicyRule, m as Webhook, ma as TextLocation, mi as EntityCoRef, mn as DeleteFiles, mo as AccountIdentities, mr as SyncDeletionPolicy, mt as Sha2Algorithm, n as RasterPolicy, na as TabularPattern, ni as Calibration, nn as InviteExpiration, no as ActivityType, nr as FileServiceProvider, nt as LocalizedText, o as UpdateWorkspace, oa as TextAuditEvent, oi as Conflict, on as InviteSortField, oo as InviteActivityParams, or as OAuthStartResponse, ot as Policy, p as UpdateWebhook, pa as TextHint, pi as EditSet, pn as HealthStatus, po as Account, pr as StorageConfig, pt as Predicate, q as HipaaAccountNumbers, qa as Usage, qi as TabularAuditEvent, qn as ConnectionPage, qr as AudioLocation, qt as ListMembers, r as Retention, ra as TabularRefinement, ri as Category, rn as InvitePage, ro as ConnectionActivityParams, rr as GcsCredentials, rt as ModalityRedactions, s as Workspace, sa as TextAuditKind, si as Contested, sn as InviteStatus, so as MemberActivityParams, sr as OAuthTokens, st as PolicyDefinition, t as CreateWorkspace, ta as TabularModel, ti as BoundingBox, tn as InviteCode, to as ActivityPayload, tr as FileServiceConfig, tt as LanguageTag, u as WorkspaceSettings, ua as TextData, ui as Dimensions, un as SortOrder, uo as RedactionActivityParams, ur as PickerTokenRequest, ut as PolicySummary, v as WebhookPage, va as TextRefinement, vi as ImageAuditKind, vn as FileKind, vo as IdentityProvider, vr as SyncStatus, vt as TextRedaction, w as LanguageProvenance, wa as LayoutWord, wi as ImageLocation, wn as DateWindow, wr as ChatSession, wt as PipelineFilter, x as Confidence, xa as ArtifactSet, xi as ImageEdit, xn as ListFiles, xo as SetPassword, xr as UpdateConnection, xt as CreatePipeline, y as WebhookResult, ya as TextRetag, yi as ImageAuditLog, yn as FilePage, yo as OidcStartResponse, yr as SyncTriggerType, yt as UpdatePolicy, z as Color, za as DetectionStatusEntry, zi as Redaction, zn as RedactionResult, zr as AudioAdd, zt as NotificationEvent } from "../index-CNUnM9QG.js";
2
+ export type { Account, AccountIdentities, AccountIdentity, AccountRef, Activity, ActivityExportOptions, ActivityFilterQuery, ActivityPage, ActivityPayload, ActivityType, ApiToken, ApiTokenPage, ApiTokenType, ApiTokenWithJWT, ArtifactSet, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthenticatedProvider, AzureCredentials, BoundingBox, Calibration, Category, ChatMessage, ChatRole, ChatSession, ChatSessionPage, ChatToken, CitedAttribution, ClampBucket, CodecParams, Color, ComponentHealth, Confidence, ConfidenceThreshold, Conflict, Connection, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionPage, ConnectionSync, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionSyncPage, ConnectionType, ConnectionVerification, ConnectionsQuery, ConnectorCatalog, Contested, CountryCode, CreateApiToken, CreateChatSession, CreateConnection, CreateDetection, CreateInvite, CreatePipeline, CreatePolicy, CreateProvider, CreateWebhook, CreateWorkspace, CursorPagination, CustomMatcher, DateGranularity, DateStyle, DateWindow, DecodedSpan, Deduplication, DeleteFiles, DeletedFiles, DesktopToken, DesktopTokenRequest, Detection, DetectionActivityParams, DetectionAnalytics, DetectionCompletedParams, DetectionDayEntry, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionPage, DetectionStatus, DetectionStatusEntry, DetectionStatusEvent, DetectionTimeSeries, Dimensions, DocumentContext, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFiles, ExportFormat, ExportQuery, File, FileActivityParams, FileHash, FileKind, FilePage, FileProviders, FileServiceConfig, FileServiceProvider, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, IdentityProvider, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, ImportFiles, InferenceConfig, Invite, InviteActivityParams, InviteCode, InviteExpiration, InvitePage, InvitePreview, InviteSent, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, Layout, LayoutBlock, LayoutWord, LeakProfile, ListFiles, ListInvites, ListMembers, LlmConfig, LocalizedText, Login, ManualIntent, MarkedReadStatus, Member, MemberActivityParams, MemberInvitedParams, MemberJoinedParams, MemberPage, MemberSortField, ModalityRedactions, ModalityToken, ModelEvent, ModelUsage, ModelUsageEntry, Notification, NotificationEvent, NotificationPage, NotificationPayload, NotificationSettings, OAuthStartResponse, OAuthTokens, OidcStartResponse, OperatorId, PatternEvent, PciDssPart, PciPanRender, PickedFile, PickerToken, PickerTokenRequest, Pipeline, PipelineActivityParams, PipelineDefinition, PipelineDetectionsQuery, PipelineFilter, PipelineStatus, PipelineSummary, PipelineSummaryPage, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDefinition, PolicyDraft, PolicyRule, PolicySummary, PolicySummaryPage, PolicyTemplate, Polygon, Predicate, Provider, ProviderConfig, ProviderId, ProviderPage, ProviderType, ProvidersQuery, PublicAccount, RangeOfUint, RasterMode, RasterPolicy, RecognizerCatalog, RecognizerId, RedactDetection, Redaction, RedactionActivityParams, RedactionCreatedParams, RedactionId, RedactionResult, RedactionResultPage, RegisteredRecognizer, ReplyInvite, Report, Retention, RetentionOverride, RetentionSettings, RuleMatch, S3Credentials, ScopeMetadata, Selection, SendChatMessage, SetPassword, Sha2Algorithm, Signup, SortOrder, SourceRef, SourceSpan, StartFileServiceOAuth, StorageAnalytics, StorageConfig, StorageKindEntry, Suppress, SyncDeletionPolicy, SyncMode, SyncSchedule, SyncScheduleInput, SyncStatus, SyncTriggerType, TabularAdd, TabularAuditEvent, TabularAuditKind, TabularAuditLog, TabularEdit, TabularEntity, TabularHint, TabularLocation, TabularManual, TabularModel, TabularPattern, TabularRedaction, TabularRefinement, TabularRetag, TemplateOrigin, TerminalFallback, TestWebhook, TextAdd, TextAuditEvent, TextAuditKind, TextAuditLog, TextCoord, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, TimeSpan, Token, TokenCounts, TokenExpiration, Tokens, TranscriptSegment, TranscriptWord, Transcription, UnauthenticatedProvider, UnreadCountEvent, UnreadStatus, UpdateAccount, UpdateApiToken, UpdateConnection, UpdateFile, UpdateMember, UpdateNotificationSettings, UpdatePipeline, UpdatePolicy, UpdateProvider, UpdateWebhook, UpdateWorkspace, Usage, UsageAnalytics, UsageReport, ValidationErrorDetail, Waveform, Webhook, WebhookActivityParams, WebhookCreated, WebhookEvent, WebhookId, WebhookPage, WebhookResult, WebhookStatus, Workspace, WorkspaceActivityParams, WorkspaceAnalytics, WorkspaceDetectionsQuery, WorkspacePage, WorkspaceRole, WorkspaceSettings };
@@ -7,7 +7,7 @@ import { n as NvisyError, t as NvisyApiError } from "./errors-BOLD8iC1.js";
7
7
  * Injected from `package.json` at build time, so it always matches the
8
8
  * published version. Used in the default user agent string.
9
9
  */
10
- const VERSION = "0.48.0";
10
+ const VERSION = "0.49.0";
11
11
  /**
12
12
  * Default configuration values used when options are not explicitly provided.
13
13
  */
@@ -44,4 +44,4 @@ const errorMiddleware = {
44
44
 
45
45
  //#endregion
46
46
  export { DEFAULTS as n, VERSION as r, errorMiddleware as t };
47
- //# sourceMappingURL=error-DZ3l15-g.js.map
47
+ //# sourceMappingURL=error-DNeyT0Z7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-DZ3l15-g.js","names":[],"sources":["../src/config.ts","../src/middleware/error.ts"],"sourcesContent":["/**\n * @fileoverview Configuration types and constants for the Nvisy SDK.\n *\n * This module provides configuration interfaces, default values, and environment\n * variable names used throughout the SDK.\n *\n * @module config\n */\n\n/**\n * Compile-time version token, replaced with the `package.json` version by the\n * build (see `tsdown.config.ts`). Declared so it type-checks; the `typeof`\n * guard below keeps it safe when the define isn't applied (tests, direct `tsc`).\n */\ndeclare const __SDK_VERSION__: string | undefined;\n\n/**\n * Current SDK version.\n *\n * Injected from `package.json` at build time, so it always matches the\n * published version. Used in the default user agent string.\n */\nexport const VERSION =\n\ttypeof __SDK_VERSION__ === \"string\" ? __SDK_VERSION__ : \"0.0.0-dev\";\n\n/**\n * Configuration options for creating a Nvisy client.\n *\n * Authenticate one of two ways: pass an `apiToken` (sent as a bearer token on\n * every request), or use a browser session — sign in with the standalone\n * `login` / `signup`, then set `credentials: \"include\"` so the session cookies\n * are sent. All other fields are optional and use sensible defaults.\n *\n * @example\n * ```typescript\n * // API token\n * const client = new Client({ apiToken: \"your-api-token\" });\n *\n * // Browser session (after `login()` set the cookies)\n * const client = new Client({ credentials: \"include\" });\n * ```\n */\nexport interface ClientConfig {\n\t/**\n\t * API token for authentication, sent as `Authorization: Bearer <token>`.\n\t *\n\t * Tokens can be obtained from the Nvisy dashboard or the api-tokens endpoint.\n\t * Omit it to authenticate with a browser session instead (see `credentials`).\n\t */\n\tapiToken?: string;\n\n\t/**\n\t * Credentials mode for every request, forwarded to `fetch`.\n\t *\n\t * Set to `\"include\"` to send the session cookies established by the\n\t * standalone `login` / `signup` (needed for cross-origin browser sessions).\n\t * Defaults to the platform's `fetch` default when omitted.\n\t */\n\tcredentials?: RequestCredentials;\n\n\t/**\n\t * Base URL for the Nvisy API.\n\t *\n\t * @default \"https://api.nvisy.com\"\n\t */\n\tbaseUrl?: string;\n\n\t/**\n\t * Custom headers to include with every request.\n\t *\n\t * These headers are merged with the default headers (Content-Type, User-Agent,\n\t * and Authorization). Custom headers take precedence over defaults if there\n\t * are conflicts.\n\t */\n\theaders?: Record<string, string>;\n\n\t/**\n\t * Custom user agent string to identify your application.\n\t *\n\t * @default \"@nvisy/sdk v.{version}\"\n\t */\n\tuserAgent?: string;\n\n\t/**\n\t * Enable logging for requests and responses.\n\t *\n\t * When enabled, logs request method, URL, status, and timing to console.\n\t *\n\t * @default false\n\t */\n\twithLogging?: boolean;\n\n\t/**\n\t * Custom fetch implementation used for every request. Must match the WHATWG\n\t * `fetch` signature. Defaults to the global `fetch`.\n\t *\n\t * Lets a host swap in a non-browser transport — e.g. a desktop (Tauri) app\n\t * passing `@tauri-apps/plugin-http`'s `fetch`, which performs the request in\n\t * the native process and so is not subject to browser CORS.\n\t */\n\tfetch?: typeof globalThis.fetch;\n}\n\n/**\n * Default configuration values used when options are not explicitly provided.\n */\nexport const DEFAULTS = {\n\t/**\n\t * Default base URL for the Nvisy API.\n\t */\n\tBASE_URL: \"https://api.nvisy.com\",\n\n\t/**\n\t * Default user agent string.\n\t */\n\tUSER_AGENT: `@nvisy/sdk v.${VERSION}`,\n} as const;\n","import type { Middleware } from \"openapi-fetch\";\nimport type { ErrorResponse } from \"@/datatypes/index.js\";\nimport { NvisyApiError, NvisyError } from \"@/errors.js\";\n\n/**\n * Middleware that automatically throws NvisyApiError for error responses.\n * This replaces the need for manual checks in services.\n */\nexport const errorMiddleware: Middleware = {\n\tasync onResponse({ response }) {\n\t\tif (!response.ok) {\n\t\t\tconst error = (await response.clone().json()) as ErrorResponse;\n\t\t\tthrow new NvisyApiError(error, response.status);\n\t\t}\n\t\treturn response;\n\t},\n\n\tonError({ error }) {\n\t\t// Wrap fetch errors (network failures, CORS, etc.) in NvisyError\n\t\tif (error instanceof Error) {\n\t\t\tthrow new NvisyError(error.message);\n\t\t}\n\t\tthrow new NvisyError(\"An unknown network error occurred\");\n\t},\n};\n"],"mappings":";;;;;;;;;AAsBA,MAAa;;;;AAoFb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;AC5GA,MAAa,kBAA8B;CAC1C,MAAM,WAAW,EAAE,YAAY;EAC9B,IAAI,CAAC,SAAS,IAAI;GACjB,MAAM,QAAS,MAAM,SAAS,MAAM,CAAC,CAAC,KAAK;GAC3C,MAAM,IAAI,cAAc,OAAO,SAAS,MAAM;EAC/C;EACA,OAAO;CACR;CAEA,QAAQ,EAAE,SAAS;EAElB,IAAI,iBAAiB,OACpB,MAAM,IAAI,WAAW,MAAM,OAAO;EAEnC,MAAM,IAAI,WAAW,mCAAmC;CACzD;AACD"}
1
+ {"version":3,"file":"error-DNeyT0Z7.js","names":[],"sources":["../src/config.ts","../src/middleware/error.ts"],"sourcesContent":["/**\n * @fileoverview Configuration types and constants for the Nvisy SDK.\n *\n * This module provides configuration interfaces, default values, and environment\n * variable names used throughout the SDK.\n *\n * @module config\n */\n\n/**\n * Compile-time version token, replaced with the `package.json` version by the\n * build (see `tsdown.config.ts`). Declared so it type-checks; the `typeof`\n * guard below keeps it safe when the define isn't applied (tests, direct `tsc`).\n */\ndeclare const __SDK_VERSION__: string | undefined;\n\n/**\n * Current SDK version.\n *\n * Injected from `package.json` at build time, so it always matches the\n * published version. Used in the default user agent string.\n */\nexport const VERSION =\n\ttypeof __SDK_VERSION__ === \"string\" ? __SDK_VERSION__ : \"0.0.0-dev\";\n\n/**\n * Configuration options for creating a Nvisy client.\n *\n * Authenticate one of two ways: pass an `apiToken` (sent as a bearer token on\n * every request), or use a browser session — sign in with the standalone\n * `login` / `signup`, then set `credentials: \"include\"` so the session cookies\n * are sent. All other fields are optional and use sensible defaults.\n *\n * @example\n * ```typescript\n * // API token\n * const client = new Client({ apiToken: \"your-api-token\" });\n *\n * // Browser session (after `login()` set the cookies)\n * const client = new Client({ credentials: \"include\" });\n * ```\n */\nexport interface ClientConfig {\n\t/**\n\t * API token for authentication, sent as `Authorization: Bearer <token>`.\n\t *\n\t * Tokens can be obtained from the Nvisy dashboard or the api-tokens endpoint.\n\t * Omit it to authenticate with a browser session instead (see `credentials`).\n\t */\n\tapiToken?: string;\n\n\t/**\n\t * Credentials mode for every request, forwarded to `fetch`.\n\t *\n\t * Set to `\"include\"` to send the session cookies established by the\n\t * standalone `login` / `signup` (needed for cross-origin browser sessions).\n\t * Defaults to the platform's `fetch` default when omitted.\n\t */\n\tcredentials?: RequestCredentials;\n\n\t/**\n\t * Base URL for the Nvisy API.\n\t *\n\t * @default \"https://api.nvisy.com\"\n\t */\n\tbaseUrl?: string;\n\n\t/**\n\t * Custom headers to include with every request.\n\t *\n\t * These headers are merged with the default headers (Content-Type, User-Agent,\n\t * and Authorization). Custom headers take precedence over defaults if there\n\t * are conflicts.\n\t */\n\theaders?: Record<string, string>;\n\n\t/**\n\t * Custom user agent string to identify your application.\n\t *\n\t * @default \"@nvisy/sdk v.{version}\"\n\t */\n\tuserAgent?: string;\n\n\t/**\n\t * Enable logging for requests and responses.\n\t *\n\t * When enabled, logs request method, URL, status, and timing to console.\n\t *\n\t * @default false\n\t */\n\twithLogging?: boolean;\n\n\t/**\n\t * Custom fetch implementation used for every request. Must match the WHATWG\n\t * `fetch` signature. Defaults to the global `fetch`.\n\t *\n\t * Lets a host swap in a non-browser transport — e.g. a desktop (Tauri) app\n\t * passing `@tauri-apps/plugin-http`'s `fetch`, which performs the request in\n\t * the native process and so is not subject to browser CORS.\n\t */\n\tfetch?: typeof globalThis.fetch;\n}\n\n/**\n * Default configuration values used when options are not explicitly provided.\n */\nexport const DEFAULTS = {\n\t/**\n\t * Default base URL for the Nvisy API.\n\t */\n\tBASE_URL: \"https://api.nvisy.com\",\n\n\t/**\n\t * Default user agent string.\n\t */\n\tUSER_AGENT: `@nvisy/sdk v.${VERSION}`,\n} as const;\n","import type { Middleware } from \"openapi-fetch\";\nimport type { ErrorResponse } from \"@/datatypes/index.js\";\nimport { NvisyApiError, NvisyError } from \"@/errors.js\";\n\n/**\n * Middleware that automatically throws NvisyApiError for error responses.\n * This replaces the need for manual checks in services.\n */\nexport const errorMiddleware: Middleware = {\n\tasync onResponse({ response }) {\n\t\tif (!response.ok) {\n\t\t\tconst error = (await response.clone().json()) as ErrorResponse;\n\t\t\tthrow new NvisyApiError(error, response.status);\n\t\t}\n\t\treturn response;\n\t},\n\n\tonError({ error }) {\n\t\t// Wrap fetch errors (network failures, CORS, etc.) in NvisyError\n\t\tif (error instanceof Error) {\n\t\t\tthrow new NvisyError(error.message);\n\t\t}\n\t\tthrow new NvisyError(\"An unknown network error occurred\");\n\t},\n};\n"],"mappings":";;;;;;;;;AAsBA,MAAa;;;;AAoFb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;AC5GA,MAAa,kBAA8B;CAC1C,MAAM,WAAW,EAAE,YAAY;EAC9B,IAAI,CAAC,SAAS,IAAI;GACjB,MAAM,QAAS,MAAM,SAAS,MAAM,CAAC,CAAC,KAAK;GAC3C,MAAM,IAAI,cAAc,OAAO,SAAS,MAAM;EAC/C;EACA,OAAO;CACR;CAEA,QAAQ,EAAE,SAAS;EAElB,IAAI,iBAAiB,OACpB,MAAM,IAAI,WAAW,MAAM,OAAO;EAEnC,MAAM,IAAI,WAAW,mCAAmC;CACzD;AACD"}
@@ -1,4 +1,4 @@
1
- import { vn as ErrorResponse } from "./index-BtQASJ4U.js";
1
+ import { Dn as ErrorResponse } from "./index-CNUnM9QG.js";
2
2
  //#region src/errors.d.ts
3
3
  /**
4
4
  * Base error class for all Nvisy SDK errors.
@@ -124,4 +124,4 @@ declare class NvisyApiError extends NvisyError implements ErrorResponse {
124
124
  }
125
125
  //#endregion
126
126
  export { NvisyError as n, NvisyApiError as t };
127
- //# sourceMappingURL=errors-DILJOdod.d.ts.map
127
+ //# sourceMappingURL=errors-DzQz1HIR.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors-DILJOdod.d.ts","names":[],"sources":["../src/errors.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAgCa,mBAAmB;;;;WAIf;;;;;;EAOJ,YAAA;;;;;;;;;;;;;;;;;;;;;;;;cA4BA,sBAAsB,sBAAsB;;;;WAIxC;;;;WAKA;;;;;WAMA;;;;;WAMA;;;;;WAMA,aAAa;;;;WAKb;;;;;;;EAQJ,YAAA,UAAU,eAAe;;;;;;;;;EAkBrC;;;;;;;;;EAYA;;;;;;;;;EAYA;;;;;;;;EAeA,UAAU"}
1
+ {"version":3,"file":"errors-DzQz1HIR.d.ts","names":[],"sources":["../src/errors.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAgCa,mBAAmB;;;;WAIf;;;;;;EAOJ,YAAA;;;;;;;;;;;;;;;;;;;;;;;;cA4BA,sBAAsB,sBAAsB;;;;WAIxC;;;;WAKA;;;;;WAMA;;;;;WAMA;;;;;WAMA,aAAa;;;;WAKb;;;;;;;EAQJ,YAAA,UAAU,eAAe;;;;;;;;;EAkBrC;;;;;;;;;EAYA;;;;;;;;;EAYA;;;;;;;;EAeA,UAAU"}