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
package/reference.md
ADDED
|
@@ -0,0 +1,1701 @@
|
|
|
1
|
+
# Reference
|
|
2
|
+
|
|
3
|
+
<details><summary><code>client.<a href="/src/Client.ts">parse</a>({ ...params }) -> Extend.ParseResponse</code></summary>
|
|
4
|
+
<dl>
|
|
5
|
+
<dd>
|
|
6
|
+
|
|
7
|
+
#### 📝 Description
|
|
8
|
+
|
|
9
|
+
<dl>
|
|
10
|
+
<dd>
|
|
11
|
+
|
|
12
|
+
<dl>
|
|
13
|
+
<dd>
|
|
14
|
+
|
|
15
|
+
Parse files to get cleaned, chunked target content (e.g. markdown).
|
|
16
|
+
|
|
17
|
+
The Parse endpoint allows you to convert documents into structured, machine-readable formats with fine-grained control over the parsing process. This endpoint is ideal for extracting cleaned document content to be used as context for downstream processing, e.g. RAG pipelines, custom ingestion pipelines, embeddings classification, etc.
|
|
18
|
+
|
|
19
|
+
Unlike processor and workflow runs, parsing is a synchronous endpoint and returns the parsed content in the response. Expected latency depends primarily on file size. This makes it suitable for workflows where you need immediate access to document content without waiting for asynchronous processing.
|
|
20
|
+
|
|
21
|
+
For more details, see the [Parse File guide](https://docs.extend.ai/2025-04-21/developers/guides/parse).
|
|
22
|
+
|
|
23
|
+
</dd>
|
|
24
|
+
</dl>
|
|
25
|
+
</dd>
|
|
26
|
+
</dl>
|
|
27
|
+
|
|
28
|
+
#### 🔌 Usage
|
|
29
|
+
|
|
30
|
+
<dl>
|
|
31
|
+
<dd>
|
|
32
|
+
|
|
33
|
+
<dl>
|
|
34
|
+
<dd>
|
|
35
|
+
|
|
36
|
+
```typescript
|
|
37
|
+
await client.parse({
|
|
38
|
+
file: {},
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
</dd>
|
|
43
|
+
</dl>
|
|
44
|
+
</dd>
|
|
45
|
+
</dl>
|
|
46
|
+
|
|
47
|
+
#### ⚙️ Parameters
|
|
48
|
+
|
|
49
|
+
<dl>
|
|
50
|
+
<dd>
|
|
51
|
+
|
|
52
|
+
<dl>
|
|
53
|
+
<dd>
|
|
54
|
+
|
|
55
|
+
**request:** `Extend.ParseRequest`
|
|
56
|
+
|
|
57
|
+
</dd>
|
|
58
|
+
</dl>
|
|
59
|
+
|
|
60
|
+
<dl>
|
|
61
|
+
<dd>
|
|
62
|
+
|
|
63
|
+
**requestOptions:** `ExtendClient.RequestOptions`
|
|
64
|
+
|
|
65
|
+
</dd>
|
|
66
|
+
</dl>
|
|
67
|
+
</dd>
|
|
68
|
+
</dl>
|
|
69
|
+
|
|
70
|
+
</dd>
|
|
71
|
+
</dl>
|
|
72
|
+
</details>
|
|
73
|
+
|
|
74
|
+
##
|
|
75
|
+
|
|
76
|
+
## WorkflowRun
|
|
77
|
+
|
|
78
|
+
<details><summary><code>client.workflowRun.<a href="/src/api/resources/workflowRun/client/Client.ts">list</a>({ ...params }) -> Extend.WorkflowRunListResponse</code></summary>
|
|
79
|
+
<dl>
|
|
80
|
+
<dd>
|
|
81
|
+
|
|
82
|
+
#### 📝 Description
|
|
83
|
+
|
|
84
|
+
<dl>
|
|
85
|
+
<dd>
|
|
86
|
+
|
|
87
|
+
<dl>
|
|
88
|
+
<dd>
|
|
89
|
+
|
|
90
|
+
List runs of a Workflow. Workflows are sequences of steps that process files and data in a specific order to achieve a desired outcome. A WorkflowRun represents a single execution of a workflow against a file.
|
|
91
|
+
|
|
92
|
+
</dd>
|
|
93
|
+
</dl>
|
|
94
|
+
</dd>
|
|
95
|
+
</dl>
|
|
96
|
+
|
|
97
|
+
#### 🔌 Usage
|
|
98
|
+
|
|
99
|
+
<dl>
|
|
100
|
+
<dd>
|
|
101
|
+
|
|
102
|
+
<dl>
|
|
103
|
+
<dd>
|
|
104
|
+
|
|
105
|
+
```typescript
|
|
106
|
+
await client.workflowRun.list({
|
|
107
|
+
nextPageToken: "xK9mLPqRtN3vS8wF5hB2cQ==:zWvUxYjM4nKpL7aDgE9HbTcR2mAyX3/Q+CNkfBSw1dZ=",
|
|
108
|
+
});
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
</dd>
|
|
112
|
+
</dl>
|
|
113
|
+
</dd>
|
|
114
|
+
</dl>
|
|
115
|
+
|
|
116
|
+
#### ⚙️ Parameters
|
|
117
|
+
|
|
118
|
+
<dl>
|
|
119
|
+
<dd>
|
|
120
|
+
|
|
121
|
+
<dl>
|
|
122
|
+
<dd>
|
|
123
|
+
|
|
124
|
+
**request:** `Extend.WorkflowRunListRequest`
|
|
125
|
+
|
|
126
|
+
</dd>
|
|
127
|
+
</dl>
|
|
128
|
+
|
|
129
|
+
<dl>
|
|
130
|
+
<dd>
|
|
131
|
+
|
|
132
|
+
**requestOptions:** `WorkflowRun.RequestOptions`
|
|
133
|
+
|
|
134
|
+
</dd>
|
|
135
|
+
</dl>
|
|
136
|
+
</dd>
|
|
137
|
+
</dl>
|
|
138
|
+
|
|
139
|
+
</dd>
|
|
140
|
+
</dl>
|
|
141
|
+
</details>
|
|
142
|
+
|
|
143
|
+
<details><summary><code>client.workflowRun.<a href="/src/api/resources/workflowRun/client/Client.ts">create</a>({ ...params }) -> Extend.WorkflowRunCreateResponse</code></summary>
|
|
144
|
+
<dl>
|
|
145
|
+
<dd>
|
|
146
|
+
|
|
147
|
+
#### 📝 Description
|
|
148
|
+
|
|
149
|
+
<dl>
|
|
150
|
+
<dd>
|
|
151
|
+
|
|
152
|
+
<dl>
|
|
153
|
+
<dd>
|
|
154
|
+
|
|
155
|
+
Run a Workflow with files. A Workflow is a sequence of steps that process files and data in a specific order to achieve a desired outcome. A WorkflowRun will be created for each file processed. A WorkflowRun represents a single execution of a workflow against a file.
|
|
156
|
+
|
|
157
|
+
</dd>
|
|
158
|
+
</dl>
|
|
159
|
+
</dd>
|
|
160
|
+
</dl>
|
|
161
|
+
|
|
162
|
+
#### 🔌 Usage
|
|
163
|
+
|
|
164
|
+
<dl>
|
|
165
|
+
<dd>
|
|
166
|
+
|
|
167
|
+
<dl>
|
|
168
|
+
<dd>
|
|
169
|
+
|
|
170
|
+
```typescript
|
|
171
|
+
await client.workflowRun.create({
|
|
172
|
+
workflowId: "workflow_id_here",
|
|
173
|
+
});
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
</dd>
|
|
177
|
+
</dl>
|
|
178
|
+
</dd>
|
|
179
|
+
</dl>
|
|
180
|
+
|
|
181
|
+
#### ⚙️ Parameters
|
|
182
|
+
|
|
183
|
+
<dl>
|
|
184
|
+
<dd>
|
|
185
|
+
|
|
186
|
+
<dl>
|
|
187
|
+
<dd>
|
|
188
|
+
|
|
189
|
+
**request:** `Extend.WorkflowRunCreateRequest`
|
|
190
|
+
|
|
191
|
+
</dd>
|
|
192
|
+
</dl>
|
|
193
|
+
|
|
194
|
+
<dl>
|
|
195
|
+
<dd>
|
|
196
|
+
|
|
197
|
+
**requestOptions:** `WorkflowRun.RequestOptions`
|
|
198
|
+
|
|
199
|
+
</dd>
|
|
200
|
+
</dl>
|
|
201
|
+
</dd>
|
|
202
|
+
</dl>
|
|
203
|
+
|
|
204
|
+
</dd>
|
|
205
|
+
</dl>
|
|
206
|
+
</details>
|
|
207
|
+
|
|
208
|
+
<details><summary><code>client.workflowRun.<a href="/src/api/resources/workflowRun/client/Client.ts">get</a>(workflowRunId) -> Extend.WorkflowRunGetResponse</code></summary>
|
|
209
|
+
<dl>
|
|
210
|
+
<dd>
|
|
211
|
+
|
|
212
|
+
#### 📝 Description
|
|
213
|
+
|
|
214
|
+
<dl>
|
|
215
|
+
<dd>
|
|
216
|
+
|
|
217
|
+
<dl>
|
|
218
|
+
<dd>
|
|
219
|
+
|
|
220
|
+
Once a workflow has been run, you can check the status and output of a specific WorkflowRun.
|
|
221
|
+
|
|
222
|
+
</dd>
|
|
223
|
+
</dl>
|
|
224
|
+
</dd>
|
|
225
|
+
</dl>
|
|
226
|
+
|
|
227
|
+
#### 🔌 Usage
|
|
228
|
+
|
|
229
|
+
<dl>
|
|
230
|
+
<dd>
|
|
231
|
+
|
|
232
|
+
<dl>
|
|
233
|
+
<dd>
|
|
234
|
+
|
|
235
|
+
```typescript
|
|
236
|
+
await client.workflowRun.get("workflow_run_id_here");
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
</dd>
|
|
240
|
+
</dl>
|
|
241
|
+
</dd>
|
|
242
|
+
</dl>
|
|
243
|
+
|
|
244
|
+
#### ⚙️ Parameters
|
|
245
|
+
|
|
246
|
+
<dl>
|
|
247
|
+
<dd>
|
|
248
|
+
|
|
249
|
+
<dl>
|
|
250
|
+
<dd>
|
|
251
|
+
|
|
252
|
+
**workflowRunId:** `string`
|
|
253
|
+
|
|
254
|
+
The ID of the WorkflowRun that was outputted after a Workflow was run through the API.
|
|
255
|
+
|
|
256
|
+
Example: `"workflow_run_8k9m-xyzAB_Pqrst-Nvw4"`
|
|
257
|
+
|
|
258
|
+
</dd>
|
|
259
|
+
</dl>
|
|
260
|
+
|
|
261
|
+
<dl>
|
|
262
|
+
<dd>
|
|
263
|
+
|
|
264
|
+
**requestOptions:** `WorkflowRun.RequestOptions`
|
|
265
|
+
|
|
266
|
+
</dd>
|
|
267
|
+
</dl>
|
|
268
|
+
</dd>
|
|
269
|
+
</dl>
|
|
270
|
+
|
|
271
|
+
</dd>
|
|
272
|
+
</dl>
|
|
273
|
+
</details>
|
|
274
|
+
|
|
275
|
+
<details><summary><code>client.workflowRun.<a href="/src/api/resources/workflowRun/client/Client.ts">update</a>(workflowRunId, { ...params }) -> Extend.WorkflowRunUpdateResponse</code></summary>
|
|
276
|
+
<dl>
|
|
277
|
+
<dd>
|
|
278
|
+
|
|
279
|
+
#### 📝 Description
|
|
280
|
+
|
|
281
|
+
<dl>
|
|
282
|
+
<dd>
|
|
283
|
+
|
|
284
|
+
<dl>
|
|
285
|
+
<dd>
|
|
286
|
+
|
|
287
|
+
You can update the name and metadata of an in progress WorkflowRun at any time using this endpoint.
|
|
288
|
+
|
|
289
|
+
</dd>
|
|
290
|
+
</dl>
|
|
291
|
+
</dd>
|
|
292
|
+
</dl>
|
|
293
|
+
|
|
294
|
+
#### 🔌 Usage
|
|
295
|
+
|
|
296
|
+
<dl>
|
|
297
|
+
<dd>
|
|
298
|
+
|
|
299
|
+
<dl>
|
|
300
|
+
<dd>
|
|
301
|
+
|
|
302
|
+
```typescript
|
|
303
|
+
await client.workflowRun.update("workflow_run_id_here");
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
</dd>
|
|
307
|
+
</dl>
|
|
308
|
+
</dd>
|
|
309
|
+
</dl>
|
|
310
|
+
|
|
311
|
+
#### ⚙️ Parameters
|
|
312
|
+
|
|
313
|
+
<dl>
|
|
314
|
+
<dd>
|
|
315
|
+
|
|
316
|
+
<dl>
|
|
317
|
+
<dd>
|
|
318
|
+
|
|
319
|
+
**workflowRunId:** `string`
|
|
320
|
+
|
|
321
|
+
The ID of the WorkflowRun. This ID will start with "workflow_run". This ID can be found in the API response when creating a Workflow Run, or in the "history" tab of a workflow on the Extend platform.
|
|
322
|
+
|
|
323
|
+
Example: `"workflow_run_8k9m-xyzAB_Pqrst-Nvw4"`
|
|
324
|
+
|
|
325
|
+
</dd>
|
|
326
|
+
</dl>
|
|
327
|
+
|
|
328
|
+
<dl>
|
|
329
|
+
<dd>
|
|
330
|
+
|
|
331
|
+
**request:** `Extend.WorkflowRunUpdateRequest`
|
|
332
|
+
|
|
333
|
+
</dd>
|
|
334
|
+
</dl>
|
|
335
|
+
|
|
336
|
+
<dl>
|
|
337
|
+
<dd>
|
|
338
|
+
|
|
339
|
+
**requestOptions:** `WorkflowRun.RequestOptions`
|
|
340
|
+
|
|
341
|
+
</dd>
|
|
342
|
+
</dl>
|
|
343
|
+
</dd>
|
|
344
|
+
</dl>
|
|
345
|
+
|
|
346
|
+
</dd>
|
|
347
|
+
</dl>
|
|
348
|
+
</details>
|
|
349
|
+
|
|
350
|
+
## BatchWorkflowRun
|
|
351
|
+
|
|
352
|
+
<details><summary><code>client.batchWorkflowRun.<a href="/src/api/resources/batchWorkflowRun/client/Client.ts">create</a>({ ...params }) -> Extend.BatchWorkflowRunCreateResponse</code></summary>
|
|
353
|
+
<dl>
|
|
354
|
+
<dd>
|
|
355
|
+
|
|
356
|
+
#### 📝 Description
|
|
357
|
+
|
|
358
|
+
<dl>
|
|
359
|
+
<dd>
|
|
360
|
+
|
|
361
|
+
<dl>
|
|
362
|
+
<dd>
|
|
363
|
+
|
|
364
|
+
This endpoint allows you to efficiently initiate large batches of workflow runs in a single request (up to 1,000 in a single request, but you can queue up multiple batches in rapid succession). It accepts an array of inputs, each containing a file and metadata pair. The primary use case for this endpoint is for doing large bulk runs of >1000 files at a time that can process over the course of a few hours without needing to manage rate limits that would likely occur using the primary run endpoint.
|
|
365
|
+
|
|
366
|
+
Unlike the single [Run Workflow](https://docs.extend.ai/2025-04-21/developers/api-reference/workflow-endpoints/run-workflow) endpoint which returns the details of the created workflow runs immediately, this batch endpoint returns a `batchId`.
|
|
367
|
+
|
|
368
|
+
Our recommended usage pattern is to integrate with [Webhooks](https://docs.extend.ai/2025-04-21/developers/webhooks/configuration) for consuming results, using the `metadata` and `batchId` to match up results to the original inputs in your downstream systems. However, you can integrate in a polling mechanism by using a combination of the [List Workflow Runs](https://docs.extend.ai/2025-04-21/developers/api-reference/workflow-endpoints/list-workflow-runs) endpoint to fetch all runs via a batch, and then [Get Workflow Run](https://docs.extend.ai/2025-04-21/developers/api-reference/workflow-endpoints/get-workflow-run) to fetch the full outputs each run.
|
|
369
|
+
|
|
370
|
+
**Processing and Monitoring:**
|
|
371
|
+
Upon successful submission, the endpoint returns a `batchId`. The individual workflow runs are then queued for processing.
|
|
372
|
+
|
|
373
|
+
- **Monitoring:** Track the progress and consume results of individual runs using [Webhooks](https://docs.extend.ai/2025-04-21/developers/webhooks/configuration). Subscribe to events like `workflow_run.completed`, `workflow_run.failed`, etc. The webhook payload for these events will include the corresponding `batchId` and the `metadata` you provided for each input.
|
|
374
|
+
- **Fetching Results:** You can also use the [List Workflow Runs](https://docs.extend.ai/2025-04-21/developers/api-reference/workflow-endpoints/list-workflow-runs) endpoint and filter using the `batchId` query param.
|
|
375
|
+
</dd>
|
|
376
|
+
</dl>
|
|
377
|
+
</dd>
|
|
378
|
+
</dl>
|
|
379
|
+
|
|
380
|
+
#### 🔌 Usage
|
|
381
|
+
|
|
382
|
+
<dl>
|
|
383
|
+
<dd>
|
|
384
|
+
|
|
385
|
+
<dl>
|
|
386
|
+
<dd>
|
|
387
|
+
|
|
388
|
+
```typescript
|
|
389
|
+
await client.batchWorkflowRun.create({
|
|
390
|
+
workflowId: "workflow_id_here",
|
|
391
|
+
inputs: [{}],
|
|
392
|
+
});
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
</dd>
|
|
396
|
+
</dl>
|
|
397
|
+
</dd>
|
|
398
|
+
</dl>
|
|
399
|
+
|
|
400
|
+
#### ⚙️ Parameters
|
|
401
|
+
|
|
402
|
+
<dl>
|
|
403
|
+
<dd>
|
|
404
|
+
|
|
405
|
+
<dl>
|
|
406
|
+
<dd>
|
|
407
|
+
|
|
408
|
+
**request:** `Extend.BatchWorkflowRunCreateRequest`
|
|
409
|
+
|
|
410
|
+
</dd>
|
|
411
|
+
</dl>
|
|
412
|
+
|
|
413
|
+
<dl>
|
|
414
|
+
<dd>
|
|
415
|
+
|
|
416
|
+
**requestOptions:** `BatchWorkflowRun.RequestOptions`
|
|
417
|
+
|
|
418
|
+
</dd>
|
|
419
|
+
</dl>
|
|
420
|
+
</dd>
|
|
421
|
+
</dl>
|
|
422
|
+
|
|
423
|
+
</dd>
|
|
424
|
+
</dl>
|
|
425
|
+
</details>
|
|
426
|
+
|
|
427
|
+
## ProcessorRun
|
|
428
|
+
|
|
429
|
+
<details><summary><code>client.processorRun.<a href="/src/api/resources/processorRun/client/Client.ts">create</a>({ ...params }) -> Extend.ProcessorRunCreateResponse</code></summary>
|
|
430
|
+
<dl>
|
|
431
|
+
<dd>
|
|
432
|
+
|
|
433
|
+
#### 📝 Description
|
|
434
|
+
|
|
435
|
+
<dl>
|
|
436
|
+
<dd>
|
|
437
|
+
|
|
438
|
+
<dl>
|
|
439
|
+
<dd>
|
|
440
|
+
|
|
441
|
+
Run processors (extraction, classification, splitting, etc.) on a given document.
|
|
442
|
+
|
|
443
|
+
In general, the recommended way to integrate with Extend in production is via workflows, using the [Run Workflow](https://docs.extend.ai/2025-04-21/developers/api-reference/workflow-endpoints/run-workflow) endpoint. This is due to several factors:
|
|
444
|
+
|
|
445
|
+
- file parsing/pre-processing will automatically be reused across multiple processors, which will give you simplicity and cost savings given that many use cases will require multiple processors to be run on the same document.
|
|
446
|
+
- workflows provide dedicated human in the loop document review, when needed.
|
|
447
|
+
- workflows allow you to model and manage your pipeline with a single endpoint and corresponding UI for modeling and monitoring.
|
|
448
|
+
|
|
449
|
+
However, there are a number of legitimate use cases and systems where it might be easier to model the pipeline via code and run processors directly. This endpoint is provided for this purpose.
|
|
450
|
+
|
|
451
|
+
Similar to workflow runs, processor runs are asynchronous and will return a status of `PROCESSING` until the run is complete. You can [configure webhooks](https://docs.extend.ai/2025-04-21/developers/webhooks/configuration) to receive notifications when a processor run is complete or failed.
|
|
452
|
+
|
|
453
|
+
</dd>
|
|
454
|
+
</dl>
|
|
455
|
+
</dd>
|
|
456
|
+
</dl>
|
|
457
|
+
|
|
458
|
+
#### 🔌 Usage
|
|
459
|
+
|
|
460
|
+
<dl>
|
|
461
|
+
<dd>
|
|
462
|
+
|
|
463
|
+
<dl>
|
|
464
|
+
<dd>
|
|
465
|
+
|
|
466
|
+
```typescript
|
|
467
|
+
await client.processorRun.create({
|
|
468
|
+
processorId: "processor_id_here",
|
|
469
|
+
});
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
</dd>
|
|
473
|
+
</dl>
|
|
474
|
+
</dd>
|
|
475
|
+
</dl>
|
|
476
|
+
|
|
477
|
+
#### ⚙️ Parameters
|
|
478
|
+
|
|
479
|
+
<dl>
|
|
480
|
+
<dd>
|
|
481
|
+
|
|
482
|
+
<dl>
|
|
483
|
+
<dd>
|
|
484
|
+
|
|
485
|
+
**request:** `Extend.ProcessorRunCreateRequest`
|
|
486
|
+
|
|
487
|
+
</dd>
|
|
488
|
+
</dl>
|
|
489
|
+
|
|
490
|
+
<dl>
|
|
491
|
+
<dd>
|
|
492
|
+
|
|
493
|
+
**requestOptions:** `ProcessorRun.RequestOptions`
|
|
494
|
+
|
|
495
|
+
</dd>
|
|
496
|
+
</dl>
|
|
497
|
+
</dd>
|
|
498
|
+
</dl>
|
|
499
|
+
|
|
500
|
+
</dd>
|
|
501
|
+
</dl>
|
|
502
|
+
</details>
|
|
503
|
+
|
|
504
|
+
<details><summary><code>client.processorRun.<a href="/src/api/resources/processorRun/client/Client.ts">get</a>(id) -> Extend.ProcessorRunGetResponse</code></summary>
|
|
505
|
+
<dl>
|
|
506
|
+
<dd>
|
|
507
|
+
|
|
508
|
+
#### 📝 Description
|
|
509
|
+
|
|
510
|
+
<dl>
|
|
511
|
+
<dd>
|
|
512
|
+
|
|
513
|
+
<dl>
|
|
514
|
+
<dd>
|
|
515
|
+
|
|
516
|
+
Retrieve details about a specific processor run, including its status, outputs, and any edits made during review.
|
|
517
|
+
|
|
518
|
+
A common use case for this endpoint is to poll for the status and final output of an async processor run when using the [Run Processor](https://docs.extend.ai/2025-04-21/developers/api-reference/processor-endpoints/run-processor) endpoint. For instance, if you do not want to not configure webhooks to receive the output via completion/failure events.
|
|
519
|
+
|
|
520
|
+
</dd>
|
|
521
|
+
</dl>
|
|
522
|
+
</dd>
|
|
523
|
+
</dl>
|
|
524
|
+
|
|
525
|
+
#### 🔌 Usage
|
|
526
|
+
|
|
527
|
+
<dl>
|
|
528
|
+
<dd>
|
|
529
|
+
|
|
530
|
+
<dl>
|
|
531
|
+
<dd>
|
|
532
|
+
|
|
533
|
+
```typescript
|
|
534
|
+
await client.processorRun.get("processor_run_id_here");
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
</dd>
|
|
538
|
+
</dl>
|
|
539
|
+
</dd>
|
|
540
|
+
</dl>
|
|
541
|
+
|
|
542
|
+
#### ⚙️ Parameters
|
|
543
|
+
|
|
544
|
+
<dl>
|
|
545
|
+
<dd>
|
|
546
|
+
|
|
547
|
+
<dl>
|
|
548
|
+
<dd>
|
|
549
|
+
|
|
550
|
+
**id:** `string`
|
|
551
|
+
|
|
552
|
+
The unique identifier for this processor run.
|
|
553
|
+
|
|
554
|
+
Example: `"dpr_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
555
|
+
|
|
556
|
+
</dd>
|
|
557
|
+
</dl>
|
|
558
|
+
|
|
559
|
+
<dl>
|
|
560
|
+
<dd>
|
|
561
|
+
|
|
562
|
+
**requestOptions:** `ProcessorRun.RequestOptions`
|
|
563
|
+
|
|
564
|
+
</dd>
|
|
565
|
+
</dl>
|
|
566
|
+
</dd>
|
|
567
|
+
</dl>
|
|
568
|
+
|
|
569
|
+
</dd>
|
|
570
|
+
</dl>
|
|
571
|
+
</details>
|
|
572
|
+
|
|
573
|
+
## Processor
|
|
574
|
+
|
|
575
|
+
<details><summary><code>client.processor.<a href="/src/api/resources/processor/client/Client.ts">create</a>({ ...params }) -> Extend.ProcessorCreateResponse</code></summary>
|
|
576
|
+
<dl>
|
|
577
|
+
<dd>
|
|
578
|
+
|
|
579
|
+
#### 📝 Description
|
|
580
|
+
|
|
581
|
+
<dl>
|
|
582
|
+
<dd>
|
|
583
|
+
|
|
584
|
+
<dl>
|
|
585
|
+
<dd>
|
|
586
|
+
|
|
587
|
+
Create a new processor in Extend, optionally cloning from an existing processor
|
|
588
|
+
|
|
589
|
+
</dd>
|
|
590
|
+
</dl>
|
|
591
|
+
</dd>
|
|
592
|
+
</dl>
|
|
593
|
+
|
|
594
|
+
#### 🔌 Usage
|
|
595
|
+
|
|
596
|
+
<dl>
|
|
597
|
+
<dd>
|
|
598
|
+
|
|
599
|
+
<dl>
|
|
600
|
+
<dd>
|
|
601
|
+
|
|
602
|
+
```typescript
|
|
603
|
+
await client.processor.create({
|
|
604
|
+
name: "My Processor Name",
|
|
605
|
+
type: "EXTRACT",
|
|
606
|
+
});
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
</dd>
|
|
610
|
+
</dl>
|
|
611
|
+
</dd>
|
|
612
|
+
</dl>
|
|
613
|
+
|
|
614
|
+
#### ⚙️ Parameters
|
|
615
|
+
|
|
616
|
+
<dl>
|
|
617
|
+
<dd>
|
|
618
|
+
|
|
619
|
+
<dl>
|
|
620
|
+
<dd>
|
|
621
|
+
|
|
622
|
+
**request:** `Extend.ProcessorCreateRequest`
|
|
623
|
+
|
|
624
|
+
</dd>
|
|
625
|
+
</dl>
|
|
626
|
+
|
|
627
|
+
<dl>
|
|
628
|
+
<dd>
|
|
629
|
+
|
|
630
|
+
**requestOptions:** `Processor.RequestOptions`
|
|
631
|
+
|
|
632
|
+
</dd>
|
|
633
|
+
</dl>
|
|
634
|
+
</dd>
|
|
635
|
+
</dl>
|
|
636
|
+
|
|
637
|
+
</dd>
|
|
638
|
+
</dl>
|
|
639
|
+
</details>
|
|
640
|
+
|
|
641
|
+
<details><summary><code>client.processor.<a href="/src/api/resources/processor/client/Client.ts">update</a>(id, { ...params }) -> Extend.ProcessorUpdateResponse</code></summary>
|
|
642
|
+
<dl>
|
|
643
|
+
<dd>
|
|
644
|
+
|
|
645
|
+
#### 📝 Description
|
|
646
|
+
|
|
647
|
+
<dl>
|
|
648
|
+
<dd>
|
|
649
|
+
|
|
650
|
+
<dl>
|
|
651
|
+
<dd>
|
|
652
|
+
|
|
653
|
+
Update an existing processor in Extend
|
|
654
|
+
|
|
655
|
+
</dd>
|
|
656
|
+
</dl>
|
|
657
|
+
</dd>
|
|
658
|
+
</dl>
|
|
659
|
+
|
|
660
|
+
#### 🔌 Usage
|
|
661
|
+
|
|
662
|
+
<dl>
|
|
663
|
+
<dd>
|
|
664
|
+
|
|
665
|
+
<dl>
|
|
666
|
+
<dd>
|
|
667
|
+
|
|
668
|
+
```typescript
|
|
669
|
+
await client.processor.update("processor_id_here");
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
</dd>
|
|
673
|
+
</dl>
|
|
674
|
+
</dd>
|
|
675
|
+
</dl>
|
|
676
|
+
|
|
677
|
+
#### ⚙️ Parameters
|
|
678
|
+
|
|
679
|
+
<dl>
|
|
680
|
+
<dd>
|
|
681
|
+
|
|
682
|
+
<dl>
|
|
683
|
+
<dd>
|
|
684
|
+
|
|
685
|
+
**id:** `string`
|
|
686
|
+
|
|
687
|
+
The ID of the processor to update.
|
|
688
|
+
|
|
689
|
+
Example: `"dp_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
690
|
+
|
|
691
|
+
</dd>
|
|
692
|
+
</dl>
|
|
693
|
+
|
|
694
|
+
<dl>
|
|
695
|
+
<dd>
|
|
696
|
+
|
|
697
|
+
**request:** `Extend.ProcessorUpdateRequest`
|
|
698
|
+
|
|
699
|
+
</dd>
|
|
700
|
+
</dl>
|
|
701
|
+
|
|
702
|
+
<dl>
|
|
703
|
+
<dd>
|
|
704
|
+
|
|
705
|
+
**requestOptions:** `Processor.RequestOptions`
|
|
706
|
+
|
|
707
|
+
</dd>
|
|
708
|
+
</dl>
|
|
709
|
+
</dd>
|
|
710
|
+
</dl>
|
|
711
|
+
|
|
712
|
+
</dd>
|
|
713
|
+
</dl>
|
|
714
|
+
</details>
|
|
715
|
+
|
|
716
|
+
## ProcessorVersion
|
|
717
|
+
|
|
718
|
+
<details><summary><code>client.processorVersion.<a href="/src/api/resources/processorVersion/client/Client.ts">get</a>(processorId, processorVersionId) -> Extend.ProcessorVersionGetResponse</code></summary>
|
|
719
|
+
<dl>
|
|
720
|
+
<dd>
|
|
721
|
+
|
|
722
|
+
#### 📝 Description
|
|
723
|
+
|
|
724
|
+
<dl>
|
|
725
|
+
<dd>
|
|
726
|
+
|
|
727
|
+
<dl>
|
|
728
|
+
<dd>
|
|
729
|
+
|
|
730
|
+
Retrieve a specific version of a processor in Extend
|
|
731
|
+
|
|
732
|
+
</dd>
|
|
733
|
+
</dl>
|
|
734
|
+
</dd>
|
|
735
|
+
</dl>
|
|
736
|
+
|
|
737
|
+
#### 🔌 Usage
|
|
738
|
+
|
|
739
|
+
<dl>
|
|
740
|
+
<dd>
|
|
741
|
+
|
|
742
|
+
<dl>
|
|
743
|
+
<dd>
|
|
744
|
+
|
|
745
|
+
```typescript
|
|
746
|
+
await client.processorVersion.get("processor_id_here", "processor_version_id_here");
|
|
747
|
+
```
|
|
748
|
+
|
|
749
|
+
</dd>
|
|
750
|
+
</dl>
|
|
751
|
+
</dd>
|
|
752
|
+
</dl>
|
|
753
|
+
|
|
754
|
+
#### ⚙️ Parameters
|
|
755
|
+
|
|
756
|
+
<dl>
|
|
757
|
+
<dd>
|
|
758
|
+
|
|
759
|
+
<dl>
|
|
760
|
+
<dd>
|
|
761
|
+
|
|
762
|
+
**processorId:** `string`
|
|
763
|
+
|
|
764
|
+
The ID of the processor.
|
|
765
|
+
|
|
766
|
+
Example: `"dp_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
767
|
+
|
|
768
|
+
</dd>
|
|
769
|
+
</dl>
|
|
770
|
+
|
|
771
|
+
<dl>
|
|
772
|
+
<dd>
|
|
773
|
+
|
|
774
|
+
**processorVersionId:** `string`
|
|
775
|
+
|
|
776
|
+
The ID of the specific processor version to retrieve.
|
|
777
|
+
|
|
778
|
+
Example: `"dpv_QYk6jgHA_8CsO8rVWhyNC"`
|
|
779
|
+
|
|
780
|
+
</dd>
|
|
781
|
+
</dl>
|
|
782
|
+
|
|
783
|
+
<dl>
|
|
784
|
+
<dd>
|
|
785
|
+
|
|
786
|
+
**requestOptions:** `ProcessorVersion.RequestOptions`
|
|
787
|
+
|
|
788
|
+
</dd>
|
|
789
|
+
</dl>
|
|
790
|
+
</dd>
|
|
791
|
+
</dl>
|
|
792
|
+
|
|
793
|
+
</dd>
|
|
794
|
+
</dl>
|
|
795
|
+
</details>
|
|
796
|
+
|
|
797
|
+
<details><summary><code>client.processorVersion.<a href="/src/api/resources/processorVersion/client/Client.ts">list</a>(id) -> Extend.ProcessorVersionListResponse</code></summary>
|
|
798
|
+
<dl>
|
|
799
|
+
<dd>
|
|
800
|
+
|
|
801
|
+
#### 📝 Description
|
|
802
|
+
|
|
803
|
+
<dl>
|
|
804
|
+
<dd>
|
|
805
|
+
|
|
806
|
+
<dl>
|
|
807
|
+
<dd>
|
|
808
|
+
|
|
809
|
+
This endpoint allows you to fetch all versions of a given processor, including the current `draft` version.
|
|
810
|
+
|
|
811
|
+
Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation.
|
|
812
|
+
The `draft` version is the latest unpublished version of the processor, which can be published to create a new version. It might not have any changes from the last published version.
|
|
813
|
+
|
|
814
|
+
</dd>
|
|
815
|
+
</dl>
|
|
816
|
+
</dd>
|
|
817
|
+
</dl>
|
|
818
|
+
|
|
819
|
+
#### 🔌 Usage
|
|
820
|
+
|
|
821
|
+
<dl>
|
|
822
|
+
<dd>
|
|
823
|
+
|
|
824
|
+
<dl>
|
|
825
|
+
<dd>
|
|
826
|
+
|
|
827
|
+
```typescript
|
|
828
|
+
await client.processorVersion.list("processor_id_here");
|
|
829
|
+
```
|
|
830
|
+
|
|
831
|
+
</dd>
|
|
832
|
+
</dl>
|
|
833
|
+
</dd>
|
|
834
|
+
</dl>
|
|
835
|
+
|
|
836
|
+
#### ⚙️ Parameters
|
|
837
|
+
|
|
838
|
+
<dl>
|
|
839
|
+
<dd>
|
|
840
|
+
|
|
841
|
+
<dl>
|
|
842
|
+
<dd>
|
|
843
|
+
|
|
844
|
+
**id:** `string`
|
|
845
|
+
|
|
846
|
+
The ID of the processor to retrieve versions for.
|
|
847
|
+
|
|
848
|
+
Example: `"dp_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
849
|
+
|
|
850
|
+
</dd>
|
|
851
|
+
</dl>
|
|
852
|
+
|
|
853
|
+
<dl>
|
|
854
|
+
<dd>
|
|
855
|
+
|
|
856
|
+
**requestOptions:** `ProcessorVersion.RequestOptions`
|
|
857
|
+
|
|
858
|
+
</dd>
|
|
859
|
+
</dl>
|
|
860
|
+
</dd>
|
|
861
|
+
</dl>
|
|
862
|
+
|
|
863
|
+
</dd>
|
|
864
|
+
</dl>
|
|
865
|
+
</details>
|
|
866
|
+
|
|
867
|
+
<details><summary><code>client.processorVersion.<a href="/src/api/resources/processorVersion/client/Client.ts">create</a>(id, { ...params }) -> Extend.ProcessorVersionCreateResponse</code></summary>
|
|
868
|
+
<dl>
|
|
869
|
+
<dd>
|
|
870
|
+
|
|
871
|
+
#### 📝 Description
|
|
872
|
+
|
|
873
|
+
<dl>
|
|
874
|
+
<dd>
|
|
875
|
+
|
|
876
|
+
<dl>
|
|
877
|
+
<dd>
|
|
878
|
+
|
|
879
|
+
This endpoint allows you to publish a new version of an existing processor. Publishing a new version creates a snapshot of the processor's current configuration and makes it available for use in workflows.
|
|
880
|
+
|
|
881
|
+
Publishing a new version does not automatically update existing workflows using this processor. You may need to manually update workflows to use the new version if desired.
|
|
882
|
+
|
|
883
|
+
</dd>
|
|
884
|
+
</dl>
|
|
885
|
+
</dd>
|
|
886
|
+
</dl>
|
|
887
|
+
|
|
888
|
+
#### 🔌 Usage
|
|
889
|
+
|
|
890
|
+
<dl>
|
|
891
|
+
<dd>
|
|
892
|
+
|
|
893
|
+
<dl>
|
|
894
|
+
<dd>
|
|
895
|
+
|
|
896
|
+
```typescript
|
|
897
|
+
await client.processorVersion.create("processor_id_here", {
|
|
898
|
+
releaseType: "major",
|
|
899
|
+
});
|
|
900
|
+
```
|
|
901
|
+
|
|
902
|
+
</dd>
|
|
903
|
+
</dl>
|
|
904
|
+
</dd>
|
|
905
|
+
</dl>
|
|
906
|
+
|
|
907
|
+
#### ⚙️ Parameters
|
|
908
|
+
|
|
909
|
+
<dl>
|
|
910
|
+
<dd>
|
|
911
|
+
|
|
912
|
+
<dl>
|
|
913
|
+
<dd>
|
|
914
|
+
|
|
915
|
+
**id:** `string`
|
|
916
|
+
|
|
917
|
+
The ID of the processor to publish a new version for.
|
|
918
|
+
|
|
919
|
+
Example: `"dp_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
920
|
+
|
|
921
|
+
</dd>
|
|
922
|
+
</dl>
|
|
923
|
+
|
|
924
|
+
<dl>
|
|
925
|
+
<dd>
|
|
926
|
+
|
|
927
|
+
**request:** `Extend.ProcessorVersionCreateRequest`
|
|
928
|
+
|
|
929
|
+
</dd>
|
|
930
|
+
</dl>
|
|
931
|
+
|
|
932
|
+
<dl>
|
|
933
|
+
<dd>
|
|
934
|
+
|
|
935
|
+
**requestOptions:** `ProcessorVersion.RequestOptions`
|
|
936
|
+
|
|
937
|
+
</dd>
|
|
938
|
+
</dl>
|
|
939
|
+
</dd>
|
|
940
|
+
</dl>
|
|
941
|
+
|
|
942
|
+
</dd>
|
|
943
|
+
</dl>
|
|
944
|
+
</details>
|
|
945
|
+
|
|
946
|
+
## File
|
|
947
|
+
|
|
948
|
+
<details><summary><code>client.file.<a href="/src/api/resources/file/client/Client.ts">list</a>({ ...params }) -> Extend.FileListResponse</code></summary>
|
|
949
|
+
<dl>
|
|
950
|
+
<dd>
|
|
951
|
+
|
|
952
|
+
#### 📝 Description
|
|
953
|
+
|
|
954
|
+
<dl>
|
|
955
|
+
<dd>
|
|
956
|
+
|
|
957
|
+
<dl>
|
|
958
|
+
<dd>
|
|
959
|
+
|
|
960
|
+
List files in your account. Files represent documents that have been uploaded to Extend. This endpoint returns a paginated response. You can use the `nextPageToken` to fetch subsequent results.
|
|
961
|
+
|
|
962
|
+
</dd>
|
|
963
|
+
</dl>
|
|
964
|
+
</dd>
|
|
965
|
+
</dl>
|
|
966
|
+
|
|
967
|
+
#### 🔌 Usage
|
|
968
|
+
|
|
969
|
+
<dl>
|
|
970
|
+
<dd>
|
|
971
|
+
|
|
972
|
+
<dl>
|
|
973
|
+
<dd>
|
|
974
|
+
|
|
975
|
+
```typescript
|
|
976
|
+
await client.file.list({
|
|
977
|
+
nextPageToken: "xK9mLPqRtN3vS8wF5hB2cQ==:zWvUxYjM4nKpL7aDgE9HbTcR2mAyX3/Q+CNkfBSw1dZ=",
|
|
978
|
+
});
|
|
979
|
+
```
|
|
980
|
+
|
|
981
|
+
</dd>
|
|
982
|
+
</dl>
|
|
983
|
+
</dd>
|
|
984
|
+
</dl>
|
|
985
|
+
|
|
986
|
+
#### ⚙️ Parameters
|
|
987
|
+
|
|
988
|
+
<dl>
|
|
989
|
+
<dd>
|
|
990
|
+
|
|
991
|
+
<dl>
|
|
992
|
+
<dd>
|
|
993
|
+
|
|
994
|
+
**request:** `Extend.FileListRequest`
|
|
995
|
+
|
|
996
|
+
</dd>
|
|
997
|
+
</dl>
|
|
998
|
+
|
|
999
|
+
<dl>
|
|
1000
|
+
<dd>
|
|
1001
|
+
|
|
1002
|
+
**requestOptions:** `File_.RequestOptions`
|
|
1003
|
+
|
|
1004
|
+
</dd>
|
|
1005
|
+
</dl>
|
|
1006
|
+
</dd>
|
|
1007
|
+
</dl>
|
|
1008
|
+
|
|
1009
|
+
</dd>
|
|
1010
|
+
</dl>
|
|
1011
|
+
</details>
|
|
1012
|
+
|
|
1013
|
+
<details><summary><code>client.file.<a href="/src/api/resources/file/client/Client.ts">get</a>(id, { ...params }) -> Extend.FileGetResponse</code></summary>
|
|
1014
|
+
<dl>
|
|
1015
|
+
<dd>
|
|
1016
|
+
|
|
1017
|
+
#### 📝 Description
|
|
1018
|
+
|
|
1019
|
+
<dl>
|
|
1020
|
+
<dd>
|
|
1021
|
+
|
|
1022
|
+
<dl>
|
|
1023
|
+
<dd>
|
|
1024
|
+
|
|
1025
|
+
Fetch a file by its ID to obtain additional details and the raw file content.
|
|
1026
|
+
|
|
1027
|
+
</dd>
|
|
1028
|
+
</dl>
|
|
1029
|
+
</dd>
|
|
1030
|
+
</dl>
|
|
1031
|
+
|
|
1032
|
+
#### 🔌 Usage
|
|
1033
|
+
|
|
1034
|
+
<dl>
|
|
1035
|
+
<dd>
|
|
1036
|
+
|
|
1037
|
+
<dl>
|
|
1038
|
+
<dd>
|
|
1039
|
+
|
|
1040
|
+
```typescript
|
|
1041
|
+
await client.file.get("file_id_here");
|
|
1042
|
+
```
|
|
1043
|
+
|
|
1044
|
+
</dd>
|
|
1045
|
+
</dl>
|
|
1046
|
+
</dd>
|
|
1047
|
+
</dl>
|
|
1048
|
+
|
|
1049
|
+
#### ⚙️ Parameters
|
|
1050
|
+
|
|
1051
|
+
<dl>
|
|
1052
|
+
<dd>
|
|
1053
|
+
|
|
1054
|
+
<dl>
|
|
1055
|
+
<dd>
|
|
1056
|
+
|
|
1057
|
+
**id:** `string`
|
|
1058
|
+
|
|
1059
|
+
Extend's ID for the file. It will always start with `"file_"`. This ID is returned when creating a new File, or the value on the `fileId` field in a WorkflowRun.
|
|
1060
|
+
|
|
1061
|
+
Example: `"file_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
1062
|
+
|
|
1063
|
+
</dd>
|
|
1064
|
+
</dl>
|
|
1065
|
+
|
|
1066
|
+
<dl>
|
|
1067
|
+
<dd>
|
|
1068
|
+
|
|
1069
|
+
**request:** `Extend.FileGetRequest`
|
|
1070
|
+
|
|
1071
|
+
</dd>
|
|
1072
|
+
</dl>
|
|
1073
|
+
|
|
1074
|
+
<dl>
|
|
1075
|
+
<dd>
|
|
1076
|
+
|
|
1077
|
+
**requestOptions:** `File_.RequestOptions`
|
|
1078
|
+
|
|
1079
|
+
</dd>
|
|
1080
|
+
</dl>
|
|
1081
|
+
</dd>
|
|
1082
|
+
</dl>
|
|
1083
|
+
|
|
1084
|
+
</dd>
|
|
1085
|
+
</dl>
|
|
1086
|
+
</details>
|
|
1087
|
+
|
|
1088
|
+
<details><summary><code>client.file.<a href="/src/api/resources/file/client/Client.ts">upload</a>(file) -> Extend.FileUploadResponse</code></summary>
|
|
1089
|
+
<dl>
|
|
1090
|
+
<dd>
|
|
1091
|
+
|
|
1092
|
+
#### 📝 Description
|
|
1093
|
+
|
|
1094
|
+
<dl>
|
|
1095
|
+
<dd>
|
|
1096
|
+
|
|
1097
|
+
<dl>
|
|
1098
|
+
<dd>
|
|
1099
|
+
|
|
1100
|
+
Upload and create a new file in Extend.
|
|
1101
|
+
|
|
1102
|
+
This endpoint accepts file contents and registers them as a File in Extend, which can be used for [running workflows](https://docs.extend.ai/2025-04-21/developers/api-reference/workflow-endpoints/run-workflow), [creating evaluation set items](https://docs.extend.ai/2025-04-21/developers/api-reference/evaluation-set-endpoints/bulk-create-evaluation-set-items), [parsing](https://docs.extend.ai/2025-04-21/developers/api-reference/parse-endpoints/parse-file), etc.
|
|
1103
|
+
|
|
1104
|
+
If an uploaded file is detected as a Word or PowerPoint document, it will be automatically converted to a PDF.
|
|
1105
|
+
|
|
1106
|
+
Supported file types can be found [here](https://docs.extend.ai/2025-04-21/developers/guides/supported-file-types).
|
|
1107
|
+
|
|
1108
|
+
This endpoint requires multipart form encoding. Most HTTP clients will handle this encoding automatically (see the examples).
|
|
1109
|
+
|
|
1110
|
+
</dd>
|
|
1111
|
+
</dl>
|
|
1112
|
+
</dd>
|
|
1113
|
+
</dl>
|
|
1114
|
+
|
|
1115
|
+
#### 🔌 Usage
|
|
1116
|
+
|
|
1117
|
+
<dl>
|
|
1118
|
+
<dd>
|
|
1119
|
+
|
|
1120
|
+
<dl>
|
|
1121
|
+
<dd>
|
|
1122
|
+
|
|
1123
|
+
```typescript
|
|
1124
|
+
await client.file.upload(fs.createReadStream("/path/to/your/file"));
|
|
1125
|
+
```
|
|
1126
|
+
|
|
1127
|
+
</dd>
|
|
1128
|
+
</dl>
|
|
1129
|
+
</dd>
|
|
1130
|
+
</dl>
|
|
1131
|
+
|
|
1132
|
+
#### ⚙️ Parameters
|
|
1133
|
+
|
|
1134
|
+
<dl>
|
|
1135
|
+
<dd>
|
|
1136
|
+
|
|
1137
|
+
<dl>
|
|
1138
|
+
<dd>
|
|
1139
|
+
|
|
1140
|
+
**file:** `File | fs.ReadStream | Blob`
|
|
1141
|
+
|
|
1142
|
+
</dd>
|
|
1143
|
+
</dl>
|
|
1144
|
+
|
|
1145
|
+
<dl>
|
|
1146
|
+
<dd>
|
|
1147
|
+
|
|
1148
|
+
**requestOptions:** `File_.RequestOptions`
|
|
1149
|
+
|
|
1150
|
+
</dd>
|
|
1151
|
+
</dl>
|
|
1152
|
+
</dd>
|
|
1153
|
+
</dl>
|
|
1154
|
+
|
|
1155
|
+
</dd>
|
|
1156
|
+
</dl>
|
|
1157
|
+
</details>
|
|
1158
|
+
|
|
1159
|
+
## EvaluationSet
|
|
1160
|
+
|
|
1161
|
+
<details><summary><code>client.evaluationSet.<a href="/src/api/resources/evaluationSet/client/Client.ts">create</a>({ ...params }) -> Extend.EvaluationSetCreateResponse</code></summary>
|
|
1162
|
+
<dl>
|
|
1163
|
+
<dd>
|
|
1164
|
+
|
|
1165
|
+
#### 📝 Description
|
|
1166
|
+
|
|
1167
|
+
<dl>
|
|
1168
|
+
<dd>
|
|
1169
|
+
|
|
1170
|
+
<dl>
|
|
1171
|
+
<dd>
|
|
1172
|
+
|
|
1173
|
+
Evaluation sets are collections of files and expected outputs that are used to evaluate the performance of a given processor in Extend. This endpoint will create a new evaluation set in Extend, which items can be added to using the [Create Evaluation Set Item](https://docs.extend.ai/2025-04-21/developers/api-reference/evaluation-set-endpoints/create-evaluation-set-item) endpoint.
|
|
1174
|
+
|
|
1175
|
+
Note: it is not necessary to create an evaluation set via API. You can also create an evaluation set via the Extend dashboard and take the ID from there.
|
|
1176
|
+
|
|
1177
|
+
</dd>
|
|
1178
|
+
</dl>
|
|
1179
|
+
</dd>
|
|
1180
|
+
</dl>
|
|
1181
|
+
|
|
1182
|
+
#### 🔌 Usage
|
|
1183
|
+
|
|
1184
|
+
<dl>
|
|
1185
|
+
<dd>
|
|
1186
|
+
|
|
1187
|
+
<dl>
|
|
1188
|
+
<dd>
|
|
1189
|
+
|
|
1190
|
+
```typescript
|
|
1191
|
+
await client.evaluationSet.create({
|
|
1192
|
+
name: "My Evaluation Set",
|
|
1193
|
+
description: "My Evaluation Set Description",
|
|
1194
|
+
processorId: "processor_id_here",
|
|
1195
|
+
});
|
|
1196
|
+
```
|
|
1197
|
+
|
|
1198
|
+
</dd>
|
|
1199
|
+
</dl>
|
|
1200
|
+
</dd>
|
|
1201
|
+
</dl>
|
|
1202
|
+
|
|
1203
|
+
#### ⚙️ Parameters
|
|
1204
|
+
|
|
1205
|
+
<dl>
|
|
1206
|
+
<dd>
|
|
1207
|
+
|
|
1208
|
+
<dl>
|
|
1209
|
+
<dd>
|
|
1210
|
+
|
|
1211
|
+
**request:** `Extend.EvaluationSetCreateRequest`
|
|
1212
|
+
|
|
1213
|
+
</dd>
|
|
1214
|
+
</dl>
|
|
1215
|
+
|
|
1216
|
+
<dl>
|
|
1217
|
+
<dd>
|
|
1218
|
+
|
|
1219
|
+
**requestOptions:** `EvaluationSet.RequestOptions`
|
|
1220
|
+
|
|
1221
|
+
</dd>
|
|
1222
|
+
</dl>
|
|
1223
|
+
</dd>
|
|
1224
|
+
</dl>
|
|
1225
|
+
|
|
1226
|
+
</dd>
|
|
1227
|
+
</dl>
|
|
1228
|
+
</details>
|
|
1229
|
+
|
|
1230
|
+
## EvaluationSetItem
|
|
1231
|
+
|
|
1232
|
+
<details><summary><code>client.evaluationSetItem.<a href="/src/api/resources/evaluationSetItem/client/Client.ts">create</a>({ ...params }) -> Extend.EvaluationSetItemCreateResponse</code></summary>
|
|
1233
|
+
<dl>
|
|
1234
|
+
<dd>
|
|
1235
|
+
|
|
1236
|
+
#### 📝 Description
|
|
1237
|
+
|
|
1238
|
+
<dl>
|
|
1239
|
+
<dd>
|
|
1240
|
+
|
|
1241
|
+
<dl>
|
|
1242
|
+
<dd>
|
|
1243
|
+
|
|
1244
|
+
Evaluation set items are the individual files and expected outputs that are used to evaluate the performance of a given processor in Extend. This endpoint will create a new evaluation set item in Extend, which will be used during an evaluation run.
|
|
1245
|
+
|
|
1246
|
+
Best Practices for Outputs in Evaluation Sets:
|
|
1247
|
+
|
|
1248
|
+
- **Configure First, Output Later**
|
|
1249
|
+
- Always create and finalize your processor configuration before creating evaluation sets
|
|
1250
|
+
- Field IDs in outputs must match those defined in your processor configuration
|
|
1251
|
+
- **Type Consistency**
|
|
1252
|
+
- Ensure output types exactly match your processor configuration
|
|
1253
|
+
- For example, if a field is configured as "currency", don't submit a simple number value
|
|
1254
|
+
- **Field IDs**
|
|
1255
|
+
- Use the exact field IDs from your processor configuration
|
|
1256
|
+
- Create your own semantic IDs instead in the configs for each field/type instead of using the generated ones
|
|
1257
|
+
- **Value**
|
|
1258
|
+
- Remember that all results are inside the value key of a result object, except the values within nested structures.
|
|
1259
|
+
</dd>
|
|
1260
|
+
</dl>
|
|
1261
|
+
</dd>
|
|
1262
|
+
</dl>
|
|
1263
|
+
|
|
1264
|
+
#### 🔌 Usage
|
|
1265
|
+
|
|
1266
|
+
<dl>
|
|
1267
|
+
<dd>
|
|
1268
|
+
|
|
1269
|
+
<dl>
|
|
1270
|
+
<dd>
|
|
1271
|
+
|
|
1272
|
+
```typescript
|
|
1273
|
+
await client.evaluationSetItem.create({
|
|
1274
|
+
evaluationSetId: "evaluation_set_id_here",
|
|
1275
|
+
fileId: "file_id_here",
|
|
1276
|
+
expectedOutput: {
|
|
1277
|
+
value: {
|
|
1278
|
+
key: "value",
|
|
1279
|
+
},
|
|
1280
|
+
},
|
|
1281
|
+
});
|
|
1282
|
+
```
|
|
1283
|
+
|
|
1284
|
+
</dd>
|
|
1285
|
+
</dl>
|
|
1286
|
+
</dd>
|
|
1287
|
+
</dl>
|
|
1288
|
+
|
|
1289
|
+
#### ⚙️ Parameters
|
|
1290
|
+
|
|
1291
|
+
<dl>
|
|
1292
|
+
<dd>
|
|
1293
|
+
|
|
1294
|
+
<dl>
|
|
1295
|
+
<dd>
|
|
1296
|
+
|
|
1297
|
+
**request:** `Extend.EvaluationSetItemCreateRequest`
|
|
1298
|
+
|
|
1299
|
+
</dd>
|
|
1300
|
+
</dl>
|
|
1301
|
+
|
|
1302
|
+
<dl>
|
|
1303
|
+
<dd>
|
|
1304
|
+
|
|
1305
|
+
**requestOptions:** `EvaluationSetItem.RequestOptions`
|
|
1306
|
+
|
|
1307
|
+
</dd>
|
|
1308
|
+
</dl>
|
|
1309
|
+
</dd>
|
|
1310
|
+
</dl>
|
|
1311
|
+
|
|
1312
|
+
</dd>
|
|
1313
|
+
</dl>
|
|
1314
|
+
</details>
|
|
1315
|
+
|
|
1316
|
+
<details><summary><code>client.evaluationSetItem.<a href="/src/api/resources/evaluationSetItem/client/Client.ts">update</a>(id, { ...params }) -> Extend.EvaluationSetItemUpdateResponse</code></summary>
|
|
1317
|
+
<dl>
|
|
1318
|
+
<dd>
|
|
1319
|
+
|
|
1320
|
+
#### 📝 Description
|
|
1321
|
+
|
|
1322
|
+
<dl>
|
|
1323
|
+
<dd>
|
|
1324
|
+
|
|
1325
|
+
<dl>
|
|
1326
|
+
<dd>
|
|
1327
|
+
|
|
1328
|
+
If you need to change the expected output for a given evaluation set item, you can use this endpoint to update the item. This can be useful if you need to correct an error in the expected output or if the output of the processor has changed.
|
|
1329
|
+
|
|
1330
|
+
</dd>
|
|
1331
|
+
</dl>
|
|
1332
|
+
</dd>
|
|
1333
|
+
</dl>
|
|
1334
|
+
|
|
1335
|
+
#### 🔌 Usage
|
|
1336
|
+
|
|
1337
|
+
<dl>
|
|
1338
|
+
<dd>
|
|
1339
|
+
|
|
1340
|
+
<dl>
|
|
1341
|
+
<dd>
|
|
1342
|
+
|
|
1343
|
+
```typescript
|
|
1344
|
+
await client.evaluationSetItem.update("evaluation_set_item_id_here", {
|
|
1345
|
+
expectedOutput: {
|
|
1346
|
+
value: {
|
|
1347
|
+
key: "value",
|
|
1348
|
+
},
|
|
1349
|
+
},
|
|
1350
|
+
});
|
|
1351
|
+
```
|
|
1352
|
+
|
|
1353
|
+
</dd>
|
|
1354
|
+
</dl>
|
|
1355
|
+
</dd>
|
|
1356
|
+
</dl>
|
|
1357
|
+
|
|
1358
|
+
#### ⚙️ Parameters
|
|
1359
|
+
|
|
1360
|
+
<dl>
|
|
1361
|
+
<dd>
|
|
1362
|
+
|
|
1363
|
+
<dl>
|
|
1364
|
+
<dd>
|
|
1365
|
+
|
|
1366
|
+
**id:** `string`
|
|
1367
|
+
|
|
1368
|
+
The ID of the evaluation set item to update.
|
|
1369
|
+
|
|
1370
|
+
Example: `"evi_kR9mNP12Qw4yTv8BdR3H"`
|
|
1371
|
+
|
|
1372
|
+
</dd>
|
|
1373
|
+
</dl>
|
|
1374
|
+
|
|
1375
|
+
<dl>
|
|
1376
|
+
<dd>
|
|
1377
|
+
|
|
1378
|
+
**request:** `Extend.EvaluationSetItemUpdateRequest`
|
|
1379
|
+
|
|
1380
|
+
</dd>
|
|
1381
|
+
</dl>
|
|
1382
|
+
|
|
1383
|
+
<dl>
|
|
1384
|
+
<dd>
|
|
1385
|
+
|
|
1386
|
+
**requestOptions:** `EvaluationSetItem.RequestOptions`
|
|
1387
|
+
|
|
1388
|
+
</dd>
|
|
1389
|
+
</dl>
|
|
1390
|
+
</dd>
|
|
1391
|
+
</dl>
|
|
1392
|
+
|
|
1393
|
+
</dd>
|
|
1394
|
+
</dl>
|
|
1395
|
+
</details>
|
|
1396
|
+
|
|
1397
|
+
<details><summary><code>client.evaluationSetItem.<a href="/src/api/resources/evaluationSetItem/client/Client.ts">createBatch</a>({ ...params }) -> Extend.EvaluationSetItemCreateBatchResponse</code></summary>
|
|
1398
|
+
<dl>
|
|
1399
|
+
<dd>
|
|
1400
|
+
|
|
1401
|
+
#### 📝 Description
|
|
1402
|
+
|
|
1403
|
+
<dl>
|
|
1404
|
+
<dd>
|
|
1405
|
+
|
|
1406
|
+
<dl>
|
|
1407
|
+
<dd>
|
|
1408
|
+
|
|
1409
|
+
If you have a large number of files that you need to add to an evaluation set, you can use this endpoint to create multiple evaluation set items at once. This can be useful if you have a large dataset that you need to evaluate the performance of a processor against.
|
|
1410
|
+
|
|
1411
|
+
Note: you still need to create each File first using the file API.
|
|
1412
|
+
|
|
1413
|
+
</dd>
|
|
1414
|
+
</dl>
|
|
1415
|
+
</dd>
|
|
1416
|
+
</dl>
|
|
1417
|
+
|
|
1418
|
+
#### 🔌 Usage
|
|
1419
|
+
|
|
1420
|
+
<dl>
|
|
1421
|
+
<dd>
|
|
1422
|
+
|
|
1423
|
+
<dl>
|
|
1424
|
+
<dd>
|
|
1425
|
+
|
|
1426
|
+
```typescript
|
|
1427
|
+
await client.evaluationSetItem.createBatch({
|
|
1428
|
+
evaluationSetId: "evaluation_set_id_here",
|
|
1429
|
+
items: [
|
|
1430
|
+
{
|
|
1431
|
+
fileId: "file_id_here",
|
|
1432
|
+
expectedOutput: {
|
|
1433
|
+
value: {
|
|
1434
|
+
key: "value",
|
|
1435
|
+
},
|
|
1436
|
+
},
|
|
1437
|
+
},
|
|
1438
|
+
],
|
|
1439
|
+
});
|
|
1440
|
+
```
|
|
1441
|
+
|
|
1442
|
+
</dd>
|
|
1443
|
+
</dl>
|
|
1444
|
+
</dd>
|
|
1445
|
+
</dl>
|
|
1446
|
+
|
|
1447
|
+
#### ⚙️ Parameters
|
|
1448
|
+
|
|
1449
|
+
<dl>
|
|
1450
|
+
<dd>
|
|
1451
|
+
|
|
1452
|
+
<dl>
|
|
1453
|
+
<dd>
|
|
1454
|
+
|
|
1455
|
+
**request:** `Extend.EvaluationSetItemCreateBatchRequest`
|
|
1456
|
+
|
|
1457
|
+
</dd>
|
|
1458
|
+
</dl>
|
|
1459
|
+
|
|
1460
|
+
<dl>
|
|
1461
|
+
<dd>
|
|
1462
|
+
|
|
1463
|
+
**requestOptions:** `EvaluationSetItem.RequestOptions`
|
|
1464
|
+
|
|
1465
|
+
</dd>
|
|
1466
|
+
</dl>
|
|
1467
|
+
</dd>
|
|
1468
|
+
</dl>
|
|
1469
|
+
|
|
1470
|
+
</dd>
|
|
1471
|
+
</dl>
|
|
1472
|
+
</details>
|
|
1473
|
+
|
|
1474
|
+
## WorkflowRunOutput
|
|
1475
|
+
|
|
1476
|
+
<details><summary><code>client.workflowRunOutput.<a href="/src/api/resources/workflowRunOutput/client/Client.ts">update</a>(workflowRunId, outputId, { ...params }) -> Extend.WorkflowRunOutputUpdateResponse</code></summary>
|
|
1477
|
+
<dl>
|
|
1478
|
+
<dd>
|
|
1479
|
+
|
|
1480
|
+
#### 📝 Description
|
|
1481
|
+
|
|
1482
|
+
<dl>
|
|
1483
|
+
<dd>
|
|
1484
|
+
|
|
1485
|
+
<dl>
|
|
1486
|
+
<dd>
|
|
1487
|
+
|
|
1488
|
+
Use this endpoint to submit corrected outputs for a WorkflowRun for future processor evaluation and tuning in Extend.
|
|
1489
|
+
|
|
1490
|
+
If you are using our Human-in-the-loop workflow review, then we already will be collecting your operator submitted corrections. However, if you are receiving data via the API without human review, there could be incorrect outputs that you would like to correct for future usage in evaluation and tuning within the Extend platform. This endpoint allows you to submit corrected outputs for a WorkflowRun, by providing the correct output for a given output ID.
|
|
1491
|
+
|
|
1492
|
+
The output ID, would be found in a given entry within the outputs arrays of a Workflow Run payload. The ID would look something like `dpr_gwkZZNRrPgkjcq0y-***`.
|
|
1493
|
+
|
|
1494
|
+
</dd>
|
|
1495
|
+
</dl>
|
|
1496
|
+
</dd>
|
|
1497
|
+
</dl>
|
|
1498
|
+
|
|
1499
|
+
#### 🔌 Usage
|
|
1500
|
+
|
|
1501
|
+
<dl>
|
|
1502
|
+
<dd>
|
|
1503
|
+
|
|
1504
|
+
<dl>
|
|
1505
|
+
<dd>
|
|
1506
|
+
|
|
1507
|
+
```typescript
|
|
1508
|
+
await client.workflowRunOutput.update("workflow_run_id_here", "output_id_here", {
|
|
1509
|
+
reviewedOutput: {
|
|
1510
|
+
value: {
|
|
1511
|
+
key: "value",
|
|
1512
|
+
},
|
|
1513
|
+
},
|
|
1514
|
+
});
|
|
1515
|
+
```
|
|
1516
|
+
|
|
1517
|
+
</dd>
|
|
1518
|
+
</dl>
|
|
1519
|
+
</dd>
|
|
1520
|
+
</dl>
|
|
1521
|
+
|
|
1522
|
+
#### ⚙️ Parameters
|
|
1523
|
+
|
|
1524
|
+
<dl>
|
|
1525
|
+
<dd>
|
|
1526
|
+
|
|
1527
|
+
<dl>
|
|
1528
|
+
<dd>
|
|
1529
|
+
|
|
1530
|
+
**workflowRunId:** `string`
|
|
1531
|
+
|
|
1532
|
+
</dd>
|
|
1533
|
+
</dl>
|
|
1534
|
+
|
|
1535
|
+
<dl>
|
|
1536
|
+
<dd>
|
|
1537
|
+
|
|
1538
|
+
**outputId:** `string`
|
|
1539
|
+
|
|
1540
|
+
</dd>
|
|
1541
|
+
</dl>
|
|
1542
|
+
|
|
1543
|
+
<dl>
|
|
1544
|
+
<dd>
|
|
1545
|
+
|
|
1546
|
+
**request:** `Extend.WorkflowRunOutputUpdateRequest`
|
|
1547
|
+
|
|
1548
|
+
</dd>
|
|
1549
|
+
</dl>
|
|
1550
|
+
|
|
1551
|
+
<dl>
|
|
1552
|
+
<dd>
|
|
1553
|
+
|
|
1554
|
+
**requestOptions:** `WorkflowRunOutput.RequestOptions`
|
|
1555
|
+
|
|
1556
|
+
</dd>
|
|
1557
|
+
</dl>
|
|
1558
|
+
</dd>
|
|
1559
|
+
</dl>
|
|
1560
|
+
|
|
1561
|
+
</dd>
|
|
1562
|
+
</dl>
|
|
1563
|
+
</details>
|
|
1564
|
+
|
|
1565
|
+
## BatchProcessorRun
|
|
1566
|
+
|
|
1567
|
+
<details><summary><code>client.batchProcessorRun.<a href="/src/api/resources/batchProcessorRun/client/Client.ts">get</a>(id) -> Extend.BatchProcessorRunGetResponse</code></summary>
|
|
1568
|
+
<dl>
|
|
1569
|
+
<dd>
|
|
1570
|
+
|
|
1571
|
+
#### 📝 Description
|
|
1572
|
+
|
|
1573
|
+
<dl>
|
|
1574
|
+
<dd>
|
|
1575
|
+
|
|
1576
|
+
<dl>
|
|
1577
|
+
<dd>
|
|
1578
|
+
|
|
1579
|
+
Retrieve details about a batch processor run, including evaluation runs
|
|
1580
|
+
|
|
1581
|
+
</dd>
|
|
1582
|
+
</dl>
|
|
1583
|
+
</dd>
|
|
1584
|
+
</dl>
|
|
1585
|
+
|
|
1586
|
+
#### 🔌 Usage
|
|
1587
|
+
|
|
1588
|
+
<dl>
|
|
1589
|
+
<dd>
|
|
1590
|
+
|
|
1591
|
+
<dl>
|
|
1592
|
+
<dd>
|
|
1593
|
+
|
|
1594
|
+
```typescript
|
|
1595
|
+
await client.batchProcessorRun.get("batch_processor_run_id_here");
|
|
1596
|
+
```
|
|
1597
|
+
|
|
1598
|
+
</dd>
|
|
1599
|
+
</dl>
|
|
1600
|
+
</dd>
|
|
1601
|
+
</dl>
|
|
1602
|
+
|
|
1603
|
+
#### ⚙️ Parameters
|
|
1604
|
+
|
|
1605
|
+
<dl>
|
|
1606
|
+
<dd>
|
|
1607
|
+
|
|
1608
|
+
<dl>
|
|
1609
|
+
<dd>
|
|
1610
|
+
|
|
1611
|
+
**id:** `string`
|
|
1612
|
+
|
|
1613
|
+
The unique identifier of the batch processor run to retrieve. The ID will always start with "bpr\_".
|
|
1614
|
+
|
|
1615
|
+
Example: `"bpr_Xj8mK2pL9nR4vT7qY5wZ"`
|
|
1616
|
+
|
|
1617
|
+
</dd>
|
|
1618
|
+
</dl>
|
|
1619
|
+
|
|
1620
|
+
<dl>
|
|
1621
|
+
<dd>
|
|
1622
|
+
|
|
1623
|
+
**requestOptions:** `BatchProcessorRun.RequestOptions`
|
|
1624
|
+
|
|
1625
|
+
</dd>
|
|
1626
|
+
</dl>
|
|
1627
|
+
</dd>
|
|
1628
|
+
</dl>
|
|
1629
|
+
|
|
1630
|
+
</dd>
|
|
1631
|
+
</dl>
|
|
1632
|
+
</details>
|
|
1633
|
+
|
|
1634
|
+
## Workflow
|
|
1635
|
+
|
|
1636
|
+
<details><summary><code>client.workflow.<a href="/src/api/resources/workflow/client/Client.ts">create</a>({ ...params }) -> Extend.WorkflowCreateResponse</code></summary>
|
|
1637
|
+
<dl>
|
|
1638
|
+
<dd>
|
|
1639
|
+
|
|
1640
|
+
#### 📝 Description
|
|
1641
|
+
|
|
1642
|
+
<dl>
|
|
1643
|
+
<dd>
|
|
1644
|
+
|
|
1645
|
+
<dl>
|
|
1646
|
+
<dd>
|
|
1647
|
+
|
|
1648
|
+
Create a new workflow in Extend. Workflows are sequences of steps that process files and data in a specific order to achieve a desired outcome.
|
|
1649
|
+
|
|
1650
|
+
This endpoint will create a new workflow in Extend, which can then be configured and deployed. Typically, workflows are created from our UI, however this endpoint can be used to create workflows programmatically. Configuration of the flow still needs to be done in the dashboard.
|
|
1651
|
+
|
|
1652
|
+
</dd>
|
|
1653
|
+
</dl>
|
|
1654
|
+
</dd>
|
|
1655
|
+
</dl>
|
|
1656
|
+
|
|
1657
|
+
#### 🔌 Usage
|
|
1658
|
+
|
|
1659
|
+
<dl>
|
|
1660
|
+
<dd>
|
|
1661
|
+
|
|
1662
|
+
<dl>
|
|
1663
|
+
<dd>
|
|
1664
|
+
|
|
1665
|
+
```typescript
|
|
1666
|
+
await client.workflow.create({
|
|
1667
|
+
name: "Invoice Processing",
|
|
1668
|
+
});
|
|
1669
|
+
```
|
|
1670
|
+
|
|
1671
|
+
</dd>
|
|
1672
|
+
</dl>
|
|
1673
|
+
</dd>
|
|
1674
|
+
</dl>
|
|
1675
|
+
|
|
1676
|
+
#### ⚙️ Parameters
|
|
1677
|
+
|
|
1678
|
+
<dl>
|
|
1679
|
+
<dd>
|
|
1680
|
+
|
|
1681
|
+
<dl>
|
|
1682
|
+
<dd>
|
|
1683
|
+
|
|
1684
|
+
**request:** `Extend.WorkflowCreateRequest`
|
|
1685
|
+
|
|
1686
|
+
</dd>
|
|
1687
|
+
</dl>
|
|
1688
|
+
|
|
1689
|
+
<dl>
|
|
1690
|
+
<dd>
|
|
1691
|
+
|
|
1692
|
+
**requestOptions:** `Workflow.RequestOptions`
|
|
1693
|
+
|
|
1694
|
+
</dd>
|
|
1695
|
+
</dl>
|
|
1696
|
+
</dd>
|
|
1697
|
+
</dl>
|
|
1698
|
+
|
|
1699
|
+
</dd>
|
|
1700
|
+
</dl>
|
|
1701
|
+
</details>
|