@eigenpal/sdk 0.20.26 → 0.20.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/src/generated/index.ts +2 -2
- package/src/generated/sdk.gen.ts +12 -1
- package/src/generated/types.gen.ts +65 -0
- package/src/resources/automations.ts +73 -40
- package/src/resources/files.ts +36 -12
- package/src/resources/models.ts +9 -2
- package/src/telemetry.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @eigenpal/sdk
|
|
2
2
|
|
|
3
|
+
## 0.20.28
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6f7d5e5: Review document-parser migrations before publishing them with the new parser migration command. Updated workflow templates and agent guidance use automatic parsing by default. Inspect parsing configuration readiness through the CLI and SDKs to check whether your deployment has providers for scanned documents.
|
|
8
|
+
|
|
9
|
+
## 0.20.27
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 3267908: Strengthened Python SDK generation security while preserving Python 3.10 compatibility.
|
|
14
|
+
- 736a6c8: TypeScript SDK file uploads and automation operations now return precise response types, improving autocomplete and compile-time checks.
|
|
15
|
+
|
|
3
16
|
## 0.20.21
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
export { authCheck, automationsDatasetExport, automationsDatasetImport, automationsDatasetReviewRequestsCreate, automationsDatasetReviewRequestsGet, automationsDatasetReviewRequestsItemFileGet, automationsDatasetReviewRequestsList, automationsDatasetReviewRequestsListEvents, automationsDatasetReviewRequestsListItems, automationsDatasetReviewRequestsUpdate, automationsDatasetReviewRequestsUpdateItem, automationsDelete, automationsEvaluatorsGet, automationsEvaluatorsUpdate, automationsExamplesCreate, automationsExamplesDelete, automationsExamplesExpectedFileDelete, automationsExamplesExpectedFileGet, automationsExamplesExpectedFilesCreate, automationsExamplesExpectedFilesList, automationsExamplesExpectedFileUpdate, automationsExamplesGet, automationsExamplesInputFileDelete, automationsExamplesInputFileGet, automationsExamplesInputFilesCreate, automationsExamplesInputFilesList, automationsExamplesInputFileUpdate, automationsExamplesList, automationsExamplesRun, automationsExamplesUpdate, automationsExperimentsCancel, automationsExperimentsCreate, automationsExperimentsCreateStream, automationsExperimentsExport, automationsExperimentsExportAll, automationsExperimentsGet, automationsExperimentsList, automationsGet, automationsList, automationsReviewsHealth, automationsSync, automationsTriggersGet, automationsUpdate, automationsVersionsCreate, automationsVersionsList, automationsVersionsPromote, automationsVersionsRestore, datasetReviewRequestsList, emailServersCreate, emailServersDelete, emailServersGet, emailServersList, emailServersTest, emailServersUpdate, experimentsResolve, filesContentGet, filesCreate, filesDelete, filesGet, filesUploadsAbort, filesUploadsComplete, filesUploadsCreate, filesUploadsGet, filesUploadsPartsList, filesUploadsPartsPresign, foldersCreate, foldersDelete, foldersGet, foldersList, foldersUpdate, humanReviewsApprove, humanReviewsConfirmField, humanReviewsFilesContentGet, humanReviewsGet, humanReviewsList, humanReviewsReject, modelsList, type Options, runsArtifactsGet, runsArtifactsList, runsCancel, runsEventsList, runsGet, runsList, runsPromote, runsRerun, runsReviewsClear, runsReviewsExpectedCreate, runsReviewsExpectedFileDelete, runsReviewsExpectedFileGet, runsReviewsExpectedFileUpdate, runsReviewsExpectedGet, runsReviewsGet, runsReviewsUpdate, runsScoresList, runsStart, runsStepsGet, runsStepsList, runsTraceGet, runsUsageGet, templatesContentGet, templatesCreate, templatesDelete, templatesGet, templatesList, templatesReplace, templatesStaging } from './sdk.gen';
|
|
4
|
-
export type { AbortFileUploadResponse, AgentRunExecution, ApiErrorEnvelope, ApiErrorIssue, AuthCheckData, AuthCheckError, AuthCheckErrors, AuthCheckResponse, AuthCheckResponse2, AuthCheckResponses, AutomationDatasetImportMultipartRequest, AutomationDetail, AutomationsDatasetExportData, AutomationsDatasetExportError, AutomationsDatasetExportErrors, AutomationsDatasetExportResponse, AutomationsDatasetExportResponses, AutomationsDatasetImportData, AutomationsDatasetImportError, AutomationsDatasetImportErrors, AutomationsDatasetImportResponse, AutomationsDatasetImportResponses, AutomationsDatasetReviewRequestsCreateData, AutomationsDatasetReviewRequestsCreateError, AutomationsDatasetReviewRequestsCreateErrors, AutomationsDatasetReviewRequestsCreateResponse, AutomationsDatasetReviewRequestsCreateResponses, AutomationsDatasetReviewRequestsGetData, AutomationsDatasetReviewRequestsGetError, AutomationsDatasetReviewRequestsGetErrors, AutomationsDatasetReviewRequestsGetResponse, AutomationsDatasetReviewRequestsGetResponses, AutomationsDatasetReviewRequestsItemFileGetData, AutomationsDatasetReviewRequestsItemFileGetError, AutomationsDatasetReviewRequestsItemFileGetErrors, AutomationsDatasetReviewRequestsItemFileGetResponse, AutomationsDatasetReviewRequestsItemFileGetResponses, AutomationsDatasetReviewRequestsListData, AutomationsDatasetReviewRequestsListError, AutomationsDatasetReviewRequestsListErrors, AutomationsDatasetReviewRequestsListEventsData, AutomationsDatasetReviewRequestsListEventsError, AutomationsDatasetReviewRequestsListEventsErrors, AutomationsDatasetReviewRequestsListEventsResponse, AutomationsDatasetReviewRequestsListEventsResponses, AutomationsDatasetReviewRequestsListItemsData, AutomationsDatasetReviewRequestsListItemsError, AutomationsDatasetReviewRequestsListItemsErrors, AutomationsDatasetReviewRequestsListItemsResponse, AutomationsDatasetReviewRequestsListItemsResponses, AutomationsDatasetReviewRequestsListResponse, AutomationsDatasetReviewRequestsListResponses, AutomationsDatasetReviewRequestsUpdateData, AutomationsDatasetReviewRequestsUpdateError, AutomationsDatasetReviewRequestsUpdateErrors, AutomationsDatasetReviewRequestsUpdateItemData, AutomationsDatasetReviewRequestsUpdateItemError, AutomationsDatasetReviewRequestsUpdateItemErrors, AutomationsDatasetReviewRequestsUpdateItemResponse, AutomationsDatasetReviewRequestsUpdateItemResponses, AutomationsDatasetReviewRequestsUpdateResponse, AutomationsDatasetReviewRequestsUpdateResponses, AutomationsDeleteData, AutomationsDeleteError, AutomationsDeleteErrors, AutomationsDeleteResponse, AutomationsDeleteResponses, AutomationsEvaluatorsGetData, AutomationsEvaluatorsGetError, AutomationsEvaluatorsGetErrors, AutomationsEvaluatorsGetResponse, AutomationsEvaluatorsGetResponses, AutomationsEvaluatorsUpdateData, AutomationsEvaluatorsUpdateError, AutomationsEvaluatorsUpdateErrors, AutomationsEvaluatorsUpdateResponse, AutomationsEvaluatorsUpdateResponses, AutomationsExamplesCreateData, AutomationsExamplesCreateError, AutomationsExamplesCreateErrors, AutomationsExamplesCreateResponse, AutomationsExamplesCreateResponses, AutomationsExamplesDeleteData, AutomationsExamplesDeleteError, AutomationsExamplesDeleteErrors, AutomationsExamplesDeleteResponse, AutomationsExamplesDeleteResponses, AutomationsExamplesExpectedFileDeleteData, AutomationsExamplesExpectedFileDeleteError, AutomationsExamplesExpectedFileDeleteErrors, AutomationsExamplesExpectedFileDeleteResponses, AutomationsExamplesExpectedFileGetData, AutomationsExamplesExpectedFileGetError, AutomationsExamplesExpectedFileGetErrors, AutomationsExamplesExpectedFileGetResponse, AutomationsExamplesExpectedFileGetResponses, AutomationsExamplesExpectedFilesCreateData, AutomationsExamplesExpectedFilesCreateError, AutomationsExamplesExpectedFilesCreateErrors, AutomationsExamplesExpectedFilesCreateResponse, AutomationsExamplesExpectedFilesCreateResponses, AutomationsExamplesExpectedFilesListData, AutomationsExamplesExpectedFilesListError, AutomationsExamplesExpectedFilesListErrors, AutomationsExamplesExpectedFilesListResponse, AutomationsExamplesExpectedFilesListResponses, AutomationsExamplesExpectedFileUpdateData, AutomationsExamplesExpectedFileUpdateError, AutomationsExamplesExpectedFileUpdateErrors, AutomationsExamplesExpectedFileUpdateResponse, AutomationsExamplesExpectedFileUpdateResponses, AutomationsExamplesGetData, AutomationsExamplesGetError, AutomationsExamplesGetErrors, AutomationsExamplesGetResponse, AutomationsExamplesGetResponses, AutomationsExamplesInputFileDeleteData, AutomationsExamplesInputFileDeleteError, AutomationsExamplesInputFileDeleteErrors, AutomationsExamplesInputFileDeleteResponses, AutomationsExamplesInputFileGetData, AutomationsExamplesInputFileGetError, AutomationsExamplesInputFileGetErrors, AutomationsExamplesInputFileGetResponse, AutomationsExamplesInputFileGetResponses, AutomationsExamplesInputFilesCreateData, AutomationsExamplesInputFilesCreateError, AutomationsExamplesInputFilesCreateErrors, AutomationsExamplesInputFilesCreateResponse, AutomationsExamplesInputFilesCreateResponses, AutomationsExamplesInputFilesListData, AutomationsExamplesInputFilesListError, AutomationsExamplesInputFilesListErrors, AutomationsExamplesInputFilesListResponse, AutomationsExamplesInputFilesListResponses, AutomationsExamplesInputFileUpdateData, AutomationsExamplesInputFileUpdateError, AutomationsExamplesInputFileUpdateErrors, AutomationsExamplesInputFileUpdateResponse, AutomationsExamplesInputFileUpdateResponses, AutomationsExamplesListData, AutomationsExamplesListError, AutomationsExamplesListErrors, AutomationsExamplesListResponse, AutomationsExamplesListResponses, AutomationsExamplesRunData, AutomationsExamplesRunError, AutomationsExamplesRunErrors, AutomationsExamplesRunResponse, AutomationsExamplesRunResponses, AutomationsExamplesUpdateData, AutomationsExamplesUpdateError, AutomationsExamplesUpdateErrors, AutomationsExamplesUpdateResponse, AutomationsExamplesUpdateResponses, AutomationsExperimentsCancelData, AutomationsExperimentsCancelError, AutomationsExperimentsCancelErrors, AutomationsExperimentsCancelResponse, AutomationsExperimentsCancelResponses, AutomationsExperimentsCreateData, AutomationsExperimentsCreateError, AutomationsExperimentsCreateErrors, AutomationsExperimentsCreateResponse, AutomationsExperimentsCreateResponses, AutomationsExperimentsCreateStreamData, AutomationsExperimentsCreateStreamError, AutomationsExperimentsCreateStreamErrors, AutomationsExperimentsCreateStreamResponse, AutomationsExperimentsCreateStreamResponses, AutomationsExperimentsExportAllData, AutomationsExperimentsExportAllError, AutomationsExperimentsExportAllErrors, AutomationsExperimentsExportAllResponse, AutomationsExperimentsExportAllResponses, AutomationsExperimentsExportData, AutomationsExperimentsExportError, AutomationsExperimentsExportErrors, AutomationsExperimentsExportResponse, AutomationsExperimentsExportResponses, AutomationsExperimentsGetData, AutomationsExperimentsGetError, AutomationsExperimentsGetErrors, AutomationsExperimentsGetResponse, AutomationsExperimentsGetResponses, AutomationsExperimentsListData, AutomationsExperimentsListError, AutomationsExperimentsListErrors, AutomationsExperimentsListResponse, AutomationsExperimentsListResponses, AutomationsGetData, AutomationsGetError, AutomationsGetErrors, AutomationsGetResponse, AutomationsGetResponses, AutomationsListData, AutomationsListError, AutomationsListErrors, AutomationsListResponse, AutomationsListResponses, AutomationsReviewsHealthData, AutomationsReviewsHealthError, AutomationsReviewsHealthErrors, AutomationsReviewsHealthResponse, AutomationsReviewsHealthResponses, AutomationsSyncData, AutomationsSyncError, AutomationsSyncErrors, AutomationsSyncResponse, AutomationsSyncResponses, AutomationsTriggersGetData, AutomationsTriggersGetError, AutomationsTriggersGetErrors, AutomationsTriggersGetResponse, AutomationsTriggersGetResponses, AutomationSummary, AutomationsUpdateData, AutomationsUpdateError, AutomationsUpdateErrors, AutomationsUpdateResponse, AutomationsUpdateResponses, AutomationsVersionsCreateData, AutomationsVersionsCreateError, AutomationsVersionsCreateErrors, AutomationsVersionsCreateResponse, AutomationsVersionsCreateResponses, AutomationsVersionsListData, AutomationsVersionsListError, AutomationsVersionsListErrors, AutomationsVersionsListResponse, AutomationsVersionsListResponses, AutomationsVersionsPromoteData, AutomationsVersionsPromoteError, AutomationsVersionsPromoteErrors, AutomationsVersionsPromoteResponse, AutomationsVersionsPromoteResponses, AutomationsVersionsRestoreData, AutomationsVersionsRestoreError, AutomationsVersionsRestoreErrors, AutomationsVersionsRestoreResponse, AutomationsVersionsRestoreResponses, AutomationTriggersResponse, AutomationTriggerState, AutomationType, AutomationVersion, ClientOptions, CreateAutomationVersionRequest, CreateDatasetReviewRequest, CreatedTemplate, CreateEmailServerRequest, CreateFileMultipartRequest, CreateFileUploadSessionRequest, CreateFolderRequest, DatasetExample, DatasetExampleExpectedFileList, DatasetExampleExpectedFileRenameRequest, DatasetExampleExpectedFileRenameResponse, DatasetExampleExpectedFileUploadRequest, DatasetExampleExpectedFileUploadResponse, DatasetExampleInputFileList, DatasetExampleInputFileRenameRequest, DatasetExampleInputFileRenameResponse, DatasetExampleInputFileUploadRequest, DatasetExampleInputFileUploadResponse, DatasetExampleList, DatasetExampleMutation, DatasetExampleUpdate, DatasetImportResponse, DatasetReviewCreateItemNote, DatasetReviewDetail, DatasetReviewEvent, DatasetReviewEventList, DatasetReviewExpectedFile, DatasetReviewFieldDecision, DatasetReviewFileDecision, DatasetReviewFocusField, DatasetReviewFocusFieldOutput, DatasetReviewInboxItem, DatasetReviewInboxList, DatasetReviewItem, DatasetReviewItemFieldNote, DatasetReviewItemList, DatasetReviewItemResponse, DatasetReviewProgress, DatasetReviewRequest, DatasetReviewRequestList, DatasetReviewRequestsListData, DatasetReviewRequestsListError, DatasetReviewRequestsListErrors, DatasetReviewRequestsListResponse, DatasetReviewRequestsListResponses, DeleteAutomationResponse, DeleteEmailServerResponse, DeleteFileResponse, DeleteFolderResponse, DeleteTemplateResponse, EditDatasetReviewItemFile, EmailServer, EmailServersCreateData, EmailServersCreateError, EmailServersCreateErrors, EmailServersCreateResponse, EmailServersCreateResponses, EmailServersDeleteData, EmailServersDeleteError, EmailServersDeleteErrors, EmailServersDeleteResponse, EmailServersDeleteResponses, EmailServersGetData, EmailServersGetError, EmailServersGetErrors, EmailServersGetResponse, EmailServersGetResponses, EmailServersListData, EmailServersListError, EmailServersListErrors, EmailServersListResponse, EmailServersListResponses, EmailServersTestData, EmailServersTestError, EmailServersTestErrors, EmailServersTestResponse, EmailServersTestResponses, EmailServersUpdateData, EmailServersUpdateError, EmailServersUpdateErrors, EmailServersUpdateResponse, EmailServersUpdateResponses, EvalResult, EvaluatorConfigResponse, EvaluatorConfigUpdate, ExampleRunResponse, ExecutionStatus, Experiment, ExperimentCreate, ExperimentCreateResponse, ExperimentDetail, ExperimentRef, ExperimentsResolveData, ExperimentsResolveError, ExperimentsResolveErrors, ExperimentsResolveResponse, ExperimentsResolveResponses, File, FilesContentGetData, FilesContentGetError, FilesContentGetErrors, FilesContentGetResponses, FilesCreateData, FilesCreateError, FilesCreateErrors, FilesCreateResponse, FilesCreateResponses, FilesDeleteData, FilesDeleteError, FilesDeleteErrors, FilesDeleteResponse, FilesDeleteResponses, FilesGetData, FilesGetError, FilesGetErrors, FilesGetResponse, FilesGetResponses, FilesUploadsAbortData, FilesUploadsAbortError, FilesUploadsAbortErrors, FilesUploadsAbortResponse, FilesUploadsAbortResponses, FilesUploadsCompleteData, FilesUploadsCompleteError, FilesUploadsCompleteErrors, FilesUploadsCompleteResponse, FilesUploadsCompleteResponses, FilesUploadsCreateData, FilesUploadsCreateError, FilesUploadsCreateErrors, FilesUploadsCreateResponse, FilesUploadsCreateResponses, FilesUploadsGetData, FilesUploadsGetError, FilesUploadsGetErrors, FilesUploadsGetResponse, FilesUploadsGetResponses, FilesUploadsPartsListData, FilesUploadsPartsListError, FilesUploadsPartsListErrors, FilesUploadsPartsListResponse, FilesUploadsPartsListResponses, FilesUploadsPartsPresignData, FilesUploadsPartsPresignError, FilesUploadsPartsPresignErrors, FilesUploadsPartsPresignResponse, FilesUploadsPartsPresignResponses, FileUploadSession, Folder, FoldersCreateData, FoldersCreateError, FoldersCreateErrors, FoldersCreateResponse, FoldersCreateResponses, FoldersDeleteData, FoldersDeleteError, FoldersDeleteErrors, FoldersDeleteResponse, FoldersDeleteResponses, FoldersGetData, FoldersGetError, FoldersGetErrors, FoldersGetResponse, FoldersGetResponses, FoldersListData, FoldersListError, FoldersListErrors, FoldersListResponse, FoldersListResponses, FoldersUpdateData, FoldersUpdateError, FoldersUpdateErrors, FoldersUpdateResponse, FoldersUpdateResponses, FolderType, HumanReviewApproveResponse, HumanReviewFieldResponse, HumanReviewListResponse, HumanReviewRejectResponse, HumanReviewsApproveData, HumanReviewsApproveError, HumanReviewsApproveErrors, HumanReviewsApproveResponse, HumanReviewsApproveResponses, HumanReviewsConfirmFieldData, HumanReviewsConfirmFieldError, HumanReviewsConfirmFieldErrors, HumanReviewsConfirmFieldResponse, HumanReviewsConfirmFieldResponses, HumanReviewsFilesContentGetData, HumanReviewsFilesContentGetError, HumanReviewsFilesContentGetErrors, HumanReviewsFilesContentGetResponses, HumanReviewsGetData, HumanReviewsGetError, HumanReviewsGetErrors, HumanReviewsGetResponse, HumanReviewsGetResponses, HumanReviewsListData, HumanReviewsListError, HumanReviewsListErrors, HumanReviewsListResponse, HumanReviewsListResponses, HumanReviewsRejectData, HumanReviewsRejectError, HumanReviewsRejectErrors, HumanReviewsRejectResponse, HumanReviewsRejectResponses, HumanReviewTaskDetail, HumanReviewTaskResponse, ListAutomationsResponse, ListAutomationVersionsResponse, ListEmailServersResponse, ListFileUploadPartsResponse, ListFoldersResponse, ListModelsResponse, ListTemplatesResponse, ModelsListData, ModelsListError, ModelsListErrors, ModelsListResponse, ModelsListResponses, MultipartFileUploadFallback, PresignedFileUploadSession, PresignedMultipartFileUploadSession, PresignFileUploadPartRequest, PresignFileUploadPartResponse, PromoteRunRequest, PromoteRunResponse, PublicModel, PublicModelCost, PublicModelLimits, PublicResendEmailServer, PublicSmtpEmailServer, RestoreAutomationVersionRequest, Run, RunAccepted, RunArtifact, RunArtifactsResponse, RunCancelResponse, RunDebug, RunError, RunEval, RunEvent, RunEventsResponse, RunExecution, RunExecutionMeta, RunExecutionRetry, RunFile, RunHumanReviewSummary, RunInput, RunListItem, RunReview, RunReviewCorrection, RunReviewDetail, RunReviewExpectedArtifacts, RunReviewExpectedFileCopyRequest, RunReviewExpectedFileMutationResponse, RunReviewExpectedFileUpdateRequest, RunReviewExpectedFileUpdateResponse, RunReviewExpectedFileUploadRequest, RunReviewHealthBucket, RunReviewHealthConfidence, RunReviewHealthResponse, RunReviewHealthRollingPoint, RunReviewHealthSummary, RunReviewRequest, RunReviewSummary, RunsArtifactsGetData, RunsArtifactsGetError, RunsArtifactsGetErrors, RunsArtifactsGetResponses, RunsArtifactsListData, RunsArtifactsListError, RunsArtifactsListErrors, RunsArtifactsListResponse, RunsArtifactsListResponses, RunsCancelData, RunsCancelError, RunsCancelErrors, RunsCancelResponse, RunsCancelResponses, RunScoresResponse, RunsEventsListData, RunsEventsListError, RunsEventsListErrors, RunsEventsListResponse, RunsEventsListResponses, RunsGetData, RunsGetError, RunsGetErrors, RunsGetResponse, RunsGetResponses, RunsListData, RunsListError, RunsListErrors, RunsListResponse, RunsListResponse2, RunsListResponses, RunSource, RunSourceGit, RunsPromoteData, RunsPromoteError, RunsPromoteErrors, RunsPromoteResponse, RunsPromoteResponses, RunsRerunData, RunsRerunError, RunsRerunErrors, RunsRerunResponse, RunsRerunResponses, RunsReviewsClearData, RunsReviewsClearError, RunsReviewsClearErrors, RunsReviewsClearResponse, RunsReviewsClearResponses, RunsReviewsExpectedCreateData, RunsReviewsExpectedCreateError, RunsReviewsExpectedCreateErrors, RunsReviewsExpectedCreateResponse, RunsReviewsExpectedCreateResponses, RunsReviewsExpectedFileDeleteData, RunsReviewsExpectedFileDeleteError, RunsReviewsExpectedFileDeleteErrors, RunsReviewsExpectedFileDeleteResponse, RunsReviewsExpectedFileDeleteResponses, RunsReviewsExpectedFileGetData, RunsReviewsExpectedFileGetError, RunsReviewsExpectedFileGetErrors, RunsReviewsExpectedFileGetResponse, RunsReviewsExpectedFileGetResponses, RunsReviewsExpectedFileUpdateData, RunsReviewsExpectedFileUpdateError, RunsReviewsExpectedFileUpdateErrors, RunsReviewsExpectedFileUpdateResponse, RunsReviewsExpectedFileUpdateResponses, RunsReviewsExpectedGetData, RunsReviewsExpectedGetError, RunsReviewsExpectedGetErrors, RunsReviewsExpectedGetResponse, RunsReviewsExpectedGetResponses, RunsReviewsGetData, RunsReviewsGetError, RunsReviewsGetErrors, RunsReviewsGetResponse, RunsReviewsGetResponses, RunsReviewsUpdateData, RunsReviewsUpdateError, RunsReviewsUpdateErrors, RunsReviewsUpdateResponse, RunsReviewsUpdateResponses, RunsScoresListData, RunsScoresListError, RunsScoresListErrors, RunsScoresListResponse, RunsScoresListResponses, RunsStartData, RunsStartError, RunsStartErrors, RunsStartResponse, RunsStartResponses, RunsStepsGetData, RunsStepsGetError, RunsStepsGetErrors, RunsStepsGetResponse, RunsStepsGetResponses, RunsStepsListData, RunsStepsListError, RunsStepsListErrors, RunsStepsListResponse, RunsStepsListResponses, RunStartBody, RunStartMultipartRequest, RunStepDetailResponse, RunStepsResponse, RunsTraceGetData, RunsTraceGetError, RunsTraceGetErrors, RunsTraceGetResponse, RunsTraceGetResponses, RunsUsageGetData, RunsUsageGetError, RunsUsageGetErrors, RunsUsageGetResponse, RunsUsageGetResponses, RunTiming, RunTraceEvent, RunTraceResponse, RunTrigger, RunUsage, RunUsageResponse, Template, TemplateFileReferenceRequest, TemplateReplaceRequest, TemplateRevision, TemplatesContentGetData, TemplatesContentGetError, TemplatesContentGetErrors, TemplatesContentGetResponse, TemplatesContentGetResponses, TemplatesCreateData, TemplatesCreateError, TemplatesCreateErrors, TemplatesCreateResponse, TemplatesCreateResponses, TemplatesDeleteData, TemplatesDeleteError, TemplatesDeleteErrors, TemplatesDeleteResponse, TemplatesDeleteResponses, TemplatesGetData, TemplatesGetError, TemplatesGetErrors, TemplatesGetResponse, TemplatesGetResponses, TemplatesListData, TemplatesListError, TemplatesListErrors, TemplatesListResponse, TemplatesListResponses, TemplatesReplaceData, TemplatesReplaceError, TemplatesReplaceErrors, TemplatesReplaceResponse, TemplatesReplaceResponses, TemplatesStagingData, TemplatesStagingError, TemplatesStagingErrors, TemplatesStagingResponse, TemplatesStagingResponses, TemplateStagingRequest, TemplateStagingResponse, TestEmailServerRequest, TestEmailServerResponse, UpdateAutomationRequest, UpdateDatasetReviewItem, UpdateDatasetReviewRequest, UpdateEmailServerRequest, UpdateFolderRequest, WorkflowRunExecution } from './types.gen';
|
|
3
|
+
export { authCheck, automationsDatasetExport, automationsDatasetImport, automationsDatasetReviewRequestsCreate, automationsDatasetReviewRequestsGet, automationsDatasetReviewRequestsItemFileGet, automationsDatasetReviewRequestsList, automationsDatasetReviewRequestsListEvents, automationsDatasetReviewRequestsListItems, automationsDatasetReviewRequestsUpdate, automationsDatasetReviewRequestsUpdateItem, automationsDelete, automationsEvaluatorsGet, automationsEvaluatorsUpdate, automationsExamplesCreate, automationsExamplesDelete, automationsExamplesExpectedFileDelete, automationsExamplesExpectedFileGet, automationsExamplesExpectedFilesCreate, automationsExamplesExpectedFilesList, automationsExamplesExpectedFileUpdate, automationsExamplesGet, automationsExamplesInputFileDelete, automationsExamplesInputFileGet, automationsExamplesInputFilesCreate, automationsExamplesInputFilesList, automationsExamplesInputFileUpdate, automationsExamplesList, automationsExamplesRun, automationsExamplesUpdate, automationsExperimentsCancel, automationsExperimentsCreate, automationsExperimentsCreateStream, automationsExperimentsExport, automationsExperimentsExportAll, automationsExperimentsGet, automationsExperimentsList, automationsGet, automationsList, automationsReviewsHealth, automationsSync, automationsTriggersGet, automationsUpdate, automationsVersionsCreate, automationsVersionsList, automationsVersionsPromote, automationsVersionsRestore, datasetReviewRequestsList, emailServersCreate, emailServersDelete, emailServersGet, emailServersList, emailServersTest, emailServersUpdate, experimentsResolve, filesContentGet, filesCreate, filesDelete, filesGet, filesUploadsAbort, filesUploadsComplete, filesUploadsCreate, filesUploadsGet, filesUploadsPartsList, filesUploadsPartsPresign, foldersCreate, foldersDelete, foldersGet, foldersList, foldersUpdate, humanReviewsApprove, humanReviewsConfirmField, humanReviewsFilesContentGet, humanReviewsGet, humanReviewsList, humanReviewsReject, modelsList, modelsParserReadiness, type Options, runsArtifactsGet, runsArtifactsList, runsCancel, runsEventsList, runsGet, runsList, runsPromote, runsRerun, runsReviewsClear, runsReviewsExpectedCreate, runsReviewsExpectedFileDelete, runsReviewsExpectedFileGet, runsReviewsExpectedFileUpdate, runsReviewsExpectedGet, runsReviewsGet, runsReviewsUpdate, runsScoresList, runsStart, runsStepsGet, runsStepsList, runsTraceGet, runsUsageGet, templatesContentGet, templatesCreate, templatesDelete, templatesGet, templatesList, templatesReplace, templatesStaging } from './sdk.gen';
|
|
4
|
+
export type { AbortFileUploadResponse, AgentRunExecution, ApiErrorEnvelope, ApiErrorIssue, AuthCheckData, AuthCheckError, AuthCheckErrors, AuthCheckResponse, AuthCheckResponse2, AuthCheckResponses, AutomationDatasetImportMultipartRequest, AutomationDetail, AutomationsDatasetExportData, AutomationsDatasetExportError, AutomationsDatasetExportErrors, AutomationsDatasetExportResponse, AutomationsDatasetExportResponses, AutomationsDatasetImportData, AutomationsDatasetImportError, AutomationsDatasetImportErrors, AutomationsDatasetImportResponse, AutomationsDatasetImportResponses, AutomationsDatasetReviewRequestsCreateData, AutomationsDatasetReviewRequestsCreateError, AutomationsDatasetReviewRequestsCreateErrors, AutomationsDatasetReviewRequestsCreateResponse, AutomationsDatasetReviewRequestsCreateResponses, AutomationsDatasetReviewRequestsGetData, AutomationsDatasetReviewRequestsGetError, AutomationsDatasetReviewRequestsGetErrors, AutomationsDatasetReviewRequestsGetResponse, AutomationsDatasetReviewRequestsGetResponses, AutomationsDatasetReviewRequestsItemFileGetData, AutomationsDatasetReviewRequestsItemFileGetError, AutomationsDatasetReviewRequestsItemFileGetErrors, AutomationsDatasetReviewRequestsItemFileGetResponse, AutomationsDatasetReviewRequestsItemFileGetResponses, AutomationsDatasetReviewRequestsListData, AutomationsDatasetReviewRequestsListError, AutomationsDatasetReviewRequestsListErrors, AutomationsDatasetReviewRequestsListEventsData, AutomationsDatasetReviewRequestsListEventsError, AutomationsDatasetReviewRequestsListEventsErrors, AutomationsDatasetReviewRequestsListEventsResponse, AutomationsDatasetReviewRequestsListEventsResponses, AutomationsDatasetReviewRequestsListItemsData, AutomationsDatasetReviewRequestsListItemsError, AutomationsDatasetReviewRequestsListItemsErrors, AutomationsDatasetReviewRequestsListItemsResponse, AutomationsDatasetReviewRequestsListItemsResponses, AutomationsDatasetReviewRequestsListResponse, AutomationsDatasetReviewRequestsListResponses, AutomationsDatasetReviewRequestsUpdateData, AutomationsDatasetReviewRequestsUpdateError, AutomationsDatasetReviewRequestsUpdateErrors, AutomationsDatasetReviewRequestsUpdateItemData, AutomationsDatasetReviewRequestsUpdateItemError, AutomationsDatasetReviewRequestsUpdateItemErrors, AutomationsDatasetReviewRequestsUpdateItemResponse, AutomationsDatasetReviewRequestsUpdateItemResponses, AutomationsDatasetReviewRequestsUpdateResponse, AutomationsDatasetReviewRequestsUpdateResponses, AutomationsDeleteData, AutomationsDeleteError, AutomationsDeleteErrors, AutomationsDeleteResponse, AutomationsDeleteResponses, AutomationsEvaluatorsGetData, AutomationsEvaluatorsGetError, AutomationsEvaluatorsGetErrors, AutomationsEvaluatorsGetResponse, AutomationsEvaluatorsGetResponses, AutomationsEvaluatorsUpdateData, AutomationsEvaluatorsUpdateError, AutomationsEvaluatorsUpdateErrors, AutomationsEvaluatorsUpdateResponse, AutomationsEvaluatorsUpdateResponses, AutomationsExamplesCreateData, AutomationsExamplesCreateError, AutomationsExamplesCreateErrors, AutomationsExamplesCreateResponse, AutomationsExamplesCreateResponses, AutomationsExamplesDeleteData, AutomationsExamplesDeleteError, AutomationsExamplesDeleteErrors, AutomationsExamplesDeleteResponse, AutomationsExamplesDeleteResponses, AutomationsExamplesExpectedFileDeleteData, AutomationsExamplesExpectedFileDeleteError, AutomationsExamplesExpectedFileDeleteErrors, AutomationsExamplesExpectedFileDeleteResponses, AutomationsExamplesExpectedFileGetData, AutomationsExamplesExpectedFileGetError, AutomationsExamplesExpectedFileGetErrors, AutomationsExamplesExpectedFileGetResponse, AutomationsExamplesExpectedFileGetResponses, AutomationsExamplesExpectedFilesCreateData, AutomationsExamplesExpectedFilesCreateError, AutomationsExamplesExpectedFilesCreateErrors, AutomationsExamplesExpectedFilesCreateResponse, AutomationsExamplesExpectedFilesCreateResponses, AutomationsExamplesExpectedFilesListData, AutomationsExamplesExpectedFilesListError, AutomationsExamplesExpectedFilesListErrors, AutomationsExamplesExpectedFilesListResponse, AutomationsExamplesExpectedFilesListResponses, AutomationsExamplesExpectedFileUpdateData, AutomationsExamplesExpectedFileUpdateError, AutomationsExamplesExpectedFileUpdateErrors, AutomationsExamplesExpectedFileUpdateResponse, AutomationsExamplesExpectedFileUpdateResponses, AutomationsExamplesGetData, AutomationsExamplesGetError, AutomationsExamplesGetErrors, AutomationsExamplesGetResponse, AutomationsExamplesGetResponses, AutomationsExamplesInputFileDeleteData, AutomationsExamplesInputFileDeleteError, AutomationsExamplesInputFileDeleteErrors, AutomationsExamplesInputFileDeleteResponses, AutomationsExamplesInputFileGetData, AutomationsExamplesInputFileGetError, AutomationsExamplesInputFileGetErrors, AutomationsExamplesInputFileGetResponse, AutomationsExamplesInputFileGetResponses, AutomationsExamplesInputFilesCreateData, AutomationsExamplesInputFilesCreateError, AutomationsExamplesInputFilesCreateErrors, AutomationsExamplesInputFilesCreateResponse, AutomationsExamplesInputFilesCreateResponses, AutomationsExamplesInputFilesListData, AutomationsExamplesInputFilesListError, AutomationsExamplesInputFilesListErrors, AutomationsExamplesInputFilesListResponse, AutomationsExamplesInputFilesListResponses, AutomationsExamplesInputFileUpdateData, AutomationsExamplesInputFileUpdateError, AutomationsExamplesInputFileUpdateErrors, AutomationsExamplesInputFileUpdateResponse, AutomationsExamplesInputFileUpdateResponses, AutomationsExamplesListData, AutomationsExamplesListError, AutomationsExamplesListErrors, AutomationsExamplesListResponse, AutomationsExamplesListResponses, AutomationsExamplesRunData, AutomationsExamplesRunError, AutomationsExamplesRunErrors, AutomationsExamplesRunResponse, AutomationsExamplesRunResponses, AutomationsExamplesUpdateData, AutomationsExamplesUpdateError, AutomationsExamplesUpdateErrors, AutomationsExamplesUpdateResponse, AutomationsExamplesUpdateResponses, AutomationsExperimentsCancelData, AutomationsExperimentsCancelError, AutomationsExperimentsCancelErrors, AutomationsExperimentsCancelResponse, AutomationsExperimentsCancelResponses, AutomationsExperimentsCreateData, AutomationsExperimentsCreateError, AutomationsExperimentsCreateErrors, AutomationsExperimentsCreateResponse, AutomationsExperimentsCreateResponses, AutomationsExperimentsCreateStreamData, AutomationsExperimentsCreateStreamError, AutomationsExperimentsCreateStreamErrors, AutomationsExperimentsCreateStreamResponse, AutomationsExperimentsCreateStreamResponses, AutomationsExperimentsExportAllData, AutomationsExperimentsExportAllError, AutomationsExperimentsExportAllErrors, AutomationsExperimentsExportAllResponse, AutomationsExperimentsExportAllResponses, AutomationsExperimentsExportData, AutomationsExperimentsExportError, AutomationsExperimentsExportErrors, AutomationsExperimentsExportResponse, AutomationsExperimentsExportResponses, AutomationsExperimentsGetData, AutomationsExperimentsGetError, AutomationsExperimentsGetErrors, AutomationsExperimentsGetResponse, AutomationsExperimentsGetResponses, AutomationsExperimentsListData, AutomationsExperimentsListError, AutomationsExperimentsListErrors, AutomationsExperimentsListResponse, AutomationsExperimentsListResponses, AutomationsGetData, AutomationsGetError, AutomationsGetErrors, AutomationsGetResponse, AutomationsGetResponses, AutomationsListData, AutomationsListError, AutomationsListErrors, AutomationsListResponse, AutomationsListResponses, AutomationsReviewsHealthData, AutomationsReviewsHealthError, AutomationsReviewsHealthErrors, AutomationsReviewsHealthResponse, AutomationsReviewsHealthResponses, AutomationsSyncData, AutomationsSyncError, AutomationsSyncErrors, AutomationsSyncResponse, AutomationsSyncResponses, AutomationsTriggersGetData, AutomationsTriggersGetError, AutomationsTriggersGetErrors, AutomationsTriggersGetResponse, AutomationsTriggersGetResponses, AutomationSummary, AutomationsUpdateData, AutomationsUpdateError, AutomationsUpdateErrors, AutomationsUpdateResponse, AutomationsUpdateResponses, AutomationsVersionsCreateData, AutomationsVersionsCreateError, AutomationsVersionsCreateErrors, AutomationsVersionsCreateResponse, AutomationsVersionsCreateResponses, AutomationsVersionsListData, AutomationsVersionsListError, AutomationsVersionsListErrors, AutomationsVersionsListResponse, AutomationsVersionsListResponses, AutomationsVersionsPromoteData, AutomationsVersionsPromoteError, AutomationsVersionsPromoteErrors, AutomationsVersionsPromoteResponse, AutomationsVersionsPromoteResponses, AutomationsVersionsRestoreData, AutomationsVersionsRestoreError, AutomationsVersionsRestoreErrors, AutomationsVersionsRestoreResponse, AutomationsVersionsRestoreResponses, AutomationTriggersResponse, AutomationTriggerState, AutomationType, AutomationVersion, ClientOptions, CreateAutomationVersionRequest, CreateDatasetReviewRequest, CreatedTemplate, CreateEmailServerRequest, CreateFileMultipartRequest, CreateFileUploadSessionRequest, CreateFolderRequest, DatasetExample, DatasetExampleExpectedFileList, DatasetExampleExpectedFileRenameRequest, DatasetExampleExpectedFileRenameResponse, DatasetExampleExpectedFileUploadRequest, DatasetExampleExpectedFileUploadResponse, DatasetExampleInputFileList, DatasetExampleInputFileRenameRequest, DatasetExampleInputFileRenameResponse, DatasetExampleInputFileUploadRequest, DatasetExampleInputFileUploadResponse, DatasetExampleList, DatasetExampleMutation, DatasetExampleUpdate, DatasetImportResponse, DatasetReviewCreateItemNote, DatasetReviewDetail, DatasetReviewEvent, DatasetReviewEventList, DatasetReviewExpectedFile, DatasetReviewFieldDecision, DatasetReviewFileDecision, DatasetReviewFocusField, DatasetReviewFocusFieldOutput, DatasetReviewInboxItem, DatasetReviewInboxList, DatasetReviewItem, DatasetReviewItemFieldNote, DatasetReviewItemList, DatasetReviewItemResponse, DatasetReviewProgress, DatasetReviewRequest, DatasetReviewRequestList, DatasetReviewRequestsListData, DatasetReviewRequestsListError, DatasetReviewRequestsListErrors, DatasetReviewRequestsListResponse, DatasetReviewRequestsListResponses, DeleteAutomationResponse, DeleteEmailServerResponse, DeleteFileResponse, DeleteFolderResponse, DeleteTemplateResponse, EditDatasetReviewItemFile, EmailServer, EmailServersCreateData, EmailServersCreateError, EmailServersCreateErrors, EmailServersCreateResponse, EmailServersCreateResponses, EmailServersDeleteData, EmailServersDeleteError, EmailServersDeleteErrors, EmailServersDeleteResponse, EmailServersDeleteResponses, EmailServersGetData, EmailServersGetError, EmailServersGetErrors, EmailServersGetResponse, EmailServersGetResponses, EmailServersListData, EmailServersListError, EmailServersListErrors, EmailServersListResponse, EmailServersListResponses, EmailServersTestData, EmailServersTestError, EmailServersTestErrors, EmailServersTestResponse, EmailServersTestResponses, EmailServersUpdateData, EmailServersUpdateError, EmailServersUpdateErrors, EmailServersUpdateResponse, EmailServersUpdateResponses, EvalResult, EvaluatorConfigResponse, EvaluatorConfigUpdate, ExampleRunResponse, ExecutionStatus, Experiment, ExperimentCreate, ExperimentCreateResponse, ExperimentDetail, ExperimentRef, ExperimentsResolveData, ExperimentsResolveError, ExperimentsResolveErrors, ExperimentsResolveResponse, ExperimentsResolveResponses, File, FilesContentGetData, FilesContentGetError, FilesContentGetErrors, FilesContentGetResponses, FilesCreateData, FilesCreateError, FilesCreateErrors, FilesCreateResponse, FilesCreateResponses, FilesDeleteData, FilesDeleteError, FilesDeleteErrors, FilesDeleteResponse, FilesDeleteResponses, FilesGetData, FilesGetError, FilesGetErrors, FilesGetResponse, FilesGetResponses, FilesUploadsAbortData, FilesUploadsAbortError, FilesUploadsAbortErrors, FilesUploadsAbortResponse, FilesUploadsAbortResponses, FilesUploadsCompleteData, FilesUploadsCompleteError, FilesUploadsCompleteErrors, FilesUploadsCompleteResponse, FilesUploadsCompleteResponses, FilesUploadsCreateData, FilesUploadsCreateError, FilesUploadsCreateErrors, FilesUploadsCreateResponse, FilesUploadsCreateResponses, FilesUploadsGetData, FilesUploadsGetError, FilesUploadsGetErrors, FilesUploadsGetResponse, FilesUploadsGetResponses, FilesUploadsPartsListData, FilesUploadsPartsListError, FilesUploadsPartsListErrors, FilesUploadsPartsListResponse, FilesUploadsPartsListResponses, FilesUploadsPartsPresignData, FilesUploadsPartsPresignError, FilesUploadsPartsPresignErrors, FilesUploadsPartsPresignResponse, FilesUploadsPartsPresignResponses, FileUploadSession, Folder, FoldersCreateData, FoldersCreateError, FoldersCreateErrors, FoldersCreateResponse, FoldersCreateResponses, FoldersDeleteData, FoldersDeleteError, FoldersDeleteErrors, FoldersDeleteResponse, FoldersDeleteResponses, FoldersGetData, FoldersGetError, FoldersGetErrors, FoldersGetResponse, FoldersGetResponses, FoldersListData, FoldersListError, FoldersListErrors, FoldersListResponse, FoldersListResponses, FoldersUpdateData, FoldersUpdateError, FoldersUpdateErrors, FoldersUpdateResponse, FoldersUpdateResponses, FolderType, HumanReviewApproveResponse, HumanReviewFieldResponse, HumanReviewListResponse, HumanReviewRejectResponse, HumanReviewsApproveData, HumanReviewsApproveError, HumanReviewsApproveErrors, HumanReviewsApproveResponse, HumanReviewsApproveResponses, HumanReviewsConfirmFieldData, HumanReviewsConfirmFieldError, HumanReviewsConfirmFieldErrors, HumanReviewsConfirmFieldResponse, HumanReviewsConfirmFieldResponses, HumanReviewsFilesContentGetData, HumanReviewsFilesContentGetError, HumanReviewsFilesContentGetErrors, HumanReviewsFilesContentGetResponses, HumanReviewsGetData, HumanReviewsGetError, HumanReviewsGetErrors, HumanReviewsGetResponse, HumanReviewsGetResponses, HumanReviewsListData, HumanReviewsListError, HumanReviewsListErrors, HumanReviewsListResponse, HumanReviewsListResponses, HumanReviewsRejectData, HumanReviewsRejectError, HumanReviewsRejectErrors, HumanReviewsRejectResponse, HumanReviewsRejectResponses, HumanReviewTaskDetail, HumanReviewTaskResponse, ListAutomationsResponse, ListAutomationVersionsResponse, ListEmailServersResponse, ListFileUploadPartsResponse, ListFoldersResponse, ListModelsResponse, ListTemplatesResponse, ModelsListData, ModelsListError, ModelsListErrors, ModelsListResponse, ModelsListResponses, ModelsParserReadinessData, ModelsParserReadinessError, ModelsParserReadinessErrors, ModelsParserReadinessResponse, ModelsParserReadinessResponses, MultipartFileUploadFallback, ParsingReadiness, PresignedFileUploadSession, PresignedMultipartFileUploadSession, PresignFileUploadPartRequest, PresignFileUploadPartResponse, PromoteRunRequest, PromoteRunResponse, PublicModel, PublicModelCost, PublicModelLimits, PublicResendEmailServer, PublicSmtpEmailServer, RestoreAutomationVersionRequest, Run, RunAccepted, RunArtifact, RunArtifactsResponse, RunCancelResponse, RunDebug, RunError, RunEval, RunEvent, RunEventsResponse, RunExecution, RunExecutionMeta, RunExecutionRetry, RunFile, RunHumanReviewSummary, RunInput, RunListItem, RunReview, RunReviewCorrection, RunReviewDetail, RunReviewExpectedArtifacts, RunReviewExpectedFileCopyRequest, RunReviewExpectedFileMutationResponse, RunReviewExpectedFileUpdateRequest, RunReviewExpectedFileUpdateResponse, RunReviewExpectedFileUploadRequest, RunReviewHealthBucket, RunReviewHealthConfidence, RunReviewHealthResponse, RunReviewHealthRollingPoint, RunReviewHealthSummary, RunReviewRequest, RunReviewSummary, RunsArtifactsGetData, RunsArtifactsGetError, RunsArtifactsGetErrors, RunsArtifactsGetResponses, RunsArtifactsListData, RunsArtifactsListError, RunsArtifactsListErrors, RunsArtifactsListResponse, RunsArtifactsListResponses, RunsCancelData, RunsCancelError, RunsCancelErrors, RunsCancelResponse, RunsCancelResponses, RunScoresResponse, RunsEventsListData, RunsEventsListError, RunsEventsListErrors, RunsEventsListResponse, RunsEventsListResponses, RunsGetData, RunsGetError, RunsGetErrors, RunsGetResponse, RunsGetResponses, RunsListData, RunsListError, RunsListErrors, RunsListResponse, RunsListResponse2, RunsListResponses, RunSource, RunSourceGit, RunsPromoteData, RunsPromoteError, RunsPromoteErrors, RunsPromoteResponse, RunsPromoteResponses, RunsRerunData, RunsRerunError, RunsRerunErrors, RunsRerunResponse, RunsRerunResponses, RunsReviewsClearData, RunsReviewsClearError, RunsReviewsClearErrors, RunsReviewsClearResponse, RunsReviewsClearResponses, RunsReviewsExpectedCreateData, RunsReviewsExpectedCreateError, RunsReviewsExpectedCreateErrors, RunsReviewsExpectedCreateResponse, RunsReviewsExpectedCreateResponses, RunsReviewsExpectedFileDeleteData, RunsReviewsExpectedFileDeleteError, RunsReviewsExpectedFileDeleteErrors, RunsReviewsExpectedFileDeleteResponse, RunsReviewsExpectedFileDeleteResponses, RunsReviewsExpectedFileGetData, RunsReviewsExpectedFileGetError, RunsReviewsExpectedFileGetErrors, RunsReviewsExpectedFileGetResponse, RunsReviewsExpectedFileGetResponses, RunsReviewsExpectedFileUpdateData, RunsReviewsExpectedFileUpdateError, RunsReviewsExpectedFileUpdateErrors, RunsReviewsExpectedFileUpdateResponse, RunsReviewsExpectedFileUpdateResponses, RunsReviewsExpectedGetData, RunsReviewsExpectedGetError, RunsReviewsExpectedGetErrors, RunsReviewsExpectedGetResponse, RunsReviewsExpectedGetResponses, RunsReviewsGetData, RunsReviewsGetError, RunsReviewsGetErrors, RunsReviewsGetResponse, RunsReviewsGetResponses, RunsReviewsUpdateData, RunsReviewsUpdateError, RunsReviewsUpdateErrors, RunsReviewsUpdateResponse, RunsReviewsUpdateResponses, RunsScoresListData, RunsScoresListError, RunsScoresListErrors, RunsScoresListResponse, RunsScoresListResponses, RunsStartData, RunsStartError, RunsStartErrors, RunsStartResponse, RunsStartResponses, RunsStepsGetData, RunsStepsGetError, RunsStepsGetErrors, RunsStepsGetResponse, RunsStepsGetResponses, RunsStepsListData, RunsStepsListError, RunsStepsListErrors, RunsStepsListResponse, RunsStepsListResponses, RunStartBody, RunStartMultipartRequest, RunStepDetailResponse, RunStepsResponse, RunsTraceGetData, RunsTraceGetError, RunsTraceGetErrors, RunsTraceGetResponse, RunsTraceGetResponses, RunsUsageGetData, RunsUsageGetError, RunsUsageGetErrors, RunsUsageGetResponse, RunsUsageGetResponses, RunTiming, RunTraceEvent, RunTraceResponse, RunTrigger, RunUsage, RunUsageResponse, Template, TemplateFileReferenceRequest, TemplateReplaceRequest, TemplateRevision, TemplatesContentGetData, TemplatesContentGetError, TemplatesContentGetErrors, TemplatesContentGetResponse, TemplatesContentGetResponses, TemplatesCreateData, TemplatesCreateError, TemplatesCreateErrors, TemplatesCreateResponse, TemplatesCreateResponses, TemplatesDeleteData, TemplatesDeleteError, TemplatesDeleteErrors, TemplatesDeleteResponse, TemplatesDeleteResponses, TemplatesGetData, TemplatesGetError, TemplatesGetErrors, TemplatesGetResponse, TemplatesGetResponses, TemplatesListData, TemplatesListError, TemplatesListErrors, TemplatesListResponse, TemplatesListResponses, TemplatesReplaceData, TemplatesReplaceError, TemplatesReplaceErrors, TemplatesReplaceResponse, TemplatesReplaceResponses, TemplatesStagingData, TemplatesStagingError, TemplatesStagingErrors, TemplatesStagingResponse, TemplatesStagingResponses, TemplateStagingRequest, TemplateStagingResponse, TestEmailServerRequest, TestEmailServerResponse, UpdateAutomationRequest, UpdateDatasetReviewItem, UpdateDatasetReviewRequest, UpdateEmailServerRequest, UpdateFolderRequest, WorkflowRunExecution } from './types.gen';
|
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { type Client, formDataBodySerializer, type Options as Options2, type TDataShape } from './client';
|
|
4
4
|
import { client } from './client.gen';
|
|
5
|
-
import type { AuthCheckData, AuthCheckErrors, AuthCheckResponses, AutomationsDatasetExportData, AutomationsDatasetExportErrors, AutomationsDatasetExportResponses, AutomationsDatasetImportData, AutomationsDatasetImportErrors, AutomationsDatasetImportResponses, AutomationsDatasetReviewRequestsCreateData, AutomationsDatasetReviewRequestsCreateErrors, AutomationsDatasetReviewRequestsCreateResponses, AutomationsDatasetReviewRequestsGetData, AutomationsDatasetReviewRequestsGetErrors, AutomationsDatasetReviewRequestsGetResponses, AutomationsDatasetReviewRequestsItemFileGetData, AutomationsDatasetReviewRequestsItemFileGetErrors, AutomationsDatasetReviewRequestsItemFileGetResponses, AutomationsDatasetReviewRequestsListData, AutomationsDatasetReviewRequestsListErrors, AutomationsDatasetReviewRequestsListEventsData, AutomationsDatasetReviewRequestsListEventsErrors, AutomationsDatasetReviewRequestsListEventsResponses, AutomationsDatasetReviewRequestsListItemsData, AutomationsDatasetReviewRequestsListItemsErrors, AutomationsDatasetReviewRequestsListItemsResponses, AutomationsDatasetReviewRequestsListResponses, AutomationsDatasetReviewRequestsUpdateData, AutomationsDatasetReviewRequestsUpdateErrors, AutomationsDatasetReviewRequestsUpdateItemData, AutomationsDatasetReviewRequestsUpdateItemErrors, AutomationsDatasetReviewRequestsUpdateItemResponses, AutomationsDatasetReviewRequestsUpdateResponses, AutomationsDeleteData, AutomationsDeleteErrors, AutomationsDeleteResponses, AutomationsEvaluatorsGetData, AutomationsEvaluatorsGetErrors, AutomationsEvaluatorsGetResponses, AutomationsEvaluatorsUpdateData, AutomationsEvaluatorsUpdateErrors, AutomationsEvaluatorsUpdateResponses, AutomationsExamplesCreateData, AutomationsExamplesCreateErrors, AutomationsExamplesCreateResponses, AutomationsExamplesDeleteData, AutomationsExamplesDeleteErrors, AutomationsExamplesDeleteResponses, AutomationsExamplesExpectedFileDeleteData, AutomationsExamplesExpectedFileDeleteErrors, AutomationsExamplesExpectedFileDeleteResponses, AutomationsExamplesExpectedFileGetData, AutomationsExamplesExpectedFileGetErrors, AutomationsExamplesExpectedFileGetResponses, AutomationsExamplesExpectedFilesCreateData, AutomationsExamplesExpectedFilesCreateErrors, AutomationsExamplesExpectedFilesCreateResponses, AutomationsExamplesExpectedFilesListData, AutomationsExamplesExpectedFilesListErrors, AutomationsExamplesExpectedFilesListResponses, AutomationsExamplesExpectedFileUpdateData, AutomationsExamplesExpectedFileUpdateErrors, AutomationsExamplesExpectedFileUpdateResponses, AutomationsExamplesGetData, AutomationsExamplesGetErrors, AutomationsExamplesGetResponses, AutomationsExamplesInputFileDeleteData, AutomationsExamplesInputFileDeleteErrors, AutomationsExamplesInputFileDeleteResponses, AutomationsExamplesInputFileGetData, AutomationsExamplesInputFileGetErrors, AutomationsExamplesInputFileGetResponses, AutomationsExamplesInputFilesCreateData, AutomationsExamplesInputFilesCreateErrors, AutomationsExamplesInputFilesCreateResponses, AutomationsExamplesInputFilesListData, AutomationsExamplesInputFilesListErrors, AutomationsExamplesInputFilesListResponses, AutomationsExamplesInputFileUpdateData, AutomationsExamplesInputFileUpdateErrors, AutomationsExamplesInputFileUpdateResponses, AutomationsExamplesListData, AutomationsExamplesListErrors, AutomationsExamplesListResponses, AutomationsExamplesRunData, AutomationsExamplesRunErrors, AutomationsExamplesRunResponses, AutomationsExamplesUpdateData, AutomationsExamplesUpdateErrors, AutomationsExamplesUpdateResponses, AutomationsExperimentsCancelData, AutomationsExperimentsCancelErrors, AutomationsExperimentsCancelResponses, AutomationsExperimentsCreateData, AutomationsExperimentsCreateErrors, AutomationsExperimentsCreateResponses, AutomationsExperimentsCreateStreamData, AutomationsExperimentsCreateStreamErrors, AutomationsExperimentsCreateStreamResponses, AutomationsExperimentsExportAllData, AutomationsExperimentsExportAllErrors, AutomationsExperimentsExportAllResponses, AutomationsExperimentsExportData, AutomationsExperimentsExportErrors, AutomationsExperimentsExportResponses, AutomationsExperimentsGetData, AutomationsExperimentsGetErrors, AutomationsExperimentsGetResponses, AutomationsExperimentsListData, AutomationsExperimentsListErrors, AutomationsExperimentsListResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListErrors, AutomationsListResponses, AutomationsReviewsHealthData, AutomationsReviewsHealthErrors, AutomationsReviewsHealthResponses, AutomationsSyncData, AutomationsSyncErrors, AutomationsSyncResponses, AutomationsTriggersGetData, AutomationsTriggersGetErrors, AutomationsTriggersGetResponses, AutomationsUpdateData, AutomationsUpdateErrors, AutomationsUpdateResponses, AutomationsVersionsCreateData, AutomationsVersionsCreateErrors, AutomationsVersionsCreateResponses, AutomationsVersionsListData, AutomationsVersionsListErrors, AutomationsVersionsListResponses, AutomationsVersionsPromoteData, AutomationsVersionsPromoteErrors, AutomationsVersionsPromoteResponses, AutomationsVersionsRestoreData, AutomationsVersionsRestoreErrors, AutomationsVersionsRestoreResponses, DatasetReviewRequestsListData, DatasetReviewRequestsListErrors, DatasetReviewRequestsListResponses, EmailServersCreateData, EmailServersCreateErrors, EmailServersCreateResponses, EmailServersDeleteData, EmailServersDeleteErrors, EmailServersDeleteResponses, EmailServersGetData, EmailServersGetErrors, EmailServersGetResponses, EmailServersListData, EmailServersListErrors, EmailServersListResponses, EmailServersTestData, EmailServersTestErrors, EmailServersTestResponses, EmailServersUpdateData, EmailServersUpdateErrors, EmailServersUpdateResponses, ExperimentsResolveData, ExperimentsResolveErrors, ExperimentsResolveResponses, FilesContentGetData, FilesContentGetErrors, FilesContentGetResponses, FilesCreateData, FilesCreateErrors, FilesCreateResponses, FilesDeleteData, FilesDeleteErrors, FilesDeleteResponses, FilesGetData, FilesGetErrors, FilesGetResponses, FilesUploadsAbortData, FilesUploadsAbortErrors, FilesUploadsAbortResponses, FilesUploadsCompleteData, FilesUploadsCompleteErrors, FilesUploadsCompleteResponses, FilesUploadsCreateData, FilesUploadsCreateErrors, FilesUploadsCreateResponses, FilesUploadsGetData, FilesUploadsGetErrors, FilesUploadsGetResponses, FilesUploadsPartsListData, FilesUploadsPartsListErrors, FilesUploadsPartsListResponses, FilesUploadsPartsPresignData, FilesUploadsPartsPresignErrors, FilesUploadsPartsPresignResponses, FoldersCreateData, FoldersCreateErrors, FoldersCreateResponses, FoldersDeleteData, FoldersDeleteErrors, FoldersDeleteResponses, FoldersGetData, FoldersGetErrors, FoldersGetResponses, FoldersListData, FoldersListErrors, FoldersListResponses, FoldersUpdateData, FoldersUpdateErrors, FoldersUpdateResponses, HumanReviewsApproveData, HumanReviewsApproveErrors, HumanReviewsApproveResponses, HumanReviewsConfirmFieldData, HumanReviewsConfirmFieldErrors, HumanReviewsConfirmFieldResponses, HumanReviewsFilesContentGetData, HumanReviewsFilesContentGetErrors, HumanReviewsFilesContentGetResponses, HumanReviewsGetData, HumanReviewsGetErrors, HumanReviewsGetResponses, HumanReviewsListData, HumanReviewsListErrors, HumanReviewsListResponses, HumanReviewsRejectData, HumanReviewsRejectErrors, HumanReviewsRejectResponses, ModelsListData, ModelsListErrors, ModelsListResponses, RunsArtifactsGetData, RunsArtifactsGetErrors, RunsArtifactsGetResponses, RunsArtifactsListData, RunsArtifactsListErrors, RunsArtifactsListResponses, RunsCancelData, RunsCancelErrors, RunsCancelResponses, RunsEventsListData, RunsEventsListErrors, RunsEventsListResponses, RunsGetData, RunsGetErrors, RunsGetResponses, RunsListData, RunsListErrors, RunsListResponses, RunsPromoteData, RunsPromoteErrors, RunsPromoteResponses, RunsRerunData, RunsRerunErrors, RunsRerunResponses, RunsReviewsClearData, RunsReviewsClearErrors, RunsReviewsClearResponses, RunsReviewsExpectedCreateData, RunsReviewsExpectedCreateErrors, RunsReviewsExpectedCreateResponses, RunsReviewsExpectedFileDeleteData, RunsReviewsExpectedFileDeleteErrors, RunsReviewsExpectedFileDeleteResponses, RunsReviewsExpectedFileGetData, RunsReviewsExpectedFileGetErrors, RunsReviewsExpectedFileGetResponses, RunsReviewsExpectedFileUpdateData, RunsReviewsExpectedFileUpdateErrors, RunsReviewsExpectedFileUpdateResponses, RunsReviewsExpectedGetData, RunsReviewsExpectedGetErrors, RunsReviewsExpectedGetResponses, RunsReviewsGetData, RunsReviewsGetErrors, RunsReviewsGetResponses, RunsReviewsUpdateData, RunsReviewsUpdateErrors, RunsReviewsUpdateResponses, RunsScoresListData, RunsScoresListErrors, RunsScoresListResponses, RunsStartData, RunsStartErrors, RunsStartResponses, RunsStepsGetData, RunsStepsGetErrors, RunsStepsGetResponses, RunsStepsListData, RunsStepsListErrors, RunsStepsListResponses, RunsTraceGetData, RunsTraceGetErrors, RunsTraceGetResponses, RunsUsageGetData, RunsUsageGetErrors, RunsUsageGetResponses, TemplatesContentGetData, TemplatesContentGetErrors, TemplatesContentGetResponses, TemplatesCreateData, TemplatesCreateErrors, TemplatesCreateResponses, TemplatesDeleteData, TemplatesDeleteErrors, TemplatesDeleteResponses, TemplatesGetData, TemplatesGetErrors, TemplatesGetResponses, TemplatesListData, TemplatesListErrors, TemplatesListResponses, TemplatesReplaceData, TemplatesReplaceErrors, TemplatesReplaceResponses, TemplatesStagingData, TemplatesStagingErrors, TemplatesStagingResponses } from './types.gen';
|
|
5
|
+
import type { AuthCheckData, AuthCheckErrors, AuthCheckResponses, AutomationsDatasetExportData, AutomationsDatasetExportErrors, AutomationsDatasetExportResponses, AutomationsDatasetImportData, AutomationsDatasetImportErrors, AutomationsDatasetImportResponses, AutomationsDatasetReviewRequestsCreateData, AutomationsDatasetReviewRequestsCreateErrors, AutomationsDatasetReviewRequestsCreateResponses, AutomationsDatasetReviewRequestsGetData, AutomationsDatasetReviewRequestsGetErrors, AutomationsDatasetReviewRequestsGetResponses, AutomationsDatasetReviewRequestsItemFileGetData, AutomationsDatasetReviewRequestsItemFileGetErrors, AutomationsDatasetReviewRequestsItemFileGetResponses, AutomationsDatasetReviewRequestsListData, AutomationsDatasetReviewRequestsListErrors, AutomationsDatasetReviewRequestsListEventsData, AutomationsDatasetReviewRequestsListEventsErrors, AutomationsDatasetReviewRequestsListEventsResponses, AutomationsDatasetReviewRequestsListItemsData, AutomationsDatasetReviewRequestsListItemsErrors, AutomationsDatasetReviewRequestsListItemsResponses, AutomationsDatasetReviewRequestsListResponses, AutomationsDatasetReviewRequestsUpdateData, AutomationsDatasetReviewRequestsUpdateErrors, AutomationsDatasetReviewRequestsUpdateItemData, AutomationsDatasetReviewRequestsUpdateItemErrors, AutomationsDatasetReviewRequestsUpdateItemResponses, AutomationsDatasetReviewRequestsUpdateResponses, AutomationsDeleteData, AutomationsDeleteErrors, AutomationsDeleteResponses, AutomationsEvaluatorsGetData, AutomationsEvaluatorsGetErrors, AutomationsEvaluatorsGetResponses, AutomationsEvaluatorsUpdateData, AutomationsEvaluatorsUpdateErrors, AutomationsEvaluatorsUpdateResponses, AutomationsExamplesCreateData, AutomationsExamplesCreateErrors, AutomationsExamplesCreateResponses, AutomationsExamplesDeleteData, AutomationsExamplesDeleteErrors, AutomationsExamplesDeleteResponses, AutomationsExamplesExpectedFileDeleteData, AutomationsExamplesExpectedFileDeleteErrors, AutomationsExamplesExpectedFileDeleteResponses, AutomationsExamplesExpectedFileGetData, AutomationsExamplesExpectedFileGetErrors, AutomationsExamplesExpectedFileGetResponses, AutomationsExamplesExpectedFilesCreateData, AutomationsExamplesExpectedFilesCreateErrors, AutomationsExamplesExpectedFilesCreateResponses, AutomationsExamplesExpectedFilesListData, AutomationsExamplesExpectedFilesListErrors, AutomationsExamplesExpectedFilesListResponses, AutomationsExamplesExpectedFileUpdateData, AutomationsExamplesExpectedFileUpdateErrors, AutomationsExamplesExpectedFileUpdateResponses, AutomationsExamplesGetData, AutomationsExamplesGetErrors, AutomationsExamplesGetResponses, AutomationsExamplesInputFileDeleteData, AutomationsExamplesInputFileDeleteErrors, AutomationsExamplesInputFileDeleteResponses, AutomationsExamplesInputFileGetData, AutomationsExamplesInputFileGetErrors, AutomationsExamplesInputFileGetResponses, AutomationsExamplesInputFilesCreateData, AutomationsExamplesInputFilesCreateErrors, AutomationsExamplesInputFilesCreateResponses, AutomationsExamplesInputFilesListData, AutomationsExamplesInputFilesListErrors, AutomationsExamplesInputFilesListResponses, AutomationsExamplesInputFileUpdateData, AutomationsExamplesInputFileUpdateErrors, AutomationsExamplesInputFileUpdateResponses, AutomationsExamplesListData, AutomationsExamplesListErrors, AutomationsExamplesListResponses, AutomationsExamplesRunData, AutomationsExamplesRunErrors, AutomationsExamplesRunResponses, AutomationsExamplesUpdateData, AutomationsExamplesUpdateErrors, AutomationsExamplesUpdateResponses, AutomationsExperimentsCancelData, AutomationsExperimentsCancelErrors, AutomationsExperimentsCancelResponses, AutomationsExperimentsCreateData, AutomationsExperimentsCreateErrors, AutomationsExperimentsCreateResponses, AutomationsExperimentsCreateStreamData, AutomationsExperimentsCreateStreamErrors, AutomationsExperimentsCreateStreamResponses, AutomationsExperimentsExportAllData, AutomationsExperimentsExportAllErrors, AutomationsExperimentsExportAllResponses, AutomationsExperimentsExportData, AutomationsExperimentsExportErrors, AutomationsExperimentsExportResponses, AutomationsExperimentsGetData, AutomationsExperimentsGetErrors, AutomationsExperimentsGetResponses, AutomationsExperimentsListData, AutomationsExperimentsListErrors, AutomationsExperimentsListResponses, AutomationsGetData, AutomationsGetErrors, AutomationsGetResponses, AutomationsListData, AutomationsListErrors, AutomationsListResponses, AutomationsReviewsHealthData, AutomationsReviewsHealthErrors, AutomationsReviewsHealthResponses, AutomationsSyncData, AutomationsSyncErrors, AutomationsSyncResponses, AutomationsTriggersGetData, AutomationsTriggersGetErrors, AutomationsTriggersGetResponses, AutomationsUpdateData, AutomationsUpdateErrors, AutomationsUpdateResponses, AutomationsVersionsCreateData, AutomationsVersionsCreateErrors, AutomationsVersionsCreateResponses, AutomationsVersionsListData, AutomationsVersionsListErrors, AutomationsVersionsListResponses, AutomationsVersionsPromoteData, AutomationsVersionsPromoteErrors, AutomationsVersionsPromoteResponses, AutomationsVersionsRestoreData, AutomationsVersionsRestoreErrors, AutomationsVersionsRestoreResponses, DatasetReviewRequestsListData, DatasetReviewRequestsListErrors, DatasetReviewRequestsListResponses, EmailServersCreateData, EmailServersCreateErrors, EmailServersCreateResponses, EmailServersDeleteData, EmailServersDeleteErrors, EmailServersDeleteResponses, EmailServersGetData, EmailServersGetErrors, EmailServersGetResponses, EmailServersListData, EmailServersListErrors, EmailServersListResponses, EmailServersTestData, EmailServersTestErrors, EmailServersTestResponses, EmailServersUpdateData, EmailServersUpdateErrors, EmailServersUpdateResponses, ExperimentsResolveData, ExperimentsResolveErrors, ExperimentsResolveResponses, FilesContentGetData, FilesContentGetErrors, FilesContentGetResponses, FilesCreateData, FilesCreateErrors, FilesCreateResponses, FilesDeleteData, FilesDeleteErrors, FilesDeleteResponses, FilesGetData, FilesGetErrors, FilesGetResponses, FilesUploadsAbortData, FilesUploadsAbortErrors, FilesUploadsAbortResponses, FilesUploadsCompleteData, FilesUploadsCompleteErrors, FilesUploadsCompleteResponses, FilesUploadsCreateData, FilesUploadsCreateErrors, FilesUploadsCreateResponses, FilesUploadsGetData, FilesUploadsGetErrors, FilesUploadsGetResponses, FilesUploadsPartsListData, FilesUploadsPartsListErrors, FilesUploadsPartsListResponses, FilesUploadsPartsPresignData, FilesUploadsPartsPresignErrors, FilesUploadsPartsPresignResponses, FoldersCreateData, FoldersCreateErrors, FoldersCreateResponses, FoldersDeleteData, FoldersDeleteErrors, FoldersDeleteResponses, FoldersGetData, FoldersGetErrors, FoldersGetResponses, FoldersListData, FoldersListErrors, FoldersListResponses, FoldersUpdateData, FoldersUpdateErrors, FoldersUpdateResponses, HumanReviewsApproveData, HumanReviewsApproveErrors, HumanReviewsApproveResponses, HumanReviewsConfirmFieldData, HumanReviewsConfirmFieldErrors, HumanReviewsConfirmFieldResponses, HumanReviewsFilesContentGetData, HumanReviewsFilesContentGetErrors, HumanReviewsFilesContentGetResponses, HumanReviewsGetData, HumanReviewsGetErrors, HumanReviewsGetResponses, HumanReviewsListData, HumanReviewsListErrors, HumanReviewsListResponses, HumanReviewsRejectData, HumanReviewsRejectErrors, HumanReviewsRejectResponses, ModelsListData, ModelsListErrors, ModelsListResponses, ModelsParserReadinessData, ModelsParserReadinessErrors, ModelsParserReadinessResponses, RunsArtifactsGetData, RunsArtifactsGetErrors, RunsArtifactsGetResponses, RunsArtifactsListData, RunsArtifactsListErrors, RunsArtifactsListResponses, RunsCancelData, RunsCancelErrors, RunsCancelResponses, RunsEventsListData, RunsEventsListErrors, RunsEventsListResponses, RunsGetData, RunsGetErrors, RunsGetResponses, RunsListData, RunsListErrors, RunsListResponses, RunsPromoteData, RunsPromoteErrors, RunsPromoteResponses, RunsRerunData, RunsRerunErrors, RunsRerunResponses, RunsReviewsClearData, RunsReviewsClearErrors, RunsReviewsClearResponses, RunsReviewsExpectedCreateData, RunsReviewsExpectedCreateErrors, RunsReviewsExpectedCreateResponses, RunsReviewsExpectedFileDeleteData, RunsReviewsExpectedFileDeleteErrors, RunsReviewsExpectedFileDeleteResponses, RunsReviewsExpectedFileGetData, RunsReviewsExpectedFileGetErrors, RunsReviewsExpectedFileGetResponses, RunsReviewsExpectedFileUpdateData, RunsReviewsExpectedFileUpdateErrors, RunsReviewsExpectedFileUpdateResponses, RunsReviewsExpectedGetData, RunsReviewsExpectedGetErrors, RunsReviewsExpectedGetResponses, RunsReviewsGetData, RunsReviewsGetErrors, RunsReviewsGetResponses, RunsReviewsUpdateData, RunsReviewsUpdateErrors, RunsReviewsUpdateResponses, RunsScoresListData, RunsScoresListErrors, RunsScoresListResponses, RunsStartData, RunsStartErrors, RunsStartResponses, RunsStepsGetData, RunsStepsGetErrors, RunsStepsGetResponses, RunsStepsListData, RunsStepsListErrors, RunsStepsListResponses, RunsTraceGetData, RunsTraceGetErrors, RunsTraceGetResponses, RunsUsageGetData, RunsUsageGetErrors, RunsUsageGetResponses, TemplatesContentGetData, TemplatesContentGetErrors, TemplatesContentGetResponses, TemplatesCreateData, TemplatesCreateErrors, TemplatesCreateResponses, TemplatesDeleteData, TemplatesDeleteErrors, TemplatesDeleteResponses, TemplatesGetData, TemplatesGetErrors, TemplatesGetResponses, TemplatesListData, TemplatesListErrors, TemplatesListResponses, TemplatesReplaceData, TemplatesReplaceErrors, TemplatesReplaceResponses, TemplatesStagingData, TemplatesStagingErrors, TemplatesStagingResponses } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
8
8
|
/**
|
|
@@ -977,6 +977,17 @@ export const modelsList = <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
977
977
|
...options
|
|
978
978
|
});
|
|
979
979
|
|
|
980
|
+
/**
|
|
981
|
+
* Inspect document parsing configuration
|
|
982
|
+
*
|
|
983
|
+
* Read deployment-approved OCR/vision defaults and configuration readiness for ai.parse-v2. Does not probe live providers or worker native binaries. Run document smoke tests to verify live readiness.
|
|
984
|
+
*/
|
|
985
|
+
export const modelsParserReadiness = <ThrowOnError extends boolean = false>(options?: Options<ModelsParserReadinessData, ThrowOnError>) => (options?.client ?? client).get<ModelsParserReadinessResponses, ModelsParserReadinessErrors, ThrowOnError>({
|
|
986
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
987
|
+
url: '/v1/parsing/readiness',
|
|
988
|
+
...options
|
|
989
|
+
});
|
|
990
|
+
|
|
980
991
|
/**
|
|
981
992
|
* List runs
|
|
982
993
|
*
|
|
@@ -1759,6 +1759,18 @@ export type PublicModelCost = {
|
|
|
1759
1759
|
unit: 'credits';
|
|
1760
1760
|
};
|
|
1761
1761
|
|
|
1762
|
+
export type ParsingReadiness = {
|
|
1763
|
+
stepType: 'ai.parse-v2';
|
|
1764
|
+
imageReading: 'configured' | 'unconfigured';
|
|
1765
|
+
providers: {
|
|
1766
|
+
ocr: string | null;
|
|
1767
|
+
vision: string | null;
|
|
1768
|
+
};
|
|
1769
|
+
nativeExtraction: 'requires-worker-probe';
|
|
1770
|
+
liveProbe: false;
|
|
1771
|
+
warnings: Array<string>;
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1762
1774
|
export type RunsListResponse = {
|
|
1763
1775
|
runs: Array<RunListItem>;
|
|
1764
1776
|
nextCursor: string | null;
|
|
@@ -7242,6 +7254,59 @@ export type ModelsListResponses = {
|
|
|
7242
7254
|
|
|
7243
7255
|
export type ModelsListResponse = ModelsListResponses[keyof ModelsListResponses];
|
|
7244
7256
|
|
|
7257
|
+
export type ModelsParserReadinessData = {
|
|
7258
|
+
body?: never;
|
|
7259
|
+
path?: never;
|
|
7260
|
+
query?: never;
|
|
7261
|
+
url: '/v1/parsing/readiness';
|
|
7262
|
+
};
|
|
7263
|
+
|
|
7264
|
+
export type ModelsParserReadinessErrors = {
|
|
7265
|
+
/**
|
|
7266
|
+
* Validation error. Request shape did not match the spec.
|
|
7267
|
+
*/
|
|
7268
|
+
400: ApiErrorEnvelope;
|
|
7269
|
+
/**
|
|
7270
|
+
* Missing or invalid API key
|
|
7271
|
+
*/
|
|
7272
|
+
401: ApiErrorEnvelope;
|
|
7273
|
+
/**
|
|
7274
|
+
* API key lacks required scope
|
|
7275
|
+
*/
|
|
7276
|
+
403: ApiErrorEnvelope;
|
|
7277
|
+
/**
|
|
7278
|
+
* Resource not found
|
|
7279
|
+
*/
|
|
7280
|
+
404: ApiErrorEnvelope;
|
|
7281
|
+
/**
|
|
7282
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
7283
|
+
*/
|
|
7284
|
+
413: ApiErrorEnvelope;
|
|
7285
|
+
/**
|
|
7286
|
+
* Rate limit exceeded
|
|
7287
|
+
*/
|
|
7288
|
+
429: ApiErrorEnvelope;
|
|
7289
|
+
/**
|
|
7290
|
+
* Internal server error
|
|
7291
|
+
*/
|
|
7292
|
+
500: ApiErrorEnvelope;
|
|
7293
|
+
/**
|
|
7294
|
+
* Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
|
|
7295
|
+
*/
|
|
7296
|
+
503: ApiErrorEnvelope;
|
|
7297
|
+
};
|
|
7298
|
+
|
|
7299
|
+
export type ModelsParserReadinessError = ModelsParserReadinessErrors[keyof ModelsParserReadinessErrors];
|
|
7300
|
+
|
|
7301
|
+
export type ModelsParserReadinessResponses = {
|
|
7302
|
+
/**
|
|
7303
|
+
* Parsing configuration readiness
|
|
7304
|
+
*/
|
|
7305
|
+
200: ParsingReadiness;
|
|
7306
|
+
};
|
|
7307
|
+
|
|
7308
|
+
export type ModelsParserReadinessResponse = ModelsParserReadinessResponses[keyof ModelsParserReadinessResponses];
|
|
7309
|
+
|
|
7245
7310
|
export type RunsListData = {
|
|
7246
7311
|
body?: never;
|
|
7247
7312
|
path?: never;
|
|
@@ -32,8 +32,36 @@ import {
|
|
|
32
32
|
} from '../generated/sdk.gen';
|
|
33
33
|
import type {
|
|
34
34
|
AutomationDetail,
|
|
35
|
+
AutomationsDatasetImportResponse,
|
|
36
|
+
AutomationsDatasetReviewRequestsCreateResponse,
|
|
37
|
+
AutomationsDatasetReviewRequestsGetResponse,
|
|
38
|
+
AutomationsDatasetReviewRequestsListEventsResponse,
|
|
39
|
+
AutomationsDatasetReviewRequestsListItemsResponse,
|
|
40
|
+
AutomationsDatasetReviewRequestsListResponse,
|
|
41
|
+
AutomationsDatasetReviewRequestsUpdateItemResponse,
|
|
42
|
+
AutomationsDatasetReviewRequestsUpdateResponse,
|
|
43
|
+
AutomationsEvaluatorsGetResponse,
|
|
44
|
+
AutomationsEvaluatorsUpdateResponse,
|
|
45
|
+
AutomationsExamplesCreateResponse,
|
|
46
|
+
AutomationsExamplesDeleteResponse,
|
|
47
|
+
AutomationsExamplesGetResponse,
|
|
48
|
+
AutomationsExamplesListResponse,
|
|
49
|
+
AutomationsExamplesRunResponse,
|
|
50
|
+
AutomationsExamplesUpdateResponse,
|
|
51
|
+
AutomationsExperimentsCancelResponse,
|
|
52
|
+
AutomationsExperimentsCreateResponse,
|
|
53
|
+
AutomationsExperimentsGetResponse,
|
|
54
|
+
AutomationsExperimentsListResponse,
|
|
55
|
+
AutomationsGetResponse,
|
|
35
56
|
AutomationsListData,
|
|
36
57
|
AutomationsReviewsHealthData,
|
|
58
|
+
AutomationsReviewsHealthResponse,
|
|
59
|
+
AutomationsSyncResponse,
|
|
60
|
+
AutomationsTriggersGetResponse,
|
|
61
|
+
AutomationsVersionsCreateResponse,
|
|
62
|
+
AutomationsVersionsListResponse,
|
|
63
|
+
AutomationsVersionsPromoteResponse,
|
|
64
|
+
AutomationsVersionsRestoreResponse,
|
|
37
65
|
CreateAutomationVersionRequest,
|
|
38
66
|
DeleteAutomationResponse,
|
|
39
67
|
ListAutomationsResponse,
|
|
@@ -45,7 +73,6 @@ type Dispatch = <T>(
|
|
|
45
73
|
options?: RequestDispatchOptions
|
|
46
74
|
) => Promise<T>;
|
|
47
75
|
type SignalOptions = { signal?: AbortSignal };
|
|
48
|
-
type AnyResponse = any;
|
|
49
76
|
|
|
50
77
|
export type ListAutomationsOptions = NonNullable<AutomationsListData['query']> & SignalOptions;
|
|
51
78
|
|
|
@@ -74,7 +101,7 @@ export class AutomationsResource {
|
|
|
74
101
|
return this.dispatch(() => automationsList({ client: this.client, query, signal }));
|
|
75
102
|
}
|
|
76
103
|
|
|
77
|
-
async get(id: string, options: SignalOptions = {}): Promise<
|
|
104
|
+
async get(id: string, options: SignalOptions = {}): Promise<AutomationsGetResponse> {
|
|
78
105
|
return this.dispatch(() =>
|
|
79
106
|
automationsGet({ client: this.client, path: { id }, signal: options.signal })
|
|
80
107
|
);
|
|
@@ -111,7 +138,10 @@ export class AutomationsResource {
|
|
|
111
138
|
);
|
|
112
139
|
}
|
|
113
140
|
|
|
114
|
-
async versions(
|
|
141
|
+
async versions(
|
|
142
|
+
id: string,
|
|
143
|
+
options: SignalOptions = {}
|
|
144
|
+
): Promise<AutomationsVersionsListResponse> {
|
|
115
145
|
return this.dispatch(() =>
|
|
116
146
|
automationsVersionsList({ client: this.client, path: { id }, signal: options.signal })
|
|
117
147
|
);
|
|
@@ -121,7 +151,7 @@ export class AutomationsResource {
|
|
|
121
151
|
id: string,
|
|
122
152
|
body: CreateAutomationVersionRequest,
|
|
123
153
|
options: SignalOptions = {}
|
|
124
|
-
): Promise<
|
|
154
|
+
): Promise<AutomationsVersionsCreateResponse> {
|
|
125
155
|
return this.dispatch(() =>
|
|
126
156
|
automationsVersionsCreate({
|
|
127
157
|
client: this.client,
|
|
@@ -137,7 +167,7 @@ export class AutomationsResource {
|
|
|
137
167
|
versionId: string,
|
|
138
168
|
body: { message?: string } = {},
|
|
139
169
|
options: SignalOptions = {}
|
|
140
|
-
): Promise<
|
|
170
|
+
): Promise<AutomationsVersionsRestoreResponse> {
|
|
141
171
|
return this.dispatch(() =>
|
|
142
172
|
automationsVersionsRestore({
|
|
143
173
|
client: this.client,
|
|
@@ -152,7 +182,7 @@ export class AutomationsResource {
|
|
|
152
182
|
id: string,
|
|
153
183
|
versionId: string,
|
|
154
184
|
options: SignalOptions = {}
|
|
155
|
-
): Promise<
|
|
185
|
+
): Promise<AutomationsVersionsPromoteResponse> {
|
|
156
186
|
return this.dispatch(() =>
|
|
157
187
|
automationsVersionsPromote({
|
|
158
188
|
client: this.client,
|
|
@@ -162,13 +192,13 @@ export class AutomationsResource {
|
|
|
162
192
|
);
|
|
163
193
|
}
|
|
164
194
|
|
|
165
|
-
async triggers(id: string, options: SignalOptions = {}): Promise<
|
|
195
|
+
async triggers(id: string, options: SignalOptions = {}): Promise<AutomationsTriggersGetResponse> {
|
|
166
196
|
return this.dispatch(() =>
|
|
167
197
|
automationsTriggersGet({ client: this.client, path: { id }, signal: options.signal })
|
|
168
198
|
);
|
|
169
199
|
}
|
|
170
200
|
|
|
171
|
-
async sync(id: string, options: SignalOptions = {}): Promise<
|
|
201
|
+
async sync(id: string, options: SignalOptions = {}): Promise<AutomationsSyncResponse> {
|
|
172
202
|
return this.dispatch(() =>
|
|
173
203
|
automationsSync({ client: this.client, path: { id }, signal: options.signal })
|
|
174
204
|
);
|
|
@@ -187,7 +217,7 @@ export class AutomationReviewsResource {
|
|
|
187
217
|
async health(
|
|
188
218
|
automationId: string,
|
|
189
219
|
options: AutomationReviewHealthOptions = {}
|
|
190
|
-
): Promise<
|
|
220
|
+
): Promise<AutomationsReviewsHealthResponse> {
|
|
191
221
|
const { signal, ...query } = options;
|
|
192
222
|
return this.dispatch(() =>
|
|
193
223
|
automationsReviewsHealth({
|
|
@@ -226,7 +256,7 @@ export class AutomationDatasetResource {
|
|
|
226
256
|
automationId: string,
|
|
227
257
|
file: Blob | File,
|
|
228
258
|
options: { mode?: 'append' | 'replace'; signal?: AbortSignal } = {}
|
|
229
|
-
): Promise<
|
|
259
|
+
): Promise<AutomationsDatasetImportResponse> {
|
|
230
260
|
const formData = new FormData();
|
|
231
261
|
formData.set('file', file);
|
|
232
262
|
formData.set('mode', options.mode ?? 'append');
|
|
@@ -257,7 +287,7 @@ export class AutomationExamplesResource {
|
|
|
257
287
|
include?: 'full' | 'metadata';
|
|
258
288
|
signal?: AbortSignal;
|
|
259
289
|
} = {}
|
|
260
|
-
): Promise<
|
|
290
|
+
): Promise<AutomationsExamplesListResponse> {
|
|
261
291
|
const { signal, ...query } = options;
|
|
262
292
|
return this.dispatch(() =>
|
|
263
293
|
automationsExamplesList({ client: this.client, path: { id: automationId }, query, signal })
|
|
@@ -268,7 +298,7 @@ export class AutomationExamplesResource {
|
|
|
268
298
|
automationId: string,
|
|
269
299
|
body: Record<string, unknown>,
|
|
270
300
|
options: SignalOptions = {}
|
|
271
|
-
): Promise<
|
|
301
|
+
): Promise<AutomationsExamplesCreateResponse> {
|
|
272
302
|
return this.dispatch(() =>
|
|
273
303
|
automationsExamplesCreate({
|
|
274
304
|
client: this.client,
|
|
@@ -283,7 +313,7 @@ export class AutomationExamplesResource {
|
|
|
283
313
|
automationId: string,
|
|
284
314
|
exampleId: string,
|
|
285
315
|
options: SignalOptions = {}
|
|
286
|
-
): Promise<
|
|
316
|
+
): Promise<AutomationsExamplesGetResponse> {
|
|
287
317
|
return this.dispatch(() =>
|
|
288
318
|
automationsExamplesGet({
|
|
289
319
|
client: this.client,
|
|
@@ -298,7 +328,7 @@ export class AutomationExamplesResource {
|
|
|
298
328
|
exampleId: string,
|
|
299
329
|
body: Record<string, unknown>,
|
|
300
330
|
options: SignalOptions = {}
|
|
301
|
-
): Promise<
|
|
331
|
+
): Promise<AutomationsExamplesUpdateResponse> {
|
|
302
332
|
return this.dispatch(() =>
|
|
303
333
|
automationsExamplesUpdate({
|
|
304
334
|
client: this.client,
|
|
@@ -313,7 +343,7 @@ export class AutomationExamplesResource {
|
|
|
313
343
|
automationId: string,
|
|
314
344
|
exampleId: string,
|
|
315
345
|
options: SignalOptions = {}
|
|
316
|
-
): Promise<
|
|
346
|
+
): Promise<AutomationsExamplesDeleteResponse> {
|
|
317
347
|
return this.dispatch(() =>
|
|
318
348
|
automationsExamplesDelete({
|
|
319
349
|
client: this.client,
|
|
@@ -327,7 +357,7 @@ export class AutomationExamplesResource {
|
|
|
327
357
|
automationId: string,
|
|
328
358
|
exampleId: string,
|
|
329
359
|
options: SignalOptions = {}
|
|
330
|
-
): Promise<
|
|
360
|
+
): Promise<AutomationsExamplesRunResponse> {
|
|
331
361
|
return this.dispatch(() =>
|
|
332
362
|
automationsExamplesRun({
|
|
333
363
|
client: this.client,
|
|
@@ -344,7 +374,10 @@ export class AutomationEvaluatorsResource {
|
|
|
344
374
|
private readonly dispatch: Dispatch
|
|
345
375
|
) {}
|
|
346
376
|
|
|
347
|
-
async get(
|
|
377
|
+
async get(
|
|
378
|
+
automationId: string,
|
|
379
|
+
options: SignalOptions = {}
|
|
380
|
+
): Promise<AutomationsEvaluatorsGetResponse> {
|
|
348
381
|
return this.dispatch(() =>
|
|
349
382
|
automationsEvaluatorsGet({
|
|
350
383
|
client: this.client,
|
|
@@ -358,7 +391,7 @@ export class AutomationEvaluatorsResource {
|
|
|
358
391
|
automationId: string,
|
|
359
392
|
yaml: string,
|
|
360
393
|
options: SignalOptions = {}
|
|
361
|
-
): Promise<
|
|
394
|
+
): Promise<AutomationsEvaluatorsUpdateResponse> {
|
|
362
395
|
return this.dispatch(() =>
|
|
363
396
|
automationsEvaluatorsUpdate({
|
|
364
397
|
client: this.client,
|
|
@@ -379,7 +412,7 @@ export class AutomationExperimentsResource {
|
|
|
379
412
|
async list(
|
|
380
413
|
automationId: string,
|
|
381
414
|
options: { limit?: number; offset?: number; signal?: AbortSignal } = {}
|
|
382
|
-
): Promise<
|
|
415
|
+
): Promise<AutomationsExperimentsListResponse> {
|
|
383
416
|
const { signal, ...query } = options;
|
|
384
417
|
return this.dispatch(() =>
|
|
385
418
|
automationsExperimentsList({ client: this.client, path: { id: automationId }, query, signal })
|
|
@@ -390,7 +423,7 @@ export class AutomationExperimentsResource {
|
|
|
390
423
|
automationId: string,
|
|
391
424
|
body: Record<string, unknown> = {},
|
|
392
425
|
options: SignalOptions = {}
|
|
393
|
-
): Promise<
|
|
426
|
+
): Promise<AutomationsExperimentsCreateResponse> {
|
|
394
427
|
return this.dispatch(() =>
|
|
395
428
|
automationsExperimentsCreate({
|
|
396
429
|
client: this.client,
|
|
@@ -405,7 +438,7 @@ export class AutomationExperimentsResource {
|
|
|
405
438
|
automationId: string,
|
|
406
439
|
experimentId: string,
|
|
407
440
|
options: SignalOptions = {}
|
|
408
|
-
): Promise<
|
|
441
|
+
): Promise<AutomationsExperimentsGetResponse> {
|
|
409
442
|
return this.dispatch(() =>
|
|
410
443
|
automationsExperimentsGet({
|
|
411
444
|
client: this.client,
|
|
@@ -419,7 +452,7 @@ export class AutomationExperimentsResource {
|
|
|
419
452
|
automationId: string,
|
|
420
453
|
experimentId: string,
|
|
421
454
|
options: SignalOptions = {}
|
|
422
|
-
): Promise<
|
|
455
|
+
): Promise<AutomationsExperimentsCancelResponse> {
|
|
423
456
|
return this.dispatch(() =>
|
|
424
457
|
automationsExperimentsCancel({
|
|
425
458
|
client: this.client,
|
|
@@ -601,7 +634,7 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
601
634
|
async list(
|
|
602
635
|
automationId: string,
|
|
603
636
|
options: ListDatasetReviewRequestsOptions = {}
|
|
604
|
-
): Promise<
|
|
637
|
+
): Promise<AutomationsDatasetReviewRequestsListResponse> {
|
|
605
638
|
const { signal, status, limit, offset } = options;
|
|
606
639
|
const query = {
|
|
607
640
|
status: joinCsv(status),
|
|
@@ -614,7 +647,7 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
614
647
|
url: datasetReviewRequestsBaseUrl(automationId),
|
|
615
648
|
query,
|
|
616
649
|
signal,
|
|
617
|
-
}) as Promise<OperationResult<
|
|
650
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsListResponse>>
|
|
618
651
|
);
|
|
619
652
|
}
|
|
620
653
|
|
|
@@ -622,14 +655,14 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
622
655
|
automationId: string,
|
|
623
656
|
body: CreateDatasetReviewRequestBody,
|
|
624
657
|
options: SignalOptions = {}
|
|
625
|
-
): Promise<
|
|
658
|
+
): Promise<AutomationsDatasetReviewRequestsCreateResponse> {
|
|
626
659
|
return this.dispatch(
|
|
627
660
|
() =>
|
|
628
661
|
this.client.post({
|
|
629
662
|
url: datasetReviewRequestsBaseUrl(automationId),
|
|
630
663
|
body: body as never,
|
|
631
664
|
signal: options.signal,
|
|
632
|
-
}) as Promise<OperationResult<
|
|
665
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsCreateResponse>>
|
|
633
666
|
);
|
|
634
667
|
}
|
|
635
668
|
|
|
@@ -637,13 +670,13 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
637
670
|
automationId: string,
|
|
638
671
|
reviewId: string,
|
|
639
672
|
options: SignalOptions = {}
|
|
640
|
-
): Promise<
|
|
673
|
+
): Promise<AutomationsDatasetReviewRequestsGetResponse> {
|
|
641
674
|
return this.dispatch(
|
|
642
675
|
() =>
|
|
643
676
|
this.client.get({
|
|
644
677
|
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}`,
|
|
645
678
|
signal: options.signal,
|
|
646
|
-
}) as Promise<OperationResult<
|
|
679
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsGetResponse>>
|
|
647
680
|
);
|
|
648
681
|
}
|
|
649
682
|
|
|
@@ -652,14 +685,14 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
652
685
|
reviewId: string,
|
|
653
686
|
body: UpdateDatasetReviewRequestBody,
|
|
654
687
|
options: SignalOptions = {}
|
|
655
|
-
): Promise<
|
|
688
|
+
): Promise<AutomationsDatasetReviewRequestsUpdateResponse> {
|
|
656
689
|
return this.dispatch(
|
|
657
690
|
() =>
|
|
658
691
|
this.client.patch({
|
|
659
692
|
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}`,
|
|
660
693
|
body: body as never,
|
|
661
694
|
signal: options.signal,
|
|
662
|
-
}) as Promise<OperationResult<
|
|
695
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsUpdateResponse>>
|
|
663
696
|
);
|
|
664
697
|
}
|
|
665
698
|
|
|
@@ -667,7 +700,7 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
667
700
|
automationId: string,
|
|
668
701
|
reviewId: string,
|
|
669
702
|
options: SignalOptions & { status?: string | readonly DatasetReviewItemStatus[] } = {}
|
|
670
|
-
): Promise<
|
|
703
|
+
): Promise<AutomationsDatasetReviewRequestsListItemsResponse> {
|
|
671
704
|
const { signal, status } = options;
|
|
672
705
|
return this.dispatch(
|
|
673
706
|
() =>
|
|
@@ -675,7 +708,7 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
675
708
|
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/items`,
|
|
676
709
|
query: { status: joinCsv(status) },
|
|
677
710
|
signal,
|
|
678
|
-
}) as Promise<OperationResult<
|
|
711
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsListItemsResponse>>
|
|
679
712
|
);
|
|
680
713
|
}
|
|
681
714
|
|
|
@@ -685,14 +718,14 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
685
718
|
itemId: string,
|
|
686
719
|
body: UpdateDatasetReviewItemBody,
|
|
687
720
|
options: SignalOptions = {}
|
|
688
|
-
): Promise<
|
|
721
|
+
): Promise<AutomationsDatasetReviewRequestsUpdateItemResponse> {
|
|
689
722
|
return this.dispatch(
|
|
690
723
|
() =>
|
|
691
724
|
this.client.patch({
|
|
692
725
|
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/items/${itemId}`,
|
|
693
726
|
body: body as never,
|
|
694
727
|
signal: options.signal,
|
|
695
|
-
}) as Promise<OperationResult<
|
|
728
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsUpdateItemResponse>>
|
|
696
729
|
);
|
|
697
730
|
}
|
|
698
731
|
|
|
@@ -735,14 +768,14 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
735
768
|
itemId: string,
|
|
736
769
|
body: RecordDatasetReviewItemFileDecisionBody,
|
|
737
770
|
options: SignalOptions = {}
|
|
738
|
-
): Promise<
|
|
771
|
+
): Promise<AutomationsDatasetReviewRequestsUpdateItemResponse> {
|
|
739
772
|
return this.dispatch(
|
|
740
773
|
() =>
|
|
741
774
|
this.client.patch({
|
|
742
775
|
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/items/${itemId}`,
|
|
743
776
|
body: { action: 'file-decision', ...body } as never,
|
|
744
777
|
signal: options.signal,
|
|
745
|
-
}) as Promise<OperationResult<
|
|
778
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsUpdateItemResponse>>
|
|
746
779
|
);
|
|
747
780
|
}
|
|
748
781
|
|
|
@@ -758,7 +791,7 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
758
791
|
itemId: string,
|
|
759
792
|
file: Blob | File,
|
|
760
793
|
options: EditDatasetReviewItemFileOptions
|
|
761
|
-
): Promise<
|
|
794
|
+
): Promise<AutomationsDatasetReviewRequestsUpdateItemResponse> {
|
|
762
795
|
const target = options.filePath ?? options.newPath ?? 'file';
|
|
763
796
|
const fallbackName = target.split('/').pop() || 'file';
|
|
764
797
|
const filename = file instanceof File && file.name ? file.name : fallbackName;
|
|
@@ -777,7 +810,7 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
777
810
|
bodySerializer: null,
|
|
778
811
|
headers: { 'Content-Type': null },
|
|
779
812
|
signal: options.signal,
|
|
780
|
-
}) as Promise<OperationResult<
|
|
813
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsUpdateItemResponse>>
|
|
781
814
|
);
|
|
782
815
|
}
|
|
783
816
|
|
|
@@ -785,13 +818,13 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
785
818
|
automationId: string,
|
|
786
819
|
reviewId: string,
|
|
787
820
|
options: SignalOptions = {}
|
|
788
|
-
): Promise<
|
|
821
|
+
): Promise<AutomationsDatasetReviewRequestsListEventsResponse> {
|
|
789
822
|
return this.dispatch(
|
|
790
823
|
() =>
|
|
791
824
|
this.client.get({
|
|
792
825
|
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/events`,
|
|
793
826
|
signal: options.signal,
|
|
794
|
-
}) as Promise<OperationResult<
|
|
827
|
+
}) as Promise<OperationResult<AutomationsDatasetReviewRequestsListEventsResponse>>
|
|
795
828
|
);
|
|
796
829
|
}
|
|
797
830
|
}
|
package/src/resources/files.ts
CHANGED
|
@@ -11,6 +11,16 @@ import {
|
|
|
11
11
|
filesUploadsPartsList,
|
|
12
12
|
filesUploadsPartsPresign,
|
|
13
13
|
} from '../generated/sdk.gen';
|
|
14
|
+
import type {
|
|
15
|
+
FilesDeleteResponse,
|
|
16
|
+
FilesGetResponse,
|
|
17
|
+
FilesUploadsAbortResponse,
|
|
18
|
+
FilesUploadsCompleteResponse,
|
|
19
|
+
FilesUploadsCreateResponse,
|
|
20
|
+
FilesUploadsGetResponse,
|
|
21
|
+
FilesUploadsPartsListResponse,
|
|
22
|
+
FilesUploadsPartsPresignResponse,
|
|
23
|
+
} from '../generated/types.gen';
|
|
14
24
|
import {
|
|
15
25
|
byteViewToArrayBuffer,
|
|
16
26
|
destroyUnreadNodeReadable,
|
|
@@ -43,7 +53,6 @@ type Dispatch = <T>(
|
|
|
43
53
|
call: () => Promise<OperationResult<T>>,
|
|
44
54
|
options?: RequestDispatchOptions
|
|
45
55
|
) => Promise<T>;
|
|
46
|
-
type AnyResponse = any;
|
|
47
56
|
type SignalOptions = { signal?: AbortSignal };
|
|
48
57
|
type UploadOptions = SignalOptions & {
|
|
49
58
|
/** Required only when `file` is a nameless Blob. */
|
|
@@ -92,7 +101,10 @@ export class FilesResource {
|
|
|
92
101
|
private readonly dispatch: Dispatch
|
|
93
102
|
) {}
|
|
94
103
|
|
|
95
|
-
async upload(
|
|
104
|
+
async upload(
|
|
105
|
+
file: UploadableFile,
|
|
106
|
+
options: UploadOptions = {}
|
|
107
|
+
): Promise<FilesUploadsCompleteResponse> {
|
|
96
108
|
const source = await resolveUploadableSource(file, options.filename);
|
|
97
109
|
const idempotencyKey = options.idempotencyKey ?? newIdempotencyKey();
|
|
98
110
|
const negotiation = await this.createUpload(
|
|
@@ -166,7 +178,7 @@ export class FilesResource {
|
|
|
166
178
|
url: negotiation.completeUrl,
|
|
167
179
|
body: {} as never,
|
|
168
180
|
signal: options.signal,
|
|
169
|
-
}) as Promise<OperationResult<
|
|
181
|
+
}) as Promise<OperationResult<FilesUploadsCompleteResponse>>
|
|
170
182
|
);
|
|
171
183
|
} catch (error) {
|
|
172
184
|
if (shouldAbortMultipartUploadSession({ partsReady })) {
|
|
@@ -223,13 +235,16 @@ export class FilesResource {
|
|
|
223
235
|
bodySerializer: null,
|
|
224
236
|
headers: { 'Content-Type': null },
|
|
225
237
|
signal: options.signal,
|
|
226
|
-
}) as Promise<OperationResult<
|
|
238
|
+
}) as Promise<OperationResult<FilesUploadsCompleteResponse>>
|
|
227
239
|
);
|
|
228
240
|
options.onProgress?.(source.size, source.size);
|
|
229
241
|
return uploaded;
|
|
230
242
|
}
|
|
231
243
|
|
|
232
|
-
async createUpload(
|
|
244
|
+
async createUpload(
|
|
245
|
+
input: CreateUploadInput,
|
|
246
|
+
options: SignalOptions = {}
|
|
247
|
+
): Promise<FilesUploadsCreateResponse> {
|
|
233
248
|
const body = {
|
|
234
249
|
filename: input.filename,
|
|
235
250
|
contentType: input.contentType,
|
|
@@ -247,7 +262,10 @@ export class FilesResource {
|
|
|
247
262
|
);
|
|
248
263
|
}
|
|
249
264
|
|
|
250
|
-
async completeUpload(
|
|
265
|
+
async completeUpload(
|
|
266
|
+
uploadId: string,
|
|
267
|
+
options: SignalOptions = {}
|
|
268
|
+
): Promise<FilesUploadsCompleteResponse> {
|
|
251
269
|
return this.dispatch(() =>
|
|
252
270
|
filesUploadsComplete({
|
|
253
271
|
client: this.client,
|
|
@@ -257,7 +275,10 @@ export class FilesResource {
|
|
|
257
275
|
);
|
|
258
276
|
}
|
|
259
277
|
|
|
260
|
-
async abortUpload(
|
|
278
|
+
async abortUpload(
|
|
279
|
+
uploadId: string,
|
|
280
|
+
options: SignalOptions = {}
|
|
281
|
+
): Promise<FilesUploadsAbortResponse> {
|
|
261
282
|
return this.dispatch(() =>
|
|
262
283
|
filesUploadsAbort({
|
|
263
284
|
client: this.client,
|
|
@@ -267,7 +288,7 @@ export class FilesResource {
|
|
|
267
288
|
);
|
|
268
289
|
}
|
|
269
290
|
|
|
270
|
-
async getUpload(uploadId: string, options: SignalOptions = {}): Promise<
|
|
291
|
+
async getUpload(uploadId: string, options: SignalOptions = {}): Promise<FilesUploadsGetResponse> {
|
|
271
292
|
return this.dispatch(() =>
|
|
272
293
|
filesUploadsGet({
|
|
273
294
|
client: this.client,
|
|
@@ -277,7 +298,10 @@ export class FilesResource {
|
|
|
277
298
|
);
|
|
278
299
|
}
|
|
279
300
|
|
|
280
|
-
async listUploadParts(
|
|
301
|
+
async listUploadParts(
|
|
302
|
+
uploadId: string,
|
|
303
|
+
options: SignalOptions = {}
|
|
304
|
+
): Promise<FilesUploadsPartsListResponse> {
|
|
281
305
|
return this.dispatch(() =>
|
|
282
306
|
filesUploadsPartsList({
|
|
283
307
|
client: this.client,
|
|
@@ -291,7 +315,7 @@ export class FilesResource {
|
|
|
291
315
|
uploadId: string,
|
|
292
316
|
partNumber: number,
|
|
293
317
|
options: SignalOptions = {}
|
|
294
|
-
): Promise<
|
|
318
|
+
): Promise<FilesUploadsPartsPresignResponse> {
|
|
295
319
|
return this.dispatch(() =>
|
|
296
320
|
filesUploadsPartsPresign({
|
|
297
321
|
client: this.client,
|
|
@@ -302,7 +326,7 @@ export class FilesResource {
|
|
|
302
326
|
);
|
|
303
327
|
}
|
|
304
328
|
|
|
305
|
-
async get(fileId: string, options: SignalOptions = {}): Promise<
|
|
329
|
+
async get(fileId: string, options: SignalOptions = {}): Promise<FilesGetResponse> {
|
|
306
330
|
return this.dispatch(() =>
|
|
307
331
|
filesGet({ client: this.client, path: { id: fileId }, signal: options.signal })
|
|
308
332
|
);
|
|
@@ -323,7 +347,7 @@ export class FilesResource {
|
|
|
323
347
|
);
|
|
324
348
|
}
|
|
325
349
|
|
|
326
|
-
async delete(fileId: string, options: SignalOptions = {}): Promise<
|
|
350
|
+
async delete(fileId: string, options: SignalOptions = {}): Promise<FilesDeleteResponse> {
|
|
327
351
|
return this.dispatch(() =>
|
|
328
352
|
filesDelete({ client: this.client, path: { id: fileId }, signal: options.signal })
|
|
329
353
|
);
|
package/src/resources/models.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OperationResult } from '../client';
|
|
2
2
|
import type { Client } from '../generated/client';
|
|
3
|
-
import { modelsList } from '../generated/sdk.gen';
|
|
4
|
-
import type { ListModelsResponse } from '../generated/types.gen';
|
|
3
|
+
import { modelsList, modelsParserReadiness } from '../generated/sdk.gen';
|
|
4
|
+
import type { ListModelsResponse, ParsingReadiness } from '../generated/types.gen';
|
|
5
5
|
|
|
6
6
|
type Dispatch = <T>(call: () => Promise<OperationResult<T>>) => Promise<T>;
|
|
7
7
|
type SignalOptions = { signal?: AbortSignal };
|
|
@@ -12,6 +12,13 @@ export class ModelsResource {
|
|
|
12
12
|
private readonly dispatch: Dispatch
|
|
13
13
|
) {}
|
|
14
14
|
|
|
15
|
+
/** Catalog readiness for automatic parsing; run a document probe to verify live health. */
|
|
16
|
+
async parserReadiness(options: SignalOptions = {}): Promise<ParsingReadiness> {
|
|
17
|
+
return this.dispatch(() =>
|
|
18
|
+
modelsParserReadiness({ client: this.client, signal: options.signal })
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
15
22
|
/**
|
|
16
23
|
* List text, vision, and OCR models configured for this tenant environment.
|
|
17
24
|
* Catalog inventory only — not a live provider health probe.
|
package/src/telemetry.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
export const SDK_LANGUAGE = 'typescript';
|
|
20
20
|
// Rewritten at publish time by scripts/release/platform/render-sdk-versions.sh.
|
|
21
21
|
// Keep this string literal exactly stable — sed matches on it.
|
|
22
|
-
export const SDK_VERSION = '0.20.
|
|
22
|
+
export const SDK_VERSION = '0.20.28';
|
|
23
23
|
|
|
24
24
|
function detectRuntime(): string {
|
|
25
25
|
const g = globalThis as unknown as {
|