@squonk/data-manager-client 5.4.0-alpha.3 → 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,
|
|
@@ -36,16 +33,13 @@ import type {
|
|
|
36
33
|
ProjectPostResponse,
|
|
37
34
|
ProjectsGetResponse,
|
|
38
35
|
TaskIdentity,
|
|
39
|
-
} from "
|
|
36
|
+
} from "../api-schemas";
|
|
40
37
|
|
|
41
38
|
import { customFetch } from "../../custom-fetch";
|
|
42
39
|
import type { ErrorType } from "../../custom-fetch";
|
|
43
40
|
|
|
44
41
|
type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
45
42
|
|
|
46
|
-
/**
|
|
47
|
-
* @summary Get all Projects available to you
|
|
48
|
-
*/
|
|
49
43
|
export type getProjectsResponse200 = { data: ProjectsGetResponse; status: 200 };
|
|
50
44
|
|
|
51
45
|
export type getProjectsResponse401 = { data: void; status: 401 };
|
|
@@ -64,7 +58,7 @@ export const getGetProjectsUrl = (params?: GetProjectsParams) => {
|
|
|
64
58
|
|
|
65
59
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
66
60
|
if (value !== undefined) {
|
|
67
|
-
normalizedParams.append(key, value === null ? "null" : value
|
|
61
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
68
62
|
}
|
|
69
63
|
});
|
|
70
64
|
|
|
@@ -73,6 +67,9 @@ export const getGetProjectsUrl = (params?: GetProjectsParams) => {
|
|
|
73
67
|
return stringifiedParams.length > 0 ? `/project?${stringifiedParams}` : `/project`;
|
|
74
68
|
};
|
|
75
69
|
|
|
70
|
+
/**
|
|
71
|
+
* @summary Get all Projects available to you
|
|
72
|
+
*/
|
|
76
73
|
export const getProjects = async (
|
|
77
74
|
params?: GetProjectsParams,
|
|
78
75
|
options?: RequestInit,
|
|
@@ -105,7 +102,7 @@ export const getGetProjectsQueryOptions = <
|
|
|
105
102
|
Awaited<ReturnType<typeof getProjects>>,
|
|
106
103
|
TError,
|
|
107
104
|
TData
|
|
108
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
105
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
109
106
|
};
|
|
110
107
|
|
|
111
108
|
export type GetProjectsQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;
|
|
@@ -129,7 +126,7 @@ export function useGetProjects<
|
|
|
129
126
|
request?: SecondParameter<typeof customFetch>;
|
|
130
127
|
},
|
|
131
128
|
queryClient?: QueryClient,
|
|
132
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
129
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
133
130
|
export function useGetProjects<
|
|
134
131
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
135
132
|
TError = ErrorType<void | DmError>,
|
|
@@ -148,7 +145,7 @@ export function useGetProjects<
|
|
|
148
145
|
request?: SecondParameter<typeof customFetch>;
|
|
149
146
|
},
|
|
150
147
|
queryClient?: QueryClient,
|
|
151
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
148
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
152
149
|
export function useGetProjects<
|
|
153
150
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
154
151
|
TError = ErrorType<void | DmError>,
|
|
@@ -159,7 +156,7 @@ export function useGetProjects<
|
|
|
159
156
|
request?: SecondParameter<typeof customFetch>;
|
|
160
157
|
},
|
|
161
158
|
queryClient?: QueryClient,
|
|
162
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
159
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
163
160
|
/**
|
|
164
161
|
* @summary Get all Projects available to you
|
|
165
162
|
*/
|
|
@@ -174,16 +171,14 @@ export function useGetProjects<
|
|
|
174
171
|
request?: SecondParameter<typeof customFetch>;
|
|
175
172
|
},
|
|
176
173
|
queryClient?: QueryClient,
|
|
177
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
174
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
178
175
|
const queryOptions = getGetProjectsQueryOptions(params, options);
|
|
179
176
|
|
|
180
177
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
181
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
178
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
182
179
|
};
|
|
183
180
|
|
|
184
|
-
query
|
|
185
|
-
|
|
186
|
-
return query;
|
|
181
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
187
182
|
}
|
|
188
183
|
|
|
189
184
|
/**
|
|
@@ -222,7 +217,7 @@ export const getGetProjectsSuspenseQueryOptions = <
|
|
|
222
217
|
Awaited<ReturnType<typeof getProjects>>,
|
|
223
218
|
TError,
|
|
224
219
|
TData
|
|
225
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
220
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
226
221
|
};
|
|
227
222
|
|
|
228
223
|
export type GetProjectsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;
|
|
@@ -238,7 +233,7 @@ export function useGetProjectsSuspense<
|
|
|
238
233
|
request?: SecondParameter<typeof customFetch>;
|
|
239
234
|
},
|
|
240
235
|
queryClient?: QueryClient,
|
|
241
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
236
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
242
237
|
export function useGetProjectsSuspense<
|
|
243
238
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
244
239
|
TError = ErrorType<void | DmError>,
|
|
@@ -251,7 +246,7 @@ export function useGetProjectsSuspense<
|
|
|
251
246
|
request?: SecondParameter<typeof customFetch>;
|
|
252
247
|
},
|
|
253
248
|
queryClient?: QueryClient,
|
|
254
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
249
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
255
250
|
export function useGetProjectsSuspense<
|
|
256
251
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
257
252
|
TError = ErrorType<void | DmError>,
|
|
@@ -264,7 +259,7 @@ export function useGetProjectsSuspense<
|
|
|
264
259
|
request?: SecondParameter<typeof customFetch>;
|
|
265
260
|
},
|
|
266
261
|
queryClient?: QueryClient,
|
|
267
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
262
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
268
263
|
/**
|
|
269
264
|
* @summary Get all Projects available to you
|
|
270
265
|
*/
|
|
@@ -281,30 +276,17 @@ export function useGetProjectsSuspense<
|
|
|
281
276
|
request?: SecondParameter<typeof customFetch>;
|
|
282
277
|
},
|
|
283
278
|
queryClient?: QueryClient,
|
|
284
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
279
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
285
280
|
const queryOptions = getGetProjectsSuspenseQueryOptions(params, options);
|
|
286
281
|
|
|
287
282
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
288
283
|
TData,
|
|
289
284
|
TError
|
|
290
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
291
|
-
|
|
292
|
-
query.queryKey = queryOptions.queryKey;
|
|
285
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
293
286
|
|
|
294
|
-
return query;
|
|
287
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
295
288
|
}
|
|
296
289
|
|
|
297
|
-
/**
|
|
298
|
-
* Creates a new Project, assigning and returning a unique **ID**. A persistent volume is created in the cluster and assigned to your Project. It's here you can add **Datasets** as **Files** and run **Applications** and **Jobs**.
|
|
299
|
-
|
|
300
|
-
To create a Project when an **Account Server** is configured you will need a **Product**.
|
|
301
|
-
|
|
302
|
-
As the Project creator you are also automatically an `administrator` of the Project and can add other users so that they can also see or manipulate data in the Project.
|
|
303
|
-
|
|
304
|
-
The name you give the Project is free-form text (can contain spaces etc.) but the name you use must be unique amongst all the Projects within the same Organisational Unit.
|
|
305
|
-
|
|
306
|
-
* @summary Create a new Project
|
|
307
|
-
*/
|
|
308
290
|
export type createProjectResponse201 = { data: ProjectPostResponse; status: 201 };
|
|
309
291
|
|
|
310
292
|
export type createProjectResponse400 = { data: DmError; status: 400 };
|
|
@@ -329,16 +311,30 @@ export const getCreateProjectUrl = () => {
|
|
|
329
311
|
return `/project`;
|
|
330
312
|
};
|
|
331
313
|
|
|
314
|
+
/**
|
|
315
|
+
* Creates a new Project, assigning and returning a unique **ID**. A persistent volume is created in the cluster and assigned to your Project. It's here you can add **Datasets** as **Files** and run **Applications** and **Jobs**.
|
|
316
|
+
*
|
|
317
|
+
* To create a Project when an **Account Server** is configured you will need a **Product**.
|
|
318
|
+
*
|
|
319
|
+
* As the Project creator you are also automatically an `administrator` of the Project and can add other users so that they can also see or manipulate data in the Project.
|
|
320
|
+
*
|
|
321
|
+
* The name you give the Project is free-form text (can contain spaces etc.) but the name you use must be unique amongst all the Projects within the same Organisational Unit.
|
|
322
|
+
* @summary Create a new Project
|
|
323
|
+
*/
|
|
332
324
|
export const createProject = async (
|
|
333
|
-
projectPostBodyBody
|
|
325
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
334
326
|
options?: RequestInit,
|
|
335
327
|
): Promise<createProjectResponse> => {
|
|
336
328
|
const formUrlEncoded = new URLSearchParams();
|
|
337
|
-
|
|
338
|
-
|
|
329
|
+
if (projectPostBodyBody?.name !== undefined) {
|
|
330
|
+
formUrlEncoded.append(`name`, projectPostBodyBody.name);
|
|
331
|
+
}
|
|
332
|
+
if (projectPostBodyBody?.private !== undefined) {
|
|
339
333
|
formUrlEncoded.append(`private`, projectPostBodyBody.private.toString());
|
|
340
334
|
}
|
|
341
|
-
|
|
335
|
+
if (projectPostBodyBody?.tier_product_id !== undefined) {
|
|
336
|
+
formUrlEncoded.append(`tier_product_id`, projectPostBodyBody.tier_product_id);
|
|
337
|
+
}
|
|
342
338
|
|
|
343
339
|
return customFetch<createProjectResponse>(getCreateProjectUrl(), {
|
|
344
340
|
...options,
|
|
@@ -348,75 +344,126 @@ export const createProject = async (
|
|
|
348
344
|
});
|
|
349
345
|
};
|
|
350
346
|
|
|
351
|
-
export const
|
|
347
|
+
export const getCreateProjectQueryKey = (projectPostBodyBody?: ProjectPostBodyBody) => {
|
|
348
|
+
return ["data-manager", "POST", "project", projectPostBodyBody] as const;
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
export const getCreateProjectQueryOptions = <
|
|
352
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
352
353
|
TError = ErrorType<DmError | void>,
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
request?: SecondParameter<typeof customFetch>;
|
|
362
|
-
}): UseMutationOptions<
|
|
363
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
364
|
-
TError,
|
|
365
|
-
{ data: ProjectPostBodyBody },
|
|
366
|
-
TContext
|
|
367
|
-
> => {
|
|
368
|
-
const mutationKey = ["createProject"];
|
|
369
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
370
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
371
|
-
? options
|
|
372
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
373
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
374
|
-
|
|
375
|
-
const mutationFn: MutationFunction<
|
|
376
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
377
|
-
{ data: ProjectPostBodyBody }
|
|
378
|
-
> = (props) => {
|
|
379
|
-
const { data } = props ?? {};
|
|
354
|
+
>(
|
|
355
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
356
|
+
options?: {
|
|
357
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
358
|
+
request?: SecondParameter<typeof customFetch>;
|
|
359
|
+
},
|
|
360
|
+
) => {
|
|
361
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
380
362
|
|
|
381
|
-
|
|
382
|
-
};
|
|
363
|
+
const queryKey = queryOptions?.queryKey ?? getCreateProjectQueryKey(projectPostBodyBody);
|
|
383
364
|
|
|
384
|
-
|
|
365
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof createProject>>> = ({ signal }) =>
|
|
366
|
+
createProject(projectPostBodyBody, { signal, ...requestOptions });
|
|
367
|
+
|
|
368
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
369
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
370
|
+
TError,
|
|
371
|
+
TData
|
|
372
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
385
373
|
};
|
|
386
374
|
|
|
387
|
-
export type
|
|
388
|
-
export type
|
|
389
|
-
export type CreateProjectMutationError = ErrorType<DmError | void>;
|
|
375
|
+
export type CreateProjectQueryResult = NonNullable<Awaited<ReturnType<typeof createProject>>>;
|
|
376
|
+
export type CreateProjectQueryError = ErrorType<DmError | void>;
|
|
390
377
|
|
|
378
|
+
export function useCreateProject<
|
|
379
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
380
|
+
TError = ErrorType<DmError | void>,
|
|
381
|
+
>(
|
|
382
|
+
projectPostBodyBody: undefined | ProjectPostBodyBody,
|
|
383
|
+
options: {
|
|
384
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
385
|
+
Pick<
|
|
386
|
+
DefinedInitialDataOptions<
|
|
387
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
388
|
+
TError,
|
|
389
|
+
Awaited<ReturnType<typeof createProject>>
|
|
390
|
+
>,
|
|
391
|
+
"initialData"
|
|
392
|
+
>;
|
|
393
|
+
request?: SecondParameter<typeof customFetch>;
|
|
394
|
+
},
|
|
395
|
+
queryClient?: QueryClient,
|
|
396
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
397
|
+
export function useCreateProject<
|
|
398
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
399
|
+
TError = ErrorType<DmError | void>,
|
|
400
|
+
>(
|
|
401
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
402
|
+
options?: {
|
|
403
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
404
|
+
Pick<
|
|
405
|
+
UndefinedInitialDataOptions<
|
|
406
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
407
|
+
TError,
|
|
408
|
+
Awaited<ReturnType<typeof createProject>>
|
|
409
|
+
>,
|
|
410
|
+
"initialData"
|
|
411
|
+
>;
|
|
412
|
+
request?: SecondParameter<typeof customFetch>;
|
|
413
|
+
},
|
|
414
|
+
queryClient?: QueryClient,
|
|
415
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
416
|
+
export function useCreateProject<
|
|
417
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
418
|
+
TError = ErrorType<DmError | void>,
|
|
419
|
+
>(
|
|
420
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
421
|
+
options?: {
|
|
422
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
423
|
+
request?: SecondParameter<typeof customFetch>;
|
|
424
|
+
},
|
|
425
|
+
queryClient?: QueryClient,
|
|
426
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
391
427
|
/**
|
|
392
428
|
* @summary Create a new Project
|
|
393
429
|
*/
|
|
394
|
-
|
|
430
|
+
|
|
431
|
+
export function useCreateProject<
|
|
432
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
433
|
+
TError = ErrorType<DmError | void>,
|
|
434
|
+
>(
|
|
435
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
395
436
|
options?: {
|
|
396
|
-
|
|
397
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
398
|
-
TError,
|
|
399
|
-
{ data: ProjectPostBodyBody },
|
|
400
|
-
TContext
|
|
401
|
-
>;
|
|
437
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
402
438
|
request?: SecondParameter<typeof customFetch>;
|
|
403
439
|
},
|
|
404
440
|
queryClient?: QueryClient,
|
|
405
|
-
):
|
|
406
|
-
|
|
407
|
-
TError,
|
|
408
|
-
{ data: ProjectPostBodyBody },
|
|
409
|
-
TContext
|
|
410
|
-
> => {
|
|
411
|
-
const mutationOptions = getCreateProjectMutationOptions(options);
|
|
441
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
442
|
+
const queryOptions = getCreateProjectQueryOptions(projectPostBodyBody, options);
|
|
412
443
|
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
* Gets the details of a Project that is available to you.
|
|
444
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
445
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
446
|
+
};
|
|
417
447
|
|
|
418
|
-
|
|
448
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* @summary Create a new Project
|
|
419
453
|
*/
|
|
454
|
+
export const invalidateCreateProject = async (
|
|
455
|
+
queryClient: QueryClient,
|
|
456
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
457
|
+
options?: InvalidateOptions,
|
|
458
|
+
): Promise<QueryClient> => {
|
|
459
|
+
await queryClient.invalidateQueries(
|
|
460
|
+
{ queryKey: getCreateProjectQueryKey(projectPostBodyBody) },
|
|
461
|
+
options,
|
|
462
|
+
);
|
|
463
|
+
|
|
464
|
+
return queryClient;
|
|
465
|
+
};
|
|
466
|
+
|
|
420
467
|
export type getProjectResponse200 = { data: ProjectDetail; status: 200 };
|
|
421
468
|
|
|
422
469
|
export type getProjectResponse401 = { data: void; status: 401 };
|
|
@@ -438,6 +485,10 @@ export const getGetProjectUrl = (projectId: string) => {
|
|
|
438
485
|
return `/project/${projectId}`;
|
|
439
486
|
};
|
|
440
487
|
|
|
488
|
+
/**
|
|
489
|
+
* Gets the details of a Project that is available to you.
|
|
490
|
+
* @summary Get a Project by UUID
|
|
491
|
+
*/
|
|
441
492
|
export const getProject = async (
|
|
442
493
|
projectId: string,
|
|
443
494
|
options?: RequestInit,
|
|
@@ -448,7 +499,7 @@ export const getProject = async (
|
|
|
448
499
|
});
|
|
449
500
|
};
|
|
450
501
|
|
|
451
|
-
export const getGetProjectQueryKey = (projectId
|
|
502
|
+
export const getGetProjectQueryKey = (projectId: string) => {
|
|
452
503
|
return ["data-manager", "project", projectId] as const;
|
|
453
504
|
};
|
|
454
505
|
|
|
@@ -469,11 +520,14 @@ export const getGetProjectQueryOptions = <
|
|
|
469
520
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getProject>>> = ({ signal }) =>
|
|
470
521
|
getProject(projectId, { signal, ...requestOptions });
|
|
471
522
|
|
|
472
|
-
return {
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
523
|
+
return {
|
|
524
|
+
queryKey,
|
|
525
|
+
queryFn,
|
|
526
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
527
|
+
...queryOptions,
|
|
528
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData> & {
|
|
529
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
530
|
+
};
|
|
477
531
|
};
|
|
478
532
|
|
|
479
533
|
export type GetProjectQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;
|
|
@@ -497,7 +551,7 @@ export function useGetProject<
|
|
|
497
551
|
request?: SecondParameter<typeof customFetch>;
|
|
498
552
|
},
|
|
499
553
|
queryClient?: QueryClient,
|
|
500
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
554
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
501
555
|
export function useGetProject<
|
|
502
556
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
503
557
|
TError = ErrorType<void | DmError>,
|
|
@@ -516,7 +570,7 @@ export function useGetProject<
|
|
|
516
570
|
request?: SecondParameter<typeof customFetch>;
|
|
517
571
|
},
|
|
518
572
|
queryClient?: QueryClient,
|
|
519
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
573
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
520
574
|
export function useGetProject<
|
|
521
575
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
522
576
|
TError = ErrorType<void | DmError>,
|
|
@@ -527,7 +581,7 @@ export function useGetProject<
|
|
|
527
581
|
request?: SecondParameter<typeof customFetch>;
|
|
528
582
|
},
|
|
529
583
|
queryClient?: QueryClient,
|
|
530
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
584
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
531
585
|
/**
|
|
532
586
|
* @summary Get a Project by UUID
|
|
533
587
|
*/
|
|
@@ -542,16 +596,14 @@ export function useGetProject<
|
|
|
542
596
|
request?: SecondParameter<typeof customFetch>;
|
|
543
597
|
},
|
|
544
598
|
queryClient?: QueryClient,
|
|
545
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
599
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
546
600
|
const queryOptions = getGetProjectQueryOptions(projectId, options);
|
|
547
601
|
|
|
548
602
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
549
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
603
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
550
604
|
};
|
|
551
605
|
|
|
552
|
-
query
|
|
553
|
-
|
|
554
|
-
return query;
|
|
606
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
555
607
|
}
|
|
556
608
|
|
|
557
609
|
/**
|
|
@@ -588,7 +640,7 @@ export const getGetProjectSuspenseQueryOptions = <
|
|
|
588
640
|
Awaited<ReturnType<typeof getProject>>,
|
|
589
641
|
TError,
|
|
590
642
|
TData
|
|
591
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
643
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
592
644
|
};
|
|
593
645
|
|
|
594
646
|
export type GetProjectSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;
|
|
@@ -604,7 +656,7 @@ export function useGetProjectSuspense<
|
|
|
604
656
|
request?: SecondParameter<typeof customFetch>;
|
|
605
657
|
},
|
|
606
658
|
queryClient?: QueryClient,
|
|
607
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
659
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
608
660
|
export function useGetProjectSuspense<
|
|
609
661
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
610
662
|
TError = ErrorType<void | DmError>,
|
|
@@ -615,7 +667,7 @@ export function useGetProjectSuspense<
|
|
|
615
667
|
request?: SecondParameter<typeof customFetch>;
|
|
616
668
|
},
|
|
617
669
|
queryClient?: QueryClient,
|
|
618
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
670
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
619
671
|
export function useGetProjectSuspense<
|
|
620
672
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
621
673
|
TError = ErrorType<void | DmError>,
|
|
@@ -626,7 +678,7 @@ export function useGetProjectSuspense<
|
|
|
626
678
|
request?: SecondParameter<typeof customFetch>;
|
|
627
679
|
},
|
|
628
680
|
queryClient?: QueryClient,
|
|
629
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
681
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
630
682
|
/**
|
|
631
683
|
* @summary Get a Project by UUID
|
|
632
684
|
*/
|
|
@@ -641,24 +693,17 @@ export function useGetProjectSuspense<
|
|
|
641
693
|
request?: SecondParameter<typeof customFetch>;
|
|
642
694
|
},
|
|
643
695
|
queryClient?: QueryClient,
|
|
644
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
696
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
645
697
|
const queryOptions = getGetProjectSuspenseQueryOptions(projectId, options);
|
|
646
698
|
|
|
647
699
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
648
700
|
TData,
|
|
649
701
|
TError
|
|
650
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
702
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
651
703
|
|
|
652
|
-
query
|
|
653
|
-
|
|
654
|
-
return query;
|
|
704
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
655
705
|
}
|
|
656
706
|
|
|
657
|
-
/**
|
|
658
|
-
* Used to update some adjustable parameters of a Project, i.e. to make it `private` or make it `public``. What can be adjusted will depend on the purchased **Product**
|
|
659
|
-
|
|
660
|
-
* @summary Adjust an existing Project
|
|
661
|
-
*/
|
|
662
707
|
export type patchProjectResponse200 = { data: void; status: 200 };
|
|
663
708
|
|
|
664
709
|
export type patchProjectResponse204 = { data: void; status: 204 };
|
|
@@ -684,16 +729,20 @@ export const getPatchProjectUrl = (projectId: string) => {
|
|
|
684
729
|
return `/project/${projectId}`;
|
|
685
730
|
};
|
|
686
731
|
|
|
732
|
+
/**
|
|
733
|
+
* Used to update some adjustable parameters of a Project, i.e. to make it `private` or make it `public``. What can be adjusted will depend on the purchased **Product**
|
|
734
|
+
* @summary Adjust an existing Project
|
|
735
|
+
*/
|
|
687
736
|
export const patchProject = async (
|
|
688
737
|
projectId: string,
|
|
689
|
-
projectPatchBodyBody
|
|
738
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
690
739
|
options?: RequestInit,
|
|
691
740
|
): Promise<patchProjectResponse> => {
|
|
692
741
|
const formUrlEncoded = new URLSearchParams();
|
|
693
|
-
if (projectPatchBodyBody
|
|
742
|
+
if (projectPatchBodyBody?.private !== undefined) {
|
|
694
743
|
formUrlEncoded.append(`private`, projectPatchBodyBody.private.toString());
|
|
695
744
|
}
|
|
696
|
-
if (projectPatchBodyBody
|
|
745
|
+
if (projectPatchBodyBody?.name !== undefined) {
|
|
697
746
|
formUrlEncoded.append(`name`, projectPatchBodyBody.name);
|
|
698
747
|
}
|
|
699
748
|
|
|
@@ -705,79 +754,139 @@ export const patchProject = async (
|
|
|
705
754
|
});
|
|
706
755
|
};
|
|
707
756
|
|
|
708
|
-
export const
|
|
757
|
+
export const getPatchProjectQueryKey = (
|
|
758
|
+
projectId: string,
|
|
759
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
760
|
+
) => {
|
|
761
|
+
return ["data-manager", "PATCH", "project", projectId, projectPatchBodyBody] as const;
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
export const getPatchProjectQueryOptions = <
|
|
765
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
709
766
|
TError = ErrorType<void | DmError>,
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
TError,
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
request
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
{ projectId: string; data: ProjectPatchBodyBody },
|
|
723
|
-
TContext
|
|
724
|
-
> => {
|
|
725
|
-
const mutationKey = ["patchProject"];
|
|
726
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
727
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
728
|
-
? options
|
|
729
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
730
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
731
|
-
|
|
732
|
-
const mutationFn: MutationFunction<
|
|
733
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
734
|
-
{ projectId: string; data: ProjectPatchBodyBody }
|
|
735
|
-
> = (props) => {
|
|
736
|
-
const { projectId, data } = props ?? {};
|
|
737
|
-
|
|
738
|
-
return patchProject(projectId, data, requestOptions);
|
|
739
|
-
};
|
|
767
|
+
>(
|
|
768
|
+
projectId: string,
|
|
769
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
770
|
+
options?: {
|
|
771
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
772
|
+
request?: SecondParameter<typeof customFetch>;
|
|
773
|
+
},
|
|
774
|
+
) => {
|
|
775
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
776
|
+
|
|
777
|
+
const queryKey =
|
|
778
|
+
queryOptions?.queryKey ?? getPatchProjectQueryKey(projectId, projectPatchBodyBody);
|
|
740
779
|
|
|
741
|
-
|
|
780
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof patchProject>>> = ({ signal }) =>
|
|
781
|
+
patchProject(projectId, projectPatchBodyBody, { signal, ...requestOptions });
|
|
782
|
+
|
|
783
|
+
return {
|
|
784
|
+
queryKey,
|
|
785
|
+
queryFn,
|
|
786
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
787
|
+
...queryOptions,
|
|
788
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData> & {
|
|
789
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
790
|
+
};
|
|
742
791
|
};
|
|
743
792
|
|
|
744
|
-
export type
|
|
745
|
-
export type
|
|
746
|
-
export type PatchProjectMutationError = ErrorType<void | DmError>;
|
|
793
|
+
export type PatchProjectQueryResult = NonNullable<Awaited<ReturnType<typeof patchProject>>>;
|
|
794
|
+
export type PatchProjectQueryError = ErrorType<void | DmError>;
|
|
747
795
|
|
|
796
|
+
export function usePatchProject<
|
|
797
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
798
|
+
TError = ErrorType<void | DmError>,
|
|
799
|
+
>(
|
|
800
|
+
projectId: string,
|
|
801
|
+
projectPatchBodyBody: undefined | ProjectPatchBodyBody,
|
|
802
|
+
options: {
|
|
803
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
804
|
+
Pick<
|
|
805
|
+
DefinedInitialDataOptions<
|
|
806
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
807
|
+
TError,
|
|
808
|
+
Awaited<ReturnType<typeof patchProject>>
|
|
809
|
+
>,
|
|
810
|
+
"initialData"
|
|
811
|
+
>;
|
|
812
|
+
request?: SecondParameter<typeof customFetch>;
|
|
813
|
+
},
|
|
814
|
+
queryClient?: QueryClient,
|
|
815
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
816
|
+
export function usePatchProject<
|
|
817
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
818
|
+
TError = ErrorType<void | DmError>,
|
|
819
|
+
>(
|
|
820
|
+
projectId: string,
|
|
821
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
822
|
+
options?: {
|
|
823
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
824
|
+
Pick<
|
|
825
|
+
UndefinedInitialDataOptions<
|
|
826
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
827
|
+
TError,
|
|
828
|
+
Awaited<ReturnType<typeof patchProject>>
|
|
829
|
+
>,
|
|
830
|
+
"initialData"
|
|
831
|
+
>;
|
|
832
|
+
request?: SecondParameter<typeof customFetch>;
|
|
833
|
+
},
|
|
834
|
+
queryClient?: QueryClient,
|
|
835
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
836
|
+
export function usePatchProject<
|
|
837
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
838
|
+
TError = ErrorType<void | DmError>,
|
|
839
|
+
>(
|
|
840
|
+
projectId: string,
|
|
841
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
842
|
+
options?: {
|
|
843
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
844
|
+
request?: SecondParameter<typeof customFetch>;
|
|
845
|
+
},
|
|
846
|
+
queryClient?: QueryClient,
|
|
847
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
748
848
|
/**
|
|
749
849
|
* @summary Adjust an existing Project
|
|
750
850
|
*/
|
|
751
|
-
|
|
851
|
+
|
|
852
|
+
export function usePatchProject<
|
|
853
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
854
|
+
TError = ErrorType<void | DmError>,
|
|
855
|
+
>(
|
|
856
|
+
projectId: string,
|
|
857
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
752
858
|
options?: {
|
|
753
|
-
|
|
754
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
755
|
-
TError,
|
|
756
|
-
{ projectId: string; data: ProjectPatchBodyBody },
|
|
757
|
-
TContext
|
|
758
|
-
>;
|
|
859
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
759
860
|
request?: SecondParameter<typeof customFetch>;
|
|
760
861
|
},
|
|
761
862
|
queryClient?: QueryClient,
|
|
762
|
-
):
|
|
763
|
-
|
|
764
|
-
TError,
|
|
765
|
-
{ projectId: string; data: ProjectPatchBodyBody },
|
|
766
|
-
TContext
|
|
767
|
-
> => {
|
|
768
|
-
const mutationOptions = getPatchProjectMutationOptions(options);
|
|
769
|
-
|
|
770
|
-
return useMutation(mutationOptions, queryClient);
|
|
771
|
-
};
|
|
772
|
-
/**
|
|
773
|
-
* Deletes an existing Project.
|
|
863
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
864
|
+
const queryOptions = getPatchProjectQueryOptions(projectId, projectPatchBodyBody, options);
|
|
774
865
|
|
|
775
|
-
|
|
866
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
867
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
868
|
+
};
|
|
776
869
|
|
|
777
|
-
|
|
870
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
871
|
+
}
|
|
778
872
|
|
|
779
|
-
|
|
873
|
+
/**
|
|
874
|
+
* @summary Adjust an existing Project
|
|
780
875
|
*/
|
|
876
|
+
export const invalidatePatchProject = async (
|
|
877
|
+
queryClient: QueryClient,
|
|
878
|
+
projectId: string,
|
|
879
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
880
|
+
options?: InvalidateOptions,
|
|
881
|
+
): Promise<QueryClient> => {
|
|
882
|
+
await queryClient.invalidateQueries(
|
|
883
|
+
{ queryKey: getPatchProjectQueryKey(projectId, projectPatchBodyBody) },
|
|
884
|
+
options,
|
|
885
|
+
);
|
|
886
|
+
|
|
887
|
+
return queryClient;
|
|
888
|
+
};
|
|
889
|
+
|
|
781
890
|
export type deleteProjectResponse200 = { data: TaskIdentity; status: 200 };
|
|
782
891
|
|
|
783
892
|
export type deleteProjectResponse401 = { data: void; status: 401 };
|
|
@@ -799,6 +908,14 @@ export const getDeleteProjectUrl = (projectId: string) => {
|
|
|
799
908
|
return `/project/${projectId}`;
|
|
800
909
|
};
|
|
801
910
|
|
|
911
|
+
/**
|
|
912
|
+
* Deletes an existing Project.
|
|
913
|
+
*
|
|
914
|
+
* You must be an `administrator` of the project.
|
|
915
|
+
*
|
|
916
|
+
* Once deleted all **Files**, working directories and material in the Project will also be removed
|
|
917
|
+
* @summary Delete a Project
|
|
918
|
+
*/
|
|
802
919
|
export const deleteProject = async (
|
|
803
920
|
projectId: string,
|
|
804
921
|
options?: RequestInit,
|
|
@@ -809,78 +926,127 @@ export const deleteProject = async (
|
|
|
809
926
|
});
|
|
810
927
|
};
|
|
811
928
|
|
|
812
|
-
export const
|
|
929
|
+
export const getDeleteProjectQueryKey = (projectId: string) => {
|
|
930
|
+
return ["data-manager", "DELETE", "project", projectId] as const;
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
export const getDeleteProjectQueryOptions = <
|
|
934
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
813
935
|
TError = ErrorType<void | DmError>,
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
request?: SecondParameter<typeof customFetch>;
|
|
823
|
-
}): UseMutationOptions<
|
|
824
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
825
|
-
TError,
|
|
826
|
-
{ projectId: string },
|
|
827
|
-
TContext
|
|
828
|
-
> => {
|
|
829
|
-
const mutationKey = ["deleteProject"];
|
|
830
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
831
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
832
|
-
? options
|
|
833
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
834
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
835
|
-
|
|
836
|
-
const mutationFn: MutationFunction<
|
|
837
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
838
|
-
{ projectId: string }
|
|
839
|
-
> = (props) => {
|
|
840
|
-
const { projectId } = props ?? {};
|
|
841
|
-
|
|
842
|
-
return deleteProject(projectId, requestOptions);
|
|
843
|
-
};
|
|
936
|
+
>(
|
|
937
|
+
projectId: string,
|
|
938
|
+
options?: {
|
|
939
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
940
|
+
request?: SecondParameter<typeof customFetch>;
|
|
941
|
+
},
|
|
942
|
+
) => {
|
|
943
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
844
944
|
|
|
845
|
-
|
|
846
|
-
|
|
945
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteProjectQueryKey(projectId);
|
|
946
|
+
|
|
947
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteProject>>> = ({ signal }) =>
|
|
948
|
+
deleteProject(projectId, { signal, ...requestOptions });
|
|
847
949
|
|
|
848
|
-
|
|
950
|
+
return {
|
|
951
|
+
queryKey,
|
|
952
|
+
queryFn,
|
|
953
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
954
|
+
...queryOptions,
|
|
955
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData> & {
|
|
956
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
957
|
+
};
|
|
958
|
+
};
|
|
849
959
|
|
|
850
|
-
export type
|
|
960
|
+
export type DeleteProjectQueryResult = NonNullable<Awaited<ReturnType<typeof deleteProject>>>;
|
|
961
|
+
export type DeleteProjectQueryError = ErrorType<void | DmError>;
|
|
851
962
|
|
|
963
|
+
export function useDeleteProject<
|
|
964
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
965
|
+
TError = ErrorType<void | DmError>,
|
|
966
|
+
>(
|
|
967
|
+
projectId: string,
|
|
968
|
+
options: {
|
|
969
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
970
|
+
Pick<
|
|
971
|
+
DefinedInitialDataOptions<
|
|
972
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
973
|
+
TError,
|
|
974
|
+
Awaited<ReturnType<typeof deleteProject>>
|
|
975
|
+
>,
|
|
976
|
+
"initialData"
|
|
977
|
+
>;
|
|
978
|
+
request?: SecondParameter<typeof customFetch>;
|
|
979
|
+
},
|
|
980
|
+
queryClient?: QueryClient,
|
|
981
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
982
|
+
export function useDeleteProject<
|
|
983
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
984
|
+
TError = ErrorType<void | DmError>,
|
|
985
|
+
>(
|
|
986
|
+
projectId: string,
|
|
987
|
+
options?: {
|
|
988
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
989
|
+
Pick<
|
|
990
|
+
UndefinedInitialDataOptions<
|
|
991
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
992
|
+
TError,
|
|
993
|
+
Awaited<ReturnType<typeof deleteProject>>
|
|
994
|
+
>,
|
|
995
|
+
"initialData"
|
|
996
|
+
>;
|
|
997
|
+
request?: SecondParameter<typeof customFetch>;
|
|
998
|
+
},
|
|
999
|
+
queryClient?: QueryClient,
|
|
1000
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1001
|
+
export function useDeleteProject<
|
|
1002
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
1003
|
+
TError = ErrorType<void | DmError>,
|
|
1004
|
+
>(
|
|
1005
|
+
projectId: string,
|
|
1006
|
+
options?: {
|
|
1007
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
1008
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1009
|
+
},
|
|
1010
|
+
queryClient?: QueryClient,
|
|
1011
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
852
1012
|
/**
|
|
853
1013
|
* @summary Delete a Project
|
|
854
1014
|
*/
|
|
855
|
-
|
|
1015
|
+
|
|
1016
|
+
export function useDeleteProject<
|
|
1017
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
1018
|
+
TError = ErrorType<void | DmError>,
|
|
1019
|
+
>(
|
|
1020
|
+
projectId: string,
|
|
856
1021
|
options?: {
|
|
857
|
-
|
|
858
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
859
|
-
TError,
|
|
860
|
-
{ projectId: string },
|
|
861
|
-
TContext
|
|
862
|
-
>;
|
|
1022
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
863
1023
|
request?: SecondParameter<typeof customFetch>;
|
|
864
1024
|
},
|
|
865
1025
|
queryClient?: QueryClient,
|
|
866
|
-
):
|
|
867
|
-
|
|
868
|
-
TError,
|
|
869
|
-
{ projectId: string },
|
|
870
|
-
TContext
|
|
871
|
-
> => {
|
|
872
|
-
const mutationOptions = getDeleteProjectMutationOptions(options);
|
|
1026
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1027
|
+
const queryOptions = getDeleteProjectQueryOptions(projectId, options);
|
|
873
1028
|
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
* Adds a user to a Project as an `administrator`. As well as the ability to edit the project administrators can add and remove other users.
|
|
1029
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1030
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1031
|
+
};
|
|
878
1032
|
|
|
879
|
-
|
|
1033
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1034
|
+
}
|
|
880
1035
|
|
|
881
|
-
|
|
1036
|
+
/**
|
|
1037
|
+
* @summary Delete a Project
|
|
882
1038
|
*/
|
|
883
|
-
export
|
|
1039
|
+
export const invalidateDeleteProject = async (
|
|
1040
|
+
queryClient: QueryClient,
|
|
1041
|
+
projectId: string,
|
|
1042
|
+
options?: InvalidateOptions,
|
|
1043
|
+
): Promise<QueryClient> => {
|
|
1044
|
+
await queryClient.invalidateQueries({ queryKey: getDeleteProjectQueryKey(projectId) }, options);
|
|
1045
|
+
|
|
1046
|
+
return queryClient;
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
export type addAdministratorToProjectResponse201 = { data: void; status: 201 };
|
|
884
1050
|
|
|
885
1051
|
export type addAdministratorToProjectResponse401 = { data: void; status: 401 };
|
|
886
1052
|
|
|
@@ -905,6 +1071,12 @@ export const getAddAdministratorToProjectUrl = (projectId: string, userId: strin
|
|
|
905
1071
|
return `/project/${projectId}/administrator/${userId}`;
|
|
906
1072
|
};
|
|
907
1073
|
|
|
1074
|
+
/**
|
|
1075
|
+
* Adds a user to a Project as an `administrator`. As well as the ability to edit the project administrators can add and remove other users.
|
|
1076
|
+
*
|
|
1077
|
+
* You must be an `administrator` of the project
|
|
1078
|
+
* @summary Add a Project Administrator
|
|
1079
|
+
*/
|
|
908
1080
|
export const addAdministratorToProject = async (
|
|
909
1081
|
projectId: string,
|
|
910
1082
|
userId: string,
|
|
@@ -916,84 +1088,150 @@ export const addAdministratorToProject = async (
|
|
|
916
1088
|
);
|
|
917
1089
|
};
|
|
918
1090
|
|
|
919
|
-
export const
|
|
1091
|
+
export const getAddAdministratorToProjectQueryKey = (projectId: string, userId: string) => {
|
|
1092
|
+
return ["data-manager", "PUT", "project", projectId, "administrator", userId] as const;
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
export const getAddAdministratorToProjectQueryOptions = <
|
|
1096
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
920
1097
|
TError = ErrorType<void | DmError>,
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
TError,
|
|
933
|
-
{ projectId: string; userId: string },
|
|
934
|
-
TContext
|
|
935
|
-
> => {
|
|
936
|
-
const mutationKey = ["addAdministratorToProject"];
|
|
937
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
938
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
939
|
-
? options
|
|
940
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
941
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
942
|
-
|
|
943
|
-
const mutationFn: MutationFunction<
|
|
944
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
945
|
-
{ projectId: string; userId: string }
|
|
946
|
-
> = (props) => {
|
|
947
|
-
const { projectId, userId } = props ?? {};
|
|
948
|
-
|
|
949
|
-
return addAdministratorToProject(projectId, userId, requestOptions);
|
|
950
|
-
};
|
|
1098
|
+
>(
|
|
1099
|
+
projectId: string,
|
|
1100
|
+
userId: string,
|
|
1101
|
+
options?: {
|
|
1102
|
+
query?: Partial<
|
|
1103
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1104
|
+
>;
|
|
1105
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1106
|
+
},
|
|
1107
|
+
) => {
|
|
1108
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
951
1109
|
|
|
952
|
-
|
|
1110
|
+
const queryKey =
|
|
1111
|
+
queryOptions?.queryKey ?? getAddAdministratorToProjectQueryKey(projectId, userId);
|
|
1112
|
+
|
|
1113
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addAdministratorToProject>>> = ({
|
|
1114
|
+
signal,
|
|
1115
|
+
}) => addAdministratorToProject(projectId, userId, { signal, ...requestOptions });
|
|
1116
|
+
|
|
1117
|
+
return {
|
|
1118
|
+
queryKey,
|
|
1119
|
+
queryFn,
|
|
1120
|
+
enabled:
|
|
1121
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1122
|
+
...queryOptions,
|
|
1123
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData> & {
|
|
1124
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1125
|
+
};
|
|
953
1126
|
};
|
|
954
1127
|
|
|
955
|
-
export type
|
|
1128
|
+
export type AddAdministratorToProjectQueryResult = NonNullable<
|
|
956
1129
|
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
957
1130
|
>;
|
|
1131
|
+
export type AddAdministratorToProjectQueryError = ErrorType<void | DmError>;
|
|
958
1132
|
|
|
959
|
-
export
|
|
960
|
-
|
|
1133
|
+
export function useAddAdministratorToProject<
|
|
1134
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1135
|
+
TError = ErrorType<void | DmError>,
|
|
1136
|
+
>(
|
|
1137
|
+
projectId: string,
|
|
1138
|
+
userId: string,
|
|
1139
|
+
options: {
|
|
1140
|
+
query: Partial<
|
|
1141
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1142
|
+
> &
|
|
1143
|
+
Pick<
|
|
1144
|
+
DefinedInitialDataOptions<
|
|
1145
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1146
|
+
TError,
|
|
1147
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1148
|
+
>,
|
|
1149
|
+
"initialData"
|
|
1150
|
+
>;
|
|
1151
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1152
|
+
},
|
|
1153
|
+
queryClient?: QueryClient,
|
|
1154
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1155
|
+
export function useAddAdministratorToProject<
|
|
1156
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1157
|
+
TError = ErrorType<void | DmError>,
|
|
1158
|
+
>(
|
|
1159
|
+
projectId: string,
|
|
1160
|
+
userId: string,
|
|
1161
|
+
options?: {
|
|
1162
|
+
query?: Partial<
|
|
1163
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1164
|
+
> &
|
|
1165
|
+
Pick<
|
|
1166
|
+
UndefinedInitialDataOptions<
|
|
1167
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1168
|
+
TError,
|
|
1169
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1170
|
+
>,
|
|
1171
|
+
"initialData"
|
|
1172
|
+
>;
|
|
1173
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1174
|
+
},
|
|
1175
|
+
queryClient?: QueryClient,
|
|
1176
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1177
|
+
export function useAddAdministratorToProject<
|
|
1178
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1179
|
+
TError = ErrorType<void | DmError>,
|
|
1180
|
+
>(
|
|
1181
|
+
projectId: string,
|
|
1182
|
+
userId: string,
|
|
1183
|
+
options?: {
|
|
1184
|
+
query?: Partial<
|
|
1185
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1186
|
+
>;
|
|
1187
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1188
|
+
},
|
|
1189
|
+
queryClient?: QueryClient,
|
|
1190
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
961
1191
|
/**
|
|
962
1192
|
* @summary Add a Project Administrator
|
|
963
1193
|
*/
|
|
964
|
-
|
|
1194
|
+
|
|
1195
|
+
export function useAddAdministratorToProject<
|
|
1196
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
965
1197
|
TError = ErrorType<void | DmError>,
|
|
966
|
-
TContext = unknown,
|
|
967
1198
|
>(
|
|
1199
|
+
projectId: string,
|
|
1200
|
+
userId: string,
|
|
968
1201
|
options?: {
|
|
969
|
-
|
|
970
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
971
|
-
TError,
|
|
972
|
-
{ projectId: string; userId: string },
|
|
973
|
-
TContext
|
|
1202
|
+
query?: Partial<
|
|
1203
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
974
1204
|
>;
|
|
975
1205
|
request?: SecondParameter<typeof customFetch>;
|
|
976
1206
|
},
|
|
977
1207
|
queryClient?: QueryClient,
|
|
978
|
-
):
|
|
979
|
-
|
|
980
|
-
TError,
|
|
981
|
-
{ projectId: string; userId: string },
|
|
982
|
-
TContext
|
|
983
|
-
> => {
|
|
984
|
-
const mutationOptions = getAddAdministratorToProjectMutationOptions(options);
|
|
985
|
-
|
|
986
|
-
return useMutation(mutationOptions, queryClient);
|
|
987
|
-
};
|
|
988
|
-
/**
|
|
989
|
-
* Deletes a project `administrator`. The administrator can be you.
|
|
1208
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1209
|
+
const queryOptions = getAddAdministratorToProjectQueryOptions(projectId, userId, options);
|
|
990
1210
|
|
|
991
|
-
|
|
1211
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1212
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1213
|
+
};
|
|
992
1214
|
|
|
993
|
-
|
|
1215
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1216
|
+
}
|
|
994
1217
|
|
|
995
|
-
|
|
1218
|
+
/**
|
|
1219
|
+
* @summary Add a Project Administrator
|
|
996
1220
|
*/
|
|
1221
|
+
export const invalidateAddAdministratorToProject = async (
|
|
1222
|
+
queryClient: QueryClient,
|
|
1223
|
+
projectId: string,
|
|
1224
|
+
userId: string,
|
|
1225
|
+
options?: InvalidateOptions,
|
|
1226
|
+
): Promise<QueryClient> => {
|
|
1227
|
+
await queryClient.invalidateQueries(
|
|
1228
|
+
{ queryKey: getAddAdministratorToProjectQueryKey(projectId, userId) },
|
|
1229
|
+
options,
|
|
1230
|
+
);
|
|
1231
|
+
|
|
1232
|
+
return queryClient;
|
|
1233
|
+
};
|
|
1234
|
+
|
|
997
1235
|
export type removeAdministratorFromProjectResponse204 = { data: void; status: 204 };
|
|
998
1236
|
|
|
999
1237
|
export type removeAdministratorFromProjectResponse400 = { data: DmError; status: 400 };
|
|
@@ -1021,6 +1259,14 @@ export const getRemoveAdministratorFromProjectUrl = (projectId: string, userId:
|
|
|
1021
1259
|
return `/project/${projectId}/administrator/${userId}`;
|
|
1022
1260
|
};
|
|
1023
1261
|
|
|
1262
|
+
/**
|
|
1263
|
+
* Deletes a project `administrator`. The administrator can be you.
|
|
1264
|
+
*
|
|
1265
|
+
* A project must always have one `administrator` so you will not be able to delete the last administrator of a project.
|
|
1266
|
+
*
|
|
1267
|
+
* You must be an `administrator` of the project
|
|
1268
|
+
* @summary Delete a Project Administrator
|
|
1269
|
+
*/
|
|
1024
1270
|
export const removeAdministratorFromProject = async (
|
|
1025
1271
|
projectId: string,
|
|
1026
1272
|
userId: string,
|
|
@@ -1032,84 +1278,152 @@ export const removeAdministratorFromProject = async (
|
|
|
1032
1278
|
);
|
|
1033
1279
|
};
|
|
1034
1280
|
|
|
1035
|
-
export const
|
|
1281
|
+
export const getRemoveAdministratorFromProjectQueryKey = (projectId: string, userId: string) => {
|
|
1282
|
+
return ["data-manager", "DELETE", "project", projectId, "administrator", userId] as const;
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
export const getRemoveAdministratorFromProjectQueryOptions = <
|
|
1286
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1036
1287
|
TError = ErrorType<DmError | void>,
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
TError,
|
|
1049
|
-
{ projectId: string; userId: string },
|
|
1050
|
-
TContext
|
|
1051
|
-
> => {
|
|
1052
|
-
const mutationKey = ["removeAdministratorFromProject"];
|
|
1053
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1054
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1055
|
-
? options
|
|
1056
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1057
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1058
|
-
|
|
1059
|
-
const mutationFn: MutationFunction<
|
|
1060
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1061
|
-
{ projectId: string; userId: string }
|
|
1062
|
-
> = (props) => {
|
|
1063
|
-
const { projectId, userId } = props ?? {};
|
|
1288
|
+
>(
|
|
1289
|
+
projectId: string,
|
|
1290
|
+
userId: string,
|
|
1291
|
+
options?: {
|
|
1292
|
+
query?: Partial<
|
|
1293
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1294
|
+
>;
|
|
1295
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1296
|
+
},
|
|
1297
|
+
) => {
|
|
1298
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1064
1299
|
|
|
1065
|
-
|
|
1066
|
-
|
|
1300
|
+
const queryKey =
|
|
1301
|
+
queryOptions?.queryKey ?? getRemoveAdministratorFromProjectQueryKey(projectId, userId);
|
|
1067
1302
|
|
|
1068
|
-
|
|
1303
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeAdministratorFromProject>>> = ({
|
|
1304
|
+
signal,
|
|
1305
|
+
}) => removeAdministratorFromProject(projectId, userId, { signal, ...requestOptions });
|
|
1306
|
+
|
|
1307
|
+
return {
|
|
1308
|
+
queryKey,
|
|
1309
|
+
queryFn,
|
|
1310
|
+
enabled:
|
|
1311
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1312
|
+
...queryOptions,
|
|
1313
|
+
} as UseQueryOptions<
|
|
1314
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1315
|
+
TError,
|
|
1316
|
+
TData
|
|
1317
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1069
1318
|
};
|
|
1070
1319
|
|
|
1071
|
-
export type
|
|
1320
|
+
export type RemoveAdministratorFromProjectQueryResult = NonNullable<
|
|
1072
1321
|
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1073
1322
|
>;
|
|
1323
|
+
export type RemoveAdministratorFromProjectQueryError = ErrorType<DmError | void>;
|
|
1074
1324
|
|
|
1075
|
-
export
|
|
1076
|
-
|
|
1325
|
+
export function useRemoveAdministratorFromProject<
|
|
1326
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1327
|
+
TError = ErrorType<DmError | void>,
|
|
1328
|
+
>(
|
|
1329
|
+
projectId: string,
|
|
1330
|
+
userId: string,
|
|
1331
|
+
options: {
|
|
1332
|
+
query: Partial<
|
|
1333
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1334
|
+
> &
|
|
1335
|
+
Pick<
|
|
1336
|
+
DefinedInitialDataOptions<
|
|
1337
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1338
|
+
TError,
|
|
1339
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1340
|
+
>,
|
|
1341
|
+
"initialData"
|
|
1342
|
+
>;
|
|
1343
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1344
|
+
},
|
|
1345
|
+
queryClient?: QueryClient,
|
|
1346
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1347
|
+
export function useRemoveAdministratorFromProject<
|
|
1348
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1349
|
+
TError = ErrorType<DmError | void>,
|
|
1350
|
+
>(
|
|
1351
|
+
projectId: string,
|
|
1352
|
+
userId: string,
|
|
1353
|
+
options?: {
|
|
1354
|
+
query?: Partial<
|
|
1355
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1356
|
+
> &
|
|
1357
|
+
Pick<
|
|
1358
|
+
UndefinedInitialDataOptions<
|
|
1359
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1360
|
+
TError,
|
|
1361
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1362
|
+
>,
|
|
1363
|
+
"initialData"
|
|
1364
|
+
>;
|
|
1365
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1366
|
+
},
|
|
1367
|
+
queryClient?: QueryClient,
|
|
1368
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1369
|
+
export function useRemoveAdministratorFromProject<
|
|
1370
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1371
|
+
TError = ErrorType<DmError | void>,
|
|
1372
|
+
>(
|
|
1373
|
+
projectId: string,
|
|
1374
|
+
userId: string,
|
|
1375
|
+
options?: {
|
|
1376
|
+
query?: Partial<
|
|
1377
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1378
|
+
>;
|
|
1379
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1380
|
+
},
|
|
1381
|
+
queryClient?: QueryClient,
|
|
1382
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1077
1383
|
/**
|
|
1078
1384
|
* @summary Delete a Project Administrator
|
|
1079
1385
|
*/
|
|
1080
|
-
|
|
1386
|
+
|
|
1387
|
+
export function useRemoveAdministratorFromProject<
|
|
1388
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1081
1389
|
TError = ErrorType<DmError | void>,
|
|
1082
|
-
TContext = unknown,
|
|
1083
1390
|
>(
|
|
1391
|
+
projectId: string,
|
|
1392
|
+
userId: string,
|
|
1084
1393
|
options?: {
|
|
1085
|
-
|
|
1086
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1087
|
-
TError,
|
|
1088
|
-
{ projectId: string; userId: string },
|
|
1089
|
-
TContext
|
|
1394
|
+
query?: Partial<
|
|
1395
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1090
1396
|
>;
|
|
1091
1397
|
request?: SecondParameter<typeof customFetch>;
|
|
1092
1398
|
},
|
|
1093
1399
|
queryClient?: QueryClient,
|
|
1094
|
-
):
|
|
1095
|
-
|
|
1096
|
-
TError,
|
|
1097
|
-
{ projectId: string; userId: string },
|
|
1098
|
-
TContext
|
|
1099
|
-
> => {
|
|
1100
|
-
const mutationOptions = getRemoveAdministratorFromProjectMutationOptions(options);
|
|
1101
|
-
|
|
1102
|
-
return useMutation(mutationOptions, queryClient);
|
|
1103
|
-
};
|
|
1104
|
-
/**
|
|
1105
|
-
* Adds a user to a Project as an `editor`. Editors can add and remove datasets in a project and delete the project.
|
|
1400
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1401
|
+
const queryOptions = getRemoveAdministratorFromProjectQueryOptions(projectId, userId, options);
|
|
1106
1402
|
|
|
1107
|
-
|
|
1403
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1404
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1405
|
+
};
|
|
1108
1406
|
|
|
1109
|
-
|
|
1407
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1408
|
+
}
|
|
1110
1409
|
|
|
1111
|
-
|
|
1410
|
+
/**
|
|
1411
|
+
* @summary Delete a Project Administrator
|
|
1112
1412
|
*/
|
|
1413
|
+
export const invalidateRemoveAdministratorFromProject = async (
|
|
1414
|
+
queryClient: QueryClient,
|
|
1415
|
+
projectId: string,
|
|
1416
|
+
userId: string,
|
|
1417
|
+
options?: InvalidateOptions,
|
|
1418
|
+
): Promise<QueryClient> => {
|
|
1419
|
+
await queryClient.invalidateQueries(
|
|
1420
|
+
{ queryKey: getRemoveAdministratorFromProjectQueryKey(projectId, userId) },
|
|
1421
|
+
options,
|
|
1422
|
+
);
|
|
1423
|
+
|
|
1424
|
+
return queryClient;
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1113
1427
|
export type addEditorToProjectResponse201 = { data: void; status: 201 };
|
|
1114
1428
|
|
|
1115
1429
|
export type addEditorToProjectResponse401 = { data: void; status: 401 };
|
|
@@ -1135,6 +1449,14 @@ export const getAddEditorToProjectUrl = (projectId: string, userId: string) => {
|
|
|
1135
1449
|
return `/project/${projectId}/editor/${userId}`;
|
|
1136
1450
|
};
|
|
1137
1451
|
|
|
1452
|
+
/**
|
|
1453
|
+
* Adds a user to a Project as an `editor`. Editors can add and remove datasets in a project and delete the project.
|
|
1454
|
+
*
|
|
1455
|
+
* An `editor` of a project is not automatically an `editor` of any datasets the project contains.
|
|
1456
|
+
*
|
|
1457
|
+
* You must be an `administrator` of the project
|
|
1458
|
+
* @summary Add a Project Editor
|
|
1459
|
+
*/
|
|
1138
1460
|
export const addEditorToProject = async (
|
|
1139
1461
|
projectId: string,
|
|
1140
1462
|
userId: string,
|
|
@@ -1146,81 +1468,140 @@ export const addEditorToProject = async (
|
|
|
1146
1468
|
});
|
|
1147
1469
|
};
|
|
1148
1470
|
|
|
1149
|
-
export const
|
|
1471
|
+
export const getAddEditorToProjectQueryKey = (projectId: string, userId: string) => {
|
|
1472
|
+
return ["data-manager", "PUT", "project", projectId, "editor", userId] as const;
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
export const getAddEditorToProjectQueryOptions = <
|
|
1476
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1150
1477
|
TError = ErrorType<void | DmError>,
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
TError,
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
request
|
|
1160
|
-
}): UseMutationOptions<
|
|
1161
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1162
|
-
TError,
|
|
1163
|
-
{ projectId: string; userId: string },
|
|
1164
|
-
TContext
|
|
1165
|
-
> => {
|
|
1166
|
-
const mutationKey = ["addEditorToProject"];
|
|
1167
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1168
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1169
|
-
? options
|
|
1170
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1171
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1172
|
-
|
|
1173
|
-
const mutationFn: MutationFunction<
|
|
1174
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1175
|
-
{ projectId: string; userId: string }
|
|
1176
|
-
> = (props) => {
|
|
1177
|
-
const { projectId, userId } = props ?? {};
|
|
1178
|
-
|
|
1179
|
-
return addEditorToProject(projectId, userId, requestOptions);
|
|
1180
|
-
};
|
|
1478
|
+
>(
|
|
1479
|
+
projectId: string,
|
|
1480
|
+
userId: string,
|
|
1481
|
+
options?: {
|
|
1482
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1483
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1484
|
+
},
|
|
1485
|
+
) => {
|
|
1486
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1181
1487
|
|
|
1182
|
-
|
|
1488
|
+
const queryKey = queryOptions?.queryKey ?? getAddEditorToProjectQueryKey(projectId, userId);
|
|
1489
|
+
|
|
1490
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addEditorToProject>>> = ({ signal }) =>
|
|
1491
|
+
addEditorToProject(projectId, userId, { signal, ...requestOptions });
|
|
1492
|
+
|
|
1493
|
+
return {
|
|
1494
|
+
queryKey,
|
|
1495
|
+
queryFn,
|
|
1496
|
+
enabled:
|
|
1497
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1498
|
+
...queryOptions,
|
|
1499
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData> & {
|
|
1500
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1501
|
+
};
|
|
1183
1502
|
};
|
|
1184
1503
|
|
|
1185
|
-
export type
|
|
1504
|
+
export type AddEditorToProjectQueryResult = NonNullable<
|
|
1186
1505
|
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1187
1506
|
>;
|
|
1507
|
+
export type AddEditorToProjectQueryError = ErrorType<void | DmError>;
|
|
1188
1508
|
|
|
1189
|
-
export
|
|
1190
|
-
|
|
1509
|
+
export function useAddEditorToProject<
|
|
1510
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1511
|
+
TError = ErrorType<void | DmError>,
|
|
1512
|
+
>(
|
|
1513
|
+
projectId: string,
|
|
1514
|
+
userId: string,
|
|
1515
|
+
options: {
|
|
1516
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>> &
|
|
1517
|
+
Pick<
|
|
1518
|
+
DefinedInitialDataOptions<
|
|
1519
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1520
|
+
TError,
|
|
1521
|
+
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1522
|
+
>,
|
|
1523
|
+
"initialData"
|
|
1524
|
+
>;
|
|
1525
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1526
|
+
},
|
|
1527
|
+
queryClient?: QueryClient,
|
|
1528
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1529
|
+
export function useAddEditorToProject<
|
|
1530
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1531
|
+
TError = ErrorType<void | DmError>,
|
|
1532
|
+
>(
|
|
1533
|
+
projectId: string,
|
|
1534
|
+
userId: string,
|
|
1535
|
+
options?: {
|
|
1536
|
+
query?: Partial<
|
|
1537
|
+
UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>
|
|
1538
|
+
> &
|
|
1539
|
+
Pick<
|
|
1540
|
+
UndefinedInitialDataOptions<
|
|
1541
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1542
|
+
TError,
|
|
1543
|
+
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1544
|
+
>,
|
|
1545
|
+
"initialData"
|
|
1546
|
+
>;
|
|
1547
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1548
|
+
},
|
|
1549
|
+
queryClient?: QueryClient,
|
|
1550
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1551
|
+
export function useAddEditorToProject<
|
|
1552
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1553
|
+
TError = ErrorType<void | DmError>,
|
|
1554
|
+
>(
|
|
1555
|
+
projectId: string,
|
|
1556
|
+
userId: string,
|
|
1557
|
+
options?: {
|
|
1558
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1559
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1560
|
+
},
|
|
1561
|
+
queryClient?: QueryClient,
|
|
1562
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1191
1563
|
/**
|
|
1192
1564
|
* @summary Add a Project Editor
|
|
1193
1565
|
*/
|
|
1194
|
-
|
|
1566
|
+
|
|
1567
|
+
export function useAddEditorToProject<
|
|
1568
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1569
|
+
TError = ErrorType<void | DmError>,
|
|
1570
|
+
>(
|
|
1571
|
+
projectId: string,
|
|
1572
|
+
userId: string,
|
|
1195
1573
|
options?: {
|
|
1196
|
-
|
|
1197
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1198
|
-
TError,
|
|
1199
|
-
{ projectId: string; userId: string },
|
|
1200
|
-
TContext
|
|
1201
|
-
>;
|
|
1574
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1202
1575
|
request?: SecondParameter<typeof customFetch>;
|
|
1203
1576
|
},
|
|
1204
1577
|
queryClient?: QueryClient,
|
|
1205
|
-
):
|
|
1206
|
-
|
|
1207
|
-
TError,
|
|
1208
|
-
{ projectId: string; userId: string },
|
|
1209
|
-
TContext
|
|
1210
|
-
> => {
|
|
1211
|
-
const mutationOptions = getAddEditorToProjectMutationOptions(options);
|
|
1212
|
-
|
|
1213
|
-
return useMutation(mutationOptions, queryClient);
|
|
1214
|
-
};
|
|
1215
|
-
/**
|
|
1216
|
-
* Deletes a project `editor`. The editor can be you.
|
|
1578
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1579
|
+
const queryOptions = getAddEditorToProjectQueryOptions(projectId, userId, options);
|
|
1217
1580
|
|
|
1218
|
-
|
|
1581
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1582
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1583
|
+
};
|
|
1219
1584
|
|
|
1220
|
-
|
|
1585
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1586
|
+
}
|
|
1221
1587
|
|
|
1222
|
-
|
|
1588
|
+
/**
|
|
1589
|
+
* @summary Add a Project Editor
|
|
1223
1590
|
*/
|
|
1591
|
+
export const invalidateAddEditorToProject = async (
|
|
1592
|
+
queryClient: QueryClient,
|
|
1593
|
+
projectId: string,
|
|
1594
|
+
userId: string,
|
|
1595
|
+
options?: InvalidateOptions,
|
|
1596
|
+
): Promise<QueryClient> => {
|
|
1597
|
+
await queryClient.invalidateQueries(
|
|
1598
|
+
{ queryKey: getAddEditorToProjectQueryKey(projectId, userId) },
|
|
1599
|
+
options,
|
|
1600
|
+
);
|
|
1601
|
+
|
|
1602
|
+
return queryClient;
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1224
1605
|
export type removeEditorFromProjectResponse204 = { data: void; status: 204 };
|
|
1225
1606
|
|
|
1226
1607
|
export type removeEditorFromProjectResponse400 = { data: DmError; status: 400 };
|
|
@@ -1249,6 +1630,14 @@ export const getRemoveEditorFromProjectUrl = (projectId: string, userId: string)
|
|
|
1249
1630
|
return `/project/${projectId}/editor/${userId}`;
|
|
1250
1631
|
};
|
|
1251
1632
|
|
|
1633
|
+
/**
|
|
1634
|
+
* Deletes a project `editor`. The editor can be you.
|
|
1635
|
+
*
|
|
1636
|
+
* A project must always have one `editor` so you will not be able to delete the last editor of a project.
|
|
1637
|
+
*
|
|
1638
|
+
* You must be an `administrator` of the project
|
|
1639
|
+
* @summary Delete a Project Editor
|
|
1640
|
+
*/
|
|
1252
1641
|
export const removeEditorFromProject = async (
|
|
1253
1642
|
projectId: string,
|
|
1254
1643
|
userId: string,
|
|
@@ -1260,79 +1649,149 @@ export const removeEditorFromProject = async (
|
|
|
1260
1649
|
);
|
|
1261
1650
|
};
|
|
1262
1651
|
|
|
1263
|
-
export const
|
|
1652
|
+
export const getRemoveEditorFromProjectQueryKey = (projectId: string, userId: string) => {
|
|
1653
|
+
return ["data-manager", "DELETE", "project", projectId, "editor", userId] as const;
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
export const getRemoveEditorFromProjectQueryOptions = <
|
|
1657
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1264
1658
|
TError = ErrorType<DmError | void>,
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
TContext
|
|
1279
|
-
> => {
|
|
1280
|
-
const mutationKey = ["removeEditorFromProject"];
|
|
1281
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1282
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1283
|
-
? options
|
|
1284
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1285
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1286
|
-
|
|
1287
|
-
const mutationFn: MutationFunction<
|
|
1288
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1289
|
-
{ projectId: string; userId: string }
|
|
1290
|
-
> = (props) => {
|
|
1291
|
-
const { projectId, userId } = props ?? {};
|
|
1292
|
-
|
|
1293
|
-
return removeEditorFromProject(projectId, userId, requestOptions);
|
|
1294
|
-
};
|
|
1659
|
+
>(
|
|
1660
|
+
projectId: string,
|
|
1661
|
+
userId: string,
|
|
1662
|
+
options?: {
|
|
1663
|
+
query?: Partial<
|
|
1664
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1665
|
+
>;
|
|
1666
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1667
|
+
},
|
|
1668
|
+
) => {
|
|
1669
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1670
|
+
|
|
1671
|
+
const queryKey = queryOptions?.queryKey ?? getRemoveEditorFromProjectQueryKey(projectId, userId);
|
|
1295
1672
|
|
|
1296
|
-
|
|
1673
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeEditorFromProject>>> = ({
|
|
1674
|
+
signal,
|
|
1675
|
+
}) => removeEditorFromProject(projectId, userId, { signal, ...requestOptions });
|
|
1676
|
+
|
|
1677
|
+
return {
|
|
1678
|
+
queryKey,
|
|
1679
|
+
queryFn,
|
|
1680
|
+
enabled:
|
|
1681
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1682
|
+
...queryOptions,
|
|
1683
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData> & {
|
|
1684
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1685
|
+
};
|
|
1297
1686
|
};
|
|
1298
1687
|
|
|
1299
|
-
export type
|
|
1688
|
+
export type RemoveEditorFromProjectQueryResult = NonNullable<
|
|
1300
1689
|
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1301
1690
|
>;
|
|
1691
|
+
export type RemoveEditorFromProjectQueryError = ErrorType<DmError | void>;
|
|
1302
1692
|
|
|
1303
|
-
export
|
|
1304
|
-
|
|
1693
|
+
export function useRemoveEditorFromProject<
|
|
1694
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1695
|
+
TError = ErrorType<DmError | void>,
|
|
1696
|
+
>(
|
|
1697
|
+
projectId: string,
|
|
1698
|
+
userId: string,
|
|
1699
|
+
options: {
|
|
1700
|
+
query: Partial<
|
|
1701
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1702
|
+
> &
|
|
1703
|
+
Pick<
|
|
1704
|
+
DefinedInitialDataOptions<
|
|
1705
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1706
|
+
TError,
|
|
1707
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1708
|
+
>,
|
|
1709
|
+
"initialData"
|
|
1710
|
+
>;
|
|
1711
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1712
|
+
},
|
|
1713
|
+
queryClient?: QueryClient,
|
|
1714
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1715
|
+
export function useRemoveEditorFromProject<
|
|
1716
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1717
|
+
TError = ErrorType<DmError | void>,
|
|
1718
|
+
>(
|
|
1719
|
+
projectId: string,
|
|
1720
|
+
userId: string,
|
|
1721
|
+
options?: {
|
|
1722
|
+
query?: Partial<
|
|
1723
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1724
|
+
> &
|
|
1725
|
+
Pick<
|
|
1726
|
+
UndefinedInitialDataOptions<
|
|
1727
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1728
|
+
TError,
|
|
1729
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1730
|
+
>,
|
|
1731
|
+
"initialData"
|
|
1732
|
+
>;
|
|
1733
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1734
|
+
},
|
|
1735
|
+
queryClient?: QueryClient,
|
|
1736
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1737
|
+
export function useRemoveEditorFromProject<
|
|
1738
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1739
|
+
TError = ErrorType<DmError | void>,
|
|
1740
|
+
>(
|
|
1741
|
+
projectId: string,
|
|
1742
|
+
userId: string,
|
|
1743
|
+
options?: {
|
|
1744
|
+
query?: Partial<
|
|
1745
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1746
|
+
>;
|
|
1747
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1748
|
+
},
|
|
1749
|
+
queryClient?: QueryClient,
|
|
1750
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1305
1751
|
/**
|
|
1306
1752
|
* @summary Delete a Project Editor
|
|
1307
1753
|
*/
|
|
1308
|
-
|
|
1754
|
+
|
|
1755
|
+
export function useRemoveEditorFromProject<
|
|
1756
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1757
|
+
TError = ErrorType<DmError | void>,
|
|
1758
|
+
>(
|
|
1759
|
+
projectId: string,
|
|
1760
|
+
userId: string,
|
|
1309
1761
|
options?: {
|
|
1310
|
-
|
|
1311
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1312
|
-
TError,
|
|
1313
|
-
{ projectId: string; userId: string },
|
|
1314
|
-
TContext
|
|
1762
|
+
query?: Partial<
|
|
1763
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1315
1764
|
>;
|
|
1316
1765
|
request?: SecondParameter<typeof customFetch>;
|
|
1317
1766
|
},
|
|
1318
1767
|
queryClient?: QueryClient,
|
|
1319
|
-
):
|
|
1320
|
-
|
|
1321
|
-
TError,
|
|
1322
|
-
{ projectId: string; userId: string },
|
|
1323
|
-
TContext
|
|
1324
|
-
> => {
|
|
1325
|
-
const mutationOptions = getRemoveEditorFromProjectMutationOptions(options);
|
|
1768
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1769
|
+
const queryOptions = getRemoveEditorFromProjectQueryOptions(projectId, userId, options);
|
|
1326
1770
|
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
* Adds a user to a project as an `observer`. Observers can view Projects and download files but they cannot modify Project data or run **Applications** or **Jobs**.
|
|
1771
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1772
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1773
|
+
};
|
|
1331
1774
|
|
|
1332
|
-
|
|
1775
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1776
|
+
}
|
|
1333
1777
|
|
|
1334
|
-
|
|
1778
|
+
/**
|
|
1779
|
+
* @summary Delete a Project Editor
|
|
1335
1780
|
*/
|
|
1781
|
+
export const invalidateRemoveEditorFromProject = async (
|
|
1782
|
+
queryClient: QueryClient,
|
|
1783
|
+
projectId: string,
|
|
1784
|
+
userId: string,
|
|
1785
|
+
options?: InvalidateOptions,
|
|
1786
|
+
): Promise<QueryClient> => {
|
|
1787
|
+
await queryClient.invalidateQueries(
|
|
1788
|
+
{ queryKey: getRemoveEditorFromProjectQueryKey(projectId, userId) },
|
|
1789
|
+
options,
|
|
1790
|
+
);
|
|
1791
|
+
|
|
1792
|
+
return queryClient;
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1336
1795
|
export type addObserverToProjectResponse201 = { data: void; status: 201 };
|
|
1337
1796
|
|
|
1338
1797
|
export type addObserverToProjectResponse401 = { data: void; status: 401 };
|
|
@@ -1358,6 +1817,12 @@ export const getAddObserverToProjectUrl = (projectId: string, userId: string) =>
|
|
|
1358
1817
|
return `/project/${projectId}/observer/${userId}`;
|
|
1359
1818
|
};
|
|
1360
1819
|
|
|
1820
|
+
/**
|
|
1821
|
+
* Adds a user to a project as an `observer`. Observers can view Projects and download files but they cannot modify Project data or run **Applications** or **Jobs**.
|
|
1822
|
+
*
|
|
1823
|
+
* You must be an `administrator` of the Project to add Observers
|
|
1824
|
+
* @summary Add a Project Observer
|
|
1825
|
+
*/
|
|
1361
1826
|
export const addObserverToProject = async (
|
|
1362
1827
|
projectId: string,
|
|
1363
1828
|
userId: string,
|
|
@@ -1369,79 +1834,148 @@ export const addObserverToProject = async (
|
|
|
1369
1834
|
});
|
|
1370
1835
|
};
|
|
1371
1836
|
|
|
1372
|
-
export const
|
|
1837
|
+
export const getAddObserverToProjectQueryKey = (projectId: string, userId: string) => {
|
|
1838
|
+
return ["data-manager", "PUT", "project", projectId, "observer", userId] as const;
|
|
1839
|
+
};
|
|
1840
|
+
|
|
1841
|
+
export const getAddObserverToProjectQueryOptions = <
|
|
1842
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1373
1843
|
TError = ErrorType<void | DmError>,
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
TContext
|
|
1388
|
-
> => {
|
|
1389
|
-
const mutationKey = ["addObserverToProject"];
|
|
1390
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1391
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1392
|
-
? options
|
|
1393
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1394
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1395
|
-
|
|
1396
|
-
const mutationFn: MutationFunction<
|
|
1397
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1398
|
-
{ projectId: string; userId: string }
|
|
1399
|
-
> = (props) => {
|
|
1400
|
-
const { projectId, userId } = props ?? {};
|
|
1401
|
-
|
|
1402
|
-
return addObserverToProject(projectId, userId, requestOptions);
|
|
1403
|
-
};
|
|
1844
|
+
>(
|
|
1845
|
+
projectId: string,
|
|
1846
|
+
userId: string,
|
|
1847
|
+
options?: {
|
|
1848
|
+
query?: Partial<
|
|
1849
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1850
|
+
>;
|
|
1851
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1852
|
+
},
|
|
1853
|
+
) => {
|
|
1854
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1855
|
+
|
|
1856
|
+
const queryKey = queryOptions?.queryKey ?? getAddObserverToProjectQueryKey(projectId, userId);
|
|
1404
1857
|
|
|
1405
|
-
|
|
1858
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addObserverToProject>>> = ({ signal }) =>
|
|
1859
|
+
addObserverToProject(projectId, userId, { signal, ...requestOptions });
|
|
1860
|
+
|
|
1861
|
+
return {
|
|
1862
|
+
queryKey,
|
|
1863
|
+
queryFn,
|
|
1864
|
+
enabled:
|
|
1865
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1866
|
+
...queryOptions,
|
|
1867
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData> & {
|
|
1868
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1869
|
+
};
|
|
1406
1870
|
};
|
|
1407
1871
|
|
|
1408
|
-
export type
|
|
1872
|
+
export type AddObserverToProjectQueryResult = NonNullable<
|
|
1409
1873
|
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1410
1874
|
>;
|
|
1875
|
+
export type AddObserverToProjectQueryError = ErrorType<void | DmError>;
|
|
1411
1876
|
|
|
1412
|
-
export
|
|
1413
|
-
|
|
1877
|
+
export function useAddObserverToProject<
|
|
1878
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1879
|
+
TError = ErrorType<void | DmError>,
|
|
1880
|
+
>(
|
|
1881
|
+
projectId: string,
|
|
1882
|
+
userId: string,
|
|
1883
|
+
options: {
|
|
1884
|
+
query: Partial<
|
|
1885
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1886
|
+
> &
|
|
1887
|
+
Pick<
|
|
1888
|
+
DefinedInitialDataOptions<
|
|
1889
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1890
|
+
TError,
|
|
1891
|
+
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1892
|
+
>,
|
|
1893
|
+
"initialData"
|
|
1894
|
+
>;
|
|
1895
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1896
|
+
},
|
|
1897
|
+
queryClient?: QueryClient,
|
|
1898
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1899
|
+
export function useAddObserverToProject<
|
|
1900
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1901
|
+
TError = ErrorType<void | DmError>,
|
|
1902
|
+
>(
|
|
1903
|
+
projectId: string,
|
|
1904
|
+
userId: string,
|
|
1905
|
+
options?: {
|
|
1906
|
+
query?: Partial<
|
|
1907
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1908
|
+
> &
|
|
1909
|
+
Pick<
|
|
1910
|
+
UndefinedInitialDataOptions<
|
|
1911
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1912
|
+
TError,
|
|
1913
|
+
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1914
|
+
>,
|
|
1915
|
+
"initialData"
|
|
1916
|
+
>;
|
|
1917
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1918
|
+
},
|
|
1919
|
+
queryClient?: QueryClient,
|
|
1920
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1921
|
+
export function useAddObserverToProject<
|
|
1922
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1923
|
+
TError = ErrorType<void | DmError>,
|
|
1924
|
+
>(
|
|
1925
|
+
projectId: string,
|
|
1926
|
+
userId: string,
|
|
1927
|
+
options?: {
|
|
1928
|
+
query?: Partial<
|
|
1929
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1930
|
+
>;
|
|
1931
|
+
request?: SecondParameter<typeof customFetch>;
|
|
1932
|
+
},
|
|
1933
|
+
queryClient?: QueryClient,
|
|
1934
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1414
1935
|
/**
|
|
1415
1936
|
* @summary Add a Project Observer
|
|
1416
1937
|
*/
|
|
1417
|
-
|
|
1938
|
+
|
|
1939
|
+
export function useAddObserverToProject<
|
|
1940
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1941
|
+
TError = ErrorType<void | DmError>,
|
|
1942
|
+
>(
|
|
1943
|
+
projectId: string,
|
|
1944
|
+
userId: string,
|
|
1418
1945
|
options?: {
|
|
1419
|
-
|
|
1420
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1421
|
-
TError,
|
|
1422
|
-
{ projectId: string; userId: string },
|
|
1423
|
-
TContext
|
|
1946
|
+
query?: Partial<
|
|
1947
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1424
1948
|
>;
|
|
1425
1949
|
request?: SecondParameter<typeof customFetch>;
|
|
1426
1950
|
},
|
|
1427
1951
|
queryClient?: QueryClient,
|
|
1428
|
-
):
|
|
1429
|
-
|
|
1430
|
-
TError,
|
|
1431
|
-
{ projectId: string; userId: string },
|
|
1432
|
-
TContext
|
|
1433
|
-
> => {
|
|
1434
|
-
const mutationOptions = getAddObserverToProjectMutationOptions(options);
|
|
1952
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1953
|
+
const queryOptions = getAddObserverToProjectQueryOptions(projectId, userId, options);
|
|
1435
1954
|
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
* Deletes a project `observer`.
|
|
1955
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1956
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1957
|
+
};
|
|
1440
1958
|
|
|
1441
|
-
|
|
1959
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1960
|
+
}
|
|
1442
1961
|
|
|
1443
|
-
|
|
1962
|
+
/**
|
|
1963
|
+
* @summary Add a Project Observer
|
|
1444
1964
|
*/
|
|
1965
|
+
export const invalidateAddObserverToProject = async (
|
|
1966
|
+
queryClient: QueryClient,
|
|
1967
|
+
projectId: string,
|
|
1968
|
+
userId: string,
|
|
1969
|
+
options?: InvalidateOptions,
|
|
1970
|
+
): Promise<QueryClient> => {
|
|
1971
|
+
await queryClient.invalidateQueries(
|
|
1972
|
+
{ queryKey: getAddObserverToProjectQueryKey(projectId, userId) },
|
|
1973
|
+
options,
|
|
1974
|
+
);
|
|
1975
|
+
|
|
1976
|
+
return queryClient;
|
|
1977
|
+
};
|
|
1978
|
+
|
|
1445
1979
|
export type removeObserverFromProjectResponse204 = { data: void; status: 204 };
|
|
1446
1980
|
|
|
1447
1981
|
export type removeObserverFromProjectResponse400 = { data: DmError; status: 400 };
|
|
@@ -1470,6 +2004,12 @@ export const getRemoveObserverFromProjectUrl = (projectId: string, userId: strin
|
|
|
1470
2004
|
return `/project/${projectId}/observer/${userId}`;
|
|
1471
2005
|
};
|
|
1472
2006
|
|
|
2007
|
+
/**
|
|
2008
|
+
* Deletes a project `observer`.
|
|
2009
|
+
*
|
|
2010
|
+
* You must be an `administrator` of the Project to remove Observers
|
|
2011
|
+
* @summary Delete a Project Observer
|
|
2012
|
+
*/
|
|
1473
2013
|
export const removeObserverFromProject = async (
|
|
1474
2014
|
projectId: string,
|
|
1475
2015
|
userId: string,
|
|
@@ -1481,72 +2021,146 @@ export const removeObserverFromProject = async (
|
|
|
1481
2021
|
);
|
|
1482
2022
|
};
|
|
1483
2023
|
|
|
1484
|
-
export const
|
|
2024
|
+
export const getRemoveObserverFromProjectQueryKey = (projectId: string, userId: string) => {
|
|
2025
|
+
return ["data-manager", "DELETE", "project", projectId, "observer", userId] as const;
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
export const getRemoveObserverFromProjectQueryOptions = <
|
|
2029
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1485
2030
|
TError = ErrorType<DmError | void>,
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
TError,
|
|
1498
|
-
{ projectId: string; userId: string },
|
|
1499
|
-
TContext
|
|
1500
|
-
> => {
|
|
1501
|
-
const mutationKey = ["removeObserverFromProject"];
|
|
1502
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1503
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1504
|
-
? options
|
|
1505
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1506
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1507
|
-
|
|
1508
|
-
const mutationFn: MutationFunction<
|
|
1509
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1510
|
-
{ projectId: string; userId: string }
|
|
1511
|
-
> = (props) => {
|
|
1512
|
-
const { projectId, userId } = props ?? {};
|
|
1513
|
-
|
|
1514
|
-
return removeObserverFromProject(projectId, userId, requestOptions);
|
|
1515
|
-
};
|
|
2031
|
+
>(
|
|
2032
|
+
projectId: string,
|
|
2033
|
+
userId: string,
|
|
2034
|
+
options?: {
|
|
2035
|
+
query?: Partial<
|
|
2036
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
2037
|
+
>;
|
|
2038
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2039
|
+
},
|
|
2040
|
+
) => {
|
|
2041
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1516
2042
|
|
|
1517
|
-
|
|
2043
|
+
const queryKey =
|
|
2044
|
+
queryOptions?.queryKey ?? getRemoveObserverFromProjectQueryKey(projectId, userId);
|
|
2045
|
+
|
|
2046
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeObserverFromProject>>> = ({
|
|
2047
|
+
signal,
|
|
2048
|
+
}) => removeObserverFromProject(projectId, userId, { signal, ...requestOptions });
|
|
2049
|
+
|
|
2050
|
+
return {
|
|
2051
|
+
queryKey,
|
|
2052
|
+
queryFn,
|
|
2053
|
+
enabled:
|
|
2054
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
2055
|
+
...queryOptions,
|
|
2056
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData> & {
|
|
2057
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2058
|
+
};
|
|
1518
2059
|
};
|
|
1519
2060
|
|
|
1520
|
-
export type
|
|
2061
|
+
export type RemoveObserverFromProjectQueryResult = NonNullable<
|
|
1521
2062
|
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
1522
2063
|
>;
|
|
2064
|
+
export type RemoveObserverFromProjectQueryError = ErrorType<DmError | void>;
|
|
1523
2065
|
|
|
1524
|
-
export
|
|
1525
|
-
|
|
2066
|
+
export function useRemoveObserverFromProject<
|
|
2067
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2068
|
+
TError = ErrorType<DmError | void>,
|
|
2069
|
+
>(
|
|
2070
|
+
projectId: string,
|
|
2071
|
+
userId: string,
|
|
2072
|
+
options: {
|
|
2073
|
+
query: Partial<
|
|
2074
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
2075
|
+
> &
|
|
2076
|
+
Pick<
|
|
2077
|
+
DefinedInitialDataOptions<
|
|
2078
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2079
|
+
TError,
|
|
2080
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
2081
|
+
>,
|
|
2082
|
+
"initialData"
|
|
2083
|
+
>;
|
|
2084
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2085
|
+
},
|
|
2086
|
+
queryClient?: QueryClient,
|
|
2087
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2088
|
+
export function useRemoveObserverFromProject<
|
|
2089
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2090
|
+
TError = ErrorType<DmError | void>,
|
|
2091
|
+
>(
|
|
2092
|
+
projectId: string,
|
|
2093
|
+
userId: string,
|
|
2094
|
+
options?: {
|
|
2095
|
+
query?: Partial<
|
|
2096
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
2097
|
+
> &
|
|
2098
|
+
Pick<
|
|
2099
|
+
UndefinedInitialDataOptions<
|
|
2100
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2101
|
+
TError,
|
|
2102
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
2103
|
+
>,
|
|
2104
|
+
"initialData"
|
|
2105
|
+
>;
|
|
2106
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2107
|
+
},
|
|
2108
|
+
queryClient?: QueryClient,
|
|
2109
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
2110
|
+
export function useRemoveObserverFromProject<
|
|
2111
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
2112
|
+
TError = ErrorType<DmError | void>,
|
|
2113
|
+
>(
|
|
2114
|
+
projectId: string,
|
|
2115
|
+
userId: string,
|
|
2116
|
+
options?: {
|
|
2117
|
+
query?: Partial<
|
|
2118
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
2119
|
+
>;
|
|
2120
|
+
request?: SecondParameter<typeof customFetch>;
|
|
2121
|
+
},
|
|
2122
|
+
queryClient?: QueryClient,
|
|
2123
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1526
2124
|
/**
|
|
1527
2125
|
* @summary Delete a Project Observer
|
|
1528
2126
|
*/
|
|
1529
|
-
|
|
2127
|
+
|
|
2128
|
+
export function useRemoveObserverFromProject<
|
|
2129
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1530
2130
|
TError = ErrorType<DmError | void>,
|
|
1531
|
-
TContext = unknown,
|
|
1532
2131
|
>(
|
|
2132
|
+
projectId: string,
|
|
2133
|
+
userId: string,
|
|
1533
2134
|
options?: {
|
|
1534
|
-
|
|
1535
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1536
|
-
TError,
|
|
1537
|
-
{ projectId: string; userId: string },
|
|
1538
|
-
TContext
|
|
2135
|
+
query?: Partial<
|
|
2136
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1539
2137
|
>;
|
|
1540
2138
|
request?: SecondParameter<typeof customFetch>;
|
|
1541
2139
|
},
|
|
1542
2140
|
queryClient?: QueryClient,
|
|
1543
|
-
):
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
2141
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
2142
|
+
const queryOptions = getRemoveObserverFromProjectQueryOptions(projectId, userId, options);
|
|
2143
|
+
|
|
2144
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
2145
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* @summary Delete a Project Observer
|
|
2153
|
+
*/
|
|
2154
|
+
export const invalidateRemoveObserverFromProject = async (
|
|
2155
|
+
queryClient: QueryClient,
|
|
2156
|
+
projectId: string,
|
|
2157
|
+
userId: string,
|
|
2158
|
+
options?: InvalidateOptions,
|
|
2159
|
+
): Promise<QueryClient> => {
|
|
2160
|
+
await queryClient.invalidateQueries(
|
|
2161
|
+
{ queryKey: getRemoveObserverFromProjectQueryKey(projectId, userId) },
|
|
2162
|
+
options,
|
|
2163
|
+
);
|
|
2164
|
+
|
|
2165
|
+
return queryClient;
|
|
1552
2166
|
};
|