@squonk/data-manager-client 5.0.2 → 5.2.0-trunk.2382074933
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 +1 -1
- package/dist/api/accounting/accounting.cjs.map +1 -1
- package/dist/api/accounting/accounting.fetch.cjs +1 -1
- package/dist/api/accounting/accounting.fetch.cjs.map +1 -1
- package/dist/api/accounting/accounting.fetch.js +1 -1
- package/dist/api/accounting/accounting.fetch.js.map +1 -1
- package/dist/api/accounting/accounting.js +1 -1
- package/dist/api/accounting/accounting.js.map +1 -1
- package/dist/api/admin/admin.cjs +1 -1
- package/dist/api/admin/admin.cjs.map +1 -1
- package/dist/api/admin/admin.d.cts.map +1 -1
- package/dist/api/admin/admin.fetch.cjs +1 -1
- package/dist/api/admin/admin.fetch.cjs.map +1 -1
- package/dist/api/admin/admin.fetch.d.cts.map +1 -1
- package/dist/api/admin/admin.fetch.js +1 -1
- package/dist/api/admin/admin.fetch.js.map +1 -1
- package/dist/api/admin/admin.js +1 -1
- 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/getExchangeRatesResponseId.d.cts +1 -1
- package/dist/api/api-schemas/getExchangeRatesResponseId.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 +1 -1
- package/dist/api/application/application.cjs.map +1 -1
- package/dist/api/application/application.fetch.cjs +1 -1
- package/dist/api/application/application.fetch.cjs.map +1 -1
- package/dist/api/application/application.fetch.js +1 -1
- package/dist/api/application/application.fetch.js.map +1 -1
- package/dist/api/application/application.js +1 -1
- package/dist/api/application/application.js.map +1 -1
- package/dist/api/configuration/configuration.cjs +1 -1
- package/dist/api/configuration/configuration.cjs.map +1 -1
- package/dist/api/configuration/configuration.fetch.cjs +1 -1
- package/dist/api/configuration/configuration.fetch.cjs.map +1 -1
- package/dist/api/configuration/configuration.fetch.js +1 -1
- package/dist/api/configuration/configuration.fetch.js.map +1 -1
- package/dist/api/configuration/configuration.js +1 -1
- package/dist/api/configuration/configuration.js.map +1 -1
- package/dist/api/dataset/dataset.cjs +1 -1
- package/dist/api/dataset/dataset.cjs.map +1 -1
- package/dist/api/dataset/dataset.d.cts.map +1 -1
- package/dist/api/dataset/dataset.fetch.cjs +1 -1
- package/dist/api/dataset/dataset.fetch.cjs.map +1 -1
- package/dist/api/dataset/dataset.fetch.d.cts.map +1 -1
- package/dist/api/dataset/dataset.fetch.js +1 -1
- package/dist/api/dataset/dataset.fetch.js.map +1 -1
- package/dist/api/dataset/dataset.js +1 -1
- package/dist/api/dataset/dataset.js.map +1 -1
- package/dist/api/digest/digest.cjs +1 -1
- package/dist/api/digest/digest.cjs.map +1 -1
- package/dist/api/digest/digest.fetch.cjs +1 -1
- 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.js +1 -1
- package/dist/api/digest/digest.fetch.js.map +1 -1
- package/dist/api/digest/digest.js +1 -1
- package/dist/api/digest/digest.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.cjs +1 -1
- package/dist/api/file-and-path/file-and-path.cjs.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.cjs +1 -1
- 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.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.js +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.js +1 -1
- package/dist/api/file-and-path/file-and-path.js.map +1 -1
- package/dist/api/instance/instance.cjs +1 -1
- package/dist/api/instance/instance.cjs.map +1 -1
- package/dist/api/instance/instance.d.ts.map +1 -1
- package/dist/api/instance/instance.fetch.cjs +1 -1
- package/dist/api/instance/instance.fetch.cjs.map +1 -1
- package/dist/api/instance/instance.fetch.js +1 -1
- package/dist/api/instance/instance.fetch.js.map +1 -1
- package/dist/api/instance/instance.js +1 -1
- package/dist/api/instance/instance.js.map +1 -1
- package/dist/api/inventory/inventory.cjs +1 -1
- package/dist/api/inventory/inventory.cjs.map +1 -1
- package/dist/api/inventory/inventory.fetch.cjs +1 -1
- package/dist/api/inventory/inventory.fetch.cjs.map +1 -1
- package/dist/api/inventory/inventory.fetch.js +1 -1
- package/dist/api/inventory/inventory.fetch.js.map +1 -1
- package/dist/api/inventory/inventory.js +1 -1
- package/dist/api/inventory/inventory.js.map +1 -1
- package/dist/api/job/job.cjs +1 -1
- package/dist/api/job/job.cjs.map +1 -1
- package/dist/api/job/job.fetch.cjs +1 -1
- package/dist/api/job/job.fetch.cjs.map +1 -1
- package/dist/api/job/job.fetch.js +1 -1
- package/dist/api/job/job.fetch.js.map +1 -1
- package/dist/api/job/job.js +1 -1
- package/dist/api/job/job.js.map +1 -1
- package/dist/api/metadata/metadata.cjs +1 -1
- package/dist/api/metadata/metadata.cjs.map +1 -1
- package/dist/api/metadata/metadata.d.cts.map +1 -1
- package/dist/api/metadata/metadata.fetch.cjs +1 -1
- package/dist/api/metadata/metadata.fetch.cjs.map +1 -1
- package/dist/api/metadata/metadata.fetch.d.cts.map +1 -1
- package/dist/api/metadata/metadata.fetch.js +1 -1
- package/dist/api/metadata/metadata.fetch.js.map +1 -1
- package/dist/api/metadata/metadata.js +1 -1
- package/dist/api/metadata/metadata.js.map +1 -1
- package/dist/api/project/project.cjs +1 -1
- package/dist/api/project/project.cjs.map +1 -1
- package/dist/api/project/project.fetch.cjs +1 -1
- package/dist/api/project/project.fetch.cjs.map +1 -1
- package/dist/api/project/project.fetch.d.cts.map +1 -1
- package/dist/api/project/project.fetch.js +1 -1
- package/dist/api/project/project.fetch.js.map +1 -1
- package/dist/api/project/project.js +1 -1
- package/dist/api/project/project.js.map +1 -1
- package/dist/api/task/task.cjs +1 -1
- package/dist/api/task/task.cjs.map +1 -1
- package/dist/api/task/task.fetch.cjs +1 -1
- package/dist/api/task/task.fetch.cjs.map +1 -1
- package/dist/api/task/task.fetch.d.cts.map +1 -1
- package/dist/api/task/task.fetch.js +1 -1
- package/dist/api/task/task.fetch.js.map +1 -1
- package/dist/api/task/task.js +1 -1
- package/dist/api/task/task.js.map +1 -1
- package/dist/api/type/type.cjs +1 -1
- package/dist/api/type/type.cjs.map +1 -1
- package/dist/api/type/type.fetch.cjs +1 -1
- 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.js +1 -1
- package/dist/api/type/type.fetch.js.map +1 -1
- package/dist/api/type/type.js +1 -1
- package/dist/api/type/type.js.map +1 -1
- package/dist/api/user/user.cjs +1 -1
- package/dist/api/user/user.cjs.map +1 -1
- package/dist/api/user/user.fetch.cjs +1 -1
- package/dist/api/user/user.fetch.cjs.map +1 -1
- package/dist/api/user/user.fetch.js +1 -1
- package/dist/api/user/user.fetch.js.map +1 -1
- package/dist/api/user/user.js +1 -1
- package/dist/api/user/user.js.map +1 -1
- package/dist/api/workflow/workflow.cjs +1 -1
- package/dist/api/workflow/workflow.cjs.map +1 -1
- package/dist/api/workflow/workflow.d.cts.map +1 -1
- package/dist/api/workflow/workflow.fetch.cjs +1 -1
- package/dist/api/workflow/workflow.fetch.cjs.map +1 -1
- package/dist/api/workflow/workflow.fetch.js +1 -1
- package/dist/api/workflow/workflow.fetch.js.map +1 -1
- package/dist/api/workflow/workflow.js +1 -1
- package/dist/api/workflow/workflow.js.map +1 -1
- package/package.json +1 -1
- package/src/api/accounting/accounting.fetch.ts +1 -1
- package/src/api/accounting/accounting.ts +1 -1
- package/src/api/admin/admin.fetch.ts +1 -1
- package/src/api/admin/admin.ts +1 -1
- package/src/api/api-schemas/accountServerGetNamespaceResponse.ts +1 -1
- package/src/api/api-schemas/accountServerGetRegistrationResponse.ts +1 -1
- package/src/api/api-schemas/adminDeleteJobManifestParams.ts +1 -1
- package/src/api/api-schemas/adminGetServiceErrorsParams.ts +1 -1
- package/src/api/api-schemas/adminGetUsersParams.ts +1 -1
- package/src/api/api-schemas/adminJobManifestGetResponse.ts +1 -1
- package/src/api/api-schemas/adminJobManifestLoadPutResponse.ts +1 -1
- package/src/api/api-schemas/adminUserPutResponse.ts +1 -1
- package/src/api/api-schemas/adminUsersGetResponse.ts +1 -1
- package/src/api/api-schemas/apiLogDetail.ts +1 -1
- package/src/api/api-schemas/apiLogDetailMethod.ts +1 -1
- package/src/api/api-schemas/applicationGetResponse.ts +1 -1
- package/src/api/api-schemas/applicationGetResponseCostUnit.ts +1 -1
- package/src/api/api-schemas/applicationImageVariant.ts +1 -1
- package/src/api/api-schemas/applicationImageVariants.ts +1 -1
- package/src/api/api-schemas/applicationSummary.ts +1 -1
- package/src/api/api-schemas/applicationsGetResponse.ts +1 -1
- package/src/api/api-schemas/asAdditionalDataProcessingCharge.ts +1 -1
- package/src/api/api-schemas/createPathParams.ts +1 -1
- package/src/api/api-schemas/datasetDetail.ts +1 -1
- package/src/api/api-schemas/datasetDigestGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetMetaGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetMetaPostBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetPostBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetPutBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetPutPostResponse.ts +1 -1
- package/src/api/api-schemas/datasetSchemaGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetSchemaGetResponseType.ts +1 -1
- package/src/api/api-schemas/datasetSummary.ts +1 -1
- package/src/api/api-schemas/datasetVersionDeleteResponse.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetail.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetailLabels.ts +1 -1
- package/src/api/api-schemas/datasetVersionDetailProcessingStage.ts +1 -1
- package/src/api/api-schemas/datasetVersionMetaPostBodyBody.ts +1 -1
- package/src/api/api-schemas/datasetVersionProjectFile.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummary.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummaryLabels.ts +1 -1
- package/src/api/api-schemas/datasetVersionSummaryProcessingStage.ts +1 -1
- package/src/api/api-schemas/datasetVersionsGetResponse.ts +1 -1
- package/src/api/api-schemas/datasetsGetResponse.ts +1 -1
- package/src/api/api-schemas/deleteDatasetParams.ts +1 -1
- package/src/api/api-schemas/deletePathParams.ts +1 -1
- package/src/api/api-schemas/deleteUnmanagedFileParams.ts +1 -1
- package/src/api/api-schemas/dmError.ts +1 -1
- package/src/api/api-schemas/exchangeRateDetail.ts +1 -1
- package/src/api/api-schemas/exchangeRatePutBodyBody.ts +1 -1
- package/src/api/api-schemas/filePathFile.ts +1 -1
- package/src/api/api-schemas/filePostBodyBody.ts +1 -1
- package/src/api/api-schemas/filePostResponse.ts +1 -1
- package/src/api/api-schemas/fileStat.ts +1 -1
- package/src/api/api-schemas/filesGetResponse.ts +1 -1
- package/src/api/api-schemas/getAllExchangeRatesResponse.ts +1 -1
- package/src/api/api-schemas/getAllJobExchangeRatesParams.ts +1 -1
- package/src/api/api-schemas/getDatasetsParams.ts +1 -1
- package/src/api/api-schemas/getExchangeRatesResponse.ts +1 -1
- package/src/api/api-schemas/getExchangeRatesResponseId.ts +1 -1
- package/src/api/api-schemas/getFilesParams.ts +1 -1
- package/src/api/api-schemas/getInstancesParams.ts +1 -1
- package/src/api/api-schemas/getJobByVersionParams.ts +1 -1
- package/src/api/api-schemas/getJobExchangeRatesParams.ts +1 -1
- package/src/api/api-schemas/getJobParams.ts +1 -1
- package/src/api/api-schemas/getJobsParams.ts +1 -1
- package/src/api/api-schemas/getProjectFileParams.ts +1 -1
- package/src/api/api-schemas/getProjectFileWithTokenParams.ts +1 -1
- package/src/api/api-schemas/getProjectsParams.ts +1 -1
- package/src/api/api-schemas/getRunningWorkflowsParams.ts +1 -1
- package/src/api/api-schemas/getTaskParams.ts +1 -1
- package/src/api/api-schemas/getTasksParams.ts +1 -1
- package/src/api/api-schemas/getUserAccountParams.ts +1 -1
- package/src/api/api-schemas/getUserApiLogParams.ts +1 -1
- package/src/api/api-schemas/getUserInventoryParams.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.ts +1 -1
- package/src/api/api-schemas/inputHandlerGetResponse.ts +1 -1
- package/src/api/api-schemas/instanceDeleteResponse.ts +1 -1
- package/src/api/api-schemas/instanceDryRunPostResponse.ts +1 -1
- package/src/api/api-schemas/instanceGetResponse.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseApplicationType.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseJobImageType.ts +1 -1
- package/src/api/api-schemas/instanceGetResponseOutputs.ts +1 -1
- package/src/api/api-schemas/instanceGetResponsePhase.ts +1 -1
- package/src/api/api-schemas/instancePostBodyBody.ts +1 -1
- package/src/api/api-schemas/instancePostResponse.ts +1 -1
- package/src/api/api-schemas/instanceSummary.ts +1 -1
- package/src/api/api-schemas/instanceSummaryApplicationType.ts +1 -1
- package/src/api/api-schemas/instanceSummaryJobImageType.ts +1 -1
- package/src/api/api-schemas/instanceSummaryOutputs.ts +1 -1
- package/src/api/api-schemas/instanceSummaryPhase.ts +1 -1
- package/src/api/api-schemas/instanceTask.ts +1 -1
- package/src/api/api-schemas/instanceTaskPurpose.ts +1 -1
- package/src/api/api-schemas/instancesGetResponse.ts +1 -1
- package/src/api/api-schemas/inventoryDatasetDetail.ts +1 -1
- package/src/api/api-schemas/inventoryProjectDetail.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetail.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetailDatasets.ts +1 -1
- package/src/api/api-schemas/inventoryUserDetailProjects.ts +1 -1
- package/src/api/api-schemas/inventoryUserGetResponse.ts +1 -1
- package/src/api/api-schemas/jobApplication.ts +1 -1
- package/src/api/api-schemas/jobExchangeRateSummary.ts +1 -1
- package/src/api/api-schemas/jobGetResponse.ts +1 -1
- package/src/api/api-schemas/jobGetResponseImageType.ts +1 -1
- package/src/api/api-schemas/jobManifestDetail.ts +1 -1
- package/src/api/api-schemas/jobManifestPutBodyBody.ts +1 -1
- package/src/api/api-schemas/jobOrderDetail.ts +1 -1
- package/src/api/api-schemas/jobReplacement.ts +1 -1
- package/src/api/api-schemas/jobReplacements.ts +1 -1
- package/src/api/api-schemas/jobSummary.ts +1 -1
- package/src/api/api-schemas/jobSummaryImageType.ts +1 -1
- package/src/api/api-schemas/jobVariables.ts +1 -1
- package/src/api/api-schemas/jobVariablesInputs.ts +1 -1
- package/src/api/api-schemas/jobVariablesOptions.ts +1 -1
- package/src/api/api-schemas/jobVariablesOutputs.ts +1 -1
- package/src/api/api-schemas/jobsGetResponse.ts +1 -1
- package/src/api/api-schemas/modeGetResponse.ts +1 -1
- package/src/api/api-schemas/moveFileInProjectParams.ts +1 -1
- package/src/api/api-schemas/movePathParams.ts +1 -1
- package/src/api/api-schemas/patchInstanceParams.ts +1 -1
- package/src/api/api-schemas/projectDeleteResponse.ts +1 -1
- package/src/api/api-schemas/projectDetail.ts +1 -1
- package/src/api/api-schemas/projectFileDetail.ts +1 -1
- package/src/api/api-schemas/projectFileDetailProcessingStage.ts +1 -1
- package/src/api/api-schemas/projectFilePutBodyBody.ts +1 -1
- package/src/api/api-schemas/projectGetResponse.ts +1 -1
- package/src/api/api-schemas/projectPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/projectPostBodyBody.ts +1 -1
- package/src/api/api-schemas/projectPostResponse.ts +1 -1
- package/src/api/api-schemas/projectsGetResponse.ts +1 -1
- package/src/api/api-schemas/qActiveDaysParameter.ts +1 -1
- package/src/api/api-schemas/qApplicationIdParameter.ts +1 -1
- package/src/api/api-schemas/qCurrentParameter.ts +1 -1
- package/src/api/api-schemas/qDatasetMimeTypeParameter.ts +1 -1
- package/src/api/api-schemas/qDoNotImpersonateParameter.ts +1 -1
- package/src/api/api-schemas/qDstFileParameter.ts +1 -1
- package/src/api/api-schemas/qEditorsParameter.ts +1 -1
- package/src/api/api-schemas/qEventLimitParameter.ts +1 -1
- package/src/api/api-schemas/qEventPriorOrdinalParameter.ts +1 -1
- package/src/api/api-schemas/qExcludeDoneParameter.ts +1 -1
- package/src/api/api-schemas/qExcludePurposeParameter.ts +1 -1
- package/src/api/api-schemas/qExcludeRemovalParameter.ts +1 -1
- package/src/api/api-schemas/qFileDstPathParameter.ts +1 -1
- package/src/api/api-schemas/qFileParameter.ts +1 -1
- package/src/api/api-schemas/qFilePathParameter.ts +1 -1
- package/src/api/api-schemas/qFileProjectIdParameter.ts +1 -1
- package/src/api/api-schemas/qFileSrcPathParameter.ts +1 -1
- package/src/api/api-schemas/qFromParameter.ts +1 -1
- package/src/api/api-schemas/qIdleDaysParameter.ts +1 -1
- package/src/api/api-schemas/qIncludeAcknowledgedParameter.ts +1 -1
- package/src/api/api-schemas/qIncludeDeletedParameter.ts +1 -1
- package/src/api/api-schemas/qIncludeHiddenParameter.ts +1 -1
- package/src/api/api-schemas/qInstanceArchiveParameter.ts +1 -1
- package/src/api/api-schemas/qInstanceCallbackContextParameter.ts +1 -1
- package/src/api/api-schemas/qJobCollectionParameter.ts +1 -1
- package/src/api/api-schemas/qJobIdParameter.ts +1 -1
- package/src/api/api-schemas/qJobJobParameter.ts +1 -1
- package/src/api/api-schemas/qJobVersionParameter.ts +1 -1
- package/src/api/api-schemas/qKeepProjectFilesParameter.ts +1 -1
- package/src/api/api-schemas/qLabelsParameter.ts +1 -1
- package/src/api/api-schemas/qOnlyUndefinedParameter.ts +1 -1
- package/src/api/api-schemas/qOrgIdParameter.ts +1 -1
- package/src/api/api-schemas/qOwnersParameter.ts +1 -1
- package/src/api/api-schemas/qProjectIdParameter.ts +1 -1
- package/src/api/api-schemas/qProjectNameParameter.ts +1 -1
- package/src/api/api-schemas/qPurgeParameter.ts +1 -1
- package/src/api/api-schemas/qPurposeParameter.ts +1 -1
- package/src/api/api-schemas/qTokenParameter.ts +1 -1
- package/src/api/api-schemas/qUnitIdParameter.ts +1 -1
- package/src/api/api-schemas/qUntilParameter.ts +1 -1
- package/src/api/api-schemas/qUsernameParameter.ts +1 -1
- package/src/api/api-schemas/qUsernamesParameter.ts +1 -1
- package/src/api/api-schemas/qWorkflowIdParameter.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetAllResponse.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponse.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponseStatus.ts +1 -1
- package/src/api/api-schemas/runningWorkflowGetResponseVariables.ts +1 -1
- package/src/api/api-schemas/runningWorkflowProject.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStep.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepStatus.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepVariables.ts +1 -1
- package/src/api/api-schemas/runningWorkflowStepsGetResponse.ts +1 -1
- package/src/api/api-schemas/runningWorkflowSummary.ts +1 -1
- package/src/api/api-schemas/runningWorkflowSummaryStatus.ts +1 -1
- package/src/api/api-schemas/runningWorkflowWorkflow.ts +1 -1
- package/src/api/api-schemas/serviceErrorSummary.ts +1 -1
- package/src/api/api-schemas/serviceErrorSummarySeverity.ts +1 -1
- package/src/api/api-schemas/serviceErrorsGetResponse.ts +1 -1
- package/src/api/api-schemas/taskEvent.ts +1 -1
- package/src/api/api-schemas/taskEventLevel.ts +1 -1
- package/src/api/api-schemas/taskGetResponse.ts +1 -1
- package/src/api/api-schemas/taskGetResponsePurpose.ts +1 -1
- package/src/api/api-schemas/taskIdentity.ts +1 -1
- package/src/api/api-schemas/taskState.ts +1 -1
- package/src/api/api-schemas/taskStateState.ts +1 -1
- package/src/api/api-schemas/taskSummary.ts +1 -1
- package/src/api/api-schemas/taskSummaryProcessingStage.ts +1 -1
- package/src/api/api-schemas/tasksGetResponse.ts +1 -1
- package/src/api/api-schemas/typeSummary.ts +1 -1
- package/src/api/api-schemas/typeSummaryFormatterOptions.ts +1 -1
- package/src/api/api-schemas/typeSummaryFormatterOptionsType.ts +1 -1
- package/src/api/api-schemas/typesGetResponse.ts +1 -1
- package/src/api/api-schemas/userAccountDetail.ts +1 -1
- package/src/api/api-schemas/userAccountGetResponse.ts +1 -1
- package/src/api/api-schemas/userAccountPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/userActivityDetail.ts +1 -1
- package/src/api/api-schemas/userActivityDetailPeriod.ts +1 -1
- package/src/api/api-schemas/userApiLogGetResponse.ts +1 -1
- package/src/api/api-schemas/userApiTokenGetResponse.ts +1 -1
- package/src/api/api-schemas/userDetail.ts +1 -1
- package/src/api/api-schemas/userPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/userSummary.ts +1 -1
- package/src/api/api-schemas/usersGetResponse.ts +1 -1
- package/src/api/api-schemas/versionGetResponse.ts +1 -1
- package/src/api/api-schemas/workflowDefinitionGetResponse.ts +1 -1
- package/src/api/api-schemas/workflowGetAllResponse.ts +1 -1
- package/src/api/api-schemas/workflowGetResponse.ts +1 -1
- package/src/api/api-schemas/workflowGetResponseScope.ts +1 -1
- package/src/api/api-schemas/workflowGetResponseVariables.ts +1 -1
- package/src/api/api-schemas/workflowPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowPatchResponse.ts +1 -1
- package/src/api/api-schemas/workflowPostBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowPostBodyBodyScope.ts +1 -1
- package/src/api/api-schemas/workflowPostResponse.ts +1 -1
- package/src/api/api-schemas/workflowRunPostBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowRunPostResponse.ts +1 -1
- package/src/api/api-schemas/workflowStepSummary.ts +1 -1
- package/src/api/api-schemas/workflowStepSummarySpecification.ts +1 -1
- package/src/api/api-schemas/workflowSummary.ts +1 -1
- package/src/api/api-schemas/workflowSummaryScope.ts +1 -1
- package/src/api/api-schemas/workflowVersionPutBodyBody.ts +1 -1
- package/src/api/api-schemas/workflowVersionPutResponse.ts +1 -1
- package/src/api/application/application.fetch.ts +1 -1
- package/src/api/application/application.ts +1 -1
- package/src/api/configuration/configuration.fetch.ts +1 -1
- package/src/api/configuration/configuration.ts +1 -1
- package/src/api/dataset/dataset.fetch.ts +1 -1
- package/src/api/dataset/dataset.ts +1 -1
- package/src/api/digest/digest.fetch.ts +1 -1
- package/src/api/digest/digest.ts +1 -1
- package/src/api/file-and-path/file-and-path.fetch.ts +1 -1
- package/src/api/file-and-path/file-and-path.ts +1 -1
- package/src/api/instance/instance.fetch.ts +1 -1
- package/src/api/instance/instance.ts +1 -1
- package/src/api/inventory/inventory.fetch.ts +1 -1
- package/src/api/inventory/inventory.ts +1 -1
- package/src/api/job/job.fetch.ts +1 -1
- package/src/api/job/job.ts +1 -1
- package/src/api/metadata/metadata.fetch.ts +1 -1
- package/src/api/metadata/metadata.ts +1 -1
- package/src/api/project/project.fetch.ts +1 -1
- package/src/api/project/project.ts +1 -1
- package/src/api/task/task.fetch.ts +1 -1
- package/src/api/task/task.ts +1 -1
- package/src/api/type/type.fetch.ts +1 -1
- package/src/api/type/type.ts +1 -1
- package/src/api/user/user.fetch.ts +1 -1
- package/src/api/user/user.ts +1 -1
- package/src/api/workflow/workflow.fetch.ts +1 -1
- package/src/api/workflow/workflow.ts +1 -1
|
@@ -10,7 +10,7 @@ import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
|
10
10
|
|
|
11
11
|
A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
|
|
12
12
|
|
|
13
|
-
* OpenAPI spec version: 5.
|
|
13
|
+
* OpenAPI spec version: 5.2
|
|
14
14
|
*/
|
|
15
15
|
const getCreatePathUrl = (params) => {
|
|
16
16
|
const normalizedParams = new URLSearchParams();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-and-path.fetch.js","names":["mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createPath>>,\n { params: CreatePathParams }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deletePath>>,\n { params: DeletePathParams }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof movePath>>,\n { params: MovePathParams }\n >","queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>>","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addFileToProject>>,\n { projectId: string; data: ProjectFilePutBodyBody }\n >","queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>>","queryFn: QueryFunction<Awaited<ReturnType<typeof getFiles>>>","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof attachFile>>,\n { data: FilePostBodyBody }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n { params: DeleteUnmanagedFileParams }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof moveFileInProject>>,\n { params: MoveFileInProjectParams }\n >","mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }>","queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>>"],"sources":["../../../src/api/file-and-path/file-and-path.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.\n\n * OpenAPI spec version: 5.0\n */\nimport { useMutation, useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n MutationFunction,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type {\n CreatePathParams,\n DeletePathParams,\n DeleteUnmanagedFileParams,\n DmError,\n FilePostBodyBody,\n FilePostResponse,\n FilesGetResponse,\n GetFilesParams,\n GetProjectFileParams,\n GetProjectFileWithTokenParams,\n MoveFileInProjectParams,\n MovePathParams,\n ProjectFilePutBodyBody,\n} from \".././api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * Creates a new Path within a Project. Every directory in the Path will be created. The path will belong to the User and Project.\n\nOnly Project editors can create Paths.\n\n * @summary Create a new Project Path\n */\nexport type createPathResponse201 = { data: void; status: 201 };\n\nexport type createPathResponse401 = { data: void; status: 401 };\n\nexport type createPathResponse403 = { data: DmError; status: 403 };\n\nexport type createPathResponse404 = { data: DmError; status: 404 };\n\nexport type createPathResponseSuccess = createPathResponse201 & { headers: Headers };\nexport type createPathResponseError = (\n | createPathResponse401\n | createPathResponse403\n | createPathResponse404\n) & { headers: Headers };\n\nexport type createPathResponse = createPathResponseSuccess | createPathResponseError;\n\nexport const getCreatePathUrl = (params: CreatePathParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/path?${stringifiedParams}` : `/path`;\n};\n\nexport const createPath = async (\n params: CreatePathParams,\n options?: RequestInit,\n): Promise<createPathResponse> => {\n return customFetch<createPathResponse>(getCreatePathUrl(params), { ...options, method: \"PUT\" });\n};\n\nexport const getCreatePathMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n> => {\n const mutationKey = [\"createPath\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createPath>>,\n { params: CreatePathParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return createPath(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type CreatePathMutationResult = NonNullable<Awaited<ReturnType<typeof createPath>>>;\n\nexport type CreatePathMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Create a new Project Path\n */\nexport const useCreatePath = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n> => {\n const mutationOptions = getCreatePathMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a Path within the Project. Be aware that the deletion of a Path will result in the contents of the Path also being deleted. If there are files in Path or sub-directories, they will all be deleted.\n\nOnly Project editors can delete Paths.\n\n * @summary Delete a Project Path\n */\nexport type deletePathResponse204 = { data: void; status: 204 };\n\nexport type deletePathResponse401 = { data: void; status: 401 };\n\nexport type deletePathResponse403 = { data: DmError; status: 403 };\n\nexport type deletePathResponse404 = { data: DmError; status: 404 };\n\nexport type deletePathResponseSuccess = deletePathResponse204 & { headers: Headers };\nexport type deletePathResponseError = (\n | deletePathResponse401\n | deletePathResponse403\n | deletePathResponse404\n) & { headers: Headers };\n\nexport type deletePathResponse = deletePathResponseSuccess | deletePathResponseError;\n\nexport const getDeletePathUrl = (params: DeletePathParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/path?${stringifiedParams}` : `/path`;\n};\n\nexport const deletePath = async (\n params: DeletePathParams,\n options?: RequestInit,\n): Promise<deletePathResponse> => {\n return customFetch<deletePathResponse>(getDeletePathUrl(params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getDeletePathMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n> => {\n const mutationKey = [\"deletePath\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deletePath>>,\n { params: DeletePathParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return deletePath(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeletePathMutationResult = NonNullable<Awaited<ReturnType<typeof deletePath>>>;\n\nexport type DeletePathMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete a Project Path\n */\nexport const useDeletePath = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n> => {\n const mutationOptions = getDeletePathMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Moves and existing Path within a Project. The path will belong to the User and Project. Any ProjectFile instances on the path will be moved to the new path.\n\nOnly Project editors can move Paths.\n\n * @summary Move a Project Path\n */\nexport type movePathResponse200 = { data: void; status: 200 };\n\nexport type movePathResponse401 = { data: void; status: 401 };\n\nexport type movePathResponse403 = { data: DmError; status: 403 };\n\nexport type movePathResponse404 = { data: DmError; status: 404 };\n\nexport type movePathResponseSuccess = movePathResponse200 & { headers: Headers };\nexport type movePathResponseError = (\n | movePathResponse401\n | movePathResponse403\n | movePathResponse404\n) & { headers: Headers };\n\nexport type movePathResponse = movePathResponseSuccess | movePathResponseError;\n\nexport const getMovePathUrl = (params: MovePathParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/path/move?${stringifiedParams}` : `/path/move`;\n};\n\nexport const movePath = async (\n params: MovePathParams,\n options?: RequestInit,\n): Promise<movePathResponse> => {\n return customFetch<movePathResponse>(getMovePathUrl(params), { ...options, method: \"PUT\" });\n};\n\nexport const getMovePathMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n> => {\n const mutationKey = [\"movePath\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof movePath>>,\n { params: MovePathParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return movePath(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type MovePathMutationResult = NonNullable<Awaited<ReturnType<typeof movePath>>>;\n\nexport type MovePathMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Move a Project Path\n */\nexport const useMovePath = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n> => {\n const mutationOptions = getMovePathMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).\n\nFor **managed** files you should consider using the `/file/{file_id}` endpoint.\n\nYou must be an `editor` of the Project if the Project is `private`\n\n * @summary Download a Project file\n */\nexport type getProjectFileResponse200 = { data: void; status: 200 };\n\nexport type getProjectFileResponse401 = { data: void; status: 401 };\n\nexport type getProjectFileResponse403 = { data: DmError; status: 403 };\n\nexport type getProjectFileResponse404 = { data: DmError; status: 404 };\n\nexport type getProjectFileResponseSuccess = getProjectFileResponse200 & { headers: Headers };\nexport type getProjectFileResponseError = (\n | getProjectFileResponse401\n | getProjectFileResponse403\n | getProjectFileResponse404\n) & { headers: Headers };\n\nexport type getProjectFileResponse = getProjectFileResponseSuccess | getProjectFileResponseError;\n\nexport const getGetProjectFileUrl = (projectId: string, params: GetProjectFileParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `/project/${projectId}/file?${stringifiedParams}`\n : `/project/${projectId}/file`;\n};\n\nexport const getProjectFile = async (\n projectId: string,\n params: GetProjectFileParams,\n options?: RequestInit,\n): Promise<getProjectFileResponse> => {\n return customFetch<getProjectFileResponse>(getGetProjectFileUrl(projectId, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetProjectFileQueryKey = (projectId?: string, params?: GetProjectFileParams) => {\n return [\"data-manager\", \"project\", projectId, \"file\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetProjectFileQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>\n getProjectFile(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, enabled: !!projectId, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileQueryResult = NonNullable<Awaited<ReturnType<typeof getProjectFile>>>;\nexport type GetProjectFileQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n Awaited<ReturnType<typeof getProjectFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n Awaited<ReturnType<typeof getProjectFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file\n */\n\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileQueryOptions(projectId, params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Download a Project file\n */\nexport const invalidateGetProjectFile = async (\n queryClient: QueryClient,\n projectId: string,\n params: GetProjectFileParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries(\n { queryKey: getGetProjectFileQueryKey(projectId, params) },\n options,\n );\n\n return queryClient;\n};\n\nexport const getGetProjectFileSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>\n getProjectFile(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFile>>\n>;\nexport type GetProjectFileSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file\n */\n\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileSuspenseQueryOptions(projectId, params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * The user provides an external file for upload to the Project using an optional Path. The path is created if it does not exist.\n\nYou must be an `editor` of the project\n\n * @summary Upload a file into a Project\n */\nexport type addFileToProjectResponse201 = { data: void; status: 201 };\n\nexport type addFileToProjectResponse401 = { data: void; status: 401 };\n\nexport type addFileToProjectResponse403 = { data: DmError; status: 403 };\n\nexport type addFileToProjectResponse404 = { data: DmError; status: 404 };\n\nexport type addFileToProjectResponseSuccess = addFileToProjectResponse201 & { headers: Headers };\nexport type addFileToProjectResponseError = (\n | addFileToProjectResponse401\n | addFileToProjectResponse403\n | addFileToProjectResponse404\n) & { headers: Headers };\n\nexport type addFileToProjectResponse =\n | addFileToProjectResponseSuccess\n | addFileToProjectResponseError;\n\nexport const getAddFileToProjectUrl = (projectId: string) => {\n return `/project/${projectId}/file`;\n};\n\nexport const addFileToProject = async (\n projectId: string,\n projectFilePutBodyBody: ProjectFilePutBodyBody,\n options?: RequestInit,\n): Promise<addFileToProjectResponse> => {\n const formData = new FormData();\n formData.append(`file`, projectFilePutBodyBody.file);\n if (projectFilePutBodyBody.as_filename !== undefined) {\n formData.append(`as_filename`, projectFilePutBodyBody.as_filename);\n }\n if (projectFilePutBodyBody.path !== undefined) {\n formData.append(`path`, projectFilePutBodyBody.path);\n }\n\n return customFetch<addFileToProjectResponse>(getAddFileToProjectUrl(projectId), {\n ...options,\n method: \"PUT\",\n body: formData,\n });\n};\n\nexport const getAddFileToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n> => {\n const mutationKey = [\"addFileToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addFileToProject>>,\n { projectId: string; data: ProjectFilePutBodyBody }\n > = (props) => {\n const { projectId, data } = props ?? {};\n\n return addFileToProject(projectId, data, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type AddFileToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addFileToProject>>\n>;\nexport type AddFileToProjectMutationBody = ProjectFilePutBodyBody;\nexport type AddFileToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Upload a file into a Project\n */\nexport const useAddFileToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n> => {\n const mutationOptions = getAddFileToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).\n\nFor **managed** files you should consider using the `/file/{file_id}` endpoint.\n\nAs there is no authentication for this endpoint you must provide a valid token. The token must be a token valid for the project, usually generated when an **Instance** has been launched in the Project.\n\n * @summary Download a Project file using a Token\n */\nexport type getProjectFileWithTokenResponse200 = { data: void; status: 200 };\n\nexport type getProjectFileWithTokenResponse403 = { data: DmError; status: 403 };\n\nexport type getProjectFileWithTokenResponse404 = { data: DmError; status: 404 };\n\nexport type getProjectFileWithTokenResponseSuccess = getProjectFileWithTokenResponse200 & {\n headers: Headers;\n};\nexport type getProjectFileWithTokenResponseError = (\n | getProjectFileWithTokenResponse403\n | getProjectFileWithTokenResponse404\n) & { headers: Headers };\n\nexport type getProjectFileWithTokenResponse =\n | getProjectFileWithTokenResponseSuccess\n | getProjectFileWithTokenResponseError;\n\nexport const getGetProjectFileWithTokenUrl = (\n projectId: string,\n params: GetProjectFileWithTokenParams,\n) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `/project/${projectId}/file-with-token?${stringifiedParams}`\n : `/project/${projectId}/file-with-token`;\n};\n\nexport const getProjectFileWithToken = async (\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: RequestInit,\n): Promise<getProjectFileWithTokenResponse> => {\n return customFetch<getProjectFileWithTokenResponse>(\n getGetProjectFileWithTokenUrl(projectId, params),\n { ...options, method: \"GET\" },\n );\n};\n\nexport const getGetProjectFileWithTokenQueryKey = (\n projectId?: string,\n params?: GetProjectFileWithTokenParams,\n) => {\n return [\n \"data-manager\",\n \"project\",\n projectId,\n \"file-with-token\",\n ...(params ? [params] : []),\n ] as const;\n};\n\nexport const getGetProjectFileWithTokenQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileWithTokenQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>> = ({\n signal,\n }) => getProjectFileWithToken(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, enabled: !!projectId, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileWithTokenQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n>;\nexport type GetProjectFileWithTokenQueryError = ErrorType<DmError>;\n\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options: {\n query: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n > &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n > &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file using a Token\n */\n\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileWithTokenQueryOptions(projectId, params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Download a Project file using a Token\n */\nexport const invalidateGetProjectFileWithToken = async (\n queryClient: QueryClient,\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries(\n { queryKey: getGetProjectFileWithTokenQueryKey(projectId, params) },\n options,\n );\n\n return queryClient;\n};\n\nexport const getGetProjectFileWithTokenSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileWithTokenQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>> = ({\n signal,\n }) => getProjectFileWithToken(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileWithTokenSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n>;\nexport type GetProjectFileWithTokenSuspenseQueryError = ErrorType<DmError>;\n\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file using a Token\n */\n\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileWithTokenSuspenseQueryOptions(projectId, params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Given a Project and Path the files available to you on that path will be returned along with any additional paths (sub-directories).\n\n * @summary Gets the Files on a Project Path\n */\nexport type getFilesResponse200 = { data: FilesGetResponse; status: 200 };\n\nexport type getFilesResponse401 = { data: void; status: 401 };\n\nexport type getFilesResponse403 = { data: DmError; status: 403 };\n\nexport type getFilesResponse404 = { data: DmError; status: 404 };\n\nexport type getFilesResponseSuccess = getFilesResponse200 & { headers: Headers };\nexport type getFilesResponseError = (\n | getFilesResponse401\n | getFilesResponse403\n | getFilesResponse404\n) & { headers: Headers };\n\nexport type getFilesResponse = getFilesResponseSuccess | getFilesResponseError;\n\nexport const getGetFilesUrl = (params: GetFilesParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/file?${stringifiedParams}` : `/file`;\n};\n\nexport const getFiles = async (\n params: GetFilesParams,\n options?: RequestInit,\n): Promise<getFilesResponse> => {\n return customFetch<getFilesResponse>(getGetFilesUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetFilesQueryKey = (params?: GetFilesParams) => {\n return [\"data-manager\", \"file\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetFilesQueryOptions = <\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetFilesQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getFiles>>> = ({ signal }) =>\n getFiles(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetFilesQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;\nexport type GetFilesQueryError = ErrorType<void | DmError>;\n\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n Awaited<ReturnType<typeof getFiles>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n Awaited<ReturnType<typeof getFiles>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the Files on a Project Path\n */\n\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetFilesQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets the Files on a Project Path\n */\nexport const invalidateGetFiles = async (\n queryClient: QueryClient,\n params: GetFilesParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetFilesQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetFilesSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetFilesQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getFiles>>> = ({ signal }) =>\n getFiles(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetFilesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;\nexport type GetFilesSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the Files on a Project Path\n */\n\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetFilesSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Given a Project and a Dataset the Dataset will be attached (added) to the project as a File using the format provided. When attached the Dataset is referred to as a Project **File**. As format conversion may take some time the file may not be immediately available. You should use the `task_id` you're presented with on the `/task` endpoint to determine when the file is available to the project.\n\nOnly Datasets attached to projects are available through the Project API. A Dataset that you upload is only available to others (who are not already `editors` of the data) when the Dataset is attached to a project.\n\nAn `editor` of a **dataset** is not automatically and `editor` of the **project** it's attached to.\n\nYou must be an `editor` of the Project to attach a Dataset to a project. Being an `editor` of the Dataset you are attaching does not give you the ability to detach it from the Project.\n\nYou cannot add a Dataset to a Project until its upload is complete.\n\n * @summary Attach a Dataset, as a File, to a Project\n */\nexport type attachFileResponse201 = { data: FilePostResponse; status: 201 };\n\nexport type attachFileResponse401 = { data: void; status: 401 };\n\nexport type attachFileResponse403 = { data: DmError; status: 403 };\n\nexport type attachFileResponse404 = { data: DmError; status: 404 };\n\nexport type attachFileResponse422 = { data: DmError; status: 422 };\n\nexport type attachFileResponseSuccess = attachFileResponse201 & { headers: Headers };\nexport type attachFileResponseError = (\n | attachFileResponse401\n | attachFileResponse403\n | attachFileResponse404\n | attachFileResponse422\n) & { headers: Headers };\n\nexport type attachFileResponse = attachFileResponseSuccess | attachFileResponseError;\n\nexport const getAttachFileUrl = () => {\n return `/file`;\n};\n\nexport const attachFile = async (\n filePostBodyBody: FilePostBodyBody,\n options?: RequestInit,\n): Promise<attachFileResponse> => {\n const formUrlEncoded = new URLSearchParams();\n formUrlEncoded.append(`dataset_id`, filePostBodyBody.dataset_id);\n formUrlEncoded.append(`dataset_version`, filePostBodyBody.dataset_version.toString());\n formUrlEncoded.append(`project_id`, filePostBodyBody.project_id);\n formUrlEncoded.append(`as_type`, filePostBodyBody.as_type);\n if (filePostBodyBody.path !== undefined) {\n formUrlEncoded.append(`path`, filePostBodyBody.path);\n }\n if (filePostBodyBody.compress !== undefined) {\n formUrlEncoded.append(`compress`, filePostBodyBody.compress.toString());\n }\n if (filePostBodyBody.immutable !== undefined) {\n formUrlEncoded.append(`immutable`, filePostBodyBody.immutable.toString());\n }\n\n return customFetch<attachFileResponse>(getAttachFileUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getAttachFileMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n> => {\n const mutationKey = [\"attachFile\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof attachFile>>,\n { data: FilePostBodyBody }\n > = (props) => {\n const { data } = props ?? {};\n\n return attachFile(data, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type AttachFileMutationResult = NonNullable<Awaited<ReturnType<typeof attachFile>>>;\nexport type AttachFileMutationBody = FilePostBodyBody;\nexport type AttachFileMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Attach a Dataset, as a File, to a Project\n */\nexport const useAttachFile = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n> => {\n const mutationOptions = getAttachFileMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Removes an unmanaged file from a Project. You cannot use this endpoint to delete managed project files.\n\nYou must be an `editor` of the Project to delete a file from a Project.\n\n * @summary Delete an unmanaged Project File\n */\nexport type deleteUnmanagedFileResponse204 = { data: void; status: 204 };\n\nexport type deleteUnmanagedFileResponse401 = { data: void; status: 401 };\n\nexport type deleteUnmanagedFileResponse403 = { data: DmError; status: 403 };\n\nexport type deleteUnmanagedFileResponse404 = { data: DmError; status: 404 };\n\nexport type deleteUnmanagedFileResponse405 = { data: DmError; status: 405 };\n\nexport type deleteUnmanagedFileResponseSuccess = deleteUnmanagedFileResponse204 & {\n headers: Headers;\n};\nexport type deleteUnmanagedFileResponseError = (\n | deleteUnmanagedFileResponse401\n | deleteUnmanagedFileResponse403\n | deleteUnmanagedFileResponse404\n | deleteUnmanagedFileResponse405\n) & { headers: Headers };\n\nexport type deleteUnmanagedFileResponse =\n | deleteUnmanagedFileResponseSuccess\n | deleteUnmanagedFileResponseError;\n\nexport const getDeleteUnmanagedFileUrl = (params: DeleteUnmanagedFileParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/file?${stringifiedParams}` : `/file`;\n};\n\nexport const deleteUnmanagedFile = async (\n params: DeleteUnmanagedFileParams,\n options?: RequestInit,\n): Promise<deleteUnmanagedFileResponse> => {\n return customFetch<deleteUnmanagedFileResponse>(getDeleteUnmanagedFileUrl(params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getDeleteUnmanagedFileMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n> => {\n const mutationKey = [\"deleteUnmanagedFile\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n { params: DeleteUnmanagedFileParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return deleteUnmanagedFile(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeleteUnmanagedFileMutationResult = NonNullable<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>\n>;\n\nexport type DeleteUnmanagedFileMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete an unmanaged Project File\n */\nexport const useDeleteUnmanagedFile = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n> => {\n const mutationOptions = getDeleteUnmanagedFileMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Move an **Unmanaged** file, optionally renaming it, to a new path.\n\nYou must be an `editor` of the project\n\n * @summary Move an unmanaged file in a Project\n */\nexport type moveFileInProjectResponse200 = { data: void; status: 200 };\n\nexport type moveFileInProjectResponse401 = { data: void; status: 401 };\n\nexport type moveFileInProjectResponse403 = { data: DmError; status: 403 };\n\nexport type moveFileInProjectResponse404 = { data: DmError; status: 404 };\n\nexport type moveFileInProjectResponseSuccess = moveFileInProjectResponse200 & { headers: Headers };\nexport type moveFileInProjectResponseError = (\n | moveFileInProjectResponse401\n | moveFileInProjectResponse403\n | moveFileInProjectResponse404\n) & { headers: Headers };\n\nexport type moveFileInProjectResponse =\n | moveFileInProjectResponseSuccess\n | moveFileInProjectResponseError;\n\nexport const getMoveFileInProjectUrl = (params: MoveFileInProjectParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/file/move?${stringifiedParams}` : `/file/move`;\n};\n\nexport const moveFileInProject = async (\n params: MoveFileInProjectParams,\n options?: RequestInit,\n): Promise<moveFileInProjectResponse> => {\n return customFetch<moveFileInProjectResponse>(getMoveFileInProjectUrl(params), {\n ...options,\n method: \"PUT\",\n });\n};\n\nexport const getMoveFileInProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n> => {\n const mutationKey = [\"moveFileInProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof moveFileInProject>>,\n { params: MoveFileInProjectParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return moveFileInProject(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type MoveFileInProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof moveFileInProject>>\n>;\n\nexport type MoveFileInProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Move an unmanaged file in a Project\n */\nexport const useMoveFileInProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n> => {\n const mutationOptions = getMoveFileInProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Given a `file_id` the file will be removed from the Project it's attached to.\n\nYou must be an `editor` of the project to delete a file from a Project. Being an `editor` of the original Dataset does not give you the ability to detach it from the Project.\n\nYou cannot delete a Project File until the attach is complete.\n\n * @summary Delete/detach a File (from a Project)\n */\nexport type deleteFileResponse204 = { data: void; status: 204 };\n\nexport type deleteFileResponse401 = { data: void; status: 401 };\n\nexport type deleteFileResponse403 = { data: DmError; status: 403 };\n\nexport type deleteFileResponse404 = { data: DmError; status: 404 };\n\nexport type deleteFileResponseSuccess = deleteFileResponse204 & { headers: Headers };\nexport type deleteFileResponseError = (\n | deleteFileResponse401\n | deleteFileResponse403\n | deleteFileResponse404\n) & { headers: Headers };\n\nexport type deleteFileResponse = deleteFileResponseSuccess | deleteFileResponseError;\n\nexport const getDeleteFileUrl = (fileId: string) => {\n return `/file/${fileId}`;\n};\n\nexport const deleteFile = async (\n fileId: string,\n options?: RequestInit,\n): Promise<deleteFileResponse> => {\n return customFetch<deleteFileResponse>(getDeleteFileUrl(fileId), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getDeleteFileMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n> => {\n const mutationKey = [\"deleteFile\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }> = (\n props,\n ) => {\n const { fileId } = props ?? {};\n\n return deleteFile(fileId, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeleteFileMutationResult = NonNullable<Awaited<ReturnType<typeof deleteFile>>>;\n\nexport type DeleteFileMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete/detach a File (from a Project)\n */\nexport const useDeleteFile = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n> => {\n const mutationOptions = getDeleteFileMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Given a `file_id` the file will be returned if available.\n\nYou cannot get a Project File until the attach is complete.\n\n * @summary Download a File (from a project)\n */\nexport type downloadFileResponse200 = { data: void; status: 200 };\n\nexport type downloadFileResponse401 = { data: void; status: 401 };\n\nexport type downloadFileResponse403 = { data: DmError; status: 403 };\n\nexport type downloadFileResponse404 = { data: DmError; status: 404 };\n\nexport type downloadFileResponseSuccess = downloadFileResponse200 & { headers: Headers };\nexport type downloadFileResponseError = (\n | downloadFileResponse401\n | downloadFileResponse403\n | downloadFileResponse404\n) & { headers: Headers };\n\nexport type downloadFileResponse = downloadFileResponseSuccess | downloadFileResponseError;\n\nexport const getDownloadFileUrl = (fileId: string) => {\n return `/file/${fileId}`;\n};\n\nexport const downloadFile = async (\n fileId: string,\n options?: RequestInit,\n): Promise<downloadFileResponse> => {\n return customFetch<downloadFileResponse>(getDownloadFileUrl(fileId), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getDownloadFileQueryKey = (fileId?: string) => {\n return [\"data-manager\", \"file\", fileId] as const;\n};\n\nexport const getDownloadFileQueryOptions = <\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getDownloadFileQueryKey(fileId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>> = ({ signal }) =>\n downloadFile(fileId, { signal, ...requestOptions });\n\n return { queryKey, queryFn, enabled: !!fileId, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type DownloadFileQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;\nexport type DownloadFileQueryError = ErrorType<void | DmError>;\n\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n Awaited<ReturnType<typeof downloadFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n Awaited<ReturnType<typeof downloadFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a File (from a project)\n */\n\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getDownloadFileQueryOptions(fileId, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Download a File (from a project)\n */\nexport const invalidateDownloadFile = async (\n queryClient: QueryClient,\n fileId: string,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getDownloadFileQueryKey(fileId) }, options);\n\n return queryClient;\n};\n\nexport const getDownloadFileSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getDownloadFileQueryKey(fileId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>> = ({ signal }) =>\n downloadFile(fileId, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type DownloadFileSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;\nexport type DownloadFileSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a File (from a project)\n */\n\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getDownloadFileSuspenseQueryOptions(fileId, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;AA0EA,MAAa,oBAAoB,WAA6B;CAC5D,MAAM,mBAAmB,IAAI,iBAAiB;AAE9C,QAAO,QAAQ,UAAU,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;AACrD,MAAI,UAAU,OACZ,kBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU,CAAC;GAE1E;CAEF,MAAM,oBAAoB,iBAAiB,UAAU;AAErD,QAAO,kBAAkB,SAAS,IAAI,SAAS,sBAAsB;;AAGvE,MAAa,aAAa,OACxB,QACA,YACgC;AAChC,QAAO,YAAgC,iBAAiB,OAAO,EAAE;EAAE,GAAG;EAAS,QAAQ;EAAO,CAAC;;AAGjG,MAAa,gCAGX,YAaG;CACH,MAAM,cAAc,CAAC,aAAa;CAClC,MAAM,EAAE,UAA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AAE,EAAE,QAAQ;AAE3F,QAAO;;AAGT,MAAa,uCAIX,QACA,YAMG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,wBAAwB,OAAO;CAE1E,MAAMA,WAAoE,EAAE,aAC1E,aAAa,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAErD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AAqD/C,SAAgB,wBAId,QACA,SAMA,aACgF;CAChF,MAAM,eAAe,oCAAoC,QAAQ,QAAQ;CAEzE,MAAM,QAAQ,iBAAiB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
|
|
1
|
+
{"version":3,"file":"file-and-path.fetch.js","names":["mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createPath>>,\n { params: CreatePathParams }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deletePath>>,\n { params: DeletePathParams }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof movePath>>,\n { params: MovePathParams }\n >","queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>>","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addFileToProject>>,\n { projectId: string; data: ProjectFilePutBodyBody }\n >","queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>>","queryFn: QueryFunction<Awaited<ReturnType<typeof getFiles>>>","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof attachFile>>,\n { data: FilePostBodyBody }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n { params: DeleteUnmanagedFileParams }\n >","mutationFn: MutationFunction<\n Awaited<ReturnType<typeof moveFileInProject>>,\n { params: MoveFileInProjectParams }\n >","mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }>","queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>>"],"sources":["../../../src/api/file-and-path/file-and-path.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Dataset Manager API\n * The Dataset Manager API service.\n\nA service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.\n\n * OpenAPI spec version: 5.2\n */\nimport { useMutation, useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n MutationFunction,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseMutationOptions,\n UseMutationResult,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type {\n CreatePathParams,\n DeletePathParams,\n DeleteUnmanagedFileParams,\n DmError,\n FilePostBodyBody,\n FilePostResponse,\n FilesGetResponse,\n GetFilesParams,\n GetProjectFileParams,\n GetProjectFileWithTokenParams,\n MoveFileInProjectParams,\n MovePathParams,\n ProjectFilePutBodyBody,\n} from \".././api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * Creates a new Path within a Project. Every directory in the Path will be created. The path will belong to the User and Project.\n\nOnly Project editors can create Paths.\n\n * @summary Create a new Project Path\n */\nexport type createPathResponse201 = { data: void; status: 201 };\n\nexport type createPathResponse401 = { data: void; status: 401 };\n\nexport type createPathResponse403 = { data: DmError; status: 403 };\n\nexport type createPathResponse404 = { data: DmError; status: 404 };\n\nexport type createPathResponseSuccess = createPathResponse201 & { headers: Headers };\nexport type createPathResponseError = (\n | createPathResponse401\n | createPathResponse403\n | createPathResponse404\n) & { headers: Headers };\n\nexport type createPathResponse = createPathResponseSuccess | createPathResponseError;\n\nexport const getCreatePathUrl = (params: CreatePathParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/path?${stringifiedParams}` : `/path`;\n};\n\nexport const createPath = async (\n params: CreatePathParams,\n options?: RequestInit,\n): Promise<createPathResponse> => {\n return customFetch<createPathResponse>(getCreatePathUrl(params), { ...options, method: \"PUT\" });\n};\n\nexport const getCreatePathMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n> => {\n const mutationKey = [\"createPath\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof createPath>>,\n { params: CreatePathParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return createPath(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type CreatePathMutationResult = NonNullable<Awaited<ReturnType<typeof createPath>>>;\n\nexport type CreatePathMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Create a new Project Path\n */\nexport const useCreatePath = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof createPath>>,\n TError,\n { params: CreatePathParams },\n TContext\n> => {\n const mutationOptions = getCreatePathMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Deletes a Path within the Project. Be aware that the deletion of a Path will result in the contents of the Path also being deleted. If there are files in Path or sub-directories, they will all be deleted.\n\nOnly Project editors can delete Paths.\n\n * @summary Delete a Project Path\n */\nexport type deletePathResponse204 = { data: void; status: 204 };\n\nexport type deletePathResponse401 = { data: void; status: 401 };\n\nexport type deletePathResponse403 = { data: DmError; status: 403 };\n\nexport type deletePathResponse404 = { data: DmError; status: 404 };\n\nexport type deletePathResponseSuccess = deletePathResponse204 & { headers: Headers };\nexport type deletePathResponseError = (\n | deletePathResponse401\n | deletePathResponse403\n | deletePathResponse404\n) & { headers: Headers };\n\nexport type deletePathResponse = deletePathResponseSuccess | deletePathResponseError;\n\nexport const getDeletePathUrl = (params: DeletePathParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/path?${stringifiedParams}` : `/path`;\n};\n\nexport const deletePath = async (\n params: DeletePathParams,\n options?: RequestInit,\n): Promise<deletePathResponse> => {\n return customFetch<deletePathResponse>(getDeletePathUrl(params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getDeletePathMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n> => {\n const mutationKey = [\"deletePath\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deletePath>>,\n { params: DeletePathParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return deletePath(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeletePathMutationResult = NonNullable<Awaited<ReturnType<typeof deletePath>>>;\n\nexport type DeletePathMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete a Project Path\n */\nexport const useDeletePath = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deletePath>>,\n TError,\n { params: DeletePathParams },\n TContext\n> => {\n const mutationOptions = getDeletePathMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Moves and existing Path within a Project. The path will belong to the User and Project. Any ProjectFile instances on the path will be moved to the new path.\n\nOnly Project editors can move Paths.\n\n * @summary Move a Project Path\n */\nexport type movePathResponse200 = { data: void; status: 200 };\n\nexport type movePathResponse401 = { data: void; status: 401 };\n\nexport type movePathResponse403 = { data: DmError; status: 403 };\n\nexport type movePathResponse404 = { data: DmError; status: 404 };\n\nexport type movePathResponseSuccess = movePathResponse200 & { headers: Headers };\nexport type movePathResponseError = (\n | movePathResponse401\n | movePathResponse403\n | movePathResponse404\n) & { headers: Headers };\n\nexport type movePathResponse = movePathResponseSuccess | movePathResponseError;\n\nexport const getMovePathUrl = (params: MovePathParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/path/move?${stringifiedParams}` : `/path/move`;\n};\n\nexport const movePath = async (\n params: MovePathParams,\n options?: RequestInit,\n): Promise<movePathResponse> => {\n return customFetch<movePathResponse>(getMovePathUrl(params), { ...options, method: \"PUT\" });\n};\n\nexport const getMovePathMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n> => {\n const mutationKey = [\"movePath\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof movePath>>,\n { params: MovePathParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return movePath(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type MovePathMutationResult = NonNullable<Awaited<ReturnType<typeof movePath>>>;\n\nexport type MovePathMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Move a Project Path\n */\nexport const useMovePath = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof movePath>>,\n TError,\n { params: MovePathParams },\n TContext\n> => {\n const mutationOptions = getMovePathMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).\n\nFor **managed** files you should consider using the `/file/{file_id}` endpoint.\n\nYou must be an `editor` of the Project if the Project is `private`\n\n * @summary Download a Project file\n */\nexport type getProjectFileResponse200 = { data: void; status: 200 };\n\nexport type getProjectFileResponse401 = { data: void; status: 401 };\n\nexport type getProjectFileResponse403 = { data: DmError; status: 403 };\n\nexport type getProjectFileResponse404 = { data: DmError; status: 404 };\n\nexport type getProjectFileResponseSuccess = getProjectFileResponse200 & { headers: Headers };\nexport type getProjectFileResponseError = (\n | getProjectFileResponse401\n | getProjectFileResponse403\n | getProjectFileResponse404\n) & { headers: Headers };\n\nexport type getProjectFileResponse = getProjectFileResponseSuccess | getProjectFileResponseError;\n\nexport const getGetProjectFileUrl = (projectId: string, params: GetProjectFileParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `/project/${projectId}/file?${stringifiedParams}`\n : `/project/${projectId}/file`;\n};\n\nexport const getProjectFile = async (\n projectId: string,\n params: GetProjectFileParams,\n options?: RequestInit,\n): Promise<getProjectFileResponse> => {\n return customFetch<getProjectFileResponse>(getGetProjectFileUrl(projectId, params), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getGetProjectFileQueryKey = (projectId?: string, params?: GetProjectFileParams) => {\n return [\"data-manager\", \"project\", projectId, \"file\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetProjectFileQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>\n getProjectFile(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, enabled: !!projectId, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileQueryResult = NonNullable<Awaited<ReturnType<typeof getProjectFile>>>;\nexport type GetProjectFileQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n Awaited<ReturnType<typeof getProjectFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n Awaited<ReturnType<typeof getProjectFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file\n */\n\nexport function useGetProjectFile<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileQueryOptions(projectId, params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Download a Project file\n */\nexport const invalidateGetProjectFile = async (\n queryClient: QueryClient,\n projectId: string,\n params: GetProjectFileParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries(\n { queryKey: getGetProjectFileQueryKey(projectId, params) },\n options,\n );\n\n return queryClient;\n};\n\nexport const getGetProjectFileSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>\n getProjectFile(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjectFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFile>>\n>;\nexport type GetProjectFileSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file\n */\n\nexport function useGetProjectFileSuspense<\n TData = Awaited<ReturnType<typeof getProjectFile>>,\n TError = ErrorType<void | DmError>,\n>(\n projectId: string,\n params: GetProjectFileParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileSuspenseQueryOptions(projectId, params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * The user provides an external file for upload to the Project using an optional Path. The path is created if it does not exist.\n\nYou must be an `editor` of the project\n\n * @summary Upload a file into a Project\n */\nexport type addFileToProjectResponse201 = { data: void; status: 201 };\n\nexport type addFileToProjectResponse401 = { data: void; status: 401 };\n\nexport type addFileToProjectResponse403 = { data: DmError; status: 403 };\n\nexport type addFileToProjectResponse404 = { data: DmError; status: 404 };\n\nexport type addFileToProjectResponseSuccess = addFileToProjectResponse201 & { headers: Headers };\nexport type addFileToProjectResponseError = (\n | addFileToProjectResponse401\n | addFileToProjectResponse403\n | addFileToProjectResponse404\n) & { headers: Headers };\n\nexport type addFileToProjectResponse =\n | addFileToProjectResponseSuccess\n | addFileToProjectResponseError;\n\nexport const getAddFileToProjectUrl = (projectId: string) => {\n return `/project/${projectId}/file`;\n};\n\nexport const addFileToProject = async (\n projectId: string,\n projectFilePutBodyBody: ProjectFilePutBodyBody,\n options?: RequestInit,\n): Promise<addFileToProjectResponse> => {\n const formData = new FormData();\n formData.append(`file`, projectFilePutBodyBody.file);\n if (projectFilePutBodyBody.as_filename !== undefined) {\n formData.append(`as_filename`, projectFilePutBodyBody.as_filename);\n }\n if (projectFilePutBodyBody.path !== undefined) {\n formData.append(`path`, projectFilePutBodyBody.path);\n }\n\n return customFetch<addFileToProjectResponse>(getAddFileToProjectUrl(projectId), {\n ...options,\n method: \"PUT\",\n body: formData,\n });\n};\n\nexport const getAddFileToProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n> => {\n const mutationKey = [\"addFileToProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof addFileToProject>>,\n { projectId: string; data: ProjectFilePutBodyBody }\n > = (props) => {\n const { projectId, data } = props ?? {};\n\n return addFileToProject(projectId, data, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type AddFileToProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof addFileToProject>>\n>;\nexport type AddFileToProjectMutationBody = ProjectFilePutBodyBody;\nexport type AddFileToProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Upload a file into a Project\n */\nexport const useAddFileToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof addFileToProject>>,\n TError,\n { projectId: string; data: ProjectFilePutBodyBody },\n TContext\n> => {\n const mutationOptions = getAddFileToProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).\n\nFor **managed** files you should consider using the `/file/{file_id}` endpoint.\n\nAs there is no authentication for this endpoint you must provide a valid token. The token must be a token valid for the project, usually generated when an **Instance** has been launched in the Project.\n\n * @summary Download a Project file using a Token\n */\nexport type getProjectFileWithTokenResponse200 = { data: void; status: 200 };\n\nexport type getProjectFileWithTokenResponse403 = { data: DmError; status: 403 };\n\nexport type getProjectFileWithTokenResponse404 = { data: DmError; status: 404 };\n\nexport type getProjectFileWithTokenResponseSuccess = getProjectFileWithTokenResponse200 & {\n headers: Headers;\n};\nexport type getProjectFileWithTokenResponseError = (\n | getProjectFileWithTokenResponse403\n | getProjectFileWithTokenResponse404\n) & { headers: Headers };\n\nexport type getProjectFileWithTokenResponse =\n | getProjectFileWithTokenResponseSuccess\n | getProjectFileWithTokenResponseError;\n\nexport const getGetProjectFileWithTokenUrl = (\n projectId: string,\n params: GetProjectFileWithTokenParams,\n) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0\n ? `/project/${projectId}/file-with-token?${stringifiedParams}`\n : `/project/${projectId}/file-with-token`;\n};\n\nexport const getProjectFileWithToken = async (\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: RequestInit,\n): Promise<getProjectFileWithTokenResponse> => {\n return customFetch<getProjectFileWithTokenResponse>(\n getGetProjectFileWithTokenUrl(projectId, params),\n { ...options, method: \"GET\" },\n );\n};\n\nexport const getGetProjectFileWithTokenQueryKey = (\n projectId?: string,\n params?: GetProjectFileWithTokenParams,\n) => {\n return [\n \"data-manager\",\n \"project\",\n projectId,\n \"file-with-token\",\n ...(params ? [params] : []),\n ] as const;\n};\n\nexport const getGetProjectFileWithTokenQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileWithTokenQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>> = ({\n signal,\n }) => getProjectFileWithToken(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, enabled: !!projectId, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileWithTokenQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n>;\nexport type GetProjectFileWithTokenQueryError = ErrorType<DmError>;\n\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options: {\n query: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n > &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n > &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file using a Token\n */\n\nexport function useGetProjectFileWithToken<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileWithTokenQueryOptions(projectId, params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Download a Project file using a Token\n */\nexport const invalidateGetProjectFileWithToken = async (\n queryClient: QueryClient,\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries(\n { queryKey: getGetProjectFileWithTokenQueryKey(projectId, params) },\n options,\n );\n\n return queryClient;\n};\n\nexport const getGetProjectFileWithTokenSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetProjectFileWithTokenQueryKey(projectId, params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFileWithToken>>> = ({\n signal,\n }) => getProjectFileWithToken(projectId, params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetProjectFileWithTokenSuspenseQueryResult = NonNullable<\n Awaited<ReturnType<typeof getProjectFileWithToken>>\n>;\nexport type GetProjectFileWithTokenSuspenseQueryError = ErrorType<DmError>;\n\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a Project file using a Token\n */\n\nexport function useGetProjectFileWithTokenSuspense<\n TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,\n TError = ErrorType<DmError>,\n>(\n projectId: string,\n params: GetProjectFileWithTokenParams,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetProjectFileWithTokenSuspenseQueryOptions(projectId, params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Given a Project and Path the files available to you on that path will be returned along with any additional paths (sub-directories).\n\n * @summary Gets the Files on a Project Path\n */\nexport type getFilesResponse200 = { data: FilesGetResponse; status: 200 };\n\nexport type getFilesResponse401 = { data: void; status: 401 };\n\nexport type getFilesResponse403 = { data: DmError; status: 403 };\n\nexport type getFilesResponse404 = { data: DmError; status: 404 };\n\nexport type getFilesResponseSuccess = getFilesResponse200 & { headers: Headers };\nexport type getFilesResponseError = (\n | getFilesResponse401\n | getFilesResponse403\n | getFilesResponse404\n) & { headers: Headers };\n\nexport type getFilesResponse = getFilesResponseSuccess | getFilesResponseError;\n\nexport const getGetFilesUrl = (params: GetFilesParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/file?${stringifiedParams}` : `/file`;\n};\n\nexport const getFiles = async (\n params: GetFilesParams,\n options?: RequestInit,\n): Promise<getFilesResponse> => {\n return customFetch<getFilesResponse>(getGetFilesUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetFilesQueryKey = (params?: GetFilesParams) => {\n return [\"data-manager\", \"file\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetFilesQueryOptions = <\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetFilesQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getFiles>>> = ({ signal }) =>\n getFiles(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetFilesQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;\nexport type GetFilesQueryError = ErrorType<void | DmError>;\n\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n Awaited<ReturnType<typeof getFiles>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n Awaited<ReturnType<typeof getFiles>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the Files on a Project Path\n */\n\nexport function useGetFiles<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetFilesQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets the Files on a Project Path\n */\nexport const invalidateGetFiles = async (\n queryClient: QueryClient,\n params: GetFilesParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetFilesQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetFilesSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetFilesQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getFiles>>> = ({ signal }) =>\n getFiles(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getFiles>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetFilesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;\nexport type GetFilesSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets the Files on a Project Path\n */\n\nexport function useGetFilesSuspense<\n TData = Awaited<ReturnType<typeof getFiles>>,\n TError = ErrorType<void | DmError>,\n>(\n params: GetFilesParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getFiles>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetFilesSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * Given a Project and a Dataset the Dataset will be attached (added) to the project as a File using the format provided. When attached the Dataset is referred to as a Project **File**. As format conversion may take some time the file may not be immediately available. You should use the `task_id` you're presented with on the `/task` endpoint to determine when the file is available to the project.\n\nOnly Datasets attached to projects are available through the Project API. A Dataset that you upload is only available to others (who are not already `editors` of the data) when the Dataset is attached to a project.\n\nAn `editor` of a **dataset** is not automatically and `editor` of the **project** it's attached to.\n\nYou must be an `editor` of the Project to attach a Dataset to a project. Being an `editor` of the Dataset you are attaching does not give you the ability to detach it from the Project.\n\nYou cannot add a Dataset to a Project until its upload is complete.\n\n * @summary Attach a Dataset, as a File, to a Project\n */\nexport type attachFileResponse201 = { data: FilePostResponse; status: 201 };\n\nexport type attachFileResponse401 = { data: void; status: 401 };\n\nexport type attachFileResponse403 = { data: DmError; status: 403 };\n\nexport type attachFileResponse404 = { data: DmError; status: 404 };\n\nexport type attachFileResponse422 = { data: DmError; status: 422 };\n\nexport type attachFileResponseSuccess = attachFileResponse201 & { headers: Headers };\nexport type attachFileResponseError = (\n | attachFileResponse401\n | attachFileResponse403\n | attachFileResponse404\n | attachFileResponse422\n) & { headers: Headers };\n\nexport type attachFileResponse = attachFileResponseSuccess | attachFileResponseError;\n\nexport const getAttachFileUrl = () => {\n return `/file`;\n};\n\nexport const attachFile = async (\n filePostBodyBody: FilePostBodyBody,\n options?: RequestInit,\n): Promise<attachFileResponse> => {\n const formUrlEncoded = new URLSearchParams();\n formUrlEncoded.append(`dataset_id`, filePostBodyBody.dataset_id);\n formUrlEncoded.append(`dataset_version`, filePostBodyBody.dataset_version.toString());\n formUrlEncoded.append(`project_id`, filePostBodyBody.project_id);\n formUrlEncoded.append(`as_type`, filePostBodyBody.as_type);\n if (filePostBodyBody.path !== undefined) {\n formUrlEncoded.append(`path`, filePostBodyBody.path);\n }\n if (filePostBodyBody.compress !== undefined) {\n formUrlEncoded.append(`compress`, filePostBodyBody.compress.toString());\n }\n if (filePostBodyBody.immutable !== undefined) {\n formUrlEncoded.append(`immutable`, filePostBodyBody.immutable.toString());\n }\n\n return customFetch<attachFileResponse>(getAttachFileUrl(), {\n ...options,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/x-www-form-urlencoded\", ...options?.headers },\n body: formUrlEncoded,\n });\n};\n\nexport const getAttachFileMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n> => {\n const mutationKey = [\"attachFile\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof attachFile>>,\n { data: FilePostBodyBody }\n > = (props) => {\n const { data } = props ?? {};\n\n return attachFile(data, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type AttachFileMutationResult = NonNullable<Awaited<ReturnType<typeof attachFile>>>;\nexport type AttachFileMutationBody = FilePostBodyBody;\nexport type AttachFileMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Attach a Dataset, as a File, to a Project\n */\nexport const useAttachFile = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof attachFile>>,\n TError,\n { data: FilePostBodyBody },\n TContext\n> => {\n const mutationOptions = getAttachFileMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Removes an unmanaged file from a Project. You cannot use this endpoint to delete managed project files.\n\nYou must be an `editor` of the Project to delete a file from a Project.\n\n * @summary Delete an unmanaged Project File\n */\nexport type deleteUnmanagedFileResponse204 = { data: void; status: 204 };\n\nexport type deleteUnmanagedFileResponse401 = { data: void; status: 401 };\n\nexport type deleteUnmanagedFileResponse403 = { data: DmError; status: 403 };\n\nexport type deleteUnmanagedFileResponse404 = { data: DmError; status: 404 };\n\nexport type deleteUnmanagedFileResponse405 = { data: DmError; status: 405 };\n\nexport type deleteUnmanagedFileResponseSuccess = deleteUnmanagedFileResponse204 & {\n headers: Headers;\n};\nexport type deleteUnmanagedFileResponseError = (\n | deleteUnmanagedFileResponse401\n | deleteUnmanagedFileResponse403\n | deleteUnmanagedFileResponse404\n | deleteUnmanagedFileResponse405\n) & { headers: Headers };\n\nexport type deleteUnmanagedFileResponse =\n | deleteUnmanagedFileResponseSuccess\n | deleteUnmanagedFileResponseError;\n\nexport const getDeleteUnmanagedFileUrl = (params: DeleteUnmanagedFileParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/file?${stringifiedParams}` : `/file`;\n};\n\nexport const deleteUnmanagedFile = async (\n params: DeleteUnmanagedFileParams,\n options?: RequestInit,\n): Promise<deleteUnmanagedFileResponse> => {\n return customFetch<deleteUnmanagedFileResponse>(getDeleteUnmanagedFileUrl(params), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getDeleteUnmanagedFileMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n> => {\n const mutationKey = [\"deleteUnmanagedFile\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n { params: DeleteUnmanagedFileParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return deleteUnmanagedFile(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeleteUnmanagedFileMutationResult = NonNullable<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>\n>;\n\nexport type DeleteUnmanagedFileMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete an unmanaged Project File\n */\nexport const useDeleteUnmanagedFile = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deleteUnmanagedFile>>,\n TError,\n { params: DeleteUnmanagedFileParams },\n TContext\n> => {\n const mutationOptions = getDeleteUnmanagedFileMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Move an **Unmanaged** file, optionally renaming it, to a new path.\n\nYou must be an `editor` of the project\n\n * @summary Move an unmanaged file in a Project\n */\nexport type moveFileInProjectResponse200 = { data: void; status: 200 };\n\nexport type moveFileInProjectResponse401 = { data: void; status: 401 };\n\nexport type moveFileInProjectResponse403 = { data: DmError; status: 403 };\n\nexport type moveFileInProjectResponse404 = { data: DmError; status: 404 };\n\nexport type moveFileInProjectResponseSuccess = moveFileInProjectResponse200 & { headers: Headers };\nexport type moveFileInProjectResponseError = (\n | moveFileInProjectResponse401\n | moveFileInProjectResponse403\n | moveFileInProjectResponse404\n) & { headers: Headers };\n\nexport type moveFileInProjectResponse =\n | moveFileInProjectResponseSuccess\n | moveFileInProjectResponseError;\n\nexport const getMoveFileInProjectUrl = (params: MoveFileInProjectParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/file/move?${stringifiedParams}` : `/file/move`;\n};\n\nexport const moveFileInProject = async (\n params: MoveFileInProjectParams,\n options?: RequestInit,\n): Promise<moveFileInProjectResponse> => {\n return customFetch<moveFileInProjectResponse>(getMoveFileInProjectUrl(params), {\n ...options,\n method: \"PUT\",\n });\n};\n\nexport const getMoveFileInProjectMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n> => {\n const mutationKey = [\"moveFileInProject\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<\n Awaited<ReturnType<typeof moveFileInProject>>,\n { params: MoveFileInProjectParams }\n > = (props) => {\n const { params } = props ?? {};\n\n return moveFileInProject(params, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type MoveFileInProjectMutationResult = NonNullable<\n Awaited<ReturnType<typeof moveFileInProject>>\n>;\n\nexport type MoveFileInProjectMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Move an unmanaged file in a Project\n */\nexport const useMoveFileInProject = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof moveFileInProject>>,\n TError,\n { params: MoveFileInProjectParams },\n TContext\n> => {\n const mutationOptions = getMoveFileInProjectMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Given a `file_id` the file will be removed from the Project it's attached to.\n\nYou must be an `editor` of the project to delete a file from a Project. Being an `editor` of the original Dataset does not give you the ability to detach it from the Project.\n\nYou cannot delete a Project File until the attach is complete.\n\n * @summary Delete/detach a File (from a Project)\n */\nexport type deleteFileResponse204 = { data: void; status: 204 };\n\nexport type deleteFileResponse401 = { data: void; status: 401 };\n\nexport type deleteFileResponse403 = { data: DmError; status: 403 };\n\nexport type deleteFileResponse404 = { data: DmError; status: 404 };\n\nexport type deleteFileResponseSuccess = deleteFileResponse204 & { headers: Headers };\nexport type deleteFileResponseError = (\n | deleteFileResponse401\n | deleteFileResponse403\n | deleteFileResponse404\n) & { headers: Headers };\n\nexport type deleteFileResponse = deleteFileResponseSuccess | deleteFileResponseError;\n\nexport const getDeleteFileUrl = (fileId: string) => {\n return `/file/${fileId}`;\n};\n\nexport const deleteFile = async (\n fileId: string,\n options?: RequestInit,\n): Promise<deleteFileResponse> => {\n return customFetch<deleteFileResponse>(getDeleteFileUrl(fileId), {\n ...options,\n method: \"DELETE\",\n });\n};\n\nexport const getDeleteFileMutationOptions = <\n TError = ErrorType<void | DmError>,\n TContext = unknown,\n>(options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n}): UseMutationOptions<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n> => {\n const mutationKey = [\"deleteFile\"];\n const { mutation: mutationOptions, request: requestOptions } = options\n ? options.mutation && \"mutationKey\" in options.mutation && options.mutation.mutationKey\n ? options\n : { ...options, mutation: { ...options.mutation, mutationKey } }\n : { mutation: { mutationKey }, request: undefined };\n\n const mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }> = (\n props,\n ) => {\n const { fileId } = props ?? {};\n\n return deleteFile(fileId, requestOptions);\n };\n\n return { mutationFn, ...mutationOptions };\n};\n\nexport type DeleteFileMutationResult = NonNullable<Awaited<ReturnType<typeof deleteFile>>>;\n\nexport type DeleteFileMutationError = ErrorType<void | DmError>;\n\n/**\n * @summary Delete/detach a File (from a Project)\n */\nexport const useDeleteFile = <TError = ErrorType<void | DmError>, TContext = unknown>(\n options?: {\n mutation?: UseMutationOptions<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseMutationResult<\n Awaited<ReturnType<typeof deleteFile>>,\n TError,\n { fileId: string },\n TContext\n> => {\n const mutationOptions = getDeleteFileMutationOptions(options);\n\n return useMutation(mutationOptions, queryClient);\n};\n/**\n * Given a `file_id` the file will be returned if available.\n\nYou cannot get a Project File until the attach is complete.\n\n * @summary Download a File (from a project)\n */\nexport type downloadFileResponse200 = { data: void; status: 200 };\n\nexport type downloadFileResponse401 = { data: void; status: 401 };\n\nexport type downloadFileResponse403 = { data: DmError; status: 403 };\n\nexport type downloadFileResponse404 = { data: DmError; status: 404 };\n\nexport type downloadFileResponseSuccess = downloadFileResponse200 & { headers: Headers };\nexport type downloadFileResponseError = (\n | downloadFileResponse401\n | downloadFileResponse403\n | downloadFileResponse404\n) & { headers: Headers };\n\nexport type downloadFileResponse = downloadFileResponseSuccess | downloadFileResponseError;\n\nexport const getDownloadFileUrl = (fileId: string) => {\n return `/file/${fileId}`;\n};\n\nexport const downloadFile = async (\n fileId: string,\n options?: RequestInit,\n): Promise<downloadFileResponse> => {\n return customFetch<downloadFileResponse>(getDownloadFileUrl(fileId), {\n ...options,\n method: \"GET\",\n });\n};\n\nexport const getDownloadFileQueryKey = (fileId?: string) => {\n return [\"data-manager\", \"file\", fileId] as const;\n};\n\nexport const getDownloadFileQueryOptions = <\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getDownloadFileQueryKey(fileId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>> = ({ signal }) =>\n downloadFile(fileId, { signal, ...requestOptions });\n\n return { queryKey, queryFn, enabled: !!fileId, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type DownloadFileQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;\nexport type DownloadFileQueryError = ErrorType<void | DmError>;\n\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n Awaited<ReturnType<typeof downloadFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n Awaited<ReturnType<typeof downloadFile>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a File (from a project)\n */\n\nexport function useDownloadFile<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getDownloadFileQueryOptions(fileId, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Download a File (from a project)\n */\nexport const invalidateDownloadFile = async (\n queryClient: QueryClient,\n fileId: string,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getDownloadFileQueryKey(fileId) }, options);\n\n return queryClient;\n};\n\nexport const getDownloadFileSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getDownloadFileQueryKey(fileId);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>> = ({ signal }) =>\n downloadFile(fileId, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof downloadFile>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type DownloadFileSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;\nexport type DownloadFileSuspenseQueryError = ErrorType<void | DmError>;\n\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options: {\n query: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Download a File (from a project)\n */\n\nexport function useDownloadFileSuspense<\n TData = Awaited<ReturnType<typeof downloadFile>>,\n TError = ErrorType<void | DmError>,\n>(\n fileId: string,\n options?: {\n query?: Partial<\n UseSuspenseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData>\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getDownloadFileSuspenseQueryOptions(fileId, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;AA0EA,MAAa,oBAAoB,WAA6B;CAC5D,MAAM,mBAAmB,IAAI,iBAAiB;AAE9C,QAAO,QAAQ,UAAU,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;AACrD,MAAI,UAAU,OACZ,kBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU,CAAC;GAE1E;CAEF,MAAM,oBAAoB,iBAAiB,UAAU;AAErD,QAAO,kBAAkB,SAAS,IAAI,SAAS,s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BAA4B,QAAQ,QAAQ;CAEjE,MAAM,QAAQ,SAAS,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,yBAAyB,OACpC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,wBAAwB,OAAO,EAAE,EAAE,QAAQ;AAE3F,QAAO;;AAGT,MAAa,uCAIX,QACA,YAMG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,wBAAwB,OAAO;CAE1E,MAAMA,WAAoE,EAAE,aAC1E,aAAa,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAErD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AAqD/C,SAAgB,wBAId,QACA,SAMA,aACgF;CAChF,MAAM,eAAe,oCAAoC,QAAQ,QAAQ;CAEzE,MAAM,QAAQ,iBAAiB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
|
|
@@ -10,7 +10,7 @@ import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
|
10
10
|
|
|
11
11
|
A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
|
|
12
12
|
|
|
13
|
-
* OpenAPI spec version: 5.
|
|
13
|
+
* OpenAPI spec version: 5.2
|
|
14
14
|
*/
|
|
15
15
|
/**
|
|
16
16
|
* Creates a new Path within a Project. Every directory in the Path will be created. The path will belong to the User and Project.
|