@nvisy/sdk 0.50.0 → 0.52.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,93 @@ and this project adheres to
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.52.0] - 2026-09-14
12
+
13
+ ### Added
14
+
15
+ - `status.checkLiveness()` (`GET /health/live`) — a liveness probe that resolves
16
+ when the process is running; returns the raw `Response`
17
+ - `status.checkReadiness()` (`GET /health/ready`) — a readiness probe reporting
18
+ the server and its dependencies (`Health`; 200 healthy/degraded, 503 unhealthy)
19
+
20
+ ### Changed
21
+
22
+ - Regenerated the API schema against the updated platform handlers
23
+ - **Breaking:** endpoint paths no longer have a trailing slash (e.g.
24
+ `/workspaces/{workspaceId}/documents`, `/account`). This is transparent to
25
+ callers using the service methods
26
+ - **Breaking:** `checkHealth()` (both the client `status` service and the
27
+ standalone `checkHealth`) no longer takes a version segment — the health route
28
+ is `/health`. The `version` option on `HealthConfig` is removed
29
+
30
+ ### Removed
31
+
32
+ - **Breaking:** `ErrorResponse` no longer carries `resource`; `NvisyApiError`
33
+ drops its `resource` property accordingly
34
+
35
+ ## [0.51.0] - 2026-09-13
36
+
37
+ A platform-wide rename and restructure. Nearly every exported type and several
38
+ service names changed; the `File` resource is now `Document`. Callers should
39
+ expect to update most imports and several method names — see below.
40
+
41
+ ### Added
42
+
43
+ - `nvisy.threads` service for review discussion: threads and their comments
44
+ (`listThreads`, `openThread`, `getThread`, `renameThread`, `closeThread`,
45
+ `reopenThread`, `getTimeline`, `addComment`, `updateComment`, `deleteComment`),
46
+ with thread/comment datatypes (`WorkspaceThread`, `WorkspaceThreadPage`,
47
+ `WorkspaceThreadEntry`, `WorkspaceThreadEvent`, `WorkspaceThreadsQuery`,
48
+ `OpenWorkspaceThread`, `RenameWorkspaceThread`, `ThreadEventKind`,
49
+ `WorkspaceComment`, `CreateWorkspaceComment`, `UpdateWorkspaceComment`)
50
+ - Document review on the documents service: `assignReview` and `verifyReview`
51
+ (`AssignWorkspaceReview`, `ReviewStatus`), plus the `ReviewAssignedParams` /
52
+ `CommentMentionedParams` notification payloads
53
+ - `capabilities.getAuthCapabilities()` (`AuthCapabilities`) alongside the
54
+ labels / recognizers / connectors capability reads
55
+ - `detections.createAdhocDetection()` (`CreateAdhocWorkspaceDetection`)
56
+ - Per-modality metadata datatypes (`AudioMetadata`, `ImageMetadata`,
57
+ `TabularMetadata`, `TextMetadata`, `MetadataEvent`, `Recognition`); the
58
+ `metadata` value on `ModalityToken`; and `PolicyKind`
59
+
60
+ ### Changed
61
+
62
+ - Regenerated the API schema against the updated platform handlers
63
+ - **Breaking:** the `File` resource is now `Document`. The `files` service is
64
+ `documents` (`nvisy.documents`); its endpoints moved from
65
+ `/workspaces/{workspaceId}/files/…` to `/workspaces/{workspaceId}/documents/…`;
66
+ methods are
67
+ renamed (`uploadFiles` → `uploadDocuments`, `listFiles` → `listDocuments`,
68
+ `getFile` → `getDocument`, `downloadFile` → `downloadDocument`, `updateFile` →
69
+ `updateDocument`, `deleteFile` → `deleteDocument`, `deleteFiles` →
70
+ `deleteDocuments`); the bulk-delete body is `{ documentIds }`; and the
71
+ datatypes are renamed (`File` → `WorkspaceDocument`, `FileKind` →
72
+ `DocumentKind`, etc.)
73
+ - **Breaking:** most workspace resource datatypes gained a `Workspace` prefix
74
+ (e.g. `Connection` → `WorkspaceConnection`, `Detection` → `WorkspaceDetection`,
75
+ `Invite` → `WorkspaceInvite`, `Pipeline` → `WorkspacePipeline`, `Policy` →
76
+ `WorkspacePolicy`, `Provider` → `WorkspaceProvider`, `Webhook` →
77
+ `WorkspaceWebhook`, `Member` → `WorkspaceMember`, and their `Create*` /
78
+ `Update*` / `*Page` / `*Query` variants); account-scoped types gained an
79
+ `Account` prefix (`ApiToken` → `AccountApiToken`, `Notification` →
80
+ `AccountNotification`, `DesktopToken` → `AccountDesktopToken`). Service class
81
+ and method names keep their short form
82
+ - **Breaking:** the `catalog` service is now `capabilities` (`nvisy.capabilities`),
83
+ reading from `/capabilities/*`; `ConnectorCatalog` → `ConnectorCapabilities`
84
+ - **Breaking:** the `SortOrder` enum (`asc` / `desc`) is now `Direction`
85
+ (`ascending` / `descending`)
86
+ - **Breaking:** path parameters are now ids rather than slugs/usernames, and
87
+ the corresponding method arguments are renamed to match: `workspaceSlug` →
88
+ `workspaceId`, the account/member `username` → `accountId`, `pipelineSlug` →
89
+ `pipelineId`, `policySlug` → `policyId`
90
+
91
+ ### Removed
92
+
93
+ - **Breaking:** the `chat` service and its datatypes (`ChatSession`,
94
+ `ChatMessage`, `ChatRole`, `ChatToken`, `SendChatMessage`, `CreateChatSession`)
95
+ - **Breaking:** the `assignments` service and its datatypes (added in 0.50.0) —
96
+ superseded by document review on the documents service
97
+
11
98
  ## [0.50.0] - 2026-09-11
12
99
 
13
100
  ### Added
@@ -1046,7 +1133,9 @@ redaction an independent resource. This release renames the SDK to match.
1046
1133
  - Network error handling for timeouts, DNS resolution, and connection issues
1047
1134
  - Configuration validation with detailed error messages
1048
1135
 
1049
- [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.50.0...HEAD
1136
+ [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.52.0...HEAD
1137
+ [0.52.0]: https://github.com/nvisycom/sdk-ts/compare/v0.51.0...v0.52.0
1138
+ [0.51.0]: https://github.com/nvisycom/sdk-ts/compare/v0.50.0...v0.51.0
1050
1139
  [0.50.0]: https://github.com/nvisycom/sdk-ts/compare/v0.49.0...v0.50.0
1051
1140
  [0.49.0]: https://github.com/nvisycom/sdk-ts/compare/v0.48.0...v0.49.0
1052
1141
  [0.48.0]: https://github.com/nvisycom/sdk-ts/compare/v0.47.0...v0.48.0