@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-axios";
|
|
|
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
|
/**
|
|
52
70
|
* Get a list of all Workflows available to you. The Workflows are listed in reverse chronological order of creation, where the most recent that was created is first in the list.
|
|
53
71
|
* @summary Get all Workflows available to you
|
|
@@ -156,7 +174,7 @@ export function useGetWorkflows<
|
|
|
156
174
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
157
175
|
};
|
|
158
176
|
|
|
159
|
-
return
|
|
177
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
160
178
|
}
|
|
161
179
|
|
|
162
180
|
/**
|
|
@@ -254,7 +272,7 @@ export function useGetWorkflowsSuspense<
|
|
|
254
272
|
TError
|
|
255
273
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
256
274
|
|
|
257
|
-
return
|
|
275
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
258
276
|
}
|
|
259
277
|
|
|
260
278
|
/**
|
|
@@ -291,126 +309,68 @@ export const createWorkflow = (
|
|
|
291
309
|
);
|
|
292
310
|
};
|
|
293
311
|
|
|
294
|
-
export const
|
|
295
|
-
return ["data-manager", "POST", "workflow", workflowPostBodyBody] as const;
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
export const getCreateWorkflowQueryOptions = <
|
|
299
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
312
|
+
export const getCreateWorkflowMutationOptions = <
|
|
300
313
|
TError = ErrorType<void>,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
305
|
-
request?: SecondParameter<typeof customInstance>;
|
|
306
|
-
},
|
|
307
|
-
) => {
|
|
308
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
309
|
-
|
|
310
|
-
const queryKey = queryOptions?.queryKey ?? getCreateWorkflowQueryKey(workflowPostBodyBody);
|
|
311
|
-
|
|
312
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof createWorkflow>>> = ({ signal }) =>
|
|
313
|
-
createWorkflow(workflowPostBodyBody, requestOptions, signal);
|
|
314
|
-
|
|
315
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
314
|
+
TContext = unknown,
|
|
315
|
+
>(options?: {
|
|
316
|
+
mutation?: UseMutationOptions<
|
|
316
317
|
Awaited<ReturnType<typeof createWorkflow>>,
|
|
317
318
|
TError,
|
|
318
|
-
|
|
319
|
-
|
|
319
|
+
{ data: WorkflowPostBodyBody },
|
|
320
|
+
TContext
|
|
321
|
+
>;
|
|
322
|
+
request?: SecondParameter<typeof customInstance>;
|
|
323
|
+
}): UseMutationOptions<
|
|
324
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
325
|
+
TError,
|
|
326
|
+
{ data: WorkflowPostBodyBody },
|
|
327
|
+
TContext
|
|
328
|
+
> => {
|
|
329
|
+
const mutationKey = ["createWorkflow"];
|
|
330
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
331
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
332
|
+
? options
|
|
333
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
334
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
335
|
+
|
|
336
|
+
const mutationFn: MutationFunction<
|
|
337
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
338
|
+
{ data: WorkflowPostBodyBody }
|
|
339
|
+
> = (props) => {
|
|
340
|
+
const { data } = props ?? {};
|
|
341
|
+
|
|
342
|
+
return createWorkflow(data, requestOptions);
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
return { mutationFn, ...mutationOptions };
|
|
320
346
|
};
|
|
321
347
|
|
|
322
|
-
export type
|
|
323
|
-
export type
|
|
348
|
+
export type CreateWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof createWorkflow>>>;
|
|
349
|
+
export type CreateWorkflowMutationBody = WorkflowPostBodyBody;
|
|
350
|
+
export type CreateWorkflowMutationError = ErrorType<void>;
|
|
324
351
|
|
|
325
|
-
export function useCreateWorkflow<
|
|
326
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
327
|
-
TError = ErrorType<void>,
|
|
328
|
-
>(
|
|
329
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
330
|
-
options: {
|
|
331
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
332
|
-
Pick<
|
|
333
|
-
DefinedInitialDataOptions<
|
|
334
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
335
|
-
TError,
|
|
336
|
-
Awaited<ReturnType<typeof createWorkflow>>
|
|
337
|
-
>,
|
|
338
|
-
"initialData"
|
|
339
|
-
>;
|
|
340
|
-
request?: SecondParameter<typeof customInstance>;
|
|
341
|
-
},
|
|
342
|
-
queryClient?: QueryClient,
|
|
343
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
344
|
-
export function useCreateWorkflow<
|
|
345
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
346
|
-
TError = ErrorType<void>,
|
|
347
|
-
>(
|
|
348
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
349
|
-
options?: {
|
|
350
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>> &
|
|
351
|
-
Pick<
|
|
352
|
-
UndefinedInitialDataOptions<
|
|
353
|
-
Awaited<ReturnType<typeof createWorkflow>>,
|
|
354
|
-
TError,
|
|
355
|
-
Awaited<ReturnType<typeof createWorkflow>>
|
|
356
|
-
>,
|
|
357
|
-
"initialData"
|
|
358
|
-
>;
|
|
359
|
-
request?: SecondParameter<typeof customInstance>;
|
|
360
|
-
},
|
|
361
|
-
queryClient?: QueryClient,
|
|
362
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
363
|
-
export function useCreateWorkflow<
|
|
364
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
365
|
-
TError = ErrorType<void>,
|
|
366
|
-
>(
|
|
367
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
368
|
-
options?: {
|
|
369
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createWorkflow>>, TError, TData>>;
|
|
370
|
-
request?: SecondParameter<typeof customInstance>;
|
|
371
|
-
},
|
|
372
|
-
queryClient?: QueryClient,
|
|
373
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
374
352
|
/**
|
|
375
353
|
* @summary Create a new Workflow
|
|
376
354
|
*/
|
|
377
|
-
|
|
378
|
-
export function useCreateWorkflow<
|
|
379
|
-
TData = Awaited<ReturnType<typeof createWorkflow>>,
|
|
380
|
-
TError = ErrorType<void>,
|
|
381
|
-
>(
|
|
382
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
355
|
+
export const useCreateWorkflow = <TError = ErrorType<void>, TContext = unknown>(
|
|
383
356
|
options?: {
|
|
384
|
-
|
|
357
|
+
mutation?: UseMutationOptions<
|
|
358
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
359
|
+
TError,
|
|
360
|
+
{ data: WorkflowPostBodyBody },
|
|
361
|
+
TContext
|
|
362
|
+
>;
|
|
385
363
|
request?: SecondParameter<typeof customInstance>;
|
|
386
364
|
},
|
|
387
365
|
queryClient?: QueryClient,
|
|
388
|
-
):
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* @summary Create a new Workflow
|
|
400
|
-
*/
|
|
401
|
-
export const invalidateCreateWorkflow = async (
|
|
402
|
-
queryClient: QueryClient,
|
|
403
|
-
workflowPostBodyBody: WorkflowPostBodyBody,
|
|
404
|
-
options?: InvalidateOptions,
|
|
405
|
-
): Promise<QueryClient> => {
|
|
406
|
-
await queryClient.invalidateQueries(
|
|
407
|
-
{ queryKey: getCreateWorkflowQueryKey(workflowPostBodyBody) },
|
|
408
|
-
options,
|
|
409
|
-
);
|
|
410
|
-
|
|
411
|
-
return queryClient;
|
|
366
|
+
): UseMutationResult<
|
|
367
|
+
Awaited<ReturnType<typeof createWorkflow>>,
|
|
368
|
+
TError,
|
|
369
|
+
{ data: WorkflowPostBodyBody },
|
|
370
|
+
TContext
|
|
371
|
+
> => {
|
|
372
|
+
return useMutation(getCreateWorkflowMutationOptions(options), queryClient);
|
|
412
373
|
};
|
|
413
|
-
|
|
414
374
|
/**
|
|
415
375
|
* Get details of a specific Workflow available to you.
|
|
416
376
|
* @summary Get details of a specific Workflow
|
|
@@ -530,7 +490,7 @@ export function useGetWorkflow<
|
|
|
530
490
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
531
491
|
};
|
|
532
492
|
|
|
533
|
-
return
|
|
493
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
534
494
|
}
|
|
535
495
|
|
|
536
496
|
/**
|
|
@@ -636,7 +596,7 @@ export function useGetWorkflowSuspense<
|
|
|
636
596
|
TError
|
|
637
597
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
638
598
|
|
|
639
|
-
return
|
|
599
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
640
600
|
}
|
|
641
601
|
|
|
642
602
|
/**
|
|
@@ -656,126 +616,68 @@ export const deleteWorkflow = (
|
|
|
656
616
|
);
|
|
657
617
|
};
|
|
658
618
|
|
|
659
|
-
export const
|
|
660
|
-
return ["data-manager", "DELETE", "workflow", workflowId] as const;
|
|
661
|
-
};
|
|
662
|
-
|
|
663
|
-
export const getDeleteWorkflowQueryOptions = <
|
|
664
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
619
|
+
export const getDeleteWorkflowMutationOptions = <
|
|
665
620
|
TError = ErrorType<void | DmError>,
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
621
|
+
TContext = unknown,
|
|
622
|
+
>(options?: {
|
|
623
|
+
mutation?: UseMutationOptions<
|
|
624
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
625
|
+
TError,
|
|
626
|
+
{ workflowId: string },
|
|
627
|
+
TContext
|
|
628
|
+
>;
|
|
629
|
+
request?: SecondParameter<typeof customInstance>;
|
|
630
|
+
}): UseMutationOptions<
|
|
631
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
632
|
+
TError,
|
|
633
|
+
{ workflowId: string },
|
|
634
|
+
TContext
|
|
635
|
+
> => {
|
|
636
|
+
const mutationKey = ["deleteWorkflow"];
|
|
637
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
638
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
639
|
+
? options
|
|
640
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
641
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
642
|
+
|
|
643
|
+
const mutationFn: MutationFunction<
|
|
644
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
645
|
+
{ workflowId: string }
|
|
646
|
+
> = (props) => {
|
|
647
|
+
const { workflowId } = props ?? {};
|
|
648
|
+
|
|
649
|
+
return deleteWorkflow(workflowId, requestOptions);
|
|
687
650
|
};
|
|
651
|
+
|
|
652
|
+
return { mutationFn, ...mutationOptions };
|
|
688
653
|
};
|
|
689
654
|
|
|
690
|
-
export type
|
|
691
|
-
|
|
655
|
+
export type DeleteWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof deleteWorkflow>>>;
|
|
656
|
+
|
|
657
|
+
export type DeleteWorkflowMutationError = ErrorType<void | DmError>;
|
|
692
658
|
|
|
693
|
-
export function useDeleteWorkflow<
|
|
694
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
695
|
-
TError = ErrorType<void | DmError>,
|
|
696
|
-
>(
|
|
697
|
-
workflowId: string,
|
|
698
|
-
options: {
|
|
699
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
700
|
-
Pick<
|
|
701
|
-
DefinedInitialDataOptions<
|
|
702
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
703
|
-
TError,
|
|
704
|
-
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
705
|
-
>,
|
|
706
|
-
"initialData"
|
|
707
|
-
>;
|
|
708
|
-
request?: SecondParameter<typeof customInstance>;
|
|
709
|
-
},
|
|
710
|
-
queryClient?: QueryClient,
|
|
711
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
712
|
-
export function useDeleteWorkflow<
|
|
713
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
714
|
-
TError = ErrorType<void | DmError>,
|
|
715
|
-
>(
|
|
716
|
-
workflowId: string,
|
|
717
|
-
options?: {
|
|
718
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>> &
|
|
719
|
-
Pick<
|
|
720
|
-
UndefinedInitialDataOptions<
|
|
721
|
-
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
722
|
-
TError,
|
|
723
|
-
Awaited<ReturnType<typeof deleteWorkflow>>
|
|
724
|
-
>,
|
|
725
|
-
"initialData"
|
|
726
|
-
>;
|
|
727
|
-
request?: SecondParameter<typeof customInstance>;
|
|
728
|
-
},
|
|
729
|
-
queryClient?: QueryClient,
|
|
730
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
731
|
-
export function useDeleteWorkflow<
|
|
732
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
733
|
-
TError = ErrorType<void | DmError>,
|
|
734
|
-
>(
|
|
735
|
-
workflowId: string,
|
|
736
|
-
options?: {
|
|
737
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteWorkflow>>, TError, TData>>;
|
|
738
|
-
request?: SecondParameter<typeof customInstance>;
|
|
739
|
-
},
|
|
740
|
-
queryClient?: QueryClient,
|
|
741
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
742
659
|
/**
|
|
743
660
|
* @summary Delete a Workflow
|
|
744
661
|
*/
|
|
745
|
-
|
|
746
|
-
export function useDeleteWorkflow<
|
|
747
|
-
TData = Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
748
|
-
TError = ErrorType<void | DmError>,
|
|
749
|
-
>(
|
|
750
|
-
workflowId: string,
|
|
662
|
+
export const useDeleteWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
751
663
|
options?: {
|
|
752
|
-
|
|
664
|
+
mutation?: UseMutationOptions<
|
|
665
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
666
|
+
TError,
|
|
667
|
+
{ workflowId: string },
|
|
668
|
+
TContext
|
|
669
|
+
>;
|
|
753
670
|
request?: SecondParameter<typeof customInstance>;
|
|
754
671
|
},
|
|
755
672
|
queryClient?: QueryClient,
|
|
756
|
-
):
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* @summary Delete a Workflow
|
|
768
|
-
*/
|
|
769
|
-
export const invalidateDeleteWorkflow = async (
|
|
770
|
-
queryClient: QueryClient,
|
|
771
|
-
workflowId: string,
|
|
772
|
-
options?: InvalidateOptions,
|
|
773
|
-
): Promise<QueryClient> => {
|
|
774
|
-
await queryClient.invalidateQueries({ queryKey: getDeleteWorkflowQueryKey(workflowId) }, options);
|
|
775
|
-
|
|
776
|
-
return queryClient;
|
|
673
|
+
): UseMutationResult<
|
|
674
|
+
Awaited<ReturnType<typeof deleteWorkflow>>,
|
|
675
|
+
TError,
|
|
676
|
+
{ workflowId: string },
|
|
677
|
+
TContext
|
|
678
|
+
> => {
|
|
679
|
+
return useMutation(getDeleteWorkflowMutationOptions(options), queryClient);
|
|
777
680
|
};
|
|
778
|
-
|
|
779
681
|
/**
|
|
780
682
|
* The Workflow is updated according to the patch parameters.
|
|
781
683
|
*
|
|
@@ -811,58 +713,135 @@ export const updateWorkflow = (
|
|
|
811
713
|
);
|
|
812
714
|
};
|
|
813
715
|
|
|
814
|
-
export const
|
|
716
|
+
export const getUpdateWorkflowMutationOptions = <
|
|
717
|
+
TError = ErrorType<void | DmError>,
|
|
718
|
+
TContext = unknown,
|
|
719
|
+
>(options?: {
|
|
720
|
+
mutation?: UseMutationOptions<
|
|
721
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
722
|
+
TError,
|
|
723
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
724
|
+
TContext
|
|
725
|
+
>;
|
|
726
|
+
request?: SecondParameter<typeof customInstance>;
|
|
727
|
+
}): UseMutationOptions<
|
|
728
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
729
|
+
TError,
|
|
730
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
731
|
+
TContext
|
|
732
|
+
> => {
|
|
733
|
+
const mutationKey = ["updateWorkflow"];
|
|
734
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
735
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
736
|
+
? options
|
|
737
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
738
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
739
|
+
|
|
740
|
+
const mutationFn: MutationFunction<
|
|
741
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
742
|
+
{ workflowId: string; data: WorkflowPatchBodyBody }
|
|
743
|
+
> = (props) => {
|
|
744
|
+
const { workflowId, data } = props ?? {};
|
|
745
|
+
|
|
746
|
+
return updateWorkflow(workflowId, data, requestOptions);
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
return { mutationFn, ...mutationOptions };
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
export type UpdateWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof updateWorkflow>>>;
|
|
753
|
+
export type UpdateWorkflowMutationBody = WorkflowPatchBodyBody;
|
|
754
|
+
export type UpdateWorkflowMutationError = ErrorType<void | DmError>;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* @summary Update a Workflow
|
|
758
|
+
*/
|
|
759
|
+
export const useUpdateWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
760
|
+
options?: {
|
|
761
|
+
mutation?: UseMutationOptions<
|
|
762
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
763
|
+
TError,
|
|
764
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
765
|
+
TContext
|
|
766
|
+
>;
|
|
767
|
+
request?: SecondParameter<typeof customInstance>;
|
|
768
|
+
},
|
|
769
|
+
queryClient?: QueryClient,
|
|
770
|
+
): UseMutationResult<
|
|
771
|
+
Awaited<ReturnType<typeof updateWorkflow>>,
|
|
772
|
+
TError,
|
|
773
|
+
{ workflowId: string; data: WorkflowPatchBodyBody },
|
|
774
|
+
TContext
|
|
775
|
+
> => {
|
|
776
|
+
return useMutation(getUpdateWorkflowMutationOptions(options), queryClient);
|
|
777
|
+
};
|
|
778
|
+
/**
|
|
779
|
+
* 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.
|
|
780
|
+
* @summary Gets the full definition of a Workflow
|
|
781
|
+
*/
|
|
782
|
+
export const getWorkflowDefinition = (
|
|
815
783
|
workflowId: string,
|
|
816
|
-
|
|
784
|
+
options?: SecondParameter<typeof customInstance>,
|
|
785
|
+
signal?: AbortSignal,
|
|
817
786
|
) => {
|
|
818
|
-
return
|
|
787
|
+
return customInstance<WorkflowDefinitionGetResponse>(
|
|
788
|
+
{ url: `/workflow/${workflowId}/definition`, method: "GET", signal },
|
|
789
|
+
options,
|
|
790
|
+
);
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
export const getGetWorkflowDefinitionQueryKey = (workflowId: string) => {
|
|
794
|
+
return ["data-manager", "workflow", workflowId, "definition"] as const;
|
|
819
795
|
};
|
|
820
796
|
|
|
821
|
-
export const
|
|
822
|
-
TData = Awaited<ReturnType<typeof
|
|
797
|
+
export const getGetWorkflowDefinitionQueryOptions = <
|
|
798
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
823
799
|
TError = ErrorType<void | DmError>,
|
|
824
800
|
>(
|
|
825
801
|
workflowId: string,
|
|
826
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
827
802
|
options?: {
|
|
828
|
-
query?: Partial<
|
|
803
|
+
query?: Partial<
|
|
804
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
805
|
+
>;
|
|
829
806
|
request?: SecondParameter<typeof customInstance>;
|
|
830
807
|
},
|
|
831
808
|
) => {
|
|
832
809
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
833
810
|
|
|
834
|
-
const queryKey =
|
|
835
|
-
queryOptions?.queryKey ?? getUpdateWorkflowQueryKey(workflowId, workflowPatchBodyBody);
|
|
811
|
+
const queryKey = queryOptions?.queryKey ?? getGetWorkflowDefinitionQueryKey(workflowId);
|
|
836
812
|
|
|
837
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof
|
|
838
|
-
|
|
813
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowDefinition>>> = ({ signal }) =>
|
|
814
|
+
getWorkflowDefinition(workflowId, requestOptions, signal);
|
|
839
815
|
|
|
840
816
|
return {
|
|
841
817
|
queryKey,
|
|
842
818
|
queryFn,
|
|
843
819
|
enabled: workflowId !== null && workflowId !== undefined,
|
|
844
820
|
...queryOptions,
|
|
845
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof
|
|
821
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData> & {
|
|
846
822
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
847
823
|
};
|
|
848
824
|
};
|
|
849
825
|
|
|
850
|
-
export type
|
|
851
|
-
|
|
826
|
+
export type GetWorkflowDefinitionQueryResult = NonNullable<
|
|
827
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
828
|
+
>;
|
|
829
|
+
export type GetWorkflowDefinitionQueryError = ErrorType<void | DmError>;
|
|
852
830
|
|
|
853
|
-
export function
|
|
854
|
-
TData = Awaited<ReturnType<typeof
|
|
831
|
+
export function useGetWorkflowDefinition<
|
|
832
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
855
833
|
TError = ErrorType<void | DmError>,
|
|
856
834
|
>(
|
|
857
835
|
workflowId: string,
|
|
858
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
859
836
|
options: {
|
|
860
|
-
query: Partial<
|
|
837
|
+
query: Partial<
|
|
838
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
839
|
+
> &
|
|
861
840
|
Pick<
|
|
862
841
|
DefinedInitialDataOptions<
|
|
863
|
-
Awaited<ReturnType<typeof
|
|
842
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
864
843
|
TError,
|
|
865
|
-
Awaited<ReturnType<typeof
|
|
844
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
866
845
|
>,
|
|
867
846
|
"initialData"
|
|
868
847
|
>;
|
|
@@ -870,19 +849,20 @@ export function useUpdateWorkflow<
|
|
|
870
849
|
},
|
|
871
850
|
queryClient?: QueryClient,
|
|
872
851
|
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
873
|
-
export function
|
|
874
|
-
TData = Awaited<ReturnType<typeof
|
|
852
|
+
export function useGetWorkflowDefinition<
|
|
853
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
875
854
|
TError = ErrorType<void | DmError>,
|
|
876
855
|
>(
|
|
877
856
|
workflowId: string,
|
|
878
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
879
857
|
options?: {
|
|
880
|
-
query?: Partial<
|
|
858
|
+
query?: Partial<
|
|
859
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
860
|
+
> &
|
|
881
861
|
Pick<
|
|
882
862
|
UndefinedInitialDataOptions<
|
|
883
|
-
Awaited<ReturnType<typeof
|
|
863
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
884
864
|
TError,
|
|
885
|
-
Awaited<ReturnType<typeof
|
|
865
|
+
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
886
866
|
>,
|
|
887
867
|
"initialData"
|
|
888
868
|
>;
|
|
@@ -890,204 +870,55 @@ export function useUpdateWorkflow<
|
|
|
890
870
|
},
|
|
891
871
|
queryClient?: QueryClient,
|
|
892
872
|
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
893
|
-
export function
|
|
894
|
-
TData = Awaited<ReturnType<typeof
|
|
873
|
+
export function useGetWorkflowDefinition<
|
|
874
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
895
875
|
TError = ErrorType<void | DmError>,
|
|
896
876
|
>(
|
|
897
877
|
workflowId: string,
|
|
898
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
899
878
|
options?: {
|
|
900
|
-
query?: Partial<
|
|
879
|
+
query?: Partial<
|
|
880
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
881
|
+
>;
|
|
901
882
|
request?: SecondParameter<typeof customInstance>;
|
|
902
883
|
},
|
|
903
884
|
queryClient?: QueryClient,
|
|
904
885
|
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
905
886
|
/**
|
|
906
|
-
* @summary
|
|
887
|
+
* @summary Gets the full definition of a Workflow
|
|
907
888
|
*/
|
|
908
889
|
|
|
909
|
-
export function
|
|
910
|
-
TData = Awaited<ReturnType<typeof
|
|
890
|
+
export function useGetWorkflowDefinition<
|
|
891
|
+
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
911
892
|
TError = ErrorType<void | DmError>,
|
|
912
893
|
>(
|
|
913
894
|
workflowId: string,
|
|
914
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
915
895
|
options?: {
|
|
916
|
-
query?: Partial<
|
|
896
|
+
query?: Partial<
|
|
897
|
+
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
898
|
+
>;
|
|
917
899
|
request?: SecondParameter<typeof customInstance>;
|
|
918
900
|
},
|
|
919
901
|
queryClient?: QueryClient,
|
|
920
902
|
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
921
|
-
const queryOptions =
|
|
903
|
+
const queryOptions = getGetWorkflowDefinitionQueryOptions(workflowId, options);
|
|
922
904
|
|
|
923
905
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
924
906
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
925
907
|
};
|
|
926
908
|
|
|
927
|
-
return
|
|
909
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
928
910
|
}
|
|
929
911
|
|
|
930
912
|
/**
|
|
931
|
-
* @summary
|
|
913
|
+
* @summary Gets the full definition of a Workflow
|
|
932
914
|
*/
|
|
933
|
-
export const
|
|
915
|
+
export const invalidateGetWorkflowDefinition = async (
|
|
934
916
|
queryClient: QueryClient,
|
|
935
917
|
workflowId: string,
|
|
936
|
-
workflowPatchBodyBody: WorkflowPatchBodyBody,
|
|
937
918
|
options?: InvalidateOptions,
|
|
938
919
|
): Promise<QueryClient> => {
|
|
939
920
|
await queryClient.invalidateQueries(
|
|
940
|
-
{ queryKey:
|
|
941
|
-
options,
|
|
942
|
-
);
|
|
943
|
-
|
|
944
|
-
return queryClient;
|
|
945
|
-
};
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* 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.
|
|
949
|
-
* @summary Gets the full definition of a Workflow
|
|
950
|
-
*/
|
|
951
|
-
export const getWorkflowDefinition = (
|
|
952
|
-
workflowId: string,
|
|
953
|
-
options?: SecondParameter<typeof customInstance>,
|
|
954
|
-
signal?: AbortSignal,
|
|
955
|
-
) => {
|
|
956
|
-
return customInstance<WorkflowDefinitionGetResponse>(
|
|
957
|
-
{ url: `/workflow/${workflowId}/definition`, method: "GET", signal },
|
|
958
|
-
options,
|
|
959
|
-
);
|
|
960
|
-
};
|
|
961
|
-
|
|
962
|
-
export const getGetWorkflowDefinitionQueryKey = (workflowId: string) => {
|
|
963
|
-
return ["data-manager", "workflow", workflowId, "definition"] as const;
|
|
964
|
-
};
|
|
965
|
-
|
|
966
|
-
export const getGetWorkflowDefinitionQueryOptions = <
|
|
967
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
968
|
-
TError = ErrorType<void | DmError>,
|
|
969
|
-
>(
|
|
970
|
-
workflowId: string,
|
|
971
|
-
options?: {
|
|
972
|
-
query?: Partial<
|
|
973
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
974
|
-
>;
|
|
975
|
-
request?: SecondParameter<typeof customInstance>;
|
|
976
|
-
},
|
|
977
|
-
) => {
|
|
978
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
979
|
-
|
|
980
|
-
const queryKey = queryOptions?.queryKey ?? getGetWorkflowDefinitionQueryKey(workflowId);
|
|
981
|
-
|
|
982
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof getWorkflowDefinition>>> = ({ signal }) =>
|
|
983
|
-
getWorkflowDefinition(workflowId, requestOptions, signal);
|
|
984
|
-
|
|
985
|
-
return {
|
|
986
|
-
queryKey,
|
|
987
|
-
queryFn,
|
|
988
|
-
enabled: workflowId !== null && workflowId !== undefined,
|
|
989
|
-
...queryOptions,
|
|
990
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData> & {
|
|
991
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
|
|
995
|
-
export type GetWorkflowDefinitionQueryResult = NonNullable<
|
|
996
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
997
|
-
>;
|
|
998
|
-
export type GetWorkflowDefinitionQueryError = ErrorType<void | DmError>;
|
|
999
|
-
|
|
1000
|
-
export function useGetWorkflowDefinition<
|
|
1001
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1002
|
-
TError = ErrorType<void | DmError>,
|
|
1003
|
-
>(
|
|
1004
|
-
workflowId: string,
|
|
1005
|
-
options: {
|
|
1006
|
-
query: Partial<
|
|
1007
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
1008
|
-
> &
|
|
1009
|
-
Pick<
|
|
1010
|
-
DefinedInitialDataOptions<
|
|
1011
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1012
|
-
TError,
|
|
1013
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
1014
|
-
>,
|
|
1015
|
-
"initialData"
|
|
1016
|
-
>;
|
|
1017
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1018
|
-
},
|
|
1019
|
-
queryClient?: QueryClient,
|
|
1020
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1021
|
-
export function useGetWorkflowDefinition<
|
|
1022
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1023
|
-
TError = ErrorType<void | DmError>,
|
|
1024
|
-
>(
|
|
1025
|
-
workflowId: string,
|
|
1026
|
-
options?: {
|
|
1027
|
-
query?: Partial<
|
|
1028
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
1029
|
-
> &
|
|
1030
|
-
Pick<
|
|
1031
|
-
UndefinedInitialDataOptions<
|
|
1032
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1033
|
-
TError,
|
|
1034
|
-
Awaited<ReturnType<typeof getWorkflowDefinition>>
|
|
1035
|
-
>,
|
|
1036
|
-
"initialData"
|
|
1037
|
-
>;
|
|
1038
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1039
|
-
},
|
|
1040
|
-
queryClient?: QueryClient,
|
|
1041
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1042
|
-
export function useGetWorkflowDefinition<
|
|
1043
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1044
|
-
TError = ErrorType<void | DmError>,
|
|
1045
|
-
>(
|
|
1046
|
-
workflowId: string,
|
|
1047
|
-
options?: {
|
|
1048
|
-
query?: Partial<
|
|
1049
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
1050
|
-
>;
|
|
1051
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1052
|
-
},
|
|
1053
|
-
queryClient?: QueryClient,
|
|
1054
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1055
|
-
/**
|
|
1056
|
-
* @summary Gets the full definition of a Workflow
|
|
1057
|
-
*/
|
|
1058
|
-
|
|
1059
|
-
export function useGetWorkflowDefinition<
|
|
1060
|
-
TData = Awaited<ReturnType<typeof getWorkflowDefinition>>,
|
|
1061
|
-
TError = ErrorType<void | DmError>,
|
|
1062
|
-
>(
|
|
1063
|
-
workflowId: string,
|
|
1064
|
-
options?: {
|
|
1065
|
-
query?: Partial<
|
|
1066
|
-
UseQueryOptions<Awaited<ReturnType<typeof getWorkflowDefinition>>, TError, TData>
|
|
1067
|
-
>;
|
|
1068
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1069
|
-
},
|
|
1070
|
-
queryClient?: QueryClient,
|
|
1071
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1072
|
-
const queryOptions = getGetWorkflowDefinitionQueryOptions(workflowId, options);
|
|
1073
|
-
|
|
1074
|
-
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1075
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1076
|
-
};
|
|
1077
|
-
|
|
1078
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* @summary Gets the full definition of a Workflow
|
|
1083
|
-
*/
|
|
1084
|
-
export const invalidateGetWorkflowDefinition = async (
|
|
1085
|
-
queryClient: QueryClient,
|
|
1086
|
-
workflowId: string,
|
|
1087
|
-
options?: InvalidateOptions,
|
|
1088
|
-
): Promise<QueryClient> => {
|
|
1089
|
-
await queryClient.invalidateQueries(
|
|
1090
|
-
{ queryKey: getGetWorkflowDefinitionQueryKey(workflowId) },
|
|
921
|
+
{ queryKey: getGetWorkflowDefinitionQueryKey(workflowId) },
|
|
1091
922
|
options,
|
|
1092
923
|
);
|
|
1093
924
|
|
|
@@ -1188,7 +1019,7 @@ export function useGetWorkflowDefinitionSuspense<
|
|
|
1188
1019
|
TError
|
|
1189
1020
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1190
1021
|
|
|
1191
|
-
return
|
|
1022
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1192
1023
|
}
|
|
1193
1024
|
|
|
1194
1025
|
/**
|
|
@@ -1223,310 +1054,159 @@ export const runWorkflow = (
|
|
|
1223
1054
|
);
|
|
1224
1055
|
};
|
|
1225
1056
|
|
|
1226
|
-
export const
|
|
1227
|
-
workflowId: string,
|
|
1228
|
-
workflowRunPostBodyBody?: WorkflowRunPostBodyBody,
|
|
1229
|
-
) => {
|
|
1230
|
-
return ["data-manager", "POST", "workflow", workflowId, "run", workflowRunPostBodyBody] as const;
|
|
1231
|
-
};
|
|
1232
|
-
|
|
1233
|
-
export const getRunWorkflowQueryOptions = <
|
|
1234
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1235
|
-
TError = ErrorType<void | DmError>,
|
|
1236
|
-
>(
|
|
1237
|
-
workflowId: string,
|
|
1238
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1239
|
-
options?: {
|
|
1240
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1241
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1242
|
-
},
|
|
1243
|
-
) => {
|
|
1244
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1245
|
-
|
|
1246
|
-
const queryKey =
|
|
1247
|
-
queryOptions?.queryKey ?? getRunWorkflowQueryKey(workflowId, workflowRunPostBodyBody);
|
|
1248
|
-
|
|
1249
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof runWorkflow>>> = ({ signal }) =>
|
|
1250
|
-
runWorkflow(workflowId, workflowRunPostBodyBody, requestOptions, signal);
|
|
1251
|
-
|
|
1252
|
-
return {
|
|
1253
|
-
queryKey,
|
|
1254
|
-
queryFn,
|
|
1255
|
-
enabled: workflowId !== null && workflowId !== undefined,
|
|
1256
|
-
...queryOptions,
|
|
1257
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData> & {
|
|
1258
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1259
|
-
};
|
|
1260
|
-
};
|
|
1261
|
-
|
|
1262
|
-
export type RunWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof runWorkflow>>>;
|
|
1263
|
-
export type RunWorkflowQueryError = ErrorType<void | DmError>;
|
|
1264
|
-
|
|
1265
|
-
export function useRunWorkflow<
|
|
1266
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1267
|
-
TError = ErrorType<void | DmError>,
|
|
1268
|
-
>(
|
|
1269
|
-
workflowId: string,
|
|
1270
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1271
|
-
options: {
|
|
1272
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1273
|
-
Pick<
|
|
1274
|
-
DefinedInitialDataOptions<
|
|
1275
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1276
|
-
TError,
|
|
1277
|
-
Awaited<ReturnType<typeof runWorkflow>>
|
|
1278
|
-
>,
|
|
1279
|
-
"initialData"
|
|
1280
|
-
>;
|
|
1281
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1282
|
-
},
|
|
1283
|
-
queryClient?: QueryClient,
|
|
1284
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1285
|
-
export function useRunWorkflow<
|
|
1286
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1287
|
-
TError = ErrorType<void | DmError>,
|
|
1288
|
-
>(
|
|
1289
|
-
workflowId: string,
|
|
1290
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1291
|
-
options?: {
|
|
1292
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>> &
|
|
1293
|
-
Pick<
|
|
1294
|
-
UndefinedInitialDataOptions<
|
|
1295
|
-
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1296
|
-
TError,
|
|
1297
|
-
Awaited<ReturnType<typeof runWorkflow>>
|
|
1298
|
-
>,
|
|
1299
|
-
"initialData"
|
|
1300
|
-
>;
|
|
1301
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1302
|
-
},
|
|
1303
|
-
queryClient?: QueryClient,
|
|
1304
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1305
|
-
export function useRunWorkflow<
|
|
1306
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1307
|
-
TError = ErrorType<void | DmError>,
|
|
1308
|
-
>(
|
|
1309
|
-
workflowId: string,
|
|
1310
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1311
|
-
options?: {
|
|
1312
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1313
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1314
|
-
},
|
|
1315
|
-
queryClient?: QueryClient,
|
|
1316
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1317
|
-
/**
|
|
1318
|
-
* @summary Run a Workflow
|
|
1319
|
-
*/
|
|
1320
|
-
|
|
1321
|
-
export function useRunWorkflow<
|
|
1322
|
-
TData = Awaited<ReturnType<typeof runWorkflow>>,
|
|
1323
|
-
TError = ErrorType<void | DmError>,
|
|
1324
|
-
>(
|
|
1325
|
-
workflowId: string,
|
|
1326
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1327
|
-
options?: {
|
|
1328
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof runWorkflow>>, TError, TData>>;
|
|
1329
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1330
|
-
},
|
|
1331
|
-
queryClient?: QueryClient,
|
|
1332
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1333
|
-
const queryOptions = getRunWorkflowQueryOptions(workflowId, workflowRunPostBodyBody, options);
|
|
1334
|
-
|
|
1335
|
-
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1336
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1337
|
-
};
|
|
1338
|
-
|
|
1339
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* @summary Run a Workflow
|
|
1344
|
-
*/
|
|
1345
|
-
export const invalidateRunWorkflow = async (
|
|
1346
|
-
queryClient: QueryClient,
|
|
1347
|
-
workflowId: string,
|
|
1348
|
-
workflowRunPostBodyBody: WorkflowRunPostBodyBody,
|
|
1349
|
-
options?: InvalidateOptions,
|
|
1350
|
-
): Promise<QueryClient> => {
|
|
1351
|
-
await queryClient.invalidateQueries(
|
|
1352
|
-
{ queryKey: getRunWorkflowQueryKey(workflowId, workflowRunPostBodyBody) },
|
|
1353
|
-
options,
|
|
1354
|
-
);
|
|
1355
|
-
|
|
1356
|
-
return queryClient;
|
|
1357
|
-
};
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* 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.
|
|
1361
|
-
*
|
|
1362
|
-
* 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.
|
|
1363
|
-
* @summary Applied a version to the Workflow
|
|
1364
|
-
*/
|
|
1365
|
-
export const versionWorkflow = (
|
|
1366
|
-
workflowId: string,
|
|
1367
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1368
|
-
options?: SecondParameter<typeof customInstance>,
|
|
1369
|
-
signal?: AbortSignal,
|
|
1370
|
-
) => {
|
|
1371
|
-
const formUrlEncoded = new URLSearchParams();
|
|
1372
|
-
formUrlEncoded.append(`version`, workflowVersionPutBodyBody.version);
|
|
1373
|
-
|
|
1374
|
-
return customInstance<WorkflowVersionPutResponse>(
|
|
1375
|
-
{
|
|
1376
|
-
url: `/workflow/${workflowId}/version`,
|
|
1377
|
-
method: "PUT",
|
|
1378
|
-
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
1379
|
-
data: formUrlEncoded,
|
|
1380
|
-
signal,
|
|
1381
|
-
},
|
|
1382
|
-
options,
|
|
1383
|
-
);
|
|
1384
|
-
};
|
|
1385
|
-
|
|
1386
|
-
export const getVersionWorkflowQueryKey = (
|
|
1387
|
-
workflowId: string,
|
|
1388
|
-
workflowVersionPutBodyBody?: WorkflowVersionPutBodyBody,
|
|
1389
|
-
) => {
|
|
1390
|
-
return [
|
|
1391
|
-
"data-manager",
|
|
1392
|
-
"PUT",
|
|
1393
|
-
"workflow",
|
|
1394
|
-
workflowId,
|
|
1395
|
-
"version",
|
|
1396
|
-
workflowVersionPutBodyBody,
|
|
1397
|
-
] as const;
|
|
1398
|
-
};
|
|
1399
|
-
|
|
1400
|
-
export const getVersionWorkflowQueryOptions = <
|
|
1401
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1402
|
-
TError = ErrorType<void | DmError>,
|
|
1403
|
-
>(
|
|
1404
|
-
workflowId: string,
|
|
1405
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1406
|
-
options?: {
|
|
1407
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>>;
|
|
1408
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1409
|
-
},
|
|
1410
|
-
) => {
|
|
1411
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1412
|
-
|
|
1413
|
-
const queryKey =
|
|
1414
|
-
queryOptions?.queryKey ?? getVersionWorkflowQueryKey(workflowId, workflowVersionPutBodyBody);
|
|
1415
|
-
|
|
1416
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof versionWorkflow>>> = ({ signal }) =>
|
|
1417
|
-
versionWorkflow(workflowId, workflowVersionPutBodyBody, requestOptions, signal);
|
|
1418
|
-
|
|
1419
|
-
return {
|
|
1420
|
-
queryKey,
|
|
1421
|
-
queryFn,
|
|
1422
|
-
enabled: workflowId !== null && workflowId !== undefined,
|
|
1423
|
-
...queryOptions,
|
|
1424
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData> & {
|
|
1425
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1426
|
-
};
|
|
1427
|
-
};
|
|
1428
|
-
|
|
1429
|
-
export type VersionWorkflowQueryResult = NonNullable<Awaited<ReturnType<typeof versionWorkflow>>>;
|
|
1430
|
-
export type VersionWorkflowQueryError = ErrorType<void | DmError>;
|
|
1431
|
-
|
|
1432
|
-
export function useVersionWorkflow<
|
|
1433
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1434
|
-
TError = ErrorType<void | DmError>,
|
|
1435
|
-
>(
|
|
1436
|
-
workflowId: string,
|
|
1437
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1438
|
-
options: {
|
|
1439
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1440
|
-
Pick<
|
|
1441
|
-
DefinedInitialDataOptions<
|
|
1442
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1443
|
-
TError,
|
|
1444
|
-
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1445
|
-
>,
|
|
1446
|
-
"initialData"
|
|
1447
|
-
>;
|
|
1448
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1449
|
-
},
|
|
1450
|
-
queryClient?: QueryClient,
|
|
1451
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1452
|
-
export function useVersionWorkflow<
|
|
1453
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1454
|
-
TError = ErrorType<void | DmError>,
|
|
1455
|
-
>(
|
|
1456
|
-
workflowId: string,
|
|
1457
|
-
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1458
|
-
options?: {
|
|
1459
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof versionWorkflow>>, TError, TData>> &
|
|
1460
|
-
Pick<
|
|
1461
|
-
UndefinedInitialDataOptions<
|
|
1462
|
-
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1463
|
-
TError,
|
|
1464
|
-
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1465
|
-
>,
|
|
1466
|
-
"initialData"
|
|
1467
|
-
>;
|
|
1468
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1469
|
-
},
|
|
1470
|
-
queryClient?: QueryClient,
|
|
1471
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1472
|
-
export function useVersionWorkflow<
|
|
1473
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1057
|
+
export const getRunWorkflowMutationOptions = <
|
|
1474
1058
|
TError = ErrorType<void | DmError>,
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1059
|
+
TContext = unknown,
|
|
1060
|
+
>(options?: {
|
|
1061
|
+
mutation?: UseMutationOptions<
|
|
1062
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1063
|
+
TError,
|
|
1064
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1065
|
+
TContext
|
|
1066
|
+
>;
|
|
1067
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1068
|
+
}): UseMutationOptions<
|
|
1069
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1070
|
+
TError,
|
|
1071
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1072
|
+
TContext
|
|
1073
|
+
> => {
|
|
1074
|
+
const mutationKey = ["runWorkflow"];
|
|
1075
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1076
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1077
|
+
? options
|
|
1078
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1079
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1080
|
+
|
|
1081
|
+
const mutationFn: MutationFunction<
|
|
1082
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1083
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody }
|
|
1084
|
+
> = (props) => {
|
|
1085
|
+
const { workflowId, data } = props ?? {};
|
|
1086
|
+
|
|
1087
|
+
return runWorkflow(workflowId, data, requestOptions);
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
return { mutationFn, ...mutationOptions };
|
|
1091
|
+
};
|
|
1092
|
+
|
|
1093
|
+
export type RunWorkflowMutationResult = NonNullable<Awaited<ReturnType<typeof runWorkflow>>>;
|
|
1094
|
+
export type RunWorkflowMutationBody = WorkflowRunPostBodyBody;
|
|
1095
|
+
export type RunWorkflowMutationError = ErrorType<void | DmError>;
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* @summary Run a Workflow
|
|
1099
|
+
*/
|
|
1100
|
+
export const useRunWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1478
1101
|
options?: {
|
|
1479
|
-
|
|
1102
|
+
mutation?: UseMutationOptions<
|
|
1103
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1104
|
+
TError,
|
|
1105
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1106
|
+
TContext
|
|
1107
|
+
>;
|
|
1480
1108
|
request?: SecondParameter<typeof customInstance>;
|
|
1481
1109
|
},
|
|
1482
1110
|
queryClient?: QueryClient,
|
|
1483
|
-
):
|
|
1111
|
+
): UseMutationResult<
|
|
1112
|
+
Awaited<ReturnType<typeof runWorkflow>>,
|
|
1113
|
+
TError,
|
|
1114
|
+
{ workflowId: string; data: WorkflowRunPostBodyBody },
|
|
1115
|
+
TContext
|
|
1116
|
+
> => {
|
|
1117
|
+
return useMutation(getRunWorkflowMutationOptions(options), queryClient);
|
|
1118
|
+
};
|
|
1484
1119
|
/**
|
|
1120
|
+
* 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.
|
|
1121
|
+
*
|
|
1122
|
+
* 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.
|
|
1485
1123
|
* @summary Applied a version to the Workflow
|
|
1486
1124
|
*/
|
|
1487
|
-
|
|
1488
|
-
export function useVersionWorkflow<
|
|
1489
|
-
TData = Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1490
|
-
TError = ErrorType<void | DmError>,
|
|
1491
|
-
>(
|
|
1125
|
+
export const versionWorkflow = (
|
|
1492
1126
|
workflowId: string,
|
|
1493
1127
|
workflowVersionPutBodyBody: WorkflowVersionPutBodyBody,
|
|
1494
|
-
options?:
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1128
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1129
|
+
signal?: AbortSignal,
|
|
1130
|
+
) => {
|
|
1131
|
+
const formUrlEncoded = new URLSearchParams();
|
|
1132
|
+
formUrlEncoded.append(`version`, workflowVersionPutBodyBody.version);
|
|
1133
|
+
|
|
1134
|
+
return customInstance<WorkflowVersionPutResponse>(
|
|
1135
|
+
{
|
|
1136
|
+
url: `/workflow/${workflowId}/version`,
|
|
1137
|
+
method: "PUT",
|
|
1138
|
+
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
1139
|
+
data: formUrlEncoded,
|
|
1140
|
+
signal,
|
|
1141
|
+
},
|
|
1503
1142
|
options,
|
|
1504
1143
|
);
|
|
1144
|
+
};
|
|
1505
1145
|
|
|
1506
|
-
|
|
1507
|
-
|
|
1146
|
+
export const getVersionWorkflowMutationOptions = <
|
|
1147
|
+
TError = ErrorType<void | DmError>,
|
|
1148
|
+
TContext = unknown,
|
|
1149
|
+
>(options?: {
|
|
1150
|
+
mutation?: UseMutationOptions<
|
|
1151
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1152
|
+
TError,
|
|
1153
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1154
|
+
TContext
|
|
1155
|
+
>;
|
|
1156
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1157
|
+
}): UseMutationOptions<
|
|
1158
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1159
|
+
TError,
|
|
1160
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1161
|
+
TContext
|
|
1162
|
+
> => {
|
|
1163
|
+
const mutationKey = ["versionWorkflow"];
|
|
1164
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1165
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1166
|
+
? options
|
|
1167
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1168
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1169
|
+
|
|
1170
|
+
const mutationFn: MutationFunction<
|
|
1171
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1172
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody }
|
|
1173
|
+
> = (props) => {
|
|
1174
|
+
const { workflowId, data } = props ?? {};
|
|
1175
|
+
|
|
1176
|
+
return versionWorkflow(workflowId, data, requestOptions);
|
|
1508
1177
|
};
|
|
1509
1178
|
|
|
1510
|
-
return {
|
|
1511
|
-
}
|
|
1179
|
+
return { mutationFn, ...mutationOptions };
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
export type VersionWorkflowMutationResult = NonNullable<
|
|
1183
|
+
Awaited<ReturnType<typeof versionWorkflow>>
|
|
1184
|
+
>;
|
|
1185
|
+
export type VersionWorkflowMutationBody = WorkflowVersionPutBodyBody;
|
|
1186
|
+
export type VersionWorkflowMutationError = ErrorType<void | DmError>;
|
|
1512
1187
|
|
|
1513
1188
|
/**
|
|
1514
1189
|
* @summary Applied a version to the Workflow
|
|
1515
1190
|
*/
|
|
1516
|
-
export const
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1191
|
+
export const useVersionWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1192
|
+
options?: {
|
|
1193
|
+
mutation?: UseMutationOptions<
|
|
1194
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1195
|
+
TError,
|
|
1196
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1197
|
+
TContext
|
|
1198
|
+
>;
|
|
1199
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1200
|
+
},
|
|
1201
|
+
queryClient?: QueryClient,
|
|
1202
|
+
): UseMutationResult<
|
|
1203
|
+
Awaited<ReturnType<typeof versionWorkflow>>,
|
|
1204
|
+
TError,
|
|
1205
|
+
{ workflowId: string; data: WorkflowVersionPutBodyBody },
|
|
1206
|
+
TContext
|
|
1207
|
+
> => {
|
|
1208
|
+
return useMutation(getVersionWorkflowMutationOptions(options), queryClient);
|
|
1528
1209
|
};
|
|
1529
|
-
|
|
1530
1210
|
/**
|
|
1531
1211
|
* Get a list of all Running Workflows available to you. The Running Workflows are listed in chronological order of the start time, where the first that was executed is the first in the list.
|
|
1532
1212
|
*
|
|
@@ -1657,7 +1337,7 @@ export function useGetRunningWorkflows<
|
|
|
1657
1337
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1658
1338
|
};
|
|
1659
1339
|
|
|
1660
|
-
return
|
|
1340
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1661
1341
|
}
|
|
1662
1342
|
|
|
1663
1343
|
/**
|
|
@@ -1770,7 +1450,7 @@ export function useGetRunningWorkflowsSuspense<
|
|
|
1770
1450
|
TError
|
|
1771
1451
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1772
1452
|
|
|
1773
|
-
return
|
|
1453
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1774
1454
|
}
|
|
1775
1455
|
|
|
1776
1456
|
/**
|
|
@@ -1896,7 +1576,7 @@ export function useGetRunningWorkflow<
|
|
|
1896
1576
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1897
1577
|
};
|
|
1898
1578
|
|
|
1899
|
-
return
|
|
1579
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1900
1580
|
}
|
|
1901
1581
|
|
|
1902
1582
|
/**
|
|
@@ -2009,7 +1689,7 @@ export function useGetRunningWorkflowSuspense<
|
|
|
2009
1689
|
TError
|
|
2010
1690
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2011
1691
|
|
|
2012
|
-
return
|
|
1692
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2013
1693
|
}
|
|
2014
1694
|
|
|
2015
1695
|
/**
|
|
@@ -2029,141 +1709,70 @@ export const deleteRunningWorkflow = (
|
|
|
2029
1709
|
);
|
|
2030
1710
|
};
|
|
2031
1711
|
|
|
2032
|
-
export const
|
|
2033
|
-
return ["data-manager", "DELETE", "running-workflow", runningWorkflowId] as const;
|
|
2034
|
-
};
|
|
2035
|
-
|
|
2036
|
-
export const getDeleteRunningWorkflowQueryOptions = <
|
|
2037
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1712
|
+
export const getDeleteRunningWorkflowMutationOptions = <
|
|
2038
1713
|
TError = ErrorType<void | DmError>,
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
1714
|
+
TContext = unknown,
|
|
1715
|
+
>(options?: {
|
|
1716
|
+
mutation?: UseMutationOptions<
|
|
1717
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1718
|
+
TError,
|
|
1719
|
+
{ runningWorkflowId: string },
|
|
1720
|
+
TContext
|
|
1721
|
+
>;
|
|
1722
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1723
|
+
}): UseMutationOptions<
|
|
1724
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1725
|
+
TError,
|
|
1726
|
+
{ runningWorkflowId: string },
|
|
1727
|
+
TContext
|
|
1728
|
+
> => {
|
|
1729
|
+
const mutationKey = ["deleteRunningWorkflow"];
|
|
1730
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1731
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1732
|
+
? options
|
|
1733
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1734
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1735
|
+
|
|
1736
|
+
const mutationFn: MutationFunction<
|
|
1737
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1738
|
+
{ runningWorkflowId: string }
|
|
1739
|
+
> = (props) => {
|
|
1740
|
+
const { runningWorkflowId } = props ?? {};
|
|
1741
|
+
|
|
1742
|
+
return deleteRunningWorkflow(runningWorkflowId, requestOptions);
|
|
2062
1743
|
};
|
|
1744
|
+
|
|
1745
|
+
return { mutationFn, ...mutationOptions };
|
|
2063
1746
|
};
|
|
2064
1747
|
|
|
2065
|
-
export type
|
|
1748
|
+
export type DeleteRunningWorkflowMutationResult = NonNullable<
|
|
2066
1749
|
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2067
1750
|
>;
|
|
2068
|
-
export type DeleteRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
2069
1751
|
|
|
2070
|
-
export
|
|
2071
|
-
|
|
2072
|
-
TError = ErrorType<void | DmError>,
|
|
2073
|
-
>(
|
|
2074
|
-
runningWorkflowId: string,
|
|
2075
|
-
options: {
|
|
2076
|
-
query: Partial<
|
|
2077
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2078
|
-
> &
|
|
2079
|
-
Pick<
|
|
2080
|
-
DefinedInitialDataOptions<
|
|
2081
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2082
|
-
TError,
|
|
2083
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2084
|
-
>,
|
|
2085
|
-
"initialData"
|
|
2086
|
-
>;
|
|
2087
|
-
request?: SecondParameter<typeof customInstance>;
|
|
2088
|
-
},
|
|
2089
|
-
queryClient?: QueryClient,
|
|
2090
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2091
|
-
export function useDeleteRunningWorkflow<
|
|
2092
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2093
|
-
TError = ErrorType<void | DmError>,
|
|
2094
|
-
>(
|
|
2095
|
-
runningWorkflowId: string,
|
|
2096
|
-
options?: {
|
|
2097
|
-
query?: Partial<
|
|
2098
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2099
|
-
> &
|
|
2100
|
-
Pick<
|
|
2101
|
-
UndefinedInitialDataOptions<
|
|
2102
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2103
|
-
TError,
|
|
2104
|
-
Awaited<ReturnType<typeof deleteRunningWorkflow>>
|
|
2105
|
-
>,
|
|
2106
|
-
"initialData"
|
|
2107
|
-
>;
|
|
2108
|
-
request?: SecondParameter<typeof customInstance>;
|
|
2109
|
-
},
|
|
2110
|
-
queryClient?: QueryClient,
|
|
2111
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2112
|
-
export function useDeleteRunningWorkflow<
|
|
2113
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2114
|
-
TError = ErrorType<void | DmError>,
|
|
2115
|
-
>(
|
|
2116
|
-
runningWorkflowId: string,
|
|
2117
|
-
options?: {
|
|
2118
|
-
query?: Partial<
|
|
2119
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteRunningWorkflow>>, TError, TData>
|
|
2120
|
-
>;
|
|
2121
|
-
request?: SecondParameter<typeof customInstance>;
|
|
2122
|
-
},
|
|
2123
|
-
queryClient?: QueryClient,
|
|
2124
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1752
|
+
export type DeleteRunningWorkflowMutationError = ErrorType<void | DmError>;
|
|
1753
|
+
|
|
2125
1754
|
/**
|
|
2126
1755
|
* @summary Delete a Running Workflow
|
|
2127
1756
|
*/
|
|
2128
|
-
|
|
2129
|
-
export function useDeleteRunningWorkflow<
|
|
2130
|
-
TData = Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
2131
|
-
TError = ErrorType<void | DmError>,
|
|
2132
|
-
>(
|
|
2133
|
-
runningWorkflowId: string,
|
|
1757
|
+
export const useDeleteRunningWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
2134
1758
|
options?: {
|
|
2135
|
-
|
|
2136
|
-
|
|
1759
|
+
mutation?: UseMutationOptions<
|
|
1760
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1761
|
+
TError,
|
|
1762
|
+
{ runningWorkflowId: string },
|
|
1763
|
+
TContext
|
|
2137
1764
|
>;
|
|
2138
1765
|
request?: SecondParameter<typeof customInstance>;
|
|
2139
1766
|
},
|
|
2140
1767
|
queryClient?: QueryClient,
|
|
2141
|
-
):
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
/**
|
|
2152
|
-
* @summary Delete a Running Workflow
|
|
2153
|
-
*/
|
|
2154
|
-
export const invalidateDeleteRunningWorkflow = async (
|
|
2155
|
-
queryClient: QueryClient,
|
|
2156
|
-
runningWorkflowId: string,
|
|
2157
|
-
options?: InvalidateOptions,
|
|
2158
|
-
): Promise<QueryClient> => {
|
|
2159
|
-
await queryClient.invalidateQueries(
|
|
2160
|
-
{ queryKey: getDeleteRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2161
|
-
options,
|
|
2162
|
-
);
|
|
2163
|
-
|
|
2164
|
-
return queryClient;
|
|
1768
|
+
): UseMutationResult<
|
|
1769
|
+
Awaited<ReturnType<typeof deleteRunningWorkflow>>,
|
|
1770
|
+
TError,
|
|
1771
|
+
{ runningWorkflowId: string },
|
|
1772
|
+
TContext
|
|
1773
|
+
> => {
|
|
1774
|
+
return useMutation(getDeleteRunningWorkflowMutationOptions(options), queryClient);
|
|
2165
1775
|
};
|
|
2166
|
-
|
|
2167
1776
|
/**
|
|
2168
1777
|
* Stops a Running Workflow.
|
|
2169
1778
|
* @summary Stop a Running Workflow
|
|
@@ -2179,141 +1788,70 @@ export const stopRunningWorkflow = (
|
|
|
2179
1788
|
);
|
|
2180
1789
|
};
|
|
2181
1790
|
|
|
2182
|
-
export const
|
|
2183
|
-
return ["data-manager", "PUT", "running-workflow", runningWorkflowId, "stop"] as const;
|
|
2184
|
-
};
|
|
2185
|
-
|
|
2186
|
-
export const getStopRunningWorkflowQueryOptions = <
|
|
2187
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1791
|
+
export const getStopRunningWorkflowMutationOptions = <
|
|
2188
1792
|
TError = ErrorType<void | DmError>,
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
1793
|
+
TContext = unknown,
|
|
1794
|
+
>(options?: {
|
|
1795
|
+
mutation?: UseMutationOptions<
|
|
1796
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1797
|
+
TError,
|
|
1798
|
+
{ runningWorkflowId: string },
|
|
1799
|
+
TContext
|
|
1800
|
+
>;
|
|
1801
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1802
|
+
}): UseMutationOptions<
|
|
1803
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1804
|
+
TError,
|
|
1805
|
+
{ runningWorkflowId: string },
|
|
1806
|
+
TContext
|
|
1807
|
+
> => {
|
|
1808
|
+
const mutationKey = ["stopRunningWorkflow"];
|
|
1809
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1810
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1811
|
+
? options
|
|
1812
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1813
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1814
|
+
|
|
1815
|
+
const mutationFn: MutationFunction<
|
|
1816
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1817
|
+
{ runningWorkflowId: string }
|
|
1818
|
+
> = (props) => {
|
|
1819
|
+
const { runningWorkflowId } = props ?? {};
|
|
1820
|
+
|
|
1821
|
+
return stopRunningWorkflow(runningWorkflowId, requestOptions);
|
|
2212
1822
|
};
|
|
1823
|
+
|
|
1824
|
+
return { mutationFn, ...mutationOptions };
|
|
2213
1825
|
};
|
|
2214
1826
|
|
|
2215
|
-
export type
|
|
1827
|
+
export type StopRunningWorkflowMutationResult = NonNullable<
|
|
2216
1828
|
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2217
1829
|
>;
|
|
2218
|
-
export type StopRunningWorkflowQueryError = ErrorType<void | DmError>;
|
|
2219
1830
|
|
|
2220
|
-
export
|
|
2221
|
-
|
|
2222
|
-
TError = ErrorType<void | DmError>,
|
|
2223
|
-
>(
|
|
2224
|
-
runningWorkflowId: string,
|
|
2225
|
-
options: {
|
|
2226
|
-
query: Partial<
|
|
2227
|
-
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2228
|
-
> &
|
|
2229
|
-
Pick<
|
|
2230
|
-
DefinedInitialDataOptions<
|
|
2231
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2232
|
-
TError,
|
|
2233
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2234
|
-
>,
|
|
2235
|
-
"initialData"
|
|
2236
|
-
>;
|
|
2237
|
-
request?: SecondParameter<typeof customInstance>;
|
|
2238
|
-
},
|
|
2239
|
-
queryClient?: QueryClient,
|
|
2240
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2241
|
-
export function useStopRunningWorkflow<
|
|
2242
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2243
|
-
TError = ErrorType<void | DmError>,
|
|
2244
|
-
>(
|
|
2245
|
-
runningWorkflowId: string,
|
|
2246
|
-
options?: {
|
|
2247
|
-
query?: Partial<
|
|
2248
|
-
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2249
|
-
> &
|
|
2250
|
-
Pick<
|
|
2251
|
-
UndefinedInitialDataOptions<
|
|
2252
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2253
|
-
TError,
|
|
2254
|
-
Awaited<ReturnType<typeof stopRunningWorkflow>>
|
|
2255
|
-
>,
|
|
2256
|
-
"initialData"
|
|
2257
|
-
>;
|
|
2258
|
-
request?: SecondParameter<typeof customInstance>;
|
|
2259
|
-
},
|
|
2260
|
-
queryClient?: QueryClient,
|
|
2261
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2262
|
-
export function useStopRunningWorkflow<
|
|
2263
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2264
|
-
TError = ErrorType<void | DmError>,
|
|
2265
|
-
>(
|
|
2266
|
-
runningWorkflowId: string,
|
|
2267
|
-
options?: {
|
|
2268
|
-
query?: Partial<
|
|
2269
|
-
UseQueryOptions<Awaited<ReturnType<typeof stopRunningWorkflow>>, TError, TData>
|
|
2270
|
-
>;
|
|
2271
|
-
request?: SecondParameter<typeof customInstance>;
|
|
2272
|
-
},
|
|
2273
|
-
queryClient?: QueryClient,
|
|
2274
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1831
|
+
export type StopRunningWorkflowMutationError = ErrorType<void | DmError>;
|
|
1832
|
+
|
|
2275
1833
|
/**
|
|
2276
1834
|
* @summary Stop a Running Workflow
|
|
2277
1835
|
*/
|
|
2278
|
-
|
|
2279
|
-
export function useStopRunningWorkflow<
|
|
2280
|
-
TData = Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
2281
|
-
TError = ErrorType<void | DmError>,
|
|
2282
|
-
>(
|
|
2283
|
-
runningWorkflowId: string,
|
|
1836
|
+
export const useStopRunningWorkflow = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
2284
1837
|
options?: {
|
|
2285
|
-
|
|
2286
|
-
|
|
1838
|
+
mutation?: UseMutationOptions<
|
|
1839
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1840
|
+
TError,
|
|
1841
|
+
{ runningWorkflowId: string },
|
|
1842
|
+
TContext
|
|
2287
1843
|
>;
|
|
2288
1844
|
request?: SecondParameter<typeof customInstance>;
|
|
2289
1845
|
},
|
|
2290
1846
|
queryClient?: QueryClient,
|
|
2291
|
-
):
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
2299
|
-
}
|
|
2300
|
-
|
|
2301
|
-
/**
|
|
2302
|
-
* @summary Stop a Running Workflow
|
|
2303
|
-
*/
|
|
2304
|
-
export const invalidateStopRunningWorkflow = async (
|
|
2305
|
-
queryClient: QueryClient,
|
|
2306
|
-
runningWorkflowId: string,
|
|
2307
|
-
options?: InvalidateOptions,
|
|
2308
|
-
): Promise<QueryClient> => {
|
|
2309
|
-
await queryClient.invalidateQueries(
|
|
2310
|
-
{ queryKey: getStopRunningWorkflowQueryKey(runningWorkflowId) },
|
|
2311
|
-
options,
|
|
2312
|
-
);
|
|
2313
|
-
|
|
2314
|
-
return queryClient;
|
|
1847
|
+
): UseMutationResult<
|
|
1848
|
+
Awaited<ReturnType<typeof stopRunningWorkflow>>,
|
|
1849
|
+
TError,
|
|
1850
|
+
{ runningWorkflowId: string },
|
|
1851
|
+
TContext
|
|
1852
|
+
> => {
|
|
1853
|
+
return useMutation(getStopRunningWorkflowMutationOptions(options), queryClient);
|
|
2315
1854
|
};
|
|
2316
|
-
|
|
2317
1855
|
/**
|
|
2318
1856
|
* Gets the Running Workflow step results for WWorkflow steps that are running (or have run). The steps are listed in chronological order of start time, where the first executed step is the first in the list.
|
|
2319
1857
|
* @summary Get all the Running Workflow Steps
|
|
@@ -2446,7 +1984,7 @@ export function useGetRunningWorkflowSteps<
|
|
|
2446
1984
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2447
1985
|
};
|
|
2448
1986
|
|
|
2449
|
-
return
|
|
1987
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2450
1988
|
}
|
|
2451
1989
|
|
|
2452
1990
|
/**
|
|
@@ -2560,5 +2098,5 @@ export function useGetRunningWorkflowStepsSuspense<
|
|
|
2560
2098
|
TError
|
|
2561
2099
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2562
2100
|
|
|
2563
|
-
return
|
|
2101
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2564
2102
|
}
|