@squonk/data-manager-client 6.7.0 → 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-fetch";
|
|
|
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
|
export type getProjectsResponse200 = { data: ProjectsGetResponse; status: 200 };
|
|
44
62
|
|
|
45
63
|
export type getProjectsResponse401 = { data: void; status: 401 };
|
|
@@ -178,7 +196,7 @@ export function useGetProjects<
|
|
|
178
196
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
179
197
|
};
|
|
180
198
|
|
|
181
|
-
return
|
|
199
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
182
200
|
}
|
|
183
201
|
|
|
184
202
|
/**
|
|
@@ -284,7 +302,7 @@ export function useGetProjectsSuspense<
|
|
|
284
302
|
TError
|
|
285
303
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
286
304
|
|
|
287
|
-
return
|
|
305
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
288
306
|
}
|
|
289
307
|
|
|
290
308
|
export type createProjectResponse201 = { data: ProjectPostResponse; status: 201 };
|
|
@@ -344,126 +362,68 @@ export const createProject = async (
|
|
|
344
362
|
});
|
|
345
363
|
};
|
|
346
364
|
|
|
347
|
-
export const
|
|
348
|
-
return ["data-manager", "POST", "project", projectPostBodyBody] as const;
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
export const getCreateProjectQueryOptions = <
|
|
352
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
365
|
+
export const getCreateProjectMutationOptions = <
|
|
353
366
|
TError = ErrorType<DmError | void>,
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
358
|
-
request?: SecondParameter<typeof customFetch>;
|
|
359
|
-
},
|
|
360
|
-
) => {
|
|
361
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
362
|
-
|
|
363
|
-
const queryKey = queryOptions?.queryKey ?? getCreateProjectQueryKey(projectPostBodyBody);
|
|
364
|
-
|
|
365
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof createProject>>> = ({ signal }) =>
|
|
366
|
-
createProject(projectPostBodyBody, { signal, ...requestOptions });
|
|
367
|
-
|
|
368
|
-
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
367
|
+
TContext = unknown,
|
|
368
|
+
>(options?: {
|
|
369
|
+
mutation?: UseMutationOptions<
|
|
369
370
|
Awaited<ReturnType<typeof createProject>>,
|
|
370
371
|
TError,
|
|
371
|
-
|
|
372
|
-
|
|
372
|
+
{ data?: ProjectPostBodyBody },
|
|
373
|
+
TContext
|
|
374
|
+
>;
|
|
375
|
+
request?: SecondParameter<typeof customFetch>;
|
|
376
|
+
}): UseMutationOptions<
|
|
377
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
378
|
+
TError,
|
|
379
|
+
{ data?: ProjectPostBodyBody },
|
|
380
|
+
TContext
|
|
381
|
+
> => {
|
|
382
|
+
const mutationKey = ["createProject"];
|
|
383
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
384
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
385
|
+
? options
|
|
386
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
387
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
388
|
+
|
|
389
|
+
const mutationFn: MutationFunction<
|
|
390
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
391
|
+
{ data?: ProjectPostBodyBody }
|
|
392
|
+
> = (props) => {
|
|
393
|
+
const { data } = props ?? {};
|
|
394
|
+
|
|
395
|
+
return createProject(data, requestOptions);
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
return { mutationFn, ...mutationOptions };
|
|
373
399
|
};
|
|
374
400
|
|
|
375
|
-
export type
|
|
376
|
-
export type
|
|
401
|
+
export type CreateProjectMutationResult = NonNullable<Awaited<ReturnType<typeof createProject>>>;
|
|
402
|
+
export type CreateProjectMutationBody = ProjectPostBodyBody | undefined;
|
|
403
|
+
export type CreateProjectMutationError = ErrorType<DmError | void>;
|
|
377
404
|
|
|
378
|
-
export function useCreateProject<
|
|
379
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
380
|
-
TError = ErrorType<DmError | void>,
|
|
381
|
-
>(
|
|
382
|
-
projectPostBodyBody: undefined | ProjectPostBodyBody,
|
|
383
|
-
options: {
|
|
384
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
385
|
-
Pick<
|
|
386
|
-
DefinedInitialDataOptions<
|
|
387
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
388
|
-
TError,
|
|
389
|
-
Awaited<ReturnType<typeof createProject>>
|
|
390
|
-
>,
|
|
391
|
-
"initialData"
|
|
392
|
-
>;
|
|
393
|
-
request?: SecondParameter<typeof customFetch>;
|
|
394
|
-
},
|
|
395
|
-
queryClient?: QueryClient,
|
|
396
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
397
|
-
export function useCreateProject<
|
|
398
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
399
|
-
TError = ErrorType<DmError | void>,
|
|
400
|
-
>(
|
|
401
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
402
|
-
options?: {
|
|
403
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
404
|
-
Pick<
|
|
405
|
-
UndefinedInitialDataOptions<
|
|
406
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
407
|
-
TError,
|
|
408
|
-
Awaited<ReturnType<typeof createProject>>
|
|
409
|
-
>,
|
|
410
|
-
"initialData"
|
|
411
|
-
>;
|
|
412
|
-
request?: SecondParameter<typeof customFetch>;
|
|
413
|
-
},
|
|
414
|
-
queryClient?: QueryClient,
|
|
415
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
416
|
-
export function useCreateProject<
|
|
417
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
418
|
-
TError = ErrorType<DmError | void>,
|
|
419
|
-
>(
|
|
420
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
421
|
-
options?: {
|
|
422
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
423
|
-
request?: SecondParameter<typeof customFetch>;
|
|
424
|
-
},
|
|
425
|
-
queryClient?: QueryClient,
|
|
426
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
427
405
|
/**
|
|
428
406
|
* @summary Create a new Project
|
|
429
407
|
*/
|
|
430
|
-
|
|
431
|
-
export function useCreateProject<
|
|
432
|
-
TData = Awaited<ReturnType<typeof createProject>>,
|
|
433
|
-
TError = ErrorType<DmError | void>,
|
|
434
|
-
>(
|
|
435
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
408
|
+
export const useCreateProject = <TError = ErrorType<DmError | void>, TContext = unknown>(
|
|
436
409
|
options?: {
|
|
437
|
-
|
|
410
|
+
mutation?: UseMutationOptions<
|
|
411
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
412
|
+
TError,
|
|
413
|
+
{ data?: ProjectPostBodyBody },
|
|
414
|
+
TContext
|
|
415
|
+
>;
|
|
438
416
|
request?: SecondParameter<typeof customFetch>;
|
|
439
417
|
},
|
|
440
418
|
queryClient?: QueryClient,
|
|
441
|
-
):
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* @summary Create a new Project
|
|
453
|
-
*/
|
|
454
|
-
export const invalidateCreateProject = async (
|
|
455
|
-
queryClient: QueryClient,
|
|
456
|
-
projectPostBodyBody?: ProjectPostBodyBody,
|
|
457
|
-
options?: InvalidateOptions,
|
|
458
|
-
): Promise<QueryClient> => {
|
|
459
|
-
await queryClient.invalidateQueries(
|
|
460
|
-
{ queryKey: getCreateProjectQueryKey(projectPostBodyBody) },
|
|
461
|
-
options,
|
|
462
|
-
);
|
|
463
|
-
|
|
464
|
-
return queryClient;
|
|
419
|
+
): UseMutationResult<
|
|
420
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
421
|
+
TError,
|
|
422
|
+
{ data?: ProjectPostBodyBody },
|
|
423
|
+
TContext
|
|
424
|
+
> => {
|
|
425
|
+
return useMutation(getCreateProjectMutationOptions(options), queryClient);
|
|
465
426
|
};
|
|
466
|
-
|
|
467
427
|
export type getProjectResponse200 = { data: ProjectDetail; status: 200 };
|
|
468
428
|
|
|
469
429
|
export type getProjectResponse401 = { data: void; status: 401 };
|
|
@@ -603,7 +563,7 @@ export function useGetProject<
|
|
|
603
563
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
604
564
|
};
|
|
605
565
|
|
|
606
|
-
return
|
|
566
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
607
567
|
}
|
|
608
568
|
|
|
609
569
|
/**
|
|
@@ -701,7 +661,7 @@ export function useGetProjectSuspense<
|
|
|
701
661
|
TError
|
|
702
662
|
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
703
663
|
|
|
704
|
-
return
|
|
664
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
705
665
|
}
|
|
706
666
|
|
|
707
667
|
export type patchProjectResponse200 = { data: void; status: 200 };
|
|
@@ -754,139 +714,68 @@ export const patchProject = async (
|
|
|
754
714
|
});
|
|
755
715
|
};
|
|
756
716
|
|
|
757
|
-
export const
|
|
758
|
-
projectId: string,
|
|
759
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
760
|
-
) => {
|
|
761
|
-
return ["data-manager", "PATCH", "project", projectId, projectPatchBodyBody] as const;
|
|
762
|
-
};
|
|
763
|
-
|
|
764
|
-
export const getPatchProjectQueryOptions = <
|
|
765
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
717
|
+
export const getPatchProjectMutationOptions = <
|
|
766
718
|
TError = ErrorType<void | DmError>,
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
719
|
+
TContext = unknown,
|
|
720
|
+
>(options?: {
|
|
721
|
+
mutation?: UseMutationOptions<
|
|
722
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
723
|
+
TError,
|
|
724
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
725
|
+
TContext
|
|
726
|
+
>;
|
|
727
|
+
request?: SecondParameter<typeof customFetch>;
|
|
728
|
+
}): UseMutationOptions<
|
|
729
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
730
|
+
TError,
|
|
731
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
732
|
+
TContext
|
|
733
|
+
> => {
|
|
734
|
+
const mutationKey = ["patchProject"];
|
|
735
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
736
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
737
|
+
? options
|
|
738
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
739
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
740
|
+
|
|
741
|
+
const mutationFn: MutationFunction<
|
|
742
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
743
|
+
{ projectId: string; data?: ProjectPatchBodyBody }
|
|
744
|
+
> = (props) => {
|
|
745
|
+
const { projectId, data } = props ?? {};
|
|
746
|
+
|
|
747
|
+
return patchProject(projectId, data, requestOptions);
|
|
790
748
|
};
|
|
749
|
+
|
|
750
|
+
return { mutationFn, ...mutationOptions };
|
|
791
751
|
};
|
|
792
752
|
|
|
793
|
-
export type
|
|
794
|
-
export type
|
|
753
|
+
export type PatchProjectMutationResult = NonNullable<Awaited<ReturnType<typeof patchProject>>>;
|
|
754
|
+
export type PatchProjectMutationBody = ProjectPatchBodyBody | undefined;
|
|
755
|
+
export type PatchProjectMutationError = ErrorType<void | DmError>;
|
|
795
756
|
|
|
796
|
-
export function usePatchProject<
|
|
797
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
798
|
-
TError = ErrorType<void | DmError>,
|
|
799
|
-
>(
|
|
800
|
-
projectId: string,
|
|
801
|
-
projectPatchBodyBody: undefined | ProjectPatchBodyBody,
|
|
802
|
-
options: {
|
|
803
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
804
|
-
Pick<
|
|
805
|
-
DefinedInitialDataOptions<
|
|
806
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
807
|
-
TError,
|
|
808
|
-
Awaited<ReturnType<typeof patchProject>>
|
|
809
|
-
>,
|
|
810
|
-
"initialData"
|
|
811
|
-
>;
|
|
812
|
-
request?: SecondParameter<typeof customFetch>;
|
|
813
|
-
},
|
|
814
|
-
queryClient?: QueryClient,
|
|
815
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
816
|
-
export function usePatchProject<
|
|
817
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
818
|
-
TError = ErrorType<void | DmError>,
|
|
819
|
-
>(
|
|
820
|
-
projectId: string,
|
|
821
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
822
|
-
options?: {
|
|
823
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
824
|
-
Pick<
|
|
825
|
-
UndefinedInitialDataOptions<
|
|
826
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
827
|
-
TError,
|
|
828
|
-
Awaited<ReturnType<typeof patchProject>>
|
|
829
|
-
>,
|
|
830
|
-
"initialData"
|
|
831
|
-
>;
|
|
832
|
-
request?: SecondParameter<typeof customFetch>;
|
|
833
|
-
},
|
|
834
|
-
queryClient?: QueryClient,
|
|
835
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
836
|
-
export function usePatchProject<
|
|
837
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
838
|
-
TError = ErrorType<void | DmError>,
|
|
839
|
-
>(
|
|
840
|
-
projectId: string,
|
|
841
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
842
|
-
options?: {
|
|
843
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
844
|
-
request?: SecondParameter<typeof customFetch>;
|
|
845
|
-
},
|
|
846
|
-
queryClient?: QueryClient,
|
|
847
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
848
757
|
/**
|
|
849
758
|
* @summary Adjust an existing Project
|
|
850
759
|
*/
|
|
851
|
-
|
|
852
|
-
export function usePatchProject<
|
|
853
|
-
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
854
|
-
TError = ErrorType<void | DmError>,
|
|
855
|
-
>(
|
|
856
|
-
projectId: string,
|
|
857
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
760
|
+
export const usePatchProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
858
761
|
options?: {
|
|
859
|
-
|
|
762
|
+
mutation?: UseMutationOptions<
|
|
763
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
764
|
+
TError,
|
|
765
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
766
|
+
TContext
|
|
767
|
+
>;
|
|
860
768
|
request?: SecondParameter<typeof customFetch>;
|
|
861
769
|
},
|
|
862
770
|
queryClient?: QueryClient,
|
|
863
|
-
):
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* @summary Adjust an existing Project
|
|
875
|
-
*/
|
|
876
|
-
export const invalidatePatchProject = async (
|
|
877
|
-
queryClient: QueryClient,
|
|
878
|
-
projectId: string,
|
|
879
|
-
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
880
|
-
options?: InvalidateOptions,
|
|
881
|
-
): Promise<QueryClient> => {
|
|
882
|
-
await queryClient.invalidateQueries(
|
|
883
|
-
{ queryKey: getPatchProjectQueryKey(projectId, projectPatchBodyBody) },
|
|
884
|
-
options,
|
|
885
|
-
);
|
|
886
|
-
|
|
887
|
-
return queryClient;
|
|
771
|
+
): UseMutationResult<
|
|
772
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
773
|
+
TError,
|
|
774
|
+
{ projectId: string; data?: ProjectPatchBodyBody },
|
|
775
|
+
TContext
|
|
776
|
+
> => {
|
|
777
|
+
return useMutation(getPatchProjectMutationOptions(options), queryClient);
|
|
888
778
|
};
|
|
889
|
-
|
|
890
779
|
export type deleteProjectResponse200 = { data: TaskIdentity; status: 200 };
|
|
891
780
|
|
|
892
781
|
export type deleteProjectResponse401 = { data: void; status: 401 };
|
|
@@ -926,126 +815,68 @@ export const deleteProject = async (
|
|
|
926
815
|
});
|
|
927
816
|
};
|
|
928
817
|
|
|
929
|
-
export const
|
|
930
|
-
return ["data-manager", "DELETE", "project", projectId] as const;
|
|
931
|
-
};
|
|
932
|
-
|
|
933
|
-
export const getDeleteProjectQueryOptions = <
|
|
934
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
818
|
+
export const getDeleteProjectMutationOptions = <
|
|
935
819
|
TError = ErrorType<void | DmError>,
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
820
|
+
TContext = unknown,
|
|
821
|
+
>(options?: {
|
|
822
|
+
mutation?: UseMutationOptions<
|
|
823
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
824
|
+
TError,
|
|
825
|
+
{ projectId: string },
|
|
826
|
+
TContext
|
|
827
|
+
>;
|
|
828
|
+
request?: SecondParameter<typeof customFetch>;
|
|
829
|
+
}): UseMutationOptions<
|
|
830
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
831
|
+
TError,
|
|
832
|
+
{ projectId: string },
|
|
833
|
+
TContext
|
|
834
|
+
> => {
|
|
835
|
+
const mutationKey = ["deleteProject"];
|
|
836
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
837
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
838
|
+
? options
|
|
839
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
840
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
841
|
+
|
|
842
|
+
const mutationFn: MutationFunction<
|
|
843
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
844
|
+
{ projectId: string }
|
|
845
|
+
> = (props) => {
|
|
846
|
+
const { projectId } = props ?? {};
|
|
847
|
+
|
|
848
|
+
return deleteProject(projectId, requestOptions);
|
|
957
849
|
};
|
|
850
|
+
|
|
851
|
+
return { mutationFn, ...mutationOptions };
|
|
958
852
|
};
|
|
959
853
|
|
|
960
|
-
export type
|
|
961
|
-
|
|
854
|
+
export type DeleteProjectMutationResult = NonNullable<Awaited<ReturnType<typeof deleteProject>>>;
|
|
855
|
+
|
|
856
|
+
export type DeleteProjectMutationError = ErrorType<void | DmError>;
|
|
962
857
|
|
|
963
|
-
export function useDeleteProject<
|
|
964
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
965
|
-
TError = ErrorType<void | DmError>,
|
|
966
|
-
>(
|
|
967
|
-
projectId: string,
|
|
968
|
-
options: {
|
|
969
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
970
|
-
Pick<
|
|
971
|
-
DefinedInitialDataOptions<
|
|
972
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
973
|
-
TError,
|
|
974
|
-
Awaited<ReturnType<typeof deleteProject>>
|
|
975
|
-
>,
|
|
976
|
-
"initialData"
|
|
977
|
-
>;
|
|
978
|
-
request?: SecondParameter<typeof customFetch>;
|
|
979
|
-
},
|
|
980
|
-
queryClient?: QueryClient,
|
|
981
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
982
|
-
export function useDeleteProject<
|
|
983
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
984
|
-
TError = ErrorType<void | DmError>,
|
|
985
|
-
>(
|
|
986
|
-
projectId: string,
|
|
987
|
-
options?: {
|
|
988
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
989
|
-
Pick<
|
|
990
|
-
UndefinedInitialDataOptions<
|
|
991
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
992
|
-
TError,
|
|
993
|
-
Awaited<ReturnType<typeof deleteProject>>
|
|
994
|
-
>,
|
|
995
|
-
"initialData"
|
|
996
|
-
>;
|
|
997
|
-
request?: SecondParameter<typeof customFetch>;
|
|
998
|
-
},
|
|
999
|
-
queryClient?: QueryClient,
|
|
1000
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1001
|
-
export function useDeleteProject<
|
|
1002
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
1003
|
-
TError = ErrorType<void | DmError>,
|
|
1004
|
-
>(
|
|
1005
|
-
projectId: string,
|
|
1006
|
-
options?: {
|
|
1007
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
1008
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1009
|
-
},
|
|
1010
|
-
queryClient?: QueryClient,
|
|
1011
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1012
858
|
/**
|
|
1013
859
|
* @summary Delete a Project
|
|
1014
860
|
*/
|
|
1015
|
-
|
|
1016
|
-
export function useDeleteProject<
|
|
1017
|
-
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
1018
|
-
TError = ErrorType<void | DmError>,
|
|
1019
|
-
>(
|
|
1020
|
-
projectId: string,
|
|
861
|
+
export const useDeleteProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1021
862
|
options?: {
|
|
1022
|
-
|
|
863
|
+
mutation?: UseMutationOptions<
|
|
864
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
865
|
+
TError,
|
|
866
|
+
{ projectId: string },
|
|
867
|
+
TContext
|
|
868
|
+
>;
|
|
1023
869
|
request?: SecondParameter<typeof customFetch>;
|
|
1024
870
|
},
|
|
1025
871
|
queryClient?: QueryClient,
|
|
1026
|
-
):
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* @summary Delete a Project
|
|
1038
|
-
*/
|
|
1039
|
-
export const invalidateDeleteProject = async (
|
|
1040
|
-
queryClient: QueryClient,
|
|
1041
|
-
projectId: string,
|
|
1042
|
-
options?: InvalidateOptions,
|
|
1043
|
-
): Promise<QueryClient> => {
|
|
1044
|
-
await queryClient.invalidateQueries({ queryKey: getDeleteProjectQueryKey(projectId) }, options);
|
|
1045
|
-
|
|
1046
|
-
return queryClient;
|
|
872
|
+
): UseMutationResult<
|
|
873
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
874
|
+
TError,
|
|
875
|
+
{ projectId: string },
|
|
876
|
+
TContext
|
|
877
|
+
> => {
|
|
878
|
+
return useMutation(getDeleteProjectMutationOptions(options), queryClient);
|
|
1047
879
|
};
|
|
1048
|
-
|
|
1049
880
|
export type addAdministratorToProjectResponse201 = { data: void; status: 201 };
|
|
1050
881
|
|
|
1051
882
|
export type addAdministratorToProjectResponse401 = { data: void; status: 401 };
|
|
@@ -1088,150 +919,73 @@ export const addAdministratorToProject = async (
|
|
|
1088
919
|
);
|
|
1089
920
|
};
|
|
1090
921
|
|
|
1091
|
-
export const
|
|
1092
|
-
|
|
922
|
+
export const getAddAdministratorToProjectMutationOptions = <
|
|
923
|
+
TError = ErrorType<void | DmError>,
|
|
924
|
+
TContext = unknown,
|
|
925
|
+
>(options?: {
|
|
926
|
+
mutation?: UseMutationOptions<
|
|
927
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
928
|
+
TError,
|
|
929
|
+
{ projectId: string; userId: string },
|
|
930
|
+
TContext
|
|
931
|
+
>;
|
|
932
|
+
request?: SecondParameter<typeof customFetch>;
|
|
933
|
+
}): UseMutationOptions<
|
|
934
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
935
|
+
TError,
|
|
936
|
+
{ projectId: string; userId: string },
|
|
937
|
+
TContext
|
|
938
|
+
> => {
|
|
939
|
+
const mutationKey = ["addAdministratorToProject"];
|
|
940
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
941
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
942
|
+
? options
|
|
943
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
944
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
945
|
+
|
|
946
|
+
const mutationFn: MutationFunction<
|
|
947
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
948
|
+
{ projectId: string; userId: string }
|
|
949
|
+
> = (props) => {
|
|
950
|
+
const { projectId, userId } = props ?? {};
|
|
951
|
+
|
|
952
|
+
return addAdministratorToProject(projectId, userId, requestOptions);
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
return { mutationFn, ...mutationOptions };
|
|
1093
956
|
};
|
|
1094
957
|
|
|
1095
|
-
export
|
|
1096
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1097
|
-
TError = ErrorType<void | DmError>,
|
|
1098
|
-
>(
|
|
1099
|
-
projectId: string,
|
|
1100
|
-
userId: string,
|
|
1101
|
-
options?: {
|
|
1102
|
-
query?: Partial<
|
|
1103
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1104
|
-
>;
|
|
1105
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1106
|
-
},
|
|
1107
|
-
) => {
|
|
1108
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1109
|
-
|
|
1110
|
-
const queryKey =
|
|
1111
|
-
queryOptions?.queryKey ?? getAddAdministratorToProjectQueryKey(projectId, userId);
|
|
1112
|
-
|
|
1113
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof addAdministratorToProject>>> = ({
|
|
1114
|
-
signal,
|
|
1115
|
-
}) => addAdministratorToProject(projectId, userId, { signal, ...requestOptions });
|
|
1116
|
-
|
|
1117
|
-
return {
|
|
1118
|
-
queryKey,
|
|
1119
|
-
queryFn,
|
|
1120
|
-
enabled:
|
|
1121
|
-
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1122
|
-
...queryOptions,
|
|
1123
|
-
} as UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData> & {
|
|
1124
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1125
|
-
};
|
|
1126
|
-
};
|
|
1127
|
-
|
|
1128
|
-
export type AddAdministratorToProjectQueryResult = NonNullable<
|
|
958
|
+
export type AddAdministratorToProjectMutationResult = NonNullable<
|
|
1129
959
|
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1130
960
|
>;
|
|
1131
|
-
export type AddAdministratorToProjectQueryError = ErrorType<void | DmError>;
|
|
1132
961
|
|
|
1133
|
-
export
|
|
1134
|
-
|
|
1135
|
-
TError = ErrorType<void | DmError>,
|
|
1136
|
-
>(
|
|
1137
|
-
projectId: string,
|
|
1138
|
-
userId: string,
|
|
1139
|
-
options: {
|
|
1140
|
-
query: Partial<
|
|
1141
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1142
|
-
> &
|
|
1143
|
-
Pick<
|
|
1144
|
-
DefinedInitialDataOptions<
|
|
1145
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1146
|
-
TError,
|
|
1147
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1148
|
-
>,
|
|
1149
|
-
"initialData"
|
|
1150
|
-
>;
|
|
1151
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1152
|
-
},
|
|
1153
|
-
queryClient?: QueryClient,
|
|
1154
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1155
|
-
export function useAddAdministratorToProject<
|
|
1156
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1157
|
-
TError = ErrorType<void | DmError>,
|
|
1158
|
-
>(
|
|
1159
|
-
projectId: string,
|
|
1160
|
-
userId: string,
|
|
1161
|
-
options?: {
|
|
1162
|
-
query?: Partial<
|
|
1163
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1164
|
-
> &
|
|
1165
|
-
Pick<
|
|
1166
|
-
UndefinedInitialDataOptions<
|
|
1167
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1168
|
-
TError,
|
|
1169
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1170
|
-
>,
|
|
1171
|
-
"initialData"
|
|
1172
|
-
>;
|
|
1173
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1174
|
-
},
|
|
1175
|
-
queryClient?: QueryClient,
|
|
1176
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1177
|
-
export function useAddAdministratorToProject<
|
|
1178
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1179
|
-
TError = ErrorType<void | DmError>,
|
|
1180
|
-
>(
|
|
1181
|
-
projectId: string,
|
|
1182
|
-
userId: string,
|
|
1183
|
-
options?: {
|
|
1184
|
-
query?: Partial<
|
|
1185
|
-
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1186
|
-
>;
|
|
1187
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1188
|
-
},
|
|
1189
|
-
queryClient?: QueryClient,
|
|
1190
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
962
|
+
export type AddAdministratorToProjectMutationError = ErrorType<void | DmError>;
|
|
963
|
+
|
|
1191
964
|
/**
|
|
1192
965
|
* @summary Add a Project Administrator
|
|
1193
966
|
*/
|
|
1194
|
-
|
|
1195
|
-
export function useAddAdministratorToProject<
|
|
1196
|
-
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
967
|
+
export const useAddAdministratorToProject = <
|
|
1197
968
|
TError = ErrorType<void | DmError>,
|
|
969
|
+
TContext = unknown,
|
|
1198
970
|
>(
|
|
1199
|
-
projectId: string,
|
|
1200
|
-
userId: string,
|
|
1201
971
|
options?: {
|
|
1202
|
-
|
|
1203
|
-
|
|
972
|
+
mutation?: UseMutationOptions<
|
|
973
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
974
|
+
TError,
|
|
975
|
+
{ projectId: string; userId: string },
|
|
976
|
+
TContext
|
|
1204
977
|
>;
|
|
1205
978
|
request?: SecondParameter<typeof customFetch>;
|
|
1206
979
|
},
|
|
1207
980
|
queryClient?: QueryClient,
|
|
1208
|
-
):
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
/**
|
|
1219
|
-
* @summary Add a Project Administrator
|
|
1220
|
-
*/
|
|
1221
|
-
export const invalidateAddAdministratorToProject = async (
|
|
1222
|
-
queryClient: QueryClient,
|
|
1223
|
-
projectId: string,
|
|
1224
|
-
userId: string,
|
|
1225
|
-
options?: InvalidateOptions,
|
|
1226
|
-
): Promise<QueryClient> => {
|
|
1227
|
-
await queryClient.invalidateQueries(
|
|
1228
|
-
{ queryKey: getAddAdministratorToProjectQueryKey(projectId, userId) },
|
|
1229
|
-
options,
|
|
1230
|
-
);
|
|
1231
|
-
|
|
1232
|
-
return queryClient;
|
|
981
|
+
): UseMutationResult<
|
|
982
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
983
|
+
TError,
|
|
984
|
+
{ projectId: string; userId: string },
|
|
985
|
+
TContext
|
|
986
|
+
> => {
|
|
987
|
+
return useMutation(getAddAdministratorToProjectMutationOptions(options), queryClient);
|
|
1233
988
|
};
|
|
1234
|
-
|
|
1235
989
|
export type removeAdministratorFromProjectResponse204 = { data: void; status: 204 };
|
|
1236
990
|
|
|
1237
991
|
export type removeAdministratorFromProjectResponse400 = { data: DmError; status: 400 };
|
|
@@ -1278,152 +1032,73 @@ export const removeAdministratorFromProject = async (
|
|
|
1278
1032
|
);
|
|
1279
1033
|
};
|
|
1280
1034
|
|
|
1281
|
-
export const
|
|
1282
|
-
return ["data-manager", "DELETE", "project", projectId, "administrator", userId] as const;
|
|
1283
|
-
};
|
|
1284
|
-
|
|
1285
|
-
export const getRemoveAdministratorFromProjectQueryOptions = <
|
|
1286
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1035
|
+
export const getRemoveAdministratorFromProjectMutationOptions = <
|
|
1287
1036
|
TError = ErrorType<DmError | void>,
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
options?: {
|
|
1292
|
-
query?: Partial<
|
|
1293
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1294
|
-
>;
|
|
1295
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1296
|
-
},
|
|
1297
|
-
) => {
|
|
1298
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1299
|
-
|
|
1300
|
-
const queryKey =
|
|
1301
|
-
queryOptions?.queryKey ?? getRemoveAdministratorFromProjectQueryKey(projectId, userId);
|
|
1302
|
-
|
|
1303
|
-
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeAdministratorFromProject>>> = ({
|
|
1304
|
-
signal,
|
|
1305
|
-
}) => removeAdministratorFromProject(projectId, userId, { signal, ...requestOptions });
|
|
1306
|
-
|
|
1307
|
-
return {
|
|
1308
|
-
queryKey,
|
|
1309
|
-
queryFn,
|
|
1310
|
-
enabled:
|
|
1311
|
-
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1312
|
-
...queryOptions,
|
|
1313
|
-
} as UseQueryOptions<
|
|
1037
|
+
TContext = unknown,
|
|
1038
|
+
>(options?: {
|
|
1039
|
+
mutation?: UseMutationOptions<
|
|
1314
1040
|
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1315
1041
|
TError,
|
|
1316
|
-
|
|
1317
|
-
|
|
1042
|
+
{ projectId: string; userId: string },
|
|
1043
|
+
TContext
|
|
1044
|
+
>;
|
|
1045
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1046
|
+
}): UseMutationOptions<
|
|
1047
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1048
|
+
TError,
|
|
1049
|
+
{ projectId: string; userId: string },
|
|
1050
|
+
TContext
|
|
1051
|
+
> => {
|
|
1052
|
+
const mutationKey = ["removeAdministratorFromProject"];
|
|
1053
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1054
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1055
|
+
? options
|
|
1056
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1057
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1058
|
+
|
|
1059
|
+
const mutationFn: MutationFunction<
|
|
1060
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1061
|
+
{ projectId: string; userId: string }
|
|
1062
|
+
> = (props) => {
|
|
1063
|
+
const { projectId, userId } = props ?? {};
|
|
1064
|
+
|
|
1065
|
+
return removeAdministratorFromProject(projectId, userId, requestOptions);
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
return { mutationFn, ...mutationOptions };
|
|
1318
1069
|
};
|
|
1319
1070
|
|
|
1320
|
-
export type
|
|
1071
|
+
export type RemoveAdministratorFromProjectMutationResult = NonNullable<
|
|
1321
1072
|
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1322
1073
|
>;
|
|
1323
|
-
export type RemoveAdministratorFromProjectQueryError = ErrorType<DmError | void>;
|
|
1324
1074
|
|
|
1325
|
-
export
|
|
1326
|
-
|
|
1327
|
-
TError = ErrorType<DmError | void>,
|
|
1328
|
-
>(
|
|
1329
|
-
projectId: string,
|
|
1330
|
-
userId: string,
|
|
1331
|
-
options: {
|
|
1332
|
-
query: Partial<
|
|
1333
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1334
|
-
> &
|
|
1335
|
-
Pick<
|
|
1336
|
-
DefinedInitialDataOptions<
|
|
1337
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1338
|
-
TError,
|
|
1339
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1340
|
-
>,
|
|
1341
|
-
"initialData"
|
|
1342
|
-
>;
|
|
1343
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1344
|
-
},
|
|
1345
|
-
queryClient?: QueryClient,
|
|
1346
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1347
|
-
export function useRemoveAdministratorFromProject<
|
|
1348
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1349
|
-
TError = ErrorType<DmError | void>,
|
|
1350
|
-
>(
|
|
1351
|
-
projectId: string,
|
|
1352
|
-
userId: string,
|
|
1353
|
-
options?: {
|
|
1354
|
-
query?: Partial<
|
|
1355
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1356
|
-
> &
|
|
1357
|
-
Pick<
|
|
1358
|
-
UndefinedInitialDataOptions<
|
|
1359
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1360
|
-
TError,
|
|
1361
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1362
|
-
>,
|
|
1363
|
-
"initialData"
|
|
1364
|
-
>;
|
|
1365
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1366
|
-
},
|
|
1367
|
-
queryClient?: QueryClient,
|
|
1368
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1369
|
-
export function useRemoveAdministratorFromProject<
|
|
1370
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1371
|
-
TError = ErrorType<DmError | void>,
|
|
1372
|
-
>(
|
|
1373
|
-
projectId: string,
|
|
1374
|
-
userId: string,
|
|
1375
|
-
options?: {
|
|
1376
|
-
query?: Partial<
|
|
1377
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1378
|
-
>;
|
|
1379
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1380
|
-
},
|
|
1381
|
-
queryClient?: QueryClient,
|
|
1382
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1075
|
+
export type RemoveAdministratorFromProjectMutationError = ErrorType<DmError | void>;
|
|
1076
|
+
|
|
1383
1077
|
/**
|
|
1384
1078
|
* @summary Delete a Project Administrator
|
|
1385
1079
|
*/
|
|
1386
|
-
|
|
1387
|
-
export function useRemoveAdministratorFromProject<
|
|
1388
|
-
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1080
|
+
export const useRemoveAdministratorFromProject = <
|
|
1389
1081
|
TError = ErrorType<DmError | void>,
|
|
1082
|
+
TContext = unknown,
|
|
1390
1083
|
>(
|
|
1391
|
-
projectId: string,
|
|
1392
|
-
userId: string,
|
|
1393
1084
|
options?: {
|
|
1394
|
-
|
|
1395
|
-
|
|
1085
|
+
mutation?: UseMutationOptions<
|
|
1086
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1087
|
+
TError,
|
|
1088
|
+
{ projectId: string; userId: string },
|
|
1089
|
+
TContext
|
|
1396
1090
|
>;
|
|
1397
1091
|
request?: SecondParameter<typeof customFetch>;
|
|
1398
1092
|
},
|
|
1399
1093
|
queryClient?: QueryClient,
|
|
1400
|
-
):
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* @summary Delete a Project Administrator
|
|
1412
|
-
*/
|
|
1413
|
-
export const invalidateRemoveAdministratorFromProject = async (
|
|
1414
|
-
queryClient: QueryClient,
|
|
1415
|
-
projectId: string,
|
|
1416
|
-
userId: string,
|
|
1417
|
-
options?: InvalidateOptions,
|
|
1418
|
-
): Promise<QueryClient> => {
|
|
1419
|
-
await queryClient.invalidateQueries(
|
|
1420
|
-
{ queryKey: getRemoveAdministratorFromProjectQueryKey(projectId, userId) },
|
|
1421
|
-
options,
|
|
1422
|
-
);
|
|
1423
|
-
|
|
1424
|
-
return queryClient;
|
|
1094
|
+
): UseMutationResult<
|
|
1095
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1096
|
+
TError,
|
|
1097
|
+
{ projectId: string; userId: string },
|
|
1098
|
+
TContext
|
|
1099
|
+
> => {
|
|
1100
|
+
return useMutation(getRemoveAdministratorFromProjectMutationOptions(options), queryClient);
|
|
1425
1101
|
};
|
|
1426
|
-
|
|
1427
1102
|
export type addEditorToProjectResponse201 = { data: void; status: 201 };
|
|
1428
1103
|
|
|
1429
1104
|
export type addEditorToProjectResponse401 = { data: void; status: 401 };
|
|
@@ -1468,145 +1143,75 @@ export const addEditorToProject = async (
|
|
|
1468
1143
|
});
|
|
1469
1144
|
};
|
|
1470
1145
|
|
|
1471
|
-
export const
|
|
1472
|
-
return ["data-manager", "PUT", "project", projectId, "editor", userId] as const;
|
|
1473
|
-
};
|
|
1474
|
-
|
|
1475
|
-
export const getAddEditorToProjectQueryOptions = <
|
|
1476
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1146
|
+
export const getAddEditorToProjectMutationOptions = <
|
|
1477
1147
|
TError = ErrorType<void | DmError>,
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1148
|
+
TContext = unknown,
|
|
1149
|
+
>(options?: {
|
|
1150
|
+
mutation?: UseMutationOptions<
|
|
1151
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1152
|
+
TError,
|
|
1153
|
+
{ projectId: string; userId: string },
|
|
1154
|
+
TContext
|
|
1155
|
+
>;
|
|
1156
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1157
|
+
}): UseMutationOptions<
|
|
1158
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1159
|
+
TError,
|
|
1160
|
+
{ projectId: string; userId: string },
|
|
1161
|
+
TContext
|
|
1162
|
+
> => {
|
|
1163
|
+
const mutationKey = ["addEditorToProject"];
|
|
1164
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1165
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1166
|
+
? options
|
|
1167
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1168
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1169
|
+
|
|
1170
|
+
const mutationFn: MutationFunction<
|
|
1171
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1172
|
+
{ projectId: string; userId: string }
|
|
1173
|
+
> = (props) => {
|
|
1174
|
+
const { projectId, userId } = props ?? {};
|
|
1175
|
+
|
|
1176
|
+
return addEditorToProject(projectId, userId, requestOptions);
|
|
1501
1177
|
};
|
|
1178
|
+
|
|
1179
|
+
return { mutationFn, ...mutationOptions };
|
|
1502
1180
|
};
|
|
1503
1181
|
|
|
1504
|
-
export type
|
|
1182
|
+
export type AddEditorToProjectMutationResult = NonNullable<
|
|
1505
1183
|
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1506
1184
|
>;
|
|
1507
|
-
export type AddEditorToProjectQueryError = ErrorType<void | DmError>;
|
|
1508
1185
|
|
|
1509
|
-
export
|
|
1510
|
-
|
|
1511
|
-
TError = ErrorType<void | DmError>,
|
|
1512
|
-
>(
|
|
1513
|
-
projectId: string,
|
|
1514
|
-
userId: string,
|
|
1515
|
-
options: {
|
|
1516
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>> &
|
|
1517
|
-
Pick<
|
|
1518
|
-
DefinedInitialDataOptions<
|
|
1519
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1520
|
-
TError,
|
|
1521
|
-
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1522
|
-
>,
|
|
1523
|
-
"initialData"
|
|
1524
|
-
>;
|
|
1525
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1526
|
-
},
|
|
1527
|
-
queryClient?: QueryClient,
|
|
1528
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1529
|
-
export function useAddEditorToProject<
|
|
1530
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1531
|
-
TError = ErrorType<void | DmError>,
|
|
1532
|
-
>(
|
|
1533
|
-
projectId: string,
|
|
1534
|
-
userId: string,
|
|
1535
|
-
options?: {
|
|
1536
|
-
query?: Partial<
|
|
1537
|
-
UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>
|
|
1538
|
-
> &
|
|
1539
|
-
Pick<
|
|
1540
|
-
UndefinedInitialDataOptions<
|
|
1541
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1542
|
-
TError,
|
|
1543
|
-
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1544
|
-
>,
|
|
1545
|
-
"initialData"
|
|
1546
|
-
>;
|
|
1547
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1548
|
-
},
|
|
1549
|
-
queryClient?: QueryClient,
|
|
1550
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1551
|
-
export function useAddEditorToProject<
|
|
1552
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1553
|
-
TError = ErrorType<void | DmError>,
|
|
1554
|
-
>(
|
|
1555
|
-
projectId: string,
|
|
1556
|
-
userId: string,
|
|
1557
|
-
options?: {
|
|
1558
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1559
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1560
|
-
},
|
|
1561
|
-
queryClient?: QueryClient,
|
|
1562
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1186
|
+
export type AddEditorToProjectMutationError = ErrorType<void | DmError>;
|
|
1187
|
+
|
|
1563
1188
|
/**
|
|
1564
1189
|
* @summary Add a Project Editor
|
|
1565
1190
|
*/
|
|
1566
|
-
|
|
1567
|
-
export function useAddEditorToProject<
|
|
1568
|
-
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1569
|
-
TError = ErrorType<void | DmError>,
|
|
1570
|
-
>(
|
|
1571
|
-
projectId: string,
|
|
1572
|
-
userId: string,
|
|
1191
|
+
export const useAddEditorToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1573
1192
|
options?: {
|
|
1574
|
-
|
|
1193
|
+
mutation?: UseMutationOptions<
|
|
1194
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1195
|
+
TError,
|
|
1196
|
+
{ projectId: string; userId: string },
|
|
1197
|
+
TContext
|
|
1198
|
+
>;
|
|
1575
1199
|
request?: SecondParameter<typeof customFetch>;
|
|
1576
1200
|
},
|
|
1577
1201
|
queryClient?: QueryClient,
|
|
1578
|
-
):
|
|
1579
|
-
|
|
1202
|
+
): UseMutationResult<
|
|
1203
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1204
|
+
TError,
|
|
1205
|
+
{ projectId: string; userId: string },
|
|
1206
|
+
TContext
|
|
1207
|
+
> => {
|
|
1208
|
+
return useMutation(getAddEditorToProjectMutationOptions(options), queryClient);
|
|
1209
|
+
};
|
|
1210
|
+
export type removeEditorFromProjectResponse204 = { data: void; status: 204 };
|
|
1580
1211
|
|
|
1581
|
-
|
|
1582
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1583
|
-
};
|
|
1212
|
+
export type removeEditorFromProjectResponse400 = { data: DmError; status: 400 };
|
|
1584
1213
|
|
|
1585
|
-
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
* @summary Add a Project Editor
|
|
1590
|
-
*/
|
|
1591
|
-
export const invalidateAddEditorToProject = async (
|
|
1592
|
-
queryClient: QueryClient,
|
|
1593
|
-
projectId: string,
|
|
1594
|
-
userId: string,
|
|
1595
|
-
options?: InvalidateOptions,
|
|
1596
|
-
): Promise<QueryClient> => {
|
|
1597
|
-
await queryClient.invalidateQueries(
|
|
1598
|
-
{ queryKey: getAddEditorToProjectQueryKey(projectId, userId) },
|
|
1599
|
-
options,
|
|
1600
|
-
);
|
|
1601
|
-
|
|
1602
|
-
return queryClient;
|
|
1603
|
-
};
|
|
1604
|
-
|
|
1605
|
-
export type removeEditorFromProjectResponse204 = { data: void; status: 204 };
|
|
1606
|
-
|
|
1607
|
-
export type removeEditorFromProjectResponse400 = { data: DmError; status: 400 };
|
|
1608
|
-
|
|
1609
|
-
export type removeEditorFromProjectResponse401 = { data: void; status: 401 };
|
|
1214
|
+
export type removeEditorFromProjectResponse401 = { data: void; status: 401 };
|
|
1610
1215
|
|
|
1611
1216
|
export type removeEditorFromProjectResponse403 = { data: DmError; status: 403 };
|
|
1612
1217
|
|
|
@@ -1649,149 +1254,70 @@ export const removeEditorFromProject = async (
|
|
|
1649
1254
|
);
|
|
1650
1255
|
};
|
|
1651
1256
|
|
|
1652
|
-
export const
|
|
1653
|
-
return ["data-manager", "DELETE", "project", projectId, "editor", userId] as const;
|
|
1654
|
-
};
|
|
1655
|
-
|
|
1656
|
-
export const getRemoveEditorFromProjectQueryOptions = <
|
|
1657
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1257
|
+
export const getRemoveEditorFromProjectMutationOptions = <
|
|
1658
1258
|
TError = ErrorType<DmError | void>,
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
)
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1259
|
+
TContext = unknown,
|
|
1260
|
+
>(options?: {
|
|
1261
|
+
mutation?: UseMutationOptions<
|
|
1262
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1263
|
+
TError,
|
|
1264
|
+
{ projectId: string; userId: string },
|
|
1265
|
+
TContext
|
|
1266
|
+
>;
|
|
1267
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1268
|
+
}): UseMutationOptions<
|
|
1269
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1270
|
+
TError,
|
|
1271
|
+
{ projectId: string; userId: string },
|
|
1272
|
+
TContext
|
|
1273
|
+
> => {
|
|
1274
|
+
const mutationKey = ["removeEditorFromProject"];
|
|
1275
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1276
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1277
|
+
? options
|
|
1278
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1279
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1280
|
+
|
|
1281
|
+
const mutationFn: MutationFunction<
|
|
1282
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1283
|
+
{ projectId: string; userId: string }
|
|
1284
|
+
> = (props) => {
|
|
1285
|
+
const { projectId, userId } = props ?? {};
|
|
1286
|
+
|
|
1287
|
+
return removeEditorFromProject(projectId, userId, requestOptions);
|
|
1685
1288
|
};
|
|
1289
|
+
|
|
1290
|
+
return { mutationFn, ...mutationOptions };
|
|
1686
1291
|
};
|
|
1687
1292
|
|
|
1688
|
-
export type
|
|
1293
|
+
export type RemoveEditorFromProjectMutationResult = NonNullable<
|
|
1689
1294
|
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1690
1295
|
>;
|
|
1691
|
-
export type RemoveEditorFromProjectQueryError = ErrorType<DmError | void>;
|
|
1692
1296
|
|
|
1693
|
-
export
|
|
1694
|
-
|
|
1695
|
-
TError = ErrorType<DmError | void>,
|
|
1696
|
-
>(
|
|
1697
|
-
projectId: string,
|
|
1698
|
-
userId: string,
|
|
1699
|
-
options: {
|
|
1700
|
-
query: Partial<
|
|
1701
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1702
|
-
> &
|
|
1703
|
-
Pick<
|
|
1704
|
-
DefinedInitialDataOptions<
|
|
1705
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1706
|
-
TError,
|
|
1707
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1708
|
-
>,
|
|
1709
|
-
"initialData"
|
|
1710
|
-
>;
|
|
1711
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1712
|
-
},
|
|
1713
|
-
queryClient?: QueryClient,
|
|
1714
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1715
|
-
export function useRemoveEditorFromProject<
|
|
1716
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1717
|
-
TError = ErrorType<DmError | void>,
|
|
1718
|
-
>(
|
|
1719
|
-
projectId: string,
|
|
1720
|
-
userId: string,
|
|
1721
|
-
options?: {
|
|
1722
|
-
query?: Partial<
|
|
1723
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1724
|
-
> &
|
|
1725
|
-
Pick<
|
|
1726
|
-
UndefinedInitialDataOptions<
|
|
1727
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1728
|
-
TError,
|
|
1729
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1730
|
-
>,
|
|
1731
|
-
"initialData"
|
|
1732
|
-
>;
|
|
1733
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1734
|
-
},
|
|
1735
|
-
queryClient?: QueryClient,
|
|
1736
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1737
|
-
export function useRemoveEditorFromProject<
|
|
1738
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1739
|
-
TError = ErrorType<DmError | void>,
|
|
1740
|
-
>(
|
|
1741
|
-
projectId: string,
|
|
1742
|
-
userId: string,
|
|
1743
|
-
options?: {
|
|
1744
|
-
query?: Partial<
|
|
1745
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1746
|
-
>;
|
|
1747
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1748
|
-
},
|
|
1749
|
-
queryClient?: QueryClient,
|
|
1750
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1297
|
+
export type RemoveEditorFromProjectMutationError = ErrorType<DmError | void>;
|
|
1298
|
+
|
|
1751
1299
|
/**
|
|
1752
1300
|
* @summary Delete a Project Editor
|
|
1753
1301
|
*/
|
|
1754
|
-
|
|
1755
|
-
export function useRemoveEditorFromProject<
|
|
1756
|
-
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1757
|
-
TError = ErrorType<DmError | void>,
|
|
1758
|
-
>(
|
|
1759
|
-
projectId: string,
|
|
1760
|
-
userId: string,
|
|
1302
|
+
export const useRemoveEditorFromProject = <TError = ErrorType<DmError | void>, TContext = unknown>(
|
|
1761
1303
|
options?: {
|
|
1762
|
-
|
|
1763
|
-
|
|
1304
|
+
mutation?: UseMutationOptions<
|
|
1305
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1306
|
+
TError,
|
|
1307
|
+
{ projectId: string; userId: string },
|
|
1308
|
+
TContext
|
|
1764
1309
|
>;
|
|
1765
1310
|
request?: SecondParameter<typeof customFetch>;
|
|
1766
1311
|
},
|
|
1767
1312
|
queryClient?: QueryClient,
|
|
1768
|
-
):
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* @summary Delete a Project Editor
|
|
1780
|
-
*/
|
|
1781
|
-
export const invalidateRemoveEditorFromProject = async (
|
|
1782
|
-
queryClient: QueryClient,
|
|
1783
|
-
projectId: string,
|
|
1784
|
-
userId: string,
|
|
1785
|
-
options?: InvalidateOptions,
|
|
1786
|
-
): Promise<QueryClient> => {
|
|
1787
|
-
await queryClient.invalidateQueries(
|
|
1788
|
-
{ queryKey: getRemoveEditorFromProjectQueryKey(projectId, userId) },
|
|
1789
|
-
options,
|
|
1790
|
-
);
|
|
1791
|
-
|
|
1792
|
-
return queryClient;
|
|
1313
|
+
): UseMutationResult<
|
|
1314
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1315
|
+
TError,
|
|
1316
|
+
{ projectId: string; userId: string },
|
|
1317
|
+
TContext
|
|
1318
|
+
> => {
|
|
1319
|
+
return useMutation(getRemoveEditorFromProjectMutationOptions(options), queryClient);
|
|
1793
1320
|
};
|
|
1794
|
-
|
|
1795
1321
|
export type addObserverToProjectResponse201 = { data: void; status: 201 };
|
|
1796
1322
|
|
|
1797
1323
|
export type addObserverToProjectResponse401 = { data: void; status: 401 };
|
|
@@ -1834,148 +1360,70 @@ export const addObserverToProject = async (
|
|
|
1834
1360
|
});
|
|
1835
1361
|
};
|
|
1836
1362
|
|
|
1837
|
-
export const
|
|
1838
|
-
return ["data-manager", "PUT", "project", projectId, "observer", userId] as const;
|
|
1839
|
-
};
|
|
1840
|
-
|
|
1841
|
-
export const getAddObserverToProjectQueryOptions = <
|
|
1842
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1363
|
+
export const getAddObserverToProjectMutationOptions = <
|
|
1843
1364
|
TError = ErrorType<void | DmError>,
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
)
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1365
|
+
TContext = unknown,
|
|
1366
|
+
>(options?: {
|
|
1367
|
+
mutation?: UseMutationOptions<
|
|
1368
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1369
|
+
TError,
|
|
1370
|
+
{ projectId: string; userId: string },
|
|
1371
|
+
TContext
|
|
1372
|
+
>;
|
|
1373
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1374
|
+
}): UseMutationOptions<
|
|
1375
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1376
|
+
TError,
|
|
1377
|
+
{ projectId: string; userId: string },
|
|
1378
|
+
TContext
|
|
1379
|
+
> => {
|
|
1380
|
+
const mutationKey = ["addObserverToProject"];
|
|
1381
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1382
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1383
|
+
? options
|
|
1384
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1385
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1386
|
+
|
|
1387
|
+
const mutationFn: MutationFunction<
|
|
1388
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1389
|
+
{ projectId: string; userId: string }
|
|
1390
|
+
> = (props) => {
|
|
1391
|
+
const { projectId, userId } = props ?? {};
|
|
1392
|
+
|
|
1393
|
+
return addObserverToProject(projectId, userId, requestOptions);
|
|
1869
1394
|
};
|
|
1395
|
+
|
|
1396
|
+
return { mutationFn, ...mutationOptions };
|
|
1870
1397
|
};
|
|
1871
1398
|
|
|
1872
|
-
export type
|
|
1399
|
+
export type AddObserverToProjectMutationResult = NonNullable<
|
|
1873
1400
|
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1874
1401
|
>;
|
|
1875
|
-
export type AddObserverToProjectQueryError = ErrorType<void | DmError>;
|
|
1876
1402
|
|
|
1877
|
-
export
|
|
1878
|
-
|
|
1879
|
-
TError = ErrorType<void | DmError>,
|
|
1880
|
-
>(
|
|
1881
|
-
projectId: string,
|
|
1882
|
-
userId: string,
|
|
1883
|
-
options: {
|
|
1884
|
-
query: Partial<
|
|
1885
|
-
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1886
|
-
> &
|
|
1887
|
-
Pick<
|
|
1888
|
-
DefinedInitialDataOptions<
|
|
1889
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1890
|
-
TError,
|
|
1891
|
-
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1892
|
-
>,
|
|
1893
|
-
"initialData"
|
|
1894
|
-
>;
|
|
1895
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1896
|
-
},
|
|
1897
|
-
queryClient?: QueryClient,
|
|
1898
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1899
|
-
export function useAddObserverToProject<
|
|
1900
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1901
|
-
TError = ErrorType<void | DmError>,
|
|
1902
|
-
>(
|
|
1903
|
-
projectId: string,
|
|
1904
|
-
userId: string,
|
|
1905
|
-
options?: {
|
|
1906
|
-
query?: Partial<
|
|
1907
|
-
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1908
|
-
> &
|
|
1909
|
-
Pick<
|
|
1910
|
-
UndefinedInitialDataOptions<
|
|
1911
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1912
|
-
TError,
|
|
1913
|
-
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1914
|
-
>,
|
|
1915
|
-
"initialData"
|
|
1916
|
-
>;
|
|
1917
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1918
|
-
},
|
|
1919
|
-
queryClient?: QueryClient,
|
|
1920
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1921
|
-
export function useAddObserverToProject<
|
|
1922
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1923
|
-
TError = ErrorType<void | DmError>,
|
|
1924
|
-
>(
|
|
1925
|
-
projectId: string,
|
|
1926
|
-
userId: string,
|
|
1927
|
-
options?: {
|
|
1928
|
-
query?: Partial<
|
|
1929
|
-
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1930
|
-
>;
|
|
1931
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1932
|
-
},
|
|
1933
|
-
queryClient?: QueryClient,
|
|
1934
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1403
|
+
export type AddObserverToProjectMutationError = ErrorType<void | DmError>;
|
|
1404
|
+
|
|
1935
1405
|
/**
|
|
1936
1406
|
* @summary Add a Project Observer
|
|
1937
1407
|
*/
|
|
1938
|
-
|
|
1939
|
-
export function useAddObserverToProject<
|
|
1940
|
-
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1941
|
-
TError = ErrorType<void | DmError>,
|
|
1942
|
-
>(
|
|
1943
|
-
projectId: string,
|
|
1944
|
-
userId: string,
|
|
1408
|
+
export const useAddObserverToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
1945
1409
|
options?: {
|
|
1946
|
-
|
|
1947
|
-
|
|
1410
|
+
mutation?: UseMutationOptions<
|
|
1411
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1412
|
+
TError,
|
|
1413
|
+
{ projectId: string; userId: string },
|
|
1414
|
+
TContext
|
|
1948
1415
|
>;
|
|
1949
1416
|
request?: SecondParameter<typeof customFetch>;
|
|
1950
1417
|
},
|
|
1951
1418
|
queryClient?: QueryClient,
|
|
1952
|
-
):
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
|
-
/**
|
|
1963
|
-
* @summary Add a Project Observer
|
|
1964
|
-
*/
|
|
1965
|
-
export const invalidateAddObserverToProject = async (
|
|
1966
|
-
queryClient: QueryClient,
|
|
1967
|
-
projectId: string,
|
|
1968
|
-
userId: string,
|
|
1969
|
-
options?: InvalidateOptions,
|
|
1970
|
-
): Promise<QueryClient> => {
|
|
1971
|
-
await queryClient.invalidateQueries(
|
|
1972
|
-
{ queryKey: getAddObserverToProjectQueryKey(projectId, userId) },
|
|
1973
|
-
options,
|
|
1974
|
-
);
|
|
1975
|
-
|
|
1976
|
-
return queryClient;
|
|
1419
|
+
): UseMutationResult<
|
|
1420
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1421
|
+
TError,
|
|
1422
|
+
{ projectId: string; userId: string },
|
|
1423
|
+
TContext
|
|
1424
|
+
> => {
|
|
1425
|
+
return useMutation(getAddObserverToProjectMutationOptions(options), queryClient);
|
|
1977
1426
|
};
|
|
1978
|
-
|
|
1979
1427
|
export type removeObserverFromProjectResponse204 = { data: void; status: 204 };
|
|
1980
1428
|
|
|
1981
1429
|
export type removeObserverFromProjectResponse400 = { data: DmError; status: 400 };
|
|
@@ -2021,146 +1469,70 @@ export const removeObserverFromProject = async (
|
|
|
2021
1469
|
);
|
|
2022
1470
|
};
|
|
2023
1471
|
|
|
2024
|
-
export const
|
|
2025
|
-
return ["data-manager", "DELETE", "project", projectId, "observer", userId] as const;
|
|
2026
|
-
};
|
|
2027
|
-
|
|
2028
|
-
export const getRemoveObserverFromProjectQueryOptions = <
|
|
2029
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1472
|
+
export const getRemoveObserverFromProjectMutationOptions = <
|
|
2030
1473
|
TError = ErrorType<DmError | void>,
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
)
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
const
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
1474
|
+
TContext = unknown,
|
|
1475
|
+
>(options?: {
|
|
1476
|
+
mutation?: UseMutationOptions<
|
|
1477
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1478
|
+
TError,
|
|
1479
|
+
{ projectId: string; userId: string },
|
|
1480
|
+
TContext
|
|
1481
|
+
>;
|
|
1482
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1483
|
+
}): UseMutationOptions<
|
|
1484
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1485
|
+
TError,
|
|
1486
|
+
{ projectId: string; userId: string },
|
|
1487
|
+
TContext
|
|
1488
|
+
> => {
|
|
1489
|
+
const mutationKey = ["removeObserverFromProject"];
|
|
1490
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1491
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1492
|
+
? options
|
|
1493
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1494
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1495
|
+
|
|
1496
|
+
const mutationFn: MutationFunction<
|
|
1497
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1498
|
+
{ projectId: string; userId: string }
|
|
1499
|
+
> = (props) => {
|
|
1500
|
+
const { projectId, userId } = props ?? {};
|
|
1501
|
+
|
|
1502
|
+
return removeObserverFromProject(projectId, userId, requestOptions);
|
|
2058
1503
|
};
|
|
1504
|
+
|
|
1505
|
+
return { mutationFn, ...mutationOptions };
|
|
2059
1506
|
};
|
|
2060
1507
|
|
|
2061
|
-
export type
|
|
1508
|
+
export type RemoveObserverFromProjectMutationResult = NonNullable<
|
|
2062
1509
|
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
2063
1510
|
>;
|
|
2064
|
-
export type RemoveObserverFromProjectQueryError = ErrorType<DmError | void>;
|
|
2065
1511
|
|
|
2066
|
-
export
|
|
2067
|
-
|
|
2068
|
-
TError = ErrorType<DmError | void>,
|
|
2069
|
-
>(
|
|
2070
|
-
projectId: string,
|
|
2071
|
-
userId: string,
|
|
2072
|
-
options: {
|
|
2073
|
-
query: Partial<
|
|
2074
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
2075
|
-
> &
|
|
2076
|
-
Pick<
|
|
2077
|
-
DefinedInitialDataOptions<
|
|
2078
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2079
|
-
TError,
|
|
2080
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
2081
|
-
>,
|
|
2082
|
-
"initialData"
|
|
2083
|
-
>;
|
|
2084
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2085
|
-
},
|
|
2086
|
-
queryClient?: QueryClient,
|
|
2087
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2088
|
-
export function useRemoveObserverFromProject<
|
|
2089
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2090
|
-
TError = ErrorType<DmError | void>,
|
|
2091
|
-
>(
|
|
2092
|
-
projectId: string,
|
|
2093
|
-
userId: string,
|
|
2094
|
-
options?: {
|
|
2095
|
-
query?: Partial<
|
|
2096
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
2097
|
-
> &
|
|
2098
|
-
Pick<
|
|
2099
|
-
UndefinedInitialDataOptions<
|
|
2100
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2101
|
-
TError,
|
|
2102
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
2103
|
-
>,
|
|
2104
|
-
"initialData"
|
|
2105
|
-
>;
|
|
2106
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2107
|
-
},
|
|
2108
|
-
queryClient?: QueryClient,
|
|
2109
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2110
|
-
export function useRemoveObserverFromProject<
|
|
2111
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2112
|
-
TError = ErrorType<DmError | void>,
|
|
2113
|
-
>(
|
|
2114
|
-
projectId: string,
|
|
2115
|
-
userId: string,
|
|
2116
|
-
options?: {
|
|
2117
|
-
query?: Partial<
|
|
2118
|
-
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
2119
|
-
>;
|
|
2120
|
-
request?: SecondParameter<typeof customFetch>;
|
|
2121
|
-
},
|
|
2122
|
-
queryClient?: QueryClient,
|
|
2123
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1512
|
+
export type RemoveObserverFromProjectMutationError = ErrorType<DmError | void>;
|
|
1513
|
+
|
|
2124
1514
|
/**
|
|
2125
1515
|
* @summary Delete a Project Observer
|
|
2126
1516
|
*/
|
|
2127
|
-
|
|
2128
|
-
export function useRemoveObserverFromProject<
|
|
2129
|
-
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1517
|
+
export const useRemoveObserverFromProject = <
|
|
2130
1518
|
TError = ErrorType<DmError | void>,
|
|
1519
|
+
TContext = unknown,
|
|
2131
1520
|
>(
|
|
2132
|
-
projectId: string,
|
|
2133
|
-
userId: string,
|
|
2134
1521
|
options?: {
|
|
2135
|
-
|
|
2136
|
-
|
|
1522
|
+
mutation?: UseMutationOptions<
|
|
1523
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1524
|
+
TError,
|
|
1525
|
+
{ projectId: string; userId: string },
|
|
1526
|
+
TContext
|
|
2137
1527
|
>;
|
|
2138
1528
|
request?: SecondParameter<typeof customFetch>;
|
|
2139
1529
|
},
|
|
2140
1530
|
queryClient?: QueryClient,
|
|
2141
|
-
):
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
/**
|
|
2152
|
-
* @summary Delete a Project Observer
|
|
2153
|
-
*/
|
|
2154
|
-
export const invalidateRemoveObserverFromProject = async (
|
|
2155
|
-
queryClient: QueryClient,
|
|
2156
|
-
projectId: string,
|
|
2157
|
-
userId: string,
|
|
2158
|
-
options?: InvalidateOptions,
|
|
2159
|
-
): Promise<QueryClient> => {
|
|
2160
|
-
await queryClient.invalidateQueries(
|
|
2161
|
-
{ queryKey: getRemoveObserverFromProjectQueryKey(projectId, userId) },
|
|
2162
|
-
options,
|
|
2163
|
-
);
|
|
2164
|
-
|
|
2165
|
-
return queryClient;
|
|
1531
|
+
): UseMutationResult<
|
|
1532
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1533
|
+
TError,
|
|
1534
|
+
{ projectId: string; userId: string },
|
|
1535
|
+
TContext
|
|
1536
|
+
> => {
|
|
1537
|
+
return useMutation(getRemoveObserverFromProjectMutationOptions(options), queryClient);
|
|
2166
1538
|
};
|