@nvisy/sdk 0.51.0 → 0.53.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,51 @@ and this project adheres to
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.53.0] - 2026-09-15
12
+
13
+ ### Added
14
+
15
+ - `nvisy.reviews` service for document reviews as a first-class resource:
16
+ `listForDocument`, `createForDocument`, `listReviews`, `getReview`,
17
+ `assignReview`, `verifyReview`, `reopenReview`, `getTimeline`, `linkDetection`,
18
+ and `linkRedaction`, with the review datatypes (`WorkspaceReview`,
19
+ `CreateWorkspaceReview`, `WorkspaceReviewPage`, `WorkspaceReviewEvent`,
20
+ `WorkspaceReviewEventPage`, `WorkspaceReviewsQuery`)
21
+
22
+ ### Changed
23
+
24
+ - Regenerated the API schema against the updated platform handlers
25
+ - **Breaking:** document review moved from the documents service to the new
26
+ reviews service. `documents.assignReview` / `documents.verifyReview` are
27
+ removed; use `reviews.assignReview` / `reviews.verifyReview` (which now act on
28
+ a review id, via `reviews.createForDocument` first). The `AssignWorkspaceReview`
29
+ and `ReviewStatus` datatypes moved from the document datatypes to the review
30
+ datatypes (same names, same import path via the package root)
31
+
32
+ ## [0.52.0] - 2026-09-14
33
+
34
+ ### Added
35
+
36
+ - `status.checkLiveness()` (`GET /health/live`) — a liveness probe that resolves
37
+ when the process is running; returns the raw `Response`
38
+ - `status.checkReadiness()` (`GET /health/ready`) — a readiness probe reporting
39
+ the server and its dependencies (`Health`; 200 healthy/degraded, 503 unhealthy)
40
+
41
+ ### Changed
42
+
43
+ - Regenerated the API schema against the updated platform handlers
44
+ - **Breaking:** endpoint paths no longer have a trailing slash (e.g.
45
+ `/workspaces/{workspaceId}/documents`, `/account`). This is transparent to
46
+ callers using the service methods
47
+ - **Breaking:** `checkHealth()` (both the client `status` service and the
48
+ standalone `checkHealth`) no longer takes a version segment — the health route
49
+ is `/health`. The `version` option on `HealthConfig` is removed
50
+
51
+ ### Removed
52
+
53
+ - **Breaking:** `ErrorResponse` no longer carries `resource`; `NvisyApiError`
54
+ drops its `resource` property accordingly
55
+
11
56
  ## [0.51.0] - 2026-09-13
12
57
 
13
58
  A platform-wide rename and restructure. Nearly every exported type and several
@@ -1109,7 +1154,9 @@ redaction an independent resource. This release renames the SDK to match.
1109
1154
  - Network error handling for timeouts, DNS resolution, and connection issues
1110
1155
  - Configuration validation with detailed error messages
1111
1156
 
1112
- [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.51.0...HEAD
1157
+ [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.53.0...HEAD
1158
+ [0.53.0]: https://github.com/nvisycom/sdk-ts/compare/v0.52.0...v0.53.0
1159
+ [0.52.0]: https://github.com/nvisycom/sdk-ts/compare/v0.51.0...v0.52.0
1113
1160
  [0.51.0]: https://github.com/nvisycom/sdk-ts/compare/v0.50.0...v0.51.0
1114
1161
  [0.50.0]: https://github.com/nvisycom/sdk-ts/compare/v0.49.0...v0.50.0
1115
1162
  [0.49.0]: https://github.com/nvisycom/sdk-ts/compare/v0.48.0...v0.49.0
@@ -1,4 +1,4 @@
1
- import { $ as CreateWorkspacePolicy, $a as UpdateAccountApiToken, $n as WorkspaceDetection, Ao as WorkspaceActivityExportOptions, Ar as WorkspaceConnection, B as CreateWorkspaceProvider, Bo as OidcStartResponse, Br as ConnectorCapabilities, Bt as WorkspacePipeline, C as RenameWorkspaceThread, Cn as WorkspaceInviteCode, D as WorkspaceThread, Dn as Health, E as WorkspaceComment, Er as SyncStatus, Fo as AccountIdentities, Ft as CreateWorkspacePipeline, G as UpdateWorkspaceProvider, Gn as CreateAdhocWorkspaceDetection, Gr as AccountDesktopToken, Gt as AccountMarkedReadStatus, Hn as WorkspaceDeletedDocuments, Ho as SetPassword, Hr as LabelCatalog, Ir as WorkspacePickerToken, J as WorkspaceProvidersQuery, Ja as AccountApiTokenPage, Jr as Signup, Jt as AccountUnreadStatus, K as WorkspaceProvider, Kn as CreateWorkspaceDetection, Kr as DesktopTokenRequest, Lr as WorkspacePickerTokenRequest, Lt as PipelineStatus, M as WorkspaceThreadsQuery, Mo as WorkspaceActivityPage, Mr as WorkspaceConnectionSync, Mt as WorkspacePolicy, Nn as AssignWorkspaceReview, Nr as WorkspaceConnectionSyncPage, Po as Account$1, Pr as WorkspaceConnectionVerification, Pt as WorkspacePolicySummaryPage, Ra as ArtifactSet, Rn as ListWorkspaceDocuments, S as OpenWorkspaceThread, T as UpdateWorkspaceComment, Tn as WorkspaceInviteSent, Un as WorkspaceDocument, Uo as UpdateAccount, Ur as RecognizerCatalog, Ut as WorkspacePipelineSummaryPage, Vn as UpdateWorkspaceDocument, Vo as PublicAccount, Wn as WorkspaceDocumentPage, Wo as paths, Wt as CursorPagination, Xn as DetectionStatusEvent, Ya as AccountApiTokenWithJwt, Za as CreateAccountApiToken, Zn as RedactWorkspaceDetection, _ as WorkspaceWebhook, _n as InvitePreview, _r as OAuthStartResponse, an as UnreadCountEvent, ao as WorkspaceAnalytics, b as WorkspaceWebhookResult, bn as ListWorkspaceInvites, c as WorkspacePage, cn as ListWorkspaceMembers, d as CreateWorkspaceWebhook, di as Audit, dn as WorkspaceMember, dr as ExportWorkspaceFiles, er as WorkspaceDetectionPage, f as TestWorkspaceWebhook, fn as WorkspaceMemberPage, hn as GenerateWorkspaceInviteCode, hr as ImportWorkspaceFiles, ir as WorkspaceRedactionResultPage, j as WorkspaceThreadPage, jn as ExportQuery, jo as WorkspaceActivityFilterQuery, jr as WorkspaceConnectionPage, jt as WorkspacePoliciesQuery, k as WorkspaceThreadEntryPage, kn as DateWindow, kr as UpdateWorkspaceConnection, kt as UpdateWorkspacePolicy, lo as WorkspaceDetectionTimeSeries, nr as WorkspacePipelineDetectionsQuery, o as UpdateWorkspace, on as UpdateWorkspaceNotificationSettings, p as UpdateWorkspaceWebhook, pn as CreateWorkspaceInvite, pr as FileServiceProvider, q as WorkspaceProviderPage, qa as AccountApiToken, qr as Login, qt as AccountNotificationPage, rr as WorkspaceRedactionResult, s as Workspace, sn as WorkspaceNotificationSettings, t as CreateWorkspace, tr as WorkspaceDetectionsQuery, un as UpdateWorkspaceMember, ur as CreateWorkspaceConnection, v as WorkspaceWebhookCreated, wn as WorkspaceInvitePage, x as CreateWorkspaceComment, xn as ReplyWorkspaceInvite, xr as StartFileServiceOAuth, y as WorkspaceWebhookPage, zo as IdentityProvider, zr as AuthCapabilities, zt as UpdateWorkspacePipeline } from "./index-BxYFvgTy.js";
1
+ import { $ as UpdateWorkspaceProvider, $a as AccountApiToken, $r as Login, $t as AccountMarkedReadStatus, B as AssignWorkspaceReview, Bo as Account$1, Br as WorkspaceConnectionVerification, Bt as WorkspacePolicy, C as RenameWorkspaceThread, Cn as GenerateWorkspaceInviteCode, Cr as OAuthStartResponse, D as WorkspaceThread, Dr as StartFileServiceOAuth, E as WorkspaceComment, Fn as Health, Fr as UpdateWorkspaceConnection, G as WorkspaceReviewEventPage, Gn as ListWorkspaceDocuments, Go as IdentityProvider, Gr as AuthCapabilities, Gt as PipelineStatus, Hr as WorkspacePickerToken, Ht as WorkspacePolicySummaryPage, Io as WorkspaceActivityExportOptions, Ir as WorkspaceConnection, J as CreateWorkspaceProvider, Jn as WorkspaceDeletedDocuments, Jo as SetPassword, Jr as LabelCatalog, Jt as WorkspacePipeline, K as WorkspaceReviewPage, Ko as OidcStartResponse, Kr as ConnectorCapabilities, Ln as DateWindow, Lo as WorkspaceActivityFilterQuery, Lr as WorkspaceConnectionPage, Lt as UpdateWorkspacePolicy, M as WorkspaceThreadsQuery, Mn as WorkspaceInvitePage, Mr as SyncStatus, Nn as WorkspaceInviteSent, On as ListWorkspaceInvites, Qn as CreateWorkspaceDetection, Qr as DesktopTokenRequest, Qt as CursorPagination, Ro as WorkspaceActivityPage, Rr as WorkspaceConnectionSync, S as OpenWorkspaceThread, T as UpdateWorkspaceComment, Tn as InvitePreview, U as WorkspaceReview, Ur as WorkspacePickerTokenRequest, Ut as CreateWorkspacePipeline, V as CreateWorkspaceReview, Vo as AccountIdentities, Wa as ArtifactSet, Xn as WorkspaceDocumentPage, Xo as paths, Yn as WorkspaceDocument, Yo as UpdateAccount, Yr as RecognizerCatalog, Zn as CreateAdhocWorkspaceDetection, Zr as AccountDesktopToken, Zt as WorkspacePipelineSummaryPage, _ as WorkspaceWebhook, _i as Audit, _r as ExportWorkspaceFiles, ao as UpdateAccountApiToken, ar as WorkspaceDetection, b as WorkspaceWebhookResult, bn as WorkspaceMemberPage, c as WorkspacePage, cr as WorkspacePipelineDetectionsQuery, d as CreateWorkspaceWebhook, do as WorkspaceAnalytics, ei as Signup, eo as AccountApiTokenPage, et as WorkspaceProvider, f as TestWorkspaceWebhook, gn as ListWorkspaceMembers, gr as CreateWorkspaceConnection, hn as WorkspaceNotificationSettings, ho as WorkspaceDetectionTimeSeries, j as WorkspaceThreadPage, jn as WorkspaceInviteCode, k as WorkspaceThreadEntryPage, kn as ReplyWorkspaceInvite, lr as WorkspaceRedactionResult, mn as UpdateWorkspaceNotificationSettings, nn as AccountUnreadStatus, nr as DetectionStatusEvent, nt as WorkspaceProvidersQuery, o as UpdateWorkspace, or as WorkspaceDetectionPage, p as UpdateWorkspaceWebhook, pn as UnreadCountEvent, q as WorkspaceReviewsQuery, qn as UpdateWorkspaceDocument, qo as PublicAccount, qt as UpdateWorkspacePipeline, ro as CreateAccountApiToken, rr as RedactWorkspaceDetection, s as Workspace, sr as WorkspaceDetectionsQuery, st as CreateWorkspacePolicy, t as CreateWorkspace, tn as AccountNotificationPage, to as AccountApiTokenWithJwt, tt as WorkspaceProviderPage, ur as WorkspaceRedactionResultPage, v as WorkspaceWebhookCreated, vn as UpdateWorkspaceMember, x as CreateWorkspaceComment, xn as CreateWorkspaceInvite, xr as ImportWorkspaceFiles, y as WorkspaceWebhookPage, yn as WorkspaceMember, yr as FileServiceProvider, zn as ExportQuery, zr as WorkspaceConnectionSyncPage, zt as WorkspacePoliciesQuery } from "./index-rc5Y8RNG.js";
2
2
  import { t as ClientConfig } from "./config-BdAgnJlh.js";
3
3
  import { Client } from "openapi-fetch";
4
4
  //#region src/services/account.d.ts
@@ -572,7 +572,7 @@ declare class Detections {
572
572
  //#endregion
573
573
  //#region src/services/documents.d.ts
574
574
  /**
575
- * Service for handling document operations, including review assignment.
575
+ * Service for handling document operations.
576
576
  */
577
577
  declare class Documents {
578
578
  #private;
@@ -640,23 +640,6 @@ declare class Documents {
640
640
  * @throws {ApiError} if the request fails
641
641
  */
642
642
  deleteDocuments(workspaceId: string, documentIds: string[]): Promise<WorkspaceDeletedDocuments>;
643
- /**
644
- * Assign a document for review, opening a review thread.
645
- * @param workspaceId - Workspace id
646
- * @param documentId - Document ID
647
- * @param assignment - Review assignment request
648
- * @returns Promise that resolves with the review thread
649
- * @throws {ApiError} if the request fails
650
- */
651
- assignReview(workspaceId: string, documentId: string, assignment: AssignWorkspaceReview): Promise<WorkspaceThread>;
652
- /**
653
- * Mark a document's review as verified (resolved).
654
- * @param workspaceId - Workspace id
655
- * @param documentId - Document ID
656
- * @returns Promise that resolves with the review thread
657
- * @throws {ApiError} if the request fails
658
- */
659
- verifyReview(workspaceId: string, documentId: string): Promise<WorkspaceThread>;
660
643
  }
661
644
  //#endregion
662
645
  //#region src/services/invites.d.ts
@@ -1012,6 +995,102 @@ declare class Redactions {
1012
995
  getReview(workspaceId: string, redactionId: string): Promise<Audit>;
1013
996
  }
1014
997
  //#endregion
998
+ //#region src/services/reviews.d.ts
999
+ /**
1000
+ * Service for document reviews: assigning a document to a reviewer and tracking
1001
+ * the review through its lifecycle, with a timeline of events.
1002
+ */
1003
+ declare class Reviews {
1004
+ #private;
1005
+ constructor(api: ApiClient);
1006
+ /**
1007
+ * List the reviews on a document, most recent first.
1008
+ * @param workspaceId - Workspace id
1009
+ * @param documentId - Document ID
1010
+ * @returns Promise that resolves with the document's reviews
1011
+ * @throws {ApiError} if the request fails
1012
+ */
1013
+ listForDocument(workspaceId: string, documentId: string): Promise<WorkspaceReview[]>;
1014
+ /**
1015
+ * Open a review on a document.
1016
+ * @param workspaceId - Workspace id
1017
+ * @param documentId - Document ID
1018
+ * @param review - Review creation request
1019
+ * @returns Promise that resolves with the created review
1020
+ * @throws {ApiError} if the request fails
1021
+ */
1022
+ createForDocument(workspaceId: string, documentId: string, review: CreateWorkspaceReview): Promise<WorkspaceReview>;
1023
+ /**
1024
+ * List a workspace's reviews.
1025
+ * @param workspaceId - Workspace id
1026
+ * @param query - Optional pagination and filters (assignee, documentId,
1027
+ * reviewStatus, limit, after)
1028
+ * @returns Promise that resolves with a paginated list of reviews
1029
+ * @throws {ApiError} if the request fails
1030
+ */
1031
+ listReviews(workspaceId: string, query?: CursorPagination & WorkspaceReviewsQuery): Promise<WorkspaceReviewPage>;
1032
+ /**
1033
+ * Get review details by ID.
1034
+ * @param workspaceId - Workspace id
1035
+ * @param reviewId - Review ID
1036
+ * @returns Promise that resolves with the review details
1037
+ * @throws {ApiError} if the request fails
1038
+ */
1039
+ getReview(workspaceId: string, reviewId: string): Promise<WorkspaceReview>;
1040
+ /**
1041
+ * Assign (or reassign) a review to a reviewer.
1042
+ * @param workspaceId - Workspace id
1043
+ * @param reviewId - Review ID
1044
+ * @param assignment - Review assignment request (assignee)
1045
+ * @returns Promise that resolves with the updated review
1046
+ * @throws {ApiError} if the request fails
1047
+ */
1048
+ assignReview(workspaceId: string, reviewId: string, assignment: AssignWorkspaceReview): Promise<WorkspaceReview>;
1049
+ /**
1050
+ * Verify (resolve) a review.
1051
+ * @param workspaceId - Workspace id
1052
+ * @param reviewId - Review ID
1053
+ * @returns Promise that resolves with the updated review
1054
+ * @throws {ApiError} if the request fails
1055
+ */
1056
+ verifyReview(workspaceId: string, reviewId: string): Promise<WorkspaceReview>;
1057
+ /**
1058
+ * Reopen a resolved review.
1059
+ * @param workspaceId - Workspace id
1060
+ * @param reviewId - Review ID
1061
+ * @returns Promise that resolves with the updated review
1062
+ * @throws {ApiError} if the request fails
1063
+ */
1064
+ reopenReview(workspaceId: string, reviewId: string): Promise<WorkspaceReview>;
1065
+ /**
1066
+ * Get a review's timeline: the events in its life.
1067
+ * @param workspaceId - Workspace id
1068
+ * @param reviewId - Review ID
1069
+ * @param query - Optional pagination (limit, after)
1070
+ * @returns Promise that resolves with a paginated list of review events
1071
+ * @throws {ApiError} if the request fails
1072
+ */
1073
+ getTimeline(workspaceId: string, reviewId: string, query?: CursorPagination): Promise<WorkspaceReviewEventPage>;
1074
+ /**
1075
+ * Link a detection to a review (idempotent).
1076
+ * @param workspaceId - Workspace id
1077
+ * @param reviewId - Review ID
1078
+ * @param detectionId - Detection ID
1079
+ * @returns Promise that resolves with the updated review
1080
+ * @throws {ApiError} if the request fails
1081
+ */
1082
+ linkDetection(workspaceId: string, reviewId: string, detectionId: string): Promise<WorkspaceReview>;
1083
+ /**
1084
+ * Link a redaction to a review (idempotent).
1085
+ * @param workspaceId - Workspace id
1086
+ * @param reviewId - Review ID
1087
+ * @param redactionId - Redaction ID
1088
+ * @returns Promise that resolves with the updated review
1089
+ * @throws {ApiError} if the request fails
1090
+ */
1091
+ linkRedaction(workspaceId: string, reviewId: string, redactionId: string): Promise<WorkspaceReview>;
1092
+ }
1093
+ //#endregion
1015
1094
  //#region src/services/status.d.ts
1016
1095
  /**
1017
1096
  * Service for handling status and health check operations
@@ -1020,10 +1099,32 @@ declare class Status {
1020
1099
  #private;
1021
1100
  constructor(api: ApiClient);
1022
1101
  /**
1023
- * Check the health status of the API
1102
+ * Check the health status of the API.
1103
+ *
1104
+ * Reports the server's health and that of its dependencies. Returns `Health`
1105
+ * for both the healthy/degraded (200) and unhealthy (503) cases.
1106
+ *
1024
1107
  * @returns Promise that resolves with the API health status
1025
1108
  */
1026
1109
  checkHealth(): Promise<Health>;
1110
+ /**
1111
+ * Liveness probe: resolves if the process is running. Probes no dependencies.
1112
+ *
1113
+ * Returns the raw `Response` (the endpoint has no body); a non-2xx status
1114
+ * throws via the error middleware.
1115
+ *
1116
+ * @returns Promise that resolves with the probe response
1117
+ * @throws {ApiError} if the process is not live
1118
+ */
1119
+ checkLiveness(): Promise<Response>;
1120
+ /**
1121
+ * Readiness probe: reports the server's health and that of its dependencies,
1122
+ * served from a short-lived cache. Returns `Health` for both the
1123
+ * healthy/degraded (200) and unhealthy (503) cases. Safe to poll frequently.
1124
+ *
1125
+ * @returns Promise that resolves with the API health status
1126
+ */
1127
+ checkReadiness(): Promise<Health>;
1027
1128
  }
1028
1129
  //#endregion
1029
1130
  //#region src/services/syncs.d.ts
@@ -1465,6 +1566,10 @@ declare class Nvisy {
1465
1566
  * Service for workspace redactions.
1466
1567
  */
1467
1568
  get redactions(): Redactions;
1569
+ /**
1570
+ * Service for document reviews (assigning documents to reviewers).
1571
+ */
1572
+ get reviews(): Reviews;
1468
1573
  /**
1469
1574
  * Service for managing connection syncs.
1470
1575
  */
@@ -1479,5 +1584,5 @@ declare class Nvisy {
1479
1584
  get workspaces(): Workspaces;
1480
1585
  }
1481
1586
  //#endregion
1482
- export { Account as C, Activities as S, Connections as _, Threads as a, ApiTokens as b, Redactions as c, Pipelines as d, Notifications as f, Detections as g, Documents as h, Webhooks as i, Providers as l, Invites as m, Nvisy as n, Syncs as o, Members as p, Workspaces as r, Status as s, ApiClient as t, Policies as u, Capabilities as v, Analytics as x, Auth as y };
1483
- //# sourceMappingURL=client-SotZfT6b.d.ts.map
1587
+ export { Activities as C, Analytics as S, Detections as _, Threads as a, Auth as b, Reviews as c, Policies as d, Pipelines as f, Documents as g, Invites as h, Webhooks as i, Redactions as l, Members as m, Nvisy as n, Syncs as o, Notifications as p, Workspaces as r, Status as s, ApiClient as t, Providers as u, Connections as v, Account as w, ApiTokens as x, Capabilities as y };
1588
+ //# sourceMappingURL=client-DywPcOzJ.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-DywPcOzJ.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/capabilities.ts","../src/services/connections.ts","../src/services/detections.ts","../src/services/documents.ts","../src/services/invites.ts","../src/services/members.ts","../src/services/notifications.ts","../src/services/pipelines.ts","../src/services/policies.ts","../src/services/providers.ts","../src/services/redactions.ts","../src/services/reviews.ts","../src/services/status.ts","../src/services/syncs.ts","../src/services/threads.ts","../src/services/webhooks.ts","../src/services/workspaces.ts","../src/client.ts"],"mappings":";;;;;;;cAca;;EAGA,YAAA,KAAK;;;;;;EASX,cAAc,QAAQ;;;;;;;EAWtB,cAAc,SAAS,gBAAgB,QAAQ;;;;;;EAY/C,iBAAiB;;;;;;;EAUjB,iBAAiB,oBAAoB,QAAQ;;;;;;;;EAc7C,aAAa,mBAAmB,QAAQ,OAAO,QAAQ;;;;;;;EAsBvD,aAAa,oBAAoB;;;;;;EAWjC,kBAAkB,QAAQ;;;;;;;;;;;;EAgB1B,YAAY,SAAS,cAAc;;;;;;;;;EAYnC,kBAAkB;;;;;;;;;;;;;EAgBlB,aACL,UAAU,kBACV;IAAU;IAAsB;MAC9B,QAAQ;;;;;;;;;;EAgBL,eAAe,UAAU,mBAAmB;;;;;;;;;;;;;EAkB5C,OACL,UAAU,kBACV;IAAU;MACR,QAAQ;;;;;;;cClLC;;EAGA,YAAA,KAAK;;;;;;;;;EAYX,eACL,qBACA,QAAQ,+BAA+B,aAAa,mBAClD,QAAQ;;;;;;;;;EAkBL,iBACL,qBACA,QAAQ,+BACP,aACA,iCACC,QAAQ;;;;;;;cC3CC;;EAGA,YAAA,KAAK;;;;;;;EAUX,aAAa,sBAAsB,QAAQ;;;;;;;;EAiB3C,uBACL,qBACA,QAAQ,aACN,QAAQ;;;;;;;cC9BC;;EAGA,YAAA,KAAK;;;;;;;EAUX,cAAc,QAAQ,mBAAmB,QAAQ;;;;;;;EAajD,YAAY,kBAAkB,QAAQ;;;;;;;EAatC,eACL,OAAO,wBACL,QAAQ;;;;;;;;EAcL,eACL,iBACA,SAAS,wBACP,QAAQ;;;;;;;EAcL,eAAe,kBAAkB;;;;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MAOb,WAAW;;;;MAOX,aAAa;;;;MAOb,YAAY;;;;MAOZ,aAAa;;;;;MAQb,gBAAgB;;;;MAOhB,WAAW;;;;MAOX,WAAW;;;;MAOX,iBAAiB;;;;MAOjB,cAAc;;;;MAOd,cAAc;;;;MAOd,WAAW;;;;MAOX,SAAS;;;;MAOT,YAAY;;;;MAOZ,cAAc"}
@@ -1,2 +1,2 @@
1
- import { $ as CreateWorkspacePolicy, $a as UpdateAccountApiToken, $i as Recognition, $n as WorkspaceDetection, $r as AudioAuditLog, $t as DetectionFailedParams, A as WorkspaceThreadEvent, Aa as TextLocation, Ai as ImageAuditKind, An as ExportFormat, Ao as WorkspaceActivityExportOptions, Ar as WorkspaceConnection, At as Waveform, B as CreateWorkspaceProvider, Ba as LayoutBlock, Bi as ImagePattern, Bn as ReviewStatus, Bo as OidcStartResponse, Br as ConnectorCapabilities, Bt as WorkspacePipeline, C as RenameWorkspaceThread, Ca as TextAuditKind, Ci as DocumentContext, Cn as WorkspaceInviteCode, Co as ProviderActivityParams, Cr as SyncDeletionPolicy, Ct as Predicate, D as WorkspaceThread, Da as TextEdit, Di as FreeformAttribution, Dn as Health, Do as ThreadCommentActivityParams, Dr as SyncTriggerType, Dt as TerminalFallback, E as WorkspaceComment, Ea as TextData, Ei as EntityCoRef, En as ComponentHealth, Eo as ThreadActivityParams, Er as SyncStatus, Et as TemplateOrigin, F as Language, Fa as TextRefinement, Fi as ImageHint, Fn as DocumentHash, Fo as AccountIdentities, Fr as WorkspaceConnectionsQuery, Ft as CreateWorkspacePipeline, G as UpdateWorkspaceProvider, Ga as TranscriptWord, Gi as MetadataEvent, Gn as CreateAdhocWorkspaceDetection, Gr as AccountDesktopToken, Gt as AccountMarkedReadStatus, H as ProviderConfig, Ha as Token, Hi as ImageRetag, Hn as WorkspaceDeletedDocuments, Ho as SetPassword, Hr as LabelCatalog, Ht as WorkspacePipelineSummary, I as LanguageProvenance, Ia as TextRetag, Ii as ImageLocation, In as DocumentKind, Io as AccountIdentity, Ir as WorkspacePickerToken, It as PipelineDefinition, J as WorkspaceProvidersQuery, Ja as AccountApiTokenPage, Ji as PatternEvent, Jn as DetectionMetadata, Jr as Signup, Jt as AccountUnreadStatus, K as WorkspaceProvider, Ka as Transcription, Ki as ModelEvent, Kn as CreateWorkspaceDetection, Kr as DesktopTokenRequest, Kt as AccountNotification, L as LanguageSpan, La as TimeSpan, Li as ImageManual, Ln as FormatToken, Lo as AccountRef, Lr as WorkspacePickerTokenRequest, Lt as PipelineStatus, M as WorkspaceThreadsQuery, Ma as TextMetadata, Mi as ImageData, Mn as ErrorResponse, Mo as WorkspaceActivityPage, Mr as WorkspaceConnectionSync, Mt as WorkspacePolicy, N as Confidence, Na as TextModel, Ni as ImageEdit, Nn as AssignWorkspaceReview, No as WorkspaceActivityParams, Nr as WorkspaceConnectionSyncPage, Nt as WorkspacePolicySummary, O as WorkspaceThreadEntry, Oa as TextEntity, Oi as ImageAdd, On as HealthStatus, Oo as WebhookActivityParams, Or as UnauthenticatedProvider, Ot as TextRedaction, P as CountryCode, Pa as TextPattern, Pi as ImageEntity, Pn as DeleteWorkspaceDocuments, Po as Account, Pr as WorkspaceConnectionVerification, Pt as WorkspacePolicySummaryPage, Q as ConfidenceThreshold, Qa as TokenExpiration, Qi as RasterMode, Qn as RedactionId, Qr as AudioAuditKind, Qt as DetectionCompletedParams, R as Languages, Ra as ArtifactSet, Ri as ImageMetadata, Rn as ListWorkspaceDocuments, Ro as Handle, Rr as WorkspaceSyncSchedule, Rt as PipelineTriggerType, S as OpenWorkspaceThread, Sa as TextAuditEvent, Si as Dimensions, Sn as WorkspaceInvite, So as PolicyActivityParams, Sr as StorageConfig, St as PolicyTemplate, T as UpdateWorkspaceComment, Ta as TextCoord, Ti as EditSet, Tn as WorkspaceInviteSent, To as ReviewActivityParams, Tr as SyncScheduleInput, Tt as TabularRedaction, U as ProviderId, Ua as Tokens, Ui as LeakProfile, Un as WorkspaceDocument, Uo as UpdateAccount, Ur as RecognizerCatalog, Ut as WorkspacePipelineSummaryPage, V as InferenceConfig, Va as LayoutWord, Vi as ImageRefinement, Vn as UpdateWorkspaceDocument, Vo as PublicAccount, Vr as FileProviders, Vt as WorkspacePipelineFilter, W as ProviderType, Wa as TranscriptSegment, Wi as ManualIntent, Wn as WorkspaceDocumentPage, Wr as RegisteredRecognizer, Wt as CursorPagination, X as ClampBucket, Xa as ApiTokenType, Xi as Polygon, Xn as DetectionStatusEvent, Xr as AudioAdd, Xt as ConnectionSyncCompletedParams, Y as AudioRedaction, Ya as AccountApiTokenWithJwt, Yi as Point, Yn as DetectionStatus, Yr as Attribution, Yt as CommentMentionedParams, Z as Color, Za as CreateAccountApiToken, Zi as RangeOfUint, Zn as RedactWorkspaceDetection, Zr as AudioAuditEvent, Zt as ConnectionSyncFailedParams, _ as WorkspaceWebhook, _a as TabularModel, _i as CodecParams, _n as InvitePreview, _o as DetectionActivityParams, _r as OAuthStartResponse, _t as PciPanRender, a as RetentionSettings, aa as SourceSpan, ai as AudioManual, an as UnreadCountEvent, ao as WorkspaceAnalytics, ar as AuthenticatedProvider, at as HipaaAccountNumbers, b as WorkspaceWebhookResult, ba as TabularRetag, bi as DecodedSpan, bn as ListWorkspaceInvites, bo as MemberActivityParams, br as S3Credentials, bt as PolicyKind, c as WorkspacePage, ca as TabularAuditEvent, ci as AudioPattern, cn as ListWorkspaceMembers, co as WorkspaceDetectionStatusEntry, cr as ConnectionId, ct as Label, d as CreateWorkspaceWebhook, da as TabularEdit, di as Audit, dn as WorkspaceMember, do as WorkspaceStorageAnalytics, dr as ExportWorkspaceFiles, dt as LabelRef, ea as Redaction, ei as AudioData, en as MemberJoinedParams, eo as ModelUsage, er as WorkspaceDetectionPage, et as CustomMatcher, f as TestWorkspaceWebhook, fa as TabularEntity, fi as AuditHash, fn as WorkspaceMemberPage, fo as WorkspaceStorageKindEntry, fr as FileServiceConfig, ft as LabelScope, g as WebhookStatus, ga as TabularMetadata, gi as CitedAttribution, gn as InviteExpiration, go as ConnectionActivityParams, gr as LlmConfig, gt as PciDssPart, h as WebhookId, ha as TabularManual, hi as Category, hn as GenerateWorkspaceInviteCode, ho as ActivityType, hr as ImportWorkspaceFiles, ht as ModalityRedactions, i as RetentionOverride, ia as SourceRef, ii as AudioLocation, in as ReviewAssignedParams, io as UsageReport, ir as WorkspaceRedactionResultPage, it as GdprSensitiveScope, j as WorkspaceThreadPage, ja as TextManual, ji as ImageAuditLog, jn as ExportQuery, jo as WorkspaceActivityFilterQuery, jr as WorkspaceConnectionPage, jt as WorkspacePoliciesQuery, k as WorkspaceThreadEntryPage, ka as TextHint, ki as ImageAuditEvent, kn as DateWindow, ko as WorkspaceActivity, kr as UpdateWorkspaceConnection, kt as UpdateWorkspacePolicy, l as WorkspaceRole, la as TabularAuditKind, li as AudioRefinement, ln as MemberSortField, lo as WorkspaceDetectionTimeSeries, lr as ConnectionType, lt as LabelEntry, m as WebhookEvent, ma as TabularLocation, mi as Calibration, mn as Direction, mo as ActivityPayload, mr as GcsCredentials, mt as LocalizedText, n as RasterPolicy, na as RuleMatch, ni as AudioEntity, nn as NotificationPayload, no as TokenCounts, nr as WorkspacePipelineDetectionsQuery, nt as DateStyle, o as UpdateWorkspace, oa as Suppress, oi as AudioMetadata, on as UpdateWorkspaceNotificationSettings, oo as WorkspaceDetectionAnalytics, or as AzureCredentials, ot as HipaaDeidMethod, p as UpdateWorkspaceWebhook, pa as TabularHint, pi as BoundingBox, pn as CreateWorkspaceInvite, po as WorkspaceUsageAnalytics, pr as FileServiceProvider, pt as LanguageTag, q as WorkspaceProviderPage, qa as AccountApiToken, qi as OperatorId, qn as DetectionId, qr as Login, qt as AccountNotificationPage, r as Retention, ra as Selection, ri as AudioHint, rn as RedactionCreatedParams, ro as Usage, rr as WorkspaceRedactionResult, rt as GdprArticle9Treatment, s as Workspace, sa as TabularAdd, si as AudioModel, sn as WorkspaceNotificationSettings, so as WorkspaceDetectionDayEntry, sr as ConnectionConfig, st as ImageRedaction, t as CreateWorkspace, ta as Report, ti as AudioEdit, tn as NotificationEvent, to as RecognizerId, tr as WorkspaceDetectionsQuery, tt as DateGranularity, u as WorkspaceSettings, ua as TabularAuditLog, ui as AudioRetag, un as UpdateWorkspaceMember, uo as WorkspaceModelUsageEntry, ur as CreateWorkspaceConnection, ut as LabelLocale, v as WorkspaceWebhookCreated, va as TabularPattern, vi as Conflict, vn as InviteSortField, vo as DocumentActivityParams, vr as OAuthTokens, vt as Policy, w as ThreadEventKind, wa as TextAuditLog, wi as Dpi, wn as WorkspaceInvitePage, wo as RedactionActivityParams, wr as SyncMode, wt as Sha2Algorithm, x as CreateWorkspaceComment, xa as TextAdd, xi as Deduplication, xn as ReplyWorkspaceInvite, xo as PipelineActivityParams, xr as StartFileServiceOAuth, xt as PolicyRule, y as WorkspaceWebhookPage, ya as TabularRefinement, yi as Contested, yn as InviteStatus, yo as InviteActivityParams, yr as PickedFile, yt as PolicyDraft, z as ScopeMetadata, za as Layout, zi as ImageModel, zn as ModalityToken, zo as IdentityProvider, zr as AuthCapabilities, zt as UpdateWorkspacePipeline } from "../index-BxYFvgTy.js";
2
- export type { Account, AccountApiToken, AccountApiTokenPage, AccountApiTokenWithJwt, AccountDesktopToken, AccountIdentities, AccountIdentity, AccountMarkedReadStatus, AccountNotification, AccountNotificationPage, AccountRef, AccountUnreadStatus, ActivityPayload, ActivityType, ApiTokenType, ArtifactSet, AssignWorkspaceReview, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioMetadata, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthCapabilities, AuthenticatedProvider, AzureCredentials, BoundingBox, Calibration, Category, CitedAttribution, ClampBucket, CodecParams, Color, CommentMentionedParams, ComponentHealth, Confidence, ConfidenceThreshold, Conflict, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionType, ConnectorCapabilities, Contested, CountryCode, CreateAccountApiToken, CreateAdhocWorkspaceDetection, CreateWorkspace, CreateWorkspaceComment, CreateWorkspaceConnection, CreateWorkspaceDetection, CreateWorkspaceInvite, CreateWorkspacePipeline, CreateWorkspacePolicy, CreateWorkspaceProvider, CreateWorkspaceWebhook, CursorPagination, CustomMatcher, DateGranularity, DateStyle, DateWindow, DecodedSpan, Deduplication, DeleteWorkspaceDocuments, DesktopTokenRequest, DetectionActivityParams, DetectionCompletedParams, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionStatus, DetectionStatusEvent, Dimensions, Direction, DocumentActivityParams, DocumentContext, DocumentHash, DocumentKind, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFormat, ExportQuery, ExportWorkspaceFiles, FileProviders, FileServiceConfig, FileServiceProvider, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateWorkspaceInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, IdentityProvider, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageMetadata, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, ImportWorkspaceFiles, InferenceConfig, InviteActivityParams, InviteExpiration, InvitePreview, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, Layout, LayoutBlock, LayoutWord, LeakProfile, ListWorkspaceDocuments, ListWorkspaceInvites, ListWorkspaceMembers, LlmConfig, LocalizedText, Login, ManualIntent, MemberActivityParams, MemberJoinedParams, MemberSortField, MetadataEvent, ModalityRedactions, ModalityToken, ModelEvent, ModelUsage, NotificationEvent, NotificationPayload, OAuthStartResponse, OAuthTokens, OidcStartResponse, OpenWorkspaceThread, OperatorId, PatternEvent, PciDssPart, PciPanRender, PickedFile, PipelineActivityParams, PipelineDefinition, PipelineStatus, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDraft, PolicyKind, PolicyRule, PolicyTemplate, Polygon, Predicate, ProviderActivityParams, ProviderConfig, ProviderId, ProviderType, PublicAccount, RangeOfUint, RasterMode, RasterPolicy, Recognition, RecognizerCatalog, RecognizerId, RedactWorkspaceDetection, Redaction, RedactionActivityParams, RedactionCreatedParams, RedactionId, RegisteredRecognizer, RenameWorkspaceThread, ReplyWorkspaceInvite, Report, Retention, RetentionOverride, RetentionSettings, ReviewActivityParams, ReviewAssignedParams, ReviewStatus, RuleMatch, S3Credentials, ScopeMetadata, Selection, SetPassword, Sha2Algorithm, Signup, SourceRef, SourceSpan, StartFileServiceOAuth, StorageConfig, Suppress, SyncDeletionPolicy, SyncMode, SyncScheduleInput, SyncStatus, SyncTriggerType, TabularAdd, TabularAuditEvent, TabularAuditKind, TabularAuditLog, TabularEdit, TabularEntity, TabularHint, TabularLocation, TabularManual, TabularMetadata, TabularModel, TabularPattern, TabularRedaction, TabularRefinement, TabularRetag, TemplateOrigin, TerminalFallback, TestWorkspaceWebhook, TextAdd, TextAuditEvent, TextAuditKind, TextAuditLog, TextCoord, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextMetadata, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, ThreadActivityParams, ThreadCommentActivityParams, ThreadEventKind, TimeSpan, Token, TokenCounts, TokenExpiration, Tokens, TranscriptSegment, TranscriptWord, Transcription, UnauthenticatedProvider, UnreadCountEvent, UpdateAccount, UpdateAccountApiToken, UpdateWorkspace, UpdateWorkspaceComment, UpdateWorkspaceConnection, UpdateWorkspaceDocument, UpdateWorkspaceMember, UpdateWorkspaceNotificationSettings, UpdateWorkspacePipeline, UpdateWorkspacePolicy, UpdateWorkspaceProvider, UpdateWorkspaceWebhook, Usage, UsageReport, Waveform, WebhookActivityParams, WebhookEvent, WebhookId, WebhookStatus, Workspace, WorkspaceActivity, WorkspaceActivityExportOptions, WorkspaceActivityFilterQuery, WorkspaceActivityPage, WorkspaceActivityParams, WorkspaceAnalytics, WorkspaceComment, WorkspaceConnection, WorkspaceConnectionPage, WorkspaceConnectionSync, WorkspaceConnectionSyncPage, WorkspaceConnectionVerification, WorkspaceConnectionsQuery, WorkspaceDeletedDocuments, WorkspaceDetection, WorkspaceDetectionAnalytics, WorkspaceDetectionDayEntry, WorkspaceDetectionPage, WorkspaceDetectionStatusEntry, WorkspaceDetectionTimeSeries, WorkspaceDetectionsQuery, WorkspaceDocument, WorkspaceDocumentPage, WorkspaceInvite, WorkspaceInviteCode, WorkspaceInvitePage, WorkspaceInviteSent, WorkspaceMember, WorkspaceMemberPage, WorkspaceModelUsageEntry, WorkspaceNotificationSettings, WorkspacePage, WorkspacePickerToken, WorkspacePickerTokenRequest, WorkspacePipeline, WorkspacePipelineDetectionsQuery, WorkspacePipelineFilter, WorkspacePipelineSummary, WorkspacePipelineSummaryPage, WorkspacePoliciesQuery, WorkspacePolicy, WorkspacePolicySummary, WorkspacePolicySummaryPage, WorkspaceProvider, WorkspaceProviderPage, WorkspaceProvidersQuery, WorkspaceRedactionResult, WorkspaceRedactionResultPage, WorkspaceRole, WorkspaceSettings, WorkspaceStorageAnalytics, WorkspaceStorageKindEntry, WorkspaceSyncSchedule, WorkspaceThread, WorkspaceThreadEntry, WorkspaceThreadEntryPage, WorkspaceThreadEvent, WorkspaceThreadPage, WorkspaceThreadsQuery, WorkspaceUsageAnalytics, WorkspaceWebhook, WorkspaceWebhookCreated, WorkspaceWebhookPage, WorkspaceWebhookResult };
1
+ import { $ as UpdateWorkspaceProvider, $a as AccountApiToken, $i as OperatorId, $n as DetectionId, $r as Login, $t as AccountMarkedReadStatus, A as WorkspaceThreadEvent, Aa as TextAuditLog, Ai as Dpi, An as WorkspaceInvite, Ao as RedactionActivityParams, Ar as SyncMode, At as PolicyTemplate, B as AssignWorkspaceReview, Ba as TextPattern, Bi as ImageEntity, Bn as ErrorResponse, Bo as Account, Br as WorkspaceConnectionVerification, Bt as WorkspacePolicy, C as RenameWorkspaceThread, Ca as TabularModel, Ci as CodecParams, Cn as GenerateWorkspaceInviteCode, Co as DetectionActivityParams, Cr as OAuthStartResponse, Ct as ModalityRedactions, D as WorkspaceThread, Da as TextAdd, Di as Deduplication, Dn as InviteStatus, Do as PipelineActivityParams, Dr as StartFileServiceOAuth, Dt as PolicyDraft, E as WorkspaceComment, Ea as TabularRetag, Ei as DecodedSpan, En as InviteSortField, Eo as MemberActivityParams, Er as S3Credentials, Et as Policy, F as Language, Fa as TextHint, Fi as ImageAuditEvent, Fn as Health, Fo as WorkspaceActivity, Fr as UpdateWorkspaceConnection, Ft as TerminalFallback, G as WorkspaceReviewEventPage, Ga as Layout, Gi as ImageModel, Gn as ListWorkspaceDocuments, Go as IdentityProvider, Gr as AuthCapabilities, Gt as PipelineStatus, H as ReviewStatus, Ha as TextRetag, Hi as ImageLocation, Hn as DocumentHash, Ho as AccountIdentity, Hr as WorkspacePickerToken, Ht as WorkspacePolicySummaryPage, I as LanguageProvenance, Ia as TextLocation, Ii as ImageAuditKind, In as HealthStatus, Io as WorkspaceActivityExportOptions, Ir as WorkspaceConnection, It as TextRedaction, J as CreateWorkspaceProvider, Ja as Token, Ji as ImageRetag, Jn as WorkspaceDeletedDocuments, Jo as SetPassword, Jr as LabelCatalog, Jt as WorkspacePipeline, K as WorkspaceReviewPage, Ka as LayoutBlock, Ki as ImagePattern, Kn as ModalityToken, Ko as OidcStartResponse, Kr as ConnectorCapabilities, Kt as PipelineTriggerType, L as LanguageSpan, La as TextManual, Li as ImageAuditLog, Ln as DateWindow, Lo as WorkspaceActivityFilterQuery, Lr as WorkspaceConnectionPage, Lt as UpdateWorkspacePolicy, M as WorkspaceThreadsQuery, Ma as TextData, Mi as EntityCoRef, Mn as WorkspaceInvitePage, Mo as ThreadActivityParams, Mr as SyncStatus, Mt as Sha2Algorithm, N as Confidence, Na as TextEdit, Ni as FreeformAttribution, Nn as WorkspaceInviteSent, No as ThreadCommentActivityParams, Nr as SyncTriggerType, Nt as TabularRedaction, O as WorkspaceThreadEntry, Oa as TextAuditEvent, Oi as Dimensions, On as ListWorkspaceInvites, Oo as PolicyActivityParams, Or as StorageConfig, Ot as PolicyKind, P as CountryCode, Pa as TextEntity, Pi as ImageAdd, Pn as ComponentHealth, Po as WebhookActivityParams, Pr as UnauthenticatedProvider, Pt as TemplateOrigin, Q as ProviderType, Qa as Transcription, Qi as ModelEvent, Qn as CreateWorkspaceDetection, Qr as DesktopTokenRequest, Qt as CursorPagination, R as Languages, Ra as TextMetadata, Ri as ImageData, Rn as ExportFormat, Ro as WorkspaceActivityPage, Rr as WorkspaceConnectionSync, Rt as Waveform, S as OpenWorkspaceThread, Sa as TabularMetadata, Si as CitedAttribution, Sn as Direction, So as ConnectionActivityParams, Sr as LlmConfig, St as LocalizedText, T as UpdateWorkspaceComment, Ta as TabularRefinement, Ti as Contested, Tn as InvitePreview, To as InviteActivityParams, Tr as PickedFile, Tt as PciPanRender, U as WorkspaceReview, Ua as TimeSpan, Ui as ImageManual, Un as DocumentKind, Uo as AccountRef, Ur as WorkspacePickerTokenRequest, Ut as CreateWorkspacePipeline, V as CreateWorkspaceReview, Va as TextRefinement, Vi as ImageHint, Vn as DeleteWorkspaceDocuments, Vo as AccountIdentities, Vr as WorkspaceConnectionsQuery, Vt as WorkspacePolicySummary, W as WorkspaceReviewEvent, Wa as ArtifactSet, Wi as ImageMetadata, Wn as FormatToken, Wo as Handle, Wr as WorkspaceSyncSchedule, Wt as PipelineDefinition, X as ProviderConfig, Xa as TranscriptSegment, Xi as ManualIntent, Xn as WorkspaceDocumentPage, Xr as RegisteredRecognizer, Xt as WorkspacePipelineSummary, Y as InferenceConfig, Ya as Tokens, Yi as LeakProfile, Yn as WorkspaceDocument, Yo as UpdateAccount, Yr as RecognizerCatalog, Yt as WorkspacePipelineFilter, Z as ProviderId, Za as TranscriptWord, Zi as MetadataEvent, Zn as CreateAdhocWorkspaceDetection, Zr as AccountDesktopToken, Zt as WorkspacePipelineSummaryPage, _ as WorkspaceWebhook, _a as TabularEdit, _i as Audit, _n as MemberSortField, _o as WorkspaceStorageAnalytics, _r as ExportWorkspaceFiles, _t as LabelEntry, a as RetentionSettings, aa as Recognition, ai as AudioAuditLog, an as ConnectionSyncFailedParams, ao as UpdateAccountApiToken, ar as WorkspaceDetection, at as Color, b as WorkspaceWebhookResult, ba as TabularLocation, bi as Calibration, bn as WorkspaceMemberPage, bo as ActivityPayload, br as GcsCredentials, bt as LabelScope, c as WorkspacePage, ca as RuleMatch, ci as AudioEntity, cn as MemberJoinedParams, co as TokenCounts, cr as WorkspacePipelineDetectionsQuery, ct as CustomMatcher, d as CreateWorkspaceWebhook, da as SourceSpan, di as AudioManual, dn as RedactionCreatedParams, do as WorkspaceAnalytics, dr as AuthenticatedProvider, dt as GdprArticle9Treatment, ea as PatternEvent, ei as Signup, en as AccountNotification, eo as AccountApiTokenPage, er as DetectionMetadata, et as WorkspaceProvider, f as TestWorkspaceWebhook, fa as Suppress, fi as AudioMetadata, fn as ReviewAssignedParams, fo as WorkspaceDetectionAnalytics, fr as AzureCredentials, ft as GdprSensitiveScope, g as WebhookStatus, ga as TabularAuditLog, gi as AudioRetag, gn as ListWorkspaceMembers, go as WorkspaceModelUsageEntry, gr as CreateWorkspaceConnection, gt as Label, h as WebhookId, ha as TabularAuditKind, hi as AudioRefinement, hn as WorkspaceNotificationSettings, ho as WorkspaceDetectionTimeSeries, hr as ConnectionType, ht as ImageRedaction, i as RetentionOverride, ia as RasterMode, ii as AudioAuditKind, in as ConnectionSyncCompletedParams, io as TokenExpiration, ir as RedactionId, it as ClampBucket, j as WorkspaceThreadPage, ja as TextCoord, ji as EditSet, jn as WorkspaceInviteCode, jo as ReviewActivityParams, jr as SyncScheduleInput, jt as Predicate, k as WorkspaceThreadEntryPage, ka as TextAuditKind, ki as DocumentContext, kn as ReplyWorkspaceInvite, ko as ProviderActivityParams, kr as SyncDeletionPolicy, kt as PolicyRule, l as WorkspaceRole, la as Selection, li as AudioHint, ln as NotificationEvent, lo as Usage, lr as WorkspaceRedactionResult, lt as DateGranularity, m as WebhookEvent, ma as TabularAuditEvent, mi as AudioPattern, mn as UpdateWorkspaceNotificationSettings, mo as WorkspaceDetectionStatusEntry, mr as ConnectionId, mt as HipaaDeidMethod, n as RasterPolicy, na as Polygon, ni as AudioAdd, nn as AccountUnreadStatus, no as ApiTokenType, nr as DetectionStatusEvent, nt as WorkspaceProvidersQuery, o as UpdateWorkspace, oa as Redaction, oi as AudioData, on as DetectionCompletedParams, oo as ModelUsage, or as WorkspaceDetectionPage, ot as ConfidenceThreshold, p as UpdateWorkspaceWebhook, pa as TabularAdd, pi as AudioModel, pn as UnreadCountEvent, po as WorkspaceDetectionDayEntry, pr as ConnectionConfig, pt as HipaaAccountNumbers, q as WorkspaceReviewsQuery, qa as LayoutWord, qi as ImageRefinement, qn as UpdateWorkspaceDocument, qo as PublicAccount, qr as FileProviders, qt as UpdateWorkspacePipeline, r as Retention, ra as RangeOfUint, ri as AudioAuditEvent, rn as CommentMentionedParams, ro as CreateAccountApiToken, rr as RedactWorkspaceDetection, rt as AudioRedaction, s as Workspace, sa as Report, si as AudioEdit, sn as DetectionFailedParams, so as RecognizerId, sr as WorkspaceDetectionsQuery, st as CreateWorkspacePolicy, t as CreateWorkspace, ta as Point, ti as Attribution, tn as AccountNotificationPage, to as AccountApiTokenWithJwt, tr as DetectionStatus, tt as WorkspaceProviderPage, u as WorkspaceSettings, ua as SourceRef, ui as AudioLocation, un as NotificationPayload, uo as UsageReport, ur as WorkspaceRedactionResultPage, ut as DateStyle, v as WorkspaceWebhookCreated, va as TabularEntity, vi as AuditHash, vn as UpdateWorkspaceMember, vo as WorkspaceStorageKindEntry, vr as FileServiceConfig, vt as LabelLocale, w as ThreadEventKind, wa as TabularPattern, wi as Conflict, wn as InviteExpiration, wo as DocumentActivityParams, wr as OAuthTokens, wt as PciDssPart, x as CreateWorkspaceComment, xa as TabularManual, xi as Category, xn as CreateWorkspaceInvite, xo as ActivityType, xr as ImportWorkspaceFiles, xt as LanguageTag, y as WorkspaceWebhookPage, ya as TabularHint, yi as BoundingBox, yn as WorkspaceMember, yo as WorkspaceUsageAnalytics, yr as FileServiceProvider, yt as LabelRef, z as ScopeMetadata, za as TextModel, zi as ImageEdit, zn as ExportQuery, zo as WorkspaceActivityParams, zr as WorkspaceConnectionSyncPage, zt as WorkspacePoliciesQuery } from "../index-rc5Y8RNG.js";
2
+ export type { Account, AccountApiToken, AccountApiTokenPage, AccountApiTokenWithJwt, AccountDesktopToken, AccountIdentities, AccountIdentity, AccountMarkedReadStatus, AccountNotification, AccountNotificationPage, AccountRef, AccountUnreadStatus, ActivityPayload, ActivityType, ApiTokenType, ArtifactSet, AssignWorkspaceReview, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioMetadata, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthCapabilities, AuthenticatedProvider, AzureCredentials, BoundingBox, Calibration, Category, CitedAttribution, ClampBucket, CodecParams, Color, CommentMentionedParams, ComponentHealth, Confidence, ConfidenceThreshold, Conflict, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionType, ConnectorCapabilities, Contested, CountryCode, CreateAccountApiToken, CreateAdhocWorkspaceDetection, CreateWorkspace, CreateWorkspaceComment, CreateWorkspaceConnection, CreateWorkspaceDetection, CreateWorkspaceInvite, CreateWorkspacePipeline, CreateWorkspacePolicy, CreateWorkspaceProvider, CreateWorkspaceReview, CreateWorkspaceWebhook, CursorPagination, CustomMatcher, DateGranularity, DateStyle, DateWindow, DecodedSpan, Deduplication, DeleteWorkspaceDocuments, DesktopTokenRequest, DetectionActivityParams, DetectionCompletedParams, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionStatus, DetectionStatusEvent, Dimensions, Direction, DocumentActivityParams, DocumentContext, DocumentHash, DocumentKind, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFormat, ExportQuery, ExportWorkspaceFiles, FileProviders, FileServiceConfig, FileServiceProvider, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateWorkspaceInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, IdentityProvider, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageMetadata, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, ImportWorkspaceFiles, InferenceConfig, InviteActivityParams, InviteExpiration, InvitePreview, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, Layout, LayoutBlock, LayoutWord, LeakProfile, ListWorkspaceDocuments, ListWorkspaceInvites, ListWorkspaceMembers, LlmConfig, LocalizedText, Login, ManualIntent, MemberActivityParams, MemberJoinedParams, MemberSortField, MetadataEvent, ModalityRedactions, ModalityToken, ModelEvent, ModelUsage, NotificationEvent, NotificationPayload, OAuthStartResponse, OAuthTokens, OidcStartResponse, OpenWorkspaceThread, OperatorId, PatternEvent, PciDssPart, PciPanRender, PickedFile, PipelineActivityParams, PipelineDefinition, PipelineStatus, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDraft, PolicyKind, PolicyRule, PolicyTemplate, Polygon, Predicate, ProviderActivityParams, ProviderConfig, ProviderId, ProviderType, PublicAccount, RangeOfUint, RasterMode, RasterPolicy, Recognition, RecognizerCatalog, RecognizerId, RedactWorkspaceDetection, Redaction, RedactionActivityParams, RedactionCreatedParams, RedactionId, RegisteredRecognizer, RenameWorkspaceThread, ReplyWorkspaceInvite, Report, Retention, RetentionOverride, RetentionSettings, ReviewActivityParams, ReviewAssignedParams, ReviewStatus, RuleMatch, S3Credentials, ScopeMetadata, Selection, SetPassword, Sha2Algorithm, Signup, SourceRef, SourceSpan, StartFileServiceOAuth, StorageConfig, Suppress, SyncDeletionPolicy, SyncMode, SyncScheduleInput, SyncStatus, SyncTriggerType, TabularAdd, TabularAuditEvent, TabularAuditKind, TabularAuditLog, TabularEdit, TabularEntity, TabularHint, TabularLocation, TabularManual, TabularMetadata, TabularModel, TabularPattern, TabularRedaction, TabularRefinement, TabularRetag, TemplateOrigin, TerminalFallback, TestWorkspaceWebhook, TextAdd, TextAuditEvent, TextAuditKind, TextAuditLog, TextCoord, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextMetadata, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, ThreadActivityParams, ThreadCommentActivityParams, ThreadEventKind, TimeSpan, Token, TokenCounts, TokenExpiration, Tokens, TranscriptSegment, TranscriptWord, Transcription, UnauthenticatedProvider, UnreadCountEvent, UpdateAccount, UpdateAccountApiToken, UpdateWorkspace, UpdateWorkspaceComment, UpdateWorkspaceConnection, UpdateWorkspaceDocument, UpdateWorkspaceMember, UpdateWorkspaceNotificationSettings, UpdateWorkspacePipeline, UpdateWorkspacePolicy, UpdateWorkspaceProvider, UpdateWorkspaceWebhook, Usage, UsageReport, Waveform, WebhookActivityParams, WebhookEvent, WebhookId, WebhookStatus, Workspace, WorkspaceActivity, WorkspaceActivityExportOptions, WorkspaceActivityFilterQuery, WorkspaceActivityPage, WorkspaceActivityParams, WorkspaceAnalytics, WorkspaceComment, WorkspaceConnection, WorkspaceConnectionPage, WorkspaceConnectionSync, WorkspaceConnectionSyncPage, WorkspaceConnectionVerification, WorkspaceConnectionsQuery, WorkspaceDeletedDocuments, WorkspaceDetection, WorkspaceDetectionAnalytics, WorkspaceDetectionDayEntry, WorkspaceDetectionPage, WorkspaceDetectionStatusEntry, WorkspaceDetectionTimeSeries, WorkspaceDetectionsQuery, WorkspaceDocument, WorkspaceDocumentPage, WorkspaceInvite, WorkspaceInviteCode, WorkspaceInvitePage, WorkspaceInviteSent, WorkspaceMember, WorkspaceMemberPage, WorkspaceModelUsageEntry, WorkspaceNotificationSettings, WorkspacePage, WorkspacePickerToken, WorkspacePickerTokenRequest, WorkspacePipeline, WorkspacePipelineDetectionsQuery, WorkspacePipelineFilter, WorkspacePipelineSummary, WorkspacePipelineSummaryPage, WorkspacePoliciesQuery, WorkspacePolicy, WorkspacePolicySummary, WorkspacePolicySummaryPage, WorkspaceProvider, WorkspaceProviderPage, WorkspaceProvidersQuery, WorkspaceRedactionResult, WorkspaceRedactionResultPage, WorkspaceReview, WorkspaceReviewEvent, WorkspaceReviewEventPage, WorkspaceReviewPage, WorkspaceReviewsQuery, WorkspaceRole, WorkspaceSettings, WorkspaceStorageAnalytics, WorkspaceStorageKindEntry, WorkspaceSyncSchedule, WorkspaceThread, WorkspaceThreadEntry, WorkspaceThreadEntryPage, WorkspaceThreadEvent, WorkspaceThreadPage, WorkspaceThreadsQuery, WorkspaceUsageAnalytics, WorkspaceWebhook, WorkspaceWebhookCreated, WorkspaceWebhookPage, WorkspaceWebhookResult };
@@ -1,4 +1,4 @@
1
- import { n as NvisyError, t as NvisyApiError } from "./errors-D2J3LbE-.js";
1
+ import { n as NvisyError, t as NvisyApiError } from "./errors-ChRSBkhj.js";
2
2
 
3
3
  //#region src/config.ts
4
4
  /**
@@ -7,7 +7,7 @@ import { n as NvisyError, t as NvisyApiError } from "./errors-D2J3LbE-.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.51.0";
10
+ const VERSION = "0.53.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-DTQ8nnQc.js.map
47
+ //# sourceMappingURL=error-D_h2zq6T.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-DTQ8nnQc.js","names":[],"sources":["../src/config.ts","../src/middleware/error.ts"],"sourcesContent":["/**\n * @fileoverview Configuration types and constants for the Nvisy SDK.\n *\n * This module provides configuration interfaces, default values, and environment\n * variable names used throughout the SDK.\n *\n * @module config\n */\n\n/**\n * Compile-time version token, replaced with the `package.json` version by the\n * build (see `tsdown.config.ts`). Declared so it type-checks; the `typeof`\n * guard below keeps it safe when the define isn't applied (tests, direct `tsc`).\n */\ndeclare const __SDK_VERSION__: string | undefined;\n\n/**\n * Current SDK version.\n *\n * Injected from `package.json` at build time, so it always matches the\n * published version. Used in the default user agent string.\n */\nexport const VERSION =\n\ttypeof __SDK_VERSION__ === \"string\" ? __SDK_VERSION__ : \"0.0.0-dev\";\n\n/**\n * Configuration options for creating a Nvisy client.\n *\n * Authenticate one of two ways: pass an `apiToken` (sent as a bearer token on\n * every request), or use a browser session — sign in with the standalone\n * `login` / `signup`, then set `credentials: \"include\"` so the session cookies\n * are sent. All other fields are optional and use sensible defaults.\n *\n * @example\n * ```typescript\n * // API token\n * const client = new Client({ apiToken: \"your-api-token\" });\n *\n * // Browser session (after `login()` set the cookies)\n * const client = new Client({ credentials: \"include\" });\n * ```\n */\nexport interface ClientConfig {\n\t/**\n\t * API token for authentication, sent as `Authorization: Bearer <token>`.\n\t *\n\t * Tokens can be obtained from the Nvisy dashboard or the api-tokens endpoint.\n\t * Omit it to authenticate with a browser session instead (see `credentials`).\n\t */\n\tapiToken?: string;\n\n\t/**\n\t * Credentials mode for every request, forwarded to `fetch`.\n\t *\n\t * Set to `\"include\"` to send the session cookies established by the\n\t * standalone `login` / `signup` (needed for cross-origin browser sessions).\n\t * Defaults to the platform's `fetch` default when omitted.\n\t */\n\tcredentials?: RequestCredentials;\n\n\t/**\n\t * Base URL for the Nvisy API.\n\t *\n\t * @default \"https://api.nvisy.com\"\n\t */\n\tbaseUrl?: string;\n\n\t/**\n\t * Custom headers to include with every request.\n\t *\n\t * These headers are merged with the default headers (Content-Type, User-Agent,\n\t * and Authorization). Custom headers take precedence over defaults if there\n\t * are conflicts.\n\t */\n\theaders?: Record<string, string>;\n\n\t/**\n\t * Custom user agent string to identify your application.\n\t *\n\t * @default \"@nvisy/sdk v.{version}\"\n\t */\n\tuserAgent?: string;\n\n\t/**\n\t * Enable logging for requests and responses.\n\t *\n\t * When enabled, logs request method, URL, status, and timing to console.\n\t *\n\t * @default false\n\t */\n\twithLogging?: boolean;\n\n\t/**\n\t * Custom fetch implementation used for every request. Must match the WHATWG\n\t * `fetch` signature. Defaults to the global `fetch`.\n\t *\n\t * Lets a host swap in a non-browser transport — e.g. a desktop (Tauri) app\n\t * passing `@tauri-apps/plugin-http`'s `fetch`, which performs the request in\n\t * the native process and so is not subject to browser CORS.\n\t */\n\tfetch?: typeof globalThis.fetch;\n}\n\n/**\n * Default configuration values used when options are not explicitly provided.\n */\nexport const DEFAULTS = {\n\t/**\n\t * Default base URL for the Nvisy API.\n\t */\n\tBASE_URL: \"https://api.nvisy.com\",\n\n\t/**\n\t * Default user agent string.\n\t */\n\tUSER_AGENT: `@nvisy/sdk v.${VERSION}`,\n} as const;\n","import type { Middleware } from \"openapi-fetch\";\nimport type { ErrorResponse } from \"@/datatypes/index.js\";\nimport { NvisyApiError, NvisyError } from \"@/errors.js\";\n\n/**\n * Middleware that automatically throws NvisyApiError for error responses.\n * This replaces the need for manual checks in services.\n */\nexport const errorMiddleware: Middleware = {\n\tasync onResponse({ response }) {\n\t\tif (!response.ok) {\n\t\t\tconst error = (await response.clone().json()) as ErrorResponse;\n\t\t\tthrow new NvisyApiError(error, response.status);\n\t\t}\n\t\treturn response;\n\t},\n\n\tonError({ error }) {\n\t\t// Wrap fetch errors (network failures, CORS, etc.) in NvisyError\n\t\tif (error instanceof Error) {\n\t\t\tthrow new NvisyError(error.message);\n\t\t}\n\t\tthrow new NvisyError(\"An unknown network error occurred\");\n\t},\n};\n"],"mappings":";;;;;;;;;AAsBA,MAAa;;;;AAoFb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;AC5GA,MAAa,kBAA8B;CAC1C,MAAM,WAAW,EAAE,YAAY;EAC9B,IAAI,CAAC,SAAS,IAAI;GACjB,MAAM,QAAS,MAAM,SAAS,MAAM,CAAC,CAAC,KAAK;GAC3C,MAAM,IAAI,cAAc,OAAO,SAAS,MAAM;EAC/C;EACA,OAAO;CACR;CAEA,QAAQ,EAAE,SAAS;EAElB,IAAI,iBAAiB,OACpB,MAAM,IAAI,WAAW,MAAM,OAAO;EAEnC,MAAM,IAAI,WAAW,mCAAmC;CACzD;AACD"}
1
+ {"version":3,"file":"error-D_h2zq6T.js","names":[],"sources":["../src/config.ts","../src/middleware/error.ts"],"sourcesContent":["/**\n * @fileoverview Configuration types and constants for the Nvisy SDK.\n *\n * This module provides configuration interfaces, default values, and environment\n * variable names used throughout the SDK.\n *\n * @module config\n */\n\n/**\n * Compile-time version token, replaced with the `package.json` version by the\n * build (see `tsdown.config.ts`). Declared so it type-checks; the `typeof`\n * guard below keeps it safe when the define isn't applied (tests, direct `tsc`).\n */\ndeclare const __SDK_VERSION__: string | undefined;\n\n/**\n * Current SDK version.\n *\n * Injected from `package.json` at build time, so it always matches the\n * published version. Used in the default user agent string.\n */\nexport const VERSION =\n\ttypeof __SDK_VERSION__ === \"string\" ? __SDK_VERSION__ : \"0.0.0-dev\";\n\n/**\n * Configuration options for creating a Nvisy client.\n *\n * Authenticate one of two ways: pass an `apiToken` (sent as a bearer token on\n * every request), or use a browser session — sign in with the standalone\n * `login` / `signup`, then set `credentials: \"include\"` so the session cookies\n * are sent. All other fields are optional and use sensible defaults.\n *\n * @example\n * ```typescript\n * // API token\n * const client = new Client({ apiToken: \"your-api-token\" });\n *\n * // Browser session (after `login()` set the cookies)\n * const client = new Client({ credentials: \"include\" });\n * ```\n */\nexport interface ClientConfig {\n\t/**\n\t * API token for authentication, sent as `Authorization: Bearer <token>`.\n\t *\n\t * Tokens can be obtained from the Nvisy dashboard or the api-tokens endpoint.\n\t * Omit it to authenticate with a browser session instead (see `credentials`).\n\t */\n\tapiToken?: string;\n\n\t/**\n\t * Credentials mode for every request, forwarded to `fetch`.\n\t *\n\t * Set to `\"include\"` to send the session cookies established by the\n\t * standalone `login` / `signup` (needed for cross-origin browser sessions).\n\t * Defaults to the platform's `fetch` default when omitted.\n\t */\n\tcredentials?: RequestCredentials;\n\n\t/**\n\t * Base URL for the Nvisy API.\n\t *\n\t * @default \"https://api.nvisy.com\"\n\t */\n\tbaseUrl?: string;\n\n\t/**\n\t * Custom headers to include with every request.\n\t *\n\t * These headers are merged with the default headers (Content-Type, User-Agent,\n\t * and Authorization). Custom headers take precedence over defaults if there\n\t * are conflicts.\n\t */\n\theaders?: Record<string, string>;\n\n\t/**\n\t * Custom user agent string to identify your application.\n\t *\n\t * @default \"@nvisy/sdk v.{version}\"\n\t */\n\tuserAgent?: string;\n\n\t/**\n\t * Enable logging for requests and responses.\n\t *\n\t * When enabled, logs request method, URL, status, and timing to console.\n\t *\n\t * @default false\n\t */\n\twithLogging?: boolean;\n\n\t/**\n\t * Custom fetch implementation used for every request. Must match the WHATWG\n\t * `fetch` signature. Defaults to the global `fetch`.\n\t *\n\t * Lets a host swap in a non-browser transport — e.g. a desktop (Tauri) app\n\t * passing `@tauri-apps/plugin-http`'s `fetch`, which performs the request in\n\t * the native process and so is not subject to browser CORS.\n\t */\n\tfetch?: typeof globalThis.fetch;\n}\n\n/**\n * Default configuration values used when options are not explicitly provided.\n */\nexport const DEFAULTS = {\n\t/**\n\t * Default base URL for the Nvisy API.\n\t */\n\tBASE_URL: \"https://api.nvisy.com\",\n\n\t/**\n\t * Default user agent string.\n\t */\n\tUSER_AGENT: `@nvisy/sdk v.${VERSION}`,\n} as const;\n","import type { Middleware } from \"openapi-fetch\";\nimport type { ErrorResponse } from \"@/datatypes/index.js\";\nimport { NvisyApiError, NvisyError } from \"@/errors.js\";\n\n/**\n * Middleware that automatically throws NvisyApiError for error responses.\n * This replaces the need for manual checks in services.\n */\nexport const errorMiddleware: Middleware = {\n\tasync onResponse({ response }) {\n\t\tif (!response.ok) {\n\t\t\tconst error = (await response.clone().json()) as ErrorResponse;\n\t\t\tthrow new NvisyApiError(error, response.status);\n\t\t}\n\t\treturn response;\n\t},\n\n\tonError({ error }) {\n\t\t// Wrap fetch errors (network failures, CORS, etc.) in NvisyError\n\t\tif (error instanceof Error) {\n\t\t\tthrow new NvisyError(error.message);\n\t\t}\n\t\tthrow new NvisyError(\"An unknown network error occurred\");\n\t},\n};\n"],"mappings":";;;;;;;;;AAsBA,MAAa;;;;AAoFb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;AC5GA,MAAa,kBAA8B;CAC1C,MAAM,WAAW,EAAE,YAAY;EAC9B,IAAI,CAAC,SAAS,IAAI;GACjB,MAAM,QAAS,MAAM,SAAS,MAAM,CAAC,CAAC,KAAK;GAC3C,MAAM,IAAI,cAAc,OAAO,SAAS,MAAM;EAC/C;EACA,OAAO;CACR;CAEA,QAAQ,EAAE,SAAS;EAElB,IAAI,iBAAiB,OACpB,MAAM,IAAI,WAAW,MAAM,OAAO;EAEnC,MAAM,IAAI,WAAW,mCAAmC;CACzD;AACD"}
@@ -63,11 +63,6 @@ var NvisyApiError = class extends NvisyError {
63
63
  */
64
64
  message;
65
65
  /**
66
- * The resource type that the error relates to (e.g., "account", "project").
67
- * May be undefined if the error is not resource-specific.
68
- */
69
- resource;
70
- /**
71
66
  * HTTP status code of the response (e.g., 400, 404, 500).
72
67
  */
73
68
  statusCode;
@@ -81,7 +76,6 @@ var NvisyApiError = class extends NvisyError {
81
76
  super(response.message);
82
77
  this.name = response.name;
83
78
  this.message = response.message;
84
- this.resource = response.resource;
85
79
  this.statusCode = statusCode;
86
80
  }
87
81
  /**
@@ -127,12 +121,11 @@ var NvisyApiError = class extends NvisyError {
127
121
  toJSON() {
128
122
  return {
129
123
  name: this.name,
130
- message: this.message,
131
- resource: this.resource
124
+ message: this.message
132
125
  };
133
126
  }
134
127
  };
135
128
 
136
129
  //#endregion
137
130
  export { NvisyError as n, NvisyApiError as t };
138
- //# sourceMappingURL=errors-D2J3LbE-.js.map
131
+ //# sourceMappingURL=errors-ChRSBkhj.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors-ChRSBkhj.js","names":[],"sources":["../src/errors.ts"],"sourcesContent":["/**\n * @fileoverview Error types for the Nvisy SDK.\n *\n * This module defines the error hierarchy used throughout the SDK:\n * - {@link NvisyError} - Base error class for all SDK errors\n * - {@link NvisyApiError} - Errors returned by the Nvisy API (4xx/5xx responses)\n *\n * @module errors\n */\n\nimport type { ErrorResponse } from \"@/datatypes/index.js\";\n\n// Re-export ErrorResponse type for convenience\nexport type { ErrorResponse } from \"@/datatypes/index.js\";\n\n/**\n * Base error class for all Nvisy SDK errors.\n *\n * This class provides common functionality for all SDK errors.\n * It ensures proper error naming and stack traces.\n *\n * @example\n * ```typescript\n * try {\n * const client = new Client({ apiToken: \"\" });\n * } catch (error) {\n * if (error instanceof NvisyError) {\n * console.log(\"SDK error:\", error.message);\n * }\n * }\n * ```\n */\nexport class NvisyError extends Error {\n\t/**\n\t * The error class name.\n\t */\n\tpublic readonly name: string;\n\n\t/**\n\t * Creates a new NvisyError.\n\t *\n\t * @param message - The error message\n\t */\n\tconstructor(message: string) {\n\t\tsuper(message);\n\t\tthis.name = this.constructor.name;\n\t}\n}\n\n/**\n * Error thrown when the Nvisy API returns an error response.\n *\n * This error class wraps the API's {@link ErrorResponse} format and adds\n * the HTTP status code. It provides helper methods to categorize errors\n * and determine if they are retryable.\n *\n * @example\n * ```typescript\n * try {\n * await client.account.getAccount();\n * } catch (error) {\n * if (error instanceof NvisyApiError) {\n * console.log(`API Error: ${error.message}`);\n * console.log(`Status: ${error.statusCode}`);\n * if (error.isRetryable()) {\n * // Implement retry logic\n * }\n * }\n * }\n * ```\n */\nexport class NvisyApiError extends NvisyError implements ErrorResponse {\n\t/**\n\t * The error type identifier (e.g., \"ValidationError\", \"NotFoundError\").\n\t */\n\tpublic readonly name: string;\n\n\t/**\n\t * Human-readable error message safe for display to end users.\n\t */\n\tpublic readonly message: string;\n\n\t/**\n\t * HTTP status code of the response (e.g., 400, 404, 500).\n\t */\n\tpublic readonly statusCode: number;\n\n\t/**\n\t * Creates a new NvisyApiError from an API error response.\n\t *\n\t * @param response - The error response from the API\n\t * @param statusCode - The HTTP status code of the response\n\t */\n\tconstructor(response: ErrorResponse, statusCode: number) {\n\t\tsuper(response.message);\n\t\tthis.name = response.name;\n\t\tthis.message = response.message;\n\t\tthis.statusCode = statusCode;\n\t}\n\n\t/**\n\t * Checks if this is a client error (4xx status code).\n\t *\n\t * Client errors indicate problems with the request itself, such as\n\t * invalid input, missing authentication, or accessing non-existent resources.\n\t *\n\t * @returns True if the status code is in the 4xx range\n\t */\n\tisClientError(): boolean {\n\t\treturn this.statusCode >= 400 && this.statusCode < 500;\n\t}\n\n\t/**\n\t * Checks if this is a server error (5xx status code).\n\t *\n\t * Server errors indicate problems on the API side. These are typically\n\t * transient and may succeed if retried.\n\t *\n\t * @returns True if the status code is in the 5xx range\n\t */\n\tisServerError(): boolean {\n\t\treturn this.statusCode >= 500;\n\t}\n\n\t/**\n\t * Determines if this error is safe to retry.\n\t *\n\t * An error is considered retryable if it's a server error (5xx),\n\t * a request timeout (408), or rate limiting (429).\n\t *\n\t * @returns True if the request may succeed on retry\n\t */\n\tisRetryable(): boolean {\n\t\treturn (\n\t\t\tthis.statusCode >= 500 || // Server errors\n\t\t\tthis.statusCode === 408 || // Request timeout\n\t\t\tthis.statusCode === 429 // Rate limited\n\t\t);\n\t}\n\n\t/**\n\t * Converts the error to a plain {@link ErrorResponse} object.\n\t *\n\t * Useful for serialization or logging.\n\t *\n\t * @returns A plain object representation of the error\n\t */\n\ttoJSON(): ErrorResponse {\n\t\treturn {\n\t\t\tname: this.name,\n\t\t\tmessage: this.message,\n\t\t};\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAgCA,IAAa,aAAb,cAAgC,MAAM;;;;CAIrC,AAAgB;;;;;;CAOhB,YAAY,SAAiB;EAC5B,MAAM,OAAO;EACb,KAAK,OAAO,KAAK,YAAY;CAC9B;AACD;;;;;;;;;;;;;;;;;;;;;;;AAwBA,IAAa,gBAAb,cAAmC,WAAoC;;;;CAItE,AAAgB;;;;CAKhB,AAAgB;;;;CAKhB,AAAgB;;;;;;;CAQhB,YAAY,UAAyB,YAAoB;EACxD,MAAM,SAAS,OAAO;EACtB,KAAK,OAAO,SAAS;EACrB,KAAK,UAAU,SAAS;EACxB,KAAK,aAAa;CACnB;;;;;;;;;CAUA,gBAAyB;EACxB,OAAO,KAAK,cAAc,OAAO,KAAK,aAAa;CACpD;;;;;;;;;CAUA,gBAAyB;EACxB,OAAO,KAAK,cAAc;CAC3B;;;;;;;;;CAUA,cAAuB;EACtB,OACC,KAAK,cAAc,OACnB,KAAK,eAAe,OACpB,KAAK,eAAe;CAEtB;;;;;;;;CASA,SAAwB;EACvB,OAAO;GACN,MAAM,KAAK;GACX,SAAS,KAAK;EACf;CACD;AACD"}
@@ -1,4 +1,4 @@
1
- import { Mn as ErrorResponse } from "./index-BxYFvgTy.js";
1
+ import { Bn as ErrorResponse } from "./index-rc5Y8RNG.js";
2
2
  //#region src/errors.d.ts
3
3
  /**
4
4
  * Base error class for all Nvisy SDK errors.
@@ -60,11 +60,6 @@ declare class NvisyApiError extends NvisyError implements ErrorResponse {
60
60
  * Human-readable error message safe for display to end users.
61
61
  */
62
62
  readonly message: string;
63
- /**
64
- * The resource type that the error relates to (e.g., "account", "project").
65
- * May be undefined if the error is not resource-specific.
66
- */
67
- readonly resource?: string;
68
63
  /**
69
64
  * HTTP status code of the response (e.g., 400, 404, 500).
70
65
  */
@@ -114,4 +109,4 @@ declare class NvisyApiError extends NvisyError implements ErrorResponse {
114
109
  }
115
110
  //#endregion
116
111
  export { NvisyError as n, NvisyApiError as t };
117
- //# sourceMappingURL=errors-ClHc4LMK.d.ts.map
112
+ //# sourceMappingURL=errors-aOivXE8A.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors-aOivXE8A.d.ts","names":[],"sources":["../src/errors.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAgCa,mBAAmB;;;;WAIf;;;;;;EAOJ,YAAA;;;;;;;;;;;;;;;;;;;;;;;;cA4BA,sBAAsB,sBAAsB;;;;WAIxC;;;;WAKA;;;;WAKA;;;;;;;EAQJ,YAAA,UAAU,eAAe;;;;;;;;;EAerC;;;;;;;;;EAYA;;;;;;;;;EAYA;;;;;;;;EAeA,UAAU"}