@nvisy/sdk 0.39.0 → 0.41.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,36 @@ and this project adheres to
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.41.0] - 2026-09-02
12
+
13
+ ### Added
14
+
15
+ - `detections.getIntermediates(workspaceSlug, detectionId)` returns a
16
+ detection's enrichment intermediates (`ArtifactSet`) — an image's OCR layout,
17
+ an audio clip's transcript, or tokenized text — so a client can search the
18
+ extracted content and add missed entities (a detection whose analysis ran no
19
+ enricher has none and 404s)
20
+ - Intermediates datatypes (`ArtifactSet`, `Layout`, `LayoutBlock`, `LayoutWord`,
21
+ `Transcription`, `TranscriptSegment`, `TranscriptWord`, `Tokens`, `Token`)
22
+ - An `intermediates` retention scope on `RetentionSettings` and
23
+ `RetentionOverride`
24
+
25
+ ### Changed
26
+
27
+ - Regenerated the API schema against the updated platform handlers
28
+
29
+ ## [0.40.0] - 2026-08-31
30
+
31
+ ### Added
32
+
33
+ - `FileHash` datatype (a SHA-256 content hash, 64-char hex). Files now carry an
34
+ optional `hash`, and `files.listFiles()` accepts it as a filter to find files
35
+ by content hash
36
+
37
+ ### Changed
38
+
39
+ - Regenerated the API schema against the updated platform handlers
40
+
11
41
  ## [0.39.0] - 2026-08-30
12
42
 
13
43
  ### Added
@@ -815,7 +845,9 @@ redaction an independent resource. This release renames the SDK to match.
815
845
  - Network error handling for timeouts, DNS resolution, and connection issues
816
846
  - Configuration validation with detailed error messages
817
847
 
818
- [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.39.0...HEAD
848
+ [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.41.0...HEAD
849
+ [0.41.0]: https://github.com/nvisycom/sdk-ts/compare/v0.40.0...v0.41.0
850
+ [0.40.0]: https://github.com/nvisycom/sdk-ts/compare/v0.39.0...v0.40.0
819
851
  [0.39.0]: https://github.com/nvisycom/sdk-ts/compare/v0.38.0...v0.39.0
820
852
  [0.38.0]: https://github.com/nvisycom/sdk-ts/compare/v0.37.0...v0.38.0
821
853
  [0.37.0]: https://github.com/nvisycom/sdk-ts/compare/v0.36.0...v0.37.0
@@ -1,4 +1,4 @@
1
- import { $t as ReplyInvite, An as WorkspaceDetectionsQuery, At as NotificationPage, En as RedactDetection, Ft as UnreadStatus, Gt as InviteCode, Ht as CreateInvite, Ia as PublicAccount, In as ConnectionPage, It as UpdateNotificationSettings, Ji as ApiToken, Jt as InvitePreview, La as UpdateAccount, Ln as ConnectionSync, Lt as ListMembers, M as CreatePolicy, Ma as Account$1, Mt as NotificationSettings, Nn as Connection, On as RedactionResult, Pt as UnreadCountEvent, Qi as CreateApiToken, Qn as SyncStatus, Qt as ListInvites, Ra as paths, Rn as ConnectionSyncPage, Rt as Member, Sn as DetectionPage, Tn as PipelineDetectionsQuery, Tt as MarkedReadStatus, Ut as GenerateInviteCode, Vn as CreateConnection, Vt as UpdateMember, X as Policy, Yi as ApiTokenPage, Yt as InviteSent, Zi as ApiTokenWithJWT, _a as ActivityExportOptions, _t as PipelineSummaryPage, an as DeletedFiles, ar as ChatToken, bt as CursorPagination, c as WorkspacePage, cn as FilePage, cr as LabelCatalog, d as CreateWebhook, dr as AuthToken, dt as CreatePipeline, ea as UpdateApiToken, er as UpdateConnection, f as TestWebhook, fn as UpdateFile, fr as Login, ft as Pipeline, h as WebhookCreated, ha as WorkspaceAnalytics, hn as ExportQuery, ht as PipelineStatus, ia as DetectionTimeSeries, ir as ChatSessionPage, kn as RedactionResultPage, kr as Audit, lr as RecognizerCatalog, lt as UpdatePolicy, m as Webhook, nn as Health, o as UpdateWorkspace, on as File, or as CreateChatSession, p as UpdateWebhook, pn as DateWindow, pr as Signup, qn as SyncConnection, qt as InvitePage, rr as ChatSession, s as Workspace, sr as SendChatMessage, t as CreateWorkspace, tr as ChatMessage, tt as PolicySummaryPage, un as ListFiles, v as WebhookPage, va as ActivityFilterQuery, vn as CreateDetection, wn as DetectionStatusEvent, y as WebhookResult, ya as ActivityPage, yn as Detection, yt as UpdatePipeline, zn as ConnectionVerification, zt as MemberPage } from "./index-7mawMrbL.js";
1
+ import { $n as SyncStatus, $t as ReplyInvite, An as RedactionResultPage, Ar as Audit, At as NotificationPage, Bn as ConnectionVerification, Cn as DetectionPage, Da as ActivityExportOptions, Dn as RedactDetection, En as PipelineDetectionsQuery, Ft as UnreadStatus, Gt as InviteCode, Ha as Account$1, Hn as CreateConnection, Ht as CreateInvite, It as UpdateNotificationSettings, Ja as paths, Jn as SyncConnection, Jt as InvitePreview, Ka as PublicAccount, Ln as ConnectionPage, Lt as ListMembers, M as CreatePolicy, Mt as NotificationSettings, Oa as ActivityFilterQuery, Pn as Connection, Pt as UnreadCountEvent, Qt as ListInvites, Rn as ConnectionSync, Rt as Member, Ta as WorkspaceAnalytics, Tn as DetectionStatusEvent, Tt as MarkedReadStatus, Ut as GenerateInviteCode, Vt as UpdateMember, X as Policy, Yi as ArtifactSet, Yt as InviteSent, _t as PipelineSummaryPage, aa as ApiTokenPage, an as DeletedFiles, ar as ChatSessionPage, bn as Detection, bt as CursorPagination, c as WorkspacePage, ca as CreateApiToken, cr as SendChatMessage, d as CreateWebhook, dn as ListFiles, dt as CreatePipeline, f as TestWebhook, fr as AuthToken, ft as Pipeline, gn as ExportQuery, h as WebhookCreated, ht as PipelineStatus, ia as ApiToken, ir as ChatSession, jn as WorkspaceDetectionsQuery, ka as ActivityPage, kn as RedactionResult, ln as FilePage, lr as LabelCatalog, lt as UpdatePolicy, m as Webhook, ma as DetectionTimeSeries, mn as DateWindow, mr as Signup, nn as Health, nr as ChatMessage, o as UpdateWorkspace, on as File, or as ChatToken, p as UpdateWebhook, pn as UpdateFile, pr as Login, qa as UpdateAccount, qt as InvitePage, s as Workspace, sa as ApiTokenWithJWT, sr as CreateChatSession, t as CreateWorkspace, tr as UpdateConnection, tt as PolicySummaryPage, ua as UpdateApiToken, ur as RecognizerCatalog, v as WebhookPage, y as WebhookResult, yn as CreateDetection, yt as UpdatePipeline, zn as ConnectionSyncPage, zt as MemberPage } from "./index-Co9cILnx.js";
2
2
  import { t as ClientConfig } from "./config-BhUEqFOg.js";
3
3
  import { Client } from "openapi-fetch";
4
4
  //#region src/services/account.d.ts
@@ -378,6 +378,20 @@ declare class Detections {
378
378
  * @throws {ApiError} if the request fails
379
379
  */
380
380
  getAnalysis(workspaceSlug: string, detectionId: string): Promise<Audit>;
381
+ /**
382
+ * Get a detection's enrichment intermediates.
383
+ *
384
+ * Returns `{ body, parts }` — an image's OCR layout, an audio clip's
385
+ * transcript, or tokenized text — so a client can search the extracted
386
+ * content and add entities the analysis missed. A detection whose analysis
387
+ * ran no enricher has no intermediates and 404s.
388
+ *
389
+ * @param workspaceSlug - Workspace slug
390
+ * @param detectionId - Detection ID
391
+ * @returns Promise that resolves with the artifact set
392
+ * @throws {ApiError} if the request fails (404 when there are none)
393
+ */
394
+ getIntermediates(workspaceSlug: string, detectionId: string): Promise<ArtifactSet>;
381
395
  /**
382
396
  * Download a detection's audit as a file.
383
397
  *
@@ -457,7 +471,8 @@ declare class Files {
457
471
  /**
458
472
  * List files in a workspace
459
473
  * @param workspaceSlug - Workspace slug
460
- * @param query - Optional query parameters (formats, search, limit, after)
474
+ * @param query - Optional query parameters (formats, modality, hash, search,
475
+ * limit, after)
461
476
  * @returns Promise that resolves with a paginated list of files
462
477
  * @throws {ApiError} if the request fails
463
478
  */
@@ -1162,4 +1177,4 @@ declare class Nvisy {
1162
1177
  }
1163
1178
  //#endregion
1164
1179
  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 };
1165
- //# sourceMappingURL=client-Do9D7tIl.d.ts.map
1180
+ //# sourceMappingURL=client-CmoKiYBW.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-CmoKiYBW.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/redactions.ts","../src/services/status.ts","../src/services/syncs.ts","../src/services/webhooks.ts","../src/services/workspaces.ts","../src/client.ts"],"mappings":";;;;;;;cAUa;;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;;;;;;;cC/E1B;;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;;;;;;;cC7E3B;;EAGA,YAAA,KAAK;;;;;;;EAUX,aAAa,aAAa,QAAQ,QAAQ;;;;;;;EAa1C,cAAc,aAAa,SAAS,QAAQ;;;;;;EA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;;EAkB9D,cACL,uBACA,mBACA,SAAS,gBACP,QAAQ;;;;;;;;EAkBL,cAAc,uBAAuB,oBAAoB;;;;;;;;;EAiBzD,YACL,uBACA,mBACA,UAAU,cACR,QAAQ;;;;;;;cCrHC;;EAGA,YAAA,KAAK;;;;;;;EAUX,eAAe,QAAQ,mBAAmB,QAAQ;;;;;;;EAalD,aAAa,wBAAwB,QAAQ;;;;;;;EAa7C,gBAAgB,WAAW,kBAAkB,QAAQ;;;;;;;;EAcrD,gBACL,uBACA,SAAS,kBACP,QAAQ;;;;;;;EAcL,gBAAgB,wBAAwB;;;;;;;EAYxC,wBACL,wBACE,QAAQ;;;;;;;;EAiBL,2BACL,uBACA,UAAU,6BACR,QAAQ;;;;;;;;EAkBL,aAAa,uBAAuB,QAAQ,OAAO;;;;;;;EAqBnD,aAAa,wBAAwB;;;;;;;;;;KCzGhC,YAAY,OAAc;;;;;;;;;;;cAsBzB;;;;;;;;;;;;;;;;;EA4BA,YAAA,QAAQ;;;;;;;;;;;;;;;;;;;;;EAyFpB,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,WAAW;;;;MAOX,WAAW;;;;MAOX,WAAW;;;;MAOX,iBAAiB;;;;MAOjB,cAAc;;;;MAOd,cAAc;;;;MAOd,SAAS;;;;MAOT,YAAY;;;;MAOZ,cAAc"}
@@ -1,2 +1,2 @@
1
- import { $ as PolicyRule, $i as TokenExpiration, $n as SyncTriggerType, $r as ImageLocation, $t as ReplyInvite, A as Color, Aa as WebhookActivityParams, Ai as TabularPattern, An as WorkspaceDetectionsQuery, Ar as AuditHash, At as NotificationPage, B as Label, Bi as TextHint, Bn as ConnectionsQuery, Br as DocumentContext, Bt as MemberSortField, C as Language, Ca as DetectionActivityParams, Ci as TabularAuditLog, Cn as DetectionStatus, Cr as AudioLocation, Ct as DetectionCompletedParams, D as ScopeMetadata, Da as PipelineActivityParams, Di as TabularLocation, Dn as RedactionId, Dr as AudioRefinement, Dt as MemberJoinedParams, E as Languages, Ea as MemberActivityParams, Ei as TabularHint, En as RedactDetection, Er as AudioPattern, Et as MemberInvitedParams, F as GdprArticle9Treatment, Fa as PasswordChange, Fi as TextAuditKind, Fn as ConnectionId, Fr as CodecParams, Ft as UnreadStatus, G as LanguageTag, Gi as TextRefinement, Gn as S3Credentials, Gr as ImageAdd, Gt as InviteCode, H as LabelLocale, Hi as TextManual, Hn as GcsCredentials, Hr as EditSet, Ht as CreateInvite, I as GdprSensitiveScope, Ia as PublicAccount, Ii as TextAuditLog, In as ConnectionPage, Ir as Conflict, It as UpdateNotificationSettings, J as PciDssPart, Ji as ApiToken, Jn as SyncDeletionPolicy, Jr as ImageAuditLog, Jt as InvitePreview, K as LocalizedText, Ki as TextRetag, Kn as StorageConfig, Kr as ImageAuditEvent, Kt as InviteExpiration, L as HipaaAccountNumbers, La as UpdateAccount, Li as TextData, Ln as ConnectionSync, Lr as Contested, Lt as ListMembers, M as CreatePolicy, Ma as Account, Mi as TabularRetag, Mn as AzureCredentials, Mr as Calibration, Mt as NotificationSettings, N as DateGranularity, Na as AccountRef, Ni as TextAdd, Nn as Connection, Nr as Category, Nt as RedactionCreatedParams, O as AudioRedaction, Oa as PolicyActivityParams, Oi as TabularManual, On as RedactionResult, Or as AudioRetag, Ot as Notification, P as DateStyle, Pa as Handle, Pi as TextAuditEvent, Pn as ConnectionConfig, Pr as CitedAttribution, Pt as UnreadCountEvent, Q as PolicyDraft, Qi as CreateApiToken, Qn as SyncStatus, Qr as ImageHint, Qt as ListInvites, R as HipaaDeidMethod, Ri as TextEdit, Rn as ConnectionSyncPage, Rr as Deduplication, Rt as Member, S as CountryCode, Sa as ConnectionActivityParams, Si as TabularAuditKind, Sn as DetectionPage, Sr as AudioHint, St as ConnectionSyncFailedParams, T as LanguageSpan, Ta as InviteActivityParams, Ti as TabularEntity, Tn as PipelineDetectionsQuery, Tr as AudioModel, Tt as MarkedReadStatus, U as LabelRef, Ui as TextModel, Un as LlmConfig, Ur as EntityCoRef, Ut as GenerateInviteCode, V as LabelEntry, Vi as TextLocation, Vn as CreateConnection, Vr as Dpi, Vt as UpdateMember, W as LabelScope, Wi as TextPattern, Wn as OpenAiCredentials, Wr as FreeformAttribution, Wt as Invite, X as Policy, Xi as ApiTokenType, Xn as SyncSchedule, Xr as ImageEdit, Xt as InviteSortField, Y as PciPanRender, Yi as ApiTokenPage, Yn as SyncMode, Yr as ImageData, Yt as InviteSent, Z as PolicyDefinition, Zi as ApiTokenWithJWT, Zn as SyncScheduleInput, Zr as ImageEntity, Zt as InviteStatus, _ as WebhookId, _a as ActivityExportOptions, _i as Selection, _n as ValidationErrorDetail, _r as AudioAuditKind, _t as PipelineSummaryPage, a as RetentionSettings, aa as ModelUsage, ai as LeakProfile, an as DeletedFiles, ar as ChatToken, at as TabularRedaction, b as WebhookStatus, ba as ActivityPayload, bi as TabularAdd, bn as DetectionId, br as AudioEdit, bt as CursorPagination, c as WorkspacePage, ca as RecognizerId, ci as OperatorId, cn as FilePage, cr as LabelCatalog, ct as TextRedaction, d as CreateWebhook, da as TokenCounts, di as Polygon, dn as ModalityToken, dr as AuthToken, dt as CreatePipeline, ea as UpdateApiToken, ei as ImageManual, en as SortOrder, er as UpdateConnection, et as PolicySummary, f as TestWebhook, fa as Usage, fi as RangeOfUint, fn as UpdateFile, fr as Login, ft as Pipeline, g as WebhookEvent, ga as Activity, gi as RuleMatch, gn as ErrorResponse, gr as AudioAuditEvent, gt as PipelineSummary, h as WebhookCreated, ha as WorkspaceAnalytics, hi as Report, hn as ExportQuery, hr as AudioAdd, ht as PipelineStatus, i as RetentionOverride, ia as DetectionTimeSeries, ii as ImageRetag, in as DeleteFiles, ir as ChatSessionPage, it as Sha2Algorithm, j as ConfidenceThreshold, ja as WorkspaceActivityParams, ji as TabularRefinement, jn as AnthropicCredentials, jr as BoundingBox, jt as NotificationPayload, k as ClampBucket, ka as RedactionActivityParams, ki as TabularModel, kn as RedactionResultPage, kr as Audit, kt as NotificationEvent, l as WorkspaceRole, la as StorageAnalytics, li as PatternEvent, ln as FormatToken, lr as RecognizerCatalog, lt as UpdatePolicy, m as Webhook, ma as UsageReport, mi as Redaction, mn as ExportFormat, mr as Attribution, mt as PipelineFilter, n as RasterPolicy, na as DetectionDayEntry, ni as ImagePattern, nn as Health, nr as ChatRole, nt as PolicyTemplate, o as UpdateWorkspace, oa as ModelUsageEntry, oi as ManualIntent, on as File, or as CreateChatSession, ot as TemplateOrigin, p as UpdateWebhook, pa as UsageAnalytics, pi as RasterMode, pn as DateWindow, pr as Signup, pt as PipelineDefinition, q as ModalityRedactions, qi as TimeSpan, qn as SyncConnection, qr as ImageAuditKind, qt as InvitePage, r as Retention, ra as DetectionStatusEntry, ri as ImageRefinement, rn as HealthStatus, rr as ChatSession, rt as Predicate, s as Workspace, sa as ProviderType, si as ModelEvent, sn as FileKind, sr as SendChatMessage, st as TerminalFallback, t as CreateWorkspace, ta as DetectionAnalytics, ti as ImageModel, tn as ComponentHealth, tr as ChatMessage, tt as PolicySummaryPage, u as WorkspaceSettings, ua as StorageKindEntry, ui as Point, un as ListFiles, ur as RegisteredRecognizer, ut as Waveform, v as WebhookPage, va as ActivityFilterQuery, vi as SourceRef, vn as CreateDetection, vr as AudioAuditLog, vt as PipelineTriggerType, w as LanguageProvenance, wa as FileActivityParams, wi as TabularEdit, wn as DetectionStatusEvent, wr as AudioManual, wt as DetectionFailedParams, x as Confidence, xa as ActivityType, xi as TabularAuditEvent, xn as DetectionMetadata, xr as AudioEntity, xt as ConnectionSyncCompletedParams, y as WebhookResult, ya as ActivityPage, yi as Suppress, yn as Detection, yr as AudioData, yt as UpdatePipeline, z as ImageRedaction, zi as TextEntity, zn as ConnectionVerification, zr as Dimensions, zt as MemberPage } from "../index-7mawMrbL.js";
2
- export type { Account, AccountRef, Activity, ActivityExportOptions, ActivityFilterQuery, ActivityPage, ActivityPayload, ActivityType, AnthropicCredentials, ApiToken, ApiTokenPage, ApiTokenType, ApiTokenWithJWT, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthToken, 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, Contested, CountryCode, CreateApiToken, CreateChatSession, CreateConnection, CreateDetection, CreateInvite, CreatePipeline, CreatePolicy, CreateWebhook, CreateWorkspace, CursorPagination, DateGranularity, DateStyle, DateWindow, Deduplication, DeleteFiles, DeletedFiles, Detection, DetectionActivityParams, DetectionAnalytics, DetectionCompletedParams, DetectionDayEntry, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionPage, DetectionStatus, DetectionStatusEntry, DetectionStatusEvent, DetectionTimeSeries, Dimensions, DocumentContext, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFormat, ExportQuery, File, FileActivityParams, FileKind, FilePage, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, Invite, InviteActivityParams, InviteCode, InviteExpiration, InvitePage, InvitePreview, InviteSent, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, 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, OpenAiCredentials, OperatorId, PasswordChange, PatternEvent, PciDssPart, PciPanRender, Pipeline, PipelineActivityParams, PipelineDefinition, PipelineDetectionsQuery, PipelineFilter, PipelineStatus, PipelineSummary, PipelineSummaryPage, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDefinition, PolicyDraft, PolicyRule, PolicySummary, PolicySummaryPage, PolicyTemplate, Polygon, Predicate, 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, Sha2Algorithm, Signup, SortOrder, SourceRef, StorageAnalytics, StorageConfig, StorageKindEntry, Suppress, SyncConnection, 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, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, TimeSpan, TokenCounts, TokenExpiration, 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 PolicyRule, $i as Token, $n as SyncStatus, $r as ImageHint, $t as ReplyInvite, A as Color, Aa as ActivityPayload, Ai as TabularModel, An as RedactionResultPage, Ar as Audit, At as NotificationPage, B as Label, Ba as WebhookActivityParams, Bi as TextEntity, Bn as ConnectionVerification, Br as Dimensions, Bt as MemberSortField, C as Language, Ca as UsageAnalytics, Ci as TabularAuditKind, Cn as DetectionPage, Cr as AudioHint, Ct as DetectionCompletedParams, D as ScopeMetadata, Da as ActivityExportOptions, Di as TabularHint, Dn as RedactDetection, Dr as AudioPattern, Dt as MemberJoinedParams, E as Languages, Ea as Activity, Ei as TabularEntity, En as PipelineDetectionsQuery, Er as AudioModel, Et as MemberInvitedParams, F as GdprArticle9Treatment, Fa as InviteActivityParams, Fi as TextAuditEvent, Fn as ConnectionConfig, Fr as CitedAttribution, Ft as UnreadStatus, G as LanguageTag, Ga as PasswordChange, Gi as TextPattern, Gn as OpenAiCredentials, Gr as FreeformAttribution, Gt as InviteCode, H as LabelLocale, Ha as Account, Hi as TextLocation, Hn as CreateConnection, Hr as Dpi, Ht as CreateInvite, I as GdprSensitiveScope, Ia as MemberActivityParams, Ii as TextAuditKind, In as ConnectionId, Ir as CodecParams, It as UpdateNotificationSettings, J as PciDssPart, Ji as TimeSpan, Jn as SyncConnection, Jr as ImageAuditKind, Jt as InvitePreview, K as LocalizedText, Ka as PublicAccount, Ki as TextRefinement, Kn as S3Credentials, Kr as ImageAdd, Kt as InviteExpiration, L as HipaaAccountNumbers, La as PipelineActivityParams, Li as TextAuditLog, Ln as ConnectionPage, Lr as Conflict, Lt as ListMembers, M as CreatePolicy, Ma as ConnectionActivityParams, Mi as TabularRefinement, Mn as AnthropicCredentials, Mr as BoundingBox, Mt as NotificationSettings, N as DateGranularity, Na as DetectionActivityParams, Ni as TabularRetag, Nn as AzureCredentials, Nr as Calibration, Nt as RedactionCreatedParams, O as AudioRedaction, Oa as ActivityFilterQuery, Oi as TabularLocation, On as RedactionId, Or as AudioRefinement, Ot as Notification, P as DateStyle, Pa as FileActivityParams, Pi as TextAdd, Pn as Connection, Pr as Category, Pt as UnreadCountEvent, Q as PolicyDraft, Qi as LayoutWord, Qn as SyncScheduleInput, Qr as ImageEntity, Qt as ListInvites, R as HipaaDeidMethod, Ra as PolicyActivityParams, Ri as TextData, Rn as ConnectionSync, Rr as Contested, Rt as Member, S as CountryCode, Sa as Usage, Si as TabularAuditEvent, Sn as DetectionMetadata, Sr as AudioEntity, St as ConnectionSyncFailedParams, T as LanguageSpan, Ta as WorkspaceAnalytics, Ti as TabularEdit, Tn as DetectionStatusEvent, Tr as AudioManual, Tt as MarkedReadStatus, U as LabelRef, Ua as AccountRef, Ui as TextManual, Un as GcsCredentials, Ur as EditSet, Ut as GenerateInviteCode, V as LabelEntry, Va as WorkspaceActivityParams, Vi as TextHint, Vn as ConnectionsQuery, Vr as DocumentContext, Vt as UpdateMember, W as LabelScope, Wa as Handle, Wi as TextModel, Wn as LlmConfig, Wr as EntityCoRef, Wt as Invite, X as Policy, Xi as Layout, Xn as SyncMode, Xr as ImageData, Xt as InviteSortField, Y as PciPanRender, Yi as ArtifactSet, Yn as SyncDeletionPolicy, Yr as ImageAuditLog, Yt as InviteSent, Z as PolicyDefinition, Zi as LayoutBlock, Zn as SyncSchedule, Zr as ImageEdit, Zt as InviteStatus, _ as WebhookId, _a as ProviderType, _i as RuleMatch, _n as ErrorResponse, _r as AudioAuditEvent, _t as PipelineSummaryPage, a as RetentionSettings, aa as ApiTokenPage, ai as ImageRetag, an as DeletedFiles, ar as ChatSessionPage, at as TabularRedaction, b as WebhookStatus, ba as StorageKindEntry, bi as Suppress, bn as Detection, br as AudioData, bt as CursorPagination, c as WorkspacePage, ca as CreateApiToken, ci as ModelEvent, cn as FileKind, cr as SendChatMessage, ct as TextRedaction, d as CreateWebhook, da as DetectionAnalytics, di as Point, dn as ListFiles, dr as RegisteredRecognizer, dt as CreatePipeline, ea as Tokens, ei as ImageLocation, en as SortOrder, er as SyncTriggerType, et as PolicySummary, f as TestWebhook, fa as DetectionDayEntry, fi as Polygon, fn as ModalityToken, fr as AuthToken, ft as Pipeline, g as WebhookEvent, ga as ModelUsageEntry, gi as Report, gn as ExportQuery, gr as AudioAdd, gt as PipelineSummary, h as WebhookCreated, ha as ModelUsage, hi as Redaction, hn as ExportFormat, hr as Attribution, ht as PipelineStatus, i as RetentionOverride, ia as ApiToken, ii as ImageRefinement, in as DeleteFiles, ir as ChatSession, it as Sha2Algorithm, j as ConfidenceThreshold, ja as ActivityType, ji as TabularPattern, jn as WorkspaceDetectionsQuery, jr as AuditHash, jt as NotificationPayload, k as ClampBucket, ka as ActivityPage, ki as TabularManual, kn as RedactionResult, kr as AudioRetag, kt as NotificationEvent, l as WorkspaceRole, la as TokenExpiration, li as OperatorId, ln as FilePage, lr as LabelCatalog, lt as UpdatePolicy, m as Webhook, ma as DetectionTimeSeries, mi as RasterMode, mn as DateWindow, mr as Signup, mt as PipelineFilter, n as RasterPolicy, na as TranscriptWord, ni as ImageModel, nn as Health, nr as ChatMessage, nt as PolicyTemplate, o as UpdateWorkspace, oa as ApiTokenType, oi as LeakProfile, on as File, or as ChatToken, ot as TemplateOrigin, p as UpdateWebhook, pa as DetectionStatusEntry, pi as RangeOfUint, pn as UpdateFile, pr as Login, pt as PipelineDefinition, q as ModalityRedactions, qa as UpdateAccount, qi as TextRetag, qn as StorageConfig, qr as ImageAuditEvent, qt as InvitePage, r as Retention, ra as Transcription, ri as ImagePattern, rn as HealthStatus, rr as ChatRole, rt as Predicate, s as Workspace, sa as ApiTokenWithJWT, si as ManualIntent, sn as FileHash, sr as CreateChatSession, st as TerminalFallback, t as CreateWorkspace, ta as TranscriptSegment, ti as ImageManual, tn as ComponentHealth, tr as UpdateConnection, tt as PolicySummaryPage, u as WorkspaceSettings, ua as UpdateApiToken, ui as PatternEvent, un as FormatToken, ur as RecognizerCatalog, ut as Waveform, v as WebhookPage, va as RecognizerId, vi as Selection, vn as ValidationErrorDetail, vr as AudioAuditKind, vt as PipelineTriggerType, w as LanguageProvenance, wa as UsageReport, wi as TabularAuditLog, wn as DetectionStatus, wr as AudioLocation, wt as DetectionFailedParams, x as Confidence, xa as TokenCounts, xi as TabularAdd, xn as DetectionId, xr as AudioEdit, xt as ConnectionSyncCompletedParams, y as WebhookResult, ya as StorageAnalytics, yi as SourceRef, yn as CreateDetection, yr as AudioAuditLog, yt as UpdatePipeline, z as ImageRedaction, za as RedactionActivityParams, zi as TextEdit, zn as ConnectionSyncPage, zr as Deduplication, zt as MemberPage } from "../index-Co9cILnx.js";
2
+ export type { Account, AccountRef, Activity, ActivityExportOptions, ActivityFilterQuery, ActivityPage, ActivityPayload, ActivityType, AnthropicCredentials, ApiToken, ApiTokenPage, ApiTokenType, ApiTokenWithJWT, ArtifactSet, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthToken, 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, Contested, CountryCode, CreateApiToken, CreateChatSession, CreateConnection, CreateDetection, CreateInvite, CreatePipeline, CreatePolicy, CreateWebhook, CreateWorkspace, CursorPagination, DateGranularity, DateStyle, DateWindow, Deduplication, DeleteFiles, DeletedFiles, Detection, DetectionActivityParams, DetectionAnalytics, DetectionCompletedParams, DetectionDayEntry, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionPage, DetectionStatus, DetectionStatusEntry, DetectionStatusEvent, DetectionTimeSeries, Dimensions, DocumentContext, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFormat, ExportQuery, File, FileActivityParams, FileHash, FileKind, FilePage, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, 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, OpenAiCredentials, OperatorId, PasswordChange, PatternEvent, PciDssPart, PciPanRender, Pipeline, PipelineActivityParams, PipelineDefinition, PipelineDetectionsQuery, PipelineFilter, PipelineStatus, PipelineSummary, PipelineSummaryPage, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDefinition, PolicyDraft, PolicyRule, PolicySummary, PolicySummaryPage, PolicyTemplate, Polygon, Predicate, 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, Sha2Algorithm, Signup, SortOrder, SourceRef, StorageAnalytics, StorageConfig, StorageKindEntry, Suppress, SyncConnection, 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, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, TimeSpan, Token, TokenCounts, TokenExpiration, Tokens, TranscriptSegment, TranscriptWord, Transcription, 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 };
@@ -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.39.0";
10
+ const VERSION = "0.41.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-Zp6bHUht.js.map
47
+ //# sourceMappingURL=error-D0ZutHVP.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-Zp6bHUht.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 * The `apiToken` field is required for authentication. All other fields are optional\n * and will use sensible defaults when omitted.\n *\n * @example\n * ```typescript\n * const config: ClientConfig = {\n * apiToken: \"your-api-token\",\n * baseUrl: \"https://api.nvisy.com\",\n * headers: { \"X-Custom-Header\": \"value\" },\n * };\n * const client = new Client(config);\n * ```\n */\nexport interface ClientConfig {\n\t/**\n\t * API token for authentication.\n\t *\n\t * Tokens can be obtained from the Nvisy dashboard or via the auth endpoints.\n\t */\n\tapiToken: string;\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;;;;AAyEb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;ACjGA,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-D0ZutHVP.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 * The `apiToken` field is required for authentication. All other fields are optional\n * and will use sensible defaults when omitted.\n *\n * @example\n * ```typescript\n * const config: ClientConfig = {\n * apiToken: \"your-api-token\",\n * baseUrl: \"https://api.nvisy.com\",\n * headers: { \"X-Custom-Header\": \"value\" },\n * };\n * const client = new Client(config);\n * ```\n */\nexport interface ClientConfig {\n\t/**\n\t * API token for authentication.\n\t *\n\t * Tokens can be obtained from the Nvisy dashboard or via the auth endpoints.\n\t */\n\tapiToken: string;\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;;;;AAyEb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;ACjGA,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 { gn as ErrorResponse } from "./index-7mawMrbL.js";
1
+ import { _n as ErrorResponse } from "./index-Co9cILnx.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-yp8AsvR_.d.ts.map
127
+ //# sourceMappingURL=errors-B0cfPrDB.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors-yp8AsvR_.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-B0cfPrDB.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"}