@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,7 +38,7 @@ import type {
|
|
|
41
38
|
MoveFileInProjectParams,
|
|
42
39
|
MovePathParams,
|
|
43
40
|
ProjectFilePutBodyBody,
|
|
44
|
-
} from "
|
|
41
|
+
} from "../api-schemas";
|
|
45
42
|
|
|
46
43
|
import { customInstance } from "../../custom-axios";
|
|
47
44
|
import type { ErrorType } from "../../custom-axios";
|
|
@@ -50,245 +47,403 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
50
47
|
|
|
51
48
|
/**
|
|
52
49
|
* 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
|
-
|
|
50
|
+
*
|
|
51
|
+
* Only Project editors can create Paths.
|
|
56
52
|
* @summary Create a new Project Path
|
|
57
53
|
*/
|
|
58
54
|
export const createPath = (
|
|
59
55
|
params: CreatePathParams,
|
|
60
56
|
options?: SecondParameter<typeof customInstance>,
|
|
57
|
+
signal?: AbortSignal,
|
|
61
58
|
) => {
|
|
62
|
-
return customInstance<void>({ url: `/path`, method: "PUT", params }, options);
|
|
59
|
+
return customInstance<void>({ url: `/path`, method: "PUT", params, signal }, options);
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export const getCreatePathQueryKey = (params?: CreatePathParams) => {
|
|
63
|
+
return ["data-manager", "PUT", "path", ...(params ? [params] : [])] as const;
|
|
63
64
|
};
|
|
64
65
|
|
|
65
|
-
export const
|
|
66
|
+
export const getCreatePathQueryOptions = <
|
|
67
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
66
68
|
TError = ErrorType<void | DmError>,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
request?: SecondParameter<typeof customInstance>;
|
|
76
|
-
}): UseMutationOptions<
|
|
77
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
78
|
-
TError,
|
|
79
|
-
{ params: CreatePathParams },
|
|
80
|
-
TContext
|
|
81
|
-
> => {
|
|
82
|
-
const mutationKey = ["createPath"];
|
|
83
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
84
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
85
|
-
? options
|
|
86
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
87
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
88
|
-
|
|
89
|
-
const mutationFn: MutationFunction<
|
|
90
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
91
|
-
{ params: CreatePathParams }
|
|
92
|
-
> = (props) => {
|
|
93
|
-
const { params } = props ?? {};
|
|
69
|
+
>(
|
|
70
|
+
params: CreatePathParams,
|
|
71
|
+
options?: {
|
|
72
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
73
|
+
request?: SecondParameter<typeof customInstance>;
|
|
74
|
+
},
|
|
75
|
+
) => {
|
|
76
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
94
77
|
|
|
95
|
-
|
|
96
|
-
};
|
|
78
|
+
const queryKey = queryOptions?.queryKey ?? getCreatePathQueryKey(params);
|
|
97
79
|
|
|
98
|
-
|
|
99
|
-
|
|
80
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof createPath>>> = ({ signal }) =>
|
|
81
|
+
createPath(params, requestOptions, signal);
|
|
100
82
|
|
|
101
|
-
|
|
83
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
84
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
85
|
+
TError,
|
|
86
|
+
TData
|
|
87
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
88
|
+
};
|
|
102
89
|
|
|
103
|
-
export type
|
|
90
|
+
export type CreatePathQueryResult = NonNullable<Awaited<ReturnType<typeof createPath>>>;
|
|
91
|
+
export type CreatePathQueryError = ErrorType<void | DmError>;
|
|
104
92
|
|
|
93
|
+
export function useCreatePath<
|
|
94
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
95
|
+
TError = ErrorType<void | DmError>,
|
|
96
|
+
>(
|
|
97
|
+
params: CreatePathParams,
|
|
98
|
+
options: {
|
|
99
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
|
|
100
|
+
Pick<
|
|
101
|
+
DefinedInitialDataOptions<
|
|
102
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
103
|
+
TError,
|
|
104
|
+
Awaited<ReturnType<typeof createPath>>
|
|
105
|
+
>,
|
|
106
|
+
"initialData"
|
|
107
|
+
>;
|
|
108
|
+
request?: SecondParameter<typeof customInstance>;
|
|
109
|
+
},
|
|
110
|
+
queryClient?: QueryClient,
|
|
111
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
112
|
+
export function useCreatePath<
|
|
113
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
114
|
+
TError = ErrorType<void | DmError>,
|
|
115
|
+
>(
|
|
116
|
+
params: CreatePathParams,
|
|
117
|
+
options?: {
|
|
118
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>> &
|
|
119
|
+
Pick<
|
|
120
|
+
UndefinedInitialDataOptions<
|
|
121
|
+
Awaited<ReturnType<typeof createPath>>,
|
|
122
|
+
TError,
|
|
123
|
+
Awaited<ReturnType<typeof createPath>>
|
|
124
|
+
>,
|
|
125
|
+
"initialData"
|
|
126
|
+
>;
|
|
127
|
+
request?: SecondParameter<typeof customInstance>;
|
|
128
|
+
},
|
|
129
|
+
queryClient?: QueryClient,
|
|
130
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
131
|
+
export function useCreatePath<
|
|
132
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
133
|
+
TError = ErrorType<void | DmError>,
|
|
134
|
+
>(
|
|
135
|
+
params: CreatePathParams,
|
|
136
|
+
options?: {
|
|
137
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
138
|
+
request?: SecondParameter<typeof customInstance>;
|
|
139
|
+
},
|
|
140
|
+
queryClient?: QueryClient,
|
|
141
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
105
142
|
/**
|
|
106
143
|
* @summary Create a new Project Path
|
|
107
144
|
*/
|
|
108
|
-
|
|
145
|
+
|
|
146
|
+
export function useCreatePath<
|
|
147
|
+
TData = Awaited<ReturnType<typeof createPath>>,
|
|
148
|
+
TError = ErrorType<void | DmError>,
|
|
149
|
+
>(
|
|
150
|
+
params: CreatePathParams,
|
|
109
151
|
options?: {
|
|
110
|
-
|
|
111
|
-
Awaited<ReturnType<typeof createPath>>,
|
|
112
|
-
TError,
|
|
113
|
-
{ params: CreatePathParams },
|
|
114
|
-
TContext
|
|
115
|
-
>;
|
|
152
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createPath>>, TError, TData>>;
|
|
116
153
|
request?: SecondParameter<typeof customInstance>;
|
|
117
154
|
},
|
|
118
155
|
queryClient?: QueryClient,
|
|
119
|
-
):
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
156
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
157
|
+
const queryOptions = getCreatePathQueryOptions(params, options);
|
|
158
|
+
|
|
159
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
160
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
164
|
+
}
|
|
126
165
|
|
|
127
|
-
return useMutation(mutationOptions, queryClient);
|
|
128
|
-
};
|
|
129
166
|
/**
|
|
130
|
-
*
|
|
167
|
+
* @summary Create a new Project Path
|
|
168
|
+
*/
|
|
169
|
+
export const invalidateCreatePath = async (
|
|
170
|
+
queryClient: QueryClient,
|
|
171
|
+
params: CreatePathParams,
|
|
172
|
+
options?: InvalidateOptions,
|
|
173
|
+
): Promise<QueryClient> => {
|
|
174
|
+
await queryClient.invalidateQueries({ queryKey: getCreatePathQueryKey(params) }, options);
|
|
131
175
|
|
|
132
|
-
|
|
176
|
+
return queryClient;
|
|
177
|
+
};
|
|
133
178
|
|
|
179
|
+
/**
|
|
180
|
+
* Deletes a Path within the Project. Be aware that the deletion of a Path will result in the contents of the Path also being deleted. If there are files in Path or sub-directories, they will all be deleted.
|
|
181
|
+
*
|
|
182
|
+
* Only Project editors can delete Paths.
|
|
134
183
|
* @summary Delete a Project Path
|
|
135
184
|
*/
|
|
136
185
|
export const deletePath = (
|
|
137
186
|
params: DeletePathParams,
|
|
138
187
|
options?: SecondParameter<typeof customInstance>,
|
|
188
|
+
signal?: AbortSignal,
|
|
139
189
|
) => {
|
|
140
|
-
return customInstance<void>({ url: `/path`, method: "DELETE", params }, options);
|
|
190
|
+
return customInstance<void>({ url: `/path`, method: "DELETE", params, signal }, options);
|
|
141
191
|
};
|
|
142
192
|
|
|
143
|
-
export const
|
|
193
|
+
export const getDeletePathQueryKey = (params?: DeletePathParams) => {
|
|
194
|
+
return ["data-manager", "DELETE", "path", ...(params ? [params] : [])] as const;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
export const getDeletePathQueryOptions = <
|
|
198
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
144
199
|
TError = ErrorType<void | DmError>,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
request?: SecondParameter<typeof customInstance>;
|
|
154
|
-
}): UseMutationOptions<
|
|
155
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
156
|
-
TError,
|
|
157
|
-
{ params: DeletePathParams },
|
|
158
|
-
TContext
|
|
159
|
-
> => {
|
|
160
|
-
const mutationKey = ["deletePath"];
|
|
161
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
162
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
163
|
-
? options
|
|
164
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
165
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
166
|
-
|
|
167
|
-
const mutationFn: MutationFunction<
|
|
168
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
169
|
-
{ params: DeletePathParams }
|
|
170
|
-
> = (props) => {
|
|
171
|
-
const { params } = props ?? {};
|
|
200
|
+
>(
|
|
201
|
+
params: DeletePathParams,
|
|
202
|
+
options?: {
|
|
203
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
204
|
+
request?: SecondParameter<typeof customInstance>;
|
|
205
|
+
},
|
|
206
|
+
) => {
|
|
207
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
172
208
|
|
|
173
|
-
|
|
174
|
-
};
|
|
209
|
+
const queryKey = queryOptions?.queryKey ?? getDeletePathQueryKey(params);
|
|
175
210
|
|
|
176
|
-
|
|
177
|
-
|
|
211
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deletePath>>> = ({ signal }) =>
|
|
212
|
+
deletePath(params, requestOptions, signal);
|
|
178
213
|
|
|
179
|
-
|
|
214
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
215
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
216
|
+
TError,
|
|
217
|
+
TData
|
|
218
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
219
|
+
};
|
|
180
220
|
|
|
181
|
-
export type
|
|
221
|
+
export type DeletePathQueryResult = NonNullable<Awaited<ReturnType<typeof deletePath>>>;
|
|
222
|
+
export type DeletePathQueryError = ErrorType<void | DmError>;
|
|
182
223
|
|
|
224
|
+
export function useDeletePath<
|
|
225
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
226
|
+
TError = ErrorType<void | DmError>,
|
|
227
|
+
>(
|
|
228
|
+
params: DeletePathParams,
|
|
229
|
+
options: {
|
|
230
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
|
|
231
|
+
Pick<
|
|
232
|
+
DefinedInitialDataOptions<
|
|
233
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
234
|
+
TError,
|
|
235
|
+
Awaited<ReturnType<typeof deletePath>>
|
|
236
|
+
>,
|
|
237
|
+
"initialData"
|
|
238
|
+
>;
|
|
239
|
+
request?: SecondParameter<typeof customInstance>;
|
|
240
|
+
},
|
|
241
|
+
queryClient?: QueryClient,
|
|
242
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
243
|
+
export function useDeletePath<
|
|
244
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
245
|
+
TError = ErrorType<void | DmError>,
|
|
246
|
+
>(
|
|
247
|
+
params: DeletePathParams,
|
|
248
|
+
options?: {
|
|
249
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>> &
|
|
250
|
+
Pick<
|
|
251
|
+
UndefinedInitialDataOptions<
|
|
252
|
+
Awaited<ReturnType<typeof deletePath>>,
|
|
253
|
+
TError,
|
|
254
|
+
Awaited<ReturnType<typeof deletePath>>
|
|
255
|
+
>,
|
|
256
|
+
"initialData"
|
|
257
|
+
>;
|
|
258
|
+
request?: SecondParameter<typeof customInstance>;
|
|
259
|
+
},
|
|
260
|
+
queryClient?: QueryClient,
|
|
261
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
262
|
+
export function useDeletePath<
|
|
263
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
264
|
+
TError = ErrorType<void | DmError>,
|
|
265
|
+
>(
|
|
266
|
+
params: DeletePathParams,
|
|
267
|
+
options?: {
|
|
268
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
269
|
+
request?: SecondParameter<typeof customInstance>;
|
|
270
|
+
},
|
|
271
|
+
queryClient?: QueryClient,
|
|
272
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
183
273
|
/**
|
|
184
274
|
* @summary Delete a Project Path
|
|
185
275
|
*/
|
|
186
|
-
|
|
276
|
+
|
|
277
|
+
export function useDeletePath<
|
|
278
|
+
TData = Awaited<ReturnType<typeof deletePath>>,
|
|
279
|
+
TError = ErrorType<void | DmError>,
|
|
280
|
+
>(
|
|
281
|
+
params: DeletePathParams,
|
|
187
282
|
options?: {
|
|
188
|
-
|
|
189
|
-
Awaited<ReturnType<typeof deletePath>>,
|
|
190
|
-
TError,
|
|
191
|
-
{ params: DeletePathParams },
|
|
192
|
-
TContext
|
|
193
|
-
>;
|
|
283
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deletePath>>, TError, TData>>;
|
|
194
284
|
request?: SecondParameter<typeof customInstance>;
|
|
195
285
|
},
|
|
196
286
|
queryClient?: QueryClient,
|
|
197
|
-
):
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
287
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
288
|
+
const queryOptions = getDeletePathQueryOptions(params, options);
|
|
289
|
+
|
|
290
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
291
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
295
|
+
}
|
|
204
296
|
|
|
205
|
-
return useMutation(mutationOptions, queryClient);
|
|
206
|
-
};
|
|
207
297
|
/**
|
|
208
|
-
*
|
|
298
|
+
* @summary Delete a Project Path
|
|
299
|
+
*/
|
|
300
|
+
export const invalidateDeletePath = async (
|
|
301
|
+
queryClient: QueryClient,
|
|
302
|
+
params: DeletePathParams,
|
|
303
|
+
options?: InvalidateOptions,
|
|
304
|
+
): Promise<QueryClient> => {
|
|
305
|
+
await queryClient.invalidateQueries({ queryKey: getDeletePathQueryKey(params) }, options);
|
|
209
306
|
|
|
210
|
-
|
|
307
|
+
return queryClient;
|
|
308
|
+
};
|
|
211
309
|
|
|
310
|
+
/**
|
|
311
|
+
* Moves and existing Path within a Project. The path will belong to the User and Project. Any ProjectFile instances on the path will be moved to the new path.
|
|
312
|
+
*
|
|
313
|
+
* Only Project editors can move Paths.
|
|
212
314
|
* @summary Move a Project Path
|
|
213
315
|
*/
|
|
214
316
|
export const movePath = (
|
|
215
317
|
params: MovePathParams,
|
|
216
318
|
options?: SecondParameter<typeof customInstance>,
|
|
319
|
+
signal?: AbortSignal,
|
|
217
320
|
) => {
|
|
218
|
-
return customInstance<void>({ url: `/path/move`, method: "PUT", params }, options);
|
|
321
|
+
return customInstance<void>({ url: `/path/move`, method: "PUT", params, signal }, options);
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
export const getMovePathQueryKey = (params?: MovePathParams) => {
|
|
325
|
+
return ["data-manager", "PUT", "path", "move", ...(params ? [params] : [])] as const;
|
|
219
326
|
};
|
|
220
327
|
|
|
221
|
-
export const
|
|
328
|
+
export const getMovePathQueryOptions = <
|
|
329
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
222
330
|
TError = ErrorType<void | DmError>,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
request?: SecondParameter<typeof customInstance>;
|
|
232
|
-
}): UseMutationOptions<
|
|
233
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
234
|
-
TError,
|
|
235
|
-
{ params: MovePathParams },
|
|
236
|
-
TContext
|
|
237
|
-
> => {
|
|
238
|
-
const mutationKey = ["movePath"];
|
|
239
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
240
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
241
|
-
? options
|
|
242
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
243
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
244
|
-
|
|
245
|
-
const mutationFn: MutationFunction<
|
|
246
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
247
|
-
{ params: MovePathParams }
|
|
248
|
-
> = (props) => {
|
|
249
|
-
const { params } = props ?? {};
|
|
331
|
+
>(
|
|
332
|
+
params: MovePathParams,
|
|
333
|
+
options?: {
|
|
334
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
335
|
+
request?: SecondParameter<typeof customInstance>;
|
|
336
|
+
},
|
|
337
|
+
) => {
|
|
338
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
250
339
|
|
|
251
|
-
|
|
252
|
-
};
|
|
340
|
+
const queryKey = queryOptions?.queryKey ?? getMovePathQueryKey(params);
|
|
253
341
|
|
|
254
|
-
|
|
255
|
-
|
|
342
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof movePath>>> = ({ signal }) =>
|
|
343
|
+
movePath(params, requestOptions, signal);
|
|
256
344
|
|
|
257
|
-
|
|
345
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
346
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
347
|
+
TError,
|
|
348
|
+
TData
|
|
349
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
350
|
+
};
|
|
258
351
|
|
|
259
|
-
export type
|
|
352
|
+
export type MovePathQueryResult = NonNullable<Awaited<ReturnType<typeof movePath>>>;
|
|
353
|
+
export type MovePathQueryError = ErrorType<void | DmError>;
|
|
260
354
|
|
|
355
|
+
export function useMovePath<
|
|
356
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
357
|
+
TError = ErrorType<void | DmError>,
|
|
358
|
+
>(
|
|
359
|
+
params: MovePathParams,
|
|
360
|
+
options: {
|
|
361
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
|
|
362
|
+
Pick<
|
|
363
|
+
DefinedInitialDataOptions<
|
|
364
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
365
|
+
TError,
|
|
366
|
+
Awaited<ReturnType<typeof movePath>>
|
|
367
|
+
>,
|
|
368
|
+
"initialData"
|
|
369
|
+
>;
|
|
370
|
+
request?: SecondParameter<typeof customInstance>;
|
|
371
|
+
},
|
|
372
|
+
queryClient?: QueryClient,
|
|
373
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
374
|
+
export function useMovePath<
|
|
375
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
376
|
+
TError = ErrorType<void | DmError>,
|
|
377
|
+
>(
|
|
378
|
+
params: MovePathParams,
|
|
379
|
+
options?: {
|
|
380
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>> &
|
|
381
|
+
Pick<
|
|
382
|
+
UndefinedInitialDataOptions<
|
|
383
|
+
Awaited<ReturnType<typeof movePath>>,
|
|
384
|
+
TError,
|
|
385
|
+
Awaited<ReturnType<typeof movePath>>
|
|
386
|
+
>,
|
|
387
|
+
"initialData"
|
|
388
|
+
>;
|
|
389
|
+
request?: SecondParameter<typeof customInstance>;
|
|
390
|
+
},
|
|
391
|
+
queryClient?: QueryClient,
|
|
392
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
393
|
+
export function useMovePath<
|
|
394
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
395
|
+
TError = ErrorType<void | DmError>,
|
|
396
|
+
>(
|
|
397
|
+
params: MovePathParams,
|
|
398
|
+
options?: {
|
|
399
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
400
|
+
request?: SecondParameter<typeof customInstance>;
|
|
401
|
+
},
|
|
402
|
+
queryClient?: QueryClient,
|
|
403
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
261
404
|
/**
|
|
262
405
|
* @summary Move a Project Path
|
|
263
406
|
*/
|
|
264
|
-
|
|
407
|
+
|
|
408
|
+
export function useMovePath<
|
|
409
|
+
TData = Awaited<ReturnType<typeof movePath>>,
|
|
410
|
+
TError = ErrorType<void | DmError>,
|
|
411
|
+
>(
|
|
412
|
+
params: MovePathParams,
|
|
265
413
|
options?: {
|
|
266
|
-
|
|
267
|
-
Awaited<ReturnType<typeof movePath>>,
|
|
268
|
-
TError,
|
|
269
|
-
{ params: MovePathParams },
|
|
270
|
-
TContext
|
|
271
|
-
>;
|
|
414
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof movePath>>, TError, TData>>;
|
|
272
415
|
request?: SecondParameter<typeof customInstance>;
|
|
273
416
|
},
|
|
274
417
|
queryClient?: QueryClient,
|
|
275
|
-
):
|
|
276
|
-
|
|
277
|
-
TError,
|
|
278
|
-
{ params: MovePathParams },
|
|
279
|
-
TContext
|
|
280
|
-
> => {
|
|
281
|
-
const mutationOptions = getMovePathMutationOptions(options);
|
|
418
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
419
|
+
const queryOptions = getMovePathQueryOptions(params, options);
|
|
282
420
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
421
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
422
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
426
|
+
}
|
|
287
427
|
|
|
288
|
-
|
|
428
|
+
/**
|
|
429
|
+
* @summary Move a Project Path
|
|
430
|
+
*/
|
|
431
|
+
export const invalidateMovePath = async (
|
|
432
|
+
queryClient: QueryClient,
|
|
433
|
+
params: MovePathParams,
|
|
434
|
+
options?: InvalidateOptions,
|
|
435
|
+
): Promise<QueryClient> => {
|
|
436
|
+
await queryClient.invalidateQueries({ queryKey: getMovePathQueryKey(params) }, options);
|
|
289
437
|
|
|
290
|
-
|
|
438
|
+
return queryClient;
|
|
439
|
+
};
|
|
291
440
|
|
|
441
|
+
/**
|
|
442
|
+
* Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).
|
|
443
|
+
*
|
|
444
|
+
* For **managed** files you should consider using the `/file/{file_id}` endpoint.
|
|
445
|
+
*
|
|
446
|
+
* You must be an `editor` of the Project if the Project is `private`
|
|
292
447
|
* @summary Download a Project file
|
|
293
448
|
*/
|
|
294
449
|
export const getProjectFile = (
|
|
@@ -303,7 +458,7 @@ export const getProjectFile = (
|
|
|
303
458
|
);
|
|
304
459
|
};
|
|
305
460
|
|
|
306
|
-
export const getGetProjectFileQueryKey = (projectId
|
|
461
|
+
export const getGetProjectFileQueryKey = (projectId: string, params?: GetProjectFileParams) => {
|
|
307
462
|
return ["data-manager", "project", projectId, "file", ...(params ? [params] : [])] as const;
|
|
308
463
|
};
|
|
309
464
|
|
|
@@ -325,11 +480,14 @@ export const getGetProjectFileQueryOptions = <
|
|
|
325
480
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getProjectFile>>> = ({ signal }) =>
|
|
326
481
|
getProjectFile(projectId, params, requestOptions, signal);
|
|
327
482
|
|
|
328
|
-
return {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
483
|
+
return {
|
|
484
|
+
queryKey,
|
|
485
|
+
queryFn,
|
|
486
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
487
|
+
...queryOptions,
|
|
488
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getProjectFile>>, TError, TData> & {
|
|
489
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
490
|
+
};
|
|
333
491
|
};
|
|
334
492
|
|
|
335
493
|
export type GetProjectFileQueryResult = NonNullable<Awaited<ReturnType<typeof getProjectFile>>>;
|
|
@@ -354,7 +512,7 @@ export function useGetProjectFile<
|
|
|
354
512
|
request?: SecondParameter<typeof customInstance>;
|
|
355
513
|
},
|
|
356
514
|
queryClient?: QueryClient,
|
|
357
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
515
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
358
516
|
export function useGetProjectFile<
|
|
359
517
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
360
518
|
TError = ErrorType<void | DmError>,
|
|
@@ -374,7 +532,7 @@ export function useGetProjectFile<
|
|
|
374
532
|
request?: SecondParameter<typeof customInstance>;
|
|
375
533
|
},
|
|
376
534
|
queryClient?: QueryClient,
|
|
377
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
535
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
378
536
|
export function useGetProjectFile<
|
|
379
537
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
380
538
|
TError = ErrorType<void | DmError>,
|
|
@@ -386,7 +544,7 @@ export function useGetProjectFile<
|
|
|
386
544
|
request?: SecondParameter<typeof customInstance>;
|
|
387
545
|
},
|
|
388
546
|
queryClient?: QueryClient,
|
|
389
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
547
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
390
548
|
/**
|
|
391
549
|
* @summary Download a Project file
|
|
392
550
|
*/
|
|
@@ -402,16 +560,14 @@ export function useGetProjectFile<
|
|
|
402
560
|
request?: SecondParameter<typeof customInstance>;
|
|
403
561
|
},
|
|
404
562
|
queryClient?: QueryClient,
|
|
405
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
563
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
406
564
|
const queryOptions = getGetProjectFileQueryOptions(projectId, params, options);
|
|
407
565
|
|
|
408
566
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
409
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
567
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
410
568
|
};
|
|
411
569
|
|
|
412
|
-
query
|
|
413
|
-
|
|
414
|
-
return query;
|
|
570
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
415
571
|
}
|
|
416
572
|
|
|
417
573
|
/**
|
|
@@ -455,7 +611,7 @@ export const getGetProjectFileSuspenseQueryOptions = <
|
|
|
455
611
|
Awaited<ReturnType<typeof getProjectFile>>,
|
|
456
612
|
TError,
|
|
457
613
|
TData
|
|
458
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
614
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
459
615
|
};
|
|
460
616
|
|
|
461
617
|
export type GetProjectFileSuspenseQueryResult = NonNullable<
|
|
@@ -476,7 +632,7 @@ export function useGetProjectFileSuspense<
|
|
|
476
632
|
request?: SecondParameter<typeof customInstance>;
|
|
477
633
|
},
|
|
478
634
|
queryClient?: QueryClient,
|
|
479
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
635
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
480
636
|
export function useGetProjectFileSuspense<
|
|
481
637
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
482
638
|
TError = ErrorType<void | DmError>,
|
|
@@ -490,7 +646,7 @@ export function useGetProjectFileSuspense<
|
|
|
490
646
|
request?: SecondParameter<typeof customInstance>;
|
|
491
647
|
},
|
|
492
648
|
queryClient?: QueryClient,
|
|
493
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
649
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
494
650
|
export function useGetProjectFileSuspense<
|
|
495
651
|
TData = Awaited<ReturnType<typeof getProjectFile>>,
|
|
496
652
|
TError = ErrorType<void | DmError>,
|
|
@@ -504,7 +660,7 @@ export function useGetProjectFileSuspense<
|
|
|
504
660
|
request?: SecondParameter<typeof customInstance>;
|
|
505
661
|
},
|
|
506
662
|
queryClient?: QueryClient,
|
|
507
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
663
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
508
664
|
/**
|
|
509
665
|
* @summary Download a Project file
|
|
510
666
|
*/
|
|
@@ -522,30 +678,28 @@ export function useGetProjectFileSuspense<
|
|
|
522
678
|
request?: SecondParameter<typeof customInstance>;
|
|
523
679
|
},
|
|
524
680
|
queryClient?: QueryClient,
|
|
525
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
681
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
526
682
|
const queryOptions = getGetProjectFileSuspenseQueryOptions(projectId, params, options);
|
|
527
683
|
|
|
528
684
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
529
685
|
TData,
|
|
530
686
|
TError
|
|
531
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
532
|
-
|
|
533
|
-
query.queryKey = queryOptions.queryKey;
|
|
687
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
534
688
|
|
|
535
|
-
return query;
|
|
689
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
536
690
|
}
|
|
537
691
|
|
|
538
692
|
/**
|
|
539
693
|
* The user provides an external file for upload to the Project using an optional Path. The path is created if it does not exist.
|
|
540
|
-
|
|
541
|
-
You must be an `editor` of the project
|
|
542
|
-
|
|
694
|
+
*
|
|
695
|
+
* You must be an `editor` of the project
|
|
543
696
|
* @summary Upload a file into a Project
|
|
544
697
|
*/
|
|
545
698
|
export const addFileToProject = (
|
|
546
699
|
projectId: string,
|
|
547
700
|
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
548
701
|
options?: SecondParameter<typeof customInstance>,
|
|
702
|
+
signal?: AbortSignal,
|
|
549
703
|
) => {
|
|
550
704
|
const formData = new FormData();
|
|
551
705
|
formData.append(`file`, projectFilePutBodyBody.file);
|
|
@@ -562,84 +716,151 @@ export const addFileToProject = (
|
|
|
562
716
|
method: "PUT",
|
|
563
717
|
headers: { "Content-Type": "multipart/form-data" },
|
|
564
718
|
data: formData,
|
|
719
|
+
signal,
|
|
565
720
|
},
|
|
566
721
|
options,
|
|
567
722
|
);
|
|
568
723
|
};
|
|
569
724
|
|
|
570
|
-
export const
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
576
|
-
TError,
|
|
577
|
-
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
578
|
-
TContext
|
|
579
|
-
>;
|
|
580
|
-
request?: SecondParameter<typeof customInstance>;
|
|
581
|
-
}): UseMutationOptions<
|
|
582
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
583
|
-
TError,
|
|
584
|
-
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
585
|
-
TContext
|
|
586
|
-
> => {
|
|
587
|
-
const mutationKey = ["addFileToProject"];
|
|
588
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
589
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
590
|
-
? options
|
|
591
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
592
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
593
|
-
|
|
594
|
-
const mutationFn: MutationFunction<
|
|
595
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
596
|
-
{ projectId: string; data: ProjectFilePutBodyBody }
|
|
597
|
-
> = (props) => {
|
|
598
|
-
const { projectId, data } = props ?? {};
|
|
599
|
-
|
|
600
|
-
return addFileToProject(projectId, data, requestOptions);
|
|
601
|
-
};
|
|
602
|
-
|
|
603
|
-
return { mutationFn, ...mutationOptions };
|
|
725
|
+
export const getAddFileToProjectQueryKey = (
|
|
726
|
+
projectId: string,
|
|
727
|
+
projectFilePutBodyBody?: ProjectFilePutBodyBody,
|
|
728
|
+
) => {
|
|
729
|
+
return ["data-manager", "PUT", "project", projectId, "file", projectFilePutBodyBody] as const;
|
|
604
730
|
};
|
|
605
731
|
|
|
606
|
-
export
|
|
607
|
-
Awaited<ReturnType<typeof addFileToProject
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* @summary Upload a file into a Project
|
|
614
|
-
*/
|
|
615
|
-
export const useAddFileToProject = <TError = ErrorType<void | DmError>, TContext = unknown>(
|
|
732
|
+
export const getAddFileToProjectQueryOptions = <
|
|
733
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
734
|
+
TError = ErrorType<void | DmError>,
|
|
735
|
+
>(
|
|
736
|
+
projectId: string,
|
|
737
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
616
738
|
options?: {
|
|
617
|
-
|
|
618
|
-
Awaited<ReturnType<typeof addFileToProject>>,
|
|
619
|
-
TError,
|
|
620
|
-
{ projectId: string; data: ProjectFilePutBodyBody },
|
|
621
|
-
TContext
|
|
622
|
-
>;
|
|
739
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
623
740
|
request?: SecondParameter<typeof customInstance>;
|
|
624
741
|
},
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
TContext
|
|
631
|
-
> => {
|
|
632
|
-
const mutationOptions = getAddFileToProjectMutationOptions(options);
|
|
742
|
+
) => {
|
|
743
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
744
|
+
|
|
745
|
+
const queryKey =
|
|
746
|
+
queryOptions?.queryKey ?? getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody);
|
|
633
747
|
|
|
634
|
-
|
|
748
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addFileToProject>>> = ({ signal }) =>
|
|
749
|
+
addFileToProject(projectId, projectFilePutBodyBody, requestOptions, signal);
|
|
750
|
+
|
|
751
|
+
return {
|
|
752
|
+
queryKey,
|
|
753
|
+
queryFn,
|
|
754
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
755
|
+
...queryOptions,
|
|
756
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData> & {
|
|
757
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
758
|
+
};
|
|
635
759
|
};
|
|
760
|
+
|
|
761
|
+
export type AddFileToProjectQueryResult = NonNullable<Awaited<ReturnType<typeof addFileToProject>>>;
|
|
762
|
+
export type AddFileToProjectQueryError = ErrorType<void | DmError>;
|
|
763
|
+
|
|
764
|
+
export function useAddFileToProject<
|
|
765
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
766
|
+
TError = ErrorType<void | DmError>,
|
|
767
|
+
>(
|
|
768
|
+
projectId: string,
|
|
769
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
770
|
+
options: {
|
|
771
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
|
|
772
|
+
Pick<
|
|
773
|
+
DefinedInitialDataOptions<
|
|
774
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
775
|
+
TError,
|
|
776
|
+
Awaited<ReturnType<typeof addFileToProject>>
|
|
777
|
+
>,
|
|
778
|
+
"initialData"
|
|
779
|
+
>;
|
|
780
|
+
request?: SecondParameter<typeof customInstance>;
|
|
781
|
+
},
|
|
782
|
+
queryClient?: QueryClient,
|
|
783
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
784
|
+
export function useAddFileToProject<
|
|
785
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
786
|
+
TError = ErrorType<void | DmError>,
|
|
787
|
+
>(
|
|
788
|
+
projectId: string,
|
|
789
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
790
|
+
options?: {
|
|
791
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>> &
|
|
792
|
+
Pick<
|
|
793
|
+
UndefinedInitialDataOptions<
|
|
794
|
+
Awaited<ReturnType<typeof addFileToProject>>,
|
|
795
|
+
TError,
|
|
796
|
+
Awaited<ReturnType<typeof addFileToProject>>
|
|
797
|
+
>,
|
|
798
|
+
"initialData"
|
|
799
|
+
>;
|
|
800
|
+
request?: SecondParameter<typeof customInstance>;
|
|
801
|
+
},
|
|
802
|
+
queryClient?: QueryClient,
|
|
803
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
804
|
+
export function useAddFileToProject<
|
|
805
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
806
|
+
TError = ErrorType<void | DmError>,
|
|
807
|
+
>(
|
|
808
|
+
projectId: string,
|
|
809
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
810
|
+
options?: {
|
|
811
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
812
|
+
request?: SecondParameter<typeof customInstance>;
|
|
813
|
+
},
|
|
814
|
+
queryClient?: QueryClient,
|
|
815
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
636
816
|
/**
|
|
637
|
-
*
|
|
817
|
+
* @summary Upload a file into a Project
|
|
818
|
+
*/
|
|
638
819
|
|
|
639
|
-
|
|
820
|
+
export function useAddFileToProject<
|
|
821
|
+
TData = Awaited<ReturnType<typeof addFileToProject>>,
|
|
822
|
+
TError = ErrorType<void | DmError>,
|
|
823
|
+
>(
|
|
824
|
+
projectId: string,
|
|
825
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
826
|
+
options?: {
|
|
827
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addFileToProject>>, TError, TData>>;
|
|
828
|
+
request?: SecondParameter<typeof customInstance>;
|
|
829
|
+
},
|
|
830
|
+
queryClient?: QueryClient,
|
|
831
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
832
|
+
const queryOptions = getAddFileToProjectQueryOptions(projectId, projectFilePutBodyBody, options);
|
|
833
|
+
|
|
834
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
835
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @summary Upload a file into a Project
|
|
843
|
+
*/
|
|
844
|
+
export const invalidateAddFileToProject = async (
|
|
845
|
+
queryClient: QueryClient,
|
|
846
|
+
projectId: string,
|
|
847
|
+
projectFilePutBodyBody: ProjectFilePutBodyBody,
|
|
848
|
+
options?: InvalidateOptions,
|
|
849
|
+
): Promise<QueryClient> => {
|
|
850
|
+
await queryClient.invalidateQueries(
|
|
851
|
+
{ queryKey: getAddFileToProjectQueryKey(projectId, projectFilePutBodyBody) },
|
|
852
|
+
options,
|
|
853
|
+
);
|
|
640
854
|
|
|
641
|
-
|
|
855
|
+
return queryClient;
|
|
856
|
+
};
|
|
642
857
|
|
|
858
|
+
/**
|
|
859
|
+
* Gets a file from the project, with an optional path. This method should be used to get arbitrary files from the Project's file system (typically **unmanaged** files).
|
|
860
|
+
*
|
|
861
|
+
* For **managed** files you should consider using the `/file/{file_id}` endpoint.
|
|
862
|
+
*
|
|
863
|
+
* 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.
|
|
643
864
|
* @summary Download a Project file using a Token
|
|
644
865
|
*/
|
|
645
866
|
export const getProjectFileWithToken = (
|
|
@@ -655,7 +876,7 @@ export const getProjectFileWithToken = (
|
|
|
655
876
|
};
|
|
656
877
|
|
|
657
878
|
export const getGetProjectFileWithTokenQueryKey = (
|
|
658
|
-
projectId
|
|
879
|
+
projectId: string,
|
|
659
880
|
params?: GetProjectFileWithTokenParams,
|
|
660
881
|
) => {
|
|
661
882
|
return [
|
|
@@ -688,11 +909,14 @@ export const getGetProjectFileWithTokenQueryOptions = <
|
|
|
688
909
|
signal,
|
|
689
910
|
}) => getProjectFileWithToken(projectId, params, requestOptions, signal);
|
|
690
911
|
|
|
691
|
-
return {
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
912
|
+
return {
|
|
913
|
+
queryKey,
|
|
914
|
+
queryFn,
|
|
915
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
916
|
+
...queryOptions,
|
|
917
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getProjectFileWithToken>>, TError, TData> & {
|
|
918
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
919
|
+
};
|
|
696
920
|
};
|
|
697
921
|
|
|
698
922
|
export type GetProjectFileWithTokenQueryResult = NonNullable<
|
|
@@ -721,7 +945,7 @@ export function useGetProjectFileWithToken<
|
|
|
721
945
|
request?: SecondParameter<typeof customInstance>;
|
|
722
946
|
},
|
|
723
947
|
queryClient?: QueryClient,
|
|
724
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
948
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
725
949
|
export function useGetProjectFileWithToken<
|
|
726
950
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
727
951
|
TError = ErrorType<DmError>,
|
|
@@ -743,7 +967,7 @@ export function useGetProjectFileWithToken<
|
|
|
743
967
|
request?: SecondParameter<typeof customInstance>;
|
|
744
968
|
},
|
|
745
969
|
queryClient?: QueryClient,
|
|
746
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
970
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
747
971
|
export function useGetProjectFileWithToken<
|
|
748
972
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
749
973
|
TError = ErrorType<DmError>,
|
|
@@ -757,7 +981,7 @@ export function useGetProjectFileWithToken<
|
|
|
757
981
|
request?: SecondParameter<typeof customInstance>;
|
|
758
982
|
},
|
|
759
983
|
queryClient?: QueryClient,
|
|
760
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
984
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
761
985
|
/**
|
|
762
986
|
* @summary Download a Project file using a Token
|
|
763
987
|
*/
|
|
@@ -775,16 +999,14 @@ export function useGetProjectFileWithToken<
|
|
|
775
999
|
request?: SecondParameter<typeof customInstance>;
|
|
776
1000
|
},
|
|
777
1001
|
queryClient?: QueryClient,
|
|
778
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1002
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
779
1003
|
const queryOptions = getGetProjectFileWithTokenQueryOptions(projectId, params, options);
|
|
780
1004
|
|
|
781
1005
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
782
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1006
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
783
1007
|
};
|
|
784
1008
|
|
|
785
|
-
query
|
|
786
|
-
|
|
787
|
-
return query;
|
|
1009
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
788
1010
|
}
|
|
789
1011
|
|
|
790
1012
|
/**
|
|
@@ -829,7 +1051,7 @@ export const getGetProjectFileWithTokenSuspenseQueryOptions = <
|
|
|
829
1051
|
Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
830
1052
|
TError,
|
|
831
1053
|
TData
|
|
832
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1054
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
833
1055
|
};
|
|
834
1056
|
|
|
835
1057
|
export type GetProjectFileWithTokenSuspenseQueryResult = NonNullable<
|
|
@@ -850,7 +1072,7 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
850
1072
|
request?: SecondParameter<typeof customInstance>;
|
|
851
1073
|
},
|
|
852
1074
|
queryClient?: QueryClient,
|
|
853
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1075
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
854
1076
|
export function useGetProjectFileWithTokenSuspense<
|
|
855
1077
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
856
1078
|
TError = ErrorType<DmError>,
|
|
@@ -864,7 +1086,7 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
864
1086
|
request?: SecondParameter<typeof customInstance>;
|
|
865
1087
|
},
|
|
866
1088
|
queryClient?: QueryClient,
|
|
867
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1089
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
868
1090
|
export function useGetProjectFileWithTokenSuspense<
|
|
869
1091
|
TData = Awaited<ReturnType<typeof getProjectFileWithToken>>,
|
|
870
1092
|
TError = ErrorType<DmError>,
|
|
@@ -878,7 +1100,7 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
878
1100
|
request?: SecondParameter<typeof customInstance>;
|
|
879
1101
|
},
|
|
880
1102
|
queryClient?: QueryClient,
|
|
881
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1103
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
882
1104
|
/**
|
|
883
1105
|
* @summary Download a Project file using a Token
|
|
884
1106
|
*/
|
|
@@ -896,22 +1118,19 @@ export function useGetProjectFileWithTokenSuspense<
|
|
|
896
1118
|
request?: SecondParameter<typeof customInstance>;
|
|
897
1119
|
},
|
|
898
1120
|
queryClient?: QueryClient,
|
|
899
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1121
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
900
1122
|
const queryOptions = getGetProjectFileWithTokenSuspenseQueryOptions(projectId, params, options);
|
|
901
1123
|
|
|
902
1124
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
903
1125
|
TData,
|
|
904
1126
|
TError
|
|
905
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1127
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
906
1128
|
|
|
907
|
-
query
|
|
908
|
-
|
|
909
|
-
return query;
|
|
1129
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
910
1130
|
}
|
|
911
1131
|
|
|
912
1132
|
/**
|
|
913
1133
|
* Given a Project and Path the files available to you on that path will be returned along with any additional paths (sub-directories).
|
|
914
|
-
|
|
915
1134
|
* @summary Gets the Files on a Project Path
|
|
916
1135
|
*/
|
|
917
1136
|
export const getFiles = (
|
|
@@ -947,7 +1166,7 @@ export const getGetFilesQueryOptions = <
|
|
|
947
1166
|
Awaited<ReturnType<typeof getFiles>>,
|
|
948
1167
|
TError,
|
|
949
1168
|
TData
|
|
950
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1169
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
951
1170
|
};
|
|
952
1171
|
|
|
953
1172
|
export type GetFilesQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;
|
|
@@ -971,7 +1190,7 @@ export function useGetFiles<
|
|
|
971
1190
|
request?: SecondParameter<typeof customInstance>;
|
|
972
1191
|
},
|
|
973
1192
|
queryClient?: QueryClient,
|
|
974
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1193
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
975
1194
|
export function useGetFiles<
|
|
976
1195
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
977
1196
|
TError = ErrorType<void | DmError>,
|
|
@@ -990,7 +1209,7 @@ export function useGetFiles<
|
|
|
990
1209
|
request?: SecondParameter<typeof customInstance>;
|
|
991
1210
|
},
|
|
992
1211
|
queryClient?: QueryClient,
|
|
993
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1212
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
994
1213
|
export function useGetFiles<
|
|
995
1214
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
996
1215
|
TError = ErrorType<void | DmError>,
|
|
@@ -1001,7 +1220,7 @@ export function useGetFiles<
|
|
|
1001
1220
|
request?: SecondParameter<typeof customInstance>;
|
|
1002
1221
|
},
|
|
1003
1222
|
queryClient?: QueryClient,
|
|
1004
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1223
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1005
1224
|
/**
|
|
1006
1225
|
* @summary Gets the Files on a Project Path
|
|
1007
1226
|
*/
|
|
@@ -1016,16 +1235,14 @@ export function useGetFiles<
|
|
|
1016
1235
|
request?: SecondParameter<typeof customInstance>;
|
|
1017
1236
|
},
|
|
1018
1237
|
queryClient?: QueryClient,
|
|
1019
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1238
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1020
1239
|
const queryOptions = getGetFilesQueryOptions(params, options);
|
|
1021
1240
|
|
|
1022
1241
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1023
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
1242
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1024
1243
|
};
|
|
1025
1244
|
|
|
1026
|
-
query
|
|
1027
|
-
|
|
1028
|
-
return query;
|
|
1245
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1029
1246
|
}
|
|
1030
1247
|
|
|
1031
1248
|
/**
|
|
@@ -1062,7 +1279,7 @@ export const getGetFilesSuspenseQueryOptions = <
|
|
|
1062
1279
|
Awaited<ReturnType<typeof getFiles>>,
|
|
1063
1280
|
TError,
|
|
1064
1281
|
TData
|
|
1065
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1282
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1066
1283
|
};
|
|
1067
1284
|
|
|
1068
1285
|
export type GetFilesSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getFiles>>>;
|
|
@@ -1078,7 +1295,7 @@ export function useGetFilesSuspense<
|
|
|
1078
1295
|
request?: SecondParameter<typeof customInstance>;
|
|
1079
1296
|
},
|
|
1080
1297
|
queryClient?: QueryClient,
|
|
1081
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1298
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1082
1299
|
export function useGetFilesSuspense<
|
|
1083
1300
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
1084
1301
|
TError = ErrorType<void | DmError>,
|
|
@@ -1089,7 +1306,7 @@ export function useGetFilesSuspense<
|
|
|
1089
1306
|
request?: SecondParameter<typeof customInstance>;
|
|
1090
1307
|
},
|
|
1091
1308
|
queryClient?: QueryClient,
|
|
1092
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1309
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1093
1310
|
export function useGetFilesSuspense<
|
|
1094
1311
|
TData = Awaited<ReturnType<typeof getFiles>>,
|
|
1095
1312
|
TError = ErrorType<void | DmError>,
|
|
@@ -1100,7 +1317,7 @@ export function useGetFilesSuspense<
|
|
|
1100
1317
|
request?: SecondParameter<typeof customInstance>;
|
|
1101
1318
|
},
|
|
1102
1319
|
queryClient?: QueryClient,
|
|
1103
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1320
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1104
1321
|
/**
|
|
1105
1322
|
* @summary Gets the Files on a Project Path
|
|
1106
1323
|
*/
|
|
@@ -1115,30 +1332,27 @@ export function useGetFilesSuspense<
|
|
|
1115
1332
|
request?: SecondParameter<typeof customInstance>;
|
|
1116
1333
|
},
|
|
1117
1334
|
queryClient?: QueryClient,
|
|
1118
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
1335
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1119
1336
|
const queryOptions = getGetFilesSuspenseQueryOptions(params, options);
|
|
1120
1337
|
|
|
1121
1338
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1122
1339
|
TData,
|
|
1123
1340
|
TError
|
|
1124
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1341
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1125
1342
|
|
|
1126
|
-
query
|
|
1127
|
-
|
|
1128
|
-
return query;
|
|
1343
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1129
1344
|
}
|
|
1130
1345
|
|
|
1131
1346
|
/**
|
|
1132
1347
|
* 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.
|
|
1133
|
-
|
|
1134
|
-
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.
|
|
1135
|
-
|
|
1136
|
-
An `editor` of a **dataset** is not automatically and `editor` of the **project** it's attached to.
|
|
1137
|
-
|
|
1138
|
-
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.
|
|
1139
|
-
|
|
1140
|
-
You cannot add a Dataset to a Project until its upload is complete.
|
|
1141
|
-
|
|
1348
|
+
*
|
|
1349
|
+
* 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.
|
|
1350
|
+
*
|
|
1351
|
+
* An `editor` of a **dataset** is not automatically and `editor` of the **project** it's attached to.
|
|
1352
|
+
*
|
|
1353
|
+
* 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.
|
|
1354
|
+
*
|
|
1355
|
+
* You cannot add a Dataset to a Project until its upload is complete.
|
|
1142
1356
|
* @summary Attach a Dataset, as a File, to a Project
|
|
1143
1357
|
*/
|
|
1144
1358
|
export const attachFile = (
|
|
@@ -1173,311 +1387,545 @@ export const attachFile = (
|
|
|
1173
1387
|
);
|
|
1174
1388
|
};
|
|
1175
1389
|
|
|
1176
|
-
export const
|
|
1390
|
+
export const getAttachFileQueryKey = (filePostBodyBody?: FilePostBodyBody) => {
|
|
1391
|
+
return ["data-manager", "POST", "file", filePostBodyBody] as const;
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
export const getAttachFileQueryOptions = <
|
|
1395
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1177
1396
|
TError = ErrorType<void | DmError>,
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1187
|
-
}): UseMutationOptions<
|
|
1188
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1189
|
-
TError,
|
|
1190
|
-
{ data: FilePostBodyBody },
|
|
1191
|
-
TContext
|
|
1192
|
-
> => {
|
|
1193
|
-
const mutationKey = ["attachFile"];
|
|
1194
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1195
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1196
|
-
? options
|
|
1197
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1198
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1199
|
-
|
|
1200
|
-
const mutationFn: MutationFunction<
|
|
1201
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1202
|
-
{ data: FilePostBodyBody }
|
|
1203
|
-
> = (props) => {
|
|
1204
|
-
const { data } = props ?? {};
|
|
1397
|
+
>(
|
|
1398
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1399
|
+
options?: {
|
|
1400
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1401
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1402
|
+
},
|
|
1403
|
+
) => {
|
|
1404
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1205
1405
|
|
|
1206
|
-
|
|
1207
|
-
|
|
1406
|
+
const queryKey = queryOptions?.queryKey ?? getAttachFileQueryKey(filePostBodyBody);
|
|
1407
|
+
|
|
1408
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof attachFile>>> = ({ signal }) =>
|
|
1409
|
+
attachFile(filePostBodyBody, requestOptions, signal);
|
|
1208
1410
|
|
|
1209
|
-
return {
|
|
1411
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1412
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1413
|
+
TError,
|
|
1414
|
+
TData
|
|
1415
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1210
1416
|
};
|
|
1211
1417
|
|
|
1212
|
-
export type
|
|
1213
|
-
export type
|
|
1214
|
-
export type AttachFileMutationError = ErrorType<void | DmError>;
|
|
1418
|
+
export type AttachFileQueryResult = NonNullable<Awaited<ReturnType<typeof attachFile>>>;
|
|
1419
|
+
export type AttachFileQueryError = ErrorType<void | DmError>;
|
|
1215
1420
|
|
|
1421
|
+
export function useAttachFile<
|
|
1422
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1423
|
+
TError = ErrorType<void | DmError>,
|
|
1424
|
+
>(
|
|
1425
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1426
|
+
options: {
|
|
1427
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
|
|
1428
|
+
Pick<
|
|
1429
|
+
DefinedInitialDataOptions<
|
|
1430
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1431
|
+
TError,
|
|
1432
|
+
Awaited<ReturnType<typeof attachFile>>
|
|
1433
|
+
>,
|
|
1434
|
+
"initialData"
|
|
1435
|
+
>;
|
|
1436
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1437
|
+
},
|
|
1438
|
+
queryClient?: QueryClient,
|
|
1439
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1440
|
+
export function useAttachFile<
|
|
1441
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1442
|
+
TError = ErrorType<void | DmError>,
|
|
1443
|
+
>(
|
|
1444
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1445
|
+
options?: {
|
|
1446
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>> &
|
|
1447
|
+
Pick<
|
|
1448
|
+
UndefinedInitialDataOptions<
|
|
1449
|
+
Awaited<ReturnType<typeof attachFile>>,
|
|
1450
|
+
TError,
|
|
1451
|
+
Awaited<ReturnType<typeof attachFile>>
|
|
1452
|
+
>,
|
|
1453
|
+
"initialData"
|
|
1454
|
+
>;
|
|
1455
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1456
|
+
},
|
|
1457
|
+
queryClient?: QueryClient,
|
|
1458
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1459
|
+
export function useAttachFile<
|
|
1460
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1461
|
+
TError = ErrorType<void | DmError>,
|
|
1462
|
+
>(
|
|
1463
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1464
|
+
options?: {
|
|
1465
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1466
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1467
|
+
},
|
|
1468
|
+
queryClient?: QueryClient,
|
|
1469
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1216
1470
|
/**
|
|
1217
1471
|
* @summary Attach a Dataset, as a File, to a Project
|
|
1218
1472
|
*/
|
|
1219
|
-
|
|
1473
|
+
|
|
1474
|
+
export function useAttachFile<
|
|
1475
|
+
TData = Awaited<ReturnType<typeof attachFile>>,
|
|
1476
|
+
TError = ErrorType<void | DmError>,
|
|
1477
|
+
>(
|
|
1478
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1220
1479
|
options?: {
|
|
1221
|
-
|
|
1222
|
-
Awaited<ReturnType<typeof attachFile>>,
|
|
1223
|
-
TError,
|
|
1224
|
-
{ data: FilePostBodyBody },
|
|
1225
|
-
TContext
|
|
1226
|
-
>;
|
|
1480
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof attachFile>>, TError, TData>>;
|
|
1227
1481
|
request?: SecondParameter<typeof customInstance>;
|
|
1228
1482
|
},
|
|
1229
1483
|
queryClient?: QueryClient,
|
|
1230
|
-
):
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1484
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1485
|
+
const queryOptions = getAttachFileQueryOptions(filePostBodyBody, options);
|
|
1486
|
+
|
|
1487
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1488
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1492
|
+
}
|
|
1237
1493
|
|
|
1238
|
-
return useMutation(mutationOptions, queryClient);
|
|
1239
|
-
};
|
|
1240
1494
|
/**
|
|
1241
|
-
*
|
|
1495
|
+
* @summary Attach a Dataset, as a File, to a Project
|
|
1496
|
+
*/
|
|
1497
|
+
export const invalidateAttachFile = async (
|
|
1498
|
+
queryClient: QueryClient,
|
|
1499
|
+
filePostBodyBody: FilePostBodyBody,
|
|
1500
|
+
options?: InvalidateOptions,
|
|
1501
|
+
): Promise<QueryClient> => {
|
|
1502
|
+
await queryClient.invalidateQueries(
|
|
1503
|
+
{ queryKey: getAttachFileQueryKey(filePostBodyBody) },
|
|
1504
|
+
options,
|
|
1505
|
+
);
|
|
1242
1506
|
|
|
1243
|
-
|
|
1507
|
+
return queryClient;
|
|
1508
|
+
};
|
|
1244
1509
|
|
|
1510
|
+
/**
|
|
1511
|
+
* Removes an unmanaged file from a Project. You cannot use this endpoint to delete managed project files.
|
|
1512
|
+
*
|
|
1513
|
+
* You must be an `editor` of the Project to delete a file from a Project.
|
|
1245
1514
|
* @summary Delete an unmanaged Project File
|
|
1246
1515
|
*/
|
|
1247
1516
|
export const deleteUnmanagedFile = (
|
|
1248
1517
|
params: DeleteUnmanagedFileParams,
|
|
1249
1518
|
options?: SecondParameter<typeof customInstance>,
|
|
1519
|
+
signal?: AbortSignal,
|
|
1250
1520
|
) => {
|
|
1251
|
-
return customInstance<void>({ url: `/file`, method: "DELETE", params }, options);
|
|
1521
|
+
return customInstance<void>({ url: `/file`, method: "DELETE", params, signal }, options);
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
export const getDeleteUnmanagedFileQueryKey = (params?: DeleteUnmanagedFileParams) => {
|
|
1525
|
+
return ["data-manager", "DELETE", "file", ...(params ? [params] : [])] as const;
|
|
1252
1526
|
};
|
|
1253
1527
|
|
|
1254
|
-
export const
|
|
1528
|
+
export const getDeleteUnmanagedFileQueryOptions = <
|
|
1529
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1255
1530
|
TError = ErrorType<void | DmError>,
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1267
|
-
TError,
|
|
1268
|
-
{ params: DeleteUnmanagedFileParams },
|
|
1269
|
-
TContext
|
|
1270
|
-
> => {
|
|
1271
|
-
const mutationKey = ["deleteUnmanagedFile"];
|
|
1272
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1273
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1274
|
-
? options
|
|
1275
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1276
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1277
|
-
|
|
1278
|
-
const mutationFn: MutationFunction<
|
|
1279
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1280
|
-
{ params: DeleteUnmanagedFileParams }
|
|
1281
|
-
> = (props) => {
|
|
1282
|
-
const { params } = props ?? {};
|
|
1531
|
+
>(
|
|
1532
|
+
params: DeleteUnmanagedFileParams,
|
|
1533
|
+
options?: {
|
|
1534
|
+
query?: Partial<
|
|
1535
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1536
|
+
>;
|
|
1537
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1538
|
+
},
|
|
1539
|
+
) => {
|
|
1540
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1283
1541
|
|
|
1284
|
-
|
|
1285
|
-
|
|
1542
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteUnmanagedFileQueryKey(params);
|
|
1543
|
+
|
|
1544
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteUnmanagedFile>>> = ({ signal }) =>
|
|
1545
|
+
deleteUnmanagedFile(params, requestOptions, signal);
|
|
1286
1546
|
|
|
1287
|
-
return {
|
|
1547
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1548
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1549
|
+
TError,
|
|
1550
|
+
TData
|
|
1551
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1288
1552
|
};
|
|
1289
1553
|
|
|
1290
|
-
export type
|
|
1554
|
+
export type DeleteUnmanagedFileQueryResult = NonNullable<
|
|
1291
1555
|
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1292
1556
|
>;
|
|
1557
|
+
export type DeleteUnmanagedFileQueryError = ErrorType<void | DmError>;
|
|
1293
1558
|
|
|
1294
|
-
export
|
|
1295
|
-
|
|
1559
|
+
export function useDeleteUnmanagedFile<
|
|
1560
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1561
|
+
TError = ErrorType<void | DmError>,
|
|
1562
|
+
>(
|
|
1563
|
+
params: DeleteUnmanagedFileParams,
|
|
1564
|
+
options: {
|
|
1565
|
+
query: Partial<
|
|
1566
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1567
|
+
> &
|
|
1568
|
+
Pick<
|
|
1569
|
+
DefinedInitialDataOptions<
|
|
1570
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1571
|
+
TError,
|
|
1572
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1573
|
+
>,
|
|
1574
|
+
"initialData"
|
|
1575
|
+
>;
|
|
1576
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1577
|
+
},
|
|
1578
|
+
queryClient?: QueryClient,
|
|
1579
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1580
|
+
export function useDeleteUnmanagedFile<
|
|
1581
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1582
|
+
TError = ErrorType<void | DmError>,
|
|
1583
|
+
>(
|
|
1584
|
+
params: DeleteUnmanagedFileParams,
|
|
1585
|
+
options?: {
|
|
1586
|
+
query?: Partial<
|
|
1587
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1588
|
+
> &
|
|
1589
|
+
Pick<
|
|
1590
|
+
UndefinedInitialDataOptions<
|
|
1591
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1592
|
+
TError,
|
|
1593
|
+
Awaited<ReturnType<typeof deleteUnmanagedFile>>
|
|
1594
|
+
>,
|
|
1595
|
+
"initialData"
|
|
1596
|
+
>;
|
|
1597
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1598
|
+
},
|
|
1599
|
+
queryClient?: QueryClient,
|
|
1600
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1601
|
+
export function useDeleteUnmanagedFile<
|
|
1602
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1603
|
+
TError = ErrorType<void | DmError>,
|
|
1604
|
+
>(
|
|
1605
|
+
params: DeleteUnmanagedFileParams,
|
|
1606
|
+
options?: {
|
|
1607
|
+
query?: Partial<
|
|
1608
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1609
|
+
>;
|
|
1610
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1611
|
+
},
|
|
1612
|
+
queryClient?: QueryClient,
|
|
1613
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1296
1614
|
/**
|
|
1297
1615
|
* @summary Delete an unmanaged Project File
|
|
1298
1616
|
*/
|
|
1299
|
-
|
|
1617
|
+
|
|
1618
|
+
export function useDeleteUnmanagedFile<
|
|
1619
|
+
TData = Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1620
|
+
TError = ErrorType<void | DmError>,
|
|
1621
|
+
>(
|
|
1622
|
+
params: DeleteUnmanagedFileParams,
|
|
1300
1623
|
options?: {
|
|
1301
|
-
|
|
1302
|
-
Awaited<ReturnType<typeof deleteUnmanagedFile>>,
|
|
1303
|
-
TError,
|
|
1304
|
-
{ params: DeleteUnmanagedFileParams },
|
|
1305
|
-
TContext
|
|
1624
|
+
query?: Partial<
|
|
1625
|
+
UseQueryOptions<Awaited<ReturnType<typeof deleteUnmanagedFile>>, TError, TData>
|
|
1306
1626
|
>;
|
|
1307
1627
|
request?: SecondParameter<typeof customInstance>;
|
|
1308
1628
|
},
|
|
1309
1629
|
queryClient?: QueryClient,
|
|
1310
|
-
):
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1630
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1631
|
+
const queryOptions = getDeleteUnmanagedFileQueryOptions(params, options);
|
|
1632
|
+
|
|
1633
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1634
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1638
|
+
}
|
|
1317
1639
|
|
|
1318
|
-
return useMutation(mutationOptions, queryClient);
|
|
1319
|
-
};
|
|
1320
1640
|
/**
|
|
1321
|
-
*
|
|
1641
|
+
* @summary Delete an unmanaged Project File
|
|
1642
|
+
*/
|
|
1643
|
+
export const invalidateDeleteUnmanagedFile = async (
|
|
1644
|
+
queryClient: QueryClient,
|
|
1645
|
+
params: DeleteUnmanagedFileParams,
|
|
1646
|
+
options?: InvalidateOptions,
|
|
1647
|
+
): Promise<QueryClient> => {
|
|
1648
|
+
await queryClient.invalidateQueries(
|
|
1649
|
+
{ queryKey: getDeleteUnmanagedFileQueryKey(params) },
|
|
1650
|
+
options,
|
|
1651
|
+
);
|
|
1322
1652
|
|
|
1323
|
-
|
|
1653
|
+
return queryClient;
|
|
1654
|
+
};
|
|
1324
1655
|
|
|
1656
|
+
/**
|
|
1657
|
+
* Move an **Unmanaged** file, optionally renaming it, to a new path.
|
|
1658
|
+
*
|
|
1659
|
+
* You must be an `editor` of the project
|
|
1325
1660
|
* @summary Move an unmanaged file in a Project
|
|
1326
1661
|
*/
|
|
1327
1662
|
export const moveFileInProject = (
|
|
1328
1663
|
params: MoveFileInProjectParams,
|
|
1329
1664
|
options?: SecondParameter<typeof customInstance>,
|
|
1665
|
+
signal?: AbortSignal,
|
|
1330
1666
|
) => {
|
|
1331
|
-
return customInstance<void>({ url: `/file/move`, method: "PUT", params }, options);
|
|
1667
|
+
return customInstance<void>({ url: `/file/move`, method: "PUT", params, signal }, options);
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
export const getMoveFileInProjectQueryKey = (params?: MoveFileInProjectParams) => {
|
|
1671
|
+
return ["data-manager", "PUT", "file", "move", ...(params ? [params] : [])] as const;
|
|
1332
1672
|
};
|
|
1333
1673
|
|
|
1334
|
-
export const
|
|
1674
|
+
export const getMoveFileInProjectQueryOptions = <
|
|
1675
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1335
1676
|
TError = ErrorType<void | DmError>,
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1345
|
-
}): UseMutationOptions<
|
|
1346
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1347
|
-
TError,
|
|
1348
|
-
{ params: MoveFileInProjectParams },
|
|
1349
|
-
TContext
|
|
1350
|
-
> => {
|
|
1351
|
-
const mutationKey = ["moveFileInProject"];
|
|
1352
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1353
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1354
|
-
? options
|
|
1355
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1356
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1357
|
-
|
|
1358
|
-
const mutationFn: MutationFunction<
|
|
1359
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1360
|
-
{ params: MoveFileInProjectParams }
|
|
1361
|
-
> = (props) => {
|
|
1362
|
-
const { params } = props ?? {};
|
|
1677
|
+
>(
|
|
1678
|
+
params: MoveFileInProjectParams,
|
|
1679
|
+
options?: {
|
|
1680
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
1681
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1682
|
+
},
|
|
1683
|
+
) => {
|
|
1684
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1363
1685
|
|
|
1364
|
-
|
|
1365
|
-
|
|
1686
|
+
const queryKey = queryOptions?.queryKey ?? getMoveFileInProjectQueryKey(params);
|
|
1687
|
+
|
|
1688
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof moveFileInProject>>> = ({ signal }) =>
|
|
1689
|
+
moveFileInProject(params, requestOptions, signal);
|
|
1366
1690
|
|
|
1367
|
-
return {
|
|
1691
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
1692
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1693
|
+
TError,
|
|
1694
|
+
TData
|
|
1695
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1368
1696
|
};
|
|
1369
1697
|
|
|
1370
|
-
export type
|
|
1698
|
+
export type MoveFileInProjectQueryResult = NonNullable<
|
|
1371
1699
|
Awaited<ReturnType<typeof moveFileInProject>>
|
|
1372
1700
|
>;
|
|
1701
|
+
export type MoveFileInProjectQueryError = ErrorType<void | DmError>;
|
|
1373
1702
|
|
|
1374
|
-
export
|
|
1375
|
-
|
|
1703
|
+
export function useMoveFileInProject<
|
|
1704
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1705
|
+
TError = ErrorType<void | DmError>,
|
|
1706
|
+
>(
|
|
1707
|
+
params: MoveFileInProjectParams,
|
|
1708
|
+
options: {
|
|
1709
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
|
|
1710
|
+
Pick<
|
|
1711
|
+
DefinedInitialDataOptions<
|
|
1712
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1713
|
+
TError,
|
|
1714
|
+
Awaited<ReturnType<typeof moveFileInProject>>
|
|
1715
|
+
>,
|
|
1716
|
+
"initialData"
|
|
1717
|
+
>;
|
|
1718
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1719
|
+
},
|
|
1720
|
+
queryClient?: QueryClient,
|
|
1721
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1722
|
+
export function useMoveFileInProject<
|
|
1723
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1724
|
+
TError = ErrorType<void | DmError>,
|
|
1725
|
+
>(
|
|
1726
|
+
params: MoveFileInProjectParams,
|
|
1727
|
+
options?: {
|
|
1728
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>> &
|
|
1729
|
+
Pick<
|
|
1730
|
+
UndefinedInitialDataOptions<
|
|
1731
|
+
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1732
|
+
TError,
|
|
1733
|
+
Awaited<ReturnType<typeof moveFileInProject>>
|
|
1734
|
+
>,
|
|
1735
|
+
"initialData"
|
|
1736
|
+
>;
|
|
1737
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1738
|
+
},
|
|
1739
|
+
queryClient?: QueryClient,
|
|
1740
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1741
|
+
export function useMoveFileInProject<
|
|
1742
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1743
|
+
TError = ErrorType<void | DmError>,
|
|
1744
|
+
>(
|
|
1745
|
+
params: MoveFileInProjectParams,
|
|
1746
|
+
options?: {
|
|
1747
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
1748
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1749
|
+
},
|
|
1750
|
+
queryClient?: QueryClient,
|
|
1751
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1376
1752
|
/**
|
|
1377
1753
|
* @summary Move an unmanaged file in a Project
|
|
1378
1754
|
*/
|
|
1379
|
-
|
|
1755
|
+
|
|
1756
|
+
export function useMoveFileInProject<
|
|
1757
|
+
TData = Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1758
|
+
TError = ErrorType<void | DmError>,
|
|
1759
|
+
>(
|
|
1760
|
+
params: MoveFileInProjectParams,
|
|
1380
1761
|
options?: {
|
|
1381
|
-
|
|
1382
|
-
Awaited<ReturnType<typeof moveFileInProject>>,
|
|
1383
|
-
TError,
|
|
1384
|
-
{ params: MoveFileInProjectParams },
|
|
1385
|
-
TContext
|
|
1386
|
-
>;
|
|
1762
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof moveFileInProject>>, TError, TData>>;
|
|
1387
1763
|
request?: SecondParameter<typeof customInstance>;
|
|
1388
1764
|
},
|
|
1389
1765
|
queryClient?: QueryClient,
|
|
1390
|
-
):
|
|
1391
|
-
|
|
1392
|
-
TError,
|
|
1393
|
-
{ params: MoveFileInProjectParams },
|
|
1394
|
-
TContext
|
|
1395
|
-
> => {
|
|
1396
|
-
const mutationOptions = getMoveFileInProjectMutationOptions(options);
|
|
1766
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1767
|
+
const queryOptions = getMoveFileInProjectQueryOptions(params, options);
|
|
1397
1768
|
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1769
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1770
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1771
|
+
};
|
|
1772
|
+
|
|
1773
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1774
|
+
}
|
|
1402
1775
|
|
|
1403
|
-
|
|
1776
|
+
/**
|
|
1777
|
+
* @summary Move an unmanaged file in a Project
|
|
1778
|
+
*/
|
|
1779
|
+
export const invalidateMoveFileInProject = async (
|
|
1780
|
+
queryClient: QueryClient,
|
|
1781
|
+
params: MoveFileInProjectParams,
|
|
1782
|
+
options?: InvalidateOptions,
|
|
1783
|
+
): Promise<QueryClient> => {
|
|
1784
|
+
await queryClient.invalidateQueries({ queryKey: getMoveFileInProjectQueryKey(params) }, options);
|
|
1404
1785
|
|
|
1405
|
-
|
|
1786
|
+
return queryClient;
|
|
1787
|
+
};
|
|
1406
1788
|
|
|
1789
|
+
/**
|
|
1790
|
+
* Given a `file_id` the file will be removed from the Project it's attached to.
|
|
1791
|
+
*
|
|
1792
|
+
* 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.
|
|
1793
|
+
*
|
|
1794
|
+
* You cannot delete a Project File until the attach is complete.
|
|
1407
1795
|
* @summary Delete/detach a File (from a Project)
|
|
1408
1796
|
*/
|
|
1409
|
-
export const deleteFile = (
|
|
1410
|
-
|
|
1797
|
+
export const deleteFile = (
|
|
1798
|
+
fileId: string,
|
|
1799
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1800
|
+
signal?: AbortSignal,
|
|
1801
|
+
) => {
|
|
1802
|
+
return customInstance<void>({ url: `/file/${fileId}`, method: "DELETE", signal }, options);
|
|
1411
1803
|
};
|
|
1412
1804
|
|
|
1413
|
-
export const
|
|
1805
|
+
export const getDeleteFileQueryKey = (fileId: string) => {
|
|
1806
|
+
return ["data-manager", "DELETE", "file", fileId] as const;
|
|
1807
|
+
};
|
|
1808
|
+
|
|
1809
|
+
export const getDeleteFileQueryOptions = <
|
|
1810
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1414
1811
|
TError = ErrorType<void | DmError>,
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
request?: SecondParameter<typeof customInstance>;
|
|
1424
|
-
}): UseMutationOptions<
|
|
1425
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1426
|
-
TError,
|
|
1427
|
-
{ fileId: string },
|
|
1428
|
-
TContext
|
|
1429
|
-
> => {
|
|
1430
|
-
const mutationKey = ["deleteFile"];
|
|
1431
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1432
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1433
|
-
? options
|
|
1434
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1435
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1436
|
-
|
|
1437
|
-
const mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteFile>>, { fileId: string }> = (
|
|
1438
|
-
props,
|
|
1439
|
-
) => {
|
|
1440
|
-
const { fileId } = props ?? {};
|
|
1441
|
-
|
|
1442
|
-
return deleteFile(fileId, requestOptions);
|
|
1443
|
-
};
|
|
1812
|
+
>(
|
|
1813
|
+
fileId: string,
|
|
1814
|
+
options?: {
|
|
1815
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
|
|
1816
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1817
|
+
},
|
|
1818
|
+
) => {
|
|
1819
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1444
1820
|
|
|
1445
|
-
|
|
1446
|
-
};
|
|
1821
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteFileQueryKey(fileId);
|
|
1447
1822
|
|
|
1448
|
-
|
|
1823
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteFile>>> = ({ signal }) =>
|
|
1824
|
+
deleteFile(fileId, requestOptions, signal);
|
|
1449
1825
|
|
|
1450
|
-
|
|
1826
|
+
return {
|
|
1827
|
+
queryKey,
|
|
1828
|
+
queryFn,
|
|
1829
|
+
enabled: fileId !== null && fileId !== undefined,
|
|
1830
|
+
...queryOptions,
|
|
1831
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData> & {
|
|
1832
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1833
|
+
};
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
export type DeleteFileQueryResult = NonNullable<Awaited<ReturnType<typeof deleteFile>>>;
|
|
1837
|
+
export type DeleteFileQueryError = ErrorType<void | DmError>;
|
|
1451
1838
|
|
|
1839
|
+
export function useDeleteFile<
|
|
1840
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1841
|
+
TError = ErrorType<void | DmError>,
|
|
1842
|
+
>(
|
|
1843
|
+
fileId: string,
|
|
1844
|
+
options: {
|
|
1845
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
|
|
1846
|
+
Pick<
|
|
1847
|
+
DefinedInitialDataOptions<
|
|
1848
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
1849
|
+
TError,
|
|
1850
|
+
Awaited<ReturnType<typeof deleteFile>>
|
|
1851
|
+
>,
|
|
1852
|
+
"initialData"
|
|
1853
|
+
>;
|
|
1854
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1855
|
+
},
|
|
1856
|
+
queryClient?: QueryClient,
|
|
1857
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1858
|
+
export function useDeleteFile<
|
|
1859
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1860
|
+
TError = ErrorType<void | DmError>,
|
|
1861
|
+
>(
|
|
1862
|
+
fileId: string,
|
|
1863
|
+
options?: {
|
|
1864
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>> &
|
|
1865
|
+
Pick<
|
|
1866
|
+
UndefinedInitialDataOptions<
|
|
1867
|
+
Awaited<ReturnType<typeof deleteFile>>,
|
|
1868
|
+
TError,
|
|
1869
|
+
Awaited<ReturnType<typeof deleteFile>>
|
|
1870
|
+
>,
|
|
1871
|
+
"initialData"
|
|
1872
|
+
>;
|
|
1873
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1874
|
+
},
|
|
1875
|
+
queryClient?: QueryClient,
|
|
1876
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1877
|
+
export function useDeleteFile<
|
|
1878
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1879
|
+
TError = ErrorType<void | DmError>,
|
|
1880
|
+
>(
|
|
1881
|
+
fileId: string,
|
|
1882
|
+
options?: {
|
|
1883
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
|
|
1884
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1885
|
+
},
|
|
1886
|
+
queryClient?: QueryClient,
|
|
1887
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1452
1888
|
/**
|
|
1453
1889
|
* @summary Delete/detach a File (from a Project)
|
|
1454
1890
|
*/
|
|
1455
|
-
|
|
1891
|
+
|
|
1892
|
+
export function useDeleteFile<
|
|
1893
|
+
TData = Awaited<ReturnType<typeof deleteFile>>,
|
|
1894
|
+
TError = ErrorType<void | DmError>,
|
|
1895
|
+
>(
|
|
1896
|
+
fileId: string,
|
|
1456
1897
|
options?: {
|
|
1457
|
-
|
|
1458
|
-
Awaited<ReturnType<typeof deleteFile>>,
|
|
1459
|
-
TError,
|
|
1460
|
-
{ fileId: string },
|
|
1461
|
-
TContext
|
|
1462
|
-
>;
|
|
1898
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteFile>>, TError, TData>>;
|
|
1463
1899
|
request?: SecondParameter<typeof customInstance>;
|
|
1464
1900
|
},
|
|
1465
1901
|
queryClient?: QueryClient,
|
|
1466
|
-
):
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1902
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1903
|
+
const queryOptions = getDeleteFileQueryOptions(fileId, options);
|
|
1904
|
+
|
|
1905
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1906
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1907
|
+
};
|
|
1908
|
+
|
|
1909
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1910
|
+
}
|
|
1473
1911
|
|
|
1474
|
-
return useMutation(mutationOptions, queryClient);
|
|
1475
|
-
};
|
|
1476
1912
|
/**
|
|
1477
|
-
*
|
|
1913
|
+
* @summary Delete/detach a File (from a Project)
|
|
1914
|
+
*/
|
|
1915
|
+
export const invalidateDeleteFile = async (
|
|
1916
|
+
queryClient: QueryClient,
|
|
1917
|
+
fileId: string,
|
|
1918
|
+
options?: InvalidateOptions,
|
|
1919
|
+
): Promise<QueryClient> => {
|
|
1920
|
+
await queryClient.invalidateQueries({ queryKey: getDeleteFileQueryKey(fileId) }, options);
|
|
1478
1921
|
|
|
1479
|
-
|
|
1922
|
+
return queryClient;
|
|
1923
|
+
};
|
|
1480
1924
|
|
|
1925
|
+
/**
|
|
1926
|
+
* Given a `file_id` the file will be returned if available.
|
|
1927
|
+
*
|
|
1928
|
+
* You cannot get a Project File until the attach is complete.
|
|
1481
1929
|
* @summary Download a File (from a project)
|
|
1482
1930
|
*/
|
|
1483
1931
|
export const downloadFile = (
|
|
@@ -1488,7 +1936,7 @@ export const downloadFile = (
|
|
|
1488
1936
|
return customInstance<void>({ url: `/file/${fileId}`, method: "GET", signal }, options);
|
|
1489
1937
|
};
|
|
1490
1938
|
|
|
1491
|
-
export const getDownloadFileQueryKey = (fileId
|
|
1939
|
+
export const getDownloadFileQueryKey = (fileId: string) => {
|
|
1492
1940
|
return ["data-manager", "file", fileId] as const;
|
|
1493
1941
|
};
|
|
1494
1942
|
|
|
@@ -1509,11 +1957,14 @@ export const getDownloadFileQueryOptions = <
|
|
|
1509
1957
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof downloadFile>>> = ({ signal }) =>
|
|
1510
1958
|
downloadFile(fileId, requestOptions, signal);
|
|
1511
1959
|
|
|
1512
|
-
return {
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1960
|
+
return {
|
|
1961
|
+
queryKey,
|
|
1962
|
+
queryFn,
|
|
1963
|
+
enabled: fileId !== null && fileId !== undefined,
|
|
1964
|
+
...queryOptions,
|
|
1965
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof downloadFile>>, TError, TData> & {
|
|
1966
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1967
|
+
};
|
|
1517
1968
|
};
|
|
1518
1969
|
|
|
1519
1970
|
export type DownloadFileQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;
|
|
@@ -1537,7 +1988,7 @@ export function useDownloadFile<
|
|
|
1537
1988
|
request?: SecondParameter<typeof customInstance>;
|
|
1538
1989
|
},
|
|
1539
1990
|
queryClient?: QueryClient,
|
|
1540
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
1991
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1541
1992
|
export function useDownloadFile<
|
|
1542
1993
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
1543
1994
|
TError = ErrorType<void | DmError>,
|
|
@@ -1556,7 +2007,7 @@ export function useDownloadFile<
|
|
|
1556
2007
|
request?: SecondParameter<typeof customInstance>;
|
|
1557
2008
|
},
|
|
1558
2009
|
queryClient?: QueryClient,
|
|
1559
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2010
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1560
2011
|
export function useDownloadFile<
|
|
1561
2012
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
1562
2013
|
TError = ErrorType<void | DmError>,
|
|
@@ -1567,7 +2018,7 @@ export function useDownloadFile<
|
|
|
1567
2018
|
request?: SecondParameter<typeof customInstance>;
|
|
1568
2019
|
},
|
|
1569
2020
|
queryClient?: QueryClient,
|
|
1570
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2021
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1571
2022
|
/**
|
|
1572
2023
|
* @summary Download a File (from a project)
|
|
1573
2024
|
*/
|
|
@@ -1582,16 +2033,14 @@ export function useDownloadFile<
|
|
|
1582
2033
|
request?: SecondParameter<typeof customInstance>;
|
|
1583
2034
|
},
|
|
1584
2035
|
queryClient?: QueryClient,
|
|
1585
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2036
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1586
2037
|
const queryOptions = getDownloadFileQueryOptions(fileId, options);
|
|
1587
2038
|
|
|
1588
2039
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1589
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
2040
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1590
2041
|
};
|
|
1591
2042
|
|
|
1592
|
-
query
|
|
1593
|
-
|
|
1594
|
-
return query;
|
|
2043
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1595
2044
|
}
|
|
1596
2045
|
|
|
1597
2046
|
/**
|
|
@@ -1630,7 +2079,7 @@ export const getDownloadFileSuspenseQueryOptions = <
|
|
|
1630
2079
|
Awaited<ReturnType<typeof downloadFile>>,
|
|
1631
2080
|
TError,
|
|
1632
2081
|
TData
|
|
1633
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
2082
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1634
2083
|
};
|
|
1635
2084
|
|
|
1636
2085
|
export type DownloadFileSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof downloadFile>>>;
|
|
@@ -1648,7 +2097,7 @@ export function useDownloadFileSuspense<
|
|
|
1648
2097
|
request?: SecondParameter<typeof customInstance>;
|
|
1649
2098
|
},
|
|
1650
2099
|
queryClient?: QueryClient,
|
|
1651
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2100
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1652
2101
|
export function useDownloadFileSuspense<
|
|
1653
2102
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
1654
2103
|
TError = ErrorType<void | DmError>,
|
|
@@ -1661,7 +2110,7 @@ export function useDownloadFileSuspense<
|
|
|
1661
2110
|
request?: SecondParameter<typeof customInstance>;
|
|
1662
2111
|
},
|
|
1663
2112
|
queryClient?: QueryClient,
|
|
1664
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2113
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1665
2114
|
export function useDownloadFileSuspense<
|
|
1666
2115
|
TData = Awaited<ReturnType<typeof downloadFile>>,
|
|
1667
2116
|
TError = ErrorType<void | DmError>,
|
|
@@ -1674,7 +2123,7 @@ export function useDownloadFileSuspense<
|
|
|
1674
2123
|
request?: SecondParameter<typeof customInstance>;
|
|
1675
2124
|
},
|
|
1676
2125
|
queryClient?: QueryClient,
|
|
1677
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
2126
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1678
2127
|
/**
|
|
1679
2128
|
* @summary Download a File (from a project)
|
|
1680
2129
|
*/
|
|
@@ -1691,15 +2140,13 @@ export function useDownloadFileSuspense<
|
|
|
1691
2140
|
request?: SecondParameter<typeof customInstance>;
|
|
1692
2141
|
},
|
|
1693
2142
|
queryClient?: QueryClient,
|
|
1694
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
2143
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1695
2144
|
const queryOptions = getDownloadFileSuspenseQueryOptions(fileId, options);
|
|
1696
2145
|
|
|
1697
2146
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
1698
2147
|
TData,
|
|
1699
2148
|
TError
|
|
1700
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
1701
|
-
|
|
1702
|
-
query.queryKey = queryOptions.queryKey;
|
|
2149
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1703
2150
|
|
|
1704
|
-
return query;
|
|
2151
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1705
2152
|
}
|