@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,
|
|
@@ -40,6 +43,21 @@ import type { ErrorType } from "../../custom-axios";
|
|
|
40
43
|
|
|
41
44
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
42
45
|
|
|
46
|
+
const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {
|
|
47
|
+
const result = { queryKey } as T & { queryKey: K };
|
|
48
|
+
for (const key of Object.keys(query)) {
|
|
49
|
+
// The explicit queryKey always wins, matching the previous
|
|
50
|
+
// `{ ...query, queryKey }` spread where it was set last.
|
|
51
|
+
if (key === "queryKey") continue;
|
|
52
|
+
Object.defineProperty(result, key, {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
get: () => (query as Record<string, unknown>)[key],
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
return result;
|
|
59
|
+
};
|
|
60
|
+
|
|
43
61
|
/**
|
|
44
62
|
* @summary Get all Projects available to you
|
|
45
63
|
*/
|
|
@@ -155,7 +173,7 @@ export function useGetProjects<
|
|
|
155
173
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
156
174
|
};
|
|
157
175
|
|
|
158
|
-
return
|
|
176
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
159
177
|
}
|
|
160
178
|
|
|
161
179
|
/**
|
|
@@ -261,7 +279,7 @@ export function useGetProjectsSuspense<
|
|
|
261
279
|
TError
|
|
262
280
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
263
281
|
|
|
264
|
-
return
|
|
282
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
265
283
|
}
|
|
266
284
|
|
|
267
285
|
/**
|
|
@@ -302,126 +320,68 @@ export const createProject = (
|
|
|
302
320
|
);
|
|
303
321
|
};
|
|
304
322
|
|
|
305
|
-
export const
|
|
306
|
-
return ["data-manager", "POST", "project", projectPostBodyBody] as const;
|
|
307
|
-
};
|
|
308
|
-
|
|
309
|
-
export const getCreateProjectQueryOptions = <
|
|
310
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
323
|
+
export const getCreateProjectMutationOptions = <
|
|
311
324
|
TError = ErrorType<DmError | void>,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
316
|
-
request?: SecondParameter<typeof customInstance>;
|
|
317
|
-
},
|
|
318
|
-
) => {
|
|
319
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
320
|
-
|
|
321
|
-
const queryKey = queryOptions?.queryKey ?? getCreateProjectQueryKey(projectPostBodyBody);
|
|
322
|
-
|
|
323
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof createProject>>> = ({ signal }) =>
|
|
324
|
-
createProject(projectPostBodyBody, requestOptions, signal);
|
|
325
|
-
|
|
326
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
325
|
+
TContext = unknown,
|
|
326
|
+
>(options?: {
|
|
327
|
+
mutation?: UseMutationOptions<
|
|
327
328
|
Awaited<ReturnType<typeof createProject>>,
|
|
328
329
|
TError,
|
|
329
|
-
|
|
330
|
-
|
|
330
|
+
{ data?: ProjectPostBodyBody },
|
|
331
|
+
TContext
|
|
332
|
+
>;
|
|
333
|
+
request?: SecondParameter<typeof customInstance>;
|
|
334
|
+
}): UseMutationOptions<
|
|
335
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
336
|
+
TError,
|
|
337
|
+
{ data?: ProjectPostBodyBody },
|
|
338
|
+
TContext
|
|
339
|
+
> => {
|
|
340
|
+
const mutationKey = ["createProject"];
|
|
341
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
342
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
343
|
+
? options
|
|
344
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
345
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
346
|
+
|
|
347
|
+
const mutationFn: MutationFunction<
|
|
348
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
349
|
+
{ data?: ProjectPostBodyBody }
|
|
350
|
+
> = (props) => {
|
|
351
|
+
const { data } = props ?? {};
|
|
352
|
+
|
|
353
|
+
return createProject(data, requestOptions);
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
return { mutationFn, ...mutationOptions };
|
|
331
357
|
};
|
|
332
358
|
|
|
333
|
-
export type
|
|
334
|
-
export type
|
|
359
|
+
export type CreateProjectMutationResult = NonNullable<Awaited<ReturnType<typeof createProject>>>;
|
|
360
|
+
export type CreateProjectMutationBody = ProjectPostBodyBody | undefined;
|
|
361
|
+
export type CreateProjectMutationError = ErrorType<DmError | void>;
|
|
335
362
|
|
|
336
|
-
export function useCreateProject<
|
|
337
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
338
|
-
TError = ErrorType<DmError | void>,
|
|
339
|
-
>(
|
|
340
|
-
projectPostBodyBody: undefined | ProjectPostBodyBody,
|
|
341
|
-
options: {
|
|
342
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
343
|
-
Pick<
|
|
344
|
-
DefinedInitialDataOptions<
|
|
345
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
346
|
-
TError,
|
|
347
|
-
Awaited<ReturnType<typeof createProject>>
|
|
348
|
-
>,
|
|
349
|
-
"initialData"
|
|
350
|
-
>;
|
|
351
|
-
request?: SecondParameter<typeof customInstance>;
|
|
352
|
-
},
|
|
353
|
-
queryClient?: QueryClient,
|
|
354
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
355
|
-
export function useCreateProject<
|
|
356
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
357
|
-
TError = ErrorType<DmError | void>,
|
|
358
|
-
>(
|
|
359
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
360
|
-
options?: {
|
|
361
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
362
|
-
Pick<
|
|
363
|
-
UndefinedInitialDataOptions<
|
|
364
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
365
|
-
TError,
|
|
366
|
-
Awaited<ReturnType<typeof createProject>>
|
|
367
|
-
>,
|
|
368
|
-
"initialData"
|
|
369
|
-
>;
|
|
370
|
-
request?: SecondParameter<typeof customInstance>;
|
|
371
|
-
},
|
|
372
|
-
queryClient?: QueryClient,
|
|
373
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
374
|
-
export function useCreateProject<
|
|
375
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
376
|
-
TError = ErrorType<DmError | void>,
|
|
377
|
-
>(
|
|
378
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
379
|
-
options?: {
|
|
380
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
381
|
-
request?: SecondParameter<typeof customInstance>;
|
|
382
|
-
},
|
|
383
|
-
queryClient?: QueryClient,
|
|
384
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
385
363
|
/**
|
|
386
364
|
* @summary Create a new Project
|
|
387
365
|
*/
|
|
388
|
-
|
|
389
|
-
export function useCreateProject<
|
|
390
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
391
|
-
TError = ErrorType<DmError | void>,
|
|
392
|
-
>(
|
|
393
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
366
|
+
export const useCreateProject = <TError = ErrorType<DmError | void>, TContext = unknown>(
|
|
394
367
|
options?: {
|
|
395
|
-
|
|
368
|
+
mutation?: UseMutationOptions<
|
|
369
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
370
|
+
TError,
|
|
371
|
+
{ data?: ProjectPostBodyBody },
|
|
372
|
+
TContext
|
|
373
|
+
>;
|
|
396
374
|
request?: SecondParameter<typeof customInstance>;
|
|
397
375
|
},
|
|
398
376
|
queryClient?: QueryClient,
|
|
399
|
-
):
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @summary Create a new Project
|
|
411
|
-
*/
|
|
412
|
-
export const invalidateCreateProject = async (
|
|
413
|
-
queryClient: QueryClient,
|
|
414
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
415
|
-
options?: InvalidateOptions,
|
|
416
|
-
): Promise<QueryClient> => {
|
|
417
|
-
await queryClient.invalidateQueries(
|
|
418
|
-
{ queryKey: getCreateProjectQueryKey(projectPostBodyBody) },
|
|
419
|
-
options,
|
|
420
|
-
);
|
|
421
|
-
|
|
422
|
-
return queryClient;
|
|
377
|
+
): UseMutationResult<
|
|
378
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
379
|
+
TError,
|
|
380
|
+
{ data?: ProjectPostBodyBody },
|
|
381
|
+
TContext
|
|
382
|
+
> => {
|
|
383
|
+
return useMutation(getCreateProjectMutationOptions(options), queryClient);
|
|
423
384
|
};
|
|
424
|
-
|
|
425
385
|
/**
|
|
426
386
|
* Gets the details of a Project that is available to you.
|
|
427
387
|
* @summary Get a Project by UUID
|
|
@@ -541,7 +501,7 @@ export function useGetProject<
|
|
|
541
501
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
542
502
|
};
|
|
543
503
|
|
|
544
|
-
return
|
|
504
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
545
505
|
}
|
|
546
506
|
|
|
547
507
|
/**
|
|
@@ -639,7 +599,7 @@ export function useGetProjectSuspense<
|
|
|
639
599
|
TError
|
|
640
600
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
641
601
|
|
|
642
|
-
return
|
|
602
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
643
603
|
}
|
|
644
604
|
|
|
645
605
|
/**
|
|
@@ -672,139 +632,68 @@ export const patchProject = (
|
|
|
672
632
|
);
|
|
673
633
|
};
|
|
674
634
|
|
|
675
|
-
export const
|
|
676
|
-
projectId: string,
|
|
677
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
678
|
-
) => {
|
|
679
|
-
return ["data-manager", "PATCH", "project", projectId, projectPatchBodyBody] as const;
|
|
680
|
-
};
|
|
681
|
-
|
|
682
|
-
export const getPatchProjectQueryOptions = <
|
|
683
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
635
|
+
export const getPatchProjectMutationOptions = <
|
|
684
636
|
TError = ErrorType<void | DmError>,
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
637
|
+
TContext = unknown,
|
|
638
|
+
>(options?: {
|
|
639
|
+
mutation?: UseMutationOptions<
|
|
640
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
641
|
+
TError,
|
|
642
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
643
|
+
TContext
|
|
644
|
+
>;
|
|
645
|
+
request?: SecondParameter<typeof customInstance>;
|
|
646
|
+
}): UseMutationOptions<
|
|
647
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
648
|
+
TError,
|
|
649
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
650
|
+
TContext
|
|
651
|
+
> => {
|
|
652
|
+
const mutationKey = ["patchProject"];
|
|
653
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
654
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
655
|
+
? options
|
|
656
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
657
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
658
|
+
|
|
659
|
+
const mutationFn: MutationFunction<
|
|
660
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
661
|
+
{ projectId: string; data?: ProjectPatchBodyBody }
|
|
662
|
+
> = (props) => {
|
|
663
|
+
const { projectId, data } = props ?? {};
|
|
664
|
+
|
|
665
|
+
return patchProject(projectId, data, requestOptions);
|
|
708
666
|
};
|
|
667
|
+
|
|
668
|
+
return { mutationFn, ...mutationOptions };
|
|
709
669
|
};
|
|
710
670
|
|
|
711
|
-
export type
|
|
712
|
-
export type
|
|
671
|
+
export type PatchProjectMutationResult = NonNullable<Awaited<ReturnType<typeof patchProject>>>;
|
|
672
|
+
export type PatchProjectMutationBody = ProjectPatchBodyBody | undefined;
|
|
673
|
+
export type PatchProjectMutationError = ErrorType<void | DmError>;
|
|
713
674
|
|
|
714
|
-
export function usePatchProject<
|
|
715
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
716
|
-
TError = ErrorType<void | DmError>,
|
|
717
|
-
>(
|
|
718
|
-
projectId: string,
|
|
719
|
-
projectPatchBodyBody: undefined | ProjectPatchBodyBody,
|
|
720
|
-
options: {
|
|
721
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
722
|
-
Pick<
|
|
723
|
-
DefinedInitialDataOptions<
|
|
724
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
725
|
-
TError,
|
|
726
|
-
Awaited<ReturnType<typeof patchProject>>
|
|
727
|
-
>,
|
|
728
|
-
"initialData"
|
|
729
|
-
>;
|
|
730
|
-
request?: SecondParameter<typeof customInstance>;
|
|
731
|
-
},
|
|
732
|
-
queryClient?: QueryClient,
|
|
733
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
734
|
-
export function usePatchProject<
|
|
735
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
736
|
-
TError = ErrorType<void | DmError>,
|
|
737
|
-
>(
|
|
738
|
-
projectId: string,
|
|
739
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
740
|
-
options?: {
|
|
741
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
742
|
-
Pick<
|
|
743
|
-
UndefinedInitialDataOptions<
|
|
744
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
745
|
-
TError,
|
|
746
|
-
Awaited<ReturnType<typeof patchProject>>
|
|
747
|
-
>,
|
|
748
|
-
"initialData"
|
|
749
|
-
>;
|
|
750
|
-
request?: SecondParameter<typeof customInstance>;
|
|
751
|
-
},
|
|
752
|
-
queryClient?: QueryClient,
|
|
753
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
754
|
-
export function usePatchProject<
|
|
755
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
756
|
-
TError = ErrorType<void | DmError>,
|
|
757
|
-
>(
|
|
758
|
-
projectId: string,
|
|
759
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
760
|
-
options?: {
|
|
761
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
762
|
-
request?: SecondParameter<typeof customInstance>;
|
|
763
|
-
},
|
|
764
|
-
queryClient?: QueryClient,
|
|
765
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
766
675
|
/**
|
|
767
676
|
* @summary Adjust an existing Project
|
|
768
677
|
*/
|
|
769
|
-
|
|
770
|
-
export function usePatchProject<
|
|
771
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
772
|
-
TError = ErrorType<void | DmError>,
|
|
773
|
-
>(
|
|
774
|
-
projectId: string,
|
|
775
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
678
|
+
export const usePatchProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
776
679
|
options?: {
|
|
777
|
-
|
|
680
|
+
mutation?: UseMutationOptions<
|
|
681
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
682
|
+
TError,
|
|
683
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
684
|
+
TContext
|
|
685
|
+
>;
|
|
778
686
|
request?: SecondParameter<typeof customInstance>;
|
|
779
687
|
},
|
|
780
688
|
queryClient?: QueryClient,
|
|
781
|
-
):
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
/**
|
|
792
|
-
* @summary Adjust an existing Project
|
|
793
|
-
*/
|
|
794
|
-
export const invalidatePatchProject = async (
|
|
795
|
-
queryClient: QueryClient,
|
|
796
|
-
projectId: string,
|
|
797
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
798
|
-
options?: InvalidateOptions,
|
|
799
|
-
): Promise<QueryClient> => {
|
|
800
|
-
await queryClient.invalidateQueries(
|
|
801
|
-
{ queryKey: getPatchProjectQueryKey(projectId, projectPatchBodyBody) },
|
|
802
|
-
options,
|
|
803
|
-
);
|
|
804
|
-
|
|
805
|
-
return queryClient;
|
|
689
|
+
): UseMutationResult<
|
|
690
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
691
|
+
TError,
|
|
692
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
693
|
+
TContext
|
|
694
|
+
> => {
|
|
695
|
+
return useMutation(getPatchProjectMutationOptions(options), queryClient);
|
|
806
696
|
};
|
|
807
|
-
|
|
808
697
|
/**
|
|
809
698
|
* Deletes an existing Project.
|
|
810
699
|
*
|
|
@@ -824,126 +713,68 @@ export const deleteProject = (
|
|
|
824
713
|
);
|
|
825
714
|
};
|
|
826
715
|
|
|
827
|
-
export const
|
|
828
|
-
return ["data-manager", "DELETE", "project", projectId] as const;
|
|
829
|
-
};
|
|
830
|
-
|
|
831
|
-
export const getDeleteProjectQueryOptions = <
|
|
832
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
716
|
+
export const getDeleteProjectMutationOptions = <
|
|
833
717
|
TError = ErrorType<void | DmError>,
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
718
|
+
TContext = unknown,
|
|
719
|
+
>(options?: {
|
|
720
|
+
mutation?: UseMutationOptions<
|
|
721
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
722
|
+
TError,
|
|
723
|
+
{ projectId: string },
|
|
724
|
+
TContext
|
|
725
|
+
>;
|
|
726
|
+
request?: SecondParameter<typeof customInstance>;
|
|
727
|
+
}): UseMutationOptions<
|
|
728
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
729
|
+
TError,
|
|
730
|
+
{ projectId: string },
|
|
731
|
+
TContext
|
|
732
|
+
> => {
|
|
733
|
+
const mutationKey = ["deleteProject"];
|
|
734
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
735
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
736
|
+
? options
|
|
737
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
738
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
739
|
+
|
|
740
|
+
const mutationFn: MutationFunction<
|
|
741
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
742
|
+
{ projectId: string }
|
|
743
|
+
> = (props) => {
|
|
744
|
+
const { projectId } = props ?? {};
|
|
745
|
+
|
|
746
|
+
return deleteProject(projectId, requestOptions);
|
|
855
747
|
};
|
|
748
|
+
|
|
749
|
+
return { mutationFn, ...mutationOptions };
|
|
856
750
|
};
|
|
857
751
|
|
|
858
|
-
export type
|
|
859
|
-
|
|
752
|
+
export type DeleteProjectMutationResult = NonNullable<Awaited<ReturnType<typeof deleteProject>>>;
|
|
753
|
+
|
|
754
|
+
export type DeleteProjectMutationError = ErrorType<void | DmError>;
|
|
860
755
|
|
|
861
|
-
export function useDeleteProject<
|
|
862
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
863
|
-
TError = ErrorType<void | DmError>,
|
|
864
|
-
>(
|
|
865
|
-
projectId: string,
|
|
866
|
-
options: {
|
|
867
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
868
|
-
Pick<
|
|
869
|
-
DefinedInitialDataOptions<
|
|
870
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
871
|
-
TError,
|
|
872
|
-
Awaited<ReturnType<typeof deleteProject>>
|
|
873
|
-
>,
|
|
874
|
-
"initialData"
|
|
875
|
-
>;
|
|
876
|
-
request?: SecondParameter<typeof customInstance>;
|
|
877
|
-
},
|
|
878
|
-
queryClient?: QueryClient,
|
|
879
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
880
|
-
export function useDeleteProject<
|
|
881
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
882
|
-
TError = ErrorType<void | DmError>,
|
|
883
|
-
>(
|
|
884
|
-
projectId: string,
|
|
885
|
-
options?: {
|
|
886
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
887
|
-
Pick<
|
|
888
|
-
UndefinedInitialDataOptions<
|
|
889
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
890
|
-
TError,
|
|
891
|
-
Awaited<ReturnType<typeof deleteProject>>
|
|
892
|
-
>,
|
|
893
|
-
"initialData"
|
|
894
|
-
>;
|
|
895
|
-
request?: SecondParameter<typeof customInstance>;
|
|
896
|
-
},
|
|
897
|
-
queryClient?: QueryClient,
|
|
898
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
899
|
-
export function useDeleteProject<
|
|
900
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
901
|
-
TError = ErrorType<void | DmError>,
|
|
902
|
-
>(
|
|
903
|
-
projectId: string,
|
|
904
|
-
options?: {
|
|
905
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
906
|
-
request?: SecondParameter<typeof customInstance>;
|
|
907
|
-
},
|
|
908
|
-
queryClient?: QueryClient,
|
|
909
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
910
756
|
/**
|
|
911
757
|
* @summary Delete a Project
|
|
912
758
|
*/
|
|
913
|
-
|
|
914
|
-
export function useDeleteProject<
|
|
915
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
916
|
-
TError = ErrorType<void | DmError>,
|
|
917
|
-
>(
|
|
918
|
-
projectId: string,
|
|
759
|
+
export const useDeleteProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
919
760
|
options?: {
|
|
920
|
-
|
|
761
|
+
mutation?: UseMutationOptions<
|
|
762
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
763
|
+
TError,
|
|
764
|
+
{ projectId: string },
|
|
765
|
+
TContext
|
|
766
|
+
>;
|
|
921
767
|
request?: SecondParameter<typeof customInstance>;
|
|
922
768
|
},
|
|
923
769
|
queryClient?: QueryClient,
|
|
924
|
-
):
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* @summary Delete a Project
|
|
936
|
-
*/
|
|
937
|
-
export const invalidateDeleteProject = async (
|
|
938
|
-
queryClient: QueryClient,
|
|
939
|
-
projectId: string,
|
|
940
|
-
options?: InvalidateOptions,
|
|
941
|
-
): Promise<QueryClient> => {
|
|
942
|
-
await queryClient.invalidateQueries({ queryKey: getDeleteProjectQueryKey(projectId) }, options);
|
|
943
|
-
|
|
944
|
-
return queryClient;
|
|
770
|
+
): UseMutationResult<
|
|
771
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
772
|
+
TError,
|
|
773
|
+
{ projectId: string },
|
|
774
|
+
TContext
|
|
775
|
+
> => {
|
|
776
|
+
return useMutation(getDeleteProjectMutationOptions(options), queryClient);
|
|
945
777
|
};
|
|
946
|
-
|
|
947
778
|
/**
|
|
948
779
|
* Adds a user to a Project as an `administrator`. As well as the ability to edit the project administrators can add and remove other users.
|
|
949
780
|
*
|
|
@@ -962,150 +793,73 @@ export const addAdministratorToProject = (
|
|
|
962
793
|
);
|
|
963
794
|
};
|
|
964
795
|
|
|
965
|
-
export const
|
|
966
|
-
|
|
796
|
+
export const getAddAdministratorToProjectMutationOptions = <
|
|
797
|
+
TError = ErrorType<void | DmError>,
|
|
798
|
+
TContext = unknown,
|
|
799
|
+
>(options?: {
|
|
800
|
+
mutation?: UseMutationOptions<
|
|
801
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
802
|
+
TError,
|
|
803
|
+
{ projectId: string; userId: string },
|
|
804
|
+
TContext
|
|
805
|
+
>;
|
|
806
|
+
request?: SecondParameter<typeof customInstance>;
|
|
807
|
+
}): UseMutationOptions<
|
|
808
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
809
|
+
TError,
|
|
810
|
+
{ projectId: string; userId: string },
|
|
811
|
+
TContext
|
|
812
|
+
> => {
|
|
813
|
+
const mutationKey = ["addAdministratorToProject"];
|
|
814
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
815
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
816
|
+
? options
|
|
817
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
818
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
819
|
+
|
|
820
|
+
const mutationFn: MutationFunction<
|
|
821
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
822
|
+
{ projectId: string; userId: string }
|
|
823
|
+
> = (props) => {
|
|
824
|
+
const { projectId, userId } = props ?? {};
|
|
825
|
+
|
|
826
|
+
return addAdministratorToProject(projectId, userId, requestOptions);
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
return { mutationFn, ...mutationOptions };
|
|
967
830
|
};
|
|
968
831
|
|
|
969
|
-
export
|
|
970
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
971
|
-
TError = ErrorType<void | DmError>,
|
|
972
|
-
>(
|
|
973
|
-
projectId: string,
|
|
974
|
-
userId: string,
|
|
975
|
-
options?: {
|
|
976
|
-
query?: Partial<
|
|
977
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
978
|
-
>;
|
|
979
|
-
request?: SecondParameter<typeof customInstance>;
|
|
980
|
-
},
|
|
981
|
-
) => {
|
|
982
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
983
|
-
|
|
984
|
-
const queryKey =
|
|
985
|
-
queryOptions?.queryKey ?? getAddAdministratorToProjectQueryKey(projectId, userId);
|
|
986
|
-
|
|
987
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof addAdministratorToProject>>> = ({
|
|
988
|
-
signal,
|
|
989
|
-
}) => addAdministratorToProject(projectId, userId, requestOptions, signal);
|
|
990
|
-
|
|
991
|
-
return {
|
|
992
|
-
queryKey,
|
|
993
|
-
queryFn,
|
|
994
|
-
enabled:
|
|
995
|
-
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
996
|
-
...queryOptions,
|
|
997
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData> & {
|
|
998
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
999
|
-
};
|
|
1000
|
-
};
|
|
1001
|
-
|
|
1002
|
-
export type AddAdministratorToProjectQueryResult = NonNullable<
|
|
832
|
+
export type AddAdministratorToProjectMutationResult = NonNullable<
|
|
1003
833
|
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1004
834
|
>;
|
|
1005
|
-
export type AddAdministratorToProjectQueryError = ErrorType<void | DmError>;
|
|
1006
835
|
|
|
1007
|
-
export
|
|
1008
|
-
|
|
1009
|
-
TError = ErrorType<void | DmError>,
|
|
1010
|
-
>(
|
|
1011
|
-
projectId: string,
|
|
1012
|
-
userId: string,
|
|
1013
|
-
options: {
|
|
1014
|
-
query: Partial<
|
|
1015
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1016
|
-
> &
|
|
1017
|
-
Pick<
|
|
1018
|
-
DefinedInitialDataOptions<
|
|
1019
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1020
|
-
TError,
|
|
1021
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1022
|
-
>,
|
|
1023
|
-
"initialData"
|
|
1024
|
-
>;
|
|
1025
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1026
|
-
},
|
|
1027
|
-
queryClient?: QueryClient,
|
|
1028
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1029
|
-
export function useAddAdministratorToProject<
|
|
1030
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1031
|
-
TError = ErrorType<void | DmError>,
|
|
1032
|
-
>(
|
|
1033
|
-
projectId: string,
|
|
1034
|
-
userId: string,
|
|
1035
|
-
options?: {
|
|
1036
|
-
query?: Partial<
|
|
1037
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1038
|
-
> &
|
|
1039
|
-
Pick<
|
|
1040
|
-
UndefinedInitialDataOptions<
|
|
1041
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1042
|
-
TError,
|
|
1043
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1044
|
-
>,
|
|
1045
|
-
"initialData"
|
|
1046
|
-
>;
|
|
1047
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1048
|
-
},
|
|
1049
|
-
queryClient?: QueryClient,
|
|
1050
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1051
|
-
export function useAddAdministratorToProject<
|
|
1052
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1053
|
-
TError = ErrorType<void | DmError>,
|
|
1054
|
-
>(
|
|
1055
|
-
projectId: string,
|
|
1056
|
-
userId: string,
|
|
1057
|
-
options?: {
|
|
1058
|
-
query?: Partial<
|
|
1059
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1060
|
-
>;
|
|
1061
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1062
|
-
},
|
|
1063
|
-
queryClient?: QueryClient,
|
|
1064
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
836
|
+
export type AddAdministratorToProjectMutationError = ErrorType<void | DmError>;
|
|
837
|
+
|
|
1065
838
|
/**
|
|
1066
839
|
* @summary Add a Project Administrator
|
|
1067
840
|
*/
|
|
1068
|
-
|
|
1069
|
-
export function useAddAdministratorToProject<
|
|
1070
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
841
|
+
export const useAddAdministratorToProject = <
|
|
1071
842
|
TError = ErrorType<void | DmError>,
|
|
843
|
+
TContext = unknown,
|
|
1072
844
|
>(
|
|
1073
|
-
projectId: string,
|
|
1074
|
-
userId: string,
|
|
1075
845
|
options?: {
|
|
1076
|
-
|
|
1077
|
-
|
|
846
|
+
mutation?: UseMutationOptions<
|
|
847
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
848
|
+
TError,
|
|
849
|
+
{ projectId: string; userId: string },
|
|
850
|
+
TContext
|
|
1078
851
|
>;
|
|
1079
852
|
request?: SecondParameter<typeof customInstance>;
|
|
1080
853
|
},
|
|
1081
854
|
queryClient?: QueryClient,
|
|
1082
|
-
):
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
/**
|
|
1093
|
-
* @summary Add a Project Administrator
|
|
1094
|
-
*/
|
|
1095
|
-
export const invalidateAddAdministratorToProject = async (
|
|
1096
|
-
queryClient: QueryClient,
|
|
1097
|
-
projectId: string,
|
|
1098
|
-
userId: string,
|
|
1099
|
-
options?: InvalidateOptions,
|
|
1100
|
-
): Promise<QueryClient> => {
|
|
1101
|
-
await queryClient.invalidateQueries(
|
|
1102
|
-
{ queryKey: getAddAdministratorToProjectQueryKey(projectId, userId) },
|
|
1103
|
-
options,
|
|
1104
|
-
);
|
|
1105
|
-
|
|
1106
|
-
return queryClient;
|
|
855
|
+
): UseMutationResult<
|
|
856
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
857
|
+
TError,
|
|
858
|
+
{ projectId: string; userId: string },
|
|
859
|
+
TContext
|
|
860
|
+
> => {
|
|
861
|
+
return useMutation(getAddAdministratorToProjectMutationOptions(options), queryClient);
|
|
1107
862
|
};
|
|
1108
|
-
|
|
1109
863
|
/**
|
|
1110
864
|
* Deletes a project `administrator`. The administrator can be you.
|
|
1111
865
|
*
|
|
@@ -1126,152 +880,73 @@ export const removeAdministratorFromProject = (
|
|
|
1126
880
|
);
|
|
1127
881
|
};
|
|
1128
882
|
|
|
1129
|
-
export const
|
|
1130
|
-
return ["data-manager", "DELETE", "project", projectId, "administrator", userId] as const;
|
|
1131
|
-
};
|
|
1132
|
-
|
|
1133
|
-
export const getRemoveAdministratorFromProjectQueryOptions = <
|
|
1134
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
883
|
+
export const getRemoveAdministratorFromProjectMutationOptions = <
|
|
1135
884
|
TError = ErrorType<DmError | void>,
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
options?: {
|
|
1140
|
-
query?: Partial<
|
|
1141
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1142
|
-
>;
|
|
1143
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1144
|
-
},
|
|
1145
|
-
) => {
|
|
1146
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1147
|
-
|
|
1148
|
-
const queryKey =
|
|
1149
|
-
queryOptions?.queryKey ?? getRemoveAdministratorFromProjectQueryKey(projectId, userId);
|
|
1150
|
-
|
|
1151
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeAdministratorFromProject>>> = ({
|
|
1152
|
-
signal,
|
|
1153
|
-
}) => removeAdministratorFromProject(projectId, userId, requestOptions, signal);
|
|
1154
|
-
|
|
1155
|
-
return {
|
|
1156
|
-
queryKey,
|
|
1157
|
-
queryFn,
|
|
1158
|
-
enabled:
|
|
1159
|
-
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1160
|
-
...queryOptions,
|
|
1161
|
-
} as UseQueryOptions<
|
|
885
|
+
TContext = unknown,
|
|
886
|
+
>(options?: {
|
|
887
|
+
mutation?: UseMutationOptions<
|
|
1162
888
|
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1163
889
|
TError,
|
|
1164
|
-
|
|
1165
|
-
|
|
890
|
+
{ projectId: string; userId: string },
|
|
891
|
+
TContext
|
|
892
|
+
>;
|
|
893
|
+
request?: SecondParameter<typeof customInstance>;
|
|
894
|
+
}): UseMutationOptions<
|
|
895
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
896
|
+
TError,
|
|
897
|
+
{ projectId: string; userId: string },
|
|
898
|
+
TContext
|
|
899
|
+
> => {
|
|
900
|
+
const mutationKey = ["removeAdministratorFromProject"];
|
|
901
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
902
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
903
|
+
? options
|
|
904
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
905
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
906
|
+
|
|
907
|
+
const mutationFn: MutationFunction<
|
|
908
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
909
|
+
{ projectId: string; userId: string }
|
|
910
|
+
> = (props) => {
|
|
911
|
+
const { projectId, userId } = props ?? {};
|
|
912
|
+
|
|
913
|
+
return removeAdministratorFromProject(projectId, userId, requestOptions);
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
return { mutationFn, ...mutationOptions };
|
|
1166
917
|
};
|
|
1167
918
|
|
|
1168
|
-
export type
|
|
919
|
+
export type RemoveAdministratorFromProjectMutationResult = NonNullable<
|
|
1169
920
|
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1170
921
|
>;
|
|
1171
|
-
export type RemoveAdministratorFromProjectQueryError = ErrorType<DmError | void>;
|
|
1172
922
|
|
|
1173
|
-
export
|
|
1174
|
-
|
|
1175
|
-
TError = ErrorType<DmError | void>,
|
|
1176
|
-
>(
|
|
1177
|
-
projectId: string,
|
|
1178
|
-
userId: string,
|
|
1179
|
-
options: {
|
|
1180
|
-
query: Partial<
|
|
1181
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1182
|
-
> &
|
|
1183
|
-
Pick<
|
|
1184
|
-
DefinedInitialDataOptions<
|
|
1185
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1186
|
-
TError,
|
|
1187
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1188
|
-
>,
|
|
1189
|
-
"initialData"
|
|
1190
|
-
>;
|
|
1191
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1192
|
-
},
|
|
1193
|
-
queryClient?: QueryClient,
|
|
1194
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1195
|
-
export function useRemoveAdministratorFromProject<
|
|
1196
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1197
|
-
TError = ErrorType<DmError | void>,
|
|
1198
|
-
>(
|
|
1199
|
-
projectId: string,
|
|
1200
|
-
userId: string,
|
|
1201
|
-
options?: {
|
|
1202
|
-
query?: Partial<
|
|
1203
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1204
|
-
> &
|
|
1205
|
-
Pick<
|
|
1206
|
-
UndefinedInitialDataOptions<
|
|
1207
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1208
|
-
TError,
|
|
1209
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1210
|
-
>,
|
|
1211
|
-
"initialData"
|
|
1212
|
-
>;
|
|
1213
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1214
|
-
},
|
|
1215
|
-
queryClient?: QueryClient,
|
|
1216
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1217
|
-
export function useRemoveAdministratorFromProject<
|
|
1218
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1219
|
-
TError = ErrorType<DmError | void>,
|
|
1220
|
-
>(
|
|
1221
|
-
projectId: string,
|
|
1222
|
-
userId: string,
|
|
1223
|
-
options?: {
|
|
1224
|
-
query?: Partial<
|
|
1225
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1226
|
-
>;
|
|
1227
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1228
|
-
},
|
|
1229
|
-
queryClient?: QueryClient,
|
|
1230
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
923
|
+
export type RemoveAdministratorFromProjectMutationError = ErrorType<DmError | void>;
|
|
924
|
+
|
|
1231
925
|
/**
|
|
1232
926
|
* @summary Delete a Project Administrator
|
|
1233
927
|
*/
|
|
1234
|
-
|
|
1235
|
-
export function useRemoveAdministratorFromProject<
|
|
1236
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
928
|
+
export const useRemoveAdministratorFromProject = <
|
|
1237
929
|
TError = ErrorType<DmError | void>,
|
|
930
|
+
TContext = unknown,
|
|
1238
931
|
>(
|
|
1239
|
-
projectId: string,
|
|
1240
|
-
userId: string,
|
|
1241
932
|
options?: {
|
|
1242
|
-
|
|
1243
|
-
|
|
933
|
+
mutation?: UseMutationOptions<
|
|
934
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
935
|
+
TError,
|
|
936
|
+
{ projectId: string; userId: string },
|
|
937
|
+
TContext
|
|
1244
938
|
>;
|
|
1245
939
|
request?: SecondParameter<typeof customInstance>;
|
|
1246
940
|
},
|
|
1247
941
|
queryClient?: QueryClient,
|
|
1248
|
-
):
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1259
|
-
* @summary Delete a Project Administrator
|
|
1260
|
-
*/
|
|
1261
|
-
export const invalidateRemoveAdministratorFromProject = async (
|
|
1262
|
-
queryClient: QueryClient,
|
|
1263
|
-
projectId: string,
|
|
1264
|
-
userId: string,
|
|
1265
|
-
options?: InvalidateOptions,
|
|
1266
|
-
): Promise<QueryClient> => {
|
|
1267
|
-
await queryClient.invalidateQueries(
|
|
1268
|
-
{ queryKey: getRemoveAdministratorFromProjectQueryKey(projectId, userId) },
|
|
1269
|
-
options,
|
|
1270
|
-
);
|
|
1271
|
-
|
|
1272
|
-
return queryClient;
|
|
942
|
+
): UseMutationResult<
|
|
943
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
944
|
+
TError,
|
|
945
|
+
{ projectId: string; userId: string },
|
|
946
|
+
TContext
|
|
947
|
+
> => {
|
|
948
|
+
return useMutation(getRemoveAdministratorFromProjectMutationOptions(options), queryClient);
|
|
1273
949
|
};
|
|
1274
|
-
|
|
1275
950
|
/**
|
|
1276
951
|
* Adds a user to a Project as an `editor`. Editors can add and remove datasets in a project and delete the project.
|
|
1277
952
|
*
|
|
@@ -1280,315 +955,166 @@ export const invalidateRemoveAdministratorFromProject = async (
|
|
|
1280
955
|
* You must be an `administrator` of the project
|
|
1281
956
|
* @summary Add a Project Editor
|
|
1282
957
|
*/
|
|
1283
|
-
export const addEditorToProject = (
|
|
1284
|
-
projectId: string,
|
|
1285
|
-
userId: string,
|
|
1286
|
-
options?: SecondParameter<typeof customInstance>,
|
|
1287
|
-
signal?: AbortSignal,
|
|
1288
|
-
) => {
|
|
1289
|
-
return customInstance<void>(
|
|
1290
|
-
{ url: `/project/${projectId}/editor/${userId}`, method: "PUT", signal },
|
|
1291
|
-
options,
|
|
1292
|
-
);
|
|
1293
|
-
};
|
|
1294
|
-
|
|
1295
|
-
export const getAddEditorToProjectQueryKey = (projectId: string, userId: string) => {
|
|
1296
|
-
return ["data-manager", "PUT", "project", projectId, "editor", userId] as const;
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
export const getAddEditorToProjectQueryOptions = <
|
|
1300
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1301
|
-
TError = ErrorType<void | DmError>,
|
|
1302
|
-
>(
|
|
1303
|
-
projectId: string,
|
|
1304
|
-
userId: string,
|
|
1305
|
-
options?: {
|
|
1306
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1307
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1308
|
-
},
|
|
1309
|
-
) => {
|
|
1310
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1311
|
-
|
|
1312
|
-
const queryKey = queryOptions?.queryKey ?? getAddEditorToProjectQueryKey(projectId, userId);
|
|
1313
|
-
|
|
1314
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof addEditorToProject>>> = ({ signal }) =>
|
|
1315
|
-
addEditorToProject(projectId, userId, requestOptions, signal);
|
|
1316
|
-
|
|
1317
|
-
return {
|
|
1318
|
-
queryKey,
|
|
1319
|
-
queryFn,
|
|
1320
|
-
enabled:
|
|
1321
|
-
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1322
|
-
...queryOptions,
|
|
1323
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData> & {
|
|
1324
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1325
|
-
};
|
|
1326
|
-
};
|
|
1327
|
-
|
|
1328
|
-
export type AddEditorToProjectQueryResult = NonNullable<
|
|
1329
|
-
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1330
|
-
>;
|
|
1331
|
-
export type AddEditorToProjectQueryError = ErrorType<void | DmError>;
|
|
1332
|
-
|
|
1333
|
-
export function useAddEditorToProject<
|
|
1334
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1335
|
-
TError = ErrorType<void | DmError>,
|
|
1336
|
-
>(
|
|
1337
|
-
projectId: string,
|
|
1338
|
-
userId: string,
|
|
1339
|
-
options: {
|
|
1340
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>> &
|
|
1341
|
-
Pick<
|
|
1342
|
-
DefinedInitialDataOptions<
|
|
1343
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1344
|
-
TError,
|
|
1345
|
-
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1346
|
-
>,
|
|
1347
|
-
"initialData"
|
|
1348
|
-
>;
|
|
1349
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1350
|
-
},
|
|
1351
|
-
queryClient?: QueryClient,
|
|
1352
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1353
|
-
export function useAddEditorToProject<
|
|
1354
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1355
|
-
TError = ErrorType<void | DmError>,
|
|
1356
|
-
>(
|
|
1357
|
-
projectId: string,
|
|
1358
|
-
userId: string,
|
|
1359
|
-
options?: {
|
|
1360
|
-
query?: Partial<
|
|
1361
|
-
UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>
|
|
1362
|
-
> &
|
|
1363
|
-
Pick<
|
|
1364
|
-
UndefinedInitialDataOptions<
|
|
1365
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1366
|
-
TError,
|
|
1367
|
-
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1368
|
-
>,
|
|
1369
|
-
"initialData"
|
|
1370
|
-
>;
|
|
1371
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1372
|
-
},
|
|
1373
|
-
queryClient?: QueryClient,
|
|
1374
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1375
|
-
export function useAddEditorToProject<
|
|
1376
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1377
|
-
TError = ErrorType<void | DmError>,
|
|
1378
|
-
>(
|
|
1379
|
-
projectId: string,
|
|
1380
|
-
userId: string,
|
|
1381
|
-
options?: {
|
|
1382
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1383
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1384
|
-
},
|
|
1385
|
-
queryClient?: QueryClient,
|
|
1386
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1387
|
-
/**
|
|
1388
|
-
* @summary Add a Project Editor
|
|
1389
|
-
*/
|
|
1390
|
-
|
|
1391
|
-
export function useAddEditorToProject<
|
|
1392
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1393
|
-
TError = ErrorType<void | DmError>,
|
|
1394
|
-
>(
|
|
1395
|
-
projectId: string,
|
|
1396
|
-
userId: string,
|
|
1397
|
-
options?: {
|
|
1398
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1399
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1400
|
-
},
|
|
1401
|
-
queryClient?: QueryClient,
|
|
1402
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1403
|
-
const queryOptions = getAddEditorToProjectQueryOptions(projectId, userId, options);
|
|
1404
|
-
|
|
1405
|
-
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1406
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1407
|
-
};
|
|
1408
|
-
|
|
1409
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
/**
|
|
1413
|
-
* @summary Add a Project Editor
|
|
1414
|
-
*/
|
|
1415
|
-
export const invalidateAddEditorToProject = async (
|
|
1416
|
-
queryClient: QueryClient,
|
|
1417
|
-
projectId: string,
|
|
1418
|
-
userId: string,
|
|
1419
|
-
options?: InvalidateOptions,
|
|
1420
|
-
): Promise<QueryClient> => {
|
|
1421
|
-
await queryClient.invalidateQueries(
|
|
1422
|
-
{ queryKey: getAddEditorToProjectQueryKey(projectId, userId) },
|
|
1423
|
-
options,
|
|
1424
|
-
);
|
|
1425
|
-
|
|
1426
|
-
return queryClient;
|
|
1427
|
-
};
|
|
1428
|
-
|
|
1429
|
-
/**
|
|
1430
|
-
* Deletes a project `editor`. The editor can be you.
|
|
1431
|
-
*
|
|
1432
|
-
* A project must always have one `editor` so you will not be able to delete the last editor of a project.
|
|
1433
|
-
*
|
|
1434
|
-
* You must be an `administrator` of the project
|
|
1435
|
-
* @summary Delete a Project Editor
|
|
1436
|
-
*/
|
|
1437
|
-
export const removeEditorFromProject = (
|
|
1438
|
-
projectId: string,
|
|
1439
|
-
userId: string,
|
|
1440
|
-
options?: SecondParameter<typeof customInstance>,
|
|
1441
|
-
signal?: AbortSignal,
|
|
1442
|
-
) => {
|
|
1443
|
-
return customInstance<void>(
|
|
1444
|
-
{ url: `/project/${projectId}/editor/${userId}`, method: "DELETE", signal },
|
|
1445
|
-
options,
|
|
1446
|
-
);
|
|
1447
|
-
};
|
|
1448
|
-
|
|
1449
|
-
export const getRemoveEditorFromProjectQueryKey = (projectId: string, userId: string) => {
|
|
1450
|
-
return ["data-manager", "DELETE", "project", projectId, "editor", userId] as const;
|
|
1451
|
-
};
|
|
1452
|
-
|
|
1453
|
-
export const getRemoveEditorFromProjectQueryOptions = <
|
|
1454
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1455
|
-
TError = ErrorType<DmError | void>,
|
|
1456
|
-
>(
|
|
1457
|
-
projectId: string,
|
|
1458
|
-
userId: string,
|
|
1459
|
-
options?: {
|
|
1460
|
-
query?: Partial<
|
|
1461
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1462
|
-
>;
|
|
1463
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1464
|
-
},
|
|
1465
|
-
) => {
|
|
1466
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1467
|
-
|
|
1468
|
-
const queryKey = queryOptions?.queryKey ?? getRemoveEditorFromProjectQueryKey(projectId, userId);
|
|
1469
|
-
|
|
1470
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeEditorFromProject>>> = ({
|
|
1471
|
-
signal,
|
|
1472
|
-
}) => removeEditorFromProject(projectId, userId, requestOptions, signal);
|
|
1473
|
-
|
|
1474
|
-
return {
|
|
1475
|
-
queryKey,
|
|
1476
|
-
queryFn,
|
|
1477
|
-
enabled:
|
|
1478
|
-
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1479
|
-
...queryOptions,
|
|
1480
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData> & {
|
|
1481
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1482
|
-
};
|
|
1483
|
-
};
|
|
1484
|
-
|
|
1485
|
-
export type RemoveEditorFromProjectQueryResult = NonNullable<
|
|
1486
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1487
|
-
>;
|
|
1488
|
-
export type RemoveEditorFromProjectQueryError = ErrorType<DmError | void>;
|
|
1489
|
-
|
|
1490
|
-
export function useRemoveEditorFromProject<
|
|
1491
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1492
|
-
TError = ErrorType<DmError | void>,
|
|
1493
|
-
>(
|
|
1494
|
-
projectId: string,
|
|
1495
|
-
userId: string,
|
|
1496
|
-
options: {
|
|
1497
|
-
query: Partial<
|
|
1498
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1499
|
-
> &
|
|
1500
|
-
Pick<
|
|
1501
|
-
DefinedInitialDataOptions<
|
|
1502
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1503
|
-
TError,
|
|
1504
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1505
|
-
>,
|
|
1506
|
-
"initialData"
|
|
1507
|
-
>;
|
|
1508
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1509
|
-
},
|
|
1510
|
-
queryClient?: QueryClient,
|
|
1511
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1512
|
-
export function useRemoveEditorFromProject<
|
|
1513
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1514
|
-
TError = ErrorType<DmError | void>,
|
|
1515
|
-
>(
|
|
1516
|
-
projectId: string,
|
|
1517
|
-
userId: string,
|
|
1518
|
-
options?: {
|
|
1519
|
-
query?: Partial<
|
|
1520
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1521
|
-
> &
|
|
1522
|
-
Pick<
|
|
1523
|
-
UndefinedInitialDataOptions<
|
|
1524
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1525
|
-
TError,
|
|
1526
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1527
|
-
>,
|
|
1528
|
-
"initialData"
|
|
1529
|
-
>;
|
|
1530
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1531
|
-
},
|
|
1532
|
-
queryClient?: QueryClient,
|
|
1533
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1534
|
-
export function useRemoveEditorFromProject<
|
|
1535
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1536
|
-
TError = ErrorType<DmError | void>,
|
|
1537
|
-
>(
|
|
958
|
+
export const addEditorToProject = (
|
|
1538
959
|
projectId: string,
|
|
1539
960
|
userId: string,
|
|
961
|
+
options?: SecondParameter<typeof customInstance>,
|
|
962
|
+
signal?: AbortSignal,
|
|
963
|
+
) => {
|
|
964
|
+
return customInstance<void>(
|
|
965
|
+
{ url: `/project/${projectId}/editor/${userId}`, method: "PUT", signal },
|
|
966
|
+
options,
|
|
967
|
+
);
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
export const getAddEditorToProjectMutationOptions = <
|
|
971
|
+
TError = ErrorType<void | DmError>,
|
|
972
|
+
TContext = unknown,
|
|
973
|
+
>(options?: {
|
|
974
|
+
mutation?: UseMutationOptions<
|
|
975
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
976
|
+
TError,
|
|
977
|
+
{ projectId: string; userId: string },
|
|
978
|
+
TContext
|
|
979
|
+
>;
|
|
980
|
+
request?: SecondParameter<typeof customInstance>;
|
|
981
|
+
}): UseMutationOptions<
|
|
982
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
983
|
+
TError,
|
|
984
|
+
{ projectId: string; userId: string },
|
|
985
|
+
TContext
|
|
986
|
+
> => {
|
|
987
|
+
const mutationKey = ["addEditorToProject"];
|
|
988
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
989
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
990
|
+
? options
|
|
991
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
992
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
993
|
+
|
|
994
|
+
const mutationFn: MutationFunction<
|
|
995
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
996
|
+
{ projectId: string; userId: string }
|
|
997
|
+
> = (props) => {
|
|
998
|
+
const { projectId, userId } = props ?? {};
|
|
999
|
+
|
|
1000
|
+
return addEditorToProject(projectId, userId, requestOptions);
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
return { mutationFn, ...mutationOptions };
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
export type AddEditorToProjectMutationResult = NonNullable<
|
|
1007
|
+
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1008
|
+
>;
|
|
1009
|
+
|
|
1010
|
+
export type AddEditorToProjectMutationError = ErrorType<void | DmError>;
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* @summary Add a Project Editor
|
|
1014
|
+
*/
|
|
1015
|
+
export const useAddEditorToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1540
1016
|
options?: {
|
|
1541
|
-
|
|
1542
|
-
|
|
1017
|
+
mutation?: UseMutationOptions<
|
|
1018
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1019
|
+
TError,
|
|
1020
|
+
{ projectId: string; userId: string },
|
|
1021
|
+
TContext
|
|
1543
1022
|
>;
|
|
1544
1023
|
request?: SecondParameter<typeof customInstance>;
|
|
1545
1024
|
},
|
|
1546
1025
|
queryClient?: QueryClient,
|
|
1547
|
-
):
|
|
1026
|
+
): UseMutationResult<
|
|
1027
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1028
|
+
TError,
|
|
1029
|
+
{ projectId: string; userId: string },
|
|
1030
|
+
TContext
|
|
1031
|
+
> => {
|
|
1032
|
+
return useMutation(getAddEditorToProjectMutationOptions(options), queryClient);
|
|
1033
|
+
};
|
|
1548
1034
|
/**
|
|
1035
|
+
* Deletes a project `editor`. The editor can be you.
|
|
1036
|
+
*
|
|
1037
|
+
* A project must always have one `editor` so you will not be able to delete the last editor of a project.
|
|
1038
|
+
*
|
|
1039
|
+
* You must be an `administrator` of the project
|
|
1549
1040
|
* @summary Delete a Project Editor
|
|
1550
1041
|
*/
|
|
1551
|
-
|
|
1552
|
-
export function useRemoveEditorFromProject<
|
|
1553
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1554
|
-
TError = ErrorType<DmError | void>,
|
|
1555
|
-
>(
|
|
1042
|
+
export const removeEditorFromProject = (
|
|
1556
1043
|
projectId: string,
|
|
1557
1044
|
userId: string,
|
|
1558
|
-
options?:
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
const queryOptions = getRemoveEditorFromProjectQueryOptions(projectId, userId, options);
|
|
1045
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1046
|
+
signal?: AbortSignal,
|
|
1047
|
+
) => {
|
|
1048
|
+
return customInstance<void>(
|
|
1049
|
+
{ url: `/project/${projectId}/editor/${userId}`, method: "DELETE", signal },
|
|
1050
|
+
options,
|
|
1051
|
+
);
|
|
1052
|
+
};
|
|
1567
1053
|
|
|
1568
|
-
|
|
1569
|
-
|
|
1054
|
+
export const getRemoveEditorFromProjectMutationOptions = <
|
|
1055
|
+
TError = ErrorType<DmError | void>,
|
|
1056
|
+
TContext = unknown,
|
|
1057
|
+
>(options?: {
|
|
1058
|
+
mutation?: UseMutationOptions<
|
|
1059
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1060
|
+
TError,
|
|
1061
|
+
{ projectId: string; userId: string },
|
|
1062
|
+
TContext
|
|
1063
|
+
>;
|
|
1064
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1065
|
+
}): UseMutationOptions<
|
|
1066
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1067
|
+
TError,
|
|
1068
|
+
{ projectId: string; userId: string },
|
|
1069
|
+
TContext
|
|
1070
|
+
> => {
|
|
1071
|
+
const mutationKey = ["removeEditorFromProject"];
|
|
1072
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1073
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1074
|
+
? options
|
|
1075
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1076
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1077
|
+
|
|
1078
|
+
const mutationFn: MutationFunction<
|
|
1079
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1080
|
+
{ projectId: string; userId: string }
|
|
1081
|
+
> = (props) => {
|
|
1082
|
+
const { projectId, userId } = props ?? {};
|
|
1083
|
+
|
|
1084
|
+
return removeEditorFromProject(projectId, userId, requestOptions);
|
|
1570
1085
|
};
|
|
1571
1086
|
|
|
1572
|
-
return {
|
|
1573
|
-
}
|
|
1087
|
+
return { mutationFn, ...mutationOptions };
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
export type RemoveEditorFromProjectMutationResult = NonNullable<
|
|
1091
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1092
|
+
>;
|
|
1093
|
+
|
|
1094
|
+
export type RemoveEditorFromProjectMutationError = ErrorType<DmError | void>;
|
|
1574
1095
|
|
|
1575
1096
|
/**
|
|
1576
1097
|
* @summary Delete a Project Editor
|
|
1577
1098
|
*/
|
|
1578
|
-
export const
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1099
|
+
export const useRemoveEditorFromProject = <TError = ErrorType<DmError | void>, TContext = unknown>(
|
|
1100
|
+
options?: {
|
|
1101
|
+
mutation?: UseMutationOptions<
|
|
1102
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1103
|
+
TError,
|
|
1104
|
+
{ projectId: string; userId: string },
|
|
1105
|
+
TContext
|
|
1106
|
+
>;
|
|
1107
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1108
|
+
},
|
|
1109
|
+
queryClient?: QueryClient,
|
|
1110
|
+
): UseMutationResult<
|
|
1111
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1112
|
+
TError,
|
|
1113
|
+
{ projectId: string; userId: string },
|
|
1114
|
+
TContext
|
|
1115
|
+
> => {
|
|
1116
|
+
return useMutation(getRemoveEditorFromProjectMutationOptions(options), queryClient);
|
|
1590
1117
|
};
|
|
1591
|
-
|
|
1592
1118
|
/**
|
|
1593
1119
|
* Adds a user to a project as an `observer`. Observers can view Projects and download files but they cannot modify Project data or run **Applications** or **Jobs**.
|
|
1594
1120
|
*
|
|
@@ -1607,148 +1133,70 @@ export const addObserverToProject = (
|
|
|
1607
1133
|
);
|
|
1608
1134
|
};
|
|
1609
1135
|
|
|
1610
|
-
export const
|
|
1611
|
-
return ["data-manager", "PUT", "project", projectId, "observer", userId] as const;
|
|
1612
|
-
};
|
|
1613
|
-
|
|
1614
|
-
export const getAddObserverToProjectQueryOptions = <
|
|
1615
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1136
|
+
export const getAddObserverToProjectMutationOptions = <
|
|
1616
1137
|
TError = ErrorType<void | DmError>,
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
)
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1138
|
+
TContext = unknown,
|
|
1139
|
+
>(options?: {
|
|
1140
|
+
mutation?: UseMutationOptions<
|
|
1141
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1142
|
+
TError,
|
|
1143
|
+
{ projectId: string; userId: string },
|
|
1144
|
+
TContext
|
|
1145
|
+
>;
|
|
1146
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1147
|
+
}): UseMutationOptions<
|
|
1148
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1149
|
+
TError,
|
|
1150
|
+
{ projectId: string; userId: string },
|
|
1151
|
+
TContext
|
|
1152
|
+
> => {
|
|
1153
|
+
const mutationKey = ["addObserverToProject"];
|
|
1154
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1155
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1156
|
+
? options
|
|
1157
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1158
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1159
|
+
|
|
1160
|
+
const mutationFn: MutationFunction<
|
|
1161
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1162
|
+
{ projectId: string; userId: string }
|
|
1163
|
+
> = (props) => {
|
|
1164
|
+
const { projectId, userId } = props ?? {};
|
|
1165
|
+
|
|
1166
|
+
return addObserverToProject(projectId, userId, requestOptions);
|
|
1642
1167
|
};
|
|
1168
|
+
|
|
1169
|
+
return { mutationFn, ...mutationOptions };
|
|
1643
1170
|
};
|
|
1644
1171
|
|
|
1645
|
-
export type
|
|
1172
|
+
export type AddObserverToProjectMutationResult = NonNullable<
|
|
1646
1173
|
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1647
1174
|
>;
|
|
1648
|
-
export type AddObserverToProjectQueryError = ErrorType<void | DmError>;
|
|
1649
1175
|
|
|
1650
|
-
export
|
|
1651
|
-
|
|
1652
|
-
TError = ErrorType<void | DmError>,
|
|
1653
|
-
>(
|
|
1654
|
-
projectId: string,
|
|
1655
|
-
userId: string,
|
|
1656
|
-
options: {
|
|
1657
|
-
query: Partial<
|
|
1658
|
-
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1659
|
-
> &
|
|
1660
|
-
Pick<
|
|
1661
|
-
DefinedInitialDataOptions<
|
|
1662
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1663
|
-
TError,
|
|
1664
|
-
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1665
|
-
>,
|
|
1666
|
-
"initialData"
|
|
1667
|
-
>;
|
|
1668
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1669
|
-
},
|
|
1670
|
-
queryClient?: QueryClient,
|
|
1671
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1672
|
-
export function useAddObserverToProject<
|
|
1673
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1674
|
-
TError = ErrorType<void | DmError>,
|
|
1675
|
-
>(
|
|
1676
|
-
projectId: string,
|
|
1677
|
-
userId: string,
|
|
1678
|
-
options?: {
|
|
1679
|
-
query?: Partial<
|
|
1680
|
-
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1681
|
-
> &
|
|
1682
|
-
Pick<
|
|
1683
|
-
UndefinedInitialDataOptions<
|
|
1684
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1685
|
-
TError,
|
|
1686
|
-
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1687
|
-
>,
|
|
1688
|
-
"initialData"
|
|
1689
|
-
>;
|
|
1690
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1691
|
-
},
|
|
1692
|
-
queryClient?: QueryClient,
|
|
1693
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1694
|
-
export function useAddObserverToProject<
|
|
1695
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1696
|
-
TError = ErrorType<void | DmError>,
|
|
1697
|
-
>(
|
|
1698
|
-
projectId: string,
|
|
1699
|
-
userId: string,
|
|
1700
|
-
options?: {
|
|
1701
|
-
query?: Partial<
|
|
1702
|
-
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1703
|
-
>;
|
|
1704
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1705
|
-
},
|
|
1706
|
-
queryClient?: QueryClient,
|
|
1707
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1176
|
+
export type AddObserverToProjectMutationError = ErrorType<void | DmError>;
|
|
1177
|
+
|
|
1708
1178
|
/**
|
|
1709
1179
|
* @summary Add a Project Observer
|
|
1710
1180
|
*/
|
|
1711
|
-
|
|
1712
|
-
export function useAddObserverToProject<
|
|
1713
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1714
|
-
TError = ErrorType<void | DmError>,
|
|
1715
|
-
>(
|
|
1716
|
-
projectId: string,
|
|
1717
|
-
userId: string,
|
|
1181
|
+
export const useAddObserverToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1718
1182
|
options?: {
|
|
1719
|
-
|
|
1720
|
-
|
|
1183
|
+
mutation?: UseMutationOptions<
|
|
1184
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1185
|
+
TError,
|
|
1186
|
+
{ projectId: string; userId: string },
|
|
1187
|
+
TContext
|
|
1721
1188
|
>;
|
|
1722
1189
|
request?: SecondParameter<typeof customInstance>;
|
|
1723
1190
|
},
|
|
1724
1191
|
queryClient?: QueryClient,
|
|
1725
|
-
):
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* @summary Add a Project Observer
|
|
1737
|
-
*/
|
|
1738
|
-
export const invalidateAddObserverToProject = async (
|
|
1739
|
-
queryClient: QueryClient,
|
|
1740
|
-
projectId: string,
|
|
1741
|
-
userId: string,
|
|
1742
|
-
options?: InvalidateOptions,
|
|
1743
|
-
): Promise<QueryClient> => {
|
|
1744
|
-
await queryClient.invalidateQueries(
|
|
1745
|
-
{ queryKey: getAddObserverToProjectQueryKey(projectId, userId) },
|
|
1746
|
-
options,
|
|
1747
|
-
);
|
|
1748
|
-
|
|
1749
|
-
return queryClient;
|
|
1192
|
+
): UseMutationResult<
|
|
1193
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1194
|
+
TError,
|
|
1195
|
+
{ projectId: string; userId: string },
|
|
1196
|
+
TContext
|
|
1197
|
+
> => {
|
|
1198
|
+
return useMutation(getAddObserverToProjectMutationOptions(options), queryClient);
|
|
1750
1199
|
};
|
|
1751
|
-
|
|
1752
1200
|
/**
|
|
1753
1201
|
* Deletes a project `observer`.
|
|
1754
1202
|
*
|
|
@@ -1767,146 +1215,70 @@ export const removeObserverFromProject = (
|
|
|
1767
1215
|
);
|
|
1768
1216
|
};
|
|
1769
1217
|
|
|
1770
|
-
export const
|
|
1771
|
-
return ["data-manager", "DELETE", "project", projectId, "observer", userId] as const;
|
|
1772
|
-
};
|
|
1773
|
-
|
|
1774
|
-
export const getRemoveObserverFromProjectQueryOptions = <
|
|
1775
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1218
|
+
export const getRemoveObserverFromProjectMutationOptions = <
|
|
1776
1219
|
TError = ErrorType<DmError | void>,
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
)
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
const
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1220
|
+
TContext = unknown,
|
|
1221
|
+
>(options?: {
|
|
1222
|
+
mutation?: UseMutationOptions<
|
|
1223
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1224
|
+
TError,
|
|
1225
|
+
{ projectId: string; userId: string },
|
|
1226
|
+
TContext
|
|
1227
|
+
>;
|
|
1228
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1229
|
+
}): UseMutationOptions<
|
|
1230
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1231
|
+
TError,
|
|
1232
|
+
{ projectId: string; userId: string },
|
|
1233
|
+
TContext
|
|
1234
|
+
> => {
|
|
1235
|
+
const mutationKey = ["removeObserverFromProject"];
|
|
1236
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1237
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1238
|
+
? options
|
|
1239
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1240
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1241
|
+
|
|
1242
|
+
const mutationFn: MutationFunction<
|
|
1243
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1244
|
+
{ projectId: string; userId: string }
|
|
1245
|
+
> = (props) => {
|
|
1246
|
+
const { projectId, userId } = props ?? {};
|
|
1247
|
+
|
|
1248
|
+
return removeObserverFromProject(projectId, userId, requestOptions);
|
|
1804
1249
|
};
|
|
1250
|
+
|
|
1251
|
+
return { mutationFn, ...mutationOptions };
|
|
1805
1252
|
};
|
|
1806
1253
|
|
|
1807
|
-
export type
|
|
1254
|
+
export type RemoveObserverFromProjectMutationResult = NonNullable<
|
|
1808
1255
|
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
1809
1256
|
>;
|
|
1810
|
-
export type RemoveObserverFromProjectQueryError = ErrorType<DmError | void>;
|
|
1811
1257
|
|
|
1812
|
-
export
|
|
1813
|
-
|
|
1814
|
-
TError = ErrorType<DmError | void>,
|
|
1815
|
-
>(
|
|
1816
|
-
projectId: string,
|
|
1817
|
-
userId: string,
|
|
1818
|
-
options: {
|
|
1819
|
-
query: Partial<
|
|
1820
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1821
|
-
> &
|
|
1822
|
-
Pick<
|
|
1823
|
-
DefinedInitialDataOptions<
|
|
1824
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1825
|
-
TError,
|
|
1826
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
1827
|
-
>,
|
|
1828
|
-
"initialData"
|
|
1829
|
-
>;
|
|
1830
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1831
|
-
},
|
|
1832
|
-
queryClient?: QueryClient,
|
|
1833
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1834
|
-
export function useRemoveObserverFromProject<
|
|
1835
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1836
|
-
TError = ErrorType<DmError | void>,
|
|
1837
|
-
>(
|
|
1838
|
-
projectId: string,
|
|
1839
|
-
userId: string,
|
|
1840
|
-
options?: {
|
|
1841
|
-
query?: Partial<
|
|
1842
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1843
|
-
> &
|
|
1844
|
-
Pick<
|
|
1845
|
-
UndefinedInitialDataOptions<
|
|
1846
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1847
|
-
TError,
|
|
1848
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
1849
|
-
>,
|
|
1850
|
-
"initialData"
|
|
1851
|
-
>;
|
|
1852
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1853
|
-
},
|
|
1854
|
-
queryClient?: QueryClient,
|
|
1855
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1856
|
-
export function useRemoveObserverFromProject<
|
|
1857
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1858
|
-
TError = ErrorType<DmError | void>,
|
|
1859
|
-
>(
|
|
1860
|
-
projectId: string,
|
|
1861
|
-
userId: string,
|
|
1862
|
-
options?: {
|
|
1863
|
-
query?: Partial<
|
|
1864
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1865
|
-
>;
|
|
1866
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1867
|
-
},
|
|
1868
|
-
queryClient?: QueryClient,
|
|
1869
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1258
|
+
export type RemoveObserverFromProjectMutationError = ErrorType<DmError | void>;
|
|
1259
|
+
|
|
1870
1260
|
/**
|
|
1871
1261
|
* @summary Delete a Project Observer
|
|
1872
1262
|
*/
|
|
1873
|
-
|
|
1874
|
-
export function useRemoveObserverFromProject<
|
|
1875
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1263
|
+
export const useRemoveObserverFromProject = <
|
|
1876
1264
|
TError = ErrorType<DmError | void>,
|
|
1265
|
+
TContext = unknown,
|
|
1877
1266
|
>(
|
|
1878
|
-
projectId: string,
|
|
1879
|
-
userId: string,
|
|
1880
1267
|
options?: {
|
|
1881
|
-
|
|
1882
|
-
|
|
1268
|
+
mutation?: UseMutationOptions<
|
|
1269
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1270
|
+
TError,
|
|
1271
|
+
{ projectId: string; userId: string },
|
|
1272
|
+
TContext
|
|
1883
1273
|
>;
|
|
1884
1274
|
request?: SecondParameter<typeof customInstance>;
|
|
1885
1275
|
},
|
|
1886
1276
|
queryClient?: QueryClient,
|
|
1887
|
-
):
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1895
|
-
}
|
|
1896
|
-
|
|
1897
|
-
/**
|
|
1898
|
-
* @summary Delete a Project Observer
|
|
1899
|
-
*/
|
|
1900
|
-
export const invalidateRemoveObserverFromProject = async (
|
|
1901
|
-
queryClient: QueryClient,
|
|
1902
|
-
projectId: string,
|
|
1903
|
-
userId: string,
|
|
1904
|
-
options?: InvalidateOptions,
|
|
1905
|
-
): Promise<QueryClient> => {
|
|
1906
|
-
await queryClient.invalidateQueries(
|
|
1907
|
-
{ queryKey: getRemoveObserverFromProjectQueryKey(projectId, userId) },
|
|
1908
|
-
options,
|
|
1909
|
-
);
|
|
1910
|
-
|
|
1911
|
-
return queryClient;
|
|
1277
|
+
): UseMutationResult<
|
|
1278
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1279
|
+
TError,
|
|
1280
|
+
{ projectId: string; userId: string },
|
|
1281
|
+
TContext
|
|
1282
|
+
> => {
|
|
1283
|
+
return useMutation(getRemoveObserverFromProjectMutationOptions(options), queryClient);
|
|
1912
1284
|
};
|