@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,
|
|
@@ -45,6 +48,21 @@ import type { ErrorType } from "../../custom-axios";
|
|
|
45
48
|
|
|
46
49
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
47
50
|
|
|
51
|
+
const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {
|
|
52
|
+
const result = { queryKey } as T & { queryKey: K };
|
|
53
|
+
for (const key of Object.keys(query)) {
|
|
54
|
+
// The explicit queryKey always wins, matching the previous
|
|
55
|
+
// `{ ...query, queryKey }` spread where it was set last.
|
|
56
|
+
if (key === "queryKey") continue;
|
|
57
|
+
Object.defineProperty(result, key, {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
configurable: true,
|
|
60
|
+
get: () => (query as Record<string, unknown>)[key],
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
return result;
|
|
64
|
+
};
|
|
65
|
+
|
|
48
66
|
/**
|
|
49
67
|
* Creates a new Path within a Project. Every directory in the Path will be created. The path will belong to the User and Project.
|
|
50
68
|
*
|
|
@@ -59,123 +77,68 @@ export const createPath = (
|
|
|
59
77
|
return customInstance<void>({ url: `/path`, method: "PUT", params, signal }, options);
|
|
60
78
|
};
|
|
61
79
|
|
|
62
|
-
export const
|
|
63
|
-
return ["data-manager", "PUT", "path", ...(params ? [params] : [])] as const;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export const getCreatePathQueryOptions = <
|
|
67
|
-
TData = Awaited<ReturnType<typeof createPath>>,
|
|
80
|
+
export const getCreatePathMutationOptions = <
|
|
68
81
|
TError = ErrorType<void | DmError>,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
73
|
-
request?: SecondParameter<typeof customInstance>;
|
|
74
|
-
},
|
|
75
|
-
) => {
|
|
76
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
77
|
-
|
|
78
|
-
const queryKey = queryOptions?.queryKey ?? getCreatePathQueryKey(params);
|
|
79
|
-
|
|
80
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof createPath>>> = ({ signal }) =>
|
|
81
|
-
createPath(params, requestOptions, signal);
|
|
82
|
-
|
|
83
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
82
|
+
TContext = unknown,
|
|
83
|
+
>(options?: {
|
|
84
|
+
mutation?: UseMutationOptions<
|
|
84
85
|
Awaited<ReturnType<typeof createPath>>,
|
|
85
86
|
TError,
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
{ params: CreatePathParams },
|
|
88
|
+
TContext
|
|
89
|
+
>;
|
|
90
|
+
request?: SecondParameter<typeof customInstance>;
|
|
91
|
+
}): UseMutationOptions<
|
|
92
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
93
|
+
TError,
|
|
94
|
+
{ params: CreatePathParams },
|
|
95
|
+
TContext
|
|
96
|
+
> => {
|
|
97
|
+
const mutationKey = ["createPath"];
|
|
98
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
99
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
100
|
+
? options
|
|
101
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
102
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
103
|
+
|
|
104
|
+
const mutationFn: MutationFunction<
|
|
105
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
106
|
+
{ params: CreatePathParams }
|
|
107
|
+
> = (props) => {
|
|
108
|
+
const { params } = props ?? {};
|
|
109
|
+
|
|
110
|
+
return createPath(params, requestOptions);
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
return { mutationFn, ...mutationOptions };
|
|
88
114
|
};
|
|
89
115
|
|
|
90
|
-
export type
|
|
91
|
-
|
|
116
|
+
export type CreatePathMutationResult = NonNullable<Awaited<ReturnType<typeof createPath>>>;
|
|
117
|
+
|
|
118
|
+
export type CreatePathMutationError = ErrorType<void | DmError>;
|
|
92
119
|
|
|
93
|
-
export function useCreatePath<
|
|
94
|
-
TData = Awaited<ReturnType<typeof createPath>>,
|
|
95
|
-
TError = ErrorType<void | DmError>,
|
|
96
|
-
>(
|
|
97
|
-
params: CreatePathParams,
|
|
98
|
-
options: {
|
|
99
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
|
|
100
|
-
Pick<
|
|
101
|
-
DefinedInitialDataOptions<
|
|
102
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
103
|
-
TError,
|
|
104
|
-
Awaited<ReturnType<typeof createPath>>
|
|
105
|
-
>,
|
|
106
|
-
"initialData"
|
|
107
|
-
>;
|
|
108
|
-
request?: SecondParameter<typeof customInstance>;
|
|
109
|
-
},
|
|
110
|
-
queryClient?: QueryClient,
|
|
111
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
112
|
-
export function useCreatePath<
|
|
113
|
-
TData = Awaited<ReturnType<typeof createPath>>,
|
|
114
|
-
TError = ErrorType<void | DmError>,
|
|
115
|
-
>(
|
|
116
|
-
params: CreatePathParams,
|
|
117
|
-
options?: {
|
|
118
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
|
|
119
|
-
Pick<
|
|
120
|
-
UndefinedInitialDataOptions<
|
|
121
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
122
|
-
TError,
|
|
123
|
-
Awaited<ReturnType<typeof createPath>>
|
|
124
|
-
>,
|
|
125
|
-
"initialData"
|
|
126
|
-
>;
|
|
127
|
-
request?: SecondParameter<typeof customInstance>;
|
|
128
|
-
},
|
|
129
|
-
queryClient?: QueryClient,
|
|
130
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
131
|
-
export function useCreatePath<
|
|
132
|
-
TData = Awaited<ReturnType<typeof createPath>>,
|
|
133
|
-
TError = ErrorType<void | DmError>,
|
|
134
|
-
>(
|
|
135
|
-
params: CreatePathParams,
|
|
136
|
-
options?: {
|
|
137
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
138
|
-
request?: SecondParameter<typeof customInstance>;
|
|
139
|
-
},
|
|
140
|
-
queryClient?: QueryClient,
|
|
141
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
142
120
|
/**
|
|
143
121
|
* @summary Create a new Project Path
|
|
144
122
|
*/
|
|
145
|
-
|
|
146
|
-
export function useCreatePath<
|
|
147
|
-
TData = Awaited<ReturnType<typeof createPath>>,
|
|
148
|
-
TError = ErrorType<void | DmError>,
|
|
149
|
-
>(
|
|
150
|
-
params: CreatePathParams,
|
|
123
|
+
export const useCreatePath = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
151
124
|
options?: {
|
|
152
|
-
|
|
125
|
+
mutation?: UseMutationOptions<
|
|
126
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
127
|
+
TError,
|
|
128
|
+
{ params: CreatePathParams },
|
|
129
|
+
TContext
|
|
130
|
+
>;
|
|
153
131
|
request?: SecondParameter<typeof customInstance>;
|
|
154
132
|
},
|
|
155
133
|
queryClient?: QueryClient,
|
|
156
|
-
):
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @summary Create a new Project Path
|
|
168
|
-
*/
|
|
169
|
-
export const invalidateCreatePath = async (
|
|
170
|
-
queryClient: QueryClient,
|
|
171
|
-
params: CreatePathParams,
|
|
172
|
-
options?: InvalidateOptions,
|
|
173
|
-
): Promise<QueryClient> => {
|
|
174
|
-
await queryClient.invalidateQueries({ queryKey: getCreatePathQueryKey(params) }, options);
|
|
175
|
-
|
|
176
|
-
return queryClient;
|
|
134
|
+
): UseMutationResult<
|
|
135
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
136
|
+
TError,
|
|
137
|
+
{ params: CreatePathParams },
|
|
138
|
+
TContext
|
|
139
|
+
> => {
|
|
140
|
+
return useMutation(getCreatePathMutationOptions(options), queryClient);
|
|
177
141
|
};
|
|
178
|
-
|
|
179
142
|
/**
|
|
180
143
|
* Deletes a Path within the Project. Be aware that the deletion of a Path will result in the contents of the Path also being deleted. If there are files in Path or sub-directories, they will all be deleted.
|
|
181
144
|
*
|
|
@@ -190,123 +153,68 @@ export const deletePath = (
|
|
|
190
153
|
return customInstance<void>({ url: `/path`, method: "DELETE", params, signal }, options);
|
|
191
154
|
};
|
|
192
155
|
|
|
193
|
-
export const
|
|
194
|
-
return ["data-manager", "DELETE", "path", ...(params ? [params] : [])] as const;
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
export const getDeletePathQueryOptions = <
|
|
198
|
-
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
156
|
+
export const getDeletePathMutationOptions = <
|
|
199
157
|
TError = ErrorType<void | DmError>,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
204
|
-
request?: SecondParameter<typeof customInstance>;
|
|
205
|
-
},
|
|
206
|
-
) => {
|
|
207
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
208
|
-
|
|
209
|
-
const queryKey = queryOptions?.queryKey ?? getDeletePathQueryKey(params);
|
|
210
|
-
|
|
211
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof deletePath>>> = ({ signal }) =>
|
|
212
|
-
deletePath(params, requestOptions, signal);
|
|
213
|
-
|
|
214
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
158
|
+
TContext = unknown,
|
|
159
|
+
>(options?: {
|
|
160
|
+
mutation?: UseMutationOptions<
|
|
215
161
|
Awaited<ReturnType<typeof deletePath>>,
|
|
216
162
|
TError,
|
|
217
|
-
|
|
218
|
-
|
|
163
|
+
{ params: DeletePathParams },
|
|
164
|
+
TContext
|
|
165
|
+
>;
|
|
166
|
+
request?: SecondParameter<typeof customInstance>;
|
|
167
|
+
}): UseMutationOptions<
|
|
168
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
169
|
+
TError,
|
|
170
|
+
{ params: DeletePathParams },
|
|
171
|
+
TContext
|
|
172
|
+
> => {
|
|
173
|
+
const mutationKey = ["deletePath"];
|
|
174
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
175
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
176
|
+
? options
|
|
177
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
178
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
179
|
+
|
|
180
|
+
const mutationFn: MutationFunction<
|
|
181
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
182
|
+
{ params: DeletePathParams }
|
|
183
|
+
> = (props) => {
|
|
184
|
+
const { params } = props ?? {};
|
|
185
|
+
|
|
186
|
+
return deletePath(params, requestOptions);
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
return { mutationFn, ...mutationOptions };
|
|
219
190
|
};
|
|
220
191
|
|
|
221
|
-
export type
|
|
222
|
-
|
|
192
|
+
export type DeletePathMutationResult = NonNullable<Awaited<ReturnType<typeof deletePath>>>;
|
|
193
|
+
|
|
194
|
+
export type DeletePathMutationError = ErrorType<void | DmError>;
|
|
223
195
|
|
|
224
|
-
export function useDeletePath<
|
|
225
|
-
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
226
|
-
TError = ErrorType<void | DmError>,
|
|
227
|
-
>(
|
|
228
|
-
params: DeletePathParams,
|
|
229
|
-
options: {
|
|
230
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
|
|
231
|
-
Pick<
|
|
232
|
-
DefinedInitialDataOptions<
|
|
233
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
234
|
-
TError,
|
|
235
|
-
Awaited<ReturnType<typeof deletePath>>
|
|
236
|
-
>,
|
|
237
|
-
"initialData"
|
|
238
|
-
>;
|
|
239
|
-
request?: SecondParameter<typeof customInstance>;
|
|
240
|
-
},
|
|
241
|
-
queryClient?: QueryClient,
|
|
242
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
243
|
-
export function useDeletePath<
|
|
244
|
-
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
245
|
-
TError = ErrorType<void | DmError>,
|
|
246
|
-
>(
|
|
247
|
-
params: DeletePathParams,
|
|
248
|
-
options?: {
|
|
249
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
|
|
250
|
-
Pick<
|
|
251
|
-
UndefinedInitialDataOptions<
|
|
252
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
253
|
-
TError,
|
|
254
|
-
Awaited<ReturnType<typeof deletePath>>
|
|
255
|
-
>,
|
|
256
|
-
"initialData"
|
|
257
|
-
>;
|
|
258
|
-
request?: SecondParameter<typeof customInstance>;
|
|
259
|
-
},
|
|
260
|
-
queryClient?: QueryClient,
|
|
261
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
262
|
-
export function useDeletePath<
|
|
263
|
-
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
264
|
-
TError = ErrorType<void | DmError>,
|
|
265
|
-
>(
|
|
266
|
-
params: DeletePathParams,
|
|
267
|
-
options?: {
|
|
268
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
269
|
-
request?: SecondParameter<typeof customInstance>;
|
|
270
|
-
},
|
|
271
|
-
queryClient?: QueryClient,
|
|
272
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
273
196
|
/**
|
|
274
197
|
* @summary Delete a Project Path
|
|
275
198
|
*/
|
|
276
|
-
|
|
277
|
-
export function useDeletePath<
|
|
278
|
-
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
279
|
-
TError = ErrorType<void | DmError>,
|
|
280
|
-
>(
|
|
281
|
-
params: DeletePathParams,
|
|
199
|
+
export const useDeletePath = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
282
200
|
options?: {
|
|
283
|
-
|
|
201
|
+
mutation?: UseMutationOptions<
|
|
202
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
203
|
+
TError,
|
|
204
|
+
{ params: DeletePathParams },
|
|
205
|
+
TContext
|
|
206
|
+
>;
|
|
284
207
|
request?: SecondParameter<typeof customInstance>;
|
|
285
208
|
},
|
|
286
209
|
queryClient?: QueryClient,
|
|
287
|
-
):
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* @summary Delete a Project Path
|
|
299
|
-
*/
|
|
300
|
-
export const invalidateDeletePath = async (
|
|
301
|
-
queryClient: QueryClient,
|
|
302
|
-
params: DeletePathParams,
|
|
303
|
-
options?: InvalidateOptions,
|
|
304
|
-
): Promise<QueryClient> => {
|
|
305
|
-
await queryClient.invalidateQueries({ queryKey: getDeletePathQueryKey(params) }, options);
|
|
306
|
-
|
|
307
|
-
return queryClient;
|
|
210
|
+
): UseMutationResult<
|
|
211
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
212
|
+
TError,
|
|
213
|
+
{ params: DeletePathParams },
|
|
214
|
+
TContext
|
|
215
|
+
> => {
|
|
216
|
+
return useMutation(getDeletePathMutationOptions(options), queryClient);
|
|
308
217
|
};
|
|
309
|
-
|
|
310
218
|
/**
|
|
311
219
|
* Moves and existing Path within a Project. The path will belong to the User and Project. Any ProjectFile instances on the path will be moved to the new path.
|
|
312
220
|
*
|
|
@@ -321,123 +229,68 @@ export const movePath = (
|
|
|
321
229
|
return customInstance<void>({ url: `/path/move`, method: "PUT", params, signal }, options);
|
|
322
230
|
};
|
|
323
231
|
|
|
324
|
-
export const
|
|
325
|
-
return ["data-manager", "PUT", "path", "move", ...(params ? [params] : [])] as const;
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
export const getMovePathQueryOptions = <
|
|
329
|
-
TData = Awaited<ReturnType<typeof movePath>>,
|
|
232
|
+
export const getMovePathMutationOptions = <
|
|
330
233
|
TError = ErrorType<void | DmError>,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
335
|
-
request?: SecondParameter<typeof customInstance>;
|
|
336
|
-
},
|
|
337
|
-
) => {
|
|
338
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
339
|
-
|
|
340
|
-
const queryKey = queryOptions?.queryKey ?? getMovePathQueryKey(params);
|
|
341
|
-
|
|
342
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof movePath>>> = ({ signal }) =>
|
|
343
|
-
movePath(params, requestOptions, signal);
|
|
344
|
-
|
|
345
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
234
|
+
TContext = unknown,
|
|
235
|
+
>(options?: {
|
|
236
|
+
mutation?: UseMutationOptions<
|
|
346
237
|
Awaited<ReturnType<typeof movePath>>,
|
|
347
238
|
TError,
|
|
348
|
-
|
|
349
|
-
|
|
239
|
+
{ params: MovePathParams },
|
|
240
|
+
TContext
|
|
241
|
+
>;
|
|
242
|
+
request?: SecondParameter<typeof customInstance>;
|
|
243
|
+
}): UseMutationOptions<
|
|
244
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
245
|
+
TError,
|
|
246
|
+
{ params: MovePathParams },
|
|
247
|
+
TContext
|
|
248
|
+
> => {
|
|
249
|
+
const mutationKey = ["movePath"];
|
|
250
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
251
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
252
|
+
? options
|
|
253
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
254
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
255
|
+
|
|
256
|
+
const mutationFn: MutationFunction<
|
|
257
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
258
|
+
{ params: MovePathParams }
|
|
259
|
+
> = (props) => {
|
|
260
|
+
const { params } = props ?? {};
|
|
261
|
+
|
|
262
|
+
return movePath(params, requestOptions);
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
return { mutationFn, ...mutationOptions };
|
|
350
266
|
};
|
|
351
267
|
|
|
352
|
-
export type
|
|
353
|
-
|
|
268
|
+
export type MovePathMutationResult = NonNullable<Awaited<ReturnType<typeof movePath>>>;
|
|
269
|
+
|
|
270
|
+
export type MovePathMutationError = ErrorType<void | DmError>;
|
|
354
271
|
|
|
355
|
-
export function useMovePath<
|
|
356
|
-
TData = Awaited<ReturnType<typeof movePath>>,
|
|
357
|
-
TError = ErrorType<void | DmError>,
|
|
358
|
-
>(
|
|
359
|
-
params: MovePathParams,
|
|
360
|
-
options: {
|
|
361
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
|
|
362
|
-
Pick<
|
|
363
|
-
DefinedInitialDataOptions<
|
|
364
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
365
|
-
TError,
|
|
366
|
-
Awaited<ReturnType<typeof movePath>>
|
|
367
|
-
>,
|
|
368
|
-
"initialData"
|
|
369
|
-
>;
|
|
370
|
-
request?: SecondParameter<typeof customInstance>;
|
|
371
|
-
},
|
|
372
|
-
queryClient?: QueryClient,
|
|
373
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
374
|
-
export function useMovePath<
|
|
375
|
-
TData = Awaited<ReturnType<typeof movePath>>,
|
|
376
|
-
TError = ErrorType<void | DmError>,
|
|
377
|
-
>(
|
|
378
|
-
params: MovePathParams,
|
|
379
|
-
options?: {
|
|
380
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
|
|
381
|
-
Pick<
|
|
382
|
-
UndefinedInitialDataOptions<
|
|
383
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
384
|
-
TError,
|
|
385
|
-
Awaited<ReturnType<typeof movePath>>
|
|
386
|
-
>,
|
|
387
|
-
"initialData"
|
|
388
|
-
>;
|
|
389
|
-
request?: SecondParameter<typeof customInstance>;
|
|
390
|
-
},
|
|
391
|
-
queryClient?: QueryClient,
|
|
392
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
393
|
-
export function useMovePath<
|
|
394
|
-
TData = Awaited<ReturnType<typeof movePath>>,
|
|
395
|
-
TError = ErrorType<void | DmError>,
|
|
396
|
-
>(
|
|
397
|
-
params: MovePathParams,
|
|
398
|
-
options?: {
|
|
399
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
400
|
-
request?: SecondParameter<typeof customInstance>;
|
|
401
|
-
},
|
|
402
|
-
queryClient?: QueryClient,
|
|
403
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
404
272
|
/**
|
|
405
273
|
* @summary Move a Project Path
|
|
406
274
|
*/
|
|
407
|
-
|
|
408
|
-
export function useMovePath<
|
|
409
|
-
TData = Awaited<ReturnType<typeof movePath>>,
|
|
410
|
-
TError = ErrorType<void | DmError>,
|
|
411
|
-
>(
|
|
412
|
-
params: MovePathParams,
|
|
275
|
+
export const useMovePath = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
413
276
|
options?: {
|
|
414
|
-
|
|
277
|
+
mutation?: UseMutationOptions<
|
|
278
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
279
|
+
TError,
|
|
280
|
+
{ params: MovePathParams },
|
|
281
|
+
TContext
|
|
282
|
+
>;
|
|
415
283
|
request?: SecondParameter<typeof customInstance>;
|
|
416
284
|
},
|
|
417
285
|
queryClient?: QueryClient,
|
|
418
|
-
):
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* @summary Move a Project Path
|
|
430
|
-
*/
|
|
431
|
-
export const invalidateMovePath = async (
|
|
432
|
-
queryClient: QueryClient,
|
|
433
|
-
params: MovePathParams,
|
|
434
|
-
options?: InvalidateOptions,
|
|
435
|
-
): Promise<QueryClient> => {
|
|
436
|
-
await queryClient.invalidateQueries({ queryKey: getMovePathQueryKey(params) }, options);
|
|
437
|
-
|
|
438
|
-
return queryClient;
|
|
286
|
+
): UseMutationResult<
|
|
287
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
288
|
+
TError,
|
|
289
|
+
{ params: MovePathParams },
|
|
290
|
+
TContext
|
|
291
|
+
> => {
|
|
292
|
+
return useMutation(getMovePathMutationOptions(options), queryClient);
|
|
439
293
|
};
|
|
440
|
-
|
|
441
294
|
/**
|
|
442
295
|
* Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).
|
|
443
296
|
*
|
|
@@ -567,7 +420,7 @@ export function useGetProjectFile<
|
|
|
567
420
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
568
421
|
};
|
|
569
422
|
|
|
570
|
-
return
|
|
423
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
571
424
|
}
|
|
572
425
|
|
|
573
426
|
/**
|
|
@@ -686,7 +539,7 @@ export function useGetProjectFileSuspense<
|
|
|
686
539
|
TError
|
|
687
540
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
688
541
|
|
|
689
|
-
return
|
|
542
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
690
543
|
}
|
|
691
544
|
|
|
692
545
|
/**
|
|
@@ -722,139 +575,70 @@ export const addFileToProject = (
|
|
|
722
575
|
);
|
|
723
576
|
};
|
|
724
577
|
|
|
725
|
-
export const
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
578
|
+
export const getAddFileToProjectMutationOptions = <
|
|
579
|
+
TError = ErrorType<void | DmError>,
|
|
580
|
+
TContext = unknown,
|
|
581
|
+
>(options?: {
|
|
582
|
+
mutation?: UseMutationOptions<
|
|
583
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
584
|
+
TError,
|
|
585
|
+
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
586
|
+
TContext
|
|
587
|
+
>;
|
|
588
|
+
request?: SecondParameter<typeof customInstance>;
|
|
589
|
+
}): UseMutationOptions<
|
|
590
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
591
|
+
TError,
|
|
592
|
+
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
593
|
+
TContext
|
|
594
|
+
> => {
|
|
595
|
+
const mutationKey = ["addFileToProject"];
|
|
596
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
597
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
598
|
+
? options
|
|
599
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
600
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
601
|
+
|
|
602
|
+
const mutationFn: MutationFunction<
|
|
603
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
604
|
+
{ projectId: string; data: ProjectFilePutBodyBody }
|
|
605
|
+
> = (props) => {
|
|
606
|
+
const { projectId, data } = props ?? {};
|
|
607
|
+
|
|
608
|
+
return addFileToProject(projectId, data, requestOptions);
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
return { mutationFn, ...mutationOptions };
|
|
730
612
|
};
|
|
731
613
|
|
|
732
|
-
export
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
614
|
+
export type AddFileToProjectMutationResult = NonNullable<
|
|
615
|
+
Awaited<ReturnType<typeof addFileToProject>>
|
|
616
|
+
>;
|
|
617
|
+
export type AddFileToProjectMutationBody = ProjectFilePutBodyBody;
|
|
618
|
+
export type AddFileToProjectMutationError = ErrorType<void | DmError>;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @summary Upload a file into a Project
|
|
622
|
+
*/
|
|
623
|
+
export const useAddFileToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
738
624
|
options?: {
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
const queryKey =
|
|
746
|
-
queryOptions?.queryKey ?? getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody);
|
|
747
|
-
|
|
748
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof addFileToProject>>> = ({ signal }) =>
|
|
749
|
-
addFileToProject(projectId, projectFilePutBodyBody, requestOptions, signal);
|
|
750
|
-
|
|
751
|
-
return {
|
|
752
|
-
queryKey,
|
|
753
|
-
queryFn,
|
|
754
|
-
enabled: projectId !== null && projectId !== undefined,
|
|
755
|
-
...queryOptions,
|
|
756
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData> & {
|
|
757
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
758
|
-
};
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
export type AddFileToProjectQueryResult = NonNullable<Awaited<ReturnType<typeof addFileToProject>>>;
|
|
762
|
-
export type AddFileToProjectQueryError = ErrorType<void | DmError>;
|
|
763
|
-
|
|
764
|
-
export function useAddFileToProject<
|
|
765
|
-
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
766
|
-
TError = ErrorType<void | DmError>,
|
|
767
|
-
>(
|
|
768
|
-
projectId: string,
|
|
769
|
-
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
770
|
-
options: {
|
|
771
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
|
|
772
|
-
Pick<
|
|
773
|
-
DefinedInitialDataOptions<
|
|
774
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
775
|
-
TError,
|
|
776
|
-
Awaited<ReturnType<typeof addFileToProject>>
|
|
777
|
-
>,
|
|
778
|
-
"initialData"
|
|
779
|
-
>;
|
|
780
|
-
request?: SecondParameter<typeof customInstance>;
|
|
781
|
-
},
|
|
782
|
-
queryClient?: QueryClient,
|
|
783
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
784
|
-
export function useAddFileToProject<
|
|
785
|
-
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
786
|
-
TError = ErrorType<void | DmError>,
|
|
787
|
-
>(
|
|
788
|
-
projectId: string,
|
|
789
|
-
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
790
|
-
options?: {
|
|
791
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
|
|
792
|
-
Pick<
|
|
793
|
-
UndefinedInitialDataOptions<
|
|
794
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
795
|
-
TError,
|
|
796
|
-
Awaited<ReturnType<typeof addFileToProject>>
|
|
797
|
-
>,
|
|
798
|
-
"initialData"
|
|
799
|
-
>;
|
|
625
|
+
mutation?: UseMutationOptions<
|
|
626
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
627
|
+
TError,
|
|
628
|
+
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
629
|
+
TContext
|
|
630
|
+
>;
|
|
800
631
|
request?: SecondParameter<typeof customInstance>;
|
|
801
632
|
},
|
|
802
633
|
queryClient?: QueryClient,
|
|
803
|
-
):
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
options?: {
|
|
811
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
812
|
-
request?: SecondParameter<typeof customInstance>;
|
|
813
|
-
},
|
|
814
|
-
queryClient?: QueryClient,
|
|
815
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
816
|
-
/**
|
|
817
|
-
* @summary Upload a file into a Project
|
|
818
|
-
*/
|
|
819
|
-
|
|
820
|
-
export function useAddFileToProject<
|
|
821
|
-
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
822
|
-
TError = ErrorType<void | DmError>,
|
|
823
|
-
>(
|
|
824
|
-
projectId: string,
|
|
825
|
-
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
826
|
-
options?: {
|
|
827
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
828
|
-
request?: SecondParameter<typeof customInstance>;
|
|
829
|
-
},
|
|
830
|
-
queryClient?: QueryClient,
|
|
831
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
832
|
-
const queryOptions = getAddFileToProjectQueryOptions(projectId, projectFilePutBodyBody, options);
|
|
833
|
-
|
|
834
|
-
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
835
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* @summary Upload a file into a Project
|
|
843
|
-
*/
|
|
844
|
-
export const invalidateAddFileToProject = async (
|
|
845
|
-
queryClient: QueryClient,
|
|
846
|
-
projectId: string,
|
|
847
|
-
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
848
|
-
options?: InvalidateOptions,
|
|
849
|
-
): Promise<QueryClient> => {
|
|
850
|
-
await queryClient.invalidateQueries(
|
|
851
|
-
{ queryKey: getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody) },
|
|
852
|
-
options,
|
|
853
|
-
);
|
|
854
|
-
|
|
855
|
-
return queryClient;
|
|
634
|
+
): UseMutationResult<
|
|
635
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
636
|
+
TError,
|
|
637
|
+
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
638
|
+
TContext
|
|
639
|
+
> => {
|
|
640
|
+
return useMutation(getAddFileToProjectMutationOptions(options), queryClient);
|
|
856
641
|
};
|
|
857
|
-
|
|
858
642
|
/**
|
|
859
643
|
* Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).
|
|
860
644
|
*
|
|
@@ -1006,7 +790,7 @@ export function useGetProjectFileWithToken<
|
|
|
1006
790
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1007
791
|
};
|
|
1008
792
|
|
|
1009
|
-
return
|
|
793
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1010
794
|
}
|
|
1011
795
|
|
|
1012
796
|
/**
|
|
@@ -1126,7 +910,7 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
1126
910
|
TError
|
|
1127
911
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1128
912
|
|
|
1129
|
-
return
|
|
913
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1130
914
|
}
|
|
1131
915
|
|
|
1132
916
|
/**
|
|
@@ -1242,7 +1026,7 @@ export function useGetFiles<
|
|
|
1242
1026
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1243
1027
|
};
|
|
1244
1028
|
|
|
1245
|
-
return
|
|
1029
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1246
1030
|
}
|
|
1247
1031
|
|
|
1248
1032
|
/**
|
|
@@ -1340,7 +1124,7 @@ export function useGetFilesSuspense<
|
|
|
1340
1124
|
TError
|
|
1341
1125
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1342
1126
|
|
|
1343
|
-
return
|
|
1127
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1344
1128
|
}
|
|
1345
1129
|
|
|
1346
1130
|
/**
|
|
@@ -1387,126 +1171,68 @@ export const attachFile = (
|
|
|
1387
1171
|
);
|
|
1388
1172
|
};
|
|
1389
1173
|
|
|
1390
|
-
export const
|
|
1391
|
-
return ["data-manager", "POST", "file", filePostBodyBody] as const;
|
|
1392
|
-
};
|
|
1393
|
-
|
|
1394
|
-
export const getAttachFileQueryOptions = <
|
|
1395
|
-
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1174
|
+
export const getAttachFileMutationOptions = <
|
|
1396
1175
|
TError = ErrorType<void | DmError>,
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1401
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1402
|
-
},
|
|
1403
|
-
) => {
|
|
1404
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1405
|
-
|
|
1406
|
-
const queryKey = queryOptions?.queryKey ?? getAttachFileQueryKey(filePostBodyBody);
|
|
1407
|
-
|
|
1408
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof attachFile>>> = ({ signal }) =>
|
|
1409
|
-
attachFile(filePostBodyBody, requestOptions, signal);
|
|
1410
|
-
|
|
1411
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1176
|
+
TContext = unknown,
|
|
1177
|
+
>(options?: {
|
|
1178
|
+
mutation?: UseMutationOptions<
|
|
1412
1179
|
Awaited<ReturnType<typeof attachFile>>,
|
|
1413
1180
|
TError,
|
|
1414
|
-
|
|
1415
|
-
|
|
1181
|
+
{ data: FilePostBodyBody },
|
|
1182
|
+
TContext
|
|
1183
|
+
>;
|
|
1184
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1185
|
+
}): UseMutationOptions<
|
|
1186
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1187
|
+
TError,
|
|
1188
|
+
{ data: FilePostBodyBody },
|
|
1189
|
+
TContext
|
|
1190
|
+
> => {
|
|
1191
|
+
const mutationKey = ["attachFile"];
|
|
1192
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1193
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1194
|
+
? options
|
|
1195
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1196
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1197
|
+
|
|
1198
|
+
const mutationFn: MutationFunction<
|
|
1199
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1200
|
+
{ data: FilePostBodyBody }
|
|
1201
|
+
> = (props) => {
|
|
1202
|
+
const { data } = props ?? {};
|
|
1203
|
+
|
|
1204
|
+
return attachFile(data, requestOptions);
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1207
|
+
return { mutationFn, ...mutationOptions };
|
|
1416
1208
|
};
|
|
1417
1209
|
|
|
1418
|
-
export type
|
|
1419
|
-
export type
|
|
1210
|
+
export type AttachFileMutationResult = NonNullable<Awaited<ReturnType<typeof attachFile>>>;
|
|
1211
|
+
export type AttachFileMutationBody = FilePostBodyBody;
|
|
1212
|
+
export type AttachFileMutationError = ErrorType<void | DmError>;
|
|
1420
1213
|
|
|
1421
|
-
export function useAttachFile<
|
|
1422
|
-
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1423
|
-
TError = ErrorType<void | DmError>,
|
|
1424
|
-
>(
|
|
1425
|
-
filePostBodyBody: FilePostBodyBody,
|
|
1426
|
-
options: {
|
|
1427
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
|
|
1428
|
-
Pick<
|
|
1429
|
-
DefinedInitialDataOptions<
|
|
1430
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1431
|
-
TError,
|
|
1432
|
-
Awaited<ReturnType<typeof attachFile>>
|
|
1433
|
-
>,
|
|
1434
|
-
"initialData"
|
|
1435
|
-
>;
|
|
1436
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1437
|
-
},
|
|
1438
|
-
queryClient?: QueryClient,
|
|
1439
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1440
|
-
export function useAttachFile<
|
|
1441
|
-
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1442
|
-
TError = ErrorType<void | DmError>,
|
|
1443
|
-
>(
|
|
1444
|
-
filePostBodyBody: FilePostBodyBody,
|
|
1445
|
-
options?: {
|
|
1446
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
|
|
1447
|
-
Pick<
|
|
1448
|
-
UndefinedInitialDataOptions<
|
|
1449
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1450
|
-
TError,
|
|
1451
|
-
Awaited<ReturnType<typeof attachFile>>
|
|
1452
|
-
>,
|
|
1453
|
-
"initialData"
|
|
1454
|
-
>;
|
|
1455
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1456
|
-
},
|
|
1457
|
-
queryClient?: QueryClient,
|
|
1458
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1459
|
-
export function useAttachFile<
|
|
1460
|
-
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1461
|
-
TError = ErrorType<void | DmError>,
|
|
1462
|
-
>(
|
|
1463
|
-
filePostBodyBody: FilePostBodyBody,
|
|
1464
|
-
options?: {
|
|
1465
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1466
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1467
|
-
},
|
|
1468
|
-
queryClient?: QueryClient,
|
|
1469
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1470
1214
|
/**
|
|
1471
1215
|
* @summary Attach a Dataset, as a File, to a Project
|
|
1472
1216
|
*/
|
|
1473
|
-
|
|
1474
|
-
export function useAttachFile<
|
|
1475
|
-
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1476
|
-
TError = ErrorType<void | DmError>,
|
|
1477
|
-
>(
|
|
1478
|
-
filePostBodyBody: FilePostBodyBody,
|
|
1217
|
+
export const useAttachFile = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1479
1218
|
options?: {
|
|
1480
|
-
|
|
1219
|
+
mutation?: UseMutationOptions<
|
|
1220
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1221
|
+
TError,
|
|
1222
|
+
{ data: FilePostBodyBody },
|
|
1223
|
+
TContext
|
|
1224
|
+
>;
|
|
1481
1225
|
request?: SecondParameter<typeof customInstance>;
|
|
1482
1226
|
},
|
|
1483
1227
|
queryClient?: QueryClient,
|
|
1484
|
-
):
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
/**
|
|
1495
|
-
* @summary Attach a Dataset, as a File, to a Project
|
|
1496
|
-
*/
|
|
1497
|
-
export const invalidateAttachFile = async (
|
|
1498
|
-
queryClient: QueryClient,
|
|
1499
|
-
filePostBodyBody: FilePostBodyBody,
|
|
1500
|
-
options?: InvalidateOptions,
|
|
1501
|
-
): Promise<QueryClient> => {
|
|
1502
|
-
await queryClient.invalidateQueries(
|
|
1503
|
-
{ queryKey: getAttachFileQueryKey(filePostBodyBody) },
|
|
1504
|
-
options,
|
|
1505
|
-
);
|
|
1506
|
-
|
|
1507
|
-
return queryClient;
|
|
1228
|
+
): UseMutationResult<
|
|
1229
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1230
|
+
TError,
|
|
1231
|
+
{ data: FilePostBodyBody },
|
|
1232
|
+
TContext
|
|
1233
|
+
> => {
|
|
1234
|
+
return useMutation(getAttachFileMutationOptions(options), queryClient);
|
|
1508
1235
|
};
|
|
1509
|
-
|
|
1510
1236
|
/**
|
|
1511
1237
|
* Removes an unmanaged file from a Project. You cannot use this endpoint to delete managed project files.
|
|
1512
1238
|
*
|
|
@@ -1521,138 +1247,70 @@ export const deleteUnmanagedFile = (
|
|
|
1521
1247
|
return customInstance<void>({ url: `/file`, method: "DELETE", params, signal }, options);
|
|
1522
1248
|
};
|
|
1523
1249
|
|
|
1524
|
-
export const
|
|
1525
|
-
return ["data-manager", "DELETE", "file", ...(params ? [params] : [])] as const;
|
|
1526
|
-
};
|
|
1527
|
-
|
|
1528
|
-
export const getDeleteUnmanagedFileQueryOptions = <
|
|
1529
|
-
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1250
|
+
export const getDeleteUnmanagedFileMutationOptions = <
|
|
1530
1251
|
TError = ErrorType<void | DmError>,
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
query?: Partial<
|
|
1535
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1536
|
-
>;
|
|
1537
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1538
|
-
},
|
|
1539
|
-
) => {
|
|
1540
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1541
|
-
|
|
1542
|
-
const queryKey = queryOptions?.queryKey ?? getDeleteUnmanagedFileQueryKey(params);
|
|
1543
|
-
|
|
1544
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteUnmanagedFile>>> = ({ signal }) =>
|
|
1545
|
-
deleteUnmanagedFile(params, requestOptions, signal);
|
|
1546
|
-
|
|
1547
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1252
|
+
TContext = unknown,
|
|
1253
|
+
>(options?: {
|
|
1254
|
+
mutation?: UseMutationOptions<
|
|
1548
1255
|
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1549
1256
|
TError,
|
|
1550
|
-
|
|
1551
|
-
|
|
1257
|
+
{ params: DeleteUnmanagedFileParams },
|
|
1258
|
+
TContext
|
|
1259
|
+
>;
|
|
1260
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1261
|
+
}): UseMutationOptions<
|
|
1262
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1263
|
+
TError,
|
|
1264
|
+
{ params: DeleteUnmanagedFileParams },
|
|
1265
|
+
TContext
|
|
1266
|
+
> => {
|
|
1267
|
+
const mutationKey = ["deleteUnmanagedFile"];
|
|
1268
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1269
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1270
|
+
? options
|
|
1271
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1272
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1273
|
+
|
|
1274
|
+
const mutationFn: MutationFunction<
|
|
1275
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1276
|
+
{ params: DeleteUnmanagedFileParams }
|
|
1277
|
+
> = (props) => {
|
|
1278
|
+
const { params } = props ?? {};
|
|
1279
|
+
|
|
1280
|
+
return deleteUnmanagedFile(params, requestOptions);
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
return { mutationFn, ...mutationOptions };
|
|
1552
1284
|
};
|
|
1553
1285
|
|
|
1554
|
-
export type
|
|
1286
|
+
export type DeleteUnmanagedFileMutationResult = NonNullable<
|
|
1555
1287
|
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1556
1288
|
>;
|
|
1557
|
-
export type DeleteUnmanagedFileQueryError = ErrorType<void | DmError>;
|
|
1558
1289
|
|
|
1559
|
-
export
|
|
1560
|
-
|
|
1561
|
-
TError = ErrorType<void | DmError>,
|
|
1562
|
-
>(
|
|
1563
|
-
params: DeleteUnmanagedFileParams,
|
|
1564
|
-
options: {
|
|
1565
|
-
query: Partial<
|
|
1566
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1567
|
-
> &
|
|
1568
|
-
Pick<
|
|
1569
|
-
DefinedInitialDataOptions<
|
|
1570
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1571
|
-
TError,
|
|
1572
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1573
|
-
>,
|
|
1574
|
-
"initialData"
|
|
1575
|
-
>;
|
|
1576
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1577
|
-
},
|
|
1578
|
-
queryClient?: QueryClient,
|
|
1579
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1580
|
-
export function useDeleteUnmanagedFile<
|
|
1581
|
-
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1582
|
-
TError = ErrorType<void | DmError>,
|
|
1583
|
-
>(
|
|
1584
|
-
params: DeleteUnmanagedFileParams,
|
|
1585
|
-
options?: {
|
|
1586
|
-
query?: Partial<
|
|
1587
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1588
|
-
> &
|
|
1589
|
-
Pick<
|
|
1590
|
-
UndefinedInitialDataOptions<
|
|
1591
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1592
|
-
TError,
|
|
1593
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1594
|
-
>,
|
|
1595
|
-
"initialData"
|
|
1596
|
-
>;
|
|
1597
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1598
|
-
},
|
|
1599
|
-
queryClient?: QueryClient,
|
|
1600
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1601
|
-
export function useDeleteUnmanagedFile<
|
|
1602
|
-
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1603
|
-
TError = ErrorType<void | DmError>,
|
|
1604
|
-
>(
|
|
1605
|
-
params: DeleteUnmanagedFileParams,
|
|
1606
|
-
options?: {
|
|
1607
|
-
query?: Partial<
|
|
1608
|
-
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1609
|
-
>;
|
|
1610
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1611
|
-
},
|
|
1612
|
-
queryClient?: QueryClient,
|
|
1613
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1290
|
+
export type DeleteUnmanagedFileMutationError = ErrorType<void | DmError>;
|
|
1291
|
+
|
|
1614
1292
|
/**
|
|
1615
1293
|
* @summary Delete an unmanaged Project File
|
|
1616
1294
|
*/
|
|
1617
|
-
|
|
1618
|
-
export function useDeleteUnmanagedFile<
|
|
1619
|
-
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1620
|
-
TError = ErrorType<void | DmError>,
|
|
1621
|
-
>(
|
|
1622
|
-
params: DeleteUnmanagedFileParams,
|
|
1295
|
+
export const useDeleteUnmanagedFile = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1623
1296
|
options?: {
|
|
1624
|
-
|
|
1625
|
-
|
|
1297
|
+
mutation?: UseMutationOptions<
|
|
1298
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1299
|
+
TError,
|
|
1300
|
+
{ params: DeleteUnmanagedFileParams },
|
|
1301
|
+
TContext
|
|
1626
1302
|
>;
|
|
1627
1303
|
request?: SecondParameter<typeof customInstance>;
|
|
1628
1304
|
},
|
|
1629
1305
|
queryClient?: QueryClient,
|
|
1630
|
-
):
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* @summary Delete an unmanaged Project File
|
|
1642
|
-
*/
|
|
1643
|
-
export const invalidateDeleteUnmanagedFile = async (
|
|
1644
|
-
queryClient: QueryClient,
|
|
1645
|
-
params: DeleteUnmanagedFileParams,
|
|
1646
|
-
options?: InvalidateOptions,
|
|
1647
|
-
): Promise<QueryClient> => {
|
|
1648
|
-
await queryClient.invalidateQueries(
|
|
1649
|
-
{ queryKey: getDeleteUnmanagedFileQueryKey(params) },
|
|
1650
|
-
options,
|
|
1651
|
-
);
|
|
1652
|
-
|
|
1653
|
-
return queryClient;
|
|
1306
|
+
): UseMutationResult<
|
|
1307
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1308
|
+
TError,
|
|
1309
|
+
{ params: DeleteUnmanagedFileParams },
|
|
1310
|
+
TContext
|
|
1311
|
+
> => {
|
|
1312
|
+
return useMutation(getDeleteUnmanagedFileMutationOptions(options), queryClient);
|
|
1654
1313
|
};
|
|
1655
|
-
|
|
1656
1314
|
/**
|
|
1657
1315
|
* Move an **Unmanaged** file, optionally renaming it, to a new path.
|
|
1658
1316
|
*
|
|
@@ -1667,125 +1325,70 @@ export const moveFileInProject = (
|
|
|
1667
1325
|
return customInstance<void>({ url: `/file/move`, method: "PUT", params, signal }, options);
|
|
1668
1326
|
};
|
|
1669
1327
|
|
|
1670
|
-
export const
|
|
1671
|
-
return ["data-manager", "PUT", "file", "move", ...(params ? [params] : [])] as const;
|
|
1672
|
-
};
|
|
1673
|
-
|
|
1674
|
-
export const getMoveFileInProjectQueryOptions = <
|
|
1675
|
-
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1328
|
+
export const getMoveFileInProjectMutationOptions = <
|
|
1676
1329
|
TError = ErrorType<void | DmError>,
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
1681
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1682
|
-
},
|
|
1683
|
-
) => {
|
|
1684
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1685
|
-
|
|
1686
|
-
const queryKey = queryOptions?.queryKey ?? getMoveFileInProjectQueryKey(params);
|
|
1687
|
-
|
|
1688
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof moveFileInProject>>> = ({ signal }) =>
|
|
1689
|
-
moveFileInProject(params, requestOptions, signal);
|
|
1690
|
-
|
|
1691
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1330
|
+
TContext = unknown,
|
|
1331
|
+
>(options?: {
|
|
1332
|
+
mutation?: UseMutationOptions<
|
|
1692
1333
|
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1693
1334
|
TError,
|
|
1694
|
-
|
|
1695
|
-
|
|
1335
|
+
{ params: MoveFileInProjectParams },
|
|
1336
|
+
TContext
|
|
1337
|
+
>;
|
|
1338
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1339
|
+
}): UseMutationOptions<
|
|
1340
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1341
|
+
TError,
|
|
1342
|
+
{ params: MoveFileInProjectParams },
|
|
1343
|
+
TContext
|
|
1344
|
+
> => {
|
|
1345
|
+
const mutationKey = ["moveFileInProject"];
|
|
1346
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1347
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1348
|
+
? options
|
|
1349
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1350
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1351
|
+
|
|
1352
|
+
const mutationFn: MutationFunction<
|
|
1353
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1354
|
+
{ params: MoveFileInProjectParams }
|
|
1355
|
+
> = (props) => {
|
|
1356
|
+
const { params } = props ?? {};
|
|
1357
|
+
|
|
1358
|
+
return moveFileInProject(params, requestOptions);
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1361
|
+
return { mutationFn, ...mutationOptions };
|
|
1696
1362
|
};
|
|
1697
1363
|
|
|
1698
|
-
export type
|
|
1364
|
+
export type MoveFileInProjectMutationResult = NonNullable<
|
|
1699
1365
|
Awaited<ReturnType<typeof moveFileInProject>>
|
|
1700
1366
|
>;
|
|
1701
|
-
export type MoveFileInProjectQueryError = ErrorType<void | DmError>;
|
|
1702
1367
|
|
|
1703
|
-
export
|
|
1704
|
-
|
|
1705
|
-
TError = ErrorType<void | DmError>,
|
|
1706
|
-
>(
|
|
1707
|
-
params: MoveFileInProjectParams,
|
|
1708
|
-
options: {
|
|
1709
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
|
|
1710
|
-
Pick<
|
|
1711
|
-
DefinedInitialDataOptions<
|
|
1712
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1713
|
-
TError,
|
|
1714
|
-
Awaited<ReturnType<typeof moveFileInProject>>
|
|
1715
|
-
>,
|
|
1716
|
-
"initialData"
|
|
1717
|
-
>;
|
|
1718
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1719
|
-
},
|
|
1720
|
-
queryClient?: QueryClient,
|
|
1721
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1722
|
-
export function useMoveFileInProject<
|
|
1723
|
-
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1724
|
-
TError = ErrorType<void | DmError>,
|
|
1725
|
-
>(
|
|
1726
|
-
params: MoveFileInProjectParams,
|
|
1727
|
-
options?: {
|
|
1728
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
|
|
1729
|
-
Pick<
|
|
1730
|
-
UndefinedInitialDataOptions<
|
|
1731
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1732
|
-
TError,
|
|
1733
|
-
Awaited<ReturnType<typeof moveFileInProject>>
|
|
1734
|
-
>,
|
|
1735
|
-
"initialData"
|
|
1736
|
-
>;
|
|
1737
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1738
|
-
},
|
|
1739
|
-
queryClient?: QueryClient,
|
|
1740
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1741
|
-
export function useMoveFileInProject<
|
|
1742
|
-
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1743
|
-
TError = ErrorType<void | DmError>,
|
|
1744
|
-
>(
|
|
1745
|
-
params: MoveFileInProjectParams,
|
|
1746
|
-
options?: {
|
|
1747
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
1748
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1749
|
-
},
|
|
1750
|
-
queryClient?: QueryClient,
|
|
1751
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1368
|
+
export type MoveFileInProjectMutationError = ErrorType<void | DmError>;
|
|
1369
|
+
|
|
1752
1370
|
/**
|
|
1753
1371
|
* @summary Move an unmanaged file in a Project
|
|
1754
1372
|
*/
|
|
1755
|
-
|
|
1756
|
-
export function useMoveFileInProject<
|
|
1757
|
-
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1758
|
-
TError = ErrorType<void | DmError>,
|
|
1759
|
-
>(
|
|
1760
|
-
params: MoveFileInProjectParams,
|
|
1373
|
+
export const useMoveFileInProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1761
1374
|
options?: {
|
|
1762
|
-
|
|
1375
|
+
mutation?: UseMutationOptions<
|
|
1376
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1377
|
+
TError,
|
|
1378
|
+
{ params: MoveFileInProjectParams },
|
|
1379
|
+
TContext
|
|
1380
|
+
>;
|
|
1763
1381
|
request?: SecondParameter<typeof customInstance>;
|
|
1764
1382
|
},
|
|
1765
1383
|
queryClient?: QueryClient,
|
|
1766
|
-
):
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* @summary Move an unmanaged file in a Project
|
|
1778
|
-
*/
|
|
1779
|
-
export const invalidateMoveFileInProject = async (
|
|
1780
|
-
queryClient: QueryClient,
|
|
1781
|
-
params: MoveFileInProjectParams,
|
|
1782
|
-
options?: InvalidateOptions,
|
|
1783
|
-
): Promise<QueryClient> => {
|
|
1784
|
-
await queryClient.invalidateQueries({ queryKey: getMoveFileInProjectQueryKey(params) }, options);
|
|
1785
|
-
|
|
1786
|
-
return queryClient;
|
|
1384
|
+
): UseMutationResult<
|
|
1385
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1386
|
+
TError,
|
|
1387
|
+
{ params: MoveFileInProjectParams },
|
|
1388
|
+
TContext
|
|
1389
|
+
> => {
|
|
1390
|
+
return useMutation(getMoveFileInProjectMutationOptions(options), queryClient);
|
|
1787
1391
|
};
|
|
1788
|
-
|
|
1789
1392
|
/**
|
|
1790
1393
|
* Given a `file_id` the file will be removed from the Project it's attached to.
|
|
1791
1394
|
*
|
|
@@ -1802,126 +1405,67 @@ export const deleteFile = (
|
|
|
1802
1405
|
return customInstance<void>({ url: `/file/${fileId}`, method: "DELETE", signal }, options);
|
|
1803
1406
|
};
|
|
1804
1407
|
|
|
1805
|
-
export const
|
|
1806
|
-
return ["data-manager", "DELETE", "file", fileId] as const;
|
|
1807
|
-
};
|
|
1808
|
-
|
|
1809
|
-
export const getDeleteFileQueryOptions = <
|
|
1810
|
-
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1408
|
+
export const getDeleteFileMutationOptions = <
|
|
1811
1409
|
TError = ErrorType<void | DmError>,
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1410
|
+
TContext = unknown,
|
|
1411
|
+
>(options?: {
|
|
1412
|
+
mutation?: UseMutationOptions<
|
|
1413
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
1414
|
+
TError,
|
|
1415
|
+
{ fileId: string },
|
|
1416
|
+
TContext
|
|
1417
|
+
>;
|
|
1418
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1419
|
+
}): UseMutationOptions<
|
|
1420
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
1421
|
+
TError,
|
|
1422
|
+
{ fileId: string },
|
|
1423
|
+
TContext
|
|
1424
|
+
> => {
|
|
1425
|
+
const mutationKey = ["deleteFile"];
|
|
1426
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1427
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1428
|
+
? options
|
|
1429
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1430
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1431
|
+
|
|
1432
|
+
const mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }> = (
|
|
1433
|
+
props,
|
|
1434
|
+
) => {
|
|
1435
|
+
const { fileId } = props ?? {};
|
|
1436
|
+
|
|
1437
|
+
return deleteFile(fileId, requestOptions);
|
|
1833
1438
|
};
|
|
1439
|
+
|
|
1440
|
+
return { mutationFn, ...mutationOptions };
|
|
1834
1441
|
};
|
|
1835
1442
|
|
|
1836
|
-
export type
|
|
1837
|
-
|
|
1443
|
+
export type DeleteFileMutationResult = NonNullable<Awaited<ReturnType<typeof deleteFile>>>;
|
|
1444
|
+
|
|
1445
|
+
export type DeleteFileMutationError = ErrorType<void | DmError>;
|
|
1838
1446
|
|
|
1839
|
-
export function useDeleteFile<
|
|
1840
|
-
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1841
|
-
TError = ErrorType<void | DmError>,
|
|
1842
|
-
>(
|
|
1843
|
-
fileId: string,
|
|
1844
|
-
options: {
|
|
1845
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
|
|
1846
|
-
Pick<
|
|
1847
|
-
DefinedInitialDataOptions<
|
|
1848
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1849
|
-
TError,
|
|
1850
|
-
Awaited<ReturnType<typeof deleteFile>>
|
|
1851
|
-
>,
|
|
1852
|
-
"initialData"
|
|
1853
|
-
>;
|
|
1854
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1855
|
-
},
|
|
1856
|
-
queryClient?: QueryClient,
|
|
1857
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1858
|
-
export function useDeleteFile<
|
|
1859
|
-
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1860
|
-
TError = ErrorType<void | DmError>,
|
|
1861
|
-
>(
|
|
1862
|
-
fileId: string,
|
|
1863
|
-
options?: {
|
|
1864
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
|
|
1865
|
-
Pick<
|
|
1866
|
-
UndefinedInitialDataOptions<
|
|
1867
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1868
|
-
TError,
|
|
1869
|
-
Awaited<ReturnType<typeof deleteFile>>
|
|
1870
|
-
>,
|
|
1871
|
-
"initialData"
|
|
1872
|
-
>;
|
|
1873
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1874
|
-
},
|
|
1875
|
-
queryClient?: QueryClient,
|
|
1876
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1877
|
-
export function useDeleteFile<
|
|
1878
|
-
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1879
|
-
TError = ErrorType<void | DmError>,
|
|
1880
|
-
>(
|
|
1881
|
-
fileId: string,
|
|
1882
|
-
options?: {
|
|
1883
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
|
|
1884
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1885
|
-
},
|
|
1886
|
-
queryClient?: QueryClient,
|
|
1887
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1888
1447
|
/**
|
|
1889
1448
|
* @summary Delete/detach a File (from a Project)
|
|
1890
1449
|
*/
|
|
1891
|
-
|
|
1892
|
-
export function useDeleteFile<
|
|
1893
|
-
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1894
|
-
TError = ErrorType<void | DmError>,
|
|
1895
|
-
>(
|
|
1896
|
-
fileId: string,
|
|
1450
|
+
export const useDeleteFile = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1897
1451
|
options?: {
|
|
1898
|
-
|
|
1452
|
+
mutation?: UseMutationOptions<
|
|
1453
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
1454
|
+
TError,
|
|
1455
|
+
{ fileId: string },
|
|
1456
|
+
TContext
|
|
1457
|
+
>;
|
|
1899
1458
|
request?: SecondParameter<typeof customInstance>;
|
|
1900
1459
|
},
|
|
1901
1460
|
queryClient?: QueryClient,
|
|
1902
|
-
):
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
/**
|
|
1913
|
-
* @summary Delete/detach a File (from a Project)
|
|
1914
|
-
*/
|
|
1915
|
-
export const invalidateDeleteFile = async (
|
|
1916
|
-
queryClient: QueryClient,
|
|
1917
|
-
fileId: string,
|
|
1918
|
-
options?: InvalidateOptions,
|
|
1919
|
-
): Promise<QueryClient> => {
|
|
1920
|
-
await queryClient.invalidateQueries({ queryKey: getDeleteFileQueryKey(fileId) }, options);
|
|
1921
|
-
|
|
1922
|
-
return queryClient;
|
|
1461
|
+
): UseMutationResult<
|
|
1462
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
1463
|
+
TError,
|
|
1464
|
+
{ fileId: string },
|
|
1465
|
+
TContext
|
|
1466
|
+
> => {
|
|
1467
|
+
return useMutation(getDeleteFileMutationOptions(options), queryClient);
|
|
1923
1468
|
};
|
|
1924
|
-
|
|
1925
1469
|
/**
|
|
1926
1470
|
* Given a `file_id` the file will be returned if available.
|
|
1927
1471
|
*
|
|
@@ -2040,7 +1584,7 @@ export function useDownloadFile<
|
|
|
2040
1584
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2041
1585
|
};
|
|
2042
1586
|
|
|
2043
|
-
return
|
|
1587
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2044
1588
|
}
|
|
2045
1589
|
|
|
2046
1590
|
/**
|
|
@@ -2148,5 +1692,5 @@ export function useDownloadFileSuspense<
|
|
|
2148
1692
|
TError
|
|
2149
1693
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2150
1694
|
|
|
2151
|
-
return
|
|
1695
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
2152
1696
|
}
|