@squonk/data-manager-client 6.7.1 → 6.7.2
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/dist/api/accounting/accounting.cjs +23 -41
- package/dist/api/accounting/accounting.cjs.map +1 -1
- package/dist/api/accounting/accounting.d.cts.map +1 -1
- package/dist/api/accounting/accounting.d.ts.map +1 -1
- package/dist/api/accounting/accounting.fetch.cjs +23 -41
- package/dist/api/accounting/accounting.fetch.cjs.map +1 -1
- package/dist/api/accounting/accounting.fetch.d.cts.map +1 -1
- package/dist/api/accounting/accounting.fetch.d.ts.map +1 -1
- package/dist/api/accounting/accounting.fetch.js +23 -41
- package/dist/api/accounting/accounting.fetch.js.map +1 -1
- package/dist/api/accounting/accounting.js +23 -41
- package/dist/api/accounting/accounting.js.map +1 -1
- package/dist/api/admin/admin.cjs +186 -289
- package/dist/api/admin/admin.cjs.map +1 -1
- package/dist/api/admin/admin.d.cts +147 -225
- package/dist/api/admin/admin.d.cts.map +1 -1
- package/dist/api/admin/admin.d.ts +147 -225
- package/dist/api/admin/admin.d.ts.map +1 -1
- package/dist/api/admin/admin.fetch.cjs +186 -313
- package/dist/api/admin/admin.fetch.cjs.map +1 -1
- package/dist/api/admin/admin.fetch.d.cts +147 -225
- package/dist/api/admin/admin.fetch.d.cts.map +1 -1
- package/dist/api/admin/admin.fetch.d.ts +147 -225
- package/dist/api/admin/admin.fetch.d.ts.map +1 -1
- package/dist/api/admin/admin.fetch.js +180 -291
- package/dist/api/admin/admin.fetch.js.map +1 -1
- package/dist/api/admin/admin.js +180 -267
- package/dist/api/admin/admin.js.map +1 -1
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.cts +1 -1
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.ts +1 -1
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.cts +1 -1
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.ts +1 -1
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.cts +1 -1
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.ts +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.cjs.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.d.cts +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.d.ts +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.js.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.cjs.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.cts +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.ts +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.js.map +1 -1
- package/dist/api/api-schemas/applicationImageVariant.d.cts +1 -1
- package/dist/api/api-schemas/applicationImageVariant.d.ts +1 -1
- package/dist/api/api-schemas/applicationSummary.d.cts +1 -1
- package/dist/api/api-schemas/applicationSummary.d.ts +1 -1
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.cts +1 -1
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.ts +1 -1
- package/dist/api/api-schemas/datasetDigestGetResponse.d.cts +1 -1
- package/dist/api/api-schemas/datasetDigestGetResponse.d.ts +1 -1
- package/dist/api/api-schemas/datasetMetaGetResponse.d.cts +1 -1
- package/dist/api/api-schemas/datasetMetaGetResponse.d.ts +1 -1
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/datasetPostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/datasetPostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/datasetPutBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/datasetPutBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/datasetPutPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/datasetPutPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.cjs.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.cts +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.ts +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.js.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.cts +1 -1
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.ts +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.cts +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.ts +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/datasetVersionProjectFile.d.cts +1 -1
- package/dist/api/api-schemas/datasetVersionProjectFile.d.ts +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.cts +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.ts +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.cts +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.ts +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/dmError.d.cts +1 -1
- package/dist/api/api-schemas/dmError.d.ts +1 -1
- package/dist/api/api-schemas/exchangeRateDetail.d.cts +1 -1
- package/dist/api/api-schemas/exchangeRateDetail.d.ts +1 -1
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/filePostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/filePostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/filePostResponse.d.cts +1 -1
- package/dist/api/api-schemas/filePostResponse.d.ts +1 -1
- package/dist/api/api-schemas/fileStat.d.cts +1 -1
- package/dist/api/api-schemas/fileStat.d.ts +1 -1
- package/dist/api/api-schemas/inputHandlerDetail.d.cts +1 -1
- package/dist/api/api-schemas/inputHandlerDetail.d.ts +1 -1
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.cts +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.ts +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.js.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.cts +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.ts +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.js.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.cts +1 -1
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.ts +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.d.cts +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.d.ts +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.js.map +1 -1
- package/dist/api/api-schemas/instancePostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/instancePostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/instancePostResponse.d.cts +1 -1
- package/dist/api/api-schemas/instancePostResponse.d.ts +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.cts +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.ts +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.js.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.cts +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.ts +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.js.map +1 -1
- package/dist/api/api-schemas/instanceSummaryOutputs.d.cts +1 -1
- package/dist/api/api-schemas/instanceSummaryOutputs.d.ts +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.d.cts +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.d.ts +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.js.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.cjs.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.d.cts +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.d.ts +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.js.map +1 -1
- package/dist/api/api-schemas/inventoryDatasetDetail.d.cts +1 -1
- package/dist/api/api-schemas/inventoryDatasetDetail.d.ts +1 -1
- package/dist/api/api-schemas/inventoryProjectDetail.d.cts +1 -1
- package/dist/api/api-schemas/inventoryProjectDetail.d.ts +1 -1
- package/dist/api/api-schemas/jobApplication.d.cts +1 -1
- package/dist/api/api-schemas/jobApplication.d.ts +1 -1
- package/dist/api/api-schemas/jobExchangeRateSummary.d.cts +1 -1
- package/dist/api/api-schemas/jobExchangeRateSummary.d.ts +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.cjs.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.d.cts +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.d.ts +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.js.map +1 -1
- package/dist/api/api-schemas/jobManifestDetail.d.cts +1 -1
- package/dist/api/api-schemas/jobManifestDetail.d.ts +1 -1
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/jobOrderDetail.d.cts +1 -1
- package/dist/api/api-schemas/jobOrderDetail.d.ts +1 -1
- package/dist/api/api-schemas/jobReplacement.d.cts +1 -1
- package/dist/api/api-schemas/jobReplacement.d.ts +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.cjs.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.d.cts +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.d.ts +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.js.map +1 -1
- package/dist/api/api-schemas/jobVariablesInputs.d.cts +1 -1
- package/dist/api/api-schemas/jobVariablesInputs.d.ts +1 -1
- package/dist/api/api-schemas/jobVariablesOptions.d.cts +1 -1
- package/dist/api/api-schemas/jobVariablesOptions.d.ts +1 -1
- package/dist/api/api-schemas/jobVariablesOutputs.d.cts +1 -1
- package/dist/api/api-schemas/jobVariablesOutputs.d.ts +1 -1
- package/dist/api/api-schemas/modeGetResponse.d.cts +1 -1
- package/dist/api/api-schemas/modeGetResponse.d.ts +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.cts +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.ts +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/projectFilePutBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/projectFilePutBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/projectPatchBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/projectPatchBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/projectPostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/projectPostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/projectPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/projectPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/qActiveDaysParameter.d.cts +1 -1
- package/dist/api/api-schemas/qActiveDaysParameter.d.ts +1 -1
- package/dist/api/api-schemas/qApplicationIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qApplicationIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qCurrentParameter.d.cts +1 -1
- package/dist/api/api-schemas/qCurrentParameter.d.ts +1 -1
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.cts +1 -1
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.ts +1 -1
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.cts +1 -1
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.ts +1 -1
- package/dist/api/api-schemas/qDstFileParameter.d.cts +1 -1
- package/dist/api/api-schemas/qDstFileParameter.d.ts +1 -1
- package/dist/api/api-schemas/qEditorsParameter.d.cts +1 -1
- package/dist/api/api-schemas/qEditorsParameter.d.ts +1 -1
- package/dist/api/api-schemas/qEventLimitParameter.d.cts +1 -1
- package/dist/api/api-schemas/qEventLimitParameter.d.ts +1 -1
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.cts +1 -1
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.ts +1 -1
- package/dist/api/api-schemas/qExcludeDoneParameter.d.cts +1 -1
- package/dist/api/api-schemas/qExcludeDoneParameter.d.ts +1 -1
- package/dist/api/api-schemas/qExcludePurposeParameter.d.cts +1 -1
- package/dist/api/api-schemas/qExcludePurposeParameter.d.ts +1 -1
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.cts +1 -1
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFileDstPathParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFileDstPathParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFileParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFileParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFilePathParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFilePathParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFileProjectIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFileProjectIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFileSrcPathParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFileSrcPathParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFromParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFromParameter.d.ts +1 -1
- package/dist/api/api-schemas/qIdleDaysParameter.d.cts +1 -1
- package/dist/api/api-schemas/qIdleDaysParameter.d.ts +1 -1
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.cts +1 -1
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.ts +1 -1
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.cts +1 -1
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.ts +1 -1
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.cts +1 -1
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.ts +1 -1
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.cts +1 -1
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.ts +1 -1
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.cts +1 -1
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.ts +1 -1
- package/dist/api/api-schemas/qJobCollectionParameter.d.cts +1 -1
- package/dist/api/api-schemas/qJobCollectionParameter.d.ts +1 -1
- package/dist/api/api-schemas/qJobIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qJobIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qJobJobParameter.d.cts +1 -1
- package/dist/api/api-schemas/qJobJobParameter.d.ts +1 -1
- package/dist/api/api-schemas/qJobVersionParameter.d.cts +1 -1
- package/dist/api/api-schemas/qJobVersionParameter.d.ts +1 -1
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.cts +1 -1
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.ts +1 -1
- package/dist/api/api-schemas/qLabelsParameter.d.cts +1 -1
- package/dist/api/api-schemas/qLabelsParameter.d.ts +1 -1
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.cts +1 -1
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.ts +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qOwnersParameter.d.cts +1 -1
- package/dist/api/api-schemas/qOwnersParameter.d.ts +1 -1
- package/dist/api/api-schemas/qProjectIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qProjectIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qProjectNameParameter.d.cts +1 -1
- package/dist/api/api-schemas/qProjectNameParameter.d.ts +1 -1
- package/dist/api/api-schemas/qPurgeParameter.d.cts +1 -1
- package/dist/api/api-schemas/qPurgeParameter.d.ts +1 -1
- package/dist/api/api-schemas/qPurposeParameter.cjs.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.d.cts +1 -1
- package/dist/api/api-schemas/qPurposeParameter.d.ts +1 -1
- package/dist/api/api-schemas/qPurposeParameter.js.map +1 -1
- package/dist/api/api-schemas/qTokenParameter.d.cts +1 -1
- package/dist/api/api-schemas/qTokenParameter.d.ts +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.cts +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.ts +1 -1
- package/dist/api/api-schemas/qUsernameParameter.d.cts +1 -1
- package/dist/api/api-schemas/qUsernameParameter.d.ts +1 -1
- package/dist/api/api-schemas/qUsernamesParameter.d.cts +1 -1
- package/dist/api/api-schemas/qUsernamesParameter.d.ts +1 -1
- package/dist/api/api-schemas/qWorkflowIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qWorkflowIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.cts +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.ts +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.cts +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.ts +1 -1
- package/dist/api/api-schemas/runningWorkflowProject.d.cts +1 -1
- package/dist/api/api-schemas/runningWorkflowProject.d.ts +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.cts +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.ts +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.cts +1 -1
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.ts +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.cts +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.ts +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.cts +1 -1
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.ts +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.cjs.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.cts +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.ts +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.js.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.cjs.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.d.cts +1 -1
- package/dist/api/api-schemas/taskEventLevel.d.ts +1 -1
- package/dist/api/api-schemas/taskEventLevel.js.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.cjs.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.d.cts +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.d.ts +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.js.map +1 -1
- package/dist/api/api-schemas/taskIdentity.d.cts +1 -1
- package/dist/api/api-schemas/taskIdentity.d.ts +1 -1
- package/dist/api/api-schemas/taskStateState.cjs.map +1 -1
- package/dist/api/api-schemas/taskStateState.d.cts +1 -1
- package/dist/api/api-schemas/taskStateState.d.ts +1 -1
- package/dist/api/api-schemas/taskStateState.js.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.cts +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.ts +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.cjs.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.cts +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.ts +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.js.map +1 -1
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/userActivityDetailPeriod.d.cts +1 -1
- package/dist/api/api-schemas/userActivityDetailPeriod.d.ts +1 -1
- package/dist/api/api-schemas/userApiTokenGetResponse.d.cts +1 -1
- package/dist/api/api-schemas/userApiTokenGetResponse.d.ts +1 -1
- package/dist/api/api-schemas/userDetail.d.cts +1 -1
- package/dist/api/api-schemas/userDetail.d.ts +1 -1
- package/dist/api/api-schemas/userPatchBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/userPatchBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/userSummary.d.cts +1 -1
- package/dist/api/api-schemas/userSummary.d.ts +1 -1
- package/dist/api/api-schemas/versionGetResponse.d.cts +1 -1
- package/dist/api/api-schemas/versionGetResponse.d.ts +1 -1
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.cts +1 -1
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.ts +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.d.cts +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.d.ts +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.js.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseVariables.d.cts +1 -1
- package/dist/api/api-schemas/workflowGetResponseVariables.d.ts +1 -1
- package/dist/api/api-schemas/workflowPatchBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/workflowPatchBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/workflowPatchResponse.d.cts +1 -1
- package/dist/api/api-schemas/workflowPatchResponse.d.ts +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.cts +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.ts +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.js.map +1 -1
- package/dist/api/api-schemas/workflowPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/workflowPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/workflowRunPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/workflowRunPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.cts +1 -1
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.ts +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.d.cts +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.d.ts +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.js.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/workflowVersionPutResponse.d.cts +1 -1
- package/dist/api/api-schemas/workflowVersionPutResponse.d.ts +1 -1
- package/dist/api/application/application.cjs +17 -17
- package/dist/api/application/application.cjs.map +1 -1
- package/dist/api/application/application.d.cts.map +1 -1
- package/dist/api/application/application.d.ts.map +1 -1
- package/dist/api/application/application.fetch.cjs +17 -17
- package/dist/api/application/application.fetch.cjs.map +1 -1
- package/dist/api/application/application.fetch.d.cts.map +1 -1
- package/dist/api/application/application.fetch.d.ts.map +1 -1
- package/dist/api/application/application.fetch.js +17 -17
- package/dist/api/application/application.fetch.js.map +1 -1
- package/dist/api/application/application.js +17 -17
- package/dist/api/application/application.js.map +1 -1
- package/dist/api/configuration/configuration.cjs +17 -17
- package/dist/api/configuration/configuration.cjs.map +1 -1
- package/dist/api/configuration/configuration.d.cts.map +1 -1
- package/dist/api/configuration/configuration.d.ts.map +1 -1
- package/dist/api/configuration/configuration.fetch.cjs +17 -17
- package/dist/api/configuration/configuration.fetch.cjs.map +1 -1
- package/dist/api/configuration/configuration.fetch.d.cts.map +1 -1
- package/dist/api/configuration/configuration.fetch.d.ts.map +1 -1
- package/dist/api/configuration/configuration.fetch.js +17 -17
- package/dist/api/configuration/configuration.fetch.js.map +1 -1
- package/dist/api/configuration/configuration.js +17 -17
- package/dist/api/configuration/configuration.js.map +1 -1
- package/dist/api/dataset/dataset.cjs +126 -197
- package/dist/api/dataset/dataset.cjs.map +1 -1
- package/dist/api/dataset/dataset.d.cts +110 -142
- package/dist/api/dataset/dataset.d.cts.map +1 -1
- package/dist/api/dataset/dataset.d.ts +110 -142
- package/dist/api/dataset/dataset.d.ts.map +1 -1
- package/dist/api/dataset/dataset.fetch.cjs +126 -212
- package/dist/api/dataset/dataset.fetch.cjs.map +1 -1
- package/dist/api/dataset/dataset.fetch.d.cts +110 -142
- package/dist/api/dataset/dataset.fetch.d.cts.map +1 -1
- package/dist/api/dataset/dataset.fetch.d.ts +110 -142
- package/dist/api/dataset/dataset.fetch.d.ts.map +1 -1
- package/dist/api/dataset/dataset.fetch.js +123 -199
- package/dist/api/dataset/dataset.fetch.js.map +1 -1
- package/dist/api/dataset/dataset.js +123 -184
- package/dist/api/dataset/dataset.js.map +1 -1
- package/dist/api/digest/digest.cjs +15 -9
- package/dist/api/digest/digest.cjs.map +1 -1
- package/dist/api/digest/digest.d.cts.map +1 -1
- package/dist/api/digest/digest.d.ts.map +1 -1
- package/dist/api/digest/digest.fetch.cjs +15 -9
- package/dist/api/digest/digest.fetch.cjs.map +1 -1
- package/dist/api/digest/digest.fetch.d.cts.map +1 -1
- package/dist/api/digest/digest.fetch.d.ts.map +1 -1
- package/dist/api/digest/digest.fetch.js +15 -9
- package/dist/api/digest/digest.fetch.js.map +1 -1
- package/dist/api/digest/digest.js +15 -9
- package/dist/api/digest/digest.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.cjs +189 -287
- package/dist/api/file-and-path/file-and-path.cjs.map +1 -1
- package/dist/api/file-and-path/file-and-path.d.cts +152 -226
- package/dist/api/file-and-path/file-and-path.d.cts.map +1 -1
- package/dist/api/file-and-path/file-and-path.d.ts +152 -226
- package/dist/api/file-and-path/file-and-path.d.ts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.cjs +189 -311
- package/dist/api/file-and-path/file-and-path.fetch.cjs.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.d.cts +152 -226
- package/dist/api/file-and-path/file-and-path.fetch.d.cts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.d.ts +152 -226
- package/dist/api/file-and-path/file-and-path.fetch.d.ts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.js +183 -289
- package/dist/api/file-and-path/file-and-path.fetch.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.js +183 -265
- package/dist/api/file-and-path/file-and-path.js.map +1 -1
- package/dist/api/instance/instance.cjs +122 -179
- package/dist/api/instance/instance.cjs.map +1 -1
- package/dist/api/instance/instance.d.cts +102 -142
- package/dist/api/instance/instance.d.cts.map +1 -1
- package/dist/api/instance/instance.d.ts +102 -142
- package/dist/api/instance/instance.d.ts.map +1 -1
- package/dist/api/instance/instance.fetch.cjs +122 -194
- package/dist/api/instance/instance.fetch.cjs.map +1 -1
- package/dist/api/instance/instance.fetch.d.cts +102 -142
- package/dist/api/instance/instance.fetch.d.cts.map +1 -1
- package/dist/api/instance/instance.fetch.d.ts +102 -142
- package/dist/api/instance/instance.fetch.d.ts.map +1 -1
- package/dist/api/instance/instance.fetch.js +119 -181
- package/dist/api/instance/instance.fetch.js.map +1 -1
- package/dist/api/instance/instance.js +119 -166
- package/dist/api/instance/instance.js.map +1 -1
- package/dist/api/inventory/inventory.cjs +15 -9
- package/dist/api/inventory/inventory.cjs.map +1 -1
- package/dist/api/inventory/inventory.d.cts.map +1 -1
- package/dist/api/inventory/inventory.d.ts.map +1 -1
- package/dist/api/inventory/inventory.fetch.cjs +15 -9
- package/dist/api/inventory/inventory.fetch.cjs.map +1 -1
- package/dist/api/inventory/inventory.fetch.d.cts.map +1 -1
- package/dist/api/inventory/inventory.fetch.d.ts.map +1 -1
- package/dist/api/inventory/inventory.fetch.js +15 -9
- package/dist/api/inventory/inventory.fetch.js.map +1 -1
- package/dist/api/inventory/inventory.js +15 -9
- package/dist/api/inventory/inventory.js.map +1 -1
- package/dist/api/job/job.cjs +44 -75
- package/dist/api/job/job.cjs.map +1 -1
- package/dist/api/job/job.d.cts +25 -30
- package/dist/api/job/job.d.cts.map +1 -1
- package/dist/api/job/job.d.ts +25 -30
- package/dist/api/job/job.d.ts.map +1 -1
- package/dist/api/job/job.fetch.cjs +44 -78
- package/dist/api/job/job.fetch.cjs.map +1 -1
- package/dist/api/job/job.fetch.d.cts +25 -30
- package/dist/api/job/job.fetch.d.cts.map +1 -1
- package/dist/api/job/job.fetch.d.ts +25 -30
- package/dist/api/job/job.fetch.d.ts.map +1 -1
- package/dist/api/job/job.fetch.js +45 -77
- package/dist/api/job/job.fetch.js.map +1 -1
- package/dist/api/job/job.js +45 -74
- package/dist/api/job/job.js.map +1 -1
- package/dist/api/metadata/metadata.cjs +59 -86
- package/dist/api/metadata/metadata.cjs.map +1 -1
- package/dist/api/metadata/metadata.d.cts +52 -58
- package/dist/api/metadata/metadata.d.cts.map +1 -1
- package/dist/api/metadata/metadata.d.ts +52 -58
- package/dist/api/metadata/metadata.d.ts.map +1 -1
- package/dist/api/metadata/metadata.fetch.cjs +59 -92
- package/dist/api/metadata/metadata.fetch.cjs.map +1 -1
- package/dist/api/metadata/metadata.fetch.d.cts +50 -56
- package/dist/api/metadata/metadata.fetch.d.cts.map +1 -1
- package/dist/api/metadata/metadata.fetch.d.ts +50 -56
- package/dist/api/metadata/metadata.fetch.d.ts.map +1 -1
- package/dist/api/metadata/metadata.fetch.js +59 -88
- package/dist/api/metadata/metadata.fetch.js.map +1 -1
- package/dist/api/metadata/metadata.js +59 -82
- package/dist/api/metadata/metadata.js.map +1 -1
- package/dist/api/project/project.cjs +206 -317
- package/dist/api/project/project.cjs.map +1 -1
- package/dist/api/project/project.d.cts +194 -254
- package/dist/api/project/project.d.cts.map +1 -1
- package/dist/api/project/project.d.ts +194 -254
- package/dist/api/project/project.d.ts.map +1 -1
- package/dist/api/project/project.fetch.cjs +206 -344
- package/dist/api/project/project.fetch.cjs.map +1 -1
- package/dist/api/project/project.fetch.d.cts +194 -254
- package/dist/api/project/project.fetch.d.cts.map +1 -1
- package/dist/api/project/project.fetch.d.ts +194 -254
- package/dist/api/project/project.fetch.d.ts.map +1 -1
- package/dist/api/project/project.fetch.js +199 -319
- package/dist/api/project/project.fetch.js.map +1 -1
- package/dist/api/project/project.js +199 -292
- package/dist/api/project/project.js.map +1 -1
- package/dist/api/task/task.cjs +38 -49
- package/dist/api/task/task.cjs.map +1 -1
- package/dist/api/task/task.d.cts +20 -30
- package/dist/api/task/task.d.cts.map +1 -1
- package/dist/api/task/task.d.ts +20 -30
- package/dist/api/task/task.d.ts.map +1 -1
- package/dist/api/task/task.fetch.cjs +38 -52
- package/dist/api/task/task.fetch.cjs.map +1 -1
- package/dist/api/task/task.fetch.d.cts +20 -30
- package/dist/api/task/task.fetch.d.cts.map +1 -1
- package/dist/api/task/task.fetch.d.ts +20 -30
- package/dist/api/task/task.fetch.d.ts.map +1 -1
- package/dist/api/task/task.fetch.js +39 -51
- package/dist/api/task/task.fetch.js.map +1 -1
- package/dist/api/task/task.js +39 -48
- package/dist/api/task/task.js.map +1 -1
- package/dist/api/type/type.cjs +15 -9
- package/dist/api/type/type.cjs.map +1 -1
- package/dist/api/type/type.d.cts.map +1 -1
- package/dist/api/type/type.d.ts.map +1 -1
- package/dist/api/type/type.fetch.cjs +15 -9
- package/dist/api/type/type.fetch.cjs.map +1 -1
- package/dist/api/type/type.fetch.d.cts.map +1 -1
- package/dist/api/type/type.fetch.d.ts.map +1 -1
- package/dist/api/type/type.fetch.js +15 -9
- package/dist/api/type/type.fetch.js.map +1 -1
- package/dist/api/type/type.js +15 -9
- package/dist/api/type/type.js.map +1 -1
- package/dist/api/user/user.cjs +42 -65
- package/dist/api/user/user.cjs.map +1 -1
- package/dist/api/user/user.d.cts +21 -30
- package/dist/api/user/user.d.cts.map +1 -1
- package/dist/api/user/user.d.ts +21 -30
- package/dist/api/user/user.d.ts.map +1 -1
- package/dist/api/user/user.fetch.cjs +42 -68
- package/dist/api/user/user.fetch.cjs.map +1 -1
- package/dist/api/user/user.fetch.d.cts +21 -30
- package/dist/api/user/user.fetch.d.cts.map +1 -1
- package/dist/api/user/user.fetch.d.ts +21 -30
- package/dist/api/user/user.fetch.d.ts.map +1 -1
- package/dist/api/user/user.fetch.js +43 -67
- package/dist/api/user/user.fetch.js.map +1 -1
- package/dist/api/user/user.js +43 -64
- package/dist/api/user/user.js.map +1 -1
- package/dist/api/workflow/workflow.cjs +172 -278
- package/dist/api/workflow/workflow.cjs.map +1 -1
- package/dist/api/workflow/workflow.d.cts +144 -198
- package/dist/api/workflow/workflow.d.cts.map +1 -1
- package/dist/api/workflow/workflow.d.ts +144 -198
- package/dist/api/workflow/workflow.d.ts.map +1 -1
- package/dist/api/workflow/workflow.fetch.cjs +172 -299
- package/dist/api/workflow/workflow.fetch.cjs.map +1 -1
- package/dist/api/workflow/workflow.fetch.d.cts +144 -198
- package/dist/api/workflow/workflow.fetch.d.cts.map +1 -1
- package/dist/api/workflow/workflow.fetch.d.ts +144 -198
- package/dist/api/workflow/workflow.fetch.d.ts.map +1 -1
- package/dist/api/workflow/workflow.fetch.js +167 -280
- package/dist/api/workflow/workflow.fetch.js.map +1 -1
- package/dist/api/workflow/workflow.js +167 -259
- package/dist/api/workflow/workflow.js.map +1 -1
- package/morph-query-keys.ts +2 -1
- package/orval.config.ts +9 -15
- package/package.json +4 -2
- package/pnpm-workspace.yaml +1 -0
- package/src/api/accounting/accounting.fetch.ts +26 -11
- package/src/api/accounting/accounting.ts +26 -11
- package/src/api/admin/admin.fetch.ts +409 -935
- package/src/api/admin/admin.ts +429 -955
- package/src/api/api-schemas/accountServerGetNamespaceResponse.fetch.ts +1 -1
- package/src/api/api-schemas/accountServerGetNamespaceResponse.ts +1 -1
- package/src/api/api-schemas/accountServerGetRegistrationResponse.fetch.ts +1 -1
- package/src/api/api-schemas/accountServerGetRegistrationResponse.ts +1 -1
- package/src/api/api-schemas/adminDeleteJobManifestParams.fetch.ts +1 -1
- package/src/api/api-schemas/adminDeleteJobManifestParams.ts +1 -1
- package/src/api/api-schemas/adminGetServiceErrorsParams.fetch.ts +1 -1
- package/src/api/api-schemas/adminGetServiceErrorsParams.ts +1 -1
- package/src/api/api-schemas/adminGetUsersParams.fetch.ts +1 -1
- package/src/api/api-schemas/adminGetUsersParams.ts +1 -1
- package/src/api/api-schemas/adminJobManifestGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/adminJobManifestGetResponse.ts +1 -1
- package/src/api/api-schemas/adminJobManifestLoadPutResponse.fetch.ts +1 -1
- package/src/api/api-schemas/adminJobManifestLoadPutResponse.ts +1 -1
- package/src/api/api-schemas/adminUserPutResponse.fetch.ts +1 -1
- package/src/api/api-schemas/adminUserPutResponse.ts +1 -1
- package/src/api/api-schemas/adminUsersGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/adminUsersGetResponse.ts +1 -1
- package/src/api/api-schemas/apiLogDetail.fetch.ts +1 -1
- package/src/api/api-schemas/apiLogDetail.ts +1 -1
- package/src/api/api-schemas/apiLogDetailMethod.fetch.ts +1 -1
- package/src/api/api-schemas/apiLogDetailMethod.ts +1 -1
- package/src/api/api-schemas/applicationGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/applicationGetResponse.ts +1 -1
- package/src/api/api-schemas/applicationGetResponseCostUnit.fetch.ts +1 -1
- package/src/api/api-schemas/applicationGetResponseCostUnit.ts +1 -1
- package/src/api/api-schemas/applicationImageVariant.fetch.ts +1 -1
- package/src/api/api-schemas/applicationImageVariant.ts +1 -1
- package/src/api/api-schemas/applicationImageVariants.fetch.ts +1 -1
- package/src/api/api-schemas/applicationImageVariants.ts +1 -1
- package/src/api/api-schemas/applicationSummary.fetch.ts +1 -1
- package/src/api/api-schemas/applicationSummary.ts +1 -1
- package/src/api/api-schemas/applicationsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/applicationsGetResponse.ts +1 -1
- package/src/api/api-schemas/asAdditionalDataProcessingCharge.fetch.ts +1 -1
- package/src/api/api-schemas/asAdditionalDataProcessingCharge.ts +1 -1
- package/src/api/api-schemas/createPathParams.fetch.ts +1 -1
- package/src/api/api-schemas/createPathParams.ts +1 -1
- package/src/api/api-schemas/datasetDetail.fetch.ts +1 -1
- package/src/api/api-schemas/datasetDetail.ts +1 -1
- package/src/api/api-schemas/datasetDigestGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/datasetDigestGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetMetaGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/datasetMetaGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetMetaPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/datasetMetaPostBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/datasetPostBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetPutBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/datasetPutBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetPutPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/datasetPutPostResponse.ts +1 -1
- package/src/api/api-schemas/datasetSchemaGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/datasetSchemaGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetSchemaGetResponseType.fetch.ts +1 -1
- package/src/api/api-schemas/datasetSchemaGetResponseType.ts +1 -1
- package/src/api/api-schemas/datasetSummary.fetch.ts +1 -1
- package/src/api/api-schemas/datasetSummary.ts +1 -1
- package/src/api/api-schemas/datasetVersionDeleteResponse.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionDeleteResponse.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetail.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetail.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetailLabels.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetailLabels.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetailProcessingStage.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetailProcessingStage.ts +1 -1
- package/src/api/api-schemas/datasetVersionMetaPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionMetaPostBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetVersionProjectFile.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionProjectFile.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummary.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummary.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummaryLabels.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummaryLabels.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummaryProcessingStage.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummaryProcessingStage.ts +1 -1
- package/src/api/api-schemas/datasetVersionsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/datasetVersionsGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/datasetsGetResponse.ts +1 -1
- package/src/api/api-schemas/deleteDatasetParams.fetch.ts +1 -1
- package/src/api/api-schemas/deleteDatasetParams.ts +1 -1
- package/src/api/api-schemas/deletePathParams.fetch.ts +1 -1
- package/src/api/api-schemas/deletePathParams.ts +1 -1
- package/src/api/api-schemas/deleteUnmanagedFileParams.fetch.ts +1 -1
- package/src/api/api-schemas/deleteUnmanagedFileParams.ts +1 -1
- package/src/api/api-schemas/dmError.fetch.ts +1 -1
- package/src/api/api-schemas/dmError.ts +1 -1
- package/src/api/api-schemas/exchangeRateDetail.fetch.ts +1 -1
- package/src/api/api-schemas/exchangeRateDetail.ts +1 -1
- package/src/api/api-schemas/exchangeRatePutBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/exchangeRatePutBodyBody.ts +1 -1
- package/src/api/api-schemas/filePathFile.fetch.ts +1 -1
- package/src/api/api-schemas/filePathFile.ts +1 -1
- package/src/api/api-schemas/filePostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/filePostBodyBody.ts +1 -1
- package/src/api/api-schemas/filePostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/filePostResponse.ts +1 -1
- package/src/api/api-schemas/fileStat.fetch.ts +1 -1
- package/src/api/api-schemas/fileStat.ts +1 -1
- package/src/api/api-schemas/filesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/filesGetResponse.ts +1 -1
- package/src/api/api-schemas/getAllExchangeRatesResponse.fetch.ts +1 -1
- package/src/api/api-schemas/getAllExchangeRatesResponse.ts +1 -1
- package/src/api/api-schemas/getAllJobExchangeRatesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getAllJobExchangeRatesParams.ts +1 -1
- package/src/api/api-schemas/getDatasetsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getDatasetsParams.ts +1 -1
- package/src/api/api-schemas/getExchangeRatesResponse.fetch.ts +1 -1
- package/src/api/api-schemas/getExchangeRatesResponse.ts +1 -1
- package/src/api/api-schemas/getFilesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getFilesParams.ts +1 -1
- package/src/api/api-schemas/getInstancesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getInstancesParams.ts +1 -1
- package/src/api/api-schemas/getJobByVersionParams.fetch.ts +1 -1
- package/src/api/api-schemas/getJobByVersionParams.ts +1 -1
- package/src/api/api-schemas/getJobExchangeRatesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getJobExchangeRatesParams.ts +1 -1
- package/src/api/api-schemas/getJobParams.fetch.ts +1 -1
- package/src/api/api-schemas/getJobParams.ts +1 -1
- package/src/api/api-schemas/getJobsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getJobsParams.ts +1 -1
- package/src/api/api-schemas/getProjectFileParams.fetch.ts +1 -1
- package/src/api/api-schemas/getProjectFileParams.ts +1 -1
- package/src/api/api-schemas/getProjectFileWithTokenParams.fetch.ts +1 -1
- package/src/api/api-schemas/getProjectFileWithTokenParams.ts +1 -1
- package/src/api/api-schemas/getProjectsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getProjectsParams.ts +1 -1
- package/src/api/api-schemas/getRunningWorkflowsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getRunningWorkflowsParams.ts +1 -1
- package/src/api/api-schemas/getTaskParams.fetch.ts +1 -1
- package/src/api/api-schemas/getTaskParams.ts +1 -1
- package/src/api/api-schemas/getTasksParams.fetch.ts +1 -1
- package/src/api/api-schemas/getTasksParams.ts +1 -1
- package/src/api/api-schemas/getUserAccountParams.fetch.ts +1 -1
- package/src/api/api-schemas/getUserAccountParams.ts +1 -1
- package/src/api/api-schemas/getUserApiLogParams.fetch.ts +1 -1
- package/src/api/api-schemas/getUserApiLogParams.ts +1 -1
- package/src/api/api-schemas/getUserInventoryParams.fetch.ts +1 -1
- package/src/api/api-schemas/getUserInventoryParams.ts +1 -1
- package/src/api/api-schemas/getVersionsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getVersionsParams.ts +1 -1
- package/src/api/api-schemas/index.ts +1 -1
- package/src/api/api-schemas/inputHandlerDetail.fetch.ts +1 -1
- package/src/api/api-schemas/inputHandlerDetail.ts +1 -1
- package/src/api/api-schemas/inputHandlerGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/inputHandlerGetResponse.ts +1 -1
- package/src/api/api-schemas/instanceDeleteResponse.fetch.ts +1 -1
- package/src/api/api-schemas/instanceDeleteResponse.ts +1 -1
- package/src/api/api-schemas/instanceDryRunPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/instanceDryRunPostResponse.ts +1 -1
- package/src/api/api-schemas/instanceGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/instanceGetResponse.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseApplicationType.fetch.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseApplicationType.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseJobImageType.fetch.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseJobImageType.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseOutputs.fetch.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseOutputs.ts +1 -1
- package/src/api/api-schemas/instanceGetResponsePhase.fetch.ts +1 -1
- package/src/api/api-schemas/instanceGetResponsePhase.ts +1 -1
- package/src/api/api-schemas/instancePostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/instancePostBodyBody.ts +1 -1
- package/src/api/api-schemas/instancePostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/instancePostResponse.ts +1 -1
- package/src/api/api-schemas/instanceSummary.fetch.ts +1 -1
- package/src/api/api-schemas/instanceSummary.ts +1 -1
- package/src/api/api-schemas/instanceSummaryApplicationType.fetch.ts +1 -1
- package/src/api/api-schemas/instanceSummaryApplicationType.ts +1 -1
- package/src/api/api-schemas/instanceSummaryJobImageType.fetch.ts +1 -1
- package/src/api/api-schemas/instanceSummaryJobImageType.ts +1 -1
- package/src/api/api-schemas/instanceSummaryOutputs.fetch.ts +1 -1
- package/src/api/api-schemas/instanceSummaryOutputs.ts +1 -1
- package/src/api/api-schemas/instanceSummaryPhase.fetch.ts +1 -1
- package/src/api/api-schemas/instanceSummaryPhase.ts +1 -1
- package/src/api/api-schemas/instanceTask.fetch.ts +1 -1
- package/src/api/api-schemas/instanceTask.ts +1 -1
- package/src/api/api-schemas/instanceTaskPurpose.fetch.ts +1 -1
- package/src/api/api-schemas/instanceTaskPurpose.ts +1 -1
- package/src/api/api-schemas/instancesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/instancesGetResponse.ts +1 -1
- package/src/api/api-schemas/inventoryDatasetDetail.fetch.ts +1 -1
- package/src/api/api-schemas/inventoryDatasetDetail.ts +1 -1
- package/src/api/api-schemas/inventoryProjectDetail.fetch.ts +1 -1
- package/src/api/api-schemas/inventoryProjectDetail.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetail.fetch.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetail.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetailDatasets.fetch.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetailDatasets.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetailProjects.fetch.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetailProjects.ts +1 -1
- package/src/api/api-schemas/inventoryUserGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/inventoryUserGetResponse.ts +1 -1
- package/src/api/api-schemas/jobApplication.fetch.ts +1 -1
- package/src/api/api-schemas/jobApplication.ts +1 -1
- package/src/api/api-schemas/jobExchangeRateSummary.fetch.ts +1 -1
- package/src/api/api-schemas/jobExchangeRateSummary.ts +1 -1
- package/src/api/api-schemas/jobGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/jobGetResponse.ts +1 -1
- package/src/api/api-schemas/jobGetResponseImageType.fetch.ts +1 -1
- package/src/api/api-schemas/jobGetResponseImageType.ts +1 -1
- package/src/api/api-schemas/jobManifestDetail.fetch.ts +1 -1
- package/src/api/api-schemas/jobManifestDetail.ts +1 -1
- package/src/api/api-schemas/jobManifestPutBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/jobManifestPutBodyBody.ts +1 -1
- package/src/api/api-schemas/jobOrderDetail.fetch.ts +1 -1
- package/src/api/api-schemas/jobOrderDetail.ts +1 -1
- package/src/api/api-schemas/jobReplacement.fetch.ts +1 -1
- package/src/api/api-schemas/jobReplacement.ts +1 -1
- package/src/api/api-schemas/jobReplacements.fetch.ts +1 -1
- package/src/api/api-schemas/jobReplacements.ts +1 -1
- package/src/api/api-schemas/jobSummary.fetch.ts +1 -1
- package/src/api/api-schemas/jobSummary.ts +1 -1
- package/src/api/api-schemas/jobSummaryImageType.fetch.ts +1 -1
- package/src/api/api-schemas/jobSummaryImageType.ts +1 -1
- package/src/api/api-schemas/jobVariables.fetch.ts +1 -1
- package/src/api/api-schemas/jobVariables.ts +1 -1
- package/src/api/api-schemas/jobVariablesInputs.fetch.ts +1 -1
- package/src/api/api-schemas/jobVariablesInputs.ts +1 -1
- package/src/api/api-schemas/jobVariablesOptions.fetch.ts +1 -1
- package/src/api/api-schemas/jobVariablesOptions.ts +1 -1
- package/src/api/api-schemas/jobVariablesOutputs.fetch.ts +1 -1
- package/src/api/api-schemas/jobVariablesOutputs.ts +1 -1
- package/src/api/api-schemas/jobsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/jobsGetResponse.ts +1 -1
- package/src/api/api-schemas/modeGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/modeGetResponse.ts +1 -1
- package/src/api/api-schemas/moveFileInProjectParams.fetch.ts +1 -1
- package/src/api/api-schemas/moveFileInProjectParams.ts +1 -1
- package/src/api/api-schemas/movePathParams.fetch.ts +1 -1
- package/src/api/api-schemas/movePathParams.ts +1 -1
- package/src/api/api-schemas/patchInstanceParams.fetch.ts +1 -1
- package/src/api/api-schemas/patchInstanceParams.ts +1 -1
- package/src/api/api-schemas/projectDeleteResponse.fetch.ts +1 -1
- package/src/api/api-schemas/projectDeleteResponse.ts +1 -1
- package/src/api/api-schemas/projectDetail.fetch.ts +1 -1
- package/src/api/api-schemas/projectDetail.ts +1 -1
- package/src/api/api-schemas/projectFileDetail.fetch.ts +1 -1
- package/src/api/api-schemas/projectFileDetail.ts +1 -1
- package/src/api/api-schemas/projectFileDetailProcessingStage.fetch.ts +1 -1
- package/src/api/api-schemas/projectFileDetailProcessingStage.ts +1 -1
- package/src/api/api-schemas/projectFilePutBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/projectFilePutBodyBody.ts +1 -1
- package/src/api/api-schemas/projectGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/projectGetResponse.ts +1 -1
- package/src/api/api-schemas/projectPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/projectPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/projectPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/projectPostBodyBody.ts +1 -1
- package/src/api/api-schemas/projectPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/projectPostResponse.ts +1 -1
- package/src/api/api-schemas/projectsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/projectsGetResponse.ts +1 -1
- package/src/api/api-schemas/qActiveDaysParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qActiveDaysParameter.ts +1 -1
- package/src/api/api-schemas/qApplicationIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qApplicationIdParameter.ts +1 -1
- package/src/api/api-schemas/qCurrentParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qCurrentParameter.ts +1 -1
- package/src/api/api-schemas/qDatasetMimeTypeParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qDatasetMimeTypeParameter.ts +1 -1
- package/src/api/api-schemas/qDoNotImpersonateParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qDoNotImpersonateParameter.ts +1 -1
- package/src/api/api-schemas/qDstFileParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qDstFileParameter.ts +1 -1
- package/src/api/api-schemas/qEditorsParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qEditorsParameter.ts +1 -1
- package/src/api/api-schemas/qEventLimitParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qEventLimitParameter.ts +1 -1
- package/src/api/api-schemas/qEventPriorOrdinalParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qEventPriorOrdinalParameter.ts +1 -1
- package/src/api/api-schemas/qExcludeDoneParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qExcludeDoneParameter.ts +1 -1
- package/src/api/api-schemas/qExcludePurposeParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qExcludePurposeParameter.ts +1 -1
- package/src/api/api-schemas/qExcludeRemovalParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qExcludeRemovalParameter.ts +1 -1
- package/src/api/api-schemas/qFileDstPathParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFileDstPathParameter.ts +1 -1
- package/src/api/api-schemas/qFileParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFileParameter.ts +1 -1
- package/src/api/api-schemas/qFilePathParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFilePathParameter.ts +1 -1
- package/src/api/api-schemas/qFileProjectIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFileProjectIdParameter.ts +1 -1
- package/src/api/api-schemas/qFileSrcPathParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFileSrcPathParameter.ts +1 -1
- package/src/api/api-schemas/qFromParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFromParameter.ts +1 -1
- package/src/api/api-schemas/qIdleDaysParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qIdleDaysParameter.ts +1 -1
- package/src/api/api-schemas/qIncludeAcknowledgedParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qIncludeAcknowledgedParameter.ts +1 -1
- package/src/api/api-schemas/qIncludeDeletedParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qIncludeDeletedParameter.ts +1 -1
- package/src/api/api-schemas/qIncludeHiddenParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qIncludeHiddenParameter.ts +1 -1
- package/src/api/api-schemas/qInstanceArchiveParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qInstanceArchiveParameter.ts +1 -1
- package/src/api/api-schemas/qInstanceCallbackContextParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qInstanceCallbackContextParameter.ts +1 -1
- package/src/api/api-schemas/qJobCollectionParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qJobCollectionParameter.ts +1 -1
- package/src/api/api-schemas/qJobIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qJobIdParameter.ts +1 -1
- package/src/api/api-schemas/qJobJobParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qJobJobParameter.ts +1 -1
- package/src/api/api-schemas/qJobVersionParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qJobVersionParameter.ts +1 -1
- package/src/api/api-schemas/qKeepProjectFilesParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qKeepProjectFilesParameter.ts +1 -1
- package/src/api/api-schemas/qLabelsParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qLabelsParameter.ts +1 -1
- package/src/api/api-schemas/qOnlyUndefinedParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qOnlyUndefinedParameter.ts +1 -1
- package/src/api/api-schemas/qOrgIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qOrgIdParameter.ts +1 -1
- package/src/api/api-schemas/qOwnersParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qOwnersParameter.ts +1 -1
- package/src/api/api-schemas/qProjectIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qProjectIdParameter.ts +1 -1
- package/src/api/api-schemas/qProjectNameParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qProjectNameParameter.ts +1 -1
- package/src/api/api-schemas/qPurgeParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qPurgeParameter.ts +1 -1
- package/src/api/api-schemas/qPurposeParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qPurposeParameter.ts +1 -1
- package/src/api/api-schemas/qTokenParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qTokenParameter.ts +1 -1
- package/src/api/api-schemas/qUnitIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qUnitIdParameter.ts +1 -1
- package/src/api/api-schemas/qUntilParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qUntilParameter.ts +1 -1
- package/src/api/api-schemas/qUsernameParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qUsernameParameter.ts +1 -1
- package/src/api/api-schemas/qUsernamesParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qUsernamesParameter.ts +1 -1
- package/src/api/api-schemas/qWorkflowIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qWorkflowIdParameter.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetAllResponse.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetAllResponse.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponse.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponseStatus.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponseStatus.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponseVariables.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponseVariables.ts +1 -1
- package/src/api/api-schemas/runningWorkflowProject.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowProject.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStep.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStep.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepStatus.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepStatus.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepVariables.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepVariables.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepsGetResponse.ts +1 -1
- package/src/api/api-schemas/runningWorkflowSummary.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowSummary.ts +1 -1
- package/src/api/api-schemas/runningWorkflowSummaryStatus.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowSummaryStatus.ts +1 -1
- package/src/api/api-schemas/runningWorkflowWorkflow.fetch.ts +1 -1
- package/src/api/api-schemas/runningWorkflowWorkflow.ts +1 -1
- package/src/api/api-schemas/serviceErrorSummary.fetch.ts +1 -1
- package/src/api/api-schemas/serviceErrorSummary.ts +1 -1
- package/src/api/api-schemas/serviceErrorSummarySeverity.fetch.ts +1 -1
- package/src/api/api-schemas/serviceErrorSummarySeverity.ts +1 -1
- package/src/api/api-schemas/serviceErrorsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/serviceErrorsGetResponse.ts +1 -1
- package/src/api/api-schemas/taskEvent.fetch.ts +1 -1
- package/src/api/api-schemas/taskEvent.ts +1 -1
- package/src/api/api-schemas/taskEventLevel.fetch.ts +1 -1
- package/src/api/api-schemas/taskEventLevel.ts +1 -1
- package/src/api/api-schemas/taskGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/taskGetResponse.ts +1 -1
- package/src/api/api-schemas/taskGetResponsePurpose.fetch.ts +1 -1
- package/src/api/api-schemas/taskGetResponsePurpose.ts +1 -1
- package/src/api/api-schemas/taskIdentity.fetch.ts +1 -1
- package/src/api/api-schemas/taskIdentity.ts +1 -1
- package/src/api/api-schemas/taskState.fetch.ts +1 -1
- package/src/api/api-schemas/taskState.ts +1 -1
- package/src/api/api-schemas/taskStateState.fetch.ts +1 -1
- package/src/api/api-schemas/taskStateState.ts +1 -1
- package/src/api/api-schemas/taskSummary.fetch.ts +1 -1
- package/src/api/api-schemas/taskSummary.ts +1 -1
- package/src/api/api-schemas/taskSummaryProcessingStage.fetch.ts +1 -1
- package/src/api/api-schemas/taskSummaryProcessingStage.ts +1 -1
- package/src/api/api-schemas/tasksGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/tasksGetResponse.ts +1 -1
- package/src/api/api-schemas/typeSummary.fetch.ts +1 -1
- package/src/api/api-schemas/typeSummary.ts +1 -1
- package/src/api/api-schemas/typeSummaryFormatterOptions.fetch.ts +1 -1
- package/src/api/api-schemas/typeSummaryFormatterOptions.ts +1 -1
- package/src/api/api-schemas/typeSummaryFormatterOptionsType.fetch.ts +1 -1
- package/src/api/api-schemas/typeSummaryFormatterOptionsType.ts +1 -1
- package/src/api/api-schemas/typesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/typesGetResponse.ts +1 -1
- package/src/api/api-schemas/userAccountDetail.fetch.ts +1 -1
- package/src/api/api-schemas/userAccountDetail.ts +1 -1
- package/src/api/api-schemas/userAccountGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/userAccountGetResponse.ts +1 -1
- package/src/api/api-schemas/userAccountPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/userAccountPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/userActivityDetail.fetch.ts +1 -1
- package/src/api/api-schemas/userActivityDetail.ts +1 -1
- package/src/api/api-schemas/userActivityDetailPeriod.fetch.ts +1 -1
- package/src/api/api-schemas/userActivityDetailPeriod.ts +1 -1
- package/src/api/api-schemas/userApiLogGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/userApiLogGetResponse.ts +1 -1
- package/src/api/api-schemas/userApiTokenGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/userApiTokenGetResponse.ts +1 -1
- package/src/api/api-schemas/userDetail.fetch.ts +1 -1
- package/src/api/api-schemas/userDetail.ts +1 -1
- package/src/api/api-schemas/userPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/userPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/userSummary.fetch.ts +1 -1
- package/src/api/api-schemas/userSummary.ts +1 -1
- package/src/api/api-schemas/usersGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/usersGetResponse.ts +1 -1
- package/src/api/api-schemas/versionGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/versionGetResponse.ts +1 -1
- package/src/api/api-schemas/workflowDefinitionGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/workflowDefinitionGetResponse.ts +1 -1
- package/src/api/api-schemas/workflowGetAllResponse.fetch.ts +1 -1
- package/src/api/api-schemas/workflowGetAllResponse.ts +1 -1
- package/src/api/api-schemas/workflowGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/workflowGetResponse.ts +1 -1
- package/src/api/api-schemas/workflowGetResponseScope.fetch.ts +1 -1
- package/src/api/api-schemas/workflowGetResponseScope.ts +1 -1
- package/src/api/api-schemas/workflowGetResponseVariables.fetch.ts +1 -1
- package/src/api/api-schemas/workflowGetResponseVariables.ts +1 -1
- package/src/api/api-schemas/workflowPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/workflowPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowPatchResponse.fetch.ts +1 -1
- package/src/api/api-schemas/workflowPatchResponse.ts +1 -1
- package/src/api/api-schemas/workflowPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/workflowPostBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowPostBodyBodyScope.fetch.ts +1 -1
- package/src/api/api-schemas/workflowPostBodyBodyScope.ts +1 -1
- package/src/api/api-schemas/workflowPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/workflowPostResponse.ts +1 -1
- package/src/api/api-schemas/workflowRunPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/workflowRunPostBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowRunPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/workflowRunPostResponse.ts +1 -1
- package/src/api/api-schemas/workflowStepSummary.fetch.ts +1 -1
- package/src/api/api-schemas/workflowStepSummary.ts +1 -1
- package/src/api/api-schemas/workflowStepSummarySpecification.fetch.ts +1 -1
- package/src/api/api-schemas/workflowStepSummarySpecification.ts +1 -1
- package/src/api/api-schemas/workflowSummary.fetch.ts +1 -1
- package/src/api/api-schemas/workflowSummary.ts +1 -1
- package/src/api/api-schemas/workflowSummaryScope.fetch.ts +1 -1
- package/src/api/api-schemas/workflowSummaryScope.ts +1 -1
- package/src/api/api-schemas/workflowVersionPutBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/workflowVersionPutBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowVersionPutResponse.fetch.ts +1 -1
- package/src/api/api-schemas/workflowVersionPutResponse.ts +1 -1
- package/src/api/application/application.fetch.ts +20 -5
- package/src/api/application/application.ts +20 -5
- package/src/api/configuration/configuration.fetch.ts +20 -5
- package/src/api/configuration/configuration.ts +20 -5
- package/src/api/dataset/dataset.fetch.ts +269 -615
- package/src/api/dataset/dataset.ts +269 -615
- package/src/api/digest/digest.fetch.ts +18 -3
- package/src/api/digest/digest.ts +18 -3
- package/src/api/file-and-path/file-and-path.fetch.ts +420 -876
- package/src/api/file-and-path/file-and-path.ts +420 -876
- package/src/api/instance/instance.fetch.ts +266 -569
- package/src/api/instance/instance.ts +266 -569
- package/src/api/inventory/inventory.fetch.ts +18 -3
- package/src/api/inventory/inventory.ts +18 -3
- package/src/api/job/job.fetch.ts +79 -132
- package/src/api/job/job.ts +79 -132
- package/src/api/metadata/metadata.fetch.ts +122 -282
- package/src/api/metadata/metadata.ts +122 -285
- package/src/api/project/project.fetch.ts +467 -1095
- package/src/api/project/project.ts +506 -1134
- package/src/api/task/task.fetch.ts +72 -112
- package/src/api/task/task.ts +72 -112
- package/src/api/type/type.fetch.ts +18 -3
- package/src/api/type/type.ts +18 -3
- package/src/api/user/user.fetch.ts +78 -118
- package/src/api/user/user.ts +78 -118
- package/src/api/workflow/workflow.fetch.ts +496 -958
- package/src/api/workflow/workflow.ts +477 -939
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.22.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Dataset Manager API
|
|
5
5
|
* The Dataset Manager API service.
|
|
@@ -8,16 +8,19 @@
|
|
|
8
8
|
*
|
|
9
9
|
* OpenAPI spec version: 6.7
|
|
10
10
|
*/
|
|
11
|
-
import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
11
|
+
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
|
13
13
|
DataTag,
|
|
14
14
|
DefinedInitialDataOptions,
|
|
15
15
|
DefinedUseQueryResult,
|
|
16
16
|
InvalidateOptions,
|
|
17
|
+
MutationFunction,
|
|
17
18
|
QueryClient,
|
|
18
19
|
QueryFunction,
|
|
19
20
|
QueryKey,
|
|
20
21
|
UndefinedInitialDataOptions,
|
|
22
|
+
UseMutationOptions,
|
|
23
|
+
UseMutationResult,
|
|
21
24
|
UseQueryOptions,
|
|
22
25
|
UseQueryResult,
|
|
23
26
|
UseSuspenseQueryOptions,
|
|
@@ -48,6 +51,21 @@ import type { ErrorType } from "../../custom-fetch";
|
|
|
48
51
|
|
|
49
52
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
50
53
|
|
|
54
|
+
const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {
|
|
55
|
+
const result = { queryKey } as T & { queryKey: K };
|
|
56
|
+
for (const key of Object.keys(query)) {
|
|
57
|
+
// The explicit queryKey always wins, matching the previous
|
|
58
|
+
// `{ ...query, queryKey }` spread where it was set last.
|
|
59
|
+
if (key === "queryKey") continue;
|
|
60
|
+
Object.defineProperty(result, key, {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
configurable: true,
|
|
63
|
+
get: () => (query as Record<string, unknown>)[key],
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
return result;
|
|
67
|
+
};
|
|
68
|
+
|
|
51
69
|
export type getWorkflowsResponse200 = { data: WorkflowGetAllResponse; status: 200 };
|
|
52
70
|
|
|
53
71
|
export type getWorkflowsResponse401 = { data: void; status: 401 };
|
|
@@ -163,7 +181,7 @@ export function useGetWorkflows<
|
|
|
163
181
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
164
182
|
};
|
|
165
183
|
|
|
166
|
-
return
|
|
184
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
167
185
|
}
|
|
168
186
|
|
|
169
187
|
/**
|
|
@@ -261,7 +279,7 @@ export function useGetWorkflowsSuspense<
|
|
|
261
279
|
TError
|
|
262
280
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
263
281
|
|
|
264
|
-
return
|
|
282
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
265
283
|
}
|
|
266
284
|
|
|
267
285
|
export type createWorkflowResponse201 = { data: WorkflowPostResponse; status: 201 };
|
|
@@ -305,126 +323,68 @@ export const createWorkflow = async (
|
|
|
305
323
|
});
|
|
306
324
|
};
|
|
307
325
|
|
|
308
|
-
export const
|
|
309
|
-
return ["data-manager", "POST", "workflow", workflowPostBodyBody] as const;
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
export const getCreateWorkflowQueryOptions = <
|
|
313
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
326
|
+
export const getCreateWorkflowMutationOptions = <
|
|
314
327
|
TError = ErrorType<void>,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
319
|
-
request?: SecondParameter<typeof customFetch>;
|
|
320
|
-
},
|
|
321
|
-
) => {
|
|
322
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
323
|
-
|
|
324
|
-
const queryKey = queryOptions?.queryKey ?? getCreateWorkflowQueryKey(workflowPostBodyBody);
|
|
325
|
-
|
|
326
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof createWorkflow>>> = ({ signal }) =>
|
|
327
|
-
createWorkflow(workflowPostBodyBody, { signal, ...requestOptions });
|
|
328
|
-
|
|
329
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
328
|
+
TContext = unknown,
|
|
329
|
+
>(options?: {
|
|
330
|
+
mutation?: UseMutationOptions<
|
|
330
331
|
Awaited<ReturnType<typeof createWorkflow>>,
|
|
331
332
|
TError,
|
|
332
|
-
|
|
333
|
-
|
|
333
|
+
{ data: WorkflowPostBodyBody },
|
|
334
|
+
TContext
|
|
335
|
+
>;
|
|
336
|
+
request?: SecondParameter<typeof customFetch>;
|
|
337
|
+
}): UseMutationOptions<
|
|
338
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
339
|
+
TError,
|
|
340
|
+
{ data: WorkflowPostBodyBody },
|
|
341
|
+
TContext
|
|
342
|
+
> => {
|
|
343
|
+
const mutationKey = ["createWorkflow"];
|
|
344
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
345
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
346
|
+
? options
|
|
347
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
348
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
349
|
+
|
|
350
|
+
const mutationFn: MutationFunction<
|
|
351
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
352
|
+
{ data: WorkflowPostBodyBody }
|
|
353
|
+
> = (props) => {
|
|
354
|
+
const { data } = props ?? {};
|
|
355
|
+
|
|
356
|
+
return createWorkflow(data, requestOptions);
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
return { mutationFn, ...mutationOptions };
|
|
334
360
|
};
|
|
335
361
|
|
|
336
|
-
export type
|
|
337
|
-
export type
|
|
362
|
+
export type CreateWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof createWorkflow>>>;
|
|
363
|
+
export type CreateWorkflowMutationBody = WorkflowPostBodyBody;
|
|
364
|
+
export type CreateWorkflowMutationError = ErrorType<void>;
|
|
338
365
|
|
|
339
|
-
export function useCreateWorkflow<
|
|
340
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
341
|
-
TError = ErrorType<void>,
|
|
342
|
-
>(
|
|
343
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
344
|
-
options: {
|
|
345
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
346
|
-
Pick<
|
|
347
|
-
DefinedInitialDataOptions<
|
|
348
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
349
|
-
TError,
|
|
350
|
-
Awaited<ReturnType<typeof createWorkflow>>
|
|
351
|
-
>,
|
|
352
|
-
"initialData"
|
|
353
|
-
>;
|
|
354
|
-
request?: SecondParameter<typeof customFetch>;
|
|
355
|
-
},
|
|
356
|
-
queryClient?: QueryClient,
|
|
357
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
358
|
-
export function useCreateWorkflow<
|
|
359
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
360
|
-
TError = ErrorType<void>,
|
|
361
|
-
>(
|
|
362
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
363
|
-
options?: {
|
|
364
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
365
|
-
Pick<
|
|
366
|
-
UndefinedInitialDataOptions<
|
|
367
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
368
|
-
TError,
|
|
369
|
-
Awaited<ReturnType<typeof createWorkflow>>
|
|
370
|
-
>,
|
|
371
|
-
"initialData"
|
|
372
|
-
>;
|
|
373
|
-
request?: SecondParameter<typeof customFetch>;
|
|
374
|
-
},
|
|
375
|
-
queryClient?: QueryClient,
|
|
376
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
377
|
-
export function useCreateWorkflow<
|
|
378
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
379
|
-
TError = ErrorType<void>,
|
|
380
|
-
>(
|
|
381
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
382
|
-
options?: {
|
|
383
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
384
|
-
request?: SecondParameter<typeof customFetch>;
|
|
385
|
-
},
|
|
386
|
-
queryClient?: QueryClient,
|
|
387
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
388
366
|
/**
|
|
389
367
|
* @summary Create a new Workflow
|
|
390
368
|
*/
|
|
391
|
-
|
|
392
|
-
export function useCreateWorkflow<
|
|
393
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
394
|
-
TError = ErrorType<void>,
|
|
395
|
-
>(
|
|
396
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
369
|
+
export const useCreateWorkflow = <TError = ErrorType<void>, TContext = unknown>(
|
|
397
370
|
options?: {
|
|
398
|
-
|
|
371
|
+
mutation?: UseMutationOptions<
|
|
372
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
373
|
+
TError,
|
|
374
|
+
{ data: WorkflowPostBodyBody },
|
|
375
|
+
TContext
|
|
376
|
+
>;
|
|
399
377
|
request?: SecondParameter<typeof customFetch>;
|
|
400
378
|
},
|
|
401
379
|
queryClient?: QueryClient,
|
|
402
|
-
):
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* @summary Create a new Workflow
|
|
414
|
-
*/
|
|
415
|
-
export const invalidateCreateWorkflow = async (
|
|
416
|
-
queryClient: QueryClient,
|
|
417
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
418
|
-
options?: InvalidateOptions,
|
|
419
|
-
): Promise<QueryClient> => {
|
|
420
|
-
await queryClient.invalidateQueries(
|
|
421
|
-
{ queryKey: getCreateWorkflowQueryKey(workflowPostBodyBody) },
|
|
422
|
-
options,
|
|
423
|
-
);
|
|
424
|
-
|
|
425
|
-
return queryClient;
|
|
380
|
+
): UseMutationResult<
|
|
381
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
382
|
+
TError,
|
|
383
|
+
{ data: WorkflowPostBodyBody },
|
|
384
|
+
TContext
|
|
385
|
+
> => {
|
|
386
|
+
return useMutation(getCreateWorkflowMutationOptions(options), queryClient);
|
|
426
387
|
};
|
|
427
|
-
|
|
428
388
|
export type getWorkflowResponse200 = { data: WorkflowGetResponse; status: 200 };
|
|
429
389
|
|
|
430
390
|
export type getWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -560,7 +520,7 @@ export function useGetWorkflow<
|
|
|
560
520
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
561
521
|
};
|
|
562
522
|
|
|
563
|
-
return
|
|
523
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
564
524
|
}
|
|
565
525
|
|
|
566
526
|
/**
|
|
@@ -666,7 +626,7 @@ export function useGetWorkflowSuspense<
|
|
|
666
626
|
TError
|
|
667
627
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
668
628
|
|
|
669
|
-
return
|
|
629
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
670
630
|
}
|
|
671
631
|
|
|
672
632
|
export type deleteWorkflowResponse204 = { data: void; status: 204 };
|
|
@@ -703,126 +663,68 @@ export const deleteWorkflow = async (
|
|
|
703
663
|
});
|
|
704
664
|
};
|
|
705
665
|
|
|
706
|
-
export const
|
|
707
|
-
return ["data-manager", "DELETE", "workflow", workflowId] as const;
|
|
708
|
-
};
|
|
709
|
-
|
|
710
|
-
export const getDeleteWorkflowQueryOptions = <
|
|
711
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
666
|
+
export const getDeleteWorkflowMutationOptions = <
|
|
712
667
|
TError = ErrorType<void | DmError>,
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
668
|
+
TContext = unknown,
|
|
669
|
+
>(options?: {
|
|
670
|
+
mutation?: UseMutationOptions<
|
|
671
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
672
|
+
TError,
|
|
673
|
+
{ workflowId: string },
|
|
674
|
+
TContext
|
|
675
|
+
>;
|
|
676
|
+
request?: SecondParameter<typeof customFetch>;
|
|
677
|
+
}): UseMutationOptions<
|
|
678
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
679
|
+
TError,
|
|
680
|
+
{ workflowId: string },
|
|
681
|
+
TContext
|
|
682
|
+
> => {
|
|
683
|
+
const mutationKey = ["deleteWorkflow"];
|
|
684
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
685
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
686
|
+
? options
|
|
687
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
688
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
689
|
+
|
|
690
|
+
const mutationFn: MutationFunction<
|
|
691
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
692
|
+
{ workflowId: string }
|
|
693
|
+
> = (props) => {
|
|
694
|
+
const { workflowId } = props ?? {};
|
|
695
|
+
|
|
696
|
+
return deleteWorkflow(workflowId, requestOptions);
|
|
734
697
|
};
|
|
698
|
+
|
|
699
|
+
return { mutationFn, ...mutationOptions };
|
|
735
700
|
};
|
|
736
701
|
|
|
737
|
-
export type
|
|
738
|
-
|
|
702
|
+
export type DeleteWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof deleteWorkflow>>>;
|
|
703
|
+
|
|
704
|
+
export type DeleteWorkflowMutationError = ErrorType<void | DmError>;
|
|
739
705
|
|
|
740
|
-
export function useDeleteWorkflow<
|
|
741
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
742
|
-
TError = ErrorType<void | DmError>,
|
|
743
|
-
>(
|
|
744
|
-
workflowId: string,
|
|
745
|
-
options: {
|
|
746
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
747
|
-
Pick<
|
|
748
|
-
DefinedInitialDataOptions<
|
|
749
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
750
|
-
TError,
|
|
751
|
-
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
752
|
-
>,
|
|
753
|
-
"initialData"
|
|
754
|
-
>;
|
|
755
|
-
request?: SecondParameter<typeof customFetch>;
|
|
756
|
-
},
|
|
757
|
-
queryClient?: QueryClient,
|
|
758
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
759
|
-
export function useDeleteWorkflow<
|
|
760
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
761
|
-
TError = ErrorType<void | DmError>,
|
|
762
|
-
>(
|
|
763
|
-
workflowId: string,
|
|
764
|
-
options?: {
|
|
765
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
766
|
-
Pick<
|
|
767
|
-
UndefinedInitialDataOptions<
|
|
768
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
769
|
-
TError,
|
|
770
|
-
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
771
|
-
>,
|
|
772
|
-
"initialData"
|
|
773
|
-
>;
|
|
774
|
-
request?: SecondParameter<typeof customFetch>;
|
|
775
|
-
},
|
|
776
|
-
queryClient?: QueryClient,
|
|
777
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
778
|
-
export function useDeleteWorkflow<
|
|
779
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
780
|
-
TError = ErrorType<void | DmError>,
|
|
781
|
-
>(
|
|
782
|
-
workflowId: string,
|
|
783
|
-
options?: {
|
|
784
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
785
|
-
request?: SecondParameter<typeof customFetch>;
|
|
786
|
-
},
|
|
787
|
-
queryClient?: QueryClient,
|
|
788
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
789
706
|
/**
|
|
790
707
|
* @summary Delete a Workflow
|
|
791
708
|
*/
|
|
792
|
-
|
|
793
|
-
export function useDeleteWorkflow<
|
|
794
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
795
|
-
TError = ErrorType<void | DmError>,
|
|
796
|
-
>(
|
|
797
|
-
workflowId: string,
|
|
709
|
+
export const useDeleteWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
798
710
|
options?: {
|
|
799
|
-
|
|
711
|
+
mutation?: UseMutationOptions<
|
|
712
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
713
|
+
TError,
|
|
714
|
+
{ workflowId: string },
|
|
715
|
+
TContext
|
|
716
|
+
>;
|
|
800
717
|
request?: SecondParameter<typeof customFetch>;
|
|
801
718
|
},
|
|
802
719
|
queryClient?: QueryClient,
|
|
803
|
-
):
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* @summary Delete a Workflow
|
|
815
|
-
*/
|
|
816
|
-
export const invalidateDeleteWorkflow = async (
|
|
817
|
-
queryClient: QueryClient,
|
|
818
|
-
workflowId: string,
|
|
819
|
-
options?: InvalidateOptions,
|
|
820
|
-
): Promise<QueryClient> => {
|
|
821
|
-
await queryClient.invalidateQueries({ queryKey: getDeleteWorkflowQueryKey(workflowId) }, options);
|
|
822
|
-
|
|
823
|
-
return queryClient;
|
|
720
|
+
): UseMutationResult<
|
|
721
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
722
|
+
TError,
|
|
723
|
+
{ workflowId: string },
|
|
724
|
+
TContext
|
|
725
|
+
> => {
|
|
726
|
+
return useMutation(getDeleteWorkflowMutationOptions(options), queryClient);
|
|
824
727
|
};
|
|
825
|
-
|
|
826
728
|
export type updateWorkflowResponse200 = { data: WorkflowPatchResponse; status: 200 };
|
|
827
729
|
|
|
828
730
|
export type updateWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -870,58 +772,156 @@ export const updateWorkflow = async (
|
|
|
870
772
|
});
|
|
871
773
|
};
|
|
872
774
|
|
|
873
|
-
export const
|
|
775
|
+
export const getUpdateWorkflowMutationOptions = <
|
|
776
|
+
TError = ErrorType<void | DmError>,
|
|
777
|
+
TContext = unknown,
|
|
778
|
+
>(options?: {
|
|
779
|
+
mutation?: UseMutationOptions<
|
|
780
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
781
|
+
TError,
|
|
782
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
783
|
+
TContext
|
|
784
|
+
>;
|
|
785
|
+
request?: SecondParameter<typeof customFetch>;
|
|
786
|
+
}): UseMutationOptions<
|
|
787
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
788
|
+
TError,
|
|
789
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
790
|
+
TContext
|
|
791
|
+
> => {
|
|
792
|
+
const mutationKey = ["updateWorkflow"];
|
|
793
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
794
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
795
|
+
? options
|
|
796
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
797
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
798
|
+
|
|
799
|
+
const mutationFn: MutationFunction<
|
|
800
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
801
|
+
{ workflowId: string; data: WorkflowPatchBodyBody }
|
|
802
|
+
> = (props) => {
|
|
803
|
+
const { workflowId, data } = props ?? {};
|
|
804
|
+
|
|
805
|
+
return updateWorkflow(workflowId, data, requestOptions);
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
return { mutationFn, ...mutationOptions };
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
export type UpdateWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof updateWorkflow>>>;
|
|
812
|
+
export type UpdateWorkflowMutationBody = WorkflowPatchBodyBody;
|
|
813
|
+
export type UpdateWorkflowMutationError = ErrorType<void | DmError>;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* @summary Update a Workflow
|
|
817
|
+
*/
|
|
818
|
+
export const useUpdateWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
819
|
+
options?: {
|
|
820
|
+
mutation?: UseMutationOptions<
|
|
821
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
822
|
+
TError,
|
|
823
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
824
|
+
TContext
|
|
825
|
+
>;
|
|
826
|
+
request?: SecondParameter<typeof customFetch>;
|
|
827
|
+
},
|
|
828
|
+
queryClient?: QueryClient,
|
|
829
|
+
): UseMutationResult<
|
|
830
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
831
|
+
TError,
|
|
832
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
833
|
+
TContext
|
|
834
|
+
> => {
|
|
835
|
+
return useMutation(getUpdateWorkflowMutationOptions(options), queryClient);
|
|
836
|
+
};
|
|
837
|
+
export type getWorkflowDefinitionResponse200 = { data: WorkflowDefinitionGetResponse; status: 200 };
|
|
838
|
+
|
|
839
|
+
export type getWorkflowDefinitionResponse401 = { data: void; status: 401 };
|
|
840
|
+
|
|
841
|
+
export type getWorkflowDefinitionResponse404 = { data: DmError; status: 404 };
|
|
842
|
+
|
|
843
|
+
export type getWorkflowDefinitionResponseSuccess = getWorkflowDefinitionResponse200 & {
|
|
844
|
+
headers: Headers;
|
|
845
|
+
};
|
|
846
|
+
export type getWorkflowDefinitionResponseError = (
|
|
847
|
+
| getWorkflowDefinitionResponse401
|
|
848
|
+
| getWorkflowDefinitionResponse404
|
|
849
|
+
) & { headers: Headers };
|
|
850
|
+
|
|
851
|
+
export type getWorkflowDefinitionResponse =
|
|
852
|
+
| getWorkflowDefinitionResponseSuccess
|
|
853
|
+
| getWorkflowDefinitionResponseError;
|
|
854
|
+
|
|
855
|
+
export const getGetWorkflowDefinitionUrl = (workflowId: string) => {
|
|
856
|
+
return `/workflow/${workflowId}/definition`;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Due to its potential size and complexity the definition is not returned with the Workflow. Instead, to retrieve the definition you need to call this endpoint. A string-encoded YAML document is returned.
|
|
861
|
+
* @summary Gets the full definition of a Workflow
|
|
862
|
+
*/
|
|
863
|
+
export const getWorkflowDefinition = async (
|
|
874
864
|
workflowId: string,
|
|
875
|
-
|
|
876
|
-
) => {
|
|
877
|
-
return
|
|
865
|
+
options?: RequestInit,
|
|
866
|
+
): Promise<getWorkflowDefinitionResponse> => {
|
|
867
|
+
return customFetch<getWorkflowDefinitionResponse>(getGetWorkflowDefinitionUrl(workflowId), {
|
|
868
|
+
...options,
|
|
869
|
+
method: "GET",
|
|
870
|
+
});
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
export const getGetWorkflowDefinitionQueryKey = (workflowId: string) => {
|
|
874
|
+
return ["data-manager", "workflow", workflowId, "definition"] as const;
|
|
878
875
|
};
|
|
879
876
|
|
|
880
|
-
export const
|
|
881
|
-
TData = Awaited<ReturnType<typeof
|
|
877
|
+
export const getGetWorkflowDefinitionQueryOptions = <
|
|
878
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
882
879
|
TError = ErrorType<void | DmError>,
|
|
883
880
|
>(
|
|
884
881
|
workflowId: string,
|
|
885
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
886
882
|
options?: {
|
|
887
|
-
query?: Partial<
|
|
883
|
+
query?: Partial<
|
|
884
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
885
|
+
>;
|
|
888
886
|
request?: SecondParameter<typeof customFetch>;
|
|
889
887
|
},
|
|
890
888
|
) => {
|
|
891
889
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
892
890
|
|
|
893
|
-
const queryKey =
|
|
894
|
-
queryOptions?.queryKey ?? getUpdateWorkflowQueryKey(workflowId, workflowPatchBodyBody);
|
|
891
|
+
const queryKey = queryOptions?.queryKey ?? getGetWorkflowDefinitionQueryKey(workflowId);
|
|
895
892
|
|
|
896
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof
|
|
897
|
-
|
|
893
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowDefinition>>> = ({ signal }) =>
|
|
894
|
+
getWorkflowDefinition(workflowId, { signal, ...requestOptions });
|
|
898
895
|
|
|
899
896
|
return {
|
|
900
897
|
queryKey,
|
|
901
898
|
queryFn,
|
|
902
899
|
enabled: workflowId !== null && workflowId !== undefined,
|
|
903
900
|
...queryOptions,
|
|
904
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof
|
|
901
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData> & {
|
|
905
902
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
906
903
|
};
|
|
907
904
|
};
|
|
908
905
|
|
|
909
|
-
export type
|
|
910
|
-
|
|
906
|
+
export type GetWorkflowDefinitionQueryResult = NonNullable<
|
|
907
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
908
|
+
>;
|
|
909
|
+
export type GetWorkflowDefinitionQueryError = ErrorType<void | DmError>;
|
|
911
910
|
|
|
912
|
-
export function
|
|
913
|
-
TData = Awaited<ReturnType<typeof
|
|
911
|
+
export function useGetWorkflowDefinition<
|
|
912
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
914
913
|
TError = ErrorType<void | DmError>,
|
|
915
914
|
>(
|
|
916
915
|
workflowId: string,
|
|
917
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
918
916
|
options: {
|
|
919
|
-
query: Partial<
|
|
917
|
+
query: Partial<
|
|
918
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
919
|
+
> &
|
|
920
920
|
Pick<
|
|
921
921
|
DefinedInitialDataOptions<
|
|
922
|
-
Awaited<ReturnType<typeof
|
|
922
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
923
923
|
TError,
|
|
924
|
-
Awaited<ReturnType<typeof
|
|
924
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
925
925
|
>,
|
|
926
926
|
"initialData"
|
|
927
927
|
>;
|
|
@@ -929,19 +929,20 @@ export function useUpdateWorkflow<
|
|
|
929
929
|
},
|
|
930
930
|
queryClient?: QueryClient,
|
|
931
931
|
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
932
|
-
export function
|
|
933
|
-
TData = Awaited<ReturnType<typeof
|
|
932
|
+
export function useGetWorkflowDefinition<
|
|
933
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
934
934
|
TError = ErrorType<void | DmError>,
|
|
935
935
|
>(
|
|
936
936
|
workflowId: string,
|
|
937
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
938
937
|
options?: {
|
|
939
|
-
query?: Partial<
|
|
938
|
+
query?: Partial<
|
|
939
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
940
|
+
> &
|
|
940
941
|
Pick<
|
|
941
942
|
UndefinedInitialDataOptions<
|
|
942
|
-
Awaited<ReturnType<typeof
|
|
943
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
943
944
|
TError,
|
|
944
|
-
Awaited<ReturnType<typeof
|
|
945
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
945
946
|
>,
|
|
946
947
|
"initialData"
|
|
947
948
|
>;
|
|
@@ -949,178 +950,8 @@ export function useUpdateWorkflow<
|
|
|
949
950
|
},
|
|
950
951
|
queryClient?: QueryClient,
|
|
951
952
|
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
952
|
-
export function
|
|
953
|
-
TData = Awaited<ReturnType<typeof
|
|
954
|
-
TError = ErrorType<void | DmError>,
|
|
955
|
-
>(
|
|
956
|
-
workflowId: string,
|
|
957
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
958
|
-
options?: {
|
|
959
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
960
|
-
request?: SecondParameter<typeof customFetch>;
|
|
961
|
-
},
|
|
962
|
-
queryClient?: QueryClient,
|
|
963
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
964
|
-
/**
|
|
965
|
-
* @summary Update a Workflow
|
|
966
|
-
*/
|
|
967
|
-
|
|
968
|
-
export function useUpdateWorkflow<
|
|
969
|
-
TData = Awaited<ReturnType<typeof updateWorkflow>>,
|
|
970
|
-
TError = ErrorType<void | DmError>,
|
|
971
|
-
>(
|
|
972
|
-
workflowId: string,
|
|
973
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
974
|
-
options?: {
|
|
975
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof updateWorkflow>>, TError, TData>>;
|
|
976
|
-
request?: SecondParameter<typeof customFetch>;
|
|
977
|
-
},
|
|
978
|
-
queryClient?: QueryClient,
|
|
979
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
980
|
-
const queryOptions = getUpdateWorkflowQueryOptions(workflowId, workflowPatchBodyBody, options);
|
|
981
|
-
|
|
982
|
-
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
983
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
984
|
-
};
|
|
985
|
-
|
|
986
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
/**
|
|
990
|
-
* @summary Update a Workflow
|
|
991
|
-
*/
|
|
992
|
-
export const invalidateUpdateWorkflow = async (
|
|
993
|
-
queryClient: QueryClient,
|
|
994
|
-
workflowId: string,
|
|
995
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
996
|
-
options?: InvalidateOptions,
|
|
997
|
-
): Promise<QueryClient> => {
|
|
998
|
-
await queryClient.invalidateQueries(
|
|
999
|
-
{ queryKey: getUpdateWorkflowQueryKey(workflowId, workflowPatchBodyBody) },
|
|
1000
|
-
options,
|
|
1001
|
-
);
|
|
1002
|
-
|
|
1003
|
-
return queryClient;
|
|
1004
|
-
};
|
|
1005
|
-
|
|
1006
|
-
export type getWorkflowDefinitionResponse200 = { data: WorkflowDefinitionGetResponse; status: 200 };
|
|
1007
|
-
|
|
1008
|
-
export type getWorkflowDefinitionResponse401 = { data: void; status: 401 };
|
|
1009
|
-
|
|
1010
|
-
export type getWorkflowDefinitionResponse404 = { data: DmError; status: 404 };
|
|
1011
|
-
|
|
1012
|
-
export type getWorkflowDefinitionResponseSuccess = getWorkflowDefinitionResponse200 & {
|
|
1013
|
-
headers: Headers;
|
|
1014
|
-
};
|
|
1015
|
-
export type getWorkflowDefinitionResponseError = (
|
|
1016
|
-
| getWorkflowDefinitionResponse401
|
|
1017
|
-
| getWorkflowDefinitionResponse404
|
|
1018
|
-
) & { headers: Headers };
|
|
1019
|
-
|
|
1020
|
-
export type getWorkflowDefinitionResponse =
|
|
1021
|
-
| getWorkflowDefinitionResponseSuccess
|
|
1022
|
-
| getWorkflowDefinitionResponseError;
|
|
1023
|
-
|
|
1024
|
-
export const getGetWorkflowDefinitionUrl = (workflowId: string) => {
|
|
1025
|
-
return `/workflow/${workflowId}/definition`;
|
|
1026
|
-
};
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* Due to its potential size and complexity the definition is not returned with the Workflow. Instead, to retrieve the definition you need to call this endpoint. A string-encoded YAML document is returned.
|
|
1030
|
-
* @summary Gets the full definition of a Workflow
|
|
1031
|
-
*/
|
|
1032
|
-
export const getWorkflowDefinition = async (
|
|
1033
|
-
workflowId: string,
|
|
1034
|
-
options?: RequestInit,
|
|
1035
|
-
): Promise<getWorkflowDefinitionResponse> => {
|
|
1036
|
-
return customFetch<getWorkflowDefinitionResponse>(getGetWorkflowDefinitionUrl(workflowId), {
|
|
1037
|
-
...options,
|
|
1038
|
-
method: "GET",
|
|
1039
|
-
});
|
|
1040
|
-
};
|
|
1041
|
-
|
|
1042
|
-
export const getGetWorkflowDefinitionQueryKey = (workflowId: string) => {
|
|
1043
|
-
return ["data-manager", "workflow", workflowId, "definition"] as const;
|
|
1044
|
-
};
|
|
1045
|
-
|
|
1046
|
-
export const getGetWorkflowDefinitionQueryOptions = <
|
|
1047
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1048
|
-
TError = ErrorType<void | DmError>,
|
|
1049
|
-
>(
|
|
1050
|
-
workflowId: string,
|
|
1051
|
-
options?: {
|
|
1052
|
-
query?: Partial<
|
|
1053
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
1054
|
-
>;
|
|
1055
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1056
|
-
},
|
|
1057
|
-
) => {
|
|
1058
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1059
|
-
|
|
1060
|
-
const queryKey = queryOptions?.queryKey ?? getGetWorkflowDefinitionQueryKey(workflowId);
|
|
1061
|
-
|
|
1062
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowDefinition>>> = ({ signal }) =>
|
|
1063
|
-
getWorkflowDefinition(workflowId, { signal, ...requestOptions });
|
|
1064
|
-
|
|
1065
|
-
return {
|
|
1066
|
-
queryKey,
|
|
1067
|
-
queryFn,
|
|
1068
|
-
enabled: workflowId !== null && workflowId !== undefined,
|
|
1069
|
-
...queryOptions,
|
|
1070
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData> & {
|
|
1071
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
|
-
|
|
1075
|
-
export type GetWorkflowDefinitionQueryResult = NonNullable<
|
|
1076
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
1077
|
-
>;
|
|
1078
|
-
export type GetWorkflowDefinitionQueryError = ErrorType<void | DmError>;
|
|
1079
|
-
|
|
1080
|
-
export function useGetWorkflowDefinition<
|
|
1081
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1082
|
-
TError = ErrorType<void | DmError>,
|
|
1083
|
-
>(
|
|
1084
|
-
workflowId: string,
|
|
1085
|
-
options: {
|
|
1086
|
-
query: Partial<
|
|
1087
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
1088
|
-
> &
|
|
1089
|
-
Pick<
|
|
1090
|
-
DefinedInitialDataOptions<
|
|
1091
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1092
|
-
TError,
|
|
1093
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
1094
|
-
>,
|
|
1095
|
-
"initialData"
|
|
1096
|
-
>;
|
|
1097
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1098
|
-
},
|
|
1099
|
-
queryClient?: QueryClient,
|
|
1100
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1101
|
-
export function useGetWorkflowDefinition<
|
|
1102
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1103
|
-
TError = ErrorType<void | DmError>,
|
|
1104
|
-
>(
|
|
1105
|
-
workflowId: string,
|
|
1106
|
-
options?: {
|
|
1107
|
-
query?: Partial<
|
|
1108
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
1109
|
-
> &
|
|
1110
|
-
Pick<
|
|
1111
|
-
UndefinedInitialDataOptions<
|
|
1112
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1113
|
-
TError,
|
|
1114
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
1115
|
-
>,
|
|
1116
|
-
"initialData"
|
|
1117
|
-
>;
|
|
1118
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1119
|
-
},
|
|
1120
|
-
queryClient?: QueryClient,
|
|
1121
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1122
|
-
export function useGetWorkflowDefinition<
|
|
1123
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
953
|
+
export function useGetWorkflowDefinition<
|
|
954
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1124
955
|
TError = ErrorType<void | DmError>,
|
|
1125
956
|
>(
|
|
1126
957
|
workflowId: string,
|
|
@@ -1155,7 +986,7 @@ export function useGetWorkflowDefinition<
|
|
|
1155
986
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1156
987
|
};
|
|
1157
988
|
|
|
1158
|
-
return
|
|
989
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1159
990
|
}
|
|
1160
991
|
|
|
1161
992
|
/**
|
|
@@ -1268,7 +1099,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
1268
1099
|
TError
|
|
1269
1100
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1270
1101
|
|
|
1271
|
-
return
|
|
1102
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1272
1103
|
}
|
|
1273
1104
|
|
|
1274
1105
|
export type runWorkflowResponse201 = { data: WorkflowRunPostResponse; status: 201 };
|
|
@@ -1315,323 +1146,172 @@ export const runWorkflow = async (
|
|
|
1315
1146
|
});
|
|
1316
1147
|
};
|
|
1317
1148
|
|
|
1318
|
-
export const
|
|
1319
|
-
workflowId: string,
|
|
1320
|
-
workflowRunPostBodyBody?: WorkflowRunPostBodyBody,
|
|
1321
|
-
) => {
|
|
1322
|
-
return ["data-manager", "POST", "workflow", workflowId, "run", workflowRunPostBodyBody] as const;
|
|
1323
|
-
};
|
|
1324
|
-
|
|
1325
|
-
export const getRunWorkflowQueryOptions = <
|
|
1326
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1149
|
+
export const getRunWorkflowMutationOptions = <
|
|
1327
1150
|
TError = ErrorType<void | DmError>,
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
export function useRunWorkflow<
|
|
1358
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1359
|
-
TError = ErrorType<void | DmError>,
|
|
1360
|
-
>(
|
|
1361
|
-
workflowId: string,
|
|
1362
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1363
|
-
options: {
|
|
1364
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1365
|
-
Pick<
|
|
1366
|
-
DefinedInitialDataOptions<
|
|
1367
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1368
|
-
TError,
|
|
1369
|
-
Awaited<ReturnType<typeof runWorkflow>>
|
|
1370
|
-
>,
|
|
1371
|
-
"initialData"
|
|
1372
|
-
>;
|
|
1373
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1374
|
-
},
|
|
1375
|
-
queryClient?: QueryClient,
|
|
1376
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1377
|
-
export function useRunWorkflow<
|
|
1378
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1379
|
-
TError = ErrorType<void | DmError>,
|
|
1380
|
-
>(
|
|
1381
|
-
workflowId: string,
|
|
1382
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1383
|
-
options?: {
|
|
1384
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1385
|
-
Pick<
|
|
1386
|
-
UndefinedInitialDataOptions<
|
|
1387
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1388
|
-
TError,
|
|
1389
|
-
Awaited<ReturnType<typeof runWorkflow>>
|
|
1390
|
-
>,
|
|
1391
|
-
"initialData"
|
|
1392
|
-
>;
|
|
1393
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1394
|
-
},
|
|
1395
|
-
queryClient?: QueryClient,
|
|
1396
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1397
|
-
export function useRunWorkflow<
|
|
1398
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1399
|
-
TError = ErrorType<void | DmError>,
|
|
1400
|
-
>(
|
|
1401
|
-
workflowId: string,
|
|
1402
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1403
|
-
options?: {
|
|
1404
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1405
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1406
|
-
},
|
|
1407
|
-
queryClient?: QueryClient,
|
|
1408
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1409
|
-
/**
|
|
1410
|
-
* @summary Run a Workflow
|
|
1411
|
-
*/
|
|
1412
|
-
|
|
1413
|
-
export function useRunWorkflow<
|
|
1414
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1415
|
-
TError = ErrorType<void | DmError>,
|
|
1416
|
-
>(
|
|
1417
|
-
workflowId: string,
|
|
1418
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1419
|
-
options?: {
|
|
1420
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1421
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1422
|
-
},
|
|
1423
|
-
queryClient?: QueryClient,
|
|
1424
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1425
|
-
const queryOptions = getRunWorkflowQueryOptions(workflowId, workflowRunPostBodyBody, options);
|
|
1426
|
-
|
|
1427
|
-
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1428
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1151
|
+
TContext = unknown,
|
|
1152
|
+
>(options?: {
|
|
1153
|
+
mutation?: UseMutationOptions<
|
|
1154
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1155
|
+
TError,
|
|
1156
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1157
|
+
TContext
|
|
1158
|
+
>;
|
|
1159
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1160
|
+
}): UseMutationOptions<
|
|
1161
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1162
|
+
TError,
|
|
1163
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1164
|
+
TContext
|
|
1165
|
+
> => {
|
|
1166
|
+
const mutationKey = ["runWorkflow"];
|
|
1167
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1168
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1169
|
+
? options
|
|
1170
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1171
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1172
|
+
|
|
1173
|
+
const mutationFn: MutationFunction<
|
|
1174
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1175
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody }
|
|
1176
|
+
> = (props) => {
|
|
1177
|
+
const { workflowId, data } = props ?? {};
|
|
1178
|
+
|
|
1179
|
+
return runWorkflow(workflowId, data, requestOptions);
|
|
1429
1180
|
};
|
|
1430
1181
|
|
|
1431
|
-
return {
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
/**
|
|
1435
|
-
* @summary Run a Workflow
|
|
1436
|
-
*/
|
|
1437
|
-
export const invalidateRunWorkflow = async (
|
|
1438
|
-
queryClient: QueryClient,
|
|
1439
|
-
workflowId: string,
|
|
1440
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1441
|
-
options?: InvalidateOptions,
|
|
1442
|
-
): Promise<QueryClient> => {
|
|
1443
|
-
await queryClient.invalidateQueries(
|
|
1444
|
-
{ queryKey: getRunWorkflowQueryKey(workflowId, workflowRunPostBodyBody) },
|
|
1445
|
-
options,
|
|
1446
|
-
);
|
|
1447
|
-
|
|
1448
|
-
return queryClient;
|
|
1182
|
+
return { mutationFn, ...mutationOptions };
|
|
1449
1183
|
};
|
|
1450
1184
|
|
|
1451
|
-
export type
|
|
1452
|
-
|
|
1453
|
-
export type
|
|
1454
|
-
|
|
1455
|
-
export type versionWorkflowResponse404 = { data: DmError; status: 404 };
|
|
1456
|
-
|
|
1457
|
-
export type versionWorkflowResponseSuccess = versionWorkflowResponse201 & { headers: Headers };
|
|
1458
|
-
export type versionWorkflowResponseError = (
|
|
1459
|
-
| versionWorkflowResponse401
|
|
1460
|
-
| versionWorkflowResponse404
|
|
1461
|
-
) & { headers: Headers };
|
|
1462
|
-
|
|
1463
|
-
export type versionWorkflowResponse = versionWorkflowResponseSuccess | versionWorkflowResponseError;
|
|
1185
|
+
export type RunWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof runWorkflow>>>;
|
|
1186
|
+
export type RunWorkflowMutationBody = WorkflowRunPostBodyBody;
|
|
1187
|
+
export type RunWorkflowMutationError = ErrorType<void | DmError>;
|
|
1464
1188
|
|
|
1465
|
-
export const getVersionWorkflowUrl = (workflowId: string) => {
|
|
1466
|
-
return `/workflow/${workflowId}/version`;
|
|
1467
|
-
};
|
|
1468
|
-
|
|
1469
|
-
/**
|
|
1470
|
-
* The Workflow is first copied, leaving the original. The version (a string) is then applied to the copy of the Workflow, the `source_id` of the copy is set to the Workflow being copied, and the new Workflow ID is returned.
|
|
1471
|
-
*
|
|
1472
|
-
* When you apply a version to a Workflow you are making a commitment not to alter it. If you want to change the workflow you will need to return to the `source`, Workflow, modify that and then version it again.
|
|
1473
|
-
* @summary Applied a version to the Workflow
|
|
1474
|
-
*/
|
|
1475
|
-
export const versionWorkflow = async (
|
|
1476
|
-
workflowId: string,
|
|
1477
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1478
|
-
options?: RequestInit,
|
|
1479
|
-
): Promise<versionWorkflowResponse> => {
|
|
1480
|
-
const formUrlEncoded = new URLSearchParams();
|
|
1481
|
-
formUrlEncoded.append(`version`, workflowVersionPutBodyBody.version);
|
|
1482
|
-
|
|
1483
|
-
return customFetch<versionWorkflowResponse>(getVersionWorkflowUrl(workflowId), {
|
|
1484
|
-
...options,
|
|
1485
|
-
method: "PUT",
|
|
1486
|
-
headers: { "Content-Type": "application/x-www-form-urlencoded", ...options?.headers },
|
|
1487
|
-
body: formUrlEncoded,
|
|
1488
|
-
});
|
|
1489
|
-
};
|
|
1490
|
-
|
|
1491
|
-
export const getVersionWorkflowQueryKey = (
|
|
1492
|
-
workflowId: string,
|
|
1493
|
-
workflowVersionPutBodyBody?: WorkflowVersionPutBodyBody,
|
|
1494
|
-
) => {
|
|
1495
|
-
return [
|
|
1496
|
-
"data-manager",
|
|
1497
|
-
"PUT",
|
|
1498
|
-
"workflow",
|
|
1499
|
-
workflowId,
|
|
1500
|
-
"version",
|
|
1501
|
-
workflowVersionPutBodyBody,
|
|
1502
|
-
] as const;
|
|
1503
|
-
};
|
|
1504
|
-
|
|
1505
|
-
export const getVersionWorkflowQueryOptions = <
|
|
1506
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1507
|
-
TError = ErrorType<void | DmError>,
|
|
1508
|
-
>(
|
|
1509
|
-
workflowId: string,
|
|
1510
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1511
|
-
options?: {
|
|
1512
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1513
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1514
|
-
},
|
|
1515
|
-
) => {
|
|
1516
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1517
|
-
|
|
1518
|
-
const queryKey =
|
|
1519
|
-
queryOptions?.queryKey ?? getVersionWorkflowQueryKey(workflowId, workflowVersionPutBodyBody);
|
|
1520
|
-
|
|
1521
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof versionWorkflow>>> = ({ signal }) =>
|
|
1522
|
-
versionWorkflow(workflowId, workflowVersionPutBodyBody, { signal, ...requestOptions });
|
|
1523
|
-
|
|
1524
|
-
return {
|
|
1525
|
-
queryKey,
|
|
1526
|
-
queryFn,
|
|
1527
|
-
enabled: workflowId !== null && workflowId !== undefined,
|
|
1528
|
-
...queryOptions,
|
|
1529
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData> & {
|
|
1530
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1531
|
-
};
|
|
1532
|
-
};
|
|
1533
|
-
|
|
1534
|
-
export type VersionWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof versionWorkflow>>>;
|
|
1535
|
-
export type VersionWorkflowQueryError = ErrorType<void | DmError>;
|
|
1536
|
-
|
|
1537
|
-
export function useVersionWorkflow<
|
|
1538
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1539
|
-
TError = ErrorType<void | DmError>,
|
|
1540
|
-
>(
|
|
1541
|
-
workflowId: string,
|
|
1542
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1543
|
-
options: {
|
|
1544
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1545
|
-
Pick<
|
|
1546
|
-
DefinedInitialDataOptions<
|
|
1547
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1548
|
-
TError,
|
|
1549
|
-
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1550
|
-
>,
|
|
1551
|
-
"initialData"
|
|
1552
|
-
>;
|
|
1553
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1554
|
-
},
|
|
1555
|
-
queryClient?: QueryClient,
|
|
1556
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1557
|
-
export function useVersionWorkflow<
|
|
1558
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1559
|
-
TError = ErrorType<void | DmError>,
|
|
1560
|
-
>(
|
|
1561
|
-
workflowId: string,
|
|
1562
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1563
|
-
options?: {
|
|
1564
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1565
|
-
Pick<
|
|
1566
|
-
UndefinedInitialDataOptions<
|
|
1567
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1568
|
-
TError,
|
|
1569
|
-
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1570
|
-
>,
|
|
1571
|
-
"initialData"
|
|
1572
|
-
>;
|
|
1573
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1574
|
-
},
|
|
1575
|
-
queryClient?: QueryClient,
|
|
1576
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1577
|
-
export function useVersionWorkflow<
|
|
1578
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1579
|
-
TError = ErrorType<void | DmError>,
|
|
1580
|
-
>(
|
|
1581
|
-
workflowId: string,
|
|
1582
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1583
|
-
options?: {
|
|
1584
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1585
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1586
|
-
},
|
|
1587
|
-
queryClient?: QueryClient,
|
|
1588
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1589
1189
|
/**
|
|
1590
|
-
* @summary
|
|
1190
|
+
* @summary Run a Workflow
|
|
1591
1191
|
*/
|
|
1592
|
-
|
|
1593
|
-
export function useVersionWorkflow<
|
|
1594
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1595
|
-
TError = ErrorType<void | DmError>,
|
|
1596
|
-
>(
|
|
1597
|
-
workflowId: string,
|
|
1598
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1192
|
+
export const useRunWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1599
1193
|
options?: {
|
|
1600
|
-
|
|
1194
|
+
mutation?: UseMutationOptions<
|
|
1195
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1196
|
+
TError,
|
|
1197
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1198
|
+
TContext
|
|
1199
|
+
>;
|
|
1601
1200
|
request?: SecondParameter<typeof customFetch>;
|
|
1602
1201
|
},
|
|
1603
1202
|
queryClient?: QueryClient,
|
|
1604
|
-
):
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1203
|
+
): UseMutationResult<
|
|
1204
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1205
|
+
TError,
|
|
1206
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1207
|
+
TContext
|
|
1208
|
+
> => {
|
|
1209
|
+
return useMutation(getRunWorkflowMutationOptions(options), queryClient);
|
|
1210
|
+
};
|
|
1211
|
+
export type versionWorkflowResponse201 = { data: WorkflowVersionPutResponse; status: 201 };
|
|
1610
1212
|
|
|
1611
|
-
|
|
1612
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1613
|
-
};
|
|
1213
|
+
export type versionWorkflowResponse401 = { data: void; status: 401 };
|
|
1614
1214
|
|
|
1615
|
-
|
|
1616
|
-
|
|
1215
|
+
export type versionWorkflowResponse404 = { data: DmError; status: 404 };
|
|
1216
|
+
|
|
1217
|
+
export type versionWorkflowResponseSuccess = versionWorkflowResponse201 & { headers: Headers };
|
|
1218
|
+
export type versionWorkflowResponseError = (
|
|
1219
|
+
| versionWorkflowResponse401
|
|
1220
|
+
| versionWorkflowResponse404
|
|
1221
|
+
) & { headers: Headers };
|
|
1222
|
+
|
|
1223
|
+
export type versionWorkflowResponse = versionWorkflowResponseSuccess | versionWorkflowResponseError;
|
|
1224
|
+
|
|
1225
|
+
export const getVersionWorkflowUrl = (workflowId: string) => {
|
|
1226
|
+
return `/workflow/${workflowId}/version`;
|
|
1227
|
+
};
|
|
1617
1228
|
|
|
1618
1229
|
/**
|
|
1230
|
+
* The Workflow is first copied, leaving the original. The version (a string) is then applied to the copy of the Workflow, the `source_id` of the copy is set to the Workflow being copied, and the new Workflow ID is returned.
|
|
1231
|
+
*
|
|
1232
|
+
* When you apply a version to a Workflow you are making a commitment not to alter it. If you want to change the workflow you will need to return to the `source`, Workflow, modify that and then version it again.
|
|
1619
1233
|
* @summary Applied a version to the Workflow
|
|
1620
1234
|
*/
|
|
1621
|
-
export const
|
|
1622
|
-
queryClient: QueryClient,
|
|
1235
|
+
export const versionWorkflow = async (
|
|
1623
1236
|
workflowId: string,
|
|
1624
1237
|
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1625
|
-
options?:
|
|
1626
|
-
): Promise<
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
options,
|
|
1630
|
-
);
|
|
1238
|
+
options?: RequestInit,
|
|
1239
|
+
): Promise<versionWorkflowResponse> => {
|
|
1240
|
+
const formUrlEncoded = new URLSearchParams();
|
|
1241
|
+
formUrlEncoded.append(`version`, workflowVersionPutBodyBody.version);
|
|
1631
1242
|
|
|
1632
|
-
return
|
|
1243
|
+
return customFetch<versionWorkflowResponse>(getVersionWorkflowUrl(workflowId), {
|
|
1244
|
+
...options,
|
|
1245
|
+
method: "PUT",
|
|
1246
|
+
headers: { "Content-Type": "application/x-www-form-urlencoded", ...options?.headers },
|
|
1247
|
+
body: formUrlEncoded,
|
|
1248
|
+
});
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
export const getVersionWorkflowMutationOptions = <
|
|
1252
|
+
TError = ErrorType<void | DmError>,
|
|
1253
|
+
TContext = unknown,
|
|
1254
|
+
>(options?: {
|
|
1255
|
+
mutation?: UseMutationOptions<
|
|
1256
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1257
|
+
TError,
|
|
1258
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1259
|
+
TContext
|
|
1260
|
+
>;
|
|
1261
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1262
|
+
}): UseMutationOptions<
|
|
1263
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1264
|
+
TError,
|
|
1265
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1266
|
+
TContext
|
|
1267
|
+
> => {
|
|
1268
|
+
const mutationKey = ["versionWorkflow"];
|
|
1269
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1270
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1271
|
+
? options
|
|
1272
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1273
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1274
|
+
|
|
1275
|
+
const mutationFn: MutationFunction<
|
|
1276
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1277
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody }
|
|
1278
|
+
> = (props) => {
|
|
1279
|
+
const { workflowId, data } = props ?? {};
|
|
1280
|
+
|
|
1281
|
+
return versionWorkflow(workflowId, data, requestOptions);
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1284
|
+
return { mutationFn, ...mutationOptions };
|
|
1633
1285
|
};
|
|
1634
1286
|
|
|
1287
|
+
export type VersionWorkflowMutationResult = NonNullable<
|
|
1288
|
+
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1289
|
+
>;
|
|
1290
|
+
export type VersionWorkflowMutationBody = WorkflowVersionPutBodyBody;
|
|
1291
|
+
export type VersionWorkflowMutationError = ErrorType<void | DmError>;
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* @summary Applied a version to the Workflow
|
|
1295
|
+
*/
|
|
1296
|
+
export const useVersionWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1297
|
+
options?: {
|
|
1298
|
+
mutation?: UseMutationOptions<
|
|
1299
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1300
|
+
TError,
|
|
1301
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1302
|
+
TContext
|
|
1303
|
+
>;
|
|
1304
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1305
|
+
},
|
|
1306
|
+
queryClient?: QueryClient,
|
|
1307
|
+
): UseMutationResult<
|
|
1308
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1309
|
+
TError,
|
|
1310
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1311
|
+
TContext
|
|
1312
|
+
> => {
|
|
1313
|
+
return useMutation(getVersionWorkflowMutationOptions(options), queryClient);
|
|
1314
|
+
};
|
|
1635
1315
|
export type getRunningWorkflowsResponse200 = { data: RunningWorkflowGetAllResponse; status: 200 };
|
|
1636
1316
|
|
|
1637
1317
|
export type getRunningWorkflowsResponse401 = { data: void; status: 401 };
|
|
@@ -1792,7 +1472,7 @@ export function useGetRunningWorkflows<
|
|
|
1792
1472
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1793
1473
|
};
|
|
1794
1474
|
|
|
1795
|
-
return
|
|
1475
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1796
1476
|
}
|
|
1797
1477
|
|
|
1798
1478
|
/**
|
|
@@ -1905,7 +1585,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1905
1585
|
TError
|
|
1906
1586
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1907
1587
|
|
|
1908
|
-
return
|
|
1588
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1909
1589
|
}
|
|
1910
1590
|
|
|
1911
1591
|
export type getRunningWorkflowResponse200 = { data: RunningWorkflowGetResponse; status: 200 };
|
|
@@ -2052,7 +1732,7 @@ export function useGetRunningWorkflow<
|
|
|
2052
1732
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2053
1733
|
};
|
|
2054
1734
|
|
|
2055
|
-
return
|
|
1735
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2056
1736
|
}
|
|
2057
1737
|
|
|
2058
1738
|
/**
|
|
@@ -2165,7 +1845,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
2165
1845
|
TError
|
|
2166
1846
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2167
1847
|
|
|
2168
|
-
return
|
|
1848
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2169
1849
|
}
|
|
2170
1850
|
|
|
2171
1851
|
export type deleteRunningWorkflowResponse204 = { data: void; status: 204 };
|
|
@@ -2206,141 +1886,70 @@ export const deleteRunningWorkflow = async (
|
|
|
2206
1886
|
);
|
|
2207
1887
|
};
|
|
2208
1888
|
|
|
2209
|
-
export const
|
|
2210
|
-
return ["data-manager", "DELETE", "running-workflow", runningWorkflowId] as const;
|
|
2211
|
-
};
|
|
2212
|
-
|
|
2213
|
-
export const getDeleteRunningWorkflowQueryOptions = <
|
|
2214
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1889
|
+
export const getDeleteRunningWorkflowMutationOptions = <
|
|
2215
1890
|
TError = ErrorType<void | DmError>,
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
1891
|
+
TContext = unknown,
|
|
1892
|
+
>(options?: {
|
|
1893
|
+
mutation?: UseMutationOptions<
|
|
1894
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1895
|
+
TError,
|
|
1896
|
+
{ runningWorkflowId: string },
|
|
1897
|
+
TContext
|
|
1898
|
+
>;
|
|
1899
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1900
|
+
}): UseMutationOptions<
|
|
1901
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1902
|
+
TError,
|
|
1903
|
+
{ runningWorkflowId: string },
|
|
1904
|
+
TContext
|
|
1905
|
+
> => {
|
|
1906
|
+
const mutationKey = ["deleteRunningWorkflow"];
|
|
1907
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1908
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1909
|
+
? options
|
|
1910
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1911
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1912
|
+
|
|
1913
|
+
const mutationFn: MutationFunction<
|
|
1914
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1915
|
+
{ runningWorkflowId: string }
|
|
1916
|
+
> = (props) => {
|
|
1917
|
+
const { runningWorkflowId } = props ?? {};
|
|
1918
|
+
|
|
1919
|
+
return deleteRunningWorkflow(runningWorkflowId, requestOptions);
|
|
2239
1920
|
};
|
|
1921
|
+
|
|
1922
|
+
return { mutationFn, ...mutationOptions };
|
|
2240
1923
|
};
|
|
2241
1924
|
|
|
2242
|
-
export type
|
|
1925
|
+
export type DeleteRunningWorkflowMutationResult = NonNullable<
|
|
2243
1926
|
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2244
1927
|
>;
|
|
2245
|
-
export type DeleteRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
2246
1928
|
|
|
2247
|
-
export
|
|
2248
|
-
|
|
2249
|
-
TError = ErrorType<void | DmError>,
|
|
2250
|
-
>(
|
|
2251
|
-
runningWorkflowId: string,
|
|
2252
|
-
options: {
|
|
2253
|
-
query: Partial<
|
|
2254
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2255
|
-
> &
|
|
2256
|
-
Pick<
|
|
2257
|
-
DefinedInitialDataOptions<
|
|
2258
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2259
|
-
TError,
|
|
2260
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2261
|
-
>,
|
|
2262
|
-
"initialData"
|
|
2263
|
-
>;
|
|
2264
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2265
|
-
},
|
|
2266
|
-
queryClient?: QueryClient,
|
|
2267
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2268
|
-
export function useDeleteRunningWorkflow<
|
|
2269
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2270
|
-
TError = ErrorType<void | DmError>,
|
|
2271
|
-
>(
|
|
2272
|
-
runningWorkflowId: string,
|
|
2273
|
-
options?: {
|
|
2274
|
-
query?: Partial<
|
|
2275
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2276
|
-
> &
|
|
2277
|
-
Pick<
|
|
2278
|
-
UndefinedInitialDataOptions<
|
|
2279
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2280
|
-
TError,
|
|
2281
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2282
|
-
>,
|
|
2283
|
-
"initialData"
|
|
2284
|
-
>;
|
|
2285
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2286
|
-
},
|
|
2287
|
-
queryClient?: QueryClient,
|
|
2288
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2289
|
-
export function useDeleteRunningWorkflow<
|
|
2290
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2291
|
-
TError = ErrorType<void | DmError>,
|
|
2292
|
-
>(
|
|
2293
|
-
runningWorkflowId: string,
|
|
2294
|
-
options?: {
|
|
2295
|
-
query?: Partial<
|
|
2296
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2297
|
-
>;
|
|
2298
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2299
|
-
},
|
|
2300
|
-
queryClient?: QueryClient,
|
|
2301
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1929
|
+
export type DeleteRunningWorkflowMutationError = ErrorType<void | DmError>;
|
|
1930
|
+
|
|
2302
1931
|
/**
|
|
2303
1932
|
* @summary Delete a Running Workflow
|
|
2304
1933
|
*/
|
|
2305
|
-
|
|
2306
|
-
export function useDeleteRunningWorkflow<
|
|
2307
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2308
|
-
TError = ErrorType<void | DmError>,
|
|
2309
|
-
>(
|
|
2310
|
-
runningWorkflowId: string,
|
|
1934
|
+
export const useDeleteRunningWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
2311
1935
|
options?: {
|
|
2312
|
-
|
|
2313
|
-
|
|
1936
|
+
mutation?: UseMutationOptions<
|
|
1937
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1938
|
+
TError,
|
|
1939
|
+
{ runningWorkflowId: string },
|
|
1940
|
+
TContext
|
|
2314
1941
|
>;
|
|
2315
1942
|
request?: SecondParameter<typeof customFetch>;
|
|
2316
1943
|
},
|
|
2317
1944
|
queryClient?: QueryClient,
|
|
2318
|
-
):
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
/**
|
|
2329
|
-
* @summary Delete a Running Workflow
|
|
2330
|
-
*/
|
|
2331
|
-
export const invalidateDeleteRunningWorkflow = async (
|
|
2332
|
-
queryClient: QueryClient,
|
|
2333
|
-
runningWorkflowId: string,
|
|
2334
|
-
options?: InvalidateOptions,
|
|
2335
|
-
): Promise<QueryClient> => {
|
|
2336
|
-
await queryClient.invalidateQueries(
|
|
2337
|
-
{ queryKey: getDeleteRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2338
|
-
options,
|
|
2339
|
-
);
|
|
2340
|
-
|
|
2341
|
-
return queryClient;
|
|
1945
|
+
): UseMutationResult<
|
|
1946
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1947
|
+
TError,
|
|
1948
|
+
{ runningWorkflowId: string },
|
|
1949
|
+
TContext
|
|
1950
|
+
> => {
|
|
1951
|
+
return useMutation(getDeleteRunningWorkflowMutationOptions(options), queryClient);
|
|
2342
1952
|
};
|
|
2343
|
-
|
|
2344
1953
|
export type stopRunningWorkflowResponse204 = { data: void; status: 204 };
|
|
2345
1954
|
|
|
2346
1955
|
export type stopRunningWorkflowResponse401 = { data: void; status: 401 };
|
|
@@ -2377,141 +1986,70 @@ export const stopRunningWorkflow = async (
|
|
|
2377
1986
|
});
|
|
2378
1987
|
};
|
|
2379
1988
|
|
|
2380
|
-
export const
|
|
2381
|
-
return ["data-manager", "PUT", "running-workflow", runningWorkflowId, "stop"] as const;
|
|
2382
|
-
};
|
|
2383
|
-
|
|
2384
|
-
export const getStopRunningWorkflowQueryOptions = <
|
|
2385
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1989
|
+
export const getStopRunningWorkflowMutationOptions = <
|
|
2386
1990
|
TError = ErrorType<void | DmError>,
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
1991
|
+
TContext = unknown,
|
|
1992
|
+
>(options?: {
|
|
1993
|
+
mutation?: UseMutationOptions<
|
|
1994
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1995
|
+
TError,
|
|
1996
|
+
{ runningWorkflowId: string },
|
|
1997
|
+
TContext
|
|
1998
|
+
>;
|
|
1999
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2000
|
+
}): UseMutationOptions<
|
|
2001
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2002
|
+
TError,
|
|
2003
|
+
{ runningWorkflowId: string },
|
|
2004
|
+
TContext
|
|
2005
|
+
> => {
|
|
2006
|
+
const mutationKey = ["stopRunningWorkflow"];
|
|
2007
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
2008
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
2009
|
+
? options
|
|
2010
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
2011
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
2012
|
+
|
|
2013
|
+
const mutationFn: MutationFunction<
|
|
2014
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2015
|
+
{ runningWorkflowId: string }
|
|
2016
|
+
> = (props) => {
|
|
2017
|
+
const { runningWorkflowId } = props ?? {};
|
|
2018
|
+
|
|
2019
|
+
return stopRunningWorkflow(runningWorkflowId, requestOptions);
|
|
2410
2020
|
};
|
|
2021
|
+
|
|
2022
|
+
return { mutationFn, ...mutationOptions };
|
|
2411
2023
|
};
|
|
2412
2024
|
|
|
2413
|
-
export type
|
|
2025
|
+
export type StopRunningWorkflowMutationResult = NonNullable<
|
|
2414
2026
|
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2415
2027
|
>;
|
|
2416
|
-
export type StopRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
2417
2028
|
|
|
2418
|
-
export
|
|
2419
|
-
|
|
2420
|
-
TError = ErrorType<void | DmError>,
|
|
2421
|
-
>(
|
|
2422
|
-
runningWorkflowId: string,
|
|
2423
|
-
options: {
|
|
2424
|
-
query: Partial<
|
|
2425
|
-
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2426
|
-
> &
|
|
2427
|
-
Pick<
|
|
2428
|
-
DefinedInitialDataOptions<
|
|
2429
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2430
|
-
TError,
|
|
2431
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2432
|
-
>,
|
|
2433
|
-
"initialData"
|
|
2434
|
-
>;
|
|
2435
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2436
|
-
},
|
|
2437
|
-
queryClient?: QueryClient,
|
|
2438
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2439
|
-
export function useStopRunningWorkflow<
|
|
2440
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2441
|
-
TError = ErrorType<void | DmError>,
|
|
2442
|
-
>(
|
|
2443
|
-
runningWorkflowId: string,
|
|
2444
|
-
options?: {
|
|
2445
|
-
query?: Partial<
|
|
2446
|
-
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2447
|
-
> &
|
|
2448
|
-
Pick<
|
|
2449
|
-
UndefinedInitialDataOptions<
|
|
2450
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2451
|
-
TError,
|
|
2452
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2453
|
-
>,
|
|
2454
|
-
"initialData"
|
|
2455
|
-
>;
|
|
2456
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2457
|
-
},
|
|
2458
|
-
queryClient?: QueryClient,
|
|
2459
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2460
|
-
export function useStopRunningWorkflow<
|
|
2461
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2462
|
-
TError = ErrorType<void | DmError>,
|
|
2463
|
-
>(
|
|
2464
|
-
runningWorkflowId: string,
|
|
2465
|
-
options?: {
|
|
2466
|
-
query?: Partial<
|
|
2467
|
-
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2468
|
-
>;
|
|
2469
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2470
|
-
},
|
|
2471
|
-
queryClient?: QueryClient,
|
|
2472
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2029
|
+
export type StopRunningWorkflowMutationError = ErrorType<void | DmError>;
|
|
2030
|
+
|
|
2473
2031
|
/**
|
|
2474
2032
|
* @summary Stop a Running Workflow
|
|
2475
2033
|
*/
|
|
2476
|
-
|
|
2477
|
-
export function useStopRunningWorkflow<
|
|
2478
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2479
|
-
TError = ErrorType<void | DmError>,
|
|
2480
|
-
>(
|
|
2481
|
-
runningWorkflowId: string,
|
|
2034
|
+
export const useStopRunningWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
2482
2035
|
options?: {
|
|
2483
|
-
|
|
2484
|
-
|
|
2036
|
+
mutation?: UseMutationOptions<
|
|
2037
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2038
|
+
TError,
|
|
2039
|
+
{ runningWorkflowId: string },
|
|
2040
|
+
TContext
|
|
2485
2041
|
>;
|
|
2486
2042
|
request?: SecondParameter<typeof customFetch>;
|
|
2487
2043
|
},
|
|
2488
2044
|
queryClient?: QueryClient,
|
|
2489
|
-
):
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
/**
|
|
2500
|
-
* @summary Stop a Running Workflow
|
|
2501
|
-
*/
|
|
2502
|
-
export const invalidateStopRunningWorkflow = async (
|
|
2503
|
-
queryClient: QueryClient,
|
|
2504
|
-
runningWorkflowId: string,
|
|
2505
|
-
options?: InvalidateOptions,
|
|
2506
|
-
): Promise<QueryClient> => {
|
|
2507
|
-
await queryClient.invalidateQueries(
|
|
2508
|
-
{ queryKey: getStopRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2509
|
-
options,
|
|
2510
|
-
);
|
|
2511
|
-
|
|
2512
|
-
return queryClient;
|
|
2045
|
+
): UseMutationResult<
|
|
2046
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2047
|
+
TError,
|
|
2048
|
+
{ runningWorkflowId: string },
|
|
2049
|
+
TContext
|
|
2050
|
+
> => {
|
|
2051
|
+
return useMutation(getStopRunningWorkflowMutationOptions(options), queryClient);
|
|
2513
2052
|
};
|
|
2514
|
-
|
|
2515
2053
|
export type getRunningWorkflowStepsResponse200 = {
|
|
2516
2054
|
data: RunningWorkflowStepsGetResponse;
|
|
2517
2055
|
status: 200;
|
|
@@ -2668,7 +2206,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
2668
2206
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2669
2207
|
};
|
|
2670
2208
|
|
|
2671
|
-
return
|
|
2209
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2672
2210
|
}
|
|
2673
2211
|
|
|
2674
2212
|
/**
|
|
@@ -2782,5 +2320,5 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2782
2320
|
TError
|
|
2783
2321
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2784
2322
|
|
|
2785
|
-
return
|
|
2323
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2786
2324
|
}
|