@llamaindex/llama-cloud 2.9.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 +20 -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 +4 -4
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +4 -4
- package/resources/batches.d.ts.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 +47 -47
- package/resources/beta/directories/files.d.mts.map +1 -1
- package/resources/beta/directories/files.d.ts +47 -47
- 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 +3 -3
- package/resources/beta/retrieval.d.mts.map +1 -1
- package/resources/beta/retrieval.d.ts +3 -3
- package/resources/beta/retrieval.d.ts.map +1 -1
- package/resources/beta/sheets.d.mts +23 -56
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +23 -56
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/beta/sheets.js +19 -52
- package/resources/beta/sheets.js.map +1 -1
- package/resources/beta/sheets.mjs +19 -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 +1 -1
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +1 -1
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classify.d.mts +13 -11
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts +13 -11
- package/resources/classify.d.ts.map +1 -1
- package/resources/configurations.d.mts +62 -43
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +62 -43
- 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 +48 -46
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +48 -46
- 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 +73 -51
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +73 -51
- 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 +11 -3
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +11 -3
- 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 +4 -4
- package/src/resources/beta/agent-data.ts +131 -131
- package/src/resources/beta/batch/batch.ts +59 -54
- package/src/resources/beta/batch/index.ts +1 -1
- package/src/resources/beta/batch/job-items.ts +26 -21
- 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 +66 -66
- 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 +3 -3
- package/src/resources/beta/sheets.ts +74 -97
- package/src/resources/beta/split.ts +2 -2
- package/src/resources/classifier/jobs.ts +1 -1
- package/src/resources/classify.ts +51 -39
- package/src/resources/configurations.ts +84 -63
- package/src/resources/data-sinks.ts +26 -26
- package/src/resources/data-sources.ts +43 -43
- package/src/resources/extract.ts +109 -97
- package/src/resources/files.ts +61 -61
- package/src/resources/index.ts +21 -12
- package/src/resources/parsing.ts +229 -204
- 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 +228 -207
- 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 +12 -3
- 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
package/resources/files.mjs
CHANGED
|
@@ -18,6 +18,19 @@ export class Files extends APIResource {
|
|
|
18
18
|
const { organization_id, project_id, ...body } = params;
|
|
19
19
|
return this._client.post('/api/v1/beta/files', multipartFormRequestOptions({ query: { organization_id, project_id }, body, ...options }, this._client));
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Query files with filtering and pagination. Deprecated: use `GET /files`.
|
|
23
|
+
*
|
|
24
|
+
* @deprecated Use the GET /files endpoint instead
|
|
25
|
+
*/
|
|
26
|
+
query(params, options) {
|
|
27
|
+
const { organization_id, project_id, ...body } = params;
|
|
28
|
+
return this._client.post('/api/v1/beta/files/query', {
|
|
29
|
+
query: { organization_id, project_id },
|
|
30
|
+
body,
|
|
31
|
+
...options,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
21
34
|
/**
|
|
22
35
|
* List files with optional filtering and pagination.
|
|
23
36
|
*
|
|
@@ -47,18 +60,5 @@ export class Files extends APIResource {
|
|
|
47
60
|
get(fileID, query = {}, options) {
|
|
48
61
|
return this._client.get(path `/api/v1/beta/files/${fileID}/content`, { query, ...options });
|
|
49
62
|
}
|
|
50
|
-
/**
|
|
51
|
-
* Query files with filtering and pagination. Deprecated: use `GET /files`.
|
|
52
|
-
*
|
|
53
|
-
* @deprecated Use the GET /files endpoint instead
|
|
54
|
-
*/
|
|
55
|
-
query(params, options) {
|
|
56
|
-
const { organization_id, project_id, ...body } = params;
|
|
57
|
-
return this._client.post('/api/v1/beta/files/query', {
|
|
58
|
-
query: { organization_id, project_id },
|
|
59
|
-
body,
|
|
60
|
-
...options,
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
63
|
}
|
|
64
64
|
//# sourceMappingURL=files.mjs.map
|
package/resources/files.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.mjs","sourceRoot":"","sources":["../src/resources/files.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAe,eAAe,EAA8B,+BAA2B;AAE9F,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,2BAA2B,EAAE,gCAA4B;AAClE,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;OAQG;IACH,MAAM,CAAC,MAAwB,EAAE,OAAwB;QACvD,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,oBAAoB,EACpB,2BAA2B,CAAC,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CACxG,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,eAAiC,CAAA,EAAE;YACtF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,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ED
|
@@ -3,13 +3,14 @@ export { Batches, type BatchCreateResponse, type BatchListResponse, type BatchGe
|
|
|
3
3
|
export { Beta } from "./beta/beta.mjs";
|
|
4
4
|
export { Classifier } from "./classifier/classifier.mjs";
|
|
5
5
|
export { Classify, type ClassifyConfiguration, type ClassifyCreateRequest, type ClassifyResult, type ClassifyCreateResponse, type ClassifyListResponse, type ClassifyGetResponse, type ClassifyCreateParams, type ClassifyListParams, type ClassifyGetParams, type ClassifyListResponsesPaginatedCursor, } from "./classify.mjs";
|
|
6
|
-
export { Configurations, type ClassifyV2Parameters, type ConfigurationCreate, type ConfigurationResponse, type ExtractV2Parameters, type ParseV2Parameters, type SplitV1Parameters, type UntypedParameters, type ConfigurationCreateParams, type
|
|
7
|
-
export { DataSinks, type DataSink, type DataSinkListResponse, type
|
|
8
|
-
export { DataSources, type DataSource, type DataSourceReaderVersionMetadata, type DataSourceListResponse, type
|
|
9
|
-
export { Extract, type ExtractConfiguration, type ExtractJobMetadata, type ExtractJobUsage, type ExtractV2Job, type ExtractV2JobCreate, type ExtractV2JobQueryResponse, type ExtractV2SchemaGenerateRequest, type ExtractV2SchemaValidateRequest, type ExtractV2SchemaValidateResponse, type ExtractedFieldMetadata, type ExtractDeleteResponse, type ExtractCreateParams, type ExtractListParams, type
|
|
10
|
-
export { Files, type File, type PresignedURL, type FileCreateResponse, type FileListResponse, type FileQueryResponse, type FileCreateParams, type
|
|
11
|
-
export { Parsing, type BBox, type CodeItem, type FailPageMode, type FooterItem, type HeaderItem, type HeadingItem, type ImageItem, type LinkItem, type ListItem, type LlamaParseSupportedFileExtensions, type ParsingJob, type ParsingLanguages, type ParsingMode, type StatusEnum, type TableItem, type TextItem, type ParsingCreateResponse, type ParsingListResponse, type ParsingGetResponse, type ParsingCreateParams, type
|
|
12
|
-
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 { Configurations, type ClassifyV2Parameters, type ConfigurationCreate, type ConfigurationResponse, type ExtractV2Parameters, type ParseV2Parameters, type SplitV1Parameters, type UntypedParameters, type ConfigurationCreateParams, type ConfigurationListParams, type ConfigurationRetrieveParams, type ConfigurationUpdateParams, type ConfigurationDeleteParams, type ConfigurationResponsesPaginatedCursor, } from "./configurations.mjs";
|
|
7
|
+
export { DataSinks, type DataSink, type DataSinkListResponse, type DataSinkListParams, type DataSinkCreateParams, type DataSinkUpdateParams, } from "./data-sinks.mjs";
|
|
8
|
+
export { DataSources, type DataSource, type DataSourceReaderVersionMetadata, type DataSourceListResponse, type DataSourceListParams, type DataSourceCreateParams, type DataSourceUpdateParams, } from "./data-sources.mjs";
|
|
9
|
+
export { Extract, type ExtractConfiguration, type ExtractJobMetadata, type ExtractJobUsage, type ExtractV2Job, type ExtractV2JobCreate, type ExtractV2JobQueryResponse, type ExtractV2SchemaGenerateRequest, type ExtractV2SchemaValidateRequest, type ExtractV2SchemaValidateResponse, type ExtractedFieldMetadata, type ExtractDeleteResponse, type ExtractCreateParams, type ExtractListParams, type ExtractGetParams, type ExtractDeleteParams, type ExtractValidateSchemaParams, type ExtractGenerateSchemaParams, type ExtractV2JobsPaginatedCursor, } from "./extract.mjs";
|
|
10
|
+
export { Files, type File, type PresignedURL, type FileCreateResponse, type FileListResponse, type FileQueryResponse, type FileCreateParams, type FileQueryParams, type FileListParams, type FileDeleteParams, type FileGetParams, type FileListResponsesPaginatedCursor, } from "./files.mjs";
|
|
11
|
+
export { Parsing, type BBox, type CodeItem, type FailPageMode, type FooterItem, type HeaderItem, type HeadingItem, type ImageItem, type LinkItem, type ListItem, type LlamaParseSupportedFileExtensions, type ParsingJob, type ParsingLanguages, type ParsingMode, type StatusEnum, type TableItem, type TextItem, type ParsingCreateResponse, type ParsingListResponse, type ParsingGetResponse, type ParsingCreateParams, type ParsingGetParams, type ParsingListParams, type ParsingListResponsesPaginatedCursor, } from "./parsing.mjs";
|
|
12
|
+
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/pipelines.mjs";
|
|
13
13
|
export { Projects, type Project, type ProjectListResponse, type ProjectListParams, type ProjectGetParams, } from "./projects.mjs";
|
|
14
|
-
export { Retrievers, type CompositeRetrievalMode, type CompositeRetrievalResult, type ReRankConfig, type Retriever, type RetrieverCreate, type RetrieverPipeline, type RetrieverListResponse, type RetrieverCreateParams, type
|
|
14
|
+
export { Retrievers, type CompositeRetrievalMode, type CompositeRetrievalResult, type ReRankConfig, type Retriever, type RetrieverCreate, type RetrieverPipeline, type RetrieverListResponse, type RetrieverCreateParams, type RetrieverUpsertParams, type RetrieverListParams, type RetrieverGetParams, type RetrieverUpdateParams, type RetrieverDeleteParams, type RetrieverSearchParams, } from "./retrievers/retrievers.mjs";
|
|
15
|
+
export { Sheets, type SheetDeleteJobResponse, type SheetCreateParams, type SheetListParams, type SheetGetParams, type SheetGetResultTableParams, type SheetDeleteJobParams, } from "./sheets.mjs";
|
|
15
16
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iCAAiC,GACvC,sBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EAAE,UAAU,EAAE,oCAAgC;AACrD,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oCAAoC,GAC1C,uBAAmB;AACpB,OAAO,EACL,cAAc,EACd,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,6BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iCAAiC,GACvC,sBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EAAE,UAAU,EAAE,oCAAgC;AACrD,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oCAAoC,GAC1C,uBAAmB;AACpB,OAAO,EACL,cAAc,EACd,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,qCAAqC,GAC3C,6BAAyB;AAC1B,OAAO,EACL,SAAS,EACT,KAAK,QAAQ,EACb,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,yBAAqB;AACtB,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B,2BAAuB;AACxB,OAAO,EACL,OAAO,EACP,KAAK,oBAA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AC9B,KAAK,oBAAoB,GAC1B,qBAAiB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -3,13 +3,14 @@ export { Batches, type BatchCreateResponse, type BatchListResponse, type BatchGe
|
|
|
3
3
|
export { Beta } from "./beta/beta.js";
|
|
4
4
|
export { Classifier } from "./classifier/classifier.js";
|
|
5
5
|
export { Classify, type ClassifyConfiguration, type ClassifyCreateRequest, type ClassifyResult, type ClassifyCreateResponse, type ClassifyListResponse, type ClassifyGetResponse, type ClassifyCreateParams, type ClassifyListParams, type ClassifyGetParams, type ClassifyListResponsesPaginatedCursor, } from "./classify.js";
|
|
6
|
-
export { Configurations, type ClassifyV2Parameters, type ConfigurationCreate, type ConfigurationResponse, type ExtractV2Parameters, type ParseV2Parameters, type SplitV1Parameters, type UntypedParameters, type ConfigurationCreateParams, type
|
|
7
|
-
export { DataSinks, type DataSink, type DataSinkListResponse, type
|
|
8
|
-
export { DataSources, type DataSource, type DataSourceReaderVersionMetadata, type DataSourceListResponse, type
|
|
9
|
-
export { Extract, type ExtractConfiguration, type ExtractJobMetadata, type ExtractJobUsage, type ExtractV2Job, type ExtractV2JobCreate, type ExtractV2JobQueryResponse, type ExtractV2SchemaGenerateRequest, type ExtractV2SchemaValidateRequest, type ExtractV2SchemaValidateResponse, type ExtractedFieldMetadata, type ExtractDeleteResponse, type ExtractCreateParams, type ExtractListParams, type
|
|
10
|
-
export { Files, type File, type PresignedURL, type FileCreateResponse, type FileListResponse, type FileQueryResponse, type FileCreateParams, type
|
|
11
|
-
export { Parsing, type BBox, type CodeItem, type FailPageMode, type FooterItem, type HeaderItem, type HeadingItem, type ImageItem, type LinkItem, type ListItem, type LlamaParseSupportedFileExtensions, type ParsingJob, type ParsingLanguages, type ParsingMode, type StatusEnum, type TableItem, type TextItem, type ParsingCreateResponse, type ParsingListResponse, type ParsingGetResponse, type ParsingCreateParams, type
|
|
12
|
-
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 { Configurations, type ClassifyV2Parameters, type ConfigurationCreate, type ConfigurationResponse, type ExtractV2Parameters, type ParseV2Parameters, type SplitV1Parameters, type UntypedParameters, type ConfigurationCreateParams, type ConfigurationListParams, type ConfigurationRetrieveParams, type ConfigurationUpdateParams, type ConfigurationDeleteParams, type ConfigurationResponsesPaginatedCursor, } from "./configurations.js";
|
|
7
|
+
export { DataSinks, type DataSink, type DataSinkListResponse, type DataSinkListParams, type DataSinkCreateParams, type DataSinkUpdateParams, } from "./data-sinks.js";
|
|
8
|
+
export { DataSources, type DataSource, type DataSourceReaderVersionMetadata, type DataSourceListResponse, type DataSourceListParams, type DataSourceCreateParams, type DataSourceUpdateParams, } from "./data-sources.js";
|
|
9
|
+
export { Extract, type ExtractConfiguration, type ExtractJobMetadata, type ExtractJobUsage, type ExtractV2Job, type ExtractV2JobCreate, type ExtractV2JobQueryResponse, type ExtractV2SchemaGenerateRequest, type ExtractV2SchemaValidateRequest, type ExtractV2SchemaValidateResponse, type ExtractedFieldMetadata, type ExtractDeleteResponse, type ExtractCreateParams, type ExtractListParams, type ExtractGetParams, type ExtractDeleteParams, type ExtractValidateSchemaParams, type ExtractGenerateSchemaParams, type ExtractV2JobsPaginatedCursor, } from "./extract.js";
|
|
10
|
+
export { Files, type File, type PresignedURL, type FileCreateResponse, type FileListResponse, type FileQueryResponse, type FileCreateParams, type FileQueryParams, type FileListParams, type FileDeleteParams, type FileGetParams, type FileListResponsesPaginatedCursor, } from "./files.js";
|
|
11
|
+
export { Parsing, type BBox, type CodeItem, type FailPageMode, type FooterItem, type HeaderItem, type HeadingItem, type ImageItem, type LinkItem, type ListItem, type LlamaParseSupportedFileExtensions, type ParsingJob, type ParsingLanguages, type ParsingMode, type StatusEnum, type TableItem, type TextItem, type ParsingCreateResponse, type ParsingListResponse, type ParsingGetResponse, type ParsingCreateParams, type ParsingGetParams, type ParsingListParams, type ParsingListResponsesPaginatedCursor, } from "./parsing.js";
|
|
12
|
+
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/pipelines.js";
|
|
13
13
|
export { Projects, type Project, type ProjectListResponse, type ProjectListParams, type ProjectGetParams, } from "./projects.js";
|
|
14
|
-
export { Retrievers, type CompositeRetrievalMode, type CompositeRetrievalResult, type ReRankConfig, type Retriever, type RetrieverCreate, type RetrieverPipeline, type RetrieverListResponse, type RetrieverCreateParams, type
|
|
14
|
+
export { Retrievers, type CompositeRetrievalMode, type CompositeRetrievalResult, type ReRankConfig, type Retriever, type RetrieverCreate, type RetrieverPipeline, type RetrieverListResponse, type RetrieverCreateParams, type RetrieverUpsertParams, type RetrieverListParams, type RetrieverGetParams, type RetrieverUpdateParams, type RetrieverDeleteParams, type RetrieverSearchParams, } from "./retrievers/retrievers.js";
|
|
15
|
+
export { Sheets, type SheetDeleteJobResponse, type SheetCreateParams, type SheetListParams, type SheetGetParams, type SheetGetResultTableParams, type SheetDeleteJobParams, } from "./sheets.js";
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,4BAAyB;AACzB,OAAO,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iCAAiC,GACvC,qBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,uBAAoB;AACnC,OAAO,EAAE,UAAU,EAAE,mCAAgC;AACrD,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,oCAAoC,GAC1C,sBAAmB;AACpB,OAAO,EACL,cAAc,EACd,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EA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,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,GAC1B,oBAAiB"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Retrievers = exports.Projects = exports.Pipelines = exports.Parsing = exports.Files = exports.Extract = exports.DataSources = exports.DataSinks = exports.Configurations = exports.Classify = exports.Classifier = exports.Beta = exports.Batches = void 0;
|
|
4
|
+
exports.Sheets = exports.Retrievers = exports.Projects = exports.Pipelines = exports.Parsing = exports.Files = exports.Extract = exports.DataSources = exports.DataSinks = exports.Configurations = exports.Classify = exports.Classifier = exports.Beta = exports.Batches = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
7
|
var batches_1 = require("./batches.js");
|
|
@@ -30,4 +30,6 @@ var projects_1 = require("./projects.js");
|
|
|
30
30
|
Object.defineProperty(exports, "Projects", { enumerable: true, get: function () { return projects_1.Projects; } });
|
|
31
31
|
var retrievers_1 = require("./retrievers/retrievers.js");
|
|
32
32
|
Object.defineProperty(exports, "Retrievers", { enumerable: true, get: function () { return retrievers_1.Retrievers; } });
|
|
33
|
+
var sheets_1 = require("./sheets.js");
|
|
34
|
+
Object.defineProperty(exports, "Sheets", { enumerable: true, get: function () { return sheets_1.Sheets; } });
|
|
33
35
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,wCASmB;AARjB,kGAAA,OAAO,OAAA;AAST,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,yDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA;AAYV,sDAe0B;AAdxB,gHAAA,cAAc,OAAA;AAehB,8CAOsB;AANpB,uGAAA,SAAS,OAAA;AAOX,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,wCAoBmB;AAnBjB,kGAAA,OAAO,OAAA;AAoBT,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,wCAyBmB;AAxBjB,kGAAA,OAAO,OAAA;AAyBT,sDAyC+B;AAxC7B,sGAAA,SAAS,OAAA;AAyCX,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,yDAgBiC;AAf/B,wGAAA,UAAU,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,wCASmB;AARjB,kGAAA,OAAO,OAAA;AAST,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,yDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,0CAYoB;AAXlB,oGAAA,QAAQ,OAAA;AAYV,sDAe0B;AAdxB,gHAAA,cAAc,OAAA;AAehB,8CAOsB;AANpB,uGAAA,SAAS,OAAA;AAOX,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,wCAoBmB;AAnBjB,kGAAA,OAAO,OAAA;AAoBT,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,wCAyBmB;AAxBjB,kGAAA,OAAO,OAAA;AAyBT,sDAyC+B;AAxC7B,sGAAA,SAAS,OAAA;AAyCX,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,yDAgBiC;AAf/B,wGAAA,UAAU,OAAA;AAgBZ,sCAQkB;AAPhB,gGAAA,MAAM,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -13,4 +13,5 @@ export { Parsing, } from "./parsing.mjs";
|
|
|
13
13
|
export { Pipelines, } from "./pipelines/pipelines.mjs";
|
|
14
14
|
export { Projects, } from "./projects.mjs";
|
|
15
15
|
export { Retrievers, } from "./retrievers/retrievers.mjs";
|
|
16
|
+
export { Sheets, } from "./sheets.mjs";
|
|
16
17
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,OAAO,GAQR,sBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EAAE,UAAU,EAAE,oCAAgC;AACrD,OAAO,EACL,QAAQ,GAWT,uBAAmB;AACpB,OAAO,EACL,cAAc,GAcf,6BAAyB;AAC1B,OAAO,EACL,SAAS,GAMV,yBAAqB;AACtB,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EACL,OAAO,GAmBR,sBAAkB;AACnB,OAAO,EACL,KAAK,GAYN,oBAAgB;AACjB,OAAO,EACL,OAAO,GAwBR,sBAAkB;AACnB,OAAO,EACL,SAAS,GAwCV,kCAA8B;AAC/B,OAAO,EACL,QAAQ,GAKT,uBAAmB;AACpB,OAAO,EACL,UAAU,GAeX,oCAAgC"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,6BAAyB;AACzB,OAAO,EACL,OAAO,GAQR,sBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EAAE,UAAU,EAAE,oCAAgC;AACrD,OAAO,EACL,QAAQ,GAWT,uBAAmB;AACpB,OAAO,EACL,cAAc,GAcf,6BAAyB;AAC1B,OAAO,EACL,SAAS,GAMV,yBAAqB;AACtB,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EACL,OAAO,GAmBR,sBAAkB;AACnB,OAAO,EACL,KAAK,GAYN,oBAAgB;AACjB,OAAO,EACL,OAAO,GAwBR,sBAAkB;AACnB,OAAO,EACL,SAAS,GAwCV,kCAA8B;AAC/B,OAAO,EACL,QAAQ,GAKT,uBAAmB;AACpB,OAAO,EACL,UAAU,GAeX,oCAAgC;AACjC,OAAO,EACL,MAAM,GAOP,qBAAiB"}
|
package/resources/parsing.d.mts
CHANGED
|
@@ -26,13 +26,6 @@ export declare class Parsing extends APIResource {
|
|
|
26
26
|
create(params: ParsingCreateParams & {
|
|
27
27
|
upload_file?: Uploadable;
|
|
28
28
|
}, options?: RequestOptions): APIPromise<ParsingCreateResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* List parse jobs for the current project.
|
|
31
|
-
*
|
|
32
|
-
* Filter by `status` or creation date range. Results are paginated — use
|
|
33
|
-
* `page_token` from the response to fetch subsequent pages.
|
|
34
|
-
*/
|
|
35
|
-
list(query?: ParsingListParams | null | undefined, options?: RequestOptions): PagePromise<ParsingListResponsesPaginatedCursor, ParsingListResponse>;
|
|
36
29
|
/**
|
|
37
30
|
* Retrieve a parse job with optional expanded content.
|
|
38
31
|
*
|
|
@@ -47,6 +40,13 @@ export declare class Parsing extends APIResource {
|
|
|
47
40
|
* downloading large results.
|
|
48
41
|
*/
|
|
49
42
|
get(jobID: string, query?: ParsingGetParams | null | undefined, options?: RequestOptions): APIPromise<ParsingGetResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* List parse jobs for the current project.
|
|
45
|
+
*
|
|
46
|
+
* Filter by `status` or creation date range. Results are paginated — use
|
|
47
|
+
* `page_token` from the response to fetch subsequent pages.
|
|
48
|
+
*/
|
|
49
|
+
list(query?: ParsingListParams | null | undefined, options?: RequestOptions): PagePromise<ParsingListResponsesPaginatedCursor, ParsingListResponse>;
|
|
50
50
|
/**
|
|
51
51
|
* Wait for a parse job to complete by polling until it reaches a terminal state.
|
|
52
52
|
*
|
|
@@ -197,12 +197,12 @@ export interface CodeItem {
|
|
|
197
197
|
/**
|
|
198
198
|
* Enum for representing the different available page error handling modes.
|
|
199
199
|
*/
|
|
200
|
-
export type FailPageMode = '
|
|
200
|
+
export type FailPageMode = 'blank_page' | 'error_message' | 'raw_text';
|
|
201
201
|
export interface FooterItem {
|
|
202
202
|
/**
|
|
203
203
|
* List of items within the footer
|
|
204
204
|
*/
|
|
205
|
-
items: Array<
|
|
205
|
+
items: Array<CodeItem | HeadingItem | ImageItem | LinkItem | ListItem | TableItem | TextItem>;
|
|
206
206
|
/**
|
|
207
207
|
* Markdown representation preserving formatting
|
|
208
208
|
*/
|
|
@@ -220,7 +220,7 @@ export interface HeaderItem {
|
|
|
220
220
|
/**
|
|
221
221
|
* List of items within the header
|
|
222
222
|
*/
|
|
223
|
-
items: Array<
|
|
223
|
+
items: Array<CodeItem | HeadingItem | ImageItem | LinkItem | ListItem | TableItem | TextItem>;
|
|
224
224
|
/**
|
|
225
225
|
* Markdown representation preserving formatting
|
|
226
226
|
*/
|
|
@@ -325,7 +325,7 @@ export interface ListItem {
|
|
|
325
325
|
/**
|
|
326
326
|
* Enum for supported file extensions.
|
|
327
327
|
*/
|
|
328
|
-
export type LlamaParseSupportedFileExtensions = '.
|
|
328
|
+
export type LlamaParseSupportedFileExtensions = '.abw' | '.awt' | '.azw' | '.azw3' | '.azw4' | '.bmp' | '.cb7' | '.cbc' | '.cbr' | '.cbz' | '.cgm' | '.chm' | '.csv' | '.cwk' | '.dbf' | '.dif' | '.djvu' | '.doc' | '.docm' | '.docx' | '.dot' | '.dotm' | '.dotx' | '.epub' | '.et' | '.eth' | '.fb2' | '.fbz' | '.fodg' | '.fodp' | '.fods' | '.fodt' | '.fopd' | '.gif' | '.heic' | '.heif' | '.htm' | '.html' | '.htmlz' | '.hwp' | '.jpeg' | '.jpg' | '.key' | '.lit' | '.lrf' | '.lwp' | '.m4a' | '.mcw' | '.md' | '.mobi' | '.mp3' | '.mp4' | '.mpeg' | '.mpga' | '.mw' | '.mwd' | '.numbers' | '.odf' | '.odg' | '.odp' | '.ods' | '.odt' | '.otg' | '.otp' | '.ots' | '.ott' | '.pages' | '.pbd' | '.pdb' | '.pdf' | '.pml' | '.png' | '.pot' | '.potm' | '.potx' | '.ppt' | '.pptm' | '.pptx' | '.prc' | '.prn' | '.psw' | '.qpw' | '.rb' | '.rtf' | '.sda' | '.sdd' | '.sdp' | '.sdw' | '.sgl' | '.slk' | '.snb' | '.stc' | '.std' | '.sti' | '.stw' | '.svg' | '.sxc' | '.sxd' | '.sxg' | '.sxi' | '.sxm' | '.sxw' | '.sylk' | '.tcr' | '.tif' | '.tiff' | '.tsv' | '.txtz' | '.uof' | '.uop' | '.uos' | '.uos1' | '.uos2' | '.uot' | '.vdx' | '.vor' | '.vsd' | '.vsdm' | '.vsdx' | '.wav' | '.wb1' | '.wb2' | '.wb3' | '.webm' | '.webp' | '.wk1' | '.wk2' | '.wk3' | '.wk4' | '.wks' | '.wn' | '.wpd' | '.wps' | '.wpt' | '.wq1' | '.wq2' | '.wri' | '.xhtm' | '.xlr' | '.xls' | '.xlsb' | '.xlsm' | '.xlsx' | '.xlw' | '.xml' | '.yxmd' | '.zabw';
|
|
329
329
|
/**
|
|
330
330
|
* A parse job (v1).
|
|
331
331
|
*/
|
|
@@ -350,15 +350,15 @@ export interface ParsingJob {
|
|
|
350
350
|
/**
|
|
351
351
|
* Enum for representing the languages supported by the parser.
|
|
352
352
|
*/
|
|
353
|
-
export type ParsingLanguages = '
|
|
353
|
+
export type ParsingLanguages = 'abq' | 'ady' | 'af' | 'ang' | 'ar' | 'as' | 'ava' | 'az' | 'be' | 'bg' | 'bgc' | 'bh' | 'bho' | 'bn' | 'bs' | 'ch_sim' | 'ch_tra' | 'che' | 'cs' | 'cy' | 'da' | 'dar' | 'de' | 'en' | 'es' | 'et' | 'fa' | 'fr' | 'ga' | 'gom' | 'hi' | 'hr' | 'hu' | 'id' | 'inh' | 'is' | 'it' | 'ja' | 'kbd' | 'kn' | 'ko' | 'ku' | 'la' | 'lbe' | 'lez' | 'lt' | 'lv' | 'mah' | 'mai' | 'mi' | 'mn' | 'mni' | 'mr' | 'ms' | 'mt' | 'ne' | 'new' | 'nl' | 'no' | 'oc' | 'pi' | 'pl' | 'pt' | 'ro' | 'rs_cyrillic' | 'rs_latin' | 'ru' | 'sa' | 'sck' | 'sk' | 'sl' | 'sq' | 'sv' | 'sw' | 'ta' | 'tab' | 'te' | 'th' | 'tjk' | 'tl' | 'tr' | 'ug' | 'uk' | 'ur' | 'uz' | 'vi';
|
|
354
354
|
/**
|
|
355
355
|
* Enum for representing the mode of parsing to be used.
|
|
356
356
|
*/
|
|
357
|
-
export type ParsingMode = '
|
|
357
|
+
export type ParsingMode = 'parse_document_with_agent' | 'parse_document_with_llm' | 'parse_document_with_lvm' | 'parse_page_with_agent' | 'parse_page_with_layout_agent' | 'parse_page_with_llm' | 'parse_page_with_lvm' | 'parse_page_without_llm';
|
|
358
358
|
/**
|
|
359
359
|
* Enum for representing the status of a job
|
|
360
360
|
*/
|
|
361
|
-
export type StatusEnum = '
|
|
361
|
+
export type StatusEnum = 'CANCELLED' | 'ERROR' | 'PARTIAL_SUCCESS' | 'PENDING' | 'SUCCESS';
|
|
362
362
|
export interface TableItem {
|
|
363
363
|
/**
|
|
364
364
|
* CSV representation of the table
|
|
@@ -446,7 +446,7 @@ export interface ParsingCreateResponse {
|
|
|
446
446
|
/**
|
|
447
447
|
* Current job status: PENDING, RUNNING, COMPLETED, FAILED, or CANCELLED
|
|
448
448
|
*/
|
|
449
|
-
status: '
|
|
449
|
+
status: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING';
|
|
450
450
|
/**
|
|
451
451
|
* Creation datetime
|
|
452
452
|
*/
|
|
@@ -483,7 +483,7 @@ export interface ParsingListResponse {
|
|
|
483
483
|
/**
|
|
484
484
|
* Current job status: PENDING, RUNNING, COMPLETED, FAILED, or CANCELLED
|
|
485
485
|
*/
|
|
486
|
-
status: '
|
|
486
|
+
status: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING';
|
|
487
487
|
/**
|
|
488
488
|
* Creation datetime
|
|
489
489
|
*/
|
|
@@ -576,7 +576,7 @@ export declare namespace ParsingGetResponse {
|
|
|
576
576
|
/**
|
|
577
577
|
* Current job status: PENDING, RUNNING, COMPLETED, FAILED, or CANCELLED
|
|
578
578
|
*/
|
|
579
|
-
status: '
|
|
579
|
+
status: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING';
|
|
580
580
|
/**
|
|
581
581
|
* Creation datetime
|
|
582
582
|
*/
|
|
@@ -632,7 +632,7 @@ export declare namespace ParsingGetResponse {
|
|
|
632
632
|
* Image category: 'screenshot' (full page), 'embedded' (images in document), or
|
|
633
633
|
* 'layout' (cropped from layout detection)
|
|
634
634
|
*/
|
|
635
|
-
category?: '
|
|
635
|
+
category?: 'embedded' | 'layout' | 'screenshot' | null;
|
|
636
636
|
/**
|
|
637
637
|
* MIME type of the image
|
|
638
638
|
*/
|
|
@@ -685,7 +685,7 @@ export declare namespace ParsingGetResponse {
|
|
|
685
685
|
/**
|
|
686
686
|
* List of structured items on the page
|
|
687
687
|
*/
|
|
688
|
-
items: Array<ParsingAPI.
|
|
688
|
+
items: Array<ParsingAPI.CodeItem | ParsingAPI.FooterItem | ParsingAPI.HeaderItem | ParsingAPI.HeadingItem | ParsingAPI.ImageItem | ParsingAPI.LinkItem | ParsingAPI.ListItem | ParsingAPI.TableItem | ParsingAPI.TextItem>;
|
|
689
689
|
/**
|
|
690
690
|
* Height of the page in points
|
|
691
691
|
*/
|
|
@@ -858,7 +858,7 @@ export interface ParsingCreateParams {
|
|
|
858
858
|
* (balanced), 'agentic' (AI-powered with custom prompts), or 'agentic_plus'
|
|
859
859
|
* (premium AI with highest accuracy)
|
|
860
860
|
*/
|
|
861
|
-
tier: 'fast' | 'cost_effective' | 'agentic' | 'agentic_plus';
|
|
861
|
+
tier: 'fast' | 'cost_effective' | 'agentic' | 'agentic_plus' | (string & {});
|
|
862
862
|
/**
|
|
863
863
|
* Body param: Version for the selected tier. Use `latest`, or pin one of that
|
|
864
864
|
* tier's dated versions.
|
|
@@ -866,13 +866,13 @@ export interface ParsingCreateParams {
|
|
|
866
866
|
* Current `latest` by tier:
|
|
867
867
|
*
|
|
868
868
|
* - `fast`: `2025-12-11`
|
|
869
|
-
* - `cost_effective`: `2026-06-
|
|
870
|
-
* - `agentic`: `2026-06-
|
|
871
|
-
* - `agentic_plus`: `2026-06-
|
|
869
|
+
* - `cost_effective`: `2026-06-18`
|
|
870
|
+
* - `agentic`: `2026-06-18`
|
|
871
|
+
* - `agentic_plus`: `2026-06-18`
|
|
872
872
|
*
|
|
873
873
|
* Full list: `GET /api/v2/parse/versions`.
|
|
874
874
|
*/
|
|
875
|
-
version: 'latest' | '2026-06-
|
|
875
|
+
version: 'latest' | '2026-06-18' | '2025-12-11' | (string & {});
|
|
876
876
|
/**
|
|
877
877
|
* Query param
|
|
878
878
|
*/
|
|
@@ -894,6 +894,11 @@ export interface ParsingCreateParams {
|
|
|
894
894
|
* analytics and debugging. Example: 'my-app-v2'
|
|
895
895
|
*/
|
|
896
896
|
client_name?: string | null;
|
|
897
|
+
/**
|
|
898
|
+
* Body param: ID of a saved parse configuration. When set, `tier` and `version`
|
|
899
|
+
* default to the saved configuration's values — omit them or pass `'configured'`.
|
|
900
|
+
*/
|
|
901
|
+
configuration_id?: string | null;
|
|
897
902
|
/**
|
|
898
903
|
* Body param: Crop boundaries to process only a portion of each page. Values are
|
|
899
904
|
* ratios 0-1 from page edges
|
|
@@ -1004,6 +1009,10 @@ export declare namespace ParsingCreateParams {
|
|
|
1004
1009
|
* HTML/web page parsing options (applies to .html, .htm files)
|
|
1005
1010
|
*/
|
|
1006
1011
|
html?: InputOptions.HTML;
|
|
1012
|
+
/**
|
|
1013
|
+
* Image parsing options (applies to .jpg, .jpeg, .png, .webp files)
|
|
1014
|
+
*/
|
|
1015
|
+
image?: InputOptions.Image;
|
|
1007
1016
|
/**
|
|
1008
1017
|
* PDF-specific parsing options (applies to .pdf files)
|
|
1009
1018
|
*/
|
|
@@ -1037,6 +1046,19 @@ export declare namespace ParsingCreateParams {
|
|
|
1037
1046
|
*/
|
|
1038
1047
|
remove_navigation_elements?: boolean | null;
|
|
1039
1048
|
}
|
|
1049
|
+
/**
|
|
1050
|
+
* Image parsing options (applies to .jpg, .jpeg, .png, .webp files)
|
|
1051
|
+
*/
|
|
1052
|
+
interface Image {
|
|
1053
|
+
/**
|
|
1054
|
+
* Detect documents photographed with a camera (e.g. phone scans of receipts or
|
|
1055
|
+
* forms), then crop, perspective-correct, and flatten uneven lighting and shadows
|
|
1056
|
+
* before parsing. Supports JPEG, PNG, WebP, and HEIC/HEIF inputs. Improves results
|
|
1057
|
+
* when the document is tilted or surrounded by background. Images that already
|
|
1058
|
+
* look like clean scans are left untouched
|
|
1059
|
+
*/
|
|
1060
|
+
camera_photo_correction?: boolean | null;
|
|
1061
|
+
}
|
|
1040
1062
|
/**
|
|
1041
1063
|
* Presentation parsing options (applies to .pptx, .ppt, .odp, .key files)
|
|
1042
1064
|
*/
|
|
@@ -1117,7 +1139,7 @@ export declare namespace ParsingCreateParams {
|
|
|
1117
1139
|
* (cropped regions from layout detection like figures and diagrams). Empty list
|
|
1118
1140
|
* saves no images
|
|
1119
1141
|
*/
|
|
1120
|
-
images_to_save?: Array<'
|
|
1142
|
+
images_to_save?: Array<'embedded' | 'layout' | 'screenshot'>;
|
|
1121
1143
|
/**
|
|
1122
1144
|
* Markdown formatting options including table styles and link annotations
|
|
1123
1145
|
*/
|
|
@@ -1334,7 +1356,7 @@ export declare namespace ParsingCreateParams {
|
|
|
1334
1356
|
* 'agentic' (balanced), 'agentic_plus' (highest accuracy). Automatically enables
|
|
1335
1357
|
* extract_layout and precise_bounding_box when set
|
|
1336
1358
|
*/
|
|
1337
|
-
specialized_chart_parsing?: '
|
|
1359
|
+
specialized_chart_parsing?: 'agentic' | 'agentic_plus' | 'efficient' | null;
|
|
1338
1360
|
}
|
|
1339
1361
|
namespace ProcessingOptions {
|
|
1340
1362
|
/**
|
|
@@ -1543,11 +1565,11 @@ export declare namespace ParsingCreateParams {
|
|
|
1543
1565
|
/**
|
|
1544
1566
|
* Enable specialized chart parsing with the specified mode
|
|
1545
1567
|
*/
|
|
1546
|
-
specialized_chart_parsing?: '
|
|
1568
|
+
specialized_chart_parsing?: 'agentic' | 'agentic_plus' | 'efficient' | null;
|
|
1547
1569
|
/**
|
|
1548
1570
|
* Override the parsing tier for matched pages. Must be paired with version
|
|
1549
1571
|
*/
|
|
1550
|
-
tier?: '
|
|
1572
|
+
tier?: 'agentic' | 'agentic_plus' | 'cost_effective' | 'fast' | null;
|
|
1551
1573
|
/**
|
|
1552
1574
|
* Version for the override tier. Required when `tier` is set. Use `latest`, or pin
|
|
1553
1575
|
* one of that tier's dated versions.
|
|
@@ -1555,13 +1577,13 @@ export declare namespace ParsingCreateParams {
|
|
|
1555
1577
|
* Current `latest` by tier:
|
|
1556
1578
|
*
|
|
1557
1579
|
* - `fast`: `2025-12-11`
|
|
1558
|
-
* - `cost_effective`: `2026-06-
|
|
1559
|
-
* - `agentic`: `2026-06-
|
|
1560
|
-
* - `agentic_plus`: `2026-06-
|
|
1580
|
+
* - `cost_effective`: `2026-06-18`
|
|
1581
|
+
* - `agentic`: `2026-06-18`
|
|
1582
|
+
* - `agentic_plus`: `2026-06-18`
|
|
1561
1583
|
*
|
|
1562
1584
|
* Full list: `GET /api/v2/parse/versions`.
|
|
1563
1585
|
*/
|
|
1564
|
-
version?: 'latest' | '2026-06-
|
|
1586
|
+
version?: 'latest' | '2026-06-18' | '2025-12-11' | (string & {}) | null;
|
|
1565
1587
|
}
|
|
1566
1588
|
namespace ParsingConf {
|
|
1567
1589
|
/**
|
|
@@ -1702,13 +1724,29 @@ export declare namespace ParsingCreateParams {
|
|
|
1702
1724
|
* Format of the webhook payload body. 'string' (default) sends the payload as a
|
|
1703
1725
|
* JSON-encoded string; 'json' sends it as a JSON object.
|
|
1704
1726
|
*/
|
|
1705
|
-
webhook_output_format?: '
|
|
1727
|
+
webhook_output_format?: 'json' | 'string' | null;
|
|
1706
1728
|
/**
|
|
1707
1729
|
* HTTPS URL to receive webhook POST requests. Must be publicly accessible
|
|
1708
1730
|
*/
|
|
1709
1731
|
webhook_url?: string | null;
|
|
1710
1732
|
}
|
|
1711
1733
|
}
|
|
1734
|
+
export interface ParsingGetParams {
|
|
1735
|
+
/**
|
|
1736
|
+
* Fields to include: text, markdown, items, metadata, job_metadata,
|
|
1737
|
+
* text_content_metadata, markdown_content_metadata, items_content_metadata,
|
|
1738
|
+
* metadata_content_metadata, raw_words_content_metadata, xlsx_content_metadata,
|
|
1739
|
+
* output_pdf_content_metadata, images_content_metadata. Metadata fields include
|
|
1740
|
+
* presigned URLs.
|
|
1741
|
+
*/
|
|
1742
|
+
expand?: Array<string>;
|
|
1743
|
+
/**
|
|
1744
|
+
* Filter to specific image filenames (optional). Example: image_0.png,image_1.jpg
|
|
1745
|
+
*/
|
|
1746
|
+
image_filenames?: string | null;
|
|
1747
|
+
organization_id?: string | null;
|
|
1748
|
+
project_id?: string | null;
|
|
1749
|
+
}
|
|
1712
1750
|
export interface ParsingListParams extends PaginatedCursorParams {
|
|
1713
1751
|
/**
|
|
1714
1752
|
* Include items created at or after this timestamp (inclusive)
|
|
@@ -1727,25 +1765,9 @@ export interface ParsingListParams extends PaginatedCursorParams {
|
|
|
1727
1765
|
/**
|
|
1728
1766
|
* Filter by job status (PENDING, RUNNING, COMPLETED, FAILED, CANCELLED)
|
|
1729
1767
|
*/
|
|
1730
|
-
status?: '
|
|
1731
|
-
}
|
|
1732
|
-
export interface ParsingGetParams {
|
|
1733
|
-
/**
|
|
1734
|
-
* Fields to include: text, markdown, items, metadata, job_metadata,
|
|
1735
|
-
* text_content_metadata, markdown_content_metadata, items_content_metadata,
|
|
1736
|
-
* metadata_content_metadata, raw_words_content_metadata, xlsx_content_metadata,
|
|
1737
|
-
* output_pdf_content_metadata, images_content_metadata. Metadata fields include
|
|
1738
|
-
* presigned URLs.
|
|
1739
|
-
*/
|
|
1740
|
-
expand?: Array<string>;
|
|
1741
|
-
/**
|
|
1742
|
-
* Filter to specific image filenames (optional). Example: image_0.png,image_1.jpg
|
|
1743
|
-
*/
|
|
1744
|
-
image_filenames?: string | null;
|
|
1745
|
-
organization_id?: string | null;
|
|
1746
|
-
project_id?: string | null;
|
|
1768
|
+
status?: 'CANCELLED' | 'COMPLETED' | 'FAILED' | 'PENDING' | 'RUNNING' | null;
|
|
1747
1769
|
}
|
|
1748
1770
|
export declare namespace Parsing {
|
|
1749
|
-
export { type BBox as BBox, type CodeItem as CodeItem, type FailPageMode as FailPageMode, type FooterItem as FooterItem, type HeaderItem as HeaderItem, type HeadingItem as HeadingItem, type ImageItem as ImageItem, type LinkItem as LinkItem, type ListItem as ListItem, type LlamaParseSupportedFileExtensions as LlamaParseSupportedFileExtensions, type ParsingJob as ParsingJob, type ParsingLanguages as ParsingLanguages, type ParsingMode as ParsingMode, type StatusEnum as StatusEnum, type TableItem as TableItem, type TextItem as TextItem, type ParsingCreateResponse as ParsingCreateResponse, type ParsingListResponse as ParsingListResponse, type ParsingGetResponse as ParsingGetResponse, type ParsingListResponsesPaginatedCursor as ParsingListResponsesPaginatedCursor, type ParsingCreateParams as ParsingCreateParams, type
|
|
1771
|
+
export { type BBox as BBox, type CodeItem as CodeItem, type FailPageMode as FailPageMode, type FooterItem as FooterItem, type HeaderItem as HeaderItem, type HeadingItem as HeadingItem, type ImageItem as ImageItem, type LinkItem as LinkItem, type ListItem as ListItem, type LlamaParseSupportedFileExtensions as LlamaParseSupportedFileExtensions, type ParsingJob as ParsingJob, type ParsingLanguages as ParsingLanguages, type ParsingMode as ParsingMode, type StatusEnum as StatusEnum, type TableItem as TableItem, type TextItem as TextItem, type ParsingCreateResponse as ParsingCreateResponse, type ParsingListResponse as ParsingListResponse, type ParsingGetResponse as ParsingGetResponse, type ParsingListResponsesPaginatedCursor as ParsingListResponsesPaginatedCursor, type ParsingCreateParams as ParsingCreateParams, type ParsingGetParams as ParsingGetParams, type ParsingListParams as ParsingListParams, };
|
|
1750
1772
|
}
|
|
1751
1773
|
//# sourceMappingURL=parsing.d.mts.map
|