@nvisy/sdk 0.47.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,44 @@ 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
+
36
+ ## [0.48.0] - 2026-09-08
37
+
38
+ ### Added
39
+
40
+ - `auth.mintDesktopToken(request)` mints a long-lived native-app token from an
41
+ active browser session for a desktop app, delivered via a deep-link
42
+ `redirectUri` (`DesktopTokenRequest` / `DesktopToken`)
43
+
44
+ ### Changed
45
+
46
+ - Regenerated the API schema against the updated platform handlers
47
+ - **Breaking:** the `ApiTokenType` value `cli` was renamed to `app`
48
+
11
49
  ## [0.47.0] - 2026-09-08
12
50
 
13
51
  ### Added
@@ -986,7 +1024,9 @@ redaction an independent resource. This release renames the SDK to match.
986
1024
  - Network error handling for timeouts, DNS resolution, and connection issues
987
1025
  - Configuration validation with detailed error messages
988
1026
 
989
- [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
1029
+ [0.48.0]: https://github.com/nvisycom/sdk-ts/compare/v0.47.0...v0.48.0
990
1030
  [0.47.0]: https://github.com/nvisycom/sdk-ts/compare/v0.46.0...v0.47.0
991
1031
  [0.46.0]: https://github.com/nvisycom/sdk-ts/compare/v0.45.0...v0.46.0
992
1032
  [0.45.0]: https://github.com/nvisycom/sdk-ts/compare/v0.44.0...v0.45.0
@@ -1,4 +1,4 @@
1
- import { $n as Provider, $t as ListInvites, An as RedactionResult, Ba as ActivityExportOptions, Bn as ConnectionSyncPage, Br as Audit, Bt as MemberPage, Ca as UpdateApiToken, Cr as Login, Da as DetectionTimeSeries, Dn as PipelineDetectionsQuery, En as DetectionStatusEvent, Et as MarkedReadStatus, Fn as Connection, Ft as UnreadCountEvent, Ha as ActivityPage, 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, Ra as WorkspaceAnalytics, Rn as ConnectionPage, Rt as ListMembers, Un as CreateConnection, Ut as CreateInvite, Va as ActivityFilterQuery, Vn as ConnectionVerification, Wn as ExportFiles, Wt as GenerateInviteCode, Xt as InviteSent, Yn as OAuthStartResponse, Yt as InvitePreview, Z as Policy, _a as ApiToken, _n as ExportQuery, _r as SendChatMessage, ba as ApiTokenWithJWT, bn as CreateDetection, br as LabelCatalog, bt as UpdatePipeline, c as WorkspacePage, ca as ArtifactSet, co as PublicAccount, d as CreateWebhook, do as paths, dr as ChatMessage, en as ReplyInvite, f as TestWebhook, fn as ListFiles, ft as CreatePipeline, gr as CreateChatSession, gt as PipelineStatus, h as WebhookCreated, hn as DateWindow, hr as ChatToken, jn as RedactionResultPage, jt as NotificationPage, lo as SetPassword, m as Webhook, mn as UpdateFile, mr as ChatSessionPage, no as AccountIdentities, nt as PolicySummaryPage, o as UpdateWorkspace, on as DeletedFiles, oo as IdentityProvider, p as UpdateWebhook, pr as ChatSession, pt as Pipeline, qn as ImportFiles, rn as Health, s as Workspace, sn as File, so as OidcStartResponse, sr as SyncStatus, t as CreateWorkspace, to as Account$1, tr as StartFileServiceOAuth, un as FilePage, uo as UpdateAccount, ur as UpdateConnection, ut as UpdatePolicy, v as WebhookPage, va as ApiTokenPage, vr as ConnectorCatalog, vt as PipelineSummaryPage, wn as DetectionPage, wr as Signup, xa as CreateApiToken, xn as Detection, xr as RecognizerCatalog, xt as CursorPagination, y as WebhookResult, zn as ConnectionSync, zt as Member } from "./index-B-oR9rqQ.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
@@ -267,6 +267,19 @@ declare class Auth {
267
267
  startOidcSignIn(provider: IdentityProvider, query?: {
268
268
  redirectUri?: string;
269
269
  }): Promise<OidcStartResponse>;
270
+ /**
271
+ * Mint a long-lived native-app token for a desktop app.
272
+ *
273
+ * Requires an active browser session (the desktop login completes in the
274
+ * browser first). Exchanges that session for an `app` token to hand to the
275
+ * desktop app via the given deep-link `redirectUri`, which must be a
276
+ * configured desktop scheme; it is echoed back in the response.
277
+ *
278
+ * @param request - The desktop deep-link to deliver the token on
279
+ * @returns Promise that resolves with the minted token and redirect URI
280
+ * @throws {ApiError} if the request fails
281
+ */
282
+ mintDesktopToken(request: DesktopTokenRequest): Promise<DesktopToken>;
270
283
  }
271
284
  //#endregion
272
285
  //#region src/services/catalog.d.ts
@@ -441,7 +454,7 @@ declare class Connections {
441
454
  * @returns Promise that resolves with the provider authorize URL
442
455
  * @throws {ApiError} if the request fails
443
456
  */
444
- startFileServiceOAuth(workspaceSlug: string, provider: Provider, request: StartFileServiceOAuth): Promise<OAuthStartResponse>;
457
+ startFileServiceOAuth(workspaceSlug: string, provider: FileServiceProvider, request: StartFileServiceOAuth): Promise<OAuthStartResponse>;
445
458
  /**
446
459
  * Import picker-selected files from a file-service connection.
447
460
  *
@@ -479,10 +492,11 @@ declare class Connections {
479
492
  *
480
493
  * @param workspaceSlug - Workspace slug
481
494
  * @param connectionId - Connection ID
495
+ * @param request - Optional picker resource (defaults to the connection's)
482
496
  * @returns Promise that resolves with the short-lived picker token
483
497
  * @throws {ApiError} if the request fails
484
498
  */
485
- getPickerToken(workspaceSlug: string, connectionId: string): Promise<PickerToken>;
499
+ getPickerToken(workspaceSlug: string, connectionId: string, request?: PickerTokenRequest): Promise<PickerToken>;
486
500
  }
487
501
  //#endregion
488
502
  //#region src/services/detections.d.ts
@@ -959,6 +973,66 @@ declare class Policies {
959
973
  deletePolicy(workspaceSlug: string, policySlug: string): Promise<void>;
960
974
  }
961
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
962
1036
  //#region src/services/redactions.d.ts
963
1037
  /**
964
1038
  * Service for workspace redactions, independent of the detection they came
@@ -1308,6 +1382,10 @@ declare class Nvisy {
1308
1382
  * Service for managing policies.
1309
1383
  */
1310
1384
  get policies(): Policies;
1385
+ /**
1386
+ * Service for managing a workspace's inference providers.
1387
+ */
1388
+ get providers(): Providers;
1311
1389
  /**
1312
1390
  * Service for reading the deployment's label and recognizer catalogs.
1313
1391
  */
@@ -1346,5 +1424,5 @@ declare class Nvisy {
1346
1424
  get workspaces(): Workspaces;
1347
1425
  }
1348
1426
  //#endregion
1349
- 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 };
1350
- //# sourceMappingURL=client-pc1XUsBx.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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;;;;MAOX,WAAW;;;;MAOX,iBAAiB;;;;MAOjB,cAAc;;;;MAOd,cAAc;;;;MAOd,SAAS;;;;MAOT,YAAY;;;;MAOZ,cAAc"}
@@ -1,2 +1,2 @@
1
- import { $ as PolicyDraft, $a as WebhookActivityParams, $i as TextEntity, $n as Provider, $r as Dpi, $t as ListInvites, A as Color, Aa as ProviderType, Ai as SourceRef, An as RedactionResult, Ar as AudioData, At as NotificationEvent, B as ImageRedaction, Ba as ActivityExportOptions, Bi as TabularLocation, Bn as ConnectionSyncPage, Br as Audit, Bt as MemberPage, C as Language, Ca as UpdateApiToken, Ci as Polygon, Cn as DetectionMetadata, Cr as Login, Ct as ConnectionSyncFailedParams, D as ScopeMetadata, Da as DetectionTimeSeries, Di as Report, Dn as PipelineDetectionsQuery, Dr as AudioAuditEvent, Dt as MemberInvitedParams, E as Languages, Ea as DetectionStatusEntry, Ei as Redaction, En as DetectionStatusEvent, Er as AudioAdd, Et as MarkedReadStatus, F as DateStyle, Fa as Usage, Fi as TabularAuditKind, Fn as Connection, Fr as AudioManual, Ft as UnreadCountEvent, G as LabelScope, Ga as ConnectionActivityParams, Gi as TabularRetag, Gn as FileServiceConfig, Gr as CitedAttribution, Gt as Invite, H as LabelEntry, Ha as ActivityPage, Hi as TabularModel, Hn as ConnectionsQuery, Hr as BoundingBox, Ht as UpdateMember, I as GdprArticle9Treatment, Ia as UsageAnalytics, Ii as TabularAuditLog, In as ConnectionConfig, Ir as AudioModel, It as UnreadStatus, J as ModalityRedactions, Ja as InviteActivityParams, Ji as TextAuditKind, Jn as LlmConfig, Jr as Contested, Jt as InvitePage, K as LanguageTag, Ka as DetectionActivityParams, Ki as TextAdd, Kn as GcsCredentials, Kr as CodecParams, Kt as InviteCode, L as GdprSensitiveScope, La as UsageReport, Li as TabularEdit, Ln as ConnectionId, Lr as AudioPattern, Lt as UpdateNotificationSettings, M as CreatePolicy, Ma as StorageAnalytics, Mi as Suppress, Mn as WorkspaceDetectionsQuery, Mr as AudioEntity, Mt as NotificationPayload, N as CustomMatcher, Na as StorageKindEntry, Ni as TabularAdd, Nn as AuthenticatedProvider, Nr as AudioHint, Nt as NotificationSettings, O as AudioRedaction, Oa as ModelUsage, Oi as RuleMatch, On as RedactDetection, Or as AudioAuditKind, Ot as MemberJoinedParams, P as DateGranularity, Pa as TokenCounts, Pi as TabularAuditEvent, Pn as AzureCredentials, Pr as AudioLocation, Pt as RedactionCreatedParams, Q as PolicyDefinition, Qa as RedactionActivityParams, Qi as TextEdit, Qn as PickerToken, Qr as DocumentContext, Qt as InviteStatus, R as HipaaAccountNumbers, Ra as WorkspaceAnalytics, Ri as TabularEntity, Rn as ConnectionPage, Rr as AudioRefinement, Rt as ListMembers, S as CountryCode, Sa as TokenExpiration, Si as Point, Sn as DetectionId, Sr as RegisteredRecognizer, St as ConnectionSyncCompletedParams, T as LanguageSpan, Ta as DetectionDayEntry, Ti as RasterMode, Tn as DetectionStatus, Tr as Attribution, Tt as DetectionFailedParams, U as LabelLocale, Ua as ActivityPayload, Ui as TabularPattern, Un as CreateConnection, Ur as Calibration, Ut as CreateInvite, V as Label, Va as ActivityFilterQuery, Vi as TabularManual, Vn as ConnectionVerification, Vr as AuditHash, Vt as MemberSortField, W as LabelRef, Wa as ActivityType, Wi as TabularRefinement, Wn as ExportFiles, Wr as Category, Wt as GenerateInviteCode, X as PciPanRender, Xa as PipelineActivityParams, Xi as TextCoord, Xn as OAuthTokens, Xr as Deduplication, Xt as InviteSent, Y as PciDssPart, Ya as MemberActivityParams, Yi as TextAuditLog, Yn as OAuthStartResponse, Yr as DecodedSpan, Yt as InvitePreview, Z as Policy, Za as PolicyActivityParams, Zi as TextData, Zn as PickedFile, Zr as Dimensions, Zt as InviteSortField, _ as WebhookId, _a as ApiToken, _i as LeakProfile, _n as ExportQuery, _r as SendChatMessage, _t as PipelineSummary, a as RetentionSettings, aa as TextRefinement, ai as ImageAuditKind, an as DeleteFiles, ao as Handle, ar as SyncSchedule, at as Sha2Algorithm, b as WebhookStatus, ba as ApiTokenWithJWT, bi as OperatorId, bn as CreateDetection, br as LabelCatalog, bt as UpdatePipeline, c as WorkspacePage, ca as ArtifactSet, ci as ImageEdit, cn as FileHash, co as PublicAccount, cr as SyncTriggerType, ct as TerminalFallback, d as CreateWebhook, da as LayoutWord, di as ImageLocation, dn as FormatToken, dr as ChatMessage, dt as Waveform, ea as TextHint, ei as EditSet, en as ReplyInvite, eo as WorkspaceActivityParams, er as S3Credentials, et as PolicyRule, f as TestWebhook, fa as Token, fi as ImageManual, fn as ListFiles, fr as ChatRole, ft as CreatePipeline, g as WebhookEvent, ga as Transcription, gi as ImageRetag, gn as ExportFormat, gr as CreateChatSession, gt as PipelineStatus, h as WebhookCreated, ha as TranscriptWord, hi as ImageRefinement, hn as DateWindow, hr as ChatToken, ht as PipelineFilter, i as RetentionOverride, ia as TextPattern, ii as ImageAuditEvent, in as HealthStatus, io as AccountRef, ir as SyncMode, it as Predicate, j as ConfidenceThreshold, ja as RecognizerId, ji as SourceSpan, jn as RedactionResultPage, jr as AudioEdit, jt as NotificationPage, k as ClampBucket, ka as ModelUsageEntry, ki as Selection, kn as RedactionId, kr as AudioAuditLog, kt as Notification, l as WorkspaceRole, la as Layout, li as ImageEntity, ln as FileKind, lo as SetPassword, lr as UnauthenticatedProvider, lt as TextRedaction, m as Webhook, ma as TranscriptSegment, mi as ImagePattern, mn as UpdateFile, mr as ChatSessionPage, mt as PipelineDefinition, n as RasterPolicy, na as TextManual, ni as FreeformAttribution, nn as ComponentHealth, no as AccountIdentities, nr as StorageConfig, nt as PolicySummaryPage, o as UpdateWorkspace, oa as TextRetag, oi as ImageAuditLog, on as DeletedFiles, oo as IdentityProvider, or as SyncScheduleInput, ot as TabularRedaction, p as UpdateWebhook, pa as Tokens, pi as ImageModel, pn as ModalityToken, pr as ChatSession, pt as Pipeline, q as LocalizedText, qa as FileActivityParams, qi as TextAuditEvent, qn as ImportFiles, qr as Conflict, qt as InviteExpiration, r as Retention, ra as TextModel, ri as ImageAdd, rn as Health, ro as AccountIdentity, rr as SyncDeletionPolicy, rt as PolicyTemplate, s as Workspace, sa as TimeSpan, si as ImageData, sn as File, so as OidcStartResponse, sr as SyncStatus, st as TemplateOrigin, t as CreateWorkspace, ta as TextLocation, ti as EntityCoRef, tn as SortOrder, to as Account, tr as StartFileServiceOAuth, tt as PolicySummary, u as WorkspaceSettings, ua as LayoutBlock, ui as ImageHint, un as FilePage, uo as UpdateAccount, ur as UpdateConnection, ut as UpdatePolicy, v as WebhookPage, va as ApiTokenPage, vi as ManualIntent, vn as ErrorResponse, vr as ConnectorCatalog, vt as PipelineSummaryPage, w as LanguageProvenance, wa as DetectionAnalytics, wi as RangeOfUint, wn as DetectionPage, wr as Signup, wt as DetectionCompletedParams, x as Confidence, xa as CreateApiToken, xi as PatternEvent, xn as Detection, xr as RecognizerCatalog, xt as CursorPagination, y as WebhookResult, ya as ApiTokenType, yi as ModelEvent, yn as ValidationErrorDetail, yr as FileProviders, yt as PipelineTriggerType, z as HipaaDeidMethod, za as Activity, zi as TabularHint, zn as ConnectionSync, zr as AudioRetag, zt as Member } from "../index-B-oR9rqQ.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, 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.47.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-CPo0Jl05.js.map
47
+ //# sourceMappingURL=error-DNeyT0Z7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-CPo0Jl05.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-B-oR9rqQ.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-Cht3LbX5.d.ts.map
127
+ //# sourceMappingURL=errors-DzQz1HIR.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors-Cht3LbX5.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"}