@nvisy/sdk 0.53.0 → 0.55.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +50 -1
  2. package/dist/datatypes/index.d.ts +2 -2
  3. package/dist/{errors-aOivXE8A.d.ts → errors-DShmkdjS.d.ts} +2 -2
  4. package/dist/{errors-aOivXE8A.d.ts.map → errors-DShmkdjS.d.ts.map} +1 -1
  5. package/dist/guest/index.d.ts +35 -0
  6. package/dist/guest/index.d.ts.map +1 -0
  7. package/dist/guest/index.js +59 -0
  8. package/dist/guest/index.js.map +1 -0
  9. package/dist/http-BRaKBzAA.js +128 -0
  10. package/dist/http-BRaKBzAA.js.map +1 -0
  11. package/dist/{client-DywPcOzJ.d.ts → index-CuKzO8Ly.d.ts} +357 -216
  12. package/dist/index-CuKzO8Ly.d.ts.map +1 -0
  13. package/dist/{index-rc5Y8RNG.d.ts → index-DzEtj1r2.d.ts} +109 -51
  14. package/dist/index-DzEtj1r2.d.ts.map +1 -0
  15. package/dist/index.d.ts +4 -5
  16. package/dist/index.js +34 -120
  17. package/dist/index.js.map +1 -1
  18. package/dist/services/index.d.ts +2 -2
  19. package/dist/services/index.js +2 -2
  20. package/dist/{services-DFJfjW1b.js → services-BMmcawiT.js} +117 -60
  21. package/dist/services-BMmcawiT.js.map +1 -0
  22. package/dist/webhooks/index.d.ts +2 -2
  23. package/package.json +4 -4
  24. package/dist/client-DywPcOzJ.d.ts.map +0 -1
  25. package/dist/config-BdAgnJlh.d.ts +0 -103
  26. package/dist/config-BdAgnJlh.d.ts.map +0 -1
  27. package/dist/error-D_h2zq6T.js +0 -47
  28. package/dist/error-D_h2zq6T.js.map +0 -1
  29. package/dist/index-rc5Y8RNG.d.ts.map +0 -1
  30. package/dist/services-DFJfjW1b.js.map +0 -1
  31. package/dist/standalone/index.d.ts +0 -117
  32. package/dist/standalone/index.d.ts.map +0 -1
  33. package/dist/standalone/index.js +0 -153
  34. package/dist/standalone/index.js.map +0 -1
@@ -1,6 +1,273 @@
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
- import { t as ClientConfig } from "./config-BdAgnJlh.js";
1
+ import { $ as WorkspaceProvider, $a as AccountApiTokenPage, $r as Signup, An as WorkspaceInviteCode, B as CreateWorkspaceReview, Bo as AccountIdentities, C as RenameWorkspaceThread, D as WorkspaceThread, Dn as ListWorkspaceInvites, E as WorkspaceComment, Er as StartFileServiceOAuth, Fo as WorkspaceActivityExportOptions, Fr as WorkspaceConnection, G as WorkspaceReviewPage, Go as OidcStartResponse, Gr as ConnectorCapabilities, H as WorkspaceReview, Hr as WorkspacePickerTokenRequest, Ht as CreateWorkspacePipeline, In as DateWindow, Io as WorkspaceActivityFilterQuery, Ir as WorkspaceConnectionPage, It as UpdateWorkspacePolicy, Jn as WorkspaceDocument, Jo as UpdateAccount, Jr as RecognizerCatalog, K as WorkspaceReviewsQuery, Kn as UpdateWorkspaceDocument, Ko as PublicAccount, Kt as UpdateWorkspacePipeline, Lo as WorkspaceActivityPage, Lr as WorkspaceConnectionSync, M as WorkspaceThreadsQuery, Mn as WorkspaceInviteSent, On as ReplyWorkspaceInvite, Pn as Health, Pr as UpdateWorkspaceConnection, Q as UpdateWorkspaceProvider, Qa as AccountApiToken, Qr as Login, Qt as AccountMarkedReadStatus, Rn as ExportQuery, Rr as WorkspaceConnectionSyncPage, Rt as WorkspacePoliciesQuery, S as OpenWorkspaceThread, Sn as GenerateWorkspaceInviteCode, Sr as OAuthStartResponse, T as UpdateWorkspaceComment, Ua as ArtifactSet, Vr as WorkspacePickerToken, Vt as WorkspacePolicySummaryPage, W as WorkspaceReviewEventPage, Wn as ListWorkspaceDocuments, Wo as IdentityProvider, Wr as AuthCapabilities, Wt as PipelineStatus, Xn as CreateAdhocWorkspaceDetection, Xr as AccountDesktopToken, Xt as WorkspacePipelineSummaryPage, Yn as WorkspaceDocumentPage, Yo as paths, Zn as CreateWorkspaceDetection, Zr as DesktopTokenRequest, Zt as CursorPagination, _ as WorkspaceWebhook, _n as UpdateWorkspaceMember, ar as WorkspaceDetectionPage, b as WorkspaceWebhookResult, bn as CreateWorkspaceInvite, br as ImportWorkspaceFiles, c as WorkspacePage, cr as WorkspaceRedactionResult, d as CreateWorkspaceWebhook, en as AccountNotificationPage, eo as AccountApiTokenWithJwt, et as WorkspaceProviderPage, f as TestWorkspaceWebhook, fn as UnreadCountEvent, gi as Audit, gr as ExportWorkspaceFiles, hn as ListWorkspaceMembers, hr as CreateWorkspaceConnection, io as UpdateAccountApiToken, ir as WorkspaceDetection, j as WorkspaceThreadPage, jn as WorkspaceInvitePage, jr as SyncStatus, k as WorkspaceThreadEntryPage, lr as WorkspaceRedactionResultPage, mn as WorkspaceNotificationSettings, mo as WorkspaceDetectionTimeSeries, no as CreateAccountApiToken, nr as RedactWorkspaceDetection, o as UpdateWorkspace, or as WorkspaceDetectionsQuery, ot as CreateWorkspacePolicy, p as UpdateWorkspaceWebhook, pn as UpdateWorkspaceNotificationSettings, q as CreateWorkspaceProvider, qn as WorkspaceDeletedDocuments, qo as SetPassword, qr as LabelCatalog, qt as WorkspacePipeline, s as Workspace, sr as WorkspacePipelineDetectionsQuery, t as CreateWorkspace, tn as AccountUnreadStatus, tr as DetectionStatusEvent, tt as WorkspaceProvidersQuery, uo as WorkspaceAnalytics, v as WorkspaceWebhookCreated, vn as WorkspaceMember, vr as FileServiceProvider, wn as InvitePreview, x as CreateWorkspaceComment, y as WorkspaceWebhookPage, yn as WorkspaceMemberPage, zo as Account$1, zr as WorkspaceConnectionVerification, zt as WorkspacePolicy } from "./index-DzEtj1r2.js";
3
2
  import { Client } from "openapi-fetch";
3
+ //#region src/config.d.ts
4
+ /**
5
+ * @fileoverview Configuration types and constants for the Nvisy SDK.
6
+ *
7
+ * This module provides configuration interfaces, default values, and environment
8
+ * variable names used throughout the SDK.
9
+ *
10
+ * @module config
11
+ */
12
+ /**
13
+ * Current SDK version.
14
+ *
15
+ * Injected from `package.json` at build time, so it always matches the
16
+ * published version. Used in the default user agent string.
17
+ */
18
+ declare const VERSION: string;
19
+ /**
20
+ * Options for the pre-auth {@link NvisyGuest} client — the transport settings
21
+ * shared by every client, with no authentication. All fields are optional and
22
+ * use sensible defaults.
23
+ */
24
+ interface NvisyGuestOptions {
25
+ /**
26
+ * Base URL for the Nvisy API.
27
+ *
28
+ * @default "https://api.nvisy.com"
29
+ */
30
+ baseUrl?: string;
31
+ /**
32
+ * Custom headers to include with every request.
33
+ *
34
+ * Merged over the default headers (Content-Type, User-Agent, and, for token
35
+ * auth, Authorization). Custom headers take precedence on conflict.
36
+ */
37
+ headers?: Record<string, string>;
38
+ /**
39
+ * Custom user agent string to identify your application.
40
+ *
41
+ * @default "@nvisy/sdk v.{version}"
42
+ */
43
+ userAgent?: string;
44
+ /**
45
+ * Credentials mode forwarded to `fetch`. Session auth sets this to
46
+ * `"include"` automatically; set it here only to override the transport
47
+ * behaviour (e.g. a same-origin app that wants a different mode).
48
+ */
49
+ credentials?: RequestCredentials;
50
+ /**
51
+ * Enable logging for requests and responses.
52
+ *
53
+ * @default false
54
+ */
55
+ withLogging?: boolean;
56
+ /**
57
+ * Custom fetch implementation used for every request. Must match the WHATWG
58
+ * `fetch` signature. Defaults to the global `fetch`.
59
+ *
60
+ * Lets a host swap in a non-browser transport — e.g. a desktop (Tauri) app
61
+ * passing `@tauri-apps/plugin-http`'s `fetch`, which performs the request in
62
+ * the native process and so is not subject to browser CORS.
63
+ */
64
+ fetch?: typeof globalThis.fetch;
65
+ }
66
+ /**
67
+ * Configuration for the authenticated {@link Nvisy} client. Authenticate one of
68
+ * two ways, chosen explicitly:
69
+ *
70
+ * - `apiToken` — send an API token as `Authorization: Bearer <token>`.
71
+ * - `session: true` — use the browser cookie session established by the guest
72
+ * client's `login` / `signup`; requests are sent credentialed
73
+ * (`credentials: "include"`).
74
+ *
75
+ * The two are mutually exclusive.
76
+ *
77
+ * @example
78
+ * ```typescript
79
+ * // API token
80
+ * new Nvisy({ apiToken: "your-api-token" });
81
+ *
82
+ * // Browser cookie session (after the guest client logged in)
83
+ * new Nvisy({ session: true });
84
+ * ```
85
+ */
86
+ type NvisyOptions = NvisyGuestOptions & ({
87
+ apiToken: string;
88
+ session?: never;
89
+ } | {
90
+ session: true;
91
+ apiToken?: never;
92
+ });
93
+ /**
94
+ * Default configuration values used when options are not explicitly provided.
95
+ */
96
+ declare const DEFAULTS: {
97
+ /**
98
+ * Default base URL for the Nvisy API.
99
+ */
100
+ readonly BASE_URL: "https://api.nvisy.com";
101
+ /**
102
+ * Default user agent string.
103
+ */
104
+ readonly USER_AGENT: `@nvisy/sdk v.${string}`;
105
+ };
106
+ //#endregion
107
+ //#region src/http.d.ts
108
+ /** Typed openapi-fetch client for the Nvisy API. */
109
+ type ApiClient = Client<paths>;
110
+ //#endregion
111
+ //#region src/client.d.ts
112
+ /**
113
+ * Main client class for interacting with the Nvisy document processing API.
114
+ *
115
+ * @example
116
+ * ```typescript
117
+ * const nvisy = new Nvisy({ apiToken: "your-api-token" });
118
+ * const account = await nvisy.account.getAccount();
119
+ * const workspaces = await nvisy.workspaces.listWorkspaces();
120
+ * ```
121
+ */
122
+ declare class Nvisy {
123
+ #private;
124
+ /**
125
+ * Creates a new authenticated Nvisy client.
126
+ *
127
+ * Authenticate with an `apiToken` (bearer) or `session: true` (the browser
128
+ * cookie session established by the guest client's login / signup). For the
129
+ * pre-auth surface (login / signup / OIDC start, auth capabilities, health),
130
+ * use {@link NvisyGuest} from `@nvisy/sdk/guest`.
131
+ *
132
+ * @param config - Configuration; provide either `apiToken` or `session: true`
133
+ * @throws {NvisyError} If an `apiToken` is provided but invalid
134
+ *
135
+ * @example
136
+ * ```typescript
137
+ * const nvisy = new Nvisy({ apiToken: "your-api-token" });
138
+ * // or, after a browser login:
139
+ * const nvisy = new Nvisy({ session: true });
140
+ * ```
141
+ */
142
+ constructor(config: NvisyOptions);
143
+ /**
144
+ * Creates a new client with a different API token.
145
+ *
146
+ * Returns a new client instance with the new token. The original client
147
+ * remains unchanged. All other configuration (base URL, headers, etc.)
148
+ * is preserved in the new client.
149
+ *
150
+ * @param apiToken - The new API token
151
+ * @returns A new Nvisy instance with the new token
152
+ * @throws {NvisyError} If the API token is invalid
153
+ *
154
+ * @example
155
+ * ```typescript
156
+ * const nvisy = new Nvisy({ apiToken: "original-token" });
157
+ * const newNvisy = nvisy.withApiToken("new-token");
158
+ *
159
+ * // newNvisy uses the new token
160
+ * // nvisy still uses the original token
161
+ * ```
162
+ */
163
+ withApiToken(apiToken: string): Nvisy;
164
+ /**
165
+ * The base URL used for API requests.
166
+ *
167
+ * @returns The configured base URL
168
+ */
169
+ get baseUrl(): string;
170
+ /**
171
+ * The underlying openapi-fetch client for direct API access.
172
+ *
173
+ * Use this for advanced scenarios where you need direct access to the
174
+ * HTTP client, such as calling endpoints not covered by the service classes.
175
+ *
176
+ * @returns The configured ApiClient instance
177
+ */
178
+ get api(): ApiClient;
179
+ /**
180
+ * Service for authenticated auth operations (logout, desktop token). Pre-auth
181
+ * sign-in lives on {@link NvisyGuest}.
182
+ */
183
+ get auth(): Auth;
184
+ /**
185
+ * Service for API status and health checks.
186
+ */
187
+ get status(): Status;
188
+ /**
189
+ * Service for managing the authenticated user's account.
190
+ */
191
+ get account(): Account;
192
+ /**
193
+ * Service for viewing workspace activities.
194
+ */
195
+ get activities(): Activities;
196
+ /**
197
+ * Service for workspace analytics.
198
+ */
199
+ get analytics(): Analytics;
200
+ /**
201
+ * Service for managing API tokens.
202
+ */
203
+ get apiTokens(): ApiTokens;
204
+ /**
205
+ * Service for managing connections.
206
+ */
207
+ get connections(): Connections;
208
+ /**
209
+ * Service for document operations (upload, download, delete, review).
210
+ */
211
+ get documents(): Documents;
212
+ /**
213
+ * Service for discussion threads and comments.
214
+ */
215
+ get threads(): Threads;
216
+ /**
217
+ * Service for managing pipelines.
218
+ */
219
+ get pipelines(): Pipelines;
220
+ /**
221
+ * Service for managing policies.
222
+ */
223
+ get policies(): Policies;
224
+ /**
225
+ * Service for managing a workspace's inference providers.
226
+ */
227
+ get providers(): Providers;
228
+ /**
229
+ * Service for reading the deployment's capabilities (labels, recognizers,
230
+ * connectors, auth methods).
231
+ */
232
+ get capabilities(): Capabilities;
233
+ /**
234
+ * Service for managing workspace invitations.
235
+ */
236
+ get invites(): Invites;
237
+ /**
238
+ * Service for managing workspace members.
239
+ */
240
+ get members(): Members;
241
+ /**
242
+ * Service for managing notifications.
243
+ */
244
+ get notifications(): Notifications;
245
+ /**
246
+ * Service for pipeline detections and their redactions.
247
+ */
248
+ get detections(): Detections;
249
+ /**
250
+ * Service for workspace redactions.
251
+ */
252
+ get redactions(): Redactions;
253
+ /**
254
+ * Service for document reviews (assigning documents to reviewers).
255
+ */
256
+ get reviews(): Reviews;
257
+ /**
258
+ * Service for managing connection syncs.
259
+ */
260
+ get syncs(): Syncs;
261
+ /**
262
+ * Service for managing webhooks.
263
+ */
264
+ get webhooks(): Webhooks;
265
+ /**
266
+ * Service for managing workspaces.
267
+ */
268
+ get workspaces(): Workspaces;
269
+ }
270
+ //#endregion
4
271
  //#region src/services/account.d.ts
5
272
  /**
6
273
  * Service for handling account operations
@@ -217,56 +484,19 @@ declare class ApiTokens {
217
484
  //#endregion
218
485
  //#region src/services/auth.d.ts
219
486
  /**
220
- * Service for handling authentication operations
487
+ * Authenticated auth operations: ending the current session and minting a
488
+ * desktop token from it. Pre-auth sign-in (login / signup / OIDC start) lives on
489
+ * the guest client ({@link NvisyGuest}).
221
490
  */
222
491
  declare class Auth {
223
492
  #private;
224
493
  constructor(api: ApiClient);
225
- /**
226
- * Login with email and password, starting a browser session.
227
- *
228
- * Sets HttpOnly session and CSRF cookies; returns no body. Programmatic
229
- * clients should instead create an API token via {@link ApiTokens} and pass
230
- * it as `apiToken` when constructing the client.
231
- *
232
- * @param credentials - Login credentials
233
- * @returns Promise that resolves once the session is started
234
- * @throws {ApiError} if the request fails
235
- */
236
- loginAccount(credentials: Login): Promise<void>;
237
- /**
238
- * Sign up a new account, starting a browser session.
239
- *
240
- * Sets HttpOnly session and CSRF cookies; returns no body. Programmatic
241
- * clients should instead create an API token via {@link ApiTokens} and pass
242
- * it as `apiToken` when constructing the client.
243
- *
244
- * @param credentials - Signup details
245
- * @returns Promise that resolves once the session is started
246
- * @throws {ApiError} if the request fails
247
- */
248
- signupAccount(credentials: Signup): Promise<void>;
249
494
  /**
250
495
  * Logout, invalidating the current session and clearing its cookies.
251
496
  * @returns Promise that resolves when logout is complete
252
497
  * @throws {ApiError} if the request fails
253
498
  */
254
499
  logoutAccount(): Promise<void>;
255
- /**
256
- * Begin an OpenID Connect sign-in with a provider.
257
- *
258
- * Returns the provider authorize URL to redirect the user to; on consent the
259
- * provider redirects to the callback, which signs the user in. Also available
260
- * as the standalone `startOidcSignIn` for use without a client.
261
- *
262
- * @param provider - The identity provider to sign in with
263
- * @param query - Optional frontend URL to return to once done
264
- * @returns Promise that resolves with the provider authorize URL
265
- * @throws {ApiError} if the request fails
266
- */
267
- startOidcSignIn(provider: IdentityProvider, query?: {
268
- redirectUri?: string;
269
- }): Promise<OidcStartResponse>;
270
500
  /**
271
501
  * Mint a long-lived native-app token for a desktop app.
272
502
  *
@@ -642,6 +872,77 @@ declare class Documents {
642
872
  deleteDocuments(workspaceId: string, documentIds: string[]): Promise<WorkspaceDeletedDocuments>;
643
873
  }
644
874
  //#endregion
875
+ //#region src/services/guest-auth.d.ts
876
+ /**
877
+ * Pre-auth authentication operations, reachable without an API token: starting
878
+ * a browser session (login / signup) and beginning an OIDC sign-in. Exposed on
879
+ * the guest client ({@link NvisyGuest}).
880
+ */
881
+ declare class GuestAuth {
882
+ #private;
883
+ constructor(api: ApiClient);
884
+ /**
885
+ * Login with email and password, starting a browser session.
886
+ *
887
+ * Sets HttpOnly session and CSRF cookies; returns no body. For a programmatic
888
+ * client, create an API token instead and pass it as `apiToken` when
889
+ * constructing a {@link Nvisy} client.
890
+ *
891
+ * @param credentials - Login credentials
892
+ * @returns Promise that resolves once the session is started
893
+ * @throws {ApiError} if the request fails
894
+ */
895
+ loginAccount(credentials: Login): Promise<void>;
896
+ /**
897
+ * Sign up a new account, starting a browser session.
898
+ *
899
+ * Sets HttpOnly session and CSRF cookies; returns no body. For a programmatic
900
+ * client, create an API token instead and pass it as `apiToken` when
901
+ * constructing a {@link Nvisy} client.
902
+ *
903
+ * @param credentials - Signup details
904
+ * @returns Promise that resolves once the session is started
905
+ * @throws {ApiError} if the request fails
906
+ */
907
+ signupAccount(credentials: Signup): Promise<void>;
908
+ /**
909
+ * Begin an OpenID Connect sign-in with a provider.
910
+ *
911
+ * Returns the provider authorize URL to redirect the user to; on consent the
912
+ * provider redirects to the callback, which signs the user in.
913
+ *
914
+ * @param provider - The identity provider to sign in with
915
+ * @param query - Optional frontend URL to return to once done
916
+ * @returns Promise that resolves with the provider authorize URL
917
+ * @throws {ApiError} if the request fails
918
+ */
919
+ startOidcSignIn(provider: IdentityProvider, query?: {
920
+ redirectUri?: string;
921
+ }): Promise<OidcStartResponse>;
922
+ }
923
+ //#endregion
924
+ //#region src/services/guest-capabilities.d.ts
925
+ /**
926
+ * The pre-auth subset of the deployment's capabilities: the sign-in methods it
927
+ * offers. The label / recognizer / connector capability reads require an
928
+ * authenticated client and live on {@link Capabilities}.
929
+ */
930
+ declare class GuestCapabilities {
931
+ #private;
932
+ constructor(api: ApiClient);
933
+ /**
934
+ * Get the deployment's available sign-in methods.
935
+ *
936
+ * Public: reports whether password sign-in is enabled and which OIDC
937
+ * providers are configured, so a login screen can render the right buttons
938
+ * before anyone signs in.
939
+ *
940
+ * @returns Promise that resolves with the auth capabilities.
941
+ * @throws {ApiError} if the request fails
942
+ */
943
+ getAuthCapabilities(): Promise<AuthCapabilities>;
944
+ }
945
+ //#endregion
645
946
  //#region src/services/invites.d.ts
646
947
  /**
647
948
  * Service for handling workspace invitation operations
@@ -1038,14 +1339,23 @@ declare class Reviews {
1038
1339
  */
1039
1340
  getReview(workspaceId: string, reviewId: string): Promise<WorkspaceReview>;
1040
1341
  /**
1041
- * Assign (or reassign) a review to a reviewer.
1342
+ * Assign a reviewer to a review (idempotent).
1343
+ * @param workspaceId - Workspace id
1344
+ * @param reviewId - Review ID
1345
+ * @param accountId - Account id of the reviewer to assign
1346
+ * @returns Promise that resolves with the updated review
1347
+ * @throws {ApiError} if the request fails
1348
+ */
1349
+ assignReviewer(workspaceId: string, reviewId: string, accountId: string): Promise<WorkspaceReview>;
1350
+ /**
1351
+ * Remove a reviewer from a review.
1042
1352
  * @param workspaceId - Workspace id
1043
1353
  * @param reviewId - Review ID
1044
- * @param assignment - Review assignment request (assignee)
1354
+ * @param accountId - Account id of the reviewer to remove
1045
1355
  * @returns Promise that resolves with the updated review
1046
1356
  * @throws {ApiError} if the request fails
1047
1357
  */
1048
- assignReview(workspaceId: string, reviewId: string, assignment: AssignWorkspaceReview): Promise<WorkspaceReview>;
1358
+ unassignReviewer(workspaceId: string, reviewId: string, accountId: string): Promise<WorkspaceReview>;
1049
1359
  /**
1050
1360
  * Verify (resolve) a review.
1051
1361
  * @param workspaceId - Workspace id
@@ -1415,174 +1725,5 @@ declare class Workspaces {
1415
1725
  deleteAvatar(workspaceId: string): Promise<void>;
1416
1726
  }
1417
1727
  //#endregion
1418
- //#region src/client.d.ts
1419
- /**
1420
- * Typed openapi-fetch client for the Nvisy API.
1421
- *
1422
- * This type represents the low-level HTTP client configured with the Nvisy API schema.
1423
- * It's exposed via {@link Nvisy.api} for advanced use cases requiring direct API access.
1424
- */
1425
- type ApiClient = Client<paths>;
1426
- /**
1427
- * Main client class for interacting with the Nvisy document processing API.
1428
- *
1429
- * @example
1430
- * ```typescript
1431
- * const nvisy = new Nvisy({ apiToken: "your-api-token" });
1432
- * const account = await nvisy.account.getAccount();
1433
- * const workspaces = await nvisy.workspaces.listWorkspaces();
1434
- * ```
1435
- */
1436
- declare class Nvisy {
1437
- #private;
1438
- /**
1439
- * Creates a new Nvisy client instance.
1440
- *
1441
- * Authenticate with an `apiToken` (bearer token) or, for a browser session
1442
- * started by the standalone `login` / `signup`, with `credentials: "include"`
1443
- * and no token.
1444
- *
1445
- * @param config - Configuration options; omit `apiToken` for a cookie session
1446
- * @throws {NvisyError} If an `apiToken` is provided but invalid
1447
- *
1448
- * @example
1449
- * ```typescript
1450
- * // API token
1451
- * const nvisy = new Nvisy({ apiToken: "your-api-token" });
1452
- *
1453
- * // Browser session
1454
- * const nvisy = new Nvisy({ credentials: "include" });
1455
- *
1456
- * const account = await nvisy.account.getAccount();
1457
- * ```
1458
- */
1459
- constructor(config?: ClientConfig);
1460
- /**
1461
- * Creates a new client with a different API token.
1462
- *
1463
- * Returns a new client instance with the new token. The original client
1464
- * remains unchanged. All other configuration (base URL, headers, etc.)
1465
- * is preserved in the new client.
1466
- *
1467
- * @param apiToken - The new API token
1468
- * @returns A new Nvisy instance with the new token
1469
- * @throws {NvisyError} If the API token is invalid
1470
- *
1471
- * @example
1472
- * ```typescript
1473
- * const nvisy = new Nvisy({ apiToken: "original-token" });
1474
- * const newNvisy = nvisy.withApiToken("new-token");
1475
- *
1476
- * // newNvisy uses the new token
1477
- * // nvisy still uses the original token
1478
- * ```
1479
- */
1480
- withApiToken(apiToken: string): Nvisy;
1481
- /**
1482
- * The base URL used for API requests.
1483
- *
1484
- * @returns The configured base URL
1485
- */
1486
- get baseUrl(): string;
1487
- /**
1488
- * The underlying openapi-fetch client for direct API access.
1489
- *
1490
- * Use this for advanced scenarios where you need direct access to the
1491
- * HTTP client, such as calling endpoints not covered by the service classes.
1492
- *
1493
- * @returns The configured ApiClient instance
1494
- */
1495
- get api(): ApiClient;
1496
- /**
1497
- * Service for authentication operations (login, signup, logout).
1498
- */
1499
- get auth(): Auth;
1500
- /**
1501
- * Service for API status and health checks.
1502
- */
1503
- get status(): Status;
1504
- /**
1505
- * Service for managing the authenticated user's account.
1506
- */
1507
- get account(): Account;
1508
- /**
1509
- * Service for viewing workspace activities.
1510
- */
1511
- get activities(): Activities;
1512
- /**
1513
- * Service for workspace analytics.
1514
- */
1515
- get analytics(): Analytics;
1516
- /**
1517
- * Service for managing API tokens.
1518
- */
1519
- get apiTokens(): ApiTokens;
1520
- /**
1521
- * Service for managing connections.
1522
- */
1523
- get connections(): Connections;
1524
- /**
1525
- * Service for document operations (upload, download, delete, review).
1526
- */
1527
- get documents(): Documents;
1528
- /**
1529
- * Service for discussion threads and comments.
1530
- */
1531
- get threads(): Threads;
1532
- /**
1533
- * Service for managing pipelines.
1534
- */
1535
- get pipelines(): Pipelines;
1536
- /**
1537
- * Service for managing policies.
1538
- */
1539
- get policies(): Policies;
1540
- /**
1541
- * Service for managing a workspace's inference providers.
1542
- */
1543
- get providers(): Providers;
1544
- /**
1545
- * Service for reading the deployment's capabilities (labels, recognizers,
1546
- * connectors, auth methods).
1547
- */
1548
- get capabilities(): Capabilities;
1549
- /**
1550
- * Service for managing workspace invitations.
1551
- */
1552
- get invites(): Invites;
1553
- /**
1554
- * Service for managing workspace members.
1555
- */
1556
- get members(): Members;
1557
- /**
1558
- * Service for managing notifications.
1559
- */
1560
- get notifications(): Notifications;
1561
- /**
1562
- * Service for pipeline detections and their redactions.
1563
- */
1564
- get detections(): Detections;
1565
- /**
1566
- * Service for workspace redactions.
1567
- */
1568
- get redactions(): Redactions;
1569
- /**
1570
- * Service for document reviews (assigning documents to reviewers).
1571
- */
1572
- get reviews(): Reviews;
1573
- /**
1574
- * Service for managing connection syncs.
1575
- */
1576
- get syncs(): Syncs;
1577
- /**
1578
- * Service for managing webhooks.
1579
- */
1580
- get webhooks(): Webhooks;
1581
- /**
1582
- * Service for managing workspaces.
1583
- */
1584
- get workspaces(): Workspaces;
1585
- }
1586
- //#endregion
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
1728
+ export { VERSION as A, Activities as C, DEFAULTS as D, ApiClient as E, NvisyGuestOptions as O, Analytics as S, Nvisy as T, Detections as _, Status as a, Auth as b, Providers as c, Notifications as d, Members as f, Documents as g, GuestAuth as h, Syncs as i, NvisyOptions as k, Policies as l, GuestCapabilities as m, Webhooks as n, Reviews as o, Invites as p, Threads as r, Redactions as s, Workspaces as t, Pipelines as u, Connections as v, Account as w, ApiTokens as x, Capabilities as y };
1729
+ //# sourceMappingURL=index-CuKzO8Ly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-CuKzO8Ly.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/threads.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;;;;;;;;;;;;;cC0CzB;;;;;;;;;;;;;;;;;;;;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,WAAW;;;;MAOX,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;;;;;;;cCxUN;;EAGA,YAAA,KAAK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