@nvisy/sdk 0.31.0 → 0.33.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 +55 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/{client-DWiS0wu7.d.ts → client-CULULKFQ.d.ts} +123 -16
- package/dist/client-CULULKFQ.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{errors-C9iizEYH.d.ts → errors-BZvRatQn.d.ts} +2 -2
- package/dist/{errors-C9iizEYH.d.ts.map → errors-BZvRatQn.d.ts.map} +1 -1
- package/dist/{index-DnLNkzKf.d.ts → index-0_K3HaXB.d.ts} +2057 -725
- package/dist/index-0_K3HaXB.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +13 -1
- 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-CcdXk5hx.js → services-CTpA4P73.js} +237 -82
- package/dist/services-CTpA4P73.js.map +1 -0
- package/dist/webhooks/index.d.ts +2 -2
- package/package.json +5 -5
- package/dist/client-DWiS0wu7.d.ts.map +0 -1
- package/dist/index-DnLNkzKf.d.ts.map +0 -1
- package/dist/services-CcdXk5hx.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,58 @@ and this project adheres to
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.33.0] - 2026-08-18
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `ActivityListQuery` and `ActivityType` datatypes. `activities.listActivities()`
|
|
16
|
+
now accepts the feed's filters (`type`, `actor`, `from`, `to`) alongside
|
|
17
|
+
pagination (`limit`, `after`, `includeCount`); `type` is an `ActivityType[]`
|
|
18
|
+
and is also usable on `activities.exportActivities()`
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Regenerated the API schema against the updated platform handlers
|
|
23
|
+
- **Breaking:** `activities.listActivities()` now takes an `ActivityListQuery`
|
|
24
|
+
(filters + pagination) rather than a plain cursor-pagination object
|
|
25
|
+
|
|
26
|
+
### Removed
|
|
27
|
+
|
|
28
|
+
- **Breaking:** the `SystemAnnouncementParams` and `SystemReportParams`
|
|
29
|
+
notification-payload datatypes; the platform no longer emits the
|
|
30
|
+
`system:announcement` / `system:report` notification variants
|
|
31
|
+
|
|
32
|
+
## [0.32.0] - 2026-08-18
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- `chat` service for the workspace assistant: `listSessions`, `createSession`,
|
|
37
|
+
`deleteSession`, `listMessages`, `streamMessage` (streams the reply as typed
|
|
38
|
+
`ChatToken` deltas over SSE), and `sendMessage` for the raw response
|
|
39
|
+
- `analytics` service: `getAnalytics` (`WorkspaceAnalytics`) and
|
|
40
|
+
`getRunTimeSeries` (`RunTimeSeries`)
|
|
41
|
+
- `activities.exportActivities()` to export the activity log over a date window
|
|
42
|
+
as a downloadable file
|
|
43
|
+
- Chat datatypes (`ChatSession`, `ChatSessionPage`, `CreateChatSession`,
|
|
44
|
+
`ChatMessage`, `ChatRole`, `SendChatMessage`, `ChatToken`), analytics
|
|
45
|
+
datatypes (`WorkspaceAnalytics`, `StorageAnalytics`, `RunAnalytics`,
|
|
46
|
+
`UsageAnalytics`, `RunTimeSeries`, and their entries plus `Usage`,
|
|
47
|
+
`UsageReport`, `TokenCounts`, `ModelUsage`, `ProviderType`, `RecognizerId`),
|
|
48
|
+
export datatypes (`ExportFormat`, `ExportQuery`, `DateWindow`,
|
|
49
|
+
`ActivityExportQuery`)
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
- Regenerated the API schema against the updated platform handlers
|
|
54
|
+
- Schema generation now passes `--default-non-nullable false`, so a schema
|
|
55
|
+
field that carries a `default` (e.g. `CursorPagination.includeCount`,
|
|
56
|
+
`Login.rememberMe`) is typed as optional instead of required. Callers can
|
|
57
|
+
omit these fields, e.g. `listPolicies(slug, { limit: 20 })`
|
|
58
|
+
- **Breaking:** `runs.downloadAuditJson()` and `runs.downloadAuditCsv()` are
|
|
59
|
+
replaced by a single `runs.downloadAudit(workspaceSlug, runId, { format })`,
|
|
60
|
+
where `format` is `csv` (default) or `json`, matching the merged
|
|
61
|
+
`GET /runs/{runId}/audit` endpoint
|
|
62
|
+
|
|
11
63
|
## [0.31.0] - 2026-08-18
|
|
12
64
|
|
|
13
65
|
### Added
|
|
@@ -635,7 +687,9 @@ and this project adheres to
|
|
|
635
687
|
- Network error handling for timeouts, DNS resolution, and connection issues
|
|
636
688
|
- Configuration validation with detailed error messages
|
|
637
689
|
|
|
638
|
-
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.
|
|
690
|
+
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.33.0...HEAD
|
|
691
|
+
[0.33.0]: https://github.com/nvisycom/sdk-ts/compare/v0.32.0...v0.33.0
|
|
692
|
+
[0.32.0]: https://github.com/nvisycom/sdk-ts/compare/v0.31.0...v0.32.0
|
|
639
693
|
[0.31.0]: https://github.com/nvisycom/sdk-ts/compare/v0.30.0...v0.31.0
|
|
640
694
|
[0.30.0]: https://github.com/nvisycom/sdk-ts/compare/v0.29.0...v0.30.0
|
|
641
695
|
[0.29.0]: https://github.com/nvisycom/sdk-ts/compare/v0.28.0...v0.29.0
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ClientConfig } from "../config-BwallLvT.js";
|
|
2
|
-
import {
|
|
2
|
+
import { cr as Signup, or as AuthToken, sr as Login } from "../index-0_K3HaXB.js";
|
|
3
3
|
//#region src/auth/config.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Configuration options for standalone authentication functions.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ClientConfig } from "./config-BwallLvT.js";
|
|
2
|
-
import { $n as
|
|
2
|
+
import { $n as ChatSessionPage, $t as GenerateInviteCode, A as CreatePipelineRun, At as CursorPagination, Bt as NotificationSettings, Cn as ExportQuery, Dt as PipelineSummaryPage, Gi as Account$1, Gt as UnreadStatus, H as CreatePolicy, Hn as SyncConnection, In as CreateConnection, Jt as Member, Kt as UpdateNotificationSettings, L as RunStatusEvent, M as PipelineRunPage, Mi as ActivityListQuery, Mn as ConnectionSync, Ni as ActivityPage, Nn as ConnectionSyncPage, Nt as MarkedReadStatus, On as Connection, P as PipelineRunsQuery, Pn as ConnectionVerification, Qn as ChatSession, Qt as CreateInvite, Rt as NotificationPage, Si as RunTimeSeries, St as Pipeline, Tt as PipelineStatus, Wt as UnreadCountEvent, Xi as UpdateAccount, Xn as ChatMessage, Yi as PublicAccount, Yn as UpdateConnection, Yt as MemberPage, Zi as paths, Zt as UpdateMember, an as InviteSent, bn as UpdateFile, c as WorkspacePage, ci as ApiToken, cn as ListInvites, cr as Signup, d as CreateWebhook, di as ApiTokenWithJWT, dt as PolicySummaryPage, er as ChatToken, f as TestWebhook, fi as CreateApiToken, fn as Health, gn as FilePage, h as WebhookCreated, in as InvitePreview, ir as RecognizerCatalog, j as PipelineRun, ji as ActivityExportQuery, jn as ConnectionPage, k as Audit, ki as WorkspaceAnalytics, kt as UpdatePipeline, li as ApiTokenPage, ln as ReplyInvite, m as Webhook, mi as UpdateApiToken, mn as File, nr as SendChatMessage, o as UpdateWorkspace, or as AuthToken, ot as Policy, p as UpdateWebhook, qn as SyncStatus, qt as ListMembers, rn as InvitePage, rr as LabelCatalog, s as Workspace, sr as Login, t as CreateWorkspace, tn as InviteCode, tr as CreateChatSession, v as WebhookPage, vn as ListFiles, xn as DateWindow, xt as CreatePipeline, y as WebhookResult, yt as UpdatePolicy } from "./index-0_K3HaXB.js";
|
|
3
3
|
import { Client } from "openapi-fetch";
|
|
4
4
|
//#region src/services/account.d.ts
|
|
5
5
|
/**
|
|
@@ -61,11 +61,44 @@ declare class Activities {
|
|
|
61
61
|
/**
|
|
62
62
|
* List activities for a workspace
|
|
63
63
|
* @param workspaceSlug - Workspace slug
|
|
64
|
-
* @param query - Optional pagination
|
|
64
|
+
* @param query - Optional filters and pagination (type, actor, from, to,
|
|
65
|
+
* limit, after, includeCount)
|
|
65
66
|
* @returns Promise that resolves with a paginated list of activities
|
|
66
67
|
* @throws {ApiError} if the request fails
|
|
67
68
|
*/
|
|
68
|
-
listActivities(workspaceSlug: string, query?:
|
|
69
|
+
listActivities(workspaceSlug: string, query?: ActivityListQuery): Promise<ActivityPage>;
|
|
70
|
+
/**
|
|
71
|
+
* Export the workspace's activity log over a date window as a file.
|
|
72
|
+
* @param workspaceSlug - Workspace slug
|
|
73
|
+
* @param query - Optional date window and output format (`csv` default, or `json`)
|
|
74
|
+
* @returns Promise that resolves with the file response
|
|
75
|
+
* @throws {ApiError} if the request fails
|
|
76
|
+
*/
|
|
77
|
+
exportActivities(workspaceSlug: string, query?: ActivityExportQuery): Promise<Response>;
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/services/analytics.d.ts
|
|
81
|
+
/**
|
|
82
|
+
* Service for workspace analytics: aggregate totals and run time series.
|
|
83
|
+
*/
|
|
84
|
+
declare class Analytics {
|
|
85
|
+
#private;
|
|
86
|
+
constructor(api: ApiClient);
|
|
87
|
+
/**
|
|
88
|
+
* Get aggregate analytics for a workspace: storage, run health, and usage.
|
|
89
|
+
* @param workspaceSlug - Workspace slug
|
|
90
|
+
* @returns Promise that resolves with the workspace analytics
|
|
91
|
+
* @throws {ApiError} if the request fails
|
|
92
|
+
*/
|
|
93
|
+
getAnalytics(workspaceSlug: string): Promise<WorkspaceAnalytics>;
|
|
94
|
+
/**
|
|
95
|
+
* Get a workspace's daily pipeline-run activity over a date window.
|
|
96
|
+
* @param workspaceSlug - Workspace slug
|
|
97
|
+
* @param query - Optional date window (`from` / `to`, YYYY-MM-DD)
|
|
98
|
+
* @returns Promise that resolves with the run time series
|
|
99
|
+
* @throws {ApiError} if the request fails
|
|
100
|
+
*/
|
|
101
|
+
getRunTimeSeries(workspaceSlug: string, query?: DateWindow): Promise<RunTimeSeries>;
|
|
69
102
|
}
|
|
70
103
|
//#endregion
|
|
71
104
|
//#region src/services/api-tokens.d.ts
|
|
@@ -162,6 +195,76 @@ declare class Catalog {
|
|
|
162
195
|
listRecognizers(): Promise<RecognizerCatalog>;
|
|
163
196
|
}
|
|
164
197
|
//#endregion
|
|
198
|
+
//#region src/services/chat.d.ts
|
|
199
|
+
/**
|
|
200
|
+
* Service for the workspace assistant chat: sessions and streamed messages.
|
|
201
|
+
*/
|
|
202
|
+
declare class Chat {
|
|
203
|
+
#private;
|
|
204
|
+
constructor(api: ApiClient);
|
|
205
|
+
/**
|
|
206
|
+
* List the workspace's chat sessions, most recently active first.
|
|
207
|
+
* @param workspaceSlug - Workspace slug
|
|
208
|
+
* @param query - Optional pagination (limit, after)
|
|
209
|
+
* @returns Promise that resolves with a paginated list of chat sessions
|
|
210
|
+
* @throws {ApiError} if the request fails
|
|
211
|
+
*/
|
|
212
|
+
listSessions(workspaceSlug: string, query?: CursorPagination): Promise<ChatSessionPage>;
|
|
213
|
+
/**
|
|
214
|
+
* Open a new assistant chat session in the workspace.
|
|
215
|
+
* @param workspaceSlug - Workspace slug
|
|
216
|
+
* @param session - Session creation request
|
|
217
|
+
* @returns Promise that resolves with the created chat session
|
|
218
|
+
* @throws {ApiError} if the request fails
|
|
219
|
+
*/
|
|
220
|
+
createSession(workspaceSlug: string, session: CreateChatSession): Promise<ChatSession>;
|
|
221
|
+
/**
|
|
222
|
+
* Soft-delete a chat session.
|
|
223
|
+
* @param workspaceSlug - Workspace slug
|
|
224
|
+
* @param sessionId - Session ID
|
|
225
|
+
* @throws {ApiError} if the request fails
|
|
226
|
+
*/
|
|
227
|
+
deleteSession(workspaceSlug: string, sessionId: string): Promise<void>;
|
|
228
|
+
/**
|
|
229
|
+
* List a session's messages in chronological order.
|
|
230
|
+
* @param workspaceSlug - Workspace slug
|
|
231
|
+
* @param sessionId - Session ID
|
|
232
|
+
* @returns Promise that resolves with the session's messages
|
|
233
|
+
* @throws {ApiError} if the request fails
|
|
234
|
+
*/
|
|
235
|
+
listMessages(workspaceSlug: string, sessionId: string): Promise<ChatMessage[]>;
|
|
236
|
+
/**
|
|
237
|
+
* Open the raw Server-Sent Events stream of the assistant's reply.
|
|
238
|
+
*
|
|
239
|
+
* Returns the underlying `Response` so callers can handle the
|
|
240
|
+
* `text/event-stream` body themselves. Most callers want
|
|
241
|
+
* {@link streamMessage}, which parses each frame into a typed
|
|
242
|
+
* {@link ChatToken}.
|
|
243
|
+
*
|
|
244
|
+
* @param workspaceSlug - Workspace slug
|
|
245
|
+
* @param sessionId - Session ID
|
|
246
|
+
* @param message - The message to send
|
|
247
|
+
* @returns Promise that resolves with the event-stream response
|
|
248
|
+
* @throws {ApiError} if the request fails
|
|
249
|
+
*/
|
|
250
|
+
sendMessage(workspaceSlug: string, sessionId: string, message: SendChatMessage): Promise<Response>;
|
|
251
|
+
/**
|
|
252
|
+
* Send a message and stream the assistant's reply as Server-Sent Events.
|
|
253
|
+
*
|
|
254
|
+
* Yields each {@link ChatToken} delta as it arrives, until the reply ends.
|
|
255
|
+
* Break out of the loop to stop reading. For the raw response, use
|
|
256
|
+
* {@link sendMessage}.
|
|
257
|
+
*
|
|
258
|
+
* @param workspaceSlug - Workspace slug
|
|
259
|
+
* @param sessionId - Session ID
|
|
260
|
+
* @param message - The message to send
|
|
261
|
+
* @yields each {@link ChatToken} delta as it arrives
|
|
262
|
+
* @throws {ApiError} if the request fails to open
|
|
263
|
+
* @throws {NvisyError} if the response has no readable body
|
|
264
|
+
*/
|
|
265
|
+
streamMessage(workspaceSlug: string, sessionId: string, message: SendChatMessage): AsyncGenerator<ChatToken>;
|
|
266
|
+
}
|
|
267
|
+
//#endregion
|
|
165
268
|
//#region src/services/connections.d.ts
|
|
166
269
|
/**
|
|
167
270
|
* Service for handling connection operations
|
|
@@ -609,22 +712,18 @@ declare class Runs {
|
|
|
609
712
|
*/
|
|
610
713
|
getDetections(workspaceSlug: string, runId: string): Promise<Audit>;
|
|
611
714
|
/**
|
|
612
|
-
* Download a run's audit as a
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
*
|
|
616
|
-
*
|
|
617
|
-
*/
|
|
618
|
-
downloadAuditJson(workspaceSlug: string, runId: string): Promise<Response>;
|
|
619
|
-
/**
|
|
620
|
-
* Download a run's audit as a zip of entities.csv, provenance.csv, and
|
|
621
|
-
* reviews.csv
|
|
715
|
+
* Download a run's audit as a file.
|
|
716
|
+
*
|
|
717
|
+
* `format` is `csv` (default) — a zip of entities.csv, provenance.csv, and
|
|
718
|
+
* reviews.csv — or `json`, a pretty-printed JSON file.
|
|
719
|
+
*
|
|
622
720
|
* @param workspaceSlug - Workspace slug
|
|
623
721
|
* @param runId - Run ID
|
|
722
|
+
* @param query - Optional output format (`csv` default, or `json`)
|
|
624
723
|
* @returns Promise that resolves with the file response
|
|
625
724
|
* @throws {ApiError} if the request fails
|
|
626
725
|
*/
|
|
627
|
-
|
|
726
|
+
downloadAudit(workspaceSlug: string, runId: string, query?: ExportQuery): Promise<Response>;
|
|
628
727
|
/**
|
|
629
728
|
* Open the raw Server-Sent Events stream of a run's status changes.
|
|
630
729
|
*
|
|
@@ -956,6 +1055,14 @@ declare class Nvisy {
|
|
|
956
1055
|
* Service for viewing workspace activities.
|
|
957
1056
|
*/
|
|
958
1057
|
get activities(): Activities;
|
|
1058
|
+
/**
|
|
1059
|
+
* Service for workspace analytics.
|
|
1060
|
+
*/
|
|
1061
|
+
get analytics(): Analytics;
|
|
1062
|
+
/**
|
|
1063
|
+
* Service for the workspace assistant chat.
|
|
1064
|
+
*/
|
|
1065
|
+
get chat(): Chat;
|
|
959
1066
|
/**
|
|
960
1067
|
* Service for managing API tokens.
|
|
961
1068
|
*/
|
|
@@ -1010,5 +1117,5 @@ declare class Nvisy {
|
|
|
1010
1117
|
get workspaces(): Workspaces;
|
|
1011
1118
|
}
|
|
1012
1119
|
//#endregion
|
|
1013
|
-
export {
|
|
1014
|
-
//# sourceMappingURL=client-
|
|
1120
|
+
export { Auth as _, Syncs as a, Activities as b, Policies as c, Members as d, Invites as f, Catalog as g, Chat as h, Webhooks as i, Pipelines as l, Connections as m, Nvisy as n, Status as o, Files as p, Workspaces as r, Runs as s, ApiClient as t, Notifications as u, ApiTokens as v, Account as x, Analytics as y };
|
|
1121
|
+
//# sourceMappingURL=client-CULULKFQ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-CULULKFQ.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/catalog.ts","../src/services/chat.ts","../src/services/connections.ts","../src/services/files.ts","../src/services/invites.ts","../src/services/members.ts","../src/services/notifications.ts","../src/services/pipelines.ts","../src/services/policies.ts","../src/services/runs.ts","../src/services/status.ts","../src/services/syncs.ts","../src/services/webhooks.ts","../src/services/workspaces.ts","../src/client.ts"],"mappings":";;;;;;;cAUa;;EAGA,YAAA,KAAK;;;;;;EASX,cAAc,QAAQ;;;;;;;EAWtB,cAAc,SAAS,gBAAgB,QAAQ;;;;;;EAY/C,iBAAiB;;;;;;;EAUjB,iBAAiB,mBAAmB,QAAQ;;;;;;;;EAc5C,aAAa,kBAAkB,QAAQ,OAAO,QAAQ;;;;;;;EAsBtD,aAAa,mBAAmB;;;;;;;cCjF1B;;EAGA,YAAA,KAAK;;;;;;;;;EAYX,eACL,uBACA,QAAQ,oBACN,QAAQ;;;;;;;;EAiBL,iBACL,uBACA,QAAQ,sBACN,QAAQ;;;;;;;cCtCC;;EAGA,YAAA,KAAK;;;;;;;EAUX,aAAa,wBAAwB,QAAQ;;;;;;;;EAiB7C,iBACL,uBACA,QAAQ,aACN,QAAQ;;;;;;;cC9BC;;EAGA,YAAA,KAAK;;;;;;;EAUX,cAAc,QAAQ,mBAAmB,QAAQ;;;;;;;EAajD,YAAY,k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W,uBAAuB,oBAAoB,QAAQ;;;;;;;;;EAkB9D,cACL,uBACA,mBACA,SAAS,gBACP,QAAQ;;;;;;;;EAkBL,cAAc,uBAAuB,oBAAoB;;;;;;;;;EAiBzD,YACL,uBACA,mBACA,UAAU,cACR,QAAQ;;;;;;;cCrHC;;EAGA,YAAA,KAAK;;;;;;;EAUX,eAAe,QAAQ,mBAAmB,QAAQ;;;;;;;EAalD,aAAa,wBAAwB,QAAQ;;;;;;;EAa7C,gBAAgB,WAAW,kBAAkB,QAAQ;;;;;;;;EAcrD,gBACL,uBACA,SAAS,kBACP,QAAQ;;;;;;;EAcL,gBAAgB,wBAAwB;;;;;;;EAYxC,wBACL,wBACE,QAAQ;;;;;;;;EAiBL,2BACL,uBACA,UAAU,6BACR,QAAQ;;;;;;;;EAkBL,aAAa,uBAAuB,QAAQ,OAAO;;;;;;;EAqBnD,aAAa,wBAAwB;;;;;;;;;;KC1GhC,YAAY,OAAc;;;;;;;;;;;cAsBzB;;;;;;;;;;;;;;;;;EA4BA,YAAA,QAAQ;;;;;;;;;;;;;;;;;;;;;EAyFpB,aAAa,mBAAmB;;;;;;MAS5B;;;;;;;;;MAYA,OAAO;;;;MAOP,QAAQ;;;;MAOR,UAAU;;;;MAOV,WAAW;;;;MAOX,cAAc;;;;MAOd,aAAa;;;;MAOb,QAAQ;;;;MAOR,aAAa;;;;MAOb,eAAe;;;;MAOf,SAAS;;;;MAOT,aAAa;;;;MAOb,YAAY;;;;MAOZ,WAAW;;;;MAOX,WAAW;;;;MAOX,WAAW;;;;MAOX,iBAAiB;;;;MAOjB,QAAQ;;;;MAOR,SAAS;;;;MAOT,YAAY;;;;MAOZ,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as LabelRef, $n as
|
|
2
|
-
export type { Account, AccountRef, Activity, ActivityPage, ActivityPayload, AnthropicCredentials, ApiToken, ApiTokenPage, ApiTokenType, ApiTokenWithJWT, Attribution, AttributionKind, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEntity, AudioEntityRecord, AudioHint, AudioLocation, AudioRedaction, Audit, AuditContext, AuditHash, AuthToken, AzureCredentials, BoundingBox, Category, ClampBucket, Color, ComponentHealth, Confidence, ConfidenceThreshold, Connection, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionPage, ConnectionSync, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionSyncPage, ConnectionVerification, ConnectionsQuery, CountryCode, CreateApiToken, CreateConnection, CreateInvite, CreatePipeline, CreatePipelineRun, CreatePolicy, CreateWebhook, CreateWorkspace, CursorPagination, DateGranularity, DateStyle, Dimensions, Dpi, EntityCoRef, EntityGroup, ErrorResponse, File, FileActivityParams, FileKind, FilePage, FormatToken, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEntity, ImageEntityRecord, ImageHint, ImageLocation, ImageRedaction, Invite, InviteActivityParams, InviteCode, InviteExpiration, InvitePage, InvitePreview, InviteSent, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, LeakProfile, ListFiles, ListInvites, ListMembers, LlmConfig, LocalizedText, Login, MarkedReadStatus, Member, MemberActivityParams, MemberInvitedParams, MemberJoinedParams, MemberPage, MemberSortField, ModalityRedactions, ModalityToken, ModelEvent, Notification, NotificationEvent, NotificationPage, NotificationPayload, NotificationSettings, OcrPolicy, OpenAiCredentials, OperatorId, PasswordChange, PatternEvent, PciDssPart, PciPanRender, Pipeline, PipelineActivityParams, PipelineDefinition, PipelineFilter, PipelineRun, PipelineRunActivityParams, PipelineRunAnalyzedParams, PipelineRunCompletedParams, PipelineRunFailedParams, PipelineRunPage, PipelineRunStatus, PipelineRunsQuery, PipelineStatus, PipelineSummary, PipelineSummaryPage, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDefinition, PolicyDraft, PolicyRule, PolicySummary, PolicySummaryPage, PolicyTemplate, Polygon, Predicate, PublicAccount, RangeOfUint, RasterMode, RecognizerCatalog, RegisteredRecognizer, ReplyInvite, Retention, RetentionOverride, RetentionSettings, Review, RuleMatch, RunId, RunMetadata, RunStatusEvent, S3Credentials, ScopeMetadata, ScopeParams, Sha2Algorithm, Signup, SortOrder, SourceRef, StorageConfig, SyncConnection, SyncDeletionPolicy, SyncMode, SyncSchedule, SyncScheduleInput, SyncStatus, SyncTriggerType,
|
|
1
|
+
import { $ as LabelRef, $n as ChatSessionPage, $r as TextAuditEvent, $t as GenerateInviteCode, A as CreatePipelineRun, Ai as Activity, An as ConnectionId, Ar as ImageData, At as CursorPagination, B as Color, Bi as PipelineActivityParams, Bn as S3Credentials, Br as Polygon, Bt as NotificationSettings, C as Language, Ci as StorageAnalytics, Cn as ExportQuery, Cr as Dimensions, Ct as PipelineDefinition, D as ScopeMetadata, Di as UsageAnalytics, Dn as AzureCredentials, Dr as ImageAuditEvent, Dt as PipelineSummaryPage, E as Languages, Ei as Usage, En as AnthropicCredentials, Er as EntityGroup, Et as PipelineSummary, F as RunId, Fi as ActivityType, Fn as ConnectionsQuery, Fr as LeakProfile, Ft as MemberJoinedParams, G as GdprArticle9Treatment, Gi as Account, Gn as SyncSchedule, Gr as SourceRef, Gt as UnreadStatus, H as CreatePolicy, Hi as PolicyActivityParams, Hn as SyncConnection, Hr as RasterMode, Ht as PipelineRunCompletedParams, I as RunMetadata, Ii as ConnectionActivityParams, In as CreateConnection, Ir as ModelEvent, It as Notification, J as HipaaDeidMethod, Ji as PasswordChange, Jn as SyncTriggerType, Jr as TabularAuditLog, Jt as Member, K as GdprSensitiveScope, Ki as AccountRef, Kn as SyncScheduleInput, Kr as TabularAuditEvent, Kt as UpdateNotificationSettings, L as RunStatusEvent, Li as FileActivityParams, Ln as GcsCredentials, Lr as OperatorId, Lt as NotificationEvent, M as PipelineRunPage, Mi as ActivityListQuery, Mn as ConnectionSync, Mr as ImageEntityRecord, Mt as ConnectionSyncFailedParams, N as PipelineRunStatus, Ni as ActivityPage, Nn as ConnectionSyncPage, Nr as ImageHint, Nt as MarkedReadStatus, O as ScopeParams, Oi as UsageReport, On as Connection, Or as ImageAuditKind, Ot as PipelineTriggerType, P as PipelineRunsQuery, Pi as ActivityPayload, Pn as ConnectionVerification, Pr as ImageLocation, Pt as MemberInvitedParams, Q as LabelLocale, Qn as ChatSession, Qr as TabularLocation, Qt as CreateInvite, R as AudioRedaction, Ri as InviteActivityParams, Rn as LlmConfig, Rr as PatternEvent, Rt as NotificationPage, S as CountryCode, Si as RunTimeSeries, Sn as ExportFormat, Sr as Category, St as Pipeline, T as LanguageSpan, Ti as TokenCounts, Tn as ValidationErrorDetail, Tr as EntityCoRef, Tt as PipelineStatus, U as DateGranularity, Ui as WebhookActivityParams, Un as SyncDeletionPolicy, Ur as Review, Ut as PipelineRunFailedParams, V as ConfidenceThreshold, Vi as PipelineRunActivityParams, Vn as StorageConfig, Vr as RangeOfUint, Vt as PipelineRunAnalyzedParams, W as DateStyle, Wi as WorkspaceActivityParams, Wn as SyncMode, Wr as RuleMatch, Wt as UnreadCountEvent, X as Label, Xi as UpdateAccount, Xn as ChatMessage, Xr as TabularEntityRecord, Xt as MemberSortField, Y as ImageRedaction, Yi as PublicAccount, Yn as UpdateConnection, Yr as TabularEntity, Yt as MemberPage, Z as LabelEntry, Zn as ChatRole, Zr as TabularHint, Zt as UpdateMember, _ as WebhookId, _i as ProviderType, _n as FormatToken, _r as AudioHint, _t as TerminalFallback, a as RetentionSettings, ai as TextHint, an as InviteSent, ar as RegisteredRecognizer, at as PciPanRender, b as WebhookStatus, bi as RunDayEntry, bn as UpdateFile, br as AuditHash, bt as Waveform, c as WorkspacePage, ci as ApiToken, cn as ListInvites, cr as Signup, ct as PolicyDraft, d as CreateWebhook, di as ApiTokenWithJWT, dn as ComponentHealth, dr as AudioAuditEvent, dt as PolicySummaryPage, ei as TextAuditKind, en as Invite, er as ChatToken, et as LabelScope, f as TestWebhook, fi as CreateApiToken, fn as Health, fr as AudioAuditKind, ft as PolicyTemplate, g as WebhookEvent, gi as ModelUsageEntry, gn as FilePage, gr as AudioEntityRecord, gt as TemplateOrigin, h as WebhookCreated, hi as ModelUsage, hn as FileKind, hr as AudioEntity, ht as TabularRedaction, i as RetentionOverride, ii as TextEntityRecord, in as InvitePreview, ir as RecognizerCatalog, it as PciDssPart, j as PipelineRun, ji as ActivityExportQuery, jn as ConnectionPage, jr as ImageEntity, jt as ConnectionSyncCompletedParams, k as Audit, ki as WorkspaceAnalytics, kn as ConnectionConfig, kr as ImageAuditLog, kt as UpdatePipeline, l as WorkspaceRole, li as ApiTokenPage, ln as ReplyInvite, lr as Attribution, lt as PolicyRule, m as Webhook, mi as UpdateApiToken, mn as File, mr as AudioData, mt as Sha2Algorithm, n as OcrPolicy, ni as TextData, nn as InviteExpiration, nr as SendChatMessage, nt as LocalizedText, o as UpdateWorkspace, oi as TextLocation, on as InviteSortField, or as AuthToken, ot as Policy, p as UpdateWebhook, pi as TokenExpiration, pn as HealthStatus, pr as AudioAuditLog, pt as Predicate, q as HipaaAccountNumbers, qi as Handle, qn as SyncStatus, qr as TabularAuditKind, qt as ListMembers, r as Retention, ri as TextEntity, rn as InvitePage, rr as LabelCatalog, rt as ModalityRedactions, s as Workspace, si as TimeSpan, sn as InviteStatus, sr as Login, st as PolicyDefinition, t as CreateWorkspace, ti as TextAuditLog, tn as InviteCode, tr as CreateChatSession, tt as LanguageTag, u as WorkspaceSettings, ui as ApiTokenType, un as SortOrder, ur as AttributionKind, ut as PolicySummary, v as WebhookPage, vi as RecognizerId, vn as ListFiles, vr as AudioLocation, vt as TextRedaction, w as LanguageProvenance, wi as StorageKindEntry, wn as ErrorResponse, wr as Dpi, wt as PipelineFilter, x as Confidence, xi as RunStatusEntry, xn as DateWindow, xr as BoundingBox, xt as CreatePipeline, y as WebhookResult, yi as RunAnalytics, yn as ModalityToken, yr as AuditContext, yt as UpdatePolicy, z as ClampBucket, zi as MemberActivityParams, zn as OpenAiCredentials, zr as Point, zt as NotificationPayload } from "../index-0_K3HaXB.js";
|
|
2
|
+
export type { Account, AccountRef, Activity, ActivityExportQuery, ActivityListQuery, ActivityPage, ActivityPayload, ActivityType, AnthropicCredentials, ApiToken, ApiTokenPage, ApiTokenType, ApiTokenWithJWT, Attribution, AttributionKind, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEntity, AudioEntityRecord, AudioHint, AudioLocation, AudioRedaction, Audit, AuditContext, AuditHash, AuthToken, AzureCredentials, BoundingBox, Category, ChatMessage, ChatRole, ChatSession, ChatSessionPage, ChatToken, ClampBucket, Color, ComponentHealth, Confidence, ConfidenceThreshold, Connection, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionPage, ConnectionSync, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionSyncPage, ConnectionVerification, ConnectionsQuery, CountryCode, CreateApiToken, CreateChatSession, CreateConnection, CreateInvite, CreatePipeline, CreatePipelineRun, CreatePolicy, CreateWebhook, CreateWorkspace, CursorPagination, DateGranularity, DateStyle, DateWindow, Dimensions, Dpi, EntityCoRef, EntityGroup, ErrorResponse, ExportFormat, ExportQuery, File, FileActivityParams, FileKind, FilePage, FormatToken, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEntity, ImageEntityRecord, ImageHint, ImageLocation, ImageRedaction, Invite, InviteActivityParams, InviteCode, InviteExpiration, InvitePage, InvitePreview, InviteSent, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, LeakProfile, ListFiles, ListInvites, ListMembers, LlmConfig, LocalizedText, Login, MarkedReadStatus, Member, MemberActivityParams, MemberInvitedParams, MemberJoinedParams, MemberPage, MemberSortField, ModalityRedactions, ModalityToken, ModelEvent, ModelUsage, ModelUsageEntry, Notification, NotificationEvent, NotificationPage, NotificationPayload, NotificationSettings, OcrPolicy, OpenAiCredentials, OperatorId, PasswordChange, PatternEvent, PciDssPart, PciPanRender, Pipeline, PipelineActivityParams, PipelineDefinition, PipelineFilter, PipelineRun, PipelineRunActivityParams, PipelineRunAnalyzedParams, PipelineRunCompletedParams, PipelineRunFailedParams, PipelineRunPage, PipelineRunStatus, PipelineRunsQuery, PipelineStatus, PipelineSummary, PipelineSummaryPage, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDefinition, PolicyDraft, PolicyRule, PolicySummary, PolicySummaryPage, PolicyTemplate, Polygon, Predicate, ProviderType, PublicAccount, RangeOfUint, RasterMode, RecognizerCatalog, RecognizerId, RegisteredRecognizer, ReplyInvite, Retention, RetentionOverride, RetentionSettings, Review, RuleMatch, RunAnalytics, RunDayEntry, RunId, RunMetadata, RunStatusEntry, RunStatusEvent, RunTimeSeries, S3Credentials, ScopeMetadata, ScopeParams, SendChatMessage, Sha2Algorithm, Signup, SortOrder, SourceRef, StorageAnalytics, StorageConfig, StorageKindEntry, SyncConnection, SyncDeletionPolicy, SyncMode, SyncSchedule, SyncScheduleInput, SyncStatus, SyncTriggerType, TabularAuditEvent, TabularAuditKind, TabularAuditLog, TabularEntity, TabularEntityRecord, TabularHint, TabularLocation, TabularRedaction, TemplateOrigin, TerminalFallback, TestWebhook, TextAuditEvent, TextAuditKind, TextAuditLog, TextData, TextEntity, TextEntityRecord, TextHint, TextLocation, TextRedaction, TimeSpan, TokenCounts, TokenExpiration, UnreadCountEvent, UnreadStatus, UpdateAccount, UpdateApiToken, UpdateConnection, UpdateFile, UpdateMember, UpdateNotificationSettings, UpdatePipeline, UpdatePolicy, UpdateWebhook, UpdateWorkspace, Usage, UsageAnalytics, UsageReport, ValidationErrorDetail, Waveform, Webhook, WebhookActivityParams, WebhookCreated, WebhookEvent, WebhookId, WebhookPage, WebhookResult, WebhookStatus, Workspace, WorkspaceActivityParams, WorkspaceAnalytics, WorkspacePage, WorkspaceRole, WorkspaceSettings };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { wn as ErrorResponse } from "./index-0_K3HaXB.js";
|
|
2
2
|
//#region src/errors.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Base error class for all Nvisy SDK errors.
|
|
@@ -124,4 +124,4 @@ declare class NvisyApiError extends NvisyError implements ErrorResponse {
|
|
|
124
124
|
}
|
|
125
125
|
//#endregion
|
|
126
126
|
export { NvisyError as n, NvisyApiError as t };
|
|
127
|
-
//# sourceMappingURL=errors-
|
|
127
|
+
//# sourceMappingURL=errors-BZvRatQn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-BZvRatQn.d.ts","names":[],"sources":["../src/errors.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAgCa,mBAAmB;;;;WAIf;;;;;;EAOJ,YAAA;;;;;;;;;;;;;;;;;;;;;;;;cA4BA,sBAAsB,sBAAsB;;;;WAIxC;;;;WAKA;;;;;WAMA;;;;;WAMA;;;;;WAMA,aAAa;;;;WAKb;;;;;;;EAQJ,YAAA,UAAU,eAAe;;;;;;;;;EAkBrC;;;;;;;;;EAYA;;;;;;;;;EAYA;;;;;;;;EAeA,UAAU"}
|