@xberg-io/sdk 0.10.0 → 0.11.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/dist/index.d.ts CHANGED
@@ -37,7 +37,7 @@ interface paths$1 {
37
37
  };
38
38
  /**
39
39
  * Get a published data room
40
- * @description Returns the name and description of a published room, read by its slug with no credential. A room that is not published answers 404, so the answer tells nothing about it.
40
+ * @description Returns the name and description of a published room, read by its slug with no credential. A room that is not published answers 404, so the answer tells nothing about it. A project override can set a lower limit for the requests of one client address; a request past it answers 429 with `Retry-After`.
41
41
  */
42
42
  get: operations$2["get_public_room"];
43
43
  put?: never;
@@ -57,7 +57,7 @@ interface paths$1 {
57
57
  };
58
58
  /**
59
59
  * List the items of a published data room
60
- * @description Lists the items of a published room in room order, one page at a time, with no credential. Each item carries the public reference that its content and download routes take.
60
+ * @description Lists the items of a published room in room order, one page at a time, with no credential. Each item carries the public reference that its content and download routes take. A project override can set a lower limit for the requests of one client address; a request past it answers 429 with `Retry-After`.
61
61
  */
62
62
  get: operations$2["list_public_room_items"];
63
63
  put?: never;
@@ -77,7 +77,7 @@ interface paths$1 {
77
77
  };
78
78
  /**
79
79
  * Get the extraction result of a published room item
80
- * @description Returns the extraction result of one item of a published room, with no credential. `result` is null until the extraction finishes. A result kept in protected storage is refused with a 409.
80
+ * @description Returns the extraction result of one item of a published room, with no credential. `result` is null until the extraction finishes. A result kept in protected storage is refused with a 409. A project override can set a lower limit for the requests of one client address; a request past it answers 429 with `Retry-After`.
81
81
  */
82
82
  get: operations$2["get_public_room_item_content"];
83
83
  put?: never;
@@ -97,7 +97,7 @@ interface paths$1 {
97
97
  };
98
98
  /**
99
99
  * Download the original file of a published room item
100
- * @description Returns the original bytes of one item of a published room as an attachment, with no credential. A room that does not allow downloads answers 404. `HEAD` returns the same headers without the body.
100
+ * @description Returns the original bytes of one item of a published room as an attachment, with no credential. A room that does not allow downloads answers 404. `HEAD` returns the same headers without the body. A project override can set a lower limit for the requests of one client address; a request past it answers 429 with `Retry-After`.
101
101
  */
102
102
  get: operations$2["download_public_room_item"];
103
103
  put?: never;
@@ -761,6 +761,35 @@ interface paths$1 {
761
761
  patch?: never;
762
762
  trace?: never;
763
763
  };
764
+ "/v1/projects/{id}/extraction-config": {
765
+ parameters: {
766
+ query?: never;
767
+ header?: never;
768
+ path?: never;
769
+ cookie?: never;
770
+ };
771
+ /**
772
+ * Read the extraction defaults for the project named by the credential.
773
+ * A null `extraction_config` means the project has no stored default.
774
+ * @description Read the authenticated project’s extraction defaults. A null `extraction_config` means the project has no stored default.
775
+ */
776
+ get: operations$2["get_project_extraction_config"];
777
+ /**
778
+ * Replace the project extraction defaults used for inline submissions and upload confirmation.
779
+ * @description Replace the project defaults for inline submissions and upload confirmation. Request and per-file settings take precedence. Supply structured extraction with BYOK, LLM endpoint overrides, and PDF passwords in individual requests.
780
+ */
781
+ put: operations$2["set_project_extraction_config"];
782
+ post?: never;
783
+ /**
784
+ * Clear the project extraction defaults. Future submissions and confirmations omit this layer.
785
+ * @description Clear the project defaults. Future inline submissions and upload confirmations omit this layer.
786
+ */
787
+ delete: operations$2["clear_project_extraction_config"];
788
+ options?: never;
789
+ head?: never;
790
+ patch?: never;
791
+ trace?: never;
792
+ };
764
793
  "/v1/rag/collections": {
765
794
  parameters: {
766
795
  query?: never;
@@ -995,7 +1024,7 @@ interface paths$1 {
995
1024
  put?: never;
996
1025
  /**
997
1026
  * Accept a room invitation
998
- * @description Accepts an invitation token for the signed-in user and gives the user a grant on the room. A token that cannot be accepted answers 404, whatever the reason.
1027
+ * @description Accepts an invitation token for the signed-in user and gives the user a grant on the room. A token that cannot be accepted answers 404, whatever the reason. Calls for one project count against `DATA_ROOM_INVITATION_REQUESTS_PER_MINUTE`, or the project override, and a call past it answers 429 with `Retry-After`.
999
1028
  */
1000
1029
  post: operations$2["accept_room_invitation"];
1001
1030
  delete?: never;
@@ -1015,7 +1044,7 @@ interface paths$1 {
1015
1044
  put?: never;
1016
1045
  /**
1017
1046
  * Preview a room invitation
1018
- * @description Shows a signed-in invitee the room an invitation token opens before they accept it. The answer names no ID, address or token. A token that cannot be accepted answers 404, whatever the reason.
1047
+ * @description Shows a signed-in invitee the room an invitation token opens before they accept it. The answer names no ID, address or token. A token that cannot be accepted answers 404, whatever the reason. Calls for one project count against `DATA_ROOM_INVITATION_REQUESTS_PER_MINUTE`, or the project override, and a call past it answers 429 with `Retry-After`.
1019
1048
  */
1020
1049
  post: operations$2["preview_room_invitation"];
1021
1050
  delete?: never;
@@ -1024,6 +1053,26 @@ interface paths$1 {
1024
1053
  patch?: never;
1025
1054
  trace?: never;
1026
1055
  };
1056
+ "/v1/room-links/accept": {
1057
+ parameters: {
1058
+ query?: never;
1059
+ header?: never;
1060
+ path?: never;
1061
+ cookie?: never;
1062
+ };
1063
+ get?: never;
1064
+ put?: never;
1065
+ /**
1066
+ * Take up a room link
1067
+ * @description Takes up a link token for the signed-in user and gives the user a grant on the room with the role of the link. An anonymous caller gets 401. A token that cannot be taken up answers 404, whatever the reason. A caller who holds a grant on the room already gets 200 with that grant, and nothing changes: the role and the link the grant came from stay. Revoking the link a grant came from ends that grant. The person then takes up another live link to get back in.
1068
+ */
1069
+ post: operations$2["accept_room_link"];
1070
+ delete?: never;
1071
+ options?: never;
1072
+ head?: never;
1073
+ patch?: never;
1074
+ trace?: never;
1075
+ };
1027
1076
  "/v1/rooms": {
1028
1077
  parameters: {
1029
1078
  query?: never;
@@ -1264,6 +1313,50 @@ interface paths$1 {
1264
1313
  patch?: never;
1265
1314
  trace?: never;
1266
1315
  };
1316
+ "/v1/rooms/{id}/links": {
1317
+ parameters: {
1318
+ query?: never;
1319
+ header?: never;
1320
+ path?: never;
1321
+ cookie?: never;
1322
+ };
1323
+ /**
1324
+ * List the links of a data room
1325
+ * @description Lists the links of the room with their status, role and expiry. The answer never carries a link token.
1326
+ */
1327
+ get: operations$2["list_room_links"];
1328
+ put?: never;
1329
+ /**
1330
+ * Make an anyone-with-link grant for a data room
1331
+ * @description Makes a link that gives a signed-in user the role sent on the room. The token is in this answer only. The service stores its hash, so a lost token means a new link. A link works until it is revoked, or until the expiry sent. A room holds as many active links as it may hold pending invitations.
1332
+ */
1333
+ post: operations$2["create_room_link"];
1334
+ delete?: never;
1335
+ options?: never;
1336
+ head?: never;
1337
+ patch?: never;
1338
+ trace?: never;
1339
+ };
1340
+ "/v1/rooms/{id}/links/{link_id}": {
1341
+ parameters: {
1342
+ query?: never;
1343
+ header?: never;
1344
+ path?: never;
1345
+ cookie?: never;
1346
+ };
1347
+ get?: never;
1348
+ put?: never;
1349
+ post?: never;
1350
+ /**
1351
+ * Revoke a room link
1352
+ * @description Revokes one link of the room, so that its token opens nothing new. The grants that people took through the link end with it. A named grant stays: an invitation, an ownership transfer or a role change by a manager makes a grant a named one.
1353
+ */
1354
+ delete: operations$2["revoke_room_link"];
1355
+ options?: never;
1356
+ head?: never;
1357
+ patch?: never;
1358
+ trace?: never;
1359
+ };
1267
1360
  "/v1/rooms/{id}/members": {
1268
1361
  parameters: {
1269
1362
  query?: never;
@@ -1346,7 +1439,7 @@ interface paths$1 {
1346
1439
  get: operations$2["get_room_publication"];
1347
1440
  /**
1348
1441
  * Publish or unpublish a data room
1349
- * @description Sets the publication state of the room, and optionally its mode and download setting; an absent field keeps its stored value. Send the room version you read in `If-Match`; a stale version is refused with a 412 and a missing one with a 428.
1442
+ * @description Sets the publication state of the room, and optionally its mode and download setting; an absent field keeps its stored value. A request that names published and reviewed on a room that is already published and reviewed pins a new revision when `pending_changes` is above 0, whatever else the request changes, and changes nothing otherwise. Send the room version you read in `If-Match`; a stale version is refused with a 412 and a missing one with a 428.
1350
1443
  */
1351
1444
  put: operations$2["set_room_publication"];
1352
1445
  post?: never;
@@ -2638,7 +2731,13 @@ interface components$1 {
2638
2731
  */
2639
2732
  allow_subdomains?: boolean | null;
2640
2733
  /**
2641
- * @description MIME types of documents to extract (default: all supported by xberg)
2734
+ * @description MIME types of documents to extract (default: all supported by xberg).
2735
+ *
2736
+ * Each entry is one full type, such as `application/pdf`, or a wildcard. `image/*` names
2737
+ * every supported image type. `*\/*` names every supported type and keeps every
2738
+ * downloaded document. A parameter such as `; charset=utf-8` is ignored. The request
2739
+ * fails with 400 and names this field and the first entry when an entry matches no
2740
+ * supported type, for example `image/`, `foo/bar`, `*\/pdf`, or two types in one entry.
2642
2741
  * @example [
2643
2742
  * "application/pdf",
2644
2743
  * "text/html"
@@ -3203,6 +3302,14 @@ interface components$1 {
3203
3302
  /** @description Raw text content */
3204
3303
  text: string;
3205
3304
  };
3305
+ CreateRoomLinkRequest: {
3306
+ /**
3307
+ * Format: date-time
3308
+ * @description When the link stops opening the room. Without it the link works until it is revoked.
3309
+ */
3310
+ expires_at?: string | null;
3311
+ role: components$1["schemas"]["GrantableRole"];
3312
+ };
3206
3313
  CreateRoomRequest: {
3207
3314
  description?: string | null;
3208
3315
  name: string;
@@ -3221,6 +3328,11 @@ interface components$1 {
3221
3328
  * citations regardless of this value. Defaults to `true` when omitted.
3222
3329
  */
3223
3330
  emit_citations?: boolean;
3331
+ /**
3332
+ * @description Enterprise extraction settings applied beneath request and per-file options.
3333
+ * Supply LLM credentials, provider URLs, and PDF passwords with each extraction request. Pro rejects this field.
3334
+ */
3335
+ extraction_config?: Record<string, unknown> | null;
3224
3336
  /**
3225
3337
  * @description Preset name (must be unique per project). Trimmed before storage; a
3226
3338
  * name that is entirely whitespace is rejected once trimmed.
@@ -5605,14 +5717,21 @@ interface components$1 {
5605
5717
  * Format: int32
5606
5718
  * @description Target DPI for the image (300 is standard, 600 for small text).
5607
5719
  *
5608
- * For a PDF page, this resamples the already-rendered raster; it does not make the page
5609
- * re-render at a higher native resolution. A value above what
5610
- * `image::preprocessing::calculate_target_dpi`'s memory/dimension clamp allows is
5611
- * silently capped (GH#1786: 400 and 600 both clamped to the same ~372 on a Letter page
5612
- * and produced byte-identical output), so upscaling interpolated pixels this way adds no
5613
- * detail. To change the actual PDF render resolution, set `images.target_dpi` on
5614
- * `ExtractionConfig` instead
5615
- * (`image::dpi::effective_pdf_render_dpi`).
5720
+ * Forced whole-document PDF OCR with the registered built-in Tesseract backend renders
5721
+ * native page content at this density before normalization when a preprocessing block
5722
+ * is configured and this value exceeds 150. This includes the synthesized classical
5723
+ * pipeline and a block that only sets another option: omitted `target_dpi` defaults to 300.
5724
+ * Without a preprocessing block, the default PDF render remains 150 DPI.
5725
+ *
5726
+ * Explicit `images` settings and detected full-page scan density take precedence.
5727
+ * Selected-page OCR, prepared rasters, custom backends, explicit OCR pipelines and VLM
5728
+ * fallback retain their source-render policy. Mixed native-and-OCR routes likewise keep
5729
+ * the source render while layout detection is active or a hidden text layer is being
5730
+ * probed. Existing raster memory and dimension limits can cap both rendering and
5731
+ * normalization; increasing this value cannot recover detail from a supplied raster. Set
5732
+ * `images.target_dpi` on
5733
+ * `ExtractionConfig` to configure PDF rendering
5734
+ * independently of preprocessing.
5616
5735
  * @default 300
5617
5736
  */
5618
5737
  target_dpi: number;
@@ -6151,6 +6270,20 @@ interface components$1 {
6151
6270
  * @description Confidence threshold override
6152
6271
  */
6153
6272
  confidence_threshold?: number | null;
6273
+ /**
6274
+ * @description Formula recognition model: "latex_ocr" turns each region that layout
6275
+ * detection marks as a formula into LaTeX. When omitted, a formula region
6276
+ * keeps its plain text. On a native PDF page this needs `native_pdf`.
6277
+ */
6278
+ formula_model?: string | null;
6279
+ /**
6280
+ * @description Also run layout detection on the text layer of native PDF pages, not
6281
+ * only on the pages that go through OCR. The layout regions then inform
6282
+ * the reading order, the region grouping and the table detection of those
6283
+ * pages. Off when omitted. It has no
6284
+ * effect when `force_ocr` is set, because every page then goes through OCR.
6285
+ */
6286
+ native_pdf?: boolean | null;
6154
6287
  /**
6155
6288
  * @description Layout presets are unavailable. xberg's `LayoutDetectionConfig` has no
6156
6289
  * preset concept, and the wire config has no field to carry one, so a
@@ -6373,6 +6506,15 @@ interface components$1 {
6373
6506
  /** Format: int64 */
6374
6507
  total: number;
6375
6508
  };
6509
+ ListRoomLinksResponse: {
6510
+ /** Format: int64 */
6511
+ limit: number;
6512
+ links: components$1["schemas"]["RoomLinkResponse"][];
6513
+ /** Format: int64 */
6514
+ offset: number;
6515
+ /** Format: int64 */
6516
+ total: number;
6517
+ };
6376
6518
  ListRoomMembersResponse: {
6377
6519
  /** Format: int64 */
6378
6520
  limit: number;
@@ -8027,6 +8169,9 @@ interface components$1 {
8027
8169
  */
8028
8170
  updated_at: string;
8029
8171
  };
8172
+ ProjectExtractionConfigResponse: {
8173
+ extraction_config: components$1["schemas"]["ExtractionConfig"] | null;
8174
+ };
8030
8175
  /**
8031
8176
  * @description Request to promote a completed auto-tune result to a named, reusable
8032
8177
  * tuning profile.
@@ -8621,7 +8766,7 @@ interface components$1 {
8621
8766
  token?: string | null;
8622
8767
  };
8623
8768
  RoomInviteRequest: {
8624
- email: string;
8769
+ email: string & (string);
8625
8770
  role: components$1["schemas"]["GrantableRole"];
8626
8771
  };
8627
8772
  RoomItemResponse: {
@@ -8636,6 +8781,23 @@ interface components$1 {
8636
8781
  /** Format: date-time */
8637
8782
  updated_at: string;
8638
8783
  };
8784
+ RoomLinkResponse: {
8785
+ /** Format: date-time */
8786
+ created_at: string;
8787
+ created_by: string;
8788
+ /** Format: date-time */
8789
+ expires_at?: string | null;
8790
+ /** Format: uuid */
8791
+ id: string;
8792
+ /** Format: date-time */
8793
+ revoked_at?: string | null;
8794
+ role: string;
8795
+ role_name: string;
8796
+ /** @description `ACTIVE`, `EXPIRED` or `REVOKED`. */
8797
+ status: string;
8798
+ /** @description Present on the create answer only. The service keeps no copy, so a lost token means a new link. */
8799
+ token?: string | null;
8800
+ };
8639
8801
  RoomMemberResponse: {
8640
8802
  added_by: string;
8641
8803
  /** Format: date-time */
@@ -8725,6 +8887,8 @@ interface components$1 {
8725
8887
  * citations regardless of this value.
8726
8888
  */
8727
8889
  emit_citations: boolean;
8890
+ /** @description Stored Enterprise extraction settings, when present. */
8891
+ extraction_config?: Record<string, unknown> | null;
8728
8892
  /**
8729
8893
  * Format: uuid
8730
8894
  * @description Unique preset ID.
@@ -9014,11 +9178,11 @@ interface components$1 {
9014
9178
  /** @description Table cells as a 2D vector (rows × columns) */
9015
9179
  cells: string[][];
9016
9180
  /**
9017
- * @description Header cells for this fragment, i.e. the first row of `cells`.
9181
+ * @description Declared column header labels for this fragment.
9018
9182
  *
9019
- * Populated even when this fragment's own header row was merged away or
9020
- * physically lives in a sibling fragment (see `table_id`), so a single
9021
- * fragment is interpretable in isolation. `None` when no header row
9183
+ * These may describe the first row of `cells` or be inherited from a sibling
9184
+ * fragment (see `table_id`) whose header row is absent here, so a single
9185
+ * fragment is interpretable in isolation. `None` when no column headers
9022
9186
  * could be determined.
9023
9187
  */
9024
9188
  columns?: string[] | null;
@@ -9473,6 +9637,8 @@ interface components$1 {
9473
9637
  * citations regardless of this value.
9474
9638
  */
9475
9639
  emit_citations?: boolean;
9640
+ /** @description Replace the Enterprise extraction settings, or send null to clear them. Omission preserves them. Pro rejects this field. */
9641
+ extraction_config?: Record<string, unknown> | null;
9476
9642
  /**
9477
9643
  * @description Preset name. Trimmed before storage; a name that is entirely
9478
9644
  * whitespace is rejected once trimmed.
@@ -10268,7 +10434,7 @@ interface operations$2 {
10268
10434
  * @description Filter to entries matching a known audit action exactly (e.g. `"job.submit"`).
10269
10435
  * Unknown actions are rejected with a 400 response.
10270
10436
  */
10271
- action?: "rag_collection.create" | "rag_collection.migrate" | "rag_document.delete" | "rag_collection.delete" | "project.create" | "project.delete" | "api_key.create" | "api_key.revoke" | "api_key.regenerate" | "integration.create" | "integration.delete" | "integration.disconnect" | "job.submit" | "crawl.submit" | "project.rag_config_update" | "auth.login" | "auth.failure" | "invitation.create" | "invitation.revoke" | "invitation.accept" | "member.role_update" | "member.remove" | "member.leave" | "project_role.create" | "project_role.update" | "project_role.delete" | "project_role.assign" | "webhook.create" | "webhook.delete" | "preset.create" | "preset.update" | "preset.delete" | "scim.connection.create" | "scim.connection.rotate" | "scim.group_roles.replace" | "data_room.create" | "data_room.update" | "data_room.delete" | "data_room.restore" | "data_room.item_add" | "data_room.item_remove" | "data_room.item_reorder" | "data_room.member_add" | "data_room.member_role_update" | "data_room.member_remove" | "data_room.link_create" | "data_room.link_revoke" | "data_room.ownership_transfer" | "data_room.invitation_create" | "data_room.invitation_revoke" | "data_room.invitation_accept" | "data_room.publish" | "data_room.unpublish" | "data_room.publication_update" | "db.api_keys.insert" | "db.api_keys.delete" | "db.api_keys.update" | "db.integrations.insert" | "db.integrations.delete" | "db.oauth_connections.update" | "db.audit_log.backfill";
10437
+ action?: "rag_collection.create" | "rag_collection.migrate" | "rag_document.delete" | "rag_document.ingest" | "rag_document.reindex" | "rag_collection.delete" | "project.create" | "project.update" | "project.delete" | "api_key.create" | "api_key.revoke" | "api_key.regenerate" | "integration.create" | "integration.delete" | "integration.disconnect" | "job.submit" | "crawl.submit" | "enrich.submit" | "auto_tune.start" | "auto_tune.stop" | "auto_tune.delete" | "tuning_profile.delete" | "tuning_profile.promote" | "project.rag_config_update" | "auth.login" | "auth.failure" | "invitation.create" | "invitation.revoke" | "invitation.accept" | "member.role_update" | "member.remove" | "member.leave" | "project_role.create" | "project_role.update" | "project_role.delete" | "project_role.assign" | "webhook.create" | "webhook.delete" | "preset.create" | "preset.update" | "preset.delete" | "scim.connection.create" | "scim.connection.rotate" | "scim.group_roles.replace" | "data_room.create" | "data_room.update" | "data_room.delete" | "data_room.restore" | "data_room.item_add" | "data_room.item_remove" | "data_room.item_reorder" | "data_room.member_add" | "data_room.member_role_update" | "data_room.member_remove" | "data_room.link_create" | "data_room.link_revoke" | "data_room.ownership_transfer" | "data_room.invitation_create" | "data_room.invitation_revoke" | "data_room.invitation_accept" | "data_room.publish" | "data_room.unpublish" | "data_room.publication_update" | "db.api_keys.insert" | "db.api_keys.delete" | "db.api_keys.update" | "db.integrations.insert" | "db.integrations.delete" | "db.oauth_connections.update" | "db.audit_log.backfill";
10272
10438
  /** @description Page size. Values outside 1..=100 are rejected. */
10273
10439
  limit?: number;
10274
10440
  /** @description Number of items to skip. Values outside 0..=1,000,000 are rejected. */
@@ -13240,28 +13406,31 @@ interface operations$2 {
13240
13406
  };
13241
13407
  };
13242
13408
  };
13243
- list_collections: {
13409
+ get_project_extraction_config: {
13244
13410
  parameters: {
13245
- query?: {
13246
- limit?: number;
13247
- offset?: number;
13411
+ query?: never;
13412
+ header?: {
13413
+ /** @description Selected project for an authenticated session */
13414
+ "X-Project-ID"?: string;
13415
+ };
13416
+ path: {
13417
+ /** @description The authenticated project ID */
13418
+ id: string;
13248
13419
  };
13249
- header?: never;
13250
- path?: never;
13251
13420
  cookie?: never;
13252
13421
  };
13253
13422
  requestBody?: never;
13254
13423
  responses: {
13255
- /** @description List of collections */
13424
+ /** @description Project extraction default */
13256
13425
  200: {
13257
13426
  headers: {
13258
13427
  [name: string]: unknown;
13259
13428
  };
13260
13429
  content: {
13261
- "application/json": components$1["schemas"]["ListCollectionsResponse"];
13430
+ "application/json": components$1["schemas"]["ProjectExtractionConfigResponse"];
13262
13431
  };
13263
13432
  };
13264
- /** @description Invalid request parameters */
13433
+ /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
13265
13434
  400: {
13266
13435
  headers: {
13267
13436
  [name: string]: unknown;
@@ -13270,16 +13439,14 @@ interface operations$2 {
13270
13439
  "application/json": components$1["schemas"]["ErrorResponse"];
13271
13440
  };
13272
13441
  };
13273
- /** @description Missing or invalid bearer token */
13442
+ /** @description Unauthorized — missing or invalid API key */
13274
13443
  401: {
13275
13444
  headers: {
13276
13445
  [name: string]: unknown;
13277
13446
  };
13278
- content: {
13279
- "application/json": components$1["schemas"]["ErrorResponse"];
13280
- };
13447
+ content?: never;
13281
13448
  };
13282
- /** @description An API key's project_id or x-project-id names a project other than the key's own */
13449
+ /** @description Project read permission required */
13283
13450
  403: {
13284
13451
  headers: {
13285
13452
  [name: string]: unknown;
@@ -13288,7 +13455,7 @@ interface operations$2 {
13288
13455
  "application/json": components$1["schemas"]["ErrorResponse"];
13289
13456
  };
13290
13457
  };
13291
- /** @description RAG is not enabled for this project */
13458
+ /** @description Project not found */
13292
13459
  404: {
13293
13460
  headers: {
13294
13461
  [name: string]: unknown;
@@ -13297,8 +13464,8 @@ interface operations$2 {
13297
13464
  "application/json": components$1["schemas"]["ErrorResponse"];
13298
13465
  };
13299
13466
  };
13300
- /** @description Request fails validation */
13301
- 422: {
13467
+ /** @description Unavailable in protected replicated extraction mode */
13468
+ 409: {
13302
13469
  headers: {
13303
13470
  [name: string]: unknown;
13304
13471
  };
@@ -13323,15 +13490,6 @@ interface operations$2 {
13323
13490
  "application/json": components$1["schemas"]["ErrorResponse"];
13324
13491
  };
13325
13492
  };
13326
- /** @description Database error */
13327
- 500: {
13328
- headers: {
13329
- [name: string]: unknown;
13330
- };
13331
- content: {
13332
- "application/json": components$1["schemas"]["ErrorResponse"];
13333
- };
13334
- };
13335
13493
  /** @description Session authentication is temporarily unavailable */
13336
13494
  503: {
13337
13495
  headers: {
@@ -13352,29 +13510,35 @@ interface operations$2 {
13352
13510
  };
13353
13511
  };
13354
13512
  };
13355
- create_collection: {
13513
+ set_project_extraction_config: {
13356
13514
  parameters: {
13357
13515
  query?: never;
13358
- header?: never;
13359
- path?: never;
13516
+ header?: {
13517
+ /** @description Selected project for an authenticated session */
13518
+ "X-Project-ID"?: string;
13519
+ };
13520
+ path: {
13521
+ /** @description The authenticated project ID */
13522
+ id: string;
13523
+ };
13360
13524
  cookie?: never;
13361
13525
  };
13362
13526
  requestBody: {
13363
13527
  content: {
13364
- "application/json": components$1["schemas"]["CreateCollectionRequest"];
13528
+ "application/json": components$1["schemas"]["ExtractionConfig"];
13365
13529
  };
13366
13530
  };
13367
13531
  responses: {
13368
- /** @description Collection created successfully */
13369
- 201: {
13532
+ /** @description Updated extraction default */
13533
+ 200: {
13370
13534
  headers: {
13371
13535
  [name: string]: unknown;
13372
13536
  };
13373
13537
  content: {
13374
- "application/json": components$1["schemas"]["CreateCollectionResponse"];
13538
+ "application/json": components$1["schemas"]["ProjectExtractionConfigResponse"];
13375
13539
  };
13376
13540
  };
13377
- /** @description Invalid request parameters, or a label classification field was supplied: `rag.label_classification.unsupported` */
13541
+ /** @description Invalid config or persistent credentials */
13378
13542
  400: {
13379
13543
  headers: {
13380
13544
  [name: string]: unknown;
@@ -13383,16 +13547,14 @@ interface operations$2 {
13383
13547
  "application/json": components$1["schemas"]["ErrorResponse"];
13384
13548
  };
13385
13549
  };
13386
- /** @description Missing or invalid bearer token */
13550
+ /** @description Unauthorized — missing or invalid API key */
13387
13551
  401: {
13388
13552
  headers: {
13389
13553
  [name: string]: unknown;
13390
13554
  };
13391
- content: {
13392
- "application/json": components$1["schemas"]["ErrorResponse"];
13393
- };
13555
+ content?: never;
13394
13556
  };
13395
- /** @description The API key is read-only and cannot use this method */
13557
+ /** @description Project update permission required */
13396
13558
  403: {
13397
13559
  headers: {
13398
13560
  [name: string]: unknown;
@@ -13401,7 +13563,7 @@ interface operations$2 {
13401
13563
  "application/json": components$1["schemas"]["ErrorResponse"];
13402
13564
  };
13403
13565
  };
13404
- /** @description RAG is not enabled for this project */
13566
+ /** @description Project not found */
13405
13567
  404: {
13406
13568
  headers: {
13407
13569
  [name: string]: unknown;
@@ -13419,7 +13581,7 @@ interface operations$2 {
13419
13581
  "application/json": components$1["schemas"]["TimeoutErrorResponse"];
13420
13582
  };
13421
13583
  };
13422
- /** @description Collection name already exists in this project */
13584
+ /** @description Unavailable in protected replicated extraction mode */
13423
13585
  409: {
13424
13586
  headers: {
13425
13587
  [name: string]: unknown;
@@ -13446,15 +13608,6 @@ interface operations$2 {
13446
13608
  "application/json": components$1["schemas"]["ErrorResponse"];
13447
13609
  };
13448
13610
  };
13449
- /** @description Request fails validation */
13450
- 422: {
13451
- headers: {
13452
- [name: string]: unknown;
13453
- };
13454
- content: {
13455
- "application/json": components$1["schemas"]["ErrorResponse"];
13456
- };
13457
- };
13458
13611
  /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
13459
13612
  429: {
13460
13613
  headers: {
@@ -13472,9 +13625,102 @@ interface operations$2 {
13472
13625
  "application/json": components$1["schemas"]["ErrorResponse"];
13473
13626
  };
13474
13627
  };
13475
- /** @description Database error */
13476
- 500: {
13628
+ /** @description Session authentication is temporarily unavailable */
13629
+ 503: {
13630
+ headers: {
13631
+ [name: string]: unknown;
13632
+ };
13633
+ content: {
13634
+ "application/json": components$1["schemas"]["ErrorResponse"];
13635
+ };
13636
+ };
13637
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
13638
+ 504: {
13639
+ headers: {
13640
+ [name: string]: unknown;
13641
+ };
13642
+ content: {
13643
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
13644
+ };
13645
+ };
13646
+ };
13647
+ };
13648
+ clear_project_extraction_config: {
13649
+ parameters: {
13650
+ query?: never;
13651
+ header?: {
13652
+ /** @description Selected project for an authenticated session */
13653
+ "X-Project-ID"?: string;
13654
+ };
13655
+ path: {
13656
+ /** @description The authenticated project ID */
13657
+ id: string;
13658
+ };
13659
+ cookie?: never;
13660
+ };
13661
+ requestBody?: never;
13662
+ responses: {
13663
+ /** @description Project extraction default cleared */
13664
+ 204: {
13665
+ headers: {
13666
+ [name: string]: unknown;
13667
+ };
13668
+ content?: never;
13669
+ };
13670
+ /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
13671
+ 400: {
13672
+ headers: {
13673
+ [name: string]: unknown;
13674
+ };
13675
+ content: {
13676
+ "application/json": components$1["schemas"]["ErrorResponse"];
13677
+ };
13678
+ };
13679
+ /** @description Unauthorized — missing or invalid API key */
13680
+ 401: {
13681
+ headers: {
13682
+ [name: string]: unknown;
13683
+ };
13684
+ content?: never;
13685
+ };
13686
+ /** @description Project update permission required */
13687
+ 403: {
13688
+ headers: {
13689
+ [name: string]: unknown;
13690
+ };
13691
+ content: {
13692
+ "application/json": components$1["schemas"]["ErrorResponse"];
13693
+ };
13694
+ };
13695
+ /** @description Project not found */
13696
+ 404: {
13697
+ headers: {
13698
+ [name: string]: unknown;
13699
+ };
13700
+ content: {
13701
+ "application/json": components$1["schemas"]["ErrorResponse"];
13702
+ };
13703
+ };
13704
+ /** @description Unavailable in protected replicated extraction mode */
13705
+ 409: {
13706
+ headers: {
13707
+ [name: string]: unknown;
13708
+ };
13709
+ content: {
13710
+ "application/json": components$1["schemas"]["ErrorResponse"];
13711
+ };
13712
+ };
13713
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
13714
+ 429: {
13477
13715
  headers: {
13716
+ /** @description Seconds until this request may be retried. */
13717
+ "Retry-After"?: number;
13718
+ /** @description Seconds until the rate-limit bucket admits another request. */
13719
+ "x-ratelimit-after"?: number;
13720
+ /** @description Maximum requests allowed in the current rate-limit burst. */
13721
+ "x-ratelimit-limit"?: number;
13722
+ /** @description Requests remaining in the current rate-limit burst. */
13723
+ "x-ratelimit-remaining"?: number;
13478
13724
  [name: string]: unknown;
13479
13725
  };
13480
13726
  content: {
@@ -13501,28 +13747,289 @@ interface operations$2 {
13501
13747
  };
13502
13748
  };
13503
13749
  };
13504
- get_collection: {
13750
+ list_collections: {
13505
13751
  parameters: {
13506
- query?: never;
13507
- header?: never;
13508
- path: {
13509
- /**
13510
- * @description Collection name
13511
- * @example my-docs
13512
- */
13513
- name: string;
13752
+ query?: {
13753
+ limit?: number;
13754
+ offset?: number;
13514
13755
  };
13756
+ header?: never;
13757
+ path?: never;
13515
13758
  cookie?: never;
13516
13759
  };
13517
13760
  requestBody?: never;
13518
13761
  responses: {
13519
- /** @description Collection details */
13762
+ /** @description List of collections */
13520
13763
  200: {
13521
13764
  headers: {
13522
13765
  [name: string]: unknown;
13523
13766
  };
13524
13767
  content: {
13525
- "application/json": components$1["schemas"]["CollectionResponse"];
13768
+ "application/json": components$1["schemas"]["ListCollectionsResponse"];
13769
+ };
13770
+ };
13771
+ /** @description Invalid request parameters */
13772
+ 400: {
13773
+ headers: {
13774
+ [name: string]: unknown;
13775
+ };
13776
+ content: {
13777
+ "application/json": components$1["schemas"]["ErrorResponse"];
13778
+ };
13779
+ };
13780
+ /** @description Missing or invalid bearer token */
13781
+ 401: {
13782
+ headers: {
13783
+ [name: string]: unknown;
13784
+ };
13785
+ content: {
13786
+ "application/json": components$1["schemas"]["ErrorResponse"];
13787
+ };
13788
+ };
13789
+ /** @description An API key's project_id or x-project-id names a project other than the key's own */
13790
+ 403: {
13791
+ headers: {
13792
+ [name: string]: unknown;
13793
+ };
13794
+ content: {
13795
+ "application/json": components$1["schemas"]["ErrorResponse"];
13796
+ };
13797
+ };
13798
+ /** @description RAG is not enabled for this project */
13799
+ 404: {
13800
+ headers: {
13801
+ [name: string]: unknown;
13802
+ };
13803
+ content: {
13804
+ "application/json": components$1["schemas"]["ErrorResponse"];
13805
+ };
13806
+ };
13807
+ /** @description Request fails validation */
13808
+ 422: {
13809
+ headers: {
13810
+ [name: string]: unknown;
13811
+ };
13812
+ content: {
13813
+ "application/json": components$1["schemas"]["ErrorResponse"];
13814
+ };
13815
+ };
13816
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
13817
+ 429: {
13818
+ headers: {
13819
+ /** @description Seconds until this request may be retried. */
13820
+ "Retry-After"?: number;
13821
+ /** @description Seconds until the rate-limit bucket admits another request. */
13822
+ "x-ratelimit-after"?: number;
13823
+ /** @description Maximum requests allowed in the current rate-limit burst. */
13824
+ "x-ratelimit-limit"?: number;
13825
+ /** @description Requests remaining in the current rate-limit burst. */
13826
+ "x-ratelimit-remaining"?: number;
13827
+ [name: string]: unknown;
13828
+ };
13829
+ content: {
13830
+ "application/json": components$1["schemas"]["ErrorResponse"];
13831
+ };
13832
+ };
13833
+ /** @description Database error */
13834
+ 500: {
13835
+ headers: {
13836
+ [name: string]: unknown;
13837
+ };
13838
+ content: {
13839
+ "application/json": components$1["schemas"]["ErrorResponse"];
13840
+ };
13841
+ };
13842
+ /** @description Session authentication is temporarily unavailable */
13843
+ 503: {
13844
+ headers: {
13845
+ [name: string]: unknown;
13846
+ };
13847
+ content: {
13848
+ "application/json": components$1["schemas"]["ErrorResponse"];
13849
+ };
13850
+ };
13851
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
13852
+ 504: {
13853
+ headers: {
13854
+ [name: string]: unknown;
13855
+ };
13856
+ content: {
13857
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
13858
+ };
13859
+ };
13860
+ };
13861
+ };
13862
+ create_collection: {
13863
+ parameters: {
13864
+ query?: never;
13865
+ header?: never;
13866
+ path?: never;
13867
+ cookie?: never;
13868
+ };
13869
+ requestBody: {
13870
+ content: {
13871
+ "application/json": components$1["schemas"]["CreateCollectionRequest"];
13872
+ };
13873
+ };
13874
+ responses: {
13875
+ /** @description Collection created successfully */
13876
+ 201: {
13877
+ headers: {
13878
+ [name: string]: unknown;
13879
+ };
13880
+ content: {
13881
+ "application/json": components$1["schemas"]["CreateCollectionResponse"];
13882
+ };
13883
+ };
13884
+ /** @description Invalid request parameters, or a label classification field was supplied: `rag.label_classification.unsupported` */
13885
+ 400: {
13886
+ headers: {
13887
+ [name: string]: unknown;
13888
+ };
13889
+ content: {
13890
+ "application/json": components$1["schemas"]["ErrorResponse"];
13891
+ };
13892
+ };
13893
+ /** @description Missing or invalid bearer token */
13894
+ 401: {
13895
+ headers: {
13896
+ [name: string]: unknown;
13897
+ };
13898
+ content: {
13899
+ "application/json": components$1["schemas"]["ErrorResponse"];
13900
+ };
13901
+ };
13902
+ /** @description The API key is read-only and cannot use this method */
13903
+ 403: {
13904
+ headers: {
13905
+ [name: string]: unknown;
13906
+ };
13907
+ content: {
13908
+ "application/json": components$1["schemas"]["ErrorResponse"];
13909
+ };
13910
+ };
13911
+ /** @description RAG is not enabled for this project */
13912
+ 404: {
13913
+ headers: {
13914
+ [name: string]: unknown;
13915
+ };
13916
+ content: {
13917
+ "application/json": components$1["schemas"]["ErrorResponse"];
13918
+ };
13919
+ };
13920
+ /** @description The request body stopped arriving before the upload completed (`details.limit` is `body_idle`) */
13921
+ 408: {
13922
+ headers: {
13923
+ [name: string]: unknown;
13924
+ };
13925
+ content: {
13926
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
13927
+ };
13928
+ };
13929
+ /** @description Collection name already exists in this project */
13930
+ 409: {
13931
+ headers: {
13932
+ [name: string]: unknown;
13933
+ };
13934
+ content: {
13935
+ "application/json": components$1["schemas"]["ErrorResponse"];
13936
+ };
13937
+ };
13938
+ /** @description The request body is larger than this deployment accepts */
13939
+ 413: {
13940
+ headers: {
13941
+ [name: string]: unknown;
13942
+ };
13943
+ content: {
13944
+ "application/json": components$1["schemas"]["ErrorResponse"];
13945
+ };
13946
+ };
13947
+ /** @description The request body was not sent with Content-Type: application/json */
13948
+ 415: {
13949
+ headers: {
13950
+ [name: string]: unknown;
13951
+ };
13952
+ content: {
13953
+ "application/json": components$1["schemas"]["ErrorResponse"];
13954
+ };
13955
+ };
13956
+ /** @description Request fails validation */
13957
+ 422: {
13958
+ headers: {
13959
+ [name: string]: unknown;
13960
+ };
13961
+ content: {
13962
+ "application/json": components$1["schemas"]["ErrorResponse"];
13963
+ };
13964
+ };
13965
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
13966
+ 429: {
13967
+ headers: {
13968
+ /** @description Seconds until this request may be retried. */
13969
+ "Retry-After"?: number;
13970
+ /** @description Seconds until the rate-limit bucket admits another request. */
13971
+ "x-ratelimit-after"?: number;
13972
+ /** @description Maximum requests allowed in the current rate-limit burst. */
13973
+ "x-ratelimit-limit"?: number;
13974
+ /** @description Requests remaining in the current rate-limit burst. */
13975
+ "x-ratelimit-remaining"?: number;
13976
+ [name: string]: unknown;
13977
+ };
13978
+ content: {
13979
+ "application/json": components$1["schemas"]["ErrorResponse"];
13980
+ };
13981
+ };
13982
+ /** @description Database error */
13983
+ 500: {
13984
+ headers: {
13985
+ [name: string]: unknown;
13986
+ };
13987
+ content: {
13988
+ "application/json": components$1["schemas"]["ErrorResponse"];
13989
+ };
13990
+ };
13991
+ /** @description Session authentication is temporarily unavailable */
13992
+ 503: {
13993
+ headers: {
13994
+ [name: string]: unknown;
13995
+ };
13996
+ content: {
13997
+ "application/json": components$1["schemas"]["ErrorResponse"];
13998
+ };
13999
+ };
14000
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
14001
+ 504: {
14002
+ headers: {
14003
+ [name: string]: unknown;
14004
+ };
14005
+ content: {
14006
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
14007
+ };
14008
+ };
14009
+ };
14010
+ };
14011
+ get_collection: {
14012
+ parameters: {
14013
+ query?: never;
14014
+ header?: never;
14015
+ path: {
14016
+ /**
14017
+ * @description Collection name
14018
+ * @example my-docs
14019
+ */
14020
+ name: string;
14021
+ };
14022
+ cookie?: never;
14023
+ };
14024
+ requestBody?: never;
14025
+ responses: {
14026
+ /** @description Collection details */
14027
+ 200: {
14028
+ headers: {
14029
+ [name: string]: unknown;
14030
+ };
14031
+ content: {
14032
+ "application/json": components$1["schemas"]["CollectionResponse"];
13526
14033
  };
13527
14034
  };
13528
14035
  /** @description Invalid request parameters */
@@ -15104,6 +15611,137 @@ interface operations$2 {
15104
15611
  };
15105
15612
  };
15106
15613
  };
15614
+ accept_room_link: {
15615
+ parameters: {
15616
+ query?: never;
15617
+ header?: never;
15618
+ path?: never;
15619
+ cookie?: never;
15620
+ };
15621
+ requestBody: {
15622
+ content: {
15623
+ "application/json": components$1["schemas"]["RoomAcceptInvitationRequest"];
15624
+ };
15625
+ };
15626
+ responses: {
15627
+ /** @description Link taken up */
15628
+ 200: {
15629
+ headers: {
15630
+ [name: string]: unknown;
15631
+ };
15632
+ content: {
15633
+ "application/json": components$1["schemas"]["AcceptedInvitationResponse"];
15634
+ };
15635
+ };
15636
+ /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
15637
+ 400: {
15638
+ headers: {
15639
+ [name: string]: unknown;
15640
+ };
15641
+ content: {
15642
+ "application/json": components$1["schemas"]["ErrorResponse"];
15643
+ };
15644
+ };
15645
+ /** @description Unauthorized */
15646
+ 401: {
15647
+ headers: {
15648
+ [name: string]: unknown;
15649
+ };
15650
+ content: {
15651
+ "application/json": components$1["schemas"]["ErrorResponse"];
15652
+ };
15653
+ };
15654
+ /** @description The caller is not a signed-in user */
15655
+ 403: {
15656
+ headers: {
15657
+ [name: string]: unknown;
15658
+ };
15659
+ content: {
15660
+ "application/json": components$1["schemas"]["ErrorResponse"];
15661
+ };
15662
+ };
15663
+ /** @description The link does not exist or is no longer valid, or the plan does not offer data rooms (`data_room.disabled`) */
15664
+ 404: {
15665
+ headers: {
15666
+ [name: string]: unknown;
15667
+ };
15668
+ content: {
15669
+ "application/json": components$1["schemas"]["ErrorResponse"];
15670
+ };
15671
+ };
15672
+ /** @description The request body stopped arriving before the upload completed (`details.limit` is `body_idle`) */
15673
+ 408: {
15674
+ headers: {
15675
+ [name: string]: unknown;
15676
+ };
15677
+ content: {
15678
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
15679
+ };
15680
+ };
15681
+ /** @description The room holds its limit of members */
15682
+ 409: {
15683
+ headers: {
15684
+ [name: string]: unknown;
15685
+ };
15686
+ content: {
15687
+ "application/json": components$1["schemas"]["ErrorResponse"];
15688
+ };
15689
+ };
15690
+ /** @description The request body is larger than this deployment accepts */
15691
+ 413: {
15692
+ headers: {
15693
+ [name: string]: unknown;
15694
+ };
15695
+ content: {
15696
+ "application/json": components$1["schemas"]["ErrorResponse"];
15697
+ };
15698
+ };
15699
+ /** @description The request body was not sent with Content-Type: application/json */
15700
+ 415: {
15701
+ headers: {
15702
+ [name: string]: unknown;
15703
+ };
15704
+ content: {
15705
+ "application/json": components$1["schemas"]["ErrorResponse"];
15706
+ };
15707
+ };
15708
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
15709
+ 429: {
15710
+ headers: {
15711
+ /** @description Seconds until this request may be retried. */
15712
+ "Retry-After"?: number;
15713
+ /** @description Seconds until the rate-limit bucket admits another request. */
15714
+ "x-ratelimit-after"?: number;
15715
+ /** @description Maximum requests allowed in the current rate-limit burst. */
15716
+ "x-ratelimit-limit"?: number;
15717
+ /** @description Requests remaining in the current rate-limit burst. */
15718
+ "x-ratelimit-remaining"?: number;
15719
+ [name: string]: unknown;
15720
+ };
15721
+ content: {
15722
+ "application/json": components$1["schemas"]["ErrorResponse"];
15723
+ };
15724
+ };
15725
+ /** @description Room authorization or the room store is temporarily unavailable */
15726
+ 503: {
15727
+ headers: {
15728
+ [name: string]: unknown;
15729
+ };
15730
+ content: {
15731
+ "application/json": components$1["schemas"]["ErrorResponse"];
15732
+ };
15733
+ };
15734
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
15735
+ 504: {
15736
+ headers: {
15737
+ [name: string]: unknown;
15738
+ };
15739
+ content: {
15740
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
15741
+ };
15742
+ };
15743
+ };
15744
+ };
15107
15745
  list_rooms: {
15108
15746
  parameters: {
15109
15747
  query?: {
@@ -16570,7 +17208,338 @@ interface operations$2 {
16570
17208
  "application/json": components$1["schemas"]["ErrorResponse"];
16571
17209
  };
16572
17210
  };
16573
- /** @description Room authorization or the document result is temporarily unavailable */
17211
+ /** @description Room authorization or the document result is temporarily unavailable */
17212
+ 503: {
17213
+ headers: {
17214
+ [name: string]: unknown;
17215
+ };
17216
+ content: {
17217
+ "application/json": components$1["schemas"]["ErrorResponse"];
17218
+ };
17219
+ };
17220
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
17221
+ 504: {
17222
+ headers: {
17223
+ [name: string]: unknown;
17224
+ };
17225
+ content: {
17226
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
17227
+ };
17228
+ };
17229
+ };
17230
+ };
17231
+ download_room_item: {
17232
+ parameters: {
17233
+ query?: never;
17234
+ header?: never;
17235
+ path: {
17236
+ /** @description Room ID */
17237
+ id: string;
17238
+ /** @description Logical document ID of the room item */
17239
+ document_id: string;
17240
+ };
17241
+ cookie?: never;
17242
+ };
17243
+ requestBody?: never;
17244
+ responses: {
17245
+ /** @description The original file */
17246
+ 200: {
17247
+ headers: {
17248
+ [name: string]: unknown;
17249
+ };
17250
+ content: {
17251
+ "*/*": string;
17252
+ };
17253
+ };
17254
+ /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
17255
+ 400: {
17256
+ headers: {
17257
+ [name: string]: unknown;
17258
+ };
17259
+ content: {
17260
+ "application/json": components$1["schemas"]["ErrorResponse"];
17261
+ };
17262
+ };
17263
+ /** @description Unauthorized */
17264
+ 401: {
17265
+ headers: {
17266
+ [name: string]: unknown;
17267
+ };
17268
+ content: {
17269
+ "application/json": components$1["schemas"]["ErrorResponse"];
17270
+ };
17271
+ };
17272
+ /** @description The room does not allow downloads, or the caller holds a grant without the read right */
17273
+ 403: {
17274
+ headers: {
17275
+ [name: string]: unknown;
17276
+ };
17277
+ content: {
17278
+ "application/json": components$1["schemas"]["ErrorResponse"];
17279
+ };
17280
+ };
17281
+ /** @description The room, the item or its original file does not exist, or the caller cannot see the room, or the plan does not offer data rooms (`data_room.disabled`) */
17282
+ 404: {
17283
+ headers: {
17284
+ [name: string]: unknown;
17285
+ };
17286
+ content: {
17287
+ "application/json": components$1["schemas"]["ErrorResponse"];
17288
+ };
17289
+ };
17290
+ /** @description The original file is larger than the document limit */
17291
+ 413: {
17292
+ headers: {
17293
+ [name: string]: unknown;
17294
+ };
17295
+ content: {
17296
+ "application/json": components$1["schemas"]["ErrorResponse"];
17297
+ };
17298
+ };
17299
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
17300
+ 429: {
17301
+ headers: {
17302
+ /** @description Seconds until this request may be retried. */
17303
+ "Retry-After"?: number;
17304
+ /** @description Seconds until the rate-limit bucket admits another request. */
17305
+ "x-ratelimit-after"?: number;
17306
+ /** @description Maximum requests allowed in the current rate-limit burst. */
17307
+ "x-ratelimit-limit"?: number;
17308
+ /** @description Requests remaining in the current rate-limit burst. */
17309
+ "x-ratelimit-remaining"?: number;
17310
+ [name: string]: unknown;
17311
+ };
17312
+ content: {
17313
+ "application/json": components$1["schemas"]["ErrorResponse"];
17314
+ };
17315
+ };
17316
+ /** @description Room authorization or the room store is temporarily unavailable */
17317
+ 503: {
17318
+ headers: {
17319
+ [name: string]: unknown;
17320
+ };
17321
+ content: {
17322
+ "application/json": components$1["schemas"]["ErrorResponse"];
17323
+ };
17324
+ };
17325
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
17326
+ 504: {
17327
+ headers: {
17328
+ [name: string]: unknown;
17329
+ };
17330
+ content: {
17331
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
17332
+ };
17333
+ };
17334
+ };
17335
+ };
17336
+ get_room_item_page: {
17337
+ parameters: {
17338
+ query?: never;
17339
+ header?: never;
17340
+ path: {
17341
+ /** @description Room ID */
17342
+ id: string;
17343
+ /** @description Logical document ID of the room item */
17344
+ document_id: string;
17345
+ /** @description 1-indexed page number */
17346
+ page_number: number;
17347
+ };
17348
+ cookie?: never;
17349
+ };
17350
+ requestBody?: never;
17351
+ responses: {
17352
+ /** @description Page PNG image */
17353
+ 200: {
17354
+ headers: {
17355
+ [name: string]: unknown;
17356
+ };
17357
+ content: {
17358
+ "image/png": string;
17359
+ };
17360
+ };
17361
+ /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
17362
+ 400: {
17363
+ headers: {
17364
+ [name: string]: unknown;
17365
+ };
17366
+ content: {
17367
+ "application/json": components$1["schemas"]["ErrorResponse"];
17368
+ };
17369
+ };
17370
+ /** @description Unauthorized */
17371
+ 401: {
17372
+ headers: {
17373
+ [name: string]: unknown;
17374
+ };
17375
+ content: {
17376
+ "application/json": components$1["schemas"]["ErrorResponse"];
17377
+ };
17378
+ };
17379
+ /** @description The caller holds a grant on the room without the read right */
17380
+ 403: {
17381
+ headers: {
17382
+ [name: string]: unknown;
17383
+ };
17384
+ content: {
17385
+ "application/json": components$1["schemas"]["ErrorResponse"];
17386
+ };
17387
+ };
17388
+ /** @description The room, the item or the page does not exist, or the caller cannot see the room, or the plan does not offer data rooms (`data_room.disabled`) */
17389
+ 404: {
17390
+ headers: {
17391
+ [name: string]: unknown;
17392
+ };
17393
+ content: {
17394
+ "application/json": components$1["schemas"]["ErrorResponse"];
17395
+ };
17396
+ };
17397
+ /** @description The job does not support page images */
17398
+ 409: {
17399
+ headers: {
17400
+ [name: string]: unknown;
17401
+ };
17402
+ content: {
17403
+ "application/json": components$1["schemas"]["ErrorResponse"];
17404
+ };
17405
+ };
17406
+ /** @description The job result has expired */
17407
+ 410: {
17408
+ headers: {
17409
+ [name: string]: unknown;
17410
+ };
17411
+ content: {
17412
+ "application/json": components$1["schemas"]["ErrorResponse"];
17413
+ };
17414
+ };
17415
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
17416
+ 429: {
17417
+ headers: {
17418
+ /** @description Seconds until this request may be retried. */
17419
+ "Retry-After"?: number;
17420
+ /** @description Seconds until the rate-limit bucket admits another request. */
17421
+ "x-ratelimit-after"?: number;
17422
+ /** @description Maximum requests allowed in the current rate-limit burst. */
17423
+ "x-ratelimit-limit"?: number;
17424
+ /** @description Requests remaining in the current rate-limit burst. */
17425
+ "x-ratelimit-remaining"?: number;
17426
+ [name: string]: unknown;
17427
+ };
17428
+ content: {
17429
+ "application/json": components$1["schemas"]["ErrorResponse"];
17430
+ };
17431
+ };
17432
+ /** @description Storage error */
17433
+ 500: {
17434
+ headers: {
17435
+ [name: string]: unknown;
17436
+ };
17437
+ content: {
17438
+ "application/json": components$1["schemas"]["ErrorResponse"];
17439
+ };
17440
+ };
17441
+ /** @description Room authorization or page access is temporarily unavailable */
17442
+ 503: {
17443
+ headers: {
17444
+ [name: string]: unknown;
17445
+ };
17446
+ content: {
17447
+ "application/json": components$1["schemas"]["ErrorResponse"];
17448
+ };
17449
+ };
17450
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
17451
+ 504: {
17452
+ headers: {
17453
+ [name: string]: unknown;
17454
+ };
17455
+ content: {
17456
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
17457
+ };
17458
+ };
17459
+ };
17460
+ };
17461
+ leave_room: {
17462
+ parameters: {
17463
+ query?: never;
17464
+ header?: never;
17465
+ path: {
17466
+ /** @description Room ID */
17467
+ id: string;
17468
+ };
17469
+ cookie?: never;
17470
+ };
17471
+ requestBody?: never;
17472
+ responses: {
17473
+ /** @description The caller left the room */
17474
+ 204: {
17475
+ headers: {
17476
+ [name: string]: unknown;
17477
+ };
17478
+ content?: never;
17479
+ };
17480
+ /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
17481
+ 400: {
17482
+ headers: {
17483
+ [name: string]: unknown;
17484
+ };
17485
+ content: {
17486
+ "application/json": components$1["schemas"]["ErrorResponse"];
17487
+ };
17488
+ };
17489
+ /** @description Unauthorized */
17490
+ 401: {
17491
+ headers: {
17492
+ [name: string]: unknown;
17493
+ };
17494
+ content: {
17495
+ "application/json": components$1["schemas"]["ErrorResponse"];
17496
+ };
17497
+ };
17498
+ /** @description The caller holds a grant on the room without the read right */
17499
+ 403: {
17500
+ headers: {
17501
+ [name: string]: unknown;
17502
+ };
17503
+ content: {
17504
+ "application/json": components$1["schemas"]["ErrorResponse"];
17505
+ };
17506
+ };
17507
+ /** @description The room does not exist, the caller cannot see it, or the caller has no grant on it, or the plan does not offer data rooms (`data_room.disabled`) */
17508
+ 404: {
17509
+ headers: {
17510
+ [name: string]: unknown;
17511
+ };
17512
+ content: {
17513
+ "application/json": components$1["schemas"]["ErrorResponse"];
17514
+ };
17515
+ };
17516
+ /** @description The caller owns the room */
17517
+ 409: {
17518
+ headers: {
17519
+ [name: string]: unknown;
17520
+ };
17521
+ content: {
17522
+ "application/json": components$1["schemas"]["ErrorResponse"];
17523
+ };
17524
+ };
17525
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
17526
+ 429: {
17527
+ headers: {
17528
+ /** @description Seconds until this request may be retried. */
17529
+ "Retry-After"?: number;
17530
+ /** @description Seconds until the rate-limit bucket admits another request. */
17531
+ "x-ratelimit-after"?: number;
17532
+ /** @description Maximum requests allowed in the current rate-limit burst. */
17533
+ "x-ratelimit-limit"?: number;
17534
+ /** @description Requests remaining in the current rate-limit burst. */
17535
+ "x-ratelimit-remaining"?: number;
17536
+ [name: string]: unknown;
17537
+ };
17538
+ content: {
17539
+ "application/json": components$1["schemas"]["ErrorResponse"];
17540
+ };
17541
+ };
17542
+ /** @description Room authorization or the room store is temporarily unavailable */
16574
17543
  503: {
16575
17544
  headers: {
16576
17545
  [name: string]: unknown;
@@ -16590,30 +17559,31 @@ interface operations$2 {
16590
17559
  };
16591
17560
  };
16592
17561
  };
16593
- download_room_item: {
17562
+ list_room_links: {
16594
17563
  parameters: {
16595
- query?: never;
17564
+ query?: {
17565
+ limit?: number;
17566
+ offset?: number;
17567
+ };
16596
17568
  header?: never;
16597
17569
  path: {
16598
17570
  /** @description Room ID */
16599
17571
  id: string;
16600
- /** @description Logical document ID of the room item */
16601
- document_id: string;
16602
17572
  };
16603
17573
  cookie?: never;
16604
17574
  };
16605
17575
  requestBody?: never;
16606
17576
  responses: {
16607
- /** @description The original file */
17577
+ /** @description Links listed */
16608
17578
  200: {
16609
17579
  headers: {
16610
17580
  [name: string]: unknown;
16611
17581
  };
16612
17582
  content: {
16613
- "*/*": string;
17583
+ "application/json": components$1["schemas"]["ListRoomLinksResponse"];
16614
17584
  };
16615
17585
  };
16616
- /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
17586
+ /** @description Invalid pagination parameters */
16617
17587
  400: {
16618
17588
  headers: {
16619
17589
  [name: string]: unknown;
@@ -16631,7 +17601,7 @@ interface operations$2 {
16631
17601
  "application/json": components$1["schemas"]["ErrorResponse"];
16632
17602
  };
16633
17603
  };
16634
- /** @description The room does not allow downloads, or the caller holds a grant without the read right */
17604
+ /** @description The caller holds a grant on the room without the member manage right */
16635
17605
  403: {
16636
17606
  headers: {
16637
17607
  [name: string]: unknown;
@@ -16640,7 +17610,7 @@ interface operations$2 {
16640
17610
  "application/json": components$1["schemas"]["ErrorResponse"];
16641
17611
  };
16642
17612
  };
16643
- /** @description The room, the item or its original file does not exist, or the caller cannot see the room, or the plan does not offer data rooms (`data_room.disabled`) */
17613
+ /** @description The room does not exist or the caller cannot see it, or the plan does not offer data rooms (`data_room.disabled`) */
16644
17614
  404: {
16645
17615
  headers: {
16646
17616
  [name: string]: unknown;
@@ -16649,15 +17619,6 @@ interface operations$2 {
16649
17619
  "application/json": components$1["schemas"]["ErrorResponse"];
16650
17620
  };
16651
17621
  };
16652
- /** @description The original file is larger than the document limit */
16653
- 413: {
16654
- headers: {
16655
- [name: string]: unknown;
16656
- };
16657
- content: {
16658
- "application/json": components$1["schemas"]["ErrorResponse"];
16659
- };
16660
- };
16661
17622
  /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
16662
17623
  429: {
16663
17624
  headers: {
@@ -16695,32 +17656,32 @@ interface operations$2 {
16695
17656
  };
16696
17657
  };
16697
17658
  };
16698
- get_room_item_page: {
17659
+ create_room_link: {
16699
17660
  parameters: {
16700
17661
  query?: never;
16701
17662
  header?: never;
16702
17663
  path: {
16703
17664
  /** @description Room ID */
16704
17665
  id: string;
16705
- /** @description Logical document ID of the room item */
16706
- document_id: string;
16707
- /** @description 1-indexed page number */
16708
- page_number: number;
16709
17666
  };
16710
17667
  cookie?: never;
16711
17668
  };
16712
- requestBody?: never;
17669
+ requestBody: {
17670
+ content: {
17671
+ "application/json": components$1["schemas"]["CreateRoomLinkRequest"];
17672
+ };
17673
+ };
16713
17674
  responses: {
16714
- /** @description Page PNG image */
16715
- 200: {
17675
+ /** @description Link created */
17676
+ 201: {
16716
17677
  headers: {
16717
17678
  [name: string]: unknown;
16718
17679
  };
16719
17680
  content: {
16720
- "image/png": string;
17681
+ "application/json": components$1["schemas"]["RoomLinkResponse"];
16721
17682
  };
16722
17683
  };
16723
- /** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
17684
+ /** @description The expiry is not in the future */
16724
17685
  400: {
16725
17686
  headers: {
16726
17687
  [name: string]: unknown;
@@ -16738,7 +17699,7 @@ interface operations$2 {
16738
17699
  "application/json": components$1["schemas"]["ErrorResponse"];
16739
17700
  };
16740
17701
  };
16741
- /** @description The caller holds a grant on the room without the read right */
17702
+ /** @description The caller holds a grant on the room without the member manage right */
16742
17703
  403: {
16743
17704
  headers: {
16744
17705
  [name: string]: unknown;
@@ -16747,7 +17708,7 @@ interface operations$2 {
16747
17708
  "application/json": components$1["schemas"]["ErrorResponse"];
16748
17709
  };
16749
17710
  };
16750
- /** @description The room, the item or the page does not exist, or the caller cannot see the room, or the plan does not offer data rooms (`data_room.disabled`) */
17711
+ /** @description The room does not exist or the caller cannot see it, or the plan does not offer data rooms (`data_room.disabled`) */
16751
17712
  404: {
16752
17713
  headers: {
16753
17714
  [name: string]: unknown;
@@ -16756,7 +17717,16 @@ interface operations$2 {
16756
17717
  "application/json": components$1["schemas"]["ErrorResponse"];
16757
17718
  };
16758
17719
  };
16759
- /** @description The job does not support page images */
17720
+ /** @description The request body stopped arriving before the upload completed (`details.limit` is `body_idle`) */
17721
+ 408: {
17722
+ headers: {
17723
+ [name: string]: unknown;
17724
+ };
17725
+ content: {
17726
+ "application/json": components$1["schemas"]["TimeoutErrorResponse"];
17727
+ };
17728
+ };
17729
+ /** @description The room holds its limit of active links */
16760
17730
  409: {
16761
17731
  headers: {
16762
17732
  [name: string]: unknown;
@@ -16765,8 +17735,17 @@ interface operations$2 {
16765
17735
  "application/json": components$1["schemas"]["ErrorResponse"];
16766
17736
  };
16767
17737
  };
16768
- /** @description The job result has expired */
16769
- 410: {
17738
+ /** @description The request body is larger than this deployment accepts */
17739
+ 413: {
17740
+ headers: {
17741
+ [name: string]: unknown;
17742
+ };
17743
+ content: {
17744
+ "application/json": components$1["schemas"]["ErrorResponse"];
17745
+ };
17746
+ };
17747
+ /** @description The request body was not sent with Content-Type: application/json */
17748
+ 415: {
16770
17749
  headers: {
16771
17750
  [name: string]: unknown;
16772
17751
  };
@@ -16791,16 +17770,7 @@ interface operations$2 {
16791
17770
  "application/json": components$1["schemas"]["ErrorResponse"];
16792
17771
  };
16793
17772
  };
16794
- /** @description Storage error */
16795
- 500: {
16796
- headers: {
16797
- [name: string]: unknown;
16798
- };
16799
- content: {
16800
- "application/json": components$1["schemas"]["ErrorResponse"];
16801
- };
16802
- };
16803
- /** @description Room authorization or page access is temporarily unavailable */
17773
+ /** @description Room authorization or the room store is temporarily unavailable */
16804
17774
  503: {
16805
17775
  headers: {
16806
17776
  [name: string]: unknown;
@@ -16820,19 +17790,21 @@ interface operations$2 {
16820
17790
  };
16821
17791
  };
16822
17792
  };
16823
- leave_room: {
17793
+ revoke_room_link: {
16824
17794
  parameters: {
16825
17795
  query?: never;
16826
17796
  header?: never;
16827
17797
  path: {
16828
17798
  /** @description Room ID */
16829
17799
  id: string;
17800
+ /** @description Link ID */
17801
+ link_id: string;
16830
17802
  };
16831
17803
  cookie?: never;
16832
17804
  };
16833
17805
  requestBody?: never;
16834
17806
  responses: {
16835
- /** @description The caller left the room */
17807
+ /** @description Link revoked */
16836
17808
  204: {
16837
17809
  headers: {
16838
17810
  [name: string]: unknown;
@@ -16857,7 +17829,7 @@ interface operations$2 {
16857
17829
  "application/json": components$1["schemas"]["ErrorResponse"];
16858
17830
  };
16859
17831
  };
16860
- /** @description The caller holds a grant on the room without the read right */
17832
+ /** @description The caller holds a grant on the room without the member manage right */
16861
17833
  403: {
16862
17834
  headers: {
16863
17835
  [name: string]: unknown;
@@ -16866,7 +17838,7 @@ interface operations$2 {
16866
17838
  "application/json": components$1["schemas"]["ErrorResponse"];
16867
17839
  };
16868
17840
  };
16869
- /** @description The room does not exist, the caller cannot see it, or the caller has no grant on it, or the plan does not offer data rooms (`data_room.disabled`) */
17841
+ /** @description The room has no such unrevoked link, or the caller cannot see the room, or the plan does not offer data rooms (`data_room.disabled`) */
16870
17842
  404: {
16871
17843
  headers: {
16872
17844
  [name: string]: unknown;
@@ -16875,15 +17847,6 @@ interface operations$2 {
16875
17847
  "application/json": components$1["schemas"]["ErrorResponse"];
16876
17848
  };
16877
17849
  };
16878
- /** @description The caller owns the room */
16879
- 409: {
16880
- headers: {
16881
- [name: string]: unknown;
16882
- };
16883
- content: {
16884
- "application/json": components$1["schemas"]["ErrorResponse"];
16885
- };
16886
- };
16887
17850
  /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
16888
17851
  429: {
16889
17852
  headers: {
@@ -20163,6 +21126,25 @@ interface paths$2 {
20163
21126
  patch?: never;
20164
21127
  trace?: never;
20165
21128
  };
21129
+ "/v1/projects/{project_id}": {
21130
+ parameters: {
21131
+ query?: never;
21132
+ header?: never;
21133
+ path?: never;
21134
+ cookie?: never;
21135
+ };
21136
+ /** @description Read a live project visible to its owner, member or configured administrator. */
21137
+ get: operations$1["get_project"];
21138
+ put?: never;
21139
+ post?: never;
21140
+ /** @description Soft-delete a project and revoke its API keys atomically, retaining document bytes. */
21141
+ delete: operations$1["delete_project"];
21142
+ options?: never;
21143
+ head?: never;
21144
+ /** @description Rename a project as owner or configured administrator, preserving its slug, limits and metadata. */
21145
+ patch: operations$1["update_project"];
21146
+ trace?: never;
21147
+ };
20166
21148
  "/v1/projects/{project_id}/api-keys": {
20167
21149
  parameters: {
20168
21150
  query?: never;
@@ -20860,6 +21842,30 @@ interface paths$2 {
20860
21842
  patch?: never;
20861
21843
  trace?: never;
20862
21844
  };
21845
+ "/warmz": {
21846
+ parameters: {
21847
+ query?: never;
21848
+ header?: never;
21849
+ path?: never;
21850
+ cookie?: never;
21851
+ };
21852
+ /**
21853
+ * Check whether the service has warmed up.
21854
+ * @description Runs the same checks as `GET /readyz`, with one difference: on a fenced
21855
+ * deployment it does not require the generation to be admitted yet. A new
21856
+ * generation answers `200` here while it waits for admission, and `GET
21857
+ * /readyz` answers `200` only after admission. Unauthenticated: intended for
21858
+ * a container orchestrator's startup probe, not for API clients.
21859
+ */
21860
+ get: operations$1["warmz"];
21861
+ put?: never;
21862
+ post?: never;
21863
+ delete?: never;
21864
+ options?: never;
21865
+ head?: never;
21866
+ patch?: never;
21867
+ trace?: never;
21868
+ };
20863
21869
  }
20864
21870
  interface components$2 {
20865
21871
  schemas: {
@@ -22444,6 +23450,11 @@ interface components$2 {
22444
23450
  * citations regardless of this value. Defaults to `true` when omitted.
22445
23451
  */
22446
23452
  emit_citations?: boolean;
23453
+ /**
23454
+ * @description Enterprise extraction settings applied beneath request and per-file options.
23455
+ * Supply LLM credentials, provider URLs, and PDF passwords with each extraction request. Pro rejects this field.
23456
+ */
23457
+ extraction_config?: Record<string, unknown> | null;
22447
23458
  /**
22448
23459
  * @description Preset name (must be unique per project). Trimmed before storage; a
22449
23460
  * name that is entirely whitespace is rejected once trimmed.
@@ -24560,14 +25571,21 @@ interface components$2 {
24560
25571
  * Format: int32
24561
25572
  * @description Target DPI for the image (300 is standard, 600 for small text).
24562
25573
  *
24563
- * For a PDF page, this resamples the already-rendered raster; it does not make the page
24564
- * re-render at a higher native resolution. A value above what
24565
- * `image::preprocessing::calculate_target_dpi`'s memory/dimension clamp allows is
24566
- * silently capped (GH#1786: 400 and 600 both clamped to the same ~372 on a Letter page
24567
- * and produced byte-identical output), so upscaling interpolated pixels this way adds no
24568
- * detail. To change the actual PDF render resolution, set `images.target_dpi` on
24569
- * `ExtractionConfig` instead
24570
- * (`image::dpi::effective_pdf_render_dpi`).
25574
+ * Forced whole-document PDF OCR with the registered built-in Tesseract backend renders
25575
+ * native page content at this density before normalization when a preprocessing block
25576
+ * is configured and this value exceeds 150. This includes the synthesized classical
25577
+ * pipeline and a block that only sets another option: omitted `target_dpi` defaults to 300.
25578
+ * Without a preprocessing block, the default PDF render remains 150 DPI.
25579
+ *
25580
+ * Explicit `images` settings and detected full-page scan density take precedence.
25581
+ * Selected-page OCR, prepared rasters, custom backends, explicit OCR pipelines and VLM
25582
+ * fallback retain their source-render policy. Mixed native-and-OCR routes likewise keep
25583
+ * the source render while layout detection is active or a hidden text layer is being
25584
+ * probed. Existing raster memory and dimension limits can cap both rendering and
25585
+ * normalization; increasing this value cannot recover detail from a supplied raster. Set
25586
+ * `images.target_dpi` on
25587
+ * `ExtractionConfig` to configure PDF rendering
25588
+ * independently of preprocessing.
24571
25589
  * @default 300
24572
25590
  */
24573
25591
  target_dpi: number;
@@ -25048,6 +26066,20 @@ interface components$2 {
25048
26066
  * @description Confidence threshold override
25049
26067
  */
25050
26068
  confidence_threshold?: number | null;
26069
+ /**
26070
+ * @description Formula recognition model: "latex_ocr" turns each region that layout
26071
+ * detection marks as a formula into LaTeX. When omitted, a formula region
26072
+ * keeps its plain text. On a native PDF page this needs `native_pdf`.
26073
+ */
26074
+ formula_model?: string | null;
26075
+ /**
26076
+ * @description Also run layout detection on the text layer of native PDF pages, not
26077
+ * only on the pages that go through OCR. The layout regions then inform
26078
+ * the reading order, the region grouping and the table detection of those
26079
+ * pages. Off when omitted. It has no
26080
+ * effect when `force_ocr` is set, because every page then goes through OCR.
26081
+ */
26082
+ native_pdf?: boolean | null;
25051
26083
  /**
25052
26084
  * @description Layout presets are unavailable. xberg's `LayoutDetectionConfig` has no
25053
26085
  * preset concept, and the wire config has no field to carry one, so a
@@ -27594,6 +28626,8 @@ interface components$2 {
27594
28626
  * citations regardless of this value.
27595
28627
  */
27596
28628
  emit_citations: boolean;
28629
+ /** @description Stored Enterprise extraction settings, when present. */
28630
+ extraction_config?: Record<string, unknown> | null;
27597
28631
  /**
27598
28632
  * Format: uuid
27599
28633
  * @description Unique preset ID.
@@ -27799,11 +28833,11 @@ interface components$2 {
27799
28833
  /** @description Table cells as a 2D vector (rows × columns) */
27800
28834
  cells: string[][];
27801
28835
  /**
27802
- * @description Header cells for this fragment, i.e. the first row of `cells`.
28836
+ * @description Declared column header labels for this fragment.
27803
28837
  *
27804
- * Populated even when this fragment's own header row was merged away or
27805
- * physically lives in a sibling fragment (see `table_id`), so a single
27806
- * fragment is interpretable in isolation. `None` when no header row
28838
+ * These may describe the first row of `cells` or be inherited from a sibling
28839
+ * fragment (see `table_id`) whose header row is absent here, so a single
28840
+ * fragment is interpretable in isolation. `None` when no column headers
27807
28841
  * could be determined.
27808
28842
  */
27809
28843
  columns?: string[] | null;
@@ -28240,6 +29274,11 @@ interface components$2 {
28240
29274
  /** @description Tuning profile name. */
28241
29275
  name: string;
28242
29276
  };
29277
+ /** @description Request to rename an existing project. */
29278
+ UpdateProjectRequest: {
29279
+ /** @description Updated project name. */
29280
+ name?: string | null;
29281
+ };
28243
29282
  /** @description Request to update a saved preset. */
28244
29283
  UpdateSavedPresetRequest: {
28245
29284
  /** @description Optional context template. */
@@ -28254,6 +29293,8 @@ interface components$2 {
28254
29293
  * citations regardless of this value.
28255
29294
  */
28256
29295
  emit_citations?: boolean;
29296
+ /** @description Replace the Enterprise extraction settings, or send null to clear them. Omission preserves them. Pro rejects this field. */
29297
+ extraction_config?: Record<string, unknown> | null;
28257
29298
  /**
28258
29299
  * @description Preset name. Trimmed before storage; a name that is entirely
28259
29300
  * whitespace is rejected once trimmed.
@@ -31416,21 +32457,368 @@ interface operations$1 {
31416
32457
  };
31417
32458
  };
31418
32459
  };
31419
- create_project: {
32460
+ create_project: {
32461
+ parameters: {
32462
+ query?: never;
32463
+ header?: never;
32464
+ path?: never;
32465
+ cookie?: never;
32466
+ };
32467
+ requestBody: {
32468
+ content: {
32469
+ "application/json": components$2["schemas"]["CreateProjectRequest"];
32470
+ };
32471
+ };
32472
+ responses: {
32473
+ /** @description Project created */
32474
+ 201: {
32475
+ headers: {
32476
+ [name: string]: unknown;
32477
+ };
32478
+ content: {
32479
+ "application/json": components$2["schemas"]["ProjectResponse"];
32480
+ };
32481
+ };
32482
+ /** @description Invalid request */
32483
+ 400: {
32484
+ headers: {
32485
+ [name: string]: unknown;
32486
+ };
32487
+ content: {
32488
+ "application/json": components$2["schemas"]["ErrorResponse"];
32489
+ };
32490
+ };
32491
+ /** @description Unauthorized */
32492
+ 401: {
32493
+ headers: {
32494
+ [name: string]: unknown;
32495
+ };
32496
+ content: {
32497
+ "application/json": components$2["schemas"]["ErrorResponse"];
32498
+ };
32499
+ };
32500
+ /** @description Forbidden */
32501
+ 403: {
32502
+ headers: {
32503
+ [name: string]: unknown;
32504
+ };
32505
+ content: {
32506
+ "application/json": components$2["schemas"]["ErrorResponse"];
32507
+ };
32508
+ };
32509
+ /** @description The request body stopped arriving before the upload completed (`details.limit` is `body_idle`) */
32510
+ 408: {
32511
+ headers: {
32512
+ [name: string]: unknown;
32513
+ };
32514
+ content: {
32515
+ "application/json": components$2["schemas"]["TimeoutErrorResponse"];
32516
+ };
32517
+ };
32518
+ /** @description Project slug already exists */
32519
+ 409: {
32520
+ headers: {
32521
+ [name: string]: unknown;
32522
+ };
32523
+ content: {
32524
+ "application/json": components$2["schemas"]["ErrorResponse"];
32525
+ };
32526
+ };
32527
+ /** @description The request body is larger than this deployment accepts */
32528
+ 413: {
32529
+ headers: {
32530
+ [name: string]: unknown;
32531
+ };
32532
+ content: {
32533
+ "application/json": components$2["schemas"]["ErrorResponse"];
32534
+ };
32535
+ };
32536
+ /** @description The request body was not sent with Content-Type: application/json */
32537
+ 415: {
32538
+ headers: {
32539
+ [name: string]: unknown;
32540
+ };
32541
+ content: {
32542
+ "application/json": components$2["schemas"]["ErrorResponse"];
32543
+ };
32544
+ };
32545
+ /** @description Request fails validation */
32546
+ 422: {
32547
+ headers: {
32548
+ [name: string]: unknown;
32549
+ };
32550
+ content: {
32551
+ "application/json": components$2["schemas"]["ErrorResponse"];
32552
+ };
32553
+ };
32554
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
32555
+ 429: {
32556
+ headers: {
32557
+ /** @description Seconds until this request may be retried. */
32558
+ "Retry-After"?: number;
32559
+ /** @description Seconds until the rate-limit bucket admits another request. */
32560
+ "x-ratelimit-after"?: number;
32561
+ /** @description Maximum requests allowed in the current rate-limit burst. */
32562
+ "x-ratelimit-limit"?: number;
32563
+ /** @description Requests remaining in the current rate-limit burst. */
32564
+ "x-ratelimit-remaining"?: number;
32565
+ [name: string]: unknown;
32566
+ };
32567
+ content: {
32568
+ "application/json": components$2["schemas"]["ErrorResponse"];
32569
+ };
32570
+ };
32571
+ /** @description Persistence error */
32572
+ 500: {
32573
+ headers: {
32574
+ [name: string]: unknown;
32575
+ };
32576
+ content: {
32577
+ "application/json": components$2["schemas"]["ErrorResponse"];
32578
+ };
32579
+ };
32580
+ /** @description Session authentication is temporarily unavailable */
32581
+ 503: {
32582
+ headers: {
32583
+ [name: string]: unknown;
32584
+ };
32585
+ content: {
32586
+ "application/json": components$2["schemas"]["ErrorResponse"];
32587
+ };
32588
+ };
32589
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
32590
+ 504: {
32591
+ headers: {
32592
+ [name: string]: unknown;
32593
+ };
32594
+ content: {
32595
+ "application/json": components$2["schemas"]["TimeoutErrorResponse"];
32596
+ };
32597
+ };
32598
+ };
32599
+ };
32600
+ get_project: {
31420
32601
  parameters: {
31421
32602
  query?: never;
31422
32603
  header?: never;
31423
- path?: never;
32604
+ path: {
32605
+ /** @description Project ID */
32606
+ project_id: string;
32607
+ };
32608
+ cookie?: never;
32609
+ };
32610
+ requestBody?: never;
32611
+ responses: {
32612
+ /** @description Project details */
32613
+ 200: {
32614
+ headers: {
32615
+ [name: string]: unknown;
32616
+ };
32617
+ content: {
32618
+ "application/json": components$2["schemas"]["ProjectResponse"];
32619
+ };
32620
+ };
32621
+ /** @description Invalid project ID */
32622
+ 400: {
32623
+ headers: {
32624
+ [name: string]: unknown;
32625
+ };
32626
+ content: {
32627
+ "application/json": components$2["schemas"]["ErrorResponse"];
32628
+ };
32629
+ };
32630
+ /** @description Unauthorized */
32631
+ 401: {
32632
+ headers: {
32633
+ [name: string]: unknown;
32634
+ };
32635
+ content: {
32636
+ "application/json": components$2["schemas"]["ErrorResponse"];
32637
+ };
32638
+ };
32639
+ /** @description Project not found or not visible */
32640
+ 404: {
32641
+ headers: {
32642
+ [name: string]: unknown;
32643
+ };
32644
+ content: {
32645
+ "application/json": components$2["schemas"]["ErrorResponse"];
32646
+ };
32647
+ };
32648
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
32649
+ 429: {
32650
+ headers: {
32651
+ /** @description Seconds until this request may be retried. */
32652
+ "Retry-After"?: number;
32653
+ /** @description Seconds until the rate-limit bucket admits another request. */
32654
+ "x-ratelimit-after"?: number;
32655
+ /** @description Maximum requests allowed in the current rate-limit burst. */
32656
+ "x-ratelimit-limit"?: number;
32657
+ /** @description Requests remaining in the current rate-limit burst. */
32658
+ "x-ratelimit-remaining"?: number;
32659
+ [name: string]: unknown;
32660
+ };
32661
+ content: {
32662
+ "application/json": components$2["schemas"]["ErrorResponse"];
32663
+ };
32664
+ };
32665
+ /** @description Persistence error */
32666
+ 500: {
32667
+ headers: {
32668
+ [name: string]: unknown;
32669
+ };
32670
+ content: {
32671
+ "application/json": components$2["schemas"]["ErrorResponse"];
32672
+ };
32673
+ };
32674
+ /** @description Session authentication unavailable */
32675
+ 503: {
32676
+ headers: {
32677
+ [name: string]: unknown;
32678
+ };
32679
+ content: {
32680
+ "application/json": components$2["schemas"]["ErrorResponse"];
32681
+ };
32682
+ };
32683
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
32684
+ 504: {
32685
+ headers: {
32686
+ [name: string]: unknown;
32687
+ };
32688
+ content: {
32689
+ "application/json": components$2["schemas"]["TimeoutErrorResponse"];
32690
+ };
32691
+ };
32692
+ };
32693
+ };
32694
+ delete_project: {
32695
+ parameters: {
32696
+ query?: never;
32697
+ header?: never;
32698
+ path: {
32699
+ /** @description Project ID */
32700
+ project_id: string;
32701
+ };
32702
+ cookie?: never;
32703
+ };
32704
+ requestBody?: never;
32705
+ responses: {
32706
+ /** @description Project soft-deleted and credentials revoked */
32707
+ 204: {
32708
+ headers: {
32709
+ [name: string]: unknown;
32710
+ };
32711
+ content?: never;
32712
+ };
32713
+ /** @description Invalid project ID */
32714
+ 400: {
32715
+ headers: {
32716
+ [name: string]: unknown;
32717
+ };
32718
+ content: {
32719
+ "application/json": components$2["schemas"]["ErrorResponse"];
32720
+ };
32721
+ };
32722
+ /** @description Unauthorized */
32723
+ 401: {
32724
+ headers: {
32725
+ [name: string]: unknown;
32726
+ };
32727
+ content: {
32728
+ "application/json": components$2["schemas"]["ErrorResponse"];
32729
+ };
32730
+ };
32731
+ /** @description Project ownership required */
32732
+ 403: {
32733
+ headers: {
32734
+ [name: string]: unknown;
32735
+ };
32736
+ content: {
32737
+ "application/json": components$2["schemas"]["ErrorResponse"];
32738
+ };
32739
+ };
32740
+ /** @description Project not found */
32741
+ 404: {
32742
+ headers: {
32743
+ [name: string]: unknown;
32744
+ };
32745
+ content: {
32746
+ "application/json": components$2["schemas"]["ErrorResponse"];
32747
+ };
32748
+ };
32749
+ /** @description Project holds the configured administrator key */
32750
+ 409: {
32751
+ headers: {
32752
+ [name: string]: unknown;
32753
+ };
32754
+ content: {
32755
+ "application/json": components$2["schemas"]["ErrorResponse"];
32756
+ };
32757
+ };
32758
+ /** @description Rate limit exceeded for this caller. The body is the shared error envelope with code `rate_limited`; `Retry-After` and the `x-ratelimit-*` headers carry the wait. */
32759
+ 429: {
32760
+ headers: {
32761
+ /** @description Seconds until this request may be retried. */
32762
+ "Retry-After"?: number;
32763
+ /** @description Seconds until the rate-limit bucket admits another request. */
32764
+ "x-ratelimit-after"?: number;
32765
+ /** @description Maximum requests allowed in the current rate-limit burst. */
32766
+ "x-ratelimit-limit"?: number;
32767
+ /** @description Requests remaining in the current rate-limit burst. */
32768
+ "x-ratelimit-remaining"?: number;
32769
+ [name: string]: unknown;
32770
+ };
32771
+ content: {
32772
+ "application/json": components$2["schemas"]["ErrorResponse"];
32773
+ };
32774
+ };
32775
+ /** @description Audited operation failed */
32776
+ 500: {
32777
+ headers: {
32778
+ [name: string]: unknown;
32779
+ };
32780
+ content: {
32781
+ "application/json": components$2["schemas"]["ErrorResponse"];
32782
+ };
32783
+ };
32784
+ /** @description Session authentication unavailable */
32785
+ 503: {
32786
+ headers: {
32787
+ [name: string]: unknown;
32788
+ };
32789
+ content: {
32790
+ "application/json": components$2["schemas"]["ErrorResponse"];
32791
+ };
32792
+ };
32793
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
32794
+ 504: {
32795
+ headers: {
32796
+ [name: string]: unknown;
32797
+ };
32798
+ content: {
32799
+ "application/json": components$2["schemas"]["TimeoutErrorResponse"];
32800
+ };
32801
+ };
32802
+ };
32803
+ };
32804
+ update_project: {
32805
+ parameters: {
32806
+ query?: never;
32807
+ header?: never;
32808
+ path: {
32809
+ /** @description Project ID */
32810
+ project_id: string;
32811
+ };
31424
32812
  cookie?: never;
31425
32813
  };
31426
32814
  requestBody: {
31427
32815
  content: {
31428
- "application/json": components$2["schemas"]["CreateProjectRequest"];
32816
+ "application/json": components$2["schemas"]["UpdateProjectRequest"];
31429
32817
  };
31430
32818
  };
31431
32819
  responses: {
31432
- /** @description Project created */
31433
- 201: {
32820
+ /** @description Project renamed */
32821
+ 200: {
31434
32822
  headers: {
31435
32823
  [name: string]: unknown;
31436
32824
  };
@@ -31438,7 +32826,7 @@ interface operations$1 {
31438
32826
  "application/json": components$2["schemas"]["ProjectResponse"];
31439
32827
  };
31440
32828
  };
31441
- /** @description Invalid request */
32829
+ /** @description Invalid project ID or name */
31442
32830
  400: {
31443
32831
  headers: {
31444
32832
  [name: string]: unknown;
@@ -31456,7 +32844,7 @@ interface operations$1 {
31456
32844
  "application/json": components$2["schemas"]["ErrorResponse"];
31457
32845
  };
31458
32846
  };
31459
- /** @description Forbidden */
32847
+ /** @description Project ownership required */
31460
32848
  403: {
31461
32849
  headers: {
31462
32850
  [name: string]: unknown;
@@ -31465,22 +32853,22 @@ interface operations$1 {
31465
32853
  "application/json": components$2["schemas"]["ErrorResponse"];
31466
32854
  };
31467
32855
  };
31468
- /** @description The request body stopped arriving before the upload completed (`details.limit` is `body_idle`) */
31469
- 408: {
32856
+ /** @description Project not found */
32857
+ 404: {
31470
32858
  headers: {
31471
32859
  [name: string]: unknown;
31472
32860
  };
31473
32861
  content: {
31474
- "application/json": components$2["schemas"]["TimeoutErrorResponse"];
32862
+ "application/json": components$2["schemas"]["ErrorResponse"];
31475
32863
  };
31476
32864
  };
31477
- /** @description Project slug already exists */
31478
- 409: {
32865
+ /** @description The request body stopped arriving before the upload completed (`details.limit` is `body_idle`) */
32866
+ 408: {
31479
32867
  headers: {
31480
32868
  [name: string]: unknown;
31481
32869
  };
31482
32870
  content: {
31483
- "application/json": components$2["schemas"]["ErrorResponse"];
32871
+ "application/json": components$2["schemas"]["TimeoutErrorResponse"];
31484
32872
  };
31485
32873
  };
31486
32874
  /** @description The request body is larger than this deployment accepts */
@@ -31501,7 +32889,7 @@ interface operations$1 {
31501
32889
  "application/json": components$2["schemas"]["ErrorResponse"];
31502
32890
  };
31503
32891
  };
31504
- /** @description Request fails validation */
32892
+ /** @description Invalid request body */
31505
32893
  422: {
31506
32894
  headers: {
31507
32895
  [name: string]: unknown;
@@ -31527,7 +32915,7 @@ interface operations$1 {
31527
32915
  "application/json": components$2["schemas"]["ErrorResponse"];
31528
32916
  };
31529
32917
  };
31530
- /** @description Persistence error */
32918
+ /** @description Audited operation failed */
31531
32919
  500: {
31532
32920
  headers: {
31533
32921
  [name: string]: unknown;
@@ -31536,7 +32924,7 @@ interface operations$1 {
31536
32924
  "application/json": components$2["schemas"]["ErrorResponse"];
31537
32925
  };
31538
32926
  };
31539
- /** @description Session authentication is temporarily unavailable */
32927
+ /** @description Session authentication unavailable */
31540
32928
  503: {
31541
32929
  headers: {
31542
32930
  [name: string]: unknown;
@@ -36414,6 +37802,44 @@ interface operations$1 {
36414
37802
  };
36415
37803
  };
36416
37804
  };
37805
+ warmz: {
37806
+ parameters: {
37807
+ query?: never;
37808
+ header?: never;
37809
+ path?: never;
37810
+ cookie?: never;
37811
+ };
37812
+ requestBody?: never;
37813
+ responses: {
37814
+ /** @description Service has warmed up */
37815
+ 200: {
37816
+ headers: {
37817
+ [name: string]: unknown;
37818
+ };
37819
+ content: {
37820
+ "application/json": components$2["schemas"]["ReadinessResponse"];
37821
+ };
37822
+ };
37823
+ /** @description A dependency or the deployment is not ready */
37824
+ 503: {
37825
+ headers: {
37826
+ [name: string]: unknown;
37827
+ };
37828
+ content: {
37829
+ "application/json": components$2["schemas"]["ReadinessResponse"];
37830
+ };
37831
+ };
37832
+ /** @description The server did not produce a response in time (`details.limit` is `handler`) */
37833
+ 504: {
37834
+ headers: {
37835
+ [name: string]: unknown;
37836
+ };
37837
+ content: {
37838
+ "application/json": components$2["schemas"]["TimeoutErrorResponse"];
37839
+ };
37840
+ };
37841
+ };
37842
+ };
36417
37843
  }
36418
37844
  /**
36419
37845
  * This file was auto-generated by openapi-typescript.
@@ -36549,7 +37975,7 @@ interface paths {
36549
37975
  cookie?: never;
36550
37976
  };
36551
37977
  /** @description Discovers a project identity provider by email domain and starts a signed SAML login. */
36552
- get: operations["login"];
37978
+ get: operations["saml_login"];
36553
37979
  put?: never;
36554
37980
  post?: never;
36555
37981
  delete?: never;
@@ -42194,11 +43620,11 @@ interface components {
42194
43620
  /** @description Table cells as a 2D vector (rows × columns) */
42195
43621
  cells: string[][];
42196
43622
  /**
42197
- * @description Header cells for this fragment, i.e. the first row of `cells`.
43623
+ * @description Declared column header labels for this fragment.
42198
43624
  *
42199
- * Populated even when this fragment's own header row was merged away or
42200
- * physically lives in a sibling fragment (see `table_id`), so a single
42201
- * fragment is interpretable in isolation. `None` when no header row
43625
+ * These may describe the first row of `cells` or be inherited from a sibling
43626
+ * fragment (see `table_id`) whose header row is absent here, so a single
43627
+ * fragment is interpretable in isolation. `None` when no column headers
42202
43628
  * could be determined.
42203
43629
  */
42204
43630
  columns?: string[] | null;
@@ -42402,10 +43828,7 @@ interface components {
42402
43828
  /** @description New role: `"OWNER"` or `"MEMBER"`. */
42403
43829
  role: string;
42404
43830
  };
42405
- /**
42406
- * @description Request to update an existing project. Enterprise-only today (Pro has no
42407
- * project-update endpoint).
42408
- */
43831
+ /** @description Request to rename an existing project. */
42409
43832
  UpdateProjectRequest: {
42410
43833
  /** @description Updated project name. */
42411
43834
  name?: string | null;
@@ -43284,7 +44707,7 @@ interface operations {
43284
44707
  };
43285
44708
  };
43286
44709
  };
43287
- login: {
44710
+ saml_login: {
43288
44711
  parameters: {
43289
44712
  query: {
43290
44713
  email: string;
@@ -43361,7 +44784,9 @@ interface operations {
43361
44784
  headers: {
43362
44785
  [name: string]: unknown;
43363
44786
  };
43364
- content?: never;
44787
+ content: {
44788
+ "application/samlmetadata+xml": string;
44789
+ };
43365
44790
  };
43366
44791
  /** @description SAML is not configured */
43367
44792
  404: {
@@ -51321,6 +52746,11 @@ type BackendSamlProviderRequest = components["schemas"]["SamlProviderRequest"];
51321
52746
  type BackendSamlProviderResponse = components["schemas"]["SamlProviderResponse"];
51322
52747
  type BackendSetIntegrationSyncRequest = components["schemas"]["SetIntegrationSyncRequest"];
51323
52748
  type BackendUpdateProjectRoleRequest = components["schemas"]["UpdateProjectRoleRequest"];
52749
+ type CreateRoomLinkRequest = components$1["schemas"]["CreateRoomLinkRequest"];
52750
+ type ListRoomLinksResponse = components$1["schemas"]["ListRoomLinksResponse"];
52751
+ type RoomLinkResponse = components$1["schemas"]["RoomLinkResponse"];
52752
+ type ProjectExtractionConfigResponse = components$1["schemas"]["ProjectExtractionConfigResponse"];
52753
+ type ProUpdateProjectRequest = components$2["schemas"]["UpdateProjectRequest"];
51324
52754
  interface XbergClientOptions {
51325
52755
  apiKey?: string;
51326
52756
  baseUrl: string;
@@ -51864,6 +53294,18 @@ export declare class XbergClient {
51864
53294
  listProjects(params?: PaginationParams): Promise<ListProjectsResponse>;
51865
53295
  /** Pro only: create a project owned by the caller (`POST /v1/projects`). */
51866
53296
  createProject(body: CreateProjectRequest): Promise<ProjectResponse>;
53297
+ /** Pro only: read a live project visible to the caller. */
53298
+ proGetProject(projectId: string): Promise<ProjectResponse>;
53299
+ /** Pro only: rename a project. */
53300
+ proUpdateProject(projectId: string, body: ProUpdateProjectRequest): Promise<ProjectResponse>;
53301
+ /** Pro only: soft-delete a project and revoke its API keys. */
53302
+ proDeleteProject(projectId: string): Promise<void>;
53303
+ /** Enterprise only: read the project's stored extraction defaults. */
53304
+ getProjectExtractionConfig(projectId: string): Promise<ProjectExtractionConfigResponse>;
53305
+ /** Enterprise only: replace the project's stored extraction defaults. */
53306
+ setProjectExtractionConfig(projectId: string, body: ExtractionConfig): Promise<ProjectExtractionConfigResponse>;
53307
+ /** Enterprise only: clear the project's stored extraction defaults. */
53308
+ clearProjectExtractionConfig(projectId: string): Promise<void>;
51867
53309
  /** Pro only: list a project's API keys (`GET /v1/projects/{projectId}/api-keys`). */
51868
53310
  listApiKeys(projectId: string, params?: PaginationParams): Promise<ListApiKeysResponse>;
51869
53311
  /** Pro only: mint an API key for a project (`POST /v1/projects/{projectId}/api-keys`). */
@@ -52065,6 +53507,14 @@ export declare class XbergClient {
52065
53507
  * who already holds a grant on the room.
52066
53508
  */
52067
53509
  transferRoomOwnership(roomId: string, body: RoomTransferOwnershipRequest): Promise<void>;
53510
+ /** Enterprise only: list a data room's share links. */
53511
+ listRoomLinks(roomId: string, params?: PaginationParams): Promise<ListRoomLinksResponse>;
53512
+ /** Enterprise only: create a share link for a data room. */
53513
+ createRoomLink(roomId: string, body: CreateRoomLinkRequest): Promise<RoomLinkResponse>;
53514
+ /** Enterprise only: revoke a data room share link and its grants. */
53515
+ revokeRoomLink(roomId: string, linkId: string): Promise<void>;
53516
+ /** Enterprise only: accept a share link with a signed-in user's session. */
53517
+ acceptRoomLink(body: RoomAcceptInvitationRequest, options?: RoomInvitationOptions): Promise<AcceptedRoomInvitationResponse>;
52068
53518
  /**
52069
53519
  * Enterprise only: list a room's invitations (`GET /v1/rooms/{id}/invitations`).
52070
53520
  * The answer never carries an invitation token.
@@ -52141,6 +53591,7 @@ export declare class XbergClient {
52141
53591
  */
52142
53592
  downloadPublicRoomItem(slug: string, itemRef: string): Promise<Uint8Array>;
52143
53593
  private jobScope;
53594
+ private projectHeaderName;
52144
53595
  /** Build `/v1/projects/{projectId}` with the id percent-encoded. */
52145
53596
  private projectPath;
52146
53597
  /** Build `/v1/projects/{projectId}/integrations/{integrationId}`. */
@@ -52357,5 +53808,5 @@ interface VerifyWebhookSignatureOptions {
52357
53808
  * bytes and fails verification.
52358
53809
  */
52359
53810
  export declare function verifyWebhookSignature(secret: string, header: string, body: string | Uint8Array, options?: VerifyWebhookSignatureOptions): Promise<boolean>;
52360
- export type { AcceptedRoomInvitationResponse, AddRoomItemRequest, AddRoomMemberRequest, ApiKeyResponse, ApiKeyScope, AuditParams, AuthConfigResponse, AutoTuneCapabilitiesResponse, AutoTuneJobStatus, AutoTuneJobSummary, AutoTuneResult, BackendAcceptInvitationRequest, BackendAnalyticsResponse, BackendAssignProjectRoleRequest, BackendAuditParams, BackendAuthConfigResponse, BackendBeginConnectResponse, BackendBillingResponse, BackendCheckoutResponse, BackendCreateApiKeyRequest, BackendCreateApiKeyResponse, BackendCreateIntegrationRequest, BackendCreateInvitationRequest, BackendCreateInvitationResponse, BackendCreateProjectRequest, BackendCreateProjectRoleRequest, BackendCreateScimConnectionRequest, BackendCreateScimConnectionResponse, BackendCreateWebhookRequest, BackendDateRange, BackendHealthResponse, BackendIntegrationResponse, BackendIntegrationSyncResponse, BackendListApiKeysResponse, BackendListAuditEntriesResponse, BackendListDocumentsResponse, BackendListIntegrationsResponse, BackendListInvitationsResponse, BackendListMembersResponse, BackendListProjectRolesResponse, BackendListProjectsResponse, BackendListScimAdminGroupsResponse, BackendListScimConnectionsResponse, BackendListWebhookDeliveriesResponse, BackendListWebhooksResponse, BackendLoginRequest, BackendLoginResponse, BackendMemberResponse, BackendOAuthCallbackParams, BackendPortalResponse, BackendProjectResponse, BackendProjectRoleResponse, BackendRagConfigResponse, BackendReadinessResponse, BackendReplaceScimGroupRolesRequest, BackendRetryWebhookDeliveryResponse, BackendSamlDomainRequest, BackendSamlDomainResponse, BackendSamlProviderRequest, BackendSamlProviderResponse, BackendSandboxExtractParams, BackendSandboxExtractResponse, BackendSetIntegrationSyncRequest, BackendSetRagConfigRequest, BackendUpdateMemberRoleRequest, BackendUpdateProjectRequest, BackendUpdateProjectRoleRequest, BackendUpdateUserProfileRequest, BackendUpdateWebhookRequest, BackendUsageResponse, BackendUserProfileResponse, BackendWebhookDeliveryDetailResponse, BackendWebhookResponse, BackendWebhookTestResponse, BackoffStrategy, BeginOAuthResponse, ConfirmUploadRequest, ConfirmUploadResponse, CrawlCompleteEvent, CrawlDiscoveredEvent, CrawlErrorEvent, CrawlEvent, CrawlEventKind, CrawlPageEvent, CreateApiKeyRequest, CreateApiKeyResponse, CreateAutoTuneJobRequest, CreateAutoTuneJobResponse, CreateClientOptions, CreateIntegrationRequest, CreateProjectRequest, CreateRoomRequest, CreateSavedPresetRequest, CreateSavedPresetResponse, DiffAsyncAccepted, DiffResponse, DiffResult, DocumentInput, DocumentResponse, DocumentVersionEntry, EnrichJobStatus, EnrichJobSubmitted, EnrichRequestOptions, EnrichTextRequest, EnterpriseHealthFeature, EnterpriseHealthResponse, ExtractAndWaitParams, ExtractBatchParams, ExtractParams, ExtractResponse, ExtractedDocument, ExtractionConfig, ExtractionEventSummary, ExtractionOptions, ExtractionResult, FileExtractionConfig, FileLike, GetJobResponse, GrantableRole, IntegrationResponse, Job, JobResult, JobResultError, JobScopeParams, JobStatus, LicenseInfoResponse, ListApiKeysResponse, ListAuditEntriesResponse, ListAutoTuneJobsResponse, ListDocumentsResponse, ListExtractionEventsParams, ListExtractionEventsResponse, ListIntegrationDocumentsParams, ListIntegrationsResponse, ListJobsParams, ListJobsResponse, ListManagedEmbeddingPresetsResponse, ListProjectDocumentsResponse, ListProjectsResponse, ListRoomInvitationsResponse, ListRoomItemsResponse, ListRoomMembersResponse, ListRoomsParams, ListRoomsResponse, ListSavedPresetsResponse, ListTuningProfilesResponse, ListWebhookDeliveriesResponse, LoginRequest, LoginResponse, ManagedEmbeddingPreset, PaginationParams, PresetDetail, PresetSummary, PresignUploadRequest, PresignUploadResponse, ProHealthResponse, ProIntegrationListResponse, ProjectDocumentEntry, ProjectResponse, PromoteProfileRequest, PublicRoomItemContentResponse, PublicRoomItemResponse, PublicRoomItemsResponse, PublicRoomResponse, PublicSandboxExtractParams, PublicationModeName, PublicationStateName, RagConfigResponse, RateLimitErrorOptions, ReorderRoomItemsRequest, ReorderRoomItemsResponse, RoomAcceptInvitationRequest, RoomChangeRoleRequest, RoomInvitationOptions, RoomInvitationPreviewResponse, RoomInvitationResponse, RoomInviteRequest, RoomItemContentResponse, RoomItemResponse, RoomListState, RoomMemberResponse, RoomPublicationResponse, RoomResponse, RoomRightsResponse, RoomTransferOwnershipRequest, SavedPresetDetail, SavedPresetSummary, SetRagConfigRequest, SetRoomPublicationRequest, StreamCrawlEventsOptions, SubmitAutoTuneParams, Target, TuningProfileDetail, TuningProfileSummary, UpdateRoomRequest, UpdateSavedPresetRequest, UpdateSavedPresetResponse, UsageResponse, VerifyWebhookSignatureOptions, WaitOptions, WebhookConfig, WebhookDeliveryDetailResponse, XbergClientOptions, XbergErrorOptions, XbergRawClient, components as backendComponents, paths as backendPaths, components$1 as components, paths$1 as paths, components$2 as proComponents, paths$2 as proPaths };
53811
+ export type { AcceptedRoomInvitationResponse, AddRoomItemRequest, AddRoomMemberRequest, ApiKeyResponse, ApiKeyScope, AuditParams, AuthConfigResponse, AutoTuneCapabilitiesResponse, AutoTuneJobStatus, AutoTuneJobSummary, AutoTuneResult, BackendAcceptInvitationRequest, BackendAnalyticsResponse, BackendAssignProjectRoleRequest, BackendAuditParams, BackendAuthConfigResponse, BackendBeginConnectResponse, BackendBillingResponse, BackendCheckoutResponse, BackendCreateApiKeyRequest, BackendCreateApiKeyResponse, BackendCreateIntegrationRequest, BackendCreateInvitationRequest, BackendCreateInvitationResponse, BackendCreateProjectRequest, BackendCreateProjectRoleRequest, BackendCreateScimConnectionRequest, BackendCreateScimConnectionResponse, BackendCreateWebhookRequest, BackendDateRange, BackendHealthResponse, BackendIntegrationResponse, BackendIntegrationSyncResponse, BackendListApiKeysResponse, BackendListAuditEntriesResponse, BackendListDocumentsResponse, BackendListIntegrationsResponse, BackendListInvitationsResponse, BackendListMembersResponse, BackendListProjectRolesResponse, BackendListProjectsResponse, BackendListScimAdminGroupsResponse, BackendListScimConnectionsResponse, BackendListWebhookDeliveriesResponse, BackendListWebhooksResponse, BackendLoginRequest, BackendLoginResponse, BackendMemberResponse, BackendOAuthCallbackParams, BackendPortalResponse, BackendProjectResponse, BackendProjectRoleResponse, BackendRagConfigResponse, BackendReadinessResponse, BackendReplaceScimGroupRolesRequest, BackendRetryWebhookDeliveryResponse, BackendSamlDomainRequest, BackendSamlDomainResponse, BackendSamlProviderRequest, BackendSamlProviderResponse, BackendSandboxExtractParams, BackendSandboxExtractResponse, BackendSetIntegrationSyncRequest, BackendSetRagConfigRequest, BackendUpdateMemberRoleRequest, BackendUpdateProjectRequest, BackendUpdateProjectRoleRequest, BackendUpdateUserProfileRequest, BackendUpdateWebhookRequest, BackendUsageResponse, BackendUserProfileResponse, BackendWebhookDeliveryDetailResponse, BackendWebhookResponse, BackendWebhookTestResponse, BackoffStrategy, BeginOAuthResponse, ConfirmUploadRequest, ConfirmUploadResponse, CrawlCompleteEvent, CrawlDiscoveredEvent, CrawlErrorEvent, CrawlEvent, CrawlEventKind, CrawlPageEvent, CreateApiKeyRequest, CreateApiKeyResponse, CreateAutoTuneJobRequest, CreateAutoTuneJobResponse, CreateClientOptions, CreateIntegrationRequest, CreateProjectRequest, CreateRoomLinkRequest, CreateRoomRequest, CreateSavedPresetRequest, CreateSavedPresetResponse, DiffAsyncAccepted, DiffResponse, DiffResult, DocumentInput, DocumentResponse, DocumentVersionEntry, EnrichJobStatus, EnrichJobSubmitted, EnrichRequestOptions, EnrichTextRequest, EnterpriseHealthFeature, EnterpriseHealthResponse, ExtractAndWaitParams, ExtractBatchParams, ExtractParams, ExtractResponse, ExtractedDocument, ExtractionConfig, ExtractionEventSummary, ExtractionOptions, ExtractionResult, FileExtractionConfig, FileLike, GetJobResponse, GrantableRole, IntegrationResponse, Job, JobResult, JobResultError, JobScopeParams, JobStatus, LicenseInfoResponse, ListApiKeysResponse, ListAuditEntriesResponse, ListAutoTuneJobsResponse, ListDocumentsResponse, ListExtractionEventsParams, ListExtractionEventsResponse, ListIntegrationDocumentsParams, ListIntegrationsResponse, ListJobsParams, ListJobsResponse, ListManagedEmbeddingPresetsResponse, ListProjectDocumentsResponse, ListProjectsResponse, ListRoomInvitationsResponse, ListRoomItemsResponse, ListRoomLinksResponse, ListRoomMembersResponse, ListRoomsParams, ListRoomsResponse, ListSavedPresetsResponse, ListTuningProfilesResponse, ListWebhookDeliveriesResponse, LoginRequest, LoginResponse, ManagedEmbeddingPreset, PaginationParams, PresetDetail, PresetSummary, PresignUploadRequest, PresignUploadResponse, ProHealthResponse, ProIntegrationListResponse, ProUpdateProjectRequest, ProjectDocumentEntry, ProjectExtractionConfigResponse, ProjectResponse, PromoteProfileRequest, PublicRoomItemContentResponse, PublicRoomItemResponse, PublicRoomItemsResponse, PublicRoomResponse, PublicSandboxExtractParams, PublicationModeName, PublicationStateName, RagConfigResponse, RateLimitErrorOptions, ReorderRoomItemsRequest, ReorderRoomItemsResponse, RoomAcceptInvitationRequest, RoomChangeRoleRequest, RoomInvitationOptions, RoomInvitationPreviewResponse, RoomInvitationResponse, RoomInviteRequest, RoomItemContentResponse, RoomItemResponse, RoomLinkResponse, RoomListState, RoomMemberResponse, RoomPublicationResponse, RoomResponse, RoomRightsResponse, RoomTransferOwnershipRequest, SavedPresetDetail, SavedPresetSummary, SetRagConfigRequest, SetRoomPublicationRequest, StreamCrawlEventsOptions, SubmitAutoTuneParams, Target, TuningProfileDetail, TuningProfileSummary, UpdateRoomRequest, UpdateSavedPresetRequest, UpdateSavedPresetResponse, UsageResponse, VerifyWebhookSignatureOptions, WaitOptions, WebhookConfig, WebhookDeliveryDetailResponse, XbergClientOptions, XbergErrorOptions, XbergRawClient, components as backendComponents, paths as backendPaths, components$1 as components, paths$1 as paths, components$2 as proComponents, paths$2 as proPaths };
52361
53812
  //# sourceMappingURL=index.d.ts.map