extend-ai 0.0.1-beta
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/Client.d.ts +90 -0
- package/Client.js +196 -0
- package/README.md +167 -0
- package/api/client/index.d.ts +1 -0
- package/api/client/index.js +17 -0
- package/api/client/requests/ParseRequest.d.ts +15 -0
- package/api/client/requests/ParseRequest.js +5 -0
- package/api/client/requests/index.d.ts +1 -0
- package/api/client/requests/index.js +2 -0
- package/api/errors/BadRequestError.d.ts +8 -0
- package/api/errors/BadRequestError.js +52 -0
- package/api/errors/NotFoundError.d.ts +9 -0
- package/api/errors/NotFoundError.js +52 -0
- package/api/errors/UnauthorizedError.d.ts +9 -0
- package/api/errors/UnauthorizedError.js +52 -0
- package/api/errors/UnprocessableEntityError.d.ts +9 -0
- package/api/errors/UnprocessableEntityError.js +52 -0
- package/api/errors/index.d.ts +4 -0
- package/api/errors/index.js +20 -0
- package/api/index.d.ts +4 -0
- package/api/index.js +20 -0
- package/api/resources/batchProcessorRun/client/Client.d.ts +51 -0
- package/api/resources/batchProcessorRun/client/Client.js +134 -0
- package/api/resources/batchProcessorRun/client/index.d.ts +1 -0
- package/api/resources/batchProcessorRun/client/index.js +2 -0
- package/api/resources/batchProcessorRun/index.d.ts +2 -0
- package/api/resources/batchProcessorRun/index.js +18 -0
- package/api/resources/batchProcessorRun/types/BatchProcessorRunGetResponse.d.ts +8 -0
- package/api/resources/batchProcessorRun/types/BatchProcessorRunGetResponse.js +5 -0
- package/api/resources/batchProcessorRun/types/index.d.ts +1 -0
- package/api/resources/batchProcessorRun/types/index.js +17 -0
- package/api/resources/batchWorkflowRun/client/Client.d.ts +62 -0
- package/api/resources/batchWorkflowRun/client/Client.js +149 -0
- package/api/resources/batchWorkflowRun/client/index.d.ts +1 -0
- package/api/resources/batchWorkflowRun/client/index.js +17 -0
- package/api/resources/batchWorkflowRun/client/requests/BatchWorkflowRunCreateRequest.d.ts +23 -0
- package/api/resources/batchWorkflowRun/client/requests/BatchWorkflowRunCreateRequest.js +5 -0
- package/api/resources/batchWorkflowRun/client/requests/index.d.ts +1 -0
- package/api/resources/batchWorkflowRun/client/requests/index.js +2 -0
- package/api/resources/batchWorkflowRun/index.d.ts +2 -0
- package/api/resources/batchWorkflowRun/index.js +18 -0
- package/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateRequestInputsItem.d.ts +14 -0
- package/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateRequestInputsItem.js +5 -0
- package/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateResponse.d.ts +9 -0
- package/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateResponse.js +5 -0
- package/api/resources/batchWorkflowRun/types/index.d.ts +2 -0
- package/api/resources/batchWorkflowRun/types/index.js +18 -0
- package/api/resources/evaluationSet/client/Client.d.ts +54 -0
- package/api/resources/evaluationSet/client/Client.js +136 -0
- package/api/resources/evaluationSet/client/index.d.ts +1 -0
- package/api/resources/evaluationSet/client/index.js +17 -0
- package/api/resources/evaluationSet/client/requests/EvaluationSetCreateRequest.d.ts +31 -0
- package/api/resources/evaluationSet/client/requests/EvaluationSetCreateRequest.js +5 -0
- package/api/resources/evaluationSet/client/requests/index.d.ts +1 -0
- package/api/resources/evaluationSet/client/requests/index.js +2 -0
- package/api/resources/evaluationSet/index.d.ts +2 -0
- package/api/resources/evaluationSet/index.js +18 -0
- package/api/resources/evaluationSet/types/EvaluationSetCreateResponse.d.ts +8 -0
- package/api/resources/evaluationSet/types/EvaluationSetCreateResponse.js +5 -0
- package/api/resources/evaluationSet/types/index.d.ts +1 -0
- package/api/resources/evaluationSet/types/index.js +17 -0
- package/api/resources/evaluationSetItem/client/Client.d.ts +119 -0
- package/api/resources/evaluationSetItem/client/Client.js +310 -0
- package/api/resources/evaluationSetItem/client/index.d.ts +1 -0
- package/api/resources/evaluationSetItem/client/index.js +17 -0
- package/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateBatchRequest.d.ts +28 -0
- package/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateBatchRequest.js +5 -0
- package/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateRequest.d.ts +32 -0
- package/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateRequest.js +5 -0
- package/api/resources/evaluationSetItem/client/requests/EvaluationSetItemUpdateRequest.d.ts +18 -0
- package/api/resources/evaluationSetItem/client/requests/EvaluationSetItemUpdateRequest.js +5 -0
- package/api/resources/evaluationSetItem/client/requests/index.d.ts +3 -0
- package/api/resources/evaluationSetItem/client/requests/index.js +2 -0
- package/api/resources/evaluationSetItem/index.d.ts +2 -0
- package/api/resources/evaluationSetItem/index.js +18 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchRequestItemsItem.d.ts +14 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchRequestItemsItem.js +5 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchResponse.d.ts +8 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchResponse.js +5 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemCreateResponse.d.ts +8 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemCreateResponse.js +5 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemUpdateResponse.d.ts +8 -0
- package/api/resources/evaluationSetItem/types/EvaluationSetItemUpdateResponse.js +5 -0
- package/api/resources/evaluationSetItem/types/index.d.ts +4 -0
- package/api/resources/evaluationSetItem/types/index.js +20 -0
- package/api/resources/file/client/Client.d.ts +91 -0
- package/api/resources/file/client/Client.js +297 -0
- package/api/resources/file/client/index.d.ts +1 -0
- package/api/resources/file/client/index.js +17 -0
- package/api/resources/file/client/requests/FileGetRequest.d.ts +25 -0
- package/api/resources/file/client/requests/FileGetRequest.js +5 -0
- package/api/resources/file/client/requests/FileListRequest.d.ts +24 -0
- package/api/resources/file/client/requests/FileListRequest.js +5 -0
- package/api/resources/file/client/requests/FileUploadRequest.d.ts +9 -0
- package/api/resources/file/client/requests/FileUploadRequest.js +5 -0
- package/api/resources/file/client/requests/index.d.ts +3 -0
- package/api/resources/file/client/requests/index.js +2 -0
- package/api/resources/file/index.d.ts +2 -0
- package/api/resources/file/index.js +18 -0
- package/api/resources/file/types/FileGetResponse.d.ts +8 -0
- package/api/resources/file/types/FileGetResponse.js +5 -0
- package/api/resources/file/types/FileListResponse.d.ts +9 -0
- package/api/resources/file/types/FileListResponse.js +5 -0
- package/api/resources/file/types/FileUploadResponse.d.ts +8 -0
- package/api/resources/file/types/FileUploadResponse.js +5 -0
- package/api/resources/file/types/index.d.ts +3 -0
- package/api/resources/file/types/index.js +19 -0
- package/api/resources/index.d.ts +32 -0
- package/api/resources/index.js +71 -0
- package/api/resources/processor/client/Client.d.ts +70 -0
- package/api/resources/processor/client/Client.js +205 -0
- package/api/resources/processor/client/index.d.ts +1 -0
- package/api/resources/processor/client/index.js +17 -0
- package/api/resources/processor/client/requests/ProcessorCreateRequest.d.ts +24 -0
- package/api/resources/processor/client/requests/ProcessorCreateRequest.js +5 -0
- package/api/resources/processor/client/requests/ProcessorUpdateRequest.d.ts +19 -0
- package/api/resources/processor/client/requests/ProcessorUpdateRequest.js +5 -0
- package/api/resources/processor/client/requests/index.d.ts +2 -0
- package/api/resources/processor/client/requests/index.js +2 -0
- package/api/resources/processor/index.d.ts +2 -0
- package/api/resources/processor/index.js +18 -0
- package/api/resources/processor/types/ProcessorCreateRequestConfig.d.ts +19 -0
- package/api/resources/processor/types/ProcessorCreateRequestConfig.js +5 -0
- package/api/resources/processor/types/ProcessorCreateResponse.d.ts +8 -0
- package/api/resources/processor/types/ProcessorCreateResponse.js +5 -0
- package/api/resources/processor/types/ProcessorUpdateRequestConfig.d.ts +22 -0
- package/api/resources/processor/types/ProcessorUpdateRequestConfig.js +5 -0
- package/api/resources/processor/types/ProcessorUpdateResponse.d.ts +8 -0
- package/api/resources/processor/types/ProcessorUpdateResponse.js +5 -0
- package/api/resources/processor/types/index.d.ts +4 -0
- package/api/resources/processor/types/index.js +20 -0
- package/api/resources/processorRun/client/Client.d.ts +79 -0
- package/api/resources/processorRun/client/Client.js +213 -0
- package/api/resources/processorRun/client/index.d.ts +1 -0
- package/api/resources/processorRun/client/index.js +17 -0
- package/api/resources/processorRun/client/requests/ProcessorRunCreateRequest.d.ts +30 -0
- package/api/resources/processorRun/client/requests/ProcessorRunCreateRequest.js +5 -0
- package/api/resources/processorRun/client/requests/index.d.ts +1 -0
- package/api/resources/processorRun/client/requests/index.js +2 -0
- package/api/resources/processorRun/index.d.ts +2 -0
- package/api/resources/processorRun/index.js +18 -0
- package/api/resources/processorRun/types/ProcessorRunCreateRequestConfig.d.ts +19 -0
- package/api/resources/processorRun/types/ProcessorRunCreateRequestConfig.js +5 -0
- package/api/resources/processorRun/types/ProcessorRunCreateResponse.d.ts +8 -0
- package/api/resources/processorRun/types/ProcessorRunCreateResponse.js +5 -0
- package/api/resources/processorRun/types/ProcessorRunGetResponse.d.ts +8 -0
- package/api/resources/processorRun/types/ProcessorRunGetResponse.js +5 -0
- package/api/resources/processorRun/types/index.d.ts +3 -0
- package/api/resources/processorRun/types/index.js +19 -0
- package/api/resources/processorVersion/client/Client.d.ts +95 -0
- package/api/resources/processorVersion/client/Client.js +280 -0
- package/api/resources/processorVersion/client/index.d.ts +1 -0
- package/api/resources/processorVersion/client/index.js +17 -0
- package/api/resources/processorVersion/client/requests/ProcessorVersionCreateRequest.d.ts +18 -0
- package/api/resources/processorVersion/client/requests/ProcessorVersionCreateRequest.js +5 -0
- package/api/resources/processorVersion/client/requests/index.d.ts +1 -0
- package/api/resources/processorVersion/client/requests/index.js +2 -0
- package/api/resources/processorVersion/index.d.ts +2 -0
- package/api/resources/processorVersion/index.js +18 -0
- package/api/resources/processorVersion/types/ProcessorVersionCreateRequestConfig.d.ts +19 -0
- package/api/resources/processorVersion/types/ProcessorVersionCreateRequestConfig.js +5 -0
- package/api/resources/processorVersion/types/ProcessorVersionCreateRequestReleaseType.d.ts +11 -0
- package/api/resources/processorVersion/types/ProcessorVersionCreateRequestReleaseType.js +10 -0
- package/api/resources/processorVersion/types/ProcessorVersionCreateResponse.d.ts +8 -0
- package/api/resources/processorVersion/types/ProcessorVersionCreateResponse.js +5 -0
- package/api/resources/processorVersion/types/ProcessorVersionGetResponse.d.ts +9 -0
- package/api/resources/processorVersion/types/ProcessorVersionGetResponse.js +5 -0
- package/api/resources/processorVersion/types/ProcessorVersionListResponse.d.ts +9 -0
- package/api/resources/processorVersion/types/ProcessorVersionListResponse.js +5 -0
- package/api/resources/processorVersion/types/index.d.ts +5 -0
- package/api/resources/processorVersion/types/index.js +21 -0
- package/api/resources/workflow/client/Client.d.ts +52 -0
- package/api/resources/workflow/client/Client.js +134 -0
- package/api/resources/workflow/client/index.d.ts +1 -0
- package/api/resources/workflow/client/index.js +17 -0
- package/api/resources/workflow/client/requests/WorkflowCreateRequest.d.ts +13 -0
- package/api/resources/workflow/client/requests/WorkflowCreateRequest.js +5 -0
- package/api/resources/workflow/client/requests/index.d.ts +1 -0
- package/api/resources/workflow/client/requests/index.js +2 -0
- package/api/resources/workflow/index.d.ts +2 -0
- package/api/resources/workflow/index.js +18 -0
- package/api/resources/workflow/types/WorkflowCreateResponse.d.ts +8 -0
- package/api/resources/workflow/types/WorkflowCreateResponse.js +5 -0
- package/api/resources/workflow/types/index.d.ts +1 -0
- package/api/resources/workflow/types/index.js +17 -0
- package/api/resources/workflowRun/client/Client.d.ts +101 -0
- package/api/resources/workflowRun/client/Client.js +356 -0
- package/api/resources/workflowRun/client/index.d.ts +1 -0
- package/api/resources/workflowRun/client/index.js +17 -0
- package/api/resources/workflowRun/client/requests/WorkflowRunCreateRequest.d.ts +34 -0
- package/api/resources/workflowRun/client/requests/WorkflowRunCreateRequest.js +5 -0
- package/api/resources/workflowRun/client/requests/WorkflowRunListRequest.d.ts +46 -0
- package/api/resources/workflowRun/client/requests/WorkflowRunListRequest.js +5 -0
- package/api/resources/workflowRun/client/requests/WorkflowRunUpdateRequest.d.ts +18 -0
- package/api/resources/workflowRun/client/requests/WorkflowRunUpdateRequest.js +5 -0
- package/api/resources/workflowRun/client/requests/index.d.ts +3 -0
- package/api/resources/workflowRun/client/requests/index.js +2 -0
- package/api/resources/workflowRun/index.d.ts +2 -0
- package/api/resources/workflowRun/index.js +18 -0
- package/api/resources/workflowRun/types/WorkflowRunCreateResponse.d.ts +9 -0
- package/api/resources/workflowRun/types/WorkflowRunCreateResponse.js +5 -0
- package/api/resources/workflowRun/types/WorkflowRunGetResponse.d.ts +8 -0
- package/api/resources/workflowRun/types/WorkflowRunGetResponse.js +5 -0
- package/api/resources/workflowRun/types/WorkflowRunListResponse.d.ts +9 -0
- package/api/resources/workflowRun/types/WorkflowRunListResponse.js +5 -0
- package/api/resources/workflowRun/types/WorkflowRunUpdateResponse.d.ts +8 -0
- package/api/resources/workflowRun/types/WorkflowRunUpdateResponse.js +5 -0
- package/api/resources/workflowRun/types/index.d.ts +4 -0
- package/api/resources/workflowRun/types/index.js +20 -0
- package/api/resources/workflowRunOutput/client/Client.d.ts +61 -0
- package/api/resources/workflowRunOutput/client/Client.js +148 -0
- package/api/resources/workflowRunOutput/client/index.d.ts +1 -0
- package/api/resources/workflowRunOutput/client/index.js +17 -0
- package/api/resources/workflowRunOutput/client/requests/WorkflowRunOutputUpdateRequest.d.ts +24 -0
- package/api/resources/workflowRunOutput/client/requests/WorkflowRunOutputUpdateRequest.js +5 -0
- package/api/resources/workflowRunOutput/client/requests/index.d.ts +1 -0
- package/api/resources/workflowRunOutput/client/requests/index.js +2 -0
- package/api/resources/workflowRunOutput/index.d.ts +2 -0
- package/api/resources/workflowRunOutput/index.js +18 -0
- package/api/resources/workflowRunOutput/types/WorkflowRunOutputUpdateResponse.d.ts +8 -0
- package/api/resources/workflowRunOutput/types/WorkflowRunOutputUpdateResponse.js +5 -0
- package/api/resources/workflowRunOutput/types/index.d.ts +1 -0
- package/api/resources/workflowRunOutput/types/index.js +17 -0
- package/api/types/ApiVersionEnum.d.ts +11 -0
- package/api/types/ApiVersionEnum.js +13 -0
- package/api/types/BadRequestErrorBody.d.ts +7 -0
- package/api/types/BadRequestErrorBody.js +5 -0
- package/api/types/BadRequestErrorBodyCode.d.ts +10 -0
- package/api/types/BadRequestErrorBodyCode.js +12 -0
- package/api/types/BaseMetrics.d.ts +14 -0
- package/api/types/BaseMetrics.js +5 -0
- package/api/types/BatchProcessorRun.d.ts +69 -0
- package/api/types/BatchProcessorRun.js +5 -0
- package/api/types/BatchProcessorRunMetrics.d.ts +9 -0
- package/api/types/BatchProcessorRunMetrics.js +5 -0
- package/api/types/BatchProcessorRunOptions.d.ts +12 -0
- package/api/types/BatchProcessorRunOptions.js +5 -0
- package/api/types/BatchProcessorRunSource.d.ts +15 -0
- package/api/types/BatchProcessorRunSource.js +11 -0
- package/api/types/BatchProcessorRunStatus.d.ts +17 -0
- package/api/types/BatchProcessorRunStatus.js +12 -0
- package/api/types/BatchWorkflowRunFileInput.d.ts +18 -0
- package/api/types/BatchWorkflowRunFileInput.js +5 -0
- package/api/types/Block.d.ts +31 -0
- package/api/types/Block.js +5 -0
- package/api/types/BlockBoundingBox.d.ts +12 -0
- package/api/types/BlockBoundingBox.js +5 -0
- package/api/types/BlockDetails.d.ts +8 -0
- package/api/types/BlockDetails.js +5 -0
- package/api/types/BlockMetadata.d.ts +11 -0
- package/api/types/BlockMetadata.js +5 -0
- package/api/types/BlockMetadataPage.d.ts +14 -0
- package/api/types/BlockMetadataPage.js +5 -0
- package/api/types/BlockPolygonItem.d.ts +7 -0
- package/api/types/BlockPolygonItem.js +5 -0
- package/api/types/BlockType.d.ts +21 -0
- package/api/types/BlockType.js +13 -0
- package/api/types/Chunk.d.ts +16 -0
- package/api/types/Chunk.js +5 -0
- package/api/types/ChunkMetadata.d.ts +11 -0
- package/api/types/ChunkMetadata.js +5 -0
- package/api/types/ChunkMetadataPageRange.d.ts +12 -0
- package/api/types/ChunkMetadataPageRange.js +5 -0
- package/api/types/ChunkType.d.ts +12 -0
- package/api/types/ChunkType.js +11 -0
- package/api/types/Citation.d.ts +12 -0
- package/api/types/Citation.js +5 -0
- package/api/types/Classification.d.ts +11 -0
- package/api/types/Classification.js +5 -0
- package/api/types/ClassificationAdvancedOptions.d.ts +12 -0
- package/api/types/ClassificationAdvancedOptions.js +5 -0
- package/api/types/ClassificationAdvancedOptionsContext.d.ts +11 -0
- package/api/types/ClassificationAdvancedOptionsContext.js +10 -0
- package/api/types/ClassificationConfig.d.ts +16 -0
- package/api/types/ClassificationConfig.js +5 -0
- package/api/types/ClassificationConfigBaseProcessor.d.ts +11 -0
- package/api/types/ClassificationConfigBaseProcessor.js +10 -0
- package/api/types/ClassifierOutput.d.ts +14 -0
- package/api/types/ClassifierOutput.js +5 -0
- package/api/types/ClassifyMetrics.d.ts +21 -0
- package/api/types/ClassifyMetrics.js +5 -0
- package/api/types/EmptyBlockDetails.d.ts +7 -0
- package/api/types/EmptyBlockDetails.js +5 -0
- package/api/types/Enum.d.ts +9 -0
- package/api/types/Enum.js +5 -0
- package/api/types/EnumOption.d.ts +9 -0
- package/api/types/EnumOption.js +5 -0
- package/api/types/Error_.d.ts +8 -0
- package/api/types/Error_.js +5 -0
- package/api/types/EvaluationSet.d.ts +46 -0
- package/api/types/EvaluationSet.js +5 -0
- package/api/types/EvaluationSetItem.d.ts +31 -0
- package/api/types/EvaluationSetItem.js +5 -0
- package/api/types/ExtractChunkingOptions.d.ts +14 -0
- package/api/types/ExtractChunkingOptions.js +5 -0
- package/api/types/ExtractChunkingOptionsChunkSelectionStrategy.d.ts +13 -0
- package/api/types/ExtractChunkingOptionsChunkSelectionStrategy.js +12 -0
- package/api/types/ExtractChunkingOptionsChunkingStrategy.d.ts +11 -0
- package/api/types/ExtractChunkingOptionsChunkingStrategy.js +10 -0
- package/api/types/ExtractMetrics.d.ts +15 -0
- package/api/types/ExtractMetrics.js +5 -0
- package/api/types/ExtractMetricsFieldMetrics.d.ts +16 -0
- package/api/types/ExtractMetricsFieldMetrics.js +5 -0
- package/api/types/ExtractionAdvancedOptions.d.ts +23 -0
- package/api/types/ExtractionAdvancedOptions.js +5 -0
- package/api/types/ExtractionConfig.d.ts +26 -0
- package/api/types/ExtractionConfig.js +5 -0
- package/api/types/ExtractionConfigBaseProcessor.d.ts +11 -0
- package/api/types/ExtractionConfigBaseProcessor.js +10 -0
- package/api/types/ExtractionField.d.ts +18 -0
- package/api/types/ExtractionField.js +5 -0
- package/api/types/ExtractionFieldResult.d.ts +21 -0
- package/api/types/ExtractionFieldResult.js +5 -0
- package/api/types/ExtractionFieldResultReference.d.ts +14 -0
- package/api/types/ExtractionFieldResultReference.js +5 -0
- package/api/types/ExtractionFieldResultReferenceBoundingBoxesItem.d.ts +13 -0
- package/api/types/ExtractionFieldResultReferenceBoundingBoxesItem.js +5 -0
- package/api/types/ExtractionFieldResultType.d.ts +18 -0
- package/api/types/ExtractionFieldResultType.js +17 -0
- package/api/types/ExtractionFieldType.d.ts +18 -0
- package/api/types/ExtractionFieldType.js +17 -0
- package/api/types/ExtractionOutput.d.ts +8 -0
- package/api/types/ExtractionOutput.js +5 -0
- package/api/types/ExtractionOutputEdits.d.ts +16 -0
- package/api/types/ExtractionOutputEdits.js +5 -0
- package/api/types/FieldsArrayOutput.d.ts +8 -0
- package/api/types/FieldsArrayOutput.js +5 -0
- package/api/types/FigureDetails.d.ts +23 -0
- package/api/types/FigureDetails.js +5 -0
- package/api/types/FigureDetailsFigureType.d.ts +20 -0
- package/api/types/FigureDetailsFigureType.js +13 -0
- package/api/types/FileContents.d.ts +12 -0
- package/api/types/FileContents.js +5 -0
- package/api/types/FileContentsPagesItem.d.ts +15 -0
- package/api/types/FileContentsPagesItem.js +5 -0
- package/api/types/FileContentsSheetsItem.d.ts +9 -0
- package/api/types/FileContentsSheetsItem.js +5 -0
- package/api/types/FileMetadata.d.ts +10 -0
- package/api/types/FileMetadata.js +5 -0
- package/api/types/FileMetadataParentSplit.d.ts +18 -0
- package/api/types/FileMetadataParentSplit.js +5 -0
- package/api/types/FileType.d.ts +17 -0
- package/api/types/FileType.js +16 -0
- package/api/types/File_.d.ts +40 -0
- package/api/types/File_.js +5 -0
- package/api/types/Insight.d.ts +9 -0
- package/api/types/Insight.js +5 -0
- package/api/types/JsonObject.d.ts +7 -0
- package/api/types/JsonObject.js +5 -0
- package/api/types/JsonOutput.d.ts +10 -0
- package/api/types/JsonOutput.js +5 -0
- package/api/types/JsonOutputMetadataValue.d.ts +12 -0
- package/api/types/JsonOutputMetadataValue.js +5 -0
- package/api/types/JsonOutputMetadataValueCitationsItem.d.ts +12 -0
- package/api/types/JsonOutputMetadataValueCitationsItem.js +5 -0
- package/api/types/JsonOutputMetadataValueCitationsItemPolygonItem.d.ts +9 -0
- package/api/types/JsonOutputMetadataValueCitationsItemPolygonItem.js +5 -0
- package/api/types/JsonOutputMetadataValueInsightsItem.d.ts +9 -0
- package/api/types/JsonOutputMetadataValueInsightsItem.js +5 -0
- package/api/types/MaxPageSize.d.ts +7 -0
- package/api/types/MaxPageSize.js +5 -0
- package/api/types/NextPageToken.d.ts +11 -0
- package/api/types/NextPageToken.js +5 -0
- package/api/types/OutputMetadata.d.ts +5 -0
- package/api/types/OutputMetadata.js +5 -0
- package/api/types/OutputMetadataValue.d.ts +12 -0
- package/api/types/OutputMetadataValue.js +5 -0
- package/api/types/ParseConfig.d.ts +21 -0
- package/api/types/ParseConfig.js +5 -0
- package/api/types/ParseConfigAdvancedOptions.d.ts +7 -0
- package/api/types/ParseConfigAdvancedOptions.js +5 -0
- package/api/types/ParseConfigBlockOptions.d.ts +15 -0
- package/api/types/ParseConfigBlockOptions.js +5 -0
- package/api/types/ParseConfigBlockOptionsFigures.d.ts +12 -0
- package/api/types/ParseConfigBlockOptionsFigures.js +5 -0
- package/api/types/ParseConfigBlockOptionsTables.d.ts +17 -0
- package/api/types/ParseConfigBlockOptionsTables.js +5 -0
- package/api/types/ParseConfigBlockOptionsTablesTargetFormat.d.ts +13 -0
- package/api/types/ParseConfigBlockOptionsTablesTargetFormat.js +10 -0
- package/api/types/ParseConfigBlockOptionsText.d.ts +10 -0
- package/api/types/ParseConfigBlockOptionsText.js +5 -0
- package/api/types/ParseConfigChunkingStrategy.d.ts +21 -0
- package/api/types/ParseConfigChunkingStrategy.js +5 -0
- package/api/types/ParseConfigChunkingStrategyType.d.ts +16 -0
- package/api/types/ParseConfigChunkingStrategyType.js +11 -0
- package/api/types/ParseConfigTarget.d.ts +14 -0
- package/api/types/ParseConfigTarget.js +10 -0
- package/api/types/ParseError.d.ts +10 -0
- package/api/types/ParseError.js +5 -0
- package/api/types/ParseErrorCode.d.ts +16 -0
- package/api/types/ParseErrorCode.js +18 -0
- package/api/types/ParseRequestFile.d.ts +18 -0
- package/api/types/ParseRequestFile.js +5 -0
- package/api/types/ParseResponse.d.ts +30 -0
- package/api/types/ParseResponse.js +5 -0
- package/api/types/ParseResponseMetrics.d.ts +12 -0
- package/api/types/ParseResponseMetrics.js +5 -0
- package/api/types/ParseResponseStatus.d.ts +13 -0
- package/api/types/ParseResponseStatus.js +10 -0
- package/api/types/Polygon.d.ts +9 -0
- package/api/types/Polygon.js +5 -0
- package/api/types/Processor.d.ts +34 -0
- package/api/types/Processor.js +5 -0
- package/api/types/ProcessorId.d.ts +9 -0
- package/api/types/ProcessorId.js +5 -0
- package/api/types/ProcessorOutput.d.ts +8 -0
- package/api/types/ProcessorOutput.js +5 -0
- package/api/types/ProcessorRun.d.ts +77 -0
- package/api/types/ProcessorRun.js +5 -0
- package/api/types/ProcessorRunConfig.d.ts +19 -0
- package/api/types/ProcessorRunConfig.js +5 -0
- package/api/types/ProcessorRunFileInput.d.ts +14 -0
- package/api/types/ProcessorRunFileInput.js +5 -0
- package/api/types/ProcessorRunMergedProcessorsItem.d.ts +19 -0
- package/api/types/ProcessorRunMergedProcessorsItem.js +5 -0
- package/api/types/ProcessorRunStatus.d.ts +15 -0
- package/api/types/ProcessorRunStatus.js +11 -0
- package/api/types/ProcessorRunType.d.ts +15 -0
- package/api/types/ProcessorRunType.js +11 -0
- package/api/types/ProcessorType.d.ts +15 -0
- package/api/types/ProcessorType.js +11 -0
- package/api/types/ProcessorVersion.d.ts +57 -0
- package/api/types/ProcessorVersion.js +5 -0
- package/api/types/ProcessorVersionConfig.d.ts +21 -0
- package/api/types/ProcessorVersionConfig.js +5 -0
- package/api/types/ProvidedClassifierOutput.d.ts +11 -0
- package/api/types/ProvidedClassifierOutput.js +5 -0
- package/api/types/ProvidedExtractionFieldResult.d.ts +15 -0
- package/api/types/ProvidedExtractionFieldResult.js +5 -0
- package/api/types/ProvidedExtractionFieldResultType.d.ts +18 -0
- package/api/types/ProvidedExtractionFieldResultType.js +17 -0
- package/api/types/ProvidedExtractionOutput.d.ts +5 -0
- package/api/types/ProvidedExtractionOutput.js +5 -0
- package/api/types/ProvidedFieldsArrayOutput.d.ts +8 -0
- package/api/types/ProvidedFieldsArrayOutput.js +5 -0
- package/api/types/ProvidedJsonOutput.d.ts +9 -0
- package/api/types/ProvidedJsonOutput.js +5 -0
- package/api/types/ProvidedProcessorOutput.d.ts +5 -0
- package/api/types/ProvidedProcessorOutput.js +5 -0
- package/api/types/ProvidedSplitterOutput.d.ts +7 -0
- package/api/types/ProvidedSplitterOutput.js +5 -0
- package/api/types/ProvidedSplitterOutputSplitsItem.d.ts +19 -0
- package/api/types/ProvidedSplitterOutputSplitsItem.js +5 -0
- package/api/types/SortByEnum.d.ts +8 -0
- package/api/types/SortByEnum.js +10 -0
- package/api/types/SortDirEnum.d.ts +8 -0
- package/api/types/SortDirEnum.js +10 -0
- package/api/types/SplitterAdvancedOptions.d.ts +14 -0
- package/api/types/SplitterAdvancedOptions.js +5 -0
- package/api/types/SplitterAdvancedOptionsSplitMethod.d.ts +11 -0
- package/api/types/SplitterAdvancedOptionsSplitMethod.js +10 -0
- package/api/types/SplitterConfig.d.ts +16 -0
- package/api/types/SplitterConfig.js +5 -0
- package/api/types/SplitterMetrics.d.ts +21 -0
- package/api/types/SplitterMetrics.js +5 -0
- package/api/types/SplitterOutput.d.ts +8 -0
- package/api/types/SplitterOutput.js +5 -0
- package/api/types/SplitterOutputSplitsItem.d.ts +23 -0
- package/api/types/SplitterOutputSplitsItem.js +5 -0
- package/api/types/StepRun.d.ts +29 -0
- package/api/types/StepRun.js +5 -0
- package/api/types/StepRunOutput.d.ts +12 -0
- package/api/types/StepRunOutput.js +5 -0
- package/api/types/StepRunOutputRulesItem.d.ts +21 -0
- package/api/types/StepRunOutputRulesItem.js +5 -0
- package/api/types/StepRunOutputRulesItemFailureReason.d.ts +15 -0
- package/api/types/StepRunOutputRulesItemFailureReason.js +11 -0
- package/api/types/StepRunStatus.d.ts +17 -0
- package/api/types/StepRunStatus.js +12 -0
- package/api/types/StepRunStep.d.ts +26 -0
- package/api/types/StepRunStep.js +5 -0
- package/api/types/StepRunStepType.d.ts +13 -0
- package/api/types/StepRunStepType.js +10 -0
- package/api/types/TableCellDetails.d.ts +12 -0
- package/api/types/TableCellDetails.js +5 -0
- package/api/types/TableDetails.d.ts +14 -0
- package/api/types/TableDetails.js +5 -0
- package/api/types/WebhookEvent.d.ts +12 -0
- package/api/types/WebhookEvent.js +5 -0
- package/api/types/WebhookEventEventType.d.ts +24 -0
- package/api/types/WebhookEventEventType.js +23 -0
- package/api/types/WebhookEventPayload.d.ts +8 -0
- package/api/types/WebhookEventPayload.js +5 -0
- package/api/types/WebhookEventProcessor.d.ts +13 -0
- package/api/types/WebhookEventProcessor.js +5 -0
- package/api/types/WebhookEventProcessorEventType.d.ts +10 -0
- package/api/types/WebhookEventProcessorEventType.js +12 -0
- package/api/types/WebhookEventProcessorRun.d.ts +13 -0
- package/api/types/WebhookEventProcessorRun.js +5 -0
- package/api/types/WebhookEventProcessorRunEventType.d.ts +8 -0
- package/api/types/WebhookEventProcessorRunEventType.js +10 -0
- package/api/types/WebhookEventProcessorVersion.d.ts +13 -0
- package/api/types/WebhookEventProcessorVersion.js +5 -0
- package/api/types/WebhookEventWorkflow.d.ts +13 -0
- package/api/types/WebhookEventWorkflow.js +5 -0
- package/api/types/WebhookEventWorkflowEventType.d.ts +9 -0
- package/api/types/WebhookEventWorkflowEventType.js +11 -0
- package/api/types/WebhookEventWorkflowRun.d.ts +13 -0
- package/api/types/WebhookEventWorkflowRun.js +5 -0
- package/api/types/WebhookEventWorkflowRunEventType.d.ts +11 -0
- package/api/types/WebhookEventWorkflowRunEventType.js +13 -0
- package/api/types/Workflow.d.ts +25 -0
- package/api/types/Workflow.js +5 -0
- package/api/types/WorkflowRun.d.ts +86 -0
- package/api/types/WorkflowRun.js +5 -0
- package/api/types/WorkflowRunFileInput.d.ts +21 -0
- package/api/types/WorkflowRunFileInput.js +5 -0
- package/api/types/WorkflowRunFileInputOutputsItem.d.ts +13 -0
- package/api/types/WorkflowRunFileInputOutputsItem.js +5 -0
- package/api/types/WorkflowRunSummary.d.ts +85 -0
- package/api/types/WorkflowRunSummary.js +5 -0
- package/api/types/WorkflowStatus.d.ts +21 -0
- package/api/types/WorkflowStatus.js +14 -0
- package/api/types/index.d.ts +145 -0
- package/api/types/index.js +161 -0
- package/core/auth/BasicAuth.d.ts +8 -0
- package/core/auth/BasicAuth.js +26 -0
- package/core/auth/BearerToken.d.ts +5 -0
- package/core/auth/BearerToken.js +15 -0
- package/core/auth/index.d.ts +2 -0
- package/core/auth/index.js +7 -0
- package/core/fetcher/APIResponse.d.ts +20 -0
- package/core/fetcher/APIResponse.js +2 -0
- package/core/fetcher/Fetcher.d.ts +39 -0
- package/core/fetcher/Fetcher.js +107 -0
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/Supplier.d.ts +4 -0
- package/core/fetcher/Supplier.js +22 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +12 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +68 -0
- package/core/fetcher/getHeader.d.ts +1 -0
- package/core/fetcher/getHeader.js +11 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +54 -0
- package/core/fetcher/index.d.ts +8 -0
- package/core/fetcher/index.js +15 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +40 -0
- package/core/fetcher/signals.d.ts +11 -0
- package/core/fetcher/signals.js +36 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/core/form-data-utils/FormDataWrapper.d.ts +63 -0
- package/core/form-data-utils/FormDataWrapper.js +227 -0
- package/core/form-data-utils/encodeAsFormParameter.d.ts +4 -0
- package/core/form-data-utils/encodeAsFormParameter.js +18 -0
- package/core/form-data-utils/index.d.ts +2 -0
- package/core/form-data-utils/index.js +20 -0
- package/core/index.d.ts +4 -0
- package/core/index.js +20 -0
- package/core/json.d.ts +15 -0
- package/core/json.js +24 -0
- package/core/runtime/index.d.ts +1 -0
- package/core/runtime/index.js +5 -0
- package/core/runtime/runtime.d.ts +9 -0
- package/core/runtime/runtime.js +103 -0
- package/dist/Client.d.ts +90 -0
- package/dist/Client.js +196 -0
- package/dist/api/client/index.d.ts +1 -0
- package/dist/api/client/index.js +17 -0
- package/dist/api/client/requests/ParseRequest.d.ts +15 -0
- package/dist/api/client/requests/ParseRequest.js +5 -0
- package/dist/api/client/requests/index.d.ts +1 -0
- package/dist/api/client/requests/index.js +2 -0
- package/dist/api/errors/BadRequestError.d.ts +8 -0
- package/dist/api/errors/BadRequestError.js +52 -0
- package/dist/api/errors/NotFoundError.d.ts +9 -0
- package/dist/api/errors/NotFoundError.js +52 -0
- package/dist/api/errors/UnauthorizedError.d.ts +9 -0
- package/dist/api/errors/UnauthorizedError.js +52 -0
- package/dist/api/errors/UnprocessableEntityError.d.ts +9 -0
- package/dist/api/errors/UnprocessableEntityError.js +52 -0
- package/dist/api/errors/index.d.ts +4 -0
- package/dist/api/errors/index.js +20 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.js +20 -0
- package/dist/api/resources/batchProcessorRun/client/Client.d.ts +51 -0
- package/dist/api/resources/batchProcessorRun/client/Client.js +134 -0
- package/dist/api/resources/batchProcessorRun/client/index.d.ts +1 -0
- package/dist/api/resources/batchProcessorRun/client/index.js +2 -0
- package/dist/api/resources/batchProcessorRun/index.d.ts +2 -0
- package/dist/api/resources/batchProcessorRun/index.js +18 -0
- package/dist/api/resources/batchProcessorRun/types/BatchProcessorRunGetResponse.d.ts +8 -0
- package/dist/api/resources/batchProcessorRun/types/BatchProcessorRunGetResponse.js +5 -0
- package/dist/api/resources/batchProcessorRun/types/index.d.ts +1 -0
- package/dist/api/resources/batchProcessorRun/types/index.js +17 -0
- package/dist/api/resources/batchWorkflowRun/client/Client.d.ts +62 -0
- package/dist/api/resources/batchWorkflowRun/client/Client.js +149 -0
- package/dist/api/resources/batchWorkflowRun/client/index.d.ts +1 -0
- package/dist/api/resources/batchWorkflowRun/client/index.js +17 -0
- package/dist/api/resources/batchWorkflowRun/client/requests/BatchWorkflowRunCreateRequest.d.ts +23 -0
- package/dist/api/resources/batchWorkflowRun/client/requests/BatchWorkflowRunCreateRequest.js +5 -0
- package/dist/api/resources/batchWorkflowRun/client/requests/index.d.ts +1 -0
- package/dist/api/resources/batchWorkflowRun/client/requests/index.js +2 -0
- package/dist/api/resources/batchWorkflowRun/index.d.ts +2 -0
- package/dist/api/resources/batchWorkflowRun/index.js +18 -0
- package/dist/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateRequestInputsItem.d.ts +14 -0
- package/dist/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateRequestInputsItem.js +5 -0
- package/dist/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateResponse.d.ts +9 -0
- package/dist/api/resources/batchWorkflowRun/types/BatchWorkflowRunCreateResponse.js +5 -0
- package/dist/api/resources/batchWorkflowRun/types/index.d.ts +2 -0
- package/dist/api/resources/batchWorkflowRun/types/index.js +18 -0
- package/dist/api/resources/evaluationSet/client/Client.d.ts +54 -0
- package/dist/api/resources/evaluationSet/client/Client.js +136 -0
- package/dist/api/resources/evaluationSet/client/index.d.ts +1 -0
- package/dist/api/resources/evaluationSet/client/index.js +17 -0
- package/dist/api/resources/evaluationSet/client/requests/EvaluationSetCreateRequest.d.ts +31 -0
- package/dist/api/resources/evaluationSet/client/requests/EvaluationSetCreateRequest.js +5 -0
- package/dist/api/resources/evaluationSet/client/requests/index.d.ts +1 -0
- package/dist/api/resources/evaluationSet/client/requests/index.js +2 -0
- package/dist/api/resources/evaluationSet/index.d.ts +2 -0
- package/dist/api/resources/evaluationSet/index.js +18 -0
- package/dist/api/resources/evaluationSet/types/EvaluationSetCreateResponse.d.ts +8 -0
- package/dist/api/resources/evaluationSet/types/EvaluationSetCreateResponse.js +5 -0
- package/dist/api/resources/evaluationSet/types/index.d.ts +1 -0
- package/dist/api/resources/evaluationSet/types/index.js +17 -0
- package/dist/api/resources/evaluationSetItem/client/Client.d.ts +119 -0
- package/dist/api/resources/evaluationSetItem/client/Client.js +310 -0
- package/dist/api/resources/evaluationSetItem/client/index.d.ts +1 -0
- package/dist/api/resources/evaluationSetItem/client/index.js +17 -0
- package/dist/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateBatchRequest.d.ts +28 -0
- package/dist/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateBatchRequest.js +5 -0
- package/dist/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateRequest.d.ts +32 -0
- package/dist/api/resources/evaluationSetItem/client/requests/EvaluationSetItemCreateRequest.js +5 -0
- package/dist/api/resources/evaluationSetItem/client/requests/EvaluationSetItemUpdateRequest.d.ts +18 -0
- package/dist/api/resources/evaluationSetItem/client/requests/EvaluationSetItemUpdateRequest.js +5 -0
- package/dist/api/resources/evaluationSetItem/client/requests/index.d.ts +3 -0
- package/dist/api/resources/evaluationSetItem/client/requests/index.js +2 -0
- package/dist/api/resources/evaluationSetItem/index.d.ts +2 -0
- package/dist/api/resources/evaluationSetItem/index.js +18 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchRequestItemsItem.d.ts +14 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchRequestItemsItem.js +5 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchResponse.d.ts +8 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemCreateBatchResponse.js +5 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemCreateResponse.d.ts +8 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemCreateResponse.js +5 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemUpdateResponse.d.ts +8 -0
- package/dist/api/resources/evaluationSetItem/types/EvaluationSetItemUpdateResponse.js +5 -0
- package/dist/api/resources/evaluationSetItem/types/index.d.ts +4 -0
- package/dist/api/resources/evaluationSetItem/types/index.js +20 -0
- package/dist/api/resources/file/client/Client.d.ts +91 -0
- package/dist/api/resources/file/client/Client.js +297 -0
- package/dist/api/resources/file/client/index.d.ts +1 -0
- package/dist/api/resources/file/client/index.js +17 -0
- package/dist/api/resources/file/client/requests/FileGetRequest.d.ts +25 -0
- package/dist/api/resources/file/client/requests/FileGetRequest.js +5 -0
- package/dist/api/resources/file/client/requests/FileListRequest.d.ts +24 -0
- package/dist/api/resources/file/client/requests/FileListRequest.js +5 -0
- package/dist/api/resources/file/client/requests/FileUploadRequest.d.ts +9 -0
- package/dist/api/resources/file/client/requests/FileUploadRequest.js +5 -0
- package/dist/api/resources/file/client/requests/index.d.ts +3 -0
- package/dist/api/resources/file/client/requests/index.js +2 -0
- package/dist/api/resources/file/index.d.ts +2 -0
- package/dist/api/resources/file/index.js +18 -0
- package/dist/api/resources/file/types/FileGetResponse.d.ts +8 -0
- package/dist/api/resources/file/types/FileGetResponse.js +5 -0
- package/dist/api/resources/file/types/FileListResponse.d.ts +9 -0
- package/dist/api/resources/file/types/FileListResponse.js +5 -0
- package/dist/api/resources/file/types/FileUploadResponse.d.ts +8 -0
- package/dist/api/resources/file/types/FileUploadResponse.js +5 -0
- package/dist/api/resources/file/types/index.d.ts +3 -0
- package/dist/api/resources/file/types/index.js +19 -0
- package/dist/api/resources/index.d.ts +32 -0
- package/dist/api/resources/index.js +71 -0
- package/dist/api/resources/processor/client/Client.d.ts +70 -0
- package/dist/api/resources/processor/client/Client.js +205 -0
- package/dist/api/resources/processor/client/index.d.ts +1 -0
- package/dist/api/resources/processor/client/index.js +17 -0
- package/dist/api/resources/processor/client/requests/ProcessorCreateRequest.d.ts +24 -0
- package/dist/api/resources/processor/client/requests/ProcessorCreateRequest.js +5 -0
- package/dist/api/resources/processor/client/requests/ProcessorUpdateRequest.d.ts +19 -0
- package/dist/api/resources/processor/client/requests/ProcessorUpdateRequest.js +5 -0
- package/dist/api/resources/processor/client/requests/index.d.ts +2 -0
- package/dist/api/resources/processor/client/requests/index.js +2 -0
- package/dist/api/resources/processor/index.d.ts +2 -0
- package/dist/api/resources/processor/index.js +18 -0
- package/dist/api/resources/processor/types/ProcessorCreateRequestConfig.d.ts +19 -0
- package/dist/api/resources/processor/types/ProcessorCreateRequestConfig.js +5 -0
- package/dist/api/resources/processor/types/ProcessorCreateResponse.d.ts +8 -0
- package/dist/api/resources/processor/types/ProcessorCreateResponse.js +5 -0
- package/dist/api/resources/processor/types/ProcessorUpdateRequestConfig.d.ts +22 -0
- package/dist/api/resources/processor/types/ProcessorUpdateRequestConfig.js +5 -0
- package/dist/api/resources/processor/types/ProcessorUpdateResponse.d.ts +8 -0
- package/dist/api/resources/processor/types/ProcessorUpdateResponse.js +5 -0
- package/dist/api/resources/processor/types/index.d.ts +4 -0
- package/dist/api/resources/processor/types/index.js +20 -0
- package/dist/api/resources/processorRun/client/Client.d.ts +79 -0
- package/dist/api/resources/processorRun/client/Client.js +213 -0
- package/dist/api/resources/processorRun/client/index.d.ts +1 -0
- package/dist/api/resources/processorRun/client/index.js +17 -0
- package/dist/api/resources/processorRun/client/requests/ProcessorRunCreateRequest.d.ts +30 -0
- package/dist/api/resources/processorRun/client/requests/ProcessorRunCreateRequest.js +5 -0
- package/dist/api/resources/processorRun/client/requests/index.d.ts +1 -0
- package/dist/api/resources/processorRun/client/requests/index.js +2 -0
- package/dist/api/resources/processorRun/index.d.ts +2 -0
- package/dist/api/resources/processorRun/index.js +18 -0
- package/dist/api/resources/processorRun/types/ProcessorRunCreateRequestConfig.d.ts +19 -0
- package/dist/api/resources/processorRun/types/ProcessorRunCreateRequestConfig.js +5 -0
- package/dist/api/resources/processorRun/types/ProcessorRunCreateResponse.d.ts +8 -0
- package/dist/api/resources/processorRun/types/ProcessorRunCreateResponse.js +5 -0
- package/dist/api/resources/processorRun/types/ProcessorRunGetResponse.d.ts +8 -0
- package/dist/api/resources/processorRun/types/ProcessorRunGetResponse.js +5 -0
- package/dist/api/resources/processorRun/types/index.d.ts +3 -0
- package/dist/api/resources/processorRun/types/index.js +19 -0
- package/dist/api/resources/processorVersion/client/Client.d.ts +95 -0
- package/dist/api/resources/processorVersion/client/Client.js +280 -0
- package/dist/api/resources/processorVersion/client/index.d.ts +1 -0
- package/dist/api/resources/processorVersion/client/index.js +17 -0
- package/dist/api/resources/processorVersion/client/requests/ProcessorVersionCreateRequest.d.ts +18 -0
- package/dist/api/resources/processorVersion/client/requests/ProcessorVersionCreateRequest.js +5 -0
- package/dist/api/resources/processorVersion/client/requests/index.d.ts +1 -0
- package/dist/api/resources/processorVersion/client/requests/index.js +2 -0
- package/dist/api/resources/processorVersion/index.d.ts +2 -0
- package/dist/api/resources/processorVersion/index.js +18 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionCreateRequestConfig.d.ts +19 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionCreateRequestConfig.js +5 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionCreateRequestReleaseType.d.ts +11 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionCreateRequestReleaseType.js +10 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionCreateResponse.d.ts +8 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionCreateResponse.js +5 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionGetResponse.d.ts +9 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionGetResponse.js +5 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionListResponse.d.ts +9 -0
- package/dist/api/resources/processorVersion/types/ProcessorVersionListResponse.js +5 -0
- package/dist/api/resources/processorVersion/types/index.d.ts +5 -0
- package/dist/api/resources/processorVersion/types/index.js +21 -0
- package/dist/api/resources/workflow/client/Client.d.ts +52 -0
- package/dist/api/resources/workflow/client/Client.js +134 -0
- package/dist/api/resources/workflow/client/index.d.ts +1 -0
- package/dist/api/resources/workflow/client/index.js +17 -0
- package/dist/api/resources/workflow/client/requests/WorkflowCreateRequest.d.ts +13 -0
- package/dist/api/resources/workflow/client/requests/WorkflowCreateRequest.js +5 -0
- package/dist/api/resources/workflow/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflow/client/requests/index.js +2 -0
- package/dist/api/resources/workflow/index.d.ts +2 -0
- package/dist/api/resources/workflow/index.js +18 -0
- package/dist/api/resources/workflow/types/WorkflowCreateResponse.d.ts +8 -0
- package/dist/api/resources/workflow/types/WorkflowCreateResponse.js +5 -0
- package/dist/api/resources/workflow/types/index.d.ts +1 -0
- package/dist/api/resources/workflow/types/index.js +17 -0
- package/dist/api/resources/workflowRun/client/Client.d.ts +101 -0
- package/dist/api/resources/workflowRun/client/Client.js +356 -0
- package/dist/api/resources/workflowRun/client/index.d.ts +1 -0
- package/dist/api/resources/workflowRun/client/index.js +17 -0
- package/dist/api/resources/workflowRun/client/requests/WorkflowRunCreateRequest.d.ts +34 -0
- package/dist/api/resources/workflowRun/client/requests/WorkflowRunCreateRequest.js +5 -0
- package/dist/api/resources/workflowRun/client/requests/WorkflowRunListRequest.d.ts +46 -0
- package/dist/api/resources/workflowRun/client/requests/WorkflowRunListRequest.js +5 -0
- package/dist/api/resources/workflowRun/client/requests/WorkflowRunUpdateRequest.d.ts +18 -0
- package/dist/api/resources/workflowRun/client/requests/WorkflowRunUpdateRequest.js +5 -0
- package/dist/api/resources/workflowRun/client/requests/index.d.ts +3 -0
- package/dist/api/resources/workflowRun/client/requests/index.js +2 -0
- package/dist/api/resources/workflowRun/index.d.ts +2 -0
- package/dist/api/resources/workflowRun/index.js +18 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunCreateResponse.d.ts +9 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunCreateResponse.js +5 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunGetResponse.d.ts +8 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunGetResponse.js +5 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunListResponse.d.ts +9 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunListResponse.js +5 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunUpdateResponse.d.ts +8 -0
- package/dist/api/resources/workflowRun/types/WorkflowRunUpdateResponse.js +5 -0
- package/dist/api/resources/workflowRun/types/index.d.ts +4 -0
- package/dist/api/resources/workflowRun/types/index.js +20 -0
- package/dist/api/resources/workflowRunOutput/client/Client.d.ts +61 -0
- package/dist/api/resources/workflowRunOutput/client/Client.js +148 -0
- package/dist/api/resources/workflowRunOutput/client/index.d.ts +1 -0
- package/dist/api/resources/workflowRunOutput/client/index.js +17 -0
- package/dist/api/resources/workflowRunOutput/client/requests/WorkflowRunOutputUpdateRequest.d.ts +24 -0
- package/dist/api/resources/workflowRunOutput/client/requests/WorkflowRunOutputUpdateRequest.js +5 -0
- package/dist/api/resources/workflowRunOutput/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workflowRunOutput/client/requests/index.js +2 -0
- package/dist/api/resources/workflowRunOutput/index.d.ts +2 -0
- package/dist/api/resources/workflowRunOutput/index.js +18 -0
- package/dist/api/resources/workflowRunOutput/types/WorkflowRunOutputUpdateResponse.d.ts +8 -0
- package/dist/api/resources/workflowRunOutput/types/WorkflowRunOutputUpdateResponse.js +5 -0
- package/dist/api/resources/workflowRunOutput/types/index.d.ts +1 -0
- package/dist/api/resources/workflowRunOutput/types/index.js +17 -0
- package/dist/api/types/ApiVersionEnum.d.ts +11 -0
- package/dist/api/types/ApiVersionEnum.js +13 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +7 -0
- package/dist/api/types/BadRequestErrorBody.js +5 -0
- package/dist/api/types/BadRequestErrorBodyCode.d.ts +10 -0
- package/dist/api/types/BadRequestErrorBodyCode.js +12 -0
- package/dist/api/types/BaseMetrics.d.ts +14 -0
- package/dist/api/types/BaseMetrics.js +5 -0
- package/dist/api/types/BatchProcessorRun.d.ts +69 -0
- package/dist/api/types/BatchProcessorRun.js +5 -0
- package/dist/api/types/BatchProcessorRunMetrics.d.ts +9 -0
- package/dist/api/types/BatchProcessorRunMetrics.js +5 -0
- package/dist/api/types/BatchProcessorRunOptions.d.ts +12 -0
- package/dist/api/types/BatchProcessorRunOptions.js +5 -0
- package/dist/api/types/BatchProcessorRunSource.d.ts +15 -0
- package/dist/api/types/BatchProcessorRunSource.js +11 -0
- package/dist/api/types/BatchProcessorRunStatus.d.ts +17 -0
- package/dist/api/types/BatchProcessorRunStatus.js +12 -0
- package/dist/api/types/BatchWorkflowRunFileInput.d.ts +18 -0
- package/dist/api/types/BatchWorkflowRunFileInput.js +5 -0
- package/dist/api/types/Block.d.ts +31 -0
- package/dist/api/types/Block.js +5 -0
- package/dist/api/types/BlockBoundingBox.d.ts +12 -0
- package/dist/api/types/BlockBoundingBox.js +5 -0
- package/dist/api/types/BlockDetails.d.ts +8 -0
- package/dist/api/types/BlockDetails.js +5 -0
- package/dist/api/types/BlockMetadata.d.ts +11 -0
- package/dist/api/types/BlockMetadata.js +5 -0
- package/dist/api/types/BlockMetadataPage.d.ts +14 -0
- package/dist/api/types/BlockMetadataPage.js +5 -0
- package/dist/api/types/BlockPolygonItem.d.ts +7 -0
- package/dist/api/types/BlockPolygonItem.js +5 -0
- package/dist/api/types/BlockType.d.ts +21 -0
- package/dist/api/types/BlockType.js +13 -0
- package/dist/api/types/Chunk.d.ts +16 -0
- package/dist/api/types/Chunk.js +5 -0
- package/dist/api/types/ChunkMetadata.d.ts +11 -0
- package/dist/api/types/ChunkMetadata.js +5 -0
- package/dist/api/types/ChunkMetadataPageRange.d.ts +12 -0
- package/dist/api/types/ChunkMetadataPageRange.js +5 -0
- package/dist/api/types/ChunkType.d.ts +12 -0
- package/dist/api/types/ChunkType.js +11 -0
- package/dist/api/types/Citation.d.ts +12 -0
- package/dist/api/types/Citation.js +5 -0
- package/dist/api/types/Classification.d.ts +11 -0
- package/dist/api/types/Classification.js +5 -0
- package/dist/api/types/ClassificationAdvancedOptions.d.ts +12 -0
- package/dist/api/types/ClassificationAdvancedOptions.js +5 -0
- package/dist/api/types/ClassificationAdvancedOptionsContext.d.ts +11 -0
- package/dist/api/types/ClassificationAdvancedOptionsContext.js +10 -0
- package/dist/api/types/ClassificationConfig.d.ts +16 -0
- package/dist/api/types/ClassificationConfig.js +5 -0
- package/dist/api/types/ClassificationConfigBaseProcessor.d.ts +11 -0
- package/dist/api/types/ClassificationConfigBaseProcessor.js +10 -0
- package/dist/api/types/ClassifierOutput.d.ts +14 -0
- package/dist/api/types/ClassifierOutput.js +5 -0
- package/dist/api/types/ClassifyMetrics.d.ts +21 -0
- package/dist/api/types/ClassifyMetrics.js +5 -0
- package/dist/api/types/EmptyBlockDetails.d.ts +7 -0
- package/dist/api/types/EmptyBlockDetails.js +5 -0
- package/dist/api/types/Enum.d.ts +9 -0
- package/dist/api/types/Enum.js +5 -0
- package/dist/api/types/EnumOption.d.ts +9 -0
- package/dist/api/types/EnumOption.js +5 -0
- package/dist/api/types/Error_.d.ts +8 -0
- package/dist/api/types/Error_.js +5 -0
- package/dist/api/types/EvaluationSet.d.ts +46 -0
- package/dist/api/types/EvaluationSet.js +5 -0
- package/dist/api/types/EvaluationSetItem.d.ts +31 -0
- package/dist/api/types/EvaluationSetItem.js +5 -0
- package/dist/api/types/ExtractChunkingOptions.d.ts +14 -0
- package/dist/api/types/ExtractChunkingOptions.js +5 -0
- package/dist/api/types/ExtractChunkingOptionsChunkSelectionStrategy.d.ts +13 -0
- package/dist/api/types/ExtractChunkingOptionsChunkSelectionStrategy.js +12 -0
- package/dist/api/types/ExtractChunkingOptionsChunkingStrategy.d.ts +11 -0
- package/dist/api/types/ExtractChunkingOptionsChunkingStrategy.js +10 -0
- package/dist/api/types/ExtractMetrics.d.ts +15 -0
- package/dist/api/types/ExtractMetrics.js +5 -0
- package/dist/api/types/ExtractMetricsFieldMetrics.d.ts +16 -0
- package/dist/api/types/ExtractMetricsFieldMetrics.js +5 -0
- package/dist/api/types/ExtractionAdvancedOptions.d.ts +23 -0
- package/dist/api/types/ExtractionAdvancedOptions.js +5 -0
- package/dist/api/types/ExtractionConfig.d.ts +26 -0
- package/dist/api/types/ExtractionConfig.js +5 -0
- package/dist/api/types/ExtractionConfigBaseProcessor.d.ts +11 -0
- package/dist/api/types/ExtractionConfigBaseProcessor.js +10 -0
- package/dist/api/types/ExtractionField.d.ts +18 -0
- package/dist/api/types/ExtractionField.js +5 -0
- package/dist/api/types/ExtractionFieldResult.d.ts +21 -0
- package/dist/api/types/ExtractionFieldResult.js +5 -0
- package/dist/api/types/ExtractionFieldResultReference.d.ts +14 -0
- package/dist/api/types/ExtractionFieldResultReference.js +5 -0
- package/dist/api/types/ExtractionFieldResultReferenceBoundingBoxesItem.d.ts +13 -0
- package/dist/api/types/ExtractionFieldResultReferenceBoundingBoxesItem.js +5 -0
- package/dist/api/types/ExtractionFieldResultType.d.ts +18 -0
- package/dist/api/types/ExtractionFieldResultType.js +17 -0
- package/dist/api/types/ExtractionFieldType.d.ts +18 -0
- package/dist/api/types/ExtractionFieldType.js +17 -0
- package/dist/api/types/ExtractionOutput.d.ts +8 -0
- package/dist/api/types/ExtractionOutput.js +5 -0
- package/dist/api/types/ExtractionOutputEdits.d.ts +16 -0
- package/dist/api/types/ExtractionOutputEdits.js +5 -0
- package/dist/api/types/FieldsArrayOutput.d.ts +8 -0
- package/dist/api/types/FieldsArrayOutput.js +5 -0
- package/dist/api/types/FigureDetails.d.ts +23 -0
- package/dist/api/types/FigureDetails.js +5 -0
- package/dist/api/types/FigureDetailsFigureType.d.ts +20 -0
- package/dist/api/types/FigureDetailsFigureType.js +13 -0
- package/dist/api/types/FileContents.d.ts +12 -0
- package/dist/api/types/FileContents.js +5 -0
- package/dist/api/types/FileContentsPagesItem.d.ts +15 -0
- package/dist/api/types/FileContentsPagesItem.js +5 -0
- package/dist/api/types/FileContentsSheetsItem.d.ts +9 -0
- package/dist/api/types/FileContentsSheetsItem.js +5 -0
- package/dist/api/types/FileMetadata.d.ts +10 -0
- package/dist/api/types/FileMetadata.js +5 -0
- package/dist/api/types/FileMetadataParentSplit.d.ts +18 -0
- package/dist/api/types/FileMetadataParentSplit.js +5 -0
- package/dist/api/types/FileType.d.ts +17 -0
- package/dist/api/types/FileType.js +16 -0
- package/dist/api/types/File_.d.ts +40 -0
- package/dist/api/types/File_.js +5 -0
- package/dist/api/types/Insight.d.ts +9 -0
- package/dist/api/types/Insight.js +5 -0
- package/dist/api/types/JsonObject.d.ts +7 -0
- package/dist/api/types/JsonObject.js +5 -0
- package/dist/api/types/JsonOutput.d.ts +10 -0
- package/dist/api/types/JsonOutput.js +5 -0
- package/dist/api/types/JsonOutputMetadataValue.d.ts +12 -0
- package/dist/api/types/JsonOutputMetadataValue.js +5 -0
- package/dist/api/types/JsonOutputMetadataValueCitationsItem.d.ts +12 -0
- package/dist/api/types/JsonOutputMetadataValueCitationsItem.js +5 -0
- package/dist/api/types/JsonOutputMetadataValueCitationsItemPolygonItem.d.ts +9 -0
- package/dist/api/types/JsonOutputMetadataValueCitationsItemPolygonItem.js +5 -0
- package/dist/api/types/JsonOutputMetadataValueInsightsItem.d.ts +9 -0
- package/dist/api/types/JsonOutputMetadataValueInsightsItem.js +5 -0
- package/dist/api/types/MaxPageSize.d.ts +7 -0
- package/dist/api/types/MaxPageSize.js +5 -0
- package/dist/api/types/NextPageToken.d.ts +11 -0
- package/dist/api/types/NextPageToken.js +5 -0
- package/dist/api/types/OutputMetadata.d.ts +5 -0
- package/dist/api/types/OutputMetadata.js +5 -0
- package/dist/api/types/OutputMetadataValue.d.ts +12 -0
- package/dist/api/types/OutputMetadataValue.js +5 -0
- package/dist/api/types/ParseConfig.d.ts +21 -0
- package/dist/api/types/ParseConfig.js +5 -0
- package/dist/api/types/ParseConfigAdvancedOptions.d.ts +7 -0
- package/dist/api/types/ParseConfigAdvancedOptions.js +5 -0
- package/dist/api/types/ParseConfigBlockOptions.d.ts +15 -0
- package/dist/api/types/ParseConfigBlockOptions.js +5 -0
- package/dist/api/types/ParseConfigBlockOptionsFigures.d.ts +12 -0
- package/dist/api/types/ParseConfigBlockOptionsFigures.js +5 -0
- package/dist/api/types/ParseConfigBlockOptionsTables.d.ts +17 -0
- package/dist/api/types/ParseConfigBlockOptionsTables.js +5 -0
- package/dist/api/types/ParseConfigBlockOptionsTablesTargetFormat.d.ts +13 -0
- package/dist/api/types/ParseConfigBlockOptionsTablesTargetFormat.js +10 -0
- package/dist/api/types/ParseConfigBlockOptionsText.d.ts +10 -0
- package/dist/api/types/ParseConfigBlockOptionsText.js +5 -0
- package/dist/api/types/ParseConfigChunkingStrategy.d.ts +21 -0
- package/dist/api/types/ParseConfigChunkingStrategy.js +5 -0
- package/dist/api/types/ParseConfigChunkingStrategyType.d.ts +16 -0
- package/dist/api/types/ParseConfigChunkingStrategyType.js +11 -0
- package/dist/api/types/ParseConfigTarget.d.ts +14 -0
- package/dist/api/types/ParseConfigTarget.js +10 -0
- package/dist/api/types/ParseError.d.ts +10 -0
- package/dist/api/types/ParseError.js +5 -0
- package/dist/api/types/ParseErrorCode.d.ts +16 -0
- package/dist/api/types/ParseErrorCode.js +18 -0
- package/dist/api/types/ParseRequestFile.d.ts +18 -0
- package/dist/api/types/ParseRequestFile.js +5 -0
- package/dist/api/types/ParseResponse.d.ts +30 -0
- package/dist/api/types/ParseResponse.js +5 -0
- package/dist/api/types/ParseResponseMetrics.d.ts +12 -0
- package/dist/api/types/ParseResponseMetrics.js +5 -0
- package/dist/api/types/ParseResponseStatus.d.ts +13 -0
- package/dist/api/types/ParseResponseStatus.js +10 -0
- package/dist/api/types/Polygon.d.ts +9 -0
- package/dist/api/types/Polygon.js +5 -0
- package/dist/api/types/Processor.d.ts +34 -0
- package/dist/api/types/Processor.js +5 -0
- package/dist/api/types/ProcessorId.d.ts +9 -0
- package/dist/api/types/ProcessorId.js +5 -0
- package/dist/api/types/ProcessorOutput.d.ts +8 -0
- package/dist/api/types/ProcessorOutput.js +5 -0
- package/dist/api/types/ProcessorRun.d.ts +77 -0
- package/dist/api/types/ProcessorRun.js +5 -0
- package/dist/api/types/ProcessorRunConfig.d.ts +19 -0
- package/dist/api/types/ProcessorRunConfig.js +5 -0
- package/dist/api/types/ProcessorRunFileInput.d.ts +14 -0
- package/dist/api/types/ProcessorRunFileInput.js +5 -0
- package/dist/api/types/ProcessorRunMergedProcessorsItem.d.ts +19 -0
- package/dist/api/types/ProcessorRunMergedProcessorsItem.js +5 -0
- package/dist/api/types/ProcessorRunStatus.d.ts +15 -0
- package/dist/api/types/ProcessorRunStatus.js +11 -0
- package/dist/api/types/ProcessorRunType.d.ts +15 -0
- package/dist/api/types/ProcessorRunType.js +11 -0
- package/dist/api/types/ProcessorType.d.ts +15 -0
- package/dist/api/types/ProcessorType.js +11 -0
- package/dist/api/types/ProcessorVersion.d.ts +57 -0
- package/dist/api/types/ProcessorVersion.js +5 -0
- package/dist/api/types/ProcessorVersionConfig.d.ts +21 -0
- package/dist/api/types/ProcessorVersionConfig.js +5 -0
- package/dist/api/types/ProvidedClassifierOutput.d.ts +11 -0
- package/dist/api/types/ProvidedClassifierOutput.js +5 -0
- package/dist/api/types/ProvidedExtractionFieldResult.d.ts +15 -0
- package/dist/api/types/ProvidedExtractionFieldResult.js +5 -0
- package/dist/api/types/ProvidedExtractionFieldResultType.d.ts +18 -0
- package/dist/api/types/ProvidedExtractionFieldResultType.js +17 -0
- package/dist/api/types/ProvidedExtractionOutput.d.ts +5 -0
- package/dist/api/types/ProvidedExtractionOutput.js +5 -0
- package/dist/api/types/ProvidedFieldsArrayOutput.d.ts +8 -0
- package/dist/api/types/ProvidedFieldsArrayOutput.js +5 -0
- package/dist/api/types/ProvidedJsonOutput.d.ts +9 -0
- package/dist/api/types/ProvidedJsonOutput.js +5 -0
- package/dist/api/types/ProvidedProcessorOutput.d.ts +5 -0
- package/dist/api/types/ProvidedProcessorOutput.js +5 -0
- package/dist/api/types/ProvidedSplitterOutput.d.ts +7 -0
- package/dist/api/types/ProvidedSplitterOutput.js +5 -0
- package/dist/api/types/ProvidedSplitterOutputSplitsItem.d.ts +19 -0
- package/dist/api/types/ProvidedSplitterOutputSplitsItem.js +5 -0
- package/dist/api/types/SortByEnum.d.ts +8 -0
- package/dist/api/types/SortByEnum.js +10 -0
- package/dist/api/types/SortDirEnum.d.ts +8 -0
- package/dist/api/types/SortDirEnum.js +10 -0
- package/dist/api/types/SplitterAdvancedOptions.d.ts +14 -0
- package/dist/api/types/SplitterAdvancedOptions.js +5 -0
- package/dist/api/types/SplitterAdvancedOptionsSplitMethod.d.ts +11 -0
- package/dist/api/types/SplitterAdvancedOptionsSplitMethod.js +10 -0
- package/dist/api/types/SplitterConfig.d.ts +16 -0
- package/dist/api/types/SplitterConfig.js +5 -0
- package/dist/api/types/SplitterMetrics.d.ts +21 -0
- package/dist/api/types/SplitterMetrics.js +5 -0
- package/dist/api/types/SplitterOutput.d.ts +8 -0
- package/dist/api/types/SplitterOutput.js +5 -0
- package/dist/api/types/SplitterOutputSplitsItem.d.ts +23 -0
- package/dist/api/types/SplitterOutputSplitsItem.js +5 -0
- package/dist/api/types/StepRun.d.ts +29 -0
- package/dist/api/types/StepRun.js +5 -0
- package/dist/api/types/StepRunOutput.d.ts +12 -0
- package/dist/api/types/StepRunOutput.js +5 -0
- package/dist/api/types/StepRunOutputRulesItem.d.ts +21 -0
- package/dist/api/types/StepRunOutputRulesItem.js +5 -0
- package/dist/api/types/StepRunOutputRulesItemFailureReason.d.ts +15 -0
- package/dist/api/types/StepRunOutputRulesItemFailureReason.js +11 -0
- package/dist/api/types/StepRunStatus.d.ts +17 -0
- package/dist/api/types/StepRunStatus.js +12 -0
- package/dist/api/types/StepRunStep.d.ts +26 -0
- package/dist/api/types/StepRunStep.js +5 -0
- package/dist/api/types/StepRunStepType.d.ts +13 -0
- package/dist/api/types/StepRunStepType.js +10 -0
- package/dist/api/types/TableCellDetails.d.ts +12 -0
- package/dist/api/types/TableCellDetails.js +5 -0
- package/dist/api/types/TableDetails.d.ts +14 -0
- package/dist/api/types/TableDetails.js +5 -0
- package/dist/api/types/WebhookEvent.d.ts +12 -0
- package/dist/api/types/WebhookEvent.js +5 -0
- package/dist/api/types/WebhookEventEventType.d.ts +24 -0
- package/dist/api/types/WebhookEventEventType.js +23 -0
- package/dist/api/types/WebhookEventPayload.d.ts +8 -0
- package/dist/api/types/WebhookEventPayload.js +5 -0
- package/dist/api/types/WebhookEventProcessor.d.ts +13 -0
- package/dist/api/types/WebhookEventProcessor.js +5 -0
- package/dist/api/types/WebhookEventProcessorEventType.d.ts +10 -0
- package/dist/api/types/WebhookEventProcessorEventType.js +12 -0
- package/dist/api/types/WebhookEventProcessorRun.d.ts +13 -0
- package/dist/api/types/WebhookEventProcessorRun.js +5 -0
- package/dist/api/types/WebhookEventProcessorRunEventType.d.ts +8 -0
- package/dist/api/types/WebhookEventProcessorRunEventType.js +10 -0
- package/dist/api/types/WebhookEventProcessorVersion.d.ts +13 -0
- package/dist/api/types/WebhookEventProcessorVersion.js +5 -0
- package/dist/api/types/WebhookEventWorkflow.d.ts +13 -0
- package/dist/api/types/WebhookEventWorkflow.js +5 -0
- package/dist/api/types/WebhookEventWorkflowEventType.d.ts +9 -0
- package/dist/api/types/WebhookEventWorkflowEventType.js +11 -0
- package/dist/api/types/WebhookEventWorkflowRun.d.ts +13 -0
- package/dist/api/types/WebhookEventWorkflowRun.js +5 -0
- package/dist/api/types/WebhookEventWorkflowRunEventType.d.ts +11 -0
- package/dist/api/types/WebhookEventWorkflowRunEventType.js +13 -0
- package/dist/api/types/Workflow.d.ts +25 -0
- package/dist/api/types/Workflow.js +5 -0
- package/dist/api/types/WorkflowRun.d.ts +86 -0
- package/dist/api/types/WorkflowRun.js +5 -0
- package/dist/api/types/WorkflowRunFileInput.d.ts +21 -0
- package/dist/api/types/WorkflowRunFileInput.js +5 -0
- package/dist/api/types/WorkflowRunFileInputOutputsItem.d.ts +13 -0
- package/dist/api/types/WorkflowRunFileInputOutputsItem.js +5 -0
- package/dist/api/types/WorkflowRunSummary.d.ts +85 -0
- package/dist/api/types/WorkflowRunSummary.js +5 -0
- package/dist/api/types/WorkflowStatus.d.ts +21 -0
- package/dist/api/types/WorkflowStatus.js +14 -0
- package/dist/api/types/index.d.ts +145 -0
- package/dist/api/types/index.js +161 -0
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +26 -0
- package/dist/core/auth/BearerToken.d.ts +5 -0
- package/dist/core/auth/BearerToken.js +15 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/auth/index.js +7 -0
- package/dist/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/Fetcher.d.ts +39 -0
- package/dist/core/fetcher/Fetcher.js +107 -0
- package/dist/core/fetcher/Headers.d.ts +2 -0
- package/dist/core/fetcher/Headers.js +84 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/core/fetcher/RawResponse.js +44 -0
- package/dist/core/fetcher/Supplier.d.ts +4 -0
- package/dist/core/fetcher/Supplier.js +22 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +12 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +68 -0
- package/dist/core/fetcher/getHeader.d.ts +1 -0
- package/dist/core/fetcher/getHeader.js +11 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +54 -0
- package/dist/core/fetcher/index.d.ts +8 -0
- package/dist/core/fetcher/index.js +15 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +40 -0
- package/dist/core/fetcher/signals.d.ts +11 -0
- package/dist/core/fetcher/signals.js +36 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +126 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +59 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +63 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +227 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +4 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +18 -0
- package/dist/core/form-data-utils/index.d.ts +2 -0
- package/dist/core/form-data-utils/index.js +20 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.js +20 -0
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +24 -0
- package/dist/core/runtime/index.d.ts +1 -0
- package/dist/core/runtime/index.js +5 -0
- package/dist/core/runtime/runtime.d.ts +9 -0
- package/dist/core/runtime/runtime.js +103 -0
- package/dist/environments.d.ts +7 -0
- package/dist/environments.js +9 -0
- package/dist/errors/ExtendError.d.ts +15 -0
- package/dist/errors/ExtendError.js +30 -0
- package/dist/errors/ExtendTimeoutError.d.ts +6 -0
- package/dist/errors/ExtendTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +7 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +44 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +4 -0
- package/environments.d.ts +7 -0
- package/environments.js +9 -0
- package/errors/ExtendError.d.ts +15 -0
- package/errors/ExtendError.js +30 -0
- package/errors/ExtendTimeoutError.d.ts +6 -0
- package/errors/ExtendTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -0
- package/errors/index.js +7 -0
- package/index.d.ts +4 -0
- package/index.js +44 -0
- package/jest.config.mjs +8 -0
- package/package.json +45 -0
- package/reference.md +1701 -0
- package/scripts/rename-to-esm-files.js +115 -0
- package/version.d.ts +1 -0
- package/version.js +4 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The strategy to use for selecting chunks.
|
|
6
|
+
*/
|
|
7
|
+
export type ExtractChunkingOptionsChunkSelectionStrategy = "intelligent" | "confidence" | "take_first" | "take_last";
|
|
8
|
+
export declare const ExtractChunkingOptionsChunkSelectionStrategy: {
|
|
9
|
+
readonly Intelligent: "intelligent";
|
|
10
|
+
readonly Confidence: "confidence";
|
|
11
|
+
readonly TakeFirst: "take_first";
|
|
12
|
+
readonly TakeLast: "take_last";
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ExtractChunkingOptionsChunkSelectionStrategy = void 0;
|
|
7
|
+
exports.ExtractChunkingOptionsChunkSelectionStrategy = {
|
|
8
|
+
Intelligent: "intelligent",
|
|
9
|
+
Confidence: "confidence",
|
|
10
|
+
TakeFirst: "take_first",
|
|
11
|
+
TakeLast: "take_last",
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The strategy to use for chunking the document.
|
|
6
|
+
*/
|
|
7
|
+
export type ExtractChunkingOptionsChunkingStrategy = "standard" | "semantic";
|
|
8
|
+
export declare const ExtractChunkingOptionsChunkingStrategy: {
|
|
9
|
+
readonly Standard: "standard";
|
|
10
|
+
readonly Semantic: "semantic";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ExtractChunkingOptionsChunkingStrategy = void 0;
|
|
7
|
+
exports.ExtractChunkingOptionsChunkingStrategy = {
|
|
8
|
+
Standard: "standard",
|
|
9
|
+
Semantic: "semantic",
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Metrics specific to extraction processors
|
|
7
|
+
*/
|
|
8
|
+
export interface ExtractMetrics extends Extend.BaseMetrics {
|
|
9
|
+
/** The type of metrics. Will always be `"EXTRACT"` for extraction processors. */
|
|
10
|
+
type?: "EXTRACT";
|
|
11
|
+
/** Record mapping field names to their respective metrics. */
|
|
12
|
+
fieldMetrics?: Extend.ExtractMetricsFieldMetrics;
|
|
13
|
+
/** Maps the root array field name to a number indicating how many times the array field has the correct number of rows extracted. */
|
|
14
|
+
arrayCardinalityMetrics?: Record<string, unknown>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Record mapping field names to their respective metrics.
|
|
6
|
+
*/
|
|
7
|
+
export interface ExtractMetricsFieldMetrics {
|
|
8
|
+
/** The mean confidence score for this field across all documents. */
|
|
9
|
+
meanConfidence?: number;
|
|
10
|
+
/** The recall percentage for this field, representing how many of the expected values were correctly extracted. */
|
|
11
|
+
recallPerc?: number;
|
|
12
|
+
/** The precision percentage for this field, representing how many of the extracted values were correct. */
|
|
13
|
+
precisionPerc?: number;
|
|
14
|
+
/** For nested object fields, this contains metrics for the child fields. Has the same structure as the parent fieldMetrics. */
|
|
15
|
+
fieldMetrics?: Record<string, unknown>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
export interface ExtractionAdvancedOptions {
|
|
6
|
+
/** The kind of document being processed. */
|
|
7
|
+
documentKind?: string;
|
|
8
|
+
/** Custom key definitions for extraction. */
|
|
9
|
+
keyDefinitions?: string;
|
|
10
|
+
/** Whether to enable model reasoning insights. */
|
|
11
|
+
modelReasoningInsightsEnabled?: boolean;
|
|
12
|
+
/** Whether to enable advanced multimodal features. */
|
|
13
|
+
advancedMultimodalEnabled?: boolean;
|
|
14
|
+
/** Whether to enable citations in the output. */
|
|
15
|
+
citationsEnabled?: boolean;
|
|
16
|
+
/** Whether to enable the auto-review assistant. */
|
|
17
|
+
autoReviewAssistantEnabled?: boolean;
|
|
18
|
+
/** Whether to enable advanced figure parsing. */
|
|
19
|
+
advancedFigureParsingEnabled?: boolean;
|
|
20
|
+
chunkingOptions?: Extend.ExtractChunkingOptions;
|
|
21
|
+
/** Optional fixed limit on the number of pages to process. */
|
|
22
|
+
fixedPageLimit?: number;
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
export interface ExtractionConfig {
|
|
6
|
+
/** The base processor to use. For extractors, this must be either `"extraction_performance"` or `"extraction_light"`. See the [base processor documentation](https://docs.extend.ai/2025-04-21/changelog/overview) for more details. */
|
|
7
|
+
baseProcessor?: Extend.ExtractionConfigBaseProcessor;
|
|
8
|
+
/** The version of the `"extraction_performance"` or `"extraction_light"` processor to use. If this is provided, the `baseProcessor` must also be provided. See the [base processor documentation](https://docs.extend.ai/2025-04-21/changelog/overview) for more details. */
|
|
9
|
+
baseVersion?: string;
|
|
10
|
+
/** Custom rules to guide the extraction process in natural language. */
|
|
11
|
+
extractionRules?: string;
|
|
12
|
+
/**
|
|
13
|
+
* JSON Schema definition of the data to extract. Either `fields` or `schema` must be provided.
|
|
14
|
+
*
|
|
15
|
+
* See the [schema documentation](https://docs.extend.ai/2025-04-21/developers/guides/processor-configs#json-schema-structure-schema) for details and examples of schema configuration.
|
|
16
|
+
*/
|
|
17
|
+
schema?: Extend.JsonObject;
|
|
18
|
+
/**
|
|
19
|
+
* Array of fields to extract from the document. Either `fields` or `schema` must be provided.
|
|
20
|
+
*
|
|
21
|
+
* We recommend using `schema` for new implementations.
|
|
22
|
+
*/
|
|
23
|
+
fields?: Extend.ExtractionField[];
|
|
24
|
+
/** Advanced configuration options. */
|
|
25
|
+
advancedOptions?: Extend.ExtractionAdvancedOptions;
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The base processor to use. For extractors, this must be either `"extraction_performance"` or `"extraction_light"`. See the [base processor documentation](https://docs.extend.ai/2025-04-21/changelog/overview) for more details.
|
|
6
|
+
*/
|
|
7
|
+
export type ExtractionConfigBaseProcessor = "extraction_performance" | "extraction_light";
|
|
8
|
+
export declare const ExtractionConfigBaseProcessor: {
|
|
9
|
+
readonly ExtractionPerformance: "extraction_performance";
|
|
10
|
+
readonly ExtractionLight: "extraction_light";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ExtractionConfigBaseProcessor = void 0;
|
|
7
|
+
exports.ExtractionConfigBaseProcessor = {
|
|
8
|
+
ExtractionPerformance: "extraction_performance",
|
|
9
|
+
ExtractionLight: "extraction_light",
|
|
10
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
export interface ExtractionField {
|
|
6
|
+
/** Unique identifier for the field. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Human-readable name for the field. */
|
|
9
|
+
name: string;
|
|
10
|
+
/** The type of the field. */
|
|
11
|
+
type: Extend.ExtractionFieldType;
|
|
12
|
+
/** Detailed description of the field, including expected content and format. */
|
|
13
|
+
description: string;
|
|
14
|
+
/** Required when type is "array" or "object". Contains nested field definitions. */
|
|
15
|
+
schema?: Extend.ExtractionField[];
|
|
16
|
+
/** Required when type is "enum". List of allowed values. */
|
|
17
|
+
enum?: Extend.Enum[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
export interface ExtractionFieldResult {
|
|
6
|
+
/** The unique identifier for this field */
|
|
7
|
+
id: string;
|
|
8
|
+
/** The type of the extracted field */
|
|
9
|
+
type: Extend.ExtractionFieldResultType;
|
|
10
|
+
value?: unknown;
|
|
11
|
+
/** A value between 0 and 1 indicating confidence in the extraction */
|
|
12
|
+
confidence?: number;
|
|
13
|
+
/** The field schema of nested fields */
|
|
14
|
+
schema?: Extend.ExtractionField[];
|
|
15
|
+
/** Reasoning and other insights from the model */
|
|
16
|
+
insights?: Extend.Insight[];
|
|
17
|
+
/** References for the extracted field */
|
|
18
|
+
references: Extend.ExtractionFieldResultReference[];
|
|
19
|
+
/** The enum options for enum fields, only set when type=enum */
|
|
20
|
+
enum?: Extend.EnumOption[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
export interface ExtractionFieldResultReference {
|
|
6
|
+
/** The unique identifier for this field */
|
|
7
|
+
id: string;
|
|
8
|
+
/** The name of the extracted field */
|
|
9
|
+
fieldName: string;
|
|
10
|
+
/** The page number that this bounding box is from */
|
|
11
|
+
page: number;
|
|
12
|
+
/** The bounding boxes of the field */
|
|
13
|
+
boundingBoxes: Extend.ExtractionFieldResultReferenceBoundingBoxesItem[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ExtractionFieldResultReferenceBoundingBoxesItem {
|
|
5
|
+
/** The top coordinate of the bounding box */
|
|
6
|
+
top: number;
|
|
7
|
+
/** The left coordinate of the bounding box */
|
|
8
|
+
left: number;
|
|
9
|
+
/** The bottom coordinate of the bounding box */
|
|
10
|
+
bottom: number;
|
|
11
|
+
/** The right coordinate of the bounding box */
|
|
12
|
+
right: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The type of the extracted field
|
|
6
|
+
*/
|
|
7
|
+
export type ExtractionFieldResultType = "string" | "number" | "currency" | "boolean" | "date" | "enum" | "array" | "object" | "signature";
|
|
8
|
+
export declare const ExtractionFieldResultType: {
|
|
9
|
+
readonly String: "string";
|
|
10
|
+
readonly Number: "number";
|
|
11
|
+
readonly Currency: "currency";
|
|
12
|
+
readonly Boolean: "boolean";
|
|
13
|
+
readonly Date: "date";
|
|
14
|
+
readonly Enum: "enum";
|
|
15
|
+
readonly Array: "array";
|
|
16
|
+
readonly Object: "object";
|
|
17
|
+
readonly Signature: "signature";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ExtractionFieldResultType = void 0;
|
|
7
|
+
exports.ExtractionFieldResultType = {
|
|
8
|
+
String: "string",
|
|
9
|
+
Number: "number",
|
|
10
|
+
Currency: "currency",
|
|
11
|
+
Boolean: "boolean",
|
|
12
|
+
Date: "date",
|
|
13
|
+
Enum: "enum",
|
|
14
|
+
Array: "array",
|
|
15
|
+
Object: "object",
|
|
16
|
+
Signature: "signature",
|
|
17
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The type of the field.
|
|
6
|
+
*/
|
|
7
|
+
export type ExtractionFieldType = "string" | "number" | "currency" | "boolean" | "date" | "array" | "enum" | "object" | "signature";
|
|
8
|
+
export declare const ExtractionFieldType: {
|
|
9
|
+
readonly String: "string";
|
|
10
|
+
readonly Number: "number";
|
|
11
|
+
readonly Currency: "currency";
|
|
12
|
+
readonly Boolean: "boolean";
|
|
13
|
+
readonly Date: "date";
|
|
14
|
+
readonly Array: "array";
|
|
15
|
+
readonly Enum: "enum";
|
|
16
|
+
readonly Object: "object";
|
|
17
|
+
readonly Signature: "signature";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ExtractionFieldType = void 0;
|
|
7
|
+
exports.ExtractionFieldType = {
|
|
8
|
+
String: "string",
|
|
9
|
+
Number: "number",
|
|
10
|
+
Currency: "currency",
|
|
11
|
+
Boolean: "boolean",
|
|
12
|
+
Date: "date",
|
|
13
|
+
Array: "array",
|
|
14
|
+
Enum: "enum",
|
|
15
|
+
Object: "object",
|
|
16
|
+
Signature: "signature",
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A record of edits made to the processor output.
|
|
6
|
+
*/
|
|
7
|
+
export interface ExtractionOutputEdits {
|
|
8
|
+
originalValue?: unknown;
|
|
9
|
+
editedValue?: unknown;
|
|
10
|
+
/** Any notes added during editing. */
|
|
11
|
+
notes?: string;
|
|
12
|
+
/** The page number where the edit was made. */
|
|
13
|
+
page?: number;
|
|
14
|
+
/** The type of the edited field. */
|
|
15
|
+
fieldType?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Details for figure blocks
|
|
7
|
+
*/
|
|
8
|
+
export interface FigureDetails {
|
|
9
|
+
/** Indicates this is a figure details object */
|
|
10
|
+
type: "figure_details";
|
|
11
|
+
/** URL to the clipped/segmented figure image. Only set if the option `figureImageClippingEnabled` in the input is `true`, which it is by default. */
|
|
12
|
+
imageUrl?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The refined type of figure - only set when figure classification and summarization is enabled. Possible values:
|
|
15
|
+
*
|
|
16
|
+
* * `image`: A photographic image
|
|
17
|
+
* * `chart`: A data chart or graph
|
|
18
|
+
* * `diagram`: A schematic or diagram
|
|
19
|
+
* * `logo`: A company or brand logo
|
|
20
|
+
* * `other`: Any other type of figure
|
|
21
|
+
*/
|
|
22
|
+
figureType?: Extend.FigureDetailsFigureType;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The refined type of figure - only set when figure classification and summarization is enabled. Possible values:
|
|
6
|
+
*
|
|
7
|
+
* * `image`: A photographic image
|
|
8
|
+
* * `chart`: A data chart or graph
|
|
9
|
+
* * `diagram`: A schematic or diagram
|
|
10
|
+
* * `logo`: A company or brand logo
|
|
11
|
+
* * `other`: Any other type of figure
|
|
12
|
+
*/
|
|
13
|
+
export type FigureDetailsFigureType = "other" | "chart" | "image" | "diagram" | "logo";
|
|
14
|
+
export declare const FigureDetailsFigureType: {
|
|
15
|
+
readonly Other: "other";
|
|
16
|
+
readonly Chart: "chart";
|
|
17
|
+
readonly Image: "image";
|
|
18
|
+
readonly Diagram: "diagram";
|
|
19
|
+
readonly Logo: "logo";
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FigureDetailsFigureType = void 0;
|
|
7
|
+
exports.FigureDetailsFigureType = {
|
|
8
|
+
Other: "other",
|
|
9
|
+
Chart: "chart",
|
|
10
|
+
Image: "image",
|
|
11
|
+
Diagram: "diagram",
|
|
12
|
+
Logo: "logo",
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
export interface FileContents {
|
|
6
|
+
/** The raw text content of the file. This is included for all file types if the `rawText` query parameter is set to true in the endpoint request. */
|
|
7
|
+
rawText?: string;
|
|
8
|
+
/** Cleaned and structured markdown content of the entire file. Available for PDF and IMG file types. Only included if the `markdown` query parameter is set to true in the endpoint request. */
|
|
9
|
+
markdown?: string;
|
|
10
|
+
pages?: Extend.FileContentsPagesItem[];
|
|
11
|
+
sheets?: Extend.FileContentsSheetsItem[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface FileContentsPagesItem {
|
|
5
|
+
/** The page number of this page in the document. */
|
|
6
|
+
pageNumber: number;
|
|
7
|
+
pageHeight?: number;
|
|
8
|
+
pageWidth?: number;
|
|
9
|
+
/** The raw text content extracted from this page. */
|
|
10
|
+
rawText?: string;
|
|
11
|
+
/** Cleaned and structured markdown content of this page. */
|
|
12
|
+
markdown?: string;
|
|
13
|
+
/** Cleaned and structured html content of the page. Available for DOCX file types (that were not auto-converted to PDFs). Only included if the `html` query parameter is set to true in the endpoint request. */
|
|
14
|
+
html?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Extend from "../index";
|
|
5
|
+
export interface FileMetadata {
|
|
6
|
+
/** The number of pages in the file. This is only set for PDF/DOCX files. */
|
|
7
|
+
pageCount?: number;
|
|
8
|
+
/** The split metadata details. Only included if this file is a derivative of another file, for instance if it was created via a Splitter in a workflow. */
|
|
9
|
+
parentSplit?: Extend.FileMetadataParentSplit;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The split metadata details. Only included if this file is a derivative of another file, for instance if it was created via a Splitter in a workflow.
|
|
6
|
+
*/
|
|
7
|
+
export interface FileMetadataParentSplit {
|
|
8
|
+
/** The ID of the split. */
|
|
9
|
+
id: string;
|
|
10
|
+
/** The type of the split. */
|
|
11
|
+
type: string;
|
|
12
|
+
/** The identifier of the split. */
|
|
13
|
+
identifier: string;
|
|
14
|
+
/** The start page of the split. */
|
|
15
|
+
startPage: number;
|
|
16
|
+
/** The end page of the split. */
|
|
17
|
+
endPage: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The type of the file
|
|
6
|
+
*/
|
|
7
|
+
export type FileType = "PDF" | "CSV" | "IMG" | "TXT" | "DOCX" | "EXCEL" | "XML" | "HTML";
|
|
8
|
+
export declare const FileType: {
|
|
9
|
+
readonly Pdf: "PDF";
|
|
10
|
+
readonly Csv: "CSV";
|
|
11
|
+
readonly Img: "IMG";
|
|
12
|
+
readonly Txt: "TXT";
|
|
13
|
+
readonly Docx: "DOCX";
|
|
14
|
+
readonly Excel: "EXCEL";
|
|
15
|
+
readonly Xml: "XML";
|
|
16
|
+
readonly Html: "HTML";
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FileType = void 0;
|
|
7
|
+
exports.FileType = {
|
|
8
|
+
Pdf: "PDF",
|
|
9
|
+
Csv: "CSV",
|
|
10
|
+
Img: "IMG",
|
|
11
|
+
Txt: "TXT",
|
|
12
|
+
Docx: "DOCX",
|
|
13
|
+
Excel: "EXCEL",
|
|
14
|
+
Xml: "XML",
|
|
15
|
+
Html: "HTML",
|
|
16
|
+
};
|