@nvisy/sdk 0.43.0 → 0.45.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,64 @@ and this project adheres to
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.45.0] - 2026-09-07
12
+
13
+ ### Added
14
+
15
+ - `connections.importFiles(workspaceSlug, connectionId, request)` imports the
16
+ files a user selected in a file-service provider's picker (`ImportFiles` /
17
+ `PickedFile`); already-imported files are skipped. Returns the created
18
+ `ConnectionSync`
19
+ - `connections.exportFiles(workspaceSlug, connectionId, request)` exports
20
+ workspace files to a file-service connection, each written as a new provider
21
+ file (`ExportFiles`). Returns the created `ConnectionSync`
22
+ - LLM provider config datatypes `AuthenticatedProvider` (API-key providers:
23
+ OpenAI, Anthropic) and `UnauthenticatedProvider` (base-URL providers), and an
24
+ `ollama` variant on `LlmConfig`
25
+
26
+ ### Changed
27
+
28
+ - Regenerated the API schema against the updated platform handlers
29
+ - **Breaking:** `syncs.startSync(workspaceSlug, connectionId)` no longer takes a
30
+ request body — an object-store sync now runs the connection's configured
31
+ direction. File-service connections use `connections.importFiles` /
32
+ `connections.exportFiles` instead
33
+
34
+ ### Removed
35
+
36
+ - **Breaking:** the `SyncConnection` datatype — the generic sync request was
37
+ split into the picker import and per-connection export flows above
38
+ - **Breaking:** the `AnthropicCredentials` and `OpenAiCredentials` datatypes —
39
+ the LLM connection config now composes `AuthenticatedProvider` and
40
+ `UnauthenticatedProvider`
41
+
42
+ ## [0.44.0] - 2026-09-07
43
+
44
+ ### Added
45
+
46
+ - `connections.startFileServiceOAuth(workspaceSlug, provider, request)` begins
47
+ the OAuth flow to connect a cloud file-service provider (Google Drive,
48
+ Dropbox, OneDrive, Box) and returns the provider `authorizeUrl` to send the
49
+ user to (`OAuthStartResponse`); the request is a `StartFileServiceOAuth`
50
+ - `catalog.listConnectors()` returns which connector families and providers the
51
+ deployment can create (`ConnectorCatalog`) — a file-service provider is
52
+ offered only when its OAuth app is configured on the server, while
53
+ object-store and inference connections are always available
54
+ - File-service connection datatypes (`Provider`, `FileServiceConfig`,
55
+ `OAuthTokens`, `StartFileServiceOAuth`, `OAuthStartResponse`) and connector
56
+ catalog datatypes (`ConnectorCatalog`, `FileProviders`)
57
+
58
+ ### Changed
59
+
60
+ - Regenerated the API schema against the updated platform handlers. A
61
+ `file_service` value was added to `ProviderType` for the new cloud
62
+ file-service connections
63
+ - **Breaking:** the `WorkspaceRole` values `member` and `guest` were renamed to
64
+ `editor` and `reviewer`. The type flows through member data, role updates,
65
+ invites, invite codes, and role filters; callers matching on the old string
66
+ values must update them
67
+ - **Breaking:** the minimum supported Node.js version is now 24 (was 20)
68
+
11
69
  ## [0.43.0] - 2026-09-04
12
70
 
13
71
  ### Added
@@ -874,6 +932,8 @@ redaction an independent resource. This release renames the SDK to match.
874
932
  - Configuration validation with detailed error messages
875
933
 
876
934
  [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.42.0...HEAD
935
+ [0.45.0]: https://github.com/nvisycom/sdk-ts/compare/v0.44.0...v0.45.0
936
+ [0.44.0]: https://github.com/nvisycom/sdk-ts/compare/v0.43.0...v0.44.0
877
937
  [0.43.0]: https://github.com/nvisycom/sdk-ts/compare/v0.42.0...v0.43.0
878
938
  [0.42.0]: https://github.com/nvisycom/sdk-ts/compare/v0.41.0...v0.42.0
879
939
  [0.41.0]: https://github.com/nvisycom/sdk-ts/compare/v0.40.0...v0.41.0
package/CONTRIBUTING.md CHANGED
@@ -4,7 +4,7 @@ Thank you for your interest in contributing to the Nvisy SDK.
4
4
 
5
5
  ## Requirements
6
6
 
7
- - Node.js 20.0.0 or higher
7
+ - Node.js 24.0.0 or higher
8
8
  - TypeScript 5.9.0 or higher
9
9
  - npm
10
10
 
package/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Nvisy Software
3
+ Copyright (c) 2025 Nvisy.com
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- import { $n as SyncStatus, $t as ReplyInvite, Aa as ActivityExportOptions, An as RedactionResultPage, Ar as Audit, At as NotificationPage, Bn as ConnectionVerification, Cn as DetectionPage, Dn as RedactDetection, En as PipelineDetectionsQuery, Ft as UnreadStatus, Ga as Account$1, Gt as InviteCode, Hn as CreateConnection, Ht as CreateInvite, It as UpdateNotificationSettings, Jn as SyncConnection, Jt as InvitePreview, Ln as ConnectionPage, Lt as ListMembers, M as CreatePolicy, Ma as ActivityPage, Mt as NotificationSettings, Oa as WorkspaceAnalytics, Pn as Connection, Pt as UnreadCountEvent, Qi as ArtifactSet, Qt as ListInvites, Rn as ConnectionSync, Rt as Member, Tn as DetectionStatusEvent, Tt as MarkedReadStatus, Ut as GenerateInviteCode, Vt as UpdateMember, X as Policy, Xa as UpdateAccount, Ya as PublicAccount, Yt as InviteSent, Za as paths, _a as DetectionTimeSeries, _t as PipelineSummaryPage, an as DeletedFiles, ar as ChatSessionPage, bn as Detection, bt as CursorPagination, c as WorkspacePage, ca as ApiTokenPage, cr as SendChatMessage, d as CreateWebhook, da as CreateApiToken, dn as ListFiles, dt as CreatePipeline, f as TestWebhook, fr as AuthToken, ft as Pipeline, gn as ExportQuery, h as WebhookCreated, ht as PipelineStatus, ir as ChatSession, ja as ActivityFilterQuery, jn as WorkspaceDetectionsQuery, kn as RedactionResult, ln as FilePage, lr as LabelCatalog, lt as UpdatePolicy, m as Webhook, mn as DateWindow, mr as Signup, nn as Health, nr as ChatMessage, o as UpdateWorkspace, on as File, or as ChatToken, p as UpdateWebhook, pa as UpdateApiToken, pn as UpdateFile, pr as Login, qt as InvitePage, s as Workspace, sa as ApiToken, sr as CreateChatSession, t as CreateWorkspace, tr as UpdateConnection, tt as PolicySummaryPage, ua as ApiTokenWithJWT, ur as RecognizerCatalog, v as WebhookPage, y as WebhookResult, yn as CreateDetection, yt as UpdatePipeline, zn as ConnectionSyncPage, zt as MemberPage } from "./index-DiwyTpoq.js";
1
+ import { $n as StartFileServiceOAuth, $t as ReplyInvite, An as RedactionResultPage, At as NotificationPage, Ba as ActivityFilterQuery, Bn as ConnectionVerification, Cn as DetectionPage, Cr as Signup, Dn as RedactDetection, Ea as DetectionTimeSeries, En as PipelineDetectionsQuery, Ft as UnreadStatus, Gt as InviteCode, Hn as CreateConnection, Ht as CreateInvite, It as UpdateNotificationSettings, Jn as OAuthStartResponse, Jt as InvitePreview, Kn as ImportFiles, La as WorkspaceAnalytics, Ln as ConnectionPage, Lt as ListMembers, M as CreatePolicy, Mt as NotificationSettings, Pn as Connection, Pt as UnreadCountEvent, Qt as ListInvites, Rn as ConnectionSync, Rt as Member, Sa as UpdateApiToken, Sr as Login, Tn as DetectionStatusEvent, Tt as MarkedReadStatus, Un as ExportFiles, Ut as GenerateInviteCode, Va as ActivityPage, Vt as UpdateMember, X as Policy, Yt as InviteSent, Zn as Provider, _a as ApiTokenPage, _t as PipelineSummaryPage, an as DeletedFiles, ao as UpdateAccount, ar as SyncStatus, ba as CreateApiToken, bn as Detection, bt as CursorPagination, c as WorkspacePage, cr as UpdateConnection, d as CreateWebhook, dn as ListFiles, dr as ChatSession, dt as CreatePipeline, eo as Account$1, f as TestWebhook, fr as ChatSessionPage, ft as Pipeline, ga as ApiToken, gn as ExportQuery, gr as ConnectorCatalog, h as WebhookCreated, hr as SendChatMessage, ht as PipelineStatus, io as PublicAccount, jn as WorkspaceDetectionsQuery, kn as RedactionResult, ln as FilePage, lr as ChatMessage, lt as UpdatePolicy, m as Webhook, mn as DateWindow, mr as CreateChatSession, nn as Health, o as UpdateWorkspace, on as File, oo as paths, p as UpdateWebhook, pn as UpdateFile, pr as ChatToken, qt as InvitePage, s as Workspace, sa as ArtifactSet, t as CreateWorkspace, tt as PolicySummaryPage, v as WebhookPage, vr as LabelCatalog, xr as AuthToken, y as WebhookResult, ya as ApiTokenWithJWT, yn as CreateDetection, yr as RecognizerCatalog, yt as UpdatePipeline, za as ActivityExportOptions, zn as ConnectionSyncPage, zr as Audit, zt as MemberPage } from "./index-kr36ZsdV.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
@@ -194,6 +194,17 @@ declare class Catalog {
194
194
  * @returns Promise that resolves with the recognizer catalog.
195
195
  */
196
196
  listRecognizers(): Promise<RecognizerCatalog>;
197
+ /**
198
+ * List which connector families and providers this deployment can create.
199
+ *
200
+ * An OAuth file-service provider is offered only when its app is configured
201
+ * on the server; object-store and inference connections carry their own
202
+ * credentials and are always available. Use it to render the connect UI
203
+ * without probing.
204
+ *
205
+ * @returns Promise that resolves with the connector catalog.
206
+ */
207
+ listConnectors(): Promise<ConnectorCatalog>;
197
208
  }
198
209
  //#endregion
199
210
  //#region src/services/chat.d.ts
@@ -324,6 +335,48 @@ declare class Connections {
324
335
  * @throws {ApiError} if the request fails
325
336
  */
326
337
  verifyConnection(workspaceSlug: string, connectionId: string): Promise<ConnectionVerification>;
338
+ /**
339
+ * Start the OAuth flow to connect a file-service provider.
340
+ *
341
+ * Returns an `authorizeUrl` to send the user to; on their consent the
342
+ * provider redirects back and the connection is created. Navigate the
343
+ * browser to the URL (a full-page redirect, not a fetch) to continue.
344
+ *
345
+ * @param workspaceSlug - Workspace slug
346
+ * @param provider - The file-service provider to connect
347
+ * @param request - Display name for the connection and optional sync root
348
+ * @returns Promise that resolves with the provider authorize URL
349
+ * @throws {ApiError} if the request fails
350
+ */
351
+ startFileServiceOAuth(workspaceSlug: string, provider: Provider, request: StartFileServiceOAuth): Promise<OAuthStartResponse>;
352
+ /**
353
+ * Import picker-selected files from a file-service connection.
354
+ *
355
+ * Takes the files the user chose in the provider's picker (id + name each);
356
+ * already-imported files are skipped. Returns the created sync — poll it for
357
+ * completion.
358
+ *
359
+ * @param workspaceSlug - Workspace slug
360
+ * @param connectionId - Connection ID
361
+ * @param request - The picker-selected files to import
362
+ * @returns Promise that resolves with the created connection sync
363
+ * @throws {ApiError} if the request fails
364
+ */
365
+ importFiles(workspaceSlug: string, connectionId: string, request: ImportFiles): Promise<ConnectionSync>;
366
+ /**
367
+ * Export workspace files to a file-service connection.
368
+ *
369
+ * Each file's redacted output is written to the connection as a new provider
370
+ * file, never overwriting the source. Returns the created sync — poll it for
371
+ * completion.
372
+ *
373
+ * @param workspaceSlug - Workspace slug
374
+ * @param connectionId - Connection ID
375
+ * @param request - The workspace file ids to export
376
+ * @returns Promise that resolves with the created connection sync
377
+ * @throws {ApiError} if the request fails
378
+ */
379
+ exportFiles(workspaceSlug: string, connectionId: string, request: ExportFiles): Promise<ConnectionSync>;
327
380
  }
328
381
  //#endregion
329
382
  //#region src/services/detections.d.ts
@@ -851,14 +904,19 @@ declare class Syncs {
851
904
  status?: SyncStatus;
852
905
  }): Promise<ConnectionSyncPage>;
853
906
  /**
854
- * Start a sync for a connection
907
+ * Start a sync for an object-store connection.
908
+ *
909
+ * Runs the connection's configured direction — imports every new object, or
910
+ * exports every redacted output not yet exported. File-service connections
911
+ * use {@link Connections.importFiles} and {@link Connections.exportFiles}
912
+ * instead. Returns the created sync — poll it for completion.
913
+ *
855
914
  * @param workspaceSlug - Workspace slug
856
915
  * @param connectionId - Connection ID
857
- * @param sync - Sync request
858
916
  * @returns Promise that resolves with the started connection sync
859
917
  * @throws {ApiError} if the request fails
860
918
  */
861
- startSync(workspaceSlug: string, connectionId: string, sync: SyncConnection): Promise<ConnectionSync>;
919
+ startSync(workspaceSlug: string, connectionId: string): Promise<ConnectionSync>;
862
920
  /**
863
921
  * List syncs for a connection
864
922
  * @param workspaceSlug - Workspace slug
@@ -1177,4 +1235,4 @@ declare class Nvisy {
1177
1235
  }
1178
1236
  //#endregion
1179
1237
  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 };
1180
- //# sourceMappingURL=client-Du3O1Zab.d.ts.map
1238
+ //# sourceMappingURL=client-BSm-th0-.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-BSm-th0-.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;;;;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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 Layout, $n as SyncStatus, $r as ImageEntity, $t as ReplyInvite, A as Color, Aa as ActivityExportOptions, Ai as TabularLocation, An as RedactionResultPage, Ar as Audit, At as NotificationPage, B as Label, Ba as PipelineActivityParams, Bi as TextCoord, Bn as ConnectionVerification, Br as Deduplication, Bt as MemberSortField, C as Language, Ca as StorageKindEntry, Ci as TabularAdd, Cn as DetectionPage, Cr as AudioHint, Ct as DetectionCompletedParams, D as ScopeMetadata, Da as UsageReport, Di as TabularEdit, Dn as RedactDetection, Dr as AudioPattern, Dt as MemberJoinedParams, E as Languages, Ea as UsageAnalytics, Ei as TabularAuditLog, En as PipelineDetectionsQuery, Er as AudioModel, Et as MemberInvitedParams, F as GdprArticle9Treatment, Fa as ConnectionActivityParams, Fi as TabularRetag, Fn as ConnectionConfig, Fr as CitedAttribution, Ft as UnreadStatus, G as LanguageTag, Ga as Account, Gi as TextLocation, Gn as OpenAiCredentials, Gr as EntityCoRef, Gt as InviteCode, H as LabelLocale, Ha as RedactionActivityParams, Hi as TextEdit, Hn as CreateConnection, Hr as DocumentContext, Ht as CreateInvite, I as GdprSensitiveScope, Ia as DetectionActivityParams, Ii as TextAdd, In as ConnectionId, Ir as CodecParams, It as UpdateNotificationSettings, J as PciDssPart, Ja as PasswordChange, Ji as TextPattern, Jn as SyncConnection, Jr as ImageAuditEvent, Jt as InvitePreview, K as LocalizedText, Ka as AccountRef, Ki as TextManual, Kn as S3Credentials, Kr as FreeformAttribution, Kt as InviteExpiration, L as HipaaAccountNumbers, La as FileActivityParams, Li as TextAuditEvent, Ln as ConnectionPage, Lr as Conflict, Lt as ListMembers, M as CreatePolicy, Ma as ActivityPage, Mi as TabularModel, Mn as AnthropicCredentials, Mr as BoundingBox, Mt as NotificationSettings, N as DateGranularity, Na as ActivityPayload, Ni as TabularPattern, Nn as AzureCredentials, Nr as Calibration, Nt as RedactionCreatedParams, O as AudioRedaction, Oa as WorkspaceAnalytics, Oi as TabularEntity, On as RedactionId, Or as AudioRefinement, Ot as Notification, P as DateStyle, Pa as ActivityType, Pi as TabularRefinement, Pn as Connection, Pr as Category, Pt as UnreadCountEvent, Q as PolicyDraft, Qi as ArtifactSet, Qn as SyncScheduleInput, Qr as ImageEdit, Qt as ListInvites, R as HipaaDeidMethod, Ra as InviteActivityParams, Ri as TextAuditKind, Rn as ConnectionSync, Rr as Contested, Rt as Member, S as CountryCode, Sa as StorageAnalytics, Si as Suppress, Sn as DetectionMetadata, Sr as AudioEntity, St as ConnectionSyncFailedParams, T as LanguageSpan, Ta as Usage, Ti as TabularAuditKind, Tn as DetectionStatusEvent, Tr as AudioManual, Tt as MarkedReadStatus, U as LabelRef, Ua as WebhookActivityParams, Ui as TextEntity, Un as GcsCredentials, Ur as Dpi, Ut as GenerateInviteCode, V as LabelEntry, Va as PolicyActivityParams, Vi as TextData, Vn as ConnectionsQuery, Vr as Dimensions, Vt as UpdateMember, W as LabelScope, Wa as WorkspaceActivityParams, Wi as TextHint, Wn as LlmConfig, Wr as EditSet, Wt as Invite, X as Policy, Xa as UpdateAccount, Xi as TextRetag, Xn as SyncMode, Xr as ImageAuditLog, Xt as InviteSortField, Y as PciPanRender, Ya as PublicAccount, Yi as TextRefinement, Yn as SyncDeletionPolicy, Yr as ImageAuditKind, Yt as InviteSent, Z as PolicyDefinition, Zi as TimeSpan, Zn as SyncSchedule, Zr as ImageData, Zt as InviteStatus, _ as WebhookId, _a as DetectionTimeSeries, _i as Report, _n as ErrorResponse, _r as AudioAuditEvent, _t as PipelineSummaryPage, a as RetentionSettings, aa as TranscriptWord, ai as ImageRefinement, an as DeletedFiles, ar as ChatSessionPage, at as TabularRedaction, b as WebhookStatus, ba as ProviderType, bi as SourceRef, bn as Detection, br as AudioData, bt as CursorPagination, c as WorkspacePage, ca as ApiTokenPage, ci as ManualIntent, cn as FileKind, cr as SendChatMessage, ct as TextRedaction, d as CreateWebhook, da as CreateApiToken, di as PatternEvent, dn as ListFiles, dr as RegisteredRecognizer, dt as CreatePipeline, ea as LayoutBlock, ei as ImageHint, en as SortOrder, er as SyncTriggerType, et as PolicySummary, f as TestWebhook, fa as TokenExpiration, fi as Point, fn as ModalityToken, fr as AuthToken, ft as Pipeline, g as WebhookEvent, ga as DetectionStatusEntry, gi as Redaction, gn as ExportQuery, gr as AudioAdd, gt as PipelineSummary, h as WebhookCreated, ha as DetectionDayEntry, hi as RasterMode, hn as ExportFormat, hr as Attribution, ht as PipelineStatus, i as RetentionOverride, ia as TranscriptSegment, ii as ImagePattern, in as DeleteFiles, ir as ChatSession, it as Sha2Algorithm, j as ConfidenceThreshold, ja as ActivityFilterQuery, ji as TabularManual, jn as WorkspaceDetectionsQuery, jr as AuditHash, jt as NotificationPayload, k as ClampBucket, ka as Activity, ki as TabularHint, kn as RedactionResult, kr as AudioRetag, kt as NotificationEvent, l as WorkspaceRole, la as ApiTokenType, li as ModelEvent, ln as FilePage, lr as LabelCatalog, lt as UpdatePolicy, m as Webhook, ma as DetectionAnalytics, mi as RangeOfUint, mn as DateWindow, mr as Signup, mt as PipelineFilter, n as RasterPolicy, na as Token, ni as ImageManual, nn as Health, nr as ChatMessage, nt as PolicyTemplate, o as UpdateWorkspace, oa as Transcription, oi as ImageRetag, on as File, or as ChatToken, ot as TemplateOrigin, p as UpdateWebhook, pa as UpdateApiToken, pi as Polygon, pn as UpdateFile, pr as Login, pt as PipelineDefinition, q as ModalityRedactions, qa as Handle, qi as TextModel, qn as StorageConfig, qr as ImageAdd, qt as InvitePage, r as Retention, ra as Tokens, ri as ImageModel, rn as HealthStatus, rr as ChatRole, rt as Predicate, s as Workspace, sa as ApiToken, si as LeakProfile, sn as FileHash, sr as CreateChatSession, st as TerminalFallback, t as CreateWorkspace, ta as LayoutWord, ti as ImageLocation, tn as ComponentHealth, tr as UpdateConnection, tt as PolicySummaryPage, u as WorkspaceSettings, ua as ApiTokenWithJWT, ui as OperatorId, un as FormatToken, ur as RecognizerCatalog, ut as Waveform, v as WebhookPage, va as ModelUsage, vi as RuleMatch, vn as ValidationErrorDetail, vr as AudioAuditKind, vt as PipelineTriggerType, w as LanguageProvenance, wa as TokenCounts, wi as TabularAuditEvent, wn as DetectionStatus, wr as AudioLocation, wt as DetectionFailedParams, x as Confidence, xa as RecognizerId, xi as SourceSpan, xn as DetectionId, xr as AudioEdit, xt as ConnectionSyncCompletedParams, y as WebhookResult, ya as ModelUsageEntry, yi as Selection, yn as CreateDetection, yr as AudioAuditLog, yt as UpdatePipeline, z as ImageRedaction, za as MemberActivityParams, zi as TextAuditLog, zn as ConnectionSyncPage, zr as DecodedSpan, zt as MemberPage } from "../index-DiwyTpoq.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, DecodedSpan, 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, SourceSpan, 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, TextCoord, 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 };
1
+ import { $ as PolicyRule, $a as WorkspaceActivityParams, $i as TextHint, $n as StartFileServiceOAuth, $r as EditSet, $t as ReplyInvite, A as Color, Aa as RecognizerId, Ai as SourceSpan, An as RedactionResultPage, Ar as AudioEdit, At as NotificationPage, B as Label, Ba as ActivityFilterQuery, Bi as TabularManual, Bn as ConnectionVerification, Br as AuditHash, Bt as MemberSortField, C as Language, Ca as DetectionAnalytics, Ci as RangeOfUint, Cn as DetectionPage, Cr as Signup, Ct as DetectionCompletedParams, D as ScopeMetadata, Da as ModelUsage, Di as RuleMatch, Dn as RedactDetection, Dr as AudioAuditKind, Dt as MemberJoinedParams, E as Languages, Ea as DetectionTimeSeries, Ei as Report, En as PipelineDetectionsQuery, Er as AudioAuditEvent, Et as MemberInvitedParams, F as GdprArticle9Treatment, Fa as UsageAnalytics, Fi as TabularAuditLog, Fn as ConnectionConfig, Fr as AudioModel, Ft as UnreadStatus, G as LanguageTag, Ga as DetectionActivityParams, Gi as TextAdd, Gn as GcsCredentials, Gr as CodecParams, Gt as InviteCode, H as LabelLocale, Ha as ActivityPayload, Hi as TabularPattern, Hn as CreateConnection, Hr as Calibration, Ht as CreateInvite, I as GdprSensitiveScope, Ia as UsageReport, Ii as TabularEdit, In as ConnectionId, Ir as AudioPattern, It as UpdateNotificationSettings, J as PciDssPart, Ja as MemberActivityParams, Ji as TextAuditLog, Jn as OAuthStartResponse, Jr as DecodedSpan, Jt as InvitePreview, K as LocalizedText, Ka as FileActivityParams, Ki as TextAuditEvent, Kn as ImportFiles, Kr as Conflict, Kt as InviteExpiration, L as HipaaAccountNumbers, La as WorkspaceAnalytics, Li as TabularEntity, Ln as ConnectionPage, Lr as AudioRefinement, Lt as ListMembers, M as CreatePolicy, Ma as StorageKindEntry, Mi as TabularAdd, Mn as AuthenticatedProvider, Mr as AudioHint, Mt as NotificationSettings, N as DateGranularity, Na as TokenCounts, Ni as TabularAuditEvent, Nn as AzureCredentials, Nr as AudioLocation, Nt as RedactionCreatedParams, O as AudioRedaction, Oa as ModelUsageEntry, Oi as Selection, On as RedactionId, Or as AudioAuditLog, Ot as Notification, P as DateStyle, Pa as Usage, Pi as TabularAuditKind, Pn as Connection, Pr as AudioManual, Pt as UnreadCountEvent, Q as PolicyDraft, Qa as WebhookActivityParams, Qi as TextEntity, Qn as S3Credentials, Qr as Dpi, Qt as ListInvites, R as HipaaDeidMethod, Ra as Activity, Ri as TabularHint, Rn as ConnectionSync, Rr as AudioRetag, Rt as Member, S as CountryCode, Sa as UpdateApiToken, Si as Polygon, Sn as DetectionMetadata, Sr as Login, St as ConnectionSyncFailedParams, T as LanguageSpan, Ta as DetectionStatusEntry, Ti as Redaction, Tn as DetectionStatusEvent, Tr as AudioAdd, Tt as MarkedReadStatus, U as LabelRef, Ua as ActivityType, Ui as TabularRefinement, Un as ExportFiles, Ur as Category, Ut as GenerateInviteCode, V as LabelEntry, Va as ActivityPage, Vi as TabularModel, Vn as ConnectionsQuery, Vr as BoundingBox, Vt as UpdateMember, W as LabelScope, Wa as ConnectionActivityParams, Wi as TabularRetag, Wn as FileServiceConfig, Wr as CitedAttribution, Wt as Invite, X as Policy, Xa as PolicyActivityParams, Xi as TextData, Xn as PickedFile, Xr as Dimensions, Xt as InviteSortField, Y as PciPanRender, Ya as PipelineActivityParams, Yi as TextCoord, Yn as OAuthTokens, Yr as Deduplication, Yt as InviteSent, Z as PolicyDefinition, Za as RedactionActivityParams, Zi as TextEdit, Zn as Provider, Zr as DocumentContext, Zt as InviteStatus, _ as WebhookId, _a as ApiTokenPage, _i as ManualIntent, _n as ErrorResponse, _r as FileProviders, _t as PipelineSummaryPage, a as RetentionSettings, aa as TextRetag, ai as ImageAuditLog, an as DeletedFiles, ao as UpdateAccount, ar as SyncStatus, at as TabularRedaction, b as WebhookStatus, ba as CreateApiToken, bi as PatternEvent, bn as Detection, br as RegisteredRecognizer, bt as CursorPagination, c as WorkspacePage, ca as Layout, ci as ImageEntity, cn as FileKind, cr as UpdateConnection, ct as TextRedaction, d as CreateWebhook, da as Token, di as ImageManual, dn as ListFiles, dr as ChatSession, dt as CreatePipeline, ea as TextLocation, ei as EntityCoRef, en as SortOrder, eo as Account, er as StorageConfig, et as PolicySummary, f as TestWebhook, fa as Tokens, fi as ImageModel, fn as ModalityToken, fr as ChatSessionPage, ft as Pipeline, g as WebhookEvent, ga as ApiToken, gi as LeakProfile, gn as ExportQuery, gr as ConnectorCatalog, gt as PipelineSummary, h as WebhookCreated, ha as Transcription, hi as ImageRetag, hn as ExportFormat, hr as SendChatMessage, ht as PipelineStatus, i as RetentionOverride, ia as TextRefinement, ii as ImageAuditKind, in as DeleteFiles, io as PublicAccount, ir as SyncScheduleInput, it as Sha2Algorithm, j as ConfidenceThreshold, ja as StorageAnalytics, ji as Suppress, jn as WorkspaceDetectionsQuery, jr as AudioEntity, jt as NotificationPayload, k as ClampBucket, ka as ProviderType, ki as SourceRef, kn as RedactionResult, kr as AudioData, kt as NotificationEvent, l as WorkspaceRole, la as LayoutBlock, li as ImageHint, ln as FilePage, lr as ChatMessage, lt as UpdatePolicy, m as Webhook, ma as TranscriptWord, mi as ImageRefinement, mn as DateWindow, mr as CreateChatSession, mt as PipelineFilter, n as RasterPolicy, na as TextModel, ni as ImageAdd, nn as Health, no as Handle, nr as SyncMode, nt as PolicyTemplate, o as UpdateWorkspace, oa as TimeSpan, oi as ImageData, on as File, or as SyncTriggerType, ot as TemplateOrigin, p as UpdateWebhook, pa as TranscriptSegment, pi as ImagePattern, pn as UpdateFile, pr as ChatToken, pt as PipelineDefinition, q as ModalityRedactions, qa as InviteActivityParams, qi as TextAuditKind, qn as LlmConfig, qr as Contested, qt as InvitePage, r as Retention, ra as TextPattern, ri as ImageAuditEvent, rn as HealthStatus, ro as PasswordChange, rr as SyncSchedule, rt as Predicate, s as Workspace, sa as ArtifactSet, si as ImageEdit, sn as FileHash, sr as UnauthenticatedProvider, st as TerminalFallback, t as CreateWorkspace, ta as TextManual, ti as FreeformAttribution, tn as ComponentHealth, to as AccountRef, tr as SyncDeletionPolicy, tt as PolicySummaryPage, u as WorkspaceSettings, ua as LayoutWord, ui as ImageLocation, un as FormatToken, ur as ChatRole, ut as Waveform, v as WebhookPage, va as ApiTokenType, vi as ModelEvent, vn as ValidationErrorDetail, vr as LabelCatalog, vt as PipelineTriggerType, w as LanguageProvenance, wa as DetectionDayEntry, wi as RasterMode, wn as DetectionStatus, wr as Attribution, wt as DetectionFailedParams, x as Confidence, xa as TokenExpiration, xi as Point, xn as DetectionId, xr as AuthToken, xt as ConnectionSyncCompletedParams, y as WebhookResult, ya as ApiTokenWithJWT, yi as OperatorId, yn as CreateDetection, yr as RecognizerCatalog, yt as UpdatePipeline, z as ImageRedaction, za as ActivityExportOptions, zi as TabularLocation, zn as ConnectionSyncPage, zr as Audit, zt as MemberPage } from "../index-kr36ZsdV.js";
2
+ export type { Account, 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, AuthToken, 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, 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, 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, OperatorId, PasswordChange, PatternEvent, PciDssPart, PciPanRender, PickedFile, 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, 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 };
@@ -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.43.0";
10
+ const VERSION = "0.45.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-CNeCiQVZ.js.map
47
+ //# sourceMappingURL=error-BxPIw06n.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-CNeCiQVZ.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-BxPIw06n.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 { _n as ErrorResponse } from "./index-DiwyTpoq.js";
1
+ import { _n as ErrorResponse } from "./index-kr36ZsdV.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-KIh_I_a6.d.ts.map
127
+ //# sourceMappingURL=errors-B0aVjvsp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors-KIh_I_a6.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-B0aVjvsp.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"}