@llamaindex/llama-cloud 2.8.0 → 2.9.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/CHANGELOG.md +51 -0
- package/client.d.mts +11 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -8
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/batches.d.mts +24 -25
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +24 -25
- package/resources/batches.d.ts.map +1 -1
- package/resources/batches.js +1 -2
- package/resources/batches.js.map +1 -1
- package/resources/batches.mjs +1 -2
- package/resources/batches.mjs.map +1 -1
- package/resources/beta/agent-data.d.mts +94 -94
- package/resources/beta/agent-data.d.mts.map +1 -1
- package/resources/beta/agent-data.d.ts +94 -94
- package/resources/beta/agent-data.d.ts.map +1 -1
- package/resources/beta/agent-data.js +41 -41
- package/resources/beta/agent-data.js.map +1 -1
- package/resources/beta/agent-data.mjs +41 -41
- package/resources/beta/agent-data.mjs.map +1 -1
- package/resources/beta/batch/batch.d.mts +29 -29
- package/resources/beta/batch/batch.d.mts.map +1 -1
- package/resources/beta/batch/batch.d.ts +29 -29
- package/resources/beta/batch/batch.d.ts.map +1 -1
- package/resources/beta/batch/batch.js +16 -16
- package/resources/beta/batch/batch.js.map +1 -1
- package/resources/beta/batch/batch.mjs +16 -16
- package/resources/beta/batch/batch.mjs.map +1 -1
- package/resources/beta/batch/index.d.mts +1 -1
- package/resources/beta/batch/index.d.mts.map +1 -1
- package/resources/beta/batch/index.d.ts +1 -1
- package/resources/beta/batch/index.d.ts.map +1 -1
- package/resources/beta/batch/job-items.d.mts +7 -7
- package/resources/beta/batch/job-items.d.mts.map +1 -1
- package/resources/beta/batch/job-items.d.ts +7 -7
- package/resources/beta/batch/job-items.d.ts.map +1 -1
- package/resources/beta/beta.d.mts +6 -6
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +6 -6
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/chat.d.mts +39 -39
- package/resources/beta/chat.d.mts.map +1 -1
- package/resources/beta/chat.d.ts +39 -39
- package/resources/beta/chat.d.ts.map +1 -1
- package/resources/beta/chat.js +14 -14
- package/resources/beta/chat.js.map +1 -1
- package/resources/beta/chat.mjs +14 -14
- package/resources/beta/chat.mjs.map +1 -1
- package/resources/beta/directories/directories.d.mts +48 -35
- package/resources/beta/directories/directories.d.mts.map +1 -1
- package/resources/beta/directories/directories.d.ts +48 -35
- package/resources/beta/directories/directories.d.ts.map +1 -1
- package/resources/beta/directories/directories.js +30 -30
- package/resources/beta/directories/directories.js.map +1 -1
- package/resources/beta/directories/directories.mjs +30 -30
- package/resources/beta/directories/directories.mjs.map +1 -1
- package/resources/beta/directories/files.d.mts +54 -54
- package/resources/beta/directories/files.d.mts.map +1 -1
- package/resources/beta/directories/files.d.ts +54 -54
- package/resources/beta/directories/files.d.ts.map +1 -1
- package/resources/beta/directories/files.js +32 -32
- package/resources/beta/directories/files.js.map +1 -1
- package/resources/beta/directories/files.mjs +32 -32
- package/resources/beta/directories/files.mjs.map +1 -1
- package/resources/beta/directories/index.d.mts +2 -2
- package/resources/beta/directories/index.d.mts.map +1 -1
- package/resources/beta/directories/index.d.ts +2 -2
- package/resources/beta/directories/index.d.ts.map +1 -1
- package/resources/beta/index.d.mts +6 -6
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +6 -6
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/indexes.d.mts +32 -32
- package/resources/beta/indexes.d.mts.map +1 -1
- package/resources/beta/indexes.d.ts +32 -32
- package/resources/beta/indexes.d.ts.map +1 -1
- package/resources/beta/indexes.js +28 -28
- package/resources/beta/indexes.js.map +1 -1
- package/resources/beta/indexes.mjs +28 -28
- package/resources/beta/indexes.mjs.map +1 -1
- package/resources/beta/retrieval.d.mts +4 -4
- package/resources/beta/retrieval.d.mts.map +1 -1
- package/resources/beta/retrieval.d.ts +4 -4
- package/resources/beta/retrieval.d.ts.map +1 -1
- package/resources/beta/sheets.d.mts +134 -60
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +134 -60
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/beta/sheets.js +25 -52
- package/resources/beta/sheets.js.map +1 -1
- package/resources/beta/sheets.mjs +25 -52
- package/resources/beta/sheets.mjs.map +1 -1
- package/resources/beta/split.d.mts +2 -2
- package/resources/beta/split.d.mts.map +1 -1
- package/resources/beta/split.d.ts +2 -2
- package/resources/beta/split.d.ts.map +1 -1
- package/resources/classifier/jobs.d.mts +8 -2
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +8 -2
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classify.d.mts +71 -9
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts +71 -9
- package/resources/classify.d.ts.map +1 -1
- package/resources/configurations.d.mts +101 -46
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +101 -46
- package/resources/configurations.d.ts.map +1 -1
- package/resources/configurations.js +9 -9
- package/resources/configurations.js.map +1 -1
- package/resources/configurations.mjs +9 -9
- package/resources/configurations.mjs.map +1 -1
- package/resources/data-sinks.d.mts +16 -16
- package/resources/data-sinks.d.mts.map +1 -1
- package/resources/data-sinks.d.ts +16 -16
- package/resources/data-sinks.d.ts.map +1 -1
- package/resources/data-sinks.js +12 -12
- package/resources/data-sinks.js.map +1 -1
- package/resources/data-sinks.mjs +12 -12
- package/resources/data-sinks.mjs.map +1 -1
- package/resources/data-sources.d.mts +17 -17
- package/resources/data-sources.d.mts.map +1 -1
- package/resources/data-sources.d.ts +17 -17
- package/resources/data-sources.d.ts.map +1 -1
- package/resources/data-sources.js +13 -13
- package/resources/data-sources.js.map +1 -1
- package/resources/data-sources.mjs +13 -13
- package/resources/data-sources.mjs.map +1 -1
- package/resources/extract.d.mts +52 -50
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +52 -50
- package/resources/extract.d.ts.map +1 -1
- package/resources/extract.js +33 -33
- package/resources/extract.js.map +1 -1
- package/resources/extract.mjs +33 -33
- package/resources/extract.mjs.map +1 -1
- package/resources/files.d.mts +41 -41
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +41 -41
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +13 -13
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +13 -13
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +9 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/parsing.d.mts +108 -50
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +108 -50
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.js +12 -12
- package/resources/parsing.js.map +1 -1
- package/resources/parsing.mjs +12 -12
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/data-sources.d.mts +40 -30
- package/resources/pipelines/data-sources.d.mts.map +1 -1
- package/resources/pipelines/data-sources.d.ts +40 -30
- package/resources/pipelines/data-sources.d.ts.map +1 -1
- package/resources/pipelines/data-sources.js +23 -13
- package/resources/pipelines/data-sources.js.map +1 -1
- package/resources/pipelines/data-sources.mjs +23 -13
- package/resources/pipelines/data-sources.mjs.map +1 -1
- package/resources/pipelines/documents.d.mts +28 -12
- package/resources/pipelines/documents.d.mts.map +1 -1
- package/resources/pipelines/documents.d.ts +28 -12
- package/resources/pipelines/documents.d.ts.map +1 -1
- package/resources/pipelines/documents.js +30 -14
- package/resources/pipelines/documents.js.map +1 -1
- package/resources/pipelines/documents.mjs +30 -14
- package/resources/pipelines/documents.mjs.map +1 -1
- package/resources/pipelines/files.d.mts +34 -24
- package/resources/pipelines/files.d.mts.map +1 -1
- package/resources/pipelines/files.d.ts +34 -24
- package/resources/pipelines/files.d.ts.map +1 -1
- package/resources/pipelines/files.js +27 -17
- package/resources/pipelines/files.js.map +1 -1
- package/resources/pipelines/files.mjs +27 -17
- package/resources/pipelines/files.mjs.map +1 -1
- package/resources/pipelines/images.d.mts +17 -17
- package/resources/pipelines/images.d.mts.map +1 -1
- package/resources/pipelines/images.d.ts +17 -17
- package/resources/pipelines/images.d.ts.map +1 -1
- package/resources/pipelines/images.js +13 -13
- package/resources/pipelines/images.js.map +1 -1
- package/resources/pipelines/images.mjs +13 -13
- package/resources/pipelines/images.mjs.map +1 -1
- package/resources/pipelines/index.d.mts +5 -5
- package/resources/pipelines/index.d.mts.map +1 -1
- package/resources/pipelines/index.d.ts +5 -5
- package/resources/pipelines/index.d.ts.map +1 -1
- package/resources/pipelines/metadata.d.mts +4 -0
- package/resources/pipelines/metadata.d.mts.map +1 -1
- package/resources/pipelines/metadata.d.ts +4 -0
- package/resources/pipelines/metadata.d.ts.map +1 -1
- package/resources/pipelines/metadata.js +4 -0
- package/resources/pipelines/metadata.js.map +1 -1
- package/resources/pipelines/metadata.mjs +4 -0
- package/resources/pipelines/metadata.mjs.map +1 -1
- package/resources/pipelines/pipelines.d.mts +142 -126
- package/resources/pipelines/pipelines.d.mts.map +1 -1
- package/resources/pipelines/pipelines.d.ts +142 -126
- package/resources/pipelines/pipelines.d.ts.map +1 -1
- package/resources/pipelines/pipelines.js +39 -23
- package/resources/pipelines/pipelines.js.map +1 -1
- package/resources/pipelines/pipelines.mjs +39 -23
- package/resources/pipelines/pipelines.mjs.map +1 -1
- package/resources/pipelines/sync.d.mts +4 -0
- package/resources/pipelines/sync.d.mts.map +1 -1
- package/resources/pipelines/sync.d.ts +4 -0
- package/resources/pipelines/sync.d.ts.map +1 -1
- package/resources/pipelines/sync.js +4 -0
- package/resources/pipelines/sync.js.map +1 -1
- package/resources/pipelines/sync.mjs +4 -0
- package/resources/pipelines/sync.mjs.map +1 -1
- package/resources/retrievers/index.d.mts +1 -1
- package/resources/retrievers/index.d.mts.map +1 -1
- package/resources/retrievers/index.d.ts +1 -1
- package/resources/retrievers/index.d.ts.map +1 -1
- package/resources/retrievers/retrievers.d.mts +39 -39
- package/resources/retrievers/retrievers.d.mts.map +1 -1
- package/resources/retrievers/retrievers.d.ts +39 -39
- package/resources/retrievers/retrievers.d.ts.map +1 -1
- package/resources/retrievers/retrievers.js +20 -20
- package/resources/retrievers/retrievers.js.map +1 -1
- package/resources/retrievers/retrievers.mjs +20 -20
- package/resources/retrievers/retrievers.mjs.map +1 -1
- package/resources/shared.d.mts +12 -4
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +12 -4
- package/resources/shared.d.ts.map +1 -1
- package/resources/sheets.d.mts +199 -0
- package/resources/sheets.d.mts.map +1 -0
- package/resources/sheets.d.ts +199 -0
- package/resources/sheets.d.ts.map +1 -0
- package/resources/sheets.js +101 -0
- package/resources/sheets.js.map +1 -0
- package/resources/sheets.mjs +97 -0
- package/resources/sheets.mjs.map +1 -0
- package/src/client.ts +33 -12
- package/src/resources/batches.ts +24 -25
- package/src/resources/beta/agent-data.ts +131 -131
- package/src/resources/beta/batch/batch.ts +61 -50
- package/src/resources/beta/batch/index.ts +1 -1
- package/src/resources/beta/batch/job-items.ts +28 -17
- package/src/resources/beta/beta.ts +12 -12
- package/src/resources/beta/chat.ts +57 -57
- package/src/resources/beta/directories/directories.ts +80 -66
- package/src/resources/beta/directories/files.ts +73 -73
- package/src/resources/beta/directories/index.ts +5 -5
- package/src/resources/beta/index.ts +12 -12
- package/src/resources/beta/indexes.ts +53 -53
- package/src/resources/beta/retrieval.ts +4 -4
- package/src/resources/beta/sheets.ts +217 -73
- package/src/resources/beta/split.ts +2 -2
- package/src/resources/classifier/jobs.ts +9 -2
- package/src/resources/classify.ts +135 -9
- package/src/resources/configurations.ts +126 -67
- package/src/resources/data-sinks.ts +26 -26
- package/src/resources/data-sources.ts +43 -43
- package/src/resources/extract.ts +118 -94
- package/src/resources/files.ts +61 -61
- package/src/resources/index.ts +21 -12
- package/src/resources/parsing.ts +266 -203
- package/src/resources/pipelines/data-sources.ts +59 -49
- package/src/resources/pipelines/documents.ts +42 -26
- package/src/resources/pipelines/files.ts +62 -52
- package/src/resources/pipelines/images.ts +36 -36
- package/src/resources/pipelines/index.ts +10 -10
- package/src/resources/pipelines/metadata.ts +4 -0
- package/src/resources/pipelines/pipelines.ts +230 -203
- package/src/resources/pipelines/sync.ts +4 -0
- package/src/resources/retrievers/index.ts +3 -3
- package/src/resources/retrievers/retrievers.ts +64 -64
- package/src/resources/shared.ts +13 -4
- package/src/resources/sheets.ts +314 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -4,8 +4,27 @@ import { PaginatedPipelineFiles, } from "../../core/pagination.mjs";
|
|
|
4
4
|
import { buildHeaders } from "../../internal/headers.mjs";
|
|
5
5
|
import { path } from "../../internal/utils/path.mjs";
|
|
6
6
|
export class Files extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get files for a pipeline.
|
|
9
|
+
*
|
|
10
|
+
* @deprecated
|
|
11
|
+
*/
|
|
12
|
+
getStatusCounts(pipelineID, query = {}, options) {
|
|
13
|
+
return this._client.get(path `/api/v1/pipelines/${pipelineID}/files/status-counts`, { query, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Get status of a file for a pipeline.
|
|
17
|
+
*
|
|
18
|
+
* @deprecated
|
|
19
|
+
*/
|
|
20
|
+
getStatus(fileID, params, options) {
|
|
21
|
+
const { pipeline_id } = params;
|
|
22
|
+
return this._client.get(path `/api/v1/pipelines/${pipeline_id}/files/${fileID}/status`, options);
|
|
23
|
+
}
|
|
7
24
|
/**
|
|
8
25
|
* Add files to a pipeline.
|
|
26
|
+
*
|
|
27
|
+
* @deprecated
|
|
9
28
|
*/
|
|
10
29
|
create(pipelineID, params, options) {
|
|
11
30
|
const { body } = params;
|
|
@@ -13,22 +32,18 @@ export class Files extends APIResource {
|
|
|
13
32
|
}
|
|
14
33
|
/**
|
|
15
34
|
* Update a file for a pipeline.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated
|
|
16
37
|
*/
|
|
17
38
|
update(fileID, params, options) {
|
|
18
39
|
const { pipeline_id, ...body } = params;
|
|
19
40
|
return this._client.put(path `/api/v1/pipelines/${pipeline_id}/files/${fileID}`, { body, ...options });
|
|
20
41
|
}
|
|
21
42
|
/**
|
|
22
|
-
*
|
|
43
|
+
* Delete a file from a pipeline.
|
|
23
44
|
*
|
|
24
45
|
* @deprecated
|
|
25
46
|
*/
|
|
26
|
-
list(pipelineID, query = {}, options) {
|
|
27
|
-
return this._client.getAPIList(path `/api/v1/pipelines/${pipelineID}/files2`, (PaginatedPipelineFiles), { query, ...options });
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Delete a file from a pipeline.
|
|
31
|
-
*/
|
|
32
47
|
delete(fileID, params, options) {
|
|
33
48
|
const { pipeline_id } = params;
|
|
34
49
|
return this._client.delete(path `/api/v1/pipelines/${pipeline_id}/files/${fileID}`, {
|
|
@@ -37,17 +52,12 @@ export class Files extends APIResource {
|
|
|
37
52
|
});
|
|
38
53
|
}
|
|
39
54
|
/**
|
|
40
|
-
*
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
const { pipeline_id } = params;
|
|
44
|
-
return this._client.get(path `/api/v1/pipelines/${pipeline_id}/files/${fileID}/status`, options);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Get files for a pipeline.
|
|
55
|
+
* List files for a pipeline with optional filtering, sorting, and pagination.
|
|
56
|
+
*
|
|
57
|
+
* @deprecated
|
|
48
58
|
*/
|
|
49
|
-
|
|
50
|
-
return this._client.
|
|
59
|
+
list(pipelineID, query = {}, options) {
|
|
60
|
+
return this._client.getAPIList(path `/api/v1/pipelines/${pipelineID}/files2`, (PaginatedPipelineFiles), { query, ...options });
|
|
51
61
|
}
|
|
52
62
|
}
|
|
53
63
|
//# sourceMappingURL=files.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAEL,sBAAsB,GAEvB,kCAA8B;AAC/B,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC
|
|
1
|
+
{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAEL,sBAAsB,GAEvB,kCAA8B;AAC/B,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;OAIG;IACH,eAAe,CACb,UAAkB,EAClB,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,UAAU,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;;;OAIG;IACH,SAAS,CACP,MAAc,EACd,MAA2B,EAC3B,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,WAAW,UAAU,MAAM,SAAS,EAAE,OAAO,CAAC,CAAC;IAClG,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,UAAkB,EA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
|
|
4
4
|
export declare class Images extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* List metadata for all screenshots of pages from a file.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
listPageScreenshots(id: string, query?: ImageListPageScreenshotsParams | null | undefined, options?: RequestOptions): APIPromise<ImageListPageScreenshotsResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Get screenshot of a page from a file.
|
|
11
11
|
*/
|
|
12
12
|
getPageScreenshot(pageIndex: number, params: ImageGetPageScreenshotParams, options?: RequestOptions): APIPromise<unknown>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Get a specific figure from a page of a file.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
getPageFigure(figureName: string, params: ImageGetPageFigureParams, options?: RequestOptions): APIPromise<unknown>;
|
|
17
17
|
/**
|
|
18
|
-
* List metadata for all
|
|
18
|
+
* List metadata for all figures from all pages of a file.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
listPageFigures(id: string, query?: ImageListPageFiguresParams | null | undefined, options?: RequestOptions): APIPromise<ImageListPageFiguresResponse>;
|
|
21
21
|
}
|
|
22
22
|
export type ImageGetPageFigureResponse = unknown;
|
|
23
23
|
export type ImageGetPageScreenshotResponse = unknown;
|
|
@@ -79,15 +79,15 @@ export declare namespace ImageListPageScreenshotsResponse {
|
|
|
79
79
|
} | null;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
export interface
|
|
82
|
+
export interface ImageListPageScreenshotsParams {
|
|
83
|
+
organization_id?: string | null;
|
|
84
|
+
project_id?: string | null;
|
|
85
|
+
}
|
|
86
|
+
export interface ImageGetPageScreenshotParams {
|
|
83
87
|
/**
|
|
84
88
|
* Path param
|
|
85
89
|
*/
|
|
86
90
|
id: string;
|
|
87
|
-
/**
|
|
88
|
-
* Path param
|
|
89
|
-
*/
|
|
90
|
-
page_index: number;
|
|
91
91
|
/**
|
|
92
92
|
* Query param
|
|
93
93
|
*/
|
|
@@ -97,11 +97,15 @@ export interface ImageGetPageFigureParams {
|
|
|
97
97
|
*/
|
|
98
98
|
project_id?: string | null;
|
|
99
99
|
}
|
|
100
|
-
export interface
|
|
100
|
+
export interface ImageGetPageFigureParams {
|
|
101
101
|
/**
|
|
102
102
|
* Path param
|
|
103
103
|
*/
|
|
104
104
|
id: string;
|
|
105
|
+
/**
|
|
106
|
+
* Path param
|
|
107
|
+
*/
|
|
108
|
+
page_index: number;
|
|
105
109
|
/**
|
|
106
110
|
* Query param
|
|
107
111
|
*/
|
|
@@ -115,11 +119,7 @@ export interface ImageListPageFiguresParams {
|
|
|
115
119
|
organization_id?: string | null;
|
|
116
120
|
project_id?: string | null;
|
|
117
121
|
}
|
|
118
|
-
export interface ImageListPageScreenshotsParams {
|
|
119
|
-
organization_id?: string | null;
|
|
120
|
-
project_id?: string | null;
|
|
121
|
-
}
|
|
122
122
|
export declare namespace Images {
|
|
123
|
-
export { type ImageGetPageFigureResponse as ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse as ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse as ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse as ImageListPageScreenshotsResponse, type
|
|
123
|
+
export { type ImageGetPageFigureResponse as ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse as ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse as ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse as ImageListPageScreenshotsResponse, type ImageListPageScreenshotsParams as ImageListPageScreenshotsParams, type ImageGetPageScreenshotParams as ImageGetPageScreenshotParams, type ImageGetPageFigureParams as ImageGetPageFigureParams, type ImageListPageFiguresParams as ImageListPageFiguresParams, };
|
|
124
124
|
}
|
|
125
125
|
//# sourceMappingURL=images.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"images.d.mts","sourceRoot":"","sources":["../../src/resources/pipelines/images.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EA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AAC;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,0BAA0B;IACzC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -3,21 +3,21 @@ import { APIPromise } from "../../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
4
|
export declare class Images extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* List metadata for all screenshots of pages from a file.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
listPageScreenshots(id: string, query?: ImageListPageScreenshotsParams | null | undefined, options?: RequestOptions): APIPromise<ImageListPageScreenshotsResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Get screenshot of a page from a file.
|
|
11
11
|
*/
|
|
12
12
|
getPageScreenshot(pageIndex: number, params: ImageGetPageScreenshotParams, options?: RequestOptions): APIPromise<unknown>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Get a specific figure from a page of a file.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
getPageFigure(figureName: string, params: ImageGetPageFigureParams, options?: RequestOptions): APIPromise<unknown>;
|
|
17
17
|
/**
|
|
18
|
-
* List metadata for all
|
|
18
|
+
* List metadata for all figures from all pages of a file.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
listPageFigures(id: string, query?: ImageListPageFiguresParams | null | undefined, options?: RequestOptions): APIPromise<ImageListPageFiguresResponse>;
|
|
21
21
|
}
|
|
22
22
|
export type ImageGetPageFigureResponse = unknown;
|
|
23
23
|
export type ImageGetPageScreenshotResponse = unknown;
|
|
@@ -79,15 +79,15 @@ export declare namespace ImageListPageScreenshotsResponse {
|
|
|
79
79
|
} | null;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
export interface
|
|
82
|
+
export interface ImageListPageScreenshotsParams {
|
|
83
|
+
organization_id?: string | null;
|
|
84
|
+
project_id?: string | null;
|
|
85
|
+
}
|
|
86
|
+
export interface ImageGetPageScreenshotParams {
|
|
83
87
|
/**
|
|
84
88
|
* Path param
|
|
85
89
|
*/
|
|
86
90
|
id: string;
|
|
87
|
-
/**
|
|
88
|
-
* Path param
|
|
89
|
-
*/
|
|
90
|
-
page_index: number;
|
|
91
91
|
/**
|
|
92
92
|
* Query param
|
|
93
93
|
*/
|
|
@@ -97,11 +97,15 @@ export interface ImageGetPageFigureParams {
|
|
|
97
97
|
*/
|
|
98
98
|
project_id?: string | null;
|
|
99
99
|
}
|
|
100
|
-
export interface
|
|
100
|
+
export interface ImageGetPageFigureParams {
|
|
101
101
|
/**
|
|
102
102
|
* Path param
|
|
103
103
|
*/
|
|
104
104
|
id: string;
|
|
105
|
+
/**
|
|
106
|
+
* Path param
|
|
107
|
+
*/
|
|
108
|
+
page_index: number;
|
|
105
109
|
/**
|
|
106
110
|
* Query param
|
|
107
111
|
*/
|
|
@@ -115,11 +119,7 @@ export interface ImageListPageFiguresParams {
|
|
|
115
119
|
organization_id?: string | null;
|
|
116
120
|
project_id?: string | null;
|
|
117
121
|
}
|
|
118
|
-
export interface ImageListPageScreenshotsParams {
|
|
119
|
-
organization_id?: string | null;
|
|
120
|
-
project_id?: string | null;
|
|
121
|
-
}
|
|
122
122
|
export declare namespace Images {
|
|
123
|
-
export { type ImageGetPageFigureResponse as ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse as ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse as ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse as ImageListPageScreenshotsResponse, type
|
|
123
|
+
export { type ImageGetPageFigureResponse as ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse as ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse as ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse as ImageListPageScreenshotsResponse, type ImageListPageScreenshotsParams as ImageListPageScreenshotsParams, type ImageGetPageScreenshotParams as ImageGetPageScreenshotParams, type ImageGetPageFigureParams as ImageGetPageFigureParams, type ImageListPageFiguresParams as ImageListPageFiguresParams, };
|
|
124
124
|
}
|
|
125
125
|
//# sourceMappingURL=images.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../src/resources/pipelines/images.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../src/resources/pipelines/images.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,mBAAmB,CACjB,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,8BAA8B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;IAI/C;;OAEG;IACH,iBAAiB,CACf,SAAS,EAAE,M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ource_1 = require("../../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../../internal/utils/path.js");
|
|
7
7
|
class Images extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* List metadata for all screenshots of pages from a file.
|
|
10
10
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return this._client.get((0, path_1.path) `/api/v1/files/${id}/page-figures/${page_index}/${figureName}`, {
|
|
14
|
-
query,
|
|
15
|
-
...options,
|
|
16
|
-
});
|
|
11
|
+
listPageScreenshots(id, query = {}, options) {
|
|
12
|
+
return this._client.get((0, path_1.path) `/api/v1/files/${id}/page_screenshots`, { query, ...options });
|
|
17
13
|
}
|
|
18
14
|
/**
|
|
19
15
|
* Get screenshot of a page from a file.
|
|
@@ -23,16 +19,20 @@ class Images extends resource_1.APIResource {
|
|
|
23
19
|
return this._client.get((0, path_1.path) `/api/v1/files/${id}/page_screenshots/${pageIndex}`, { query, ...options });
|
|
24
20
|
}
|
|
25
21
|
/**
|
|
26
|
-
*
|
|
22
|
+
* Get a specific figure from a page of a file.
|
|
27
23
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
getPageFigure(figureName, params, options) {
|
|
25
|
+
const { id, page_index, ...query } = params;
|
|
26
|
+
return this._client.get((0, path_1.path) `/api/v1/files/${id}/page-figures/${page_index}/${figureName}`, {
|
|
27
|
+
query,
|
|
28
|
+
...options,
|
|
29
|
+
});
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* List metadata for all
|
|
32
|
+
* List metadata for all figures from all pages of a file.
|
|
33
33
|
*/
|
|
34
|
-
|
|
35
|
-
return this._client.get((0, path_1.path) `/api/v1/files/${id}/
|
|
34
|
+
listPageFigures(id, query = {}, options) {
|
|
35
|
+
return this._client.get((0, path_1.path) `/api/v1/files/${id}/page-figures`, { query, ...options });
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.Images = Images;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"images.js","sourceRoot":"","sources":["../../src/resources/pipelines/images.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"images.js","sourceRoot":"","sources":["../../src/resources/pipelines/images.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,mBAAmB,CACjB,EAAU,EACV,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,SAAiB,EACjB,MAAoC,EACpC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,qBAAqB,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,aAAa,CACX,UAAkB,EAClB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,iBAAiB,UAAU,IAAI,UAAU,EAAE,EAAE;YAC1F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,eAAe,CACb,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,iBAAiB,EAAE,eAAe,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF;AAjDD,wBAiDC"}
|
|
@@ -3,14 +3,10 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../../internal/utils/path.mjs";
|
|
4
4
|
export class Images extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* List metadata for all screenshots of pages from a file.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return this._client.get(path `/api/v1/files/${id}/page-figures/${page_index}/${figureName}`, {
|
|
11
|
-
query,
|
|
12
|
-
...options,
|
|
13
|
-
});
|
|
8
|
+
listPageScreenshots(id, query = {}, options) {
|
|
9
|
+
return this._client.get(path `/api/v1/files/${id}/page_screenshots`, { query, ...options });
|
|
14
10
|
}
|
|
15
11
|
/**
|
|
16
12
|
* Get screenshot of a page from a file.
|
|
@@ -20,16 +16,20 @@ export class Images extends APIResource {
|
|
|
20
16
|
return this._client.get(path `/api/v1/files/${id}/page_screenshots/${pageIndex}`, { query, ...options });
|
|
21
17
|
}
|
|
22
18
|
/**
|
|
23
|
-
*
|
|
19
|
+
* Get a specific figure from a page of a file.
|
|
24
20
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
getPageFigure(figureName, params, options) {
|
|
22
|
+
const { id, page_index, ...query } = params;
|
|
23
|
+
return this._client.get(path `/api/v1/files/${id}/page-figures/${page_index}/${figureName}`, {
|
|
24
|
+
query,
|
|
25
|
+
...options,
|
|
26
|
+
});
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
* List metadata for all
|
|
29
|
+
* List metadata for all figures from all pages of a file.
|
|
30
30
|
*/
|
|
31
|
-
|
|
32
|
-
return this._client.get(path `/api/v1/files/${id}/
|
|
31
|
+
listPageFigures(id, query = {}, options) {
|
|
32
|
+
return this._client.get(path `/api/v1/files/${id}/page-figures`, { query, ...options });
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=images.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"images.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/images.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"images.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/images.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,mBAAmB,CACjB,EAAU,EACV,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,SAAiB,EACjB,MAAoC,EACpC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,qBAAqB,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;OAEG;IACH,aAAa,CACX,UAAkB,EAClB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,iBAAiB,UAAU,IAAI,UAAU,EAAE,EAAE;YAC1F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,eAAe,CACb,EAAU,EACV,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,eAAe,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { DataSources, type PipelineDataSource, type DataSourceGetDataSourcesResponse, type DataSourceUpdateDataSourcesResponse, type
|
|
2
|
-
export { Documents, type CloudDocument, type CloudDocumentCreate, type TextNode, type DocumentCreateResponse, type DocumentGetChunksResponse, type DocumentSyncResponse, type DocumentUpsertResponse, type DocumentCreateParams, type DocumentListParams, type
|
|
3
|
-
export { Files, type PipelineFile, type FileCreateResponse, type FileGetStatusCountsResponse, type
|
|
4
|
-
export { Images, type ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse, type
|
|
1
|
+
export { DataSources, type PipelineDataSource, type DataSourceGetDataSourcesResponse, type DataSourceUpdateDataSourcesResponse, type DataSourceUpdateDataSourcesParams, type DataSourceUpdateParams, type DataSourceGetStatusParams, type DataSourceSyncParams, } from "./data-sources.mjs";
|
|
2
|
+
export { Documents, type CloudDocument, type CloudDocumentCreate, type TextNode, type DocumentCreateResponse, type DocumentGetChunksResponse, type DocumentSyncResponse, type DocumentUpsertResponse, type DocumentCreateParams, type DocumentListParams, type DocumentGetParams, type DocumentDeleteParams, type DocumentGetStatusParams, type DocumentSyncParams, type DocumentGetChunksParams, type DocumentUpsertParams, type CloudDocumentsPaginatedCloudDocuments, } from "./documents.mjs";
|
|
3
|
+
export { Files, type PipelineFile, type FileCreateResponse, type FileGetStatusCountsResponse, type FileGetStatusCountsParams, type FileGetStatusParams, type FileCreateParams, type FileUpdateParams, type FileDeleteParams, type FileListParams, type PipelineFilesPaginatedPipelineFiles, } from "./files.mjs";
|
|
4
|
+
export { Images, type ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse, type ImageListPageScreenshotsParams, type ImageGetPageScreenshotParams, type ImageGetPageFigureParams, type ImageListPageFiguresParams, } from "./images.mjs";
|
|
5
5
|
export { Metadata, type MetadataCreateResponse, type MetadataCreateParams } from "./metadata.mjs";
|
|
6
|
-
export { Pipelines, type AdvancedModeTransformConfig, type AutoTransformConfig, type AzureOpenAIEmbedding, type AzureOpenAIEmbeddingConfig, type BedrockEmbedding, type BedrockEmbeddingConfig, type CohereEmbedding, type CohereEmbeddingConfig, type DataSinkCreate, type GeminiEmbedding, type GeminiEmbeddingConfig, type HuggingFaceInferenceAPIEmbedding, type HuggingFaceInferenceAPIEmbeddingConfig, type LlamaParseParameters, type LlmParameters, type ManagedIngestionStatusResponse, type MessageRole, type MetadataFilters, type OpenAIEmbedding, type OpenAIEmbeddingConfig, type PageFigureNodeWithScore, type PageScreenshotNodeWithScore, type Pipeline, type PipelineCreate, type PipelineMetadataConfig, type PipelineType, type PresetRetrievalParams, type RetrievalMode, type SparseModelConfig, type VertexAIEmbeddingConfig, type VertexTextEmbedding, type PipelineRetrieveResponse, type PipelineListResponse, type
|
|
6
|
+
export { Pipelines, type AdvancedModeTransformConfig, type AutoTransformConfig, type AzureOpenAIEmbedding, type AzureOpenAIEmbeddingConfig, type BedrockEmbedding, type BedrockEmbeddingConfig, type CohereEmbedding, type CohereEmbeddingConfig, type DataSinkCreate, type GeminiEmbedding, type GeminiEmbeddingConfig, type HuggingFaceInferenceAPIEmbedding, type HuggingFaceInferenceAPIEmbeddingConfig, type LlamaParseParameters, type LlmParameters, type ManagedIngestionStatusResponse, type MessageRole, type MetadataFilters, type OpenAIEmbedding, type OpenAIEmbeddingConfig, type PageFigureNodeWithScore, type PageScreenshotNodeWithScore, type Pipeline, type PipelineCreate, type PipelineMetadataConfig, type PipelineType, type PresetRetrievalParams, type RetrievalMode, type SparseModelConfig, type VertexAIEmbeddingConfig, type VertexTextEmbedding, type PipelineRetrieveResponse, type PipelineListResponse, type PipelineListParams, type PipelineCreateParams, type PipelineUpdateParams, type PipelineGetStatusParams, type PipelineUpsertParams, type PipelineRetrieveParams, } from "./pipelines.mjs";
|
|
7
7
|
export { Sync } from "./sync.mjs";
|
|
8
8
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/pipelines/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/pipelines/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,GAC1B,2BAAuB;AACxB,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAA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ACxB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,wBAAoB;AACrB,OAAO,EAAE,IAAI,EAAE,mBAAe"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { DataSources, type PipelineDataSource, type DataSourceGetDataSourcesResponse, type DataSourceUpdateDataSourcesResponse, type
|
|
2
|
-
export { Documents, type CloudDocument, type CloudDocumentCreate, type TextNode, type DocumentCreateResponse, type DocumentGetChunksResponse, type DocumentSyncResponse, type DocumentUpsertResponse, type DocumentCreateParams, type DocumentListParams, type
|
|
3
|
-
export { Files, type PipelineFile, type FileCreateResponse, type FileGetStatusCountsResponse, type
|
|
4
|
-
export { Images, type ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse, type
|
|
1
|
+
export { DataSources, type PipelineDataSource, type DataSourceGetDataSourcesResponse, type DataSourceUpdateDataSourcesResponse, type DataSourceUpdateDataSourcesParams, type DataSourceUpdateParams, type DataSourceGetStatusParams, type DataSourceSyncParams, } from "./data-sources.js";
|
|
2
|
+
export { Documents, type CloudDocument, type CloudDocumentCreate, type TextNode, type DocumentCreateResponse, type DocumentGetChunksResponse, type DocumentSyncResponse, type DocumentUpsertResponse, type DocumentCreateParams, type DocumentListParams, type DocumentGetParams, type DocumentDeleteParams, type DocumentGetStatusParams, type DocumentSyncParams, type DocumentGetChunksParams, type DocumentUpsertParams, type CloudDocumentsPaginatedCloudDocuments, } from "./documents.js";
|
|
3
|
+
export { Files, type PipelineFile, type FileCreateResponse, type FileGetStatusCountsResponse, type FileGetStatusCountsParams, type FileGetStatusParams, type FileCreateParams, type FileUpdateParams, type FileDeleteParams, type FileListParams, type PipelineFilesPaginatedPipelineFiles, } from "./files.js";
|
|
4
|
+
export { Images, type ImageGetPageFigureResponse, type ImageGetPageScreenshotResponse, type ImageListPageFiguresResponse, type ImageListPageScreenshotsResponse, type ImageListPageScreenshotsParams, type ImageGetPageScreenshotParams, type ImageGetPageFigureParams, type ImageListPageFiguresParams, } from "./images.js";
|
|
5
5
|
export { Metadata, type MetadataCreateResponse, type MetadataCreateParams } from "./metadata.js";
|
|
6
|
-
export { Pipelines, type AdvancedModeTransformConfig, type AutoTransformConfig, type AzureOpenAIEmbedding, type AzureOpenAIEmbeddingConfig, type BedrockEmbedding, type BedrockEmbeddingConfig, type CohereEmbedding, type CohereEmbeddingConfig, type DataSinkCreate, type GeminiEmbedding, type GeminiEmbeddingConfig, type HuggingFaceInferenceAPIEmbedding, type HuggingFaceInferenceAPIEmbeddingConfig, type LlamaParseParameters, type LlmParameters, type ManagedIngestionStatusResponse, type MessageRole, type MetadataFilters, type OpenAIEmbedding, type OpenAIEmbeddingConfig, type PageFigureNodeWithScore, type PageScreenshotNodeWithScore, type Pipeline, type PipelineCreate, type PipelineMetadataConfig, type PipelineType, type PresetRetrievalParams, type RetrievalMode, type SparseModelConfig, type VertexAIEmbeddingConfig, type VertexTextEmbedding, type PipelineRetrieveResponse, type PipelineListResponse, type
|
|
6
|
+
export { Pipelines, type AdvancedModeTransformConfig, type AutoTransformConfig, type AzureOpenAIEmbedding, type AzureOpenAIEmbeddingConfig, type BedrockEmbedding, type BedrockEmbeddingConfig, type CohereEmbedding, type CohereEmbeddingConfig, type DataSinkCreate, type GeminiEmbedding, type GeminiEmbeddingConfig, type HuggingFaceInferenceAPIEmbedding, type HuggingFaceInferenceAPIEmbeddingConfig, type LlamaParseParameters, type LlmParameters, type ManagedIngestionStatusResponse, type MessageRole, type MetadataFilters, type OpenAIEmbedding, type OpenAIEmbeddingConfig, type PageFigureNodeWithScore, type PageScreenshotNodeWithScore, type Pipeline, type PipelineCreate, type PipelineMetadataConfig, type PipelineType, type PresetRetrievalParams, type RetrievalMode, type SparseModelConfig, type VertexAIEmbeddingConfig, type VertexTextEmbedding, type PipelineRetrieveResponse, type PipelineListResponse, type PipelineListParams, type PipelineCreateParams, type PipelineUpdateParams, type PipelineGetStatusParams, type PipelineUpsertParams, type PipelineRetrieveParams, } from "./pipelines.js";
|
|
7
7
|
export { Sync } from "./sync.js";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/pipelines/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/pipelines/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,mCAAmC,EACxC,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,GAC1B,0BAAuB;AACxB,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,qCAAqC,GAC3C,uBAAoB;AACrB,OAAO,EACL,KAAK,EACL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,gBAA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E,kBAAe"}
|
|
@@ -5,10 +5,14 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
5
5
|
export declare class Metadata extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Import metadata for a pipeline.
|
|
8
|
+
*
|
|
9
|
+
* @deprecated
|
|
8
10
|
*/
|
|
9
11
|
create(pipelineID: string, body: MetadataCreateParams, options?: RequestOptions): APIPromise<MetadataCreateResponse>;
|
|
10
12
|
/**
|
|
11
13
|
* Delete metadata for all files in a pipeline.
|
|
14
|
+
*
|
|
15
|
+
* @deprecated
|
|
12
16
|
*/
|
|
13
17
|
deleteAll(pipelineID: string, options?: RequestOptions): APIPromise<void>;
|
|
14
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.mts","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,+BAA2B;AAErD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAIhE,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"metadata.d.mts","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,+BAA2B;AAErD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAIhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAOrC;;;;OAIG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM1E;AAED,MAAM,MAAM,sBAAsB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE/D,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -5,10 +5,14 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
5
5
|
export declare class Metadata extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Import metadata for a pipeline.
|
|
8
|
+
*
|
|
9
|
+
* @deprecated
|
|
8
10
|
*/
|
|
9
11
|
create(pipelineID: string, body: MetadataCreateParams, options?: RequestOptions): APIPromise<MetadataCreateResponse>;
|
|
10
12
|
/**
|
|
11
13
|
* Delete metadata for all files in a pipeline.
|
|
14
|
+
*
|
|
15
|
+
* @deprecated
|
|
12
16
|
*/
|
|
13
17
|
deleteAll(pipelineID: string, options?: RequestOptions): APIPromise<void>;
|
|
14
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,8BAA2B;AAErD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAIhE,qBAAa,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,8BAA2B;AAErD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAIhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAOrC;;;;OAIG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM1E;AAED,MAAM,MAAM,sBAAsB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE/D,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -9,12 +9,16 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
9
9
|
class Metadata extends resource_1.APIResource {
|
|
10
10
|
/**
|
|
11
11
|
* Import metadata for a pipeline.
|
|
12
|
+
*
|
|
13
|
+
* @deprecated
|
|
12
14
|
*/
|
|
13
15
|
create(pipelineID, body, options) {
|
|
14
16
|
return this._client.put((0, path_1.path) `/api/v1/pipelines/${pipelineID}/metadata`, (0, uploads_1.multipartFormRequestOptions)({ body, ...options }, this._client));
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
19
|
* Delete metadata for all files in a pipeline.
|
|
20
|
+
*
|
|
21
|
+
* @deprecated
|
|
18
22
|
*/
|
|
19
23
|
deleteAll(pipelineID, options) {
|
|
20
24
|
return this._client.delete((0, path_1.path) `/api/v1/pipelines/${pipelineID}/metadata`, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAsD;AAEtD,uDAAqE;AACrE,uDAAiD;AAEjD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;OAIG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,WAAI,EAAA,qBAAqB,UAAU,WAAW,EAC9C,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,SAAS,CAAC,UAAkB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,qBAAqB,UAAU,WAAW,EAAE;YACzE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA5BD,4BA4BC"}
|
|
@@ -6,12 +6,16 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
6
6
|
export class Metadata extends APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* Import metadata for a pipeline.
|
|
9
|
+
*
|
|
10
|
+
* @deprecated
|
|
9
11
|
*/
|
|
10
12
|
create(pipelineID, body, options) {
|
|
11
13
|
return this._client.put(path `/api/v1/pipelines/${pipelineID}/metadata`, multipartFormRequestOptions({ body, ...options }, this._client));
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* Delete metadata for all files in a pipeline.
|
|
17
|
+
*
|
|
18
|
+
* @deprecated
|
|
15
19
|
*/
|
|
16
20
|
deleteAll(pipelineID, options) {
|
|
17
21
|
return this._client.delete(path `/api/v1/pipelines/${pipelineID}/metadata`, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,2BAA2B,EAAE,mCAA+B;AACrE,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC
|
|
1
|
+
{"version":3,"file":"metadata.mjs","sourceRoot":"","sources":["../../src/resources/pipelines/metadata.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,2BAA2B,EAAE,mCAA+B;AACrE,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,MAAM,CACJ,UAAkB,EAClB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAI,CAAA,qBAAqB,UAAU,WAAW,EAC9C,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,SAAS,CAAC,UAAkB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,qBAAqB,UAAU,WAAW,EAAE;YACzE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|