@llamaindex/llama-cloud 2.4.1 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +115 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +5 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -2
- package/client.d.ts.map +1 -1
- package/client.js +14 -0
- package/client.js.map +1 -1
- package/client.mjs +14 -0
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +10 -10
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +10 -10
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +2 -2
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/batches.d.mts +491 -0
- package/resources/batches.d.mts.map +1 -0
- package/resources/batches.d.ts +491 -0
- package/resources/batches.d.ts.map +1 -0
- package/resources/batches.js +60 -0
- package/resources/batches.js.map +1 -0
- package/resources/batches.mjs +56 -0
- package/resources/batches.mjs.map +1 -0
- package/resources/beta/agent-data.d.mts.map +1 -1
- package/resources/beta/agent-data.d.ts.map +1 -1
- package/resources/beta/agent-data.mjs.map +1 -1
- package/resources/beta/batch/batch.d.mts +1 -1
- package/resources/beta/batch/batch.d.mts.map +1 -1
- package/resources/beta/batch/batch.d.ts +1 -1
- package/resources/beta/batch/batch.d.ts.map +1 -1
- package/resources/beta/batch/batch.js.map +1 -1
- package/resources/beta/batch/batch.mjs.map +1 -1
- package/resources/beta/batch/index.d.mts.map +1 -1
- package/resources/beta/batch/index.d.ts.map +1 -1
- package/resources/beta/batch/index.mjs.map +1 -1
- package/resources/beta/batch/job-items.d.mts +1 -1
- package/resources/beta/batch/job-items.d.mts.map +1 -1
- package/resources/beta/batch/job-items.d.ts +1 -1
- package/resources/beta/batch/job-items.d.ts.map +1 -1
- package/resources/beta/batch/job-items.mjs.map +1 -1
- package/resources/beta/batch.d.mts.map +1 -1
- package/resources/beta/batch.d.ts.map +1 -1
- package/resources/beta/batch.mjs.map +1 -1
- package/resources/beta/beta.d.mts +12 -0
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +12 -0
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +12 -0
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +12 -0
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/chat.d.mts +357 -0
- package/resources/beta/chat.d.mts.map +1 -0
- package/resources/beta/chat.d.ts +357 -0
- package/resources/beta/chat.d.ts.map +1 -0
- package/resources/beta/chat.js +101 -0
- package/resources/beta/chat.js.map +1 -0
- package/resources/beta/chat.mjs +97 -0
- package/resources/beta/chat.mjs.map +1 -0
- package/resources/beta/directories/directories.d.mts +72 -24
- package/resources/beta/directories/directories.d.mts.map +1 -1
- package/resources/beta/directories/directories.d.ts +72 -24
- package/resources/beta/directories/directories.d.ts.map +1 -1
- package/resources/beta/directories/directories.js +0 -3
- package/resources/beta/directories/directories.js.map +1 -1
- package/resources/beta/directories/directories.mjs +0 -3
- package/resources/beta/directories/directories.mjs.map +1 -1
- package/resources/beta/directories/files.d.mts +65 -57
- package/resources/beta/directories/files.d.mts.map +1 -1
- package/resources/beta/directories/files.d.ts +65 -57
- package/resources/beta/directories/files.d.ts.map +1 -1
- package/resources/beta/directories/files.js +14 -27
- package/resources/beta/directories/files.js.map +1 -1
- package/resources/beta/directories/files.mjs +14 -27
- package/resources/beta/directories/files.mjs.map +1 -1
- package/resources/beta/directories/index.d.mts.map +1 -1
- package/resources/beta/directories/index.d.ts.map +1 -1
- package/resources/beta/directories/index.mjs.map +1 -1
- package/resources/beta/directories.d.mts.map +1 -1
- package/resources/beta/directories.d.ts.map +1 -1
- package/resources/beta/directories.mjs.map +1 -1
- package/resources/beta/index.d.mts +3 -0
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +3 -0
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js +7 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs +3 -0
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/indexes.d.mts +311 -0
- package/resources/beta/indexes.d.mts.map +1 -0
- package/resources/beta/indexes.d.ts +311 -0
- package/resources/beta/indexes.d.ts.map +1 -0
- package/resources/beta/indexes.js +86 -0
- package/resources/beta/indexes.js.map +1 -0
- package/resources/beta/indexes.mjs +82 -0
- package/resources/beta/indexes.mjs.map +1 -0
- package/resources/beta/retrieval.d.mts +368 -0
- package/resources/beta/retrieval.d.mts.map +1 -0
- package/resources/beta/retrieval.d.ts +368 -0
- package/resources/beta/retrieval.d.ts.map +1 -0
- package/resources/beta/retrieval.js +87 -0
- package/resources/beta/retrieval.js.map +1 -0
- package/resources/beta/retrieval.mjs +83 -0
- package/resources/beta/retrieval.mjs.map +1 -0
- package/resources/beta/sheets.d.mts +125 -25
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +125 -25
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/beta/sheets.js +16 -17
- package/resources/beta/sheets.js.map +1 -1
- package/resources/beta/sheets.mjs +16 -17
- package/resources/beta/sheets.mjs.map +1 -1
- package/resources/beta/split.d.mts.map +1 -1
- package/resources/beta/split.d.ts.map +1 -1
- package/resources/beta/split.mjs.map +1 -1
- package/resources/beta.d.mts.map +1 -1
- package/resources/beta.d.ts.map +1 -1
- package/resources/beta.mjs.map +1 -1
- package/resources/classifier/classifier.d.mts.map +1 -1
- package/resources/classifier/classifier.d.ts.map +1 -1
- package/resources/classifier/classifier.mjs.map +1 -1
- package/resources/classifier/index.d.mts.map +1 -1
- package/resources/classifier/index.d.ts.map +1 -1
- package/resources/classifier/index.mjs.map +1 -1
- package/resources/classifier/jobs.d.mts +13 -10
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +13 -10
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classifier/jobs.js +5 -8
- package/resources/classifier/jobs.js.map +1 -1
- package/resources/classifier/jobs.mjs +5 -8
- package/resources/classifier/jobs.mjs.map +1 -1
- package/resources/classifier.d.mts.map +1 -1
- package/resources/classifier.d.ts.map +1 -1
- package/resources/classifier.mjs.map +1 -1
- package/resources/classify.d.mts +60 -0
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts +60 -0
- package/resources/classify.d.ts.map +1 -1
- package/resources/classify.mjs.map +1 -1
- package/resources/configurations.d.mts +69 -16
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +69 -16
- package/resources/configurations.d.ts.map +1 -1
- package/resources/configurations.js +2 -4
- package/resources/configurations.js.map +1 -1
- package/resources/configurations.mjs +2 -4
- package/resources/configurations.mjs.map +1 -1
- package/resources/data-sinks.d.mts.map +1 -1
- package/resources/data-sinks.d.ts.map +1 -1
- package/resources/data-sinks.mjs.map +1 -1
- package/resources/data-sources.d.mts.map +1 -1
- package/resources/data-sources.d.ts.map +1 -1
- package/resources/data-sources.mjs.map +1 -1
- package/resources/extract.d.mts +7 -14
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +7 -14
- package/resources/extract.d.ts.map +1 -1
- package/resources/extract.mjs.map +1 -1
- package/resources/files.d.mts +19 -56
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +19 -56
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +1 -8
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +1 -8
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- 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 +70 -11
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +70 -11
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/data-sources.d.mts +2 -2
- package/resources/pipelines/data-sources.d.mts.map +1 -1
- package/resources/pipelines/data-sources.d.ts +2 -2
- package/resources/pipelines/data-sources.d.ts.map +1 -1
- package/resources/pipelines/data-sources.js +2 -2
- package/resources/pipelines/data-sources.mjs +2 -2
- package/resources/pipelines/data-sources.mjs.map +1 -1
- package/resources/pipelines/documents.d.mts +2 -4
- package/resources/pipelines/documents.d.mts.map +1 -1
- package/resources/pipelines/documents.d.ts +2 -4
- package/resources/pipelines/documents.d.ts.map +1 -1
- package/resources/pipelines/documents.js +2 -4
- package/resources/pipelines/documents.js.map +1 -1
- package/resources/pipelines/documents.mjs +2 -4
- package/resources/pipelines/documents.mjs.map +1 -1
- package/resources/pipelines/files.d.mts.map +1 -1
- package/resources/pipelines/files.d.ts.map +1 -1
- package/resources/pipelines/files.mjs.map +1 -1
- package/resources/pipelines/images.d.mts.map +1 -1
- package/resources/pipelines/images.d.ts.map +1 -1
- package/resources/pipelines/images.mjs.map +1 -1
- package/resources/pipelines/index.d.mts.map +1 -1
- package/resources/pipelines/index.d.ts.map +1 -1
- package/resources/pipelines/index.mjs.map +1 -1
- package/resources/pipelines/metadata.d.mts.map +1 -1
- package/resources/pipelines/metadata.d.ts.map +1 -1
- package/resources/pipelines/metadata.mjs.map +1 -1
- package/resources/pipelines/pipelines.d.mts +1 -1
- package/resources/pipelines/pipelines.d.mts.map +1 -1
- package/resources/pipelines/pipelines.d.ts +1 -1
- package/resources/pipelines/pipelines.d.ts.map +1 -1
- package/resources/pipelines/pipelines.js.map +1 -1
- package/resources/pipelines/pipelines.mjs.map +1 -1
- package/resources/pipelines/sync.d.mts.map +1 -1
- package/resources/pipelines/sync.d.ts.map +1 -1
- package/resources/pipelines/sync.mjs.map +1 -1
- package/resources/pipelines.d.mts.map +1 -1
- package/resources/pipelines.d.ts.map +1 -1
- package/resources/pipelines.mjs.map +1 -1
- package/resources/projects.d.mts +0 -1
- package/resources/projects.d.mts.map +1 -1
- package/resources/projects.d.ts +0 -1
- package/resources/projects.d.ts.map +1 -1
- package/resources/projects.mjs.map +1 -1
- package/resources/retrievers/index.d.mts.map +1 -1
- package/resources/retrievers/index.d.ts.map +1 -1
- package/resources/retrievers/index.mjs.map +1 -1
- package/resources/retrievers/retriever.d.mts.map +1 -1
- package/resources/retrievers/retriever.d.ts.map +1 -1
- package/resources/retrievers/retriever.mjs.map +1 -1
- package/resources/retrievers/retrievers.d.mts.map +1 -1
- package/resources/retrievers/retrievers.d.ts.map +1 -1
- package/resources/retrievers/retrievers.mjs.map +1 -1
- package/resources/retrievers.d.mts.map +1 -1
- package/resources/retrievers.d.ts.map +1 -1
- package/resources/retrievers.mjs.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +35 -2
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/batches.ts +587 -0
- package/src/resources/beta/batch/batch.ts +6 -0
- package/src/resources/beta/batch/job-items.ts +6 -0
- package/src/resources/beta/beta.ts +94 -0
- package/src/resources/beta/chat.ts +523 -0
- package/src/resources/beta/directories/directories.ts +77 -29
- package/src/resources/beta/directories/files.ts +73 -60
- package/src/resources/beta/index.ts +41 -0
- package/src/resources/beta/indexes.ts +421 -0
- package/src/resources/beta/retrieval.ts +483 -0
- package/src/resources/beta/sheets.ts +185 -25
- package/src/resources/classifier/jobs.ts +14 -10
- package/src/resources/classify.ts +114 -0
- package/src/resources/configurations.ts +74 -99
- package/src/resources/extract.ts +18 -15
- package/src/resources/files.ts +22 -60
- package/src/resources/index.ts +10 -1
- package/src/resources/parsing.ts +78 -93
- package/src/resources/pipelines/data-sources.ts +2 -2
- package/src/resources/pipelines/documents.ts +2 -4
- package/src/resources/pipelines/pipelines.ts +6 -0
- package/src/resources/projects.ts +0 -2
- package/src/resources/shared.ts +1 -1
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { PagePromise, PaginatedCursor, type PaginatedCursorParams } from "../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
export declare class Batches extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create a batch over a source directory and start processing asynchronously.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const batch = await client.batches.create({
|
|
12
|
+
* config: {
|
|
13
|
+
* job: {
|
|
14
|
+
* configuration_id: 'cfg-PARSE_AGENTIC',
|
|
15
|
+
* type: 'parse_v2',
|
|
16
|
+
* },
|
|
17
|
+
* },
|
|
18
|
+
* source_directory_id:
|
|
19
|
+
* 'dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(params: BatchCreateParams, options?: RequestOptions): APIPromise<BatchCreateResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* List batches for the current project.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* // Automatically fetches more pages as needed.
|
|
30
|
+
* for await (const batchListResponse of client.batches.list()) {
|
|
31
|
+
* // ...
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
list(query?: BatchListParams | null | undefined, options?: RequestOptions): PagePromise<BatchListResponsesPaginatedCursor, BatchListResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Get a batch by ID.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```ts
|
|
41
|
+
* const batch = await client.batches.get('batch_id');
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
get(batchID: string, query?: BatchGetParams | null | undefined, options?: RequestOptions): APIPromise<BatchGetResponse>;
|
|
45
|
+
}
|
|
46
|
+
export type BatchListResponsesPaginatedCursor = PaginatedCursor<BatchListResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* A top-level batch.
|
|
49
|
+
*
|
|
50
|
+
* Example: { "id": "bat-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "project_id":
|
|
51
|
+
* "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "source_directory_id":
|
|
52
|
+
* "dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "config": { "job": { "type":
|
|
53
|
+
* "parse_v2", "configuration_id": "cfg-PARSE_AGENTIC" } }, "status": "COMPLETED",
|
|
54
|
+
* "results": [ { "source_directory_file_id":
|
|
55
|
+
* "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "job_reference": { "type":
|
|
56
|
+
* "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "error_message":
|
|
57
|
+
* null } ] }
|
|
58
|
+
*
|
|
59
|
+
* Batch-level `FAILED` means the orchestration failed and cannot provide a
|
|
60
|
+
* reliable per-file result set. `results` is only populated when explicitly
|
|
61
|
+
* requested with `expand=results` and may be `null` while a batch is still
|
|
62
|
+
* running.
|
|
63
|
+
*/
|
|
64
|
+
export interface BatchCreateResponse {
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier
|
|
67
|
+
*/
|
|
68
|
+
id: string;
|
|
69
|
+
/**
|
|
70
|
+
* Batch configuration snapshot.
|
|
71
|
+
*/
|
|
72
|
+
config: BatchCreateResponse.Config;
|
|
73
|
+
/**
|
|
74
|
+
* Project this batch belongs to.
|
|
75
|
+
*/
|
|
76
|
+
project_id: string;
|
|
77
|
+
/**
|
|
78
|
+
* Directory being processed.
|
|
79
|
+
*/
|
|
80
|
+
source_directory_id: string;
|
|
81
|
+
/**
|
|
82
|
+
* Current batch status.
|
|
83
|
+
*/
|
|
84
|
+
status: 'PENDING' | 'THROTTLED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELLED';
|
|
85
|
+
/**
|
|
86
|
+
* Creation datetime
|
|
87
|
+
*/
|
|
88
|
+
created_at?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* Expanded per-file result mappings. Null unless requested with expand=results, or
|
|
91
|
+
* while the batch is still running.
|
|
92
|
+
*/
|
|
93
|
+
results?: Array<BatchCreateResponse.Result> | null;
|
|
94
|
+
/**
|
|
95
|
+
* Update datetime
|
|
96
|
+
*/
|
|
97
|
+
updated_at?: string | null;
|
|
98
|
+
}
|
|
99
|
+
export declare namespace BatchCreateResponse {
|
|
100
|
+
/**
|
|
101
|
+
* Batch configuration snapshot.
|
|
102
|
+
*/
|
|
103
|
+
interface Config {
|
|
104
|
+
/**
|
|
105
|
+
* Job to create for each file in the source directory.
|
|
106
|
+
*/
|
|
107
|
+
job: Config.Job;
|
|
108
|
+
}
|
|
109
|
+
namespace Config {
|
|
110
|
+
/**
|
|
111
|
+
* Job to create for each file in the source directory.
|
|
112
|
+
*/
|
|
113
|
+
interface Job {
|
|
114
|
+
/**
|
|
115
|
+
* Product configuration ID or built-in preset ID matching the job type.
|
|
116
|
+
*/
|
|
117
|
+
configuration_id: string;
|
|
118
|
+
/**
|
|
119
|
+
* Product job type to run for each source directory file.
|
|
120
|
+
*/
|
|
121
|
+
type: 'parse_v2' | 'extract_v2';
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Result projection for one source directory file in a batch.
|
|
126
|
+
*
|
|
127
|
+
* Example: { "source_directory_file_id":
|
|
128
|
+
* "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "job_reference": { "type":
|
|
129
|
+
* "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "error_message":
|
|
130
|
+
* null }
|
|
131
|
+
*
|
|
132
|
+
* This is a projection of directory-sync state, not a separate child resource that
|
|
133
|
+
* callers need to create. The source directory file ID is the stable correlation
|
|
134
|
+
* key. Underlying job progress and failures should be resolved through the
|
|
135
|
+
* referenced product job endpoint.
|
|
136
|
+
*/
|
|
137
|
+
interface Result {
|
|
138
|
+
/**
|
|
139
|
+
* Source directory file processed by this batch.
|
|
140
|
+
*/
|
|
141
|
+
source_directory_file_id: string;
|
|
142
|
+
/**
|
|
143
|
+
* Batch-level mapping error if the system could not create or associate a job for
|
|
144
|
+
* this source file.
|
|
145
|
+
*/
|
|
146
|
+
error_message?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Reference to a job produced by a batch.
|
|
149
|
+
*
|
|
150
|
+
* Example: { "type": "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
151
|
+
* }
|
|
152
|
+
*/
|
|
153
|
+
job_reference?: Result.JobReference | null;
|
|
154
|
+
}
|
|
155
|
+
namespace Result {
|
|
156
|
+
/**
|
|
157
|
+
* Reference to a job produced by a batch.
|
|
158
|
+
*
|
|
159
|
+
* Example: { "type": "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
160
|
+
* }
|
|
161
|
+
*/
|
|
162
|
+
interface JobReference {
|
|
163
|
+
/**
|
|
164
|
+
* Job ID, such as a parse job ID.
|
|
165
|
+
*/
|
|
166
|
+
id: string;
|
|
167
|
+
/**
|
|
168
|
+
* Type of job produced for the file.
|
|
169
|
+
*/
|
|
170
|
+
type: 'parse_v2' | 'extract_v2';
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* A top-level batch.
|
|
176
|
+
*
|
|
177
|
+
* Example: { "id": "bat-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "project_id":
|
|
178
|
+
* "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "source_directory_id":
|
|
179
|
+
* "dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "config": { "job": { "type":
|
|
180
|
+
* "parse_v2", "configuration_id": "cfg-PARSE_AGENTIC" } }, "status": "COMPLETED",
|
|
181
|
+
* "results": [ { "source_directory_file_id":
|
|
182
|
+
* "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "job_reference": { "type":
|
|
183
|
+
* "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "error_message":
|
|
184
|
+
* null } ] }
|
|
185
|
+
*
|
|
186
|
+
* Batch-level `FAILED` means the orchestration failed and cannot provide a
|
|
187
|
+
* reliable per-file result set. `results` is only populated when explicitly
|
|
188
|
+
* requested with `expand=results` and may be `null` while a batch is still
|
|
189
|
+
* running.
|
|
190
|
+
*/
|
|
191
|
+
export interface BatchListResponse {
|
|
192
|
+
/**
|
|
193
|
+
* Unique identifier
|
|
194
|
+
*/
|
|
195
|
+
id: string;
|
|
196
|
+
/**
|
|
197
|
+
* Batch configuration snapshot.
|
|
198
|
+
*/
|
|
199
|
+
config: BatchListResponse.Config;
|
|
200
|
+
/**
|
|
201
|
+
* Project this batch belongs to.
|
|
202
|
+
*/
|
|
203
|
+
project_id: string;
|
|
204
|
+
/**
|
|
205
|
+
* Directory being processed.
|
|
206
|
+
*/
|
|
207
|
+
source_directory_id: string;
|
|
208
|
+
/**
|
|
209
|
+
* Current batch status.
|
|
210
|
+
*/
|
|
211
|
+
status: 'PENDING' | 'THROTTLED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELLED';
|
|
212
|
+
/**
|
|
213
|
+
* Creation datetime
|
|
214
|
+
*/
|
|
215
|
+
created_at?: string | null;
|
|
216
|
+
/**
|
|
217
|
+
* Expanded per-file result mappings. Null unless requested with expand=results, or
|
|
218
|
+
* while the batch is still running.
|
|
219
|
+
*/
|
|
220
|
+
results?: Array<BatchListResponse.Result> | null;
|
|
221
|
+
/**
|
|
222
|
+
* Update datetime
|
|
223
|
+
*/
|
|
224
|
+
updated_at?: string | null;
|
|
225
|
+
}
|
|
226
|
+
export declare namespace BatchListResponse {
|
|
227
|
+
/**
|
|
228
|
+
* Batch configuration snapshot.
|
|
229
|
+
*/
|
|
230
|
+
interface Config {
|
|
231
|
+
/**
|
|
232
|
+
* Job to create for each file in the source directory.
|
|
233
|
+
*/
|
|
234
|
+
job: Config.Job;
|
|
235
|
+
}
|
|
236
|
+
namespace Config {
|
|
237
|
+
/**
|
|
238
|
+
* Job to create for each file in the source directory.
|
|
239
|
+
*/
|
|
240
|
+
interface Job {
|
|
241
|
+
/**
|
|
242
|
+
* Product configuration ID or built-in preset ID matching the job type.
|
|
243
|
+
*/
|
|
244
|
+
configuration_id: string;
|
|
245
|
+
/**
|
|
246
|
+
* Product job type to run for each source directory file.
|
|
247
|
+
*/
|
|
248
|
+
type: 'parse_v2' | 'extract_v2';
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Result projection for one source directory file in a batch.
|
|
253
|
+
*
|
|
254
|
+
* Example: { "source_directory_file_id":
|
|
255
|
+
* "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "job_reference": { "type":
|
|
256
|
+
* "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "error_message":
|
|
257
|
+
* null }
|
|
258
|
+
*
|
|
259
|
+
* This is a projection of directory-sync state, not a separate child resource that
|
|
260
|
+
* callers need to create. The source directory file ID is the stable correlation
|
|
261
|
+
* key. Underlying job progress and failures should be resolved through the
|
|
262
|
+
* referenced product job endpoint.
|
|
263
|
+
*/
|
|
264
|
+
interface Result {
|
|
265
|
+
/**
|
|
266
|
+
* Source directory file processed by this batch.
|
|
267
|
+
*/
|
|
268
|
+
source_directory_file_id: string;
|
|
269
|
+
/**
|
|
270
|
+
* Batch-level mapping error if the system could not create or associate a job for
|
|
271
|
+
* this source file.
|
|
272
|
+
*/
|
|
273
|
+
error_message?: string | null;
|
|
274
|
+
/**
|
|
275
|
+
* Reference to a job produced by a batch.
|
|
276
|
+
*
|
|
277
|
+
* Example: { "type": "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
278
|
+
* }
|
|
279
|
+
*/
|
|
280
|
+
job_reference?: Result.JobReference | null;
|
|
281
|
+
}
|
|
282
|
+
namespace Result {
|
|
283
|
+
/**
|
|
284
|
+
* Reference to a job produced by a batch.
|
|
285
|
+
*
|
|
286
|
+
* Example: { "type": "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
287
|
+
* }
|
|
288
|
+
*/
|
|
289
|
+
interface JobReference {
|
|
290
|
+
/**
|
|
291
|
+
* Job ID, such as a parse job ID.
|
|
292
|
+
*/
|
|
293
|
+
id: string;
|
|
294
|
+
/**
|
|
295
|
+
* Type of job produced for the file.
|
|
296
|
+
*/
|
|
297
|
+
type: 'parse_v2' | 'extract_v2';
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* A top-level batch.
|
|
303
|
+
*
|
|
304
|
+
* Example: { "id": "bat-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "project_id":
|
|
305
|
+
* "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "source_directory_id":
|
|
306
|
+
* "dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "config": { "job": { "type":
|
|
307
|
+
* "parse_v2", "configuration_id": "cfg-PARSE_AGENTIC" } }, "status": "COMPLETED",
|
|
308
|
+
* "results": [ { "source_directory_file_id":
|
|
309
|
+
* "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "job_reference": { "type":
|
|
310
|
+
* "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "error_message":
|
|
311
|
+
* null } ] }
|
|
312
|
+
*
|
|
313
|
+
* Batch-level `FAILED` means the orchestration failed and cannot provide a
|
|
314
|
+
* reliable per-file result set. `results` is only populated when explicitly
|
|
315
|
+
* requested with `expand=results` and may be `null` while a batch is still
|
|
316
|
+
* running.
|
|
317
|
+
*/
|
|
318
|
+
export interface BatchGetResponse {
|
|
319
|
+
/**
|
|
320
|
+
* Unique identifier
|
|
321
|
+
*/
|
|
322
|
+
id: string;
|
|
323
|
+
/**
|
|
324
|
+
* Batch configuration snapshot.
|
|
325
|
+
*/
|
|
326
|
+
config: BatchGetResponse.Config;
|
|
327
|
+
/**
|
|
328
|
+
* Project this batch belongs to.
|
|
329
|
+
*/
|
|
330
|
+
project_id: string;
|
|
331
|
+
/**
|
|
332
|
+
* Directory being processed.
|
|
333
|
+
*/
|
|
334
|
+
source_directory_id: string;
|
|
335
|
+
/**
|
|
336
|
+
* Current batch status.
|
|
337
|
+
*/
|
|
338
|
+
status: 'PENDING' | 'THROTTLED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELLED';
|
|
339
|
+
/**
|
|
340
|
+
* Creation datetime
|
|
341
|
+
*/
|
|
342
|
+
created_at?: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* Expanded per-file result mappings. Null unless requested with expand=results, or
|
|
345
|
+
* while the batch is still running.
|
|
346
|
+
*/
|
|
347
|
+
results?: Array<BatchGetResponse.Result> | null;
|
|
348
|
+
/**
|
|
349
|
+
* Update datetime
|
|
350
|
+
*/
|
|
351
|
+
updated_at?: string | null;
|
|
352
|
+
}
|
|
353
|
+
export declare namespace BatchGetResponse {
|
|
354
|
+
/**
|
|
355
|
+
* Batch configuration snapshot.
|
|
356
|
+
*/
|
|
357
|
+
interface Config {
|
|
358
|
+
/**
|
|
359
|
+
* Job to create for each file in the source directory.
|
|
360
|
+
*/
|
|
361
|
+
job: Config.Job;
|
|
362
|
+
}
|
|
363
|
+
namespace Config {
|
|
364
|
+
/**
|
|
365
|
+
* Job to create for each file in the source directory.
|
|
366
|
+
*/
|
|
367
|
+
interface Job {
|
|
368
|
+
/**
|
|
369
|
+
* Product configuration ID or built-in preset ID matching the job type.
|
|
370
|
+
*/
|
|
371
|
+
configuration_id: string;
|
|
372
|
+
/**
|
|
373
|
+
* Product job type to run for each source directory file.
|
|
374
|
+
*/
|
|
375
|
+
type: 'parse_v2' | 'extract_v2';
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Result projection for one source directory file in a batch.
|
|
380
|
+
*
|
|
381
|
+
* Example: { "source_directory_file_id":
|
|
382
|
+
* "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "job_reference": { "type":
|
|
383
|
+
* "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" }, "error_message":
|
|
384
|
+
* null }
|
|
385
|
+
*
|
|
386
|
+
* This is a projection of directory-sync state, not a separate child resource that
|
|
387
|
+
* callers need to create. The source directory file ID is the stable correlation
|
|
388
|
+
* key. Underlying job progress and failures should be resolved through the
|
|
389
|
+
* referenced product job endpoint.
|
|
390
|
+
*/
|
|
391
|
+
interface Result {
|
|
392
|
+
/**
|
|
393
|
+
* Source directory file processed by this batch.
|
|
394
|
+
*/
|
|
395
|
+
source_directory_file_id: string;
|
|
396
|
+
/**
|
|
397
|
+
* Batch-level mapping error if the system could not create or associate a job for
|
|
398
|
+
* this source file.
|
|
399
|
+
*/
|
|
400
|
+
error_message?: string | null;
|
|
401
|
+
/**
|
|
402
|
+
* Reference to a job produced by a batch.
|
|
403
|
+
*
|
|
404
|
+
* Example: { "type": "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
405
|
+
* }
|
|
406
|
+
*/
|
|
407
|
+
job_reference?: Result.JobReference | null;
|
|
408
|
+
}
|
|
409
|
+
namespace Result {
|
|
410
|
+
/**
|
|
411
|
+
* Reference to a job produced by a batch.
|
|
412
|
+
*
|
|
413
|
+
* Example: { "type": "parse_v2", "id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
414
|
+
* }
|
|
415
|
+
*/
|
|
416
|
+
interface JobReference {
|
|
417
|
+
/**
|
|
418
|
+
* Job ID, such as a parse job ID.
|
|
419
|
+
*/
|
|
420
|
+
id: string;
|
|
421
|
+
/**
|
|
422
|
+
* Type of job produced for the file.
|
|
423
|
+
*/
|
|
424
|
+
type: 'parse_v2' | 'extract_v2';
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
export interface BatchCreateParams {
|
|
429
|
+
/**
|
|
430
|
+
* Body param: Batch configuration snapshot to apply to this source directory.
|
|
431
|
+
*/
|
|
432
|
+
config: BatchCreateParams.Config;
|
|
433
|
+
/**
|
|
434
|
+
* Body param: Directory whose files should be processed.
|
|
435
|
+
*/
|
|
436
|
+
source_directory_id: string;
|
|
437
|
+
/**
|
|
438
|
+
* Query param
|
|
439
|
+
*/
|
|
440
|
+
organization_id?: string | null;
|
|
441
|
+
/**
|
|
442
|
+
* Query param
|
|
443
|
+
*/
|
|
444
|
+
project_id?: string | null;
|
|
445
|
+
}
|
|
446
|
+
export declare namespace BatchCreateParams {
|
|
447
|
+
/**
|
|
448
|
+
* Batch configuration snapshot to apply to this source directory.
|
|
449
|
+
*/
|
|
450
|
+
interface Config {
|
|
451
|
+
/**
|
|
452
|
+
* Job to create for each file in the source directory.
|
|
453
|
+
*/
|
|
454
|
+
job: Config.Job;
|
|
455
|
+
}
|
|
456
|
+
namespace Config {
|
|
457
|
+
/**
|
|
458
|
+
* Job to create for each file in the source directory.
|
|
459
|
+
*/
|
|
460
|
+
interface Job {
|
|
461
|
+
/**
|
|
462
|
+
* Product configuration ID or built-in preset ID matching the job type.
|
|
463
|
+
*/
|
|
464
|
+
configuration_id: string;
|
|
465
|
+
/**
|
|
466
|
+
* Product job type to run for each source directory file.
|
|
467
|
+
*/
|
|
468
|
+
type: 'parse_v2' | 'extract_v2';
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
export interface BatchListParams extends PaginatedCursorParams {
|
|
473
|
+
created_at_on_or_after?: string | null;
|
|
474
|
+
created_at_on_or_before?: string | null;
|
|
475
|
+
organization_id?: string | null;
|
|
476
|
+
project_id?: string | null;
|
|
477
|
+
source_directory_id?: string | null;
|
|
478
|
+
status?: 'PENDING' | 'THROTTLED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | null;
|
|
479
|
+
}
|
|
480
|
+
export interface BatchGetParams {
|
|
481
|
+
/**
|
|
482
|
+
* Fields to expand. Supported value: results.
|
|
483
|
+
*/
|
|
484
|
+
expand?: Array<string> | null;
|
|
485
|
+
organization_id?: string | null;
|
|
486
|
+
project_id?: string | null;
|
|
487
|
+
}
|
|
488
|
+
export declare namespace Batches {
|
|
489
|
+
export { type BatchCreateResponse as BatchCreateResponse, type BatchListResponse as BatchListResponse, type BatchGetResponse as BatchGetResponse, type BatchListResponsesPaginatedCursor as BatchListResponsesPaginatedCursor, type BatchCreateParams as BatchCreateParams, type BatchListParams as BatchListParams, type BatchGetParams as BatchGetParams, };
|
|
490
|
+
}
|
|
491
|
+
//# sourceMappingURL=batches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batches.d.ts","sourceRoot":"","sources":["../src/resources/batches.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,qBAAqB,EAAE,8BAA2B;AAC9F,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAK5F;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,iCAAiC,EAAE,iBAAiB,CAAC;IAOpE;;;;;;;OAOG;IACH,GAAG,CACD,OAAO,EAAE,MAAM,EACf,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;CAGhC;AAED,MAAM,MAAM,iCAAiC,GAAG,eAAe,CAAC,iBAAiB,CAAC,C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AAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Batches = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
class Batches extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Create a batch over a source directory and start processing asynchronously.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const batch = await client.batches.create({
|
|
15
|
+
* config: {
|
|
16
|
+
* job: {
|
|
17
|
+
* configuration_id: 'cfg-PARSE_AGENTIC',
|
|
18
|
+
* type: 'parse_v2',
|
|
19
|
+
* },
|
|
20
|
+
* },
|
|
21
|
+
* source_directory_id:
|
|
22
|
+
* 'dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee',
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
create(params, options) {
|
|
27
|
+
const { organization_id, project_id, ...body } = params;
|
|
28
|
+
return this._client.post('/api/v2/batches', { query: { organization_id, project_id }, body, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* List batches for the current project.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* // Automatically fetches more pages as needed.
|
|
36
|
+
* for await (const batchListResponse of client.batches.list()) {
|
|
37
|
+
* // ...
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
list(query = {}, options) {
|
|
42
|
+
return this._client.getAPIList('/api/v2/batches', (pagination_1.PaginatedCursor), {
|
|
43
|
+
query,
|
|
44
|
+
...options,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Get a batch by ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const batch = await client.batches.get('batch_id');
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
get(batchID, query = {}, options) {
|
|
56
|
+
return this._client.get((0, path_1.path) `/api/v2/batches/${batchID}`, { query, ...options });
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.Batches = Batches;
|
|
60
|
+
//# sourceMappingURL=batches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batches.js","sourceRoot":"","sources":["../src/resources/batches.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA8F;AAE9F,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,MAAyB,EAAE,OAAwB;QACxD,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,4BAAkC,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,OAAe,EACf,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF;AA3DD,0BA2DC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { PaginatedCursor } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class Batches extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create a batch over a source directory and start processing asynchronously.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const batch = await client.batches.create({
|
|
12
|
+
* config: {
|
|
13
|
+
* job: {
|
|
14
|
+
* configuration_id: 'cfg-PARSE_AGENTIC',
|
|
15
|
+
* type: 'parse_v2',
|
|
16
|
+
* },
|
|
17
|
+
* },
|
|
18
|
+
* source_directory_id:
|
|
19
|
+
* 'dir-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee',
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
create(params, options) {
|
|
24
|
+
const { organization_id, project_id, ...body } = params;
|
|
25
|
+
return this._client.post('/api/v2/batches', { query: { organization_id, project_id }, body, ...options });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* List batches for the current project.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* // Automatically fetches more pages as needed.
|
|
33
|
+
* for await (const batchListResponse of client.batches.list()) {
|
|
34
|
+
* // ...
|
|
35
|
+
* }
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
list(query = {}, options) {
|
|
39
|
+
return this._client.getAPIList('/api/v2/batches', (PaginatedCursor), {
|
|
40
|
+
query,
|
|
41
|
+
...options,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get a batch by ID.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* const batch = await client.batches.get('batch_id');
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
get(batchID, query = {}, options) {
|
|
53
|
+
return this._client.get(path `/api/v2/batches/${batchID}`, { query, ...options });
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=batches.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batches.mjs","sourceRoot":"","sources":["../src/resources/batches.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAe,eAAe,EAA8B,+BAA2B;AAE9F,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,MAAyB,EAAE,OAAwB;QACxD,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,eAAkC,CAAA,EAAE;YACpF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,OAAe,EACf,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-data.d.mts","sourceRoot":"","sources":["../../src/resources/beta/agent-data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-data.d.mts","sourceRoot":"","sources":["../../src/resources/beta/agent-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,KAAK,yBAAyB,EAAE,kCAA8B;AACzG,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAStF;;;;OAIG;IACH,SAAS,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAIzF;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAStG;;;;;;;;;OASG;IACH,MAAM,CACJ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