@nvisy/sdk 0.49.0 → 0.51.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,91 @@ and this project adheres to
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.51.0] - 2026-09-13
12
+
13
+ A platform-wide rename and restructure. Nearly every exported type and several
14
+ service names changed; the `File` resource is now `Document`. Callers should
15
+ expect to update most imports and several method names — see below.
16
+
17
+ ### Added
18
+
19
+ - `nvisy.threads` service for review discussion: threads and their comments
20
+ (`listThreads`, `openThread`, `getThread`, `renameThread`, `closeThread`,
21
+ `reopenThread`, `getTimeline`, `addComment`, `updateComment`, `deleteComment`),
22
+ with thread/comment datatypes (`WorkspaceThread`, `WorkspaceThreadPage`,
23
+ `WorkspaceThreadEntry`, `WorkspaceThreadEvent`, `WorkspaceThreadsQuery`,
24
+ `OpenWorkspaceThread`, `RenameWorkspaceThread`, `ThreadEventKind`,
25
+ `WorkspaceComment`, `CreateWorkspaceComment`, `UpdateWorkspaceComment`)
26
+ - Document review on the documents service: `assignReview` and `verifyReview`
27
+ (`AssignWorkspaceReview`, `ReviewStatus`), plus the `ReviewAssignedParams` /
28
+ `CommentMentionedParams` notification payloads
29
+ - `capabilities.getAuthCapabilities()` (`AuthCapabilities`) alongside the
30
+ labels / recognizers / connectors capability reads
31
+ - `detections.createAdhocDetection()` (`CreateAdhocWorkspaceDetection`)
32
+ - Per-modality metadata datatypes (`AudioMetadata`, `ImageMetadata`,
33
+ `TabularMetadata`, `TextMetadata`, `MetadataEvent`, `Recognition`); the
34
+ `metadata` value on `ModalityToken`; and `PolicyKind`
35
+
36
+ ### Changed
37
+
38
+ - Regenerated the API schema against the updated platform handlers
39
+ - **Breaking:** the `File` resource is now `Document`. The `files` service is
40
+ `documents` (`nvisy.documents`); its endpoints moved from
41
+ `/workspaces/{workspaceId}/files/…` to `/workspaces/{workspaceId}/documents/…`;
42
+ methods are
43
+ renamed (`uploadFiles` → `uploadDocuments`, `listFiles` → `listDocuments`,
44
+ `getFile` → `getDocument`, `downloadFile` → `downloadDocument`, `updateFile` →
45
+ `updateDocument`, `deleteFile` → `deleteDocument`, `deleteFiles` →
46
+ `deleteDocuments`); the bulk-delete body is `{ documentIds }`; and the
47
+ datatypes are renamed (`File` → `WorkspaceDocument`, `FileKind` →
48
+ `DocumentKind`, etc.)
49
+ - **Breaking:** most workspace resource datatypes gained a `Workspace` prefix
50
+ (e.g. `Connection` → `WorkspaceConnection`, `Detection` → `WorkspaceDetection`,
51
+ `Invite` → `WorkspaceInvite`, `Pipeline` → `WorkspacePipeline`, `Policy` →
52
+ `WorkspacePolicy`, `Provider` → `WorkspaceProvider`, `Webhook` →
53
+ `WorkspaceWebhook`, `Member` → `WorkspaceMember`, and their `Create*` /
54
+ `Update*` / `*Page` / `*Query` variants); account-scoped types gained an
55
+ `Account` prefix (`ApiToken` → `AccountApiToken`, `Notification` →
56
+ `AccountNotification`, `DesktopToken` → `AccountDesktopToken`). Service class
57
+ and method names keep their short form
58
+ - **Breaking:** the `catalog` service is now `capabilities` (`nvisy.capabilities`),
59
+ reading from `/capabilities/*`; `ConnectorCatalog` → `ConnectorCapabilities`
60
+ - **Breaking:** the `SortOrder` enum (`asc` / `desc`) is now `Direction`
61
+ (`ascending` / `descending`)
62
+ - **Breaking:** path parameters are now ids rather than slugs/usernames, and
63
+ the corresponding method arguments are renamed to match: `workspaceSlug` →
64
+ `workspaceId`, the account/member `username` → `accountId`, `pipelineSlug` →
65
+ `pipelineId`, `policySlug` → `policyId`
66
+
67
+ ### Removed
68
+
69
+ - **Breaking:** the `chat` service and its datatypes (`ChatSession`,
70
+ `ChatMessage`, `ChatRole`, `ChatToken`, `SendChatMessage`, `CreateChatSession`)
71
+ - **Breaking:** the `assignments` service and its datatypes (added in 0.50.0) —
72
+ superseded by document review on the documents service
73
+
74
+ ## [0.50.0] - 2026-09-11
75
+
76
+ ### Added
77
+
78
+ - `nvisy.assignments` service for assigning files to reviewers and tracking
79
+ review status (`assigned` / `in_review` / `done`): `listFileAssignments`,
80
+ `createAssignment`, `listAssignments`, `updateAssignment`, `deleteAssignment`
81
+ - Assignment datatypes (`Assignment`, `CreateAssignment`, `UpdateAssignment`,
82
+ `AssignmentPage`, `AssignmentStatus`, `WorkspaceAssignmentsQuery`) and the
83
+ `FileAssignedParams` / `FileUnassignedParams` notification payloads
84
+
85
+ ### Changed
86
+
87
+ - Regenerated the API schema against the updated platform handlers
88
+
89
+ ### Removed
90
+
91
+ - **Breaking:** `ErrorResponse` no longer carries `suggestion` or `validation`,
92
+ and the `ValidationErrorDetail` datatype is removed. `NvisyApiError` drops its
93
+ `suggestion` and `validation` properties accordingly
94
+ - **Breaking:** the `MemberInvitedParams` notification-payload datatype
95
+
11
96
  ## [0.49.0] - 2026-09-09
12
97
 
13
98
  ### Added
@@ -1024,7 +1109,9 @@ redaction an independent resource. This release renames the SDK to match.
1024
1109
  - Network error handling for timeouts, DNS resolution, and connection issues
1025
1110
  - Configuration validation with detailed error messages
1026
1111
 
1027
- [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.49.0...HEAD
1112
+ [Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.51.0...HEAD
1113
+ [0.51.0]: https://github.com/nvisycom/sdk-ts/compare/v0.50.0...v0.51.0
1114
+ [0.50.0]: https://github.com/nvisycom/sdk-ts/compare/v0.49.0...v0.50.0
1028
1115
  [0.49.0]: https://github.com/nvisycom/sdk-ts/compare/v0.48.0...v0.49.0
1029
1116
  [0.48.0]: https://github.com/nvisycom/sdk-ts/compare/v0.47.0...v0.48.0
1030
1117
  [0.47.0]: https://github.com/nvisycom/sdk-ts/compare/v0.46.0...v0.47.0