@squonk/data-manager-client 5.4.0 → 6.1.0
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/.github/workflows/ci.yml +40 -0
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +8 -14
- package/dist/api/accounting/accounting.cjs +49 -42
- package/dist/api/accounting/accounting.cjs.map +1 -1
- package/dist/api/accounting/accounting.d.cts +40 -42
- package/dist/api/accounting/accounting.d.cts.map +1 -1
- package/dist/api/accounting/accounting.d.ts +40 -42
- package/dist/api/accounting/accounting.d.ts.map +1 -1
- package/dist/api/accounting/accounting.fetch.cjs +66 -40
- package/dist/api/accounting/accounting.fetch.cjs.map +1 -1
- package/dist/api/accounting/accounting.fetch.d.cts +57 -59
- package/dist/api/accounting/accounting.fetch.d.cts.map +1 -1
- package/dist/api/accounting/accounting.fetch.d.ts +57 -59
- package/dist/api/accounting/accounting.fetch.d.ts.map +1 -1
- package/dist/api/accounting/accounting.fetch.js +63 -37
- package/dist/api/accounting/accounting.fetch.js.map +1 -1
- package/dist/api/accounting/accounting.js +46 -39
- package/dist/api/accounting/accounting.js.map +1 -1
- package/dist/api/admin/admin.cjs +349 -250
- package/dist/api/admin/admin.cjs.map +1 -1
- package/dist/api/admin/admin.d.cts +285 -218
- package/dist/api/admin/admin.d.cts.map +1 -1
- package/dist/api/admin/admin.d.ts +285 -218
- package/dist/api/admin/admin.d.ts.map +1 -1
- package/dist/api/admin/admin.fetch.cjs +396 -198
- package/dist/api/admin/admin.fetch.cjs.map +1 -1
- package/dist/api/admin/admin.fetch.d.cts +314 -247
- package/dist/api/admin/admin.fetch.d.cts.map +1 -1
- package/dist/api/admin/admin.fetch.d.ts +314 -247
- package/dist/api/admin/admin.fetch.d.ts.map +1 -1
- package/dist/api/admin/admin.fetch.js +371 -189
- package/dist/api/admin/admin.fetch.js.map +1 -1
- package/dist/api/admin/admin.js +324 -241
- package/dist/api/admin/admin.js.map +1 -1
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.cts +6 -7
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.ts +6 -7
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.cts +5 -5
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.ts +5 -5
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.cts +0 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.cts.map +1 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.ts +0 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.ts.map +1 -1
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.cts +2 -3
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.ts +2 -3
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/adminGetUsersParams.d.cts +7 -8
- package/dist/api/api-schemas/adminGetUsersParams.d.cts.map +1 -1
- package/dist/api/api-schemas/adminGetUsersParams.d.ts +7 -8
- package/dist/api/api-schemas/adminGetUsersParams.d.ts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.cts +14 -23
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.ts +14 -23
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.cts +0 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.ts +0 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminUsersGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/adminUsersGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminUsersGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/adminUsersGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/apiLogDetail.d.cts +8 -17
- package/dist/api/api-schemas/apiLogDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/apiLogDetail.d.ts +8 -17
- package/dist/api/api-schemas/apiLogDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.cjs +1 -2
- package/dist/api/api-schemas/apiLogDetailMethod.cjs.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.d.cts +5 -6
- package/dist/api/api-schemas/apiLogDetailMethod.d.cts.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.d.ts +5 -6
- package/dist/api/api-schemas/apiLogDetailMethod.d.ts.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.js +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.js.map +1 -1
- package/dist/api/api-schemas/applicationGetResponse.d.cts +23 -18
- package/dist/api/api-schemas/applicationGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponse.d.ts +23 -18
- package/dist/api/api-schemas/applicationGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.cjs +1 -2
- package/dist/api/api-schemas/applicationGetResponseCostUnit.cjs.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.cts +6 -6
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.ts +6 -6
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.js +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.js.map +1 -1
- package/dist/api/api-schemas/applicationImageVariant.d.cts +5 -5
- package/dist/api/api-schemas/applicationImageVariant.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationImageVariant.d.ts +5 -5
- package/dist/api/api-schemas/applicationImageVariant.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationImageVariants.d.cts +0 -1
- package/dist/api/api-schemas/applicationImageVariants.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationImageVariants.d.ts +0 -1
- package/dist/api/api-schemas/applicationImageVariants.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationSummary.d.cts +8 -14
- package/dist/api/api-schemas/applicationSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationSummary.d.ts +8 -14
- package/dist/api/api-schemas/applicationSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationsGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/applicationsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationsGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/applicationsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.cts +5 -5
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.cts.map +1 -1
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.ts +5 -5
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.ts.map +1 -1
- package/dist/api/api-schemas/createPathParams.d.cts +6 -7
- package/dist/api/api-schemas/createPathParams.d.cts.map +1 -1
- package/dist/api/api-schemas/createPathParams.d.ts +6 -7
- package/dist/api/api-schemas/createPathParams.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetDetail.d.cts +5 -11
- package/dist/api/api-schemas/datasetDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetDetail.d.ts +5 -11
- package/dist/api/api-schemas/datasetDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetDigestGetResponse.d.cts +7 -8
- package/dist/api/api-schemas/datasetDigestGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetDigestGetResponse.d.ts +7 -8
- package/dist/api/api-schemas/datasetDigestGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetMetaGetResponse.d.cts +14 -23
- package/dist/api/api-schemas/datasetMetaGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetMetaGetResponse.d.ts +14 -23
- package/dist/api/api-schemas/datasetMetaGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.cts +6 -10
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.ts +6 -10
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetPostBodyBody.d.cts +11 -17
- package/dist/api/api-schemas/datasetPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetPostBodyBody.d.ts +11 -17
- package/dist/api/api-schemas/datasetPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetPutBodyBody.d.cts +12 -18
- package/dist/api/api-schemas/datasetPutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetPutBodyBody.d.ts +12 -18
- package/dist/api/api-schemas/datasetPutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetPutPostResponse.d.cts +8 -11
- package/dist/api/api-schemas/datasetPutPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetPutPostResponse.d.ts +8 -11
- package/dist/api/api-schemas/datasetPutPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.cts +4 -9
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.ts +4 -9
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.cjs +1 -2
- package/dist/api/api-schemas/datasetSchemaGetResponseType.cjs.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.cts +5 -6
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.ts +5 -6
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.js +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.js.map +1 -1
- package/dist/api/api-schemas/datasetSummary.d.cts +3 -7
- package/dist/api/api-schemas/datasetSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetSummary.d.ts +3 -7
- package/dist/api/api-schemas/datasetSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.cts +0 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.ts +0 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetail.d.cts +18 -35
- package/dist/api/api-schemas/datasetVersionDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetail.d.ts +18 -35
- package/dist/api/api-schemas/datasetVersionDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.js +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.cts +6 -10
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.ts +6 -10
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionProjectFile.d.cts +5 -5
- package/dist/api/api-schemas/datasetVersionProjectFile.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionProjectFile.d.ts +5 -5
- package/dist/api/api-schemas/datasetVersionProjectFile.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummary.d.cts +16 -32
- package/dist/api/api-schemas/datasetVersionSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummary.d.ts +16 -32
- package/dist/api/api-schemas/datasetVersionSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.js +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/deleteDatasetParams.d.cts +2 -3
- package/dist/api/api-schemas/deleteDatasetParams.d.cts.map +1 -1
- package/dist/api/api-schemas/deleteDatasetParams.d.ts +2 -3
- package/dist/api/api-schemas/deleteDatasetParams.d.ts.map +1 -1
- package/dist/api/api-schemas/deletePathParams.d.cts +6 -7
- package/dist/api/api-schemas/deletePathParams.d.cts.map +1 -1
- package/dist/api/api-schemas/deletePathParams.d.ts +6 -7
- package/dist/api/api-schemas/deletePathParams.d.ts.map +1 -1
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.cts +10 -11
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.cts.map +1 -1
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.ts +10 -11
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.ts.map +1 -1
- package/dist/api/api-schemas/dmError.d.cts +6 -7
- package/dist/api/api-schemas/dmError.d.cts.map +1 -1
- package/dist/api/api-schemas/dmError.d.ts +6 -7
- package/dist/api/api-schemas/dmError.d.ts.map +1 -1
- package/dist/api/api-schemas/exchangeRateDetail.d.cts +5 -5
- package/dist/api/api-schemas/exchangeRateDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/exchangeRateDetail.d.ts +5 -5
- package/dist/api/api-schemas/exchangeRateDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.cts +7 -9
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.ts +7 -9
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/filePathFile.d.cts +8 -17
- package/dist/api/api-schemas/filePathFile.d.cts.map +1 -1
- package/dist/api/api-schemas/filePathFile.d.ts +8 -17
- package/dist/api/api-schemas/filePathFile.d.ts.map +1 -1
- package/dist/api/api-schemas/filePostBodyBody.d.cts +12 -18
- package/dist/api/api-schemas/filePostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/filePostBodyBody.d.ts +12 -18
- package/dist/api/api-schemas/filePostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/filePostResponse.d.cts +9 -13
- package/dist/api/api-schemas/filePostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/filePostResponse.d.ts +9 -13
- package/dist/api/api-schemas/filePostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/fileStat.d.cts +7 -9
- package/dist/api/api-schemas/fileStat.d.cts.map +1 -1
- package/dist/api/api-schemas/fileStat.d.ts +7 -9
- package/dist/api/api-schemas/fileStat.d.ts.map +1 -1
- package/dist/api/api-schemas/filesGetResponse.d.cts +5 -11
- package/dist/api/api-schemas/filesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/filesGetResponse.d.ts +5 -11
- package/dist/api/api-schemas/filesGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.cts +0 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.ts +0 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.cts +2 -3
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.ts +2 -3
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getDatasetsParams.d.cts +16 -17
- package/dist/api/api-schemas/getDatasetsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getDatasetsParams.d.ts +16 -17
- package/dist/api/api-schemas/getDatasetsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getExchangeRatesResponse.d.cts +1 -3
- package/dist/api/api-schemas/getExchangeRatesResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/getExchangeRatesResponse.d.ts +1 -3
- package/dist/api/api-schemas/getExchangeRatesResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/getFilesParams.d.cts +6 -7
- package/dist/api/api-schemas/getFilesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getFilesParams.d.ts +6 -7
- package/dist/api/api-schemas/getFilesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getInstancesParams.d.cts +0 -1
- package/dist/api/api-schemas/getInstancesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getInstancesParams.d.ts +0 -1
- package/dist/api/api-schemas/getInstancesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobByVersionParams.d.cts +9 -10
- package/dist/api/api-schemas/getJobByVersionParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobByVersionParams.d.ts +9 -10
- package/dist/api/api-schemas/getJobByVersionParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.cts +2 -3
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.ts +2 -3
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobParams.d.cts +0 -1
- package/dist/api/api-schemas/getJobParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobParams.d.ts +0 -1
- package/dist/api/api-schemas/getJobParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobsParams.d.cts +0 -1
- package/dist/api/api-schemas/getJobsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobsParams.d.ts +0 -1
- package/dist/api/api-schemas/getJobsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getProjectFileParams.d.cts +9 -10
- package/dist/api/api-schemas/getProjectFileParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getProjectFileParams.d.ts +9 -10
- package/dist/api/api-schemas/getProjectFileParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.cts +9 -10
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.ts +9 -10
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getProjectsParams.d.cts +0 -1
- package/dist/api/api-schemas/getProjectsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getProjectsParams.d.ts +0 -1
- package/dist/api/api-schemas/getProjectsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.cts +3 -4
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.ts +3 -4
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getTaskParams.d.cts +6 -7
- package/dist/api/api-schemas/getTaskParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getTaskParams.d.ts +6 -7
- package/dist/api/api-schemas/getTaskParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getTasksParams.d.cts +10 -11
- package/dist/api/api-schemas/getTasksParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getTasksParams.d.ts +10 -11
- package/dist/api/api-schemas/getTasksParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getUserAccountParams.d.cts +2 -3
- package/dist/api/api-schemas/getUserAccountParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getUserAccountParams.d.ts +2 -3
- package/dist/api/api-schemas/getUserAccountParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getUserApiLogParams.d.cts +4 -5
- package/dist/api/api-schemas/getUserApiLogParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getUserApiLogParams.d.ts +4 -5
- package/dist/api/api-schemas/getUserApiLogParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getUserInventoryParams.d.cts +4 -5
- package/dist/api/api-schemas/getUserInventoryParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getUserInventoryParams.d.ts +4 -5
- package/dist/api/api-schemas/getUserInventoryParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getVersionsParams.d.cts +0 -1
- package/dist/api/api-schemas/getVersionsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getVersionsParams.d.ts +0 -1
- package/dist/api/api-schemas/getVersionsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/inputHandlerDetail.d.cts +5 -5
- package/dist/api/api-schemas/inputHandlerDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inputHandlerDetail.d.ts +5 -5
- package/dist/api/api-schemas/inputHandlerDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.cts +0 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.ts +0 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.cts +7 -9
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.ts +7 -9
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponse.d.cts +37 -69
- package/dist/api/api-schemas/instanceGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponse.d.ts +37 -69
- package/dist/api/api-schemas/instanceGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.cjs +1 -2
- package/dist/api/api-schemas/instanceGetResponseApplicationType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.cts +5 -6
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.ts +5 -6
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.js +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.js.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.cjs +1 -2
- package/dist/api/api-schemas/instanceGetResponseJobImageType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.cts +5 -6
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.ts +5 -6
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.js +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.js.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.cts +5 -5
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.ts +5 -5
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.cjs +1 -2
- package/dist/api/api-schemas/instanceGetResponsePhase.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.d.cts +6 -7
- package/dist/api/api-schemas/instanceGetResponsePhase.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.d.ts +6 -7
- package/dist/api/api-schemas/instanceGetResponsePhase.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.js +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.js.map +1 -1
- package/dist/api/api-schemas/instancePostBodyBody.d.cts +43 -27
- package/dist/api/api-schemas/instancePostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/instancePostBodyBody.d.ts +43 -27
- package/dist/api/api-schemas/instancePostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/instancePostResponse.d.cts +9 -13
- package/dist/api/api-schemas/instancePostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instancePostResponse.d.ts +9 -13
- package/dist/api/api-schemas/instancePostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummary.d.cts +30 -55
- package/dist/api/api-schemas/instanceSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummary.d.ts +30 -55
- package/dist/api/api-schemas/instanceSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.cjs +1 -2
- package/dist/api/api-schemas/instanceSummaryApplicationType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.cts +5 -6
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.ts +5 -6
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.js +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.js.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.cjs +1 -2
- package/dist/api/api-schemas/instanceSummaryJobImageType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.cts +5 -6
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.ts +5 -6
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.js +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.js.map +1 -1
- package/dist/api/api-schemas/instanceSummaryOutputs.d.cts +5 -5
- package/dist/api/api-schemas/instanceSummaryOutputs.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryOutputs.d.ts +5 -5
- package/dist/api/api-schemas/instanceSummaryOutputs.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.cjs +1 -2
- package/dist/api/api-schemas/instanceSummaryPhase.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.d.cts +6 -7
- package/dist/api/api-schemas/instanceSummaryPhase.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.d.ts +6 -7
- package/dist/api/api-schemas/instanceSummaryPhase.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.js +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.js.map +1 -1
- package/dist/api/api-schemas/instanceTask.d.cts +0 -1
- package/dist/api/api-schemas/instanceTask.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceTask.d.ts +0 -1
- package/dist/api/api-schemas/instanceTask.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.cjs +1 -2
- package/dist/api/api-schemas/instanceTaskPurpose.cjs.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.d.cts +5 -5
- package/dist/api/api-schemas/instanceTaskPurpose.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.d.ts +5 -5
- package/dist/api/api-schemas/instanceTaskPurpose.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.js +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.js.map +1 -1
- package/dist/api/api-schemas/instancesGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/instancesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instancesGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/instancesGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryDatasetDetail.d.cts +5 -5
- package/dist/api/api-schemas/inventoryDatasetDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryDatasetDetail.d.ts +5 -5
- package/dist/api/api-schemas/inventoryDatasetDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryProjectDetail.d.cts +5 -5
- package/dist/api/api-schemas/inventoryProjectDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryProjectDetail.d.ts +5 -5
- package/dist/api/api-schemas/inventoryProjectDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetail.d.cts +1 -2
- package/dist/api/api-schemas/inventoryUserDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetail.d.ts +1 -2
- package/dist/api/api-schemas/inventoryUserDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.cts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.ts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.cts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.ts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/inventoryUserGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/inventoryUserGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/jobApplication.d.cts +5 -5
- package/dist/api/api-schemas/jobApplication.d.cts.map +1 -1
- package/dist/api/api-schemas/jobApplication.d.ts +5 -5
- package/dist/api/api-schemas/jobApplication.d.ts.map +1 -1
- package/dist/api/api-schemas/jobExchangeRateSummary.d.cts +5 -5
- package/dist/api/api-schemas/jobExchangeRateSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/jobExchangeRateSummary.d.ts +5 -5
- package/dist/api/api-schemas/jobExchangeRateSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/jobGetResponse.d.cts +26 -45
- package/dist/api/api-schemas/jobGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/jobGetResponse.d.ts +26 -45
- package/dist/api/api-schemas/jobGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.cjs +1 -2
- package/dist/api/api-schemas/jobGetResponseImageType.cjs.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.d.cts +5 -6
- package/dist/api/api-schemas/jobGetResponseImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.d.ts +5 -6
- package/dist/api/api-schemas/jobGetResponseImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.js +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.js.map +1 -1
- package/dist/api/api-schemas/jobManifestDetail.d.cts +12 -19
- package/dist/api/api-schemas/jobManifestDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/jobManifestDetail.d.ts +12 -19
- package/dist/api/api-schemas/jobManifestDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.cts +6 -7
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.ts +6 -7
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/jobOrderDetail.d.cts +5 -5
- package/dist/api/api-schemas/jobOrderDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/jobOrderDetail.d.ts +5 -5
- package/dist/api/api-schemas/jobOrderDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/jobReplacement.d.cts +5 -5
- package/dist/api/api-schemas/jobReplacement.d.cts.map +1 -1
- package/dist/api/api-schemas/jobReplacement.d.ts +5 -5
- package/dist/api/api-schemas/jobReplacement.d.ts.map +1 -1
- package/dist/api/api-schemas/jobReplacements.d.cts +0 -2
- package/dist/api/api-schemas/jobReplacements.d.cts.map +1 -1
- package/dist/api/api-schemas/jobReplacements.d.ts +0 -2
- package/dist/api/api-schemas/jobReplacements.d.ts.map +1 -1
- package/dist/api/api-schemas/jobSummary.d.cts +19 -32
- package/dist/api/api-schemas/jobSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/jobSummary.d.ts +19 -32
- package/dist/api/api-schemas/jobSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.cjs +1 -2
- package/dist/api/api-schemas/jobSummaryImageType.cjs.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.d.cts +5 -6
- package/dist/api/api-schemas/jobSummaryImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.d.ts +5 -6
- package/dist/api/api-schemas/jobSummaryImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.js +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.js.map +1 -1
- package/dist/api/api-schemas/jobVariables.d.cts +4 -8
- package/dist/api/api-schemas/jobVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariables.d.ts +4 -8
- package/dist/api/api-schemas/jobVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/jobVariablesInputs.d.cts +5 -6
- package/dist/api/api-schemas/jobVariablesInputs.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariablesInputs.d.ts +5 -6
- package/dist/api/api-schemas/jobVariablesInputs.d.ts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOptions.d.cts +5 -6
- package/dist/api/api-schemas/jobVariablesOptions.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOptions.d.ts +5 -6
- package/dist/api/api-schemas/jobVariablesOptions.d.ts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOutputs.d.cts +5 -6
- package/dist/api/api-schemas/jobVariablesOutputs.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOutputs.d.ts +5 -6
- package/dist/api/api-schemas/jobVariablesOutputs.d.ts.map +1 -1
- package/dist/api/api-schemas/jobsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/jobsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/jobsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/jobsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/modeGetResponse.d.cts +6 -7
- package/dist/api/api-schemas/modeGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/modeGetResponse.d.ts +6 -7
- package/dist/api/api-schemas/modeGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/moveFileInProjectParams.d.cts +19 -20
- package/dist/api/api-schemas/moveFileInProjectParams.d.cts.map +1 -1
- package/dist/api/api-schemas/moveFileInProjectParams.d.ts +19 -20
- package/dist/api/api-schemas/moveFileInProjectParams.d.ts.map +1 -1
- package/dist/api/api-schemas/movePathParams.d.cts +11 -12
- package/dist/api/api-schemas/movePathParams.d.cts.map +1 -1
- package/dist/api/api-schemas/movePathParams.d.ts +11 -12
- package/dist/api/api-schemas/movePathParams.d.ts.map +1 -1
- package/dist/api/api-schemas/patchInstanceParams.d.cts +0 -1
- package/dist/api/api-schemas/patchInstanceParams.d.cts.map +1 -1
- package/dist/api/api-schemas/patchInstanceParams.d.ts +0 -1
- package/dist/api/api-schemas/patchInstanceParams.d.ts.map +1 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.cts +0 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.ts +0 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/projectDetail.d.cts +9 -19
- package/dist/api/api-schemas/projectDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/projectDetail.d.ts +9 -19
- package/dist/api/api-schemas/projectDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/projectFileDetail.d.cts +11 -23
- package/dist/api/api-schemas/projectFileDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/projectFileDetail.d.ts +11 -23
- package/dist/api/api-schemas/projectFileDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/projectFileDetailProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.js +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/projectFilePutBodyBody.d.cts +9 -8
- package/dist/api/api-schemas/projectFilePutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/projectFilePutBodyBody.d.ts +9 -8
- package/dist/api/api-schemas/projectFilePutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/projectGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/projectGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/projectGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/projectPatchBodyBody.d.cts +6 -8
- package/dist/api/api-schemas/projectPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/projectPatchBodyBody.d.ts +6 -8
- package/dist/api/api-schemas/projectPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/projectPostBodyBody.d.cts +7 -9
- package/dist/api/api-schemas/projectPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/projectPostBodyBody.d.ts +7 -9
- package/dist/api/api-schemas/projectPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/projectPostResponse.d.cts +6 -7
- package/dist/api/api-schemas/projectPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectPostResponse.d.ts +6 -7
- package/dist/api/api-schemas/projectPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/projectsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/projectsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/projectsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/qActiveDaysParameter.d.cts +5 -6
- package/dist/api/api-schemas/qActiveDaysParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qActiveDaysParameter.d.ts +5 -6
- package/dist/api/api-schemas/qActiveDaysParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qApplicationIdParameter.d.cts +5 -6
- package/dist/api/api-schemas/qApplicationIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qApplicationIdParameter.d.ts +5 -6
- package/dist/api/api-schemas/qApplicationIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qCurrentParameter.d.cts +5 -6
- package/dist/api/api-schemas/qCurrentParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qCurrentParameter.d.ts +5 -6
- package/dist/api/api-schemas/qCurrentParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.cts +5 -6
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.ts +5 -6
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.cts +5 -6
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.ts +5 -6
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qDstFileParameter.d.cts +5 -6
- package/dist/api/api-schemas/qDstFileParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qDstFileParameter.d.ts +5 -6
- package/dist/api/api-schemas/qDstFileParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qEditorsParameter.d.cts +5 -6
- package/dist/api/api-schemas/qEditorsParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qEditorsParameter.d.ts +5 -6
- package/dist/api/api-schemas/qEditorsParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qEventLimitParameter.d.cts +5 -6
- package/dist/api/api-schemas/qEventLimitParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qEventLimitParameter.d.ts +5 -6
- package/dist/api/api-schemas/qEventLimitParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.cts +5 -6
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.ts +5 -6
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qExcludeDoneParameter.d.cts +5 -6
- package/dist/api/api-schemas/qExcludeDoneParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qExcludeDoneParameter.d.ts +5 -6
- package/dist/api/api-schemas/qExcludeDoneParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qExcludePurposeParameter.d.cts +5 -6
- package/dist/api/api-schemas/qExcludePurposeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qExcludePurposeParameter.d.ts +5 -6
- package/dist/api/api-schemas/qExcludePurposeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.cts +5 -6
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.ts +5 -6
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileDstPathParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFileDstPathParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileDstPathParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFileDstPathParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFileParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFileParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFilePathParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFilePathParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFilePathParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFilePathParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileProjectIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qFileProjectIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileProjectIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qFileProjectIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileSrcPathParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFileSrcPathParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileSrcPathParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFileSrcPathParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFromParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFromParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFromParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFromParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIdleDaysParameter.d.cts +5 -6
- package/dist/api/api-schemas/qIdleDaysParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIdleDaysParameter.d.ts +5 -6
- package/dist/api/api-schemas/qIdleDaysParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.cts +5 -6
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.ts +5 -6
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.cts +5 -5
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.ts +5 -5
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.cts +5 -5
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.ts +5 -5
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.cts +5 -5
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.ts +5 -5
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.cts +5 -5
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.ts +5 -5
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobCollectionParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobCollectionParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobCollectionParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobCollectionParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobIdParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobIdParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobJobParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobJobParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobJobParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobJobParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobVersionParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobVersionParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobVersionParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobVersionParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.cts +5 -6
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.ts +5 -6
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qLabelsParameter.d.cts +5 -6
- package/dist/api/api-schemas/qLabelsParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qLabelsParameter.d.ts +5 -6
- package/dist/api/api-schemas/qLabelsParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.cts +5 -6
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.ts +5 -6
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qOrgIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qOrgIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qOwnersParameter.d.cts +5 -6
- package/dist/api/api-schemas/qOwnersParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qOwnersParameter.d.ts +5 -6
- package/dist/api/api-schemas/qOwnersParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qProjectIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qProjectIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qProjectIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qProjectIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qProjectNameParameter.d.cts +5 -5
- package/dist/api/api-schemas/qProjectNameParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qProjectNameParameter.d.ts +5 -5
- package/dist/api/api-schemas/qProjectNameParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qPurgeParameter.d.cts +5 -5
- package/dist/api/api-schemas/qPurgeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qPurgeParameter.d.ts +5 -5
- package/dist/api/api-schemas/qPurgeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.cjs +1 -2
- package/dist/api/api-schemas/qPurposeParameter.cjs.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.d.cts +5 -5
- package/dist/api/api-schemas/qPurposeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.d.ts +5 -5
- package/dist/api/api-schemas/qPurposeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.js +1 -1
- package/dist/api/api-schemas/qPurposeParameter.js.map +1 -1
- package/dist/api/api-schemas/qTokenParameter.d.cts +5 -5
- package/dist/api/api-schemas/qTokenParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qTokenParameter.d.ts +5 -5
- package/dist/api/api-schemas/qTokenParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qUnitIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qUnitIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.cts +5 -6
- package/dist/api/api-schemas/qUntilParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.ts +5 -6
- package/dist/api/api-schemas/qUntilParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUsernameParameter.d.cts +5 -6
- package/dist/api/api-schemas/qUsernameParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUsernameParameter.d.ts +5 -6
- package/dist/api/api-schemas/qUsernameParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUsernamesParameter.d.cts +5 -6
- package/dist/api/api-schemas/qUsernamesParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUsernamesParameter.d.ts +5 -6
- package/dist/api/api-schemas/qUsernamesParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qWorkflowIdParameter.d.cts +5 -6
- package/dist/api/api-schemas/qWorkflowIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qWorkflowIdParameter.d.ts +5 -6
- package/dist/api/api-schemas/qWorkflowIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.cts +1 -3
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.ts +1 -3
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.cts +3 -6
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.ts +3 -6
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.cjs +1 -2
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.js +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.cts +5 -6
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.ts +5 -6
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowProject.d.cts +7 -9
- package/dist/api/api-schemas/runningWorkflowProject.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowProject.d.ts +7 -9
- package/dist/api/api-schemas/runningWorkflowProject.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStep.d.cts +1 -2
- package/dist/api/api-schemas/runningWorkflowStep.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStep.d.ts +1 -2
- package/dist/api/api-schemas/runningWorkflowStep.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.cjs +1 -2
- package/dist/api/api-schemas/runningWorkflowStepStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.js +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummary.d.cts +4 -8
- package/dist/api/api-schemas/runningWorkflowSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummary.d.ts +4 -8
- package/dist/api/api-schemas/runningWorkflowSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.cjs +1 -2
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.js +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.cts +7 -9
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.ts +7 -9
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.ts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.cts +0 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.ts +0 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.cjs +1 -2
- package/dist/api/api-schemas/serviceErrorSummarySeverity.cjs.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.cts +5 -5
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.cts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.ts +5 -5
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.ts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.js +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.js.map +1 -1
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/taskEvent.d.cts +4 -9
- package/dist/api/api-schemas/taskEvent.d.cts.map +1 -1
- package/dist/api/api-schemas/taskEvent.d.ts +4 -9
- package/dist/api/api-schemas/taskEvent.d.ts.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.cjs +1 -2
- package/dist/api/api-schemas/taskEventLevel.cjs.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.d.cts +5 -6
- package/dist/api/api-schemas/taskEventLevel.d.cts.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.d.ts +5 -6
- package/dist/api/api-schemas/taskEventLevel.d.ts.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.js +1 -1
- package/dist/api/api-schemas/taskEventLevel.js.map +1 -1
- package/dist/api/api-schemas/taskGetResponse.d.cts +11 -23
- package/dist/api/api-schemas/taskGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/taskGetResponse.d.ts +11 -23
- package/dist/api/api-schemas/taskGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.cjs +1 -2
- package/dist/api/api-schemas/taskGetResponsePurpose.cjs.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.d.cts +5 -6
- package/dist/api/api-schemas/taskGetResponsePurpose.d.cts.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.d.ts +5 -6
- package/dist/api/api-schemas/taskGetResponsePurpose.d.ts.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.js +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.js.map +1 -1
- package/dist/api/api-schemas/taskIdentity.d.cts +5 -5
- package/dist/api/api-schemas/taskIdentity.d.cts.map +1 -1
- package/dist/api/api-schemas/taskIdentity.d.ts +5 -5
- package/dist/api/api-schemas/taskIdentity.d.ts.map +1 -1
- package/dist/api/api-schemas/taskState.d.cts +3 -7
- package/dist/api/api-schemas/taskState.d.cts.map +1 -1
- package/dist/api/api-schemas/taskState.d.ts +3 -7
- package/dist/api/api-schemas/taskState.d.ts.map +1 -1
- package/dist/api/api-schemas/taskStateState.cjs +1 -2
- package/dist/api/api-schemas/taskStateState.cjs.map +1 -1
- package/dist/api/api-schemas/taskStateState.d.cts +5 -6
- package/dist/api/api-schemas/taskStateState.d.cts.map +1 -1
- package/dist/api/api-schemas/taskStateState.d.ts +5 -6
- package/dist/api/api-schemas/taskStateState.d.ts.map +1 -1
- package/dist/api/api-schemas/taskStateState.js +1 -1
- package/dist/api/api-schemas/taskStateState.js.map +1 -1
- package/dist/api/api-schemas/taskSummary.d.cts +10 -21
- package/dist/api/api-schemas/taskSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/taskSummary.d.ts +10 -21
- package/dist/api/api-schemas/taskSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/taskSummaryProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.js +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/tasksGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/tasksGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/tasksGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/tasksGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummary.d.cts +5 -11
- package/dist/api/api-schemas/typeSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/typeSummary.d.ts +5 -11
- package/dist/api/api-schemas/typeSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.cts +2 -10
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.cts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.ts +2 -10
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.cjs +1 -2
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.cjs.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.cts +5 -6
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.cts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.ts +5 -6
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.js +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.js.map +1 -1
- package/dist/api/api-schemas/typesGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/typesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/typesGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/typesGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userAccountDetail.d.cts +0 -1
- package/dist/api/api-schemas/userAccountDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/userAccountDetail.d.ts +0 -1
- package/dist/api/api-schemas/userAccountDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.cts +8 -14
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.ts +8 -14
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/userActivityDetail.d.cts +4 -9
- package/dist/api/api-schemas/userActivityDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/userActivityDetail.d.ts +4 -9
- package/dist/api/api-schemas/userActivityDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/userActivityDetailPeriod.d.cts +10 -15
- package/dist/api/api-schemas/userActivityDetailPeriod.d.cts.map +1 -1
- package/dist/api/api-schemas/userActivityDetailPeriod.d.ts +10 -15
- package/dist/api/api-schemas/userActivityDetailPeriod.d.ts.map +1 -1
- package/dist/api/api-schemas/userApiLogGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/userApiLogGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/userApiLogGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/userApiLogGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userApiTokenGetResponse.d.cts +5 -5
- package/dist/api/api-schemas/userApiTokenGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/userApiTokenGetResponse.d.ts +5 -5
- package/dist/api/api-schemas/userApiTokenGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userDetail.d.cts +14 -23
- package/dist/api/api-schemas/userDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/userDetail.d.ts +14 -23
- package/dist/api/api-schemas/userDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/userPatchBodyBody.d.cts +6 -8
- package/dist/api/api-schemas/userPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/userPatchBodyBody.d.ts +6 -8
- package/dist/api/api-schemas/userPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/userSummary.d.cts +6 -7
- package/dist/api/api-schemas/userSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/userSummary.d.ts +6 -7
- package/dist/api/api-schemas/userSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/usersGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/usersGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/usersGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/usersGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/versionGetResponse.d.cts +6 -7
- package/dist/api/api-schemas/versionGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/versionGetResponse.d.ts +6 -7
- package/dist/api/api-schemas/versionGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetAllResponse.d.cts +1 -3
- package/dist/api/api-schemas/workflowGetAllResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetAllResponse.d.ts +1 -3
- package/dist/api/api-schemas/workflowGetAllResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponse.d.cts +7 -15
- package/dist/api/api-schemas/workflowGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponse.d.ts +7 -15
- package/dist/api/api-schemas/workflowGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.cjs +1 -2
- package/dist/api/api-schemas/workflowGetResponseScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.d.cts +5 -5
- package/dist/api/api-schemas/workflowGetResponseScope.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.d.ts +5 -5
- package/dist/api/api-schemas/workflowGetResponseScope.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.js +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.js.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseVariables.d.cts +5 -5
- package/dist/api/api-schemas/workflowGetResponseVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseVariables.d.ts +5 -5
- package/dist/api/api-schemas/workflowGetResponseVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPatchBodyBody.d.cts +16 -11
- package/dist/api/api-schemas/workflowPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPatchBodyBody.d.ts +16 -11
- package/dist/api/api-schemas/workflowPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPatchResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowPatchResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPatchResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowPatchResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBody.d.cts +12 -12
- package/dist/api/api-schemas/workflowPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBody.d.ts +12 -12
- package/dist/api/api-schemas/workflowPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.cjs +1 -2
- package/dist/api/api-schemas/workflowPostBodyBodyScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.cts +5 -6
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.ts +5 -6
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.js +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.js.map +1 -1
- package/dist/api/api-schemas/workflowPostResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPostResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.cts +9 -13
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.ts +9 -13
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowRunPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowRunPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummary.d.cts +2 -5
- package/dist/api/api-schemas/workflowStepSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummary.d.ts +2 -5
- package/dist/api/api-schemas/workflowStepSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.cts +5 -6
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.ts +5 -6
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowSummary.d.cts +8 -17
- package/dist/api/api-schemas/workflowSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowSummary.d.ts +8 -17
- package/dist/api/api-schemas/workflowSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.cjs +1 -2
- package/dist/api/api-schemas/workflowSummaryScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.d.cts +5 -6
- package/dist/api/api-schemas/workflowSummaryScope.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.d.ts +5 -6
- package/dist/api/api-schemas/workflowSummaryScope.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.js +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.js.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.cts +6 -8
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.ts +6 -8
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowVersionPutResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowVersionPutResponse.d.ts.map +1 -1
- package/dist/api/application/application.cjs +28 -27
- package/dist/api/application/application.cjs.map +1 -1
- package/dist/api/application/application.d.cts +19 -21
- package/dist/api/application/application.d.cts.map +1 -1
- package/dist/api/application/application.d.ts +19 -21
- package/dist/api/application/application.d.ts.map +1 -1
- package/dist/api/application/application.fetch.cjs +36 -23
- package/dist/api/application/application.fetch.cjs.map +1 -1
- package/dist/api/application/application.fetch.d.cts +27 -29
- package/dist/api/application/application.fetch.d.cts.map +1 -1
- package/dist/api/application/application.fetch.d.ts +27 -29
- package/dist/api/application/application.fetch.d.ts.map +1 -1
- package/dist/api/application/application.fetch.js +33 -20
- package/dist/api/application/application.fetch.js.map +1 -1
- package/dist/api/application/application.js +25 -24
- package/dist/api/application/application.js.map +1 -1
- package/dist/api/configuration/configuration.cjs +25 -22
- package/dist/api/configuration/configuration.cjs.map +1 -1
- package/dist/api/configuration/configuration.d.cts +16 -16
- package/dist/api/configuration/configuration.d.cts.map +1 -1
- package/dist/api/configuration/configuration.d.ts +16 -16
- package/dist/api/configuration/configuration.d.ts.map +1 -1
- package/dist/api/configuration/configuration.fetch.cjs +31 -22
- package/dist/api/configuration/configuration.fetch.cjs.map +1 -1
- package/dist/api/configuration/configuration.fetch.d.cts +22 -22
- package/dist/api/configuration/configuration.fetch.d.cts.map +1 -1
- package/dist/api/configuration/configuration.fetch.d.ts +22 -22
- package/dist/api/configuration/configuration.fetch.d.ts.map +1 -1
- package/dist/api/configuration/configuration.fetch.js +28 -19
- package/dist/api/configuration/configuration.fetch.js.map +1 -1
- package/dist/api/configuration/configuration.js +22 -19
- package/dist/api/configuration/configuration.js.map +1 -1
- package/dist/api/dataset/dataset.cjs +254 -193
- package/dist/api/dataset/dataset.cjs.map +1 -1
- package/dist/api/dataset/dataset.d.cts +216 -193
- package/dist/api/dataset/dataset.d.cts.map +1 -1
- package/dist/api/dataset/dataset.d.ts +216 -193
- package/dist/api/dataset/dataset.d.ts.map +1 -1
- package/dist/api/dataset/dataset.fetch.cjs +296 -145
- package/dist/api/dataset/dataset.fetch.cjs.map +1 -1
- package/dist/api/dataset/dataset.fetch.d.cts +243 -220
- package/dist/api/dataset/dataset.fetch.d.cts.map +1 -1
- package/dist/api/dataset/dataset.fetch.d.ts +243 -220
- package/dist/api/dataset/dataset.fetch.d.ts.map +1 -1
- package/dist/api/dataset/dataset.fetch.js +280 -139
- package/dist/api/dataset/dataset.fetch.js.map +1 -1
- package/dist/api/dataset/dataset.js +238 -187
- package/dist/api/dataset/dataset.js.map +1 -1
- package/dist/api/digest/digest.cjs +18 -18
- package/dist/api/digest/digest.cjs.map +1 -1
- package/dist/api/digest/digest.d.cts +9 -10
- package/dist/api/digest/digest.d.cts.map +1 -1
- package/dist/api/digest/digest.d.ts +9 -10
- package/dist/api/digest/digest.d.ts.map +1 -1
- package/dist/api/digest/digest.fetch.cjs +22 -17
- package/dist/api/digest/digest.fetch.cjs.map +1 -1
- package/dist/api/digest/digest.fetch.d.cts +13 -14
- package/dist/api/digest/digest.fetch.d.cts.map +1 -1
- package/dist/api/digest/digest.fetch.d.ts +13 -14
- package/dist/api/digest/digest.fetch.d.ts.map +1 -1
- package/dist/api/digest/digest.fetch.js +19 -14
- package/dist/api/digest/digest.fetch.js.map +1 -1
- package/dist/api/digest/digest.js +15 -15
- package/dist/api/digest/digest.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.cjs +353 -265
- package/dist/api/file-and-path/file-and-path.cjs.map +1 -1
- package/dist/api/file-and-path/file-and-path.d.cts +302 -240
- package/dist/api/file-and-path/file-and-path.d.cts.map +1 -1
- package/dist/api/file-and-path/file-and-path.d.ts +302 -240
- package/dist/api/file-and-path/file-and-path.d.ts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.cjs +412 -213
- 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 +335 -273
- package/dist/api/file-and-path/file-and-path.fetch.d.cts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.d.ts +335 -273
- package/dist/api/file-and-path/file-and-path.fetch.d.ts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.js +387 -204
- package/dist/api/file-and-path/file-and-path.fetch.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.js +328 -256
- package/dist/api/file-and-path/file-and-path.js.map +1 -1
- package/dist/api/instance/instance.cjs +215 -158
- package/dist/api/instance/instance.cjs.map +1 -1
- package/dist/api/instance/instance.d.cts +180 -146
- package/dist/api/instance/instance.d.cts.map +1 -1
- package/dist/api/instance/instance.d.ts +180 -146
- package/dist/api/instance/instance.d.ts.map +1 -1
- package/dist/api/instance/instance.fetch.cjs +250 -130
- package/dist/api/instance/instance.fetch.cjs.map +1 -1
- package/dist/api/instance/instance.fetch.d.cts +200 -166
- package/dist/api/instance/instance.fetch.d.cts.map +1 -1
- package/dist/api/instance/instance.fetch.d.ts +200 -166
- package/dist/api/instance/instance.fetch.d.ts.map +1 -1
- package/dist/api/instance/instance.fetch.js +234 -124
- package/dist/api/instance/instance.fetch.js.map +1 -1
- package/dist/api/instance/instance.js +199 -152
- package/dist/api/instance/instance.js.map +1 -1
- package/dist/api/inventory/inventory.cjs +19 -19
- package/dist/api/inventory/inventory.cjs.map +1 -1
- package/dist/api/inventory/inventory.d.cts +10 -11
- package/dist/api/inventory/inventory.d.cts.map +1 -1
- package/dist/api/inventory/inventory.d.ts +10 -11
- package/dist/api/inventory/inventory.d.ts.map +1 -1
- package/dist/api/inventory/inventory.fetch.cjs +24 -17
- package/dist/api/inventory/inventory.fetch.cjs.map +1 -1
- package/dist/api/inventory/inventory.fetch.d.cts +14 -15
- package/dist/api/inventory/inventory.fetch.d.cts.map +1 -1
- package/dist/api/inventory/inventory.fetch.d.ts +14 -15
- package/dist/api/inventory/inventory.fetch.d.ts.map +1 -1
- package/dist/api/inventory/inventory.fetch.js +21 -14
- package/dist/api/inventory/inventory.fetch.js.map +1 -1
- package/dist/api/inventory/inventory.js +16 -16
- package/dist/api/inventory/inventory.js.map +1 -1
- package/dist/api/job/job.cjs +100 -83
- package/dist/api/job/job.cjs.map +1 -1
- package/dist/api/job/job.d.cts +85 -86
- package/dist/api/job/job.d.cts.map +1 -1
- package/dist/api/job/job.d.ts +85 -86
- package/dist/api/job/job.d.ts.map +1 -1
- package/dist/api/job/job.fetch.cjs +129 -68
- package/dist/api/job/job.fetch.cjs.map +1 -1
- package/dist/api/job/job.fetch.d.cts +107 -108
- package/dist/api/job/job.fetch.d.cts.map +1 -1
- package/dist/api/job/job.fetch.d.ts +107 -108
- package/dist/api/job/job.fetch.d.ts.map +1 -1
- package/dist/api/job/job.fetch.js +125 -66
- package/dist/api/job/job.fetch.js.map +1 -1
- package/dist/api/job/job.js +96 -81
- package/dist/api/job/job.js.map +1 -1
- package/dist/api/metadata/metadata.cjs +104 -78
- package/dist/api/metadata/metadata.cjs.map +1 -1
- package/dist/api/metadata/metadata.d.cts +84 -82
- package/dist/api/metadata/metadata.d.cts.map +1 -1
- package/dist/api/metadata/metadata.d.ts +84 -82
- package/dist/api/metadata/metadata.d.ts.map +1 -1
- package/dist/api/metadata/metadata.fetch.cjs +126 -66
- package/dist/api/metadata/metadata.fetch.cjs.map +1 -1
- package/dist/api/metadata/metadata.fetch.d.cts +96 -94
- package/dist/api/metadata/metadata.fetch.d.cts.map +1 -1
- package/dist/api/metadata/metadata.fetch.d.ts +96 -94
- package/dist/api/metadata/metadata.fetch.d.ts.map +1 -1
- package/dist/api/metadata/metadata.fetch.js +119 -63
- package/dist/api/metadata/metadata.fetch.js.map +1 -1
- package/dist/api/metadata/metadata.js +97 -75
- package/dist/api/metadata/metadata.js.map +1 -1
- package/dist/api/project/project.cjs +383 -271
- package/dist/api/project/project.cjs.map +1 -1
- package/dist/api/project/project.d.cts +308 -258
- package/dist/api/project/project.d.cts.map +1 -1
- package/dist/api/project/project.d.ts +308 -258
- package/dist/api/project/project.d.ts.map +1 -1
- package/dist/api/project/project.fetch.cjs +430 -218
- package/dist/api/project/project.fetch.cjs.map +1 -1
- package/dist/api/project/project.fetch.d.cts +334 -284
- package/dist/api/project/project.fetch.d.cts.map +1 -1
- package/dist/api/project/project.fetch.d.ts +334 -284
- package/dist/api/project/project.fetch.d.ts.map +1 -1
- package/dist/api/project/project.fetch.js +402 -208
- package/dist/api/project/project.fetch.js.map +1 -1
- package/dist/api/project/project.js +355 -261
- package/dist/api/project/project.js.map +1 -1
- package/dist/api/task/task.cjs +81 -69
- package/dist/api/task/task.cjs.map +1 -1
- package/dist/api/task/task.d.cts +68 -61
- package/dist/api/task/task.d.cts.map +1 -1
- package/dist/api/task/task.d.ts +68 -61
- package/dist/api/task/task.d.ts.map +1 -1
- package/dist/api/task/task.fetch.cjs +95 -46
- package/dist/api/task/task.fetch.cjs.map +1 -1
- package/dist/api/task/task.fetch.d.cts +78 -71
- package/dist/api/task/task.fetch.d.cts.map +1 -1
- package/dist/api/task/task.fetch.d.ts +78 -71
- package/dist/api/task/task.fetch.d.ts.map +1 -1
- package/dist/api/task/task.fetch.js +91 -44
- package/dist/api/task/task.fetch.js.map +1 -1
- package/dist/api/task/task.js +77 -67
- package/dist/api/task/task.js.map +1 -1
- package/dist/api/type/type.cjs +17 -17
- package/dist/api/type/type.cjs.map +1 -1
- package/dist/api/type/type.d.cts +8 -9
- package/dist/api/type/type.d.cts.map +1 -1
- package/dist/api/type/type.d.ts +8 -9
- package/dist/api/type/type.d.ts.map +1 -1
- package/dist/api/type/type.fetch.cjs +21 -16
- package/dist/api/type/type.fetch.cjs.map +1 -1
- package/dist/api/type/type.fetch.d.cts +12 -13
- package/dist/api/type/type.fetch.d.cts.map +1 -1
- package/dist/api/type/type.fetch.d.ts +12 -13
- package/dist/api/type/type.fetch.d.ts.map +1 -1
- package/dist/api/type/type.fetch.js +18 -13
- package/dist/api/type/type.fetch.js.map +1 -1
- package/dist/api/type/type.js +14 -14
- package/dist/api/type/type.js.map +1 -1
- package/dist/api/user/user.cjs +76 -60
- package/dist/api/user/user.cjs.map +1 -1
- package/dist/api/user/user.d.cts +63 -57
- package/dist/api/user/user.d.cts.map +1 -1
- package/dist/api/user/user.d.ts +63 -57
- package/dist/api/user/user.d.ts.map +1 -1
- package/dist/api/user/user.fetch.cjs +96 -57
- package/dist/api/user/user.fetch.cjs.map +1 -1
- package/dist/api/user/user.fetch.d.cts +79 -73
- package/dist/api/user/user.fetch.d.cts.map +1 -1
- package/dist/api/user/user.fetch.d.ts +79 -73
- package/dist/api/user/user.fetch.d.ts.map +1 -1
- package/dist/api/user/user.fetch.js +92 -55
- package/dist/api/user/user.fetch.js.map +1 -1
- package/dist/api/user/user.js +72 -58
- package/dist/api/user/user.js.map +1 -1
- package/dist/api/workflow/workflow.cjs +315 -230
- package/dist/api/workflow/workflow.cjs.map +1 -1
- package/dist/api/workflow/workflow.d.cts +265 -224
- package/dist/api/workflow/workflow.d.cts.map +1 -1
- package/dist/api/workflow/workflow.d.ts +265 -224
- package/dist/api/workflow/workflow.d.ts.map +1 -1
- package/dist/api/workflow/workflow.fetch.cjs +374 -198
- package/dist/api/workflow/workflow.fetch.cjs.map +1 -1
- package/dist/api/workflow/workflow.fetch.d.cts +305 -264
- package/dist/api/workflow/workflow.fetch.d.cts.map +1 -1
- package/dist/api/workflow/workflow.fetch.d.ts +305 -264
- package/dist/api/workflow/workflow.fetch.d.ts.map +1 -1
- package/dist/api/workflow/workflow.fetch.js +352 -190
- package/dist/api/workflow/workflow.fetch.js.map +1 -1
- package/dist/api/workflow/workflow.js +293 -222
- package/dist/api/workflow/workflow.js.map +1 -1
- package/dist/custom-axios.cjs +3 -4
- package/dist/custom-axios.cjs.map +1 -1
- package/dist/custom-axios.d.cts +1 -3
- package/dist/custom-axios.d.cts.map +1 -1
- package/dist/custom-axios.d.ts +1 -3
- package/dist/custom-axios.d.ts.map +1 -1
- package/dist/custom-axios.js +2 -3
- package/dist/custom-axios.js.map +1 -1
- package/dist/custom-fetch.cjs +1 -2
- package/dist/custom-fetch.cjs.map +1 -1
- package/dist/custom-fetch.d.cts +0 -1
- package/dist/custom-fetch.d.cts.map +1 -1
- package/dist/custom-fetch.d.ts +0 -1
- package/dist/custom-fetch.d.ts.map +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/custom-fetch.js.map +1 -1
- package/dist/index.cjs +31 -31
- package/dist/index.d.cts +22 -23
- package/dist/index.d.ts +22 -23
- package/dist/index.js +1 -2
- package/orval.config.ts +3 -3
- package/package.json +10 -10
- package/pnpm-workspace.yaml +4 -1
- package/src/api/accounting/accounting.fetch.ts +93 -115
- package/src/api/accounting/accounting.ts +76 -98
- package/src/api/admin/admin.fetch.ts +1054 -552
- package/src/api/admin/admin.ts +1056 -536
- package/src/api/api-schemas/accountServerGetNamespaceResponse.fetch.ts +15 -0
- package/src/api/api-schemas/accountServerGetNamespaceResponse.ts +6 -7
- package/src/api/api-schemas/accountServerGetRegistrationResponse.fetch.ts +17 -0
- package/src/api/api-schemas/accountServerGetRegistrationResponse.ts +5 -5
- package/src/api/api-schemas/adminDeleteJobManifestParams.fetch.ts +18 -0
- package/src/api/api-schemas/adminDeleteJobManifestParams.ts +5 -5
- package/src/api/api-schemas/adminGetServiceErrorsParams.fetch.ts +18 -0
- package/src/api/api-schemas/adminGetServiceErrorsParams.ts +7 -8
- package/src/api/api-schemas/adminGetUsersParams.fetch.ts +25 -0
- package/src/api/api-schemas/adminGetUsersParams.ts +12 -14
- package/src/api/api-schemas/adminJobManifestGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/adminJobManifestGetResponse.ts +7 -9
- package/src/api/api-schemas/adminJobManifestLoadPutResponse.fetch.ts +31 -0
- package/src/api/api-schemas/adminJobManifestLoadPutResponse.ts +14 -23
- package/src/api/api-schemas/adminUserPutResponse.fetch.ts +13 -0
- package/src/api/api-schemas/adminUserPutResponse.ts +5 -5
- package/src/api/api-schemas/adminUsersGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/adminUsersGetResponse.ts +7 -9
- package/src/api/api-schemas/apiLogDetail.fetch.ts +30 -0
- package/src/api/api-schemas/apiLogDetail.ts +13 -21
- package/src/api/api-schemas/apiLogDetailMethod.fetch.ts +22 -0
- package/src/api/api-schemas/apiLogDetailMethod.ts +5 -7
- package/src/api/api-schemas/applicationGetResponse.fetch.ts +50 -0
- package/src/api/api-schemas/applicationGetResponse.ts +28 -22
- package/src/api/api-schemas/applicationGetResponseCostUnit.fetch.ts +19 -0
- package/src/api/api-schemas/applicationGetResponseCostUnit.ts +6 -7
- package/src/api/api-schemas/applicationImageVariant.fetch.ts +15 -0
- package/src/api/api-schemas/applicationImageVariant.ts +5 -5
- package/src/api/api-schemas/applicationImageVariants.fetch.ts +15 -0
- package/src/api/api-schemas/applicationImageVariants.ts +5 -5
- package/src/api/api-schemas/applicationSummary.fetch.ts +19 -0
- package/src/api/api-schemas/applicationSummary.ts +8 -14
- package/src/api/api-schemas/applicationsGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/applicationsGetResponse.ts +7 -9
- package/src/api/api-schemas/asAdditionalDataProcessingCharge.fetch.ts +27 -0
- package/src/api/api-schemas/asAdditionalDataProcessingCharge.ts +5 -5
- package/src/api/api-schemas/createPathParams.fetch.ts +27 -0
- package/src/api/api-schemas/createPathParams.ts +11 -12
- package/src/api/api-schemas/datasetDetail.fetch.ts +24 -0
- package/src/api/api-schemas/datasetDetail.ts +10 -15
- package/src/api/api-schemas/datasetDigestGetResponse.fetch.ts +20 -0
- package/src/api/api-schemas/datasetDigestGetResponse.ts +6 -8
- package/src/api/api-schemas/datasetMetaGetResponse.fetch.ts +32 -0
- package/src/api/api-schemas/datasetMetaGetResponse.ts +14 -23
- package/src/api/api-schemas/datasetMetaPostBodyBody.fetch.ts +17 -0
- package/src/api/api-schemas/datasetMetaPostBodyBody.ts +7 -9
- package/src/api/api-schemas/datasetPostBodyBody.fetch.ts +36 -0
- package/src/api/api-schemas/datasetPostBodyBody.ts +8 -14
- package/src/api/api-schemas/datasetPutBodyBody.fetch.ts +47 -0
- package/src/api/api-schemas/datasetPutBodyBody.ts +8 -16
- package/src/api/api-schemas/datasetPutPostResponse.fetch.ts +19 -0
- package/src/api/api-schemas/datasetPutPostResponse.ts +8 -11
- package/src/api/api-schemas/datasetSchemaGetResponse.fetch.ts +23 -0
- package/src/api/api-schemas/datasetSchemaGetResponse.ts +9 -13
- package/src/api/api-schemas/datasetSchemaGetResponseType.fetch.ts +18 -0
- package/src/api/api-schemas/datasetSchemaGetResponseType.ts +5 -7
- package/src/api/api-schemas/datasetSummary.fetch.ts +20 -0
- package/src/api/api-schemas/datasetSummary.ts +8 -11
- package/src/api/api-schemas/datasetVersionDeleteResponse.fetch.ts +13 -0
- package/src/api/api-schemas/datasetVersionDeleteResponse.ts +5 -5
- package/src/api/api-schemas/datasetVersionDetail.fetch.ts +48 -0
- package/src/api/api-schemas/datasetVersionDetail.ts +23 -39
- package/src/api/api-schemas/datasetVersionDetailLabels.fetch.ts +15 -0
- package/src/api/api-schemas/datasetVersionDetailLabels.ts +5 -6
- package/src/api/api-schemas/datasetVersionDetailProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/datasetVersionDetailProcessingStage.ts +5 -7
- package/src/api/api-schemas/datasetVersionMetaPostBodyBody.fetch.ts +17 -0
- package/src/api/api-schemas/datasetVersionMetaPostBodyBody.ts +7 -9
- package/src/api/api-schemas/datasetVersionProjectFile.fetch.ts +16 -0
- package/src/api/api-schemas/datasetVersionProjectFile.ts +5 -5
- package/src/api/api-schemas/datasetVersionSummary.fetch.ts +45 -0
- package/src/api/api-schemas/datasetVersionSummary.ts +21 -36
- package/src/api/api-schemas/datasetVersionSummaryLabels.fetch.ts +15 -0
- package/src/api/api-schemas/datasetVersionSummaryLabels.ts +5 -6
- package/src/api/api-schemas/datasetVersionSummaryProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/datasetVersionSummaryProcessingStage.ts +5 -7
- package/src/api/api-schemas/datasetVersionsGetResponse.fetch.ts +13 -0
- package/src/api/api-schemas/datasetVersionsGetResponse.ts +5 -5
- package/src/api/api-schemas/datasetsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/datasetsGetResponse.ts +5 -5
- package/src/api/api-schemas/deleteDatasetParams.fetch.ts +18 -0
- package/src/api/api-schemas/deleteDatasetParams.ts +7 -8
- package/src/api/api-schemas/deletePathParams.fetch.ts +27 -0
- package/src/api/api-schemas/deletePathParams.ts +11 -12
- package/src/api/api-schemas/deleteUnmanagedFileParams.fetch.ts +34 -0
- package/src/api/api-schemas/deleteUnmanagedFileParams.ts +14 -16
- package/src/api/api-schemas/dmError.fetch.ts +15 -0
- package/src/api/api-schemas/dmError.ts +6 -7
- package/src/api/api-schemas/exchangeRateDetail.fetch.ts +18 -0
- package/src/api/api-schemas/exchangeRateDetail.ts +5 -5
- package/src/api/api-schemas/exchangeRatePutBodyBody.fetch.ts +20 -0
- package/src/api/api-schemas/exchangeRatePutBodyBody.ts +6 -8
- package/src/api/api-schemas/filePathFile.fetch.ts +31 -0
- package/src/api/api-schemas/filePathFile.ts +13 -21
- package/src/api/api-schemas/filePostBodyBody.fetch.ts +40 -0
- package/src/api/api-schemas/filePostBodyBody.ts +8 -15
- package/src/api/api-schemas/filePostResponse.fetch.ts +21 -0
- package/src/api/api-schemas/filePostResponse.ts +9 -13
- package/src/api/api-schemas/fileStat.fetch.ts +17 -0
- package/src/api/api-schemas/fileStat.ts +7 -9
- package/src/api/api-schemas/filesGetResponse.fetch.ts +24 -0
- package/src/api/api-schemas/filesGetResponse.ts +10 -15
- package/src/api/api-schemas/getAllExchangeRatesResponse.fetch.ts +17 -0
- package/src/api/api-schemas/getAllExchangeRatesResponse.ts +5 -5
- package/src/api/api-schemas/getAllJobExchangeRatesParams.fetch.ts +18 -0
- package/src/api/api-schemas/getAllJobExchangeRatesParams.ts +7 -8
- package/src/api/api-schemas/getDatasetsParams.fetch.ts +46 -0
- package/src/api/api-schemas/getDatasetsParams.ts +21 -26
- package/src/api/api-schemas/getExchangeRatesResponse.fetch.ts +17 -0
- package/src/api/api-schemas/getExchangeRatesResponse.ts +6 -7
- package/src/api/api-schemas/getFilesParams.fetch.ts +32 -0
- package/src/api/api-schemas/getFilesParams.ts +11 -12
- package/src/api/api-schemas/getInstancesParams.fetch.ts +31 -0
- package/src/api/api-schemas/getInstancesParams.ts +5 -5
- package/src/api/api-schemas/getJobByVersionParams.fetch.ts +37 -0
- package/src/api/api-schemas/getJobByVersionParams.ts +14 -17
- package/src/api/api-schemas/getJobExchangeRatesParams.fetch.ts +18 -0
- package/src/api/api-schemas/getJobExchangeRatesParams.ts +7 -8
- package/src/api/api-schemas/getJobParams.fetch.ts +19 -0
- package/src/api/api-schemas/getJobParams.ts +5 -5
- package/src/api/api-schemas/getJobsParams.fetch.ts +19 -0
- package/src/api/api-schemas/getJobsParams.ts +5 -5
- package/src/api/api-schemas/getProjectFileParams.fetch.ts +28 -0
- package/src/api/api-schemas/getProjectFileParams.ts +15 -17
- package/src/api/api-schemas/getProjectFileWithTokenParams.fetch.ts +34 -0
- package/src/api/api-schemas/getProjectFileWithTokenParams.ts +16 -18
- package/src/api/api-schemas/getProjectsParams.fetch.ts +18 -0
- package/src/api/api-schemas/getProjectsParams.ts +5 -5
- package/src/api/api-schemas/getRunningWorkflowsParams.fetch.ts +25 -0
- package/src/api/api-schemas/getRunningWorkflowsParams.ts +9 -10
- package/src/api/api-schemas/getTaskParams.fetch.ts +25 -0
- package/src/api/api-schemas/getTaskParams.ts +11 -13
- package/src/api/api-schemas/getTasksParams.fetch.ts +57 -0
- package/src/api/api-schemas/getTasksParams.ts +16 -20
- package/src/api/api-schemas/getUserAccountParams.fetch.ts +18 -0
- package/src/api/api-schemas/getUserAccountParams.ts +7 -8
- package/src/api/api-schemas/getUserApiLogParams.fetch.ts +23 -0
- package/src/api/api-schemas/getUserApiLogParams.ts +9 -11
- package/src/api/api-schemas/getUserInventoryParams.fetch.ts +32 -0
- package/src/api/api-schemas/getUserInventoryParams.ts +9 -10
- package/src/api/api-schemas/getVersionsParams.fetch.ts +18 -0
- package/src/api/api-schemas/getVersionsParams.ts +5 -5
- package/src/api/api-schemas/index.ts +16 -17
- package/src/api/api-schemas/inputHandlerDetail.fetch.ts +17 -0
- package/src/api/api-schemas/inputHandlerDetail.ts +5 -5
- package/src/api/api-schemas/inputHandlerGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/inputHandlerGetResponse.ts +5 -5
- package/src/api/api-schemas/instanceDeleteResponse.fetch.ts +13 -0
- package/src/api/api-schemas/instanceDeleteResponse.ts +5 -5
- package/src/api/api-schemas/instanceDryRunPostResponse.fetch.ts +17 -0
- package/src/api/api-schemas/instanceDryRunPostResponse.ts +7 -9
- package/src/api/api-schemas/instanceGetResponse.fetch.ts +89 -0
- package/src/api/api-schemas/instanceGetResponse.ts +42 -73
- package/src/api/api-schemas/instanceGetResponseApplicationType.fetch.ts +21 -0
- package/src/api/api-schemas/instanceGetResponseApplicationType.ts +5 -7
- package/src/api/api-schemas/instanceGetResponseJobImageType.fetch.ts +18 -0
- package/src/api/api-schemas/instanceGetResponseJobImageType.ts +5 -7
- package/src/api/api-schemas/instanceGetResponseOutputs.fetch.ts +15 -0
- package/src/api/api-schemas/instanceGetResponseOutputs.ts +5 -5
- package/src/api/api-schemas/instanceGetResponsePhase.fetch.ts +28 -0
- package/src/api/api-schemas/instanceGetResponsePhase.ts +6 -8
- package/src/api/api-schemas/instancePostBodyBody.fetch.ts +82 -0
- package/src/api/api-schemas/instancePostBodyBody.ts +38 -37
- package/src/api/api-schemas/instancePostResponse.fetch.ts +21 -0
- package/src/api/api-schemas/instancePostResponse.ts +9 -13
- package/src/api/api-schemas/instanceSummary.fetch.ts +74 -0
- package/src/api/api-schemas/instanceSummary.ts +35 -59
- package/src/api/api-schemas/instanceSummaryApplicationType.fetch.ts +18 -0
- package/src/api/api-schemas/instanceSummaryApplicationType.ts +5 -7
- package/src/api/api-schemas/instanceSummaryJobImageType.fetch.ts +18 -0
- package/src/api/api-schemas/instanceSummaryJobImageType.ts +5 -7
- package/src/api/api-schemas/instanceSummaryOutputs.fetch.ts +15 -0
- package/src/api/api-schemas/instanceSummaryOutputs.ts +5 -5
- package/src/api/api-schemas/instanceSummaryPhase.fetch.ts +27 -0
- package/src/api/api-schemas/instanceSummaryPhase.ts +6 -8
- package/src/api/api-schemas/instanceTask.fetch.ts +16 -0
- package/src/api/api-schemas/instanceTask.ts +5 -5
- package/src/api/api-schemas/instanceTaskPurpose.fetch.ts +14 -0
- package/src/api/api-schemas/instanceTaskPurpose.ts +5 -6
- package/src/api/api-schemas/instancesGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/instancesGetResponse.ts +5 -5
- package/src/api/api-schemas/inventoryDatasetDetail.fetch.ts +17 -0
- package/src/api/api-schemas/inventoryDatasetDetail.ts +5 -5
- package/src/api/api-schemas/inventoryProjectDetail.fetch.ts +16 -0
- package/src/api/api-schemas/inventoryProjectDetail.ts +5 -5
- package/src/api/api-schemas/inventoryUserDetail.fetch.ts +23 -0
- package/src/api/api-schemas/inventoryUserDetail.ts +6 -6
- package/src/api/api-schemas/inventoryUserDetailDatasets.fetch.ts +16 -0
- package/src/api/api-schemas/inventoryUserDetailDatasets.ts +5 -5
- package/src/api/api-schemas/inventoryUserDetailProjects.fetch.ts +17 -0
- package/src/api/api-schemas/inventoryUserDetailProjects.ts +5 -5
- package/src/api/api-schemas/inventoryUserGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/inventoryUserGetResponse.ts +6 -7
- package/src/api/api-schemas/jobApplication.fetch.ts +17 -0
- package/src/api/api-schemas/jobApplication.ts +5 -5
- package/src/api/api-schemas/jobExchangeRateSummary.fetch.ts +18 -0
- package/src/api/api-schemas/jobExchangeRateSummary.ts +5 -5
- package/src/api/api-schemas/jobGetResponse.fetch.ts +68 -0
- package/src/api/api-schemas/jobGetResponse.ts +31 -50
- package/src/api/api-schemas/jobGetResponseImageType.fetch.ts +18 -0
- package/src/api/api-schemas/jobGetResponseImageType.ts +5 -7
- package/src/api/api-schemas/jobManifestDetail.fetch.ts +32 -0
- package/src/api/api-schemas/jobManifestDetail.ts +12 -19
- package/src/api/api-schemas/jobManifestPutBodyBody.fetch.ts +25 -0
- package/src/api/api-schemas/jobManifestPutBodyBody.ts +5 -5
- package/src/api/api-schemas/jobOrderDetail.fetch.ts +14 -0
- package/src/api/api-schemas/jobOrderDetail.ts +5 -5
- package/src/api/api-schemas/jobReplacement.fetch.ts +15 -0
- package/src/api/api-schemas/jobReplacement.ts +5 -5
- package/src/api/api-schemas/jobReplacements.fetch.ts +16 -0
- package/src/api/api-schemas/jobReplacements.ts +5 -6
- package/src/api/api-schemas/jobSummary.fetch.ts +51 -0
- package/src/api/api-schemas/jobSummary.ts +25 -38
- package/src/api/api-schemas/jobSummaryImageType.fetch.ts +17 -0
- package/src/api/api-schemas/jobSummaryImageType.ts +5 -7
- package/src/api/api-schemas/jobVariables.fetch.ts +24 -0
- package/src/api/api-schemas/jobVariables.ts +9 -12
- package/src/api/api-schemas/jobVariablesInputs.fetch.ts +15 -0
- package/src/api/api-schemas/jobVariablesInputs.ts +5 -6
- package/src/api/api-schemas/jobVariablesOptions.fetch.ts +15 -0
- package/src/api/api-schemas/jobVariablesOptions.ts +5 -6
- package/src/api/api-schemas/jobVariablesOutputs.fetch.ts +15 -0
- package/src/api/api-schemas/jobVariablesOutputs.ts +5 -6
- package/src/api/api-schemas/jobsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/jobsGetResponse.ts +5 -5
- package/src/api/api-schemas/modeGetResponse.fetch.ts +15 -0
- package/src/api/api-schemas/modeGetResponse.ts +6 -7
- package/src/api/api-schemas/moveFileInProjectParams.fetch.ts +49 -0
- package/src/api/api-schemas/moveFileInProjectParams.ts +25 -29
- package/src/api/api-schemas/movePathParams.fetch.ts +35 -0
- package/src/api/api-schemas/movePathParams.ts +16 -18
- package/src/api/api-schemas/patchInstanceParams.fetch.ts +18 -0
- package/src/api/api-schemas/patchInstanceParams.ts +5 -5
- package/src/api/api-schemas/projectDeleteResponse.fetch.ts +13 -0
- package/src/api/api-schemas/projectDeleteResponse.ts +5 -5
- package/src/api/api-schemas/projectDetail.fetch.ts +41 -0
- package/src/api/api-schemas/projectDetail.ts +14 -23
- package/src/api/api-schemas/projectFileDetail.fetch.ts +36 -0
- package/src/api/api-schemas/projectFileDetail.ts +16 -27
- package/src/api/api-schemas/projectFileDetailProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/projectFileDetailProcessingStage.ts +5 -7
- package/src/api/api-schemas/projectFilePutBodyBody.fetch.ts +28 -0
- package/src/api/api-schemas/projectFilePutBodyBody.ts +7 -8
- package/src/api/api-schemas/projectGetResponse.fetch.ts +13 -0
- package/src/api/api-schemas/projectGetResponse.ts +5 -5
- package/src/api/api-schemas/projectPatchBodyBody.fetch.ts +16 -0
- package/src/api/api-schemas/projectPatchBodyBody.ts +6 -7
- package/src/api/api-schemas/projectPostBodyBody.fetch.ts +25 -0
- package/src/api/api-schemas/projectPostBodyBody.ts +6 -8
- package/src/api/api-schemas/projectPostResponse.fetch.ts +15 -0
- package/src/api/api-schemas/projectPostResponse.ts +6 -7
- package/src/api/api-schemas/projectsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/projectsGetResponse.ts +5 -5
- package/src/api/api-schemas/qActiveDaysParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qActiveDaysParameter.ts +5 -6
- package/src/api/api-schemas/qApplicationIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qApplicationIdParameter.ts +5 -6
- package/src/api/api-schemas/qCurrentParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qCurrentParameter.ts +5 -6
- package/src/api/api-schemas/qDatasetMimeTypeParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qDatasetMimeTypeParameter.ts +5 -6
- package/src/api/api-schemas/qDoNotImpersonateParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qDoNotImpersonateParameter.ts +5 -6
- package/src/api/api-schemas/qDstFileParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qDstFileParameter.ts +5 -6
- package/src/api/api-schemas/qEditorsParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qEditorsParameter.ts +5 -6
- package/src/api/api-schemas/qEventLimitParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qEventLimitParameter.ts +5 -6
- package/src/api/api-schemas/qEventPriorOrdinalParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qEventPriorOrdinalParameter.ts +5 -6
- package/src/api/api-schemas/qExcludeDoneParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qExcludeDoneParameter.ts +5 -6
- package/src/api/api-schemas/qExcludePurposeParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qExcludePurposeParameter.ts +5 -6
- package/src/api/api-schemas/qExcludeRemovalParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qExcludeRemovalParameter.ts +5 -6
- package/src/api/api-schemas/qFileDstPathParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileDstPathParameter.ts +5 -6
- package/src/api/api-schemas/qFileParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileParameter.ts +5 -6
- package/src/api/api-schemas/qFilePathParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFilePathParameter.ts +5 -6
- package/src/api/api-schemas/qFileProjectIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileProjectIdParameter.ts +5 -5
- package/src/api/api-schemas/qFileSrcPathParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileSrcPathParameter.ts +5 -6
- package/src/api/api-schemas/qFromParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFromParameter.ts +5 -6
- package/src/api/api-schemas/qIdleDaysParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIdleDaysParameter.ts +5 -6
- package/src/api/api-schemas/qIncludeAcknowledgedParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIncludeAcknowledgedParameter.ts +5 -6
- package/src/api/api-schemas/qIncludeDeletedParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIncludeDeletedParameter.ts +5 -5
- package/src/api/api-schemas/qIncludeHiddenParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIncludeHiddenParameter.ts +5 -5
- package/src/api/api-schemas/qInstanceArchiveParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qInstanceArchiveParameter.ts +5 -5
- package/src/api/api-schemas/qInstanceCallbackContextParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qInstanceCallbackContextParameter.ts +5 -5
- package/src/api/api-schemas/qJobCollectionParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobCollectionParameter.ts +5 -6
- package/src/api/api-schemas/qJobIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobIdParameter.ts +5 -6
- package/src/api/api-schemas/qJobJobParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobJobParameter.ts +5 -6
- package/src/api/api-schemas/qJobVersionParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobVersionParameter.ts +5 -6
- package/src/api/api-schemas/qKeepProjectFilesParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qKeepProjectFilesParameter.ts +5 -6
- package/src/api/api-schemas/qLabelsParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qLabelsParameter.ts +5 -6
- package/src/api/api-schemas/qOnlyUndefinedParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qOnlyUndefinedParameter.ts +5 -6
- package/src/api/api-schemas/qOrgIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qOrgIdParameter.ts +5 -5
- package/src/api/api-schemas/qOwnersParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qOwnersParameter.ts +5 -6
- package/src/api/api-schemas/qProjectIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qProjectIdParameter.ts +5 -5
- package/src/api/api-schemas/qProjectNameParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qProjectNameParameter.ts +5 -5
- package/src/api/api-schemas/qPurgeParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qPurgeParameter.ts +5 -5
- package/src/api/api-schemas/qPurposeParameter.fetch.ts +19 -0
- package/src/api/api-schemas/qPurposeParameter.ts +5 -6
- package/src/api/api-schemas/qTokenParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qTokenParameter.ts +5 -5
- package/src/api/api-schemas/qUnitIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUnitIdParameter.ts +5 -5
- package/src/api/api-schemas/qUntilParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUntilParameter.ts +5 -6
- package/src/api/api-schemas/qUsernameParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUsernameParameter.ts +5 -6
- package/src/api/api-schemas/qUsernamesParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUsernamesParameter.ts +5 -6
- package/src/api/api-schemas/qWorkflowIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qWorkflowIdParameter.ts +5 -6
- package/src/api/api-schemas/runningWorkflowGetAllResponse.fetch.ts +17 -0
- package/src/api/api-schemas/runningWorkflowGetAllResponse.ts +6 -7
- package/src/api/api-schemas/runningWorkflowGetResponse.fetch.ts +43 -0
- package/src/api/api-schemas/runningWorkflowGetResponse.ts +8 -10
- package/src/api/api-schemas/runningWorkflowGetResponseStatus.fetch.ts +23 -0
- package/src/api/api-schemas/runningWorkflowGetResponseStatus.ts +5 -6
- package/src/api/api-schemas/runningWorkflowGetResponseVariables.fetch.ts +15 -0
- package/src/api/api-schemas/runningWorkflowGetResponseVariables.ts +5 -6
- package/src/api/api-schemas/runningWorkflowProject.fetch.ts +17 -0
- package/src/api/api-schemas/runningWorkflowProject.ts +7 -9
- package/src/api/api-schemas/runningWorkflowStep.fetch.ts +33 -0
- package/src/api/api-schemas/runningWorkflowStep.ts +6 -6
- package/src/api/api-schemas/runningWorkflowStepStatus.fetch.ts +19 -0
- package/src/api/api-schemas/runningWorkflowStepStatus.ts +5 -6
- package/src/api/api-schemas/runningWorkflowStepVariables.fetch.ts +12 -0
- package/src/api/api-schemas/runningWorkflowStepVariables.ts +5 -5
- package/src/api/api-schemas/runningWorkflowStepsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/runningWorkflowStepsGetResponse.ts +5 -5
- package/src/api/api-schemas/runningWorkflowSummary.fetch.ts +30 -0
- package/src/api/api-schemas/runningWorkflowSummary.ts +9 -12
- package/src/api/api-schemas/runningWorkflowSummaryStatus.fetch.ts +23 -0
- package/src/api/api-schemas/runningWorkflowSummaryStatus.ts +5 -6
- package/src/api/api-schemas/runningWorkflowWorkflow.fetch.ts +19 -0
- package/src/api/api-schemas/runningWorkflowWorkflow.ts +7 -9
- package/src/api/api-schemas/serviceErrorSummary.fetch.ts +24 -0
- package/src/api/api-schemas/serviceErrorSummary.ts +5 -5
- package/src/api/api-schemas/serviceErrorSummarySeverity.fetch.ts +19 -0
- package/src/api/api-schemas/serviceErrorSummarySeverity.ts +5 -6
- package/src/api/api-schemas/serviceErrorsGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/serviceErrorsGetResponse.ts +7 -9
- package/src/api/api-schemas/taskEvent.fetch.ts +22 -0
- package/src/api/api-schemas/taskEvent.ts +9 -13
- package/src/api/api-schemas/taskEventLevel.fetch.ts +23 -0
- package/src/api/api-schemas/taskEventLevel.ts +5 -7
- package/src/api/api-schemas/taskGetResponse.fetch.ts +38 -0
- package/src/api/api-schemas/taskGetResponse.ts +17 -28
- package/src/api/api-schemas/taskGetResponsePurpose.fetch.ts +23 -0
- package/src/api/api-schemas/taskGetResponsePurpose.ts +5 -7
- package/src/api/api-schemas/taskIdentity.fetch.ts +14 -0
- package/src/api/api-schemas/taskIdentity.ts +5 -5
- package/src/api/api-schemas/taskState.fetch.ts +20 -0
- package/src/api/api-schemas/taskState.ts +8 -11
- package/src/api/api-schemas/taskStateState.fetch.ts +23 -0
- package/src/api/api-schemas/taskStateState.ts +5 -7
- package/src/api/api-schemas/taskSummary.fetch.ts +34 -0
- package/src/api/api-schemas/taskSummary.ts +15 -25
- package/src/api/api-schemas/taskSummaryProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/taskSummaryProcessingStage.ts +5 -7
- package/src/api/api-schemas/tasksGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/tasksGetResponse.ts +6 -7
- package/src/api/api-schemas/typeSummary.fetch.ts +24 -0
- package/src/api/api-schemas/typeSummary.ts +10 -15
- package/src/api/api-schemas/typeSummaryFormatterOptions.fetch.ts +24 -0
- package/src/api/api-schemas/typeSummaryFormatterOptions.ts +8 -12
- package/src/api/api-schemas/typeSummaryFormatterOptionsType.fetch.ts +18 -0
- package/src/api/api-schemas/typeSummaryFormatterOptionsType.ts +5 -7
- package/src/api/api-schemas/typesGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/typesGetResponse.ts +6 -7
- package/src/api/api-schemas/userAccountDetail.fetch.ts +19 -0
- package/src/api/api-schemas/userAccountDetail.ts +5 -5
- package/src/api/api-schemas/userAccountGetResponse.fetch.ts +13 -0
- package/src/api/api-schemas/userAccountGetResponse.ts +5 -5
- package/src/api/api-schemas/userAccountPatchBodyBody.fetch.ts +25 -0
- package/src/api/api-schemas/userAccountPatchBodyBody.ts +8 -12
- package/src/api/api-schemas/userActivityDetail.fetch.ts +24 -0
- package/src/api/api-schemas/userActivityDetail.ts +9 -13
- package/src/api/api-schemas/userActivityDetailPeriod.fetch.ts +23 -0
- package/src/api/api-schemas/userActivityDetailPeriod.ts +10 -15
- package/src/api/api-schemas/userApiLogGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/userApiLogGetResponse.ts +6 -7
- package/src/api/api-schemas/userApiTokenGetResponse.fetch.ts +14 -0
- package/src/api/api-schemas/userApiTokenGetResponse.ts +5 -5
- package/src/api/api-schemas/userDetail.fetch.ts +31 -0
- package/src/api/api-schemas/userDetail.ts +14 -23
- package/src/api/api-schemas/userPatchBodyBody.fetch.ts +15 -0
- package/src/api/api-schemas/userPatchBodyBody.ts +6 -7
- package/src/api/api-schemas/userSummary.fetch.ts +15 -0
- package/src/api/api-schemas/userSummary.ts +6 -7
- package/src/api/api-schemas/usersGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/usersGetResponse.ts +6 -7
- package/src/api/api-schemas/versionGetResponse.fetch.ts +15 -0
- package/src/api/api-schemas/versionGetResponse.ts +6 -7
- package/src/api/api-schemas/workflowDefinitionGetResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowDefinitionGetResponse.ts +5 -5
- package/src/api/api-schemas/workflowGetAllResponse.fetch.ts +17 -0
- package/src/api/api-schemas/workflowGetAllResponse.ts +6 -7
- package/src/api/api-schemas/workflowGetResponse.fetch.ts +46 -0
- package/src/api/api-schemas/workflowGetResponse.ts +12 -19
- package/src/api/api-schemas/workflowGetResponseScope.fetch.ts +22 -0
- package/src/api/api-schemas/workflowGetResponseScope.ts +5 -6
- package/src/api/api-schemas/workflowGetResponseVariables.fetch.ts +15 -0
- package/src/api/api-schemas/workflowGetResponseVariables.ts +5 -5
- package/src/api/api-schemas/workflowPatchBodyBody.fetch.ts +31 -0
- package/src/api/api-schemas/workflowPatchBodyBody.ts +15 -13
- package/src/api/api-schemas/workflowPatchResponse.fetch.ts +14 -0
- package/src/api/api-schemas/workflowPatchResponse.ts +5 -5
- package/src/api/api-schemas/workflowPostBodyBody.fetch.ts +36 -0
- package/src/api/api-schemas/workflowPostBodyBody.ts +17 -17
- package/src/api/api-schemas/workflowPostBodyBodyScope.fetch.ts +22 -0
- package/src/api/api-schemas/workflowPostBodyBodyScope.ts +5 -7
- package/src/api/api-schemas/workflowPostResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowPostResponse.ts +5 -5
- package/src/api/api-schemas/workflowRunPostBodyBody.fetch.ts +29 -0
- package/src/api/api-schemas/workflowRunPostBodyBody.ts +7 -11
- package/src/api/api-schemas/workflowRunPostResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowRunPostResponse.ts +5 -5
- package/src/api/api-schemas/workflowStepSummary.fetch.ts +18 -0
- package/src/api/api-schemas/workflowStepSummary.ts +7 -9
- package/src/api/api-schemas/workflowStepSummarySpecification.fetch.ts +15 -0
- package/src/api/api-schemas/workflowStepSummarySpecification.ts +5 -6
- package/src/api/api-schemas/workflowSummary.fetch.ts +32 -0
- package/src/api/api-schemas/workflowSummary.ts +13 -21
- package/src/api/api-schemas/workflowSummaryScope.fetch.ts +21 -0
- package/src/api/api-schemas/workflowSummaryScope.ts +5 -7
- package/src/api/api-schemas/workflowVersionPutBodyBody.fetch.ts +15 -0
- package/src/api/api-schemas/workflowVersionPutBodyBody.ts +6 -7
- package/src/api/api-schemas/workflowVersionPutResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowVersionPutResponse.ts +5 -5
- package/src/api/application/application.fetch.ts +52 -59
- package/src/api/application/application.ts +44 -51
- package/src/api/configuration/configuration.fetch.ts +40 -48
- package/src/api/configuration/configuration.ts +34 -42
- package/src/api/dataset/dataset.fetch.ts +748 -411
- package/src/api/dataset/dataset.ts +727 -385
- package/src/api/digest/digest.fetch.ts +32 -34
- package/src/api/digest/digest.ts +28 -30
- package/src/api/file-and-path/file-and-path.fetch.ts +1014 -578
- package/src/api/file-and-path/file-and-path.ts +996 -549
- package/src/api/instance/instance.fetch.ts +645 -348
- package/src/api/instance/instance.ts +628 -325
- package/src/api/inventory/inventory.fetch.ts +27 -32
- package/src/api/inventory/inventory.ts +22 -27
- package/src/api/job/job.fetch.ts +253 -207
- package/src/api/job/job.ts +227 -179
- package/src/api/metadata/metadata.fetch.ts +347 -181
- package/src/api/metadata/metadata.ts +336 -167
- package/src/api/project/project.fetch.ts +1187 -573
- package/src/api/project/project.ts +1194 -568
- package/src/api/task/task.fetch.ts +183 -138
- package/src/api/task/task.ts +175 -126
- package/src/api/type/type.fetch.ts +24 -29
- package/src/api/type/type.ts +20 -25
- package/src/api/user/user.fetch.ts +190 -156
- package/src/api/user/user.ts +173 -137
- package/src/api/workflow/workflow.fetch.ts +991 -553
- package/src/api/workflow/workflow.ts +961 -513
- package/tsdown.config.ts +1 -1
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.cts +0 -15
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.cts.map +0 -1
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.ts +0 -15
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.ts.map +0 -1
- package/src/api/api-schemas/getExchangeRatesResponseId.ts +0 -12
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Dataset Manager API
|
|
5
5
|
* The Dataset Manager API service.
|
|
6
|
-
|
|
7
|
-
A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
|
|
8
|
-
|
|
9
|
-
* OpenAPI spec version:
|
|
6
|
+
*
|
|
7
|
+
* A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
|
|
8
|
+
*
|
|
9
|
+
* OpenAPI spec version: 6.1
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
11
|
+
import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
|
13
13
|
DataTag,
|
|
14
14
|
DefinedInitialDataOptions,
|
|
15
15
|
DefinedUseQueryResult,
|
|
16
16
|
InvalidateOptions,
|
|
17
|
-
MutationFunction,
|
|
18
17
|
QueryClient,
|
|
19
18
|
QueryFunction,
|
|
20
19
|
QueryKey,
|
|
21
20
|
UndefinedInitialDataOptions,
|
|
22
|
-
UseMutationOptions,
|
|
23
|
-
UseMutationResult,
|
|
24
21
|
UseQueryOptions,
|
|
25
22
|
UseQueryResult,
|
|
26
23
|
UseSuspenseQueryOptions,
|
|
@@ -41,20 +38,13 @@ import type {
|
|
|
41
38
|
MoveFileInProjectParams,
|
|
42
39
|
MovePathParams,
|
|
43
40
|
ProjectFilePutBodyBody,
|
|
44
|
-
} from "
|
|
41
|
+
} from "../api-schemas";
|
|
45
42
|
|
|
46
43
|
import { customFetch } from "../../custom-fetch";
|
|
47
44
|
import type { ErrorType } from "../../custom-fetch";
|
|
48
45
|
|
|
49
46
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
50
47
|
|
|
51
|
-
/**
|
|
52
|
-
* Creates a new Path within a Project. Every directory in the Path will be created. The path will belong to the User and Project.
|
|
53
|
-
|
|
54
|
-
Only Project editors can create Paths.
|
|
55
|
-
|
|
56
|
-
* @summary Create a new Project Path
|
|
57
|
-
*/
|
|
58
48
|
export type createPathResponse201 = { data: void; status: 201 };
|
|
59
49
|
|
|
60
50
|
export type createPathResponse401 = { data: void; status: 401 };
|
|
@@ -77,7 +67,7 @@ export const getCreatePathUrl = (params: CreatePathParams) => {
|
|
|
77
67
|
|
|
78
68
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
79
69
|
if (value !== undefined) {
|
|
80
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
70
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
81
71
|
}
|
|
82
72
|
});
|
|
83
73
|
|
|
@@ -86,6 +76,12 @@ export const getCreatePathUrl = (params: CreatePathParams) => {
|
|
|
86
76
|
return stringifiedParams.length > 0 ? `/path?${stringifiedParams}` : `/path`;
|
|
87
77
|
};
|
|
88
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Creates a new Path within a Project. Every directory in the Path will be created. The path will belong to the User and Project.
|
|
81
|
+
*
|
|
82
|
+
* Only Project editors can create Paths.
|
|
83
|
+
* @summary Create a new Project Path
|
|
84
|
+
*/
|
|
89
85
|
export const createPath = async (
|
|
90
86
|
params: CreatePathParams,
|
|
91
87
|
options?: RequestInit,
|
|
@@ -93,77 +89,123 @@ export const createPath = async (
|
|
|
93
89
|
return customFetch<createPathResponse>(getCreatePathUrl(params), { ...options, method: "PUT" });
|
|
94
90
|
};
|
|
95
91
|
|
|
96
|
-
export const
|
|
92
|
+
export const getCreatePathQueryKey = (params?: CreatePathParams) => {
|
|
93
|
+
return ["data-manager", "PUT", "path", ...(params ? [params] : [])] as const;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export const getCreatePathQueryOptions = <
|
|
97
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
97
98
|
TError = ErrorType<void | DmError>,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
request?: SecondParameter<typeof customFetch>;
|
|
107
|
-
}): UseMutationOptions<
|
|
108
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
109
|
-
TError,
|
|
110
|
-
{ params: CreatePathParams },
|
|
111
|
-
TContext
|
|
112
|
-
> => {
|
|
113
|
-
const mutationKey = ["createPath"];
|
|
114
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
115
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
116
|
-
? options
|
|
117
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
118
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
119
|
-
|
|
120
|
-
const mutationFn: MutationFunction<
|
|
121
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
122
|
-
{ params: CreatePathParams }
|
|
123
|
-
> = (props) => {
|
|
124
|
-
const { params } = props ?? {};
|
|
99
|
+
>(
|
|
100
|
+
params: CreatePathParams,
|
|
101
|
+
options?: {
|
|
102
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
103
|
+
request?: SecondParameter<typeof customFetch>;
|
|
104
|
+
},
|
|
105
|
+
) => {
|
|
106
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
125
107
|
|
|
126
|
-
|
|
127
|
-
};
|
|
108
|
+
const queryKey = queryOptions?.queryKey ?? getCreatePathQueryKey(params);
|
|
128
109
|
|
|
129
|
-
|
|
130
|
-
};
|
|
110
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof createPath>>> = ({ signal }) =>
|
|
111
|
+
createPath(params, { signal, ...requestOptions });
|
|
131
112
|
|
|
132
|
-
|
|
113
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
114
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
115
|
+
TError,
|
|
116
|
+
TData
|
|
117
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
118
|
+
};
|
|
133
119
|
|
|
134
|
-
export type
|
|
120
|
+
export type CreatePathQueryResult = NonNullable<Awaited<ReturnType<typeof createPath>>>;
|
|
121
|
+
export type CreatePathQueryError = ErrorType<void | DmError>;
|
|
135
122
|
|
|
123
|
+
export function useCreatePath<
|
|
124
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
125
|
+
TError = ErrorType<void | DmError>,
|
|
126
|
+
>(
|
|
127
|
+
params: CreatePathParams,
|
|
128
|
+
options: {
|
|
129
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
|
|
130
|
+
Pick<
|
|
131
|
+
DefinedInitialDataOptions<
|
|
132
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
133
|
+
TError,
|
|
134
|
+
Awaited<ReturnType<typeof createPath>>
|
|
135
|
+
>,
|
|
136
|
+
"initialData"
|
|
137
|
+
>;
|
|
138
|
+
request?: SecondParameter<typeof customFetch>;
|
|
139
|
+
},
|
|
140
|
+
queryClient?: QueryClient,
|
|
141
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
142
|
+
export function useCreatePath<
|
|
143
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
144
|
+
TError = ErrorType<void | DmError>,
|
|
145
|
+
>(
|
|
146
|
+
params: CreatePathParams,
|
|
147
|
+
options?: {
|
|
148
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
|
|
149
|
+
Pick<
|
|
150
|
+
UndefinedInitialDataOptions<
|
|
151
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
152
|
+
TError,
|
|
153
|
+
Awaited<ReturnType<typeof createPath>>
|
|
154
|
+
>,
|
|
155
|
+
"initialData"
|
|
156
|
+
>;
|
|
157
|
+
request?: SecondParameter<typeof customFetch>;
|
|
158
|
+
},
|
|
159
|
+
queryClient?: QueryClient,
|
|
160
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
161
|
+
export function useCreatePath<
|
|
162
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
163
|
+
TError = ErrorType<void | DmError>,
|
|
164
|
+
>(
|
|
165
|
+
params: CreatePathParams,
|
|
166
|
+
options?: {
|
|
167
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
168
|
+
request?: SecondParameter<typeof customFetch>;
|
|
169
|
+
},
|
|
170
|
+
queryClient?: QueryClient,
|
|
171
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
136
172
|
/**
|
|
137
173
|
* @summary Create a new Project Path
|
|
138
174
|
*/
|
|
139
|
-
|
|
175
|
+
|
|
176
|
+
export function useCreatePath<
|
|
177
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
178
|
+
TError = ErrorType<void | DmError>,
|
|
179
|
+
>(
|
|
180
|
+
params: CreatePathParams,
|
|
140
181
|
options?: {
|
|
141
|
-
|
|
142
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
143
|
-
TError,
|
|
144
|
-
{ params: CreatePathParams },
|
|
145
|
-
TContext
|
|
146
|
-
>;
|
|
182
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
147
183
|
request?: SecondParameter<typeof customFetch>;
|
|
148
184
|
},
|
|
149
185
|
queryClient?: QueryClient,
|
|
150
|
-
):
|
|
151
|
-
|
|
152
|
-
TError,
|
|
153
|
-
{ params: CreatePathParams },
|
|
154
|
-
TContext
|
|
155
|
-
> => {
|
|
156
|
-
const mutationOptions = getCreatePathMutationOptions(options);
|
|
186
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
187
|
+
const queryOptions = getCreatePathQueryOptions(params, options);
|
|
157
188
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
* 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.
|
|
189
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
190
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
191
|
+
};
|
|
162
192
|
|
|
163
|
-
|
|
193
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
194
|
+
}
|
|
164
195
|
|
|
165
|
-
|
|
196
|
+
/**
|
|
197
|
+
* @summary Create a new Project Path
|
|
166
198
|
*/
|
|
199
|
+
export const invalidateCreatePath = async (
|
|
200
|
+
queryClient: QueryClient,
|
|
201
|
+
params: CreatePathParams,
|
|
202
|
+
options?: InvalidateOptions,
|
|
203
|
+
): Promise<QueryClient> => {
|
|
204
|
+
await queryClient.invalidateQueries({ queryKey: getCreatePathQueryKey(params) }, options);
|
|
205
|
+
|
|
206
|
+
return queryClient;
|
|
207
|
+
};
|
|
208
|
+
|
|
167
209
|
export type deletePathResponse204 = { data: void; status: 204 };
|
|
168
210
|
|
|
169
211
|
export type deletePathResponse401 = { data: void; status: 401 };
|
|
@@ -186,7 +228,7 @@ export const getDeletePathUrl = (params: DeletePathParams) => {
|
|
|
186
228
|
|
|
187
229
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
188
230
|
if (value !== undefined) {
|
|
189
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
231
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
190
232
|
}
|
|
191
233
|
});
|
|
192
234
|
|
|
@@ -195,6 +237,12 @@ export const getDeletePathUrl = (params: DeletePathParams) => {
|
|
|
195
237
|
return stringifiedParams.length > 0 ? `/path?${stringifiedParams}` : `/path`;
|
|
196
238
|
};
|
|
197
239
|
|
|
240
|
+
/**
|
|
241
|
+
* 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.
|
|
242
|
+
*
|
|
243
|
+
* Only Project editors can delete Paths.
|
|
244
|
+
* @summary Delete a Project Path
|
|
245
|
+
*/
|
|
198
246
|
export const deletePath = async (
|
|
199
247
|
params: DeletePathParams,
|
|
200
248
|
options?: RequestInit,
|
|
@@ -205,77 +253,123 @@ export const deletePath = async (
|
|
|
205
253
|
});
|
|
206
254
|
};
|
|
207
255
|
|
|
208
|
-
export const
|
|
256
|
+
export const getDeletePathQueryKey = (params?: DeletePathParams) => {
|
|
257
|
+
return ["data-manager", "DELETE", "path", ...(params ? [params] : [])] as const;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
export const getDeletePathQueryOptions = <
|
|
261
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
209
262
|
TError = ErrorType<void | DmError>,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
request?: SecondParameter<typeof customFetch>;
|
|
219
|
-
}): UseMutationOptions<
|
|
220
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
221
|
-
TError,
|
|
222
|
-
{ params: DeletePathParams },
|
|
223
|
-
TContext
|
|
224
|
-
> => {
|
|
225
|
-
const mutationKey = ["deletePath"];
|
|
226
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
227
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
228
|
-
? options
|
|
229
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
230
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
231
|
-
|
|
232
|
-
const mutationFn: MutationFunction<
|
|
233
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
234
|
-
{ params: DeletePathParams }
|
|
235
|
-
> = (props) => {
|
|
236
|
-
const { params } = props ?? {};
|
|
263
|
+
>(
|
|
264
|
+
params: DeletePathParams,
|
|
265
|
+
options?: {
|
|
266
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
267
|
+
request?: SecondParameter<typeof customFetch>;
|
|
268
|
+
},
|
|
269
|
+
) => {
|
|
270
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
237
271
|
|
|
238
|
-
|
|
239
|
-
};
|
|
272
|
+
const queryKey = queryOptions?.queryKey ?? getDeletePathQueryKey(params);
|
|
240
273
|
|
|
241
|
-
|
|
242
|
-
};
|
|
274
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deletePath>>> = ({ signal }) =>
|
|
275
|
+
deletePath(params, { signal, ...requestOptions });
|
|
243
276
|
|
|
244
|
-
|
|
277
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
278
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
279
|
+
TError,
|
|
280
|
+
TData
|
|
281
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
282
|
+
};
|
|
245
283
|
|
|
246
|
-
export type
|
|
284
|
+
export type DeletePathQueryResult = NonNullable<Awaited<ReturnType<typeof deletePath>>>;
|
|
285
|
+
export type DeletePathQueryError = ErrorType<void | DmError>;
|
|
247
286
|
|
|
287
|
+
export function useDeletePath<
|
|
288
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
289
|
+
TError = ErrorType<void | DmError>,
|
|
290
|
+
>(
|
|
291
|
+
params: DeletePathParams,
|
|
292
|
+
options: {
|
|
293
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
|
|
294
|
+
Pick<
|
|
295
|
+
DefinedInitialDataOptions<
|
|
296
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
297
|
+
TError,
|
|
298
|
+
Awaited<ReturnType<typeof deletePath>>
|
|
299
|
+
>,
|
|
300
|
+
"initialData"
|
|
301
|
+
>;
|
|
302
|
+
request?: SecondParameter<typeof customFetch>;
|
|
303
|
+
},
|
|
304
|
+
queryClient?: QueryClient,
|
|
305
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
306
|
+
export function useDeletePath<
|
|
307
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
308
|
+
TError = ErrorType<void | DmError>,
|
|
309
|
+
>(
|
|
310
|
+
params: DeletePathParams,
|
|
311
|
+
options?: {
|
|
312
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
|
|
313
|
+
Pick<
|
|
314
|
+
UndefinedInitialDataOptions<
|
|
315
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
316
|
+
TError,
|
|
317
|
+
Awaited<ReturnType<typeof deletePath>>
|
|
318
|
+
>,
|
|
319
|
+
"initialData"
|
|
320
|
+
>;
|
|
321
|
+
request?: SecondParameter<typeof customFetch>;
|
|
322
|
+
},
|
|
323
|
+
queryClient?: QueryClient,
|
|
324
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
325
|
+
export function useDeletePath<
|
|
326
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
327
|
+
TError = ErrorType<void | DmError>,
|
|
328
|
+
>(
|
|
329
|
+
params: DeletePathParams,
|
|
330
|
+
options?: {
|
|
331
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
332
|
+
request?: SecondParameter<typeof customFetch>;
|
|
333
|
+
},
|
|
334
|
+
queryClient?: QueryClient,
|
|
335
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
248
336
|
/**
|
|
249
337
|
* @summary Delete a Project Path
|
|
250
338
|
*/
|
|
251
|
-
|
|
339
|
+
|
|
340
|
+
export function useDeletePath<
|
|
341
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
342
|
+
TError = ErrorType<void | DmError>,
|
|
343
|
+
>(
|
|
344
|
+
params: DeletePathParams,
|
|
252
345
|
options?: {
|
|
253
|
-
|
|
254
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
255
|
-
TError,
|
|
256
|
-
{ params: DeletePathParams },
|
|
257
|
-
TContext
|
|
258
|
-
>;
|
|
346
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
259
347
|
request?: SecondParameter<typeof customFetch>;
|
|
260
348
|
},
|
|
261
349
|
queryClient?: QueryClient,
|
|
262
|
-
):
|
|
263
|
-
|
|
264
|
-
TError,
|
|
265
|
-
{ params: DeletePathParams },
|
|
266
|
-
TContext
|
|
267
|
-
> => {
|
|
268
|
-
const mutationOptions = getDeletePathMutationOptions(options);
|
|
350
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
351
|
+
const queryOptions = getDeletePathQueryOptions(params, options);
|
|
269
352
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
* 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.
|
|
353
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
354
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
355
|
+
};
|
|
274
356
|
|
|
275
|
-
|
|
357
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
358
|
+
}
|
|
276
359
|
|
|
277
|
-
|
|
360
|
+
/**
|
|
361
|
+
* @summary Delete a Project Path
|
|
278
362
|
*/
|
|
363
|
+
export const invalidateDeletePath = async (
|
|
364
|
+
queryClient: QueryClient,
|
|
365
|
+
params: DeletePathParams,
|
|
366
|
+
options?: InvalidateOptions,
|
|
367
|
+
): Promise<QueryClient> => {
|
|
368
|
+
await queryClient.invalidateQueries({ queryKey: getDeletePathQueryKey(params) }, options);
|
|
369
|
+
|
|
370
|
+
return queryClient;
|
|
371
|
+
};
|
|
372
|
+
|
|
279
373
|
export type movePathResponse200 = { data: void; status: 200 };
|
|
280
374
|
|
|
281
375
|
export type movePathResponse401 = { data: void; status: 401 };
|
|
@@ -298,7 +392,7 @@ export const getMovePathUrl = (params: MovePathParams) => {
|
|
|
298
392
|
|
|
299
393
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
300
394
|
if (value !== undefined) {
|
|
301
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
395
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
302
396
|
}
|
|
303
397
|
});
|
|
304
398
|
|
|
@@ -307,6 +401,12 @@ export const getMovePathUrl = (params: MovePathParams) => {
|
|
|
307
401
|
return stringifiedParams.length > 0 ? `/path/move?${stringifiedParams}` : `/path/move`;
|
|
308
402
|
};
|
|
309
403
|
|
|
404
|
+
/**
|
|
405
|
+
* 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.
|
|
406
|
+
*
|
|
407
|
+
* Only Project editors can move Paths.
|
|
408
|
+
* @summary Move a Project Path
|
|
409
|
+
*/
|
|
310
410
|
export const movePath = async (
|
|
311
411
|
params: MovePathParams,
|
|
312
412
|
options?: RequestInit,
|
|
@@ -314,79 +414,123 @@ export const movePath = async (
|
|
|
314
414
|
return customFetch<movePathResponse>(getMovePathUrl(params), { ...options, method: "PUT" });
|
|
315
415
|
};
|
|
316
416
|
|
|
317
|
-
export const
|
|
417
|
+
export const getMovePathQueryKey = (params?: MovePathParams) => {
|
|
418
|
+
return ["data-manager", "PUT", "path", "move", ...(params ? [params] : [])] as const;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
export const getMovePathQueryOptions = <
|
|
422
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
318
423
|
TError = ErrorType<void | DmError>,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
request?: SecondParameter<typeof customFetch>;
|
|
328
|
-
}): UseMutationOptions<
|
|
329
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
330
|
-
TError,
|
|
331
|
-
{ params: MovePathParams },
|
|
332
|
-
TContext
|
|
333
|
-
> => {
|
|
334
|
-
const mutationKey = ["movePath"];
|
|
335
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
336
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
337
|
-
? options
|
|
338
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
339
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
340
|
-
|
|
341
|
-
const mutationFn: MutationFunction<
|
|
342
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
343
|
-
{ params: MovePathParams }
|
|
344
|
-
> = (props) => {
|
|
345
|
-
const { params } = props ?? {};
|
|
424
|
+
>(
|
|
425
|
+
params: MovePathParams,
|
|
426
|
+
options?: {
|
|
427
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
428
|
+
request?: SecondParameter<typeof customFetch>;
|
|
429
|
+
},
|
|
430
|
+
) => {
|
|
431
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
346
432
|
|
|
347
|
-
|
|
348
|
-
};
|
|
433
|
+
const queryKey = queryOptions?.queryKey ?? getMovePathQueryKey(params);
|
|
349
434
|
|
|
350
|
-
|
|
351
|
-
};
|
|
435
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof movePath>>> = ({ signal }) =>
|
|
436
|
+
movePath(params, { signal, ...requestOptions });
|
|
352
437
|
|
|
353
|
-
|
|
438
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
439
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
440
|
+
TError,
|
|
441
|
+
TData
|
|
442
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
443
|
+
};
|
|
354
444
|
|
|
355
|
-
export type
|
|
445
|
+
export type MovePathQueryResult = NonNullable<Awaited<ReturnType<typeof movePath>>>;
|
|
446
|
+
export type MovePathQueryError = ErrorType<void | DmError>;
|
|
356
447
|
|
|
448
|
+
export function useMovePath<
|
|
449
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
450
|
+
TError = ErrorType<void | DmError>,
|
|
451
|
+
>(
|
|
452
|
+
params: MovePathParams,
|
|
453
|
+
options: {
|
|
454
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
|
|
455
|
+
Pick<
|
|
456
|
+
DefinedInitialDataOptions<
|
|
457
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
458
|
+
TError,
|
|
459
|
+
Awaited<ReturnType<typeof movePath>>
|
|
460
|
+
>,
|
|
461
|
+
"initialData"
|
|
462
|
+
>;
|
|
463
|
+
request?: SecondParameter<typeof customFetch>;
|
|
464
|
+
},
|
|
465
|
+
queryClient?: QueryClient,
|
|
466
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
467
|
+
export function useMovePath<
|
|
468
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
469
|
+
TError = ErrorType<void | DmError>,
|
|
470
|
+
>(
|
|
471
|
+
params: MovePathParams,
|
|
472
|
+
options?: {
|
|
473
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
|
|
474
|
+
Pick<
|
|
475
|
+
UndefinedInitialDataOptions<
|
|
476
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
477
|
+
TError,
|
|
478
|
+
Awaited<ReturnType<typeof movePath>>
|
|
479
|
+
>,
|
|
480
|
+
"initialData"
|
|
481
|
+
>;
|
|
482
|
+
request?: SecondParameter<typeof customFetch>;
|
|
483
|
+
},
|
|
484
|
+
queryClient?: QueryClient,
|
|
485
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
486
|
+
export function useMovePath<
|
|
487
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
488
|
+
TError = ErrorType<void | DmError>,
|
|
489
|
+
>(
|
|
490
|
+
params: MovePathParams,
|
|
491
|
+
options?: {
|
|
492
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
493
|
+
request?: SecondParameter<typeof customFetch>;
|
|
494
|
+
},
|
|
495
|
+
queryClient?: QueryClient,
|
|
496
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
357
497
|
/**
|
|
358
498
|
* @summary Move a Project Path
|
|
359
499
|
*/
|
|
360
|
-
|
|
500
|
+
|
|
501
|
+
export function useMovePath<
|
|
502
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
503
|
+
TError = ErrorType<void | DmError>,
|
|
504
|
+
>(
|
|
505
|
+
params: MovePathParams,
|
|
361
506
|
options?: {
|
|
362
|
-
|
|
363
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
364
|
-
TError,
|
|
365
|
-
{ params: MovePathParams },
|
|
366
|
-
TContext
|
|
367
|
-
>;
|
|
507
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
368
508
|
request?: SecondParameter<typeof customFetch>;
|
|
369
509
|
},
|
|
370
510
|
queryClient?: QueryClient,
|
|
371
|
-
):
|
|
372
|
-
|
|
373
|
-
TError,
|
|
374
|
-
{ params: MovePathParams },
|
|
375
|
-
TContext
|
|
376
|
-
> => {
|
|
377
|
-
const mutationOptions = getMovePathMutationOptions(options);
|
|
378
|
-
|
|
379
|
-
return useMutation(mutationOptions, queryClient);
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* 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).
|
|
511
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
512
|
+
const queryOptions = getMovePathQueryOptions(params, options);
|
|
383
513
|
|
|
384
|
-
|
|
514
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
515
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
516
|
+
};
|
|
385
517
|
|
|
386
|
-
|
|
518
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
519
|
+
}
|
|
387
520
|
|
|
388
|
-
|
|
521
|
+
/**
|
|
522
|
+
* @summary Move a Project Path
|
|
389
523
|
*/
|
|
524
|
+
export const invalidateMovePath = async (
|
|
525
|
+
queryClient: QueryClient,
|
|
526
|
+
params: MovePathParams,
|
|
527
|
+
options?: InvalidateOptions,
|
|
528
|
+
): Promise<QueryClient> => {
|
|
529
|
+
await queryClient.invalidateQueries({ queryKey: getMovePathQueryKey(params) }, options);
|
|
530
|
+
|
|
531
|
+
return queryClient;
|
|
532
|
+
};
|
|
533
|
+
|
|
390
534
|
export type getProjectFileResponse200 = { data: void; status: 200 };
|
|
391
535
|
|
|
392
536
|
export type getProjectFileResponse401 = { data: void; status: 401 };
|
|
@@ -409,7 +553,7 @@ export const getGetProjectFileUrl = (projectId: string, params: GetProjectFilePa
|
|
|
409
553
|
|
|
410
554
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
411
555
|
if (value !== undefined) {
|
|
412
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
556
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
413
557
|
}
|
|
414
558
|
});
|
|
415
559
|
|
|
@@ -420,6 +564,14 @@ export const getGetProjectFileUrl = (projectId: string, params: GetProjectFilePa
|
|
|
420
564
|
: `/project/${projectId}/file`;
|
|
421
565
|
};
|
|
422
566
|
|
|
567
|
+
/**
|
|
568
|
+
* 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).
|
|
569
|
+
*
|
|
570
|
+
* For **managed** files you should consider using the `/file/{file_id}` endpoint.
|
|
571
|
+
*
|
|
572
|
+
* You must be an `editor` of the Project if the Project is `private`
|
|
573
|
+
* @summary Download a Project file
|
|
574
|
+
*/
|
|
423
575
|
export const getProjectFile = async (
|
|
424
576
|
projectId: string,
|
|
425
577
|
params: GetProjectFileParams,
|
|
@@ -431,7 +583,7 @@ export const getProjectFile = async (
|
|
|
431
583
|
});
|
|
432
584
|
};
|
|
433
585
|
|
|
434
|
-
export const getGetProjectFileQueryKey = (projectId
|
|
586
|
+
export const getGetProjectFileQueryKey = (projectId: string, params?: GetProjectFileParams) => {
|
|
435
587
|
return ["data-manager", "project", projectId, "file", ...(params ? [params] : [])] as const;
|
|
436
588
|
};
|
|
437
589
|
|
|
@@ -453,11 +605,14 @@ export const getGetProjectFileQueryOptions = <
|
|
|
453
605
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>
|
|
454
606
|
getProjectFile(projectId, params, { signal, ...requestOptions });
|
|
455
607
|
|
|
456
|
-
return {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
608
|
+
return {
|
|
609
|
+
queryKey,
|
|
610
|
+
queryFn,
|
|
611
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
612
|
+
...queryOptions,
|
|
613
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData> & {
|
|
614
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
615
|
+
};
|
|
461
616
|
};
|
|
462
617
|
|
|
463
618
|
export type GetProjectFileQueryResult = NonNullable<Awaited<ReturnType<typeof getProjectFile>>>;
|
|
@@ -482,7 +637,7 @@ export function useGetProjectFile<
|
|
|
482
637
|
request?: SecondParameter<typeof customFetch>;
|
|
483
638
|
},
|
|
484
639
|
queryClient?: QueryClient,
|
|
485
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
640
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
486
641
|
export function useGetProjectFile<
|
|
487
642
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
488
643
|
TError = ErrorType<void | DmError>,
|
|
@@ -502,7 +657,7 @@ export function useGetProjectFile<
|
|
|
502
657
|
request?: SecondParameter<typeof customFetch>;
|
|
503
658
|
},
|
|
504
659
|
queryClient?: QueryClient,
|
|
505
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
660
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
506
661
|
export function useGetProjectFile<
|
|
507
662
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
508
663
|
TError = ErrorType<void | DmError>,
|
|
@@ -514,7 +669,7 @@ export function useGetProjectFile<
|
|
|
514
669
|
request?: SecondParameter<typeof customFetch>;
|
|
515
670
|
},
|
|
516
671
|
queryClient?: QueryClient,
|
|
517
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
672
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
518
673
|
/**
|
|
519
674
|
* @summary Download a Project file
|
|
520
675
|
*/
|
|
@@ -530,16 +685,14 @@ export function useGetProjectFile<
|
|
|
530
685
|
request?: SecondParameter<typeof customFetch>;
|
|
531
686
|
},
|
|
532
687
|
queryClient?: QueryClient,
|
|
533
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
688
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
534
689
|
const queryOptions = getGetProjectFileQueryOptions(projectId, params, options);
|
|
535
690
|
|
|
536
691
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
537
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
692
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
538
693
|
};
|
|
539
694
|
|
|
540
|
-
query
|
|
541
|
-
|
|
542
|
-
return query;
|
|
695
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
543
696
|
}
|
|
544
697
|
|
|
545
698
|
/**
|
|
@@ -583,7 +736,7 @@ export const getGetProjectFileSuspenseQueryOptions = <
|
|
|
583
736
|
Awaited<ReturnType<typeof getProjectFile>>,
|
|
584
737
|
TError,
|
|
585
738
|
TData
|
|
586
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
739
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
587
740
|
};
|
|
588
741
|
|
|
589
742
|
export type GetProjectFileSuspenseQueryResult = NonNullable<
|
|
@@ -604,7 +757,7 @@ export function useGetProjectFileSuspense<
|
|
|
604
757
|
request?: SecondParameter<typeof customFetch>;
|
|
605
758
|
},
|
|
606
759
|
queryClient?: QueryClient,
|
|
607
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
760
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
608
761
|
export function useGetProjectFileSuspense<
|
|
609
762
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
610
763
|
TError = ErrorType<void | DmError>,
|
|
@@ -618,7 +771,7 @@ export function useGetProjectFileSuspense<
|
|
|
618
771
|
request?: SecondParameter<typeof customFetch>;
|
|
619
772
|
},
|
|
620
773
|
queryClient?: QueryClient,
|
|
621
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
774
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
622
775
|
export function useGetProjectFileSuspense<
|
|
623
776
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
624
777
|
TError = ErrorType<void | DmError>,
|
|
@@ -632,7 +785,7 @@ export function useGetProjectFileSuspense<
|
|
|
632
785
|
request?: SecondParameter<typeof customFetch>;
|
|
633
786
|
},
|
|
634
787
|
queryClient?: QueryClient,
|
|
635
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
788
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
636
789
|
/**
|
|
637
790
|
* @summary Download a Project file
|
|
638
791
|
*/
|
|
@@ -650,27 +803,18 @@ export function useGetProjectFileSuspense<
|
|
|
650
803
|
request?: SecondParameter<typeof customFetch>;
|
|
651
804
|
},
|
|
652
805
|
queryClient?: QueryClient,
|
|
653
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
806
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
654
807
|
const queryOptions = getGetProjectFileSuspenseQueryOptions(projectId, params, options);
|
|
655
808
|
|
|
656
809
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
657
810
|
TData,
|
|
658
811
|
TError
|
|
659
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
812
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
660
813
|
|
|
661
|
-
query
|
|
662
|
-
|
|
663
|
-
return query;
|
|
814
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
664
815
|
}
|
|
665
816
|
|
|
666
|
-
|
|
667
|
-
* The user provides an external file for upload to the Project using an optional Path. The path is created if it does not exist.
|
|
668
|
-
|
|
669
|
-
You must be an `editor` of the project
|
|
670
|
-
|
|
671
|
-
* @summary Upload a file into a Project
|
|
672
|
-
*/
|
|
673
|
-
export type addFileToProjectResponse201 = { data: void; status: 201 };
|
|
817
|
+
export type addFileToProjectResponse201 = { data: void; status: 201 };
|
|
674
818
|
|
|
675
819
|
export type addFileToProjectResponse401 = { data: void; status: 401 };
|
|
676
820
|
|
|
@@ -693,6 +837,12 @@ export const getAddFileToProjectUrl = (projectId: string) => {
|
|
|
693
837
|
return `/project/${projectId}/file`;
|
|
694
838
|
};
|
|
695
839
|
|
|
840
|
+
/**
|
|
841
|
+
* The user provides an external file for upload to the Project using an optional Path. The path is created if it does not exist.
|
|
842
|
+
*
|
|
843
|
+
* You must be an `editor` of the project
|
|
844
|
+
* @summary Upload a file into a Project
|
|
845
|
+
*/
|
|
696
846
|
export const addFileToProject = async (
|
|
697
847
|
projectId: string,
|
|
698
848
|
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
@@ -714,81 +864,139 @@ export const addFileToProject = async (
|
|
|
714
864
|
});
|
|
715
865
|
};
|
|
716
866
|
|
|
717
|
-
export const
|
|
867
|
+
export const getAddFileToProjectQueryKey = (
|
|
868
|
+
projectId: string,
|
|
869
|
+
projectFilePutBodyBody?: ProjectFilePutBodyBody,
|
|
870
|
+
) => {
|
|
871
|
+
return ["data-manager", "PUT", "project", projectId, "file", projectFilePutBodyBody] as const;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
export const getAddFileToProjectQueryOptions = <
|
|
875
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
718
876
|
TError = ErrorType<void | DmError>,
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
TError,
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
request
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
732
|
-
TContext
|
|
733
|
-
> => {
|
|
734
|
-
const mutationKey = ["addFileToProject"];
|
|
735
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
736
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
737
|
-
? options
|
|
738
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
739
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
740
|
-
|
|
741
|
-
const mutationFn: MutationFunction<
|
|
742
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
743
|
-
{ projectId: string; data: ProjectFilePutBodyBody }
|
|
744
|
-
> = (props) => {
|
|
745
|
-
const { projectId, data } = props ?? {};
|
|
746
|
-
|
|
747
|
-
return addFileToProject(projectId, data, requestOptions);
|
|
748
|
-
};
|
|
877
|
+
>(
|
|
878
|
+
projectId: string,
|
|
879
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
880
|
+
options?: {
|
|
881
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
882
|
+
request?: SecondParameter<typeof customFetch>;
|
|
883
|
+
},
|
|
884
|
+
) => {
|
|
885
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
886
|
+
|
|
887
|
+
const queryKey =
|
|
888
|
+
queryOptions?.queryKey ?? getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody);
|
|
749
889
|
|
|
750
|
-
|
|
890
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addFileToProject>>> = ({ signal }) =>
|
|
891
|
+
addFileToProject(projectId, projectFilePutBodyBody, { signal, ...requestOptions });
|
|
892
|
+
|
|
893
|
+
return {
|
|
894
|
+
queryKey,
|
|
895
|
+
queryFn,
|
|
896
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
897
|
+
...queryOptions,
|
|
898
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData> & {
|
|
899
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
900
|
+
};
|
|
751
901
|
};
|
|
752
902
|
|
|
753
|
-
export type
|
|
754
|
-
|
|
755
|
-
>;
|
|
756
|
-
export type AddFileToProjectMutationBody = ProjectFilePutBodyBody;
|
|
757
|
-
export type AddFileToProjectMutationError = ErrorType<void | DmError>;
|
|
903
|
+
export type AddFileToProjectQueryResult = NonNullable<Awaited<ReturnType<typeof addFileToProject>>>;
|
|
904
|
+
export type AddFileToProjectQueryError = ErrorType<void | DmError>;
|
|
758
905
|
|
|
906
|
+
export function useAddFileToProject<
|
|
907
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
908
|
+
TError = ErrorType<void | DmError>,
|
|
909
|
+
>(
|
|
910
|
+
projectId: string,
|
|
911
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
912
|
+
options: {
|
|
913
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
|
|
914
|
+
Pick<
|
|
915
|
+
DefinedInitialDataOptions<
|
|
916
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
917
|
+
TError,
|
|
918
|
+
Awaited<ReturnType<typeof addFileToProject>>
|
|
919
|
+
>,
|
|
920
|
+
"initialData"
|
|
921
|
+
>;
|
|
922
|
+
request?: SecondParameter<typeof customFetch>;
|
|
923
|
+
},
|
|
924
|
+
queryClient?: QueryClient,
|
|
925
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
926
|
+
export function useAddFileToProject<
|
|
927
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
928
|
+
TError = ErrorType<void | DmError>,
|
|
929
|
+
>(
|
|
930
|
+
projectId: string,
|
|
931
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
932
|
+
options?: {
|
|
933
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
|
|
934
|
+
Pick<
|
|
935
|
+
UndefinedInitialDataOptions<
|
|
936
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
937
|
+
TError,
|
|
938
|
+
Awaited<ReturnType<typeof addFileToProject>>
|
|
939
|
+
>,
|
|
940
|
+
"initialData"
|
|
941
|
+
>;
|
|
942
|
+
request?: SecondParameter<typeof customFetch>;
|
|
943
|
+
},
|
|
944
|
+
queryClient?: QueryClient,
|
|
945
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
946
|
+
export function useAddFileToProject<
|
|
947
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
948
|
+
TError = ErrorType<void | DmError>,
|
|
949
|
+
>(
|
|
950
|
+
projectId: string,
|
|
951
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
952
|
+
options?: {
|
|
953
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
954
|
+
request?: SecondParameter<typeof customFetch>;
|
|
955
|
+
},
|
|
956
|
+
queryClient?: QueryClient,
|
|
957
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
759
958
|
/**
|
|
760
959
|
* @summary Upload a file into a Project
|
|
761
960
|
*/
|
|
762
|
-
|
|
961
|
+
|
|
962
|
+
export function useAddFileToProject<
|
|
963
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
964
|
+
TError = ErrorType<void | DmError>,
|
|
965
|
+
>(
|
|
966
|
+
projectId: string,
|
|
967
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
763
968
|
options?: {
|
|
764
|
-
|
|
765
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
766
|
-
TError,
|
|
767
|
-
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
768
|
-
TContext
|
|
769
|
-
>;
|
|
969
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
770
970
|
request?: SecondParameter<typeof customFetch>;
|
|
771
971
|
},
|
|
772
972
|
queryClient?: QueryClient,
|
|
773
|
-
):
|
|
774
|
-
|
|
775
|
-
TError,
|
|
776
|
-
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
777
|
-
TContext
|
|
778
|
-
> => {
|
|
779
|
-
const mutationOptions = getAddFileToProjectMutationOptions(options);
|
|
973
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
974
|
+
const queryOptions = getAddFileToProjectQueryOptions(projectId, projectFilePutBodyBody, options);
|
|
780
975
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
* 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).
|
|
785
|
-
|
|
786
|
-
For **managed** files you should consider using the `/file/{file_id}` endpoint.
|
|
976
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
977
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
978
|
+
};
|
|
787
979
|
|
|
788
|
-
|
|
980
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
981
|
+
}
|
|
789
982
|
|
|
790
|
-
|
|
983
|
+
/**
|
|
984
|
+
* @summary Upload a file into a Project
|
|
791
985
|
*/
|
|
986
|
+
export const invalidateAddFileToProject = async (
|
|
987
|
+
queryClient: QueryClient,
|
|
988
|
+
projectId: string,
|
|
989
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
990
|
+
options?: InvalidateOptions,
|
|
991
|
+
): Promise<QueryClient> => {
|
|
992
|
+
await queryClient.invalidateQueries(
|
|
993
|
+
{ queryKey: getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody) },
|
|
994
|
+
options,
|
|
995
|
+
);
|
|
996
|
+
|
|
997
|
+
return queryClient;
|
|
998
|
+
};
|
|
999
|
+
|
|
792
1000
|
export type getProjectFileWithTokenResponse200 = { data: void; status: 200 };
|
|
793
1001
|
|
|
794
1002
|
export type getProjectFileWithTokenResponse403 = { data: DmError; status: 403 };
|
|
@@ -815,7 +1023,7 @@ export const getGetProjectFileWithTokenUrl = (
|
|
|
815
1023
|
|
|
816
1024
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
817
1025
|
if (value !== undefined) {
|
|
818
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
1026
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
819
1027
|
}
|
|
820
1028
|
});
|
|
821
1029
|
|
|
@@ -826,6 +1034,14 @@ export const getGetProjectFileWithTokenUrl = (
|
|
|
826
1034
|
: `/project/${projectId}/file-with-token`;
|
|
827
1035
|
};
|
|
828
1036
|
|
|
1037
|
+
/**
|
|
1038
|
+
* 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).
|
|
1039
|
+
*
|
|
1040
|
+
* For **managed** files you should consider using the `/file/{file_id}` endpoint.
|
|
1041
|
+
*
|
|
1042
|
+
* As 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.
|
|
1043
|
+
* @summary Download a Project file using a Token
|
|
1044
|
+
*/
|
|
829
1045
|
export const getProjectFileWithToken = async (
|
|
830
1046
|
projectId: string,
|
|
831
1047
|
params: GetProjectFileWithTokenParams,
|
|
@@ -838,7 +1054,7 @@ export const getProjectFileWithToken = async (
|
|
|
838
1054
|
};
|
|
839
1055
|
|
|
840
1056
|
export const getGetProjectFileWithTokenQueryKey = (
|
|
841
|
-
projectId
|
|
1057
|
+
projectId: string,
|
|
842
1058
|
params?: GetProjectFileWithTokenParams,
|
|
843
1059
|
) => {
|
|
844
1060
|
return [
|
|
@@ -871,11 +1087,14 @@ export const getGetProjectFileWithTokenQueryOptions = <
|
|
|
871
1087
|
signal,
|
|
872
1088
|
}) => getProjectFileWithToken(projectId, params, { signal, ...requestOptions });
|
|
873
1089
|
|
|
874
|
-
return {
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
1090
|
+
return {
|
|
1091
|
+
queryKey,
|
|
1092
|
+
queryFn,
|
|
1093
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
1094
|
+
...queryOptions,
|
|
1095
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData> & {
|
|
1096
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1097
|
+
};
|
|
879
1098
|
};
|
|
880
1099
|
|
|
881
1100
|
export type GetProjectFileWithTokenQueryResult = NonNullable<
|
|
@@ -904,7 +1123,7 @@ export function useGetProjectFileWithToken<
|
|
|
904
1123
|
request?: SecondParameter<typeof customFetch>;
|
|
905
1124
|
},
|
|
906
1125
|
queryClient?: QueryClient,
|
|
907
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1126
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
908
1127
|
export function useGetProjectFileWithToken<
|
|
909
1128
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
910
1129
|
TError = ErrorType<DmError>,
|
|
@@ -926,7 +1145,7 @@ export function useGetProjectFileWithToken<
|
|
|
926
1145
|
request?: SecondParameter<typeof customFetch>;
|
|
927
1146
|
},
|
|
928
1147
|
queryClient?: QueryClient,
|
|
929
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1148
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
930
1149
|
export function useGetProjectFileWithToken<
|
|
931
1150
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
932
1151
|
TError = ErrorType<DmError>,
|
|
@@ -940,7 +1159,7 @@ export function useGetProjectFileWithToken<
|
|
|
940
1159
|
request?: SecondParameter<typeof customFetch>;
|
|
941
1160
|
},
|
|
942
1161
|
queryClient?: QueryClient,
|
|
943
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1162
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
944
1163
|
/**
|
|
945
1164
|
* @summary Download a Project file using a Token
|
|
946
1165
|
*/
|
|
@@ -958,16 +1177,14 @@ export function useGetProjectFileWithToken<
|
|
|
958
1177
|
request?: SecondParameter<typeof customFetch>;
|
|
959
1178
|
},
|
|
960
1179
|
queryClient?: QueryClient,
|
|
961
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1180
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
962
1181
|
const queryOptions = getGetProjectFileWithTokenQueryOptions(projectId, params, options);
|
|
963
1182
|
|
|
964
1183
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
965
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1184
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
966
1185
|
};
|
|
967
1186
|
|
|
968
|
-
query
|
|
969
|
-
|
|
970
|
-
return query;
|
|
1187
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
971
1188
|
}
|
|
972
1189
|
|
|
973
1190
|
/**
|
|
@@ -1012,7 +1229,7 @@ export const getGetProjectFileWithTokenSuspenseQueryOptions = <
|
|
|
1012
1229
|
Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
1013
1230
|
TError,
|
|
1014
1231
|
TData
|
|
1015
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1232
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1016
1233
|
};
|
|
1017
1234
|
|
|
1018
1235
|
export type GetProjectFileWithTokenSuspenseQueryResult = NonNullable<
|
|
@@ -1033,7 +1250,7 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
1033
1250
|
request?: SecondParameter<typeof customFetch>;
|
|
1034
1251
|
},
|
|
1035
1252
|
queryClient?: QueryClient,
|
|
1036
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1253
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1037
1254
|
export function useGetProjectFileWithTokenSuspense<
|
|
1038
1255
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
1039
1256
|
TError = ErrorType<DmError>,
|
|
@@ -1047,7 +1264,7 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
1047
1264
|
request?: SecondParameter<typeof customFetch>;
|
|
1048
1265
|
},
|
|
1049
1266
|
queryClient?: QueryClient,
|
|
1050
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1267
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1051
1268
|
export function useGetProjectFileWithTokenSuspense<
|
|
1052
1269
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
1053
1270
|
TError = ErrorType<DmError>,
|
|
@@ -1061,7 +1278,7 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
1061
1278
|
request?: SecondParameter<typeof customFetch>;
|
|
1062
1279
|
},
|
|
1063
1280
|
queryClient?: QueryClient,
|
|
1064
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1281
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1065
1282
|
/**
|
|
1066
1283
|
* @summary Download a Project file using a Token
|
|
1067
1284
|
*/
|
|
@@ -1079,24 +1296,17 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
1079
1296
|
request?: SecondParameter<typeof customFetch>;
|
|
1080
1297
|
},
|
|
1081
1298
|
queryClient?: QueryClient,
|
|
1082
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1299
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1083
1300
|
const queryOptions = getGetProjectFileWithTokenSuspenseQueryOptions(projectId, params, options);
|
|
1084
1301
|
|
|
1085
1302
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1086
1303
|
TData,
|
|
1087
1304
|
TError
|
|
1088
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1089
|
-
|
|
1090
|
-
query.queryKey = queryOptions.queryKey;
|
|
1305
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1091
1306
|
|
|
1092
|
-
return query;
|
|
1307
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1093
1308
|
}
|
|
1094
1309
|
|
|
1095
|
-
/**
|
|
1096
|
-
* Given a Project and Path the files available to you on that path will be returned along with any additional paths (sub-directories).
|
|
1097
|
-
|
|
1098
|
-
* @summary Gets the Files on a Project Path
|
|
1099
|
-
*/
|
|
1100
1310
|
export type getFilesResponse200 = { data: FilesGetResponse; status: 200 };
|
|
1101
1311
|
|
|
1102
1312
|
export type getFilesResponse401 = { data: void; status: 401 };
|
|
@@ -1119,7 +1329,7 @@ export const getGetFilesUrl = (params: GetFilesParams) => {
|
|
|
1119
1329
|
|
|
1120
1330
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1121
1331
|
if (value !== undefined) {
|
|
1122
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
1332
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1123
1333
|
}
|
|
1124
1334
|
});
|
|
1125
1335
|
|
|
@@ -1128,6 +1338,10 @@ export const getGetFilesUrl = (params: GetFilesParams) => {
|
|
|
1128
1338
|
return stringifiedParams.length > 0 ? `/file?${stringifiedParams}` : `/file`;
|
|
1129
1339
|
};
|
|
1130
1340
|
|
|
1341
|
+
/**
|
|
1342
|
+
* Given a Project and Path the files available to you on that path will be returned along with any additional paths (sub-directories).
|
|
1343
|
+
* @summary Gets the Files on a Project Path
|
|
1344
|
+
*/
|
|
1131
1345
|
export const getFiles = async (
|
|
1132
1346
|
params: GetFilesParams,
|
|
1133
1347
|
options?: RequestInit,
|
|
@@ -1160,7 +1374,7 @@ export const getGetFilesQueryOptions = <
|
|
|
1160
1374
|
Awaited<ReturnType<typeof getFiles>>,
|
|
1161
1375
|
TError,
|
|
1162
1376
|
TData
|
|
1163
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1377
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1164
1378
|
};
|
|
1165
1379
|
|
|
1166
1380
|
export type GetFilesQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;
|
|
@@ -1184,7 +1398,7 @@ export function useGetFiles<
|
|
|
1184
1398
|
request?: SecondParameter<typeof customFetch>;
|
|
1185
1399
|
},
|
|
1186
1400
|
queryClient?: QueryClient,
|
|
1187
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1401
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1188
1402
|
export function useGetFiles<
|
|
1189
1403
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
1190
1404
|
TError = ErrorType<void | DmError>,
|
|
@@ -1203,7 +1417,7 @@ export function useGetFiles<
|
|
|
1203
1417
|
request?: SecondParameter<typeof customFetch>;
|
|
1204
1418
|
},
|
|
1205
1419
|
queryClient?: QueryClient,
|
|
1206
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1420
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1207
1421
|
export function useGetFiles<
|
|
1208
1422
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
1209
1423
|
TError = ErrorType<void | DmError>,
|
|
@@ -1214,7 +1428,7 @@ export function useGetFiles<
|
|
|
1214
1428
|
request?: SecondParameter<typeof customFetch>;
|
|
1215
1429
|
},
|
|
1216
1430
|
queryClient?: QueryClient,
|
|
1217
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1431
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1218
1432
|
/**
|
|
1219
1433
|
* @summary Gets the Files on a Project Path
|
|
1220
1434
|
*/
|
|
@@ -1229,16 +1443,14 @@ export function useGetFiles<
|
|
|
1229
1443
|
request?: SecondParameter<typeof customFetch>;
|
|
1230
1444
|
},
|
|
1231
1445
|
queryClient?: QueryClient,
|
|
1232
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1446
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1233
1447
|
const queryOptions = getGetFilesQueryOptions(params, options);
|
|
1234
1448
|
|
|
1235
1449
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1236
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1450
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1237
1451
|
};
|
|
1238
1452
|
|
|
1239
|
-
query
|
|
1240
|
-
|
|
1241
|
-
return query;
|
|
1453
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1242
1454
|
}
|
|
1243
1455
|
|
|
1244
1456
|
/**
|
|
@@ -1275,7 +1487,7 @@ export const getGetFilesSuspenseQueryOptions = <
|
|
|
1275
1487
|
Awaited<ReturnType<typeof getFiles>>,
|
|
1276
1488
|
TError,
|
|
1277
1489
|
TData
|
|
1278
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1490
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1279
1491
|
};
|
|
1280
1492
|
|
|
1281
1493
|
export type GetFilesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;
|
|
@@ -1291,7 +1503,7 @@ export function useGetFilesSuspense<
|
|
|
1291
1503
|
request?: SecondParameter<typeof customFetch>;
|
|
1292
1504
|
},
|
|
1293
1505
|
queryClient?: QueryClient,
|
|
1294
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1506
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1295
1507
|
export function useGetFilesSuspense<
|
|
1296
1508
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
1297
1509
|
TError = ErrorType<void | DmError>,
|
|
@@ -1302,7 +1514,7 @@ export function useGetFilesSuspense<
|
|
|
1302
1514
|
request?: SecondParameter<typeof customFetch>;
|
|
1303
1515
|
},
|
|
1304
1516
|
queryClient?: QueryClient,
|
|
1305
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1517
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1306
1518
|
export function useGetFilesSuspense<
|
|
1307
1519
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
1308
1520
|
TError = ErrorType<void | DmError>,
|
|
@@ -1313,7 +1525,7 @@ export function useGetFilesSuspense<
|
|
|
1313
1525
|
request?: SecondParameter<typeof customFetch>;
|
|
1314
1526
|
},
|
|
1315
1527
|
queryClient?: QueryClient,
|
|
1316
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1528
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1317
1529
|
/**
|
|
1318
1530
|
* @summary Gets the Files on a Project Path
|
|
1319
1531
|
*/
|
|
@@ -1328,32 +1540,17 @@ export function useGetFilesSuspense<
|
|
|
1328
1540
|
request?: SecondParameter<typeof customFetch>;
|
|
1329
1541
|
},
|
|
1330
1542
|
queryClient?: QueryClient,
|
|
1331
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1543
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1332
1544
|
const queryOptions = getGetFilesSuspenseQueryOptions(params, options);
|
|
1333
1545
|
|
|
1334
1546
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1335
1547
|
TData,
|
|
1336
1548
|
TError
|
|
1337
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1338
|
-
|
|
1339
|
-
query.queryKey = queryOptions.queryKey;
|
|
1549
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1340
1550
|
|
|
1341
|
-
return query;
|
|
1551
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1342
1552
|
}
|
|
1343
1553
|
|
|
1344
|
-
/**
|
|
1345
|
-
* 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.
|
|
1346
|
-
|
|
1347
|
-
Only 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.
|
|
1348
|
-
|
|
1349
|
-
An `editor` of a **dataset** is not automatically and `editor` of the **project** it's attached to.
|
|
1350
|
-
|
|
1351
|
-
You 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.
|
|
1352
|
-
|
|
1353
|
-
You cannot add a Dataset to a Project until its upload is complete.
|
|
1354
|
-
|
|
1355
|
-
* @summary Attach a Dataset, as a File, to a Project
|
|
1356
|
-
*/
|
|
1357
1554
|
export type attachFileResponse201 = { data: FilePostResponse; status: 201 };
|
|
1358
1555
|
|
|
1359
1556
|
export type attachFileResponse401 = { data: void; status: 401 };
|
|
@@ -1378,6 +1575,18 @@ export const getAttachFileUrl = () => {
|
|
|
1378
1575
|
return `/file`;
|
|
1379
1576
|
};
|
|
1380
1577
|
|
|
1578
|
+
/**
|
|
1579
|
+
* 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.
|
|
1580
|
+
*
|
|
1581
|
+
* Only 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.
|
|
1582
|
+
*
|
|
1583
|
+
* An `editor` of a **dataset** is not automatically and `editor` of the **project** it's attached to.
|
|
1584
|
+
*
|
|
1585
|
+
* You 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.
|
|
1586
|
+
*
|
|
1587
|
+
* You cannot add a Dataset to a Project until its upload is complete.
|
|
1588
|
+
* @summary Attach a Dataset, as a File, to a Project
|
|
1589
|
+
*/
|
|
1381
1590
|
export const attachFile = async (
|
|
1382
1591
|
filePostBodyBody: FilePostBodyBody,
|
|
1383
1592
|
options?: RequestInit,
|
|
@@ -1405,77 +1614,126 @@ export const attachFile = async (
|
|
|
1405
1614
|
});
|
|
1406
1615
|
};
|
|
1407
1616
|
|
|
1408
|
-
export const
|
|
1617
|
+
export const getAttachFileQueryKey = (filePostBodyBody?: FilePostBodyBody) => {
|
|
1618
|
+
return ["data-manager", "POST", "file", filePostBodyBody] as const;
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
export const getAttachFileQueryOptions = <
|
|
1622
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1409
1623
|
TError = ErrorType<void | DmError>,
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1419
|
-
}): UseMutationOptions<
|
|
1420
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1421
|
-
TError,
|
|
1422
|
-
{ data: FilePostBodyBody },
|
|
1423
|
-
TContext
|
|
1424
|
-
> => {
|
|
1425
|
-
const mutationKey = ["attachFile"];
|
|
1426
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1427
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1428
|
-
? options
|
|
1429
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1430
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1431
|
-
|
|
1432
|
-
const mutationFn: MutationFunction<
|
|
1433
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1434
|
-
{ data: FilePostBodyBody }
|
|
1435
|
-
> = (props) => {
|
|
1436
|
-
const { data } = props ?? {};
|
|
1624
|
+
>(
|
|
1625
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1626
|
+
options?: {
|
|
1627
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1628
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1629
|
+
},
|
|
1630
|
+
) => {
|
|
1631
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1437
1632
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1633
|
+
const queryKey = queryOptions?.queryKey ?? getAttachFileQueryKey(filePostBodyBody);
|
|
1634
|
+
|
|
1635
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof attachFile>>> = ({ signal }) =>
|
|
1636
|
+
attachFile(filePostBodyBody, { signal, ...requestOptions });
|
|
1440
1637
|
|
|
1441
|
-
return {
|
|
1638
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1639
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1640
|
+
TError,
|
|
1641
|
+
TData
|
|
1642
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1442
1643
|
};
|
|
1443
1644
|
|
|
1444
|
-
export type
|
|
1445
|
-
export type
|
|
1446
|
-
export type AttachFileMutationError = ErrorType<void | DmError>;
|
|
1645
|
+
export type AttachFileQueryResult = NonNullable<Awaited<ReturnType<typeof attachFile>>>;
|
|
1646
|
+
export type AttachFileQueryError = ErrorType<void | DmError>;
|
|
1447
1647
|
|
|
1648
|
+
export function useAttachFile<
|
|
1649
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1650
|
+
TError = ErrorType<void | DmError>,
|
|
1651
|
+
>(
|
|
1652
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1653
|
+
options: {
|
|
1654
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
|
|
1655
|
+
Pick<
|
|
1656
|
+
DefinedInitialDataOptions<
|
|
1657
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1658
|
+
TError,
|
|
1659
|
+
Awaited<ReturnType<typeof attachFile>>
|
|
1660
|
+
>,
|
|
1661
|
+
"initialData"
|
|
1662
|
+
>;
|
|
1663
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1664
|
+
},
|
|
1665
|
+
queryClient?: QueryClient,
|
|
1666
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1667
|
+
export function useAttachFile<
|
|
1668
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1669
|
+
TError = ErrorType<void | DmError>,
|
|
1670
|
+
>(
|
|
1671
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1672
|
+
options?: {
|
|
1673
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
|
|
1674
|
+
Pick<
|
|
1675
|
+
UndefinedInitialDataOptions<
|
|
1676
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1677
|
+
TError,
|
|
1678
|
+
Awaited<ReturnType<typeof attachFile>>
|
|
1679
|
+
>,
|
|
1680
|
+
"initialData"
|
|
1681
|
+
>;
|
|
1682
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1683
|
+
},
|
|
1684
|
+
queryClient?: QueryClient,
|
|
1685
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1686
|
+
export function useAttachFile<
|
|
1687
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1688
|
+
TError = ErrorType<void | DmError>,
|
|
1689
|
+
>(
|
|
1690
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1691
|
+
options?: {
|
|
1692
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1693
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1694
|
+
},
|
|
1695
|
+
queryClient?: QueryClient,
|
|
1696
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1448
1697
|
/**
|
|
1449
1698
|
* @summary Attach a Dataset, as a File, to a Project
|
|
1450
1699
|
*/
|
|
1451
|
-
|
|
1700
|
+
|
|
1701
|
+
export function useAttachFile<
|
|
1702
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1703
|
+
TError = ErrorType<void | DmError>,
|
|
1704
|
+
>(
|
|
1705
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1452
1706
|
options?: {
|
|
1453
|
-
|
|
1454
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1455
|
-
TError,
|
|
1456
|
-
{ data: FilePostBodyBody },
|
|
1457
|
-
TContext
|
|
1458
|
-
>;
|
|
1707
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1459
1708
|
request?: SecondParameter<typeof customFetch>;
|
|
1460
1709
|
},
|
|
1461
1710
|
queryClient?: QueryClient,
|
|
1462
|
-
):
|
|
1463
|
-
|
|
1464
|
-
TError,
|
|
1465
|
-
{ data: FilePostBodyBody },
|
|
1466
|
-
TContext
|
|
1467
|
-
> => {
|
|
1468
|
-
const mutationOptions = getAttachFileMutationOptions(options);
|
|
1711
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1712
|
+
const queryOptions = getAttachFileQueryOptions(filePostBodyBody, options);
|
|
1469
1713
|
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
* Removes an unmanaged file from a Project. You cannot use this endpoint to delete managed project files.
|
|
1714
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1715
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1716
|
+
};
|
|
1474
1717
|
|
|
1475
|
-
|
|
1718
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1719
|
+
}
|
|
1476
1720
|
|
|
1477
|
-
|
|
1721
|
+
/**
|
|
1722
|
+
* @summary Attach a Dataset, as a File, to a Project
|
|
1478
1723
|
*/
|
|
1724
|
+
export const invalidateAttachFile = async (
|
|
1725
|
+
queryClient: QueryClient,
|
|
1726
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1727
|
+
options?: InvalidateOptions,
|
|
1728
|
+
): Promise<QueryClient> => {
|
|
1729
|
+
await queryClient.invalidateQueries(
|
|
1730
|
+
{ queryKey: getAttachFileQueryKey(filePostBodyBody) },
|
|
1731
|
+
options,
|
|
1732
|
+
);
|
|
1733
|
+
|
|
1734
|
+
return queryClient;
|
|
1735
|
+
};
|
|
1736
|
+
|
|
1479
1737
|
export type deleteUnmanagedFileResponse204 = { data: void; status: 204 };
|
|
1480
1738
|
|
|
1481
1739
|
export type deleteUnmanagedFileResponse401 = { data: void; status: 401 };
|
|
@@ -1505,7 +1763,7 @@ export const getDeleteUnmanagedFileUrl = (params: DeleteUnmanagedFileParams) =>
|
|
|
1505
1763
|
|
|
1506
1764
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1507
1765
|
if (value !== undefined) {
|
|
1508
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
1766
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1509
1767
|
}
|
|
1510
1768
|
});
|
|
1511
1769
|
|
|
@@ -1514,6 +1772,12 @@ export const getDeleteUnmanagedFileUrl = (params: DeleteUnmanagedFileParams) =>
|
|
|
1514
1772
|
return stringifiedParams.length > 0 ? `/file?${stringifiedParams}` : `/file`;
|
|
1515
1773
|
};
|
|
1516
1774
|
|
|
1775
|
+
/**
|
|
1776
|
+
* Removes an unmanaged file from a Project. You cannot use this endpoint to delete managed project files.
|
|
1777
|
+
*
|
|
1778
|
+
* You must be an `editor` of the Project to delete a file from a Project.
|
|
1779
|
+
* @summary Delete an unmanaged Project File
|
|
1780
|
+
*/
|
|
1517
1781
|
export const deleteUnmanagedFile = async (
|
|
1518
1782
|
params: DeleteUnmanagedFileParams,
|
|
1519
1783
|
options?: RequestInit,
|
|
@@ -1524,79 +1788,138 @@ export const deleteUnmanagedFile = async (
|
|
|
1524
1788
|
});
|
|
1525
1789
|
};
|
|
1526
1790
|
|
|
1527
|
-
export const
|
|
1791
|
+
export const getDeleteUnmanagedFileQueryKey = (params?: DeleteUnmanagedFileParams) => {
|
|
1792
|
+
return ["data-manager", "DELETE", "file", ...(params ? [params] : [])] as const;
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
export const getDeleteUnmanagedFileQueryOptions = <
|
|
1796
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1528
1797
|
TError = ErrorType<void | DmError>,
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1540
|
-
TError,
|
|
1541
|
-
{ params: DeleteUnmanagedFileParams },
|
|
1542
|
-
TContext
|
|
1543
|
-
> => {
|
|
1544
|
-
const mutationKey = ["deleteUnmanagedFile"];
|
|
1545
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1546
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1547
|
-
? options
|
|
1548
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1549
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1550
|
-
|
|
1551
|
-
const mutationFn: MutationFunction<
|
|
1552
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1553
|
-
{ params: DeleteUnmanagedFileParams }
|
|
1554
|
-
> = (props) => {
|
|
1555
|
-
const { params } = props ?? {};
|
|
1798
|
+
>(
|
|
1799
|
+
params: DeleteUnmanagedFileParams,
|
|
1800
|
+
options?: {
|
|
1801
|
+
query?: Partial<
|
|
1802
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1803
|
+
>;
|
|
1804
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1805
|
+
},
|
|
1806
|
+
) => {
|
|
1807
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1556
1808
|
|
|
1557
|
-
|
|
1558
|
-
|
|
1809
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteUnmanagedFileQueryKey(params);
|
|
1810
|
+
|
|
1811
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteUnmanagedFile>>> = ({ signal }) =>
|
|
1812
|
+
deleteUnmanagedFile(params, { signal, ...requestOptions });
|
|
1559
1813
|
|
|
1560
|
-
return {
|
|
1814
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1815
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1816
|
+
TError,
|
|
1817
|
+
TData
|
|
1818
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1561
1819
|
};
|
|
1562
1820
|
|
|
1563
|
-
export type
|
|
1821
|
+
export type DeleteUnmanagedFileQueryResult = NonNullable<
|
|
1564
1822
|
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1565
1823
|
>;
|
|
1824
|
+
export type DeleteUnmanagedFileQueryError = ErrorType<void | DmError>;
|
|
1566
1825
|
|
|
1567
|
-
export
|
|
1568
|
-
|
|
1826
|
+
export function useDeleteUnmanagedFile<
|
|
1827
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1828
|
+
TError = ErrorType<void | DmError>,
|
|
1829
|
+
>(
|
|
1830
|
+
params: DeleteUnmanagedFileParams,
|
|
1831
|
+
options: {
|
|
1832
|
+
query: Partial<
|
|
1833
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1834
|
+
> &
|
|
1835
|
+
Pick<
|
|
1836
|
+
DefinedInitialDataOptions<
|
|
1837
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1838
|
+
TError,
|
|
1839
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1840
|
+
>,
|
|
1841
|
+
"initialData"
|
|
1842
|
+
>;
|
|
1843
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1844
|
+
},
|
|
1845
|
+
queryClient?: QueryClient,
|
|
1846
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1847
|
+
export function useDeleteUnmanagedFile<
|
|
1848
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1849
|
+
TError = ErrorType<void | DmError>,
|
|
1850
|
+
>(
|
|
1851
|
+
params: DeleteUnmanagedFileParams,
|
|
1852
|
+
options?: {
|
|
1853
|
+
query?: Partial<
|
|
1854
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1855
|
+
> &
|
|
1856
|
+
Pick<
|
|
1857
|
+
UndefinedInitialDataOptions<
|
|
1858
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1859
|
+
TError,
|
|
1860
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1861
|
+
>,
|
|
1862
|
+
"initialData"
|
|
1863
|
+
>;
|
|
1864
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1865
|
+
},
|
|
1866
|
+
queryClient?: QueryClient,
|
|
1867
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1868
|
+
export function useDeleteUnmanagedFile<
|
|
1869
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1870
|
+
TError = ErrorType<void | DmError>,
|
|
1871
|
+
>(
|
|
1872
|
+
params: DeleteUnmanagedFileParams,
|
|
1873
|
+
options?: {
|
|
1874
|
+
query?: Partial<
|
|
1875
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1876
|
+
>;
|
|
1877
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1878
|
+
},
|
|
1879
|
+
queryClient?: QueryClient,
|
|
1880
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1569
1881
|
/**
|
|
1570
1882
|
* @summary Delete an unmanaged Project File
|
|
1571
1883
|
*/
|
|
1572
|
-
|
|
1884
|
+
|
|
1885
|
+
export function useDeleteUnmanagedFile<
|
|
1886
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1887
|
+
TError = ErrorType<void | DmError>,
|
|
1888
|
+
>(
|
|
1889
|
+
params: DeleteUnmanagedFileParams,
|
|
1573
1890
|
options?: {
|
|
1574
|
-
|
|
1575
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1576
|
-
TError,
|
|
1577
|
-
{ params: DeleteUnmanagedFileParams },
|
|
1578
|
-
TContext
|
|
1891
|
+
query?: Partial<
|
|
1892
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1579
1893
|
>;
|
|
1580
1894
|
request?: SecondParameter<typeof customFetch>;
|
|
1581
1895
|
},
|
|
1582
1896
|
queryClient?: QueryClient,
|
|
1583
|
-
):
|
|
1584
|
-
|
|
1585
|
-
TError,
|
|
1586
|
-
{ params: DeleteUnmanagedFileParams },
|
|
1587
|
-
TContext
|
|
1588
|
-
> => {
|
|
1589
|
-
const mutationOptions = getDeleteUnmanagedFileMutationOptions(options);
|
|
1897
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1898
|
+
const queryOptions = getDeleteUnmanagedFileQueryOptions(params, options);
|
|
1590
1899
|
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
* Move an **Unmanaged** file, optionally renaming it, to a new path.
|
|
1900
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1901
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1902
|
+
};
|
|
1595
1903
|
|
|
1596
|
-
|
|
1904
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1905
|
+
}
|
|
1597
1906
|
|
|
1598
|
-
|
|
1907
|
+
/**
|
|
1908
|
+
* @summary Delete an unmanaged Project File
|
|
1599
1909
|
*/
|
|
1910
|
+
export const invalidateDeleteUnmanagedFile = async (
|
|
1911
|
+
queryClient: QueryClient,
|
|
1912
|
+
params: DeleteUnmanagedFileParams,
|
|
1913
|
+
options?: InvalidateOptions,
|
|
1914
|
+
): Promise<QueryClient> => {
|
|
1915
|
+
await queryClient.invalidateQueries(
|
|
1916
|
+
{ queryKey: getDeleteUnmanagedFileQueryKey(params) },
|
|
1917
|
+
options,
|
|
1918
|
+
);
|
|
1919
|
+
|
|
1920
|
+
return queryClient;
|
|
1921
|
+
};
|
|
1922
|
+
|
|
1600
1923
|
export type moveFileInProjectResponse200 = { data: void; status: 200 };
|
|
1601
1924
|
|
|
1602
1925
|
export type moveFileInProjectResponse401 = { data: void; status: 401 };
|
|
@@ -1621,7 +1944,7 @@ export const getMoveFileInProjectUrl = (params: MoveFileInProjectParams) => {
|
|
|
1621
1944
|
|
|
1622
1945
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1623
1946
|
if (value !== undefined) {
|
|
1624
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
1947
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1625
1948
|
}
|
|
1626
1949
|
});
|
|
1627
1950
|
|
|
@@ -1630,6 +1953,12 @@ export const getMoveFileInProjectUrl = (params: MoveFileInProjectParams) => {
|
|
|
1630
1953
|
return stringifiedParams.length > 0 ? `/file/move?${stringifiedParams}` : `/file/move`;
|
|
1631
1954
|
};
|
|
1632
1955
|
|
|
1956
|
+
/**
|
|
1957
|
+
* Move an **Unmanaged** file, optionally renaming it, to a new path.
|
|
1958
|
+
*
|
|
1959
|
+
* You must be an `editor` of the project
|
|
1960
|
+
* @summary Move an unmanaged file in a Project
|
|
1961
|
+
*/
|
|
1633
1962
|
export const moveFileInProject = async (
|
|
1634
1963
|
params: MoveFileInProjectParams,
|
|
1635
1964
|
options?: RequestInit,
|
|
@@ -1640,81 +1969,125 @@ export const moveFileInProject = async (
|
|
|
1640
1969
|
});
|
|
1641
1970
|
};
|
|
1642
1971
|
|
|
1643
|
-
export const
|
|
1972
|
+
export const getMoveFileInProjectQueryKey = (params?: MoveFileInProjectParams) => {
|
|
1973
|
+
return ["data-manager", "PUT", "file", "move", ...(params ? [params] : [])] as const;
|
|
1974
|
+
};
|
|
1975
|
+
|
|
1976
|
+
export const getMoveFileInProjectQueryOptions = <
|
|
1977
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1644
1978
|
TError = ErrorType<void | DmError>,
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1654
|
-
}): UseMutationOptions<
|
|
1655
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1656
|
-
TError,
|
|
1657
|
-
{ params: MoveFileInProjectParams },
|
|
1658
|
-
TContext
|
|
1659
|
-
> => {
|
|
1660
|
-
const mutationKey = ["moveFileInProject"];
|
|
1661
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1662
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1663
|
-
? options
|
|
1664
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1665
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1666
|
-
|
|
1667
|
-
const mutationFn: MutationFunction<
|
|
1668
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1669
|
-
{ params: MoveFileInProjectParams }
|
|
1670
|
-
> = (props) => {
|
|
1671
|
-
const { params } = props ?? {};
|
|
1979
|
+
>(
|
|
1980
|
+
params: MoveFileInProjectParams,
|
|
1981
|
+
options?: {
|
|
1982
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
1983
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1984
|
+
},
|
|
1985
|
+
) => {
|
|
1986
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1672
1987
|
|
|
1673
|
-
|
|
1674
|
-
};
|
|
1988
|
+
const queryKey = queryOptions?.queryKey ?? getMoveFileInProjectQueryKey(params);
|
|
1675
1989
|
|
|
1676
|
-
|
|
1990
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof moveFileInProject>>> = ({ signal }) =>
|
|
1991
|
+
moveFileInProject(params, { signal, ...requestOptions });
|
|
1992
|
+
|
|
1993
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1994
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1995
|
+
TError,
|
|
1996
|
+
TData
|
|
1997
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1677
1998
|
};
|
|
1678
1999
|
|
|
1679
|
-
export type
|
|
2000
|
+
export type MoveFileInProjectQueryResult = NonNullable<
|
|
1680
2001
|
Awaited<ReturnType<typeof moveFileInProject>>
|
|
1681
2002
|
>;
|
|
2003
|
+
export type MoveFileInProjectQueryError = ErrorType<void | DmError>;
|
|
1682
2004
|
|
|
1683
|
-
export
|
|
1684
|
-
|
|
2005
|
+
export function useMoveFileInProject<
|
|
2006
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
2007
|
+
TError = ErrorType<void | DmError>,
|
|
2008
|
+
>(
|
|
2009
|
+
params: MoveFileInProjectParams,
|
|
2010
|
+
options: {
|
|
2011
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
|
|
2012
|
+
Pick<
|
|
2013
|
+
DefinedInitialDataOptions<
|
|
2014
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
2015
|
+
TError,
|
|
2016
|
+
Awaited<ReturnType<typeof moveFileInProject>>
|
|
2017
|
+
>,
|
|
2018
|
+
"initialData"
|
|
2019
|
+
>;
|
|
2020
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2021
|
+
},
|
|
2022
|
+
queryClient?: QueryClient,
|
|
2023
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2024
|
+
export function useMoveFileInProject<
|
|
2025
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
2026
|
+
TError = ErrorType<void | DmError>,
|
|
2027
|
+
>(
|
|
2028
|
+
params: MoveFileInProjectParams,
|
|
2029
|
+
options?: {
|
|
2030
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
|
|
2031
|
+
Pick<
|
|
2032
|
+
UndefinedInitialDataOptions<
|
|
2033
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
2034
|
+
TError,
|
|
2035
|
+
Awaited<ReturnType<typeof moveFileInProject>>
|
|
2036
|
+
>,
|
|
2037
|
+
"initialData"
|
|
2038
|
+
>;
|
|
2039
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2040
|
+
},
|
|
2041
|
+
queryClient?: QueryClient,
|
|
2042
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2043
|
+
export function useMoveFileInProject<
|
|
2044
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
2045
|
+
TError = ErrorType<void | DmError>,
|
|
2046
|
+
>(
|
|
2047
|
+
params: MoveFileInProjectParams,
|
|
2048
|
+
options?: {
|
|
2049
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
2050
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2051
|
+
},
|
|
2052
|
+
queryClient?: QueryClient,
|
|
2053
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1685
2054
|
/**
|
|
1686
2055
|
* @summary Move an unmanaged file in a Project
|
|
1687
2056
|
*/
|
|
1688
|
-
|
|
2057
|
+
|
|
2058
|
+
export function useMoveFileInProject<
|
|
2059
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
2060
|
+
TError = ErrorType<void | DmError>,
|
|
2061
|
+
>(
|
|
2062
|
+
params: MoveFileInProjectParams,
|
|
1689
2063
|
options?: {
|
|
1690
|
-
|
|
1691
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1692
|
-
TError,
|
|
1693
|
-
{ params: MoveFileInProjectParams },
|
|
1694
|
-
TContext
|
|
1695
|
-
>;
|
|
2064
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
1696
2065
|
request?: SecondParameter<typeof customFetch>;
|
|
1697
2066
|
},
|
|
1698
2067
|
queryClient?: QueryClient,
|
|
1699
|
-
):
|
|
1700
|
-
|
|
1701
|
-
TError,
|
|
1702
|
-
{ params: MoveFileInProjectParams },
|
|
1703
|
-
TContext
|
|
1704
|
-
> => {
|
|
1705
|
-
const mutationOptions = getMoveFileInProjectMutationOptions(options);
|
|
1706
|
-
|
|
1707
|
-
return useMutation(mutationOptions, queryClient);
|
|
1708
|
-
};
|
|
1709
|
-
/**
|
|
1710
|
-
* Given a `file_id` the file will be removed from the Project it's attached to.
|
|
2068
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2069
|
+
const queryOptions = getMoveFileInProjectQueryOptions(params, options);
|
|
1711
2070
|
|
|
1712
|
-
|
|
2071
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2072
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2073
|
+
};
|
|
1713
2074
|
|
|
1714
|
-
|
|
2075
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2076
|
+
}
|
|
1715
2077
|
|
|
1716
|
-
|
|
2078
|
+
/**
|
|
2079
|
+
* @summary Move an unmanaged file in a Project
|
|
1717
2080
|
*/
|
|
2081
|
+
export const invalidateMoveFileInProject = async (
|
|
2082
|
+
queryClient: QueryClient,
|
|
2083
|
+
params: MoveFileInProjectParams,
|
|
2084
|
+
options?: InvalidateOptions,
|
|
2085
|
+
): Promise<QueryClient> => {
|
|
2086
|
+
await queryClient.invalidateQueries({ queryKey: getMoveFileInProjectQueryKey(params) }, options);
|
|
2087
|
+
|
|
2088
|
+
return queryClient;
|
|
2089
|
+
};
|
|
2090
|
+
|
|
1718
2091
|
export type deleteFileResponse204 = { data: void; status: 204 };
|
|
1719
2092
|
|
|
1720
2093
|
export type deleteFileResponse401 = { data: void; status: 401 };
|
|
@@ -1736,6 +2109,14 @@ export const getDeleteFileUrl = (fileId: string) => {
|
|
|
1736
2109
|
return `/file/${fileId}`;
|
|
1737
2110
|
};
|
|
1738
2111
|
|
|
2112
|
+
/**
|
|
2113
|
+
* Given a `file_id` the file will be removed from the Project it's attached to.
|
|
2114
|
+
*
|
|
2115
|
+
* You 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.
|
|
2116
|
+
*
|
|
2117
|
+
* You cannot delete a Project File until the attach is complete.
|
|
2118
|
+
* @summary Delete/detach a File (from a Project)
|
|
2119
|
+
*/
|
|
1739
2120
|
export const deleteFile = async (
|
|
1740
2121
|
fileId: string,
|
|
1741
2122
|
options?: RequestInit,
|
|
@@ -1746,76 +2127,126 @@ export const deleteFile = async (
|
|
|
1746
2127
|
});
|
|
1747
2128
|
};
|
|
1748
2129
|
|
|
1749
|
-
export const
|
|
2130
|
+
export const getDeleteFileQueryKey = (fileId: string) => {
|
|
2131
|
+
return ["data-manager", "DELETE", "file", fileId] as const;
|
|
2132
|
+
};
|
|
2133
|
+
|
|
2134
|
+
export const getDeleteFileQueryOptions = <
|
|
2135
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1750
2136
|
TError = ErrorType<void | DmError>,
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
request?: SecondParameter<typeof customFetch>;
|
|
1760
|
-
}): UseMutationOptions<
|
|
1761
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1762
|
-
TError,
|
|
1763
|
-
{ fileId: string },
|
|
1764
|
-
TContext
|
|
1765
|
-
> => {
|
|
1766
|
-
const mutationKey = ["deleteFile"];
|
|
1767
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1768
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1769
|
-
? options
|
|
1770
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1771
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1772
|
-
|
|
1773
|
-
const mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }> = (
|
|
1774
|
-
props,
|
|
1775
|
-
) => {
|
|
1776
|
-
const { fileId } = props ?? {};
|
|
1777
|
-
|
|
1778
|
-
return deleteFile(fileId, requestOptions);
|
|
1779
|
-
};
|
|
2137
|
+
>(
|
|
2138
|
+
fileId: string,
|
|
2139
|
+
options?: {
|
|
2140
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
|
|
2141
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2142
|
+
},
|
|
2143
|
+
) => {
|
|
2144
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1780
2145
|
|
|
1781
|
-
|
|
1782
|
-
};
|
|
2146
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteFileQueryKey(fileId);
|
|
1783
2147
|
|
|
1784
|
-
|
|
2148
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteFile>>> = ({ signal }) =>
|
|
2149
|
+
deleteFile(fileId, { signal, ...requestOptions });
|
|
1785
2150
|
|
|
1786
|
-
|
|
2151
|
+
return {
|
|
2152
|
+
queryKey,
|
|
2153
|
+
queryFn,
|
|
2154
|
+
enabled: fileId !== null && fileId !== undefined,
|
|
2155
|
+
...queryOptions,
|
|
2156
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData> & {
|
|
2157
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
1787
2160
|
|
|
2161
|
+
export type DeleteFileQueryResult = NonNullable<Awaited<ReturnType<typeof deleteFile>>>;
|
|
2162
|
+
export type DeleteFileQueryError = ErrorType<void | DmError>;
|
|
2163
|
+
|
|
2164
|
+
export function useDeleteFile<
|
|
2165
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
2166
|
+
TError = ErrorType<void | DmError>,
|
|
2167
|
+
>(
|
|
2168
|
+
fileId: string,
|
|
2169
|
+
options: {
|
|
2170
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
|
|
2171
|
+
Pick<
|
|
2172
|
+
DefinedInitialDataOptions<
|
|
2173
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
2174
|
+
TError,
|
|
2175
|
+
Awaited<ReturnType<typeof deleteFile>>
|
|
2176
|
+
>,
|
|
2177
|
+
"initialData"
|
|
2178
|
+
>;
|
|
2179
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2180
|
+
},
|
|
2181
|
+
queryClient?: QueryClient,
|
|
2182
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2183
|
+
export function useDeleteFile<
|
|
2184
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
2185
|
+
TError = ErrorType<void | DmError>,
|
|
2186
|
+
>(
|
|
2187
|
+
fileId: string,
|
|
2188
|
+
options?: {
|
|
2189
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
|
|
2190
|
+
Pick<
|
|
2191
|
+
UndefinedInitialDataOptions<
|
|
2192
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
2193
|
+
TError,
|
|
2194
|
+
Awaited<ReturnType<typeof deleteFile>>
|
|
2195
|
+
>,
|
|
2196
|
+
"initialData"
|
|
2197
|
+
>;
|
|
2198
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2199
|
+
},
|
|
2200
|
+
queryClient?: QueryClient,
|
|
2201
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2202
|
+
export function useDeleteFile<
|
|
2203
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
2204
|
+
TError = ErrorType<void | DmError>,
|
|
2205
|
+
>(
|
|
2206
|
+
fileId: string,
|
|
2207
|
+
options?: {
|
|
2208
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
|
|
2209
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2210
|
+
},
|
|
2211
|
+
queryClient?: QueryClient,
|
|
2212
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1788
2213
|
/**
|
|
1789
2214
|
* @summary Delete/detach a File (from a Project)
|
|
1790
2215
|
*/
|
|
1791
|
-
|
|
2216
|
+
|
|
2217
|
+
export function useDeleteFile<
|
|
2218
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
2219
|
+
TError = ErrorType<void | DmError>,
|
|
2220
|
+
>(
|
|
2221
|
+
fileId: string,
|
|
1792
2222
|
options?: {
|
|
1793
|
-
|
|
1794
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1795
|
-
TError,
|
|
1796
|
-
{ fileId: string },
|
|
1797
|
-
TContext
|
|
1798
|
-
>;
|
|
2223
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
|
|
1799
2224
|
request?: SecondParameter<typeof customFetch>;
|
|
1800
2225
|
},
|
|
1801
2226
|
queryClient?: QueryClient,
|
|
1802
|
-
):
|
|
1803
|
-
|
|
1804
|
-
TError,
|
|
1805
|
-
{ fileId: string },
|
|
1806
|
-
TContext
|
|
1807
|
-
> => {
|
|
1808
|
-
const mutationOptions = getDeleteFileMutationOptions(options);
|
|
2227
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2228
|
+
const queryOptions = getDeleteFileQueryOptions(fileId, options);
|
|
1809
2229
|
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
* Given a `file_id` the file will be returned if available.
|
|
2230
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2231
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2232
|
+
};
|
|
1814
2233
|
|
|
1815
|
-
|
|
2234
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2235
|
+
}
|
|
1816
2236
|
|
|
1817
|
-
|
|
2237
|
+
/**
|
|
2238
|
+
* @summary Delete/detach a File (from a Project)
|
|
1818
2239
|
*/
|
|
2240
|
+
export const invalidateDeleteFile = async (
|
|
2241
|
+
queryClient: QueryClient,
|
|
2242
|
+
fileId: string,
|
|
2243
|
+
options?: InvalidateOptions,
|
|
2244
|
+
): Promise<QueryClient> => {
|
|
2245
|
+
await queryClient.invalidateQueries({ queryKey: getDeleteFileQueryKey(fileId) }, options);
|
|
2246
|
+
|
|
2247
|
+
return queryClient;
|
|
2248
|
+
};
|
|
2249
|
+
|
|
1819
2250
|
export type downloadFileResponse200 = { data: void; status: 200 };
|
|
1820
2251
|
|
|
1821
2252
|
export type downloadFileResponse401 = { data: void; status: 401 };
|
|
@@ -1837,6 +2268,12 @@ export const getDownloadFileUrl = (fileId: string) => {
|
|
|
1837
2268
|
return `/file/${fileId}`;
|
|
1838
2269
|
};
|
|
1839
2270
|
|
|
2271
|
+
/**
|
|
2272
|
+
* Given a `file_id` the file will be returned if available.
|
|
2273
|
+
*
|
|
2274
|
+
* You cannot get a Project File until the attach is complete.
|
|
2275
|
+
* @summary Download a File (from a project)
|
|
2276
|
+
*/
|
|
1840
2277
|
export const downloadFile = async (
|
|
1841
2278
|
fileId: string,
|
|
1842
2279
|
options?: RequestInit,
|
|
@@ -1847,7 +2284,7 @@ export const downloadFile = async (
|
|
|
1847
2284
|
});
|
|
1848
2285
|
};
|
|
1849
2286
|
|
|
1850
|
-
export const getDownloadFileQueryKey = (fileId
|
|
2287
|
+
export const getDownloadFileQueryKey = (fileId: string) => {
|
|
1851
2288
|
return ["data-manager", "file", fileId] as const;
|
|
1852
2289
|
};
|
|
1853
2290
|
|
|
@@ -1868,11 +2305,14 @@ export const getDownloadFileQueryOptions = <
|
|
|
1868
2305
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>> = ({ signal }) =>
|
|
1869
2306
|
downloadFile(fileId, { signal, ...requestOptions });
|
|
1870
2307
|
|
|
1871
|
-
return {
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
2308
|
+
return {
|
|
2309
|
+
queryKey,
|
|
2310
|
+
queryFn,
|
|
2311
|
+
enabled: fileId !== null && fileId !== undefined,
|
|
2312
|
+
...queryOptions,
|
|
2313
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData> & {
|
|
2314
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2315
|
+
};
|
|
1876
2316
|
};
|
|
1877
2317
|
|
|
1878
2318
|
export type DownloadFileQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;
|
|
@@ -1896,7 +2336,7 @@ export function useDownloadFile<
|
|
|
1896
2336
|
request?: SecondParameter<typeof customFetch>;
|
|
1897
2337
|
},
|
|
1898
2338
|
queryClient?: QueryClient,
|
|
1899
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2339
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1900
2340
|
export function useDownloadFile<
|
|
1901
2341
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
1902
2342
|
TError = ErrorType<void | DmError>,
|
|
@@ -1915,7 +2355,7 @@ export function useDownloadFile<
|
|
|
1915
2355
|
request?: SecondParameter<typeof customFetch>;
|
|
1916
2356
|
},
|
|
1917
2357
|
queryClient?: QueryClient,
|
|
1918
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2358
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1919
2359
|
export function useDownloadFile<
|
|
1920
2360
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
1921
2361
|
TError = ErrorType<void | DmError>,
|
|
@@ -1926,7 +2366,7 @@ export function useDownloadFile<
|
|
|
1926
2366
|
request?: SecondParameter<typeof customFetch>;
|
|
1927
2367
|
},
|
|
1928
2368
|
queryClient?: QueryClient,
|
|
1929
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2369
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1930
2370
|
/**
|
|
1931
2371
|
* @summary Download a File (from a project)
|
|
1932
2372
|
*/
|
|
@@ -1941,16 +2381,14 @@ export function useDownloadFile<
|
|
|
1941
2381
|
request?: SecondParameter<typeof customFetch>;
|
|
1942
2382
|
},
|
|
1943
2383
|
queryClient?: QueryClient,
|
|
1944
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2384
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1945
2385
|
const queryOptions = getDownloadFileQueryOptions(fileId, options);
|
|
1946
2386
|
|
|
1947
2387
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1948
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
2388
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1949
2389
|
};
|
|
1950
2390
|
|
|
1951
|
-
query
|
|
1952
|
-
|
|
1953
|
-
return query;
|
|
2391
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1954
2392
|
}
|
|
1955
2393
|
|
|
1956
2394
|
/**
|
|
@@ -1989,7 +2427,7 @@ export const getDownloadFileSuspenseQueryOptions = <
|
|
|
1989
2427
|
Awaited<ReturnType<typeof downloadFile>>,
|
|
1990
2428
|
TError,
|
|
1991
2429
|
TData
|
|
1992
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2430
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1993
2431
|
};
|
|
1994
2432
|
|
|
1995
2433
|
export type DownloadFileSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;
|
|
@@ -2007,7 +2445,7 @@ export function useDownloadFileSuspense<
|
|
|
2007
2445
|
request?: SecondParameter<typeof customFetch>;
|
|
2008
2446
|
},
|
|
2009
2447
|
queryClient?: QueryClient,
|
|
2010
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2448
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2011
2449
|
export function useDownloadFileSuspense<
|
|
2012
2450
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
2013
2451
|
TError = ErrorType<void | DmError>,
|
|
@@ -2020,7 +2458,7 @@ export function useDownloadFileSuspense<
|
|
|
2020
2458
|
request?: SecondParameter<typeof customFetch>;
|
|
2021
2459
|
},
|
|
2022
2460
|
queryClient?: QueryClient,
|
|
2023
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2461
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2024
2462
|
export function useDownloadFileSuspense<
|
|
2025
2463
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
2026
2464
|
TError = ErrorType<void | DmError>,
|
|
@@ -2033,7 +2471,7 @@ export function useDownloadFileSuspense<
|
|
|
2033
2471
|
request?: SecondParameter<typeof customFetch>;
|
|
2034
2472
|
},
|
|
2035
2473
|
queryClient?: QueryClient,
|
|
2036
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2474
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2037
2475
|
/**
|
|
2038
2476
|
* @summary Download a File (from a project)
|
|
2039
2477
|
*/
|
|
@@ -2050,15 +2488,13 @@ export function useDownloadFileSuspense<
|
|
|
2050
2488
|
request?: SecondParameter<typeof customFetch>;
|
|
2051
2489
|
},
|
|
2052
2490
|
queryClient?: QueryClient,
|
|
2053
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2491
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2054
2492
|
const queryOptions = getDownloadFileSuspenseQueryOptions(fileId, options);
|
|
2055
2493
|
|
|
2056
2494
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
2057
2495
|
TData,
|
|
2058
2496
|
TError
|
|
2059
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2060
|
-
|
|
2061
|
-
query.queryKey = queryOptions.queryKey;
|
|
2497
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2062
2498
|
|
|
2063
|
-
return query;
|
|
2499
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2064
2500
|
}
|