@nvisy/sdk 0.23.0 → 0.25.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 +50 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/{client-Bcrgt0DR.d.ts → client-JKhRcvSu.d.ts} +28 -4
- package/dist/client-JKhRcvSu.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{errors-Do0cMCGi.d.ts → errors-BXs-KAXs.d.ts} +2 -2
- package/dist/{errors-Do0cMCGi.d.ts.map → errors-BXs-KAXs.d.ts.map} +1 -1
- package/dist/{index-CqTBrR_Z.d.ts → index-Cijg5CMy.d.ts} +426 -49
- package/dist/{index-CqTBrR_Z.d.ts.map → index-Cijg5CMy.d.ts.map} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/{services-CcLCLGws.js → services-CcdXk5hx.js} +89 -58
- package/dist/services-CcdXk5hx.js.map +1 -0
- package/dist/webhooks/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/client-Bcrgt0DR.d.ts.map +0 -1
- package/dist/services-CcLCLGws.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,53 @@ and this project adheres to
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.25.0] - 2026-08-12
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `notifications.streamEvents()` streams the account's unread notification
|
|
16
|
+
count as Server-Sent Events (typed `UnreadCountEvent`), with
|
|
17
|
+
`notifications.events()` for the raw `text/event-stream` response
|
|
18
|
+
- `ActivityPayload` datatype, a discriminated union (on `activityType`)
|
|
19
|
+
carrying each event's data, plus its named variant types
|
|
20
|
+
(`WorkspaceActivityParams`, `MemberActivityParams`, `InviteActivityParams`,
|
|
21
|
+
`ConnectionActivityParams`, `PipelineActivityParams`,
|
|
22
|
+
`PipelineRunActivityParams`, `PolicyActivityParams`, `FileActivityParams`,
|
|
23
|
+
`WebhookActivityParams`)
|
|
24
|
+
- `UnreadCountEvent` and `RunMetadata` datatypes
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Regenerated the API schema against the updated platform handlers
|
|
29
|
+
- **Breaking:** the `Activity` datatype now carries a structured `payload`
|
|
30
|
+
(`ActivityPayload`) instead of a flat `activityType` enum. Read the event
|
|
31
|
+
type from `activity.payload.activityType`; the `ActivityType` datatype is
|
|
32
|
+
removed
|
|
33
|
+
- **Breaking:** renamed the run event-stream methods for a consistent SSE
|
|
34
|
+
surface across services — `runs.streamEventsResponse()` is now
|
|
35
|
+
`runs.events()` (raw response), and `runs.streamEvents()` keeps its name
|
|
36
|
+
(parsed events). Each service now exposes the same `events()` /
|
|
37
|
+
`streamEvents()` pair
|
|
38
|
+
|
|
39
|
+
## [0.24.0] - 2026-08-12
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- `NotificationPayload` datatype, a discriminated union (on `notifyType`)
|
|
44
|
+
carrying each event's data, plus its nine named variant types:
|
|
45
|
+
`MemberInvitedParams`, `MemberJoinedParams`, `ConnectionSyncCompletedParams`,
|
|
46
|
+
`ConnectionSyncFailedParams`, `PipelineRunAnalyzedParams`,
|
|
47
|
+
`PipelineRunCompletedParams`, `PipelineRunFailedParams`,
|
|
48
|
+
`SystemAnnouncementParams`, and `SystemReportParams`
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- Regenerated the API schema against the updated platform handlers
|
|
53
|
+
- **Breaking:** the `Notification` datatype now carries a structured `payload`
|
|
54
|
+
(`NotificationPayload`) instead of a flat `notifyType` enum. Read the event
|
|
55
|
+
type from `notification.payload.notifyType`; each variant's data (e.g.
|
|
56
|
+
`workspaceSlug`, `recordsSynced`, `runId`) hangs off the same object
|
|
57
|
+
|
|
11
58
|
## [0.23.0] - 2026-08-12
|
|
12
59
|
|
|
13
60
|
### Added
|
|
@@ -497,7 +544,9 @@ and this project adheres to
|
|
|
497
544
|
- Network error handling for timeouts, DNS resolution, and connection issues
|
|
498
545
|
- Configuration validation with detailed error messages
|
|
499
546
|
|
|
500
|
-
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.
|
|
547
|
+
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.25.0...HEAD
|
|
548
|
+
[0.25.0]: https://github.com/nvisycom/sdk-ts/compare/v0.24.0...v0.25.0
|
|
549
|
+
[0.24.0]: https://github.com/nvisycom/sdk-ts/compare/v0.23.0...v0.24.0
|
|
501
550
|
[0.23.0]: https://github.com/nvisycom/sdk-ts/compare/v0.22.0...v0.23.0
|
|
502
551
|
[0.22.0]: https://github.com/nvisycom/sdk-ts/compare/v0.21.0...v0.22.0
|
|
503
552
|
[0.21.0]: https://github.com/nvisycom/sdk-ts/compare/v0.20.0...v0.21.0
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ClientConfig } from "../config-BRQp8Cat.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Gn as AuthToken, Kn as Login, qn as Signup } from "../index-Cijg5CMy.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-BRQp8Cat.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $t as InvitePage, A as PipelineRun, B as CreatePolicy, Bt as UnreadCountEvent, Cn as ConnectionPage, Ct as UpdatePipeline, Dt as MarkedReadStatus, En as ConnectionVerification, F as RunStatusEvent, Gn as AuthToken, Gt as MemberPage, Hn as LabelCatalog, Ht as UpdateNotificationSettings, Jt as CreateInvite, Kn as Login, Kr as ApiTokenWithJWT, Mt as NotificationPage, N as PipelineRunsQuery, O as Audit, On as CreateConnection, Pn as SyncConnection, Pt as NotificationSettings, Tn as ConnectionSyncPage, Un as RecognizerCatalog, Ur as ApiToken, Ut as ListMembers, Vn as UpdateConnection, Vt as UnreadStatus, Wr as ApiTokenPage, Wt as Member, Yr as UpdateApiToken, Yt as GenerateInviteCode, Zr as ActivityPage, Zt as InviteCode, _ as WebhookPage, an as ReplyInvite, c as WorkspacePage, ci as Account$1, cn as Health, d as CreateWebhook, di as UpdateAccount, en as InvitePreview, f as TestWebhook, fi as paths, fn as FilePage, gn as UpdateFile, gt as Pipeline, h as WebhookCreated, ht as CreatePipeline, in as ListInvites, j as PipelineRunPage, k as CreatePipelineRun, m as Webhook, mn as ListFiles, nt as Policy, o as UpdateWorkspace, ot as PolicySummaryPage, p as UpdateWebhook, pt as UpdatePolicy, qn as Signup, qr as CreateApiToken, qt as UpdateMember, s as Workspace, t as CreateWorkspace, tn as InviteSent, ui as PublicAccount, un as File, v as WebhookResult, wn as ConnectionSync, wt as CursorPagination, xn as Connection, xt as PipelineSummaryPage, yt as PipelineStatus, zn as SyncStatus } from "./index-Cijg5CMy.js";
|
|
3
3
|
import { Client } from "openapi-fetch";
|
|
4
4
|
//#region src/services/account.d.ts
|
|
5
5
|
/**
|
|
@@ -426,6 +426,30 @@ declare class Notifications {
|
|
|
426
426
|
* @throws {ApiError} if the request fails
|
|
427
427
|
*/
|
|
428
428
|
markRead(notificationId: string): Promise<void>;
|
|
429
|
+
/**
|
|
430
|
+
* Open the raw Server-Sent Events stream of the account's unread count.
|
|
431
|
+
*
|
|
432
|
+
* Returns the underlying `Response` so callers can handle the
|
|
433
|
+
* `text/event-stream` body themselves. Most callers want
|
|
434
|
+
* {@link streamEvents}, which parses each frame into a typed
|
|
435
|
+
* {@link UnreadCountEvent}.
|
|
436
|
+
*
|
|
437
|
+
* @returns Promise that resolves with the event-stream response
|
|
438
|
+
* @throws {ApiError} if the request fails
|
|
439
|
+
*/
|
|
440
|
+
events(): Promise<Response>;
|
|
441
|
+
/**
|
|
442
|
+
* Stream the account's unread notification count as Server-Sent Events.
|
|
443
|
+
*
|
|
444
|
+
* Yields the current count immediately, then each change as notifications
|
|
445
|
+
* arrive or are marked read, until the client disconnects. Break out of the
|
|
446
|
+
* loop to close the stream. For the raw response, use {@link events}.
|
|
447
|
+
*
|
|
448
|
+
* @yields each {@link UnreadCountEvent} as it arrives
|
|
449
|
+
* @throws {ApiError} if the request fails to open
|
|
450
|
+
* @throws {NvisyError} if the response has no readable body
|
|
451
|
+
*/
|
|
452
|
+
streamEvents(): AsyncGenerator<UnreadCountEvent>;
|
|
429
453
|
}
|
|
430
454
|
//#endregion
|
|
431
455
|
//#region src/services/pipelines.d.ts
|
|
@@ -614,14 +638,14 @@ declare class Runs {
|
|
|
614
638
|
* @returns Promise that resolves with the event-stream response
|
|
615
639
|
* @throws {ApiError} if the request fails
|
|
616
640
|
*/
|
|
617
|
-
|
|
641
|
+
events(workspaceSlug: string, runId: string): Promise<Response>;
|
|
618
642
|
/**
|
|
619
643
|
* Stream a run's status changes as Server-Sent Events.
|
|
620
644
|
*
|
|
621
645
|
* Yields the current status immediately, then each transition, and ends
|
|
622
646
|
* once the run settles (analyzed, completed, failed, or cancelled). Break
|
|
623
647
|
* out of the loop to close the stream early. For the raw response, use
|
|
624
|
-
* {@link
|
|
648
|
+
* {@link events}.
|
|
625
649
|
*
|
|
626
650
|
* @param workspaceSlug - Workspace slug
|
|
627
651
|
* @param runId - Run ID
|
|
@@ -987,4 +1011,4 @@ declare class Nvisy {
|
|
|
987
1011
|
}
|
|
988
1012
|
//#endregion
|
|
989
1013
|
export { ApiTokens as _, Syncs as a, Policies as c, Members as d, Invites as f, Auth as g, Catalog 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, Activities as v, Account as y };
|
|
990
|
-
//# sourceMappingURL=client-
|
|
1014
|
+
//# sourceMappingURL=client-JKhRcvSu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-JKhRcvSu.d.ts","names":[],"sources":["../src/services/account.ts","../src/services/activities.ts","../src/services/api-tokens.ts","../src/services/auth.ts","../src/services/catalog.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;;;;;;;cCrF1B;;EAGA,YAAA,KAAK;;;;;;;;EAWX,eACL,uBACA,QAAQ,mBACN,QAAQ;;;;;;;cCVC;;EAGA,YAAA,KAAK;;;;;;;EAUX,cAAc,QAAQ,mBAAmB,QAAQ;;;;;;;EAajD,YAAY,kBAAkB,QAAQ;;;;;;;EAatC,eAAe,OAAO,iBAAiB,QAAQ;;;;;;;;EAc/C,eACL,iBACA,SAAS,iBACP,QAAQ;;;;;;;EAcL,eAAe,kBAAkB;;;;;;;cC7E3B;;EAGA,YAAA,KAAK;;;;;;;EAUX,aAAa,aAAa,QAAQ,QAAQ;;;;;;;EAa1C,cAAc,aAAa,SAAS,QAAQ;;;;;;EAY5C,iBAAiB;;;;;;;;cCrCX;;EAGA,YAAA,KAAK;;;;;EAQX,cAAc,QAAQ;;;;;EAStB,mBAAmB,QAAQ;;;;;;;cCdrB;;EAGA,YAAA,KAAK;;;;;;;;EAWX,gBACL,uBACA,QAAQ;IAAqB;MAC3B,QAAQ;;;;;;;;EAiBL,iBACL,uBACA,YAAY,mBACV,QAAQ;;;;;;;;EA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c;;;;MAOd,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
|
|
2
|
-
export type { Account, AccountRef, Activity, ActivityPage,
|
|
1
|
+
import { $ as ModalityRedactions, $n as AudioEventKind, $r as ConnectionActivityParams, $t as InvitePage, A as PipelineRun, An as LlmConfig, Ar as TabularEventKind, At as Notification, B as CreatePolicy, Bn as SyncTriggerType, Br as TextLocation, Bt as UnreadCountEvent, C as LanguageProvenance, Cn as ConnectionPage, Cr as Polygon, Ct as UpdatePipeline, D as ScopeParams, Dn as ConnectionsQuery, Dr as TabularEntity, Dt as MarkedReadStatus, E as ScopeMetadata, En as ConnectionVerification, Er as RuleMatch, Et as ConnectionSyncFailedParams, F as RunStatusEvent, Fn as SyncDeletionPolicy, Fr as TextEntity, Ft as PipelineRunAnalyzedParams, G as ImageRedaction, Gn as AuthToken, Gr as ApiTokenType, Gt as MemberPage, H as DateStyle, Hn as LabelCatalog, Hr as TimeSpan, Ht as UpdateNotificationSettings, I as AudioRedaction, In as SyncMode, Ir as TextEntityRecord, It as PipelineRunCompletedParams, J as LabelGroup, Jn as Attribution, Jr as TokenExpiration, Jt as CreateInvite, K as Label, Kn as Login, Kr as ApiTokenWithJWT, Kt as MemberSortField, L as ClampBucket, Ln as SyncSchedule, Lr as TextEvent, Lt as PipelineRunFailedParams, M as PipelineRunStatus, Mn as S3Credentials, Mr as TabularLocation, Mt as NotificationPage, N as PipelineRunsQuery, Nn as StorageConfig, Nr as TabularProvenance, Nt as NotificationPayload, O as Audit, On as CreateConnection, Or as TabularEntityRecord, Ot as MemberInvitedParams, P as RunMetadata, Pn as SyncConnection, Pr as TextData, Pt as NotificationSettings, Q as LocalizedText, Qn as AudioEvent, Qr as ActivityPayload, Qt as InviteExpiration, R as Color, Rn as SyncScheduleInput, Rr as TextEventKind, Rt as SystemAnnouncementParams, S as Language, Sn as ConnectionConfig, Sr as Point, St as PipelineTriggerType, T as Languages, Tn as ConnectionSyncPage, Tr as Review, Tt as ConnectionSyncCompletedParams, U as GdprArticle9Treatment, Un as RecognizerCatalog, Ur as ApiToken, Ut as ListMembers, V as DateGranularity, Vn as UpdateConnection, Vr as TextProvenance, Vt as UnreadStatus, W as HipaaDeidMethod, Wn as RegisteredRecognizer, Wr as ApiTokenPage, Wt as Member, X as Labels, Xn as AudioEntity, Xr as Activity, Xt as Invite, Y as LabelLocale, Yn as AudioData, Yr as UpdateApiToken, Yt as GenerateInviteCode, Z as LanguageTag, Zn as AudioEntityRecord, Zr as ActivityPage, Zt as InviteCode, _ as WebhookPage, _n as ErrorResponse, _r as LeakProfile, _t as PipelineDefinition, a as RetentionSettings, ai as PolicyActivityParams, an as ReplyInvite, ar as Dimensions, at as PolicySummary, b as Confidence, bn as AzureCredentials, br as OperatorId, bt as PipelineSummary, c as WorkspacePage, ci as Account, cn as Health, cr as EntityGroup, ct as Predicate, d as CreateWebhook, di as UpdateAccount, dn as FileKind, dr as ImageEntityRecord, dt as TerminalFallback, ei as FileActivityParams, en as InvitePreview, er as AudioHint, et as PciDssPart, f as TestWebhook, fn as FilePage, fr as ImageEvent, ft as TextRedaction, g as WebhookEvent, gn as UpdateFile, gr as ImageProvenance, gt as Pipeline, h as WebhookCreated, hn as ModalityToken, hr as ImageLocation, ht as CreatePipeline, i as RetentionOverride, ii as PipelineRunActivityParams, in as ListInvites, ir as BoundingBox, it as PolicyRule, j as PipelineRunPage, jn as OpenAiCredentials, jr as TabularHint, jt as NotificationEvent, k as CreatePipelineRun, kn as GcsCredentials, kr as TabularEvent, kt as MemberJoinedParams, l as WorkspaceRole, li as AccountRef, ln as HealthStatus, lr as ImageData, lt as Sha2Algorithm, m as Webhook, mn as ListFiles, mr as ImageHint, mt as Waveform, n as OcrPolicy, ni as MemberActivityParams, nn as InviteSortField, nr as AudioProvenance, nt as Policy, o as UpdateWorkspace, oi as WebhookActivityParams, on as SortOrder, or as Dpi, ot as PolicySummaryPage, p as UpdateWebhook, pn as FormatToken, pr as ImageEventKind, pt as UpdatePolicy, q as LabelEntry, qn as Signup, qr as CreateApiToken, qt as UpdateMember, r as Retention, ri as PipelineActivityParams, rn as InviteStatus, rr as AuditContext, rt as PolicyDefinition, s as Workspace, si as WorkspaceActivityParams, sn as ComponentHealth, sr as EntityCoRef, st as PolicyTemplate, t as CreateWorkspace, ti as InviteActivityParams, tn as InviteSent, tr as AudioLocation, tt as PciPanRender, u as WorkspaceSettings, ui as PublicAccount, un as File, ur as ImageEntity, ut as TabularRedaction, v as WebhookResult, vn as ValidationErrorDetail, vr as ModelEvent, vt as PipelineFilter, w as LanguageSpan, wn as ConnectionSync, wr as RangeOfUint, wt as CursorPagination, x as CountryCode, xn as Connection, xr as PatternEvent, xt as PipelineSummaryPage, y as WebhookStatus, yn as AnthropicCredentials, yr as OcrMode, yt as PipelineStatus, z as ConfidenceThreshold, zn as SyncStatus, zr as TextHint, zt as SystemReportParams } from "../index-Cijg5CMy.js";
|
|
2
|
+
export type { Account, AccountRef, Activity, ActivityPage, ActivityPayload, AnthropicCredentials, ApiToken, ApiTokenPage, ApiTokenType, ApiTokenWithJWT, Attribution, AudioData, AudioEntity, AudioEntityRecord, AudioEvent, AudioEventKind, AudioHint, AudioLocation, AudioProvenance, AudioRedaction, Audit, AuditContext, AuthToken, AzureCredentials, BoundingBox, ClampBucket, Color, ComponentHealth, Confidence, ConfidenceThreshold, Connection, ConnectionActivityParams, ConnectionConfig, 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, GenerateInviteCode, Health, HealthStatus, HipaaDeidMethod, ImageData, ImageEntity, ImageEntityRecord, ImageEvent, ImageEventKind, ImageHint, ImageLocation, ImageProvenance, ImageRedaction, Invite, InviteActivityParams, InviteCode, InviteExpiration, InvitePage, InvitePreview, InviteSent, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelGroup, LabelLocale, Labels, 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, OcrMode, OcrPolicy, OpenAiCredentials, OperatorId, PatternEvent, PciDssPart, PciPanRender, Pipeline, PipelineActivityParams, PipelineDefinition, PipelineFilter, PipelineRun, PipelineRunActivityParams, PipelineRunAnalyzedParams, PipelineRunCompletedParams, PipelineRunFailedParams, PipelineRunPage, PipelineRunStatus, PipelineRunsQuery, PipelineStatus, PipelineSummary, PipelineSummaryPage, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDefinition, PolicyRule, PolicySummary, PolicySummaryPage, PolicyTemplate, Polygon, Predicate, PublicAccount, RangeOfUint, RecognizerCatalog, RegisteredRecognizer, ReplyInvite, Retention, RetentionOverride, RetentionSettings, Review, RuleMatch, RunMetadata, RunStatusEvent, S3Credentials, ScopeMetadata, ScopeParams, Sha2Algorithm, Signup, SortOrder, StorageConfig, SyncConnection, SyncDeletionPolicy, SyncMode, SyncSchedule, SyncScheduleInput, SyncStatus, SyncTriggerType, SystemAnnouncementParams, SystemReportParams, TabularEntity, TabularEntityRecord, TabularEvent, TabularEventKind, TabularHint, TabularLocation, TabularProvenance, TabularRedaction, TerminalFallback, TestWebhook, TextData, TextEntity, TextEntityRecord, TextEvent, TextEventKind, TextHint, TextLocation, TextProvenance, TextRedaction, TimeSpan, TokenExpiration, UnreadCountEvent, UnreadStatus, UpdateAccount, UpdateApiToken, UpdateConnection, UpdateFile, UpdateMember, UpdateNotificationSettings, UpdatePipeline, UpdatePolicy, UpdateWebhook, UpdateWorkspace, ValidationErrorDetail, Waveform, Webhook, WebhookActivityParams, WebhookCreated, WebhookEvent, WebhookPage, WebhookResult, WebhookStatus, Workspace, WorkspaceActivityParams, WorkspacePage, WorkspaceRole, WorkspaceSettings };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _n as ErrorResponse } from "./index-Cijg5CMy.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-BXs-KAXs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-BXs-KAXs.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"}
|