@nvisy/sdk 0.52.0 → 0.53.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 +23 -1
- package/dist/{client-CSxuXX5e.d.ts → client-DywPcOzJ.d.ts} +104 -21
- package/dist/client-DywPcOzJ.d.ts.map +1 -0
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{error-Bc6Sg_y-.js → error-D_h2zq6T.js} +2 -2
- package/dist/{error-Bc6Sg_y-.js.map → error-D_h2zq6T.js.map} +1 -1
- package/dist/{errors-CcTfWeEE.d.ts → errors-aOivXE8A.d.ts} +2 -2
- package/dist/{errors-CcTfWeEE.d.ts.map → errors-aOivXE8A.d.ts.map} +1 -1
- package/dist/{index-DmLbi0Gi.d.ts → index-rc5Y8RNG.d.ts} +1772 -755
- package/dist/index-rc5Y8RNG.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -2
- 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-Bt15MerP.js → services-DFJfjW1b.js} +173 -35
- package/dist/services-DFJfjW1b.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/package.json +1 -1
- package/dist/client-CSxuXX5e.d.ts.map +0 -1
- package/dist/index-DmLbi0Gi.d.ts.map +0 -1
- package/dist/services-Bt15MerP.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,27 @@ and this project adheres to
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.53.0] - 2026-09-15
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `nvisy.reviews` service for document reviews as a first-class resource:
|
|
16
|
+
`listForDocument`, `createForDocument`, `listReviews`, `getReview`,
|
|
17
|
+
`assignReview`, `verifyReview`, `reopenReview`, `getTimeline`, `linkDetection`,
|
|
18
|
+
and `linkRedaction`, with the review datatypes (`WorkspaceReview`,
|
|
19
|
+
`CreateWorkspaceReview`, `WorkspaceReviewPage`, `WorkspaceReviewEvent`,
|
|
20
|
+
`WorkspaceReviewEventPage`, `WorkspaceReviewsQuery`)
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Regenerated the API schema against the updated platform handlers
|
|
25
|
+
- **Breaking:** document review moved from the documents service to the new
|
|
26
|
+
reviews service. `documents.assignReview` / `documents.verifyReview` are
|
|
27
|
+
removed; use `reviews.assignReview` / `reviews.verifyReview` (which now act on
|
|
28
|
+
a review id, via `reviews.createForDocument` first). The `AssignWorkspaceReview`
|
|
29
|
+
and `ReviewStatus` datatypes moved from the document datatypes to the review
|
|
30
|
+
datatypes (same names, same import path via the package root)
|
|
31
|
+
|
|
11
32
|
## [0.52.0] - 2026-09-14
|
|
12
33
|
|
|
13
34
|
### Added
|
|
@@ -1133,7 +1154,8 @@ redaction an independent resource. This release renames the SDK to match.
|
|
|
1133
1154
|
- Network error handling for timeouts, DNS resolution, and connection issues
|
|
1134
1155
|
- Configuration validation with detailed error messages
|
|
1135
1156
|
|
|
1136
|
-
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.
|
|
1157
|
+
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.53.0...HEAD
|
|
1158
|
+
[0.53.0]: https://github.com/nvisycom/sdk-ts/compare/v0.52.0...v0.53.0
|
|
1137
1159
|
[0.52.0]: https://github.com/nvisycom/sdk-ts/compare/v0.51.0...v0.52.0
|
|
1138
1160
|
[0.51.0]: https://github.com/nvisycom/sdk-ts/compare/v0.50.0...v0.51.0
|
|
1139
1161
|
[0.50.0]: https://github.com/nvisycom/sdk-ts/compare/v0.49.0...v0.50.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as UpdateWorkspaceProvider, $a as AccountApiToken, $r as Login, $t as AccountMarkedReadStatus, B as AssignWorkspaceReview, Bo as Account$1, Br as WorkspaceConnectionVerification, Bt as WorkspacePolicy, C as RenameWorkspaceThread, Cn as GenerateWorkspaceInviteCode, Cr as OAuthStartResponse, D as WorkspaceThread, Dr as StartFileServiceOAuth, E as WorkspaceComment, Fn as Health, Fr as UpdateWorkspaceConnection, G as WorkspaceReviewEventPage, Gn as ListWorkspaceDocuments, Go as IdentityProvider, Gr as AuthCapabilities, Gt as PipelineStatus, Hr as WorkspacePickerToken, Ht as WorkspacePolicySummaryPage, Io as WorkspaceActivityExportOptions, Ir as WorkspaceConnection, J as CreateWorkspaceProvider, Jn as WorkspaceDeletedDocuments, Jo as SetPassword, Jr as LabelCatalog, Jt as WorkspacePipeline, K as WorkspaceReviewPage, Ko as OidcStartResponse, Kr as ConnectorCapabilities, Ln as DateWindow, Lo as WorkspaceActivityFilterQuery, Lr as WorkspaceConnectionPage, Lt as UpdateWorkspacePolicy, M as WorkspaceThreadsQuery, Mn as WorkspaceInvitePage, Mr as SyncStatus, Nn as WorkspaceInviteSent, On as ListWorkspaceInvites, Qn as CreateWorkspaceDetection, Qr as DesktopTokenRequest, Qt as CursorPagination, Ro as WorkspaceActivityPage, Rr as WorkspaceConnectionSync, S as OpenWorkspaceThread, T as UpdateWorkspaceComment, Tn as InvitePreview, U as WorkspaceReview, Ur as WorkspacePickerTokenRequest, Ut as CreateWorkspacePipeline, V as CreateWorkspaceReview, Vo as AccountIdentities, Wa as ArtifactSet, Xn as WorkspaceDocumentPage, Xo as paths, Yn as WorkspaceDocument, Yo as UpdateAccount, Yr as RecognizerCatalog, Zn as CreateAdhocWorkspaceDetection, Zr as AccountDesktopToken, Zt as WorkspacePipelineSummaryPage, _ as WorkspaceWebhook, _i as Audit, _r as ExportWorkspaceFiles, ao as UpdateAccountApiToken, ar as WorkspaceDetection, b as WorkspaceWebhookResult, bn as WorkspaceMemberPage, c as WorkspacePage, cr as WorkspacePipelineDetectionsQuery, d as CreateWorkspaceWebhook, do as WorkspaceAnalytics, ei as Signup, eo as AccountApiTokenPage, et as WorkspaceProvider, f as TestWorkspaceWebhook, gn as ListWorkspaceMembers, gr as CreateWorkspaceConnection, hn as WorkspaceNotificationSettings, ho as WorkspaceDetectionTimeSeries, j as WorkspaceThreadPage, jn as WorkspaceInviteCode, k as WorkspaceThreadEntryPage, kn as ReplyWorkspaceInvite, lr as WorkspaceRedactionResult, mn as UpdateWorkspaceNotificationSettings, nn as AccountUnreadStatus, nr as DetectionStatusEvent, nt as WorkspaceProvidersQuery, o as UpdateWorkspace, or as WorkspaceDetectionPage, p as UpdateWorkspaceWebhook, pn as UnreadCountEvent, q as WorkspaceReviewsQuery, qn as UpdateWorkspaceDocument, qo as PublicAccount, qt as UpdateWorkspacePipeline, ro as CreateAccountApiToken, rr as RedactWorkspaceDetection, s as Workspace, sr as WorkspaceDetectionsQuery, st as CreateWorkspacePolicy, t as CreateWorkspace, tn as AccountNotificationPage, to as AccountApiTokenWithJwt, tt as WorkspaceProviderPage, ur as WorkspaceRedactionResultPage, v as WorkspaceWebhookCreated, vn as UpdateWorkspaceMember, x as CreateWorkspaceComment, xn as CreateWorkspaceInvite, xr as ImportWorkspaceFiles, y as WorkspaceWebhookPage, yn as WorkspaceMember, yr as FileServiceProvider, zn as ExportQuery, zr as WorkspaceConnectionSyncPage, zt as WorkspacePoliciesQuery } from "./index-rc5Y8RNG.js";
|
|
2
2
|
import { t as ClientConfig } from "./config-BdAgnJlh.js";
|
|
3
3
|
import { Client } from "openapi-fetch";
|
|
4
4
|
//#region src/services/account.d.ts
|
|
@@ -572,7 +572,7 @@ declare class Detections {
|
|
|
572
572
|
//#endregion
|
|
573
573
|
//#region src/services/documents.d.ts
|
|
574
574
|
/**
|
|
575
|
-
* Service for handling document operations
|
|
575
|
+
* Service for handling document operations.
|
|
576
576
|
*/
|
|
577
577
|
declare class Documents {
|
|
578
578
|
#private;
|
|
@@ -640,23 +640,6 @@ declare class Documents {
|
|
|
640
640
|
* @throws {ApiError} if the request fails
|
|
641
641
|
*/
|
|
642
642
|
deleteDocuments(workspaceId: string, documentIds: string[]): Promise<WorkspaceDeletedDocuments>;
|
|
643
|
-
/**
|
|
644
|
-
* Assign a document for review, opening a review thread.
|
|
645
|
-
* @param workspaceId - Workspace id
|
|
646
|
-
* @param documentId - Document ID
|
|
647
|
-
* @param assignment - Review assignment request
|
|
648
|
-
* @returns Promise that resolves with the review thread
|
|
649
|
-
* @throws {ApiError} if the request fails
|
|
650
|
-
*/
|
|
651
|
-
assignReview(workspaceId: string, documentId: string, assignment: AssignWorkspaceReview): Promise<WorkspaceThread>;
|
|
652
|
-
/**
|
|
653
|
-
* Mark a document's review as verified (resolved).
|
|
654
|
-
* @param workspaceId - Workspace id
|
|
655
|
-
* @param documentId - Document ID
|
|
656
|
-
* @returns Promise that resolves with the review thread
|
|
657
|
-
* @throws {ApiError} if the request fails
|
|
658
|
-
*/
|
|
659
|
-
verifyReview(workspaceId: string, documentId: string): Promise<WorkspaceThread>;
|
|
660
643
|
}
|
|
661
644
|
//#endregion
|
|
662
645
|
//#region src/services/invites.d.ts
|
|
@@ -1012,6 +995,102 @@ declare class Redactions {
|
|
|
1012
995
|
getReview(workspaceId: string, redactionId: string): Promise<Audit>;
|
|
1013
996
|
}
|
|
1014
997
|
//#endregion
|
|
998
|
+
//#region src/services/reviews.d.ts
|
|
999
|
+
/**
|
|
1000
|
+
* Service for document reviews: assigning a document to a reviewer and tracking
|
|
1001
|
+
* the review through its lifecycle, with a timeline of events.
|
|
1002
|
+
*/
|
|
1003
|
+
declare class Reviews {
|
|
1004
|
+
#private;
|
|
1005
|
+
constructor(api: ApiClient);
|
|
1006
|
+
/**
|
|
1007
|
+
* List the reviews on a document, most recent first.
|
|
1008
|
+
* @param workspaceId - Workspace id
|
|
1009
|
+
* @param documentId - Document ID
|
|
1010
|
+
* @returns Promise that resolves with the document's reviews
|
|
1011
|
+
* @throws {ApiError} if the request fails
|
|
1012
|
+
*/
|
|
1013
|
+
listForDocument(workspaceId: string, documentId: string): Promise<WorkspaceReview[]>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Open a review on a document.
|
|
1016
|
+
* @param workspaceId - Workspace id
|
|
1017
|
+
* @param documentId - Document ID
|
|
1018
|
+
* @param review - Review creation request
|
|
1019
|
+
* @returns Promise that resolves with the created review
|
|
1020
|
+
* @throws {ApiError} if the request fails
|
|
1021
|
+
*/
|
|
1022
|
+
createForDocument(workspaceId: string, documentId: string, review: CreateWorkspaceReview): Promise<WorkspaceReview>;
|
|
1023
|
+
/**
|
|
1024
|
+
* List a workspace's reviews.
|
|
1025
|
+
* @param workspaceId - Workspace id
|
|
1026
|
+
* @param query - Optional pagination and filters (assignee, documentId,
|
|
1027
|
+
* reviewStatus, limit, after)
|
|
1028
|
+
* @returns Promise that resolves with a paginated list of reviews
|
|
1029
|
+
* @throws {ApiError} if the request fails
|
|
1030
|
+
*/
|
|
1031
|
+
listReviews(workspaceId: string, query?: CursorPagination & WorkspaceReviewsQuery): Promise<WorkspaceReviewPage>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Get review details by ID.
|
|
1034
|
+
* @param workspaceId - Workspace id
|
|
1035
|
+
* @param reviewId - Review ID
|
|
1036
|
+
* @returns Promise that resolves with the review details
|
|
1037
|
+
* @throws {ApiError} if the request fails
|
|
1038
|
+
*/
|
|
1039
|
+
getReview(workspaceId: string, reviewId: string): Promise<WorkspaceReview>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Assign (or reassign) a review to a reviewer.
|
|
1042
|
+
* @param workspaceId - Workspace id
|
|
1043
|
+
* @param reviewId - Review ID
|
|
1044
|
+
* @param assignment - Review assignment request (assignee)
|
|
1045
|
+
* @returns Promise that resolves with the updated review
|
|
1046
|
+
* @throws {ApiError} if the request fails
|
|
1047
|
+
*/
|
|
1048
|
+
assignReview(workspaceId: string, reviewId: string, assignment: AssignWorkspaceReview): Promise<WorkspaceReview>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Verify (resolve) a review.
|
|
1051
|
+
* @param workspaceId - Workspace id
|
|
1052
|
+
* @param reviewId - Review ID
|
|
1053
|
+
* @returns Promise that resolves with the updated review
|
|
1054
|
+
* @throws {ApiError} if the request fails
|
|
1055
|
+
*/
|
|
1056
|
+
verifyReview(workspaceId: string, reviewId: string): Promise<WorkspaceReview>;
|
|
1057
|
+
/**
|
|
1058
|
+
* Reopen a resolved review.
|
|
1059
|
+
* @param workspaceId - Workspace id
|
|
1060
|
+
* @param reviewId - Review ID
|
|
1061
|
+
* @returns Promise that resolves with the updated review
|
|
1062
|
+
* @throws {ApiError} if the request fails
|
|
1063
|
+
*/
|
|
1064
|
+
reopenReview(workspaceId: string, reviewId: string): Promise<WorkspaceReview>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Get a review's timeline: the events in its life.
|
|
1067
|
+
* @param workspaceId - Workspace id
|
|
1068
|
+
* @param reviewId - Review ID
|
|
1069
|
+
* @param query - Optional pagination (limit, after)
|
|
1070
|
+
* @returns Promise that resolves with a paginated list of review events
|
|
1071
|
+
* @throws {ApiError} if the request fails
|
|
1072
|
+
*/
|
|
1073
|
+
getTimeline(workspaceId: string, reviewId: string, query?: CursorPagination): Promise<WorkspaceReviewEventPage>;
|
|
1074
|
+
/**
|
|
1075
|
+
* Link a detection to a review (idempotent).
|
|
1076
|
+
* @param workspaceId - Workspace id
|
|
1077
|
+
* @param reviewId - Review ID
|
|
1078
|
+
* @param detectionId - Detection ID
|
|
1079
|
+
* @returns Promise that resolves with the updated review
|
|
1080
|
+
* @throws {ApiError} if the request fails
|
|
1081
|
+
*/
|
|
1082
|
+
linkDetection(workspaceId: string, reviewId: string, detectionId: string): Promise<WorkspaceReview>;
|
|
1083
|
+
/**
|
|
1084
|
+
* Link a redaction to a review (idempotent).
|
|
1085
|
+
* @param workspaceId - Workspace id
|
|
1086
|
+
* @param reviewId - Review ID
|
|
1087
|
+
* @param redactionId - Redaction ID
|
|
1088
|
+
* @returns Promise that resolves with the updated review
|
|
1089
|
+
* @throws {ApiError} if the request fails
|
|
1090
|
+
*/
|
|
1091
|
+
linkRedaction(workspaceId: string, reviewId: string, redactionId: string): Promise<WorkspaceReview>;
|
|
1092
|
+
}
|
|
1093
|
+
//#endregion
|
|
1015
1094
|
//#region src/services/status.d.ts
|
|
1016
1095
|
/**
|
|
1017
1096
|
* Service for handling status and health check operations
|
|
@@ -1487,6 +1566,10 @@ declare class Nvisy {
|
|
|
1487
1566
|
* Service for workspace redactions.
|
|
1488
1567
|
*/
|
|
1489
1568
|
get redactions(): Redactions;
|
|
1569
|
+
/**
|
|
1570
|
+
* Service for document reviews (assigning documents to reviewers).
|
|
1571
|
+
*/
|
|
1572
|
+
get reviews(): Reviews;
|
|
1490
1573
|
/**
|
|
1491
1574
|
* Service for managing connection syncs.
|
|
1492
1575
|
*/
|
|
@@ -1501,5 +1584,5 @@ declare class Nvisy {
|
|
|
1501
1584
|
get workspaces(): Workspaces;
|
|
1502
1585
|
}
|
|
1503
1586
|
//#endregion
|
|
1504
|
-
export {
|
|
1505
|
-
//# sourceMappingURL=client-
|
|
1587
|
+
export { Activities as C, Analytics as S, Detections as _, Threads as a, Auth as b, Reviews as c, Policies as d, Pipelines as f, Documents as g, Invites as h, Webhooks as i, Redactions as l, Members as m, Nvisy as n, Syncs as o, Notifications as p, Workspaces as r, Status as s, ApiClient as t, Providers as u, Connections as v, Account as w, ApiTokens as x, Capabilities as y };
|
|
1588
|
+
//# sourceMappingURL=client-DywPcOzJ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-DywPcOzJ.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/capabilities.ts","../src/services/connections.ts","../src/services/detections.ts","../src/services/documents.ts","../src/services/invites.ts","../src/services/members.ts","../src/services/notifications.ts","../src/services/pipelines.ts","../src/services/policies.ts","../src/services/providers.ts","../src/services/redactions.ts","../src/services/reviews.ts","../src/services/status.ts","../src/services/syncs.ts","../src/services/threads.ts","../src/services/webhooks.ts","../src/services/workspaces.ts","../src/client.ts"],"mappings":";;;;;;;cAca;;EAGA,YAAA,KAAK;;;;;;EASX,cAAc,QAAQ;;;;;;;EAWtB,cAAc,SAAS,gBAAgB,QAAQ;;;;;;EAY/C,iBAAiB;;;;;;;EAUjB,iBAAiB,oBAAoB,QAAQ;;;;;;;;EAc7C,aAAa,mBAAmB,QAAQ,OAAO,QAAQ;;;;;;;EAsBvD,aAAa,oBAAoB;;;;;;EAWjC,kBAAkB,QAAQ;;;;;;;;;;;;EAgB1B,YAAY,SAAS,cAAc;;;;;;;;;EAYnC,kBAAkB;;;;;;;;;;;;;EAgBlB,aACL,UAAU,kBACV;IAAU;IAAsB;MAC9B,QAAQ;;;;;;;;;;EAgBL,eAAe,UAAU,mBAAmB;;;;;;;;;;;;;EAkB5C,OACL,UAAU,kBACV;IAAU;MACR,QAAQ;;;;;;;cClLC;;EAGA,YAAA,KAAK;;;;;;;;;EAYX,eACL,qBACA,QAAQ,+BAA+B,aAAa,mBAClD,QAAQ;;;;;;;;;EAkBL,iBACL,qBACA,QAAQ,+BACP,aACA,iCACC,QAAQ;;;;;;;cC3CC;;EAGA,YAAA,KAAK;;;;;;;EAUX,aAAa,sBAAsB,QAAQ;;;;;;;;EAiB3C,uBACL,qBACA,QAAQ,aACN,QAAQ;;;;;;;cC9BC;;EAGA,YAAA,KAAK;;;;;;;EAUX,cAAc,QAAQ,mBAAmB,QAAQ;;;;;;;EAajD,YAAY,kBAAkB,QAAQ;;;;;;;EAatC,eACL,OAAO,wBACL,QAAQ;;;;;;;;EAcL,eACL,iBACA,SAAS,wBACP,QAAQ;;;;;;;EAcL,eAAe,kBAAkB;;;;;;;cCxE3B;;EAGA,YAAA,KAAK;;;;;;;;;;;;EAeX,aAAa,aAAa,QAAQ;;;;;;;;;;;;EAiBlC,cAAc,aAAa,SAAS;;;;;;EAWpC,iBAAiB;;;;;;;;;;;;;EA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;;MAOd,cAAc;;;;MAOd,WAAW;;;;MAOX,SAAS;;;;MAOT,YAAY;;;;MAOZ,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export type { Account, AccountApiToken, AccountApiTokenPage, AccountApiTokenWithJwt, AccountDesktopToken, AccountIdentities, AccountIdentity, AccountMarkedReadStatus, AccountNotification, AccountNotificationPage, AccountRef, AccountUnreadStatus, ActivityPayload, ActivityType, ApiTokenType, ArtifactSet, AssignWorkspaceReview, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioMetadata, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthCapabilities, AuthenticatedProvider, AzureCredentials, BoundingBox, Calibration, Category, CitedAttribution, ClampBucket, CodecParams, Color, CommentMentionedParams, ComponentHealth, Confidence, ConfidenceThreshold, Conflict, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionType, ConnectorCapabilities, Contested, CountryCode, CreateAccountApiToken, CreateAdhocWorkspaceDetection, CreateWorkspace, CreateWorkspaceComment, CreateWorkspaceConnection, CreateWorkspaceDetection, CreateWorkspaceInvite, CreateWorkspacePipeline, CreateWorkspacePolicy, CreateWorkspaceProvider, CreateWorkspaceWebhook, CursorPagination, CustomMatcher, DateGranularity, DateStyle, DateWindow, DecodedSpan, Deduplication, DeleteWorkspaceDocuments, DesktopTokenRequest, DetectionActivityParams, DetectionCompletedParams, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionStatus, DetectionStatusEvent, Dimensions, Direction, DocumentActivityParams, DocumentContext, DocumentHash, DocumentKind, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFormat, ExportQuery, ExportWorkspaceFiles, FileProviders, FileServiceConfig, FileServiceProvider, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateWorkspaceInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, IdentityProvider, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageMetadata, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, ImportWorkspaceFiles, InferenceConfig, InviteActivityParams, InviteExpiration, InvitePreview, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, Layout, LayoutBlock, LayoutWord, LeakProfile, ListWorkspaceDocuments, ListWorkspaceInvites, ListWorkspaceMembers, LlmConfig, LocalizedText, Login, ManualIntent, MemberActivityParams, MemberJoinedParams, MemberSortField, MetadataEvent, ModalityRedactions, ModalityToken, ModelEvent, ModelUsage, NotificationEvent, NotificationPayload, OAuthStartResponse, OAuthTokens, OidcStartResponse, OpenWorkspaceThread, OperatorId, PatternEvent, PciDssPart, PciPanRender, PickedFile, PipelineActivityParams, PipelineDefinition, PipelineStatus, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDraft, PolicyKind, PolicyRule, PolicyTemplate, Polygon, Predicate, ProviderActivityParams, ProviderConfig, ProviderId, ProviderType, PublicAccount, RangeOfUint, RasterMode, RasterPolicy, Recognition, RecognizerCatalog, RecognizerId, RedactWorkspaceDetection, Redaction, RedactionActivityParams, RedactionCreatedParams, RedactionId, RegisteredRecognizer, RenameWorkspaceThread, ReplyWorkspaceInvite, Report, Retention, RetentionOverride, RetentionSettings, ReviewActivityParams, ReviewAssignedParams, ReviewStatus, RuleMatch, S3Credentials, ScopeMetadata, Selection, SetPassword, Sha2Algorithm, Signup, SourceRef, SourceSpan, StartFileServiceOAuth, StorageConfig, Suppress, SyncDeletionPolicy, SyncMode, SyncScheduleInput, SyncStatus, SyncTriggerType, TabularAdd, TabularAuditEvent, TabularAuditKind, TabularAuditLog, TabularEdit, TabularEntity, TabularHint, TabularLocation, TabularManual, TabularMetadata, TabularModel, TabularPattern, TabularRedaction, TabularRefinement, TabularRetag, TemplateOrigin, TerminalFallback, TestWorkspaceWebhook, TextAdd, TextAuditEvent, TextAuditKind, TextAuditLog, TextCoord, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextMetadata, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, ThreadActivityParams, ThreadCommentActivityParams, ThreadEventKind, TimeSpan, Token, TokenCounts, TokenExpiration, Tokens, TranscriptSegment, TranscriptWord, Transcription, UnauthenticatedProvider, UnreadCountEvent, UpdateAccount, UpdateAccountApiToken, UpdateWorkspace, UpdateWorkspaceComment, UpdateWorkspaceConnection, UpdateWorkspaceDocument, UpdateWorkspaceMember, UpdateWorkspaceNotificationSettings, UpdateWorkspacePipeline, UpdateWorkspacePolicy, UpdateWorkspaceProvider, UpdateWorkspaceWebhook, Usage, UsageReport, Waveform, WebhookActivityParams, WebhookEvent, WebhookId, WebhookStatus, Workspace, WorkspaceActivity, WorkspaceActivityExportOptions, WorkspaceActivityFilterQuery, WorkspaceActivityPage, WorkspaceActivityParams, WorkspaceAnalytics, WorkspaceComment, WorkspaceConnection, WorkspaceConnectionPage, WorkspaceConnectionSync, WorkspaceConnectionSyncPage, WorkspaceConnectionVerification, WorkspaceConnectionsQuery, WorkspaceDeletedDocuments, WorkspaceDetection, WorkspaceDetectionAnalytics, WorkspaceDetectionDayEntry, WorkspaceDetectionPage, WorkspaceDetectionStatusEntry, WorkspaceDetectionTimeSeries, WorkspaceDetectionsQuery, WorkspaceDocument, WorkspaceDocumentPage, WorkspaceInvite, WorkspaceInviteCode, WorkspaceInvitePage, WorkspaceInviteSent, WorkspaceMember, WorkspaceMemberPage, WorkspaceModelUsageEntry, WorkspaceNotificationSettings, WorkspacePage, WorkspacePickerToken, WorkspacePickerTokenRequest, WorkspacePipeline, WorkspacePipelineDetectionsQuery, WorkspacePipelineFilter, WorkspacePipelineSummary, WorkspacePipelineSummaryPage, WorkspacePoliciesQuery, WorkspacePolicy, WorkspacePolicySummary, WorkspacePolicySummaryPage, WorkspaceProvider, WorkspaceProviderPage, WorkspaceProvidersQuery, WorkspaceRedactionResult, WorkspaceRedactionResultPage, WorkspaceRole, WorkspaceSettings, WorkspaceStorageAnalytics, WorkspaceStorageKindEntry, WorkspaceSyncSchedule, WorkspaceThread, WorkspaceThreadEntry, WorkspaceThreadEntryPage, WorkspaceThreadEvent, WorkspaceThreadPage, WorkspaceThreadsQuery, WorkspaceUsageAnalytics, WorkspaceWebhook, WorkspaceWebhookCreated, WorkspaceWebhookPage, WorkspaceWebhookResult };
|
|
1
|
+
import { $ as UpdateWorkspaceProvider, $a as AccountApiToken, $i as OperatorId, $n as DetectionId, $r as Login, $t as AccountMarkedReadStatus, A as WorkspaceThreadEvent, Aa as TextAuditLog, Ai as Dpi, An as WorkspaceInvite, Ao as RedactionActivityParams, Ar as SyncMode, At as PolicyTemplate, B as AssignWorkspaceReview, Ba as TextPattern, Bi as ImageEntity, Bn as ErrorResponse, Bo as Account, Br as WorkspaceConnectionVerification, Bt as WorkspacePolicy, C as RenameWorkspaceThread, Ca as TabularModel, Ci as CodecParams, Cn as GenerateWorkspaceInviteCode, Co as DetectionActivityParams, Cr as OAuthStartResponse, Ct as ModalityRedactions, D as WorkspaceThread, Da as TextAdd, Di as Deduplication, Dn as InviteStatus, Do as PipelineActivityParams, Dr as StartFileServiceOAuth, Dt as PolicyDraft, E as WorkspaceComment, Ea as TabularRetag, Ei as DecodedSpan, En as InviteSortField, Eo as MemberActivityParams, Er as S3Credentials, Et as Policy, F as Language, Fa as TextHint, Fi as ImageAuditEvent, Fn as Health, Fo as WorkspaceActivity, Fr as UpdateWorkspaceConnection, Ft as TerminalFallback, G as WorkspaceReviewEventPage, Ga as Layout, Gi as ImageModel, Gn as ListWorkspaceDocuments, Go as IdentityProvider, Gr as AuthCapabilities, Gt as PipelineStatus, H as ReviewStatus, Ha as TextRetag, Hi as ImageLocation, Hn as DocumentHash, Ho as AccountIdentity, Hr as WorkspacePickerToken, Ht as WorkspacePolicySummaryPage, I as LanguageProvenance, Ia as TextLocation, Ii as ImageAuditKind, In as HealthStatus, Io as WorkspaceActivityExportOptions, Ir as WorkspaceConnection, It as TextRedaction, J as CreateWorkspaceProvider, Ja as Token, Ji as ImageRetag, Jn as WorkspaceDeletedDocuments, Jo as SetPassword, Jr as LabelCatalog, Jt as WorkspacePipeline, K as WorkspaceReviewPage, Ka as LayoutBlock, Ki as ImagePattern, Kn as ModalityToken, Ko as OidcStartResponse, Kr as ConnectorCapabilities, Kt as PipelineTriggerType, L as LanguageSpan, La as TextManual, Li as ImageAuditLog, Ln as DateWindow, Lo as WorkspaceActivityFilterQuery, Lr as WorkspaceConnectionPage, Lt as UpdateWorkspacePolicy, M as WorkspaceThreadsQuery, Ma as TextData, Mi as EntityCoRef, Mn as WorkspaceInvitePage, Mo as ThreadActivityParams, Mr as SyncStatus, Mt as Sha2Algorithm, N as Confidence, Na as TextEdit, Ni as FreeformAttribution, Nn as WorkspaceInviteSent, No as ThreadCommentActivityParams, Nr as SyncTriggerType, Nt as TabularRedaction, O as WorkspaceThreadEntry, Oa as TextAuditEvent, Oi as Dimensions, On as ListWorkspaceInvites, Oo as PolicyActivityParams, Or as StorageConfig, Ot as PolicyKind, P as CountryCode, Pa as TextEntity, Pi as ImageAdd, Pn as ComponentHealth, Po as WebhookActivityParams, Pr as UnauthenticatedProvider, Pt as TemplateOrigin, Q as ProviderType, Qa as Transcription, Qi as ModelEvent, Qn as CreateWorkspaceDetection, Qr as DesktopTokenRequest, Qt as CursorPagination, R as Languages, Ra as TextMetadata, Ri as ImageData, Rn as ExportFormat, Ro as WorkspaceActivityPage, Rr as WorkspaceConnectionSync, Rt as Waveform, S as OpenWorkspaceThread, Sa as TabularMetadata, Si as CitedAttribution, Sn as Direction, So as ConnectionActivityParams, Sr as LlmConfig, St as LocalizedText, T as UpdateWorkspaceComment, Ta as TabularRefinement, Ti as Contested, Tn as InvitePreview, To as InviteActivityParams, Tr as PickedFile, Tt as PciPanRender, U as WorkspaceReview, Ua as TimeSpan, Ui as ImageManual, Un as DocumentKind, Uo as AccountRef, Ur as WorkspacePickerTokenRequest, Ut as CreateWorkspacePipeline, V as CreateWorkspaceReview, Va as TextRefinement, Vi as ImageHint, Vn as DeleteWorkspaceDocuments, Vo as AccountIdentities, Vr as WorkspaceConnectionsQuery, Vt as WorkspacePolicySummary, W as WorkspaceReviewEvent, Wa as ArtifactSet, Wi as ImageMetadata, Wn as FormatToken, Wo as Handle, Wr as WorkspaceSyncSchedule, Wt as PipelineDefinition, X as ProviderConfig, Xa as TranscriptSegment, Xi as ManualIntent, Xn as WorkspaceDocumentPage, Xr as RegisteredRecognizer, Xt as WorkspacePipelineSummary, Y as InferenceConfig, Ya as Tokens, Yi as LeakProfile, Yn as WorkspaceDocument, Yo as UpdateAccount, Yr as RecognizerCatalog, Yt as WorkspacePipelineFilter, Z as ProviderId, Za as TranscriptWord, Zi as MetadataEvent, Zn as CreateAdhocWorkspaceDetection, Zr as AccountDesktopToken, Zt as WorkspacePipelineSummaryPage, _ as WorkspaceWebhook, _a as TabularEdit, _i as Audit, _n as MemberSortField, _o as WorkspaceStorageAnalytics, _r as ExportWorkspaceFiles, _t as LabelEntry, a as RetentionSettings, aa as Recognition, ai as AudioAuditLog, an as ConnectionSyncFailedParams, ao as UpdateAccountApiToken, ar as WorkspaceDetection, at as Color, b as WorkspaceWebhookResult, ba as TabularLocation, bi as Calibration, bn as WorkspaceMemberPage, bo as ActivityPayload, br as GcsCredentials, bt as LabelScope, c as WorkspacePage, ca as RuleMatch, ci as AudioEntity, cn as MemberJoinedParams, co as TokenCounts, cr as WorkspacePipelineDetectionsQuery, ct as CustomMatcher, d as CreateWorkspaceWebhook, da as SourceSpan, di as AudioManual, dn as RedactionCreatedParams, do as WorkspaceAnalytics, dr as AuthenticatedProvider, dt as GdprArticle9Treatment, ea as PatternEvent, ei as Signup, en as AccountNotification, eo as AccountApiTokenPage, er as DetectionMetadata, et as WorkspaceProvider, f as TestWorkspaceWebhook, fa as Suppress, fi as AudioMetadata, fn as ReviewAssignedParams, fo as WorkspaceDetectionAnalytics, fr as AzureCredentials, ft as GdprSensitiveScope, g as WebhookStatus, ga as TabularAuditLog, gi as AudioRetag, gn as ListWorkspaceMembers, go as WorkspaceModelUsageEntry, gr as CreateWorkspaceConnection, gt as Label, h as WebhookId, ha as TabularAuditKind, hi as AudioRefinement, hn as WorkspaceNotificationSettings, ho as WorkspaceDetectionTimeSeries, hr as ConnectionType, ht as ImageRedaction, i as RetentionOverride, ia as RasterMode, ii as AudioAuditKind, in as ConnectionSyncCompletedParams, io as TokenExpiration, ir as RedactionId, it as ClampBucket, j as WorkspaceThreadPage, ja as TextCoord, ji as EditSet, jn as WorkspaceInviteCode, jo as ReviewActivityParams, jr as SyncScheduleInput, jt as Predicate, k as WorkspaceThreadEntryPage, ka as TextAuditKind, ki as DocumentContext, kn as ReplyWorkspaceInvite, ko as ProviderActivityParams, kr as SyncDeletionPolicy, kt as PolicyRule, l as WorkspaceRole, la as Selection, li as AudioHint, ln as NotificationEvent, lo as Usage, lr as WorkspaceRedactionResult, lt as DateGranularity, m as WebhookEvent, ma as TabularAuditEvent, mi as AudioPattern, mn as UpdateWorkspaceNotificationSettings, mo as WorkspaceDetectionStatusEntry, mr as ConnectionId, mt as HipaaDeidMethod, n as RasterPolicy, na as Polygon, ni as AudioAdd, nn as AccountUnreadStatus, no as ApiTokenType, nr as DetectionStatusEvent, nt as WorkspaceProvidersQuery, o as UpdateWorkspace, oa as Redaction, oi as AudioData, on as DetectionCompletedParams, oo as ModelUsage, or as WorkspaceDetectionPage, ot as ConfidenceThreshold, p as UpdateWorkspaceWebhook, pa as TabularAdd, pi as AudioModel, pn as UnreadCountEvent, po as WorkspaceDetectionDayEntry, pr as ConnectionConfig, pt as HipaaAccountNumbers, q as WorkspaceReviewsQuery, qa as LayoutWord, qi as ImageRefinement, qn as UpdateWorkspaceDocument, qo as PublicAccount, qr as FileProviders, qt as UpdateWorkspacePipeline, r as Retention, ra as RangeOfUint, ri as AudioAuditEvent, rn as CommentMentionedParams, ro as CreateAccountApiToken, rr as RedactWorkspaceDetection, rt as AudioRedaction, s as Workspace, sa as Report, si as AudioEdit, sn as DetectionFailedParams, so as RecognizerId, sr as WorkspaceDetectionsQuery, st as CreateWorkspacePolicy, t as CreateWorkspace, ta as Point, ti as Attribution, tn as AccountNotificationPage, to as AccountApiTokenWithJwt, tr as DetectionStatus, tt as WorkspaceProviderPage, u as WorkspaceSettings, ua as SourceRef, ui as AudioLocation, un as NotificationPayload, uo as UsageReport, ur as WorkspaceRedactionResultPage, ut as DateStyle, v as WorkspaceWebhookCreated, va as TabularEntity, vi as AuditHash, vn as UpdateWorkspaceMember, vo as WorkspaceStorageKindEntry, vr as FileServiceConfig, vt as LabelLocale, w as ThreadEventKind, wa as TabularPattern, wi as Conflict, wn as InviteExpiration, wo as DocumentActivityParams, wr as OAuthTokens, wt as PciDssPart, x as CreateWorkspaceComment, xa as TabularManual, xi as Category, xn as CreateWorkspaceInvite, xo as ActivityType, xr as ImportWorkspaceFiles, xt as LanguageTag, y as WorkspaceWebhookPage, ya as TabularHint, yi as BoundingBox, yn as WorkspaceMember, yo as WorkspaceUsageAnalytics, yr as FileServiceProvider, yt as LabelRef, z as ScopeMetadata, za as TextModel, zi as ImageEdit, zn as ExportQuery, zo as WorkspaceActivityParams, zr as WorkspaceConnectionSyncPage, zt as WorkspacePoliciesQuery } from "../index-rc5Y8RNG.js";
|
|
2
|
+
export type { Account, AccountApiToken, AccountApiTokenPage, AccountApiTokenWithJwt, AccountDesktopToken, AccountIdentities, AccountIdentity, AccountMarkedReadStatus, AccountNotification, AccountNotificationPage, AccountRef, AccountUnreadStatus, ActivityPayload, ActivityType, ApiTokenType, ArtifactSet, AssignWorkspaceReview, Attribution, AudioAdd, AudioAuditEvent, AudioAuditKind, AudioAuditLog, AudioData, AudioEdit, AudioEntity, AudioHint, AudioLocation, AudioManual, AudioMetadata, AudioModel, AudioPattern, AudioRedaction, AudioRefinement, AudioRetag, Audit, AuditHash, AuthCapabilities, AuthenticatedProvider, AzureCredentials, BoundingBox, Calibration, Category, CitedAttribution, ClampBucket, CodecParams, Color, CommentMentionedParams, ComponentHealth, Confidence, ConfidenceThreshold, Conflict, ConnectionActivityParams, ConnectionConfig, ConnectionId, ConnectionSyncCompletedParams, ConnectionSyncFailedParams, ConnectionType, ConnectorCapabilities, Contested, CountryCode, CreateAccountApiToken, CreateAdhocWorkspaceDetection, CreateWorkspace, CreateWorkspaceComment, CreateWorkspaceConnection, CreateWorkspaceDetection, CreateWorkspaceInvite, CreateWorkspacePipeline, CreateWorkspacePolicy, CreateWorkspaceProvider, CreateWorkspaceReview, CreateWorkspaceWebhook, CursorPagination, CustomMatcher, DateGranularity, DateStyle, DateWindow, DecodedSpan, Deduplication, DeleteWorkspaceDocuments, DesktopTokenRequest, DetectionActivityParams, DetectionCompletedParams, DetectionFailedParams, DetectionId, DetectionMetadata, DetectionStatus, DetectionStatusEvent, Dimensions, Direction, DocumentActivityParams, DocumentContext, DocumentHash, DocumentKind, Dpi, EditSet, EntityCoRef, ErrorResponse, ExportFormat, ExportQuery, ExportWorkspaceFiles, FileProviders, FileServiceConfig, FileServiceProvider, FormatToken, FreeformAttribution, GcsCredentials, GdprArticle9Treatment, GdprSensitiveScope, GenerateWorkspaceInviteCode, Handle, Health, HealthStatus, HipaaAccountNumbers, HipaaDeidMethod, IdentityProvider, ImageAdd, ImageAuditEvent, ImageAuditKind, ImageAuditLog, ImageData, ImageEdit, ImageEntity, ImageHint, ImageLocation, ImageManual, ImageMetadata, ImageModel, ImagePattern, ImageRedaction, ImageRefinement, ImageRetag, ImportWorkspaceFiles, InferenceConfig, InviteActivityParams, InviteExpiration, InvitePreview, InviteSortField, InviteStatus, Label, LabelCatalog, LabelEntry, LabelLocale, LabelRef, LabelScope, Language, LanguageProvenance, LanguageSpan, LanguageTag, Languages, Layout, LayoutBlock, LayoutWord, LeakProfile, ListWorkspaceDocuments, ListWorkspaceInvites, ListWorkspaceMembers, LlmConfig, LocalizedText, Login, ManualIntent, MemberActivityParams, MemberJoinedParams, MemberSortField, MetadataEvent, ModalityRedactions, ModalityToken, ModelEvent, ModelUsage, NotificationEvent, NotificationPayload, OAuthStartResponse, OAuthTokens, OidcStartResponse, OpenWorkspaceThread, OperatorId, PatternEvent, PciDssPart, PciPanRender, PickedFile, PipelineActivityParams, PipelineDefinition, PipelineStatus, PipelineTriggerType, Point, Policy, PolicyActivityParams, PolicyDraft, PolicyKind, PolicyRule, PolicyTemplate, Polygon, Predicate, ProviderActivityParams, ProviderConfig, ProviderId, ProviderType, PublicAccount, RangeOfUint, RasterMode, RasterPolicy, Recognition, RecognizerCatalog, RecognizerId, RedactWorkspaceDetection, Redaction, RedactionActivityParams, RedactionCreatedParams, RedactionId, RegisteredRecognizer, RenameWorkspaceThread, ReplyWorkspaceInvite, Report, Retention, RetentionOverride, RetentionSettings, ReviewActivityParams, ReviewAssignedParams, ReviewStatus, RuleMatch, S3Credentials, ScopeMetadata, Selection, SetPassword, Sha2Algorithm, Signup, SourceRef, SourceSpan, StartFileServiceOAuth, StorageConfig, Suppress, SyncDeletionPolicy, SyncMode, SyncScheduleInput, SyncStatus, SyncTriggerType, TabularAdd, TabularAuditEvent, TabularAuditKind, TabularAuditLog, TabularEdit, TabularEntity, TabularHint, TabularLocation, TabularManual, TabularMetadata, TabularModel, TabularPattern, TabularRedaction, TabularRefinement, TabularRetag, TemplateOrigin, TerminalFallback, TestWorkspaceWebhook, TextAdd, TextAuditEvent, TextAuditKind, TextAuditLog, TextCoord, TextData, TextEdit, TextEntity, TextHint, TextLocation, TextManual, TextMetadata, TextModel, TextPattern, TextRedaction, TextRefinement, TextRetag, ThreadActivityParams, ThreadCommentActivityParams, ThreadEventKind, TimeSpan, Token, TokenCounts, TokenExpiration, Tokens, TranscriptSegment, TranscriptWord, Transcription, UnauthenticatedProvider, UnreadCountEvent, UpdateAccount, UpdateAccountApiToken, UpdateWorkspace, UpdateWorkspaceComment, UpdateWorkspaceConnection, UpdateWorkspaceDocument, UpdateWorkspaceMember, UpdateWorkspaceNotificationSettings, UpdateWorkspacePipeline, UpdateWorkspacePolicy, UpdateWorkspaceProvider, UpdateWorkspaceWebhook, Usage, UsageReport, Waveform, WebhookActivityParams, WebhookEvent, WebhookId, WebhookStatus, Workspace, WorkspaceActivity, WorkspaceActivityExportOptions, WorkspaceActivityFilterQuery, WorkspaceActivityPage, WorkspaceActivityParams, WorkspaceAnalytics, WorkspaceComment, WorkspaceConnection, WorkspaceConnectionPage, WorkspaceConnectionSync, WorkspaceConnectionSyncPage, WorkspaceConnectionVerification, WorkspaceConnectionsQuery, WorkspaceDeletedDocuments, WorkspaceDetection, WorkspaceDetectionAnalytics, WorkspaceDetectionDayEntry, WorkspaceDetectionPage, WorkspaceDetectionStatusEntry, WorkspaceDetectionTimeSeries, WorkspaceDetectionsQuery, WorkspaceDocument, WorkspaceDocumentPage, WorkspaceInvite, WorkspaceInviteCode, WorkspaceInvitePage, WorkspaceInviteSent, WorkspaceMember, WorkspaceMemberPage, WorkspaceModelUsageEntry, WorkspaceNotificationSettings, WorkspacePage, WorkspacePickerToken, WorkspacePickerTokenRequest, WorkspacePipeline, WorkspacePipelineDetectionsQuery, WorkspacePipelineFilter, WorkspacePipelineSummary, WorkspacePipelineSummaryPage, WorkspacePoliciesQuery, WorkspacePolicy, WorkspacePolicySummary, WorkspacePolicySummaryPage, WorkspaceProvider, WorkspaceProviderPage, WorkspaceProvidersQuery, WorkspaceRedactionResult, WorkspaceRedactionResultPage, WorkspaceReview, WorkspaceReviewEvent, WorkspaceReviewEventPage, WorkspaceReviewPage, WorkspaceReviewsQuery, WorkspaceRole, WorkspaceSettings, WorkspaceStorageAnalytics, WorkspaceStorageKindEntry, WorkspaceSyncSchedule, WorkspaceThread, WorkspaceThreadEntry, WorkspaceThreadEntryPage, WorkspaceThreadEvent, WorkspaceThreadPage, WorkspaceThreadsQuery, WorkspaceUsageAnalytics, WorkspaceWebhook, WorkspaceWebhookCreated, WorkspaceWebhookPage, WorkspaceWebhookResult };
|
|
@@ -7,7 +7,7 @@ import { n as NvisyError, t as NvisyApiError } from "./errors-ChRSBkhj.js";
|
|
|
7
7
|
* Injected from `package.json` at build time, so it always matches the
|
|
8
8
|
* published version. Used in the default user agent string.
|
|
9
9
|
*/
|
|
10
|
-
const VERSION = "0.
|
|
10
|
+
const VERSION = "0.53.0";
|
|
11
11
|
/**
|
|
12
12
|
* Default configuration values used when options are not explicitly provided.
|
|
13
13
|
*/
|
|
@@ -44,4 +44,4 @@ const errorMiddleware = {
|
|
|
44
44
|
|
|
45
45
|
//#endregion
|
|
46
46
|
export { DEFAULTS as n, VERSION as r, errorMiddleware as t };
|
|
47
|
-
//# sourceMappingURL=error-
|
|
47
|
+
//# sourceMappingURL=error-D_h2zq6T.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-
|
|
1
|
+
{"version":3,"file":"error-D_h2zq6T.js","names":[],"sources":["../src/config.ts","../src/middleware/error.ts"],"sourcesContent":["/**\n * @fileoverview Configuration types and constants for the Nvisy SDK.\n *\n * This module provides configuration interfaces, default values, and environment\n * variable names used throughout the SDK.\n *\n * @module config\n */\n\n/**\n * Compile-time version token, replaced with the `package.json` version by the\n * build (see `tsdown.config.ts`). Declared so it type-checks; the `typeof`\n * guard below keeps it safe when the define isn't applied (tests, direct `tsc`).\n */\ndeclare const __SDK_VERSION__: string | undefined;\n\n/**\n * Current SDK version.\n *\n * Injected from `package.json` at build time, so it always matches the\n * published version. Used in the default user agent string.\n */\nexport const VERSION =\n\ttypeof __SDK_VERSION__ === \"string\" ? __SDK_VERSION__ : \"0.0.0-dev\";\n\n/**\n * Configuration options for creating a Nvisy client.\n *\n * Authenticate one of two ways: pass an `apiToken` (sent as a bearer token on\n * every request), or use a browser session — sign in with the standalone\n * `login` / `signup`, then set `credentials: \"include\"` so the session cookies\n * are sent. All other fields are optional and use sensible defaults.\n *\n * @example\n * ```typescript\n * // API token\n * const client = new Client({ apiToken: \"your-api-token\" });\n *\n * // Browser session (after `login()` set the cookies)\n * const client = new Client({ credentials: \"include\" });\n * ```\n */\nexport interface ClientConfig {\n\t/**\n\t * API token for authentication, sent as `Authorization: Bearer <token>`.\n\t *\n\t * Tokens can be obtained from the Nvisy dashboard or the api-tokens endpoint.\n\t * Omit it to authenticate with a browser session instead (see `credentials`).\n\t */\n\tapiToken?: string;\n\n\t/**\n\t * Credentials mode for every request, forwarded to `fetch`.\n\t *\n\t * Set to `\"include\"` to send the session cookies established by the\n\t * standalone `login` / `signup` (needed for cross-origin browser sessions).\n\t * Defaults to the platform's `fetch` default when omitted.\n\t */\n\tcredentials?: RequestCredentials;\n\n\t/**\n\t * Base URL for the Nvisy API.\n\t *\n\t * @default \"https://api.nvisy.com\"\n\t */\n\tbaseUrl?: string;\n\n\t/**\n\t * Custom headers to include with every request.\n\t *\n\t * These headers are merged with the default headers (Content-Type, User-Agent,\n\t * and Authorization). Custom headers take precedence over defaults if there\n\t * are conflicts.\n\t */\n\theaders?: Record<string, string>;\n\n\t/**\n\t * Custom user agent string to identify your application.\n\t *\n\t * @default \"@nvisy/sdk v.{version}\"\n\t */\n\tuserAgent?: string;\n\n\t/**\n\t * Enable logging for requests and responses.\n\t *\n\t * When enabled, logs request method, URL, status, and timing to console.\n\t *\n\t * @default false\n\t */\n\twithLogging?: boolean;\n\n\t/**\n\t * Custom fetch implementation used for every request. Must match the WHATWG\n\t * `fetch` signature. Defaults to the global `fetch`.\n\t *\n\t * Lets a host swap in a non-browser transport — e.g. a desktop (Tauri) app\n\t * passing `@tauri-apps/plugin-http`'s `fetch`, which performs the request in\n\t * the native process and so is not subject to browser CORS.\n\t */\n\tfetch?: typeof globalThis.fetch;\n}\n\n/**\n * Default configuration values used when options are not explicitly provided.\n */\nexport const DEFAULTS = {\n\t/**\n\t * Default base URL for the Nvisy API.\n\t */\n\tBASE_URL: \"https://api.nvisy.com\",\n\n\t/**\n\t * Default user agent string.\n\t */\n\tUSER_AGENT: `@nvisy/sdk v.${VERSION}`,\n} as const;\n","import type { Middleware } from \"openapi-fetch\";\nimport type { ErrorResponse } from \"@/datatypes/index.js\";\nimport { NvisyApiError, NvisyError } from \"@/errors.js\";\n\n/**\n * Middleware that automatically throws NvisyApiError for error responses.\n * This replaces the need for manual checks in services.\n */\nexport const errorMiddleware: Middleware = {\n\tasync onResponse({ response }) {\n\t\tif (!response.ok) {\n\t\t\tconst error = (await response.clone().json()) as ErrorResponse;\n\t\t\tthrow new NvisyApiError(error, response.status);\n\t\t}\n\t\treturn response;\n\t},\n\n\tonError({ error }) {\n\t\t// Wrap fetch errors (network failures, CORS, etc.) in NvisyError\n\t\tif (error instanceof Error) {\n\t\t\tthrow new NvisyError(error.message);\n\t\t}\n\t\tthrow new NvisyError(\"An unknown network error occurred\");\n\t},\n};\n"],"mappings":";;;;;;;;;AAsBA,MAAa;;;;AAoFb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;AC5GA,MAAa,kBAA8B;CAC1C,MAAM,WAAW,EAAE,YAAY;EAC9B,IAAI,CAAC,SAAS,IAAI;GACjB,MAAM,QAAS,MAAM,SAAS,MAAM,CAAC,CAAC,KAAK;GAC3C,MAAM,IAAI,cAAc,OAAO,SAAS,MAAM;EAC/C;EACA,OAAO;CACR;CAEA,QAAQ,EAAE,SAAS;EAElB,IAAI,iBAAiB,OACpB,MAAM,IAAI,WAAW,MAAM,OAAO;EAEnC,MAAM,IAAI,WAAW,mCAAmC;CACzD;AACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bn as ErrorResponse } from "./index-rc5Y8RNG.js";
|
|
2
2
|
//#region src/errors.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Base error class for all Nvisy SDK errors.
|
|
@@ -109,4 +109,4 @@ declare class NvisyApiError extends NvisyError implements ErrorResponse {
|
|
|
109
109
|
}
|
|
110
110
|
//#endregion
|
|
111
111
|
export { NvisyError as n, NvisyApiError as t };
|
|
112
|
-
//# sourceMappingURL=errors-
|
|
112
|
+
//# sourceMappingURL=errors-aOivXE8A.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-aOivXE8A.d.ts","names":[],"sources":["../src/errors.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAgCa,mBAAmB;;;;WAIf;;;;;;EAOJ,YAAA;;;;;;;;;;;;;;;;;;;;;;;;cA4BA,sBAAsB,sBAAsB;;;;WAIxC;;;;WAKA;;;;WAKA;;;;;;;EAQJ,YAAA,UAAU,eAAe;;;;;;;;;EAerC;;;;;;;;;EAYA;;;;;;;;;EAYA;;;;;;;;EAeA,UAAU"}
|