@eigenpal/sdk 0.20.44 → 0.20.45
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 +6 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/generated/index.ts +2 -2
- package/src/generated/sdk.gen.ts +20 -4
- package/src/generated/types.gen.ts +87 -4
- package/src/lib/upload-app-chunked.ts +121 -0
- package/src/resources/files.ts +61 -0
- package/src/telemetry.ts +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ if (result.finished) {
|
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
`target`
|
|
37
|
+
`target` accepts a bare workflow ID such as `wf_abc`, or a typed target such as `workflows.<id-or-slug>` or `agents.<slug>`. Slugs need the prefix because workflow and agent slugs can overlap.
|
|
38
38
|
|
|
39
39
|
## Automations
|
|
40
40
|
|
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, 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';
|
|
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, filesUploadsChunksPut, 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, AcceptHttpChunkedUploadChunkResponse, 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, FilesUploadsChunksPutData, FilesUploadsChunksPutError, FilesUploadsChunksPutErrors, FilesUploadsChunksPutResponse, FilesUploadsChunksPutResponses, 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, HttpChunkedFileUploadSession, 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, 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';
|
|
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, FilesUploadsChunksPutData, FilesUploadsChunksPutErrors, FilesUploadsChunksPutResponses, 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
|
/**
|
|
@@ -754,7 +754,7 @@ export const filesContentGet = <ThrowOnError extends boolean = false>(options: O
|
|
|
754
754
|
/**
|
|
755
755
|
* Prepare file upload
|
|
756
756
|
*
|
|
757
|
-
* Negotiate HTTP multipart for small bodies, a short-lived signed PUT under the single-object ceiling,
|
|
757
|
+
* Negotiate HTTP multipart for small bodies, a short-lived signed PUT under the single-object ceiling, storage-direct multipart (presigned-multipart) for larger files when storage supports MPU, or app-server http-chunked PUTs when direct uploads are disabled. The response transport is authoritative; clients must not guess from file size alone.
|
|
758
758
|
*/
|
|
759
759
|
export const filesUploadsCreate = <ThrowOnError extends boolean = false>(options: Options<FilesUploadsCreateData, ThrowOnError>) => (options.client ?? client).post<FilesUploadsCreateResponses, FilesUploadsCreateErrors, ThrowOnError>({
|
|
760
760
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
@@ -769,7 +769,7 @@ export const filesUploadsCreate = <ThrowOnError extends boolean = false>(options
|
|
|
769
769
|
/**
|
|
770
770
|
* Abort file upload
|
|
771
771
|
*
|
|
772
|
-
* Abort a pending storage-direct upload. Multipart sessions call AbortMultipartUpload; pending PUT objects are deleted. Completed canonical files are never deleted.
|
|
772
|
+
* Abort a pending storage-direct or http-chunked upload. Multipart sessions call AbortMultipartUpload; pending PUT objects and staged chunks are deleted. Completed canonical files are never deleted.
|
|
773
773
|
*/
|
|
774
774
|
export const filesUploadsAbort = <ThrowOnError extends boolean = false>(options: Options<FilesUploadsAbortData, ThrowOnError>) => (options.client ?? client).delete<FilesUploadsAbortResponses, FilesUploadsAbortErrors, ThrowOnError>({
|
|
775
775
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
@@ -788,10 +788,26 @@ export const filesUploadsGet = <ThrowOnError extends boolean = false>(options: O
|
|
|
788
788
|
...options
|
|
789
789
|
});
|
|
790
790
|
|
|
791
|
+
/**
|
|
792
|
+
* Upload one file chunk
|
|
793
|
+
*
|
|
794
|
+
* Accept one raw body for an http-chunked session. Each chunk must match the negotiated size; chunks are accepted in order. Idempotent overwrite of the current index is allowed.
|
|
795
|
+
*/
|
|
796
|
+
export const filesUploadsChunksPut = <ThrowOnError extends boolean = false>(options: Options<FilesUploadsChunksPutData, ThrowOnError>) => (options.client ?? client).put<FilesUploadsChunksPutResponses, FilesUploadsChunksPutErrors, ThrowOnError>({
|
|
797
|
+
bodySerializer: null,
|
|
798
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
799
|
+
url: '/v1/files/uploads/{uploadId}/chunks/{chunkIndex}',
|
|
800
|
+
...options,
|
|
801
|
+
headers: {
|
|
802
|
+
'Content-Type': 'application/octet-stream',
|
|
803
|
+
...options.headers
|
|
804
|
+
}
|
|
805
|
+
});
|
|
806
|
+
|
|
791
807
|
/**
|
|
792
808
|
* Complete file upload
|
|
793
809
|
*
|
|
794
|
-
* Verify a storage-direct pending object
|
|
810
|
+
* Verify a storage-direct pending object or assemble an http-chunked session into a reusable file. Safe to retry.
|
|
795
811
|
*/
|
|
796
812
|
export const filesUploadsComplete = <ThrowOnError extends boolean = false>(options: Options<FilesUploadsCompleteData, ThrowOnError>) => (options.client ?? client).post<FilesUploadsCompleteResponses, FilesUploadsCompleteErrors, ThrowOnError>({
|
|
797
813
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
@@ -1499,6 +1499,18 @@ export type PresignedMultipartFileUploadSession = {
|
|
|
1499
1499
|
maxFileSizeBytes: number;
|
|
1500
1500
|
};
|
|
1501
1501
|
|
|
1502
|
+
export type HttpChunkedFileUploadSession = {
|
|
1503
|
+
transport: 'http-chunked';
|
|
1504
|
+
uploadId: string;
|
|
1505
|
+
fileId: string;
|
|
1506
|
+
chunkSizeBytes: number;
|
|
1507
|
+
chunkCount: number;
|
|
1508
|
+
chunksUrl: string;
|
|
1509
|
+
completeUrl: string;
|
|
1510
|
+
expiresAt: string;
|
|
1511
|
+
maxFileSizeBytes: number;
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1502
1514
|
export type MultipartFileUploadFallback = {
|
|
1503
1515
|
transport: 'multipart';
|
|
1504
1516
|
url: string;
|
|
@@ -1508,11 +1520,13 @@ export type MultipartFileUploadFallback = {
|
|
|
1508
1520
|
export type FileUploadSession = {
|
|
1509
1521
|
uploadId: string;
|
|
1510
1522
|
fileId: string;
|
|
1511
|
-
transport: 'presigned-put' | 'presigned-multipart';
|
|
1523
|
+
transport: 'presigned-put' | 'presigned-multipart' | 'http-chunked';
|
|
1512
1524
|
status: string;
|
|
1513
1525
|
expiresAt: string;
|
|
1514
1526
|
partSizeBytes?: number | null;
|
|
1515
1527
|
partCount?: number | null;
|
|
1528
|
+
chunkSizeBytes?: number | null;
|
|
1529
|
+
chunkCount?: number | null;
|
|
1516
1530
|
parts?: Array<{
|
|
1517
1531
|
partNumber: number;
|
|
1518
1532
|
size?: number;
|
|
@@ -1524,6 +1538,12 @@ export type AbortFileUploadResponse = {
|
|
|
1524
1538
|
aborted: true;
|
|
1525
1539
|
};
|
|
1526
1540
|
|
|
1541
|
+
export type AcceptHttpChunkedUploadChunkResponse = {
|
|
1542
|
+
accepted: true;
|
|
1543
|
+
chunkIndex: number;
|
|
1544
|
+
size: number;
|
|
1545
|
+
};
|
|
1546
|
+
|
|
1527
1547
|
export type ListFileUploadPartsResponse = {
|
|
1528
1548
|
transport: 'presigned-multipart';
|
|
1529
1549
|
uploadId: string;
|
|
@@ -1649,7 +1669,7 @@ export type HumanReviewTaskDetail = {
|
|
|
1649
1669
|
fieldMetadata: {
|
|
1650
1670
|
[key: string]: {
|
|
1651
1671
|
/**
|
|
1652
|
-
*
|
|
1672
|
+
* Routing confidence: categorical low|medium|high from ai.extract grounding, or legacy 0–1 numeric when authored. Numeric grounding scores from extract land in display.score instead. Not calibrated by Eigenpal.
|
|
1653
1673
|
*/
|
|
1654
1674
|
confidence?: number | 'low' | 'medium' | 'high' | string;
|
|
1655
1675
|
/**
|
|
@@ -1665,7 +1685,7 @@ export type HumanReviewTaskDetail = {
|
|
|
1665
1685
|
*/
|
|
1666
1686
|
review?: 'auto' | 'always' | 'never';
|
|
1667
1687
|
/**
|
|
1668
|
-
* Opaque display metadata preserved for the review UI
|
|
1688
|
+
* Opaque display metadata preserved for the review UI. When metadataFrom is ai.extract, numeric grounding scores are copied here as display.score; routing confidence stays on confidence as categorical low|medium|high.
|
|
1669
1689
|
*/
|
|
1670
1690
|
display?: {
|
|
1671
1691
|
[key: string]: unknown;
|
|
@@ -6248,7 +6268,7 @@ export type FilesUploadsCreateResponses = {
|
|
|
6248
6268
|
/**
|
|
6249
6269
|
* Negotiated upload transport
|
|
6250
6270
|
*/
|
|
6251
|
-
200: PresignedFileUploadSession | PresignedMultipartFileUploadSession | MultipartFileUploadFallback;
|
|
6271
|
+
200: PresignedFileUploadSession | PresignedMultipartFileUploadSession | HttpChunkedFileUploadSession | MultipartFileUploadFallback;
|
|
6252
6272
|
};
|
|
6253
6273
|
|
|
6254
6274
|
export type FilesUploadsCreateResponse = FilesUploadsCreateResponses[keyof FilesUploadsCreateResponses];
|
|
@@ -6363,6 +6383,69 @@ export type FilesUploadsGetResponses = {
|
|
|
6363
6383
|
|
|
6364
6384
|
export type FilesUploadsGetResponse = FilesUploadsGetResponses[keyof FilesUploadsGetResponses];
|
|
6365
6385
|
|
|
6386
|
+
export type FilesUploadsChunksPutData = {
|
|
6387
|
+
/**
|
|
6388
|
+
* Raw chunk bytes
|
|
6389
|
+
*/
|
|
6390
|
+
body: Blob | File;
|
|
6391
|
+
path: {
|
|
6392
|
+
uploadId: string;
|
|
6393
|
+
chunkIndex: string;
|
|
6394
|
+
};
|
|
6395
|
+
query?: never;
|
|
6396
|
+
url: '/v1/files/uploads/{uploadId}/chunks/{chunkIndex}';
|
|
6397
|
+
};
|
|
6398
|
+
|
|
6399
|
+
export type FilesUploadsChunksPutErrors = {
|
|
6400
|
+
/**
|
|
6401
|
+
* Validation error. Request shape did not match the spec.
|
|
6402
|
+
*/
|
|
6403
|
+
400: ApiErrorEnvelope;
|
|
6404
|
+
/**
|
|
6405
|
+
* Missing or invalid API key
|
|
6406
|
+
*/
|
|
6407
|
+
401: ApiErrorEnvelope;
|
|
6408
|
+
/**
|
|
6409
|
+
* API key lacks required scope
|
|
6410
|
+
*/
|
|
6411
|
+
403: ApiErrorEnvelope;
|
|
6412
|
+
/**
|
|
6413
|
+
* Resource not found
|
|
6414
|
+
*/
|
|
6415
|
+
404: ApiErrorEnvelope;
|
|
6416
|
+
/**
|
|
6417
|
+
* The organization is being deleted. Its stored files are being removed, so new work that would write to its storage is refused.
|
|
6418
|
+
*/
|
|
6419
|
+
409: ApiErrorEnvelope;
|
|
6420
|
+
/**
|
|
6421
|
+
* Payload too large. Upload exceeded the per-request size cap.
|
|
6422
|
+
*/
|
|
6423
|
+
413: ApiErrorEnvelope;
|
|
6424
|
+
/**
|
|
6425
|
+
* Rate limit exceeded
|
|
6426
|
+
*/
|
|
6427
|
+
429: ApiErrorEnvelope;
|
|
6428
|
+
/**
|
|
6429
|
+
* Internal server error
|
|
6430
|
+
*/
|
|
6431
|
+
500: ApiErrorEnvelope;
|
|
6432
|
+
/**
|
|
6433
|
+
* Rate-limit accounting is temporarily unavailable. The request was not processed; retry.
|
|
6434
|
+
*/
|
|
6435
|
+
503: ApiErrorEnvelope;
|
|
6436
|
+
};
|
|
6437
|
+
|
|
6438
|
+
export type FilesUploadsChunksPutError = FilesUploadsChunksPutErrors[keyof FilesUploadsChunksPutErrors];
|
|
6439
|
+
|
|
6440
|
+
export type FilesUploadsChunksPutResponses = {
|
|
6441
|
+
/**
|
|
6442
|
+
* Chunk accepted
|
|
6443
|
+
*/
|
|
6444
|
+
200: AcceptHttpChunkedUploadChunkResponse;
|
|
6445
|
+
};
|
|
6446
|
+
|
|
6447
|
+
export type FilesUploadsChunksPutResponse = FilesUploadsChunksPutResponses[keyof FilesUploadsChunksPutResponses];
|
|
6448
|
+
|
|
6366
6449
|
export type FilesUploadsCompleteData = {
|
|
6367
6450
|
body?: never;
|
|
6368
6451
|
path: {
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client protocol for `http-chunked` file uploads.
|
|
3
|
+
*
|
|
4
|
+
* Sequential PUTs of byte ranges, then POST complete. Resume listing is not
|
|
5
|
+
* implemented — a retry re-sends from chunk 0. The server accepts idempotent
|
|
6
|
+
* overwrite of an already-staged index.
|
|
7
|
+
*/
|
|
8
|
+
import { isAbortError, isTransientHttpStatus, sleep } from './upload-presigned-multipart';
|
|
9
|
+
|
|
10
|
+
export const HTTP_CHUNKED_MAX_RETRIES = 4;
|
|
11
|
+
export const HTTP_CHUNKED_RETRY_BASE_MS = 250;
|
|
12
|
+
|
|
13
|
+
export type HttpChunkedSession = {
|
|
14
|
+
transport: 'http-chunked';
|
|
15
|
+
uploadId: string;
|
|
16
|
+
fileId: string;
|
|
17
|
+
chunkSizeBytes: number;
|
|
18
|
+
chunkCount: number;
|
|
19
|
+
chunksUrl: string;
|
|
20
|
+
completeUrl: string;
|
|
21
|
+
expiresAt: string;
|
|
22
|
+
maxFileSizeBytes: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export function expectedHttpChunkByteLength(
|
|
26
|
+
totalSize: number,
|
|
27
|
+
chunkSizeBytes: number,
|
|
28
|
+
chunkIndex: number,
|
|
29
|
+
chunkCount: number
|
|
30
|
+
): number {
|
|
31
|
+
if (!Number.isInteger(chunkIndex) || chunkIndex < 0 || chunkIndex >= chunkCount) {
|
|
32
|
+
throw new Error(`chunkIndex must be an integer in [0, ${chunkCount})`);
|
|
33
|
+
}
|
|
34
|
+
if (totalSize === 0) return 0;
|
|
35
|
+
if (chunkIndex < chunkCount - 1) return chunkSizeBytes;
|
|
36
|
+
const remainder = totalSize % chunkSizeBytes;
|
|
37
|
+
return remainder === 0 ? chunkSizeBytes : remainder;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function chunkByteOffset(chunkSizeBytes: number, chunkIndex: number): number {
|
|
41
|
+
return chunkIndex * chunkSizeBytes;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function shouldAbortHttpChunkedUploadSession(options: { chunksReady: boolean }): boolean {
|
|
45
|
+
return !options.chunksReady;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function httpChunkedCompleteRetryHint(uploadId: string): string {
|
|
49
|
+
return `Uploaded chunks remain stored for ${uploadId}; retry complete and do not abort the session.`;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function annotateHttpChunkedCompleteFailure(uploadId: string, error: unknown): unknown {
|
|
53
|
+
const hint = httpChunkedCompleteRetryHint(uploadId);
|
|
54
|
+
if (error instanceof Error) {
|
|
55
|
+
if (!error.message.includes('retry complete')) {
|
|
56
|
+
error.message = `${error.message} ${hint}`;
|
|
57
|
+
}
|
|
58
|
+
return error;
|
|
59
|
+
}
|
|
60
|
+
return new Error(`${String(error)} ${hint}`);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export class ChunkUploadHttpError extends Error {
|
|
64
|
+
constructor(readonly status: number) {
|
|
65
|
+
super(`Chunk upload failed (${status})`);
|
|
66
|
+
this.name = 'ChunkUploadHttpError';
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function isRetryableChunkError(error: unknown, signal?: AbortSignal): boolean {
|
|
71
|
+
if (signal?.aborted) return false;
|
|
72
|
+
if (isAbortError(error)) return false;
|
|
73
|
+
if (error instanceof ChunkUploadHttpError) return isTransientHttpStatus(error.status);
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function abortError(signal?: AbortSignal): Error {
|
|
78
|
+
if (signal?.reason instanceof Error) return signal.reason;
|
|
79
|
+
return typeof DOMException !== 'undefined'
|
|
80
|
+
? new DOMException('Upload aborted', 'AbortError')
|
|
81
|
+
: Object.assign(new Error('Upload aborted'), { name: 'AbortError' });
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export async function uploadHttpChunks(options: {
|
|
85
|
+
chunkCount: number;
|
|
86
|
+
chunkSizeBytes: number;
|
|
87
|
+
totalSize: number;
|
|
88
|
+
signal?: AbortSignal;
|
|
89
|
+
onProgress?: (uploadedBytes: number, totalBytes: number) => void;
|
|
90
|
+
putChunk: (args: { chunkIndex: number; start: number; length: number }) => Promise<void>;
|
|
91
|
+
}): Promise<void> {
|
|
92
|
+
let uploadedBytes = 0;
|
|
93
|
+
for (let chunkIndex = 0; chunkIndex < options.chunkCount; chunkIndex++) {
|
|
94
|
+
if (options.signal?.aborted) throw abortError(options.signal);
|
|
95
|
+
const length = expectedHttpChunkByteLength(
|
|
96
|
+
options.totalSize,
|
|
97
|
+
options.chunkSizeBytes,
|
|
98
|
+
chunkIndex,
|
|
99
|
+
options.chunkCount
|
|
100
|
+
);
|
|
101
|
+
const start = chunkByteOffset(options.chunkSizeBytes, chunkIndex);
|
|
102
|
+
let lastError: unknown;
|
|
103
|
+
for (let attempt = 0; attempt <= HTTP_CHUNKED_MAX_RETRIES; attempt++) {
|
|
104
|
+
if (options.signal?.aborted) throw abortError(options.signal);
|
|
105
|
+
try {
|
|
106
|
+
await options.putChunk({ chunkIndex, start, length });
|
|
107
|
+
uploadedBytes += length;
|
|
108
|
+
options.onProgress?.(uploadedBytes, options.totalSize);
|
|
109
|
+
lastError = undefined;
|
|
110
|
+
break;
|
|
111
|
+
} catch (error) {
|
|
112
|
+
lastError = error;
|
|
113
|
+
if (!isRetryableChunkError(error, options.signal) || attempt === HTTP_CHUNKED_MAX_RETRIES) {
|
|
114
|
+
throw error;
|
|
115
|
+
}
|
|
116
|
+
await sleep(HTTP_CHUNKED_RETRY_BASE_MS * 2 ** attempt, options.signal);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
if (lastError) throw lastError;
|
|
120
|
+
}
|
|
121
|
+
}
|
package/src/resources/files.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { OperationResult, RequestDispatchOptions } from '../client';
|
|
2
|
+
import { EigenpalError } from '../errors';
|
|
2
3
|
import type { Client } from '../generated/client';
|
|
3
4
|
import {
|
|
4
5
|
filesContentGet,
|
|
@@ -15,6 +16,7 @@ import type {
|
|
|
15
16
|
FilesDeleteResponse,
|
|
16
17
|
FilesGetResponse,
|
|
17
18
|
FilesUploadsAbortResponse,
|
|
19
|
+
FilesUploadsChunksPutResponse,
|
|
18
20
|
FilesUploadsCompleteResponse,
|
|
19
21
|
FilesUploadsCreateResponse,
|
|
20
22
|
FilesUploadsGetResponse,
|
|
@@ -38,6 +40,12 @@ import {
|
|
|
38
40
|
statUploadSize,
|
|
39
41
|
type FileInput,
|
|
40
42
|
} from '../lib/files';
|
|
43
|
+
import {
|
|
44
|
+
annotateHttpChunkedCompleteFailure,
|
|
45
|
+
ChunkUploadHttpError,
|
|
46
|
+
shouldAbortHttpChunkedUploadSession,
|
|
47
|
+
uploadHttpChunks,
|
|
48
|
+
} from '../lib/upload-app-chunked';
|
|
41
49
|
import {
|
|
42
50
|
annotateMultipartCompleteFailure,
|
|
43
51
|
annotatePresignedPutCompleteFailure,
|
|
@@ -191,6 +199,59 @@ export class FilesResource {
|
|
|
191
199
|
}
|
|
192
200
|
}
|
|
193
201
|
|
|
202
|
+
if (negotiation.transport === 'http-chunked') {
|
|
203
|
+
if (!source.replayable) {
|
|
204
|
+
throw new Error(
|
|
205
|
+
'Cannot resume a chunked upload from a one-shot stream. Pass a file path, Blob, or a reusable stream factory.'
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
let chunksReady = false;
|
|
209
|
+
try {
|
|
210
|
+
await uploadHttpChunks({
|
|
211
|
+
chunkCount: negotiation.chunkCount,
|
|
212
|
+
chunkSizeBytes: negotiation.chunkSizeBytes,
|
|
213
|
+
totalSize: source.size,
|
|
214
|
+
signal: options.signal,
|
|
215
|
+
onProgress: options.onProgress,
|
|
216
|
+
putChunk: async ({ chunkIndex, start, length }) => {
|
|
217
|
+
const body = await source.openPart(start, length);
|
|
218
|
+
try {
|
|
219
|
+
await this.dispatch(
|
|
220
|
+
() =>
|
|
221
|
+
this.client.put({
|
|
222
|
+
url: `${negotiation.chunksUrl}/${chunkIndex}`,
|
|
223
|
+
body: body as never,
|
|
224
|
+
bodySerializer: null,
|
|
225
|
+
headers: { 'Content-Type': 'application/octet-stream' },
|
|
226
|
+
signal: options.signal,
|
|
227
|
+
}) as Promise<OperationResult<FilesUploadsChunksPutResponse>>
|
|
228
|
+
);
|
|
229
|
+
} catch (error) {
|
|
230
|
+
if (error instanceof EigenpalError) throw new ChunkUploadHttpError(error.status);
|
|
231
|
+
throw error;
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
});
|
|
235
|
+
chunksReady = true;
|
|
236
|
+
return await this.dispatch(
|
|
237
|
+
() =>
|
|
238
|
+
this.client.post({
|
|
239
|
+
url: negotiation.completeUrl,
|
|
240
|
+
body: {} as never,
|
|
241
|
+
signal: options.signal,
|
|
242
|
+
}) as Promise<OperationResult<FilesUploadsCompleteResponse>>
|
|
243
|
+
);
|
|
244
|
+
} catch (error) {
|
|
245
|
+
if (shouldAbortHttpChunkedUploadSession({ chunksReady })) {
|
|
246
|
+
await this.abortUpload(negotiation.uploadId, {
|
|
247
|
+
signal: uploadAbortCleanupSignal(),
|
|
248
|
+
}).catch(() => undefined);
|
|
249
|
+
throw error;
|
|
250
|
+
}
|
|
251
|
+
throw annotateHttpChunkedCompleteFailure(negotiation.uploadId, error);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
194
255
|
if (negotiation.transport === 'presigned-put') {
|
|
195
256
|
let putReady = false;
|
|
196
257
|
try {
|
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.45';
|
|
23
23
|
|
|
24
24
|
function detectRuntime(): string {
|
|
25
25
|
const g = globalThis as unknown as {
|