@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 +88 -1
- package/dist/{client-BEpBVGGP.d.ts → client-SotZfT6b.d.ts} +354 -299
- package/dist/client-SotZfT6b.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-DNeyT0Z7.js → error-DTQ8nnQc.js} +3 -3
- package/dist/{error-DNeyT0Z7.js.map → error-DTQ8nnQc.js.map} +1 -1
- package/dist/{errors-DzQz1HIR.d.ts → errors-ClHc4LMK.d.ts} +2 -12
- package/dist/errors-ClHc4LMK.d.ts.map +1 -0
- package/dist/{errors-BOLD8iC1.js → errors-D2J3LbE-.js} +2 -16
- package/dist/errors-D2J3LbE-.js.map +1 -0
- package/dist/{index-CNUnM9QG.d.ts → index-BxYFvgTy.d.ts} +12471 -9723
- package/dist/index-BxYFvgTy.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +16 -15
- package/dist/index.js.map +1 -1
- package/dist/services/index.d.ts +2 -2
- package/dist/services/index.js +2 -2
- package/dist/{services-COhgjbsy.js → services-CFFmQDgA.js} +657 -547
- package/dist/services-CFFmQDgA.js.map +1 -0
- package/dist/standalone/index.d.ts +1 -1
- package/dist/standalone/index.js +1 -1
- package/dist/webhooks/index.d.ts +2 -2
- package/dist/webhooks/index.js +1 -1
- package/package.json +1 -1
- package/dist/client-BEpBVGGP.d.ts.map +0 -1
- package/dist/errors-BOLD8iC1.js.map +0 -1
- package/dist/errors-DzQz1HIR.d.ts.map +0 -1
- package/dist/index-CNUnM9QG.d.ts.map +0 -1
- package/dist/services-COhgjbsy.js.map +0 -1
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.
|
|
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
|