@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 +90 -1
- package/dist/{client-ClO429Iv.d.ts → client-CSxuXX5e.d.ts} +377 -357
- package/dist/client-CSxuXX5e.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-DRb1GHg6.js → error-Bc6Sg_y-.js} +3 -3
- package/dist/{error-DRb1GHg6.js.map → error-Bc6Sg_y-.js.map} +1 -1
- package/dist/{errors-BoBDbzst.d.ts → errors-CcTfWeEE.d.ts} +2 -7
- package/dist/errors-CcTfWeEE.d.ts.map +1 -0
- package/dist/{errors-D2J3LbE-.js → errors-ChRSBkhj.js} +2 -9
- package/dist/errors-ChRSBkhj.js.map +1 -0
- package/dist/{index-QQU6h-4Y.d.ts → index-DmLbi0Gi.d.ts} +6656 -5203
- package/dist/index-DmLbi0Gi.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +16 -21
- 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-DUixyxF2.js → services-Bt15MerP.js} +715 -668
- package/dist/services-Bt15MerP.js.map +1 -0
- package/dist/standalone/index.d.ts +4 -13
- package/dist/standalone/index.d.ts.map +1 -1
- package/dist/standalone/index.js +6 -7
- package/dist/standalone/index.js.map +1 -1
- package/dist/webhooks/index.d.ts +2 -2
- package/dist/webhooks/index.js +1 -1
- package/package.json +3 -3
- package/dist/client-ClO429Iv.d.ts.map +0 -1
- package/dist/errors-BoBDbzst.d.ts.map +0 -1
- package/dist/errors-D2J3LbE-.js.map +0 -1
- package/dist/index-QQU6h-4Y.d.ts.map +0 -1
- package/dist/services-DUixyxF2.js.map +0 -1
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.
|
|
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
|