@eigenpal/sdk 0.20.2 → 0.20.3
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/package.json +1 -1
- package/src/generated/index.ts +1 -1
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +65 -5
- package/src/resources/automations.ts +113 -4
- package/src/telemetry.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @eigenpal/sdk
|
|
2
2
|
|
|
3
|
+
## 0.20.3
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- baddbf0: Expected-output files are covered too: items carry `currentExpectedFiles` (null means pristine snapshot) and `fileDecisions`; `getItemFile` / `get_item_file` accept `kind: 'expected'` to download reviewer-corrected bytes (default stays `input`); `recordItemFileDecision` / `record_item_file_decision` records per-file approve/reject or notes (`decision: null` clears); `editItemFile` / `edit_item_file` uploads corrected bytes for an existing path or a brand-new upload (50MB cap).
|
|
8
|
+
|
|
3
9
|
## 0.20.0
|
|
4
10
|
|
|
5
11
|
### 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
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, 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, DatasetReviewFieldDecision, DatasetReviewFocusField, DatasetReviewFocusFieldOutput, DatasetReviewItem, DatasetReviewItemFieldNote, DatasetReviewItemList, DatasetReviewItemResponse, DatasetReviewProgress, DatasetReviewRequest, DatasetReviewRequestList, DeleteAutomationResponse, DeleteEmailServerResponse, DeleteFileResponse, DeleteFolderResponse, DeleteTemplateResponse, 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';
|
|
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, DatasetReviewItem, DatasetReviewItemFieldNote, DatasetReviewItemList, DatasetReviewItemResponse, DatasetReviewProgress, DatasetReviewRequest, DatasetReviewRequestList, 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';
|
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -154,7 +154,7 @@ export const automationsDatasetReviewRequestsListItems = <ThrowOnError extends b
|
|
|
154
154
|
/**
|
|
155
155
|
* Update dataset review item
|
|
156
156
|
*
|
|
157
|
-
* Approve, edit, reject, reopen, comment, or record a field-decision on one review item while the parent request is draft, open, or paused. Pass `expectedUpdatedAt` from the item the client last observed. Pass `fieldPath` with `action: comment` or `action: field-decision`.
|
|
157
|
+
* Approve, edit, reject, reopen, comment, or record a field-decision or file-decision on one review item while the parent request is draft, open, or paused. Pass `expectedUpdatedAt` from the item the client last observed. Pass `fieldPath` with `action: comment` or `action: field-decision`, `filePath` with `action: file-decision`. `action: edit-file` is multipart-only: send `file` bytes with `filePath` (correct an existing expected file) or `newPath` (upload a brand-new expected file) plus `expectedUpdatedAt`.
|
|
158
158
|
*/
|
|
159
159
|
export const automationsDatasetReviewRequestsUpdateItem = <ThrowOnError extends boolean = false>(options: Options<AutomationsDatasetReviewRequestsUpdateItemData, ThrowOnError>) => (options.client ?? client).patch<AutomationsDatasetReviewRequestsUpdateItemResponses, AutomationsDatasetReviewRequestsUpdateItemErrors, ThrowOnError>({
|
|
160
160
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
@@ -167,9 +167,9 @@ export const automationsDatasetReviewRequestsUpdateItem = <ThrowOnError extends
|
|
|
167
167
|
});
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
* Download dataset review item
|
|
170
|
+
* Download dataset review item file
|
|
171
171
|
*
|
|
172
|
-
* Download one input file belonging to a review item. Authorized by `dataset_review:read` and scoped to files referenced in the item snapshot, so reviewers without workflow read can still preview documents.
|
|
172
|
+
* Download one input file (default) or expected-output file (`?kind=expected`) belonging to a review item. Authorized by `dataset_review:read` and scoped to files referenced in the item snapshot, so reviewers without workflow read can still preview documents. Expected files resolve to reviewer-corrected bytes when the item has a file overlay.
|
|
173
173
|
*/
|
|
174
174
|
export const automationsDatasetReviewRequestsItemFileGet = <ThrowOnError extends boolean = false>(options: Options<AutomationsDatasetReviewRequestsItemFileGetData, ThrowOnError>) => (options.client ?? client).get<AutomationsDatasetReviewRequestsItemFileGetResponses, AutomationsDatasetReviewRequestsItemFileGetErrors, ThrowOnError>({
|
|
175
175
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
@@ -68,10 +68,17 @@ export type UpdateDatasetReviewRequest = {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
export type UpdateDatasetReviewItem = {
|
|
71
|
-
|
|
71
|
+
/**
|
|
72
|
+
* file-decision records a per-expected-file approve/reject (or a note). edit-file uploads corrected bytes and is multipart-only — JSON callers get a 400 pointing at the multipart form.
|
|
73
|
+
*/
|
|
74
|
+
action: 'approve' | 'edit' | 'reject' | 'reopen' | 'comment' | 'field-decision' | 'file-decision' | 'edit-file';
|
|
72
75
|
expected?: unknown;
|
|
73
76
|
comment?: string | null;
|
|
74
77
|
fieldPath?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Expected-file path for action file-decision.
|
|
80
|
+
*/
|
|
81
|
+
filePath?: string | null;
|
|
75
82
|
decision?: 'approved' | 'rejected' | null;
|
|
76
83
|
/**
|
|
77
84
|
* ISO timestamp of the item `updatedAt` the client last observed. Required for optimistic concurrency.
|
|
@@ -79,6 +86,21 @@ export type UpdateDatasetReviewItem = {
|
|
|
79
86
|
expectedUpdatedAt: string;
|
|
80
87
|
};
|
|
81
88
|
|
|
89
|
+
export type EditDatasetReviewItemFile = {
|
|
90
|
+
/**
|
|
91
|
+
* Must be edit-file for the multipart item PATCH form.
|
|
92
|
+
*/
|
|
93
|
+
action?: 'edit-file';
|
|
94
|
+
/**
|
|
95
|
+
* Corrected expected-file bytes (50MB cap).
|
|
96
|
+
*/
|
|
97
|
+
file?: Blob | File;
|
|
98
|
+
filePath?: string;
|
|
99
|
+
newPath?: string;
|
|
100
|
+
comment?: string | null;
|
|
101
|
+
expectedUpdatedAt: string;
|
|
102
|
+
};
|
|
103
|
+
|
|
82
104
|
export type AutomationDatasetImportMultipartRequest = {
|
|
83
105
|
/**
|
|
84
106
|
* Dataset ZIP file
|
|
@@ -785,6 +807,16 @@ export type DatasetReviewItem = {
|
|
|
785
807
|
fieldDecisions: {
|
|
786
808
|
[key: string]: DatasetReviewFieldDecision;
|
|
787
809
|
};
|
|
810
|
+
/**
|
|
811
|
+
* Overlay of the snapshot manifest expected files. Null means pristine — the reviewer has not corrected or uploaded any file yet.
|
|
812
|
+
*/
|
|
813
|
+
currentExpectedFiles: Array<DatasetReviewExpectedFile> | null;
|
|
814
|
+
/**
|
|
815
|
+
* Durable per-expected-file approve/reject, keyed by expected-file path.
|
|
816
|
+
*/
|
|
817
|
+
fileDecisions: {
|
|
818
|
+
[key: string]: DatasetReviewFileDecision;
|
|
819
|
+
};
|
|
788
820
|
/**
|
|
789
821
|
* True when live dataset input-file bytes no longer match the hashes captured at request creation.
|
|
790
822
|
*/
|
|
@@ -800,12 +832,35 @@ export type DatasetReviewFieldDecision = {
|
|
|
800
832
|
updatedAt: string;
|
|
801
833
|
};
|
|
802
834
|
|
|
835
|
+
export type DatasetReviewExpectedFile = {
|
|
836
|
+
/**
|
|
837
|
+
* Expected-file path relative to the example expected/ folder.
|
|
838
|
+
*/
|
|
839
|
+
path: string;
|
|
840
|
+
/**
|
|
841
|
+
* Version id for the current bytes. Empty for snapshot-origin files, which resolve by path.
|
|
842
|
+
*/
|
|
843
|
+
fileId: string;
|
|
844
|
+
filename: string;
|
|
845
|
+
/**
|
|
846
|
+
* Whether the current bytes are the snapshotted dataset file, a reviewer-corrected version, or a brand-new reviewer upload.
|
|
847
|
+
*/
|
|
848
|
+
origin: 'snapshot' | 'corrected' | 'uploaded';
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
export type DatasetReviewFileDecision = {
|
|
852
|
+
decision: 'approved' | 'rejected';
|
|
853
|
+
comment?: string | null;
|
|
854
|
+
reviewerId: string;
|
|
855
|
+
updatedAt: string;
|
|
856
|
+
};
|
|
857
|
+
|
|
803
858
|
export type DatasetReviewEvent = {
|
|
804
859
|
id: string;
|
|
805
860
|
reviewId: string;
|
|
806
861
|
itemId: string | null;
|
|
807
862
|
actorUserId: string | null;
|
|
808
|
-
action: 'created' | 'approved' | 'edited' | 'rejected' | 'reopened' | 'commented' | 'field-decision';
|
|
863
|
+
action: 'created' | 'approved' | 'edited' | 'rejected' | 'reopened' | 'commented' | 'field-decision' | 'file-decision' | 'file-edited';
|
|
809
864
|
diffSummary: unknown | null;
|
|
810
865
|
createdAt: string;
|
|
811
866
|
};
|
|
@@ -3122,11 +3177,16 @@ export type AutomationsDatasetReviewRequestsItemFileGetData = {
|
|
|
3122
3177
|
*/
|
|
3123
3178
|
itemId: string;
|
|
3124
3179
|
/**
|
|
3125
|
-
* Slash-delimited path under the example input folder referenced by the item snapshot.
|
|
3180
|
+
* Slash-delimited path under the example input folder (default) or expected folder (?kind=expected) referenced by the item snapshot.
|
|
3126
3181
|
*/
|
|
3127
3182
|
path: string;
|
|
3128
3183
|
};
|
|
3129
|
-
query?:
|
|
3184
|
+
query?: {
|
|
3185
|
+
/**
|
|
3186
|
+
* Which file tree to serve. `expected` resolves to reviewer-corrected bytes when the item has a file overlay, else the snapshot bytes.
|
|
3187
|
+
*/
|
|
3188
|
+
kind?: 'input' | 'expected';
|
|
3189
|
+
};
|
|
3130
3190
|
url: '/v1/automations/{id}/dataset-review-requests/{reviewId}/items/{itemId}/files/{path}';
|
|
3131
3191
|
};
|
|
3132
3192
|
|
|
@@ -3169,7 +3229,7 @@ export type AutomationsDatasetReviewRequestsItemFileGetError = AutomationsDatase
|
|
|
3169
3229
|
|
|
3170
3230
|
export type AutomationsDatasetReviewRequestsItemFileGetResponses = {
|
|
3171
3231
|
/**
|
|
3172
|
-
*
|
|
3232
|
+
* Review item file bytes (input or expected).
|
|
3173
3233
|
*/
|
|
3174
3234
|
200: Blob | File;
|
|
3175
3235
|
};
|
|
@@ -485,7 +485,9 @@ type DatasetReviewItemAction =
|
|
|
485
485
|
| 'reject'
|
|
486
486
|
| 'reopen'
|
|
487
487
|
| 'comment'
|
|
488
|
-
| 'field-decision'
|
|
488
|
+
| 'field-decision'
|
|
489
|
+
| 'file-decision'
|
|
490
|
+
| 'edit-file';
|
|
489
491
|
|
|
490
492
|
function datasetReviewRequestsBaseUrl(automationId: string): string {
|
|
491
493
|
return `/v1/automations/${automationId}/dataset-review-requests`;
|
|
@@ -537,11 +539,59 @@ export type UpdateDatasetReviewItemBody = {
|
|
|
537
539
|
expected?: unknown;
|
|
538
540
|
comment?: string | null;
|
|
539
541
|
fieldPath?: string | null;
|
|
542
|
+
/** Expected-file path for `file-decision`. */
|
|
543
|
+
filePath?: string | null;
|
|
540
544
|
/** Field decision for `field-decision`; pass `null` to clear. */
|
|
541
545
|
decision?: 'approved' | 'rejected' | null;
|
|
542
546
|
expectedUpdatedAt: string;
|
|
543
547
|
};
|
|
544
548
|
|
|
549
|
+
/** One entry of an item's expected-file overlay (`currentExpectedFiles`). */
|
|
550
|
+
export type DatasetReviewExpectedFile = {
|
|
551
|
+
/** Expected-file path relative to the example `expected/` folder. */
|
|
552
|
+
path: string;
|
|
553
|
+
/**
|
|
554
|
+
* Version id for the current bytes. Empty for snapshot-origin files, which
|
|
555
|
+
* resolve by path.
|
|
556
|
+
*/
|
|
557
|
+
fileId: string;
|
|
558
|
+
filename: string;
|
|
559
|
+
/**
|
|
560
|
+
* Whether the current bytes are the snapshotted dataset file, a
|
|
561
|
+
* reviewer-corrected version, or a brand-new reviewer upload.
|
|
562
|
+
*/
|
|
563
|
+
origin: 'snapshot' | 'corrected' | 'uploaded';
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
/** Durable per-expected-file approve/reject, keyed by expected-file path. */
|
|
567
|
+
export type DatasetReviewFileDecision = {
|
|
568
|
+
decision: 'approved' | 'rejected';
|
|
569
|
+
comment?: string | null;
|
|
570
|
+
reviewerId: string;
|
|
571
|
+
updatedAt: string;
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
export type RecordDatasetReviewItemFileDecisionBody = {
|
|
575
|
+
/** Expected-file path the decision applies to. */
|
|
576
|
+
filePath: string;
|
|
577
|
+
/**
|
|
578
|
+
* File decision; pass `null` to clear a recorded decision. A comment
|
|
579
|
+
* without a decision is a note — allowed only when a decision exists.
|
|
580
|
+
*/
|
|
581
|
+
decision?: 'approved' | 'rejected' | null;
|
|
582
|
+
comment?: string | null;
|
|
583
|
+
expectedUpdatedAt: string;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
export type EditDatasetReviewItemFileOptions = SignalOptions & {
|
|
587
|
+
/** Correct an existing expected file. Exactly one of `filePath` / `newPath`. */
|
|
588
|
+
filePath?: string;
|
|
589
|
+
/** Upload a brand-new expected file. Exactly one of `filePath` / `newPath`. */
|
|
590
|
+
newPath?: string;
|
|
591
|
+
comment?: string;
|
|
592
|
+
expectedUpdatedAt: string;
|
|
593
|
+
};
|
|
594
|
+
|
|
545
595
|
export class AutomationDatasetReviewRequestsResource {
|
|
546
596
|
constructor(
|
|
547
597
|
private readonly client: Client,
|
|
@@ -651,7 +701,7 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
651
701
|
reviewId: string,
|
|
652
702
|
itemId: string,
|
|
653
703
|
path: string,
|
|
654
|
-
options: SignalOptions = {}
|
|
704
|
+
options: SignalOptions & { kind?: 'input' | 'expected' } = {}
|
|
655
705
|
): Promise<Blob> {
|
|
656
706
|
// Encode per segment: the path comes from snapshot manifests and may
|
|
657
707
|
// contain spaces or unicode; encoding the whole string would escape the
|
|
@@ -661,17 +711,76 @@ export class AutomationDatasetReviewRequestsResource {
|
|
|
661
711
|
.split('/')
|
|
662
712
|
.map((segment) => encodeURIComponent(segment))
|
|
663
713
|
.join('/');
|
|
714
|
+
const { kind, signal } = options;
|
|
715
|
+
const suffix = kind === 'expected' ? '?kind=expected' : '';
|
|
664
716
|
return this.dispatch(
|
|
665
717
|
() =>
|
|
666
718
|
this.client.get({
|
|
667
|
-
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/items/${itemId}/files/${relative}`,
|
|
719
|
+
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/items/${itemId}/files/${relative}${suffix}`,
|
|
668
720
|
parseAs: 'blob',
|
|
669
|
-
signal
|
|
721
|
+
signal,
|
|
670
722
|
}) as Promise<OperationResult<Blob>>,
|
|
671
723
|
{ responseKind: 'binary' }
|
|
672
724
|
);
|
|
673
725
|
}
|
|
674
726
|
|
|
727
|
+
/**
|
|
728
|
+
* Record a per-expected-file approve/reject (or a note) on a review item.
|
|
729
|
+
* Pass `decision: null` to clear a recorded decision; a comment without a
|
|
730
|
+
* decision is a note and requires an existing decision server-side.
|
|
731
|
+
*/
|
|
732
|
+
async recordItemFileDecision(
|
|
733
|
+
automationId: string,
|
|
734
|
+
reviewId: string,
|
|
735
|
+
itemId: string,
|
|
736
|
+
body: RecordDatasetReviewItemFileDecisionBody,
|
|
737
|
+
options: SignalOptions = {}
|
|
738
|
+
): Promise<AnyResponse> {
|
|
739
|
+
return this.dispatch(
|
|
740
|
+
() =>
|
|
741
|
+
this.client.patch({
|
|
742
|
+
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/items/${itemId}`,
|
|
743
|
+
body: { action: 'file-decision', ...body } as never,
|
|
744
|
+
signal: options.signal,
|
|
745
|
+
}) as Promise<OperationResult<AnyResponse>>
|
|
746
|
+
);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Upload corrected bytes for an existing expected file (`filePath`) or a
|
|
751
|
+
* brand-new reviewer upload (`newPath`). Multipart-only — mirrors the
|
|
752
|
+
* dataset import's FormData passthrough. Replaces the item's expected-file
|
|
753
|
+
* overlay entry and records a `file-edited` event.
|
|
754
|
+
*/
|
|
755
|
+
async editItemFile(
|
|
756
|
+
automationId: string,
|
|
757
|
+
reviewId: string,
|
|
758
|
+
itemId: string,
|
|
759
|
+
file: Blob | File,
|
|
760
|
+
options: EditDatasetReviewItemFileOptions
|
|
761
|
+
): Promise<AnyResponse> {
|
|
762
|
+
const target = options.filePath ?? options.newPath ?? 'file';
|
|
763
|
+
const fallbackName = target.split('/').pop() || 'file';
|
|
764
|
+
const filename = file instanceof File && file.name ? file.name : fallbackName;
|
|
765
|
+
const formData = new FormData();
|
|
766
|
+
formData.set('action', 'edit-file');
|
|
767
|
+
formData.set('file', file, filename);
|
|
768
|
+
if (options.filePath !== undefined) formData.set('filePath', options.filePath);
|
|
769
|
+
if (options.newPath !== undefined) formData.set('newPath', options.newPath);
|
|
770
|
+
if (options.comment !== undefined) formData.set('comment', options.comment);
|
|
771
|
+
formData.set('expectedUpdatedAt', options.expectedUpdatedAt);
|
|
772
|
+
return this.dispatch(
|
|
773
|
+
() =>
|
|
774
|
+
this.client.patch({
|
|
775
|
+
url: `${datasetReviewRequestsBaseUrl(automationId)}/${reviewId}/items/${itemId}`,
|
|
776
|
+
body: formData as never,
|
|
777
|
+
bodySerializer: null,
|
|
778
|
+
headers: { 'Content-Type': null },
|
|
779
|
+
signal: options.signal,
|
|
780
|
+
}) as Promise<OperationResult<AnyResponse>>
|
|
781
|
+
);
|
|
782
|
+
}
|
|
783
|
+
|
|
675
784
|
async events(
|
|
676
785
|
automationId: string,
|
|
677
786
|
reviewId: string,
|
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.3';
|
|
23
23
|
|
|
24
24
|
function detectRuntime(): string {
|
|
25
25
|
const g = globalThis as unknown as {
|