@xberg-io/sdk 0.8.0 → 0.8.1
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/README.md +19 -1
- package/dist/index.d.ts +374 -28
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +51 -31
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -3999,6 +3999,14 @@ interface components$1 {
|
|
|
3999
3999
|
* Only populated when `OcrElementConfig.include_elements` is true.
|
|
4000
4000
|
*/
|
|
4001
4001
|
ocr_elements?: components$1["schemas"]["OcrElement"][] | null;
|
|
4002
|
+
/**
|
|
4003
|
+
* @description Pages whose OCR failed while extraction continued, in the order the failures were reported.
|
|
4004
|
+
*
|
|
4005
|
+
* A record with `recovered` set means the document still has content for that page
|
|
4006
|
+
* from native text or from embedded images. Xberg-produced results use `None` when
|
|
4007
|
+
* no page failed.
|
|
4008
|
+
*/
|
|
4009
|
+
ocr_page_failures?: components$1["schemas"]["OcrPageFailure"][] | null;
|
|
4002
4010
|
/**
|
|
4003
4011
|
* @description Per-page classifications produced by the page-classification post-processor.
|
|
4004
4012
|
*
|
|
@@ -5340,6 +5348,8 @@ interface components$1 {
|
|
|
5340
5348
|
* `Table`.
|
|
5341
5349
|
*/
|
|
5342
5350
|
tables: unknown[];
|
|
5351
|
+
} & {
|
|
5352
|
+
[key: string]: unknown;
|
|
5343
5353
|
};
|
|
5344
5354
|
/**
|
|
5345
5355
|
* @description A non-fatal error attached to one document within a `JobResult`.
|
|
@@ -5479,8 +5489,10 @@ interface components$1 {
|
|
|
5479
5489
|
* (1, 3) = unigrams, bigrams, and trigrams (default)
|
|
5480
5490
|
*/
|
|
5481
5491
|
ngram_range?: components$1["schemas"]["NgramRange"];
|
|
5482
|
-
|
|
5483
|
-
|
|
5492
|
+
/** @description RAKE-specific tuning parameters. */
|
|
5493
|
+
rake_params?: components$1["schemas"]["RakeParams"];
|
|
5494
|
+
/** @description YAKE-specific tuning parameters. */
|
|
5495
|
+
yake_params?: components$1["schemas"]["YakeParams"];
|
|
5484
5496
|
};
|
|
5485
5497
|
/**
|
|
5486
5498
|
* @description Structured per-language detection result: confidence, document share, and script —
|
|
@@ -6405,6 +6417,8 @@ interface components$1 {
|
|
|
6405
6417
|
language?: string | null;
|
|
6406
6418
|
/** @description OCR output format override */
|
|
6407
6419
|
output_format?: string | null;
|
|
6420
|
+
/** @description PaddleOCR model and inference configuration. */
|
|
6421
|
+
paddle_ocr_settings?: Record<string, unknown>;
|
|
6408
6422
|
/** @description Multi-backend OCR pipeline with quality-based fallback */
|
|
6409
6423
|
pipeline?: components$1["schemas"]["OcrPipelineConfig"];
|
|
6410
6424
|
/**
|
|
@@ -6524,6 +6538,26 @@ interface components$1 {
|
|
|
6524
6538
|
*/
|
|
6525
6539
|
table_rows?: number | null;
|
|
6526
6540
|
};
|
|
6541
|
+
/**
|
|
6542
|
+
* @description A page whose OCR failed while extraction of the document continued.
|
|
6543
|
+
*
|
|
6544
|
+
* The warning in `ExtractedDocument::processing_warnings` stays available. One warning
|
|
6545
|
+
* can cover several pages: when an automatic OCR run of selected pages fails as a whole,
|
|
6546
|
+
* it adds one warning and one record for each selected page. A failure of the OCR fallback
|
|
6547
|
+
* for the whole document adds a warning and no record. Repeated failures on one page make
|
|
6548
|
+
* one record.
|
|
6549
|
+
*/
|
|
6550
|
+
OcrPageFailure: {
|
|
6551
|
+
/** @description OCR backend error text. */
|
|
6552
|
+
error: string;
|
|
6553
|
+
/**
|
|
6554
|
+
* Format: int32
|
|
6555
|
+
* @description One-based page number in the source document.
|
|
6556
|
+
*/
|
|
6557
|
+
page: number;
|
|
6558
|
+
/** @description Whether content for this page was retained or recovered through another route. */
|
|
6559
|
+
recovered: boolean;
|
|
6560
|
+
};
|
|
6527
6561
|
/** @description Multi-backend OCR pipeline with quality-based fallback. */
|
|
6528
6562
|
OcrPipelineConfig: {
|
|
6529
6563
|
/** @description Quality evaluation thresholds for fallback decisions */
|
|
@@ -6703,6 +6737,8 @@ interface components$1 {
|
|
|
6703
6737
|
extract_pages?: boolean | null;
|
|
6704
6738
|
/** @description Insert page markers in content text. Omit to keep the library default. */
|
|
6705
6739
|
insert_page_markers?: boolean | null;
|
|
6740
|
+
/** @description Retain a PDF page's native text when OCR replaces its content. Omit to keep the library default. */
|
|
6741
|
+
keep_native_content?: boolean;
|
|
6706
6742
|
/** @description Page marker format template (e.g., "\n\n<!-- PAGE {page_num} -->\n\n") */
|
|
6707
6743
|
marker_format?: string | null;
|
|
6708
6744
|
};
|
|
@@ -6755,6 +6791,13 @@ interface components$1 {
|
|
|
6755
6791
|
* and area fraction. Only populated when layout detection is configured.
|
|
6756
6792
|
*/
|
|
6757
6793
|
layout_regions?: components$1["schemas"]["LayoutRegion"][] | null;
|
|
6794
|
+
/**
|
|
6795
|
+
* @description Text layer of this page, kept when OCR output replaced it in `content`.
|
|
6796
|
+
*
|
|
6797
|
+
* Set only when `PageConfig::keep_native_content` is on, an OCR route replaced this page's `content`, and the
|
|
6798
|
+
* text layer is not blank and differs from the OCR text. `None` on every other page. PDF only.
|
|
6799
|
+
*/
|
|
6800
|
+
native_content?: string | null;
|
|
6758
6801
|
/** @description Aggregate OCR confidence for this page. `None` when the page was not OCR'd. */
|
|
6759
6802
|
ocr_confidence?: components$1["schemas"]["PageOcrConfidence"];
|
|
6760
6803
|
/**
|
|
@@ -8356,8 +8399,13 @@ interface components$1 {
|
|
|
8356
8399
|
* @default markdown
|
|
8357
8400
|
*/
|
|
8358
8401
|
output_format: string;
|
|
8359
|
-
/**
|
|
8360
|
-
|
|
8402
|
+
/**
|
|
8403
|
+
* @description Image preprocessing configuration.
|
|
8404
|
+
*
|
|
8405
|
+
* Controls how images are preprocessed before OCR. Can significantly
|
|
8406
|
+
* improve quality for scanned documents or low-quality images.
|
|
8407
|
+
*/
|
|
8408
|
+
preprocessing?: components$1["schemas"]["ImagePreprocessingConfig"];
|
|
8361
8409
|
/**
|
|
8362
8410
|
* Format: int32
|
|
8363
8411
|
* @description Page Segmentation Mode (1-13).
|
|
@@ -9050,7 +9098,7 @@ interface operations$2 {
|
|
|
9050
9098
|
* @description Filter to entries matching a known audit action exactly (e.g. `"job.submit"`).
|
|
9051
9099
|
* Unknown actions are rejected with a 400 response.
|
|
9052
9100
|
*/
|
|
9053
|
-
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" | "webhook.create" | "webhook.delete" | "preset.create" | "preset.update" | "preset.delete" | "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";
|
|
9101
|
+
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" | "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";
|
|
9054
9102
|
/** @description Page size. Values outside 1..=100 are rejected. */
|
|
9055
9103
|
limit?: number;
|
|
9056
9104
|
/** @description Number of items to skip. Values outside 0..=1,000,000 are rejected. */
|
|
@@ -15412,6 +15460,30 @@ interface paths$2 {
|
|
|
15412
15460
|
patch?: never;
|
|
15413
15461
|
trace?: never;
|
|
15414
15462
|
};
|
|
15463
|
+
"/v1/projects/{project_id}/integrations/{iid}/sync": {
|
|
15464
|
+
parameters: {
|
|
15465
|
+
query?: never;
|
|
15466
|
+
header?: never;
|
|
15467
|
+
path?: never;
|
|
15468
|
+
cookie?: never;
|
|
15469
|
+
};
|
|
15470
|
+
/**
|
|
15471
|
+
* Report the durable synchronization state for one source integration.
|
|
15472
|
+
* @description Requires project access and returns the persisted per-integration opt-in state.
|
|
15473
|
+
*/
|
|
15474
|
+
get: operations$1["get_integration_sync"];
|
|
15475
|
+
/**
|
|
15476
|
+
* Enable or disable durable synchronization for one source integration.
|
|
15477
|
+
* @description Requires project access and preserves the choice across scheduler restarts.
|
|
15478
|
+
*/
|
|
15479
|
+
put: operations$1["set_integration_sync"];
|
|
15480
|
+
post?: never;
|
|
15481
|
+
delete?: never;
|
|
15482
|
+
options?: never;
|
|
15483
|
+
head?: never;
|
|
15484
|
+
patch?: never;
|
|
15485
|
+
trace?: never;
|
|
15486
|
+
};
|
|
15415
15487
|
"/v1/projects/{project_id}/rag-config": {
|
|
15416
15488
|
parameters: {
|
|
15417
15489
|
query?: never;
|
|
@@ -16092,6 +16164,7 @@ interface components$2 {
|
|
|
16092
16164
|
* a "Sign in with Google" button.
|
|
16093
16165
|
*/
|
|
16094
16166
|
oidc: components$2["schemas"]["OidcInfo"];
|
|
16167
|
+
saml?: components$2["schemas"]["SamlInfo"] | null;
|
|
16095
16168
|
};
|
|
16096
16169
|
/**
|
|
16097
16170
|
* @description Authentication policy advertised by the instance.
|
|
@@ -17395,9 +17468,15 @@ interface components$2 {
|
|
|
17395
17468
|
*/
|
|
17396
17469
|
CreateIntegrationRequest: {
|
|
17397
17470
|
auth_type: string;
|
|
17398
|
-
/**
|
|
17471
|
+
/**
|
|
17472
|
+
* @description Additional configuration. Dropbox accepts an optional absolute `path`; SharePoint requires `site_id`.
|
|
17473
|
+
* Object stores require `bucket`; S3 also requires `region`; all accept an optional `root`.
|
|
17474
|
+
*/
|
|
17399
17475
|
config?: Record<string, unknown>;
|
|
17400
|
-
/**
|
|
17476
|
+
/**
|
|
17477
|
+
* @description BYO credentials. Dropbox and Microsoft Graph OAuth accept `client_id` and `client_secret`.
|
|
17478
|
+
* Object-store fields are documented on the shared request schema.
|
|
17479
|
+
*/
|
|
17401
17480
|
credentials: Record<string, unknown>;
|
|
17402
17481
|
kind: string;
|
|
17403
17482
|
name: string;
|
|
@@ -18638,6 +18717,14 @@ interface components$2 {
|
|
|
18638
18717
|
* Only populated when `OcrElementConfig.include_elements` is true.
|
|
18639
18718
|
*/
|
|
18640
18719
|
ocr_elements?: components$2["schemas"]["OcrElement"][] | null;
|
|
18720
|
+
/**
|
|
18721
|
+
* @description Pages whose OCR failed while extraction continued, in the order the failures were reported.
|
|
18722
|
+
*
|
|
18723
|
+
* A record with `recovered` set means the document still has content for that page
|
|
18724
|
+
* from native text or from embedded images. Xberg-produced results use `None` when
|
|
18725
|
+
* no page failed.
|
|
18726
|
+
*/
|
|
18727
|
+
ocr_page_failures?: components$2["schemas"]["OcrPageFailure"][] | null;
|
|
18641
18728
|
/**
|
|
18642
18729
|
* @description Per-page classifications produced by the page-classification post-processor.
|
|
18643
18730
|
*
|
|
@@ -19666,6 +19753,11 @@ interface components$2 {
|
|
|
19666
19753
|
/** @description Provider name. */
|
|
19667
19754
|
provider: string;
|
|
19668
19755
|
};
|
|
19756
|
+
IntegrationSyncResponse: {
|
|
19757
|
+
enabled: boolean;
|
|
19758
|
+
/** Format: int32 */
|
|
19759
|
+
interval_seconds: number;
|
|
19760
|
+
};
|
|
19669
19761
|
/** @description JATS (Journal Article Tag Suite) metadata. */
|
|
19670
19762
|
JatsMetadata: {
|
|
19671
19763
|
/** @description Authors and contributors with their stated roles. */
|
|
@@ -19806,6 +19898,8 @@ interface components$2 {
|
|
|
19806
19898
|
* `Table`.
|
|
19807
19899
|
*/
|
|
19808
19900
|
tables: unknown[];
|
|
19901
|
+
} & {
|
|
19902
|
+
[key: string]: unknown;
|
|
19809
19903
|
};
|
|
19810
19904
|
/**
|
|
19811
19905
|
* @description A non-fatal error attached to one document within a `JobResult`.
|
|
@@ -19934,8 +20028,10 @@ interface components$2 {
|
|
|
19934
20028
|
* (1, 3) = unigrams, bigrams, and trigrams (default)
|
|
19935
20029
|
*/
|
|
19936
20030
|
ngram_range?: components$2["schemas"]["NgramRange"];
|
|
19937
|
-
|
|
19938
|
-
|
|
20031
|
+
/** @description RAKE-specific tuning parameters. */
|
|
20032
|
+
rake_params?: components$2["schemas"]["RakeParams"];
|
|
20033
|
+
/** @description YAKE-specific tuning parameters. */
|
|
20034
|
+
yake_params?: components$2["schemas"]["YakeParams"];
|
|
19939
20035
|
};
|
|
19940
20036
|
/**
|
|
19941
20037
|
* @description Structured per-language detection result: confidence, document share, and script —
|
|
@@ -20927,6 +21023,8 @@ interface components$2 {
|
|
|
20927
21023
|
language?: string | null;
|
|
20928
21024
|
/** @description OCR output format override */
|
|
20929
21025
|
output_format?: string | null;
|
|
21026
|
+
/** @description PaddleOCR model and inference configuration. */
|
|
21027
|
+
paddle_ocr_settings?: Record<string, unknown>;
|
|
20930
21028
|
/** @description Multi-backend OCR pipeline with quality-based fallback */
|
|
20931
21029
|
pipeline?: components$2["schemas"]["OcrPipelineConfig"];
|
|
20932
21030
|
/**
|
|
@@ -21046,6 +21144,26 @@ interface components$2 {
|
|
|
21046
21144
|
*/
|
|
21047
21145
|
table_rows?: number | null;
|
|
21048
21146
|
};
|
|
21147
|
+
/**
|
|
21148
|
+
* @description A page whose OCR failed while extraction of the document continued.
|
|
21149
|
+
*
|
|
21150
|
+
* The warning in `ExtractedDocument::processing_warnings` stays available. One warning
|
|
21151
|
+
* can cover several pages: when an automatic OCR run of selected pages fails as a whole,
|
|
21152
|
+
* it adds one warning and one record for each selected page. A failure of the OCR fallback
|
|
21153
|
+
* for the whole document adds a warning and no record. Repeated failures on one page make
|
|
21154
|
+
* one record.
|
|
21155
|
+
*/
|
|
21156
|
+
OcrPageFailure: {
|
|
21157
|
+
/** @description OCR backend error text. */
|
|
21158
|
+
error: string;
|
|
21159
|
+
/**
|
|
21160
|
+
* Format: int32
|
|
21161
|
+
* @description One-based page number in the source document.
|
|
21162
|
+
*/
|
|
21163
|
+
page: number;
|
|
21164
|
+
/** @description Whether content for this page was retained or recovered through another route. */
|
|
21165
|
+
recovered: boolean;
|
|
21166
|
+
};
|
|
21049
21167
|
/** @description Multi-backend OCR pipeline with quality-based fallback. */
|
|
21050
21168
|
OcrPipelineConfig: {
|
|
21051
21169
|
/** @description Quality evaluation thresholds for fallback decisions */
|
|
@@ -21238,6 +21356,8 @@ interface components$2 {
|
|
|
21238
21356
|
extract_pages?: boolean | null;
|
|
21239
21357
|
/** @description Insert page markers in content text. Omit to keep the library default. */
|
|
21240
21358
|
insert_page_markers?: boolean | null;
|
|
21359
|
+
/** @description Retain a PDF page's native text when OCR replaces its content. Omit to keep the library default. */
|
|
21360
|
+
keep_native_content?: boolean;
|
|
21241
21361
|
/** @description Page marker format template (e.g., "\n\n<!-- PAGE {page_num} -->\n\n") */
|
|
21242
21362
|
marker_format?: string | null;
|
|
21243
21363
|
};
|
|
@@ -21290,6 +21410,13 @@ interface components$2 {
|
|
|
21290
21410
|
* and area fraction. Only populated when layout detection is configured.
|
|
21291
21411
|
*/
|
|
21292
21412
|
layout_regions?: components$2["schemas"]["LayoutRegion"][] | null;
|
|
21413
|
+
/**
|
|
21414
|
+
* @description Text layer of this page, kept when OCR output replaced it in `content`.
|
|
21415
|
+
*
|
|
21416
|
+
* Set only when `PageConfig::keep_native_content` is on, an OCR route replaced this page's `content`, and the
|
|
21417
|
+
* text layer is not blank and differs from the OCR text. `None` on every other page. PDF only.
|
|
21418
|
+
*/
|
|
21419
|
+
native_content?: string | null;
|
|
21293
21420
|
/** @description Aggregate OCR confidence for this page. `None` when the page was not OCR'd. */
|
|
21294
21421
|
ocr_confidence?: components$2["schemas"]["PageOcrConfidence"];
|
|
21295
21422
|
/**
|
|
@@ -22507,6 +22634,12 @@ interface components$2 {
|
|
|
22507
22634
|
/** @enum {string} */
|
|
22508
22635
|
status: "global_only";
|
|
22509
22636
|
};
|
|
22637
|
+
/** @description SAML login configuration visible before authentication. */
|
|
22638
|
+
SamlInfo: {
|
|
22639
|
+
enabled: boolean;
|
|
22640
|
+
label: string;
|
|
22641
|
+
login_url: string;
|
|
22642
|
+
};
|
|
22510
22643
|
/** @description Response when retrieving a saved preset. */
|
|
22511
22644
|
SavedPresetDetail: {
|
|
22512
22645
|
/** @description Optional context template. */
|
|
@@ -22618,6 +22751,9 @@ interface components$2 {
|
|
|
22618
22751
|
*/
|
|
22619
22752
|
rerank_fallback?: string | null;
|
|
22620
22753
|
};
|
|
22754
|
+
SetIntegrationSyncRequest: {
|
|
22755
|
+
enabled: boolean;
|
|
22756
|
+
};
|
|
22621
22757
|
/** @description Request to set a project's RAG configuration (`PUT .../rag-config`). */
|
|
22622
22758
|
SetRagConfigRequest: {
|
|
22623
22759
|
/** @description Default vector collection for RAG operations. */
|
|
@@ -22887,8 +23023,13 @@ interface components$2 {
|
|
|
22887
23023
|
* @default markdown
|
|
22888
23024
|
*/
|
|
22889
23025
|
output_format: string;
|
|
22890
|
-
/**
|
|
22891
|
-
|
|
23026
|
+
/**
|
|
23027
|
+
* @description Image preprocessing configuration.
|
|
23028
|
+
*
|
|
23029
|
+
* Controls how images are preprocessed before OCR. Can significantly
|
|
23030
|
+
* improve quality for scanned documents or low-quality images.
|
|
23031
|
+
*/
|
|
23032
|
+
preprocessing?: components$2["schemas"]["ImagePreprocessingConfig"];
|
|
22892
23033
|
/**
|
|
22893
23034
|
* Format: int32
|
|
22894
23035
|
* @description Page Segmentation Mode (1-13).
|
|
@@ -27383,6 +27524,178 @@ interface operations$1 {
|
|
|
27383
27524
|
};
|
|
27384
27525
|
};
|
|
27385
27526
|
};
|
|
27527
|
+
get_integration_sync: {
|
|
27528
|
+
parameters: {
|
|
27529
|
+
query?: never;
|
|
27530
|
+
header?: never;
|
|
27531
|
+
path: {
|
|
27532
|
+
project_id: string;
|
|
27533
|
+
iid: string;
|
|
27534
|
+
};
|
|
27535
|
+
cookie?: never;
|
|
27536
|
+
};
|
|
27537
|
+
requestBody?: never;
|
|
27538
|
+
responses: {
|
|
27539
|
+
/** @description Synchronization preference */
|
|
27540
|
+
200: {
|
|
27541
|
+
headers: {
|
|
27542
|
+
[name: string]: unknown;
|
|
27543
|
+
};
|
|
27544
|
+
content: {
|
|
27545
|
+
"application/json": components$2["schemas"]["IntegrationSyncResponse"];
|
|
27546
|
+
};
|
|
27547
|
+
};
|
|
27548
|
+
/** @description The request is malformed: a path parameter, a query parameter or the body did not parse */
|
|
27549
|
+
400: {
|
|
27550
|
+
headers: {
|
|
27551
|
+
[name: string]: unknown;
|
|
27552
|
+
};
|
|
27553
|
+
content: {
|
|
27554
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27555
|
+
};
|
|
27556
|
+
};
|
|
27557
|
+
/** @description Authentication required */
|
|
27558
|
+
401: {
|
|
27559
|
+
headers: {
|
|
27560
|
+
[name: string]: unknown;
|
|
27561
|
+
};
|
|
27562
|
+
content: {
|
|
27563
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27564
|
+
};
|
|
27565
|
+
};
|
|
27566
|
+
/** @description Integration not found */
|
|
27567
|
+
404: {
|
|
27568
|
+
headers: {
|
|
27569
|
+
[name: string]: unknown;
|
|
27570
|
+
};
|
|
27571
|
+
content: {
|
|
27572
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27573
|
+
};
|
|
27574
|
+
};
|
|
27575
|
+
/** @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. */
|
|
27576
|
+
429: {
|
|
27577
|
+
headers: {
|
|
27578
|
+
/** @description Seconds until this request may be retried. */
|
|
27579
|
+
"Retry-After"?: number;
|
|
27580
|
+
/** @description Seconds until the rate-limit bucket admits another request. */
|
|
27581
|
+
"x-ratelimit-after"?: number;
|
|
27582
|
+
/** @description Maximum requests allowed in the current rate-limit burst. */
|
|
27583
|
+
"x-ratelimit-limit"?: number;
|
|
27584
|
+
/** @description Requests remaining in the current rate-limit burst. */
|
|
27585
|
+
"x-ratelimit-remaining"?: number;
|
|
27586
|
+
[name: string]: unknown;
|
|
27587
|
+
};
|
|
27588
|
+
content: {
|
|
27589
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27590
|
+
};
|
|
27591
|
+
};
|
|
27592
|
+
/** @description Session authentication is temporarily unavailable */
|
|
27593
|
+
503: {
|
|
27594
|
+
headers: {
|
|
27595
|
+
[name: string]: unknown;
|
|
27596
|
+
};
|
|
27597
|
+
content: {
|
|
27598
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27599
|
+
};
|
|
27600
|
+
};
|
|
27601
|
+
};
|
|
27602
|
+
};
|
|
27603
|
+
set_integration_sync: {
|
|
27604
|
+
parameters: {
|
|
27605
|
+
query?: never;
|
|
27606
|
+
header?: never;
|
|
27607
|
+
path: {
|
|
27608
|
+
project_id: string;
|
|
27609
|
+
iid: string;
|
|
27610
|
+
};
|
|
27611
|
+
cookie?: never;
|
|
27612
|
+
};
|
|
27613
|
+
requestBody: {
|
|
27614
|
+
content: {
|
|
27615
|
+
"application/json": components$2["schemas"]["SetIntegrationSyncRequest"];
|
|
27616
|
+
};
|
|
27617
|
+
};
|
|
27618
|
+
responses: {
|
|
27619
|
+
/** @description Synchronization preference updated */
|
|
27620
|
+
204: {
|
|
27621
|
+
headers: {
|
|
27622
|
+
[name: string]: unknown;
|
|
27623
|
+
};
|
|
27624
|
+
content?: never;
|
|
27625
|
+
};
|
|
27626
|
+
/** @description Integration kind does not support durable synchronization */
|
|
27627
|
+
400: {
|
|
27628
|
+
headers: {
|
|
27629
|
+
[name: string]: unknown;
|
|
27630
|
+
};
|
|
27631
|
+
content: {
|
|
27632
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27633
|
+
};
|
|
27634
|
+
};
|
|
27635
|
+
/** @description Authentication required */
|
|
27636
|
+
401: {
|
|
27637
|
+
headers: {
|
|
27638
|
+
[name: string]: unknown;
|
|
27639
|
+
};
|
|
27640
|
+
content: {
|
|
27641
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27642
|
+
};
|
|
27643
|
+
};
|
|
27644
|
+
/** @description Integration not found */
|
|
27645
|
+
404: {
|
|
27646
|
+
headers: {
|
|
27647
|
+
[name: string]: unknown;
|
|
27648
|
+
};
|
|
27649
|
+
content: {
|
|
27650
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27651
|
+
};
|
|
27652
|
+
};
|
|
27653
|
+
/** @description The request body is larger than this deployment accepts */
|
|
27654
|
+
413: {
|
|
27655
|
+
headers: {
|
|
27656
|
+
[name: string]: unknown;
|
|
27657
|
+
};
|
|
27658
|
+
content: {
|
|
27659
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27660
|
+
};
|
|
27661
|
+
};
|
|
27662
|
+
/** @description The request body was not sent with Content-Type: application/json */
|
|
27663
|
+
415: {
|
|
27664
|
+
headers: {
|
|
27665
|
+
[name: string]: unknown;
|
|
27666
|
+
};
|
|
27667
|
+
content: {
|
|
27668
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27669
|
+
};
|
|
27670
|
+
};
|
|
27671
|
+
/** @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. */
|
|
27672
|
+
429: {
|
|
27673
|
+
headers: {
|
|
27674
|
+
/** @description Seconds until this request may be retried. */
|
|
27675
|
+
"Retry-After"?: number;
|
|
27676
|
+
/** @description Seconds until the rate-limit bucket admits another request. */
|
|
27677
|
+
"x-ratelimit-after"?: number;
|
|
27678
|
+
/** @description Maximum requests allowed in the current rate-limit burst. */
|
|
27679
|
+
"x-ratelimit-limit"?: number;
|
|
27680
|
+
/** @description Requests remaining in the current rate-limit burst. */
|
|
27681
|
+
"x-ratelimit-remaining"?: number;
|
|
27682
|
+
[name: string]: unknown;
|
|
27683
|
+
};
|
|
27684
|
+
content: {
|
|
27685
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27686
|
+
};
|
|
27687
|
+
};
|
|
27688
|
+
/** @description Session authentication is temporarily unavailable */
|
|
27689
|
+
503: {
|
|
27690
|
+
headers: {
|
|
27691
|
+
[name: string]: unknown;
|
|
27692
|
+
};
|
|
27693
|
+
content: {
|
|
27694
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
27695
|
+
};
|
|
27696
|
+
};
|
|
27697
|
+
};
|
|
27698
|
+
};
|
|
27386
27699
|
get_rag_config: {
|
|
27387
27700
|
parameters: {
|
|
27388
27701
|
query?: never;
|
|
@@ -29907,7 +30220,10 @@ interface operations$1 {
|
|
|
29907
30220
|
confirm_upload: {
|
|
29908
30221
|
parameters: {
|
|
29909
30222
|
query?: never;
|
|
29910
|
-
header?:
|
|
30223
|
+
header?: {
|
|
30224
|
+
/** @description Optional selected project UUID. Defaults to the authenticated or local workspace project. Human membership and existing endpoint permissions are required; project API keys cannot select another project. */
|
|
30225
|
+
"X-Project-ID"?: string;
|
|
30226
|
+
};
|
|
29911
30227
|
path?: never;
|
|
29912
30228
|
cookie?: never;
|
|
29913
30229
|
};
|
|
@@ -29926,7 +30242,7 @@ interface operations$1 {
|
|
|
29926
30242
|
"application/json": components$2["schemas"]["ConfirmUploadResponse"];
|
|
29927
30243
|
};
|
|
29928
30244
|
};
|
|
29929
|
-
/** @description Invalid request */
|
|
30245
|
+
/** @description Invalid request; X-Project-ID must be a UUID */
|
|
29930
30246
|
400: {
|
|
29931
30247
|
headers: {
|
|
29932
30248
|
[name: string]: unknown;
|
|
@@ -30090,7 +30406,10 @@ interface operations$1 {
|
|
|
30090
30406
|
presign_upload: {
|
|
30091
30407
|
parameters: {
|
|
30092
30408
|
query?: never;
|
|
30093
|
-
header?:
|
|
30409
|
+
header?: {
|
|
30410
|
+
/** @description Optional selected project UUID. Defaults to the authenticated or local workspace project. Human membership and existing endpoint permissions are required; project API keys cannot select another project. */
|
|
30411
|
+
"X-Project-ID"?: string;
|
|
30412
|
+
};
|
|
30094
30413
|
path?: never;
|
|
30095
30414
|
cookie?: never;
|
|
30096
30415
|
};
|
|
@@ -30109,7 +30428,7 @@ interface operations$1 {
|
|
|
30109
30428
|
"application/json": components$2["schemas"]["PresignUploadResponse"];
|
|
30110
30429
|
};
|
|
30111
30430
|
};
|
|
30112
|
-
/** @description Invalid request */
|
|
30431
|
+
/** @description Invalid request; X-Project-ID must be a UUID */
|
|
30113
30432
|
400: {
|
|
30114
30433
|
headers: {
|
|
30115
30434
|
[name: string]: unknown;
|
|
@@ -30136,6 +30455,15 @@ interface operations$1 {
|
|
|
30136
30455
|
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
30137
30456
|
};
|
|
30138
30457
|
};
|
|
30458
|
+
/** @description Selected project not found or unavailable to the caller */
|
|
30459
|
+
404: {
|
|
30460
|
+
headers: {
|
|
30461
|
+
[name: string]: unknown;
|
|
30462
|
+
};
|
|
30463
|
+
content: {
|
|
30464
|
+
"application/json": components$2["schemas"]["ErrorResponse"];
|
|
30465
|
+
};
|
|
30466
|
+
};
|
|
30139
30467
|
/** @description The request body is larger than this deployment accepts */
|
|
30140
30468
|
413: {
|
|
30141
30469
|
headers: {
|
|
@@ -40248,6 +40576,7 @@ type LoginResponse = components$2["schemas"]["LoginResponse"];
|
|
|
40248
40576
|
type SetRagConfigRequest = components$2["schemas"]["SetRagConfigRequest"];
|
|
40249
40577
|
type RagConfigResponse = components$2["schemas"]["RagConfigResponse"];
|
|
40250
40578
|
/** Licensee, plan, expiry and grace window of the running Pro instance. */
|
|
40579
|
+
type ProHealthResponse = components$2["schemas"]["HealthResponse"];
|
|
40251
40580
|
type LicenseInfoResponse = components$2["schemas"]["LicenseInfoResponse"];
|
|
40252
40581
|
type ListProjectsResponse = components$2["schemas"]["ListProjectsResponse"];
|
|
40253
40582
|
type CreateProjectRequest = components$2["schemas"]["CreateProjectRequest"];
|
|
@@ -40257,8 +40586,11 @@ type ApiKeyScope = components$2["schemas"]["ApiKeyScope"];
|
|
|
40257
40586
|
type ListApiKeysResponse = components$2["schemas"]["ListApiKeysResponse"];
|
|
40258
40587
|
type CreateApiKeyRequest = components$2["schemas"]["CreateApiKeyRequest"];
|
|
40259
40588
|
type CreateApiKeyResponse = components$2["schemas"]["CreateApiKeyResponse"];
|
|
40260
|
-
type
|
|
40589
|
+
type ProIntegrationListResponse = components$2["schemas"]["ProIntegrationListResponse"];
|
|
40590
|
+
type ListIntegrationsResponse = ProIntegrationListResponse;
|
|
40261
40591
|
type CreateIntegrationRequest = components$2["schemas"]["CreateIntegrationRequest"];
|
|
40592
|
+
type IntegrationSyncResponse = components$2["schemas"]["IntegrationSyncResponse"];
|
|
40593
|
+
type SetIntegrationSyncRequest = components$2["schemas"]["SetIntegrationSyncRequest"];
|
|
40262
40594
|
type IntegrationResponse = components$2["schemas"]["IntegrationResponse"];
|
|
40263
40595
|
type BeginOAuthResponse = components$2["schemas"]["BeginOAuthResponse"];
|
|
40264
40596
|
type ListDocumentsResponse = components$2["schemas"]["ListDocumentsResponse"];
|
|
@@ -40345,7 +40677,11 @@ interface XbergClientOptions {
|
|
|
40345
40677
|
/** Sleep helper, swappable in tests. Defaults to `setTimeout`. */
|
|
40346
40678
|
sleep?: (ms: number) => Promise<void>;
|
|
40347
40679
|
}
|
|
40348
|
-
interface
|
|
40680
|
+
interface JobScopeParams {
|
|
40681
|
+
/** ~keep Pro only: select a visible project instead of the credential's default project. */
|
|
40682
|
+
projectId?: string;
|
|
40683
|
+
}
|
|
40684
|
+
interface ExtractParams extends JobScopeParams {
|
|
40349
40685
|
/** Enterprise document lineage UUID; omitted for a new document. */
|
|
40350
40686
|
documentId?: string;
|
|
40351
40687
|
file: FileLike;
|
|
@@ -40358,7 +40694,7 @@ interface ExtractParams {
|
|
|
40358
40694
|
*/
|
|
40359
40695
|
config?: FileExtractionConfig;
|
|
40360
40696
|
}
|
|
40361
|
-
interface ExtractBatchParams {
|
|
40697
|
+
interface ExtractBatchParams extends JobScopeParams {
|
|
40362
40698
|
/** Enterprise lineage UUIDs aligned with files; null entries omit lineage. */
|
|
40363
40699
|
documentIds?: readonly (string | null)[];
|
|
40364
40700
|
files: readonly FileLike[];
|
|
@@ -40374,7 +40710,7 @@ interface ExtractBatchParams {
|
|
|
40374
40710
|
*/
|
|
40375
40711
|
configs?: readonly (FileExtractionConfig | null)[];
|
|
40376
40712
|
}
|
|
40377
|
-
interface WaitOptions {
|
|
40713
|
+
interface WaitOptions extends JobScopeParams {
|
|
40378
40714
|
/** Total time to wait before throwing TimeoutError. Default 5 minutes. */
|
|
40379
40715
|
timeoutMs?: number;
|
|
40380
40716
|
/** Initial poll interval. Default 1000ms. */
|
|
@@ -40383,7 +40719,7 @@ interface WaitOptions {
|
|
|
40383
40719
|
backoff?: BackoffStrategy;
|
|
40384
40720
|
}
|
|
40385
40721
|
interface ExtractAndWaitParams extends ExtractParams, WaitOptions {}
|
|
40386
|
-
interface ListJobsParams {
|
|
40722
|
+
interface ListJobsParams extends JobScopeParams {
|
|
40387
40723
|
limit?: number;
|
|
40388
40724
|
offset?: number;
|
|
40389
40725
|
}
|
|
@@ -40410,7 +40746,7 @@ interface SubmitAutoTuneParams {
|
|
|
40410
40746
|
files: readonly FileLike[];
|
|
40411
40747
|
}
|
|
40412
40748
|
/** Options accepted by `streamCrawlEvents`. */
|
|
40413
|
-
interface StreamCrawlEventsOptions {
|
|
40749
|
+
interface StreamCrawlEventsOptions extends JobScopeParams {
|
|
40414
40750
|
/**
|
|
40415
40751
|
* Aborts the stream from outside the loop. Breaking out of the `for await`
|
|
40416
40752
|
* already closes the response body, so this is only needed to hang up from
|
|
@@ -40593,7 +40929,7 @@ export declare class XbergClient {
|
|
|
40593
40929
|
*/
|
|
40594
40930
|
extractBatch(params: ExtractBatchParams): Promise<Job[]>;
|
|
40595
40931
|
/** Fetch a tagged extraction or crawl job record (`GET /v1/jobs/{id}`). */
|
|
40596
|
-
getJob(jobId: string): Promise<GetJobResponse>;
|
|
40932
|
+
getJob(jobId: string, scope?: JobScopeParams): Promise<GetJobResponse>;
|
|
40597
40933
|
/**
|
|
40598
40934
|
* Fetch a job's stored result document (`GET /v1/jobs/{id}/result`).
|
|
40599
40935
|
*
|
|
@@ -40601,7 +40937,7 @@ export declare class XbergClient {
|
|
|
40601
40937
|
* extracted documents live in `results`. Distinct from {@link getJob}, which
|
|
40602
40938
|
* returns the job's metadata record.
|
|
40603
40939
|
*/
|
|
40604
|
-
getJobResult(jobId: string): Promise<JobResult>;
|
|
40940
|
+
getJobResult(jobId: string, scope?: JobScopeParams): Promise<JobResult>;
|
|
40605
40941
|
/** List jobs (paginated) via `GET /v1/jobs`. */
|
|
40606
40942
|
listJobs(params?: ListJobsParams): Promise<ListJobsResponse>;
|
|
40607
40943
|
/**
|
|
@@ -40609,7 +40945,7 @@ export declare class XbergClient {
|
|
|
40609
40945
|
* cancellation and a job that already reached a terminal status answer
|
|
40610
40946
|
* `204`.
|
|
40611
40947
|
*/
|
|
40612
|
-
cancelJob(jobId: string): Promise<void>;
|
|
40948
|
+
cancelJob(jobId: string, scope?: JobScopeParams): Promise<void>;
|
|
40613
40949
|
/**
|
|
40614
40950
|
* Poll {@link getJob} until the job reaches a terminal status. Throws
|
|
40615
40951
|
* {@link TimeoutError} if the wait exceeds `timeoutMs`. Throws
|
|
@@ -40723,11 +41059,11 @@ export declare class XbergClient {
|
|
|
40723
41059
|
* (`GET /v1/jobs/{job_id}/pages/{page_number}`). The response is a PNG image —
|
|
40724
41060
|
* raw bytes, not JSON. `pageNumber` is 1-indexed.
|
|
40725
41061
|
*/
|
|
40726
|
-
getJobPage(jobId: string, pageNumber: number): Promise<Uint8Array>;
|
|
41062
|
+
getJobPage(jobId: string, pageNumber: number, scope?: JobScopeParams): Promise<Uint8Array>;
|
|
40727
41063
|
/** Submit text for enrichment (`POST /v1/enrich`). */
|
|
40728
|
-
submitEnrich(body: EnrichTextRequest): Promise<EnrichJobSubmitted>;
|
|
41064
|
+
submitEnrich(body: EnrichTextRequest, scope?: JobScopeParams): Promise<EnrichJobSubmitted>;
|
|
40729
41065
|
/** Fetch an enrichment job's status (`GET /v1/enrich/{job_id}`). */
|
|
40730
|
-
getEnrichStatus(jobId: string): Promise<EnrichJobStatus>;
|
|
41066
|
+
getEnrichStatus(jobId: string, scope?: JobScopeParams): Promise<EnrichJobStatus>;
|
|
40731
41067
|
/**
|
|
40732
41068
|
* Stream a crawl job's events (`GET /v1/crawl-jobs/{crawl_job_id}/events`,
|
|
40733
41069
|
* Server-Sent Events).
|
|
@@ -40751,6 +41087,11 @@ export declare class XbergClient {
|
|
|
40751
41087
|
* subscription would redeliver every event the caller had already handled.
|
|
40752
41088
|
*/
|
|
40753
41089
|
streamCrawlEvents(crawlJobId: string, options?: StreamCrawlEventsOptions): AsyncIterable<CrawlEvent>;
|
|
41090
|
+
/**
|
|
41091
|
+
* Pro liveness and coarse license/capability state (`GET /healthz`).
|
|
41092
|
+
* Use readiness checks to assess dependencies. ~keep
|
|
41093
|
+
*/
|
|
41094
|
+
proHealthz(): Promise<ProHealthResponse>;
|
|
40754
41095
|
/** Pro only: fetch the instance's accepted auth methods (`GET /auth/config`). */
|
|
40755
41096
|
authConfig(): Promise<AuthConfigResponse>;
|
|
40756
41097
|
/** Pro only: exchange a verified OIDC ID token for a Pro session JWT (`POST /auth/login`). */
|
|
@@ -40791,6 +41132,10 @@ export declare class XbergClient {
|
|
|
40791
41132
|
createIntegration(projectId: string, body: CreateIntegrationRequest): Promise<IntegrationResponse>;
|
|
40792
41133
|
/** Pro only: fetch one integration (`GET .../integrations/{integrationId}`). */
|
|
40793
41134
|
getIntegration(projectId: string, integrationId: string): Promise<IntegrationResponse>;
|
|
41135
|
+
/** Pro only: read durable synchronization state for an integration. */
|
|
41136
|
+
getIntegrationSync(projectId: string, integrationId: string): Promise<IntegrationSyncResponse>;
|
|
41137
|
+
/** Pro only: enable or disable durable synchronization for an integration. */
|
|
41138
|
+
setIntegrationSync(projectId: string, integrationId: string, body: SetIntegrationSyncRequest): Promise<void>;
|
|
40794
41139
|
/** Pro only: delete an integration (`DELETE .../integrations/{integrationId}`). */
|
|
40795
41140
|
deleteIntegration(projectId: string, integrationId: string): Promise<void>;
|
|
40796
41141
|
/**
|
|
@@ -40860,6 +41205,7 @@ export declare class XbergClient {
|
|
|
40860
41205
|
* The previews can carry project document content.
|
|
40861
41206
|
*/
|
|
40862
41207
|
getSubscriptionDelivery(webhookId: string, deliveryId: string): Promise<WebhookDeliveryDetailResponse>;
|
|
41208
|
+
private jobScope;
|
|
40863
41209
|
/** Build `/v1/projects/{projectId}` with the id percent-encoded. */
|
|
40864
41210
|
private projectPath;
|
|
40865
41211
|
/** Build `/v1/projects/{projectId}/integrations/{integrationId}`. */
|
|
@@ -40974,5 +41320,5 @@ export declare class TimeoutError extends XbergError {
|
|
|
40974
41320
|
constructor(message: string, options: XbergErrorOptions);
|
|
40975
41321
|
}
|
|
40976
41322
|
//#endregion
|
|
40977
|
-
export type { ApiKeyResponse, ApiKeyScope, AuditParams, AuthConfigResponse, AutoTuneCapabilitiesResponse, AutoTuneJobStatus, AutoTuneJobSummary, AutoTuneResult, BackendAcceptInvitationRequest, BackendAnalyticsResponse, BackendAuditParams, BackendAuthConfigResponse, BackendBeginConnectResponse, BackendBillingResponse, BackendCheckoutResponse, BackendCreateApiKeyRequest, BackendCreateApiKeyResponse, BackendCreateIntegrationRequest, BackendCreateInvitationRequest, BackendCreateInvitationResponse, BackendCreateProjectRequest, BackendCreateWebhookRequest, BackendDateRange, BackendHealthResponse, BackendIntegrationResponse, BackendListApiKeysResponse, BackendListAuditEntriesResponse, BackendListDocumentsResponse, BackendListIntegrationsResponse, BackendListInvitationsResponse, BackendListMembersResponse, BackendListProjectsResponse, BackendListWebhookDeliveriesResponse, BackendListWebhooksResponse, BackendLoginRequest, BackendLoginResponse, BackendMemberResponse, BackendOAuthCallbackParams, BackendPortalResponse, BackendProjectResponse, BackendRagConfigResponse, BackendReadinessResponse, BackendRetryWebhookDeliveryResponse, BackendSandboxExtractParams, BackendSandboxExtractResponse, BackendSetRagConfigRequest, BackendUpdateMemberRoleRequest, BackendUpdateProjectRequest, BackendUpdateUserProfileRequest, BackendUpdateWebhookRequest, BackendUsageResponse, BackendUserProfileResponse, BackendWebhookDeliveryDetailResponse, BackendWebhookResponse, BackendWebhookTestResponse, BackoffStrategy, BeginOAuthResponse, ConfirmUploadRequest, ConfirmUploadResponse, CrawlCompleteEvent, CrawlDiscoveredEvent, CrawlErrorEvent, CrawlEvent, CrawlEventKind, CrawlPageEvent, CreateApiKeyRequest, CreateApiKeyResponse, CreateAutoTuneJobRequest, CreateAutoTuneJobResponse, CreateClientOptions, CreateIntegrationRequest, CreateProjectRequest, CreateSavedPresetRequest, CreateSavedPresetResponse, DiffAsyncAccepted, DiffResponse, DiffResult, DocumentInput, DocumentResponse, DocumentVersionEntry, EnrichJobStatus, EnrichJobSubmitted, EnrichRequestOptions, EnrichTextRequest, ExtractAndWaitParams, ExtractBatchParams, ExtractParams, ExtractResponse, ExtractedDocument, ExtractionConfig, ExtractionEventSummary, ExtractionOptions, ExtractionResult, FileExtractionConfig, FileLike, GetJobResponse, IntegrationResponse, Job, JobResult, JobResultError, JobStatus, LicenseInfoResponse, ListApiKeysResponse, ListAuditEntriesResponse, ListAutoTuneJobsResponse, ListDocumentsResponse, ListExtractionEventsParams, ListExtractionEventsResponse, ListIntegrationDocumentsParams, ListIntegrationsResponse, ListJobsParams, ListJobsResponse, ListManagedEmbeddingPresetsResponse, ListProjectsResponse, ListSavedPresetsResponse, ListTuningProfilesResponse, ListWebhookDeliveriesResponse, LoginRequest, LoginResponse, ManagedEmbeddingPreset, PaginationParams, PresetDetail, PresetSummary, PresignUploadRequest, PresignUploadResponse, ProjectResponse, PromoteProfileRequest, PublicSandboxExtractParams, RagConfigResponse, RateLimitErrorOptions, SavedPresetDetail, SavedPresetSummary, SetRagConfigRequest, StreamCrawlEventsOptions, SubmitAutoTuneParams, Target, TuningProfileDetail, TuningProfileSummary, UpdateSavedPresetRequest, UpdateSavedPresetResponse, UsageResponse, 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 };
|
|
41323
|
+
export type { ApiKeyResponse, ApiKeyScope, AuditParams, AuthConfigResponse, AutoTuneCapabilitiesResponse, AutoTuneJobStatus, AutoTuneJobSummary, AutoTuneResult, BackendAcceptInvitationRequest, BackendAnalyticsResponse, BackendAuditParams, BackendAuthConfigResponse, BackendBeginConnectResponse, BackendBillingResponse, BackendCheckoutResponse, BackendCreateApiKeyRequest, BackendCreateApiKeyResponse, BackendCreateIntegrationRequest, BackendCreateInvitationRequest, BackendCreateInvitationResponse, BackendCreateProjectRequest, BackendCreateWebhookRequest, BackendDateRange, BackendHealthResponse, BackendIntegrationResponse, BackendListApiKeysResponse, BackendListAuditEntriesResponse, BackendListDocumentsResponse, BackendListIntegrationsResponse, BackendListInvitationsResponse, BackendListMembersResponse, BackendListProjectsResponse, BackendListWebhookDeliveriesResponse, BackendListWebhooksResponse, BackendLoginRequest, BackendLoginResponse, BackendMemberResponse, BackendOAuthCallbackParams, BackendPortalResponse, BackendProjectResponse, BackendRagConfigResponse, BackendReadinessResponse, BackendRetryWebhookDeliveryResponse, BackendSandboxExtractParams, BackendSandboxExtractResponse, BackendSetRagConfigRequest, BackendUpdateMemberRoleRequest, BackendUpdateProjectRequest, BackendUpdateUserProfileRequest, BackendUpdateWebhookRequest, BackendUsageResponse, BackendUserProfileResponse, BackendWebhookDeliveryDetailResponse, BackendWebhookResponse, BackendWebhookTestResponse, BackoffStrategy, BeginOAuthResponse, ConfirmUploadRequest, ConfirmUploadResponse, CrawlCompleteEvent, CrawlDiscoveredEvent, CrawlErrorEvent, CrawlEvent, CrawlEventKind, CrawlPageEvent, CreateApiKeyRequest, CreateApiKeyResponse, CreateAutoTuneJobRequest, CreateAutoTuneJobResponse, CreateClientOptions, CreateIntegrationRequest, CreateProjectRequest, CreateSavedPresetRequest, CreateSavedPresetResponse, DiffAsyncAccepted, DiffResponse, DiffResult, DocumentInput, DocumentResponse, DocumentVersionEntry, EnrichJobStatus, EnrichJobSubmitted, EnrichRequestOptions, EnrichTextRequest, ExtractAndWaitParams, ExtractBatchParams, ExtractParams, ExtractResponse, ExtractedDocument, ExtractionConfig, ExtractionEventSummary, ExtractionOptions, ExtractionResult, FileExtractionConfig, FileLike, GetJobResponse, IntegrationResponse, Job, JobResult, JobResultError, JobScopeParams, JobStatus, LicenseInfoResponse, ListApiKeysResponse, ListAuditEntriesResponse, ListAutoTuneJobsResponse, ListDocumentsResponse, ListExtractionEventsParams, ListExtractionEventsResponse, ListIntegrationDocumentsParams, ListIntegrationsResponse, ListJobsParams, ListJobsResponse, ListManagedEmbeddingPresetsResponse, ListProjectsResponse, ListSavedPresetsResponse, ListTuningProfilesResponse, ListWebhookDeliveriesResponse, LoginRequest, LoginResponse, ManagedEmbeddingPreset, PaginationParams, PresetDetail, PresetSummary, PresignUploadRequest, PresignUploadResponse, ProHealthResponse, ProIntegrationListResponse, ProjectResponse, PromoteProfileRequest, PublicSandboxExtractParams, RagConfigResponse, RateLimitErrorOptions, SavedPresetDetail, SavedPresetSummary, SetRagConfigRequest, StreamCrawlEventsOptions, SubmitAutoTuneParams, Target, TuningProfileDetail, TuningProfileSummary, UpdateSavedPresetRequest, UpdateSavedPresetResponse, UsageResponse, 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 };
|
|
40978
41324
|
//# sourceMappingURL=index.d.ts.map
|