@squonk/data-manager-client 5.4.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +40 -0
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +8 -14
- package/dist/api/accounting/accounting.cjs +49 -42
- package/dist/api/accounting/accounting.cjs.map +1 -1
- package/dist/api/accounting/accounting.d.cts +40 -42
- package/dist/api/accounting/accounting.d.cts.map +1 -1
- package/dist/api/accounting/accounting.d.ts +40 -42
- package/dist/api/accounting/accounting.d.ts.map +1 -1
- package/dist/api/accounting/accounting.fetch.cjs +66 -40
- package/dist/api/accounting/accounting.fetch.cjs.map +1 -1
- package/dist/api/accounting/accounting.fetch.d.cts +57 -59
- package/dist/api/accounting/accounting.fetch.d.cts.map +1 -1
- package/dist/api/accounting/accounting.fetch.d.ts +57 -59
- package/dist/api/accounting/accounting.fetch.d.ts.map +1 -1
- package/dist/api/accounting/accounting.fetch.js +63 -37
- package/dist/api/accounting/accounting.fetch.js.map +1 -1
- package/dist/api/accounting/accounting.js +46 -39
- package/dist/api/accounting/accounting.js.map +1 -1
- package/dist/api/admin/admin.cjs +349 -250
- package/dist/api/admin/admin.cjs.map +1 -1
- package/dist/api/admin/admin.d.cts +285 -218
- package/dist/api/admin/admin.d.cts.map +1 -1
- package/dist/api/admin/admin.d.ts +285 -218
- package/dist/api/admin/admin.d.ts.map +1 -1
- package/dist/api/admin/admin.fetch.cjs +396 -198
- package/dist/api/admin/admin.fetch.cjs.map +1 -1
- package/dist/api/admin/admin.fetch.d.cts +314 -247
- package/dist/api/admin/admin.fetch.d.cts.map +1 -1
- package/dist/api/admin/admin.fetch.d.ts +314 -247
- package/dist/api/admin/admin.fetch.d.ts.map +1 -1
- package/dist/api/admin/admin.fetch.js +371 -189
- package/dist/api/admin/admin.fetch.js.map +1 -1
- package/dist/api/admin/admin.js +324 -241
- package/dist/api/admin/admin.js.map +1 -1
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.cts +6 -7
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.ts +6 -7
- package/dist/api/api-schemas/accountServerGetNamespaceResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.cts +5 -5
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.ts +5 -5
- package/dist/api/api-schemas/accountServerGetRegistrationResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.cts +0 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.cts.map +1 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.ts +0 -1
- package/dist/api/api-schemas/adminDeleteJobManifestParams.d.ts.map +1 -1
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.cts +2 -3
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.ts +2 -3
- package/dist/api/api-schemas/adminGetServiceErrorsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/adminGetUsersParams.d.cts +7 -8
- package/dist/api/api-schemas/adminGetUsersParams.d.cts.map +1 -1
- package/dist/api/api-schemas/adminGetUsersParams.d.ts +7 -8
- package/dist/api/api-schemas/adminGetUsersParams.d.ts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/adminJobManifestGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.cts +14 -23
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.ts +14 -23
- package/dist/api/api-schemas/adminJobManifestLoadPutResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.cts +0 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.ts +0 -1
- package/dist/api/api-schemas/adminUserPutResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/adminUsersGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/adminUsersGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/adminUsersGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/adminUsersGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/apiLogDetail.d.cts +8 -17
- package/dist/api/api-schemas/apiLogDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/apiLogDetail.d.ts +8 -17
- package/dist/api/api-schemas/apiLogDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.cjs +1 -2
- package/dist/api/api-schemas/apiLogDetailMethod.cjs.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.d.cts +5 -6
- package/dist/api/api-schemas/apiLogDetailMethod.d.cts.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.d.ts +5 -6
- package/dist/api/api-schemas/apiLogDetailMethod.d.ts.map +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.js +1 -1
- package/dist/api/api-schemas/apiLogDetailMethod.js.map +1 -1
- package/dist/api/api-schemas/applicationGetResponse.d.cts +23 -18
- package/dist/api/api-schemas/applicationGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponse.d.ts +23 -18
- package/dist/api/api-schemas/applicationGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.cjs +1 -2
- package/dist/api/api-schemas/applicationGetResponseCostUnit.cjs.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.cts +6 -6
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.ts +6 -6
- package/dist/api/api-schemas/applicationGetResponseCostUnit.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.js +1 -1
- package/dist/api/api-schemas/applicationGetResponseCostUnit.js.map +1 -1
- package/dist/api/api-schemas/applicationImageVariant.d.cts +5 -5
- package/dist/api/api-schemas/applicationImageVariant.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationImageVariant.d.ts +5 -5
- package/dist/api/api-schemas/applicationImageVariant.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationImageVariants.d.cts +0 -1
- package/dist/api/api-schemas/applicationImageVariants.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationImageVariants.d.ts +0 -1
- package/dist/api/api-schemas/applicationImageVariants.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationSummary.d.cts +8 -14
- package/dist/api/api-schemas/applicationSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationSummary.d.ts +8 -14
- package/dist/api/api-schemas/applicationSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/applicationsGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/applicationsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/applicationsGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/applicationsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.cts +5 -5
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.cts.map +1 -1
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.ts +5 -5
- package/dist/api/api-schemas/asAdditionalDataProcessingCharge.d.ts.map +1 -1
- package/dist/api/api-schemas/createPathParams.d.cts +6 -7
- package/dist/api/api-schemas/createPathParams.d.cts.map +1 -1
- package/dist/api/api-schemas/createPathParams.d.ts +6 -7
- package/dist/api/api-schemas/createPathParams.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetDetail.d.cts +5 -11
- package/dist/api/api-schemas/datasetDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetDetail.d.ts +5 -11
- package/dist/api/api-schemas/datasetDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetDigestGetResponse.d.cts +7 -8
- package/dist/api/api-schemas/datasetDigestGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetDigestGetResponse.d.ts +7 -8
- package/dist/api/api-schemas/datasetDigestGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetMetaGetResponse.d.cts +14 -23
- package/dist/api/api-schemas/datasetMetaGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetMetaGetResponse.d.ts +14 -23
- package/dist/api/api-schemas/datasetMetaGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.cts +6 -10
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.ts +6 -10
- package/dist/api/api-schemas/datasetMetaPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetPostBodyBody.d.cts +11 -17
- package/dist/api/api-schemas/datasetPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetPostBodyBody.d.ts +11 -17
- package/dist/api/api-schemas/datasetPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetPutBodyBody.d.cts +12 -18
- package/dist/api/api-schemas/datasetPutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetPutBodyBody.d.ts +12 -18
- package/dist/api/api-schemas/datasetPutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetPutPostResponse.d.cts +8 -11
- package/dist/api/api-schemas/datasetPutPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetPutPostResponse.d.ts +8 -11
- package/dist/api/api-schemas/datasetPutPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.cts +4 -9
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.ts +4 -9
- package/dist/api/api-schemas/datasetSchemaGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.cjs +1 -2
- package/dist/api/api-schemas/datasetSchemaGetResponseType.cjs.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.cts +5 -6
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.ts +5 -6
- package/dist/api/api-schemas/datasetSchemaGetResponseType.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.js +1 -1
- package/dist/api/api-schemas/datasetSchemaGetResponseType.js.map +1 -1
- package/dist/api/api-schemas/datasetSummary.d.cts +3 -7
- package/dist/api/api-schemas/datasetSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetSummary.d.ts +3 -7
- package/dist/api/api-schemas/datasetSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.cts +0 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.ts +0 -1
- package/dist/api/api-schemas/datasetVersionDeleteResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetail.d.cts +18 -35
- package/dist/api/api-schemas/datasetVersionDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetail.d.ts +18 -35
- package/dist/api/api-schemas/datasetVersionDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailLabels.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.js +1 -1
- package/dist/api/api-schemas/datasetVersionDetailProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.cts +6 -10
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.ts +6 -10
- package/dist/api/api-schemas/datasetVersionMetaPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionProjectFile.d.cts +5 -5
- package/dist/api/api-schemas/datasetVersionProjectFile.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionProjectFile.d.ts +5 -5
- package/dist/api/api-schemas/datasetVersionProjectFile.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummary.d.cts +16 -32
- package/dist/api/api-schemas/datasetVersionSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummary.d.ts +16 -32
- package/dist/api/api-schemas/datasetVersionSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryLabels.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.js +1 -1
- package/dist/api/api-schemas/datasetVersionSummaryProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/datasetVersionsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/datasetsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/deleteDatasetParams.d.cts +2 -3
- package/dist/api/api-schemas/deleteDatasetParams.d.cts.map +1 -1
- package/dist/api/api-schemas/deleteDatasetParams.d.ts +2 -3
- package/dist/api/api-schemas/deleteDatasetParams.d.ts.map +1 -1
- package/dist/api/api-schemas/deletePathParams.d.cts +6 -7
- package/dist/api/api-schemas/deletePathParams.d.cts.map +1 -1
- package/dist/api/api-schemas/deletePathParams.d.ts +6 -7
- package/dist/api/api-schemas/deletePathParams.d.ts.map +1 -1
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.cts +10 -11
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.cts.map +1 -1
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.ts +10 -11
- package/dist/api/api-schemas/deleteUnmanagedFileParams.d.ts.map +1 -1
- package/dist/api/api-schemas/dmError.d.cts +6 -7
- package/dist/api/api-schemas/dmError.d.cts.map +1 -1
- package/dist/api/api-schemas/dmError.d.ts +6 -7
- package/dist/api/api-schemas/dmError.d.ts.map +1 -1
- package/dist/api/api-schemas/exchangeRateDetail.d.cts +5 -5
- package/dist/api/api-schemas/exchangeRateDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/exchangeRateDetail.d.ts +5 -5
- package/dist/api/api-schemas/exchangeRateDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.cts +7 -9
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.ts +7 -9
- package/dist/api/api-schemas/exchangeRatePutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/filePathFile.d.cts +8 -17
- package/dist/api/api-schemas/filePathFile.d.cts.map +1 -1
- package/dist/api/api-schemas/filePathFile.d.ts +8 -17
- package/dist/api/api-schemas/filePathFile.d.ts.map +1 -1
- package/dist/api/api-schemas/filePostBodyBody.d.cts +12 -18
- package/dist/api/api-schemas/filePostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/filePostBodyBody.d.ts +12 -18
- package/dist/api/api-schemas/filePostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/filePostResponse.d.cts +9 -13
- package/dist/api/api-schemas/filePostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/filePostResponse.d.ts +9 -13
- package/dist/api/api-schemas/filePostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/fileStat.d.cts +7 -9
- package/dist/api/api-schemas/fileStat.d.cts.map +1 -1
- package/dist/api/api-schemas/fileStat.d.ts +7 -9
- package/dist/api/api-schemas/fileStat.d.ts.map +1 -1
- package/dist/api/api-schemas/filesGetResponse.d.cts +5 -11
- package/dist/api/api-schemas/filesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/filesGetResponse.d.ts +5 -11
- package/dist/api/api-schemas/filesGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.cts +0 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.ts +0 -1
- package/dist/api/api-schemas/getAllExchangeRatesResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.cts +2 -3
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.ts +2 -3
- package/dist/api/api-schemas/getAllJobExchangeRatesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getDatasetsParams.d.cts +16 -17
- package/dist/api/api-schemas/getDatasetsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getDatasetsParams.d.ts +16 -17
- package/dist/api/api-schemas/getDatasetsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getExchangeRatesResponse.d.cts +1 -3
- package/dist/api/api-schemas/getExchangeRatesResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/getExchangeRatesResponse.d.ts +1 -3
- package/dist/api/api-schemas/getExchangeRatesResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/getFilesParams.d.cts +6 -7
- package/dist/api/api-schemas/getFilesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getFilesParams.d.ts +6 -7
- package/dist/api/api-schemas/getFilesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getInstancesParams.d.cts +0 -1
- package/dist/api/api-schemas/getInstancesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getInstancesParams.d.ts +0 -1
- package/dist/api/api-schemas/getInstancesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobByVersionParams.d.cts +9 -10
- package/dist/api/api-schemas/getJobByVersionParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobByVersionParams.d.ts +9 -10
- package/dist/api/api-schemas/getJobByVersionParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.cts +2 -3
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.ts +2 -3
- package/dist/api/api-schemas/getJobExchangeRatesParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobParams.d.cts +0 -1
- package/dist/api/api-schemas/getJobParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobParams.d.ts +0 -1
- package/dist/api/api-schemas/getJobParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getJobsParams.d.cts +0 -1
- package/dist/api/api-schemas/getJobsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getJobsParams.d.ts +0 -1
- package/dist/api/api-schemas/getJobsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getProjectFileParams.d.cts +9 -10
- package/dist/api/api-schemas/getProjectFileParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getProjectFileParams.d.ts +9 -10
- package/dist/api/api-schemas/getProjectFileParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.cts +9 -10
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.ts +9 -10
- package/dist/api/api-schemas/getProjectFileWithTokenParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getProjectsParams.d.cts +0 -1
- package/dist/api/api-schemas/getProjectsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getProjectsParams.d.ts +0 -1
- package/dist/api/api-schemas/getProjectsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.cts +3 -4
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.ts +3 -4
- package/dist/api/api-schemas/getRunningWorkflowsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getTaskParams.d.cts +6 -7
- package/dist/api/api-schemas/getTaskParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getTaskParams.d.ts +6 -7
- package/dist/api/api-schemas/getTaskParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getTasksParams.d.cts +10 -11
- package/dist/api/api-schemas/getTasksParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getTasksParams.d.ts +10 -11
- package/dist/api/api-schemas/getTasksParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getUserAccountParams.d.cts +2 -3
- package/dist/api/api-schemas/getUserAccountParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getUserAccountParams.d.ts +2 -3
- package/dist/api/api-schemas/getUserAccountParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getUserApiLogParams.d.cts +4 -5
- package/dist/api/api-schemas/getUserApiLogParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getUserApiLogParams.d.ts +4 -5
- package/dist/api/api-schemas/getUserApiLogParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getUserInventoryParams.d.cts +4 -5
- package/dist/api/api-schemas/getUserInventoryParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getUserInventoryParams.d.ts +4 -5
- package/dist/api/api-schemas/getUserInventoryParams.d.ts.map +1 -1
- package/dist/api/api-schemas/getVersionsParams.d.cts +0 -1
- package/dist/api/api-schemas/getVersionsParams.d.cts.map +1 -1
- package/dist/api/api-schemas/getVersionsParams.d.ts +0 -1
- package/dist/api/api-schemas/getVersionsParams.d.ts.map +1 -1
- package/dist/api/api-schemas/inputHandlerDetail.d.cts +5 -5
- package/dist/api/api-schemas/inputHandlerDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inputHandlerDetail.d.ts +5 -5
- package/dist/api/api-schemas/inputHandlerDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/inputHandlerGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.cts +0 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.ts +0 -1
- package/dist/api/api-schemas/instanceDeleteResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.cts +7 -9
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.ts +7 -9
- package/dist/api/api-schemas/instanceDryRunPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponse.d.cts +37 -69
- package/dist/api/api-schemas/instanceGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponse.d.ts +37 -69
- package/dist/api/api-schemas/instanceGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.cjs +1 -2
- package/dist/api/api-schemas/instanceGetResponseApplicationType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.cts +5 -6
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.ts +5 -6
- package/dist/api/api-schemas/instanceGetResponseApplicationType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.js +1 -1
- package/dist/api/api-schemas/instanceGetResponseApplicationType.js.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.cjs +1 -2
- package/dist/api/api-schemas/instanceGetResponseJobImageType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.cts +5 -6
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.ts +5 -6
- package/dist/api/api-schemas/instanceGetResponseJobImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.js +1 -1
- package/dist/api/api-schemas/instanceGetResponseJobImageType.js.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.cts +5 -5
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.ts +5 -5
- package/dist/api/api-schemas/instanceGetResponseOutputs.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.cjs +1 -2
- package/dist/api/api-schemas/instanceGetResponsePhase.cjs.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.d.cts +6 -7
- package/dist/api/api-schemas/instanceGetResponsePhase.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.d.ts +6 -7
- package/dist/api/api-schemas/instanceGetResponsePhase.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.js +1 -1
- package/dist/api/api-schemas/instanceGetResponsePhase.js.map +1 -1
- package/dist/api/api-schemas/instancePostBodyBody.d.cts +43 -27
- package/dist/api/api-schemas/instancePostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/instancePostBodyBody.d.ts +43 -27
- package/dist/api/api-schemas/instancePostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/instancePostResponse.d.cts +9 -13
- package/dist/api/api-schemas/instancePostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instancePostResponse.d.ts +9 -13
- package/dist/api/api-schemas/instancePostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummary.d.cts +30 -55
- package/dist/api/api-schemas/instanceSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummary.d.ts +30 -55
- package/dist/api/api-schemas/instanceSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.cjs +1 -2
- package/dist/api/api-schemas/instanceSummaryApplicationType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.cts +5 -6
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.ts +5 -6
- package/dist/api/api-schemas/instanceSummaryApplicationType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.js +1 -1
- package/dist/api/api-schemas/instanceSummaryApplicationType.js.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.cjs +1 -2
- package/dist/api/api-schemas/instanceSummaryJobImageType.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.cts +5 -6
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.ts +5 -6
- package/dist/api/api-schemas/instanceSummaryJobImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.js +1 -1
- package/dist/api/api-schemas/instanceSummaryJobImageType.js.map +1 -1
- package/dist/api/api-schemas/instanceSummaryOutputs.d.cts +5 -5
- package/dist/api/api-schemas/instanceSummaryOutputs.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryOutputs.d.ts +5 -5
- package/dist/api/api-schemas/instanceSummaryOutputs.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.cjs +1 -2
- package/dist/api/api-schemas/instanceSummaryPhase.cjs.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.d.cts +6 -7
- package/dist/api/api-schemas/instanceSummaryPhase.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.d.ts +6 -7
- package/dist/api/api-schemas/instanceSummaryPhase.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.js +1 -1
- package/dist/api/api-schemas/instanceSummaryPhase.js.map +1 -1
- package/dist/api/api-schemas/instanceTask.d.cts +0 -1
- package/dist/api/api-schemas/instanceTask.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceTask.d.ts +0 -1
- package/dist/api/api-schemas/instanceTask.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.cjs +1 -2
- package/dist/api/api-schemas/instanceTaskPurpose.cjs.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.d.cts +5 -5
- package/dist/api/api-schemas/instanceTaskPurpose.d.cts.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.d.ts +5 -5
- package/dist/api/api-schemas/instanceTaskPurpose.d.ts.map +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.js +1 -1
- package/dist/api/api-schemas/instanceTaskPurpose.js.map +1 -1
- package/dist/api/api-schemas/instancesGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/instancesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/instancesGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/instancesGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryDatasetDetail.d.cts +5 -5
- package/dist/api/api-schemas/inventoryDatasetDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryDatasetDetail.d.ts +5 -5
- package/dist/api/api-schemas/inventoryDatasetDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryProjectDetail.d.cts +5 -5
- package/dist/api/api-schemas/inventoryProjectDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryProjectDetail.d.ts +5 -5
- package/dist/api/api-schemas/inventoryProjectDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetail.d.cts +1 -2
- package/dist/api/api-schemas/inventoryUserDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetail.d.ts +1 -2
- package/dist/api/api-schemas/inventoryUserDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.cts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.ts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailDatasets.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.cts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.ts +0 -1
- package/dist/api/api-schemas/inventoryUserDetailProjects.d.ts.map +1 -1
- package/dist/api/api-schemas/inventoryUserGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/inventoryUserGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/inventoryUserGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/inventoryUserGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/jobApplication.d.cts +5 -5
- package/dist/api/api-schemas/jobApplication.d.cts.map +1 -1
- package/dist/api/api-schemas/jobApplication.d.ts +5 -5
- package/dist/api/api-schemas/jobApplication.d.ts.map +1 -1
- package/dist/api/api-schemas/jobExchangeRateSummary.d.cts +5 -5
- package/dist/api/api-schemas/jobExchangeRateSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/jobExchangeRateSummary.d.ts +5 -5
- package/dist/api/api-schemas/jobExchangeRateSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/jobGetResponse.d.cts +26 -45
- package/dist/api/api-schemas/jobGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/jobGetResponse.d.ts +26 -45
- package/dist/api/api-schemas/jobGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.cjs +1 -2
- package/dist/api/api-schemas/jobGetResponseImageType.cjs.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.d.cts +5 -6
- package/dist/api/api-schemas/jobGetResponseImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.d.ts +5 -6
- package/dist/api/api-schemas/jobGetResponseImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.js +1 -1
- package/dist/api/api-schemas/jobGetResponseImageType.js.map +1 -1
- package/dist/api/api-schemas/jobManifestDetail.d.cts +12 -19
- package/dist/api/api-schemas/jobManifestDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/jobManifestDetail.d.ts +12 -19
- package/dist/api/api-schemas/jobManifestDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.cts +6 -7
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.ts +6 -7
- package/dist/api/api-schemas/jobManifestPutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/jobOrderDetail.d.cts +5 -5
- package/dist/api/api-schemas/jobOrderDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/jobOrderDetail.d.ts +5 -5
- package/dist/api/api-schemas/jobOrderDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/jobReplacement.d.cts +5 -5
- package/dist/api/api-schemas/jobReplacement.d.cts.map +1 -1
- package/dist/api/api-schemas/jobReplacement.d.ts +5 -5
- package/dist/api/api-schemas/jobReplacement.d.ts.map +1 -1
- package/dist/api/api-schemas/jobReplacements.d.cts +0 -2
- package/dist/api/api-schemas/jobReplacements.d.cts.map +1 -1
- package/dist/api/api-schemas/jobReplacements.d.ts +0 -2
- package/dist/api/api-schemas/jobReplacements.d.ts.map +1 -1
- package/dist/api/api-schemas/jobSummary.d.cts +19 -32
- package/dist/api/api-schemas/jobSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/jobSummary.d.ts +19 -32
- package/dist/api/api-schemas/jobSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.cjs +1 -2
- package/dist/api/api-schemas/jobSummaryImageType.cjs.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.d.cts +5 -6
- package/dist/api/api-schemas/jobSummaryImageType.d.cts.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.d.ts +5 -6
- package/dist/api/api-schemas/jobSummaryImageType.d.ts.map +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.js +1 -1
- package/dist/api/api-schemas/jobSummaryImageType.js.map +1 -1
- package/dist/api/api-schemas/jobVariables.d.cts +4 -8
- package/dist/api/api-schemas/jobVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariables.d.ts +4 -8
- package/dist/api/api-schemas/jobVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/jobVariablesInputs.d.cts +5 -6
- package/dist/api/api-schemas/jobVariablesInputs.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariablesInputs.d.ts +5 -6
- package/dist/api/api-schemas/jobVariablesInputs.d.ts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOptions.d.cts +5 -6
- package/dist/api/api-schemas/jobVariablesOptions.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOptions.d.ts +5 -6
- package/dist/api/api-schemas/jobVariablesOptions.d.ts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOutputs.d.cts +5 -6
- package/dist/api/api-schemas/jobVariablesOutputs.d.cts.map +1 -1
- package/dist/api/api-schemas/jobVariablesOutputs.d.ts +5 -6
- package/dist/api/api-schemas/jobVariablesOutputs.d.ts.map +1 -1
- package/dist/api/api-schemas/jobsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/jobsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/jobsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/jobsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/modeGetResponse.d.cts +6 -7
- package/dist/api/api-schemas/modeGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/modeGetResponse.d.ts +6 -7
- package/dist/api/api-schemas/modeGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/moveFileInProjectParams.d.cts +19 -20
- package/dist/api/api-schemas/moveFileInProjectParams.d.cts.map +1 -1
- package/dist/api/api-schemas/moveFileInProjectParams.d.ts +19 -20
- package/dist/api/api-schemas/moveFileInProjectParams.d.ts.map +1 -1
- package/dist/api/api-schemas/movePathParams.d.cts +11 -12
- package/dist/api/api-schemas/movePathParams.d.cts.map +1 -1
- package/dist/api/api-schemas/movePathParams.d.ts +11 -12
- package/dist/api/api-schemas/movePathParams.d.ts.map +1 -1
- package/dist/api/api-schemas/patchInstanceParams.d.cts +0 -1
- package/dist/api/api-schemas/patchInstanceParams.d.cts.map +1 -1
- package/dist/api/api-schemas/patchInstanceParams.d.ts +0 -1
- package/dist/api/api-schemas/patchInstanceParams.d.ts.map +1 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.cts +0 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.ts +0 -1
- package/dist/api/api-schemas/projectDeleteResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/projectDetail.d.cts +9 -19
- package/dist/api/api-schemas/projectDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/projectDetail.d.ts +9 -19
- package/dist/api/api-schemas/projectDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/projectFileDetail.d.cts +11 -23
- package/dist/api/api-schemas/projectFileDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/projectFileDetail.d.ts +11 -23
- package/dist/api/api-schemas/projectFileDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/projectFileDetailProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/projectFileDetailProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.js +1 -1
- package/dist/api/api-schemas/projectFileDetailProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/projectFilePutBodyBody.d.cts +9 -8
- package/dist/api/api-schemas/projectFilePutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/projectFilePutBodyBody.d.ts +9 -8
- package/dist/api/api-schemas/projectFilePutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/projectGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/projectGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/projectGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/projectPatchBodyBody.d.cts +6 -8
- package/dist/api/api-schemas/projectPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/projectPatchBodyBody.d.ts +6 -8
- package/dist/api/api-schemas/projectPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/projectPostBodyBody.d.cts +7 -9
- package/dist/api/api-schemas/projectPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/projectPostBodyBody.d.ts +7 -9
- package/dist/api/api-schemas/projectPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/projectPostResponse.d.cts +6 -7
- package/dist/api/api-schemas/projectPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectPostResponse.d.ts +6 -7
- package/dist/api/api-schemas/projectPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/projectsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/projectsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/projectsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/projectsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/qActiveDaysParameter.d.cts +5 -6
- package/dist/api/api-schemas/qActiveDaysParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qActiveDaysParameter.d.ts +5 -6
- package/dist/api/api-schemas/qActiveDaysParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qApplicationIdParameter.d.cts +5 -6
- package/dist/api/api-schemas/qApplicationIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qApplicationIdParameter.d.ts +5 -6
- package/dist/api/api-schemas/qApplicationIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qCurrentParameter.d.cts +5 -6
- package/dist/api/api-schemas/qCurrentParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qCurrentParameter.d.ts +5 -6
- package/dist/api/api-schemas/qCurrentParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.cts +5 -6
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.ts +5 -6
- package/dist/api/api-schemas/qDatasetMimeTypeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.cts +5 -6
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.ts +5 -6
- package/dist/api/api-schemas/qDoNotImpersonateParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qDstFileParameter.d.cts +5 -6
- package/dist/api/api-schemas/qDstFileParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qDstFileParameter.d.ts +5 -6
- package/dist/api/api-schemas/qDstFileParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qEditorsParameter.d.cts +5 -6
- package/dist/api/api-schemas/qEditorsParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qEditorsParameter.d.ts +5 -6
- package/dist/api/api-schemas/qEditorsParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qEventLimitParameter.d.cts +5 -6
- package/dist/api/api-schemas/qEventLimitParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qEventLimitParameter.d.ts +5 -6
- package/dist/api/api-schemas/qEventLimitParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.cts +5 -6
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.ts +5 -6
- package/dist/api/api-schemas/qEventPriorOrdinalParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qExcludeDoneParameter.d.cts +5 -6
- package/dist/api/api-schemas/qExcludeDoneParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qExcludeDoneParameter.d.ts +5 -6
- package/dist/api/api-schemas/qExcludeDoneParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qExcludePurposeParameter.d.cts +5 -6
- package/dist/api/api-schemas/qExcludePurposeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qExcludePurposeParameter.d.ts +5 -6
- package/dist/api/api-schemas/qExcludePurposeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.cts +5 -6
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.ts +5 -6
- package/dist/api/api-schemas/qExcludeRemovalParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileDstPathParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFileDstPathParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileDstPathParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFileDstPathParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFileParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFileParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFilePathParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFilePathParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFilePathParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFilePathParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileProjectIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qFileProjectIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileProjectIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qFileProjectIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFileSrcPathParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFileSrcPathParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFileSrcPathParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFileSrcPathParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qFromParameter.d.cts +5 -6
- package/dist/api/api-schemas/qFromParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qFromParameter.d.ts +5 -6
- package/dist/api/api-schemas/qFromParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIdleDaysParameter.d.cts +5 -6
- package/dist/api/api-schemas/qIdleDaysParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIdleDaysParameter.d.ts +5 -6
- package/dist/api/api-schemas/qIdleDaysParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.cts +5 -6
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.ts +5 -6
- package/dist/api/api-schemas/qIncludeAcknowledgedParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.cts +5 -5
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.ts +5 -5
- package/dist/api/api-schemas/qIncludeDeletedParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.cts +5 -5
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.ts +5 -5
- package/dist/api/api-schemas/qIncludeHiddenParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.cts +5 -5
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.ts +5 -5
- package/dist/api/api-schemas/qInstanceArchiveParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.cts +5 -5
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.ts +5 -5
- package/dist/api/api-schemas/qInstanceCallbackContextParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobCollectionParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobCollectionParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobCollectionParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobCollectionParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobIdParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobIdParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobJobParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobJobParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobJobParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobJobParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qJobVersionParameter.d.cts +5 -6
- package/dist/api/api-schemas/qJobVersionParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qJobVersionParameter.d.ts +5 -6
- package/dist/api/api-schemas/qJobVersionParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.cts +5 -6
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.ts +5 -6
- package/dist/api/api-schemas/qKeepProjectFilesParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qLabelsParameter.d.cts +5 -6
- package/dist/api/api-schemas/qLabelsParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qLabelsParameter.d.ts +5 -6
- package/dist/api/api-schemas/qLabelsParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.cts +5 -6
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.ts +5 -6
- package/dist/api/api-schemas/qOnlyUndefinedParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qOrgIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qOrgIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qOwnersParameter.d.cts +5 -6
- package/dist/api/api-schemas/qOwnersParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qOwnersParameter.d.ts +5 -6
- package/dist/api/api-schemas/qOwnersParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qProjectIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qProjectIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qProjectIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qProjectIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qProjectNameParameter.d.cts +5 -5
- package/dist/api/api-schemas/qProjectNameParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qProjectNameParameter.d.ts +5 -5
- package/dist/api/api-schemas/qProjectNameParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qPurgeParameter.d.cts +5 -5
- package/dist/api/api-schemas/qPurgeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qPurgeParameter.d.ts +5 -5
- package/dist/api/api-schemas/qPurgeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.cjs +1 -2
- package/dist/api/api-schemas/qPurposeParameter.cjs.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.d.cts +5 -5
- package/dist/api/api-schemas/qPurposeParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.d.ts +5 -5
- package/dist/api/api-schemas/qPurposeParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qPurposeParameter.js +1 -1
- package/dist/api/api-schemas/qPurposeParameter.js.map +1 -1
- package/dist/api/api-schemas/qTokenParameter.d.cts +5 -5
- package/dist/api/api-schemas/qTokenParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qTokenParameter.d.ts +5 -5
- package/dist/api/api-schemas/qTokenParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.cts +5 -5
- package/dist/api/api-schemas/qUnitIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.ts +5 -5
- package/dist/api/api-schemas/qUnitIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.cts +5 -6
- package/dist/api/api-schemas/qUntilParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.ts +5 -6
- package/dist/api/api-schemas/qUntilParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUsernameParameter.d.cts +5 -6
- package/dist/api/api-schemas/qUsernameParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUsernameParameter.d.ts +5 -6
- package/dist/api/api-schemas/qUsernameParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qUsernamesParameter.d.cts +5 -6
- package/dist/api/api-schemas/qUsernamesParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qUsernamesParameter.d.ts +5 -6
- package/dist/api/api-schemas/qUsernamesParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/qWorkflowIdParameter.d.cts +5 -6
- package/dist/api/api-schemas/qWorkflowIdParameter.d.cts.map +1 -1
- package/dist/api/api-schemas/qWorkflowIdParameter.d.ts +5 -6
- package/dist/api/api-schemas/qWorkflowIdParameter.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.cts +1 -3
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.ts +1 -3
- package/dist/api/api-schemas/runningWorkflowGetAllResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.cts +3 -6
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.ts +3 -6
- package/dist/api/api-schemas/runningWorkflowGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.cjs +1 -2
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.js +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.cts +5 -6
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.ts +5 -6
- package/dist/api/api-schemas/runningWorkflowGetResponseVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowProject.d.cts +7 -9
- package/dist/api/api-schemas/runningWorkflowProject.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowProject.d.ts +7 -9
- package/dist/api/api-schemas/runningWorkflowProject.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStep.d.cts +1 -2
- package/dist/api/api-schemas/runningWorkflowStep.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStep.d.ts +1 -2
- package/dist/api/api-schemas/runningWorkflowStep.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.cjs +1 -2
- package/dist/api/api-schemas/runningWorkflowStepStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepStatus.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.js +1 -1
- package/dist/api/api-schemas/runningWorkflowStepStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowStepVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/runningWorkflowStepsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummary.d.cts +4 -8
- package/dist/api/api-schemas/runningWorkflowSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummary.d.ts +4 -8
- package/dist/api/api-schemas/runningWorkflowSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.cjs +1 -2
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.cjs.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.cts +5 -5
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.ts +5 -5
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.d.ts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.js +1 -1
- package/dist/api/api-schemas/runningWorkflowSummaryStatus.js.map +1 -1
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.cts +7 -9
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.cts.map +1 -1
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.ts +7 -9
- package/dist/api/api-schemas/runningWorkflowWorkflow.d.ts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.cts +0 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.ts +0 -1
- package/dist/api/api-schemas/serviceErrorSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.cjs +1 -2
- package/dist/api/api-schemas/serviceErrorSummarySeverity.cjs.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.cts +5 -5
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.cts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.ts +5 -5
- package/dist/api/api-schemas/serviceErrorSummarySeverity.d.ts.map +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.js +1 -1
- package/dist/api/api-schemas/serviceErrorSummarySeverity.js.map +1 -1
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.cts +2 -5
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.ts +2 -5
- package/dist/api/api-schemas/serviceErrorsGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/taskEvent.d.cts +4 -9
- package/dist/api/api-schemas/taskEvent.d.cts.map +1 -1
- package/dist/api/api-schemas/taskEvent.d.ts +4 -9
- package/dist/api/api-schemas/taskEvent.d.ts.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.cjs +1 -2
- package/dist/api/api-schemas/taskEventLevel.cjs.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.d.cts +5 -6
- package/dist/api/api-schemas/taskEventLevel.d.cts.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.d.ts +5 -6
- package/dist/api/api-schemas/taskEventLevel.d.ts.map +1 -1
- package/dist/api/api-schemas/taskEventLevel.js +1 -1
- package/dist/api/api-schemas/taskEventLevel.js.map +1 -1
- package/dist/api/api-schemas/taskGetResponse.d.cts +11 -23
- package/dist/api/api-schemas/taskGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/taskGetResponse.d.ts +11 -23
- package/dist/api/api-schemas/taskGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.cjs +1 -2
- package/dist/api/api-schemas/taskGetResponsePurpose.cjs.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.d.cts +5 -6
- package/dist/api/api-schemas/taskGetResponsePurpose.d.cts.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.d.ts +5 -6
- package/dist/api/api-schemas/taskGetResponsePurpose.d.ts.map +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.js +1 -1
- package/dist/api/api-schemas/taskGetResponsePurpose.js.map +1 -1
- package/dist/api/api-schemas/taskIdentity.d.cts +5 -5
- package/dist/api/api-schemas/taskIdentity.d.cts.map +1 -1
- package/dist/api/api-schemas/taskIdentity.d.ts +5 -5
- package/dist/api/api-schemas/taskIdentity.d.ts.map +1 -1
- package/dist/api/api-schemas/taskState.d.cts +3 -7
- package/dist/api/api-schemas/taskState.d.cts.map +1 -1
- package/dist/api/api-schemas/taskState.d.ts +3 -7
- package/dist/api/api-schemas/taskState.d.ts.map +1 -1
- package/dist/api/api-schemas/taskStateState.cjs +1 -2
- package/dist/api/api-schemas/taskStateState.cjs.map +1 -1
- package/dist/api/api-schemas/taskStateState.d.cts +5 -6
- package/dist/api/api-schemas/taskStateState.d.cts.map +1 -1
- package/dist/api/api-schemas/taskStateState.d.ts +5 -6
- package/dist/api/api-schemas/taskStateState.d.ts.map +1 -1
- package/dist/api/api-schemas/taskStateState.js +1 -1
- package/dist/api/api-schemas/taskStateState.js.map +1 -1
- package/dist/api/api-schemas/taskSummary.d.cts +10 -21
- package/dist/api/api-schemas/taskSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/taskSummary.d.ts +10 -21
- package/dist/api/api-schemas/taskSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.cjs +1 -2
- package/dist/api/api-schemas/taskSummaryProcessingStage.cjs.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.cts +5 -6
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.cts.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.ts +5 -6
- package/dist/api/api-schemas/taskSummaryProcessingStage.d.ts.map +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.js +1 -1
- package/dist/api/api-schemas/taskSummaryProcessingStage.js.map +1 -1
- package/dist/api/api-schemas/tasksGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/tasksGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/tasksGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/tasksGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummary.d.cts +5 -11
- package/dist/api/api-schemas/typeSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/typeSummary.d.ts +5 -11
- package/dist/api/api-schemas/typeSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.cts +2 -10
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.cts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.ts +2 -10
- package/dist/api/api-schemas/typeSummaryFormatterOptions.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.cjs +1 -2
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.cjs.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.cts +5 -6
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.cts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.ts +5 -6
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.d.ts.map +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.js +1 -1
- package/dist/api/api-schemas/typeSummaryFormatterOptionsType.js.map +1 -1
- package/dist/api/api-schemas/typesGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/typesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/typesGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/typesGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userAccountDetail.d.cts +0 -1
- package/dist/api/api-schemas/userAccountDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/userAccountDetail.d.ts +0 -1
- package/dist/api/api-schemas/userAccountDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.cts +0 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.ts +0 -1
- package/dist/api/api-schemas/userAccountGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.cts +8 -14
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.ts +8 -14
- package/dist/api/api-schemas/userAccountPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/userActivityDetail.d.cts +4 -9
- package/dist/api/api-schemas/userActivityDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/userActivityDetail.d.ts +4 -9
- package/dist/api/api-schemas/userActivityDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/userActivityDetailPeriod.d.cts +10 -15
- package/dist/api/api-schemas/userActivityDetailPeriod.d.cts.map +1 -1
- package/dist/api/api-schemas/userActivityDetailPeriod.d.ts +10 -15
- package/dist/api/api-schemas/userActivityDetailPeriod.d.ts.map +1 -1
- package/dist/api/api-schemas/userApiLogGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/userApiLogGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/userApiLogGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/userApiLogGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userApiTokenGetResponse.d.cts +5 -5
- package/dist/api/api-schemas/userApiTokenGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/userApiTokenGetResponse.d.ts +5 -5
- package/dist/api/api-schemas/userApiTokenGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/userDetail.d.cts +14 -23
- package/dist/api/api-schemas/userDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/userDetail.d.ts +14 -23
- package/dist/api/api-schemas/userDetail.d.ts.map +1 -1
- package/dist/api/api-schemas/userPatchBodyBody.d.cts +6 -8
- package/dist/api/api-schemas/userPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/userPatchBodyBody.d.ts +6 -8
- package/dist/api/api-schemas/userPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/userSummary.d.cts +6 -7
- package/dist/api/api-schemas/userSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/userSummary.d.ts +6 -7
- package/dist/api/api-schemas/userSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/usersGetResponse.d.cts +1 -3
- package/dist/api/api-schemas/usersGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/usersGetResponse.d.ts +1 -3
- package/dist/api/api-schemas/usersGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/versionGetResponse.d.cts +6 -7
- package/dist/api/api-schemas/versionGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/versionGetResponse.d.ts +6 -7
- package/dist/api/api-schemas/versionGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowDefinitionGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetAllResponse.d.cts +1 -3
- package/dist/api/api-schemas/workflowGetAllResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetAllResponse.d.ts +1 -3
- package/dist/api/api-schemas/workflowGetAllResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponse.d.cts +7 -15
- package/dist/api/api-schemas/workflowGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponse.d.ts +7 -15
- package/dist/api/api-schemas/workflowGetResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.cjs +1 -2
- package/dist/api/api-schemas/workflowGetResponseScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.d.cts +5 -5
- package/dist/api/api-schemas/workflowGetResponseScope.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.d.ts +5 -5
- package/dist/api/api-schemas/workflowGetResponseScope.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.js +1 -1
- package/dist/api/api-schemas/workflowGetResponseScope.js.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseVariables.d.cts +5 -5
- package/dist/api/api-schemas/workflowGetResponseVariables.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowGetResponseVariables.d.ts +5 -5
- package/dist/api/api-schemas/workflowGetResponseVariables.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPatchBodyBody.d.cts +16 -11
- package/dist/api/api-schemas/workflowPatchBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPatchBodyBody.d.ts +16 -11
- package/dist/api/api-schemas/workflowPatchBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPatchResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowPatchResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPatchResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowPatchResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBody.d.cts +12 -12
- package/dist/api/api-schemas/workflowPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBody.d.ts +12 -12
- package/dist/api/api-schemas/workflowPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.cjs +1 -2
- package/dist/api/api-schemas/workflowPostBodyBodyScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.cts +5 -6
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.ts +5 -6
- package/dist/api/api-schemas/workflowPostBodyBodyScope.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.js +1 -1
- package/dist/api/api-schemas/workflowPostBodyBodyScope.js.map +1 -1
- package/dist/api/api-schemas/workflowPostResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowPostResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.cts +9 -13
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.ts +9 -13
- package/dist/api/api-schemas/workflowRunPostBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowRunPostResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowRunPostResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowRunPostResponse.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummary.d.cts +2 -5
- package/dist/api/api-schemas/workflowStepSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummary.d.ts +2 -5
- package/dist/api/api-schemas/workflowStepSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.cts +5 -6
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.ts +5 -6
- package/dist/api/api-schemas/workflowStepSummarySpecification.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowSummary.d.cts +8 -17
- package/dist/api/api-schemas/workflowSummary.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowSummary.d.ts +8 -17
- package/dist/api/api-schemas/workflowSummary.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.cjs +1 -2
- package/dist/api/api-schemas/workflowSummaryScope.cjs.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.d.cts +5 -6
- package/dist/api/api-schemas/workflowSummaryScope.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.d.ts +5 -6
- package/dist/api/api-schemas/workflowSummaryScope.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.js +1 -1
- package/dist/api/api-schemas/workflowSummaryScope.js.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.cts +6 -8
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.ts +6 -8
- package/dist/api/api-schemas/workflowVersionPutBodyBody.d.ts.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutResponse.d.cts +5 -5
- package/dist/api/api-schemas/workflowVersionPutResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/workflowVersionPutResponse.d.ts +5 -5
- package/dist/api/api-schemas/workflowVersionPutResponse.d.ts.map +1 -1
- package/dist/api/application/application.cjs +28 -27
- package/dist/api/application/application.cjs.map +1 -1
- package/dist/api/application/application.d.cts +19 -21
- package/dist/api/application/application.d.cts.map +1 -1
- package/dist/api/application/application.d.ts +19 -21
- package/dist/api/application/application.d.ts.map +1 -1
- package/dist/api/application/application.fetch.cjs +36 -23
- package/dist/api/application/application.fetch.cjs.map +1 -1
- package/dist/api/application/application.fetch.d.cts +27 -29
- package/dist/api/application/application.fetch.d.cts.map +1 -1
- package/dist/api/application/application.fetch.d.ts +27 -29
- package/dist/api/application/application.fetch.d.ts.map +1 -1
- package/dist/api/application/application.fetch.js +33 -20
- package/dist/api/application/application.fetch.js.map +1 -1
- package/dist/api/application/application.js +25 -24
- package/dist/api/application/application.js.map +1 -1
- package/dist/api/configuration/configuration.cjs +25 -22
- package/dist/api/configuration/configuration.cjs.map +1 -1
- package/dist/api/configuration/configuration.d.cts +16 -16
- package/dist/api/configuration/configuration.d.cts.map +1 -1
- package/dist/api/configuration/configuration.d.ts +16 -16
- package/dist/api/configuration/configuration.d.ts.map +1 -1
- package/dist/api/configuration/configuration.fetch.cjs +31 -22
- package/dist/api/configuration/configuration.fetch.cjs.map +1 -1
- package/dist/api/configuration/configuration.fetch.d.cts +22 -22
- package/dist/api/configuration/configuration.fetch.d.cts.map +1 -1
- package/dist/api/configuration/configuration.fetch.d.ts +22 -22
- package/dist/api/configuration/configuration.fetch.d.ts.map +1 -1
- package/dist/api/configuration/configuration.fetch.js +28 -19
- package/dist/api/configuration/configuration.fetch.js.map +1 -1
- package/dist/api/configuration/configuration.js +22 -19
- package/dist/api/configuration/configuration.js.map +1 -1
- package/dist/api/dataset/dataset.cjs +254 -193
- package/dist/api/dataset/dataset.cjs.map +1 -1
- package/dist/api/dataset/dataset.d.cts +216 -193
- package/dist/api/dataset/dataset.d.cts.map +1 -1
- package/dist/api/dataset/dataset.d.ts +216 -193
- package/dist/api/dataset/dataset.d.ts.map +1 -1
- package/dist/api/dataset/dataset.fetch.cjs +296 -145
- package/dist/api/dataset/dataset.fetch.cjs.map +1 -1
- package/dist/api/dataset/dataset.fetch.d.cts +243 -220
- package/dist/api/dataset/dataset.fetch.d.cts.map +1 -1
- package/dist/api/dataset/dataset.fetch.d.ts +243 -220
- package/dist/api/dataset/dataset.fetch.d.ts.map +1 -1
- package/dist/api/dataset/dataset.fetch.js +280 -139
- package/dist/api/dataset/dataset.fetch.js.map +1 -1
- package/dist/api/dataset/dataset.js +238 -187
- package/dist/api/dataset/dataset.js.map +1 -1
- package/dist/api/digest/digest.cjs +18 -18
- package/dist/api/digest/digest.cjs.map +1 -1
- package/dist/api/digest/digest.d.cts +9 -10
- package/dist/api/digest/digest.d.cts.map +1 -1
- package/dist/api/digest/digest.d.ts +9 -10
- package/dist/api/digest/digest.d.ts.map +1 -1
- package/dist/api/digest/digest.fetch.cjs +22 -17
- package/dist/api/digest/digest.fetch.cjs.map +1 -1
- package/dist/api/digest/digest.fetch.d.cts +13 -14
- package/dist/api/digest/digest.fetch.d.cts.map +1 -1
- package/dist/api/digest/digest.fetch.d.ts +13 -14
- package/dist/api/digest/digest.fetch.d.ts.map +1 -1
- package/dist/api/digest/digest.fetch.js +19 -14
- package/dist/api/digest/digest.fetch.js.map +1 -1
- package/dist/api/digest/digest.js +15 -15
- package/dist/api/digest/digest.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.cjs +353 -265
- package/dist/api/file-and-path/file-and-path.cjs.map +1 -1
- package/dist/api/file-and-path/file-and-path.d.cts +302 -240
- package/dist/api/file-and-path/file-and-path.d.cts.map +1 -1
- package/dist/api/file-and-path/file-and-path.d.ts +302 -240
- package/dist/api/file-and-path/file-and-path.d.ts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.cjs +412 -213
- package/dist/api/file-and-path/file-and-path.fetch.cjs.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.d.cts +335 -273
- package/dist/api/file-and-path/file-and-path.fetch.d.cts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.d.ts +335 -273
- package/dist/api/file-and-path/file-and-path.fetch.d.ts.map +1 -1
- package/dist/api/file-and-path/file-and-path.fetch.js +387 -204
- package/dist/api/file-and-path/file-and-path.fetch.js.map +1 -1
- package/dist/api/file-and-path/file-and-path.js +328 -256
- package/dist/api/file-and-path/file-and-path.js.map +1 -1
- package/dist/api/instance/instance.cjs +215 -158
- package/dist/api/instance/instance.cjs.map +1 -1
- package/dist/api/instance/instance.d.cts +180 -146
- package/dist/api/instance/instance.d.cts.map +1 -1
- package/dist/api/instance/instance.d.ts +180 -146
- package/dist/api/instance/instance.d.ts.map +1 -1
- package/dist/api/instance/instance.fetch.cjs +250 -130
- package/dist/api/instance/instance.fetch.cjs.map +1 -1
- package/dist/api/instance/instance.fetch.d.cts +200 -166
- package/dist/api/instance/instance.fetch.d.cts.map +1 -1
- package/dist/api/instance/instance.fetch.d.ts +200 -166
- package/dist/api/instance/instance.fetch.d.ts.map +1 -1
- package/dist/api/instance/instance.fetch.js +234 -124
- package/dist/api/instance/instance.fetch.js.map +1 -1
- package/dist/api/instance/instance.js +199 -152
- package/dist/api/instance/instance.js.map +1 -1
- package/dist/api/inventory/inventory.cjs +19 -19
- package/dist/api/inventory/inventory.cjs.map +1 -1
- package/dist/api/inventory/inventory.d.cts +10 -11
- package/dist/api/inventory/inventory.d.cts.map +1 -1
- package/dist/api/inventory/inventory.d.ts +10 -11
- package/dist/api/inventory/inventory.d.ts.map +1 -1
- package/dist/api/inventory/inventory.fetch.cjs +24 -17
- package/dist/api/inventory/inventory.fetch.cjs.map +1 -1
- package/dist/api/inventory/inventory.fetch.d.cts +14 -15
- package/dist/api/inventory/inventory.fetch.d.cts.map +1 -1
- package/dist/api/inventory/inventory.fetch.d.ts +14 -15
- package/dist/api/inventory/inventory.fetch.d.ts.map +1 -1
- package/dist/api/inventory/inventory.fetch.js +21 -14
- package/dist/api/inventory/inventory.fetch.js.map +1 -1
- package/dist/api/inventory/inventory.js +16 -16
- package/dist/api/inventory/inventory.js.map +1 -1
- package/dist/api/job/job.cjs +100 -83
- package/dist/api/job/job.cjs.map +1 -1
- package/dist/api/job/job.d.cts +85 -86
- package/dist/api/job/job.d.cts.map +1 -1
- package/dist/api/job/job.d.ts +85 -86
- package/dist/api/job/job.d.ts.map +1 -1
- package/dist/api/job/job.fetch.cjs +129 -68
- package/dist/api/job/job.fetch.cjs.map +1 -1
- package/dist/api/job/job.fetch.d.cts +107 -108
- package/dist/api/job/job.fetch.d.cts.map +1 -1
- package/dist/api/job/job.fetch.d.ts +107 -108
- package/dist/api/job/job.fetch.d.ts.map +1 -1
- package/dist/api/job/job.fetch.js +125 -66
- package/dist/api/job/job.fetch.js.map +1 -1
- package/dist/api/job/job.js +96 -81
- package/dist/api/job/job.js.map +1 -1
- package/dist/api/metadata/metadata.cjs +104 -78
- package/dist/api/metadata/metadata.cjs.map +1 -1
- package/dist/api/metadata/metadata.d.cts +84 -82
- package/dist/api/metadata/metadata.d.cts.map +1 -1
- package/dist/api/metadata/metadata.d.ts +84 -82
- package/dist/api/metadata/metadata.d.ts.map +1 -1
- package/dist/api/metadata/metadata.fetch.cjs +126 -66
- package/dist/api/metadata/metadata.fetch.cjs.map +1 -1
- package/dist/api/metadata/metadata.fetch.d.cts +96 -94
- package/dist/api/metadata/metadata.fetch.d.cts.map +1 -1
- package/dist/api/metadata/metadata.fetch.d.ts +96 -94
- package/dist/api/metadata/metadata.fetch.d.ts.map +1 -1
- package/dist/api/metadata/metadata.fetch.js +119 -63
- package/dist/api/metadata/metadata.fetch.js.map +1 -1
- package/dist/api/metadata/metadata.js +97 -75
- package/dist/api/metadata/metadata.js.map +1 -1
- package/dist/api/project/project.cjs +383 -271
- package/dist/api/project/project.cjs.map +1 -1
- package/dist/api/project/project.d.cts +308 -258
- package/dist/api/project/project.d.cts.map +1 -1
- package/dist/api/project/project.d.ts +308 -258
- package/dist/api/project/project.d.ts.map +1 -1
- package/dist/api/project/project.fetch.cjs +430 -218
- package/dist/api/project/project.fetch.cjs.map +1 -1
- package/dist/api/project/project.fetch.d.cts +334 -284
- package/dist/api/project/project.fetch.d.cts.map +1 -1
- package/dist/api/project/project.fetch.d.ts +334 -284
- package/dist/api/project/project.fetch.d.ts.map +1 -1
- package/dist/api/project/project.fetch.js +402 -208
- package/dist/api/project/project.fetch.js.map +1 -1
- package/dist/api/project/project.js +355 -261
- package/dist/api/project/project.js.map +1 -1
- package/dist/api/task/task.cjs +81 -69
- package/dist/api/task/task.cjs.map +1 -1
- package/dist/api/task/task.d.cts +68 -61
- package/dist/api/task/task.d.cts.map +1 -1
- package/dist/api/task/task.d.ts +68 -61
- package/dist/api/task/task.d.ts.map +1 -1
- package/dist/api/task/task.fetch.cjs +95 -46
- package/dist/api/task/task.fetch.cjs.map +1 -1
- package/dist/api/task/task.fetch.d.cts +78 -71
- package/dist/api/task/task.fetch.d.cts.map +1 -1
- package/dist/api/task/task.fetch.d.ts +78 -71
- package/dist/api/task/task.fetch.d.ts.map +1 -1
- package/dist/api/task/task.fetch.js +91 -44
- package/dist/api/task/task.fetch.js.map +1 -1
- package/dist/api/task/task.js +77 -67
- package/dist/api/task/task.js.map +1 -1
- package/dist/api/type/type.cjs +17 -17
- package/dist/api/type/type.cjs.map +1 -1
- package/dist/api/type/type.d.cts +8 -9
- package/dist/api/type/type.d.cts.map +1 -1
- package/dist/api/type/type.d.ts +8 -9
- package/dist/api/type/type.d.ts.map +1 -1
- package/dist/api/type/type.fetch.cjs +21 -16
- package/dist/api/type/type.fetch.cjs.map +1 -1
- package/dist/api/type/type.fetch.d.cts +12 -13
- package/dist/api/type/type.fetch.d.cts.map +1 -1
- package/dist/api/type/type.fetch.d.ts +12 -13
- package/dist/api/type/type.fetch.d.ts.map +1 -1
- package/dist/api/type/type.fetch.js +18 -13
- package/dist/api/type/type.fetch.js.map +1 -1
- package/dist/api/type/type.js +14 -14
- package/dist/api/type/type.js.map +1 -1
- package/dist/api/user/user.cjs +76 -60
- package/dist/api/user/user.cjs.map +1 -1
- package/dist/api/user/user.d.cts +63 -57
- package/dist/api/user/user.d.cts.map +1 -1
- package/dist/api/user/user.d.ts +63 -57
- package/dist/api/user/user.d.ts.map +1 -1
- package/dist/api/user/user.fetch.cjs +96 -57
- package/dist/api/user/user.fetch.cjs.map +1 -1
- package/dist/api/user/user.fetch.d.cts +79 -73
- package/dist/api/user/user.fetch.d.cts.map +1 -1
- package/dist/api/user/user.fetch.d.ts +79 -73
- package/dist/api/user/user.fetch.d.ts.map +1 -1
- package/dist/api/user/user.fetch.js +92 -55
- package/dist/api/user/user.fetch.js.map +1 -1
- package/dist/api/user/user.js +72 -58
- package/dist/api/user/user.js.map +1 -1
- package/dist/api/workflow/workflow.cjs +315 -230
- package/dist/api/workflow/workflow.cjs.map +1 -1
- package/dist/api/workflow/workflow.d.cts +265 -224
- package/dist/api/workflow/workflow.d.cts.map +1 -1
- package/dist/api/workflow/workflow.d.ts +265 -224
- package/dist/api/workflow/workflow.d.ts.map +1 -1
- package/dist/api/workflow/workflow.fetch.cjs +374 -198
- package/dist/api/workflow/workflow.fetch.cjs.map +1 -1
- package/dist/api/workflow/workflow.fetch.d.cts +305 -264
- package/dist/api/workflow/workflow.fetch.d.cts.map +1 -1
- package/dist/api/workflow/workflow.fetch.d.ts +305 -264
- package/dist/api/workflow/workflow.fetch.d.ts.map +1 -1
- package/dist/api/workflow/workflow.fetch.js +352 -190
- package/dist/api/workflow/workflow.fetch.js.map +1 -1
- package/dist/api/workflow/workflow.js +293 -222
- package/dist/api/workflow/workflow.js.map +1 -1
- package/dist/custom-axios.cjs +3 -4
- package/dist/custom-axios.cjs.map +1 -1
- package/dist/custom-axios.d.cts +1 -3
- package/dist/custom-axios.d.cts.map +1 -1
- package/dist/custom-axios.d.ts +1 -3
- package/dist/custom-axios.d.ts.map +1 -1
- package/dist/custom-axios.js +2 -3
- package/dist/custom-axios.js.map +1 -1
- package/dist/custom-fetch.cjs +1 -2
- package/dist/custom-fetch.cjs.map +1 -1
- package/dist/custom-fetch.d.cts +0 -1
- package/dist/custom-fetch.d.cts.map +1 -1
- package/dist/custom-fetch.d.ts +0 -1
- package/dist/custom-fetch.d.ts.map +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/custom-fetch.js.map +1 -1
- package/dist/index.cjs +31 -31
- package/dist/index.d.cts +22 -23
- package/dist/index.d.ts +22 -23
- package/dist/index.js +1 -2
- package/orval.config.ts +3 -3
- package/package.json +10 -10
- package/pnpm-workspace.yaml +4 -1
- package/src/api/accounting/accounting.fetch.ts +93 -115
- package/src/api/accounting/accounting.ts +76 -98
- package/src/api/admin/admin.fetch.ts +1054 -552
- package/src/api/admin/admin.ts +1056 -536
- package/src/api/api-schemas/accountServerGetNamespaceResponse.fetch.ts +15 -0
- package/src/api/api-schemas/accountServerGetNamespaceResponse.ts +6 -7
- package/src/api/api-schemas/accountServerGetRegistrationResponse.fetch.ts +17 -0
- package/src/api/api-schemas/accountServerGetRegistrationResponse.ts +5 -5
- package/src/api/api-schemas/adminDeleteJobManifestParams.fetch.ts +18 -0
- package/src/api/api-schemas/adminDeleteJobManifestParams.ts +5 -5
- package/src/api/api-schemas/adminGetServiceErrorsParams.fetch.ts +18 -0
- package/src/api/api-schemas/adminGetServiceErrorsParams.ts +7 -8
- package/src/api/api-schemas/adminGetUsersParams.fetch.ts +25 -0
- package/src/api/api-schemas/adminGetUsersParams.ts +12 -14
- package/src/api/api-schemas/adminJobManifestGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/adminJobManifestGetResponse.ts +7 -9
- package/src/api/api-schemas/adminJobManifestLoadPutResponse.fetch.ts +31 -0
- package/src/api/api-schemas/adminJobManifestLoadPutResponse.ts +14 -23
- package/src/api/api-schemas/adminUserPutResponse.fetch.ts +13 -0
- package/src/api/api-schemas/adminUserPutResponse.ts +5 -5
- package/src/api/api-schemas/adminUsersGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/adminUsersGetResponse.ts +7 -9
- package/src/api/api-schemas/apiLogDetail.fetch.ts +30 -0
- package/src/api/api-schemas/apiLogDetail.ts +13 -21
- package/src/api/api-schemas/apiLogDetailMethod.fetch.ts +22 -0
- package/src/api/api-schemas/apiLogDetailMethod.ts +5 -7
- package/src/api/api-schemas/applicationGetResponse.fetch.ts +50 -0
- package/src/api/api-schemas/applicationGetResponse.ts +28 -22
- package/src/api/api-schemas/applicationGetResponseCostUnit.fetch.ts +19 -0
- package/src/api/api-schemas/applicationGetResponseCostUnit.ts +6 -7
- package/src/api/api-schemas/applicationImageVariant.fetch.ts +15 -0
- package/src/api/api-schemas/applicationImageVariant.ts +5 -5
- package/src/api/api-schemas/applicationImageVariants.fetch.ts +15 -0
- package/src/api/api-schemas/applicationImageVariants.ts +5 -5
- package/src/api/api-schemas/applicationSummary.fetch.ts +19 -0
- package/src/api/api-schemas/applicationSummary.ts +8 -14
- package/src/api/api-schemas/applicationsGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/applicationsGetResponse.ts +7 -9
- package/src/api/api-schemas/asAdditionalDataProcessingCharge.fetch.ts +27 -0
- package/src/api/api-schemas/asAdditionalDataProcessingCharge.ts +5 -5
- package/src/api/api-schemas/createPathParams.fetch.ts +27 -0
- package/src/api/api-schemas/createPathParams.ts +11 -12
- package/src/api/api-schemas/datasetDetail.fetch.ts +24 -0
- package/src/api/api-schemas/datasetDetail.ts +10 -15
- package/src/api/api-schemas/datasetDigestGetResponse.fetch.ts +20 -0
- package/src/api/api-schemas/datasetDigestGetResponse.ts +6 -8
- package/src/api/api-schemas/datasetMetaGetResponse.fetch.ts +32 -0
- package/src/api/api-schemas/datasetMetaGetResponse.ts +14 -23
- package/src/api/api-schemas/datasetMetaPostBodyBody.fetch.ts +17 -0
- package/src/api/api-schemas/datasetMetaPostBodyBody.ts +7 -9
- package/src/api/api-schemas/datasetPostBodyBody.fetch.ts +36 -0
- package/src/api/api-schemas/datasetPostBodyBody.ts +8 -14
- package/src/api/api-schemas/datasetPutBodyBody.fetch.ts +47 -0
- package/src/api/api-schemas/datasetPutBodyBody.ts +8 -16
- package/src/api/api-schemas/datasetPutPostResponse.fetch.ts +19 -0
- package/src/api/api-schemas/datasetPutPostResponse.ts +8 -11
- package/src/api/api-schemas/datasetSchemaGetResponse.fetch.ts +23 -0
- package/src/api/api-schemas/datasetSchemaGetResponse.ts +9 -13
- package/src/api/api-schemas/datasetSchemaGetResponseType.fetch.ts +18 -0
- package/src/api/api-schemas/datasetSchemaGetResponseType.ts +5 -7
- package/src/api/api-schemas/datasetSummary.fetch.ts +20 -0
- package/src/api/api-schemas/datasetSummary.ts +8 -11
- package/src/api/api-schemas/datasetVersionDeleteResponse.fetch.ts +13 -0
- package/src/api/api-schemas/datasetVersionDeleteResponse.ts +5 -5
- package/src/api/api-schemas/datasetVersionDetail.fetch.ts +48 -0
- package/src/api/api-schemas/datasetVersionDetail.ts +23 -39
- package/src/api/api-schemas/datasetVersionDetailLabels.fetch.ts +15 -0
- package/src/api/api-schemas/datasetVersionDetailLabels.ts +5 -6
- package/src/api/api-schemas/datasetVersionDetailProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/datasetVersionDetailProcessingStage.ts +5 -7
- package/src/api/api-schemas/datasetVersionMetaPostBodyBody.fetch.ts +17 -0
- package/src/api/api-schemas/datasetVersionMetaPostBodyBody.ts +7 -9
- package/src/api/api-schemas/datasetVersionProjectFile.fetch.ts +16 -0
- package/src/api/api-schemas/datasetVersionProjectFile.ts +5 -5
- package/src/api/api-schemas/datasetVersionSummary.fetch.ts +45 -0
- package/src/api/api-schemas/datasetVersionSummary.ts +21 -36
- package/src/api/api-schemas/datasetVersionSummaryLabels.fetch.ts +15 -0
- package/src/api/api-schemas/datasetVersionSummaryLabels.ts +5 -6
- package/src/api/api-schemas/datasetVersionSummaryProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/datasetVersionSummaryProcessingStage.ts +5 -7
- package/src/api/api-schemas/datasetVersionsGetResponse.fetch.ts +13 -0
- package/src/api/api-schemas/datasetVersionsGetResponse.ts +5 -5
- package/src/api/api-schemas/datasetsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/datasetsGetResponse.ts +5 -5
- package/src/api/api-schemas/deleteDatasetParams.fetch.ts +18 -0
- package/src/api/api-schemas/deleteDatasetParams.ts +7 -8
- package/src/api/api-schemas/deletePathParams.fetch.ts +27 -0
- package/src/api/api-schemas/deletePathParams.ts +11 -12
- package/src/api/api-schemas/deleteUnmanagedFileParams.fetch.ts +34 -0
- package/src/api/api-schemas/deleteUnmanagedFileParams.ts +14 -16
- package/src/api/api-schemas/dmError.fetch.ts +15 -0
- package/src/api/api-schemas/dmError.ts +6 -7
- package/src/api/api-schemas/exchangeRateDetail.fetch.ts +18 -0
- package/src/api/api-schemas/exchangeRateDetail.ts +5 -5
- package/src/api/api-schemas/exchangeRatePutBodyBody.fetch.ts +20 -0
- package/src/api/api-schemas/exchangeRatePutBodyBody.ts +6 -8
- package/src/api/api-schemas/filePathFile.fetch.ts +31 -0
- package/src/api/api-schemas/filePathFile.ts +13 -21
- package/src/api/api-schemas/filePostBodyBody.fetch.ts +40 -0
- package/src/api/api-schemas/filePostBodyBody.ts +8 -15
- package/src/api/api-schemas/filePostResponse.fetch.ts +21 -0
- package/src/api/api-schemas/filePostResponse.ts +9 -13
- package/src/api/api-schemas/fileStat.fetch.ts +17 -0
- package/src/api/api-schemas/fileStat.ts +7 -9
- package/src/api/api-schemas/filesGetResponse.fetch.ts +24 -0
- package/src/api/api-schemas/filesGetResponse.ts +10 -15
- package/src/api/api-schemas/getAllExchangeRatesResponse.fetch.ts +17 -0
- package/src/api/api-schemas/getAllExchangeRatesResponse.ts +5 -5
- package/src/api/api-schemas/getAllJobExchangeRatesParams.fetch.ts +18 -0
- package/src/api/api-schemas/getAllJobExchangeRatesParams.ts +7 -8
- package/src/api/api-schemas/getDatasetsParams.fetch.ts +46 -0
- package/src/api/api-schemas/getDatasetsParams.ts +21 -26
- package/src/api/api-schemas/getExchangeRatesResponse.fetch.ts +17 -0
- package/src/api/api-schemas/getExchangeRatesResponse.ts +6 -7
- package/src/api/api-schemas/getFilesParams.fetch.ts +32 -0
- package/src/api/api-schemas/getFilesParams.ts +11 -12
- package/src/api/api-schemas/getInstancesParams.fetch.ts +31 -0
- package/src/api/api-schemas/getInstancesParams.ts +5 -5
- package/src/api/api-schemas/getJobByVersionParams.fetch.ts +37 -0
- package/src/api/api-schemas/getJobByVersionParams.ts +14 -17
- package/src/api/api-schemas/getJobExchangeRatesParams.fetch.ts +18 -0
- package/src/api/api-schemas/getJobExchangeRatesParams.ts +7 -8
- package/src/api/api-schemas/getJobParams.fetch.ts +19 -0
- package/src/api/api-schemas/getJobParams.ts +5 -5
- package/src/api/api-schemas/getJobsParams.fetch.ts +19 -0
- package/src/api/api-schemas/getJobsParams.ts +5 -5
- package/src/api/api-schemas/getProjectFileParams.fetch.ts +28 -0
- package/src/api/api-schemas/getProjectFileParams.ts +15 -17
- package/src/api/api-schemas/getProjectFileWithTokenParams.fetch.ts +34 -0
- package/src/api/api-schemas/getProjectFileWithTokenParams.ts +16 -18
- package/src/api/api-schemas/getProjectsParams.fetch.ts +18 -0
- package/src/api/api-schemas/getProjectsParams.ts +5 -5
- package/src/api/api-schemas/getRunningWorkflowsParams.fetch.ts +25 -0
- package/src/api/api-schemas/getRunningWorkflowsParams.ts +9 -10
- package/src/api/api-schemas/getTaskParams.fetch.ts +25 -0
- package/src/api/api-schemas/getTaskParams.ts +11 -13
- package/src/api/api-schemas/getTasksParams.fetch.ts +57 -0
- package/src/api/api-schemas/getTasksParams.ts +16 -20
- package/src/api/api-schemas/getUserAccountParams.fetch.ts +18 -0
- package/src/api/api-schemas/getUserAccountParams.ts +7 -8
- package/src/api/api-schemas/getUserApiLogParams.fetch.ts +23 -0
- package/src/api/api-schemas/getUserApiLogParams.ts +9 -11
- package/src/api/api-schemas/getUserInventoryParams.fetch.ts +32 -0
- package/src/api/api-schemas/getUserInventoryParams.ts +9 -10
- package/src/api/api-schemas/getVersionsParams.fetch.ts +18 -0
- package/src/api/api-schemas/getVersionsParams.ts +5 -5
- package/src/api/api-schemas/index.ts +16 -17
- package/src/api/api-schemas/inputHandlerDetail.fetch.ts +17 -0
- package/src/api/api-schemas/inputHandlerDetail.ts +5 -5
- package/src/api/api-schemas/inputHandlerGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/inputHandlerGetResponse.ts +5 -5
- package/src/api/api-schemas/instanceDeleteResponse.fetch.ts +13 -0
- package/src/api/api-schemas/instanceDeleteResponse.ts +5 -5
- package/src/api/api-schemas/instanceDryRunPostResponse.fetch.ts +17 -0
- package/src/api/api-schemas/instanceDryRunPostResponse.ts +7 -9
- package/src/api/api-schemas/instanceGetResponse.fetch.ts +89 -0
- package/src/api/api-schemas/instanceGetResponse.ts +42 -73
- package/src/api/api-schemas/instanceGetResponseApplicationType.fetch.ts +21 -0
- package/src/api/api-schemas/instanceGetResponseApplicationType.ts +5 -7
- package/src/api/api-schemas/instanceGetResponseJobImageType.fetch.ts +18 -0
- package/src/api/api-schemas/instanceGetResponseJobImageType.ts +5 -7
- package/src/api/api-schemas/instanceGetResponseOutputs.fetch.ts +15 -0
- package/src/api/api-schemas/instanceGetResponseOutputs.ts +5 -5
- package/src/api/api-schemas/instanceGetResponsePhase.fetch.ts +28 -0
- package/src/api/api-schemas/instanceGetResponsePhase.ts +6 -8
- package/src/api/api-schemas/instancePostBodyBody.fetch.ts +82 -0
- package/src/api/api-schemas/instancePostBodyBody.ts +38 -37
- package/src/api/api-schemas/instancePostResponse.fetch.ts +21 -0
- package/src/api/api-schemas/instancePostResponse.ts +9 -13
- package/src/api/api-schemas/instanceSummary.fetch.ts +74 -0
- package/src/api/api-schemas/instanceSummary.ts +35 -59
- package/src/api/api-schemas/instanceSummaryApplicationType.fetch.ts +18 -0
- package/src/api/api-schemas/instanceSummaryApplicationType.ts +5 -7
- package/src/api/api-schemas/instanceSummaryJobImageType.fetch.ts +18 -0
- package/src/api/api-schemas/instanceSummaryJobImageType.ts +5 -7
- package/src/api/api-schemas/instanceSummaryOutputs.fetch.ts +15 -0
- package/src/api/api-schemas/instanceSummaryOutputs.ts +5 -5
- package/src/api/api-schemas/instanceSummaryPhase.fetch.ts +27 -0
- package/src/api/api-schemas/instanceSummaryPhase.ts +6 -8
- package/src/api/api-schemas/instanceTask.fetch.ts +16 -0
- package/src/api/api-schemas/instanceTask.ts +5 -5
- package/src/api/api-schemas/instanceTaskPurpose.fetch.ts +14 -0
- package/src/api/api-schemas/instanceTaskPurpose.ts +5 -6
- package/src/api/api-schemas/instancesGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/instancesGetResponse.ts +5 -5
- package/src/api/api-schemas/inventoryDatasetDetail.fetch.ts +17 -0
- package/src/api/api-schemas/inventoryDatasetDetail.ts +5 -5
- package/src/api/api-schemas/inventoryProjectDetail.fetch.ts +16 -0
- package/src/api/api-schemas/inventoryProjectDetail.ts +5 -5
- package/src/api/api-schemas/inventoryUserDetail.fetch.ts +23 -0
- package/src/api/api-schemas/inventoryUserDetail.ts +6 -6
- package/src/api/api-schemas/inventoryUserDetailDatasets.fetch.ts +16 -0
- package/src/api/api-schemas/inventoryUserDetailDatasets.ts +5 -5
- package/src/api/api-schemas/inventoryUserDetailProjects.fetch.ts +17 -0
- package/src/api/api-schemas/inventoryUserDetailProjects.ts +5 -5
- package/src/api/api-schemas/inventoryUserGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/inventoryUserGetResponse.ts +6 -7
- package/src/api/api-schemas/jobApplication.fetch.ts +17 -0
- package/src/api/api-schemas/jobApplication.ts +5 -5
- package/src/api/api-schemas/jobExchangeRateSummary.fetch.ts +18 -0
- package/src/api/api-schemas/jobExchangeRateSummary.ts +5 -5
- package/src/api/api-schemas/jobGetResponse.fetch.ts +68 -0
- package/src/api/api-schemas/jobGetResponse.ts +31 -50
- package/src/api/api-schemas/jobGetResponseImageType.fetch.ts +18 -0
- package/src/api/api-schemas/jobGetResponseImageType.ts +5 -7
- package/src/api/api-schemas/jobManifestDetail.fetch.ts +32 -0
- package/src/api/api-schemas/jobManifestDetail.ts +12 -19
- package/src/api/api-schemas/jobManifestPutBodyBody.fetch.ts +25 -0
- package/src/api/api-schemas/jobManifestPutBodyBody.ts +5 -5
- package/src/api/api-schemas/jobOrderDetail.fetch.ts +14 -0
- package/src/api/api-schemas/jobOrderDetail.ts +5 -5
- package/src/api/api-schemas/jobReplacement.fetch.ts +15 -0
- package/src/api/api-schemas/jobReplacement.ts +5 -5
- package/src/api/api-schemas/jobReplacements.fetch.ts +16 -0
- package/src/api/api-schemas/jobReplacements.ts +5 -6
- package/src/api/api-schemas/jobSummary.fetch.ts +51 -0
- package/src/api/api-schemas/jobSummary.ts +25 -38
- package/src/api/api-schemas/jobSummaryImageType.fetch.ts +17 -0
- package/src/api/api-schemas/jobSummaryImageType.ts +5 -7
- package/src/api/api-schemas/jobVariables.fetch.ts +24 -0
- package/src/api/api-schemas/jobVariables.ts +9 -12
- package/src/api/api-schemas/jobVariablesInputs.fetch.ts +15 -0
- package/src/api/api-schemas/jobVariablesInputs.ts +5 -6
- package/src/api/api-schemas/jobVariablesOptions.fetch.ts +15 -0
- package/src/api/api-schemas/jobVariablesOptions.ts +5 -6
- package/src/api/api-schemas/jobVariablesOutputs.fetch.ts +15 -0
- package/src/api/api-schemas/jobVariablesOutputs.ts +5 -6
- package/src/api/api-schemas/jobsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/jobsGetResponse.ts +5 -5
- package/src/api/api-schemas/modeGetResponse.fetch.ts +15 -0
- package/src/api/api-schemas/modeGetResponse.ts +6 -7
- package/src/api/api-schemas/moveFileInProjectParams.fetch.ts +49 -0
- package/src/api/api-schemas/moveFileInProjectParams.ts +25 -29
- package/src/api/api-schemas/movePathParams.fetch.ts +35 -0
- package/src/api/api-schemas/movePathParams.ts +16 -18
- package/src/api/api-schemas/patchInstanceParams.fetch.ts +18 -0
- package/src/api/api-schemas/patchInstanceParams.ts +5 -5
- package/src/api/api-schemas/projectDeleteResponse.fetch.ts +13 -0
- package/src/api/api-schemas/projectDeleteResponse.ts +5 -5
- package/src/api/api-schemas/projectDetail.fetch.ts +41 -0
- package/src/api/api-schemas/projectDetail.ts +14 -23
- package/src/api/api-schemas/projectFileDetail.fetch.ts +36 -0
- package/src/api/api-schemas/projectFileDetail.ts +16 -27
- package/src/api/api-schemas/projectFileDetailProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/projectFileDetailProcessingStage.ts +5 -7
- package/src/api/api-schemas/projectFilePutBodyBody.fetch.ts +28 -0
- package/src/api/api-schemas/projectFilePutBodyBody.ts +7 -8
- package/src/api/api-schemas/projectGetResponse.fetch.ts +13 -0
- package/src/api/api-schemas/projectGetResponse.ts +5 -5
- package/src/api/api-schemas/projectPatchBodyBody.fetch.ts +16 -0
- package/src/api/api-schemas/projectPatchBodyBody.ts +6 -7
- package/src/api/api-schemas/projectPostBodyBody.fetch.ts +25 -0
- package/src/api/api-schemas/projectPostBodyBody.ts +6 -8
- package/src/api/api-schemas/projectPostResponse.fetch.ts +15 -0
- package/src/api/api-schemas/projectPostResponse.ts +6 -7
- package/src/api/api-schemas/projectsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/projectsGetResponse.ts +5 -5
- package/src/api/api-schemas/qActiveDaysParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qActiveDaysParameter.ts +5 -6
- package/src/api/api-schemas/qApplicationIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qApplicationIdParameter.ts +5 -6
- package/src/api/api-schemas/qCurrentParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qCurrentParameter.ts +5 -6
- package/src/api/api-schemas/qDatasetMimeTypeParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qDatasetMimeTypeParameter.ts +5 -6
- package/src/api/api-schemas/qDoNotImpersonateParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qDoNotImpersonateParameter.ts +5 -6
- package/src/api/api-schemas/qDstFileParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qDstFileParameter.ts +5 -6
- package/src/api/api-schemas/qEditorsParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qEditorsParameter.ts +5 -6
- package/src/api/api-schemas/qEventLimitParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qEventLimitParameter.ts +5 -6
- package/src/api/api-schemas/qEventPriorOrdinalParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qEventPriorOrdinalParameter.ts +5 -6
- package/src/api/api-schemas/qExcludeDoneParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qExcludeDoneParameter.ts +5 -6
- package/src/api/api-schemas/qExcludePurposeParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qExcludePurposeParameter.ts +5 -6
- package/src/api/api-schemas/qExcludeRemovalParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qExcludeRemovalParameter.ts +5 -6
- package/src/api/api-schemas/qFileDstPathParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileDstPathParameter.ts +5 -6
- package/src/api/api-schemas/qFileParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileParameter.ts +5 -6
- package/src/api/api-schemas/qFilePathParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFilePathParameter.ts +5 -6
- package/src/api/api-schemas/qFileProjectIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileProjectIdParameter.ts +5 -5
- package/src/api/api-schemas/qFileSrcPathParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFileSrcPathParameter.ts +5 -6
- package/src/api/api-schemas/qFromParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qFromParameter.ts +5 -6
- package/src/api/api-schemas/qIdleDaysParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIdleDaysParameter.ts +5 -6
- package/src/api/api-schemas/qIncludeAcknowledgedParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIncludeAcknowledgedParameter.ts +5 -6
- package/src/api/api-schemas/qIncludeDeletedParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIncludeDeletedParameter.ts +5 -5
- package/src/api/api-schemas/qIncludeHiddenParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qIncludeHiddenParameter.ts +5 -5
- package/src/api/api-schemas/qInstanceArchiveParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qInstanceArchiveParameter.ts +5 -5
- package/src/api/api-schemas/qInstanceCallbackContextParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qInstanceCallbackContextParameter.ts +5 -5
- package/src/api/api-schemas/qJobCollectionParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobCollectionParameter.ts +5 -6
- package/src/api/api-schemas/qJobIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobIdParameter.ts +5 -6
- package/src/api/api-schemas/qJobJobParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobJobParameter.ts +5 -6
- package/src/api/api-schemas/qJobVersionParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qJobVersionParameter.ts +5 -6
- package/src/api/api-schemas/qKeepProjectFilesParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qKeepProjectFilesParameter.ts +5 -6
- package/src/api/api-schemas/qLabelsParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qLabelsParameter.ts +5 -6
- package/src/api/api-schemas/qOnlyUndefinedParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qOnlyUndefinedParameter.ts +5 -6
- package/src/api/api-schemas/qOrgIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qOrgIdParameter.ts +5 -5
- package/src/api/api-schemas/qOwnersParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qOwnersParameter.ts +5 -6
- package/src/api/api-schemas/qProjectIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qProjectIdParameter.ts +5 -5
- package/src/api/api-schemas/qProjectNameParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qProjectNameParameter.ts +5 -5
- package/src/api/api-schemas/qPurgeParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qPurgeParameter.ts +5 -5
- package/src/api/api-schemas/qPurposeParameter.fetch.ts +19 -0
- package/src/api/api-schemas/qPurposeParameter.ts +5 -6
- package/src/api/api-schemas/qTokenParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qTokenParameter.ts +5 -5
- package/src/api/api-schemas/qUnitIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUnitIdParameter.ts +5 -5
- package/src/api/api-schemas/qUntilParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUntilParameter.ts +5 -6
- package/src/api/api-schemas/qUsernameParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUsernameParameter.ts +5 -6
- package/src/api/api-schemas/qUsernamesParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qUsernamesParameter.ts +5 -6
- package/src/api/api-schemas/qWorkflowIdParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qWorkflowIdParameter.ts +5 -6
- package/src/api/api-schemas/runningWorkflowGetAllResponse.fetch.ts +17 -0
- package/src/api/api-schemas/runningWorkflowGetAllResponse.ts +6 -7
- package/src/api/api-schemas/runningWorkflowGetResponse.fetch.ts +43 -0
- package/src/api/api-schemas/runningWorkflowGetResponse.ts +8 -10
- package/src/api/api-schemas/runningWorkflowGetResponseStatus.fetch.ts +23 -0
- package/src/api/api-schemas/runningWorkflowGetResponseStatus.ts +5 -6
- package/src/api/api-schemas/runningWorkflowGetResponseVariables.fetch.ts +15 -0
- package/src/api/api-schemas/runningWorkflowGetResponseVariables.ts +5 -6
- package/src/api/api-schemas/runningWorkflowProject.fetch.ts +17 -0
- package/src/api/api-schemas/runningWorkflowProject.ts +7 -9
- package/src/api/api-schemas/runningWorkflowStep.fetch.ts +33 -0
- package/src/api/api-schemas/runningWorkflowStep.ts +6 -6
- package/src/api/api-schemas/runningWorkflowStepStatus.fetch.ts +19 -0
- package/src/api/api-schemas/runningWorkflowStepStatus.ts +5 -6
- package/src/api/api-schemas/runningWorkflowStepVariables.fetch.ts +12 -0
- package/src/api/api-schemas/runningWorkflowStepVariables.ts +5 -5
- package/src/api/api-schemas/runningWorkflowStepsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/runningWorkflowStepsGetResponse.ts +5 -5
- package/src/api/api-schemas/runningWorkflowSummary.fetch.ts +30 -0
- package/src/api/api-schemas/runningWorkflowSummary.ts +9 -12
- package/src/api/api-schemas/runningWorkflowSummaryStatus.fetch.ts +23 -0
- package/src/api/api-schemas/runningWorkflowSummaryStatus.ts +5 -6
- package/src/api/api-schemas/runningWorkflowWorkflow.fetch.ts +19 -0
- package/src/api/api-schemas/runningWorkflowWorkflow.ts +7 -9
- package/src/api/api-schemas/serviceErrorSummary.fetch.ts +24 -0
- package/src/api/api-schemas/serviceErrorSummary.ts +5 -5
- package/src/api/api-schemas/serviceErrorSummarySeverity.fetch.ts +19 -0
- package/src/api/api-schemas/serviceErrorSummarySeverity.ts +5 -6
- package/src/api/api-schemas/serviceErrorsGetResponse.fetch.ts +18 -0
- package/src/api/api-schemas/serviceErrorsGetResponse.ts +7 -9
- package/src/api/api-schemas/taskEvent.fetch.ts +22 -0
- package/src/api/api-schemas/taskEvent.ts +9 -13
- package/src/api/api-schemas/taskEventLevel.fetch.ts +23 -0
- package/src/api/api-schemas/taskEventLevel.ts +5 -7
- package/src/api/api-schemas/taskGetResponse.fetch.ts +38 -0
- package/src/api/api-schemas/taskGetResponse.ts +17 -28
- package/src/api/api-schemas/taskGetResponsePurpose.fetch.ts +23 -0
- package/src/api/api-schemas/taskGetResponsePurpose.ts +5 -7
- package/src/api/api-schemas/taskIdentity.fetch.ts +14 -0
- package/src/api/api-schemas/taskIdentity.ts +5 -5
- package/src/api/api-schemas/taskState.fetch.ts +20 -0
- package/src/api/api-schemas/taskState.ts +8 -11
- package/src/api/api-schemas/taskStateState.fetch.ts +23 -0
- package/src/api/api-schemas/taskStateState.ts +5 -7
- package/src/api/api-schemas/taskSummary.fetch.ts +34 -0
- package/src/api/api-schemas/taskSummary.ts +15 -25
- package/src/api/api-schemas/taskSummaryProcessingStage.fetch.ts +25 -0
- package/src/api/api-schemas/taskSummaryProcessingStage.ts +5 -7
- package/src/api/api-schemas/tasksGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/tasksGetResponse.ts +6 -7
- package/src/api/api-schemas/typeSummary.fetch.ts +24 -0
- package/src/api/api-schemas/typeSummary.ts +10 -15
- package/src/api/api-schemas/typeSummaryFormatterOptions.fetch.ts +24 -0
- package/src/api/api-schemas/typeSummaryFormatterOptions.ts +8 -12
- package/src/api/api-schemas/typeSummaryFormatterOptionsType.fetch.ts +18 -0
- package/src/api/api-schemas/typeSummaryFormatterOptionsType.ts +5 -7
- package/src/api/api-schemas/typesGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/typesGetResponse.ts +6 -7
- package/src/api/api-schemas/userAccountDetail.fetch.ts +19 -0
- package/src/api/api-schemas/userAccountDetail.ts +5 -5
- package/src/api/api-schemas/userAccountGetResponse.fetch.ts +13 -0
- package/src/api/api-schemas/userAccountGetResponse.ts +5 -5
- package/src/api/api-schemas/userAccountPatchBodyBody.fetch.ts +25 -0
- package/src/api/api-schemas/userAccountPatchBodyBody.ts +8 -12
- package/src/api/api-schemas/userActivityDetail.fetch.ts +24 -0
- package/src/api/api-schemas/userActivityDetail.ts +9 -13
- package/src/api/api-schemas/userActivityDetailPeriod.fetch.ts +23 -0
- package/src/api/api-schemas/userActivityDetailPeriod.ts +10 -15
- package/src/api/api-schemas/userApiLogGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/userApiLogGetResponse.ts +6 -7
- package/src/api/api-schemas/userApiTokenGetResponse.fetch.ts +14 -0
- package/src/api/api-schemas/userApiTokenGetResponse.ts +5 -5
- package/src/api/api-schemas/userDetail.fetch.ts +31 -0
- package/src/api/api-schemas/userDetail.ts +14 -23
- package/src/api/api-schemas/userPatchBodyBody.fetch.ts +15 -0
- package/src/api/api-schemas/userPatchBodyBody.ts +6 -7
- package/src/api/api-schemas/userSummary.fetch.ts +15 -0
- package/src/api/api-schemas/userSummary.ts +6 -7
- package/src/api/api-schemas/usersGetResponse.fetch.ts +17 -0
- package/src/api/api-schemas/usersGetResponse.ts +6 -7
- package/src/api/api-schemas/versionGetResponse.fetch.ts +15 -0
- package/src/api/api-schemas/versionGetResponse.ts +6 -7
- package/src/api/api-schemas/workflowDefinitionGetResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowDefinitionGetResponse.ts +5 -5
- package/src/api/api-schemas/workflowGetAllResponse.fetch.ts +17 -0
- package/src/api/api-schemas/workflowGetAllResponse.ts +6 -7
- package/src/api/api-schemas/workflowGetResponse.fetch.ts +46 -0
- package/src/api/api-schemas/workflowGetResponse.ts +12 -19
- package/src/api/api-schemas/workflowGetResponseScope.fetch.ts +22 -0
- package/src/api/api-schemas/workflowGetResponseScope.ts +5 -6
- package/src/api/api-schemas/workflowGetResponseVariables.fetch.ts +15 -0
- package/src/api/api-schemas/workflowGetResponseVariables.ts +5 -5
- package/src/api/api-schemas/workflowPatchBodyBody.fetch.ts +31 -0
- package/src/api/api-schemas/workflowPatchBodyBody.ts +15 -13
- package/src/api/api-schemas/workflowPatchResponse.fetch.ts +14 -0
- package/src/api/api-schemas/workflowPatchResponse.ts +5 -5
- package/src/api/api-schemas/workflowPostBodyBody.fetch.ts +36 -0
- package/src/api/api-schemas/workflowPostBodyBody.ts +17 -17
- package/src/api/api-schemas/workflowPostBodyBodyScope.fetch.ts +22 -0
- package/src/api/api-schemas/workflowPostBodyBodyScope.ts +5 -7
- package/src/api/api-schemas/workflowPostResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowPostResponse.ts +5 -5
- package/src/api/api-schemas/workflowRunPostBodyBody.fetch.ts +29 -0
- package/src/api/api-schemas/workflowRunPostBodyBody.ts +7 -11
- package/src/api/api-schemas/workflowRunPostResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowRunPostResponse.ts +5 -5
- package/src/api/api-schemas/workflowStepSummary.fetch.ts +18 -0
- package/src/api/api-schemas/workflowStepSummary.ts +7 -9
- package/src/api/api-schemas/workflowStepSummarySpecification.fetch.ts +15 -0
- package/src/api/api-schemas/workflowStepSummarySpecification.ts +5 -6
- package/src/api/api-schemas/workflowSummary.fetch.ts +32 -0
- package/src/api/api-schemas/workflowSummary.ts +13 -21
- package/src/api/api-schemas/workflowSummaryScope.fetch.ts +21 -0
- package/src/api/api-schemas/workflowSummaryScope.ts +5 -7
- package/src/api/api-schemas/workflowVersionPutBodyBody.fetch.ts +15 -0
- package/src/api/api-schemas/workflowVersionPutBodyBody.ts +6 -7
- package/src/api/api-schemas/workflowVersionPutResponse.fetch.ts +15 -0
- package/src/api/api-schemas/workflowVersionPutResponse.ts +5 -5
- package/src/api/application/application.fetch.ts +52 -59
- package/src/api/application/application.ts +44 -51
- package/src/api/configuration/configuration.fetch.ts +40 -48
- package/src/api/configuration/configuration.ts +34 -42
- package/src/api/dataset/dataset.fetch.ts +748 -411
- package/src/api/dataset/dataset.ts +727 -385
- package/src/api/digest/digest.fetch.ts +32 -34
- package/src/api/digest/digest.ts +28 -30
- package/src/api/file-and-path/file-and-path.fetch.ts +1014 -578
- package/src/api/file-and-path/file-and-path.ts +996 -549
- package/src/api/instance/instance.fetch.ts +645 -348
- package/src/api/instance/instance.ts +628 -325
- package/src/api/inventory/inventory.fetch.ts +27 -32
- package/src/api/inventory/inventory.ts +22 -27
- package/src/api/job/job.fetch.ts +253 -207
- package/src/api/job/job.ts +227 -179
- package/src/api/metadata/metadata.fetch.ts +347 -181
- package/src/api/metadata/metadata.ts +336 -167
- package/src/api/project/project.fetch.ts +1187 -573
- package/src/api/project/project.ts +1194 -568
- package/src/api/task/task.fetch.ts +183 -138
- package/src/api/task/task.ts +175 -126
- package/src/api/type/type.fetch.ts +24 -29
- package/src/api/type/type.ts +20 -25
- package/src/api/user/user.fetch.ts +190 -156
- package/src/api/user/user.ts +173 -137
- package/src/api/workflow/workflow.fetch.ts +991 -553
- package/src/api/workflow/workflow.ts +961 -513
- package/tsdown.config.ts +1 -1
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.cts +0 -15
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.cts.map +0 -1
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.ts +0 -15
- package/dist/api/api-schemas/getExchangeRatesResponseId.d.ts.map +0 -1
- package/src/api/api-schemas/getExchangeRatesResponseId.ts +0 -12
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Dataset Manager API
|
|
5
5
|
* The Dataset Manager API service.
|
|
6
|
-
|
|
7
|
-
A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
|
|
8
|
-
|
|
9
|
-
* OpenAPI spec version:
|
|
6
|
+
*
|
|
7
|
+
* A service that allows *registered* users to make **Datasets** and associated **Metadata** available to **Applications**, **Jobs**, and **Workflows** using **Projects** and **Files**.
|
|
8
|
+
*
|
|
9
|
+
* OpenAPI spec version: 6.1
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
11
|
+
import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
|
13
13
|
DataTag,
|
|
14
14
|
DefinedInitialDataOptions,
|
|
15
15
|
DefinedUseQueryResult,
|
|
16
16
|
InvalidateOptions,
|
|
17
|
-
MutationFunction,
|
|
18
17
|
QueryClient,
|
|
19
18
|
QueryFunction,
|
|
20
19
|
QueryKey,
|
|
21
20
|
UndefinedInitialDataOptions,
|
|
22
|
-
UseMutationOptions,
|
|
23
|
-
UseMutationResult,
|
|
24
21
|
UseQueryOptions,
|
|
25
22
|
UseQueryResult,
|
|
26
23
|
UseSuspenseQueryOptions,
|
|
@@ -36,7 +33,7 @@ import type {
|
|
|
36
33
|
ProjectPostResponse,
|
|
37
34
|
ProjectsGetResponse,
|
|
38
35
|
TaskIdentity,
|
|
39
|
-
} from "
|
|
36
|
+
} from "../api-schemas";
|
|
40
37
|
|
|
41
38
|
import { customInstance } from "../../custom-axios";
|
|
42
39
|
import type { ErrorType } from "../../custom-axios";
|
|
@@ -82,7 +79,7 @@ export const getGetProjectsQueryOptions = <
|
|
|
82
79
|
Awaited<ReturnType<typeof getProjects>>,
|
|
83
80
|
TError,
|
|
84
81
|
TData
|
|
85
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
82
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
86
83
|
};
|
|
87
84
|
|
|
88
85
|
export type GetProjectsQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;
|
|
@@ -106,7 +103,7 @@ export function useGetProjects<
|
|
|
106
103
|
request?: SecondParameter<typeof customInstance>;
|
|
107
104
|
},
|
|
108
105
|
queryClient?: QueryClient,
|
|
109
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
106
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
110
107
|
export function useGetProjects<
|
|
111
108
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
112
109
|
TError = ErrorType<void | DmError>,
|
|
@@ -125,7 +122,7 @@ export function useGetProjects<
|
|
|
125
122
|
request?: SecondParameter<typeof customInstance>;
|
|
126
123
|
},
|
|
127
124
|
queryClient?: QueryClient,
|
|
128
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
125
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
129
126
|
export function useGetProjects<
|
|
130
127
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
131
128
|
TError = ErrorType<void | DmError>,
|
|
@@ -136,7 +133,7 @@ export function useGetProjects<
|
|
|
136
133
|
request?: SecondParameter<typeof customInstance>;
|
|
137
134
|
},
|
|
138
135
|
queryClient?: QueryClient,
|
|
139
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
136
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
140
137
|
/**
|
|
141
138
|
* @summary Get all Projects available to you
|
|
142
139
|
*/
|
|
@@ -151,16 +148,14 @@ export function useGetProjects<
|
|
|
151
148
|
request?: SecondParameter<typeof customInstance>;
|
|
152
149
|
},
|
|
153
150
|
queryClient?: QueryClient,
|
|
154
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
151
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
155
152
|
const queryOptions = getGetProjectsQueryOptions(params, options);
|
|
156
153
|
|
|
157
154
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
158
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
155
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
159
156
|
};
|
|
160
157
|
|
|
161
|
-
query
|
|
162
|
-
|
|
163
|
-
return query;
|
|
158
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
164
159
|
}
|
|
165
160
|
|
|
166
161
|
/**
|
|
@@ -199,7 +194,7 @@ export const getGetProjectsSuspenseQueryOptions = <
|
|
|
199
194
|
Awaited<ReturnType<typeof getProjects>>,
|
|
200
195
|
TError,
|
|
201
196
|
TData
|
|
202
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
197
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
203
198
|
};
|
|
204
199
|
|
|
205
200
|
export type GetProjectsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProjects>>>;
|
|
@@ -215,7 +210,7 @@ export function useGetProjectsSuspense<
|
|
|
215
210
|
request?: SecondParameter<typeof customInstance>;
|
|
216
211
|
},
|
|
217
212
|
queryClient?: QueryClient,
|
|
218
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
213
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
219
214
|
export function useGetProjectsSuspense<
|
|
220
215
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
221
216
|
TError = ErrorType<void | DmError>,
|
|
@@ -228,7 +223,7 @@ export function useGetProjectsSuspense<
|
|
|
228
223
|
request?: SecondParameter<typeof customInstance>;
|
|
229
224
|
},
|
|
230
225
|
queryClient?: QueryClient,
|
|
231
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
226
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
232
227
|
export function useGetProjectsSuspense<
|
|
233
228
|
TData = Awaited<ReturnType<typeof getProjects>>,
|
|
234
229
|
TError = ErrorType<void | DmError>,
|
|
@@ -241,7 +236,7 @@ export function useGetProjectsSuspense<
|
|
|
241
236
|
request?: SecondParameter<typeof customInstance>;
|
|
242
237
|
},
|
|
243
238
|
queryClient?: QueryClient,
|
|
244
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
239
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
245
240
|
/**
|
|
246
241
|
* @summary Get all Projects available to you
|
|
247
242
|
*/
|
|
@@ -258,41 +253,42 @@ export function useGetProjectsSuspense<
|
|
|
258
253
|
request?: SecondParameter<typeof customInstance>;
|
|
259
254
|
},
|
|
260
255
|
queryClient?: QueryClient,
|
|
261
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
256
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
262
257
|
const queryOptions = getGetProjectsSuspenseQueryOptions(params, options);
|
|
263
258
|
|
|
264
259
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
265
260
|
TData,
|
|
266
261
|
TError
|
|
267
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
268
|
-
|
|
269
|
-
query.queryKey = queryOptions.queryKey;
|
|
262
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
270
263
|
|
|
271
|
-
return query;
|
|
264
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
272
265
|
}
|
|
273
266
|
|
|
274
267
|
/**
|
|
275
268
|
* 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**.
|
|
276
|
-
|
|
277
|
-
To create a Project when an **Account Server** is configured you will need a **Product**.
|
|
278
|
-
|
|
279
|
-
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.
|
|
280
|
-
|
|
281
|
-
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.
|
|
282
|
-
|
|
269
|
+
*
|
|
270
|
+
* To create a Project when an **Account Server** is configured you will need a **Product**.
|
|
271
|
+
*
|
|
272
|
+
* 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.
|
|
273
|
+
*
|
|
274
|
+
* 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.
|
|
283
275
|
* @summary Create a new Project
|
|
284
276
|
*/
|
|
285
277
|
export const createProject = (
|
|
286
|
-
projectPostBodyBody
|
|
278
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
287
279
|
options?: SecondParameter<typeof customInstance>,
|
|
288
280
|
signal?: AbortSignal,
|
|
289
281
|
) => {
|
|
290
282
|
const formUrlEncoded = new URLSearchParams();
|
|
291
|
-
|
|
292
|
-
|
|
283
|
+
if (projectPostBodyBody?.name !== undefined) {
|
|
284
|
+
formUrlEncoded.append(`name`, projectPostBodyBody.name);
|
|
285
|
+
}
|
|
286
|
+
if (projectPostBodyBody?.private !== undefined) {
|
|
293
287
|
formUrlEncoded.append(`private`, projectPostBodyBody.private.toString());
|
|
294
288
|
}
|
|
295
|
-
|
|
289
|
+
if (projectPostBodyBody?.tier_product_id !== undefined) {
|
|
290
|
+
formUrlEncoded.append(`tier_product_id`, projectPostBodyBody.tier_product_id);
|
|
291
|
+
}
|
|
296
292
|
|
|
297
293
|
return customInstance<ProjectPostResponse>(
|
|
298
294
|
{
|
|
@@ -306,73 +302,128 @@ export const createProject = (
|
|
|
306
302
|
);
|
|
307
303
|
};
|
|
308
304
|
|
|
309
|
-
export const
|
|
305
|
+
export const getCreateProjectQueryKey = (projectPostBodyBody?: ProjectPostBodyBody) => {
|
|
306
|
+
return ["data-manager", "POST", "project", projectPostBodyBody] as const;
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
export const getCreateProjectQueryOptions = <
|
|
310
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
310
311
|
TError = ErrorType<DmError | void>,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
request?: SecondParameter<typeof customInstance>;
|
|
320
|
-
}): UseMutationOptions<
|
|
321
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
322
|
-
TError,
|
|
323
|
-
{ data: ProjectPostBodyBody },
|
|
324
|
-
TContext
|
|
325
|
-
> => {
|
|
326
|
-
const mutationKey = ["createProject"];
|
|
327
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
328
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
329
|
-
? options
|
|
330
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
331
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
332
|
-
|
|
333
|
-
const mutationFn: MutationFunction<
|
|
334
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
335
|
-
{ data: ProjectPostBodyBody }
|
|
336
|
-
> = (props) => {
|
|
337
|
-
const { data } = props ?? {};
|
|
312
|
+
>(
|
|
313
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
314
|
+
options?: {
|
|
315
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
316
|
+
request?: SecondParameter<typeof customInstance>;
|
|
317
|
+
},
|
|
318
|
+
) => {
|
|
319
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
338
320
|
|
|
339
|
-
|
|
340
|
-
};
|
|
321
|
+
const queryKey = queryOptions?.queryKey ?? getCreateProjectQueryKey(projectPostBodyBody);
|
|
341
322
|
|
|
342
|
-
|
|
323
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof createProject>>> = ({ signal }) =>
|
|
324
|
+
createProject(projectPostBodyBody, requestOptions, signal);
|
|
325
|
+
|
|
326
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
327
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
328
|
+
TError,
|
|
329
|
+
TData
|
|
330
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
343
331
|
};
|
|
344
332
|
|
|
345
|
-
export type
|
|
346
|
-
export type
|
|
347
|
-
export type CreateProjectMutationError = ErrorType<DmError | void>;
|
|
333
|
+
export type CreateProjectQueryResult = NonNullable<Awaited<ReturnType<typeof createProject>>>;
|
|
334
|
+
export type CreateProjectQueryError = ErrorType<DmError | void>;
|
|
348
335
|
|
|
336
|
+
export function useCreateProject<
|
|
337
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
338
|
+
TError = ErrorType<DmError | void>,
|
|
339
|
+
>(
|
|
340
|
+
projectPostBodyBody: undefined | ProjectPostBodyBody,
|
|
341
|
+
options: {
|
|
342
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
343
|
+
Pick<
|
|
344
|
+
DefinedInitialDataOptions<
|
|
345
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
346
|
+
TError,
|
|
347
|
+
Awaited<ReturnType<typeof createProject>>
|
|
348
|
+
>,
|
|
349
|
+
"initialData"
|
|
350
|
+
>;
|
|
351
|
+
request?: SecondParameter<typeof customInstance>;
|
|
352
|
+
},
|
|
353
|
+
queryClient?: QueryClient,
|
|
354
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
355
|
+
export function useCreateProject<
|
|
356
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
357
|
+
TError = ErrorType<DmError | void>,
|
|
358
|
+
>(
|
|
359
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
360
|
+
options?: {
|
|
361
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>> &
|
|
362
|
+
Pick<
|
|
363
|
+
UndefinedInitialDataOptions<
|
|
364
|
+
Awaited<ReturnType<typeof createProject>>,
|
|
365
|
+
TError,
|
|
366
|
+
Awaited<ReturnType<typeof createProject>>
|
|
367
|
+
>,
|
|
368
|
+
"initialData"
|
|
369
|
+
>;
|
|
370
|
+
request?: SecondParameter<typeof customInstance>;
|
|
371
|
+
},
|
|
372
|
+
queryClient?: QueryClient,
|
|
373
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
374
|
+
export function useCreateProject<
|
|
375
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
376
|
+
TError = ErrorType<DmError | void>,
|
|
377
|
+
>(
|
|
378
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
379
|
+
options?: {
|
|
380
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
381
|
+
request?: SecondParameter<typeof customInstance>;
|
|
382
|
+
},
|
|
383
|
+
queryClient?: QueryClient,
|
|
384
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
349
385
|
/**
|
|
350
386
|
* @summary Create a new Project
|
|
351
387
|
*/
|
|
352
|
-
|
|
388
|
+
|
|
389
|
+
export function useCreateProject<
|
|
390
|
+
TData = Awaited<ReturnType<typeof createProject>>,
|
|
391
|
+
TError = ErrorType<DmError | void>,
|
|
392
|
+
>(
|
|
393
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
353
394
|
options?: {
|
|
354
|
-
|
|
355
|
-
Awaited<ReturnType<typeof createProject>>,
|
|
356
|
-
TError,
|
|
357
|
-
{ data: ProjectPostBodyBody },
|
|
358
|
-
TContext
|
|
359
|
-
>;
|
|
395
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof createProject>>, TError, TData>>;
|
|
360
396
|
request?: SecondParameter<typeof customInstance>;
|
|
361
397
|
},
|
|
362
398
|
queryClient?: QueryClient,
|
|
363
|
-
):
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
399
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
400
|
+
const queryOptions = getCreateProjectQueryOptions(projectPostBodyBody, options);
|
|
401
|
+
|
|
402
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
403
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* @summary Create a new Project
|
|
411
|
+
*/
|
|
412
|
+
export const invalidateCreateProject = async (
|
|
413
|
+
queryClient: QueryClient,
|
|
414
|
+
projectPostBodyBody?: ProjectPostBodyBody,
|
|
415
|
+
options?: InvalidateOptions,
|
|
416
|
+
): Promise<QueryClient> => {
|
|
417
|
+
await queryClient.invalidateQueries(
|
|
418
|
+
{ queryKey: getCreateProjectQueryKey(projectPostBodyBody) },
|
|
419
|
+
options,
|
|
420
|
+
);
|
|
421
|
+
|
|
422
|
+
return queryClient;
|
|
372
423
|
};
|
|
424
|
+
|
|
373
425
|
/**
|
|
374
426
|
* Gets the details of a Project that is available to you.
|
|
375
|
-
|
|
376
427
|
* @summary Get a Project by UUID
|
|
377
428
|
*/
|
|
378
429
|
export const getProject = (
|
|
@@ -386,7 +437,7 @@ export const getProject = (
|
|
|
386
437
|
);
|
|
387
438
|
};
|
|
388
439
|
|
|
389
|
-
export const getGetProjectQueryKey = (projectId
|
|
440
|
+
export const getGetProjectQueryKey = (projectId: string) => {
|
|
390
441
|
return ["data-manager", "project", projectId] as const;
|
|
391
442
|
};
|
|
392
443
|
|
|
@@ -407,11 +458,14 @@ export const getGetProjectQueryOptions = <
|
|
|
407
458
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getProject>>> = ({ signal }) =>
|
|
408
459
|
getProject(projectId, requestOptions, signal);
|
|
409
460
|
|
|
410
|
-
return {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
461
|
+
return {
|
|
462
|
+
queryKey,
|
|
463
|
+
queryFn,
|
|
464
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
465
|
+
...queryOptions,
|
|
466
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof getProject>>, TError, TData> & {
|
|
467
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
468
|
+
};
|
|
415
469
|
};
|
|
416
470
|
|
|
417
471
|
export type GetProjectQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;
|
|
@@ -435,7 +489,7 @@ export function useGetProject<
|
|
|
435
489
|
request?: SecondParameter<typeof customInstance>;
|
|
436
490
|
},
|
|
437
491
|
queryClient?: QueryClient,
|
|
438
|
-
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
492
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
439
493
|
export function useGetProject<
|
|
440
494
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
441
495
|
TError = ErrorType<void | DmError>,
|
|
@@ -454,7 +508,7 @@ export function useGetProject<
|
|
|
454
508
|
request?: SecondParameter<typeof customInstance>;
|
|
455
509
|
},
|
|
456
510
|
queryClient?: QueryClient,
|
|
457
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
511
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
458
512
|
export function useGetProject<
|
|
459
513
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
460
514
|
TError = ErrorType<void | DmError>,
|
|
@@ -465,7 +519,7 @@ export function useGetProject<
|
|
|
465
519
|
request?: SecondParameter<typeof customInstance>;
|
|
466
520
|
},
|
|
467
521
|
queryClient?: QueryClient,
|
|
468
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
522
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
469
523
|
/**
|
|
470
524
|
* @summary Get a Project by UUID
|
|
471
525
|
*/
|
|
@@ -480,16 +534,14 @@ export function useGetProject<
|
|
|
480
534
|
request?: SecondParameter<typeof customInstance>;
|
|
481
535
|
},
|
|
482
536
|
queryClient?: QueryClient,
|
|
483
|
-
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
537
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
484
538
|
const queryOptions = getGetProjectQueryOptions(projectId, options);
|
|
485
539
|
|
|
486
540
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
487
|
-
queryKey: DataTag<QueryKey, TData>;
|
|
541
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
488
542
|
};
|
|
489
543
|
|
|
490
|
-
query
|
|
491
|
-
|
|
492
|
-
return query;
|
|
544
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
493
545
|
}
|
|
494
546
|
|
|
495
547
|
/**
|
|
@@ -526,7 +578,7 @@ export const getGetProjectSuspenseQueryOptions = <
|
|
|
526
578
|
Awaited<ReturnType<typeof getProject>>,
|
|
527
579
|
TError,
|
|
528
580
|
TData
|
|
529
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
581
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
530
582
|
};
|
|
531
583
|
|
|
532
584
|
export type GetProjectSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getProject>>>;
|
|
@@ -542,7 +594,7 @@ export function useGetProjectSuspense<
|
|
|
542
594
|
request?: SecondParameter<typeof customInstance>;
|
|
543
595
|
},
|
|
544
596
|
queryClient?: QueryClient,
|
|
545
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
597
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
546
598
|
export function useGetProjectSuspense<
|
|
547
599
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
548
600
|
TError = ErrorType<void | DmError>,
|
|
@@ -553,7 +605,7 @@ export function useGetProjectSuspense<
|
|
|
553
605
|
request?: SecondParameter<typeof customInstance>;
|
|
554
606
|
},
|
|
555
607
|
queryClient?: QueryClient,
|
|
556
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
608
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
557
609
|
export function useGetProjectSuspense<
|
|
558
610
|
TData = Awaited<ReturnType<typeof getProject>>,
|
|
559
611
|
TError = ErrorType<void | DmError>,
|
|
@@ -564,7 +616,7 @@ export function useGetProjectSuspense<
|
|
|
564
616
|
request?: SecondParameter<typeof customInstance>;
|
|
565
617
|
},
|
|
566
618
|
queryClient?: QueryClient,
|
|
567
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
|
|
619
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
568
620
|
/**
|
|
569
621
|
* @summary Get a Project by UUID
|
|
570
622
|
*/
|
|
@@ -579,708 +631,1282 @@ export function useGetProjectSuspense<
|
|
|
579
631
|
request?: SecondParameter<typeof customInstance>;
|
|
580
632
|
},
|
|
581
633
|
queryClient?: QueryClient,
|
|
582
|
-
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
|
|
634
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
583
635
|
const queryOptions = getGetProjectSuspenseQueryOptions(projectId, options);
|
|
584
636
|
|
|
585
637
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
586
638
|
TData,
|
|
587
639
|
TError
|
|
588
|
-
> & { queryKey: DataTag<QueryKey, TData> };
|
|
640
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
589
641
|
|
|
590
|
-
query
|
|
591
|
-
|
|
592
|
-
return query;
|
|
642
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
593
643
|
}
|
|
594
644
|
|
|
595
645
|
/**
|
|
596
646
|
* 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**
|
|
597
|
-
|
|
598
647
|
* @summary Adjust an existing Project
|
|
599
648
|
*/
|
|
600
649
|
export const patchProject = (
|
|
601
650
|
projectId: string,
|
|
602
|
-
projectPatchBodyBody
|
|
651
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
603
652
|
options?: SecondParameter<typeof customInstance>,
|
|
653
|
+
signal?: AbortSignal,
|
|
604
654
|
) => {
|
|
605
655
|
const formUrlEncoded = new URLSearchParams();
|
|
606
|
-
if (projectPatchBodyBody
|
|
656
|
+
if (projectPatchBodyBody?.private !== undefined) {
|
|
607
657
|
formUrlEncoded.append(`private`, projectPatchBodyBody.private.toString());
|
|
608
658
|
}
|
|
609
|
-
if (projectPatchBodyBody
|
|
659
|
+
if (projectPatchBodyBody?.name !== undefined) {
|
|
610
660
|
formUrlEncoded.append(`name`, projectPatchBodyBody.name);
|
|
611
661
|
}
|
|
612
662
|
|
|
613
|
-
return customInstance<void
|
|
663
|
+
return customInstance<void>(
|
|
614
664
|
{
|
|
615
665
|
url: `/project/${projectId}`,
|
|
616
666
|
method: "PATCH",
|
|
617
667
|
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
618
668
|
data: formUrlEncoded,
|
|
669
|
+
signal,
|
|
619
670
|
},
|
|
620
671
|
options,
|
|
621
672
|
);
|
|
622
673
|
};
|
|
623
674
|
|
|
624
|
-
export const
|
|
675
|
+
export const getPatchProjectQueryKey = (
|
|
676
|
+
projectId: string,
|
|
677
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
678
|
+
) => {
|
|
679
|
+
return ["data-manager", "PATCH", "project", projectId, projectPatchBodyBody] as const;
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
export const getPatchProjectQueryOptions = <
|
|
683
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
625
684
|
TError = ErrorType<void | DmError>,
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
TError,
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
request
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
const mutationKey = ["patchProject"];
|
|
642
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
643
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
644
|
-
? options
|
|
645
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
646
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
647
|
-
|
|
648
|
-
const mutationFn: MutationFunction<
|
|
649
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
650
|
-
{ projectId: string; data: ProjectPatchBodyBody }
|
|
651
|
-
> = (props) => {
|
|
652
|
-
const { projectId, data } = props ?? {};
|
|
653
|
-
|
|
654
|
-
return patchProject(projectId, data, requestOptions);
|
|
655
|
-
};
|
|
685
|
+
>(
|
|
686
|
+
projectId: string,
|
|
687
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
688
|
+
options?: {
|
|
689
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
690
|
+
request?: SecondParameter<typeof customInstance>;
|
|
691
|
+
},
|
|
692
|
+
) => {
|
|
693
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
694
|
+
|
|
695
|
+
const queryKey =
|
|
696
|
+
queryOptions?.queryKey ?? getPatchProjectQueryKey(projectId, projectPatchBodyBody);
|
|
697
|
+
|
|
698
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof patchProject>>> = ({ signal }) =>
|
|
699
|
+
patchProject(projectId, projectPatchBodyBody, requestOptions, signal);
|
|
656
700
|
|
|
657
|
-
return {
|
|
701
|
+
return {
|
|
702
|
+
queryKey,
|
|
703
|
+
queryFn,
|
|
704
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
705
|
+
...queryOptions,
|
|
706
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData> & {
|
|
707
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
708
|
+
};
|
|
658
709
|
};
|
|
659
710
|
|
|
660
|
-
export type
|
|
661
|
-
export type
|
|
662
|
-
export type PatchProjectMutationError = ErrorType<void | DmError>;
|
|
711
|
+
export type PatchProjectQueryResult = NonNullable<Awaited<ReturnType<typeof patchProject>>>;
|
|
712
|
+
export type PatchProjectQueryError = ErrorType<void | DmError>;
|
|
663
713
|
|
|
714
|
+
export function usePatchProject<
|
|
715
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
716
|
+
TError = ErrorType<void | DmError>,
|
|
717
|
+
>(
|
|
718
|
+
projectId: string,
|
|
719
|
+
projectPatchBodyBody: undefined | ProjectPatchBodyBody,
|
|
720
|
+
options: {
|
|
721
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
722
|
+
Pick<
|
|
723
|
+
DefinedInitialDataOptions<
|
|
724
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
725
|
+
TError,
|
|
726
|
+
Awaited<ReturnType<typeof patchProject>>
|
|
727
|
+
>,
|
|
728
|
+
"initialData"
|
|
729
|
+
>;
|
|
730
|
+
request?: SecondParameter<typeof customInstance>;
|
|
731
|
+
},
|
|
732
|
+
queryClient?: QueryClient,
|
|
733
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
734
|
+
export function usePatchProject<
|
|
735
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
736
|
+
TError = ErrorType<void | DmError>,
|
|
737
|
+
>(
|
|
738
|
+
projectId: string,
|
|
739
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
740
|
+
options?: {
|
|
741
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>> &
|
|
742
|
+
Pick<
|
|
743
|
+
UndefinedInitialDataOptions<
|
|
744
|
+
Awaited<ReturnType<typeof patchProject>>,
|
|
745
|
+
TError,
|
|
746
|
+
Awaited<ReturnType<typeof patchProject>>
|
|
747
|
+
>,
|
|
748
|
+
"initialData"
|
|
749
|
+
>;
|
|
750
|
+
request?: SecondParameter<typeof customInstance>;
|
|
751
|
+
},
|
|
752
|
+
queryClient?: QueryClient,
|
|
753
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
754
|
+
export function usePatchProject<
|
|
755
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
756
|
+
TError = ErrorType<void | DmError>,
|
|
757
|
+
>(
|
|
758
|
+
projectId: string,
|
|
759
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
760
|
+
options?: {
|
|
761
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
762
|
+
request?: SecondParameter<typeof customInstance>;
|
|
763
|
+
},
|
|
764
|
+
queryClient?: QueryClient,
|
|
765
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
664
766
|
/**
|
|
665
767
|
* @summary Adjust an existing Project
|
|
666
768
|
*/
|
|
667
|
-
|
|
769
|
+
|
|
770
|
+
export function usePatchProject<
|
|
771
|
+
TData = Awaited<ReturnType<typeof patchProject>>,
|
|
772
|
+
TError = ErrorType<void | DmError>,
|
|
773
|
+
>(
|
|
774
|
+
projectId: string,
|
|
775
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
668
776
|
options?: {
|
|
669
|
-
|
|
670
|
-
Awaited<ReturnType<typeof patchProject>>,
|
|
671
|
-
TError,
|
|
672
|
-
{ projectId: string; data: ProjectPatchBodyBody },
|
|
673
|
-
TContext
|
|
674
|
-
>;
|
|
777
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof patchProject>>, TError, TData>>;
|
|
675
778
|
request?: SecondParameter<typeof customInstance>;
|
|
676
779
|
},
|
|
677
780
|
queryClient?: QueryClient,
|
|
678
|
-
):
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
};
|
|
688
|
-
/**
|
|
689
|
-
* Deletes an existing Project.
|
|
781
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
782
|
+
const queryOptions = getPatchProjectQueryOptions(projectId, projectPatchBodyBody, options);
|
|
783
|
+
|
|
784
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
785
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
789
|
+
}
|
|
690
790
|
|
|
691
|
-
|
|
791
|
+
/**
|
|
792
|
+
* @summary Adjust an existing Project
|
|
793
|
+
*/
|
|
794
|
+
export const invalidatePatchProject = async (
|
|
795
|
+
queryClient: QueryClient,
|
|
796
|
+
projectId: string,
|
|
797
|
+
projectPatchBodyBody?: ProjectPatchBodyBody,
|
|
798
|
+
options?: InvalidateOptions,
|
|
799
|
+
): Promise<QueryClient> => {
|
|
800
|
+
await queryClient.invalidateQueries(
|
|
801
|
+
{ queryKey: getPatchProjectQueryKey(projectId, projectPatchBodyBody) },
|
|
802
|
+
options,
|
|
803
|
+
);
|
|
692
804
|
|
|
693
|
-
|
|
805
|
+
return queryClient;
|
|
806
|
+
};
|
|
694
807
|
|
|
808
|
+
/**
|
|
809
|
+
* Deletes an existing Project.
|
|
810
|
+
*
|
|
811
|
+
* You must be an `administrator` of the project.
|
|
812
|
+
*
|
|
813
|
+
* Once deleted all **Files**, working directories and material in the Project will also be removed
|
|
695
814
|
* @summary Delete a Project
|
|
696
815
|
*/
|
|
697
816
|
export const deleteProject = (
|
|
698
817
|
projectId: string,
|
|
699
818
|
options?: SecondParameter<typeof customInstance>,
|
|
819
|
+
signal?: AbortSignal,
|
|
700
820
|
) => {
|
|
701
|
-
return customInstance<TaskIdentity>(
|
|
821
|
+
return customInstance<TaskIdentity>(
|
|
822
|
+
{ url: `/project/${projectId}`, method: "DELETE", signal },
|
|
823
|
+
options,
|
|
824
|
+
);
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
export const getDeleteProjectQueryKey = (projectId: string) => {
|
|
828
|
+
return ["data-manager", "DELETE", "project", projectId] as const;
|
|
702
829
|
};
|
|
703
830
|
|
|
704
|
-
export const
|
|
831
|
+
export const getDeleteProjectQueryOptions = <
|
|
832
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
705
833
|
TError = ErrorType<void | DmError>,
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
request?: SecondParameter<typeof customInstance>;
|
|
715
|
-
}): UseMutationOptions<
|
|
716
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
717
|
-
TError,
|
|
718
|
-
{ projectId: string },
|
|
719
|
-
TContext
|
|
720
|
-
> => {
|
|
721
|
-
const mutationKey = ["deleteProject"];
|
|
722
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
723
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
724
|
-
? options
|
|
725
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
726
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
727
|
-
|
|
728
|
-
const mutationFn: MutationFunction<
|
|
729
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
730
|
-
{ projectId: string }
|
|
731
|
-
> = (props) => {
|
|
732
|
-
const { projectId } = props ?? {};
|
|
733
|
-
|
|
734
|
-
return deleteProject(projectId, requestOptions);
|
|
735
|
-
};
|
|
834
|
+
>(
|
|
835
|
+
projectId: string,
|
|
836
|
+
options?: {
|
|
837
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
838
|
+
request?: SecondParameter<typeof customInstance>;
|
|
839
|
+
},
|
|
840
|
+
) => {
|
|
841
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
736
842
|
|
|
737
|
-
|
|
738
|
-
|
|
843
|
+
const queryKey = queryOptions?.queryKey ?? getDeleteProjectQueryKey(projectId);
|
|
844
|
+
|
|
845
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof deleteProject>>> = ({ signal }) =>
|
|
846
|
+
deleteProject(projectId, requestOptions, signal);
|
|
739
847
|
|
|
740
|
-
|
|
848
|
+
return {
|
|
849
|
+
queryKey,
|
|
850
|
+
queryFn,
|
|
851
|
+
enabled: projectId !== null && projectId !== undefined,
|
|
852
|
+
...queryOptions,
|
|
853
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData> & {
|
|
854
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
855
|
+
};
|
|
856
|
+
};
|
|
741
857
|
|
|
742
|
-
export type
|
|
858
|
+
export type DeleteProjectQueryResult = NonNullable<Awaited<ReturnType<typeof deleteProject>>>;
|
|
859
|
+
export type DeleteProjectQueryError = ErrorType<void | DmError>;
|
|
743
860
|
|
|
861
|
+
export function useDeleteProject<
|
|
862
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
863
|
+
TError = ErrorType<void | DmError>,
|
|
864
|
+
>(
|
|
865
|
+
projectId: string,
|
|
866
|
+
options: {
|
|
867
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
868
|
+
Pick<
|
|
869
|
+
DefinedInitialDataOptions<
|
|
870
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
871
|
+
TError,
|
|
872
|
+
Awaited<ReturnType<typeof deleteProject>>
|
|
873
|
+
>,
|
|
874
|
+
"initialData"
|
|
875
|
+
>;
|
|
876
|
+
request?: SecondParameter<typeof customInstance>;
|
|
877
|
+
},
|
|
878
|
+
queryClient?: QueryClient,
|
|
879
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
880
|
+
export function useDeleteProject<
|
|
881
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
882
|
+
TError = ErrorType<void | DmError>,
|
|
883
|
+
>(
|
|
884
|
+
projectId: string,
|
|
885
|
+
options?: {
|
|
886
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>> &
|
|
887
|
+
Pick<
|
|
888
|
+
UndefinedInitialDataOptions<
|
|
889
|
+
Awaited<ReturnType<typeof deleteProject>>,
|
|
890
|
+
TError,
|
|
891
|
+
Awaited<ReturnType<typeof deleteProject>>
|
|
892
|
+
>,
|
|
893
|
+
"initialData"
|
|
894
|
+
>;
|
|
895
|
+
request?: SecondParameter<typeof customInstance>;
|
|
896
|
+
},
|
|
897
|
+
queryClient?: QueryClient,
|
|
898
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
899
|
+
export function useDeleteProject<
|
|
900
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
901
|
+
TError = ErrorType<void | DmError>,
|
|
902
|
+
>(
|
|
903
|
+
projectId: string,
|
|
904
|
+
options?: {
|
|
905
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
906
|
+
request?: SecondParameter<typeof customInstance>;
|
|
907
|
+
},
|
|
908
|
+
queryClient?: QueryClient,
|
|
909
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
744
910
|
/**
|
|
745
911
|
* @summary Delete a Project
|
|
746
912
|
*/
|
|
747
|
-
|
|
913
|
+
|
|
914
|
+
export function useDeleteProject<
|
|
915
|
+
TData = Awaited<ReturnType<typeof deleteProject>>,
|
|
916
|
+
TError = ErrorType<void | DmError>,
|
|
917
|
+
>(
|
|
918
|
+
projectId: string,
|
|
748
919
|
options?: {
|
|
749
|
-
|
|
750
|
-
Awaited<ReturnType<typeof deleteProject>>,
|
|
751
|
-
TError,
|
|
752
|
-
{ projectId: string },
|
|
753
|
-
TContext
|
|
754
|
-
>;
|
|
920
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof deleteProject>>, TError, TData>>;
|
|
755
921
|
request?: SecondParameter<typeof customInstance>;
|
|
756
922
|
},
|
|
757
923
|
queryClient?: QueryClient,
|
|
758
|
-
):
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
924
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
925
|
+
const queryOptions = getDeleteProjectQueryOptions(projectId, options);
|
|
926
|
+
|
|
927
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
928
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
932
|
+
}
|
|
933
|
+
|
|
768
934
|
/**
|
|
769
|
-
*
|
|
935
|
+
* @summary Delete a Project
|
|
936
|
+
*/
|
|
937
|
+
export const invalidateDeleteProject = async (
|
|
938
|
+
queryClient: QueryClient,
|
|
939
|
+
projectId: string,
|
|
940
|
+
options?: InvalidateOptions,
|
|
941
|
+
): Promise<QueryClient> => {
|
|
942
|
+
await queryClient.invalidateQueries({ queryKey: getDeleteProjectQueryKey(projectId) }, options);
|
|
770
943
|
|
|
771
|
-
|
|
944
|
+
return queryClient;
|
|
945
|
+
};
|
|
772
946
|
|
|
947
|
+
/**
|
|
948
|
+
* 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.
|
|
949
|
+
*
|
|
950
|
+
* You must be an `administrator` of the project
|
|
773
951
|
* @summary Add a Project Administrator
|
|
774
952
|
*/
|
|
775
953
|
export const addAdministratorToProject = (
|
|
776
954
|
projectId: string,
|
|
777
955
|
userId: string,
|
|
778
956
|
options?: SecondParameter<typeof customInstance>,
|
|
957
|
+
signal?: AbortSignal,
|
|
779
958
|
) => {
|
|
780
959
|
return customInstance<void>(
|
|
781
|
-
{ url: `/project/${projectId}/administrator/${userId}`, method: "PUT" },
|
|
960
|
+
{ url: `/project/${projectId}/administrator/${userId}`, method: "PUT", signal },
|
|
782
961
|
options,
|
|
783
962
|
);
|
|
784
963
|
};
|
|
785
964
|
|
|
786
|
-
export const
|
|
787
|
-
|
|
788
|
-
TContext = unknown,
|
|
789
|
-
>(options?: {
|
|
790
|
-
mutation?: UseMutationOptions<
|
|
791
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
792
|
-
TError,
|
|
793
|
-
{ projectId: string; userId: string },
|
|
794
|
-
TContext
|
|
795
|
-
>;
|
|
796
|
-
request?: SecondParameter<typeof customInstance>;
|
|
797
|
-
}): UseMutationOptions<
|
|
798
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
799
|
-
TError,
|
|
800
|
-
{ projectId: string; userId: string },
|
|
801
|
-
TContext
|
|
802
|
-
> => {
|
|
803
|
-
const mutationKey = ["addAdministratorToProject"];
|
|
804
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
805
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
806
|
-
? options
|
|
807
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
808
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
809
|
-
|
|
810
|
-
const mutationFn: MutationFunction<
|
|
811
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
812
|
-
{ projectId: string; userId: string }
|
|
813
|
-
> = (props) => {
|
|
814
|
-
const { projectId, userId } = props ?? {};
|
|
815
|
-
|
|
816
|
-
return addAdministratorToProject(projectId, userId, requestOptions);
|
|
817
|
-
};
|
|
818
|
-
|
|
819
|
-
return { mutationFn, ...mutationOptions };
|
|
965
|
+
export const getAddAdministratorToProjectQueryKey = (projectId: string, userId: string) => {
|
|
966
|
+
return ["data-manager", "PUT", "project", projectId, "administrator", userId] as const;
|
|
820
967
|
};
|
|
821
968
|
|
|
822
|
-
export
|
|
823
|
-
Awaited<ReturnType<typeof addAdministratorToProject
|
|
824
|
-
>;
|
|
825
|
-
|
|
826
|
-
export type AddAdministratorToProjectMutationError = ErrorType<void | DmError>;
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* @summary Add a Project Administrator
|
|
830
|
-
*/
|
|
831
|
-
export const useAddAdministratorToProject = <
|
|
969
|
+
export const getAddAdministratorToProjectQueryOptions = <
|
|
970
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
832
971
|
TError = ErrorType<void | DmError>,
|
|
833
|
-
TContext = unknown,
|
|
834
972
|
>(
|
|
973
|
+
projectId: string,
|
|
974
|
+
userId: string,
|
|
835
975
|
options?: {
|
|
836
|
-
|
|
837
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
838
|
-
TError,
|
|
839
|
-
{ projectId: string; userId: string },
|
|
840
|
-
TContext
|
|
976
|
+
query?: Partial<
|
|
977
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
841
978
|
>;
|
|
842
979
|
request?: SecondParameter<typeof customInstance>;
|
|
843
980
|
},
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
847
|
-
TError,
|
|
848
|
-
{ projectId: string; userId: string },
|
|
849
|
-
TContext
|
|
850
|
-
> => {
|
|
851
|
-
const mutationOptions = getAddAdministratorToProjectMutationOptions(options);
|
|
852
|
-
|
|
853
|
-
return useMutation(mutationOptions, queryClient);
|
|
854
|
-
};
|
|
855
|
-
/**
|
|
856
|
-
* Deletes a project `administrator`. The administrator can be you.
|
|
981
|
+
) => {
|
|
982
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
857
983
|
|
|
858
|
-
|
|
984
|
+
const queryKey =
|
|
985
|
+
queryOptions?.queryKey ?? getAddAdministratorToProjectQueryKey(projectId, userId);
|
|
986
|
+
|
|
987
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addAdministratorToProject>>> = ({
|
|
988
|
+
signal,
|
|
989
|
+
}) => addAdministratorToProject(projectId, userId, requestOptions, signal);
|
|
990
|
+
|
|
991
|
+
return {
|
|
992
|
+
queryKey,
|
|
993
|
+
queryFn,
|
|
994
|
+
enabled:
|
|
995
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
996
|
+
...queryOptions,
|
|
997
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData> & {
|
|
998
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
859
1001
|
|
|
860
|
-
|
|
1002
|
+
export type AddAdministratorToProjectQueryResult = NonNullable<
|
|
1003
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1004
|
+
>;
|
|
1005
|
+
export type AddAdministratorToProjectQueryError = ErrorType<void | DmError>;
|
|
861
1006
|
|
|
1007
|
+
export function useAddAdministratorToProject<
|
|
1008
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1009
|
+
TError = ErrorType<void | DmError>,
|
|
1010
|
+
>(
|
|
1011
|
+
projectId: string,
|
|
1012
|
+
userId: string,
|
|
1013
|
+
options: {
|
|
1014
|
+
query: Partial<
|
|
1015
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1016
|
+
> &
|
|
1017
|
+
Pick<
|
|
1018
|
+
DefinedInitialDataOptions<
|
|
1019
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1020
|
+
TError,
|
|
1021
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1022
|
+
>,
|
|
1023
|
+
"initialData"
|
|
1024
|
+
>;
|
|
1025
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1026
|
+
},
|
|
1027
|
+
queryClient?: QueryClient,
|
|
1028
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1029
|
+
export function useAddAdministratorToProject<
|
|
1030
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1031
|
+
TError = ErrorType<void | DmError>,
|
|
1032
|
+
>(
|
|
1033
|
+
projectId: string,
|
|
1034
|
+
userId: string,
|
|
1035
|
+
options?: {
|
|
1036
|
+
query?: Partial<
|
|
1037
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1038
|
+
> &
|
|
1039
|
+
Pick<
|
|
1040
|
+
UndefinedInitialDataOptions<
|
|
1041
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1042
|
+
TError,
|
|
1043
|
+
Awaited<ReturnType<typeof addAdministratorToProject>>
|
|
1044
|
+
>,
|
|
1045
|
+
"initialData"
|
|
1046
|
+
>;
|
|
1047
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1048
|
+
},
|
|
1049
|
+
queryClient?: QueryClient,
|
|
1050
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1051
|
+
export function useAddAdministratorToProject<
|
|
1052
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1053
|
+
TError = ErrorType<void | DmError>,
|
|
1054
|
+
>(
|
|
1055
|
+
projectId: string,
|
|
1056
|
+
userId: string,
|
|
1057
|
+
options?: {
|
|
1058
|
+
query?: Partial<
|
|
1059
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1060
|
+
>;
|
|
1061
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1062
|
+
},
|
|
1063
|
+
queryClient?: QueryClient,
|
|
1064
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1065
|
+
/**
|
|
1066
|
+
* @summary Add a Project Administrator
|
|
1067
|
+
*/
|
|
1068
|
+
|
|
1069
|
+
export function useAddAdministratorToProject<
|
|
1070
|
+
TData = Awaited<ReturnType<typeof addAdministratorToProject>>,
|
|
1071
|
+
TError = ErrorType<void | DmError>,
|
|
1072
|
+
>(
|
|
1073
|
+
projectId: string,
|
|
1074
|
+
userId: string,
|
|
1075
|
+
options?: {
|
|
1076
|
+
query?: Partial<
|
|
1077
|
+
UseQueryOptions<Awaited<ReturnType<typeof addAdministratorToProject>>, TError, TData>
|
|
1078
|
+
>;
|
|
1079
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1080
|
+
},
|
|
1081
|
+
queryClient?: QueryClient,
|
|
1082
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1083
|
+
const queryOptions = getAddAdministratorToProjectQueryOptions(projectId, userId, options);
|
|
1084
|
+
|
|
1085
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1086
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* @summary Add a Project Administrator
|
|
1094
|
+
*/
|
|
1095
|
+
export const invalidateAddAdministratorToProject = async (
|
|
1096
|
+
queryClient: QueryClient,
|
|
1097
|
+
projectId: string,
|
|
1098
|
+
userId: string,
|
|
1099
|
+
options?: InvalidateOptions,
|
|
1100
|
+
): Promise<QueryClient> => {
|
|
1101
|
+
await queryClient.invalidateQueries(
|
|
1102
|
+
{ queryKey: getAddAdministratorToProjectQueryKey(projectId, userId) },
|
|
1103
|
+
options,
|
|
1104
|
+
);
|
|
1105
|
+
|
|
1106
|
+
return queryClient;
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Deletes a project `administrator`. The administrator can be you.
|
|
1111
|
+
*
|
|
1112
|
+
* A project must always have one `administrator` so you will not be able to delete the last administrator of a project.
|
|
1113
|
+
*
|
|
1114
|
+
* You must be an `administrator` of the project
|
|
862
1115
|
* @summary Delete a Project Administrator
|
|
863
1116
|
*/
|
|
864
1117
|
export const removeAdministratorFromProject = (
|
|
865
1118
|
projectId: string,
|
|
866
1119
|
userId: string,
|
|
867
1120
|
options?: SecondParameter<typeof customInstance>,
|
|
1121
|
+
signal?: AbortSignal,
|
|
868
1122
|
) => {
|
|
869
1123
|
return customInstance<void>(
|
|
870
|
-
{ url: `/project/${projectId}/administrator/${userId}`, method: "DELETE" },
|
|
1124
|
+
{ url: `/project/${projectId}/administrator/${userId}`, method: "DELETE", signal },
|
|
871
1125
|
options,
|
|
872
1126
|
);
|
|
873
1127
|
};
|
|
874
1128
|
|
|
875
|
-
export const
|
|
1129
|
+
export const getRemoveAdministratorFromProjectQueryKey = (projectId: string, userId: string) => {
|
|
1130
|
+
return ["data-manager", "DELETE", "project", projectId, "administrator", userId] as const;
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
export const getRemoveAdministratorFromProjectQueryOptions = <
|
|
1134
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
876
1135
|
TError = ErrorType<DmError | void>,
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
TError,
|
|
889
|
-
{ projectId: string; userId: string },
|
|
890
|
-
TContext
|
|
891
|
-
> => {
|
|
892
|
-
const mutationKey = ["removeAdministratorFromProject"];
|
|
893
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
894
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
895
|
-
? options
|
|
896
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
897
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
898
|
-
|
|
899
|
-
const mutationFn: MutationFunction<
|
|
900
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
901
|
-
{ projectId: string; userId: string }
|
|
902
|
-
> = (props) => {
|
|
903
|
-
const { projectId, userId } = props ?? {};
|
|
1136
|
+
>(
|
|
1137
|
+
projectId: string,
|
|
1138
|
+
userId: string,
|
|
1139
|
+
options?: {
|
|
1140
|
+
query?: Partial<
|
|
1141
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1142
|
+
>;
|
|
1143
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1144
|
+
},
|
|
1145
|
+
) => {
|
|
1146
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
904
1147
|
|
|
905
|
-
|
|
906
|
-
|
|
1148
|
+
const queryKey =
|
|
1149
|
+
queryOptions?.queryKey ?? getRemoveAdministratorFromProjectQueryKey(projectId, userId);
|
|
1150
|
+
|
|
1151
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeAdministratorFromProject>>> = ({
|
|
1152
|
+
signal,
|
|
1153
|
+
}) => removeAdministratorFromProject(projectId, userId, requestOptions, signal);
|
|
907
1154
|
|
|
908
|
-
return {
|
|
1155
|
+
return {
|
|
1156
|
+
queryKey,
|
|
1157
|
+
queryFn,
|
|
1158
|
+
enabled:
|
|
1159
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1160
|
+
...queryOptions,
|
|
1161
|
+
} as UseQueryOptions<
|
|
1162
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1163
|
+
TError,
|
|
1164
|
+
TData
|
|
1165
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
909
1166
|
};
|
|
910
1167
|
|
|
911
|
-
export type
|
|
1168
|
+
export type RemoveAdministratorFromProjectQueryResult = NonNullable<
|
|
912
1169
|
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
913
1170
|
>;
|
|
1171
|
+
export type RemoveAdministratorFromProjectQueryError = ErrorType<DmError | void>;
|
|
914
1172
|
|
|
915
|
-
export
|
|
916
|
-
|
|
1173
|
+
export function useRemoveAdministratorFromProject<
|
|
1174
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1175
|
+
TError = ErrorType<DmError | void>,
|
|
1176
|
+
>(
|
|
1177
|
+
projectId: string,
|
|
1178
|
+
userId: string,
|
|
1179
|
+
options: {
|
|
1180
|
+
query: Partial<
|
|
1181
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1182
|
+
> &
|
|
1183
|
+
Pick<
|
|
1184
|
+
DefinedInitialDataOptions<
|
|
1185
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1186
|
+
TError,
|
|
1187
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1188
|
+
>,
|
|
1189
|
+
"initialData"
|
|
1190
|
+
>;
|
|
1191
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1192
|
+
},
|
|
1193
|
+
queryClient?: QueryClient,
|
|
1194
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1195
|
+
export function useRemoveAdministratorFromProject<
|
|
1196
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1197
|
+
TError = ErrorType<DmError | void>,
|
|
1198
|
+
>(
|
|
1199
|
+
projectId: string,
|
|
1200
|
+
userId: string,
|
|
1201
|
+
options?: {
|
|
1202
|
+
query?: Partial<
|
|
1203
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1204
|
+
> &
|
|
1205
|
+
Pick<
|
|
1206
|
+
UndefinedInitialDataOptions<
|
|
1207
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1208
|
+
TError,
|
|
1209
|
+
Awaited<ReturnType<typeof removeAdministratorFromProject>>
|
|
1210
|
+
>,
|
|
1211
|
+
"initialData"
|
|
1212
|
+
>;
|
|
1213
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1214
|
+
},
|
|
1215
|
+
queryClient?: QueryClient,
|
|
1216
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1217
|
+
export function useRemoveAdministratorFromProject<
|
|
1218
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
1219
|
+
TError = ErrorType<DmError | void>,
|
|
1220
|
+
>(
|
|
1221
|
+
projectId: string,
|
|
1222
|
+
userId: string,
|
|
1223
|
+
options?: {
|
|
1224
|
+
query?: Partial<
|
|
1225
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
1226
|
+
>;
|
|
1227
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1228
|
+
},
|
|
1229
|
+
queryClient?: QueryClient,
|
|
1230
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
917
1231
|
/**
|
|
918
1232
|
* @summary Delete a Project Administrator
|
|
919
1233
|
*/
|
|
920
|
-
|
|
1234
|
+
|
|
1235
|
+
export function useRemoveAdministratorFromProject<
|
|
1236
|
+
TData = Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
921
1237
|
TError = ErrorType<DmError | void>,
|
|
922
|
-
TContext = unknown,
|
|
923
1238
|
>(
|
|
1239
|
+
projectId: string,
|
|
1240
|
+
userId: string,
|
|
924
1241
|
options?: {
|
|
925
|
-
|
|
926
|
-
Awaited<ReturnType<typeof removeAdministratorFromProject>>,
|
|
927
|
-
TError,
|
|
928
|
-
{ projectId: string; userId: string },
|
|
929
|
-
TContext
|
|
1242
|
+
query?: Partial<
|
|
1243
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeAdministratorFromProject>>, TError, TData>
|
|
930
1244
|
>;
|
|
931
1245
|
request?: SecondParameter<typeof customInstance>;
|
|
932
1246
|
},
|
|
933
1247
|
queryClient?: QueryClient,
|
|
934
|
-
):
|
|
935
|
-
|
|
936
|
-
TError,
|
|
937
|
-
{ projectId: string; userId: string },
|
|
938
|
-
TContext
|
|
939
|
-
> => {
|
|
940
|
-
const mutationOptions = getRemoveAdministratorFromProjectMutationOptions(options);
|
|
941
|
-
|
|
942
|
-
return useMutation(mutationOptions, queryClient);
|
|
943
|
-
};
|
|
944
|
-
/**
|
|
945
|
-
* Adds a user to a Project as an `editor`. Editors can add and remove datasets in a project and delete the project.
|
|
1248
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1249
|
+
const queryOptions = getRemoveAdministratorFromProjectQueryOptions(projectId, userId, options);
|
|
946
1250
|
|
|
947
|
-
|
|
1251
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1252
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1253
|
+
};
|
|
948
1254
|
|
|
949
|
-
|
|
1255
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1256
|
+
}
|
|
950
1257
|
|
|
1258
|
+
/**
|
|
1259
|
+
* @summary Delete a Project Administrator
|
|
1260
|
+
*/
|
|
1261
|
+
export const invalidateRemoveAdministratorFromProject = async (
|
|
1262
|
+
queryClient: QueryClient,
|
|
1263
|
+
projectId: string,
|
|
1264
|
+
userId: string,
|
|
1265
|
+
options?: InvalidateOptions,
|
|
1266
|
+
): Promise<QueryClient> => {
|
|
1267
|
+
await queryClient.invalidateQueries(
|
|
1268
|
+
{ queryKey: getRemoveAdministratorFromProjectQueryKey(projectId, userId) },
|
|
1269
|
+
options,
|
|
1270
|
+
);
|
|
1271
|
+
|
|
1272
|
+
return queryClient;
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Adds a user to a Project as an `editor`. Editors can add and remove datasets in a project and delete the project.
|
|
1277
|
+
*
|
|
1278
|
+
* An `editor` of a project is not automatically an `editor` of any datasets the project contains.
|
|
1279
|
+
*
|
|
1280
|
+
* You must be an `administrator` of the project
|
|
951
1281
|
* @summary Add a Project Editor
|
|
952
1282
|
*/
|
|
953
1283
|
export const addEditorToProject = (
|
|
954
1284
|
projectId: string,
|
|
955
1285
|
userId: string,
|
|
956
1286
|
options?: SecondParameter<typeof customInstance>,
|
|
1287
|
+
signal?: AbortSignal,
|
|
957
1288
|
) => {
|
|
958
1289
|
return customInstance<void>(
|
|
959
|
-
{ url: `/project/${projectId}/editor/${userId}`, method: "PUT" },
|
|
1290
|
+
{ url: `/project/${projectId}/editor/${userId}`, method: "PUT", signal },
|
|
960
1291
|
options,
|
|
961
1292
|
);
|
|
962
1293
|
};
|
|
963
1294
|
|
|
964
|
-
export const
|
|
1295
|
+
export const getAddEditorToProjectQueryKey = (projectId: string, userId: string) => {
|
|
1296
|
+
return ["data-manager", "PUT", "project", projectId, "editor", userId] as const;
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
export const getAddEditorToProjectQueryOptions = <
|
|
1300
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
965
1301
|
TError = ErrorType<void | DmError>,
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
TError,
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
request
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
TError,
|
|
978
|
-
{ projectId: string; userId: string },
|
|
979
|
-
TContext
|
|
980
|
-
> => {
|
|
981
|
-
const mutationKey = ["addEditorToProject"];
|
|
982
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
983
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
984
|
-
? options
|
|
985
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
986
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
987
|
-
|
|
988
|
-
const mutationFn: MutationFunction<
|
|
989
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
990
|
-
{ projectId: string; userId: string }
|
|
991
|
-
> = (props) => {
|
|
992
|
-
const { projectId, userId } = props ?? {};
|
|
993
|
-
|
|
994
|
-
return addEditorToProject(projectId, userId, requestOptions);
|
|
995
|
-
};
|
|
1302
|
+
>(
|
|
1303
|
+
projectId: string,
|
|
1304
|
+
userId: string,
|
|
1305
|
+
options?: {
|
|
1306
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1307
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1308
|
+
},
|
|
1309
|
+
) => {
|
|
1310
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1311
|
+
|
|
1312
|
+
const queryKey = queryOptions?.queryKey ?? getAddEditorToProjectQueryKey(projectId, userId);
|
|
996
1313
|
|
|
997
|
-
|
|
1314
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addEditorToProject>>> = ({ signal }) =>
|
|
1315
|
+
addEditorToProject(projectId, userId, requestOptions, signal);
|
|
1316
|
+
|
|
1317
|
+
return {
|
|
1318
|
+
queryKey,
|
|
1319
|
+
queryFn,
|
|
1320
|
+
enabled:
|
|
1321
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1322
|
+
...queryOptions,
|
|
1323
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData> & {
|
|
1324
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1325
|
+
};
|
|
998
1326
|
};
|
|
999
1327
|
|
|
1000
|
-
export type
|
|
1328
|
+
export type AddEditorToProjectQueryResult = NonNullable<
|
|
1001
1329
|
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1002
1330
|
>;
|
|
1331
|
+
export type AddEditorToProjectQueryError = ErrorType<void | DmError>;
|
|
1003
1332
|
|
|
1004
|
-
export
|
|
1005
|
-
|
|
1333
|
+
export function useAddEditorToProject<
|
|
1334
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1335
|
+
TError = ErrorType<void | DmError>,
|
|
1336
|
+
>(
|
|
1337
|
+
projectId: string,
|
|
1338
|
+
userId: string,
|
|
1339
|
+
options: {
|
|
1340
|
+
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>> &
|
|
1341
|
+
Pick<
|
|
1342
|
+
DefinedInitialDataOptions<
|
|
1343
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1344
|
+
TError,
|
|
1345
|
+
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1346
|
+
>,
|
|
1347
|
+
"initialData"
|
|
1348
|
+
>;
|
|
1349
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1350
|
+
},
|
|
1351
|
+
queryClient?: QueryClient,
|
|
1352
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1353
|
+
export function useAddEditorToProject<
|
|
1354
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1355
|
+
TError = ErrorType<void | DmError>,
|
|
1356
|
+
>(
|
|
1357
|
+
projectId: string,
|
|
1358
|
+
userId: string,
|
|
1359
|
+
options?: {
|
|
1360
|
+
query?: Partial<
|
|
1361
|
+
UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>
|
|
1362
|
+
> &
|
|
1363
|
+
Pick<
|
|
1364
|
+
UndefinedInitialDataOptions<
|
|
1365
|
+
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1366
|
+
TError,
|
|
1367
|
+
Awaited<ReturnType<typeof addEditorToProject>>
|
|
1368
|
+
>,
|
|
1369
|
+
"initialData"
|
|
1370
|
+
>;
|
|
1371
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1372
|
+
},
|
|
1373
|
+
queryClient?: QueryClient,
|
|
1374
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1375
|
+
export function useAddEditorToProject<
|
|
1376
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1377
|
+
TError = ErrorType<void | DmError>,
|
|
1378
|
+
>(
|
|
1379
|
+
projectId: string,
|
|
1380
|
+
userId: string,
|
|
1381
|
+
options?: {
|
|
1382
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1383
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1384
|
+
},
|
|
1385
|
+
queryClient?: QueryClient,
|
|
1386
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1006
1387
|
/**
|
|
1007
1388
|
* @summary Add a Project Editor
|
|
1008
1389
|
*/
|
|
1009
|
-
|
|
1390
|
+
|
|
1391
|
+
export function useAddEditorToProject<
|
|
1392
|
+
TData = Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1393
|
+
TError = ErrorType<void | DmError>,
|
|
1394
|
+
>(
|
|
1395
|
+
projectId: string,
|
|
1396
|
+
userId: string,
|
|
1010
1397
|
options?: {
|
|
1011
|
-
|
|
1012
|
-
Awaited<ReturnType<typeof addEditorToProject>>,
|
|
1013
|
-
TError,
|
|
1014
|
-
{ projectId: string; userId: string },
|
|
1015
|
-
TContext
|
|
1016
|
-
>;
|
|
1398
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof addEditorToProject>>, TError, TData>>;
|
|
1017
1399
|
request?: SecondParameter<typeof customInstance>;
|
|
1018
1400
|
},
|
|
1019
1401
|
queryClient?: QueryClient,
|
|
1020
|
-
):
|
|
1021
|
-
|
|
1022
|
-
TError,
|
|
1023
|
-
{ projectId: string; userId: string },
|
|
1024
|
-
TContext
|
|
1025
|
-
> => {
|
|
1026
|
-
const mutationOptions = getAddEditorToProjectMutationOptions(options);
|
|
1027
|
-
|
|
1028
|
-
return useMutation(mutationOptions, queryClient);
|
|
1029
|
-
};
|
|
1030
|
-
/**
|
|
1031
|
-
* Deletes a project `editor`. The editor can be you.
|
|
1402
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1403
|
+
const queryOptions = getAddEditorToProjectQueryOptions(projectId, userId, options);
|
|
1032
1404
|
|
|
1033
|
-
|
|
1405
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1406
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1407
|
+
};
|
|
1034
1408
|
|
|
1035
|
-
|
|
1409
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1410
|
+
}
|
|
1036
1411
|
|
|
1412
|
+
/**
|
|
1413
|
+
* @summary Add a Project Editor
|
|
1414
|
+
*/
|
|
1415
|
+
export const invalidateAddEditorToProject = async (
|
|
1416
|
+
queryClient: QueryClient,
|
|
1417
|
+
projectId: string,
|
|
1418
|
+
userId: string,
|
|
1419
|
+
options?: InvalidateOptions,
|
|
1420
|
+
): Promise<QueryClient> => {
|
|
1421
|
+
await queryClient.invalidateQueries(
|
|
1422
|
+
{ queryKey: getAddEditorToProjectQueryKey(projectId, userId) },
|
|
1423
|
+
options,
|
|
1424
|
+
);
|
|
1425
|
+
|
|
1426
|
+
return queryClient;
|
|
1427
|
+
};
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Deletes a project `editor`. The editor can be you.
|
|
1431
|
+
*
|
|
1432
|
+
* A project must always have one `editor` so you will not be able to delete the last editor of a project.
|
|
1433
|
+
*
|
|
1434
|
+
* You must be an `administrator` of the project
|
|
1037
1435
|
* @summary Delete a Project Editor
|
|
1038
1436
|
*/
|
|
1039
1437
|
export const removeEditorFromProject = (
|
|
1040
1438
|
projectId: string,
|
|
1041
1439
|
userId: string,
|
|
1042
1440
|
options?: SecondParameter<typeof customInstance>,
|
|
1441
|
+
signal?: AbortSignal,
|
|
1043
1442
|
) => {
|
|
1044
1443
|
return customInstance<void>(
|
|
1045
|
-
{ url: `/project/${projectId}/editor/${userId}`, method: "DELETE" },
|
|
1444
|
+
{ url: `/project/${projectId}/editor/${userId}`, method: "DELETE", signal },
|
|
1046
1445
|
options,
|
|
1047
1446
|
);
|
|
1048
1447
|
};
|
|
1049
1448
|
|
|
1050
|
-
export const
|
|
1449
|
+
export const getRemoveEditorFromProjectQueryKey = (projectId: string, userId: string) => {
|
|
1450
|
+
return ["data-manager", "DELETE", "project", projectId, "editor", userId] as const;
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
export const getRemoveEditorFromProjectQueryOptions = <
|
|
1454
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1051
1455
|
TError = ErrorType<DmError | void>,
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
TError,
|
|
1064
|
-
{ projectId: string; userId: string },
|
|
1065
|
-
TContext
|
|
1066
|
-
> => {
|
|
1067
|
-
const mutationKey = ["removeEditorFromProject"];
|
|
1068
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1069
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1070
|
-
? options
|
|
1071
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1072
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1073
|
-
|
|
1074
|
-
const mutationFn: MutationFunction<
|
|
1075
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1076
|
-
{ projectId: string; userId: string }
|
|
1077
|
-
> = (props) => {
|
|
1078
|
-
const { projectId, userId } = props ?? {};
|
|
1079
|
-
|
|
1080
|
-
return removeEditorFromProject(projectId, userId, requestOptions);
|
|
1081
|
-
};
|
|
1456
|
+
>(
|
|
1457
|
+
projectId: string,
|
|
1458
|
+
userId: string,
|
|
1459
|
+
options?: {
|
|
1460
|
+
query?: Partial<
|
|
1461
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1462
|
+
>;
|
|
1463
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1464
|
+
},
|
|
1465
|
+
) => {
|
|
1466
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1082
1467
|
|
|
1083
|
-
|
|
1468
|
+
const queryKey = queryOptions?.queryKey ?? getRemoveEditorFromProjectQueryKey(projectId, userId);
|
|
1469
|
+
|
|
1470
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeEditorFromProject>>> = ({
|
|
1471
|
+
signal,
|
|
1472
|
+
}) => removeEditorFromProject(projectId, userId, requestOptions, signal);
|
|
1473
|
+
|
|
1474
|
+
return {
|
|
1475
|
+
queryKey,
|
|
1476
|
+
queryFn,
|
|
1477
|
+
enabled:
|
|
1478
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1479
|
+
...queryOptions,
|
|
1480
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData> & {
|
|
1481
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1482
|
+
};
|
|
1084
1483
|
};
|
|
1085
1484
|
|
|
1086
|
-
export type
|
|
1485
|
+
export type RemoveEditorFromProjectQueryResult = NonNullable<
|
|
1087
1486
|
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1088
1487
|
>;
|
|
1488
|
+
export type RemoveEditorFromProjectQueryError = ErrorType<DmError | void>;
|
|
1089
1489
|
|
|
1090
|
-
export
|
|
1091
|
-
|
|
1490
|
+
export function useRemoveEditorFromProject<
|
|
1491
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1492
|
+
TError = ErrorType<DmError | void>,
|
|
1493
|
+
>(
|
|
1494
|
+
projectId: string,
|
|
1495
|
+
userId: string,
|
|
1496
|
+
options: {
|
|
1497
|
+
query: Partial<
|
|
1498
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1499
|
+
> &
|
|
1500
|
+
Pick<
|
|
1501
|
+
DefinedInitialDataOptions<
|
|
1502
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1503
|
+
TError,
|
|
1504
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1505
|
+
>,
|
|
1506
|
+
"initialData"
|
|
1507
|
+
>;
|
|
1508
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1509
|
+
},
|
|
1510
|
+
queryClient?: QueryClient,
|
|
1511
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1512
|
+
export function useRemoveEditorFromProject<
|
|
1513
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1514
|
+
TError = ErrorType<DmError | void>,
|
|
1515
|
+
>(
|
|
1516
|
+
projectId: string,
|
|
1517
|
+
userId: string,
|
|
1518
|
+
options?: {
|
|
1519
|
+
query?: Partial<
|
|
1520
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1521
|
+
> &
|
|
1522
|
+
Pick<
|
|
1523
|
+
UndefinedInitialDataOptions<
|
|
1524
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1525
|
+
TError,
|
|
1526
|
+
Awaited<ReturnType<typeof removeEditorFromProject>>
|
|
1527
|
+
>,
|
|
1528
|
+
"initialData"
|
|
1529
|
+
>;
|
|
1530
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1531
|
+
},
|
|
1532
|
+
queryClient?: QueryClient,
|
|
1533
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1534
|
+
export function useRemoveEditorFromProject<
|
|
1535
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1536
|
+
TError = ErrorType<DmError | void>,
|
|
1537
|
+
>(
|
|
1538
|
+
projectId: string,
|
|
1539
|
+
userId: string,
|
|
1540
|
+
options?: {
|
|
1541
|
+
query?: Partial<
|
|
1542
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1543
|
+
>;
|
|
1544
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1545
|
+
},
|
|
1546
|
+
queryClient?: QueryClient,
|
|
1547
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1092
1548
|
/**
|
|
1093
1549
|
* @summary Delete a Project Editor
|
|
1094
1550
|
*/
|
|
1095
|
-
|
|
1551
|
+
|
|
1552
|
+
export function useRemoveEditorFromProject<
|
|
1553
|
+
TData = Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1554
|
+
TError = ErrorType<DmError | void>,
|
|
1555
|
+
>(
|
|
1556
|
+
projectId: string,
|
|
1557
|
+
userId: string,
|
|
1096
1558
|
options?: {
|
|
1097
|
-
|
|
1098
|
-
Awaited<ReturnType<typeof removeEditorFromProject>>,
|
|
1099
|
-
TError,
|
|
1100
|
-
{ projectId: string; userId: string },
|
|
1101
|
-
TContext
|
|
1559
|
+
query?: Partial<
|
|
1560
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeEditorFromProject>>, TError, TData>
|
|
1102
1561
|
>;
|
|
1103
1562
|
request?: SecondParameter<typeof customInstance>;
|
|
1104
1563
|
},
|
|
1105
1564
|
queryClient?: QueryClient,
|
|
1106
|
-
):
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1565
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1566
|
+
const queryOptions = getRemoveEditorFromProjectQueryOptions(projectId, userId, options);
|
|
1567
|
+
|
|
1568
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1569
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1570
|
+
};
|
|
1571
|
+
|
|
1572
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1116
1575
|
/**
|
|
1117
|
-
*
|
|
1576
|
+
* @summary Delete a Project Editor
|
|
1577
|
+
*/
|
|
1578
|
+
export const invalidateRemoveEditorFromProject = async (
|
|
1579
|
+
queryClient: QueryClient,
|
|
1580
|
+
projectId: string,
|
|
1581
|
+
userId: string,
|
|
1582
|
+
options?: InvalidateOptions,
|
|
1583
|
+
): Promise<QueryClient> => {
|
|
1584
|
+
await queryClient.invalidateQueries(
|
|
1585
|
+
{ queryKey: getRemoveEditorFromProjectQueryKey(projectId, userId) },
|
|
1586
|
+
options,
|
|
1587
|
+
);
|
|
1118
1588
|
|
|
1119
|
-
|
|
1589
|
+
return queryClient;
|
|
1590
|
+
};
|
|
1120
1591
|
|
|
1592
|
+
/**
|
|
1593
|
+
* 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**.
|
|
1594
|
+
*
|
|
1595
|
+
* You must be an `administrator` of the Project to add Observers
|
|
1121
1596
|
* @summary Add a Project Observer
|
|
1122
1597
|
*/
|
|
1123
1598
|
export const addObserverToProject = (
|
|
1124
1599
|
projectId: string,
|
|
1125
1600
|
userId: string,
|
|
1126
1601
|
options?: SecondParameter<typeof customInstance>,
|
|
1602
|
+
signal?: AbortSignal,
|
|
1127
1603
|
) => {
|
|
1128
1604
|
return customInstance<void>(
|
|
1129
|
-
{ url: `/project/${projectId}/observer/${userId}`, method: "PUT" },
|
|
1605
|
+
{ url: `/project/${projectId}/observer/${userId}`, method: "PUT", signal },
|
|
1130
1606
|
options,
|
|
1131
1607
|
);
|
|
1132
1608
|
};
|
|
1133
1609
|
|
|
1134
|
-
export const
|
|
1610
|
+
export const getAddObserverToProjectQueryKey = (projectId: string, userId: string) => {
|
|
1611
|
+
return ["data-manager", "PUT", "project", projectId, "observer", userId] as const;
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
export const getAddObserverToProjectQueryOptions = <
|
|
1615
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1135
1616
|
TError = ErrorType<void | DmError>,
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
TContext
|
|
1150
|
-
> => {
|
|
1151
|
-
const mutationKey = ["addObserverToProject"];
|
|
1152
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1153
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1154
|
-
? options
|
|
1155
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1156
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1157
|
-
|
|
1158
|
-
const mutationFn: MutationFunction<
|
|
1159
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1160
|
-
{ projectId: string; userId: string }
|
|
1161
|
-
> = (props) => {
|
|
1162
|
-
const { projectId, userId } = props ?? {};
|
|
1163
|
-
|
|
1164
|
-
return addObserverToProject(projectId, userId, requestOptions);
|
|
1165
|
-
};
|
|
1617
|
+
>(
|
|
1618
|
+
projectId: string,
|
|
1619
|
+
userId: string,
|
|
1620
|
+
options?: {
|
|
1621
|
+
query?: Partial<
|
|
1622
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1623
|
+
>;
|
|
1624
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1625
|
+
},
|
|
1626
|
+
) => {
|
|
1627
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1628
|
+
|
|
1629
|
+
const queryKey = queryOptions?.queryKey ?? getAddObserverToProjectQueryKey(projectId, userId);
|
|
1166
1630
|
|
|
1167
|
-
|
|
1631
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof addObserverToProject>>> = ({ signal }) =>
|
|
1632
|
+
addObserverToProject(projectId, userId, requestOptions, signal);
|
|
1633
|
+
|
|
1634
|
+
return {
|
|
1635
|
+
queryKey,
|
|
1636
|
+
queryFn,
|
|
1637
|
+
enabled:
|
|
1638
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1639
|
+
...queryOptions,
|
|
1640
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData> & {
|
|
1641
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1642
|
+
};
|
|
1168
1643
|
};
|
|
1169
1644
|
|
|
1170
|
-
export type
|
|
1645
|
+
export type AddObserverToProjectQueryResult = NonNullable<
|
|
1171
1646
|
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1172
1647
|
>;
|
|
1648
|
+
export type AddObserverToProjectQueryError = ErrorType<void | DmError>;
|
|
1173
1649
|
|
|
1174
|
-
export
|
|
1175
|
-
|
|
1650
|
+
export function useAddObserverToProject<
|
|
1651
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1652
|
+
TError = ErrorType<void | DmError>,
|
|
1653
|
+
>(
|
|
1654
|
+
projectId: string,
|
|
1655
|
+
userId: string,
|
|
1656
|
+
options: {
|
|
1657
|
+
query: Partial<
|
|
1658
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1659
|
+
> &
|
|
1660
|
+
Pick<
|
|
1661
|
+
DefinedInitialDataOptions<
|
|
1662
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1663
|
+
TError,
|
|
1664
|
+
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1665
|
+
>,
|
|
1666
|
+
"initialData"
|
|
1667
|
+
>;
|
|
1668
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1669
|
+
},
|
|
1670
|
+
queryClient?: QueryClient,
|
|
1671
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1672
|
+
export function useAddObserverToProject<
|
|
1673
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1674
|
+
TError = ErrorType<void | DmError>,
|
|
1675
|
+
>(
|
|
1676
|
+
projectId: string,
|
|
1677
|
+
userId: string,
|
|
1678
|
+
options?: {
|
|
1679
|
+
query?: Partial<
|
|
1680
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1681
|
+
> &
|
|
1682
|
+
Pick<
|
|
1683
|
+
UndefinedInitialDataOptions<
|
|
1684
|
+
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1685
|
+
TError,
|
|
1686
|
+
Awaited<ReturnType<typeof addObserverToProject>>
|
|
1687
|
+
>,
|
|
1688
|
+
"initialData"
|
|
1689
|
+
>;
|
|
1690
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1691
|
+
},
|
|
1692
|
+
queryClient?: QueryClient,
|
|
1693
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1694
|
+
export function useAddObserverToProject<
|
|
1695
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1696
|
+
TError = ErrorType<void | DmError>,
|
|
1697
|
+
>(
|
|
1698
|
+
projectId: string,
|
|
1699
|
+
userId: string,
|
|
1700
|
+
options?: {
|
|
1701
|
+
query?: Partial<
|
|
1702
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1703
|
+
>;
|
|
1704
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1705
|
+
},
|
|
1706
|
+
queryClient?: QueryClient,
|
|
1707
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1176
1708
|
/**
|
|
1177
1709
|
* @summary Add a Project Observer
|
|
1178
1710
|
*/
|
|
1179
|
-
|
|
1711
|
+
|
|
1712
|
+
export function useAddObserverToProject<
|
|
1713
|
+
TData = Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1714
|
+
TError = ErrorType<void | DmError>,
|
|
1715
|
+
>(
|
|
1716
|
+
projectId: string,
|
|
1717
|
+
userId: string,
|
|
1180
1718
|
options?: {
|
|
1181
|
-
|
|
1182
|
-
Awaited<ReturnType<typeof addObserverToProject>>,
|
|
1183
|
-
TError,
|
|
1184
|
-
{ projectId: string; userId: string },
|
|
1185
|
-
TContext
|
|
1719
|
+
query?: Partial<
|
|
1720
|
+
UseQueryOptions<Awaited<ReturnType<typeof addObserverToProject>>, TError, TData>
|
|
1186
1721
|
>;
|
|
1187
1722
|
request?: SecondParameter<typeof customInstance>;
|
|
1188
1723
|
},
|
|
1189
1724
|
queryClient?: QueryClient,
|
|
1190
|
-
):
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1725
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1726
|
+
const queryOptions = getAddObserverToProjectQueryOptions(projectId, userId, options);
|
|
1727
|
+
|
|
1728
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1729
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1200
1735
|
/**
|
|
1201
|
-
*
|
|
1736
|
+
* @summary Add a Project Observer
|
|
1737
|
+
*/
|
|
1738
|
+
export const invalidateAddObserverToProject = async (
|
|
1739
|
+
queryClient: QueryClient,
|
|
1740
|
+
projectId: string,
|
|
1741
|
+
userId: string,
|
|
1742
|
+
options?: InvalidateOptions,
|
|
1743
|
+
): Promise<QueryClient> => {
|
|
1744
|
+
await queryClient.invalidateQueries(
|
|
1745
|
+
{ queryKey: getAddObserverToProjectQueryKey(projectId, userId) },
|
|
1746
|
+
options,
|
|
1747
|
+
);
|
|
1202
1748
|
|
|
1203
|
-
|
|
1749
|
+
return queryClient;
|
|
1750
|
+
};
|
|
1204
1751
|
|
|
1752
|
+
/**
|
|
1753
|
+
* Deletes a project `observer`.
|
|
1754
|
+
*
|
|
1755
|
+
* You must be an `administrator` of the Project to remove Observers
|
|
1205
1756
|
* @summary Delete a Project Observer
|
|
1206
1757
|
*/
|
|
1207
1758
|
export const removeObserverFromProject = (
|
|
1208
1759
|
projectId: string,
|
|
1209
1760
|
userId: string,
|
|
1210
1761
|
options?: SecondParameter<typeof customInstance>,
|
|
1762
|
+
signal?: AbortSignal,
|
|
1211
1763
|
) => {
|
|
1212
1764
|
return customInstance<void>(
|
|
1213
|
-
{ url: `/project/${projectId}/observer/${userId}`, method: "DELETE" },
|
|
1765
|
+
{ url: `/project/${projectId}/observer/${userId}`, method: "DELETE", signal },
|
|
1214
1766
|
options,
|
|
1215
1767
|
);
|
|
1216
1768
|
};
|
|
1217
1769
|
|
|
1218
|
-
export const
|
|
1770
|
+
export const getRemoveObserverFromProjectQueryKey = (projectId: string, userId: string) => {
|
|
1771
|
+
return ["data-manager", "DELETE", "project", projectId, "observer", userId] as const;
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1774
|
+
export const getRemoveObserverFromProjectQueryOptions = <
|
|
1775
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1219
1776
|
TError = ErrorType<DmError | void>,
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
TError,
|
|
1232
|
-
{ projectId: string; userId: string },
|
|
1233
|
-
TContext
|
|
1234
|
-
> => {
|
|
1235
|
-
const mutationKey = ["removeObserverFromProject"];
|
|
1236
|
-
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1237
|
-
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1238
|
-
? options
|
|
1239
|
-
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1240
|
-
: { mutation: { mutationKey }, request: undefined };
|
|
1241
|
-
|
|
1242
|
-
const mutationFn: MutationFunction<
|
|
1243
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1244
|
-
{ projectId: string; userId: string }
|
|
1245
|
-
> = (props) => {
|
|
1246
|
-
const { projectId, userId } = props ?? {};
|
|
1247
|
-
|
|
1248
|
-
return removeObserverFromProject(projectId, userId, requestOptions);
|
|
1249
|
-
};
|
|
1777
|
+
>(
|
|
1778
|
+
projectId: string,
|
|
1779
|
+
userId: string,
|
|
1780
|
+
options?: {
|
|
1781
|
+
query?: Partial<
|
|
1782
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1783
|
+
>;
|
|
1784
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1785
|
+
},
|
|
1786
|
+
) => {
|
|
1787
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1250
1788
|
|
|
1251
|
-
|
|
1789
|
+
const queryKey =
|
|
1790
|
+
queryOptions?.queryKey ?? getRemoveObserverFromProjectQueryKey(projectId, userId);
|
|
1791
|
+
|
|
1792
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof removeObserverFromProject>>> = ({
|
|
1793
|
+
signal,
|
|
1794
|
+
}) => removeObserverFromProject(projectId, userId, requestOptions, signal);
|
|
1795
|
+
|
|
1796
|
+
return {
|
|
1797
|
+
queryKey,
|
|
1798
|
+
queryFn,
|
|
1799
|
+
enabled:
|
|
1800
|
+
projectId !== null && projectId !== undefined && userId !== null && userId !== undefined,
|
|
1801
|
+
...queryOptions,
|
|
1802
|
+
} as UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData> & {
|
|
1803
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1804
|
+
};
|
|
1252
1805
|
};
|
|
1253
1806
|
|
|
1254
|
-
export type
|
|
1807
|
+
export type RemoveObserverFromProjectQueryResult = NonNullable<
|
|
1255
1808
|
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
1256
1809
|
>;
|
|
1810
|
+
export type RemoveObserverFromProjectQueryError = ErrorType<DmError | void>;
|
|
1257
1811
|
|
|
1258
|
-
export
|
|
1259
|
-
|
|
1812
|
+
export function useRemoveObserverFromProject<
|
|
1813
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1814
|
+
TError = ErrorType<DmError | void>,
|
|
1815
|
+
>(
|
|
1816
|
+
projectId: string,
|
|
1817
|
+
userId: string,
|
|
1818
|
+
options: {
|
|
1819
|
+
query: Partial<
|
|
1820
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1821
|
+
> &
|
|
1822
|
+
Pick<
|
|
1823
|
+
DefinedInitialDataOptions<
|
|
1824
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1825
|
+
TError,
|
|
1826
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
1827
|
+
>,
|
|
1828
|
+
"initialData"
|
|
1829
|
+
>;
|
|
1830
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1831
|
+
},
|
|
1832
|
+
queryClient?: QueryClient,
|
|
1833
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1834
|
+
export function useRemoveObserverFromProject<
|
|
1835
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1836
|
+
TError = ErrorType<DmError | void>,
|
|
1837
|
+
>(
|
|
1838
|
+
projectId: string,
|
|
1839
|
+
userId: string,
|
|
1840
|
+
options?: {
|
|
1841
|
+
query?: Partial<
|
|
1842
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1843
|
+
> &
|
|
1844
|
+
Pick<
|
|
1845
|
+
UndefinedInitialDataOptions<
|
|
1846
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1847
|
+
TError,
|
|
1848
|
+
Awaited<ReturnType<typeof removeObserverFromProject>>
|
|
1849
|
+
>,
|
|
1850
|
+
"initialData"
|
|
1851
|
+
>;
|
|
1852
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1853
|
+
},
|
|
1854
|
+
queryClient?: QueryClient,
|
|
1855
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1856
|
+
export function useRemoveObserverFromProject<
|
|
1857
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1858
|
+
TError = ErrorType<DmError | void>,
|
|
1859
|
+
>(
|
|
1860
|
+
projectId: string,
|
|
1861
|
+
userId: string,
|
|
1862
|
+
options?: {
|
|
1863
|
+
query?: Partial<
|
|
1864
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1865
|
+
>;
|
|
1866
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1867
|
+
},
|
|
1868
|
+
queryClient?: QueryClient,
|
|
1869
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1260
1870
|
/**
|
|
1261
1871
|
* @summary Delete a Project Observer
|
|
1262
1872
|
*/
|
|
1263
|
-
|
|
1873
|
+
|
|
1874
|
+
export function useRemoveObserverFromProject<
|
|
1875
|
+
TData = Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1264
1876
|
TError = ErrorType<DmError | void>,
|
|
1265
|
-
TContext = unknown,
|
|
1266
1877
|
>(
|
|
1878
|
+
projectId: string,
|
|
1879
|
+
userId: string,
|
|
1267
1880
|
options?: {
|
|
1268
|
-
|
|
1269
|
-
Awaited<ReturnType<typeof removeObserverFromProject>>,
|
|
1270
|
-
TError,
|
|
1271
|
-
{ projectId: string; userId: string },
|
|
1272
|
-
TContext
|
|
1881
|
+
query?: Partial<
|
|
1882
|
+
UseQueryOptions<Awaited<ReturnType<typeof removeObserverFromProject>>, TError, TData>
|
|
1273
1883
|
>;
|
|
1274
1884
|
request?: SecondParameter<typeof customInstance>;
|
|
1275
1885
|
},
|
|
1276
1886
|
queryClient?: QueryClient,
|
|
1277
|
-
):
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1887
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
1888
|
+
const queryOptions = getRemoveObserverFromProjectQueryOptions(projectId, userId, options);
|
|
1889
|
+
|
|
1890
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
1891
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1894
|
+
return { ...query, queryKey: queryOptions.queryKey };
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* @summary Delete a Project Observer
|
|
1899
|
+
*/
|
|
1900
|
+
export const invalidateRemoveObserverFromProject = async (
|
|
1901
|
+
queryClient: QueryClient,
|
|
1902
|
+
projectId: string,
|
|
1903
|
+
userId: string,
|
|
1904
|
+
options?: InvalidateOptions,
|
|
1905
|
+
): Promise<QueryClient> => {
|
|
1906
|
+
await queryClient.invalidateQueries(
|
|
1907
|
+
{ queryKey: getRemoveObserverFromProjectQueryKey(projectId, userId) },
|
|
1908
|
+
options,
|
|
1909
|
+
);
|
|
1910
|
+
|
|
1911
|
+
return queryClient;
|
|
1286
1912
|
};
|