@nvisy/sdk 0.56.0 → 0.58.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 +34 -1
- package/dist/datatypes/index.d.ts +2 -2
- package/dist/{errors-DeUtOGAV.d.ts → errors-CCUclO-I.d.ts} +2 -2
- package/dist/{errors-DeUtOGAV.d.ts.map → errors-CCUclO-I.d.ts.map} +1 -1
- package/dist/guest/index.d.ts +1 -1
- package/dist/guest/index.js +2 -2
- package/dist/{http-CmImjBaZ.js → http-k3ba4Nmp.js} +2 -2
- package/dist/{http-CmImjBaZ.js.map → http-k3ba4Nmp.js.map} +1 -1
- package/dist/{index-tS6AFFSf.d.ts → index-CB2TdT8I.d.ts} +11 -2
- package/dist/{index-tS6AFFSf.d.ts.map → index-CB2TdT8I.d.ts.map} +1 -1
- package/dist/{index-D2ihRMUe.d.ts → index-sGTLqpYa.d.ts} +424 -142
- package/dist/index-sGTLqpYa.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/services/index.d.ts +1 -1
- package/dist/services/index.js +1 -1
- package/dist/{services-BnCYM6gZ.js → services-BdI0UOFE.js} +17 -2
- package/dist/services-BdI0UOFE.js.map +1 -0
- package/dist/webhooks/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/index-D2ihRMUe.d.ts.map +0 -1
- package/dist/services-BnCYM6gZ.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,37 @@ and this project adheres to
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.58.0] - 2026-09-20
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Regenerated the API schema against the updated platform handlers
|
|
16
|
+
- **Breaking:** the generate-invite-code response (`WorkspaceInviteCode`) now
|
|
17
|
+
carries the full invite alongside the raw code — `inviteId`, `inviteStatus`,
|
|
18
|
+
`invitedRole`, `inviteeEmail`, `respondedAt`, `createdAt`, `updatedAt` (the
|
|
19
|
+
former bare `role` field is replaced by `invitedRole`) — so a client can
|
|
20
|
+
correlate a code to its listing row. `invites.generateInviteCode(...)` is
|
|
21
|
+
unchanged for callers (same signature and return type name)
|
|
22
|
+
|
|
23
|
+
## [0.57.0] - 2026-09-20
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- `redactions.listRedactions(workspaceId, query?)` lists all redactions in a
|
|
28
|
+
workspace (`WorkspaceRedactionResultPage`; filter by `detectionId` /
|
|
29
|
+
`documentId` via `WorkspaceRedactionsQuery`)
|
|
30
|
+
- Audit datatypes `ComponentSelection` (the recognizer components selected to
|
|
31
|
+
run) and `ExifPolicy` (`strip` / `strip_sensitive` / `retain`, the EXIF
|
|
32
|
+
handling a codec resolved to)
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Regenerated the API schema against the updated platform handlers
|
|
37
|
+
- **Breaking:** the workspace detections list moved from
|
|
38
|
+
`/workspaces/{id}/pipelines/detections` to `/workspaces/{id}/detections`.
|
|
39
|
+
`detections.listDetections(...)` is unchanged for callers (same signature and
|
|
40
|
+
return type); only the underlying route changed
|
|
41
|
+
|
|
11
42
|
## [0.56.0] - 2026-09-17
|
|
12
43
|
|
|
13
44
|
### Added
|
|
@@ -1225,7 +1256,9 @@ redaction an independent resource. This release renames the SDK to match.
|
|
|
1225
1256
|
- Network error handling for timeouts, DNS resolution, and connection issues
|
|
1226
1257
|
- Configuration validation with detailed error messages
|
|
1227
1258
|
|
|
1228
|
-
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.
|
|
1259
|
+
[Unreleased]: https://github.com/nvisycom/sdk-ts/compare/v0.58.0...HEAD
|
|
1260
|
+
[0.58.0]: https://github.com/nvisycom/sdk-ts/compare/v0.57.0...v0.58.0
|
|
1261
|
+
[0.57.0]: https://github.com/nvisycom/sdk-ts/compare/v0.56.0...v0.57.0
|
|
1229
1262
|
[0.56.0]: https://github.com/nvisycom/sdk-ts/compare/v0.55.0...v0.56.0
|
|
1230
1263
|
[0.55.0]: https://github.com/nvisycom/sdk-ts/compare/v0.54.0...v0.55.0
|
|
1231
1264
|
[0.54.0]: https://github.com/nvisycom/sdk-ts/compare/v0.53.0...v0.54.0
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ConfidenceThreshold, $a as
|
|
2
|
-
export type { Account, AccountApiToken, AccountApiTokenPage, AccountApiTokenWithJwt, AccountDesktopToken, AccountIdentities, AccountIdentity, AccountMarkedReadStatus, AccountNotification, AccountNotificationPage, AccountRef, AccountUnreadStatus, ActivityPayload, ActivityType, ApiTokenType, ArtifactSet, 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, 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, RenameWorkspaceReview, ReplyWorkspaceInvite, Report, Retention, RetentionOverride, RetentionSettings, ReviewActivityParams, ReviewAssignedParams, ReviewCommentActivityParams, 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, 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, WorkspaceReviewEntry, WorkspaceReviewEntryPage, WorkspaceReviewEvent, WorkspaceReviewEventPage, WorkspaceReviewPage, WorkspaceReviewsQuery, WorkspaceRole, WorkspaceSettings, WorkspaceStorageAnalytics, WorkspaceStorageKindEntry, WorkspaceSyncSchedule, WorkspaceUsageAnalytics, WorkspaceWebhook, WorkspaceWebhookCreated, WorkspaceWebhookPage, WorkspaceWebhookResult };
|
|
1
|
+
import { $ as ConfidenceThreshold, $a as CreateAccountApiToken, $i as RangeOfUint, $n as WorkspaceDetectionPage, $r as AudioAuditLog, $t as DetectionCompletedParams, A as RenameWorkspaceReview, Aa as TextEntity, Ai as ImageAdd, An as DateWindow, Ao as WorkspaceActivity, Ar as WorkspaceConnection, At as UpdateWorkspacePolicy, B as WorkspaceReviewsQuery, Ba as ArtifactSet, Bi as ImageMetadata, Bn as UpdateWorkspaceDocument, Bo as IdentityProvider, Br as ConnectorCapabilities, Bt as UpdateWorkspacePipeline, C as Language, Ca as TextAdd, Ci as Dimensions, Cn as WorkspaceInvite, Co as PipelineActivityParams, Cr as SyncDeletionPolicy, Ct as PolicyTemplate, D as ScopeMetadata, Da as TextCoord, Di as EntityCoRef, Dn as ComponentHealth, Do as ReviewActivityParams, Dr as SyncTriggerType, Dt as TemplateOrigin, E as Languages, Ea as TextAuditLog, Ei as EditSet, En as WorkspaceInviteSent, Eo as RedactionActivityParams, Er as SyncStatus, Et as TabularRedaction, F as WorkspaceReviewEntry, Fa as TextModel, Fi as ImageEdit, Fn as DocumentHash, Fo as Account, Fr as WorkspaceConnectionsQuery, Ft as WorkspacePolicySummaryPage, G as ProviderType, Ga as Tokens, Gi as LeakProfile, Gn as CreateWorkspaceDetection, Gr as AccountDesktopToken, Gt as CursorPagination, H as InferenceConfig, Ha as LayoutBlock, Hi as ImagePattern, Hn as WorkspaceDocument, Ho as PublicAccount, Hr as LabelCatalog, Ht as WorkspacePipelineFilter, I as WorkspaceReviewEntryPage, Ia as TextPattern, Ii as ImageEntity, In as DocumentKind, Io as AccountIdentities, Ir as WorkspacePickerToken, It as CreateWorkspacePipeline, J as WorkspaceProviderPage, Ja as Transcription, Ji as ModelEvent, Jn as DetectionStatus, Jr as Signup, Jt as AccountNotificationPage, K as UpdateWorkspaceProvider, Ka as TranscriptSegment, Ki as ManualIntent, Kn as DetectionId, Kr as DesktopTokenRequest, Kt as AccountMarkedReadStatus, L as WorkspaceReviewEvent, La as TextRefinement, Li as ImageHint, Ln as FormatToken, Lo as AccountIdentity, Lr as WorkspacePickerTokenRequest, Lt as PipelineDefinition, M as UpdateWorkspaceComment, Ma as TextLocation, Mi as ImageAuditKind, Mn as ExportQuery, Mo as WorkspaceActivityFilterQuery, Mr as WorkspaceConnectionSync, Mt as WorkspacePoliciesQuery, N as WorkspaceComment, Na as TextManual, Ni as ImageAuditLog, Nn as ErrorResponse, No as WorkspaceActivityPage, Nr as WorkspaceConnectionSyncPage, Nt as WorkspacePolicy, O as CreateWorkspaceComment, Oa as TextData, Oi as ExifPolicy, On as Health, Oo as ReviewCommentActivityParams, Or as UnauthenticatedProvider, Ot as TerminalFallback, P as WorkspaceReview, Pa as TextMetadata, Pi as ImageData, Pn as DeleteWorkspaceDocuments, Po as WorkspaceActivityParams, Pr as WorkspaceConnectionVerification, Pt as WorkspacePolicySummary, Q as Color, Qa as ApiTokenType, Qi as Polygon, Qn as WorkspaceDetection, Qr as AudioAuditKind, Qt as ConnectionSyncFailedParams, R as WorkspaceReviewEventPage, Ra as TextRetag, Ri as ImageLocation, Rn as ListWorkspaceDocuments, Ro as AccountRef, Rr as WorkspaceSyncSchedule, Rt as PipelineStatus, S as CountryCode, Sa as TabularRetag, Si as Deduplication, Sn as ReplyWorkspaceInvite, So as MemberActivityParams, Sr as StorageConfig, St as PolicyRule, T as LanguageSpan, Ta as TextAuditKind, Ti as Dpi, Tn as WorkspaceInvitePage, To as ProviderActivityParams, Tr as SyncScheduleInput, Tt as Sha2Algorithm, U as ProviderConfig, Ua as LayoutWord, Ui as ImageRefinement, Un as WorkspaceDocumentPage, Uo as SetPassword, Ur as RecognizerCatalog, Ut as WorkspacePipelineSummary, V as CreateWorkspaceProvider, Va as Layout, Vi as ImageModel, Vn as WorkspaceDeletedDocuments, Vo as OidcStartResponse, Vr as FileProviders, Vt as WorkspacePipeline, W as ProviderId, Wa as Token, Wi as ImageRetag, Wn as CreateAdhocWorkspaceDetection, Wo as UpdateAccount, Wr as RegisteredRecognizer, Wt as WorkspacePipelineSummaryPage, X as AudioRedaction, Xa as AccountApiTokenPage, Xi as PatternEvent, Xn as RedactWorkspaceDetection, Xr as AudioAdd, Xt as CommentMentionedParams, Y as WorkspaceProvidersQuery, Ya as AccountApiToken, Yi as OperatorId, Yn as DetectionStatusEvent, Yr as Attribution, Yt as AccountUnreadStatus, Z as ClampBucket, Za as AccountApiTokenWithJwt, Zi as Point, Zn as RedactionId, Zr as AudioAuditEvent, Zt as ConnectionSyncCompletedParams, _ as WorkspaceWebhook, _a as TabularManual, _i as CodecParams, _n as InviteExpiration, _o as ActivityType, _r as OAuthStartResponse, _t as PciDssPart, a as RetentionSettings, aa as Selection, ai as AudioManual, an as ReviewAssignedParams, ao as Usage, ar as AuthenticatedProvider, at as GdprSensitiveScope, b as WorkspaceWebhookResult, ba as TabularPattern, bi as Contested, bn as InviteStatus, bo as DocumentActivityParams, br as S3Credentials, bt as PolicyDraft, c as WorkspacePage, ca as Suppress, ci as AudioPattern, cn as WorkspaceNotificationSettings, co as WorkspaceDetectionAnalytics, cr as ConnectionId, ct as ImageRedaction, d as CreateWorkspaceWebhook, da as TabularAuditKind, di as Audit, dn as UpdateWorkspaceMember, do as WorkspaceDetectionTimeSeries, dr as ExportWorkspaceFiles, dt as LabelLocale, ea as RasterMode, ei as AudioData, en as DetectionFailedParams, eo as TokenExpiration, er as WorkspaceDetectionsQuery, et as CreateWorkspacePolicy, f as TestWorkspaceWebhook, fa as TabularAuditLog, fi as AuditHash, fn as WorkspaceMember, fo as WorkspaceModelUsageEntry, fr as FileServiceConfig, ft as LabelRef, g as WebhookStatus, ga as TabularLocation, gi as CitedAttribution, gn as GenerateWorkspaceInviteCode, go as ActivityPayload, gr as LlmConfig, gt as ModalityRedactions, h as WebhookId, ha as TabularHint, hi as Category, hn as Direction, ho as WorkspaceUsageAnalytics, hr as ImportWorkspaceFiles, ht as LocalizedText, i as RetentionOverride, ia as RuleMatch, ii as AudioLocation, in as RedactionCreatedParams, io as TokenCounts, ir as WorkspaceRedactionsQuery, it as GdprArticle9Treatment, j as ReviewStatus, ja as TextHint, ji as ImageAuditEvent, jn as ExportFormat, jo as WorkspaceActivityExportOptions, jr as WorkspaceConnectionPage, jt as Waveform, k as CreateWorkspaceReview, ka as TextEdit, ki as FreeformAttribution, kn as HealthStatus, ko as WebhookActivityParams, kr as UpdateWorkspaceConnection, kt as TextRedaction, l as WorkspaceRole, la as TabularAdd, li as AudioRefinement, ln as ListWorkspaceMembers, lo as WorkspaceDetectionDayEntry, lr as ConnectionType, lt as Label, m as WebhookEvent, ma as TabularEntity, mi as Calibration, mn as CreateWorkspaceInvite, mo as WorkspaceStorageKindEntry, mr as GcsCredentials, mt as LanguageTag, n as RasterPolicy, na as Redaction, ni as AudioEntity, nn as NotificationEvent, no as ModelUsage, nr as WorkspaceRedactionResult, nt as DateGranularity, o as UpdateWorkspace, oa as SourceRef, oi as AudioMetadata, on as UnreadCountEvent, oo as UsageReport, or as AzureCredentials, ot as HipaaAccountNumbers, p as UpdateWorkspaceWebhook, pa as TabularEdit, pi as BoundingBox, pn as WorkspaceMemberPage, po as WorkspaceStorageAnalytics, pr as FileServiceProvider, pt as LabelScope, q as WorkspaceProvider, qa as TranscriptWord, qi as MetadataEvent, qn as DetectionMetadata, qr as Login, qt as AccountNotification, r as Retention, ra as Report, ri as AudioHint, rn as NotificationPayload, ro as RecognizerId, rr as WorkspaceRedactionResultPage, rt as DateStyle, s as Workspace, sa as SourceSpan, si as AudioModel, sn as UpdateWorkspaceNotificationSettings, so as WorkspaceAnalytics, sr as ConnectionConfig, st as HipaaDeidMethod, t as CreateWorkspace, ta as Recognition, ti as AudioEdit, tn as MemberJoinedParams, to as UpdateAccountApiToken, tr as WorkspacePipelineDetectionsQuery, tt as CustomMatcher, u as WorkspaceSettings, ua as TabularAuditEvent, ui as AudioRetag, un as MemberSortField, uo as WorkspaceDetectionStatusEntry, ur as CreateWorkspaceConnection, ut as LabelEntry, v as WorkspaceWebhookCreated, va as TabularMetadata, vi as ComponentSelection, vn as InvitePreview, vo as ConnectionActivityParams, vr as OAuthTokens, vt as PciPanRender, w as LanguageProvenance, wa as TextAuditEvent, wi as DocumentContext, wn as WorkspaceInviteCode, wo as PolicyActivityParams, wr as SyncMode, wt as Predicate, x as Confidence, xa as TabularRefinement, xi as DecodedSpan, xn as ListWorkspaceInvites, xo as InviteActivityParams, xr as StartFileServiceOAuth, xt as PolicyKind, y as WorkspaceWebhookPage, ya as TabularModel, yi as Conflict, yn as InviteSortField, yo as DetectionActivityParams, yr as PickedFile, yt as Policy, z as WorkspaceReviewPage, za as TimeSpan, zi as ImageManual, zn as ModalityToken, zo as Handle, zr as AuthCapabilities, zt as PipelineTriggerType } from "../index-sGTLqpYa.js";
|
|
2
|
+
export type { Account, AccountApiToken, AccountApiTokenPage, AccountApiTokenWithJwt, AccountDesktopToken, AccountIdentities, AccountIdentity, AccountMarkedReadStatus, AccountNotification, AccountNotificationPage, AccountRef, AccountUnreadStatus, ActivityPayload, ActivityType, ApiTokenType, ArtifactSet, 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, ComponentSelection, 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, ExifPolicy, 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, 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, RenameWorkspaceReview, ReplyWorkspaceInvite, Report, Retention, RetentionOverride, RetentionSettings, ReviewActivityParams, ReviewAssignedParams, ReviewCommentActivityParams, 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, 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, WorkspaceRedactionsQuery, WorkspaceReview, WorkspaceReviewEntry, WorkspaceReviewEntryPage, WorkspaceReviewEvent, WorkspaceReviewEventPage, WorkspaceReviewPage, WorkspaceReviewsQuery, WorkspaceRole, WorkspaceSettings, WorkspaceStorageAnalytics, WorkspaceStorageKindEntry, WorkspaceSyncSchedule, WorkspaceUsageAnalytics, WorkspaceWebhook, WorkspaceWebhookCreated, WorkspaceWebhookPage, WorkspaceWebhookResult };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nn as ErrorResponse } from "./index-
|
|
1
|
+
import { Nn as ErrorResponse } from "./index-sGTLqpYa.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-CCUclO-I.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors-
|
|
1
|
+
{"version":3,"file":"errors-CCUclO-I.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"}
|
package/dist/guest/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as NvisyGuestOptions, T as ApiClient, i as Status, m as GuestAuth, p as GuestCapabilities } from "../index-
|
|
1
|
+
import { D as NvisyGuestOptions, T as ApiClient, i as Status, m as GuestAuth, p as GuestCapabilities } from "../index-CB2TdT8I.js";
|
|
2
2
|
//#region src/guest/client.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Pre-auth Nvisy client. Wraps a token-less {@link ApiClient} and exposes the
|
package/dist/guest/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as resolveDefaults, t as createApiClient } from "../http-
|
|
2
|
-
import { i as Status, m as GuestAuth, p as GuestCapabilities } from "../services-
|
|
1
|
+
import { n as resolveDefaults, t as createApiClient } from "../http-k3ba4Nmp.js";
|
|
2
|
+
import { i as Status, m as GuestAuth, p as GuestCapabilities } from "../services-BdI0UOFE.js";
|
|
3
3
|
|
|
4
4
|
//#region src/guest/client.ts
|
|
5
5
|
/**
|
|
@@ -8,7 +8,7 @@ import createClient from "openapi-fetch";
|
|
|
8
8
|
* Injected from `package.json` at build time, so it always matches the
|
|
9
9
|
* published version. Used in the default user agent string.
|
|
10
10
|
*/
|
|
11
|
-
const VERSION = "0.
|
|
11
|
+
const VERSION = "0.58.0";
|
|
12
12
|
/**
|
|
13
13
|
* Default configuration values used when options are not explicitly provided.
|
|
14
14
|
*/
|
|
@@ -125,4 +125,4 @@ function resolveDefaults(config) {
|
|
|
125
125
|
|
|
126
126
|
//#endregion
|
|
127
127
|
export { VERSION as i, resolveDefaults as n, DEFAULTS as r, createApiClient as t };
|
|
128
|
-
//# sourceMappingURL=http-
|
|
128
|
+
//# sourceMappingURL=http-k3ba4Nmp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-CmImjBaZ.js","names":[],"sources":["../src/config.ts","../src/middleware/error.ts","../src/middleware/logging.ts","../src/http.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 * Options for the pre-auth {@link NvisyGuest} client — the transport settings\n * shared by every client, with no authentication. All fields are optional and\n * use sensible defaults.\n */\nexport interface NvisyGuestOptions {\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 * Merged over the default headers (Content-Type, User-Agent, and, for token\n\t * auth, Authorization). Custom headers take precedence on conflict.\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 * Credentials mode forwarded to `fetch`. Session auth sets this to\n\t * `\"include\"` automatically; set it here only to override the transport\n\t * behaviour (e.g. a same-origin app that wants a different mode).\n\t */\n\tcredentials?: RequestCredentials;\n\n\t/**\n\t * Enable logging for requests and responses.\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 * Configuration for the authenticated {@link Nvisy} client. Authenticate one of\n * two ways, chosen explicitly:\n *\n * - `apiToken` — send an API token as `Authorization: Bearer <token>`.\n * - `session: true` — use the browser cookie session established by the guest\n * client's `login` / `signup`; requests are sent credentialed\n * (`credentials: \"include\"`).\n *\n * The two are mutually exclusive.\n *\n * @example\n * ```typescript\n * // API token\n * new Nvisy({ apiToken: \"your-api-token\" });\n *\n * // Browser cookie session (after the guest client logged in)\n * new Nvisy({ session: true });\n * ```\n */\nexport type NvisyOptions = NvisyGuestOptions &\n\t({ apiToken: string; session?: never } | { session: true; apiToken?: never });\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","import type { Middleware } from \"openapi-fetch\";\n\n/**\n * Creates a logging middleware for debugging requests and responses.\n *\n * Logs request method, URL, response status, and timing to console.\n */\nexport function createLoggingMiddleware(): Middleware {\n\treturn {\n\t\tasync onRequest({ request }) {\n\t\t\tconst start = performance.now();\n\t\t\t(request as Request & { _startTime?: number })._startTime = start;\n\t\t\treturn request;\n\t\t},\n\n\t\tasync onResponse({ request, response }) {\n\t\t\tconst start =\n\t\t\t\t(request as Request & { _startTime?: number })._startTime ??\n\t\t\t\tperformance.now();\n\t\t\tconst duration = Math.round(performance.now() - start);\n\t\t\tconst url = new URL(request.url);\n\n\t\t\tconsole.log(\n\t\t\t\t`[nvisy] ${request.method} ${url.pathname} ${response.status} (${duration}ms)`,\n\t\t\t);\n\n\t\t\tif (!response.ok) {\n\t\t\t\tconst cloned = response.clone();\n\t\t\t\ttry {\n\t\t\t\t\tconst body = await cloned.json();\n\t\t\t\t\tconsole.error(\"[nvisy] Response:\", JSON.stringify(body, null, 2));\n\t\t\t\t} catch {\n\t\t\t\t\tconst text = await cloned.text();\n\t\t\t\t\tif (text) console.error(\"[nvisy] Response:\", text);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn response;\n\t\t},\n\n\t\tonError({ request, error }) {\n\t\t\tconst start =\n\t\t\t\t(request as Request & { _startTime?: number })._startTime ??\n\t\t\t\tperformance.now();\n\t\t\tconst duration = Math.round(performance.now() - start);\n\t\t\tconst url = new URL(request.url);\n\n\t\t\tconsole.error(\n\t\t\t\t`[nvisy] ${request.method} ${url.pathname} ERROR (${duration}ms):`,\n\t\t\t\terror instanceof Error ? error.message : error,\n\t\t\t);\n\t\t},\n\t};\n}\n","/**\n * @fileoverview Shared openapi-fetch client factory used by both the\n * authenticated {@link Nvisy} client and the pre-auth {@link NvisyGuest} client.\n *\n * @module http\n * @internal\n */\n\nimport createClient, { type Client as OpenApiClient } from \"openapi-fetch\";\nimport { DEFAULTS } from \"@/config.js\";\nimport {\n\tcreateLoggingMiddleware,\n\terrorMiddleware,\n} from \"@/middleware/index.js\";\nimport type { paths } from \"@/schema/api.js\";\n\n/** Typed openapi-fetch client for the Nvisy API. */\nexport type ApiClient = OpenApiClient<paths>;\n\n/** Resolved options for building an {@link ApiClient}. */\nexport interface ApiClientOptions {\n\t/** Bearer token to send as `Authorization`; omit for an unauthenticated client. */\n\tapiToken?: string;\n\t/** Base URL for the API. */\n\tbaseUrl: string;\n\t/** Custom headers merged over the defaults. */\n\theaders: Record<string, string>;\n\t/** User-agent string. */\n\tuserAgent: string;\n\t/** Credentials mode forwarded to `fetch` (e.g. `\"include\"` for cookies). */\n\tcredentials?: RequestCredentials;\n\t/** Whether to log requests/responses. */\n\twithLogging: boolean;\n\t/** Custom fetch implementation; `undefined` uses the global fetch. */\n\tfetch?: typeof globalThis.fetch;\n}\n\n/**\n * Build a configured openapi-fetch client. A bearer `Authorization` header is\n * sent only when `apiToken` is provided, so the same factory serves the\n * authenticated and guest clients.\n */\nexport function createApiClient(options: ApiClientOptions): ApiClient {\n\tconst headers: Record<string, string> = {\n\t\t\"Content-Type\": \"application/json\",\n\t\t\"User-Agent\": options.userAgent,\n\t\t// Send a bearer token only when configured; a guest client authenticates\n\t\t// with cookies (or not at all) instead.\n\t\t...(options.apiToken\n\t\t\t? { Authorization: `Bearer ${options.apiToken}` }\n\t\t\t: {}),\n\t\t...options.headers,\n\t};\n\n\tconst api = createClient<paths>({\n\t\tbaseUrl: options.baseUrl,\n\t\theaders,\n\t\t// `undefined` falls back to the global fetch inside openapi-fetch.\n\t\tfetch: options.fetch,\n\t\t// Omitted `credentials` uses the platform default.\n\t\t...(options.credentials ? { credentials: options.credentials } : {}),\n\t});\n\n\tif (options.withLogging) {\n\t\tapi.use(createLoggingMiddleware());\n\t}\n\n\tapi.use(errorMiddleware);\n\treturn api;\n}\n\n/** Apply the shared defaults (base URL, user agent) to a config's optionals. */\nexport function resolveDefaults<\n\tT extends {\n\t\tbaseUrl?: string;\n\t\theaders?: Record<string, string>;\n\t\tuserAgent?: string;\n\t\twithLogging?: boolean;\n\t},\n>(config: T) {\n\treturn {\n\t\tbaseUrl: config.baseUrl ?? DEFAULTS.BASE_URL,\n\t\theaders: config.headers ?? {},\n\t\tuserAgent: config.userAgent ?? DEFAULTS.USER_AGENT,\n\t\twithLogging: config.withLogging ?? false,\n\t};\n}\n"],"mappings":";;;;;;;;;;AAsBA,MAAa;;;;AAkFb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;AC1GA,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,WA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GAAG,QAAQ;CACZ;CAEA,MAAM,MAAM,aAAoB;EAC/B,SAAS,QAAQ;EACjB;EAEA,OAAO,QAAQ;EAEf,GAAI,QAAQ,cAAc,EAAE,aAAa,QAAQ,YAAY,IAAI,CAAC;CACnE,CAAC;CAED,IAAI,QAAQ,aACX,IAAI,IAAI,wBAAwB,CAAC;CAGlC,IAAI,IAAI,eAAe;CACvB,OAAO;AACR;;AAGA,SAAgB,gBAOd,QAAW;CACZ,OAAO;EACN,SAAS,OAAO,WAAW,SAAS;EACpC,SAAS,OAAO,WAAW,CAAC;EAC5B,WAAW,OAAO,aAAa,SAAS;EACxC,aAAa,OAAO,eAAe;CACpC;AACD"}
|
|
1
|
+
{"version":3,"file":"http-k3ba4Nmp.js","names":[],"sources":["../src/config.ts","../src/middleware/error.ts","../src/middleware/logging.ts","../src/http.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 * Options for the pre-auth {@link NvisyGuest} client — the transport settings\n * shared by every client, with no authentication. All fields are optional and\n * use sensible defaults.\n */\nexport interface NvisyGuestOptions {\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 * Merged over the default headers (Content-Type, User-Agent, and, for token\n\t * auth, Authorization). Custom headers take precedence on conflict.\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 * Credentials mode forwarded to `fetch`. Session auth sets this to\n\t * `\"include\"` automatically; set it here only to override the transport\n\t * behaviour (e.g. a same-origin app that wants a different mode).\n\t */\n\tcredentials?: RequestCredentials;\n\n\t/**\n\t * Enable logging for requests and responses.\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 * Configuration for the authenticated {@link Nvisy} client. Authenticate one of\n * two ways, chosen explicitly:\n *\n * - `apiToken` — send an API token as `Authorization: Bearer <token>`.\n * - `session: true` — use the browser cookie session established by the guest\n * client's `login` / `signup`; requests are sent credentialed\n * (`credentials: \"include\"`).\n *\n * The two are mutually exclusive.\n *\n * @example\n * ```typescript\n * // API token\n * new Nvisy({ apiToken: \"your-api-token\" });\n *\n * // Browser cookie session (after the guest client logged in)\n * new Nvisy({ session: true });\n * ```\n */\nexport type NvisyOptions = NvisyGuestOptions &\n\t({ apiToken: string; session?: never } | { session: true; apiToken?: never });\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","import type { Middleware } from \"openapi-fetch\";\n\n/**\n * Creates a logging middleware for debugging requests and responses.\n *\n * Logs request method, URL, response status, and timing to console.\n */\nexport function createLoggingMiddleware(): Middleware {\n\treturn {\n\t\tasync onRequest({ request }) {\n\t\t\tconst start = performance.now();\n\t\t\t(request as Request & { _startTime?: number })._startTime = start;\n\t\t\treturn request;\n\t\t},\n\n\t\tasync onResponse({ request, response }) {\n\t\t\tconst start =\n\t\t\t\t(request as Request & { _startTime?: number })._startTime ??\n\t\t\t\tperformance.now();\n\t\t\tconst duration = Math.round(performance.now() - start);\n\t\t\tconst url = new URL(request.url);\n\n\t\t\tconsole.log(\n\t\t\t\t`[nvisy] ${request.method} ${url.pathname} ${response.status} (${duration}ms)`,\n\t\t\t);\n\n\t\t\tif (!response.ok) {\n\t\t\t\tconst cloned = response.clone();\n\t\t\t\ttry {\n\t\t\t\t\tconst body = await cloned.json();\n\t\t\t\t\tconsole.error(\"[nvisy] Response:\", JSON.stringify(body, null, 2));\n\t\t\t\t} catch {\n\t\t\t\t\tconst text = await cloned.text();\n\t\t\t\t\tif (text) console.error(\"[nvisy] Response:\", text);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn response;\n\t\t},\n\n\t\tonError({ request, error }) {\n\t\t\tconst start =\n\t\t\t\t(request as Request & { _startTime?: number })._startTime ??\n\t\t\t\tperformance.now();\n\t\t\tconst duration = Math.round(performance.now() - start);\n\t\t\tconst url = new URL(request.url);\n\n\t\t\tconsole.error(\n\t\t\t\t`[nvisy] ${request.method} ${url.pathname} ERROR (${duration}ms):`,\n\t\t\t\terror instanceof Error ? error.message : error,\n\t\t\t);\n\t\t},\n\t};\n}\n","/**\n * @fileoverview Shared openapi-fetch client factory used by both the\n * authenticated {@link Nvisy} client and the pre-auth {@link NvisyGuest} client.\n *\n * @module http\n * @internal\n */\n\nimport createClient, { type Client as OpenApiClient } from \"openapi-fetch\";\nimport { DEFAULTS } from \"@/config.js\";\nimport {\n\tcreateLoggingMiddleware,\n\terrorMiddleware,\n} from \"@/middleware/index.js\";\nimport type { paths } from \"@/schema/api.js\";\n\n/** Typed openapi-fetch client for the Nvisy API. */\nexport type ApiClient = OpenApiClient<paths>;\n\n/** Resolved options for building an {@link ApiClient}. */\nexport interface ApiClientOptions {\n\t/** Bearer token to send as `Authorization`; omit for an unauthenticated client. */\n\tapiToken?: string;\n\t/** Base URL for the API. */\n\tbaseUrl: string;\n\t/** Custom headers merged over the defaults. */\n\theaders: Record<string, string>;\n\t/** User-agent string. */\n\tuserAgent: string;\n\t/** Credentials mode forwarded to `fetch` (e.g. `\"include\"` for cookies). */\n\tcredentials?: RequestCredentials;\n\t/** Whether to log requests/responses. */\n\twithLogging: boolean;\n\t/** Custom fetch implementation; `undefined` uses the global fetch. */\n\tfetch?: typeof globalThis.fetch;\n}\n\n/**\n * Build a configured openapi-fetch client. A bearer `Authorization` header is\n * sent only when `apiToken` is provided, so the same factory serves the\n * authenticated and guest clients.\n */\nexport function createApiClient(options: ApiClientOptions): ApiClient {\n\tconst headers: Record<string, string> = {\n\t\t\"Content-Type\": \"application/json\",\n\t\t\"User-Agent\": options.userAgent,\n\t\t// Send a bearer token only when configured; a guest client authenticates\n\t\t// with cookies (or not at all) instead.\n\t\t...(options.apiToken\n\t\t\t? { Authorization: `Bearer ${options.apiToken}` }\n\t\t\t: {}),\n\t\t...options.headers,\n\t};\n\n\tconst api = createClient<paths>({\n\t\tbaseUrl: options.baseUrl,\n\t\theaders,\n\t\t// `undefined` falls back to the global fetch inside openapi-fetch.\n\t\tfetch: options.fetch,\n\t\t// Omitted `credentials` uses the platform default.\n\t\t...(options.credentials ? { credentials: options.credentials } : {}),\n\t});\n\n\tif (options.withLogging) {\n\t\tapi.use(createLoggingMiddleware());\n\t}\n\n\tapi.use(errorMiddleware);\n\treturn api;\n}\n\n/** Apply the shared defaults (base URL, user agent) to a config's optionals. */\nexport function resolveDefaults<\n\tT extends {\n\t\tbaseUrl?: string;\n\t\theaders?: Record<string, string>;\n\t\tuserAgent?: string;\n\t\twithLogging?: boolean;\n\t},\n>(config: T) {\n\treturn {\n\t\tbaseUrl: config.baseUrl ?? DEFAULTS.BASE_URL,\n\t\theaders: config.headers ?? {},\n\t\tuserAgent: config.userAgent ?? DEFAULTS.USER_AGENT,\n\t\twithLogging: config.withLogging ?? false,\n\t};\n}\n"],"mappings":";;;;;;;;;;AAsBA,MAAa;;;;AAkFb,MAAa,WAAW;;;;CAIvB,UAAU;;;;CAKV,YAAY,gBAAgB;AAC7B;;;;;;;;AC1GA,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;;;;;;;;;ACjBA,SAAgB,0BAAsC;CACrD,OAAO;EACN,MAAM,UAAU,EAAE,WAAW;GAE5B,AAAC,QAA8C,aADjC,YAAY,IACsC;GAChE,OAAO;EACR;EAEA,MAAM,WAAW,EAAE,SAAS,YAAY;GACvC,MAAM,QACJ,QAA8C,cAC/C,YAAY,IAAI;GACjB,MAAM,WAAW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Z,OAAO;EACN,SAAS,OAAO,WAAW,SAAS;EACpC,SAAS,OAAO,WAAW,CAAC;EAC5B,WAAW,OAAO,aAAa,SAAS;EACxC,aAAa,OAAO,eAAe;CACpC;AACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as WorkspaceDetectionPage, A as RenameWorkspaceReview, An as DateWindow,
|
|
1
|
+
import { $a as CreateAccountApiToken, $n as WorkspaceDetectionPage, A as RenameWorkspaceReview, An as DateWindow, Ar as WorkspaceConnection, At as UpdateWorkspacePolicy, B as WorkspaceReviewsQuery, Ba as ArtifactSet, Bn as UpdateWorkspaceDocument, Bo as IdentityProvider, Br as ConnectorCapabilities, Bt as UpdateWorkspacePipeline, En as WorkspaceInviteSent, Er as SyncStatus, Fo as Account$1, Ft as WorkspacePolicySummaryPage, Gn as CreateWorkspaceDetection, Go as paths, Gr as AccountDesktopToken, Gt as CursorPagination, Hn as WorkspaceDocument, Ho as PublicAccount, Hr as LabelCatalog, I as WorkspaceReviewEntryPage, Io as AccountIdentities, Ir as WorkspacePickerToken, It as CreateWorkspacePipeline, J as WorkspaceProviderPage, Jr as Signup, Jt as AccountNotificationPage, K as UpdateWorkspaceProvider, Kr as DesktopTokenRequest, Kt as AccountMarkedReadStatus, Lr as WorkspacePickerTokenRequest, M as UpdateWorkspaceComment, Mn as ExportQuery, Mo as WorkspaceActivityFilterQuery, Mr as WorkspaceConnectionSync, Mt as WorkspacePoliciesQuery, N as WorkspaceComment, No as WorkspaceActivityPage, Nr as WorkspaceConnectionSyncPage, Nt as WorkspacePolicy, O as CreateWorkspaceComment, On as Health, P as WorkspaceReview, Pr as WorkspaceConnectionVerification, Qn as WorkspaceDetection, R as WorkspaceReviewEventPage, Rn as ListWorkspaceDocuments, Rt as PipelineStatus, Sn as ReplyWorkspaceInvite, Tn as WorkspaceInvitePage, Un as WorkspaceDocumentPage, Uo as SetPassword, Ur as RecognizerCatalog, V as CreateWorkspaceProvider, Vn as WorkspaceDeletedDocuments, Vo as OidcStartResponse, Vt as WorkspacePipeline, Wn as CreateAdhocWorkspaceDetection, Wo as UpdateAccount, Wt as WorkspacePipelineSummaryPage, Xa as AccountApiTokenPage, Xn as RedactWorkspaceDetection, Y as WorkspaceProvidersQuery, Ya as AccountApiToken, Yn as DetectionStatusEvent, Yt as AccountUnreadStatus, Za as AccountApiTokenWithJwt, _ as WorkspaceWebhook, _r as OAuthStartResponse, b as WorkspaceWebhookResult, c as WorkspacePage, cn as WorkspaceNotificationSettings, d as CreateWorkspaceWebhook, di as Audit, dn as UpdateWorkspaceMember, do as WorkspaceDetectionTimeSeries, dr as ExportWorkspaceFiles, er as WorkspaceDetectionsQuery, et as CreateWorkspacePolicy, f as TestWorkspaceWebhook, fn as WorkspaceMember, gn as GenerateWorkspaceInviteCode, hr as ImportWorkspaceFiles, ir as WorkspaceRedactionsQuery, jo as WorkspaceActivityExportOptions, jr as WorkspaceConnectionPage, k as CreateWorkspaceReview, kr as UpdateWorkspaceConnection, ln as ListWorkspaceMembers, mn as CreateWorkspaceInvite, nr as WorkspaceRedactionResult, o as UpdateWorkspace, on as UnreadCountEvent, p as UpdateWorkspaceWebhook, pn as WorkspaceMemberPage, pr as FileServiceProvider, q as WorkspaceProvider, qr as Login, rr as WorkspaceRedactionResultPage, s as Workspace, sn as UpdateWorkspaceNotificationSettings, so as WorkspaceAnalytics, t as CreateWorkspace, to as UpdateAccountApiToken, tr as WorkspacePipelineDetectionsQuery, ur as CreateWorkspaceConnection, v as WorkspaceWebhookCreated, vn as InvitePreview, wn as WorkspaceInviteCode, xn as ListWorkspaceInvites, xr as StartFileServiceOAuth, y as WorkspaceWebhookPage, z as WorkspaceReviewPage, zr as AuthCapabilities } from "./index-sGTLqpYa.js";
|
|
2
2
|
import { Client } from "openapi-fetch";
|
|
3
3
|
//#region src/config.d.ts
|
|
4
4
|
/**
|
|
@@ -1282,6 +1282,15 @@ declare class Providers {
|
|
|
1282
1282
|
declare class Redactions {
|
|
1283
1283
|
#private;
|
|
1284
1284
|
constructor(api: ApiClient);
|
|
1285
|
+
/**
|
|
1286
|
+
* List all redactions in a workspace
|
|
1287
|
+
* @param workspaceId - Workspace id
|
|
1288
|
+
* @param query - Optional pagination and filters (detectionId, documentId,
|
|
1289
|
+
* limit, after)
|
|
1290
|
+
* @returns Promise that resolves with a paginated list of redactions
|
|
1291
|
+
* @throws {ApiError} if the request fails
|
|
1292
|
+
*/
|
|
1293
|
+
listRedactions(workspaceId: string, query?: CursorPagination & WorkspaceRedactionsQuery): Promise<WorkspaceRedactionResultPage>;
|
|
1285
1294
|
/**
|
|
1286
1295
|
* Get a redaction's review audit
|
|
1287
1296
|
* @param workspaceId - Workspace id
|
|
@@ -1681,4 +1690,4 @@ declare class Workspaces {
|
|
|
1681
1690
|
}
|
|
1682
1691
|
//#endregion
|
|
1683
1692
|
export { Account as C, NvisyGuestOptions as D, DEFAULTS as E, NvisyOptions as O, Activities as S, ApiClient as T, Connections as _, Reviews as a, ApiTokens as b, Policies as c, Members as d, Invites as f, Detections as g, Documents as h, Status as i, VERSION as k, Pipelines as l, GuestAuth as m, Webhooks as n, Redactions as o, GuestCapabilities as p, Syncs as r, Providers as s, Workspaces as t, Notifications as u, Capabilities as v, Nvisy as w, Analytics as x, Auth as y };
|
|
1684
|
-
//# sourceMappingURL=index-
|
|
1693
|
+
//# sourceMappingURL=index-CB2TdT8I.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-CB2TdT8I.d.ts","names":[],"sources":["../src/config.ts","../src/http.ts","../src/client.ts","../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/guest-auth.ts","../src/services/guest-capabilities.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/webhooks.ts","../src/services/workspaces.ts"],"mappings":";;;;;;;;;;;;;;;;;cAsBa;;;;;;UAQI;;;;;;EAMhB;;;;;;;EAQA,UAAU;;;;;;EAOV;;;;;;EAOA,cAAc;;;;;;EAOd;;;;;;;;;EAUA,eAAe,WAAW;;;;;;;;;;;;;;;;;;;;;;KAuBf,eAAe;EACvB;EAAkB;;EAAsB;EAAe;;;;;cAK9C;;;;WAAA;;;;WAAA;;;;;KCvFD,YAAY,OAAc;;;;;;;;;;;;;cCyCzB;;;;;;;;;;;;;;;;;;;;EA+BA,YAAA,QAAQ;;;;;;;;;;;;;;;;;;;;;EAiEpB,aAAa,mBAAmB;;;;;;MAmB5B;;;;;;;;;MAYA,OAAO;;;;;MAQP,QAAQ;;;;MAOR,UAAU;;;;MAOV,WAAW;;;;MAOX,cAAc;;;;MAOd,aAAa;;;;MAOb,aAAa;;;;MAOb,eAAe;;;;MAOf,aAAa;;;;MAOb,aAAa;;;;MAOb,YAAY;;;;MAOZ,aAAa;;;;;MAQb,gBAAgB;;;;MAOhB,WAAW;;;;MAOX,WAAW;;;;MAOX,iBAAiB;;;;MAOjB,cAAc;;;;MAOd,cAAc;;;;MAOd,WAAW;;;;MAOX,SAAS;;;;MAOT,YAAY;;;;MAOZ,cAAc;;;;;;;cChUN;;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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